/* =========================
   🎨 Root Variables
   ========================= */
:root {
  --sand: #BDAF98;        /* بيج/ذهبي */
  --sand-dark: #A89270;
  --brown: #4E4036;       /* بني داكن - للنص */
  --ivory: #F8F6F2;       /* خلفية فاتحة */
  --white: #FFFFFF;
  --muted: #8F8172;
  --radius: 12px;
  --shadow: 0 10px 24px rgba(0,0,0,.08);
  --pattern-url: url("https://cdn.salla.sa/nEbYBK/083195a5-c03c-4ef8-8748-a6e9da78701e-1000x1000-SQIV4mPz7C1x9vVVJPq8LK7Jpi3ChaIgl1msuT19.png");
}

/* =========================
    Body Background
   ========================= */
body {
  background-image: var(--pattern-url);
  background-repeat: repeat;
}

/* =========================
   📱 Responsive (Mobile)
   ========================= */
@media (max-width: 768px) {
  /* شبكة 3 أعمدة للتصنيفات */
  .s-block--categories .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
  .s-block--categories .swiper-slide {
    width: 100% !important;
    margin: 0 !important;
  }
  .s-block--categories .slide--cat-entry {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .s-block--categories h2 {
    font-size: 14px;
    font-weight: 600;
    color: var(--brown);
    margin-top: 6px;
    text-align: center;
  }
  /* سنتر للفوتر */
  .store-footer a,
  .s-social-list,
  .store-footer__inner {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
}

/* =========================
   🛒 Products & Sliders
   ========================= */
.s-product-card-content-sub,
.s-product-card-content,
.s-slider-block__title {
  justify-content: center;
  align-items: center;
}

/* العناوين */
.s-slider-block__title-right:where([dir="rtl"], [dir="rtl"] *),
.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
  padding: 0;
}
.s-slider-block__display-all,
.s-slider-block__title-left {
  display: none;
}

/* سلايدر */
.carousel-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: 0;
}
#main-links-1 .s-slider-swiper-wrapper {
  justify-content: center;
  align-items: center;
}

/* كارت المنتج */
.s-product-card-entry {
  border: 1px solid #b5aa8d;
}
.s-product-card-price {
  font-size: 16px;
  font-weight: bold;
  color: var(--brown);
  /*top: 50px;
    position: relative; */
}

/* أيقونة الشنطة */
.sicon-shopping-bag::before {
  content: "\e901";
}

/* خط تحت العنوان */
.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
  position: relative;
  display: inline-block;
}
.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *)::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--brown);
}

/* =========================
   🧭 Header & Cart & Common BG
   ========================= */
.store-footer,
.store-footer__inner,
.copyright-text p,
.main-nav-container,
.header-btn__icon,
.s-cart-summary-total {
  background-color: var(--brown);
  color: #ffffff;
}

/* =========================
   📌 Footer
   ========================= */
.store-footer,
.store-footer__inner,
.copyright-text p {
  background-image: url(https://images.unsplash.com/photo-1582055193464-943584223be1?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
  position: relative;
  z-index: 1;
}

/* حواف دائرية للفوتر */
.store-footer,
.store-footer__inner {
  border-top-right-radius: 2rem;
  border-top-left-radius: 2rem;
}
.store-footer__inner {
  padding-top: 1rem;
  padding-bottom: 0;
}

/* Overlay */
.store-footer::before,
.store-footer__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.25); /*  غامق خفيف */
  z-index: -1;
  border-top-right-radius: 2rem;
  border-top-left-radius: 2rem;
}

/* النصوص بالفوتر */
.copyright-text p {
  background-clip: text;
}

/* =========================
   🔘 Buttons & Inputs
   ========================= */
.s-button-btn,
.s-price-range-number-input {
  border-radius: 0;
  border-top-right-radius: 20px;
}
 .s-user-menu-trigger {
  background-color: rgb(78 64 54);
  }