/* Add custom CSS styles below */ 

/* =========================================
   ROOT COLORS
========================================= */

:root {
    --main-color: #404A2F;
    --second-color: #000;
    --third-color: #fff;
}


/* =========================================
   GENERAL
========================================= */

.header-btn__icon,
body:after {
    border: none;
}


/* =========================================
   MAIN NAVIGATION
========================================= */

#mainnav,
.s-block--categories .swiper-wrapper a {
    background-color: var(--third-color);
}

.main-menu,
.header-btn__icon,
.s-button-primary-outline,
.s-cart-summary-total,
.s-slider-block__title,
.slide--cat-entry i,
.store-footer h3 {
    color: var(--main-color);
}

.main-menu li a:hover,
.sicon-user-circle:hover::before,
.slide--cat-entry h4 {
    color: var(--second-color);
}


/* =========================================
   PAGE LOADER
========================================= */

body:after {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 999999;
    background: url("https://cdn.files.salla.network/other/858402904/2db0cc5d-baf4-4986-a79a-59c8530f4284-original.webp")
        center / 160px no-repeat #fff;
    animation-name: fade-in;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes fade-in {
    0%,
    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}


/* =========================================
   BANNERS
========================================= */

.two-row .banner-entry:first-child {
    grid-column: span 1 / span 1;
    grid-row: span 1;
}

.banner-entry {
    background-color: transparent;
}

.banner--fixed img,
.store-footer__inner {
    background-color: transparent !important;
}


/* =========================================
   SECTION TITLES
========================================= */

.s-block__title,
.s-products-slider-slider .s-slider-block__title {
    color: #000 !important;
    border-right: 11px solid var(--main-color);
    border-radius: 9px;
    padding-right: 15px;
    padding-top: 7px;
    padding-bottom: 9px;
    margin-right: 12px;
}


/* =========================================
   MOBILE MENU
========================================= */

@media only screen and (max-width: 1024px) {
    .mm-spn.mm-spn--light {
        color: var(--main-color);
        background: var(--third-color);
    }
}


/* =========================================
   SLIDER
========================================= */

@media (max-width: 1024px) {
    salla-slider.photos-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
        padding-right: 0;
    }
}

.s-block--photos-slider {
    margin-top: 0 !important;
}

.swiper {
    padding-left: 0 !important;
}

salla-slider.photos-slider .swiper-slide {
    position: relative;
    height: auto;
    width: 100%;
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
}

.flex.items-center.m-0,
.swiper-pagination {
    display: none;
}


/* =========================================
   CONTACT & SOCIAL ICONS
========================================= */

.s-contacts-icon,
.s-social-link a,
.store-footer i {
    color: var(--main-color);
    border-color: var(--main-color);
}

.slide--cat-entry i {
    content: "\ec0b";
}

.s-contacts-item {
    justify-content: center;
}


/* =========================================
   PRODUCT CARDS
========================================= */

.s-product-card-entry {
    border: 2px solid var(--main-color);
    padding: 7px;
    border-radius: 17px;
    box-shadow: 0 0 10px #ddd;
}

.s-block--features__item h4,
.s-product-card-price {
    color: var(--main-color);
}

.s-product-card-content-footer .s-button-btn {
    border-radius: 30px !important;
    font-size: 13px;
    background: var(--main-color);
    box-shadow: 0 0 10px #ddd;
    color: #fff;
}


/* =========================================
   FEATURES & FOOTER TEXT
========================================= */

.footer-list,
.s-block--features__item p,
.store-footer a,
.store-footer h3:hover,
.store-footer__inner .max-w-sm {
    color: var(--second-color);
}


/* =========================================
   GRID
========================================= */

.grid-flow-row {
    grid-auto-flow: column;
}

@media only screen and (min-width: 600px) {
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:col-span-2 {
        grid-column: span 1 / span 1;
    }
}

@media only screen and (max-width: 600px) {
    .s-product-card-content-footer .s-button-btn {
        font-size: 10px;
    }
}


/* =========================================
   FOOTER
========================================= */

.store-footer {
    padding: 30px;
    font-size: 14px;
    border-top-left-radius: 125px;
    border-top-right-radius: 125px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.footer-is-light .store-footer .store-footer__inner {
    background-color: transparent;
}

.store-footer__inner {
    text-align: center;
}

.store-footer__inner .flex {
    justify-content: center;
}

.store-footer__inner .max-w-sm {
    margin: auto;
}

.store-footer h3 {
    font-size: 1.3rem;
}

.store-footer h3:hover {
    opacity: 1;
    cursor: pointer;
}

/* =========================================
   FOOTER LOGO
========================================= */


/* =========================================
   REVIEWS
========================================= */

.s-reviews-container
.swiper-slide-active
.s-reviews-testimonial__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    text-align: center;
}

.s-reviews-container
.swiper-slide-active
.s-reviews-testimonial__avatar:where([dir="rtl"], [dir="rtl"] *) {
    margin-left: 0;
}

.s-reviews-testimonial__name_wrapper {
    flex-direction: column;
    justify-content: space-between;
}

.s-reviews-testimonial__rating {
    margin-left: 0;
    margin-top: 15px;
}

.s-reviews-testimonial__text {
    flex: 1 1 0%;
    flex-direction: column-reverse;
    display: flex;
}

.s-reviews-container
.swiper-slide-active
.s-reviews-testimonial:where([dir="rtl"], [dir="rtl"] *) {
    background-color: transparent;
}

/* لون روابط القائمة */
#mainnav .main-menu > li > a,
#mainnav .main-menu > li > a span {
    color: #404A2F !important;
}

/* لون الأيقونات */
#mainnav .sicon-menu,
#mainnav .s-user-menu-login-btn,
#mainnav .header-btn__icon,
#mainnav .sicon-shopping-bag {
    color: #404A2F !important;
    fill: #404A2F!important;
}

/* أي SVG داخل الهيدر */
#mainnav svg {
    fill: #404A2F!important;
}

/* زر القائمة في الموبايل */
#mainnav .mburger i {
    color: #404A2F!important;
}

/* لون رقم السلة والنص */
#mainnav .s-cart-summary-count,
#mainnav .s-cart-summary-total,
#mainnav .s-cart-summary-content {
    color: #fff!important;
}

/* لون أي عناصر نصية داخل الهيدر */
#mainnav a {
    color: #404A2F;
}



salla-slider.photos-slider .swiper {
  padding-bottom: 0rem; 
}

section[data-testid="store-home-photos-slider"]:nth-of-type(3) {
  position: relative !important;
  top: 1.3rem !important;
  margin-bottom: 1.5rem !important;
}

section[data-testid="store-home-photos-slider"]:nth-of-type(5) {
  position: relative !important;
  top: 1.8rem !important;
  margin-bottom: 1.5rem !important;
}


.s-product-card-image{
  background:#fff!important;
}
.s-product-card-content-title,
.s-product-card-price{
  text-align:center!important;
}

.s-product-card-content-sub {
    justify-content: center;
}

.s-product-card-content-title a,.s-product-card-price {
    font-size: 1rem;
}

@media (max-width: 767px){
  #best-offers-3-slider{
    padding-top:.5rem!important;
  }

  #best-offers-5-slider{
    padding-top:.5rem!important;
  }
}


@media (max-width: 767px) {
    .main-content h1[data-testid="store-product-title"] {
        margin-right: 0px !important;
    }
}


.store-footer,
.store-footer__inner{
  background-color:#404A2F!important;
}

.store-footer,
.store-footer h3,
.store-footer p,
.store-footer a,
.store-footer .unicode,
.store-footer .s-trust-badges-label,
.store-footer .s-trust-badges-number{
  color:#fff!important;
}

.store-footer svg{
  fill:#fff!important;
}

.store-footer .s-social-icon,
.store-footer .s-contacts-icon{
  color:#fff!important;
}

.store-footer .copyright-text,
.store-footer .copyright-text a{
  color:#fff!important;
}

.store-footer__inner{
  border-radius:40px 40px 0px 0px!important;
}

.store-footer .grid > div:first-child > a.flex.items-center.m-0 {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.store-footer .grid > div:first-child > a.flex.items-center.m-0::before {
    content: "";
    display: block !important;

    width: 110px !important;
    height: 45px !important;
    margin: 0 auto 10px;

    background-image: url("https://cdn.files.salla.network/other/858402904/159c9945-fb3c-4e7c-a041-3b7477ebd2ec-original.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.store-footer .grid > div:first-child > a.flex.items-center.m-0 h3 {
    display: none !important;
}

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

.top-navbar{
  background:#ffffff!important;
}

nav#mobile-menu {
    margin-top: 10px !important;
}

@media (min-width: 640px) {
    .s-block {
        margin-top: 2rem;
    }
}

.product__description article p:has(br:only-child) {
    display: none !important;
}

element.style {
    bottom: 110px;
}




.s-block--fixed-banner .container {
    max-width: 100% !important;
    padding: 0 !important;
}

.s-block--fixed-banner {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
}

.s-block--fixed-banner {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@media only screen and (min-width: 1024px) {
    .main-menu li>a {
        font-size: 1.1rem;
    }
}

.s-product-card-image {
    background: #fff;
}

.s-product-card-image-cover {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
}

section[component-id="707453373"] {
    margin-top: 4rem !important;
}

section[component-id="1823912867"] {
    margin-top: 4rem !important;
}

section[component-id="1129570462"] {
    margin-top: 4rem !important;
}

section[component-id="630215906"] {
    margin-top: 2.5rem !important;
}

section[component-id="630215906"] {
    width: auto !important;
    max-width: 1260px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

section[component-id="630215906"] .s-slider-prev,
section[component-id="630215906"] .s-slider-next {
    display: none !important;
}



/* ===== Slider Navigation ===== */

.s-slider-block__title-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* الأسهم */
.s-slider-nav-arrow {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #404A2F !important;
    transition: all 0.25s ease;
}

/* السهم Active */
.s-slider-nav-arrow:not(.swiper-button-disabled) {
    background: #404A2F !important;
    color: #fff !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(64, 74, 47, 0.18);
}

/* أيقونة السهم */
.s-slider-nav-arrow:not(.swiper-button-disabled) svg {
    fill: #fff !important;
    color: #fff !important;
    width: 22px;
    height: 22px;
}

/* Hover */
.s-slider-nav-arrow:not(.swiper-button-disabled):hover {
    background: #343d26 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(64, 74, 47, 0.25);
}

/* السهم Disabled */
.s-slider-nav-arrow.swiper-button-disabled {
    background: #f1f2ee !important;
    border-color: #e2e5dc !important;
    color: #aeb3a5 !important;
    opacity: 1 !important;
    cursor: not-allowed;
}

.s-slider-nav-arrow.swiper-button-disabled svg {
    fill: #aeb3a5 !important;
}


/* ===== عرض الكل ===== */

.s-slider-block__display-all {
    background: #404A2F !important;
    color: #fff !important;

    padding: 11px 20px !important;
    border-radius: 10px !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(64, 74, 47, 0.15);
}

/* Hover عرض الكل */
.s-slider-block__display-all:hover {
    background: #343d26 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(64, 74, 47, 0.22);
}


/* ===== Mobile ===== */

@media (max-width: 767px) {

    .s-slider-block__title-nav {
        gap: 6px;
    }

    .s-slider-nav-arrow {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        border-radius: 9px !important;
    }

    .s-slider-nav-arrow svg {
        width: 19px;
        height: 19px;
    }

    .s-slider-block__display-all {
        padding: 9px 15px !important;
        border-radius: 9px !important;
        font-size: 13px !important;
    }
}

.s-cart-summary-count {
    top: -.125rem;
    --tw-bg-opacity: 1;
    background-color: #991b1b;
    background-color: rgb(197 193 193);
}

#mainnav .s-cart-summary-count, #mainnav .s-cart-summary-total, #mainnav .s-cart-summary-content {
    color: #404a2f !important;
}