/* ==========================================================================
   وفاء روز — تخصيص ثيم «رائد Twig» على سلة Pro
   --------------------------------------------------------------------------
   مكان اللصق : تصميم المتجر ← تخصيص ← تخصيص متقدم ← «تخصيص باستخدام CSS»
   الفكرة     : منتزه ورود هادئ — خلفية ورقية دافئة، أخضر ورق الورد للأفعال،
                وأصفر الورد كلمسة صغيرة تتكرر بهدوء (خط تحت العنوان، نقطة،
                شريط التوصيل) بدل أن يغطي الصفحة.
   القاعدة    : كل قيمة قابلة للضبط موجودة في :root. عدّل هناك أولاً.
   ملاحظة     : المحدِّدات مأخوذة من فحص المتجر الفعلي (salla.sa/wafarose-2030).
                لو حدّثت سلة الثيم وتغيّر اسم كلاس، افحص العنصر (Inspect)
                واستبدل الاسم في القسم المعني فقط.
   ========================================================================== */

/* ---------- 1) المتغيّرات ------------------------------------------------ */
:root {
  /* ألوان */
  --wr-leaf: #C2185B;  /* وردي الشعار: الأزرار والروابط الفعّالة */
  --wr-leaf-deep: #9C1349;  /* درجة أغمق للتحويم والأسعار */
  --wr-sun:        #F2C230;  /* أصفر الورد: لمسات صغيرة فقط */
  --wr-sun-soft:   #FBF1C9;  /* بتلة صفراء فاتحة: خلفيات الملاحظات */
  --wr-cream:      #FFF7F2;  /* خلفية الصفحة */
  --wr-sand:       #F8DDE7;  /* خلفية الصور قبل تحميلها والأشرطة الهادئة */
  --wr-ink:        #29252B;  /* النص الأساسي */
  --wr-ink-soft:   #6B675C;  /* النص الثانوي */
  --wr-line:       #E9E3D3;  /* الحدود */
  --wr-clay:       #B4532F;  /* السعر بعد التخفيض (بديل هادئ للأحمر الصارخ) */
  --wr-wa:         #1FA855;  /* زر واتساب */
  --wr-wa-deep:    #178A45;

  /* انحناءات */
  --wr-r-sm: 10px;
  --wr-r:    16px;
  --wr-r-lg: 24px;

  /* ظلال — خفيفة عمداً؛ الظل الثقيل يجعل البطاقات تبدو كقالب جاهز */
  --wr-shadow-1: 0 1px 2px rgba(42, 41, 37, .05);
  --wr-shadow-2: 0 14px 30px -18px rgba(42, 41, 37, .28);

  /* مسافات */
  --wr-gap:     16px;
  --wr-section: clamp(28px, 5vw, 64px); /* المسافة بين أقسام الرئيسية */

  /* حركة */
  --wr-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2) الأساس ---------------------------------------------------- */
body {
  background-color: var(--wr-cream);
  color: var(--wr-ink);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--wr-sun-soft); color: var(--wr-ink); }

/* منع أي تمدد أفقي على الجوال (السلايدر والجداول داخل الوصف أشهر سببين).
   نستخدم clip لا hidden: ‏hidden يحوّل body إلى حاوية تمرير فيتعطل
   تثبيت الهيدر وشريط الطلب (position: sticky). */
body { overflow-x: clip; }
img, video { max-width: 100%; height: auto; }

/* ---------- 3) رأس الصفحة ------------------------------------------------ */
header.site-header {
  background-color: rgba(252, 250, 244, .96);
  border-bottom: 1px solid var(--wr-line);
}

/* شريط التوصيل أعلى الجوال: نبرة مطمئنة لا إعلانية */
.site-header__bullet {
  background: var(--wr-sun-soft);
  color: var(--wr-ink);
  font-size: .82rem;
}

/* روابط القائمة العلوية */
.s-menu-topnav-list a {
  color: var(--wr-ink);
  transition: color .2s var(--wr-ease);
}
.s-menu-topnav-list a:hover { color: var(--wr-leaf); }

/* ---------- 4) الأزرار --------------------------------------------------- */
.s-button-element {
  border-radius: 999px;
  transition: background-color .2s var(--wr-ease), transform .2s var(--wr-ease);
}
.s-button-element.s-button-primary:hover { transform: translateY(-1px); }
.s-button-element:focus-visible {
  outline: 2px solid var(--wr-sun);
  outline-offset: 2px;
}

/* ---------- 5) عناوين أقسام الرئيسية ------------------------------------- */
.s-block { margin-top: var(--wr-section); }

.s-block__title h2,
.s-slider-block__title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--wr-ink);
}
/* الخط الأصفر القصير: توقيع المتجر البصري الوحيد المتكرر */
.s-block__title h2::after,
.s-slider-block__title h2::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--wr-sun);
}

/* السلايدر الرئيسي: حواف ناعمة ونص مقروء فوق الصورة */
.s-block--enhanced-slider .swiper { border-radius: 0 0 var(--wr-r-lg) var(--wr-r-lg); overflow: hidden; }

/* ---------- 6) بطاقة المنتج ---------------------------------------------- */
.s-product-card-entry {
  background: var(--wr-surface);
  border: 1px solid var(--wr-line);
  border-radius: var(--wr-r);
  overflow: hidden;
  box-shadow: none;
  transition: transform .28s var(--wr-ease), box-shadow .28s var(--wr-ease), border-color .28s var(--wr-ease);
}
.s-product-card-entry:hover {
  transform: translateY(-3px);
  box-shadow: var(--wr-shadow-2);
  border-color: #DCD3BB;
}

/* الصورة: نسبة ثابتة 4:5 كي تصطفّ الشبكة مهما اختلفت مقاسات الصور الأصلية */
.s-product-card-vertical .s-product-card-image {
  aspect-ratio: 4 / 5;
  background: var(--wr-sand);
}
.s-product-card-vertical .s-product-card-image > a,
.s-product-card-vertical .s-product-card-image > a > div { display: block; height: 100%; }
.s-product-card-vertical .s-product-card-image-cover {
  width: 100%;
  height: 100%;
  /* !important: الثيم يضيف object-contain كـ utility حسب إعداد «شكل صورة البطاقة»؛
     نثبّت cover هنا حتى لا تظهر حواف بيضاء حول صور الباقات. */
  object-fit: cover !important;
  transition: transform .6s var(--wr-ease);
}
.s-product-card-entry:hover .s-product-card-image-cover { transform: scale(1.04); }

.s-product-card-content { padding: 12px 14px 14px; }

/* العنوان: سطران بالضبط؛ يحفظ ارتفاع البطاقات متساوياً */
.s-product-card-content-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 3.2em;
  line-height: 1.6;
  font-size: .95rem;
  font-weight: 600;
  color: var(--wr-ink);
}
.s-product-card-entry:hover .s-product-card-content-title a { color: var(--wr-leaf-deep); }

/* السعر: الرقم أولاً، ثم السعر القديم بخفّة */
.s-product-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--wr-leaf-deep);
}
.s-product-card-sale-price h4 { color: var(--wr-clay); font-weight: 700; }
.s-product-card-sale-price span {
  color: var(--wr-ink-soft);
  font-size: .82rem;
  font-weight: 400;
  text-decoration: line-through;
}

/* زر المفضلة: حاضر دون أن يزاحم الصورة */
.s-product-card-wishlist-btn {
  background: rgba(255, 255, 255, .86);
  border-color: transparent;
  backdrop-filter: blur(4px);
}

/* المنتج غير المتوفر: نخفّف الصورة فقط ونبقي النص مقروءاً */
.s-product-card-out-of-stock .s-product-card-image-cover { filter: grayscale(.35); opacity: .75; }

/* ---------- 7) مميزات المتجر (التوصيل / الطلب عبر واتساب) ---------------- */
/* ثلاث بطاقات هادئة بحد رفيع بدل الظل، وأيقونة داخل دائرة صفراء فاتحة */
.s-block--features__item {
  background: var(--wr-surface);
  border: 1px solid var(--wr-line);
  border-radius: var(--wr-r);
  box-shadow: none;
  padding: 22px 18px;
  text-align: center;
}
.s-block--features__item .feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--wr-sun-soft);
}
.s-block--features__item .feature-icon i {
  color: var(--wr-leaf-deep);
  font-size: 20px;
  opacity: 1;
}
.s-block--features__item h2 { font-size: 1rem; font-weight: 700; color: var(--wr-ink); }
.s-block--features__item p  { font-size: .88rem; color: var(--wr-ink-soft); line-height: 1.8; }

/* ---------- 8) صفحة المنتج ----------------------------------------------- */
/* 8-أ) المعرض */
:is(.product-single, :where(body):has(.sticky-product-bar)) .product-gallery .swiper { border-radius: var(--wr-r-lg); background: var(--wr-sand); }

/* 8-ب) العنوان والسعر */
:is(.product-single, :where(body):has(.sticky-product-bar)) .main-content h1 {
  font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  line-height: 1.5;
  color: var(--wr-ink);
}
:is(.product-single, :where(body):has(.sticky-product-bar)) .main-content .total-price { color: var(--wr-leaf-deep); }
:is(.product-single, :where(body):has(.sticky-product-bar)) .main-content .price_is_on_sale .total-price { color: var(--wr-clay); }

/* 8-ج) نموذج الطلب: بطاقة هادئة تجمع السعر والكمية والأزرار */
:is(.product-single, :where(body):has(.sticky-product-bar)) .product-form .sticky-product-bar {
  background: var(--wr-surface);
  border: 1px solid var(--wr-line);
  border-radius: var(--wr-r);
  padding: 16px;
}
:is(.product-single, :where(body):has(.sticky-product-bar)) .s-quantity-input-container { border-radius: 999px; border-color: var(--wr-line); }

/* 8-د) زر «اطلب عبر واتساب» — يضيفه كود الـJS المرفق (wafa-rose.js) */
.wr-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--wr-wa);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .2s var(--wr-ease), transform .2s var(--wr-ease);
}
.wr-wa-btn:hover { background: var(--wr-wa-deep); color: #fff; transform: translateY(-1px); }
.wr-wa-btn:focus-visible { outline: 2px solid var(--wr-sun); outline-offset: 2px; }
.wr-wa-btn svg { width: 20px; height: 20px; flex: none; }

/* سطر الطمأنة تحت الزر: التوصيل + الدفع بالتفاهم */
.wr-order-note {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--wr-r-sm);
  background: var(--wr-sun-soft);
  color: var(--wr-ink);
  font-size: .86rem;
  line-height: 1.8;
}
.wr-order-note b { font-weight: 700; }
/* النسخة داخل الصفحة للجوال فقط؛ على الشاشات الأكبر يكفي السطر تحت الزر */
.wr-order-note--inline { display: none; margin: 0 0 16px; }
@media (max-width: 767px) {
  .wr-order-note--inline { display: grid; }
  .sticky-product-bar .wr-order-note:not(.wr-order-note--inline) { display: none; }
  .sticky-product-bar .wr-wa-btn { margin-top: 10px; min-height: 46px; }
}

/* 8-د-2) واتساب هو المسار الوحيد للطلب (قرار المالك):
   نخفي «أضف للسلة» و«اشترِ الآن» و Apple Pay من صفحة المنتج، وزر السلة من
   بطاقات المنتجات؛ فتصبح البطاقة رابطاً لصفحة المنتج، والطلب من زر واتساب.
   الإخفاء شكلي؛ المتجر نفسه ما زال يقبل الطلبات لو وصلها أحد برابط مباشر. */
:is(.product-single, :where(body):has(.sticky-product-bar)) form.product-form salla-add-product-button,
:is(.product-single, :where(body):has(.sticky-product-bar)) salla-quick-buy,
:is(.product-single, :where(body):has(.sticky-product-bar)) .s-add-product-button-mini-checkout,
.s-product-card-entry salla-add-product-button,
.s-product-card-entry .s-product-card-content-footer > salla-add-product-button {
  display: none;
}

/* 8-هـ) الوصف: عناوين قصيرة بنقطة صفراء، وقائمة بنقاط ورقية */
:is(.product-single, :where(body):has(.sticky-product-bar)) .product__description,
:is(.product-single, :where(body):has(.sticky-product-bar)) .article--main {
  color: var(--wr-ink);
  line-height: 2;
  font-size: .96rem;
}
:is(.product-single, :where(body):has(.sticky-product-bar)) .product__description h2,
:is(.product-single, :where(body):has(.sticky-product-bar)) .article--main h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--wr-leaf-deep);
}
:is(.product-single, :where(body):has(.sticky-product-bar)) .product__description h2::before,
:is(.product-single, :where(body):has(.sticky-product-bar)) .article--main h2::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wr-sun);
  flex: none;
}
:is(.product-single, :where(body):has(.sticky-product-bar)) .product__description ul,
:is(.product-single, :where(body):has(.sticky-product-bar)) .article--main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
:is(.product-single, :where(body):has(.sticky-product-bar)) .product__description li,
:is(.product-single, :where(body):has(.sticky-product-bar)) .article--main li {
  position: relative;
  padding-inline-start: 18px;
}
:is(.product-single, :where(body):has(.sticky-product-bar)) .product__description li::before,
:is(.product-single, :where(body):has(.sticky-product-bar)) .article--main li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: .85em;
  width: 7px;
  height: 7px;
  border-radius: 0 60% 0 60%; /* شكل ورقة صغيرة */
  background: var(--wr-leaf);
  opacity: .7;
}
/* آخر فقرة في الوصف (ملاحظة الورد الطبيعي والاستبدال): أخف وزناً */
:is(.product-single, :where(body):has(.sticky-product-bar)) .product__description > p:last-child,
:is(.product-single, :where(body):has(.sticky-product-bar)) .article--main > p:last-child {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--wr-line);
  color: var(--wr-ink-soft);
  font-size: .86rem;
}

/* ---------- 9) صفحات الأقسام ومسار التنقل ------------------------------- */
nav.breadcrumbs { font-size: .84rem; color: var(--wr-ink-soft); }
nav.breadcrumbs a:hover { color: var(--wr-leaf); }

/* ---------- 10) التذييل وشريط الجوال السفلي ------------------------------ */
footer.store-footer {
  /* !important: لون خلفية التذييل يُحقن من إعداد الثيم كـ utility (bg-[#F4F7F2])
     وله نفس درجة التحديد؛ نوحّده مع ألوان المتجر. */
  background-color: var(--wr-sand) !important;
  border-top: 1px solid var(--wr-line);
}
.store-footer__desc { line-height: 1.9; }

nav.mobile-bottom-bar {
  border-top: 1px solid var(--wr-line);
  background: rgba(255, 255, 255, .97);
}
/* العنصر النشط يلوّنه الثيم بلون المتجر مع نص أبيض — نتركه كما هو */

/* ---------- 11) التجاوب -------------------------------------------------- */
/* جوال صغير: بطاقتان في الصف بمسافات أضيق وخط أصغر قليلاً */
@media (max-width: 480px) {
  :root { --wr-r: 14px; --wr-r-lg: 18px; }
  .s-product-card-content { padding: 10px 10px 12px; }
  .s-product-card-content-title a { font-size: .88rem; min-height: 3.1em; }
  .s-product-card-price { font-size: .95rem; }
  .s-block--features__item { padding: 16px 12px; }
  /* زر البطاقة على الجوال: نص أصغر حتى لا يُقصّ «أضف إلى السلة» */
  .s-product-card-content-footer .s-button-element { font-size: .8rem; padding-inline: 8px; }
}

/* الجوال عموماً: نموذج الطلب المثبّت أسفل الشاشة يبقى شريطاً بلا إطار،
   ونترك مساحة حتى لا يغطيه زر واتساب العائم ولا شريط التنقل السفلي */
@media (max-width: 767px) {
  :is(.product-single, :where(body):has(.sticky-product-bar)) .product-form .sticky-product-bar {
    border-radius: var(--wr-r) var(--wr-r) 0 0;
    border-inline: 0;
    border-bottom: 0;
    box-shadow: 0 -10px 24px -18px rgba(42, 41, 37, .35);
  }
  .wr-wa-btn { min-height: 48px; margin-top: 10px; }
}

/* شاشات عريضة: نهدّئ عرض الوصف حتى لا يمتد السطر أكثر من اللازم */
@media (min-width: 1024px) {
  :is(.product-single, :where(body):has(.sticky-product-bar)) .product__description,
  :is(.product-single, :where(body):has(.sticky-product-bar)) .article--main { max-width: 68ch; }
}

/* ---------- 12) احترام تفضيل تقليل الحركة ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .s-product-card-entry,
  .s-product-card-image-cover,
  .s-button-element,
  .wr-wa-btn { transition: none; }
  .s-product-card-entry:hover,
  .s-product-card-entry:hover .s-product-card-image-cover { transform: none; }
}


/* ---------- 13) لوحة «بلا أبيض» + الصفحة الرئيسية كمعرض فني ----------------
   قرار الهوية: لا خلفيات بيضاء في المتجر. السطوح كلها درجات دافئة من الهوية. */
:root {
  --wr-plum: #3A1430;       /* برقوقي عميق: الافتتاحية وأقسام التباين */
  --wr-plum-2: #571A45;
  --wr-rose: #C2185B;       /* وردي الشعار */
  --wr-gold: #D9A93A;       /* ذهبي كلاسيكي للتفاصيل */
  --wr-gold-soft: #F3D98B;
  --wr-blush: #F2D3DC;      /* وردي ترابي فاتح */
  --wr-peach: #F5A28D;
  --wr-lav: #C8B5D9;
  --wr-bg: #F5E8E1;         /* خلفية الصفحة: رملي وردي (بدل الأبيض) */
  --wr-surface: #FBF1EB;    /* البطاقات: عاجي دافئ (بدل الأبيض) */
  --wr-char: #29252B;
}
/* الخلفيات العامة للثيم: نستبدل الأبيض بالرملي الوردي */
body, .app-inner, main, .main-content, .store-header, header.site-header, .main-nav-container,
.s-block, :is(.product-single, :where(body):has(.sticky-product-bar)) .main-content, footer.store-footer, .store-footer__inner { background-color: var(--wr-bg); }
/* !important: غلاف الصفحة .app-inner يأخذ لونه الأبيض من قاعدة في ملف الثيم تُحمَّل بعد ملفنا */
body .app-inner { background-color: var(--wr-bg) !important; }
/* !important: صنف bg-white في الثيم مكتوب في ملف أدوات Tailwind ويطبَّق بعد ملفنا في بعض الصفحات */
.bg-white { background-color: var(--wr-surface) !important; }
.s-product-card-entry, .sticky-product-bar, :is(.product-single, :where(body):has(.sticky-product-bar)) .product-form .sticky-product-bar,
.s-block--features__item, nav.mobile-bottom-bar, .s-dropdown, .s-menu-topnav-list .sub-menu { background-color: var(--wr-surface); }

.wr-hidden { display: none !important; } /* !important: نخفي أقسام الثيم التي حلّت محلها أقسامنا مهما كانت قواعد الثيم */
.wr-sec { padding: clamp(48px, 8vw, 112px) 0; position: relative; overflow: hidden; }
.wr-wrap { width: min(1200px, 100% - 32px); margin-inline: auto; position: relative; }
.wr-sec h1, .wr-sec h2, .wr-sec h3 { margin: 0; line-height: 1.35; font-weight: 700; }
.wr-sec h2 { font-size: clamp(1.6rem, 4.2vw, 2.8rem); color: var(--wr-char); }
.wr-head { margin-bottom: clamp(20px, 3vw, 36px); }
.wr-head--split { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wr-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  color: var(--wr-rose); font-size: .82rem; font-weight: 700; letter-spacing: .06em;
}
.wr-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.wr-eyebrow--gold { color: var(--wr-gold); }
.wr-link { color: var(--wr-rose); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.wr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px;
  border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none;
  background: var(--wr-rose); color: var(--wr-surface);
  transition: transform .35s var(--wr-ease), box-shadow .35s var(--wr-ease), background-color .35s var(--wr-ease);
}
.wr-btn:hover { transform: translateY(-2px); }
.wr-btn--gold { background: linear-gradient(135deg, #E9C46A, var(--wr-gold)); color: var(--wr-plum); box-shadow: 0 10px 30px rgba(217, 169, 58, .35); }
.wr-btn--line { background: transparent; color: var(--wr-plum); box-shadow: inset 0 0 0 1.5px rgba(58, 20, 48, .45); }
.wr-btn--plum { background: var(--wr-plum); color: var(--wr-gold-soft); }
.wr-btn--wa { background: var(--wr-wa); color: #F4FFF7; }
.wr-btn svg { width: 20px; height: 20px; }
.wr-ornament { display: block; width: 120px; height: 14px; margin: 0 auto 18px;
  background: radial-gradient(circle, var(--wr-gold) 3px, transparent 4px) center/14px 14px no-repeat,
              linear-gradient(var(--wr-gold), var(--wr-gold)) left center/48px 1.5px no-repeat,
              linear-gradient(var(--wr-gold), var(--wr-gold)) right center/48px 1.5px no-repeat; }

/* 13-1) الافتتاحية: خلفية وردية ترابية مريحة، والعمق من تراكب صور حقيقية فقط */
.wr-hero { background: linear-gradient(160deg, #F4E1E4, #F0DDD3); padding-block: clamp(40px, 7vw, 96px); }
.wr-hero__in { width: min(1280px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
.wr-hero h1 { color: var(--wr-plum); font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.3; }
.wr-hero h1 em { font-style: normal; color: var(--wr-rose); }
.wr-hero p { color: #5E4B57; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 2; max-width: 46ch; margin: 18px 0 28px; }
.wr-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.wr-stage { --rx: 4deg; --ry: -10deg; position: relative; height: clamp(360px, 42vw, 540px); perspective: 1600px; }
.wr-stack { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .7s var(--wr-ease); }
.wr-tile { position: absolute; margin: 0; overflow: hidden; border-radius: 22px; background: var(--wr-blush);
  box-shadow: 0 24px 50px rgba(58, 20, 48, .18), 0 2px 6px rgba(58, 20, 48, .08); }
.wr-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wr-tile--front { width: 54%; aspect-ratio: 4 / 5; inset: 10% auto auto 24%; transform: translateZ(80px); }
.wr-tile--mid { width: 40%; aspect-ratio: 4 / 5; inset: 2% 0 auto auto; transform: translateZ(0) rotate(4deg); }
.wr-tile--back { width: 38%; aspect-ratio: 4 / 5; inset: auto auto 0 0; transform: translateZ(-40px) rotate(-4deg); }
/* 13-2) عبارة القيمة + الاختصارات */
.wr-statement { background: var(--wr-blush); text-align: center; padding-block: clamp(40px, 6vw, 80px); }
.wr-quote { margin: 0 auto 28px; max-width: 26ch; font-size: clamp(1.5rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.6; color: var(--wr-plum); }
.wr-quote em { font-style: normal; color: var(--wr-rose); }
.wr-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin-inline: auto; }
.wr-quick a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px; border-radius: 18px;
  background: var(--wr-surface); color: var(--wr-plum); text-decoration: none; font-weight: 700;
  box-shadow: 0 8px 22px rgba(58, 20, 48, .08); transition: transform .3s var(--wr-ease), background-color .3s var(--wr-ease), color .3s var(--wr-ease); }
.wr-quick a b { font-size: .8rem; color: var(--wr-gold); letter-spacing: .08em; }
.wr-quick a:hover { transform: translateY(-4px); background: var(--wr-plum); color: var(--wr-gold-soft); }

/* 13-3) حسب الشعور: قسم تباين برقوقي، خيارات بصفّين */
.wr-feel { background: #EFDCE0; }
.wr-grid-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 760px; margin-bottom: 28px; }
.wr-chip { min-height: 50px; padding: 0 14px; border-radius: 16px; border: 1px solid rgba(58, 20, 48, .12);
  background: var(--wr-surface); color: var(--wr-plum); font: inherit; font-weight: 600; cursor: pointer;
  transition: background-color .25s var(--wr-ease), color .25s var(--wr-ease), border-color .25s var(--wr-ease); }
.wr-chip:hover { border-color: var(--wr-rose); }
.wr-chip.is-on { background: var(--wr-plum); border-color: var(--wr-plum); color: var(--wr-gold-soft); }
.wr-rail { display: grid; gap: 16px; min-height: 140px; }
.wr-rail--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wr-rail--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wr-rail__msg { grid-column: 1 / -1; color: inherit; opacity: .8; }
.wr-card { display: flex; flex-direction: column; gap: 6px; padding: 8px 8px 14px; border-radius: 22px; background: var(--wr-surface);
  color: var(--wr-char); text-decoration: none; transition: transform .4s var(--wr-ease), box-shadow .4s var(--wr-ease); }
.wr-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(58, 20, 48, .14); }
.wr-card__img { display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--wr-blush); }
.wr-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--wr-ease); }
.wr-card:hover .wr-card__img img { transform: scale(1.05); }
.wr-card__name { font-weight: 600; font-size: .95rem; line-height: 1.6; padding-inline: 6px; }
.wr-card__price { color: var(--wr-rose); font-weight: 700; padding-inline: 6px; }
.wr-card__price s { color: var(--wr-ink-soft); font-weight: 400; font-size: .85em; }
.wr-card--more { align-items: center; justify-content: center; background: transparent; border: 1.5px solid rgba(58, 20, 48, .25); color: var(--wr-plum); font-weight: 700; min-height: 120px; }
.wr-lang .wr-card--more { color: var(--wr-plum); border-color: var(--wr-plum); }

/* 13-4) معرض وفاء: شبكة تحريرية غير متماثلة */
.wr-gallery { background: var(--wr-bg); }
.wr-mosaic { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 14vw, 190px); gap: 14px; }
.wr-piece { position: relative; overflow: hidden; border-radius: 24px; background: var(--wr-blush); display: block; }
.wr-piece img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--wr-ease); }
.wr-piece:hover img { transform: scale(1.06); }
.wr-piece--1 { grid-column: span 3; grid-row: span 3; }
.wr-piece--2 { grid-column: span 3; grid-row: span 2; }
.wr-piece--3 { grid-column: span 2; grid-row: span 2; }
.wr-piece--4 { grid-column: span 1; grid-row: span 2; }
.wr-piece--5 { grid-column: span 3; grid-row: span 1; }
.wr-piece__cap { position: absolute; inset: auto 10px 10px 10px; display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 10px 14px; border-radius: 14px; background: rgba(58, 20, 48, .78); color: #FBEFF3; backdrop-filter: blur(6px); font-size: .9rem; }
.wr-piece__cap b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wr-piece__cap span { color: var(--wr-gold-soft); white-space: nowrap; font-weight: 700; }

/* 13-5) لغة الألوان */
.wr-lang { --wr-tone: #F2C230; background: color-mix(in srgb, var(--wr-tone) 22%, var(--wr-bg)); transition: background-color .6s var(--wr-ease); }
.wr-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.wr-swatch { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--wr-surface); color: var(--wr-char); font: inherit; font-weight: 600; cursor: pointer; }
.wr-swatch i { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(41, 37, 43, .18); }
.wr-swatch.is-on { border-color: var(--wr-plum); background: var(--wr-plum); color: var(--wr-gold-soft); }
.wr-lang__body { display: grid; grid-template-columns: minmax(240px, 1fr) 2.2fr; gap: 18px; align-items: start; }
.wr-meaning { position: relative; padding: 26px; border-radius: 24px; background: var(--wr-plum); color: #F7E7EC; }
.wr-meaning__dot { display: block; width: 46px; height: 46px; border-radius: 50%; background: var(--wr-tone); margin-bottom: 14px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08); }
.wr-meaning h3 { font-size: 1.35rem; color: var(--wr-gold-soft); margin-bottom: 8px; }
.wr-meaning p { margin: 0 0 8px; line-height: 1.9; }
.wr-meaning .wr-link { color: var(--wr-gold-soft); display: inline-block; margin-top: 8px; }
.wr-occ { opacity: .85; }
.wr-fine { margin-top: 16px; font-size: .8rem; color: var(--wr-ink-soft); }

/* 13-6) كيف تطلب؟ */
.wr-how { background: var(--wr-blush); }
.wr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.wr-steps li { position: relative; padding: 28px 24px 24px; border-radius: 24px; background: var(--wr-surface); }
.wr-steps li b { display: block; font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--wr-rose); margin-bottom: 10px; }
.wr-steps h3 { font-size: 1.1rem; color: var(--wr-plum); margin-bottom: 6px; }
.wr-steps p { margin: 0; line-height: 1.9; color: var(--wr-ink-soft); }

/* 13-7) هل تعلم؟ + النصائح */
.wr-know { background: #EFE2D6; }
.wr-know .wr-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.wr-fact { padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: linear-gradient(135deg, var(--wr-gold-soft), #E9C46A); }
.wr-fact .wr-eyebrow { color: var(--wr-plum); }
.wr-fact__txt { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 600; line-height: 1.9; color: var(--wr-plum); margin: 0 0 20px; }
.wr-fact__txt.is-in { animation: wr-in .5s var(--wr-ease); }
@keyframes wr-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wr-know h2 { color: var(--wr-plum); margin-bottom: 8px; }
.wr-tips details { border-bottom: 1px solid rgba(58, 20, 48, .14); }
.wr-tips summary { padding: 16px 0; color: var(--wr-plum); font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.wr-tips summary::-webkit-details-marker { display: none; }
.wr-tips summary::after { content: "+"; color: var(--wr-rose); font-size: 1.3rem; line-height: 1; }
.wr-tips details[open] summary::after { content: "–"; }
.wr-tips details p { margin: 0 0 16px; color: #5E4B57; line-height: 2; }

/* 13-8) الختام */
.wr-cta { background: radial-gradient(70% 90% at 50% 0%, #D63A78, var(--wr-rose) 45%, #8E1145); text-align: center; }
.wr-cta h2 { color: #FFF1F5; font-size: clamp(1.8rem, 5vw, 3.2rem); }
.wr-cta p { color: rgba(255, 241, 245, .9); margin: 10px 0 26px; }
.wr-cta .wr-hero__cta { justify-content: center; }

/* 13-9) زر واتساب العائم */
.wr-float { position: fixed; z-index: 40; inset: auto auto 24px 24px; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px;
  border-radius: 999px; background: var(--wr-wa); color: #F4FFF7; font-weight: 700; text-decoration: none; box-shadow: 0 10px 26px rgba(31, 168, 85, .35); }
.wr-float svg { width: 24px; height: 24px; }

/* ظهور ناعم */
.wr-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--wr-ease), transform .8s var(--wr-ease); }
.wr-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .wr-rail--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wr-lang__body { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .wr-hero__in { grid-template-columns: 1fr; text-align: center; }
  .wr-hero p { margin-inline: auto; }
  .wr-hero__cta { justify-content: center; }
  .wr-eyebrow::before { display: none; }
  .wr-stage { height: 320px; max-width: 360px; width: 100%; margin-inline: auto; }
  .wr-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wr-grid-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wr-rail--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wr-rail { gap: 12px; }
  .wr-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .wr-piece--1 { grid-column: span 2; grid-row: span 2; }
  .wr-piece--2, .wr-piece--3, .wr-piece--4 { grid-column: span 1; grid-row: span 2; }
  .wr-piece--5 { grid-column: span 1; grid-row: span 2; }
  .wr-piece__cap { flex-direction: column; align-items: flex-start; gap: 2px; font-size: .8rem; padding: 8px 10px; }
  .wr-steps { grid-template-columns: 1fr; }
  .wr-know .wr-wrap { grid-template-columns: 1fr; }
  .wr-swatches { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .wr-swatch { flex: none; }
  .wr-float { inset: auto auto 92px 14px; width: 52px; padding: 0; justify-content: center; }
  .wr-float span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wr-reveal { opacity: 1; transform: none; transition: none; }
  .wr-fact__txt.is-in { animation: none; }
}


/* ---------- 14) صفحة المنتج: معرض فاخر بلا أبيض -----------------------------
   الصورة في إطار ذهبي رفيع، والمعلومات على سطح عاجي، وبطاقة الطلب برقوقية. */
/* الشعار ملف PNG بخلفية بيضاء: multiply يذيب الأبيض في لون الهيدر */
.site-header img, .navbar-brand img, header img[alt*="وفاء"] { mix-blend-mode: multiply; }

:is(.wr-product, main:has(.sticky-product-bar)) .product-gallery { border-radius: 28px; overflow: hidden; background: var(--wr-blush);
  box-shadow: 0 0 0 1px rgba(217, 169, 58, .45), 0 30px 60px rgba(58, 20, 48, .18); }
:is(.wr-product, main:has(.sticky-product-bar)) .product-gallery img { border-radius: 0; }
:is(.wr-product, main:has(.sticky-product-bar)) .main-content { padding: clamp(16px, 2.5vw, 28px); border-radius: 28px; background: var(--wr-surface);
  box-shadow: 0 16px 40px rgba(58, 20, 48, .08); }
:is(.wr-product, main:has(.sticky-product-bar)) .main-content h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--wr-plum); line-height: 1.4; }
:is(.wr-product, main:has(.sticky-product-bar)) .main-content h1::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 12px; background: var(--wr-gold); }
:is(.wr-product, main:has(.sticky-product-bar)) .main-content > .price-wrapper .total-price,
:is(.wr-product, main:has(.sticky-product-bar)) .main-content .total-price { color: var(--wr-rose); }

/* بطاقة الطلب: برقوقي + ذهبي */
:is(.wr-product, main:has(.sticky-product-bar)) .product-form .sticky-product-bar { background: linear-gradient(160deg, var(--wr-plum-2), var(--wr-plum)) !important; /* !important: الثيم يضع bg-white على الشريط نفسه */
  border: 1px solid rgba(217, 169, 58, .45); border-radius: 24px; color: #FBEFF3; }
:is(.wr-product, main:has(.sticky-product-bar)) .sticky-product-bar .total-price { color: var(--wr-gold-soft) !important; /* !important: لون السعر مكتوب كصنف أداة في الثيم */ }
:is(.wr-product, main:has(.sticky-product-bar)) .sticky-product-bar .before-price { color: rgba(251, 239, 243, .6); }
:is(.wr-product, main:has(.sticky-product-bar)) .s-quantity-input-container { background: rgba(255, 255, 255, .06); border-color: rgba(243, 217, 139, .35); color: #FBEFF3; }
:is(.wr-product, main:has(.sticky-product-bar)) .s-quantity-input-input { color: #FBEFF3; background: transparent; }
:is(.wr-product, main:has(.sticky-product-bar)) .wr-wa-btn { min-height: 56px; font-size: 1.05rem; box-shadow: 0 12px 28px rgba(31, 168, 85, .35); }
:is(.wr-product, main:has(.sticky-product-bar)) .sticky-product-bar .wr-order-note { background: rgba(243, 217, 139, .12); color: #FBEFF3; }
.wr-trust { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wr-trust li { padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--wr-gold-soft); border: 1px solid rgba(243, 217, 139, .35); }
.wr-trust li::before { content: "✦"; margin-inline-end: 6px; color: var(--wr-gold); }

/* الوصف: كتلة تحريرية */
:is(.wr-product, main:has(.sticky-product-bar)) .product__description, :is(.wr-product, main:has(.sticky-product-bar)) .article--main { color: var(--wr-char); }
:is(.wr-product, main:has(.sticky-product-bar)) .product__description h2 { color: var(--wr-plum); }
:is(.wr-product, main:has(.sticky-product-bar)) .wr-order-note--inline { background: var(--wr-blush); color: var(--wr-plum); }

/* «قد يعجبك أيضًا» وبطاقات المنتجات في الثيم */
.s-product-card-entry { border: 1px solid rgba(217, 169, 58, .25); border-radius: 22px; }
.s-product-card-price, .s-product-card-sale-price h4 { color: var(--wr-rose); }

@media (max-width: 767px) {
  :is(.wr-product, main:has(.sticky-product-bar)) .main-content { border-radius: 22px; }
  :is(.wr-product, main:has(.sticky-product-bar)) .product-gallery { border-radius: 22px; }
  /* على الجوال الشريط مثبت أسفل الشاشة: نخفي شريط الثقة منه ليبقى صغيرًا */
  :is(.wr-product, main:has(.sticky-product-bar)) .sticky-product-bar .wr-trust { display: none; }
}
/* الثيم يضيف نقاط القائمة الافتراضية فوق نقاطنا الورقية: نلغيها */
.product__description ul, .article--main ul { list-style: none; padding-inline-start: 0; }
/* على الخلفيات الفاتحة يكون العنوان الصغير بالوردي (الذهبي يضعف على الفاتح) */
.wr-hero .wr-eyebrow, .wr-feel .wr-eyebrow, .wr-how .wr-eyebrow, .wr-tips .wr-eyebrow { color: var(--wr-rose); }

/* ---------- 15) الشعار في المنتصف + تذييل احترافي ----------------------- */
/* الهيدر: الشعار بعرض واضح في المنتصف، والقائمة في صف تحته على الشاشات الكبيرة */
.site-header__bar-inner {
  grid-template-columns: 1fr auto 1fr !important;
  grid-template-areas: "toggle brand actions" "nav nav nav" !important;
  height: auto !important; row-gap: 4px; padding-block: 10px 4px;
}
.site-header__nav-toggle { grid-area: toggle; justify-self: start; }
.site-header__brand { grid-area: brand; justify-self: center; display: flex; align-items: center; }
.site-header__mainmenu { grid-area: nav; justify-self: center; border-top: 1px solid rgba(87,26,69,.12); width: 100%; display: flex; justify-content: center; }
.site-header__actions { grid-area: actions; justify-self: end; }
.site-header__brand img[data-wr-logo] {
  height: 74px !important; width: auto !important; max-width: none !important;
  object-fit: contain; mix-blend-mode: normal !important;
}
@media (max-width: 1023px) {
  .site-header__bar-inner { grid-template-areas: "toggle brand actions" !important; padding-block: 6px; }
  .site-header__brand img[data-wr-logo] { height: 54px !important; }
}

/* التذييل */
footer.store-footer {
  background: #EDDCD5 !important; color: var(--wr-plum) !important;
  border-top: 0; position: relative;
}
footer.store-footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--wr-gold) 20%, var(--wr-rose) 50%, var(--wr-gold) 80%, transparent);
  opacity: .7;
}
.store-footer__inner { border-color: rgba(87,26,69,.14) !important; }
.store-footer h3, .store-footer .text-gray-900 { color: var(--wr-plum) !important; letter-spacing: 0; position: relative; padding-bottom: 10px; }
.store-footer h3::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 28px; height: 2px; background: var(--wr-gold); border-radius: 2px; }
.store-footer a { color: var(--wr-plum-2); }
.store-footer a:hover { color: var(--wr-rose) !important; opacity: 1 !important; }
.store-footer__brand { text-align: start; }
.store-footer__logo img[data-wr-logo] { height: 96px !important; width: auto !important; max-width: none !important; mix-blend-mode: normal !important; }
.store-footer__desc { color: #5B3A50; opacity: 1 !important; font-size: .95rem; }
.wr-foot-cta { margin: 4px 0 22px; }
.wr-foot-cta .wr-btn { font-size: .95rem; padding: 11px 20px; }
.store-footer .s-contacts-item { color: var(--wr-plum) !important; direction: ltr; justify-content: flex-end; }
.store-footer .s-contacts-icon { background: var(--wr-plum) !important; color: var(--wr-gold-soft) !important; border-radius: 50%; }
.store-footer .s-contacts-icon svg { fill: currentColor; }
.store-footer .s-trust-badges-wrapper { background: var(--wr-surface); border: 1px solid rgba(217,169,58,.45); border-radius: 14px; padding: 8px 12px; }
.store-footer .s-trust-badges-label { color: #6B4A5F; }
.store-footer .s-trust-badges-number { color: var(--wr-plum); }

/* الشريط السفلي: حقوق + طرق الدفع على خلفية بنفسجية داكنة للتمييز */
.store-footer__bottom {
  max-width: none !important; width: 100%;
  background: var(--wr-plum); color: #EBD7C7;
  padding-inline: max(16px, calc((100% - 1180px) / 2)) !important;
}
.store-footer__bottom .copyright-text { color: #EBD7C7 !important; }
.store-footer__bottom .copyright-text a { color: var(--wr-gold-soft) !important; }
[data-testid="store-footer-salla-badge"] { display: none !important; }
.s-payments-list { gap: 8px; }
.s-payments-list-item {
  background: #F6E7DD !important; border: 1px solid rgba(217,169,58,.55) !important;
  border-radius: 10px !important; padding: 6px 12px !important; height: 42px; display: flex; align-items: center;
}
.s-payments-list-item img { height: 26px; width: auto; }
@media (max-width: 767px) {
  .store-footer__bottom { display: flex; flex-direction: column-reverse; gap: 12px; align-items: center; }
  .store-footer__brand { text-align: center; }
  .store-footer__brand .store-footer__logo { justify-content: center; width: 100%; }
  .store-footer h3::after { inset-inline-start: 0; }
}

.site-header__bar, .site-header__bar.is-scrolled, .site-header__topnav, .site-header__safe-area, .s-menu-sub-menu { background-color: var(--wr-bg) !important; }
.site-header__bar.is-scrolled { box-shadow: 0 6px 18px -14px rgba(58,20,48,.45); }
@media (min-width: 768px) {
  .store-footer__inner > .container { grid-template-columns: 1.3fr 1fr !important; grid-auto-flow: row !important; align-items: start; }
  .store-footer__inner > .container > * { grid-column: auto !important; }
  .store-footer__contact-list { background: var(--wr-surface); border: 1px solid rgba(217,169,58,.35); border-radius: 22px; padding: 24px 26px; }
}

@media (min-width: 768px) { .store-footer__bottom salla-payments { margin-inline-end: 150px; } }
.wr-foot-wa { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--wr-plum) !important; font-weight: 600; direction: rtl; }
.wr-foot-wa span.n { direction: ltr; unicode-bidi: isolate; }
.wr-foot-wa i { width: 31px; height: 31px; border-radius: 50%; background: #1F8F4E; color: #F6E7DD; display: inline-flex; align-items: center; justify-content: center; }
.wr-foot-wa i svg { width: 17px; height: 17px; }
/* الثيم يخفي محتوى التذييل على الجوال — نُظهره لأنه يحمل الشعار والتواصل والسجل */
@media (max-width: 767px) {
  footer.store-footer > .store-footer__inner { display: block !important; }
  footer.store-footer > .store-footer__bottom { display: flex !important; padding-bottom: 96px !important; }
  .store-footer__trust, .store-footer__contact-list { justify-content: center; text-align: center; }
  .store-footer__contact-list h3::after { inset-inline-start: calc(50% - 14px); }
  .store-footer .s-contacts-list { align-items: center; }
  .store-footer .s-contacts-item, .wr-foot-wa { justify-content: center; }
}

/* ---------- 16) توحيد خلفية صور المنتجات بدرجة المتجر الدافئة ---------------- */
salla-slider.details-slider .swiper-slide, salla-slider.details-slider .slide--one-fourth,
.s-product-card-image, .wr-card__img { background-color: #FBF1EB !important; }
salla-slider.details-slider .swiper-slide img, salla-slider.details-slider .slide--one-fourth img,
.s-product-card-image img, .wr-card__img img { mix-blend-mode: multiply; }

/* ---------- 17) توحيد دفء صور الواجهة والمعرض (بدون تغميق) ------------------ */
.wr-tile, .wr-piece { isolation: isolate; }
.wr-tile img, .wr-piece img { filter: brightness(1.04) saturate(1.06); }
.wr-tile::after, .wr-piece::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(160deg, rgba(255, 214, 200, .22), rgba(242, 211, 220, .18));
  mix-blend-mode: soft-light;
}

/* ---------- 18) ثبات الشكل من أول لحظة (بدون وميض للتصميم القديم) ---------- */
/* مهم: صفحة السيرفر توصل و<body> بدون أي class (الثيم يضيف «index» بعد تشغيل الجافاسكربت)،
   فالإخفاء لازم يعتمد على بنية الصفحة نفسها لا على body.index — وإلا يظهر البنر القديم أول لحظة. */
main > .s-block--enhanced-slider,
main > .s-block--enhanced-slider ~ .s-block--fixed-products,
main > .s-block--enhanced-slider ~ .s-block--store-features,
main > .s-block--enhanced-slider ~ .s-block--testimonials,
body.index .s-block--enhanced-slider, body.index .s-block--fixed-products,
body.index .s-block--store-features, body.index .s-block--testimonials { display: none !important; }
main:has(> .s-block--enhanced-slider):not(:has(.wr-hero)) { min-height: 100vh; }
@keyframes wrShow { to { visibility: visible; } }
.site-header__brand img, .store-footer__logo img, .site-nav-drawer__brand img { content: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 5 843 555%22><path fill=%22%23E0127E%22 fill-rule=%22evenodd%22 d=%22M602.2 459.0 592.5 462.0 584.8 465.8 580.2 469.0 573.8 475.0 569.0 481.0 566.2 485.5 564.0 490.8 561.5 500.2 560.8 511.0 561.2 512.5 561.8 519.8 564.0 527.0 565.5 529.2 566.2 531.8 568.2 535.5 572.5 541.5 575.5 544.0 577.2 546.2 585.5 552.0 592.5 555.5 598.2 557.0 602.2 557.0 606.0 556.2 614.0 552.5 617.0 549.8 621.0 543.2 624.8 539.5 628.2 538.0 635.8 532.0 640.2 525.8 642.8 520.8 644.0 516.5 645.0 510.5 644.8 505.5 643.0 497.0 639.5 490.0 636.5 486.8 632.8 484.0 631.2 484.0 626.0 487.5 623.2 487.5 618.8 483.8 614.8 479.5 611.8 477.8 609.8 477.8 608.8 478.2 601.5 485.0 598.2 487.2 596.5 487.2 591.0 483.8 589.2 483.8 587.0 485.2 583.5 489.5 579.5 496.5 577.8 503.5 577.5 512.2 578.5 517.2 582.5 526.8 586.0 531.8 588.0 533.8 593.0 537.2 598.0 539.8 602.8 541.5 606.5 542.2 608.0 543.5 608.0 544.8 606.5 546.2 604.0 547.5 600.0 548.2 593.8 547.0 587.5 543.5 580.2 537.2 574.8 529.8 572.2 525.0 570.2 519.2 569.5 515.5 569.0 507.2 570.2 497.8 574.0 488.8 579.5 481.0 584.5 476.0 588.8 473.0 593.2 470.8 602.2 467.5 606.8 467.0 615.2 467.0 623.5 468.5 631.2 472.0 638.0 476.2 642.2 480.2 647.8 488.0 649.8 492.0 651.8 497.8 653.0 503.8 653.2 509.8 652.8 514.8 650.5 523.2 647.8 529.2 643.8 535.2 635.5 543.0 629.2 546.8 624.8 548.8 620.8 552.0 618.0 554.8 617.8 556.8 618.5 557.5 620.8 557.5 628.0 556.0 635.2 553.0 643.0 548.0 651.2 539.0 655.0 533.5 658.2 526.8 659.5 523.0 661.0 514.5 661.2 503.5 659.8 495.0 655.0 484.5 650.8 477.5 643.8 470.5 638.2 466.2 633.8 463.8 627.2 461.0 619.8 459.0 609.2 458.5ZM632.0 496.2 634.0 498.2 635.8 502.5 636.5 507.5 636.5 511.5 635.5 516.5 634.0 520.0 630.0 525.8 628.5 527.0 626.2 528.0 624.2 526.5 622.2 519.2 618.5 510.8 618.5 508.5 620.0 505.8 629.0 497.0 630.5 496.2ZM589.5 496.5 591.8 496.2 593.5 497.2 603.8 507.8 607.8 511.0 610.8 515.0 613.8 520.8 615.2 525.8 615.0 531.0 614.5 532.2 613.2 533.5 606.5 533.8 601.5 532.2 599.0 531.0 594.0 527.5 588.5 520.8 586.5 515.2 585.8 511.0 585.8 505.8 586.2 503.0 588.0 498.2ZM610.2 490.0 612.0 490.0 613.5 490.8 615.8 493.0 616.2 494.2 616.2 496.0 615.2 498.2 613.5 500.0 611.5 500.8 608.8 499.8 606.5 497.5 605.8 495.8 606.5 493.0 608.8 490.8ZM480.8 256.8 472.8 256.2 463.8 257.8 454.8 261.5 446.0 268.0 441.2 273.2 437.2 279.8 434.5 286.2 432.2 289.8 431.0 294.8 428.5 299.8 424.2 312.8 422.8 321.2 423.0 327.2 424.5 334.2 428.5 341.2 433.2 346.2 438.8 349.8 451.5 355.0 456.5 356.5 458.5 357.5 460.0 359.0 460.5 360.5 460.2 362.5 457.2 367.8 450.8 382.2 448.8 385.5 445.0 397.8 445.0 399.2 445.5 400.0 446.5 400.0 447.8 399.0 448.8 397.2 455.5 389.2 458.0 385.2 469.0 372.5 484.2 357.2 491.8 352.0 497.0 350.0 508.8 343.8 516.2 338.5 523.8 331.0 528.5 325.0 534.0 316.0 537.0 310.0 539.8 301.5 540.2 296.2 539.8 295.5 538.2 295.5 527.8 303.8 518.2 309.8 511.5 313.0 501.0 316.0 497.2 315.5 496.8 315.0 496.8 313.8 499.8 309.2 501.0 304.8 502.2 302.2 504.0 294.8 504.5 290.8 504.5 283.8 503.0 277.5 501.0 272.0 498.8 268.5 494.5 264.0 490.8 260.8ZM445.8 303.0 448.8 300.8 453.0 300.0 460.0 300.2 468.0 302.0 473.5 304.0 479.0 306.8 482.5 309.2 487.2 314.0 488.2 315.5 488.2 316.2 486.5 317.5 484.2 318.0 475.2 318.0 464.5 316.2 457.0 313.2 449.8 309.0 446.5 305.8 445.8 304.5ZM102.2 200.8 101.2 200.2 98.8 200.5 95.5 203.5 93.5 207.0 91.8 209.0 90.5 211.8 85.5 218.8 83.8 222.5 81.0 226.0 78.8 230.2 78.2 233.0 79.0 235.0 81.0 238.0 84.0 240.2 95.2 252.0 97.5 255.2 99.8 257.5 104.5 265.0 108.8 273.5 109.8 277.0 109.5 281.2 107.2 286.5 99.8 296.5 95.2 301.5 85.5 310.0 81.2 312.5 78.5 314.8 75.0 316.5 71.8 319.0 62.5 324.5 58.8 326.0 53.8 329.2 48.8 331.8 45.5 334.2 41.5 336.2 33.5 341.5 26.0 347.2 17.0 356.5 11.8 363.2 5.0 375.5 3.5 380.5 3.5 383.2 4.5 383.5 6.8 382.5 10.5 379.2 13.8 377.5 18.0 374.2 23.8 371.2 39.2 364.8 46.5 362.8 49.5 361.0 68.8 354.5 74.2 351.5 76.5 350.8 80.8 347.8 85.8 345.0 91.8 340.0 99.5 331.8 103.0 326.2 105.8 323.0 111.0 314.0 116.2 302.8 116.8 300.5 119.0 295.8 121.5 287.5 124.2 274.5 125.5 263.0 125.5 257.0 124.8 247.8 123.8 242.0 122.2 236.2 118.5 225.8 115.2 219.2 105.2 203.8ZM330.5 180.2 328.8 180.8 325.2 184.8 319.0 195.2 309.0 210.0 307.0 214.2 307.0 217.8 309.8 222.0 325.5 237.5 334.8 248.0 339.5 252.5 344.8 259.5 347.8 264.2 351.8 273.2 352.5 277.0 352.5 280.0 351.8 283.0 345.2 293.2 336.2 303.0 333.0 305.0 329.5 308.2 311.2 319.8 273.2 341.2 262.8 348.5 254.2 355.8 251.5 357.5 239.8 369.5 232.8 378.8 230.8 382.5 228.5 385.2 221.8 398.0 218.5 408.2 218.2 411.8 218.8 412.2 222.5 409.8 224.2 407.5 236.2 395.8 242.0 391.2 252.0 384.8 254.5 383.8 261.2 379.8 270.2 376.0 273.5 374.0 280.5 371.5 289.8 366.8 302.8 361.5 318.5 353.5 322.8 350.8 325.5 348.2 330.0 345.5 336.0 340.0 344.2 330.8 351.8 319.2 353.0 316.0 357.2 308.5 360.0 302.2 365.5 286.8 369.2 269.8 371.0 257.0 370.8 247.2 370.0 240.8 369.0 238.2 367.8 232.0 362.2 221.0 356.8 212.8 353.0 209.0 350.5 204.8 343.2 195.8 338.2 188.5 332.2 181.5ZM159.2 157.2 157.8 157.2 156.2 158.8 155.0 161.0 149.2 177.2 147.8 185.0 147.8 192.0 149.8 199.8 153.0 206.0 158.0 212.8 158.8 215.2 158.8 216.8 157.0 222.8 155.8 224.8 152.2 234.0 148.8 252.5 148.5 262.5 149.0 271.5 150.8 279.0 155.2 287.2 160.5 292.2 165.2 294.8 171.0 296.8 176.5 297.5 183.0 297.5 194.5 295.5 200.5 292.5 206.0 289.0 212.0 283.5 218.2 275.2 226.2 259.0 228.0 257.0 229.0 256.5 231.5 256.5 240.8 262.0 245.2 265.8 248.2 269.0 250.8 272.8 252.0 276.2 255.0 282.0 255.5 284.2 255.5 288.8 255.0 290.5 253.5 293.2 244.5 303.5 241.5 305.2 238.2 308.5 222.5 318.5 216.5 321.2 214.0 323.0 209.5 324.8 205.5 327.0 192.2 332.0 185.0 335.2 177.8 337.5 174.8 339.0 161.0 343.2 159.2 344.2 154.5 345.5 150.5 347.2 144.2 349.0 142.0 350.2 135.2 352.2 131.2 354.2 118.2 359.2 114.0 361.2 111.0 363.2 107.2 364.8 91.5 375.0 84.8 380.5 75.0 389.8 73.2 392.5 68.8 397.2 60.2 410.2 56.5 417.5 52.5 427.8 49.2 439.5 49.0 444.2 49.5 446.0 57.8 437.2 60.0 433.5 63.8 429.2 66.8 427.0 72.0 421.5 86.5 411.2 95.8 406.2 99.5 405.0 107.0 401.2 114.8 398.5 118.2 396.8 126.5 394.2 136.8 390.2 148.2 386.8 152.5 384.8 164.5 381.0 171.5 378.0 183.5 374.0 187.8 371.8 197.8 367.8 203.2 364.5 207.5 362.8 214.2 357.8 218.5 355.5 226.0 350.0 238.8 337.8 248.8 323.5 255.2 311.0 256.8 306.2 258.8 302.5 261.0 295.0 264.0 287.5 265.2 281.5 267.2 275.8 270.0 261.0 269.8 249.8 268.2 243.0 266.5 237.5 260.2 226.2 251.2 216.5 239.2 207.5 213.0 194.0 205.2 190.5 202.0 188.2 193.5 184.5 190.5 182.2 184.2 179.2 180.5 176.2 177.5 174.8 174.5 171.8 170.5 169.0 166.5 165.0 164.2 161.8ZM160.5 220.0 161.8 219.0 165.8 219.8 172.5 223.2 174.5 223.8 178.2 226.0 182.0 227.2 187.5 230.2 190.8 231.2 197.8 235.0 202.2 236.8 204.2 238.2 209.0 240.5 212.5 243.5 214.8 247.0 214.2 249.5 211.2 252.2 206.8 254.8 195.5 257.2 188.0 257.2 183.0 256.2 177.2 254.2 170.8 250.5 167.8 247.5 162.2 239.0 160.5 233.5 159.5 227.2 159.8 222.0ZM729.5 156.8 727.5 157.2 726.0 159.5 722.2 171.0 719.5 177.5 718.0 187.0 718.0 191.2 720.2 200.2 724.0 207.0 726.0 209.0 729.0 214.2 729.0 216.5 728.0 219.2 727.5 222.5 725.8 225.5 722.5 235.0 722.0 239.0 720.8 242.0 719.0 255.5 719.0 266.5 719.5 271.5 722.0 280.5 724.5 285.5 728.8 290.2 732.0 293.0 736.8 295.2 746.2 297.5 755.8 297.2 766.5 294.5 773.8 290.8 778.5 287.2 783.0 283.0 785.2 279.5 787.8 276.8 789.5 273.2 791.2 271.0 794.0 264.0 797.5 257.2 798.8 256.2 801.5 256.2 809.0 260.5 813.5 263.8 818.0 268.2 821.0 272.2 823.5 277.5 826.0 285.2 826.0 288.2 825.2 290.8 824.0 293.2 819.8 298.5 814.5 303.8 812.5 304.8 809.5 307.8 799.2 315.0 794.2 317.2 791.5 319.2 789.5 320.0 783.8 323.5 776.8 326.2 771.0 329.2 762.2 332.2 757.5 334.5 753.0 335.8 741.5 340.2 737.5 341.2 725.0 345.8 720.8 346.8 718.5 348.0 704.8 352.8 691.2 358.8 686.0 360.5 671.8 368.2 667.5 371.5 662.0 374.8 649.2 386.0 640.8 395.2 639.0 398.5 636.8 400.5 633.8 404.8 624.8 422.8 621.5 432.2 619.5 441.2 619.5 444.8 620.0 445.8 621.0 445.5 623.0 443.5 625.5 439.8 633.2 431.0 634.2 429.2 641.8 422.0 644.0 420.8 648.5 416.8 657.2 411.0 668.0 405.5 671.2 404.5 678.2 401.0 686.2 397.8 703.0 392.0 704.8 391.0 709.5 389.8 714.0 387.8 729.0 383.2 732.8 381.5 740.8 379.0 747.5 376.0 750.2 375.2 753.0 373.8 758.8 372.0 764.2 369.0 767.5 368.0 772.0 365.8 789.0 355.5 791.8 353.0 795.0 351.0 804.8 342.2 814.5 331.0 821.5 319.5 828.8 303.2 834.5 287.2 835.5 282.2 837.2 277.2 839.0 270.5 840.2 261.0 840.2 250.5 838.5 241.2 835.0 233.2 830.2 226.0 823.5 218.2 811.0 208.5 804.0 204.2 801.8 203.5 793.5 199.0 788.8 197.0 783.2 193.8 776.0 190.5 774.0 189.0 763.8 184.2 748.2 174.8 744.0 171.5 735.0 162.8 731.5 158.2ZM731.2 220.2 733.0 219.0 736.5 219.8 752.5 227.8 775.5 238.0 779.8 240.8 784.0 244.8 785.0 246.8 785.0 248.5 784.2 250.2 782.8 251.8 773.0 256.0 769.8 256.8 763.0 257.2 757.8 257.0 751.5 255.8 742.8 251.5 735.5 244.0 732.5 238.8 730.0 227.8 730.0 223.5ZM507.2 8.2 505.2 10.2 503.8 14.5 497.5 27.5 496.8 30.5 494.5 35.5 492.5 43.0 491.0 50.8 490.2 59.5 490.2 66.0 491.5 77.8 493.2 86.2 495.8 94.2 500.0 104.2 509.2 121.2 511.2 123.8 513.0 127.2 517.2 133.2 534.5 161.0 538.5 169.0 540.5 175.0 541.8 177.0 544.5 184.5 546.8 189.0 551.5 203.5 554.8 220.0 555.5 235.0 555.5 261.0 554.8 287.8 555.0 301.2 556.5 313.2 560.2 329.0 562.8 335.5 566.5 342.5 571.5 350.0 575.0 353.8 575.8 355.2 578.2 357.8 582.2 360.5 592.8 365.8 602.8 369.0 611.5 370.5 622.8 370.2 638.2 366.2 648.8 360.5 654.0 357.0 658.8 353.2 662.8 348.8 666.0 346.2 674.8 334.2 681.2 322.5 687.0 309.2 689.8 302.0 690.8 297.8 693.5 291.2 698.5 270.0 699.5 260.0 699.5 251.2 698.2 241.5 696.5 236.5 691.2 225.8 688.5 222.5 687.2 220.0 680.5 213.0 667.8 203.5 662.0 200.8 655.5 196.5 651.2 194.8 647.0 192.2 642.2 190.5 636.2 187.2 633.2 186.2 623.5 180.8 619.0 178.8 614.2 175.8 606.8 170.0 603.2 166.5 599.2 160.8 597.2 159.5 594.8 160.0 593.5 161.8 588.0 176.8 586.0 185.8 585.5 191.2 586.2 198.8 588.8 205.5 592.5 210.8 598.2 216.8 599.8 220.8 599.8 223.5 595.5 232.2 592.0 242.5 589.8 251.2 588.2 259.8 588.2 271.5 589.2 278.0 592.5 289.0 596.8 296.0 598.5 298.0 605.2 303.0 616.0 306.5 627.2 306.8 639.0 304.8 643.8 302.8 651.0 298.5 659.0 291.0 662.2 286.5 665.8 280.5 670.8 268.5 673.0 266.5 675.2 267.2 679.8 273.0 683.8 281.2 687.0 290.0 687.0 294.2 686.0 297.2 677.8 308.5 670.2 316.0 666.2 319.2 660.5 323.2 654.2 326.2 647.2 329.0 637.2 331.2 626.0 331.5 618.5 330.5 610.8 328.5 605.8 326.5 599.0 322.8 593.5 318.8 590.8 315.8 587.2 313.0 582.2 307.2 579.0 302.2 573.5 291.2 569.2 278.2 568.2 272.5 567.2 261.8 567.0 248.8 567.8 223.8 568.8 209.0 568.8 188.0 567.0 169.8 563.8 153.8 561.8 148.5 559.8 141.2 557.2 136.5 554.5 129.2 553.0 127.2 546.0 113.2 544.2 111.0 539.5 102.2 534.0 93.8 531.2 88.0 528.8 84.5 527.0 80.5 525.2 78.2 519.5 66.0 517.5 62.8 515.8 56.8 513.0 50.5 509.8 38.2 509.5 33.2 508.5 27.5 508.8 11.0 508.2 8.5ZM601.5 224.5 603.0 223.2 606.2 223.0 610.5 224.5 615.2 227.2 625.0 231.5 638.8 236.5 640.5 237.8 648.0 241.2 651.0 243.5 654.5 245.0 659.0 248.0 661.5 250.8 662.2 252.5 662.2 254.5 661.0 256.2 656.5 260.2 648.8 263.2 643.2 264.5 637.0 264.8 631.2 264.2 626.0 263.2 617.5 259.2 612.8 255.5 606.2 247.5 604.5 244.0 601.5 233.2 601.0 228.8Z%22/><path fill=%22%235E2F8C%22 fill-rule=%22evenodd%22 d=%22M762.5 466.5 761.5 468.2 760.8 473.2 760.8 551.8 761.2 554.2 762.8 555.5 768.2 555.8 826.2 555.8 831.5 555.2 832.5 553.8 833.2 545.5 832.5 541.5 831.2 540.2 821.0 539.5 793.5 539.8 785.0 539.0 783.5 537.5 782.5 533.8 783.0 522.8 783.8 520.5 785.5 519.0 791.0 518.2 821.8 518.5 824.8 517.8 826.2 516.5 827.0 512.2 827.0 507.0 826.5 504.2 825.5 503.2 824.0 502.8 785.2 502.2 783.5 500.2 782.8 495.5 782.8 486.2 783.5 483.8 785.2 482.2 791.8 481.5 818.8 482.0 830.0 481.0 831.2 480.0 831.8 478.2 831.8 470.5 830.8 467.2 829.2 466.0 827.2 465.2 765.2 465.5ZM472.2 466.2 471.2 467.8 470.8 471.0 470.5 480.5 470.5 551.8 471.2 554.5 473.5 555.5 490.8 555.2 491.5 554.5 492.0 552.5 491.8 538.2 492.2 534.2 493.0 532.2 495.0 530.5 496.8 530.0 506.5 529.8 510.8 530.2 513.0 532.0 516.2 536.8 523.8 552.0 526.2 554.8 528.2 555.5 543.8 555.8 547.2 554.8 548.0 553.5 547.0 550.8 537.2 536.2 533.5 529.2 533.8 525.8 543.2 516.2 544.5 513.2 546.5 510.5 547.8 506.0 548.5 499.2 548.5 493.2 547.5 487.5 545.2 481.5 541.5 476.2 537.8 472.8 532.0 469.5 525.8 467.2 517.5 465.8 477.8 465.2ZM493.5 483.0 495.8 481.8 511.8 481.8 517.2 482.5 523.0 485.2 525.5 487.8 527.0 490.5 528.0 495.8 527.5 502.8 526.2 505.8 522.2 510.8 519.8 512.0 512.2 513.5 497.0 513.5 493.2 512.0 492.0 509.8 491.8 501.5 492.2 486.8ZM362.0 466.2 360.5 468.0 357.8 473.8 356.5 477.8 353.5 483.0 345.2 503.5 343.8 506.0 342.0 511.0 340.5 513.8 340.0 516.0 336.5 522.2 335.0 527.0 333.2 529.8 330.8 536.8 329.0 539.8 325.0 550.2 324.8 554.0 326.0 555.0 329.2 555.8 342.5 555.5 344.0 555.0 345.5 553.0 348.8 544.0 350.5 541.2 352.0 539.8 353.2 539.2 389.8 538.8 392.0 539.2 393.5 540.5 396.5 548.5 400.2 555.0 401.5 555.5 409.8 555.8 416.8 555.5 420.2 554.8 420.2 551.2 418.5 546.2 416.8 543.0 414.0 534.8 410.5 527.5 408.2 521.2 405.8 516.5 402.8 508.5 400.0 503.2 398.5 498.5 393.0 486.0 391.5 481.5 389.5 478.2 387.8 473.0 384.8 467.0 383.0 465.5 365.2 465.2ZM372.0 489.5 373.0 489.5 374.2 490.8 377.0 496.5 378.2 501.2 381.0 507.0 383.5 514.0 385.0 520.8 384.2 522.5 382.8 523.5 379.2 524.0 375.5 523.5 362.5 523.5 360.5 523.0 359.2 521.5 359.8 517.0 363.2 506.8 366.5 500.2 370.0 491.5ZM321.2 466.0 320.2 465.5 313.5 465.2 265.5 465.2 257.0 466.2 255.8 467.2 255.2 469.0 255.0 477.8 255.0 549.5 255.8 554.0 256.8 555.0 263.5 555.8 271.2 555.8 274.8 555.0 276.0 554.0 276.8 551.0 276.5 529.0 277.5 524.0 279.2 522.2 283.0 521.8 311.8 522.0 316.5 521.5 318.0 520.5 318.5 519.2 318.5 508.8 318.0 507.5 316.8 506.5 311.0 505.8 284.0 506.0 279.0 505.0 277.8 503.5 277.0 501.0 276.5 489.5 277.0 485.8 278.0 483.2 279.2 482.0 281.0 481.5 305.8 481.8 319.8 481.5 321.0 481.0 322.2 478.8 321.8 467.8ZM182.8 466.0 178.5 473.5 176.8 478.2 175.0 481.5 174.2 484.5 172.2 487.8 169.8 494.5 167.2 499.5 166.8 501.8 165.0 505.0 163.5 509.5 161.0 513.5 158.8 520.2 156.5 524.2 155.8 527.5 150.8 537.8 149.2 542.2 148.0 544.2 147.0 547.8 145.2 551.2 144.5 553.8 144.8 555.0 148.5 556.0 153.0 555.5 161.0 555.8 164.0 555.2 166.2 553.0 167.8 549.8 168.8 545.8 171.2 541.0 173.2 539.5 178.0 538.8 202.2 538.8 212.5 539.8 214.8 541.8 217.0 546.5 217.5 549.0 219.5 553.0 220.8 554.5 225.8 555.8 237.2 555.8 241.5 554.8 241.8 552.2 239.5 546.2 233.2 533.0 231.8 528.2 225.5 513.5 223.8 510.5 222.8 507.0 220.5 502.5 219.5 499.0 217.0 494.0 214.8 487.8 213.0 484.5 212.0 480.8 210.0 477.0 206.8 468.2 204.2 466.2 200.2 465.5 193.0 465.8 191.0 465.2 185.8 465.2ZM192.2 489.5 193.8 489.8 195.0 491.0 198.2 497.5 198.8 499.8 200.8 504.0 202.5 509.8 205.2 516.5 206.0 520.5 205.5 521.8 204.0 523.0 199.0 523.8 183.8 523.5 181.2 523.0 179.8 521.2 179.8 518.8 184.8 505.0 186.8 501.0 187.5 498.0 191.2 490.5ZM4.2 467.0 4.0 468.5 4.5 471.5 9.5 485.0 11.5 493.5 13.2 497.2 17.2 510.5 22.0 522.8 23.0 527.0 28.0 541.2 29.8 547.8 32.0 553.5 33.2 555.0 39.2 556.0 46.5 555.5 51.8 555.8 54.5 555.2 56.0 554.0 57.5 550.2 59.8 541.2 62.8 533.2 64.2 524.8 66.8 517.2 69.2 507.0 72.5 497.5 74.2 495.2 75.5 495.5 77.2 497.8 84.0 521.0 85.0 526.0 86.8 529.8 89.5 541.0 91.0 545.2 91.2 547.8 93.8 554.0 94.5 554.8 96.8 555.5 115.8 555.2 117.2 554.0 119.8 547.8 120.0 545.5 121.5 542.0 124.0 533.2 126.8 527.0 129.8 518.2 132.5 508.2 137.2 495.5 138.8 489.8 144.2 475.2 145.2 470.5 145.2 467.5 144.8 466.2 141.2 465.5 132.5 465.2 127.8 465.5 126.2 466.0 125.2 467.0 122.8 474.5 122.2 478.2 120.8 481.5 115.5 503.0 114.0 507.0 110.2 522.0 108.2 527.5 107.0 529.8 106.0 530.5 104.0 528.5 100.8 520.0 99.5 513.5 97.5 507.2 94.0 493.0 91.0 484.5 90.2 480.2 89.2 477.5 88.8 473.5 86.0 467.2 85.0 466.2 78.8 465.2 71.8 465.2 66.0 465.8 64.8 466.5 61.8 474.8 53.0 509.2 49.5 519.2 48.0 526.2 46.5 529.2 45.2 530.2 44.0 529.5 41.5 525.8 34.5 497.5 33.0 494.5 32.8 492.0 30.8 485.8 29.5 479.5 28.5 477.2 27.5 472.0 25.5 467.0 23.2 465.5 8.0 465.5 5.0 466.2ZM695.0 465.2 689.2 467.8 682.2 472.2 678.8 475.8 675.8 480.5 674.0 488.8 674.0 494.8 676.0 500.8 679.0 505.8 681.5 508.2 685.5 511.0 695.2 515.2 707.2 518.2 718.8 523.0 722.8 528.8 722.8 532.8 720.8 536.8 717.8 539.0 711.5 540.5 704.8 540.2 700.0 539.2 690.8 536.0 686.2 533.5 683.8 532.8 678.8 529.0 676.8 528.5 675.2 529.8 669.8 541.2 669.5 542.8 672.2 545.8 675.0 547.8 684.8 552.5 694.2 555.2 705.2 557.0 714.0 557.0 718.2 556.5 727.5 554.2 732.5 552.0 738.0 548.0 741.5 544.0 744.0 539.5 745.8 533.5 745.8 529.8 743.8 519.8 741.2 515.2 738.0 511.8 734.0 508.8 721.8 503.5 712.0 501.0 706.5 499.0 700.5 495.8 697.8 492.2 697.0 490.2 697.0 487.2 698.0 484.8 701.2 481.8 705.0 480.5 710.2 480.5 722.0 483.0 735.2 488.0 737.0 488.2 739.0 486.2 742.2 479.5 743.8 475.5 743.8 473.5 741.2 471.0 738.2 469.5 729.2 467.0 725.0 465.2 718.2 464.0 704.0 463.8ZM66.5 144.0 64.5 145.5 59.2 153.0 53.8 162.5 50.0 167.2 49.0 169.2 48.5 171.8 48.8 172.5 51.8 175.0 55.0 176.8 58.2 179.5 61.8 181.2 64.8 183.8 70.2 187.2 74.5 189.5 77.2 189.5 83.0 183.0 86.2 177.0 88.2 175.0 90.0 171.8 93.8 167.2 95.0 164.8 95.5 162.2 94.8 161.0 92.2 159.8 87.2 155.8 81.0 152.2 78.2 150.0 76.0 149.0 71.2 145.8 68.2 144.2ZM761.0 105.8 760.0 105.5 757.5 106.8 750.2 112.2 742.0 116.5 724.2 121.8 711.5 123.5 699.0 126.2 696.5 127.5 694.2 128.0 688.8 130.8 680.5 136.5 675.0 142.2 672.8 145.2 672.0 147.2 668.2 153.2 668.0 154.5 668.5 156.5 670.2 156.2 673.0 153.5 678.5 150.0 686.8 146.2 699.8 142.8 725.5 137.2 732.8 134.8 740.0 131.2 742.0 129.5 746.2 127.0 751.2 122.5 752.0 120.8 756.8 115.5 757.8 113.2 759.8 110.8 761.0 107.0ZM591.2 97.2 589.5 98.5 587.0 102.5 580.8 117.2 577.0 124.2 575.8 129.0 576.2 133.2 580.0 136.8 592.2 142.5 600.2 144.8 607.8 145.8 609.8 144.8 611.5 143.0 613.0 140.0 613.8 137.2 617.5 129.8 618.8 126.0 622.5 119.8 623.8 115.5 623.8 112.5 621.8 110.2 614.5 106.5 609.0 104.5 606.0 102.2 600.5 100.5 593.5 97.2Z%22/></svg>"); }

/* ---------- 19) شريط الجوال السفلي: كريمي هادئ وأيقونات بلون الهوية -------- */
nav.mobile-bottom-bar { background: transparent !important; border-top: 0 !important; }
nav.mobile-bottom-bar .mobile-bottom-bar__inner {
  background: #FBF4EE !important; border: 1px solid #E9DCCF !important;
  box-shadow: 0 10px 30px -14px rgba(58,20,48,.35) !important;
}
nav.mobile-bottom-bar .mobile-bottom-bar__item { color: #6E5566 !important; background: transparent !important; }
nav.mobile-bottom-bar .mobile-bottom-bar__item svg, nav.mobile-bottom-bar .mobile-bottom-bar__item i { color: #6E5566 !important; }
nav.mobile-bottom-bar .mobile-bottom-bar__item { color: #4A3344 !important; }
nav.mobile-bottom-bar .mobile-bottom-bar__item svg, nav.mobile-bottom-bar .mobile-bottom-bar__item i { color: #4A3344 !important; }
/* العنصر النشط: كبسولة غامقة ونص فاتح عريض — واضح من أول نظرة */
nav.mobile-bottom-bar .mobile-bottom-bar__item.is-active { background: var(--wr-plum) !important; color: #FFF6EE !important; padding-inline: 14px !important; }
nav.mobile-bottom-bar .mobile-bottom-bar__item.is-active .mobile-bottom-bar__label { color: #FFF6EE !important; font-weight: 700 !important; font-size: 15px !important; letter-spacing: 0; }
nav.mobile-bottom-bar .mobile-bottom-bar__item.is-active svg, nav.mobile-bottom-bar .mobile-bottom-bar__item.is-active i { color: var(--wr-gold-soft) !important; }
nav.mobile-bottom-bar [class*="badge"] { background: var(--wr-rose) !important; color: #FFF6EE !important; }
/* القوائم المنبثقة (القائمة، حسابي، البحث، السلة) بلون الهوية الكريمي بدل الأبيض */
.site-nav-drawer, .bottom-sheet, .account-sheet, .s-modal-body, .s-modal-container, .s-search-modal,
.s-search-container, salla-search .s-search-input-wrapper, .s-cart-summary-wrapper, .cart-page .bg-white,
.s-menu-sub-menu, .s-menu-mobile, [class*="drawer__panel"] { background-color: #FBF4EE !important; }
.account-sheet .border, .account-sheet [class*="rounded"] { border-color: #E9DCCF !important; }
.account-sheet .store-footer__brand { background: transparent !important; }
.site-nav-drawer a, .site-nav-drawer button { color: var(--wr-plum); }
/* صور الواجهة: خلفية هادئة حتى تصل الصور (بدون صورة السلايدر القديمة) */
.wr-tile:empty { background: linear-gradient(160deg, #F2D3DC, #EFDCD3); }

/* القائمة الجانبية وحسابي: بطاقات بلون الهوية بدل الأبيض */
.site-nav-drawer__brand img { height: 54px !important; width: auto !important; max-width: none !important; object-fit: contain; }
.account-sheet__login-card, .account-sheet__list-item, .account-sheet__contact-item {
  background-color: #F4E8DD !important; border-color: #E9DCCF !important;
}
.account-sheet .store-footer__bottom { background: transparent !important; color: var(--wr-plum) !important; }
.account-sheet .store-footer__bottom .copyright-text, .account-sheet .store-footer__bottom .copyright-text a { color: var(--wr-plum) !important; }
/* شرائط العنوان والفرز وحقول المنتج: بلون الهوية بدل الأبيض */
.mobile-page-title, .s-catalog-toolbar-sticky, .s-catalog-toolbar { background-color: var(--wr-bg) !important; }
salla-product-options.s-product-options-wrapper, .s-product-options-wrapper { background-color: transparent !important; }
.s-form-control, select.s-form-control, .s-quantity-input-container { background-color: #FBF4EE !important; }

/* ---------- 20) أثناء تجهيز الواجهة: نفس خلفية الواجهة الجديدة (بدون أي بنر قديم) ---- */
main:has(> .s-block--enhanced-slider):not(:has(.wr-hero))::before {
  content: ""; display: block; min-height: 88vh;
  background: linear-gradient(160deg, #F4E1E4, #F0DDD3);
}
.wr-hero__in { animation: wrFade .35s ease both; }
@keyframes wrFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wr-hero__in { animation: none; } }


/* ---------- 21) انتقال فوري بين الصفحات (بدون تعليق على الواجهة) ---------- */
/* شريط رفيع أعلى الشاشة لحظة الضغط + صورة المنتج نفسها في مكانها بصفحة المنتج على الجوال */
.wr-veil { position: fixed; inset: 0 0 auto 0; height: 0; z-index: 230; pointer-events: none; transition: opacity .22s ease; }
.wr-veil__bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 231;
  background: linear-gradient(90deg, transparent, var(--wr-rose), var(--wr-gold), transparent) no-repeat;
  background-size: 45% 100%; animation: wrRun .9s linear infinite; }
@keyframes wrRun { from { background-position: -80% 0; } to { background-position: 180% 0; } }
.wr-veil--product { inset: 0; height: auto; z-index: 200; background: var(--wr-bg); pointer-events: auto; overflow: hidden; }
.wr-veil.is-out { opacity: 0; pointer-events: none; }
.wr-veil__img { width: 100%; min-height: 60vw; background: #FBF1EB; }
.wr-veil__img img { width: 100%; height: auto; mix-blend-mode: multiply; display: block; }
.wr-veil__name { margin: 27px 26px 0; font-size: 1.6rem; line-height: 1.4; font-weight: 700; color: var(--wr-plum); }
.wr-veil__price { margin: 10px 26px 0; font-size: 1.15rem; font-weight: 700; color: var(--wr-rose); }
html.wr-leaving .wr-root { opacity: 0; transition: opacity .12s ease; }
/* اللمس: بدون قفزة البطاقة (hover يعلق على الجوال)، واستجابة فورية عند الضغط */
@media (hover: none) {
  .wr-card:hover { transform: none; box-shadow: none; }
  .wr-card:hover .wr-card__img img { transform: none; }
}
.wr-card:active { transform: scale(.985); transition-duration: .08s; }
@media (prefers-reduced-motion: reduce) { .wr-veil__bar { animation: none; background-size: 100% 100%; } }

/* ---------- 22) لا أبيض: بطاقات منتجات الثيم (الأقسام والبحث) وأزرار أعلى صورة المنتج ---------- */
/* !important: قواعد البطاقة في الثيم تُحمَّل بعد ملفنا، فتعيد الخلفية البيضاء وتلصق الاسم والسعر بحافة البطاقة */
body .s-product-card-entry { background-color: var(--wr-surface) !important; }
body .s-product-card-entry .s-product-card-content { padding: 12px 14px 14px !important; }
@media (max-width: 640px) { body .s-product-card-entry .s-product-card-content { padding: 10px 12px 12px !important; } }
body .s-button-element.s-button-light-outline,
body .s-social-share-btn.s-button-element,
body .s-slider-nav-arrow,
body .product-gallery__bar-btn { background-color: #FBF4EE !important; border-color: #E9DCCF !important; }
/* رماديات باردة صغيرة ← درجة دافئة من الهوية */
body .bg-gray-100, body .bg-gray-50,
body .s-quantity-input-decrease-button,
body .no-content-placeholder .icon,
body .s-catalog-toolbar__views button[aria-pressed="true"] { background-color: #F4E8DD !important; }
body .s-catalog-toolbar__sort select { background-color: transparent !important; }
body .s-skeleton-pulse { background-color: #EFE0D5 !important; }

/* ---------- 23) صفحة المنتج: لا عناصر تظهر ثم تختفي أثناء النزول ---------- */
/* صناديق التحميل الرمادية تحت الوصف (تظهر ثم تختفي بلا محتوى في متجر الطلب بالواتساب) */
main:has(.sticky-product-bar) .s-skeleton-card,
main:has(.sticky-product-bar) .s-skeleton-form { display: none !important; }
/* «منتجات قد تعجبك»: كان يظهر كعمود طويل من بطاقات رمادية ثم يختفي؛ الآن يظهر فقط إذا فيه منتجات فعلًا */
section:has(.s-products-carousel > .s-skeleton-products-list) { display: none !important; }
/* شريط التقييمات الفارغ (ما فيه تقييمات بعد): يظهر تلقائيًا أول ما يوجد تقييم */
main > section.s-block--full-bg:has(.s-comments-header:empty):not(:has(salla-comment-item, .s-comments-item)) { display: none !important; }

/* ---------- 24) أزرار الواجهة «اختر باقتك / لغة الألوان»: العنوان يظهر كاملًا تحت الشريط العلوي ---------- */
#wr-feel, #wr-lang { scroll-margin-top: 96px; }
@media (min-width: 1024px) { #wr-feel, #wr-lang { scroll-margin-top: 150px; } }

/* ---------- 25) نفس الشكل من أول لحظة (قبل تحميل سكربتات الثيم) ---------- */
/* بطاقات الأقسام: الثيم يرسم أولًا زرًّا رماديًا مؤقتًا وقلبًا فوق الصورة ثم يبدّلهما؛ نثبّت الشكل النهائي من البداية */
body .s-product-card-entry .s-skeleton-button,
body .s-product-card-entry .s-product-card-image > .s-button-wrap { display: none !important; }
body .s-product-card-entry .s-product-card-content-footer { min-height: 36px; }
/* صفحة المنتج على الجوال: شريط السعر والطلب ثابت أسفل الشاشة من أول لحظة (الثيم يثبّته بعد تحميل سكربتاته بنفس المكان) */
/* !important: الثيم يخفي الشريط (تحت الشاشة وشفاف) حتى تنتهي سكربتاته ثم يسحبه للأعلى بعد ثانيتين تقريبًا؛
   نثبّته ظاهرًا في مكانه النهائي من أول لحظة، ونحجز مكان زر واتساب حتى لا يتغيّر ارتفاعه. */
@media (max-width: 640px) {
  .sticky-product-bar {
    position: fixed !important; inset: auto 16px 76px 16px !important; z-index: 2;
    transform: none !important; opacity: 1 !important; visibility: visible !important; min-height: 199px;
  }
  .sticky-product-bar .s-skeleton-button { display: none !important; }
  .sticky-product-bar:not(:has(.wr-wa-btn))::after {
    content: ""; position: absolute; inset: auto 16px 16px 16px; height: 56px; border-radius: 999px;
    background: rgba(255, 255, 255, .14); animation: wrGhostOut .4s 7s forwards;
  }
}
@keyframes wrGhostOut { to { opacity: 0; } }
.sticky-product-bar .s-skeleton-button { background-color: transparent !important; }
.sticky-product-bar .s-skeleton-pulse { background-color: rgba(255, 255, 255, .14) !important; border-radius: 999px; }
/* هياكل التحميل المؤقتة (السلة وغيرها): بلون الهوية بدل الأبيض والرمادي البارد */
body .s-skeleton-item { background-color: #EFE0D5 !important; }
body .s-skeleton-cart-item, body .s-skeleton-cart-summary { background-color: var(--wr-surface) !important; }

/* ---------- 26) نصوص لا تخرج من إطارها ---------- */
/* بطاقة معرض وفاء: الاسم سطرين كاملين بدل القص، والسعر تحته */
.wr-piece__cap { flex-direction: column; align-items: stretch; gap: 2px; }
.wr-piece__cap b { min-width: 0; white-space: normal; overflow: hidden; text-overflow: clip;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .wr-piece__cap { inset: auto 6px 6px 6px; padding: 7px 9px; border-radius: 11px; font-size: .78rem; }
  .wr-piece--1 .wr-piece__cap { font-size: .9rem; padding: 9px 12px; }
}
/* أي نص طويل داخل أقسامنا يلتف داخل الإطار ولا يخرج منه */
.wr-root :is(h1, h2, h3, p, span, b, a, li) { overflow-wrap: anywhere; min-width: 0; }
.wr-card__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 380px) {
  .wr-hero h1 { font-size: 1.85rem; }
  .wr-sec h2 { font-size: 1.45rem; }
  .wr-meaning { padding: 20px; }
}
/* زر واتساب العائم على الجوال: أصغر، ويختفي أثناء التمرير حتى لا يغطي النصوص */
@media (max-width: 767px) {
  .wr-float { width: 46px !important; height: 46px !important; inset: auto auto 88px 10px !important; transition: opacity .25s ease, transform .25s ease; }
  html.wr-scrolling .wr-float { opacity: 0; transform: translateY(8px); pointer-events: none; }
}

/* ---------- 27) اختيار طريقة الاستلام داخل شريط الطلب ---------- */
.wr-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 10px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.wr-mode button { min-height: 32px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #F7E7EC; background: transparent; border: 0; cursor: pointer; }
.wr-mode button.is-on { background: #FBF1EB; color: var(--wr-plum); }
.wr-mode button:focus-visible { outline: 2px solid var(--wr-gold-soft); outline-offset: 1px; }
.sticky-product-bar .wr-mode + .wr-wa-btn { margin-top: 8px; }