/* ============================================
   متجر أحلى تغليف — التنسيقات النهائية الكاملة
   ============================================ */
:root {
  --ahla-maroon: #6e1423;
  --ahla-maroon-dark: #57101b;
  --ahla-gold: #b8860b;
  --color-primary: #6e1423;
}
/* ===== الشريط الإعلاني (ثابت) ===== */
.ahla-topbar {
  background: var(--ahla-maroon-dark);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 12px;
  letter-spacing: .3px;
}
/* ===== الهيدر وقائمة التصنيفات ===== */
.s-header { background: #faf2f3 !important; }
.s-header .main-menu,
.store-menu,
nav.main-nav { background: var(--ahla-maroon) !important; }
.s-header .main-menu a,
.store-menu a { color: #faf2f3 !important; }

/* ===== إطار اللوجو البيضاوي ===== */
.s-header-logo a,
a.logo,
.store-logo {
  border: 2px solid var(--ahla-gold);
  border-radius: 50% / 60%;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
}

/* ===== شريط المميزات ===== */
.ahla-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 24px 20px;
  background: #faefee;
  border-top: 1px solid #f0e9ea;
  border-bottom: 1px solid #f0e9ea;
}
.ahla-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ahla-maroon);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}
.ahla-feature svg {
  width: 26px; height: 26px;     /* ← اتصغّرت (كانت 34) */
  stroke: var(--ahla-maroon);
  fill: none;
  stroke-width: 1.6;             /* ← خط أخف شوية */
}

/* ===== شبكة التصنيفات (صورة تملأ الكارت) ===== */
.ahla-cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  padding: 24px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.ahla-cat {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: var(--ahla-maroon);
  transition: transform .2s, box-shadow .2s;
}
.ahla-cat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(110, 20, 35, .25);
}
.ahla-cat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== زر الواتساب العائم (يمين) ===== */
.ahla-wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.ahla-wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ============================================
   التابلت — كروت أصغر
   ============================================ */
@media (max-width: 991px) {
  .ahla-cats { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}

/* ============================================
   الجوال — صف أفقي يتمرّر يمين/شمال
   ============================================ */
@media (max-width: 600px) {
  .ahla-features {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 26px;
  }
  .ahla-feature { font-size: 15px; }
  .ahla-feature svg { width: 22px; height: 22px; }   /* ← اتصغّرت (كانت 30) */

  .ahla-cats {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding: 16px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .ahla-cat {
    flex: 0 0 34%;
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
  }
  .ahla-cats::-webkit-scrollbar,
  .ahla-features::-webkit-scrollbar { height: 0; }

  .ahla-wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .ahla-wa-float svg { width: 28px; height: 28px; }
}
/* ===== لون أرضية المتجر (الصفحة كلها) ===== */
body,
.s-main,
main,
#app {
  background-color: #faefee !important;   /* ← غيّر اللون هنا */
}
/* ===== كروت المنتجات (مؤكد على متجرك) ===== */
.s-product-card-entry {
  background: #ffffff !important;        /* ← لون خلفية الكارت */
  border: 1px solid #f0e3e6 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(110, 20, 35, .06) !important;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.s-product-card-entry:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(110, 20, 35, .12) !important;
}

/* عنوان المنتج */
.s-product-card-content-title { color: #2a2a2a !important; font-weight: 700; }

/* السعر بالنبيتي */
.s-product-card-price,
.s-product-card-sale-price {
  color: var(--ahla-maroon) !important;
  font-weight: 700;
}

/* زرار "إضافة للسلة" */
.s-product-card-entry .s-button-element {
  background: var(--ahla-maroon) !important;
  color: #fff !important;
  border-color: var(--ahla-maroon) !important;
  border-radius: 10px !important;
}
.s-product-card-entry .s-button-element:hover {
  background: var(--ahla-maroon-dark) !important;
  border-color: var(--ahla-maroon-dark) !important;
}
/* ===== وصف المنتج بالنبيتي ===== */
.s-product-card-content-subtitle,
.s-product-card-subtitle,
.s-product-card-content-sub {
  color: var(--ahla-maroon) !important;
}
/* ===== وصف/تفاصيل المنتج بالنبيتي ===== */
.s-product-card-content-subtitle,
.s-product-card-subtitle,
.product__description,
.product__description * {
  color: var(--ahla-maroon) !important;
}
/* ===== لون الهيدر بالكامل #faf2f3 (كمبيوتر + جوال) ===== */

/* 1) شريط الهيدر الرئيسي (لوجو + تصنيفات + أيقونات) — كمبيوتر */
#mainnav,
.main-nav-container,
.main-nav-container .inner {
  background-color: #faefee !important;
}

/* 2) الشريط العلوي الصغير (اللغة + البحث) */
.top-navbar {
  background-color: #faefee !important;
}

/* 3) قائمة الجوال المنسدلة (☰) */
#mobile-menu,
.mm-spn,
.mm-ocd__content,
.mm-panels,
.mm-panel {
  background-color: #faefee !important;
}

/* 4) لون كلام التصنيفات (يفضل واضح على الخلفية الفاتحة) */
#mainnav .main-menu a,
#mainnav .main-menu li > a,
#mobile-menu a,
.mm-spn a {
  color: #833232 !important;
}
/* ===== الفوتر — خلفية #833232 وكل الكلام والأيقونات أبيض ===== */
.store-footer,
footer.store-footer,
.s-footer {
  background-color: #833232 !important;
}
/* ===== الفوتر بالكامل #833232 ===== */
footer,
footer.store-footer,
.store-footer,
.store-footer > div,
.store-footer section,
.s-footer,
.footer-top,
.footer-main,
.footer-content,
.s-blocks-wrapper.s-footer {
  background-color: #57101b !important;
}

/* كل الكلام أبيض */
footer,
footer *,
.store-footer,
.store-footer * {
  color: #ffffff !important;
}

/* كل الأيقونات أبيض */
footer svg,
footer i,
.store-footer svg,
.store-footer i {
  fill: #ffffff !important;
  color: #ffffff !important;
}
/* ===== بداية الفوتر بشكل بيضاوي (قوس من فوق) ===== */
footer.store-footer,
.store-footer,
.s-footer {
  border-top-left-radius: 50% 60px;
  border-top-right-radius: 50% 60px;
  overflow: hidden;
}
/* ===== تكبير اللوجو ===== */
.navbar-brand img,
.navbar-brand svg {
  height: 90px !important;       /* ← كبّر/صغّر الرقم */
  width: auto !important;
  max-height: none !important;   /* يشيل أي حد أقصى من الثيم */
}

/* على الجوال (أصغر شوية) */
@media (max-width: 700px) {
  .navbar-brand img,
  .navbar-brand svg {
    height: 65px !important;
  }
}