body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    direction: rtl;
}

h1,h2,h3,h4,h5,h6,p {
    text-align: right;
}
header {
    background: url(../img/zenzone_bg.png);
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0px 0px 0px 0px;
    z-index: 1;
    background-size: 40%;
}
.main-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0px;
}

.desktop-menu-content ul li:last-child {
    margin-right: 10px;
}
.wc-block-cart-item__wrap .wc-block-cart-item__prices {
    text-align: right;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    text-align: right;
}
.wc-block-cart-item__wrap .wc-block-cart-item__quantity {
    text-align: right;
}
.wc-block-checkout__add-note .wc-block-components-checkbox {
    text-align: right;
}
.wc-block-components-totals-item__label {
    text-align: right;
}
.wc-block-checkout__terms.wc-block-checkout__terms--with-separator {
    text-align: right;
}
.wc-block-components-address-card address .wc-block-components-address-card__address-section:first-child {
    text-align: right;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__individual-prices {
    text-align: right;
}
section.recommended.space .woocommerce-loop-product__title {
    text-align: center;
}
.main-head ul button.menu-toggle {
    background: unset;
    border: unset;
    font-size: 40px;
}

.woocommerce-tabs.wc-tabs-wrapper ul.tabs li {
    margin-right: 0px;
    margin-left: 25px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}
.main-head nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
    margin: 0;
    align-items: center;
}
.contact-details {
    text-align: right;
}
.custom_account_navigation .row {
    display: flex
;
    flex-direction: row-reverse;
}
nav ul li {
    display: inline;
}
.main-head img {
    width: 200px;
}
.hero {
    background: url(https://zenzone.digitalcodedc.co.uk/wp-content/uploads/2025/09/Baner-ZenZone-2_Artboard-1-01.png);
    width: 100%;
    background-size: cover;
    background-position: right;
    position: relative;
    height: 305px;
}
.recommended, .categories, .discounts {
    padding: 20px;
}
section.recommended .products .products-img img {
    width: 100%;
}
.category {
    padding: 10px;
    color: white;
    border-radius: 45px;
}
.discount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.discount-grid .discount-item h3 {
    margin-top: 15px;
}

footer {
    padding: 40px 20px 40px 20px;
    background: url(../img/zenzone_bg.png);
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right;
    position: relative;
}

.footer-shadow {
    background: #409c9bb8;
    width: 100%;
    position: absolute;
    top: 0;
    height: 100%;
    right: 0;
}
.footer-content {
    position: relative;
    width: 100%;
}
.social-links a, footer nav a {
    color: black;
    margin: 0 10px;
    text-decoration: none;
}

a {
    text-decoration: unset;
    color: black;
}

.main-head nav ul li a {
    font-size: 20px;
}

section.hero h1 {
    color: #93826F;
    font-size: 120px;
}

section.hero input[type="text"] {
    position: absolute;
    right: 200px;
    bottom: 30px;
    width: 250px;
    border-radius: 20px;
    border-color: unset;
    box-shadow: unset;
    border: unset;
}


section.recommended .recommended-title {
    text-align: right;
    margin-bottom: 30px;
}

.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item {
    text-align: right;
}


section.categories .categories-title {
    color: black;
    margin-bottom: 30px;
}

.c1 {
    background: #701A14;
}

.c2 {
    background: #588255;
}

.c3 {
    background: #77A59B;
}

.c4 {
    background: #428BC5;
}

.c5 {
    background: #C8ACD3;
}

.category .category-img img {
    width: 100%;
    object-fit: contain;
}

.category .category-title {
    font-size: 18px;
    padding-bottom: 10px;
}


.space {
    padding-top: 70px;
    padding-bottom: 70px;
}

section.discounts .categories-title {
    text-align: right;
    margin-bottom: 30px;
}

.footer-pages {
    text-align: right;
}

.footer-pages ul {
    margin: 0;
    padding: 0;
}

.footer-menu ul {
    margin: 0;
    padding: 0;
}

.footer-menu .footer-menu-title {
    text-align: right;
}

.footer-menu ul li a {
    text-align: right;
}

.footer-pages nav ul li a {
    color: black;
}


body.cat footer .footer-shadow {
background: #31979529;
    width: 100%;
    position: absolute;
    top: 0;
    height: 100%;
    right: 0;
}

body.cat .discount-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.spaceing {
    width: 100%;
    height: 20px;
    background: #ECACC4;
}

body.cat section.categories {
    background: #FEE2ED;
}

section.categories-main {
    background: url(https://media.istockphoto.com/id/1421926727/photo/family-mother-and-little-baby-beautiful-and-happy-together-portrait-on-white-background.jpg?s=612x612&w=0&k=20&c=XPZDvK8z2V-aDcDi2cpFIXnIL-M3PBadyhhooRTvrHc=);
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: 0px 910px;
    position: relative;
}

section.categories-main .categories-main-shadow {
    background: #eeb7cc87;
    width: 100%;
    top: 0;
    position: absolute;
    right: 0;
    height: 100%;
}


section.categories-main .categories-title {
    width: 100%;
    height: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    color: black;
    z-index: 1;
    position: absolute;
}

.home form.aws-search-form.aws-show-clear {
    position: absolute;
    bottom: 25px;
    width: 250px;
}

section.categories-main .categories-title h1 {
    font-size: 60px;
}

body.cat .discount-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 50px;
}

.category ul {
    list-style: none;
    padding: 0;
}

.cat1{
    background: #95D5E9;
}

.cat2{
    background: #C8ACD3;
}

.cat3{
    background: #ECACC4;
}

.cat4{
    background: #9ABAE2;
}

body.cat .category {
    padding: 20px;
}

body.cat .category-title {
    background: #E7E4E0;
    border-radius: 30px;
    margin-bottom: 10px;
    padding: 10px;
    color: black;
}

body.cat header {
    background: url(../img/zenzone_bg.png);
position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0px 0px 0px 0px;
    z-index: 1;
    background-size: 40%;
}

body.cat .hero {
    background: url(https://media.istockphoto.com/id/1421926727/photo/family-mother-and-little-baby-beautiful-and-happy-together-portrait-on-white-background.jpg?s=612x612&w=0&k=20&c=XPZDvK8z2V-aDcDi2cpFIXnIL-M3PBadyhhooRTvrHc=);
    width: 100%;
    background-size: cover;
    background-position: right;
    position: relative;
}

body.cat .hero .hero-shadow {
    background: #fff5f95c;
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    right: 0;
}

body.cat .hero .hero-shadow2 {
    background: #cae8e25c;
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    right: 0;
}

body.cat .hero .hero-content {
    text-align: right;
    position: relative;
}

body.cat section.hero input[type="text"] {
    position: absolute;
    right: 0px;
    bottom: -60px;
    width: 250px;
    border-radius: 20px;
    border-color: unset;
    box-shadow: unset;
    border: unset;
}

body.cat .hero .hero-content h2 {
    margin-right: 53px;
    font-size: 59px;
}

body.cat .hero .hero-content h1 {
    color: black;
    font-size: 70px;
}

section.main-cat {
    background: #95D5E9;
    padding: 20px;
}

section.main-cat2 {
    background: #CAE8E2;
    padding: 20px;
}

section.main-cat .title {
    border-left: 1px solid #000000;
}

body.cat header .main-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0px;
    z-index: 8;
    position: relative;
}

body.cat header.cat2::after{
    content: "";
    background: #cae8e27a;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

body.cat section.categories2 {
    background: #EFFCFA;
}

body.cat section.categories-main2 .categories-main-shadow {
    background: #ffffff87;
    width: 100%;
    top: 0;
    position: absolute;
    right: 0;
    height: 100%;
}

.spaceing2 {
    width: 100%;
    height: 20px;
    background: #E03774;
}

.footer-shadow2 {
    background: #effcfa8a;
    width: 100%;
    position: absolute;
    top: 0;
    height: 100%;
    right: 0;
}

ul#menu-footer-cat li {
    text-align: right;
}

ul#menu-footer-menu li {
    text-align: right;
}

section.page {
    padding: 70px 0;
}

form.aws-search-form.aws-show-clear {
    position: absolute;
    bottom: -100px;
    width: 250px;
}

.aws-container .aws-show-clear .aws-search-field {
    width: 250px;
    border-radius: 20px !important;
    border-color: unset;
    box-shadow: unset;
    border: unset;
}

.aws-search-result {
    position: absolute;
    text-align: left;
    top: 533px !important;
    z-index: 9999999999999;
    background: #fff;
    width: 100%;
    margin-top: -1px;
    border: 0px solid #ccc;
    font-size: 12px;
    line-height: 16px;
}

.single_product_page {
    padding: 100px 0;
}

.single_product_page .product_title.entry-title {
    text-align: right;
}

.single_product_page .product_meta {
    text-align: right;
}

.single_product_page p.price {
    text-align: right;
}

.single_product_page form.cart {
    display: flex;
    margin-bottom: 15px;
}

.single_product_page form.cart input {
    width: 100px;
    margin-left: 10px;
}

button {
    color: white;
    border: unset;
    padding: 3px 10px 3px 10px;
    background: #409c9bb8;
}

.single_product_page p.price {
    text-align: right;
    margin-top: 1rem;
    font-size: 20px;
    font-weight: 500;
}

.woo-product-gallery-slider.woocommerce-product-gallery .zoomtoo-container img.attachment-shop_single {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.product-rate {
    background-image: url(https://haywani.com/wp-content/themes/haywani/assets/img/rating-stars.png);
    background-position: 0 -12px;
    background-repeat: repeat-x;
    height: 12px;
    width: 60px;
    transition: all 0.5s ease-out 0s;
    -webkit-transition: all 0.5s ease-out 0s;
}

.single_product_page .rating-box-wrap {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-bottom: 1px solid #c8c8c8;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    line-height: 1;
    margin-bottom: 25px;
    padding-bottom: 40px;
    padding-top: 20px;
}

.product-rating {
    height: 12px;
    background-repeat: repeat-x;
    background-image: url(https://haywani.com/wp-content/themes/haywani/assets/img/rating-stars.png);
    background-position: 0 0;
}

.single_product_page .rating-box-wrap .rating-box {
    color: #ffde00;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 18px;
    line-height: 1;
}

.single_product_page .rating-box-wrap .review-status {
    line-height: 1;
    margin-right: 14px;
}

.single_product_page form.cart .qib-button-wrapper {
    margin-left: 11px;
}

.single_product_page form.cart .qib-button-wrapper button {
    background: #409c9bb8 !important;
    align-items: center;
    width: 35px;
    justify-content: center;
    border: none;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 50px;
    height: 50px;
    margin-left: 10px;
    text-transform: uppercase;
}

.single_product_page form.cart .qib-button-wrapper button.plus.qib-button {
    margin-left: 10px;
    margin-right: 10px;
}

.single_product_page form.cart .qib-button-wrapper {
    margin: 0 0px 0px 10px;
}

.single_product_page form.cart button.single_add_to_cart_button.button.alt {
    border-radius: 5px;
}

.woocommerce-tabs.wc-tabs-wrapper ul.tabs {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: ;
    --bs-nav-link-color: var(--bs-link-color);
    --bs-nav-link-hover-color: var(--bs-link-hover-color);
    --bs-nav-link-disabled-color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
	padding-right: 0;
}

.woocommerce-tabs.wc-tabs-wrapper ul.tabs li + li {
    margin-right: 42px;
}

.woocommerce-tabs.wc-tabs-wrapper ul.tabs li a {
    color: #000;
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    text-transform: capitalize;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
}

.woocommerce-tabs.wc-tabs-wrapper ul.tabs li a:before {
    background-color: transparent;
    content: "";
    height: 2px;
    width: 100%;
    position: absolute;
    bottom: -10px;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
}

.woocommerce-tabs.wc-tabs-wrapper ul.tabs li.active a:before {
    background-color: #7bb8b7;
}

.woocommerce-tabs div#tab-description h2 {
    display: none;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
    margin-top: 32px;
	text-align: right;
    padding-top: 32px;
}

nav.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link a {
    width: 100%;
    display: block;
    margin: 10px 0;
    text-align: center;
    padding: 7px;
    border-radius: 5px;
}

nav.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link.is-active a {
    color: white;
    background-color: #7bb8b7;
}

.woocommerce-MyAccount-content header.woocommerce-Address-title.title {
    background: unset;
    position: unset;
    top: 0;
    left: 0;
    width: unset;
    padding: unset;
    z-index: 1;
}

.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
    text-align: right;
}

@media(max-width:700px){
	section.hero input[type="text"] {
		right: 90px;
		bottom: 30px;
		width: 250px;
	}
	.main-head img {
		width: 120px;
	}
	.main-head nav ul li a {
		font-size: 15px;
	}
	section.hero h1 {
		color: #93826F;
		font-size: 50px;
	}
	.products-img {
		margin-bottom: 10px;
	}
	.space {
		padding-top: 60px;
		padding-bottom: 60px;
	}
	.category {
		margin-bottom: 20px;
	}
	.category .category-img img {
		width: 100%;
		object-fit: contain;
	}
	.footer-pages {
		text-align: right;
		margin-bottom: 25px;
	}
	.footer-pages ul {
		margin: 0;
		padding: 0;
		text-align: center;
	}
	section.main-cat .title {
		border-left: 1px solid #000000;
		margin-bottom: 30px;
	}
	.social-links ul {
		margin: 0;
		padding: 0;
	}
	section.main-cat .border-sm-0 {
		border-left: unset;
	}
	body.cat .discount-grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 10px;
		margin-top: 50px;
	}
	section.categories-main {
		background-position: 0px 850px;
	}
	body.cat .hero .hero-content h2 {
		margin-right: 53px;
		font-size: 39px;
	}
}

.single_product_page form.cart .qib-button-wrapper button {
    background: #409c9bb8 !important;
    align-items: center;
    width: 35px;
    justify-content: center;
    border: none;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 27px;
    height: 40px;
    margin-left: 10px;
    text-transform: uppercase;
}

.single_product_page form.cart .qib-button-wrapper button.plus.qib-button {
    margin-left: 10px;
    margin-right: 10px;
}

.footer-menu ul {
    text-align: right;
}

.close-menu {
    left: 25px;
    right: unset;
}

.footer-menu ul li {
    margin-left: 0px;
    margin-right: 17px;
}

ul li {
    text-align: right;
}

.discount-badge {
    left: unset;
    right: 8px;
}

.menu-item-has-children > a::after {
    content: "▼";
    font-size: 12px;
    position: absolute;
    right: unset;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.menu-item-has-children > a {
    position: relative;
    padding-right: 0px;
    padding-left: 20px;
}

/* Desktop hover dropdown for #menu-header-menu */
@media (hover:hover) and (min-width: 992px) {
  #menu-header-menu-ar > li { position: relative; }

  /* hidden by default — no margin gap */
  #menu-header-menu-ar .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 1px 0px;                 /* ✱ remove the gap */
    background: #fff;
    list-style: none;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 1000;

    /* show/hide with a small delay on hide */
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    pointer-events: none;
    transition:
      opacity .18s ease,
      transform .18s ease,
      visibility 0s linear .18s; /* delay visibility toggle when hiding */
  }
  
     #menu-header-menu-ar .sub-menu li {
        margin: 5px 0;
    }

  #menu-header-menu-ar > li:hover > .sub-menu,
  #menu-header-menu-ar > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s, 0s, 0s; /* no delay when showing */
  }

  /* optional: third level */
  #menu-header-menu-ar .sub-menu .sub-menu { top: 0; left: 100%; }
}

  :root{ --hdr-h: 0px; } /* سيتم ضبطها بالـJS حسب ارتفاع الهيدر */

  /* الهيدر ثابت */
  header{
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow .2s ease;
  }
  /* ظل خفيف عند التثبيت/التمرير */
  header.is-sticky{ box-shadow: 0 2px 12px rgba(0,0,0,.08); }

  /* شريط التصنيفات تحت الهيدر مباشرة وثابت أيضاً */
  .main_sub_cat .subcats-bar{
    position: sticky;
    top: var(--hdr-h);    /* يعتمد على ارتفاع الهيدر */
    z-index: 2;
    background: #f7f7f9; /* تأكد من لون الخلفية حتى لا يظهر شفاف */
  }

  /* تحسين تمرير أفقي للّوحة التصنيفات */
  .subcats-bar .subcats-scroll{ overflow:auto; scrollbar-width: thin; }
  
  
  .subcat-slider .swiper-button-next {
    right: unset;
    left: 8px;
}