/* ==========================================================
   NB BEAUTY CLINICS — الأكواد المخصصة
   خانة: CSS
   انترو · هيدر · هيرو · بانرات · كرت المنتج · ليه تختارينا · آراء العملاء · فوتر · واتساب
   الصور: nb-beauty-assets.pages.dev
   ========================================================== */

/* ============================================================
   NB BEAUTY CLINICS — شاشة الافتتاح (انترو)
   يُلصق في: سلة > تصميم المتجر > الأكواد المخصصة > CSS
   يعتمد على nb-intro.js  (لا يعمل بدونه)
   ============================================================ */

/* ============================================================
   الغطاء المبكّر — بيتلوّن من أول فريم رسم، قبل ما أي جافاسكربت
   يشتغل. من غيره الزائر بيشوف هيكل التحميل بتاع الثيم الأول
   وبعدين الانترو. الـ CSS بيتحمّل قبل ده كله.

   شبكة أمان: لو الجافاسكربت ما اشتغلش خالص، أنيميشن بيشيله
   لوحده بعد 5 ثواني — الموقع ما يتقفلش أبداً.
   ============================================================ */
html:not(.nbi-ready):not(.nbi-done)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100001;
  pointer-events: none;
  background:
    radial-gradient(75% 60% at 50% 42%, rgba(201, 160, 99, .11), transparent 68%),
    linear-gradient(160deg, #2a0f2e 0%, #150818 55%, #0e040f 100%);
  animation: nbi-failsafe .6s ease 5s forwards;
}

@keyframes nbi-failsafe {
  to { opacity: 0; visibility: hidden; }
}

/* أول ما الانترو الحقيقي يتركّب، الغطاء يروح — الانترو بقى مكانه */
html.nbi-ready::before,
html.nbi-done::before { content: none; }

/* هيكل التحميل بتاع الثيم يفضل مستني تحت الانترو */
html:not(.nbi-done) [class*="skeleton"],
html:not(.nbi-done) [class*="s-loading"] {
  visibility: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
  html:not(.nbi-ready)::before { animation-duration: .01ms; animation-delay: 2s; }
}

.nbi {
  --nbi-plum-900: #150818;
  --nbi-plum-800: #1a0a1e;
  --nbi-plum-700: #2a0f2e;
  --nbi-gold-300: #e3c894;
  --nbi-gold-400: #d4af7a;
  --nbi-gold-500: #c9a063;
  --nbi-gold-600: #b08d4f;
  --nbi-cream: #f6efe6;
  --nbi-ease: cubic-bezier(.33, 1, .68, 1);

  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(75% 60% at 50% 42%, rgba(201, 160, 99, .11), transparent 68%),
    linear-gradient(160deg, var(--nbi-plum-700) 0%, var(--nbi-plum-900) 55%, #0e040f 100%);
  opacity: 1;
  transition: opacity .8s var(--nbi-ease), visibility 0s linear .8s;
}

.nbi.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* منع السكرول وراء الشاشة */
body.nbi-lock { overflow: hidden !important; }

.nbi__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px;
  text-align: center;
}

/* ---------- الحرفان NB ---------- */
.nbi__mark {
  position: relative;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 33px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--nbi-gold-300);
  border: 1px solid rgba(201, 160, 99, .34);
  background: rgba(201, 160, 99, .07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 20px 50px -22px rgba(0, 0, 0, .9);

  opacity: 0;
  transform: scale(.86);
  animation: nbiMark 1s var(--nbi-ease) .1s forwards;
}

/* رمز اللوجو جوه الدايرة */
.nbi__logo-img {
  width: 62%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .55));
}

/* حلقة ذهبية بتلف حوالين الحرفين */
.nbi__mark::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: var(--nbi-gold-400);
  border-inline-end-color: rgba(201, 160, 99, .28);
  animation: nbiSpin 2.4s linear infinite;
}

@keyframes nbiSpin { to { transform: rotate(360deg); } }

@keyframes nbiMark {
  to { opacity: 1; transform: scale(1); }
}

/* ---------- اسم العلامة ---------- */
.nbi__logo {
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .02em;
  background: linear-gradient(100deg, var(--nbi-gold-300), var(--nbi-gold-500) 55%, var(--nbi-gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  opacity: 0;
  transform: translateY(12px);
  animation: nbiUp .9s var(--nbi-ease) .38s forwards;
}

/* ---------- الخط الفاصل ---------- */
.nbi__line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nbi-gold-500), transparent);
  animation: nbiLine .9s var(--nbi-ease) .62s forwards;
}

@keyframes nbiLine { to { width: 148px; } }

/* ---------- السطر السفلي ---------- */
.nbi__sub {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .26em;
  color: rgba(246, 239, 230, .62);

  opacity: 0;
  transform: translateY(10px);
  animation: nbiUp .9s var(--nbi-ease) .8s forwards;
}

@keyframes nbiUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- موبايل ---------- */
@media (max-width: 640px) {
  .nbi__mark { width: 90px; height: 90px; font-size: 28px; }
  .nbi__sub { letter-spacing: .2em; font-size: 11.5px; }
  @keyframes nbiLine { to { width: 116px; } }
}

/* ---------- إتاحة الوصول ----------
   مع تقليل الحركة: الشاشة تظهر ساكنة وتختفي بسرعة — من غير دوران ولا انزلاق */
@media (prefers-reduced-motion: reduce) {
  .nbi { transition-duration: .01ms !important; }

  .nbi__mark,
  .nbi__logo,
  .nbi__line,
  .nbi__sub {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .nbi__line { width: 148px; }
  .nbi__mark::before { animation: none; }
}

/* ============================================================
   NB BEAUTY CLINICS — HEADER (زجاجي · مدموج بالهيرو · يختفي تدريجي)
   يُلصق في: سلة > تصميم المتجر > الأكواد المخصصة > CSS
   يعتمد على nb-header.js  (لا يعمل بدونه)

   المتغيرات دي بيحدّثها nb-header.js مع كل فريم سكرول:
     --nbx-p      0 → 1   تقدّم الاختفاء (1 = مختفي تماماً)
     --nbx-solid  0 → 1   تقدّم التعتيم (0 = شفاف فوق الهيرو)
     --nbx-h              ارتفاع الهيدر بالبكسل
   ============================================================ */

.nbx-header {
  --nbx-p: 0;
  --nbx-solid: 0;

  --nbx-plum: 21, 8, 24;        /* البنفسجي الأساسي — هو المسيطر */
  --nbx-plum-lit: 42, 15, 46;   /* بنفسجي أفتح للتدرّج والظل */
  --nbx-green: 6, 46, 34;       /* أخضر الحملة — لمسة بس */
  --nbx-cream: 246, 239, 230;
  --nbx-gold: 201, 160, 99;

  position: fixed !important;
  top: 0;
  inset-inline: 0;
  z-index: 9999;

  /* الثيم بيصفّر خلفية الهيدر بـ !important من ستايل خارجي، فمابنحاولش
     نغلبه — الزجاج كله على ::before وهي طبقة إحنا مالكينها. */
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  isolation: isolate;

  color: rgb(var(--nbx-cream));

  opacity: calc(1 - var(--nbx-p));
  transform: translate3d(0, calc(var(--nbx-p) * -16px), 0);
  transition: opacity .18s linear, transform .18s linear;
  will-change: opacity, transform;
}

.nbx-header[data-nbx-gone] { pointer-events: none; }

/* ---------- الزجاج ---------- */
/* بنفسجي مسيطر + لمسة خضرا من ناحية البداية، وبيتعتّم مع النزول */
.nbx-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-color: rgba(var(--nbx-plum), calc(.34 + var(--nbx-solid) * .44));
  background-image:
    linear-gradient(180deg,
      rgba(var(--nbx-plum-lit), .58),
      rgba(var(--nbx-plum), .24) 78%,
      rgba(var(--nbx-plum), .10)),
    linear-gradient(115deg,
      rgba(var(--nbx-green), calc(.30 - var(--nbx-solid) * .14)),
      rgba(var(--nbx-plum), 0) 62%);

  backdrop-filter: blur(calc(11px + var(--nbx-solid) * 9px)) saturate(1.55);
  -webkit-backdrop-filter: blur(calc(11px + var(--nbx-solid) * 9px)) saturate(1.55);

  /* الظل بنفسجي مش أسود — يدمج مع الموقع */
  box-shadow: 0 22px 50px -30px rgba(var(--nbx-plum-lit), calc(.55 + var(--nbx-solid) * .42));

  transition: background-color .34s ease, backdrop-filter .34s ease, box-shadow .34s ease;
}

/* خيط ذهبي رفيع تحت الهيدر */
.nbx-header::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--nbx-gold), calc(.22 + var(--nbx-solid) * .30)),
    transparent);
}

/* ---------- خلفيات الثيم جوّه الهيدر ---------- */
/* الثيم بيحط bg-white وظلال على العناصر الجوّانية — لازم تتشال
   وإلا هتغطي الزجاج ويطلع الهيدر أبيض مصمت. */
.nbx-header .main-nav-container,
.nbx-header .top-navbar,
.nbx-header .inner,
.nbx-header [class*="nav-container"],
.nbx-header [class*="bg-white"],
.nbx-header [class*="header-row"],
.nbx-header [class*="header-inner"] {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-color: rgba(var(--nbx-cream), .10) !important;
}

/* ---------- محاذاة القائمة مع الشعار ---------- */
/* الثيم بيمدّ عنصر القائمة على طول الصف فالروابط بتلزق فوق.
   align-self: center بتخليه يقف بارتفاع محتواه ويتوسّط جنب الشعار. */
.nbx-header custom-main-menu,
.nbx-header .main-nav-container custom-main-menu {
  align-self: center !important;
}

/* توسيط نص القائمة مع الشعار.
   الثيم بيحط على الرابط padding-bottom: 32px وصفر من فوق — الحشوة
   دي جسر عشان القائمة المنسدلة ما تقفلش والماوس نازل ليها، فمنفعش
   نشيلها. بنضيف نفس القيمة من فوق: الصندوق يوصل 84px (ارتفاع الصف
   بالظبط)، والنص يقع في المنتصف على 90 — نفس مركز الشعار.

   حشوة بس — من غير أي display، لأن أي display مفروضة بتلغي إخفاء
   الثيم للنسخة المكررة وتخلي القائمة تظهر مرتين. */
.nbx-header ul.main-menu > li > a {
  padding-top: 32px !important;
}

/* ---------- الأيقونات ---------- */
/* الثيم بيلوّن الأيقونات غامق (بني/رمادي) وده كان بيختفي على الزجاج.
   بنجبرها فاتحة — القائمة المنسدلة وشارة السلة ليهم قواعد أخص فمابيتأثروش. */
.nbx-header i,
.nbx-header svg,
.nbx-header .navbar-brand,
.nbx-header .header-btn__icon,
.nbx-header [class*="sicon-"],
.nbx-header [class*="header-btn"],
.nbx-header [class*="btn__icon"],
.nbx-header salla-cart-summary,
.nbx-header salla-cart-summary *,
.nbx-header salla-user-menu,
.nbx-header salla-user-menu * {
  color: rgb(var(--nbx-cream)) !important;
  fill: currentColor;
}

.nbx-header i:hover,
.nbx-header [class*="header-btn"]:hover i,
.nbx-header [class*="header-btn"]:hover { color: #e3c894 !important; }

/* ---------- القائمة المنسدلة ---------- */
/* الثيم بيرسمها بيضا بنص رمادي — وبما إننا فتّحنا نصوص الهيدر
   كان بيطلع نص فاتح على خلفية بيضا = غير مقروء. بنديها نفس
   زجاج الهيدر بس أعتم شوية عشان تفضل مقروءة فوق أي خلفية. */
/* القائمة الرئيسية نفسها تفضل شفافة — الستايل للمنسدلة بس */
.nbx-header custom-main-menu > ul,
.nbx-header ul.main-menu {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.nbx-header custom-main-menu ul ul,
.nbx-header .main-menu ul,
.nbx-header nav ul ul,
.nbx-header [class*="sub-menu"],
.nbx-header [class*="submenu"],
.nbx-header [class*="dropdown"] {
  background: rgba(var(--nbx-plum), .94) !important;
  background-image: linear-gradient(160deg,
    rgba(var(--nbx-plum-lit), .60),
    rgba(var(--nbx-plum), .30)) !important;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(var(--nbx-gold), .24) !important;
  border-radius: 14px !important;
  box-shadow: 0 26px 54px -26px rgba(var(--nbx-plum-lit), .95) !important;
  overflow: hidden;
  padding: 6px !important;
}

/* عناصر القائمة */
.nbx-header custom-main-menu ul ul li,
.nbx-header .main-menu ul li,
.nbx-header [class*="sub-menu"] li,
.nbx-header [class*="submenu"] li {
  background: transparent !important;
  border-color: rgba(var(--nbx-cream), .08) !important;
}

.nbx-header custom-main-menu ul ul a,
.nbx-header .main-menu ul a,
.nbx-header nav ul ul a,
.nbx-header [class*="sub-menu"] a,
.nbx-header [class*="submenu"] a,
.nbx-header [class*="dropdown"] a {
  display: block;
  border-radius: 9px;
  padding: 9px 13px !important;
  color: rgba(var(--nbx-cream), .88) !important;
  text-shadow: none !important;
  transition: background .22s ease, color .22s ease;
}

.nbx-header custom-main-menu ul ul a:hover,
.nbx-header .main-menu ul a:hover,
.nbx-header nav ul ul a:hover,
.nbx-header [class*="sub-menu"] a:hover,
.nbx-header [class*="submenu"] a:hover {
  background: rgba(var(--nbx-gold), .16) !important;
  color: #e3c894 !important;
}

/* الثيم بيحط كلاسات لون جاهزة على الروابط — لازم نغلبها */
.nbx-header [class*="text-gray"],
.nbx-header [class*="text-black"],
.nbx-header [class*="text-primary"] { color: rgba(var(--nbx-cream), .88) !important; }

/* المحتوى فوق الستارة */
.nbx-header > * { position: relative; z-index: 1; }

/* ---------- النصوص والأيقونات ---------- */
.nbx-header a,
.nbx-header button,
.nbx-header span,
.nbx-header p,
.nbx-header h1, .nbx-header h2, .nbx-header h3,
.nbx-header [class*="title"],
.nbx-header [class*="label"] {
  color: rgb(var(--nbx-cream));
  /* ظل خفيف عند القمة عشان النص يفضل مقروء فوق الصورة — بيروح مع التعتيم */
  text-shadow: 0 1px 3px rgba(0, 0, 0, calc(.55 * (1 - var(--nbx-solid))));
  transition: color .25s ease, opacity .25s ease;
}

.nbx-header svg { color: inherit; }

.nbx-header a:hover,
.nbx-header button:hover { color: #e3c894; }

.nbx-header a:focus-visible,
.nbx-header button:focus-visible {
  outline: 2px solid #d4af7a;
  outline-offset: 3px;
  border-radius: 6px;
}

/* الشعار يفضل واضح فوق الصورة */
.nbx-header img[class*="logo"],
.nbx-header [class*="logo"] img,
.nbx-header [class*="logo"] svg {
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, calc(.5 * (1 - var(--nbx-solid)))));
}

/* ---------- خانة البحث ---------- */
.nbx-header input[type="search"],
.nbx-header input[type="text"],
.nbx-header .s-search-input,
.nbx-header [class*="search"] input,
.nbx-header salla-search input {
  background: rgba(var(--nbx-cream), .10) !important;
  border: 1px solid rgba(var(--nbx-cream), .24) !important;
  border-radius: 100px !important;
  color: rgb(var(--nbx-cream)) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(var(--nbx-cream), .06);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.nbx-header input[type="search"]::placeholder,
.nbx-header input[type="text"]::placeholder,
.nbx-header .s-search-input::placeholder,
.nbx-header [class*="search"] input::placeholder {
  color: rgba(var(--nbx-cream), .58) !important;
  opacity: 1;
}

.nbx-header input[type="search"]:focus,
.nbx-header input[type="text"]:focus,
.nbx-header .s-search-input:focus,
.nbx-header [class*="search"] input:focus,
.nbx-header salla-search input:focus {
  outline: none !important;
  background: rgba(var(--nbx-cream), .17) !important;
  border-color: rgba(var(--nbx-gold), .70) !important;
  box-shadow: 0 0 0 3px rgba(var(--nbx-gold), .18) !important;
}

/* أيقونة البحث جوه الخانة */
.nbx-header [class*="search"] svg,
.nbx-header [class*="search"] i { color: rgba(var(--nbx-cream), .72); }

/* عدّاد السلة وأي شارة صغيرة */
.nbx-header [class*="badge"],
.nbx-header [class*="count"] {
  background: linear-gradient(135deg, #e3c894, #b08d4f) !important;
  color: #24121b !important;
  text-shadow: none;
}

/* ---------- المرور والتركيز يرجّعوه فوراً ---------- */
.nbx-header:hover,
.nbx-header:focus-within {
  --nbx-p: 0;
  pointer-events: auto;
}

/* ---------- الهيرو يبدأ من تحت الهيدر ---------- */
/* الهيدر fixed يعني خارج التدفّق، فالهيرو بيبدأ من فوق خالص والصورة
   بتعدّي من ورا الهيدر. بنزوّد الحشوة العلوية بس عشان النص ما يتلغبطش. */
.nbh__inner { padding-top: calc(var(--nbx-h, 84px) + 34px) !important; }

/* الصفحات اللي مفيهاش هيرو — nb-header.js بيحط الحشوة على body */

@media (max-width: 768px) {
  .nbx-header::before {
    backdrop-filter: blur(calc(8px + var(--nbx-solid) * 10px)) saturate(1.4);
    -webkit-backdrop-filter: blur(calc(8px + var(--nbx-solid) * 10px)) saturate(1.4);
    /* على الموبايل الهيرو ورا الهيدر أفتح — نعتّم شوية زيادة للقراءة */
    background-color: rgba(var(--nbx-plum), calc(.44 + var(--nbx-solid) * .38));
  }
  .nbh__inner { padding-top: calc(var(--nbx-h, 68px) + 22px) !important; }
}

@media (prefers-reduced-motion: reduce) {
  .nbx-header {
    transition-duration: .01ms !important;
    transform: none !important;
  }
  .nbx-header::before { transition-duration: .01ms !important; }
}

/* ============================================================
   NB BEAUTY CLINICS — HERO SECTION
   يُلصق في: سلة > تصميم المتجر > الأكواد المخصصة > CSS
   يعتمد على nb-hero.js  (لا يعمل بدونه)
   ============================================================ */

/* ---------- 1. التوكنز ---------- */
.nbh {
  --nbh-plum-900: #150818;
  --nbh-plum-800: #1a0a1e;
  --nbh-plum-700: #2a0f2e;
  --nbh-plum-600: #3a1740;

  --nbh-gold-300: #e3c894;
  --nbh-gold-400: #d4af7a;
  --nbh-gold-500: #c9a063;
  --nbh-gold-600: #b08d4f;

  --nbh-cream: #f6efe6;
  --nbh-muted: rgba(246, 239, 230, 0.72);

  --nbh-h: 620px;          /* ارتفاع الهيرو ديسكتوب */
  --nbh-h-mobile: 640px;   /* ارتفاع الهيرو موبايل  */
  --nbh-max: 1400px;       /* عرض الحاوية الداخلية  */
  --nbh-pad: 48px;

  --nbh-ease: cubic-bezier(0.33, 1, 0.68, 1);
  --nbh-fade: 900ms;
}

/* ---------- 2. الهيكل ---------- */
.nbh {
  position: relative;
  width: 100%;
  min-height: var(--nbh-h);
  overflow: hidden;
  background: var(--nbh-plum-800);
  direction: rtl;
  isolation: isolate;
  font-family: inherit;
}

.nbh *,
.nbh *::before,
.nbh *::after { box-sizing: border-box; }

.nbh__viewport {
  position: relative;
  width: 100%;
  min-height: var(--nbh-h);
}

.nbh__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--nbh-fade) var(--nbh-ease),
              visibility 0s linear var(--nbh-fade);
  pointer-events: none;
}

.nbh__slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
  pointer-events: auto;
  z-index: 2;
}

/* ---------- 3. الصورة ---------- */
.nbh__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.nbh__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center;   /* الموديل على اليسار */
  display: block;
  transform: scale(1.06);
  transition: transform 9s linear;
  will-change: transform;
}

.nbh__slide.is-active .nbh__img { transform: scale(1); }

.nbh__img--mobile { display: none; }

/* placeholder لما ما يكون فيه صورة مرفوعة */
.nbh__ph {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 90% at 22% 45%, rgba(201,160,99,.28) 0%, transparent 62%),
    radial-gradient(50% 70% at 12% 78%, rgba(212,175,122,.16) 0%, transparent 70%),
    linear-gradient(115deg, #3a1740 0%, #26102b 45%, #150818 100%);
}

.nbh__ph::after {
  content: attr(data-label);
  position: absolute;
  inset-inline-start: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  letter-spacing: .18em;
  color: rgba(246,239,230,.28);
  border: 1px dashed rgba(246,239,230,.22);
  padding: 10px 18px;
  border-radius: 6px;
  white-space: nowrap;
}

/* ---------- 4. طبقة التعتيم (تضمن قراءة النص) ---------- */
/* --nbh-tint بيتحط inline على السلايد من nb-hero.js — بيخلي الستارة
   بلون الحملة بدل البنفسجي. الافتراضي بنفسجي الهوية. */
.nbh__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to left,
      rgba(var(--nbh-tint, 21, 8, 24), 0.94) 0%,
      rgba(var(--nbh-tint, 21, 8, 24), 0.86) 26%,
      rgba(var(--nbh-tint, 21, 8, 24), 0.55) 52%,
      rgba(var(--nbh-tint, 21, 8, 24), 0.12) 78%,
      rgba(var(--nbh-tint, 21, 8, 24), 0) 100%),
    linear-gradient(to top,
      rgba(var(--nbh-tint, 21, 8, 24), 0.55) 0%,
      rgba(var(--nbh-tint, 21, 8, 24), 0) 45%);
}

/* ---------- 5. المحتوى ---------- */
.nbh__inner {
  position: relative;
  z-index: 3;
  max-width: var(--nbh-max);
  margin-inline: auto;
  padding: 96px var(--nbh-pad) 110px;
  min-height: var(--nbh-h);
  display: flex;
  align-items: center;
}

.nbh__content {
  max-width: 560px;
  text-align: right;
}

/* حركة الدخول — كل عنصر بتأخير */
.nbh__anim {
  opacity: 0;
  transform: translateY(26px);
}

.nbh__slide.is-active .nbh__anim {
  animation: nbhIn 900ms var(--nbh-ease) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes nbhIn {
  to { opacity: 1; transform: translateY(0); }
}

/* العنوان الفرعي العلوي */
.nbh__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--nbh-gold-400);
  padding: 7px 16px 7px 14px;
  border: 1px solid rgba(201, 160, 99, 0.32);
  border-radius: 100px;
  background: rgba(201, 160, 99, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 22px;
}

.nbh__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nbh-gold-400);
  box-shadow: 0 0 0 3px rgba(201, 160, 99, 0.22);
}

/* العنوان */
.nbh__title {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.22;
  font-weight: 800;
  color: var(--nbh-cream);
  letter-spacing: -0.01em;
}

.nbh__title em {
  font-style: normal;
  display: inline-block;
  position: relative;
  background: linear-gradient(100deg, var(--nbh-gold-300), var(--nbh-gold-500) 55%, var(--nbh-gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* الوصف */
.nbh__sub {
  margin: 0 0 34px;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.85;
  color: var(--nbh-muted);
  max-width: 470px;
}

/* ---------- 6. الأزرار ---------- */
.nbh__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.nbh__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .3s var(--nbh-ease),
              box-shadow .3s var(--nbh-ease),
              background .3s var(--nbh-ease),
              border-color .3s var(--nbh-ease);
  will-change: transform;
}

.nbh__btn svg { width: 20px; height: 20px; flex: none; }

.nbh__btn--primary {
  background: linear-gradient(135deg, var(--nbh-gold-400) 0%, var(--nbh-gold-600) 100%);
  color: #22101a;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, .28),
    0 10px 24px -8px rgba(201, 160, 99, .55),
    inset 0 1px 0 rgba(255, 255, 255, .30);
}

.nbh__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, .32),
    0 18px 38px -10px rgba(201, 160, 99, .70),
    inset 0 1px 0 rgba(255, 255, 255, .38);
}

.nbh__btn--ghost {
  background: rgba(246, 239, 230, 0.04);
  color: var(--nbh-cream);
  border-color: rgba(246, 239, 230, 0.26);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nbh__btn--ghost:hover {
  transform: translateY(-3px);
  border-color: var(--nbh-gold-500);
  background: rgba(201, 160, 99, 0.12);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6);
}

.nbh__btn:active { transform: translateY(-1px); }

.nbh__btn:focus-visible {
  outline: 2px solid var(--nbh-gold-400);
  outline-offset: 3px;
}

/* ---------- 7. صف الثقة ---------- */
.nbh__proof {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--nbh-muted);
}

.nbh__avatars {
  display: flex;
  flex-direction: row-reverse;
}

.nbh__avatars span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--nbh-plum-800);
  margin-inline-start: -12px;
  background: linear-gradient(135deg, var(--nbh-gold-300), var(--nbh-gold-600));
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

.nbh__avatars span:last-child { margin-inline-start: 0; }

.nbh__proof b {
  color: var(--nbh-gold-400);
  font-weight: 700;
}

/* ---------- 8. كارت العرض العائم ---------- */
.nbh__badge {
  position: absolute;
  z-index: 5;
  inset-inline-start: var(--nbh-pad);
  bottom: 96px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(58, 23, 64, .82), rgba(26, 10, 30, .88));
  border: 1px solid rgba(201, 160, 99, .28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, .4),
    0 16px 40px -12px rgba(0, 0, 0, .65),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  text-decoration: none;
  transition: transform .35s var(--nbh-ease), box-shadow .35s var(--nbh-ease), border-color .35s var(--nbh-ease);
  animation: nbhIn 900ms var(--nbh-ease) 900ms both;
}

.nbh__badge:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 160, 99, .55);
  box-shadow:
    0 20px 48px -14px rgba(0, 0, 0, .7),
    0 0 42px -14px rgba(201, 160, 99, .45);
}

.nbh__badge-ic {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(201, 160, 99, .14);
  border: 1px solid rgba(201, 160, 99, .3);
  color: var(--nbh-gold-400);
}

.nbh__badge-ic svg { width: 24px; height: 24px; }

.nbh__badge-t {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--nbh-cream);
  margin-bottom: 3px;
}

.nbh__badge-s {
  display: block;
  font-size: 13px;
  color: var(--nbh-muted);
}

/* ---------- 9. النقاط ---------- */
.nbh__dots {
  position: absolute;
  z-index: 6;
  inset-inline-end: var(--nbh-pad);
  bottom: 42px;
  display: flex;
  gap: 10px;
}

.nbh__dot {
  position: relative;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 100px;
  background: rgba(246, 239, 230, .3);
  cursor: pointer;
  transition: width .45s var(--nbh-ease), background .45s var(--nbh-ease);
}

/* مساحة لمس 20×44 حوالين النقطة — غير مرئية والشكل ما بيتغيرش */
.nbh__dot::after {
  content: "";
  position: absolute;
  inset: -17px -5px;
}
.nbh__dot.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--nbh-gold-400), var(--nbh-gold-600));
}

.nbh__dot:focus-visible {
  outline: 2px solid var(--nbh-gold-400);
  outline-offset: 3px;
}

/* ---------- 10. سهم النزول ---------- */
.nbh__scroll {
  position: absolute;
  z-index: 6;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 239, 230, .2);
  border-radius: 50%;
  background: rgba(246, 239, 230, .05);
  color: var(--nbh-cream);
  cursor: pointer;
  animation: nbhBob 2.4s ease-in-out infinite;
  transition: border-color .3s, background .3s;
}

.nbh__scroll:hover {
  border-color: var(--nbh-gold-500);
  background: rgba(201, 160, 99, .14);
}

.nbh__scroll svg { width: 18px; height: 18px; }

@keyframes nbhBob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ---------- 11. تابلت ---------- */
@media (max-width: 1024px) {
  .nbh { --nbh-h: 560px; --nbh-pad: 32px; }
  .nbh__content { max-width: 480px; }
  .nbh__badge { bottom: 86px; padding: 14px 18px; }
  .nbh__scrim {
    background: linear-gradient(to left,
      rgba(var(--nbh-tint, 21, 8, 24), .95) 0%, rgba(var(--nbh-tint, 21, 8, 24), .88) 40%,
      rgba(var(--nbh-tint, 21, 8, 24), .55) 68%, rgba(var(--nbh-tint, 21, 8, 24), .1) 100%);
  }
}

/* ---------- 12. موبايل ---------- */
@media (max-width: 768px) {
  .nbh { --nbh-h: var(--nbh-h-mobile); --nbh-pad: 20px; }

  .nbh__img--desktop { display: none; }
  .nbh__img--mobile  { display: block; object-position: center 22%; }

  .nbh__scrim {
    background: linear-gradient(to top,
      rgba(var(--nbh-tint, 21, 8, 24), 0.97) 0%,
      rgba(var(--nbh-tint, 21, 8, 24), 0.93) 34%,
      rgba(var(--nbh-tint, 21, 8, 24), 0.55) 58%,
      rgba(var(--nbh-tint, 21, 8, 24), 0.10) 82%,
      rgba(var(--nbh-tint, 21, 8, 24), 0) 100%);
  }

  .nbh__inner {
    align-items: flex-end;
    padding: 60px var(--nbh-pad) 78px;
  }

  .nbh__content { max-width: 100%; }

  .nbh__title { font-size: clamp(28px, 8vw, 38px); line-height: 1.3; }
  .nbh__sub   { font-size: 15px; margin-bottom: 26px; }

  .nbh__cta { gap: 10px; }

  .nbh__btn {
    flex: 1 1 100%;
    min-height: 54px;
    font-size: 15px;
  }

  /* الكارت العائم يتحول لشريط تحت الأزرار */
  .nbh__badge {
    position: static;
    margin-top: 4px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    animation-delay: 700ms;
  }

  .nbh__proof { display: none; }

  .nbh__dots {
    inset-inline-end: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 26px;
  }

  .nbh__scroll { display: none; }
}

/* ---------- 13. إتاحة الوصول ---------- */
@media (prefers-reduced-motion: reduce) {
  .nbh__img,
  .nbh__slide,
  .nbh__btn,
  .nbh__badge { transition-duration: .01ms !important; }

  .nbh__slide.is-active .nbh__anim,
  .nbh__badge { animation: none !important; opacity: 1 !important; transform: none !important; }

  .nbh__scroll { animation: none; }
}

/* إخفاء سلايدر الثيم الأصلي بعد حقن الهيرو الجديد */
[data-nbh-replaced] { display: none !important; }

/* ============================================================
   NB BEAUTY CLINICS — بانرات الأقسام (Split Banners)
   يُلصق في: سلة > تصميم المتجر > الأكواد المخصصة > CSS
   يعتمد على nb-banners.js  (لا يعمل بدونه)
   ============================================================ */

.nbb {
  --nbb-ink:      #4a3524;   /* نص داكن دافي على خلفية فاتحة */
  --nbb-ink-soft: #7d6752;
  --nbb-gold-400: #d4af7a;
  --nbb-gold-500: #c9a063;
  --nbb-gold-600: #b08d4f;
  --nbb-gold-700: #8a6a3b;   /* نسخة أغمق — للأيقونات على خلفية فاتحة */

  --nbb-max: 1400px;
  --nbb-pad: 48px;
  --nbb-gap: 20px;
  --nbb-r: 20px;
  --nbb-ease: cubic-bezier(0.33, 1, 0.68, 1);

  position: relative;
  padding: 10px 0 92px;
  /* أوف-وايت — نفس خلفية بلوك المنتجات عشان الصفحة تفضل متناسقة */
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(201, 160, 99, .10), transparent 70%),
    #faf5ee;
  direction: rtl;
  font-family: inherit;
}

.nbb *,
.nbb *::before,
.nbb *::after { box-sizing: border-box; }

.nbb__inner {
  max-width: var(--nbb-max);
  margin-inline: auto;
  padding-inline: var(--nbb-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--nbb-gap);
}

/* البانر العريض ياخد الصفّين */
.nbb__item--wide { grid-column: 1 / -1; }

/* ---------- البانر ---------- */
.nbb__item {
  position: relative;
  display: flex;
  flex-direction: row-reverse;   /* النص يمين · الصورة شمال */
  align-items: stretch;
  min-height: 360px;
  border-radius: var(--nbb-r);
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(115deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow:
    0 1px 2px rgba(60, 40, 20, .10),
    0 10px 28px -10px rgba(60, 40, 20, .28);
  transition: transform .42s var(--nbb-ease), box-shadow .42s var(--nbb-ease);
  will-change: transform;

  opacity: 0;
  transform: translateY(30px);
}

/* اقلب الاتجاه لبانر معيّن: أضف flip: true في الإعدادات */
.nbb__item--flip { flex-direction: row; }

.nbb.is-in .nbb__item {
  animation: nbbIn 780ms var(--nbb-ease) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes nbbIn {
  to { opacity: 1; transform: translateY(0); }
}

.nbb__item:hover {
  transform: translateY(-5px);
  box-shadow:
    0 2px 4px rgba(60, 40, 20, .12),
    0 22px 46px -14px rgba(60, 40, 20, .38);
}

.nbb__item:focus-visible {
  outline: 2px solid var(--nbb-gold-600);
  outline-offset: 3px;
}

/* ---------- جهة الصورة ---------- */
.nbb__media {
  position: relative;
  flex: 0 0 48%;
  overflow: hidden;
  /* المنحنى — من الكود مش محروق في الصورة */
  -webkit-clip-path: ellipse(88% 128% at 12% 50%);
  clip-path: ellipse(88% 128% at 12% 50%);
}

.nbb__item--flip .nbb__media {
  -webkit-clip-path: ellipse(88% 128% at 88% 50%);
  clip-path: ellipse(88% 128% at 88% 50%);
}

.nbb__img {
  /* --nbb-focal و --nbb-zoom بيتحطوا inline على .nbb__item من nb-banners.js
     لكل بانر فيه وش — عشان الزووم يفضل مربوط بالصورة نفسها مش بترتيب الكارت.
     القيم الاحتياطية جوه var() — ممنوع نعرّفهم هنا لأن التعريف المحلي
     بيحجب القيمة الموروثة من الـ item. */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--nbb-focal, 42% center);
  transform-origin: var(--nbb-focal, 42% center);
  transform: scale(var(--nbb-zoom, 1));
  display: block;
  transition: transform .8s var(--nbb-ease);
}

.nbb__item:hover .nbb__img { transform: scale(calc(var(--nbb-zoom, 1) * 1.06)); }

/* placeholder */
.nbb__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(201,160,99,.28), rgba(201,160,99,.10));
  color: rgba(74, 53, 36, .45);
  font-size: 12px;
  letter-spacing: .16em;
}

/* ---------- الخط الذهبي المنحني ---------- */
.nbb__curve {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.nbb__curve path {
  fill: none;
  stroke: rgba(201, 160, 99, .55);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

/* ---------- جهة النص ---------- */
.nbb__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 38px 40px 38px 24px;
  text-align: right;
}

.nbb__item--flip .nbb__body {
  align-items: flex-start;
  padding: 38px 24px 38px 40px;
}

.nbb__name {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  color: var(--nbb-ink);
  letter-spacing: -0.01em;
}

.nbb__desc {
  margin: 0 0 22px;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.85;
  color: var(--nbb-ink-soft);
  max-width: 30ch;
}

/* ---------- الزر ---------- */
.nbb__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fdfaf6;
  background: linear-gradient(135deg, var(--nbb-gold-400), var(--nbb-gold-600));
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow:
    0 1px 2px rgba(60, 40, 20, .18),
    0 8px 18px -6px rgba(176, 141, 79, .48),
    inset 0 1px 0 rgba(255, 255, 255, .34);
  transition: transform .3s var(--nbb-ease), box-shadow .3s var(--nbb-ease), gap .3s var(--nbb-ease);
}

.nbb__btn svg { width: 17px; height: 17px; }

.nbb__item:hover .nbb__btn {
  gap: 13px;
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(60, 40, 20, .2),
    0 14px 28px -8px rgba(176, 141, 79, .62),
    inset 0 1px 0 rgba(255, 255, 255, .4);
}

/* ---------- تابلت ---------- */
@media (max-width: 1024px) {
  .nbb { --nbb-pad: 32px; --nbb-gap: 16px; }
  .nbb__item { min-height: 300px; }
  .nbb__body { padding: 30px 28px 30px 18px; }
  .nbb__item--flip .nbb__body { padding: 30px 18px 30px 28px; }
  .nbb__desc { margin-bottom: 18px; }
}

/* ---------- موبايل: عمود واحد ---------- */
@media (max-width: 760px) {
  .nbb { --nbb-pad: 20px; --nbb-gap: 14px; padding-bottom: 60px; }

  .nbb__inner { grid-template-columns: 1fr; }
  .nbb__item--wide { grid-column: auto; }

  .nbb__item,
  .nbb__item--flip {
    flex-direction: row-reverse;
    min-height: 190px;
  }

  .nbb__media,
  .nbb__item--flip .nbb__media {
    flex: 0 0 46%;
    -webkit-clip-path: ellipse(92% 132% at 10% 50%);
    clip-path: ellipse(92% 132% at 10% 50%);
  }

  .nbb__body,
  .nbb__item--flip .nbb__body {
    padding: 22px 20px 22px 12px;
  }

  .nbb__name { font-size: 20px; margin-bottom: 6px; }

  .nbb__desc {
    font-size: 12.5px;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .nbb__btn { min-height: 42px; padding: 0 18px; font-size: 13px; }

  .nbb__item:hover { transform: none; }
  .nbb__item:hover .nbb__img { transform: scale(var(--nbb-zoom, 1)); }

  /* المنحنى الذهبي يتخفي على الموبايل — مساحة ضيقة */
  .nbb__curve { display: none; }
}

/* ---------- إتاحة الوصول ---------- */
@media (prefers-reduced-motion: reduce) {
  .nbb__item,
  .nbb__img,
  .nbb__btn { transition-duration: .01ms !important; }

  .nbb.is-in .nbb__item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* إخفاء قسم البانرات الأصلي في الثيم */
[data-nbb-replaced] { display: none !important; }

/* ============================================================
   قسم الكروت "استكشف خدماتنا" اتشال — وهو اللي كان بيخفي بلوك
   الأقسام الأصلي بتاع الثيم. من غير القاعدة دي البلوك بتاع سلة
   هيرجع يبان في نفس المكان اللي البانرات المفروض تاخده.
   لو حبيت ترجّعه: امسح الكتلة دي.        [data-nbb-hide-theme-categories]
   ============================================================ */
.s-block--fixed-categories,
.s-block--categories,
.home-categories,
#categories-block { display: none !important; }

/* ============================================================
   NB BEAUTY CLINICS — تلبيسة كارت المنتج (الموقع كله)
   يُلصق في: سلة > تصميم المتجر > الأكواد المخصصة > CSS
   مالهوش ملف JS — CSS بس.

   بيلبّس كارت سلة الأصلي بدل ما يبني كارت من عندنا. يعني أي منتج
   تحطه من لوحة التحكم (منتجات مختارة · قسم · الأكثر مبيعاً · نتائج
   البحث · صفحة التصنيف) يطلع بشكل NB على طول من غير ما نلمس الكود.

   تركيب كارت سلة الحقيقي:
     custom-salla-product-card.s-product-card-entry
     ├── div.s-product-card-image
     │   ├── a > img.s-product-card-image-contain
     │   └── salla-button.s-product-card-wishlist-btn
     └── div.s-product-card-content
         ├── div.s-product-card-content-main  > h3.s-product-card-content-title > a
         ├── div.s-product-card-content-sub   > h4.s-product-card-price
         └── div.s-product-card-content-footer > salla-add-product-button
   ============================================================ */

:root {
  --nbp-plum-900: #150818;
  --nbp-plum-800: #1a0a1e;
  --nbp-plum-700: #2a0f2e;
  --nbp-ink: #351827;
  --nbp-ink-soft: rgba(53, 24, 39, .70);
  --nbp-gold-300: #e3c894;
  --nbp-gold-400: #d4af7a;
  --nbp-gold-500: #c9a063;
  --nbp-gold-600: #b08d4f;
  --nbp-ivory: #fff8f0;
  --nbp-card: #ffffff;       /* الكارت أبيض عشان ينفصل عن الأوف-وايت */
  --nbp-offwhite: #faf5ee;   /* خلفية بلوك المنتجات */
  --nbp-sand: #ead9c9;
  --nbp-ease: cubic-bezier(.33, 1, .68, 1);
}

/* ---------- الكارت ---------- */
.s-product-card-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 16px !important;
  background: var(--nbp-card) !important;
  border: 1px solid rgba(201, 160, 99, .22) !important;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, .14),
    0 14px 34px -20px rgba(0, 0, 0, .38);
  transition: transform .4s var(--nbp-ease), box-shadow .4s var(--nbp-ease), border-color .4s var(--nbp-ease);
}

/* خيط ذهبي رفيع فوق الكارت — بيتمدّ مع المرور */
.s-product-card-entry::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  z-index: 4;
  background: linear-gradient(90deg, transparent, var(--nbp-gold-400), transparent);
  transform: scaleX(.28);
  opacity: .55;
  transition: transform .5s var(--nbp-ease), opacity .5s var(--nbp-ease);
}

.s-product-card-entry:hover::before { transform: scaleX(1); opacity: 1; }

.s-product-card-entry:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 160, 99, .46) !important;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, .16),
    0 26px 50px -22px rgba(0, 0, 0, .48),
    0 0 30px -18px rgba(201, 160, 99, .55);
}

/* ---------- الصورة ---------- */
.s-product-card-entry .s-product-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
  background: var(--nbp-sand);
  aspect-ratio: 1 / 1;
  flex: none;
}

.s-product-card-entry .s-product-card-image > a {
  display: block;
  width: 100%;
  height: 100%;
}

.s-product-card-entry .s-product-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  transition: transform .7s var(--nbp-ease);
}

.s-product-card-entry:hover .s-product-card-image img { transform: scale(1.06); }

/* تدرّج خفيف تحت الصورة يربطها بالمحتوى */
.s-product-card-entry .s-product-card-image::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 38%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(255, 255, 255, .55), transparent);
}

/* ---------- زر المفضلة ---------- */
.s-product-card-entry .s-product-card-wishlist-btn.s-button-element {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 3;
  width: 38px !important;
  height: 38px !important;
  min-width: 0 !important;
  padding: 0 !important;
  display: grid;
  place-items: center;
  border-radius: 50% !important;
  background: rgba(255, 248, 240, .82) !important;
  border: 1px solid rgba(201, 160, 99, .28) !important;
  color: var(--nbp-ink) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45);
  transition: background .25s var(--nbp-ease), color .25s var(--nbp-ease), transform .25s var(--nbp-ease);
}

.s-product-card-entry .s-product-card-wishlist-btn.s-button-element:hover {
  transform: scale(1.08);
  background: var(--nbp-ivory) !important;
  color: #b3305a !important;
}

.s-product-card-entry .s-product-card-wishlist-btn.s-favorited { color: #b3305a !important; }

/* ---------- المحتوى ---------- */
.s-product-card-entry .s-product-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px 18px 20px !important;
}

.s-product-card-entry .s-product-card-content-main { flex: none; }

/* العنوان — سطرين ثابتين عشان الكروت تفضل متساوية */
.s-product-card-entry .s-product-card-content-title {
  margin: 0 !important;
  font-size: 15.5px !important;
  line-height: 1.6 !important;
  font-weight: 700 !important;
  letter-spacing: -.005em;
  min-height: calc(2 * 1.6 * 15.5px);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.s-product-card-entry .s-product-card-content-title a {
  color: var(--nbp-ink) !important;
  text-decoration: none !important;
  transition: color .25s var(--nbp-ease);
}

.s-product-card-entry:hover .s-product-card-content-title a { color: var(--nbp-gold-600) !important; }

/* ---------- السعر ---------- */
.s-product-card-entry .s-product-card-content-sub {
  margin-top: auto;
  padding-top: 11px;
  position: relative;
}

/* فاصل ذهبي رفيع بين النص والسعر */
.s-product-card-entry .s-product-card-content-sub::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 160, 99, .42), rgba(201, 160, 99, .06));
}

.s-product-card-entry .s-product-card-price {
  margin: 0 !important;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0;
  color: var(--nbp-ink) !important;
  font-variant-numeric: tabular-nums;
}

/* رمز العملة جوه عنصر i */
/* رمز العملة — أصغر وأخف عشان الرقم يفضل هو البطل */
.s-product-card-entry .s-product-card-price i {
  color: var(--nbp-gold-600);
  font-size: .62em;
  font-weight: 500;
  font-style: normal;
  transform: translateY(-1px);
}

/* السعر القديم لو فيه خصم */
.s-product-card-entry .s-product-card-price del,
.s-product-card-entry .s-product-card-price s,
.s-product-card-entry [class*="before-price"],
.s-product-card-entry [class*="old-price"] {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: rgba(53, 24, 39, .48) !important;
  text-decoration: line-through;
}

/* شارة الخصم لو ظهرت */
/* .s-product-card-promotion-title هو الاسم الحقيقي في سلة — كان تخمين قبل كده */
.s-product-card-entry .s-product-card-promotion-title,
.s-product-card-entry [class*="promotion"],
.s-product-card-entry [class*="discount-badge"],
.s-product-card-entry [class*="sale-badge"] {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--nbp-gold-300), var(--nbp-gold-600)) !important;
  color: #28131d !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .7);
}

/* ---------- زر الإضافة ---------- */
.s-product-card-entry .s-product-card-content-footer { flex: none; }

.s-product-card-entry .s-product-card-content-footer .s-button-element,
.s-product-card-entry salla-add-product-button .s-button-element {
  width: 100% !important;
  min-height: 48px !important;
  border-radius: 11px !important;
  border: 0 !important;
  background: linear-gradient(135deg, var(--nbp-plum-700), var(--nbp-plum-900)) !important;
  color: var(--nbp-ivory) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
  transition: background .3s var(--nbp-ease), color .3s var(--nbp-ease), transform .2s var(--nbp-ease);
}

.s-product-card-entry:hover .s-product-card-content-footer .s-button-element,
.s-product-card-entry:hover salla-add-product-button .s-button-element {
  background: linear-gradient(135deg, var(--nbp-gold-400), var(--nbp-gold-600)) !important;
  color: #24121b !important;
}

.s-product-card-entry .s-button-element:active { transform: translateY(1px); }

.s-product-card-entry .s-button-element:focus-visible {
  outline: 2px solid var(--nbp-gold-400) !important;
  outline-offset: 3px;
}

/* نفد المخزون */
.s-product-card-entry .s-button-element[disabled] {
  background: rgba(53, 24, 39, .16) !important;
  color: rgba(53, 24, 39, .55) !important;
}

/* ============================================================
   بلوك المنتجات نفسه (منتجات مختارة · قسم · الأكثر مبيعاً …)
   ============================================================ */

.s-block--best-offers,
.s-block--products,
.s-block--featured-products,
.s-block--fixed-products {
  padding-block: 68px !important;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(201, 160, 99, .10), transparent 70%),
    var(--nbp-offwhite) !important;
}

/* عنوان البلوك — نفس نبرة عناوين أقسامنا */
.s-block--best-offers .s-slider-block__title,
.s-block--products .s-slider-block__title,
.s-block--featured-products .s-slider-block__title,
.s-block--fixed-products .s-slider-block__title {
  margin-bottom: 26px !important;
  color: var(--nbp-ink) !important;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  font-weight: 800 !important;
}

.s-block--best-offers .s-slider-block__title h2,
.s-block--best-offers .s-slider-block__title h3,
.s-block--products .s-slider-block__title h2,
.s-block--products .s-slider-block__title h3 {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

/* رابط «عرض الكل» */
.s-block--best-offers .s-slider-block__title a,
.s-block--products .s-slider-block__title a,
.s-block--featured-products .s-slider-block__title a,
.s-block--fixed-products .s-slider-block__title a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1px solid rgba(176, 141, 79, .55);
  color: var(--nbp-gold-600) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background .3s var(--nbp-ease), border-color .3s var(--nbp-ease), transform .3s var(--nbp-ease);
}

.s-block--best-offers .s-slider-block__title a:hover,
.s-block--products .s-slider-block__title a:hover {
  transform: translateY(-2px);
  background: rgba(201, 160, 99, .14);
  border-color: rgba(176, 141, 79, .9);
}

/* أسهم السلايدر */
.s-block--best-offers .s-slider-nav-arrow,
.s-block--products .s-slider-nav-arrow,
.s-block--best-offers [class*="slider-nav"] button,
.s-block--products [class*="slider-nav"] button {
  background: rgba(255, 255, 255, .9) !important;
  border: 1px solid rgba(176, 141, 79, .34) !important;
  color: var(--nbp-ink) !important;
  transition: background .25s var(--nbp-ease), border-color .25s var(--nbp-ease);
}

.s-block--best-offers .s-slider-nav-arrow:hover,
.s-block--products .s-slider-nav-arrow:hover {
  background: #fff !important;
  border-color: var(--nbp-gold-600) !important;
}

@media (max-width: 700px) {
  .s-block--best-offers,
  .s-block--products,
  .s-block--featured-products,
  .s-block--fixed-products { padding-block: 48px !important; }

  .s-product-card-entry .s-product-card-content { padding: 13px 13px 15px !important; }
  .s-product-card-entry .s-product-card-content-title { font-size: 14.5px !important; }
  .s-product-card-entry .s-product-card-price { font-size: 20px !important; }
  .s-product-card-entry:hover { transform: none; }
  .s-product-card-entry:hover .s-product-card-image img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .s-product-card-entry,
  .s-product-card-entry img,
  .s-product-card-entry .s-button-element { transition-duration: .01ms !important; }
  .s-product-card-entry:hover { transform: none; }
}

/* ============================================================
   NB BEAUTY CLINICS — قسم «لماذا تختارين NB»
   يُلصق في: سلة > تصميم المتجر > الأكواد المخصصة > CSS
   يعتمد على nb-why.js  (لا يعمل بدونه)

   التخطيط: كارت واحد بعمودين — صورة العيادة على ناحية،
   والنص والأرقام على الناحية التانية.
   ============================================================ */

.nbw {
  --nbw-plum-900: #150818;
  --nbw-plum-800: #1a0a1e;
  --nbw-plum-700: #2a0f2e;
  --nbw-plum-600: #3a1740;
  --nbw-gold-300: #e3c894;
  --nbw-gold-400: #d4af7a;
  --nbw-gold-500: #c9a063;
  --nbw-gold-600: #b08d4f;
  --nbw-cream: #f6efe6;
  --nbw-muted: rgba(246, 239, 230, .66);
  --nbw-max: 1400px;
  --nbw-pad: 48px;
  --nbw-ease: cubic-bezier(.33, 1, .68, 1);

  position: relative;
  padding: 76px 0 84px;
  direction: rtl;
  /* أوف-وايت — الكارت الغامق جوّاها بيبان أوضح */
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(201, 160, 99, .10), transparent 70%),
    #faf5ee;
  isolation: isolate;
  font-family: inherit;
}

.nbw *,
.nbw *::before,
.nbw *::after { box-sizing: border-box; }

.nbw__inner {
  max-width: var(--nbw-max);
  margin-inline: auto;
  padding-inline: var(--nbw-pad);
}

/* ---------- الكارت ---------- */
.nbw__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(120deg, var(--nbw-plum-700) 0%, var(--nbw-plum-800) 52%, var(--nbw-plum-900) 100%);
  border: 1px solid rgba(201, 160, 99, .20);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, .34),
    0 34px 70px -34px rgba(0, 0, 0, .85);

  opacity: 0;
  transform: translateY(26px);
}

.nbw.is-in .nbw__card {
  animation: nbwIn 780ms var(--nbw-ease) forwards;
}

@keyframes nbwIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- جهة النص ---------- */
.nbw__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 46px 44px;
}

.nbw__title {
  margin: 0;
  font-size: clamp(23px, 2.3vw, 31px);
  line-height: 1.4;
  font-weight: 800;
  color: var(--nbw-cream);
  text-wrap: balance;
}

.nbw__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--nbw-gold-300), var(--nbw-gold-500) 60%, var(--nbw-gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nbw__sub {
  margin: 0;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.95;
  color: var(--nbw-muted);
  max-width: 46ch;
}

/* ---------- شريط الأرقام ---------- */
.nbw__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
  padding-top: 26px;
  border-top: 1px solid rgba(201, 160, 99, .16);
}

.nbw__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;

  opacity: 0;
  transform: translateY(14px);
}

.nbw.is-in .nbw__stat {
  animation: nbwIn 620ms var(--nbw-ease) forwards;
  animation-delay: calc(260ms + var(--d, 0ms));
}

/* الأيقونة في مربع بحواف ناعمة */
.nbw__ic {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid rgba(201, 160, 99, .34);
  background: rgba(201, 160, 99, .09);
  color: var(--nbw-gold-400);
  transition: background .35s var(--nbw-ease), color .35s var(--nbw-ease), transform .35s var(--nbw-ease);
}

.nbw__ic svg { width: 20px; height: 20px; stroke-width: 1.6; }

.nbw__stat:hover .nbw__ic {
  transform: translateY(-3px);
  background: linear-gradient(140deg, var(--nbw-gold-300), var(--nbw-gold-600));
  color: #24121b;
}

.nbw__num {
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--nbw-gold-300);
}

.nbw__lbl {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--nbw-muted);
}

/* بند من غير رقم — النص بياخد مكان الرقم بلون ذهبي عشان الصف يفضل متوازن */
.nbw__lbl--solo {
  font-size: clamp(13px, 1.1vw, 14.5px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--nbw-gold-300);
  max-width: 14ch;
}

/* ---------- جهة الصورة ---------- */
.nbw__media {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  background: var(--nbw-plum-700);
}

.nbw__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .9s var(--nbw-ease);
}

.nbw__media:hover .nbw__img { transform: scale(1.045); }

/* تعتيم خفيف جهة النص عشان الوصلة بين العمودين تبقى ناعمة */
.nbw__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, rgba(21, 8, 24, .55) 0%, rgba(21, 8, 24, .12) 34%, transparent 62%);
}

/* ---------- سلايدر صور العيادة ---------- */
/* الصور جاية من سلايدر سلة نفسه — بتتبدّل بتلاشي هادي */
.nbw__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--nbw-ease);
  pointer-events: none;
}

.nbw__slide.is-on { opacity: 1; }

/* التكبير البطيء بيشتغل على الشريحة الظاهرة بس */
.nbw__media:hover .nbw__slide.is-on { transform: scale(1.045); }

.nbw__dots {
  position: absolute;
  z-index: 3;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  display: flex;
  gap: 8px;
}

.nbw__dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 100px;
  background: rgba(246, 239, 230, .38);
  cursor: pointer;
  transition: width .4s var(--nbw-ease), background .4s var(--nbw-ease);
}

/* مساحة لمس 20×32 من غير أي تغيير في الشكل */
.nbw__dot::after {
  content: "";
  position: absolute;
  inset: -12px -6px;
}

.nbw__dot.is-on {
  width: 24px;
  background: linear-gradient(90deg, var(--nbw-gold-300), var(--nbw-gold-600));
}

.nbw__dot:focus-visible { outline: 2px solid var(--nbw-gold-300); outline-offset: 4px; }

/* البلوك الأصلي بتاع سلة بعد ما صوره اندمجت عندنا */
[data-nbw-merged] { display: none !important; }

/* placeholder لو مافيش صورة */
.nbw__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 70% at 40% 45%, rgba(201, 160, 99, .18), transparent 68%),
    linear-gradient(140deg, var(--nbw-plum-600), var(--nbw-plum-900));
  color: rgba(246, 239, 230, .3);
  font-size: 12px;
  letter-spacing: .16em;
}

/* ---------- تابلت ---------- */
@media (max-width: 1000px) {
  .nbw { --nbw-pad: 32px; }
  .nbw__card { grid-template-columns: 1fr; }
  .nbw__media { min-height: 300px; }
  .nbw__media::after {
    background: linear-gradient(to top, rgba(21, 8, 24, .7) 0%, rgba(21, 8, 24, .1) 45%, transparent 75%);
  }
  .nbw__body { padding: 34px 30px 38px; }
}

/* ---------- موبايل ---------- */
@media (max-width: 640px) {
  .nbw { --nbw-pad: 20px; padding: 52px 0 60px; }
  .nbw__card { border-radius: 18px; }
  .nbw__media { min-height: 230px; }
  .nbw__body { padding: 26px 20px 30px; gap: 14px; }
  .nbw__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; padding-top: 22px; }
  .nbw__media:hover .nbw__img { transform: none; }
}

/* ---------- إتاحة الوصول ---------- */
@media (prefers-reduced-motion: reduce) {
  .nbw__img,
  .nbw__slide,
  .nbw__dot,
  .nbw__ic { transition-duration: .01ms !important; }

  .nbw.is-in .nbw__card,
  .nbw.is-in .nbw__stat {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   NB BEAUTY CLINICS — تلبيسة «آراء العملاء»
   يُلصق في: سلة > تصميم المتجر > الأكواد المخصصة > CSS
   يعتمد على nb-reviews.js (للحركة عند الظهور فقط — الشكل CSS خالص)

   بيلبّس بلوك التقييمات الأصلي بتاع سلة، فأي رأي جديد بيوصل من
   لوحة التحكم بيطلع بالشكل ده على طول.

   تركيب سلة الحقيقي:
     section.s-block--testimonials
     └── salla-reviews > div.s-reviews-container
         ├── div.s-reviews-header-wrapper > h1.s-reviews-header
         └── salla-slider.s-reviews-testimonials-slider
             └── div.swiper › div.s-reviews-swiper-slide
                 └── div.s-reviews-testimonial > div.__inner
                     ├── div.__avatar > img
                     ├── div.__text > p + div.__name_wrapper
                     │     └── div.__info + div.__rating
                     └── span.__icon (علامة اقتباس SVG)
   ============================================================ */

.s-block--testimonials {
  --nbr-ink: #351827;
  --nbr-ink-soft: rgba(53, 24, 39, .70);
  --nbr-gold-300: #e3c894;
  --nbr-gold-400: #d4af7a;
  --nbr-gold-500: #c9a063;
  --nbr-gold-600: #b08d4f;
  --nbr-card: #ffffff;
  --nbr-offwhite: #faf5ee;
  --nbr-ease: cubic-bezier(.33, 1, .68, 1);

  padding-block: 70px !important;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(201, 160, 99, .10), transparent 70%),
    var(--nbr-offwhite) !important;
}

/* ---------- العنوان ---------- */
.s-block--testimonials .s-reviews-header-wrapper {
  margin-bottom: 30px !important;
  text-align: center;
}

.s-block--testimonials .s-reviews-header {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0 !important;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  font-weight: 800 !important;
  color: var(--nbr-ink) !important;
}

/* خطين ذهبيين حوالين العنوان */
.s-block--testimonials .s-reviews-header::before,
.s-block--testimonials .s-reviews-header::after {
  content: "";
  width: clamp(26px, 5vw, 64px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nbr-gold-500));
}

.s-block--testimonials .s-reviews-header::after { transform: scaleX(-1); }

/* ---------- كارت الرأي ---------- */
.s-block--testimonials .s-reviews-testimonial {
  position: relative;
  height: 100%;
  border-radius: 18px !important;
  background: var(--nbr-card) !important;
  border: 1px solid rgba(201, 160, 99, .20);
  padding: 30px 26px 26px !important;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, .12),
    0 16px 38px -22px rgba(0, 0, 0, .4);
  transition: transform .4s var(--nbr-ease), box-shadow .4s var(--nbr-ease), border-color .4s var(--nbr-ease);
}

/* خيط ذهبي علوي — نفس لغة كارت المنتج */
.s-block--testimonials .s-reviews-testimonial::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nbr-gold-400), transparent);
  transform: scaleX(.3);
  opacity: .5;
  transition: transform .5s var(--nbr-ease), opacity .5s var(--nbr-ease);
}

.s-block--testimonials .s-reviews-testimonial:hover::before { transform: scaleX(1); opacity: 1; }

.s-block--testimonials .s-reviews-testimonial:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 160, 99, .46);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, .14),
    0 26px 50px -22px rgba(0, 0, 0, .46),
    0 0 30px -18px rgba(201, 160, 99, .55);
}

.s-block--testimonials .s-reviews-testimonial__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

/* ---------- علامة الاقتباس ---------- */
.s-block--testimonials .s-reviews-testimonial__icon {
  position: absolute;
  top: -6px;
  inset-inline-end: -4px;
  z-index: 0;
  color: var(--nbr-gold-500);
  opacity: .13;
  transition: opacity .4s var(--nbr-ease), transform .5s var(--nbr-ease);
}

.s-block--testimonials .s-reviews-testimonial__icon svg {
  width: 62px !important;
  height: 62px !important;
}

.s-block--testimonials .s-reviews-testimonial:hover .s-reviews-testimonial__icon {
  opacity: .22;
  transform: translateY(-3px) rotate(-4deg);
}

/* ---------- الصورة الرمزية ---------- */
.s-block--testimonials .s-reviews-testimonial__avatar {
  width: 54px !important;
  height: 54px !important;
  flex: none;
  border-radius: 50% !important;
  overflow: hidden;
  padding: 2px;
  background: linear-gradient(140deg, var(--nbr-gold-300), var(--nbr-gold-600));
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5);
}

.s-block--testimonials .s-reviews-testimonial__avatar img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover;
  display: block;
  border: 2px solid var(--nbr-card);
}

/* ---------- النص ---------- */
.s-block--testimonials .s-reviews-testimonial__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.s-block--testimonials .s-reviews-testimonial__text > p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.95 !important;
  color: var(--nbr-ink-soft) !important;
  flex: 1;
}

/* ---------- الاسم والتقييم ---------- */
.s-block--testimonials .s-reviews-testimonial__name_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 15px;
  border-top: 1px solid rgba(201, 160, 99, .18);
}

.s-block--testimonials .s-reviews-testimonial__info {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: var(--nbr-ink) !important;
}

/* ---------- النجوم ---------- */
.s-block--testimonials .s-rating-stars-btn-star {
  color: rgba(53, 24, 39, .18) !important;
}

.s-block--testimonials .s-rating-stars-selected,
.s-block--testimonials .s-rating-stars-selected .s-rating-stars-btn-star {
  color: var(--nbr-gold-500) !important;
}

/* ---------- أسهم السلايدر ---------- */
.s-block--testimonials .s-slider-nav-arrow {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: var(--nbr-card) !important;
  border: 1px solid rgba(176, 141, 79, .34) !important;
  color: var(--nbr-ink) !important;
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .45);
  transition: background .28s var(--nbr-ease), border-color .28s var(--nbr-ease),
              color .28s var(--nbr-ease), transform .28s var(--nbr-ease);
}

.s-block--testimonials .s-slider-nav-arrow:hover {
  transform: scale(1.07);
  background: linear-gradient(140deg, var(--nbr-gold-300), var(--nbr-gold-600)) !important;
  border-color: transparent !important;
  color: #24121b !important;
}

/* ---------- حركة الدخول ---------- */
/* nb-reviews.js بيضيف nb-in لما البلوك يبان في الشاشة */
.s-block--testimonials .s-reviews-swiper-slide {
  opacity: 0;
  transform: translateY(22px);
}

.s-block--testimonials.nb-in .s-reviews-swiper-slide {
  animation: nbrIn 680ms var(--nbr-ease) forwards;
}

/* تأخير متدرّج للأربع الأوائل — الباقي بيظهر مع السحب */
.s-block--testimonials.nb-in .s-reviews-swiper-slide:nth-child(1) { animation-delay: 0ms; }
.s-block--testimonials.nb-in .s-reviews-swiper-slide:nth-child(2) { animation-delay: 90ms; }
.s-block--testimonials.nb-in .s-reviews-swiper-slide:nth-child(3) { animation-delay: 180ms; }
.s-block--testimonials.nb-in .s-reviews-swiper-slide:nth-child(n+4) { animation-delay: 260ms; }

@keyframes nbrIn { to { opacity: 1; transform: translateY(0); } }

/* انتقال السلايدر أنعم */
.s-block--testimonials .s-slider-swiper-wrapper {
  transition-timing-function: var(--nbr-ease) !important;
}

/* ---------- موبايل ---------- */
@media (max-width: 700px) {
  .s-block--testimonials { padding-block: 50px !important; }
  .s-block--testimonials .s-reviews-testimonial { padding: 26px 20px 22px !important; }
  .s-block--testimonials .s-reviews-testimonial__text > p { font-size: 14.5px !important; }
  .s-block--testimonials .s-reviews-testimonial__icon svg { width: 50px !important; height: 50px !important; }
  .s-block--testimonials .s-reviews-testimonial:hover { transform: none; }
}

/* ---------- إتاحة الوصول ---------- */
@media (prefers-reduced-motion: reduce) {
  .s-block--testimonials .s-reviews-testimonial,
  .s-block--testimonials .s-reviews-testimonial__icon,
  .s-block--testimonials .s-slider-nav-arrow { transition-duration: .01ms !important; }

  .s-block--testimonials .s-reviews-swiper-slide,
  .s-block--testimonials.nb-in .s-reviews-swiper-slide {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   NB BEAUTY CLINICS — المميزات + الدفع + التواصل + الفوتر
   يُلصق في: سلة > تصميم المتجر > الأكواد المخصصة > CSS
   يعتمد على nb-footer.js  (لا يعمل بدونه)
   ============================================================ */

.nbf {
  --nbf-plum-900: #150818;
  --nbf-plum-800: #1a0a1e;
  --nbf-plum-700: #2a0f2e;
  --nbf-plum-600: #3a1740;

  --nbf-gold-300: #e3c894;
  --nbf-gold-400: #d4af7a;
  --nbf-gold-500: #c9a063;
  --nbf-gold-600: #b08d4f;

  --nbf-cream: #f6efe6;
  --nbf-muted: rgba(246, 239, 230, 0.58);
  --nbf-line:  rgba(201, 160, 99, 0.16);

  --nbf-max: 1400px;
  --nbf-pad: 48px;
  --nbf-ease: cubic-bezier(0.33, 1, 0.68, 1);

  position: relative;
  background: var(--nbf-plum-900);
  direction: rtl;
  font-family: inherit;
  color: var(--nbf-cream);
}

.nbf *,
.nbf *::before,
.nbf *::after { box-sizing: border-box; }

.nbf__wrap {
  max-width: var(--nbf-max);
  margin-inline: auto;
  padding-inline: var(--nbf-pad);
}

/* ============================================================
   ①  شريط المميزات
   ============================================================ */
.nbf__feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--nbf-line);
  border-block: 1px solid var(--nbf-line);
  margin-bottom: 64px;
}

.nbf__feat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 20px;
  background: var(--nbf-plum-900);
}

.nbf__feat-ic {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(201, 160, 99, .10);
  border: 1px solid rgba(201, 160, 99, .28);
  color: var(--nbf-gold-400);
}

.nbf__feat-ic svg { width: 24px; height: 24px; }

.nbf__feat-t {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.nbf__feat-s {
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--nbf-muted);
}

/* ============================================================
   ②  شريط التواصل
   ============================================================ */
.nbf__contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 26px 30px;
  margin-bottom: 64px;
  border-radius: 20px;
  background: linear-gradient(115deg, var(--nbf-plum-600) 0%, var(--nbf-plum-700) 55%, var(--nbf-plum-800) 100%);
  border: 1px solid rgba(201, 160, 99, .26);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, .4),
    0 18px 44px -16px rgba(0, 0, 0, .7),
    inset 0 1px 0 rgba(255, 255, 255, .05);
}

.nbf__ct {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  position: relative;
}

/* فاصل رأسي بين البنود */
.nbf__ct + .nbf__ct::before {
  content: "";
  position: absolute;
  inset-inline-end: -14px;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: rgba(201, 160, 99, .20);
}

.nbf__ct-ic {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(201, 160, 99, .12);
  border: 1px solid rgba(201, 160, 99, .3);
  color: var(--nbf-gold-400);
}

.nbf__ct-ic svg { width: 22px; height: 22px; }

.nbf__ct-t {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.nbf__ct-s {
  display: block;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--nbf-muted);
}

/* زر الواتساب */
.nbf__wa {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: #24121b;
  background: linear-gradient(135deg, var(--nbf-gold-400) 0%, var(--nbf-gold-600) 100%);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, .3),
    0 10px 24px -8px rgba(201, 160, 99, .5),
    inset 0 1px 0 rgba(255, 255, 255, .34);
  transition: transform .3s var(--nbf-ease), box-shadow .3s var(--nbf-ease);
  white-space: nowrap;
}

.nbf__wa svg { width: 22px; height: 22px; }

.nbf__wa:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, .34),
    0 18px 36px -10px rgba(201, 160, 99, .66),
    inset 0 1px 0 rgba(255, 255, 255, .42);
}

/* ============================================================
   ③  طرق الدفع
   ============================================================ */
.nbf__pay { text-align: center; margin-bottom: 60px; }

.nbf__pay-t {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--nbf-muted);
}

.nbf__pay-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nbf__pay-list li {
  display: grid;
  place-items: center;
  width: 76px;
  height: 50px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fdfaf6;
  border: 1px solid rgba(201, 160, 99, .2);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .45);
}

.nbf__pay-list img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ============================================================
   ④  الفوتر
   ============================================================ */
.nbf__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--nbf-line);
}

.nbf__brand-name {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--nbf-gold-300);
  line-height: 1.5;
}

.nbf__brand-en {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--nbf-muted);
  margin-top: 4px;
}

.nbf__brand-txt {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--nbf-muted);
  max-width: 34ch;
}

.nbf__social { display: flex; gap: 10px; }

.nbf__social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--nbf-gold-400);
  background: rgba(201, 160, 99, .08);
  border: 1px solid rgba(201, 160, 99, .24);
  transition: transform .3s var(--nbf-ease), border-color .3s var(--nbf-ease), background .3s var(--nbf-ease);
}

.nbf__social svg { width: 19px; height: 19px; }

.nbf__social a:hover {
  transform: translateY(-3px);
  border-color: var(--nbf-gold-400);
  background: rgba(201, 160, 99, .18);
}

.nbf__col-t {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--nbf-cream);
}

.nbf__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }

.nbf__links a {
  display: inline-block;
  padding-block: 5px;
  font-size: 13.5px;
  color: var(--nbf-muted);
  text-decoration: none;
  transition: color .25s var(--nbf-ease), padding-inline-start .25s var(--nbf-ease);
}

.nbf__links a:hover {
  color: var(--nbf-gold-400);
  padding-inline-start: 5px;
}

/* عمود التواصل */
.nbf__info { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.nbf__info li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--nbf-muted);
}

.nbf__info a { display: inline-block; padding-block: 2px; color: inherit; text-decoration: none; transition: color .25s var(--nbf-ease); }
.nbf__info a:hover { color: var(--nbf-gold-400); }

.nbf__info svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--nbf-gold-500);
}

/* ---------- الشريط السفلي ---------- */
/* عناصر سلة المنقولة من فوتر الثيم (شارات معروف · أيقونات التطبيقات) */
.nbf__adopt:empty { display: none; }

.nbf__adopt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 239, 230, .10);
}

.nbf__adopt img,
.nbf__adopt svg { max-height: 52px; width: auto; }

.nbf__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0 30px;
  font-size: 12.5px;
  color: rgba(246, 239, 230, 0.42);
}

.nbf__tax { font-variant-numeric: tabular-nums; }

.nbf a:focus-visible,
.nbf__wa:focus-visible {
  outline: 2px solid var(--nbf-gold-400);
  outline-offset: 3px;
}

/* ============================================================
   استجابة
   ============================================================ */
@media (max-width: 1100px) {
  .nbf { --nbf-pad: 32px; }
  .nbf__feats { grid-template-columns: repeat(2, 1fr); }
  .nbf__main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .nbf__contact { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .nbf__wa { grid-column: 1 / -1; justify-content: center; }
  .nbf__ct + .nbf__ct::before { display: none; }
}

@media (max-width: 700px) {
  .nbf { --nbf-pad: 20px; }

  .nbf__feats {
    grid-template-columns: 1fr;
    margin-bottom: 44px;
  }

  .nbf__feat { padding: 18px 20px; }

  .nbf__contact {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
    margin-bottom: 44px;
  }

  .nbf__pay { margin-bottom: 44px; }
  .nbf__pay-list li { width: 66px; height: 44px; }

  .nbf__main { grid-template-columns: 1fr; gap: 30px; }
  .nbf__brand-txt { max-width: 100%; }

  .nbf__bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nbf__wa,
  .nbf__social a,
  .nbf__links a { transition-duration: .01ms !important; }
}

/* إخفاء فوتر الثيم الأصلي */
[data-nbf-replaced] { display: none !important; }

/* ============================================================
   NB BEAUTY CLINICS — زر واتساب عائم (زجاجي · الموقع كله)
   يُلصق في: سلة > تصميم المتجر > الأكواد المخصصة > CSS
   يعتمد على nb-wa.js  (لا يعمل بدونه)
   ============================================================ */

.nbwa {
  --nbwa-plum: 21, 8, 24;
  --nbwa-cream: 246, 239, 230;
  --nbwa-gold-300: #e3c894;
  --nbwa-gold-400: #d4af7a;
  --nbwa-gold-600: #b08d4f;
  --nbwa-ease: cubic-bezier(.33, 1, .68, 1);

  position: fixed;
  z-index: 9998;
  inset-inline-start: 22px;
  bottom: 22px;

  display: inline-flex;
  align-items: center;
  gap: 0;

  width: 62px;
  height: 62px;
  border-radius: 100px;
  text-decoration: none;
  overflow: hidden;

  /* الزجاج: شفافية + بلور + حواف مضيئة */
  background:
    linear-gradient(150deg, rgba(var(--nbwa-cream), .16), rgba(var(--nbwa-cream), .05) 55%),
    rgba(var(--nbwa-plum), .52);
  border: 1px solid rgba(227, 200, 148, .34);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, .3),
    0 18px 40px -14px rgba(0, 0, 0, .72),
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(0, 0, 0, .18);

  color: var(--nbwa-gold-300);

  /* الدخول */
  opacity: 0;
  transform: translateY(14px) scale(.9);
  pointer-events: none;
  transition:
    opacity .45s var(--nbwa-ease),
    transform .45s var(--nbwa-ease),
    width .42s var(--nbwa-ease),
    border-color .35s var(--nbwa-ease),
    box-shadow .35s var(--nbwa-ease);
}

.nbwa.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* حلقة ذهبية خفيفة بتلمع حوالين الزر */
.nbwa::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(227, 200, 148, .75), rgba(227, 200, 148, 0) 45%, rgba(227, 200, 148, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: .9;
}

/* نبضة هادية بتلفت النظر من غير إزعاج */
.nbwa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(227, 200, 148, .38);
  animation: nbwaPulse 3.6s var(--nbwa-ease) infinite;
}

@keyframes nbwaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(227, 200, 148, .34); }
  55%  { box-shadow: 0 0 0 16px rgba(227, 200, 148, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 200, 148, 0); }
}

.nbwa__ic {
  width: 62px;
  flex: none;
  display: grid;
  place-items: center;
  transition: transform .42s var(--nbwa-ease);
}

.nbwa__ic svg { width: 27px; height: 27px; display: block; }

/* النص بيتفتح مع المرور */
.nbwa__txt {
  white-space: nowrap;
  font-size: 14.5px;
  font-weight: 700;
  color: rgb(var(--nbwa-cream));
  padding-inline-end: 22px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s var(--nbwa-ease), transform .38s var(--nbwa-ease);
}

.nbwa:hover,
.nbwa:focus-visible {
  width: var(--nbwa-w, 196px);
  border-color: rgba(227, 200, 148, .62);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, .32),
    0 24px 52px -14px rgba(0, 0, 0, .8),
    0 0 34px -10px rgba(201, 160, 99, .5),
    inset 0 1px 0 rgba(255, 255, 255, .28);
}

.nbwa:hover .nbwa__txt,
.nbwa:focus-visible .nbwa__txt {
  opacity: 1;
  transform: translateX(0);
}

.nbwa:hover .nbwa__ic { transform: scale(1.06); }
.nbwa:hover::after { animation-play-state: paused; }

.nbwa:focus-visible {
  outline: 2px solid var(--nbwa-gold-400);
  outline-offset: 4px;
}

.nbwa:active { transform: translateY(1px) scale(.99); }

/* ---------- موبايل ---------- */
@media (max-width: 640px) {
  .nbwa {
    inset-inline-start: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
  .nbwa__ic { width: 56px; }
  .nbwa__ic svg { width: 25px; height: 25px; }

  /* على اللمس مفيش hover — الأيقونة بس */
  .nbwa:hover { width: 56px; }
  .nbwa:hover .nbwa__txt { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nbwa,
  .nbwa__txt,
  .nbwa__ic { transition-duration: .01ms !important; }
  .nbwa::after { animation: none; }
}