/* Add custom CSS styles below */
/* ============================= RTL Fix ============================== */
:root {
    --font-main: 'cairo' !important ;
    --color-primary: #929560;
    --color-primary-dark: #929560;
    --color-primary-light: #929560;
    --color-primary-reverse: #ffffff;
}

.s-contacts-topnav-link:last-child:where([dir="rtl"], [dir="rtl"] *) {
    display: none;
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 0rem !important;
}

/* ============================= General ============================== */
body {
    background-color: #ffffff;
}

/* ============================= Navbar ============================== */
.navbar-brand img {
    max-height: 5rem;
    width: auto;
    max-width: 100px;
}

.main-nav-container {
    min-height: 84px;
    background: #ffffff;
    color: #000000;
}

.main-nav-container.fixed-pinned .navbar-brand img {
    max-height: 55px;
}

.top-navbar {
    background: #929560;
    color: white;
}

.top-navbar .s-search-input {
    border-style: none;
    background-color: #fff;
}

/* ============================= Slider - Photos ============================== */
section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide {
    width: 100%;
}

section.s-block.s-block--photos-slider .carousel-slider .swiper-wrapper > div {
    padding: 0 !important;
}

section:first-of-type.s-block.s-block--photos-slider {
    margin-top: 0;
}

[dir="rtl"] salla-slider.photos-slider .swiper {
    padding: 0;
}

section.s-block.s-block--photos-slider .s-slider-block__title-nav {
    display: none !important;
}

/* ============================= Header Buttons ============================== */
.header-btn__icon {
    background-color: unset;
    color: #929560!important;
    border: 1;
}

.s-cart-summary-total {
    color: #929560;
}

/* ============================= Categories ============================== */
.slide--cat-entry {
    background-color: transparent;
    border-color: transparent;
    height: 17rem;
    padding: 0;
}

.rounded-full {
    border-radius: 0;
}

.w-16 {
    width: 16rem;
}

.h-16 {
    height: auto;
}

/* انتقال ناعم */
.h-16 {
  display: inline-block; /* أو block حسب العنصر */
  transition: transform .3s ease;
  transform-origin: center;
  will-change: transform;
}

/* الزوم عند الهوفر */
.h-16:hover {
  transform: scale(1.06);
}

.sm\:py-16 {
    background: #fff;
}

/* ============================= Responsive ============================== */
@media (min-width: 1024px) {
    salla-slider .slide--one-sixth {
        width: 21.666667%;
    }

    .lg\:grid-cols-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    salla-slider .slide--one-sixth {
        width: 60%;
    }
}

/* ============================= Swiper ============================== */
.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: space-evenly;
    box-sizing: content-box;
}

.s-slider-block__title {
    display: flex;
    justify-content: center;
}

.s-slider-v-centered .s-slider-block__title-nav button {
    display: none;
}

/* ============================= Buttons ============================== */
button.tab-trigger.is-active.s-button-element.s-button-btn.s-button-outline.s-button-primary-outline.s-button-loader-after {
    background: #929560;
    color: #ffffff;
    font-weight: var(--fw-medium);
    border-radius: 30px;
    border: solid 2px #929560;
}

button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center {
    background: linear-gradient(45deg, #929560, #929560);
    color: #ffffff;
    border-color: #929560;
    border-radius: 24px;
    font-weight: var(--fw-bold);
}

/* ============================= Product Cards ============================== */
.s-product-card-vertical {
    flex-direction: column;
    border: 0px solid #929560;
    border-radius: 12px;
}

.s-product-card-content-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* عدد السطور */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.4em * 2);
    min-height: calc(1.4em * 2);
    display: flex;
    justify-content: center;
    font-weight: var(--fw-medium);
}

/* ============================= Features ============================== */
.s-block--features__item .feature-icon {
    box-shadow: 0px 0px 0 8px #929560;
}

.s-block--features__item .feature-icon i {
    font-size: 24px;
    color: #fff;
}



/* ============================= Adjustments ============================== */
.s-slider-block__title-right {
    padding: 0 !important;
}

footer .flex.items-center.m-0 {
    position: relative;
}

.carousel-slider .swiper-wrapper > div {
    padding: 1.625rem;
}

.s-slider-block__title-left {
    display: none;
}

.s-product-card-content-sub {
    justify-content: center;
    gap: 0.75rem;
    display: flex;
}

.s-reviews-testimonial {
    box-shadow: 0px 0px 4px 0px #929560!important;
    padding: 3rem;
    border-radius: 14px;
}

.s-reviews-container .swiper-slide {
    padding: 15px;
}

.hover\:text-primary:hover{
  color: #e9231e;
}

.s-button-btn, .s-price-range-number-input {
    border-radius: 1.75rem;
}

.store-footer a h3:nth-child(1) {
    display: none;
}

.s-reviews-header {
    margin-right: auto;
    margin-left: auto;
}

a.flex.items-center.m-0:after {
    content: '';
    display: flex;
    justify-content: center;
    background-repeat: no-repeat;
    padding: 0;
    background-image: url(https://cdn.salla.sa/form-builder/3gikMkm7CZa2wn5EMxhGQtucAAghGPz7slszGf3V.png);
    background-position: center;
    background-size: contain;
    width: 160px;
    height: 80px;
    align-items: center;
    border-radius: 6px;
}

.s-social-list {
    display: flex;
    gap: 0.625rem;
    justify-content: center;
}

footer .flex.items-center.m-0 {
    position: relative;
    display: flex;
    justify-content: center;
}

p {
    display: flex;
    justify-content: center;
}

.slide--cat-entry:hover {
    background: unset;
    box-shadow: unset;
}

.slide--cat-entry h2 {
    color: #929560;
    font-size: 16px;
}



#mainnav {
    background: transparent !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
    height: 84px;
    color: #000 !important;
    z-index: -2;
    display: block;
}

section:first-of-type.s-block.s-block--photos-slider {
    margin-top: -82px !important;
    z-index: -8 !important;
}

.main-nav-container.fixed-header .inner {
    transform: translate3d(0, 0, 0);
    background: white;
}

.main-menu li>a:hover {
    color: #929560;
    text-decoration-line: none;
}

@media (min-width: 769px) {
    nav#mobile-menu {
        padding-right: 343px;
    }
}






/* CSS Variables */
        :root {
            --main-color: #545046;
            --second-color: #929560;
            --third-color: white;
            --logo: url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/DGoEYy/NFDJOTDmkm0KsS3YNjhh2GTaqAa51sz9WPSs3oFu.png);
        }
        /* Wave Animation Styles */
        .wave {
            z-index: 1;
            position: absolute;
            top: -100px;
            left: 0;
            width: 100%;
            height: 16%;
            background: url(https://www2.0zz0.com/2025/07/14/00/590142204.png);
            background-size: 1000px 100px;
        }
        .wave#wave1 {
            z-index: 1;
            opacity: 1;
            bottom: 0;
            animation: animateWave 4s linear infinite;
        }
        .wave#wave2 {
            z-index: 1;
            opacity: .5;
            bottom: 0;
            animation: animateWave_2 4s linear infinite;
        }
        .wave#wave3 {
            z-index: 1;
            opacity: .2;
            bottom: 15px;
            animation: animateWave 3s linear infinite;
        }
        .wave#wave4 {
            z-index: 999;
            opacity: .7;
            bottom: 20px;
            animation: animateWave_2 3s linear infinite;
        }
        /* Wave Animations */
        @keyframes animateWave {
            0% {
                background-position-x: 1000px;
            }
            100% {
                background-position-x: 0px;
            }
        }
        @keyframes animateWave_2 {
            0% {
                background-position-x: 0px;
            }
            100% {
                background-position-x: 1000px;
            }
        }
        /* Footer Styles */
        .store-footer {
            background: linear-gradient(to top, #545046, #545046) !important;
            margin-top: 115px;
            position: relative;
        }
        .footer-is-light .store-footer .store-footer__inner {
            background: linear-gradient(to top, #545046, #929560);
            margin-top: -48px;
            text-align: center;
            border-style: inset;
        }
        .footer-is-light .store-footer {
            --tw-bg-opacity: 1;
            --tw-text-opacity: 1;
            background: var(--main-color);
            border-radius: 85px 85px 0 0;
            color: var(--third-color);
        }
        @media (max-width: 1024px) {
            .footer-is-light .store-footer {
                padding-top: 17px;
            }
        }
        @media (min-width: 1024px) {
            .lg\:grid-cols-6 {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }
        }
        .store-footer h3 {
            font-family: "Almarai", sans-serif;
            font-weight: 700;
            text-align: center !important;
            padding: 1rem;
            border-radius: 50px;
            color: var(--main-color);
            font-size: 1.4rem;
            background: var(--third-color);
        }
        .store-footer h3:hover {
            color: var(--second-color);
            opacity: 1;
            cursor: pointer;
            transition: 0.5s;
        }
        a.flex.items-center.m-0 {
            display: flex;
            flex-direction: column;
        }
        .store-footer a h3:nth-child(1) {
            font-size: 0rem;
            color: transparent;
            background-image: var(--logo);
            background-size: 70%;
            background-repeat: no-repeat;
            scale: 3.5;
            line-height: 3;
            background-position: center;
            margin-bottom: 50px;
            margin-top: 50px;
        }
        salla-apps-icons,
        salla-apps-icons h3 {
            display: none;
        }
        @media (min-width: 1024px) {
            .rtl\:lg\:pr-20:where([dir="rtl"], [dir="rtl"] *) {
                padding-right: 5rem;
                background: var(--main-color);
                background-repeat: no-repeat;
                background-size: contain;
                scale: 0.7;
                line-height: 0;
                margin-bottom: 0;
                margin-top: 0;
            }
        }
        .footer-list {
            color: var(--main-color);
        }
        .store-footer__inner .max-w-sm {
            color: var(--main-color);
        }
        .s-contacts-list {
            align-items: center !important;
        }
        .store-footer a {
            color: var(--third-color);
        }
        .store-footer a:hover {
            color: var(--main-color);
            opacity: 1;
            transform: scale(1.03);
            transition: 0.4s;
        }
        .s-social-list {
            display: flex;
            gap: 0.625rem;
            justify-content: center;
        }
        .lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .s-menu-footer-list {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .s-contacts-list.s-contacts-list-vertical {
            display: flex;
            align-items: center;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
        }
        span.unicode {
            display: none;
        }
        .footer-is-light .store-footer .contact-social {
            border: none;
        }
        .copyright-text p {
            color: var(--third-color);
        }
        
  .s-block {
    margin-bottom: 0rem;
}