/* ============================================================
   LUXORA — New Design System CSS
   Save as: assets/css/luxora-new.css
   Add <link rel="stylesheet" href="assets/css/luxora-new.css">
   AFTER the existing main.css link in header.php
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   LUXORA DESIGN SYSTEM — Design Tokens (Premium Redesign)
   كل قيمة هون مصدر حقيقة واحد — لا أرقام عشوائية بأي مكان تاني بالملف.
   ══════════════════════════════════════════════════════════════ */
:root {
  /* ── ألوان ── */
  --lx-bg:        #F2E8D8;
  --lx-surface:   #FFFFFF;
  --lx-border:    #E8D9C0;
  --lx-text:      #0F1B3C;
  --lx-muted:     #6B6860;
  --lx-gold:      #B8935A;
  --lx-gold-dark: #9A7A47;
  --lx-dark:      #0F1B3C;
  --lx-white:     #FFFFFF;
  /* الوان دلالية كانت مبعثرة بقيم مختلفة (أحمرين مختلفين لنفس المعنى
     "خطر/خطأ"، أخضر غير موحّد للنجاح، خلفية صورة placeholder بدون توكن) */
  --lx-danger:    #7A3B3B;
  --lx-success:   #6B7A4A;
  --lx-placeholder-bg: #E8D9C0;

  /* ── الطباعة: Manrope للنص الإنجليزي (شخصية أوضح من Inter العام)،
     IBM Plex Sans Arabic للعربي (مصمَّم أصلًا لواجهات رقمية، x-height
     أفضل ووضوح أعلى من Cairo بأحجام النص الصغيرة) ── */
  --lx-font-serif: 'Cormorant Garamond', Georgia, serif;
  --lx-font-sans:  'Manrope', 'Inter', system-ui, sans-serif;
  --lx-font-ar:    'IBM Plex Sans Arabic', 'Cairo', sans-serif;

  /* ── مقياس المسافات (Spacing Scale) — بدل أرقام متفرقة عشوائية ── */
  --lx-space-xs:  8px;
  --lx-space-sm:  16px;
  --lx-space-md:  24px;
  --lx-space-lg:  48px;
  --lx-space-xl:  80px;
  --lx-space-section: clamp(64px, 10vw, 140px);

  /* ── مقياس الاستدارة (Radius Scale) ── */
  --lx-radius:    4px;
  --lx-radius-lg: 8px;
  --lx-radius-xl: 20px;
  --lx-radius-full: 999px;

  /* ── مقياس الظلال (Shadow Scale) ── */
  --lx-shadow:    0 2px 20px rgba(0,0,0,.07);
  --lx-shadow-lg: 0 8px 48px rgba(0,0,0,.12);
  --lx-shadow-xl: 0 20px 60px rgba(0,0,0,.18);
  --lx-shadow-float: 0 4px 16px rgba(0,0,0,.18);

  /* ── مقياس سرعات الحركة (Animation Duration Scale) ──
     سريع = تفاعل فوري (أزرار)، متوسط = عناصر واجهة، بطيء = صور/حركة "فاخرة" */
  --lx-transition-fast: .25s cubic-bezier(.22,1,.36,1);
  --lx-transition:      .45s cubic-bezier(.22,1,.36,1);
  --lx-transition-slow: .8s  cubic-bezier(.22,1,.36,1);
  /* أسماء قديمة محفوظة للتوافق مع كل الكود الحالي (لا كسر لأي شيء) */
  --lx-transition-img:  var(--lx-transition-slow);
}

/* اللغة العربية تستخدم خط IBM Plex Sans Arabic تلقائيًا بكل مكان،
   بما فيها العناوين (لا يوجد مكافئ عربي مباشر لـCormorant Garamond،
   فاستخدام نفس خط النص بوزن أثقل (600-700) للعناوين أوضح وأكثر احترافية
   من فرض خط لاتيني على نص عربي، وهي ممارسة معيارية بتصميم واجهات عربية) */
html[lang="ar"] body,
html[lang="ar"] .lx-section__title,
html[lang="ar"] .lx-page-header__title,
html[lang="ar"] .lx-wizard-card h2 {
  font-family: var(--lx-font-ar) !important;
}
html[lang="ar"] .lx-section__title,
html[lang="ar"] .lx-page-header__title {
  font-weight: 700;
}

/* RTL Audit — إصلاح شامل: letter-spacing الموجب يكسر اتصال الحروف
   العربية (Cursive Script) ويضعف القراءة بشكل واضح. أكتر من 50 موضع
   بالملف فيهم letter-spacing موجب (مصمَّمة أصلًا للاتينية) — إصلاح
   شامل واحد أضمن وأدق من تتبّع كل موضع لحاله. */
html[lang="ar"] * {
  letter-spacing: 0 !important;
}

/* ══════════════════════════════════════════════════════════════
   Premium UX Audit — إصلاح شامل: توحيد سماكة كل الأيقونات
   (لقيت 8 قيم مختلفة: 1.2, 1.4, 1.5, 1.6, 1.7, 1.8, 2, 2.5 —
   مبعثرة بـ12 ملف. القاعدة الشاملة أضمن من تتبّع كل SVG لحاله،
   وتضمن أي أيقونة جديدة بالمستقبل توحيد تلقائيًا) ══════════════════ */
svg[stroke-width] {
  stroke-width: 1.6 !important;
}

/* ══════════════════════════════════════════════════════════════
   Skeleton Loading (Premium UX Audit) — بدون مكتبات خارجية.
   بيُطبَّق تلقائيًا بـJS على أي صورة منتج/فئة بالموقع (main.js)،
   بدون أي تعديل على أي ملف PHP — يمنع "ظهور الصورة فجأة" المطلوب حله.
   ══════════════════════════════════════════════════════════════ */
.lx-skeleton {
  background: linear-gradient(90deg, var(--lx-placeholder-bg) 25%, #EDE8DF 37%, var(--lx-placeholder-bg) 63%);
  background-size: 400% 100%;
  animation: lxShimmer 1.6s ease infinite;
}
@keyframes lxShimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}
.lx-product-card__img-wrap img,
.lx-pdp__main-img-wrap img,
.lx-cat-tile img,
.lx-editorial-banner__img {
  opacity: 0;
  transition: opacity .4s ease;
}
.lx-product-card__img-wrap img.lx-loaded,
.lx-pdp__main-img-wrap img.lx-loaded,
.lx-cat-tile img.lx-loaded,
.lx-editorial-banner__img.lx-loaded {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .lx-skeleton { animation: none; }
}

/* ── RESET EXISTING DARK BG for new pages ── */
body {
  background: var(--lx-bg);
  color: var(--lx-text);
}

/* ── BUTTONS ── */
.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--lx-radius);
  font-family: var(--lx-font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--lx-transition-fast);
  white-space: nowrap;
}
.lx-btn--dark {
  background: var(--lx-dark);
  color: var(--lx-white);
}
.lx-btn--dark:hover {
  background: var(--lx-gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--lx-shadow-lg);
}
.lx-btn--gold {
  background: var(--lx-gold);
  color: var(--lx-dark);
}
.lx-btn--gold:hover {
  background: var(--lx-gold-dark);
  transform: translateY(-1px);
}
.lx-btn--outline-light {
  background: rgba(255,255,255,.12);
  color: var(--lx-white);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.lx-btn--outline-light:hover {
  background: rgba(255,255,255,.22);
}
.lx-btn--block {
  width: 100%;
  justify-content: center;
}

/* ── LABELS ── */
.lx-label {
  display: block;
  font-family: var(--lx-font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lx-muted);
  margin-bottom: 10px;
}
.lx-label--light { color: rgba(255,255,255,.55); }

.lx-link-arrow {
  font-family: var(--lx-font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--lx-text);
  text-decoration: none;
  transition: var(--lx-transition);
  white-space: nowrap;
  align-self: flex-end;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--lx-text);
}
.lx-link-arrow:hover { opacity: .6; }

/* ── HERO ── */
.lx-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.lx-hero__bg {
  position: absolute;
  inset: 0;
}
.lx-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 8s ease;
}
.lx-hero:hover .lx-hero__img {
  transform: scale(1.03);
}
.lx-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,8,6,.85) 0%,
    rgba(10,8,6,.4) 50%,
    rgba(10,8,6,.1) 100%
  );
  z-index: 1;
}
.lx-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 60px 72px;
  max-width: 680px;
}
.lx-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.lx-hero__badge {
  position: absolute;
  bottom: 72px;
  right: 60px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--lx-font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--lx-white);
  letter-spacing: .5px;
}
.lx-badge-icon { display: flex; align-items: center; }

/* ── TRUST BAR ── */
.lx-trust {
  background: var(--lx-dark);
  padding: 20px 0;
}
.lx-trust__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.lx-trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 32px;
  font-family: var(--lx-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
}
.lx-trust__item svg { color: var(--lx-gold); flex-shrink: 0; }
.lx-trust__sep {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.15);
}

/* ── SECTIONS ── */
.lx-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--lx-space-section) 40px;
}
.lx-section--featured { padding-top: 0; }
.lx-section__head {
  margin-bottom: var(--lx-space-lg);
}
.lx-section__head--between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.lx-section__title {
  font-family: var(--lx-font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: var(--lx-text);
  margin: 0;
  line-height: 1.1;
}

/* ── CATEGORY GRID ── */
.lx-cat-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 12px;
}
.lx-cat-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--lx-radius-lg);
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.lx-cat-card--large {
  grid-row: 1 / 3;
}
.lx-cat-card--small {
  grid-row: span 1;
}
.lx-cat-card--medium {
  grid-column: span 1;
  grid-row: span 1;
}
.lx-cat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.lx-cat-card:hover .lx-cat-card__img {
  transform: scale(1.06);
}
.lx-cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 60%);
  transition: var(--lx-transition);
}
.lx-cat-card:hover .lx-cat-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 60%);
}
.lx-cat-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lx-cat-card__name {
  font-family: var(--lx-font-serif);
  font-size: 24px;
  font-weight: 300;
  color: var(--lx-white);
  margin: 0;
  line-height: 1.2;
}
.lx-cat-card--large .lx-cat-card__name {
  font-size: 36px;
}
.lx-cat-card__link {
  font-family: var(--lx-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lx-gold);
  opacity: 0;
  transform: translateY(6px);
  transition: var(--lx-transition);
}
.lx-cat-card:hover .lx-cat-card__link {
  opacity: 1;
  transform: translateY(0);
}
.lx-cat-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  grid-row: 1 / 3;
}

/* ── PRODUCT GRID ── */
.lx-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.lx-product-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.lx-product-card {
  cursor: pointer;
  position: relative;
  transition: var(--lx-transition);
}
.lx-product-card:hover {
  transform: translateY(-6px);
}
.lx-product-card__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--lx-radius);
  aspect-ratio: 3/4;
  background: var(--lx-placeholder-bg);
  margin-bottom: 14px;
  transition: box-shadow var(--lx-transition);
}
.lx-product-card:hover .lx-product-card__img-wrap {
  box-shadow: var(--lx-shadow-lg);
}
.lx-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--lx-transition-img);
}
.lx-product-card:hover .lx-product-card__img {
  transform: scale(1.06);
}
.lx-quick-add {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  background: var(--lx-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--lx-transition);
  box-shadow: var(--lx-shadow-float);
  color: var(--lx-dark);
}
.lx-product-card:hover .lx-quick-add {
  opacity: 1;
  transform: translateY(0);
}
.lx-quick-add:hover {
  background: var(--lx-dark);
  color: var(--lx-white);
}
.lx-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--lx-font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.lx-pill--sale {
  background: var(--lx-dark);
  color: var(--lx-white);
}
.lx-card-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.92);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--lx-dark);
  transition: var(--lx-transition);
  box-shadow: var(--lx-shadow-float);
  z-index: 2;
}
.lx-card-wishlist.active,
.lx-card-wishlist:hover { color: var(--lx-danger); }

/* ══════════════════════════════════════════════════════════════
   Product Detail Page (PDP) — real standalone page, replaces modal
   ══════════════════════════════════════════════════════════════ */
.lx-pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; max-width: 1100px; margin: 40px auto 60px; padding: 0 20px; }
.lx-pdp__main-img-wrap { position: relative; border-radius: var(--lx-radius-lg); overflow: hidden; aspect-ratio: 3/4; background: var(--lx-placeholder-bg); }
.lx-pdp__main-img { width: 100%; height: 100%; object-fit: cover; }
.lx-pdp__thumbs { display: flex; gap: 10px; margin-top: 14px; }
.lx-pdp__thumb { width: 64px; height: 64px; border-radius: var(--lx-radius); overflow: hidden; border: 1.5px solid var(--lx-border); background: none; padding: 0; cursor: pointer; flex-shrink: 0; }
.lx-pdp__thumb.active { border-color: var(--lx-dark); }
.lx-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }

.lx-pdp__cat { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lx-muted); }
.lx-pdp__name { font-family: var(--lx-font-serif); font-size: 34px; font-weight: 300; color: var(--lx-text); margin: 6px 0 16px; line-height: 1.2; }
.lx-pdp__pricing { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.lx-pdp__price { font-size: 24px; font-weight: 600; color: var(--lx-text); }
.lx-pdp__compare { font-size: 16px; color: var(--lx-muted); text-decoration: line-through; }
.lx-pdp__desc { font-size: 14px; line-height: 1.9; color: var(--lx-muted); margin-bottom: 28px; }
.lx-pdp__form { margin-bottom: 16px; }
.lx-pdp__actions { margin-top: 16px; }
.lx-pdp__add-btn { width: 100%; }

.lx-pdp__related { max-width: 1100px; margin: 0 auto 80px; padding: 40px 20px 0; border-top: 1px solid var(--lx-border); }
.lx-related__title { font-family: var(--lx-font-serif); font-size: 24px; font-weight: 300; margin: 32px 0 24px; text-align: center; }

/* Floating Cart Button — تمت إزالته: السلة الآن أساسية بالشريط السفلي (موبايل) والشريط العلوي (ديسكتوب) */
.lx-pdp-sticky-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--lx-surface); border-top: 1px solid var(--lx-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
  transform: translateY(100%); transition: transform .25s ease;
}
.lx-pdp-sticky-bar.show { transform: translateY(0); }
.lx-pdp-sticky-bar__info { display: flex; flex-direction: column; min-width: 0; }
.lx-pdp-sticky-bar__name { font-size: 12px; color: var(--lx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.lx-pdp-sticky-bar__price { font-size: 15px; font-weight: 600; color: var(--lx-text); }
@media (max-width: 800px) {
  .lx-pdp-sticky-bar { display: flex; }
}

@media (max-width: 800px) {
  .lx-pdp { grid-template-columns: 1fr; gap: 28px; margin: 20px auto 40px; }
  .lx-pdp__name { font-size: 26px; }
}

/* ══════════════════════════════════════════════════════════════
   Wishlist Page
   ══════════════════════════════════════════════════════════════ */
.lx-wishlist-page-item { position: relative; }
.lx-wishlist-remove {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px;
  background: rgba(255,255,255,.92); border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
  box-shadow: var(--lx-shadow-float);
}

/* ══════════════════════════════════════════════════════════════
   Order Tracking Page
   ══════════════════════════════════════════════════════════════ */
.lx-tracking-timeline { display: flex; justify-content: space-between; margin: 40px 0; position: relative; }
.lx-tracking-timeline::before { content: ''; position: absolute; top: 15px; left: 5%; right: 5%; height: 2px; background: var(--lx-border); z-index: 0; }
.lx-tracking-step { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; position: relative; z-index: 1; }
.lx-tracking-step__dot { width: 32px; height: 32px; border-radius: 50%; background: var(--lx-surface); border: 2px solid var(--lx-border); display: flex; align-items: center; justify-content: center; color: var(--lx-muted); }
.lx-tracking-step.done .lx-tracking-step__dot { background: var(--lx-gold); border-color: var(--lx-gold); color: var(--lx-white); }
.lx-tracking-step__label { font-size: 11px; color: var(--lx-muted); text-align: center; }
.lx-tracking-step.done .lx-tracking-step__label { color: var(--lx-text); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════
   Legal Pages
   ══════════════════════════════════════════════════════════════ */
.lx-legal-content { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; font-size: 14px; line-height: 1.9; color: var(--lx-text); }
.lx-legal-content h2 { font-family: var(--lx-font-serif); font-size: 22px; font-weight: 400; margin: 32px 0 12px; }
.lx-legal-content h2:first-child { margin-top: 0; }
.lx-legal-content p { margin-bottom: 14px; color: var(--lx-muted); }
.lx-legal-content ul { margin: 0 0 14px 20px; color: var(--lx-muted); }

/* ══════════════════════════════════════════════════════════════
   Trust Badges (P1) — product page, cart, checkout review
   ══════════════════════════════════════════════════════════════ */
.lx-trust-badges { display: flex; flex-direction: column; gap: 14px; margin: 24px 0; padding: 18px; background: var(--lx-bg); border-radius: var(--lx-radius); }
.lx-trust-badges__item { display: flex; align-items: flex-start; gap: 12px; color: var(--lx-gold-dark); }
.lx-trust-badges__title { font-size: 13px; font-weight: 600; color: var(--lx-text); margin: 0; }
.lx-trust-badges__desc { font-size: 11.5px; color: var(--lx-muted); margin: 2px 0 0; }

/* ══════════════════════════════════════════════════════════════
   AJAX Toast (P1) — confirmation after Add to Cart, no page reload
   ══════════════════════════════════════════════════════════════ */
.lx-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--lx-dark); color: var(--lx-white); padding: 14px 24px; border-radius: 999px;
  font-size: 13px; font-weight: 500; z-index: 9999; opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease; box-shadow: var(--lx-shadow-float);
  white-space: nowrap;
}
.lx-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.lx-toast--error { background: var(--lx-danger); }
@media (max-width: 600px) {
  .lx-toast { bottom: 80px; font-size: 12px; padding: 12px 20px; max-width: 90vw; white-space: normal; text-align: center; }
}

/* حالة تحميل بسيطة لأي زر AJAX (Quick Add / Quick Wishlist) أثناء انتظار الرد */
.lx-is-loading { opacity: .55; pointer-events: none; }
.lx-is-loading svg { animation: lx-spin .7s linear infinite; }
@keyframes lx-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════════════
   Header/Nav Polish (P2) — أقل ازدحامًا، تباعد أوسع بين العناصر،
   Hover أنعم (أقرب لـ Apple Store navigation بدل قائمة متجر عادي)
   ══════════════════════════════════════════════════════════════ */
.nav-inner { height: 72px; }
.nav-links { gap: 40px; }
.nav-link { transition: var(--lx-transition-fast); opacity: .85; }
.nav-link:hover { opacity: 1; }
.nav-actions { gap: 4px; }
.icon-btn { transition: var(--lx-transition-fast); width: 44px !important; height: 44px !important; }
.lang-picker { gap: 2px; margin-inline-end: 4px; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr !important; }
}
.lx-product-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lx-product-card__cat {
  font-family: var(--lx-font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lx-muted);
}
.lx-product-card__name {
  font-family: var(--lx-font-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--lx-text);
  margin: 0;
  line-height: 1.4;
}
.lx-product-card__pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.lx-product-card__price {
  font-family: var(--lx-font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--lx-text);
}
.lx-product-card__compare {
  font-size: 12px;
  color: var(--lx-muted);
  text-decoration: line-through;
}

/* P2 — تمايز بصري بين أقسام الصفحة الرئيسية (Hierarchy: عنوان > صورة > منتج):
   Featured أبرز وأكبر تفصيلًا (خط Serif، صورة أطول)، Compact (وصل حديثًا) أخف وأصغر */
.lx-product-card--featured .lx-product-card__img-wrap { aspect-ratio: 4/5; }
.lx-product-card--featured .lx-product-card__name { font-family: var(--lx-font-serif); font-size: 19px; font-weight: 400; line-height: 1.3; }
.lx-product-card--featured .lx-product-card__cat { color: var(--lx-gold-dark); }
.lx-product-card--featured .lx-product-card__price { font-size: 15px; }

.lx-product-card--compact .lx-product-card__img-wrap { aspect-ratio: 1/1; margin-bottom: 10px; }
.lx-product-card--compact .lx-product-card__name { font-size: 12.5px; color: var(--lx-muted); font-weight: 400; }
.lx-product-card--compact .lx-product-card__price { font-size: 13px; font-weight: 500; }

/* ── MODAL ── */
.lx-modal-wrap {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lx-modal-wrap.open {
  display: flex;
}
.lx-modal {
  background: var(--lx-surface);
  border-radius: var(--lx-radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: var(--lx-shadow-lg);
}
.lx-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--lx-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--lx-text);
  transition: var(--lx-transition);
}
.lx-modal__close:hover { background: var(--lx-dark); color: var(--lx-white); }
.lx-modal__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--lx-radius-lg) 0 0 var(--lx-radius-lg);
  aspect-ratio: auto;
  min-height: 400px;
}
.lx-modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lx-modal__body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}
.lx-modal__cat {
  font-family: var(--lx-font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--lx-muted);
}
.lx-modal__name {
  font-family: var(--lx-font-serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--lx-text);
  margin: 0;
  line-height: 1.2;
}
.lx-modal__pricing {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lx-modal__price {
  font-family: var(--lx-font-sans);
  font-size: 22px;
  font-weight: 600;
  color: var(--lx-text);
}
.lx-modal__compare {
  font-size: 16px;
  color: var(--lx-muted);
  text-decoration: line-through;
}
.lx-modal__desc {
  font-family: var(--lx-font-sans);
  font-size: 13px;
  line-height: 1.7;
  color: var(--lx-muted);
  margin: 0;
}
.lx-modal__form { display: flex; flex-direction: column; gap: 16px; }
.lx-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lx-qty-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lx-muted);
}
.lx-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius);
  overflow: hidden;
}
.lx-qty-btn {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--lx-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--lx-transition);
}
.lx-qty-btn:hover { background: var(--lx-bg); }
.lx-qty-input {
  width: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--lx-border);
  border-right: 1px solid var(--lx-border);
  font-family: var(--lx-font-sans);
  font-size: 14px;
  color: var(--lx-text);
  outline: none;
  background: none;
  padding: 8px 0;
}
.lx-oos {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lx-muted);
  text-align: center;
  padding: 16px 0;
}
.lx-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid #25d366;
  border-radius: var(--lx-radius);
  color: #25d366;
  font-family: var(--lx-font-sans);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--lx-transition);
}
.lx-wa-btn:hover { background: rgba(37,211,102,.08); }

/* ── PROMISE SECTION ── */
.lx-promise {
  background: var(--lx-dark);
  padding: 100px 40px;
}
.lx-promise__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lx-promise__title {
  font-family: var(--lx-font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--lx-white);
  margin: 0 0 20px;
  line-height: 1.1;
}
.lx-promise__sub {
  font-family: var(--lx-font-sans);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,.55);
  margin: 0 0 36px;
}
.lx-promise__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.lx-stat { display: flex; flex-direction: column; gap: 8px; }
.lx-stat__num {
  font-family: var(--lx-font-serif);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 300;
  color: var(--lx-gold);
  line-height: 1;
}
.lx-stat__label {
  font-family: var(--lx-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* ── NEWSLETTER ── */
.lx-newsletter {
  background: var(--lx-placeholder-bg);
  padding: 100px 40px;
  text-align: center;
}
.lx-newsletter__inner {
  max-width: 520px;
  margin: 0 auto;
}
.lx-newsletter__title {
  font-family: var(--lx-font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  color: var(--lx-text);
  margin: 0 0 32px;
  line-height: 1.2;
}
.lx-newsletter__form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.lx-newsletter__input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius);
  font-family: var(--lx-font-sans);
  font-size: 14px;
  color: var(--lx-text);
  background: var(--lx-surface);
  outline: none;
  transition: var(--lx-transition);
}
.lx-newsletter__input:focus {
  border-color: var(--lx-dark);
}
.lx-newsletter__note {
  font-family: var(--lx-font-sans);
  font-size: 11px;
  color: var(--lx-muted);
  letter-spacing: .5px;
}

/* ── OVERRIDE EXISTING HEADER/NAV for white design ── */
.topnav.glass-nav {
  background: rgba(250,250,248,.92) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lx-border);
}
.topnav .brand { color: var(--lx-text) !important; }
.topnav .nav-link { color: var(--lx-text) !important; }
.topnav .icon-btn { color: var(--lx-text) !important; }
.topnav .lang-btn { color: var(--lx-muted) !important; }
.topnav .lang-btn.active { color: var(--lx-text) !important; }
.topnav .cart-badge { background: var(--lx-dark) !important; }

/* Hero page — make nav transparent */
.lx-hero ~ * .topnav,
body:has(.lx-hero) .topnav.glass-nav {
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
}
body:has(.lx-hero) .topnav .brand { color: var(--lx-white) !important; }
body:has(.lx-hero) .topnav .nav-link { color: rgba(255,255,255,.8) !important; }
body:has(.lx-hero) .topnav .icon-btn { color: var(--lx-white) !important; }
body:has(.lx-hero) .topnav .lang-btn { color: rgba(255,255,255,.6) !important; }

/* Footer override */
.footer {
  background: var(--lx-dark) !important;
  border-top: none !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .lx-cat-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px 260px;
  }
  .lx-cat-card--large { grid-row: 1; grid-column: 1 / 3; }
  .lx-cat-col { flex-direction: row; grid-row: auto; }
  .lx-cat-col .lx-cat-card--small { flex: 1; }
  .lx-product-grid { grid-template-columns: repeat(3, 1fr); }
  .lx-promise__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .lx-hero__content { padding: 0 24px 64px; }
  .lx-hero__badge { right: 24px; bottom: 64px; }
  .lx-section { padding: 56px 20px; }
  .lx-cat-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px;
  }
  .lx-cat-card--large { grid-column: 1 / 3; }
  .lx-cat-col { flex-direction: row; grid-row: auto; grid-column: 1 / 3; }
  .lx-product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .lx-trust__inner { gap: 0; flex-direction: column; }
  .lx-trust__sep { width: 40px; height: 1px; }
  .lx-promise__stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .lx-modal { grid-template-columns: 1fr; }
  .lx-modal__img-wrap {
    border-radius: var(--lx-radius-lg) var(--lx-radius-lg) 0 0;
    min-height: 280px;
  }
  .lx-newsletter__form { flex-direction: column; }
  .lx-hero__actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .lx-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lx-hero__title { font-size: 52px; }
  .lx-cat-col { flex-direction: column; }
}

/* ── RTL SUPPORT ── */
[dir="rtl"] .lx-hero__content { padding: 0 60px 72px; }
[dir="rtl"] .lx-hero__badge { left: 60px; right: auto; }
[dir="rtl"] .lx-modal__img-wrap { border-radius: 0 var(--lx-radius-lg) var(--lx-radius-lg) 0; }
[dir="rtl"] .lx-modal__close { left: 16px; right: auto; }
[dir="rtl"] .lx-quick-add { left: 12px; right: auto; }

/* ============================================================
   PRODUCTS PAGE + NAV FIXES
   ============================================================ */

/* Nav transparent on hero — JS handles scroll */
body:has(.lx-hero) .topnav.glass-nav {
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,.15) !important;
}
body:has(.lx-hero) .topnav .brand,
body:has(.lx-hero) .topnav .icon-btn { color: var(--lx-white) !important; }
body:has(.lx-hero) .topnav .nav-link { color: rgba(255,255,255,.85) !important; }

/* Products header */
.lx-products-header {
  background: var(--lx-bg);
  padding: 100px 40px 32px;
  border-bottom: 1px solid var(--lx-border);
}
.lx-products-header__inner {
  max-width: 1280px;
  margin: 0 auto 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.lx-products-header__title {
  font-family: var(--lx-font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  color: var(--lx-text);
  margin: 0;
  line-height: 1.1;
  text-transform: capitalize;
}
.lx-products-header__count {
  font-family: var(--lx-font-sans);
  font-size: 12px;
  color: var(--lx-muted);
  margin: 6px 0 0;
  letter-spacing: .5px;
}
.lx-sort-select {
  font-family: var(--lx-font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--lx-text);
  background: var(--lx-surface);
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius);
  padding: 10px 16px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  min-width: 140px;
}

/* Category pills */
.lx-cat-pills {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lx-cat-pill {
  font-family: var(--lx-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--lx-muted);
  background: var(--lx-surface);
  border: 1px solid var(--lx-border);
  border-radius: 999px;
  padding: 8px 18px;
  transition: var(--lx-transition);
  white-space: nowrap;
}
.lx-cat-pill:hover {
  border-color: var(--lx-text);
  color: var(--lx-text);
}
.lx-cat-pill--active {
  background: var(--lx-dark);
  border-color: var(--lx-dark);
  color: var(--lx-white);
}

/* Products grid wrapper */
.lx-products-grid-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 40px;
}
.lx-product-grid--products {
  grid-template-columns: repeat(4, 1fr);
}

/* Out of stock pill */
.lx-pill--oos {
  background: rgba(255,255,255,.9);
  color: var(--lx-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  position: absolute;
  top: 12px;
  left: 12px;
}

/* Empty state */
.lx-empty {
  text-align: center;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lx-empty__title {
  font-family: var(--lx-font-serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--lx-text);
}
.lx-empty__sub {
  font-family: var(--lx-font-sans);
  font-size: 13px;
  color: var(--lx-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .lx-products-header { padding: 80px 20px 24px; }
  .lx-products-header__inner { flex-direction: column; align-items: flex-start; }
  .lx-products-grid-wrap { padding: 32px 20px; }
  .lx-product-grid--products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .lx-cat-pills { padding: 0; }
}

/* ── CART PAGE ── */
.lx-page-header { padding: 100px 40px 40px; background: var(--lx-bg); border-bottom: 1px solid var(--lx-border); }
.lx-page-header__inner { max-width: 1280px; margin: 0 auto; }
.lx-page-header__title { font-family: var(--lx-font-serif); font-size: clamp(32px,5vw,56px); font-weight: 300; color: var(--lx-text); margin: 0; }
.lx-cart-layout { max-width: 1280px; margin: 0 auto; padding: 60px 40px; display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }
.lx-cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--lx-border); align-items: start; }
.lx-cart-item__img { width: 100px; height: 130px; object-fit: cover; border-radius: var(--lx-radius); background: var(--lx-placeholder-bg); }
.lx-cart-item__cat { font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--lx-muted); }
.lx-cart-item__name { font-family: var(--lx-font-sans); font-size: 14px; font-weight: 400; color: var(--lx-text); margin: 6px 0 4px; }
.lx-cart-item__price { font-size: 13px; color: var(--lx-muted); margin: 0 0 12px; }
.lx-cart-item__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lx-cart-item__remove { font-size: 11px; color: var(--lx-muted); text-decoration: underline; cursor: pointer; }
.lx-cart-item__remove:hover { color: var(--lx-text); }
.lx-cart-item__total { font-family: var(--lx-font-sans); font-size: 16px; font-weight: 600; color: var(--lx-text); white-space: nowrap; }
.lx-coupon-wrap { padding: 24px 0; }
.lx-coupon-form { display: flex; gap: 8px; margin-top: 12px; }
.lx-coupon-input { flex: 1; padding: 12px 16px; border: 1px solid var(--lx-border); border-radius: var(--lx-radius); font-family: var(--lx-font-sans); font-size: 13px; outline: none; background: var(--lx-surface); color: var(--lx-text); }
.lx-coupon-input:focus { border-color: var(--lx-dark); }
.lx-coupon-err { font-size: 12px; color: var(--lx-danger); }
.lx-coupon-ok { font-size: 12px; color: var(--lx-success); }
.lx-btn--outline-dark { background: none; border: 1px solid var(--lx-dark); color: var(--lx-dark); }
.lx-btn--outline-dark:hover { background: var(--lx-dark); color: var(--lx-white); }
.lx-cart-summary { background: var(--lx-surface); border: 1px solid var(--lx-border); border-radius: var(--lx-radius-lg); padding: 32px; position: sticky; top: 100px; }
.lx-cart-summary__title { font-family: var(--lx-font-serif); font-size: 24px; font-weight: 300; color: var(--lx-text); margin: 0 0 24px; }

.lx-checkout-form { display: flex; flex-direction: column; gap: 14px; }

/* ══════════════════════════════════════════════════════════════
   Checkout Journey — Bag → Account → Address → Payment → Review → Confirmation
   Real pages, not CSS show/hide. Mobile-first, generous spacing.
   ══════════════════════════════════════════════════════════════ */

.lx-journey-stepper { display: flex; align-items: flex-start; justify-content: center; gap: 2px; margin: 0 auto 56px; max-width: 640px; padding: 0 12px; overflow-x: auto; }
.lx-journey-stepper__step { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; min-width: 44px; position: relative; }
.lx-journey-stepper__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--lx-surface); border: 1.5px solid var(--lx-border); color: var(--lx-muted); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; transition: var(--lx-transition); flex-shrink: 0; z-index: 1; }
.lx-journey-stepper__step--active .lx-journey-stepper__dot { background: var(--lx-dark); border-color: var(--lx-dark); color: var(--lx-white); transform: scale(1.12); }
.lx-journey-stepper__step--done .lx-journey-stepper__dot { background: var(--lx-gold); border-color: var(--lx-gold); color: var(--lx-white); font-size: 13px; }
.lx-journey-stepper__label { font-size: 9.5px; letter-spacing: .3px; color: var(--lx-muted); text-align: center; line-height: 1.2; }
.lx-journey-stepper__step--active .lx-journey-stepper__label { color: var(--lx-text); font-weight: 700; }
.lx-journey-stepper__step--done .lx-journey-stepper__label { color: var(--lx-gold-dark); }
.lx-journey-stepper__line { position: absolute; top: 13px; left: -50%; width: 100%; height: 1px; background: var(--lx-border); z-index: 0; }
.lx-journey-stepper__step:first-child .lx-journey-stepper__line { display: none; }
.lx-journey-stepper__step--done .lx-journey-stepper__line { background: var(--lx-gold); }

.lx-wizard-panel { max-width: 560px; margin: 0 auto; padding: 0 20px 100px; }
.lx-wizard-card { background: var(--lx-surface); border: 1px solid var(--lx-border); border-radius: var(--lx-radius-lg); padding: 40px 32px; box-shadow: var(--lx-shadow); }
.lx-wizard-card h2 { font-family: var(--lx-font-serif); font-size: 27px; font-weight: 300; margin: 0 0 8px; color: var(--lx-text); }
.lx-wizard-card__subtitle { font-size: 13px; color: var(--lx-muted); margin: 0 0 28px; line-height: 1.6; }

.lx-option-card { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border: 1.5px solid var(--lx-border); border-radius: var(--lx-radius); margin-bottom: 12px; cursor: pointer; transition: var(--lx-transition); }
.lx-option-card.selected { border-color: var(--lx-dark); background: var(--lx-bg); }
.lx-option-card.disabled { opacity: .5; cursor: not-allowed; }
.lx-option-card__radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--lx-border); flex-shrink: 0; margin-top: 2px; position: relative; }
.lx-option-card.selected .lx-option-card__radio { border-color: var(--lx-dark); }
.lx-option-card.selected .lx-option-card__radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--lx-dark); }
.lx-option-card__title { font-size: 14.5px; font-weight: 600; color: var(--lx-text); margin: 0 0 4px; }
.lx-option-card__desc { font-size: 12px; color: var(--lx-muted); margin: 0; }
.lx-option-card__badge { font-size: 10px; letter-spacing: .5px; text-transform: uppercase; color: var(--lx-muted); background: var(--lx-bg); padding: 3px 8px; border-radius: 999px; margin-left: auto; flex-shrink: 0; }

.lx-wizard-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lx-wizard-nav { display: flex; gap: 12px; margin-top: 32px; }
.lx-wizard-nav .lx-btn { flex: 1; }

.lx-wizard-review-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--lx-border); font-size: 13px; color: var(--lx-muted); }
.lx-wizard-review-row:last-of-type { border-bottom: none; }
.lx-wizard-review-row--total { font-size: 17px; font-weight: 700; color: var(--lx-text); padding-top: 18px; border-top: 1px solid var(--lx-border); margin-top: 6px; }
.lx-wizard-item-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--lx-text); padding: 7px 0; }

/* Step 4 — Payment trust content */
.lx-trust-badge { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--lx-bg); border-radius: var(--lx-radius); margin-bottom: 14px; }
.lx-trust-badge__icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--lx-gold-dark); }
.lx-trust-badge__text { font-size: 13px; color: var(--lx-text); line-height: 1.5; }
.lx-payment-methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.lx-payment-method-pill { padding: 8px 16px; border: 1px solid var(--lx-border); border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: .3px; color: var(--lx-muted); background: var(--lx-surface); }

/* Step 5 — Review edit blocks */
.lx-review-block { background: var(--lx-bg); border: 1px solid var(--lx-border); border-radius: var(--lx-radius); padding: 18px 20px; margin-bottom: 14px; }
.lx-review-block__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.lx-review-block__title { font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--lx-muted); font-weight: 700; }
.lx-review-block__edit { font-size: 12px; color: var(--lx-gold-dark); text-decoration: underline; cursor: pointer; background: none; border: none; padding: 0; font-family: inherit; }
.lx-review-block__body { font-size: 13.5px; color: var(--lx-text); line-height: 1.7; }
.lx-review-note { font-size: 11px; color: var(--lx-muted); font-style: italic; margin-top: 4px; }

@media (max-width: 600px) {
  .lx-journey-stepper { margin-bottom: 36px; gap: 0; }
  .lx-journey-stepper__label { font-size: 8.5px; }
  .lx-journey-stepper__dot { width: 24px; height: 24px; font-size: 11px; }
  .lx-journey-stepper__line { top: 11px; }
  .lx-wizard-card { padding: 30px 20px; }
  .lx-wizard-form-row { grid-template-columns: 1fr; }
  .lx-wizard-nav { flex-direction: column-reverse; }
}
.lx-summary-rows { border-top: 1px solid var(--lx-border); padding-top: 16px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 12px; }
.lx-summary-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--lx-muted); }
.lx-summary-row--disc { color: var(--lx-success); }
.lx-summary-row--total { font-size: 16px; font-weight: 600; color: var(--lx-text); padding-top: 12px; border-top: 1px solid var(--lx-border); }
.lx-form-group { display: flex; flex-direction: column; gap: 6px; }
.lx-form-label { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lx-muted); }
.lx-form-input { padding: 14px 16px; border: 1px solid var(--lx-border); border-radius: var(--lx-radius); font-family: var(--lx-font-sans); font-size: 15px; color: var(--lx-text); background: var(--lx-bg); outline: none; transition: var(--lx-transition); min-height: 48px; }
.lx-form-input:focus { border-color: var(--lx-dark); background: var(--lx-surface); box-shadow: 0 0 0 3px rgba(184,147,90,.12); }
.lx-secure-note { text-align: center; font-size: 11px; color: var(--lx-muted); margin-top: 12px; letter-spacing: .5px; }
@media (max-width: 768px) {
  .lx-cart-layout { grid-template-columns: 1fr; padding: 32px 20px; gap: 32px; }
  .lx-cart-summary { position: static; }
  .lx-page-header { padding: 80px 20px 28px; }
}

/* ── ACCOUNT PAGE ── */
.lx-account-wrap { display: flex; align-items: center; justify-content: center; min-height: 70vh; padding: 40px 20px; }
.lx-account-card { background: var(--lx-surface); border: 1px solid var(--lx-border); border-radius: var(--lx-radius-lg); padding: 48px 40px; max-width: 420px; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; box-shadow: var(--lx-shadow); }
.lx-account-title { font-family: var(--lx-font-serif); font-size: 32px; font-weight: 300; color: var(--lx-text); margin: 0; }
.lx-account-sub { font-family: var(--lx-font-sans); font-size: 13px; line-height: 1.7; color: var(--lx-muted); margin: 0; }
.lx-account-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 8px; }

/* ── NAV TRANSPARENT ON HERO ── */
body:has(.lx-hero) .topnav.glass-nav {
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,.15) !important;
  box-shadow: none !important;
}
body:has(.lx-hero) .topnav .brand { color: var(--lx-white) !important; }
body:has(.lx-hero) .topnav .nav-link { color: rgba(255,255,255,.85) !important; }
body:has(.lx-hero) .topnav .icon-btn { color: var(--lx-white) !important; }
body:has(.lx-hero) .topnav .lang-btn { color: rgba(255,255,255,.6) !important; }

@media (max-width: 768px) {
  .lx-products-header__controls { flex-direction: column; align-items: flex-start; }
  .lx-promo-bar__inner { flex-direction: column; gap: 8px; }
  .lx-promo-sep { display: none; }
  .lx-slider-prev,.lx-slider-next { display: none; }
}

/* ══════════════════════════════════════════
   HERO SLIDER — FIXED
══════════════════════════════════════════ */
.lx-hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 920px;
  overflow: hidden;
}
.lx-hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.lx-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .9s ease;
  display: flex;
  align-items: flex-end;
  z-index: 0;
}
.lx-hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.lx-hero-slide .lx-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}
.lx-hero-slide .lx-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,4,2,.88) 0%, rgba(5,4,2,.45) 50%, rgba(5,4,2,.08) 100%);
  z-index: 1;
}
.lx-hero-slide .lx-hero__content {
  position: relative;
  z-index: 3;
  padding: 0 32px 80px;
  max-width: 640px;
  width: 100%;
}
.lx-hero-slide .lx-hero__eyebrow {
  font-family: var(--lx-font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--lx-gold);
  margin-bottom: 16px;
  display: block;
}
.lx-hero-slide .lx-hero__title {
  font-family: var(--lx-font-serif);
  font-size: clamp(52px, 12vw, 110px);
  font-weight: 300;
  line-height: .92;
  color: var(--lx-white);
  margin: 0 0 24px;
  letter-spacing: -1px;
}
.lx-hero-slide .lx-hero__sub {
  font-family: var(--lx-font-sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.72);
  margin: 0 0 32px;
  line-height: 1.7;
  max-width: 380px;
}
.lx-hero-slide .lx-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.lx-hero-slide .lx-hero__badge {
  position: absolute;
  bottom: 80px;
  right: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--lx-font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--lx-white);
  letter-spacing: .5px;
}

/* Slider controls */
.lx-slider-prev,
.lx-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--lx-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.lx-slider-prev { left: 20px; }
.lx-slider-next { right: 20px; }
.lx-slider-prev:hover,
.lx-slider-next:hover { background: rgba(255,255,255,.28); }

.lx-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}
.lx-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  transition: all .25s;
  padding: 0;
  flex-shrink: 0;
}
.lx-dot.active {
  background: var(--lx-white);
  width: 26px;
  border-radius: 4px;
}

/* NAV transparent on hero slider */
body:has(.lx-hero-slider) .topnav.glass-nav {
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: none !important;
}
body:has(.lx-hero-slider) .topnav .brand { color: var(--lx-white) !important; }
body:has(.lx-hero-slider) .topnav .nav-link { color: rgba(255,255,255,.82) !important; }
body:has(.lx-hero-slider) .topnav .icon-btn { color: var(--lx-white) !important; }
body:has(.lx-hero-slider) .topnav .lang-btn { color: rgba(255,255,255,.55) !important; }

/* ══════════════════════════════════════════
   PROMO BAR — FIXED
══════════════════════════════════════════ */
.lx-promo-bar {
  background: var(--lx-dark);
  padding: 0;
  overflow: hidden;
}
.lx-promo-bar__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 100%;
  flex-wrap: nowrap;
}
.lx-promo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--lx-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .8px;
  color: rgba(255,255,255,.72);
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.08);
  flex: 1;
  justify-content: center;
}
.lx-promo-item:last-child { border-right: none; }
.lx-promo-item svg { color: var(--lx-gold); flex-shrink: 0; }
.lx-promo-sep { display: none; }

/* Bottom nav — fix Search text */
.bnav-item span {
  font-size: 9px !important;
  letter-spacing: .3px;
  line-height: 1.2;
}

/* Price filter */
.lx-products-header__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.lx-price-filter {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lx-price-input {
  width: 68px;
  padding: 9px 10px;
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius);
  font-family: var(--lx-font-sans);
  font-size: 12px;
  color: var(--lx-text);
  background: var(--lx-surface);
  outline: none;
}
.lx-price-input:focus { border-color: var(--lx-dark); }

/* Responsive */
@media (max-width: 768px) {
  .lx-hero-slide .lx-hero__content { padding: 0 20px 72px; }
  .lx-hero-slide .lx-hero__badge { right: 20px; bottom: 72px; }
  .lx-slider-prev, .lx-slider-next { display: none; }
  .lx-promo-bar__inner { flex-wrap: wrap; }
  .lx-promo-item { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 10px; padding: 10px 12px; }
  .lx-products-header__controls { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .lx-promo-item { flex: 0 0 100%; }
}

/* ── RTL FIXES ── */
[dir="rtl"] .topnav .nav-inner {
  flex-direction: row-reverse;
}
[dir="rtl"] .lx-hero-slide .lx-hero__content {
  padding: 0 28px 80px;
  text-align: right;
}
[dir="rtl"] .lx-hero-slide .lx-hero__actions {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
[dir="rtl"] .lx-hero-slide .lx-hero__badge {
  left: 24px;
  right: auto;
}
[dir="rtl"] .lx-hero-slide h1 {
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}
[dir="rtl"] .lx-hero-slide p {
  line-height: 1.8 !important;
}
[dir="rtl"] .lx-section__head--between {
  flex-direction: row-reverse;
}
[dir="rtl"] .lx-cat-card__body {
  text-align: right;
}
[dir="rtl"] .lx-product-card__info {
  text-align: right;
}
[dir="rtl"] .lx-modal__body {
  text-align: right;
}
[dir="rtl"] .lx-promise__inner {
  direction: rtl;
}
[dir="rtl"] .lx-cart-layout {
  direction: rtl;
}
[dir="rtl"] .lx-checkout-form {
  text-align: right;
}
[dir="rtl"] .lx-form-label {
  text-align: right;
}
[dir="rtl"] .lx-summary-row {
  flex-direction: row-reverse;
}
[dir="rtl"] .bottom-nav {
  direction: rtl;
}
[dir="rtl"] .lx-products-header__inner {
  flex-direction: row-reverse;
}
[dir="rtl"] .lx-cat-pills {
  flex-direction: row-reverse;
  flex-wrap: wrap;
}
[dir="rtl"] .lx-products-header__controls {
  flex-direction: row-reverse;
}
[dir="rtl"] .lx-section__head {
  text-align: right;
}
[dir="rtl"] .lx-newsletter__form {
  flex-direction: row-reverse;
}
/* Arabic font size boost */
[dir="rtl"] .lx-hero-slide h1 {
  font-size: clamp(44px, 10vw, 90px) !important;
}
[dir="rtl"] .lx-product-card__name,
[dir="rtl"] .lx-modal__name,
[dir="rtl"] .lx-section__title,
[dir="rtl"] .lx-promise__title {
  font-family: 'Cairo', sans-serif !important;
}

/* ══════════════════════════════
   ARABIC FONT COMPREHENSIVE FIX
══════════════════════════════ */

/* Force Arabic font everywhere */
[dir="rtl"] * {
  font-family: 'Cairo', 'Inter', system-ui, sans-serif;
}

/* Hero title Arabic - bigger and clear */
[dir="rtl"] #heroSlider h1 {
  font-family: 'Cairo', sans-serif !important;
  font-size: clamp(40px, 10vw, 80px) !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  text-align: right !important;
}

/* Hero sub Arabic */
[dir="rtl"] #heroSlider p {
  font-family: 'Cairo', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
  text-align: right !important;
}

/* Hero eyebrow Arabic */
[dir="rtl"] #heroSlider div[style*="letter-spacing:4px"] {
  font-family: 'Cairo', sans-serif !important;
  text-align: right !important;
  direction: rtl !important;
}

/* Hero content RTL alignment */
[dir="rtl"] #heroSlider > div > div[style*="position:absolute;bottom:0"] {
  text-align: right !important;
  direction: rtl !important;
}

/* Buttons RTL */
[dir="rtl"] #heroSlider a {
  font-family: 'Cairo', sans-serif !important;
  letter-spacing: 0 !important;
}

/* Section titles Arabic */
[dir="rtl"] .lx-section__title,
[dir="rtl"] .lx-promise__title,
[dir="rtl"] .lx-newsletter__title,
[dir="rtl"] .lx-page-header__title,
[dir="rtl"] .lx-cart-summary__title,
[dir="rtl"] .lx-account-title {
  font-family: 'Cairo', sans-serif !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
}

/* Product names Arabic */
[dir="rtl"] .lx-product-card__name,
[dir="rtl"] .lx-modal__name,
[dir="rtl"] .lx-cat-card__name {
  font-family: 'Cairo', sans-serif !important;
  line-height: 1.5 !important;
}

/* Labels Arabic */
[dir="rtl"] .lx-label,
[dir="rtl"] .lx-product-card__cat,
[dir="rtl"] .lx-modal__cat {
  font-family: 'Cairo', sans-serif !important;
  letter-spacing: 0 !important;
}

/* Slider arrow - fix for RTL (right arrow = go back) */
[dir="rtl"] #heroSlider button[onclick="slideMove(-1)"] {
  right: auto !important;
  left: 16px !important;
}
[dir="rtl"] #heroSlider button[onclick="slideMove(1)"] {
  left: auto !important;
  right: 16px !important;
}

/* Remove gray arrow tab on side */
.lx-slider-tab { display: none !important; }

/* ══════════════════════════════
   CAIRO FONT — ARABIC COMPLETE FIX
══════════════════════════════ */
[dir="rtl"] * {
  font-family: 'Cairo', sans-serif !important;
  line-height: 1.7 !important;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 {
  font-family: 'Cairo', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}
[dir="rtl"] #heroSlider h1 {
  font-family: 'Cairo', sans-serif !important;
  font-size: clamp(36px, 9vw, 72px) !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
}
[dir="rtl"] #heroSlider p {
  font-family: 'Cairo', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
  font-weight: 400 !important;
}
[dir="rtl"] .lx-section__title,
[dir="rtl"] .lx-promise__title,
[dir="rtl"] .lx-newsletter__title {
  font-family: 'Cairo', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}
[dir="rtl"] .lx-product-card__name {
  font-family: 'Cairo', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
[dir="rtl"] .lx-btn {
  font-family: 'Cairo', sans-serif !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
}
[dir="rtl"] .lx-label,
[dir="rtl"] .lx-product-card__cat,
[dir="rtl"] .lx-cat-pill,
[dir="rtl"] .lx-trust__item {
  font-family: 'Cairo', sans-serif !important;
  letter-spacing: 0 !important;
}
/* Stats numbers stay serif/latin */
[dir="rtl"] .lx-stat__num {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 300 !important;
}

/* ══════════════════════════════
   SUCCESS PAGE
══════════════════════════════ */
.lx-success-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lx-success-hero {
  text-align: center;
  padding: 48px 24px;
  background: var(--lx-surface);
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius-lg);
}
.lx-success-icon {
  width: 72px;
  height: 72px;
  background: rgba(200,169,126,.1);
  border: 1px solid rgba(200,169,126,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.lx-success-title {
  font-family: var(--lx-font-serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--lx-text);
  margin: 0 0 10px;
}
.lx-success-sub {
  font-family: var(--lx-font-sans);
  font-size: 14px;
  color: var(--lx-muted);
  margin: 0 0 20px;
  line-height: 1.7;
}
.lx-order-number {
  display: inline-block;
  background: var(--lx-bg);
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius);
  padding: 10px 20px;
  font-family: var(--lx-font-sans);
  font-size: 13px;
  color: var(--lx-text);
  letter-spacing: 1px;
}
.lx-order-number strong { color: var(--lx-gold); font-size: 15px; }

/* Timeline */
.lx-success-timeline {
  background: var(--lx-surface);
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lx-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 0;
}
.lx-timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lx-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--lx-white);
}
.lx-timeline-dot--empty {
  background: var(--lx-bg);
  border: 2px solid var(--lx-border);
}
.lx-timeline-line {
  width: 2px;
  height: 20px;
  background: var(--lx-border);
  margin: 0 0 0 15px;
}
.lx-timeline-label {
  font-family: var(--lx-font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--lx-text);
  margin: 0 0 4px;
}
.lx-timeline-time {
  font-family: var(--lx-font-sans);
  font-size: 11px;
  color: var(--lx-muted);
  margin: 0;
}
.lx-timeline-item--pending .lx-timeline-label { color: var(--lx-muted); font-weight: 400; }

/* Cards */
.lx-success-card {
  background: var(--lx-surface);
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius-lg);
  padding: 24px;
}
.lx-success-card__title {
  font-family: var(--lx-font-serif);
  font-size: 18px;
  font-weight: 300;
  color: var(--lx-text);
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--lx-border);
}
.lx-success-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.lx-success-item { display: flex; justify-content: space-between; font-family: var(--lx-font-sans); font-size: 13px; color: var(--lx-muted); }
.lx-success-item__price { font-weight: 600; color: var(--lx-text); }
.lx-success-totals { border-top: 1px solid var(--lx-border); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.lx-success-row { display: flex; justify-content: space-between; font-family: var(--lx-font-sans); font-size: 13px; color: var(--lx-muted); }
.lx-success-row--total { font-size: 16px; font-weight: 700; color: var(--lx-text); }
.lx-success-disc { color: var(--lx-success); }

/* Info rows */
.lx-success-info { display: flex; flex-direction: column; gap: 12px; }
.lx-success-info-row { display: flex; align-items: center; gap: 10px; font-family: var(--lx-font-sans); font-size: 13px; color: var(--lx-text); }

/* Notice */
.lx-success-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(200,169,126,.08);
  border: 1px solid rgba(200,169,126,.2);
  border-radius: var(--lx-radius);
  padding: 16px;
  font-family: var(--lx-font-sans);
  font-size: 12px;
  color: var(--lx-muted);
  line-height: 1.7;
}

/* CTA */
.lx-success-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* RTL success */
[dir="rtl"] .lx-success-hero,
[dir="rtl"] .lx-success-card { direction: rtl; text-align: right; }
[dir="rtl"] .lx-success-title,
[dir="rtl"] .lx-success-card__title { font-family: 'Cairo', sans-serif !important; }
[dir="rtl"] .lx-timeline-item { flex-direction: row-reverse; }
[dir="rtl"] .lx-timeline-line { margin: 0 15px 0 0; }
[dir="rtl"] .lx-success-item,
[dir="rtl"] .lx-success-row { flex-direction: row-reverse; }
[dir="rtl"] .lx-success-info-row { flex-direction: row-reverse; }
[dir="rtl"] .lx-success-notice { flex-direction: row-reverse; text-align: right; }

/* ══════════════════════════════════════════════════════════════
   PREMIUM HOMEPAGE REDESIGN — كل قسم شكله وحركته مختلفة عمدًا
   ══════════════════════════════════════════════════════════════ */

/* Reveal on scroll — micro-interaction بسيطة */
.lx-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.lx-reveal.lx-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .lx-reveal { opacity: 1; transform: none; transition: none; }
}

/* Hero typography (كانت inline styles متفرقة، توحّدت هون) */
.lx-hero__eyebrow { font-family: var(--lx-font-sans); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lx-gold); margin-bottom: 12px; }
html[lang="ar"] .lx-hero__eyebrow { font-family: var(--lx-font-ar); letter-spacing: 0; }
.lx-hero__title { font-family: var(--lx-font-serif); font-size: clamp(48px,11vw,96px); font-weight: 300; line-height: 1.05; color: var(--lx-white); margin: 0 0 18px; letter-spacing: -1px; }
html[lang="ar"] .lx-hero__title { font-family: var(--lx-font-ar); font-size: clamp(36px,9vw,64px); font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.lx-hero__sub { font-family: var(--lx-font-sans); font-size: 14px; font-weight: 300; color: rgba(255,255,255,.75); margin: 0 0 24px; line-height: 1.7; max-width: 480px; }
html[lang="ar"] .lx-hero__sub { font-family: var(--lx-font-ar); font-weight: 400; line-height: 1.9; }
/* أزرار الـHero تستخدم نظام .lx-btn الموحّد فعليًا (lx-btn + lx-btn--dark/outline-light) —
   لا حاجة لنظام أزرار منفصل هون، كان تكرارًا غير ضروري بالتصميم السابق */
.lx-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); color: var(--lx-white); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 20px; transition: var(--lx-transition-fast); }
.lx-hero__arrow:hover { background: rgba(255,255,255,.28); }
.lx-hero__arrow--prev { left: 16px; }
.lx-hero__arrow--next { right: 16px; }

/* Promo bar */
.lx-promobar { background: var(--lx-dark); display: flex; flex-wrap: wrap; }
.lx-promobar__item { display: flex; align-items: center; gap: 8px; padding: 13px 20px; font-family: var(--lx-font-sans); font-size: 11px; font-weight: 500; letter-spacing: .5px; color: rgba(255,255,255,.75); flex: 1; min-width: 50%; justify-content: center; border-right: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
html[lang="ar"] .lx-promobar__item { font-family: var(--lx-font-ar); letter-spacing: 0; }

/* Section title extras */
.lx-section__title--light { color: var(--lx-white); }
.lx-link-arrow--light { color: rgba(255,255,255,.7); }
.lx-link-arrow--light:hover { color: var(--lx-white); }
.lx-section--dark { background: #14100D; border-radius: var(--lx-radius-xl); }

/* ── 1. Luxury Categories: Editorial Tiles (لا دوائر — مُصلَح صراحة
   لأن الدوائر بصف أفقي = نمط Instagram Stories حرفيًا، ممنوع صراحة) ── */
.lx-cat-tiles { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.lx-cat-tiles::-webkit-scrollbar { display: none; }
.lx-cat-tile { position: relative; flex: 0 0 160px; aspect-ratio: 3/4; border-radius: var(--lx-radius); overflow: hidden; text-decoration: none; }
.lx-cat-tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--lx-transition-slow); }
.lx-cat-tile:hover .lx-cat-tile__img { transform: scale(1.06); }
.lx-cat-tile__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 45%); }
.lx-cat-tile__label { position: absolute; bottom: 16px; left: 16px; right: 16px; font-family: var(--lx-font-sans); font-size: 13px; font-weight: 600; color: var(--lx-white); }
html[lang="ar"] .lx-cat-tile__label { font-family: var(--lx-font-ar); }

/* ── 2. Flash Deals: Horizontal Carousel ── */
.lx-carousel { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lx-carousel::-webkit-scrollbar { display: none; }
.lx-carousel > .lx-product-card { flex: 0 0 220px; scroll-snap-align: start; }
.lx-product-card--flash .lx-product-card__name,
.lx-product-card--flash .lx-product-card__price { color: var(--lx-white); }
.lx-product-card--flash .lx-product-card__compare { color: rgba(255,255,255,.45); }

/* ── 3. Trending Now: Editorial Asymmetric Grid ── */

/* ── 4. Editorial Banner: Full-bleed ── */
.lx-editorial-banner { position: relative; min-height: 480px; display: flex; align-items: center; overflow: hidden; margin: var(--lx-space-lg) 0; }
.lx-editorial-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lx-editorial-banner__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,8,6,.82) 0%, rgba(10,8,6,.35) 60%, rgba(10,8,6,.1) 100%); }
[dir="rtl"] .lx-editorial-banner__overlay { background: linear-gradient(270deg, rgba(10,8,6,.82) 0%, rgba(10,8,6,.35) 60%, rgba(10,8,6,.1) 100%); }
.lx-editorial-banner__content { position: relative; z-index: 2; max-width: 520px; padding: 0 48px; }
.lx-editorial-banner__title { font-family: var(--lx-font-serif); font-size: clamp(28px,4vw,42px); font-weight: 300; color: var(--lx-white); line-height: 1.2; margin: 12px 0 16px; }
html[lang="ar"] .lx-editorial-banner__title { font-family: var(--lx-font-ar); font-weight: 700; line-height: 1.5; }
.lx-editorial-banner__sub { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.8; margin-bottom: 28px; }

/* ── 5. New Arrivals: Masonry Rhythm (بدون JS، إيقاع بصري عبر CSS) ── */
.lx-masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lx-masonry__item:nth-child(3n+2) .lx-product-card__img-wrap { aspect-ratio: 3/4; }
.lx-masonry__item:nth-child(3n+1) .lx-product-card__img-wrap,
.lx-masonry__item:nth-child(3n+3) .lx-product-card__img-wrap { aspect-ratio: 1/1; }

/* ── 6. Why LUXORA: Trust Grid ── */
.lx-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--lx-space-lg); margin-top: var(--lx-space-lg); }
.lx-why-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lx-why-item h3 { font-family: var(--lx-font-serif); font-size: 18px; font-weight: 400; color: var(--lx-text); margin: 0; }
html[lang="ar"] .lx-why-item h3 { font-family: var(--lx-font-ar); font-weight: 700; }
.lx-why-item p { font-size: 13px; color: var(--lx-muted); line-height: 1.7; margin: 0; max-width: 220px; }

@media (max-width: 900px) {
  .lx-masonry { grid-template-columns: repeat(2, 1fr); }
  .lx-why-grid { grid-template-columns: repeat(2, 1fr); }
  .lx-editorial-banner__content { padding: 0 28px; max-width: 100%; }
}
@media (max-width: 600px) {
  .lx-cat-tile { flex-basis: 120px; }
  .lx-carousel > .lx-product-card { flex-basis: 160px; }
  .lx-editorial-banner { min-height: 380px; }
  .lx-promobar__item { min-width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   Premium Account Dashboard — إعادة بناء كاملة.
   قاعدة صارمة: أي رقم/محتوى هون إما حقيقي 100%، أو موسوم "Coming Soon"
   بوضوح — صفر بيانات ملفَّقة (لا مستوى عضوية وهمي، لا نقاط XP وهمية).
   ══════════════════════════════════════════════════════════════ */
.lx-dash { max-width: 720px; margin: 0 auto; padding: 0 20px 80px; }

/* Profile header */
.lx-dash-header { display: flex; align-items: center; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--lx-border); margin-bottom: 28px; }
.lx-dash-avatar { width: 68px; height: 68px; border-radius: 50%; background: var(--lx-bg); border: 1.5px solid var(--lx-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lx-dash-header__name { font-family: var(--lx-font-serif); font-size: 22px; font-weight: 400; color: var(--lx-text); margin: 0 0 6px; }
html[lang="ar"] .lx-dash-header__name { font-family: var(--lx-font-ar); font-weight: 700; }
.lx-dash-header__tier { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lx-dash-tier-badge { font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--lx-gold-dark); background: rgba(200,169,126,.12); padding: 4px 10px; border-radius: var(--lx-radius-full); }
.lx-dash-soon-text { font-size: 11px; color: var(--lx-muted); font-style: italic; }

/* Stat cards row */
.lx-dash-stats { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 32px; scrollbar-width: none; }
.lx-dash-stats::-webkit-scrollbar { display: none; }
.lx-dash-stat-card { position: relative; flex: 0 0 128px; background: var(--lx-surface); border: 1px solid var(--lx-border); border-radius: var(--lx-radius-lg); padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; transition: var(--lx-transition-fast); }
.lx-dash-stat-card:hover { border-color: var(--lx-gold); box-shadow: var(--lx-shadow); transform: translateY(-2px); }
.lx-dash-stat-card--soon { opacity: .55; cursor: default; }
.lx-dash-stat-card--soon:hover { transform: none; box-shadow: none; border-color: var(--lx-border); }
.lx-dash-stat-card__icon { color: var(--lx-gold-dark); }
.lx-dash-stat-card__value { font-family: var(--lx-font-serif); font-size: 26px; font-weight: 400; color: var(--lx-text); }
.lx-dash-stat-card__label { font-size: 11px; color: var(--lx-muted); font-weight: 600; letter-spacing: .3px; }
html[lang="ar"] .lx-dash-stat-card__label { font-weight: 500; }
.lx-dash-stat-card__previews { display: flex; margin-top: 4px; }
.lx-dash-stat-card__previews img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lx-surface); margin-inline-start: -8px; }
.lx-dash-stat-card__previews img:first-child { margin-inline-start: 0; }
.lx-dash-soon-pill { font-size: 9px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--lx-muted); background: var(--lx-bg); padding: 3px 8px; border-radius: var(--lx-radius-full); align-self: flex-start; margin-top: 4px; }

/* Sections */
.lx-dash-section { margin-bottom: 32px; }
.lx-dash-section__title { font-family: var(--lx-font-serif); font-size: 19px; font-weight: 400; color: var(--lx-text); margin: 0 0 14px; }
html[lang="ar"] .lx-dash-section__title { font-family: var(--lx-font-ar); font-weight: 700; }

/* Order CTA (replaces fabricated order history) */
.lx-dash-order-cta { display: flex; align-items: center; gap: 16px; background: var(--lx-surface); border: 1px solid var(--lx-border); border-radius: var(--lx-radius-lg); padding: 20px; }
.lx-dash-order-cta__icon { flex-shrink: 0; }
.lx-dash-order-cta__text { flex: 1; min-width: 0; }
.lx-dash-order-cta__title { font-size: 14px; font-weight: 600; color: var(--lx-text); margin: 0 0 3px; }
.lx-dash-order-cta__desc { font-size: 12px; color: var(--lx-muted); margin: 0; line-height: 1.5; }

/* Honest empty/soon state */
.lx-dash-empty-soon { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 32px 20px; background: var(--lx-bg); border-radius: var(--lx-radius-lg); color: var(--lx-muted); font-size: 13px; }

/* Loyalty teaser card */
.lx-dash-loyalty-card { background: linear-gradient(135deg, #0F1B3C, #2A241C); border-radius: var(--lx-radius-xl); padding: 28px 24px; color: var(--lx-white); }
.lx-dash-loyalty-card h3 { font-family: var(--lx-font-serif); font-size: 22px; font-weight: 400; margin: 8px 0 8px; }
html[lang="ar"] .lx-dash-loyalty-card h3 { font-family: var(--lx-font-ar); font-weight: 700; }
.lx-dash-loyalty-card p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.7; margin: 0; max-width: 400px; }
.lx-dash-loyalty-card .lx-dash-soon-pill { background: rgba(255,255,255,.12); color: var(--lx-gold); }

/* Menu list */
.lx-dash-menu { background: var(--lx-surface); border: 1px solid var(--lx-border); border-radius: var(--lx-radius-lg); overflow: hidden; }
.lx-dash-menu__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none; border-bottom: 1px solid var(--lx-border); transition: var(--lx-transition-fast); }
.lx-dash-menu__item:last-child { border-bottom: none; }
.lx-dash-menu__item:not(.lx-dash-menu__item--soon):hover { background: var(--lx-bg); }
.lx-dash-menu__item--soon { opacity: .5; }
.lx-dash-menu__icon { color: var(--lx-gold-dark); flex-shrink: 0; width: 19px; }
.lx-dash-menu__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lx-dash-menu__title { font-size: 14px; font-weight: 600; color: var(--lx-text); }
.lx-dash-menu__sub { font-size: 11.5px; color: var(--lx-muted); }
.lx-dash-menu__arrow { color: var(--lx-muted); font-size: 18px; transform: scaleX(-1); flex-shrink: 0; }
[dir="rtl"] .lx-dash-menu__arrow { transform: scaleX(1); }
.lx-dash-menu__item--lang { flex-wrap: wrap; }
.lx-dash-menu__lang-switch { display: flex; gap: 6px; }
.lx-dash-lang-pill { font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 5px 10px; border-radius: var(--lx-radius-full); border: 1px solid var(--lx-border); color: var(--lx-muted); text-decoration: none; }
.lx-dash-lang-pill.active { background: var(--lx-dark); color: var(--lx-white); border-color: var(--lx-dark); }

.lx-dash-cta-row { margin-top: 8px; }

@media (max-width: 600px) {
  .lx-dash-header { gap: 14px; }
  .lx-dash-avatar { width: 56px; height: 56px; }
  .lx-dash-header__name { font-size: 19px; }
  .lx-dash-stat-card { flex: 0 0 112px; padding: 14px 12px; }
}

/* ═══ Homepage — Top Category Icon Strip (شريط أيقونات دائري أعلى الرئيسية) ═══ */
.lx-cat-icons { display: flex; gap: 18px; overflow-x: auto; padding: 18px 4px; scrollbar-width: none; }
.lx-cat-icons::-webkit-scrollbar { display: none; }
.lx-cat-icon { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 0 auto; text-decoration: none; width: 68px; }
.lx-cat-icon__img-wrap { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; border: 1px solid var(--lx-border); flex-shrink: 0; }
.lx-cat-icon__img { width: 100%; height: 100%; object-fit: cover; }
.lx-cat-icon__label { font-size: 11px; font-weight: 500; color: var(--lx-text); text-align: center; line-height: 1.3; }


/* ═══ Live Search Dropdown ═══ */
.search-bar { position: relative; }
.lx-live-search-results {
  display: none;
  position: absolute; left: 24px; right: 24px; top: 100%;
  background: var(--lx-surface); border: 1px solid var(--lx-border); border-radius: var(--lx-radius-lg);
  box-shadow: var(--lx-shadow-lg, 0 12px 32px rgba(0,0,0,.14));
  max-height: 70vh; overflow-y: auto; z-index: 200; margin-top: 8px;
}
.lx-live-search-results.show { display: block; }
.lx-live-search-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-decoration: none; border-bottom: 1px solid var(--lx-border); }
.lx-live-search-item:last-child { border-bottom: none; }
.lx-live-search-item:hover { background: var(--lx-bg); }
.lx-live-search-item__img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.lx-live-search-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lx-live-search-item__name { font-size: 13px; font-weight: 500; color: var(--lx-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-live-search-item__meta { font-size: 11px; color: var(--lx-muted); display: flex; gap: 8px; }
.lx-live-search-item__price { font-weight: 600; color: var(--lx-text); }
.lx-live-search-empty { padding: 20px 14px; text-align: center; font-size: 13px; color: var(--lx-muted); }

/* ═══ Recently Viewed (PDP) ═══ */
.lx-pdp__recently-viewed { max-width: 1100px; margin: 0 auto 60px; padding: 0 20px; }

/* ═══ Low stock badge ═══ */
.lx-low-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--lx-danger); margin: 8px 0; }

/* ═══ Share / Copy Link ═══ */
.lx-pdp__share-row { display: flex; gap: 10px; margin: 14px 0; }
.lx-pdp__share-btn { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--lx-muted); background: none; border: 1px solid var(--lx-border); border-radius: var(--lx-radius-full); padding: 7px 14px; cursor: pointer; transition: var(--lx-transition-fast); }
.lx-pdp__share-btn:hover { border-color: var(--lx-gold); color: var(--lx-text); }

/* ═══ Image Zoom Lightbox ═══ */
.lx-zoom-overlay { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.92); align-items: center; justify-content: center; padding: 20px; }
.lx-zoom-overlay.show { display: flex; }
.lx-zoom-overlay img { max-width: 100%; max-height: 100%; object-fit: contain; touch-action: pinch-zoom; }
.lx-zoom-overlay__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; font-size: 20px; }
.lx-pdp-gallery-main { cursor: zoom-in; }

/* ═══ Checkout — validation & loading ═══ */
.lx-form-input.lx-input-error { border-color: var(--lx-danger) !important; }
.lx-form-error-msg { color: var(--lx-danger); font-size: 12px; margin-top: 4px; display: block; }
.lx-checkout-form button[type="submit"]:disabled,
.lx-checkout-form button.lx-is-loading { opacity: .6; cursor: not-allowed; }

/* ═══ Products — Availability filter checkbox ═══ */
.lx-avail-filter { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--lx-muted); cursor: pointer; white-space: nowrap; }
.lx-avail-filter input { accent-color: var(--lx-dark); width: 15px; height: 15px; cursor: pointer; }
#lxProductsGridWrap.lx-is-loading { opacity: .5; pointer-events: none; transition: opacity .2s ease; }

/* ══════════════════════════════════════════════════════════════
   Mega Menu — Data-Driven Category Navigation (Department→Category→Subcategory)
   لا أسماء ثابتة هنا؛ هذا فقط تنسيق بصري للبنية القادمة من CategoryEngine.
   ══════════════════════════════════════════════════════════════ */
.lx-mega-nav { display: flex; align-items: center; gap: 4px; position: relative; }
.lx-mega-item { position: relative; }
.lx-mega-item .lx-mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 480px;
  background: var(--cream, #E8D9C0);
  border: 1px solid rgba(15,27,60,.12);
  box-shadow: 0 18px 40px rgba(15,27,60,.14);
  padding: 22px 26px;
  gap: 28px;
  flex-wrap: wrap;
  z-index: 60;
}
.lx-mega-item.has-mega:hover .lx-mega-panel,
.lx-mega-item.has-mega:focus-within .lx-mega-panel { display: flex; }
.lx-mega-col { display: flex; flex-direction: column; min-width: 140px; gap: 6px; }
.lx-mega-col-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--lx-dark, #0F1B3C);
  font-weight: 500;
  margin-bottom: 4px;
  text-decoration: none;
}
.lx-mega-sub {
  font-size: 12px;
  color: var(--lx-muted, #6b6b6b);
  text-decoration: none;
  letter-spacing: .02em;
}
.lx-mega-sub:hover, .lx-mega-col-title:hover { color: var(--gold, #B8935A); }

.lx-mobile-dept {
  font-weight: 600;
  margin-top: 10px;
  display: block;
}
.lx-mobile-cat {
  font-size: 13px;
  opacity: .8;
  padding-inline-start: 14px;
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   PHASE 2 — Premium UX Refinement
   طبقة تنسيقات إضافية فقط (لا حذف لأي قاعدة قديمة). الهدف: تقليل
   الضجيج البصري بالهيدر، تسلسل أوضح للبطاقة، سلة مصغّرة، وطباعة
   أكثر انسجامًا. صفر تغيير على أي منطق خلفي.
   ══════════════════════════════════════════════════════════════ */

/* ── Header: تنفّس أكبر، محاذاة أدق للأيقونات ── */
.nav-inner { height: 76px; padding: 0 32px; }
.nav-actions { gap: 4px; }
.icon-btn { width: 38px; height: 38px; color: var(--lx-text); }
.icon-btn:hover { background: rgba(15,27,60,.06); color: var(--lx-gold-dark); }
.lx-mega-nav { gap: 2px; }
.lx-mega-nav .nav-link {
  font-family: var(--lx-font-sans);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 16px;
  color: var(--lx-text);
  opacity: .82;
}
.lx-mega-nav .nav-link:hover { opacity: 1; color: var(--lx-gold-dark); }
.brand { font-family: var(--lx-font-serif); font-size: 22px; letter-spacing: .08em; }

/* البحث كمحور بصري: أوسع وأوضح لما يُفتح */
.search-bar .search-input {
  font-family: var(--lx-font-serif);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: .01em;
}

/* ── Product Card: مساحة بيضاء أكبر، تسلسل أوضح للأزرار ── */
.lx-product-grid { gap: 32px 24px; }
.lx-product-card__info { padding-top: 2px; }
.lx-product-card__cat {
  font-family: var(--lx-font-sans);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lx-muted);
  display: block;
  margin-bottom: 4px;
}
.lx-product-card__name {
  font-family: var(--lx-font-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--lx-text);
  margin: 0 0 6px;
}
.lx-product-card__pricing { display: flex; align-items: baseline; gap: 8px; }
.lx-product-card__price { font-family: var(--lx-font-sans); font-size: 14px; font-weight: 600; color: var(--lx-text); }
.lx-product-card__compare { font-size: 12.5px; color: var(--lx-muted); text-decoration: line-through; }
/* تسلسل الأزرار: Wishlist ثانوي دائمًا، Quick-Add هو فعل الشراء الأساسي بالبطاقة */
.lx-card-wishlist { opacity: .85; }
.lx-quick-add { box-shadow: 0 4px 14px rgba(15,27,60,.18); }

/* ── Mini Cart Drawer ── */
.lx-cart-drawer {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: min(420px, 92vw);
  height: 100%;
  background: var(--lx-surface);
  z-index: 210;
  box-shadow: -18px 0 50px rgba(15,27,60,.18);
  transform: translateX(105%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  padding: 28px 26px calc(24px + env(safe-area-inset-bottom));
}
html[dir="rtl"] .lx-cart-drawer { transform: translateX(-105%); }
.lx-cart-drawer.open { transform: translateX(0); }
.lx-cart-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.lx-cart-drawer__head h3 { font-family: var(--lx-font-serif); font-size: 20px; font-weight: 400; margin: 0; }
.lx-cart-drawer__item { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--lx-border); border-bottom: 1px solid var(--lx-border); min-height: 90px; }
.lx-cart-drawer__img { width: 76px; height: 96px; object-fit: cover; border-radius: var(--lx-radius); background: var(--lx-placeholder-bg); flex-shrink: 0; }
.lx-cart-drawer__info { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.lx-cart-drawer__name { font-family: var(--lx-font-serif); font-size: 15px; line-height: 1.4; margin: 0; }
.lx-cart-drawer__price { font-family: var(--lx-font-sans); font-size: 13px; font-weight: 600; color: var(--lx-gold-dark); }
.lx-cart-drawer__summary { display: flex; align-items: center; justify-content: space-between; margin: 20px 0; font-family: var(--lx-font-sans); font-size: 14px; font-weight: 600; }
.lx-cart-drawer__actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.lx-cart-drawer-overlay {
  position: fixed; inset: 0; background: rgba(15,27,60,.45);
  z-index: 205; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.lx-cart-drawer-overlay.open { opacity: 1; pointer-events: auto; }

/* ── طباعة عامة أكثر انسجامًا ── */
body { line-height: 1.6; }
.lx-section__title { letter-spacing: .01em; }
.lx-btn { letter-spacing: .05em; }

/* ── Mobile: صفر overflow، الدرج يملأ العرض ── */
@media (max-width: 640px) {
  html, body { overflow-x: hidden; }
  .lx-cart-drawer { width: 100vw; padding: 22px 18px calc(20px + env(safe-area-inset-bottom)); }
  .nav-inner { height: 60px; padding: 0 16px; }
  .lx-product-grid { gap: 20px 14px; }
  .lx-mega-item .lx-mega-panel { position: fixed; left: 0; right: 0; top: 60px; min-width: 0; }
}

/* ── Cart & Checkout: مساحة أنظف، تسلسل أوضح لزر الدفع ── */
.lx-cart-layout { gap: 48px; }
.lx-cart-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--lx-border);
  gap: 20px;
}
.lx-cart-item__name { font-family: var(--lx-font-serif); font-size: 16px; margin: 2px 0 6px; }
.lx-cart-item__price { font-family: var(--lx-font-sans); font-size: 13px; color: var(--lx-muted); }
.lx-cart-summary {
  background: var(--lx-surface);
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius-lg);
  padding: 28px 26px;
}
.lx-cart-summary__title { font-family: var(--lx-font-serif); font-weight: 400; font-size: 18px; margin-bottom: 18px; }
/* زر الدفع الأساسي — أوضح تسلسل بصري: لون داكن كامل + letter-spacing أوسع */
.lx-cart-summary .lx-btn--dark,
.lx-checkout-form button[type="submit"] {
  width: 100%;
  padding: 16px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lx-checkout-form { max-width: 640px; }
.lx-checkout-form fieldset,
.lx-checkout-form .lx-checkout-step { margin-bottom: 28px; }

/* ══════════════════════════════════════════════════════════════
   PHASE 3 — International Luxury Marketplace Polish
   ══════════════════════════════════════════════════════════════ */

/* ── Footer: إعادة بناء كاملة بأصناف CSS بدل inline style ── */
.lx-footer { background: #0A1329; padding: 0 0 40px; margin-top: var(--lx-space-section); }
.lx-footer__trust {
  display: flex; flex-wrap: wrap; gap: 28px; justify-content: center;
  padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,.08);
  max-width: 1400px; margin: 0 auto;
}
.lx-footer__trust-item {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--lx-font-sans); font-size: 12px; letter-spacing: .04em;
  color: rgba(255,255,255,.6);
}
.lx-footer__trust-item svg { color: var(--lx-gold); flex-shrink: 0; }
.lx-footer__main {
  max-width: 1400px; margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px;
}
.lx-footer__col--brand { display: flex; flex-direction: column; gap: 16px; }
.lx-footer__brand { font-family: var(--lx-font-serif); font-size: 20px; letter-spacing: .3em; color: var(--lx-white); }
.lx-footer__tagline { color: rgba(255,255,255,.4); font-size: 12px; line-height: 1.8; max-width: 240px; }
.lx-footer__country {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.55); font-size: 12px;
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--lx-radius-full);
  padding: 8px 14px; width: fit-content;
}
.lx-footer__col-title {
  font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 16px;
}
.lx-footer__links { display: flex; flex-direction: column; gap: 10px; }
.lx-footer__links a { color: rgba(255,255,255,.6); font-size: 13px; text-decoration: none; transition: color .2s ease; }
.lx-footer__links a:hover { color: var(--lx-gold); }
.lx-footer__links a.active { color: var(--lx-gold); font-weight: 600; }
.lx-footer__social { display: flex; gap: 16px; justify-content: center; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); max-width: 1400px; margin: 0 auto; }
.lx-footer__social a { color: rgba(255,255,255,.5); font-size: 12px; text-decoration: none; }
.lx-footer__social a:hover { color: var(--lx-gold); }
.lx-footer__pay-icons { color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: .04em; }

/* ── Quick View Modal ── */
.lx-qv-overlay { position: fixed; inset: 0; background: rgba(15,27,60,.5); z-index: 205; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.lx-qv-overlay.open { opacity: 1; pointer-events: auto; }
.lx-qv-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -48%) scale(.97);
  width: min(880px, 92vw); max-height: 88vh; overflow: auto;
  background: var(--lx-surface); border-radius: var(--lx-radius-lg);
  z-index: 210; display: grid; grid-template-columns: 1fr 1fr;
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 30px 80px rgba(15,27,60,.3);
}
.lx-qv-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.lx-qv-modal__img-wrap { background: var(--lx-placeholder-bg); aspect-ratio: 3/4; }
.lx-qv-modal__img { width: 100%; height: 100%; object-fit: cover; }
.lx-qv-modal__info { padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.lx-qv-modal__name { font-family: var(--lx-font-serif); font-size: 26px; font-weight: 300; margin: 0; }
.lx-qv-modal__full-link { font-size: 12px; color: var(--lx-muted); text-decoration: none; text-align: center; margin-top: 6px; }
.lx-qv-modal__full-link:hover { color: var(--lx-gold-dark); }
.lx-qv-close { position: absolute; top: 16px; inset-inline-end: 16px; }
.lx-card-quickview {
  position: absolute; bottom: 8px; left: 8px;
  width: 36px; height: 36px; background: var(--lx-white); border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; transform: translateY(6px); transition: var(--lx-transition);
  box-shadow: var(--lx-shadow-float); color: var(--lx-dark);
}
[dir="rtl"] .lx-card-quickview { left: auto; right: 8px; }
.lx-product-card:hover .lx-card-quickview { opacity: 1; transform: translateY(0); }
.lx-card-quickview:hover { background: var(--lx-dark); color: var(--lx-white); }

/* ── Search Panel (الحالة الافتراضية: بحث سابق + فئات رائجة + trending) ── */
.lx-search-panel__section { padding: 16px 20px; border-bottom: 1px solid var(--lx-border); }
.lx-search-panel__section:last-child { border-bottom: none; }
.lx-search-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.lx-search-panel__head span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--lx-muted); font-weight: 600; }
.lx-search-panel__clear { background: none; border: none; font-size: 11px; color: var(--lx-gold-dark); cursor: pointer; }
.lx-search-panel__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-search-chip {
  font-size: 12px; padding: 6px 14px; border-radius: var(--lx-radius-full);
  border: 1px solid var(--lx-border); color: var(--lx-text); text-decoration: none;
  transition: var(--lx-transition-fast);
}
.lx-search-chip:hover { background: var(--lx-dark); color: var(--lx-white); border-color: var(--lx-dark); }

/* ── نظام أزرار موحّد: Primary / Secondary / Ghost / Outline (Aliases فوق الأصناف الحالية، صفر كسر) ── */
.lx-btn--primary { background: var(--lx-dark); color: var(--lx-white); }
.lx-btn--primary:hover { background: var(--lx-gold-dark); transform: translateY(-1px); box-shadow: var(--lx-shadow-lg); }
.lx-btn--secondary { background: var(--lx-gold); color: var(--lx-dark); }
.lx-btn--secondary:hover { background: var(--lx-gold-dark); transform: translateY(-1px); }
.lx-btn--outline { background: none; border: 1px solid var(--lx-dark); color: var(--lx-dark); }
.lx-btn--outline:hover { background: var(--lx-dark); color: var(--lx-white); }
.lx-btn--ghost { background: none; border: none; color: var(--lx-text); padding: 0 8px; min-height: auto; text-transform: none; letter-spacing: normal; font-weight: 500; }
.lx-btn--ghost:hover { color: var(--lx-gold-dark); }

/* ── Forms: مدخلات فاخرة موحّدة ── */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="search"], textarea, select {
  font-family: var(--lx-font-sans);
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius);
  padding: 13px 16px;
  font-size: 14px;
  color: var(--lx-text);
  background: var(--lx-surface);
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--lx-gold);
  box-shadow: 0 0 0 3px rgba(184,147,90,.15);
}
input[type="checkbox"], input[type="radio"] {
  width: 18px; height: 18px; accent-color: var(--lx-dark); cursor: pointer;
}
label { font-size: 13px; color: var(--lx-text); }

/* ── Manifesto Section (Homepage storytelling — Apple-style statement) ── */
.lx-manifesto {
  max-width: 760px; margin: 0 auto; padding: var(--lx-space-section) 24px;
  text-align: center;
}
.lx-manifesto__eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--lx-gold-dark); }
.lx-manifesto__title {
  font-family: var(--lx-font-serif); font-weight: 300; font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3; margin: 18px 0; color: var(--lx-text);
}
.lx-manifesto__pillars { display: flex; justify-content: center; gap: 40px; margin-top: 32px; flex-wrap: wrap; }
.lx-manifesto__pillar { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lx-muted); position: relative; }
.lx-manifesto__pillar::before { content: '—'; margin-inline-end: 8px; color: var(--lx-gold); }

/* ── Animations: ناعمة واحترافية بدل transitions مفاجئة ── */
.lx-reveal { transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.lx-cat-tile, .lx-product-card__img-wrap { transition: box-shadow .4s ease, transform .4s cubic-bezier(.2,.8,.2,1); }

/* ── Responsive: فوتر وQuick View وManifesto ── */
@media (max-width: 900px) {
  .lx-qv-modal { grid-template-columns: 1fr; width: 92vw; }
  .lx-qv-modal__img-wrap { aspect-ratio: 4/3; }
  .lx-footer__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .lx-footer__main { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 24px; }
  .lx-footer__trust { gap: 16px; padding: 18px 16px; }
  .lx-manifesto__pillars { gap: 20px; }
  .lx-qv-modal__info { padding: 24px; }
}

/* ── Product Page: معرض ثابت أثناء التمرير (Sticky Gallery) + صف التوصيل/الدفع ── */
@media (min-width: 901px) {
  .lx-pdp__main-img-wrap { position: sticky; top: 100px; }
}
.lx-pdp__delivery-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--lx-muted); margin: 14px 0 6px;
}
.lx-pdp__delivery-row svg { color: var(--lx-gold-dark); flex-shrink: 0; }
.lx-pdp__payment-row { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--lx-muted); margin-bottom: 18px; }
.lx-pdp__payment-label { font-weight: 600; }

/* ══════════════════════════════════════════════════════════════
   PHASE 4 — Rising Thread Identity, Motion, Account Dropdown,
   Empty States, Skeleton Loading
   ══════════════════════════════════════════════════════════════ */

/* ── Rising Thread — فاصل زخرفي بين الأقسام (هوية بصرية خفيفة) ── */
.lx-thread-divider {
  display: flex; justify-content: center; margin: 0 auto; padding: 36px 0 0;
  width: 120px;
  -webkit-mask-image: linear-gradient(to right, black 55%, transparent 100%);
  mask-image: linear-gradient(to right, black 55%, transparent 100%);
}
.lx-thread-divider--dark svg circle,
.lx-thread-divider--dark svg path { opacity: .8; }

/* ── Brand Story section (سرد Rise → Roots → Legacy) ── */
.lx-brand-story {
  max-width: 1200px; margin: 0 auto; padding: var(--lx-space-section) 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.lx-brand-story__img-wrap { border-radius: var(--lx-radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.lx-brand-story__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
.lx-brand-story:hover .lx-brand-story__img { transform: scale(1.04); }
.lx-brand-story__eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--lx-gold-dark); }
.lx-brand-story__title { font-family: var(--lx-font-serif); font-weight: 300; font-size: clamp(26px, 3vw, 36px); line-height: 1.3; margin: 16px 0 20px; }
.lx-brand-story__text { font-size: 14.5px; line-height: 1.95; color: var(--lx-muted); margin-bottom: 14px; }
.lx-brand-story__pillars { display: flex; gap: 28px; margin-top: 24px; flex-wrap: wrap; }
.lx-brand-story__pillar { display: flex; flex-direction: column; gap: 4px; }
.lx-brand-story__pillar strong { font-family: var(--lx-font-serif); font-size: 18px; color: var(--lx-text); }
.lx-brand-story__pillar span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--lx-muted); }

/* ── Featured Collections (من CategoryEngine::collections()) ── */
.lx-collections-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.lx-collection-card { position: relative; border-radius: var(--lx-radius-lg); overflow: hidden; aspect-ratio: 3/4; text-decoration: none; display: block; }
.lx-collection-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.8,.2,1); }
.lx-collection-card:hover .lx-collection-card__img { transform: scale(1.08); }
.lx-collection-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,27,60,.75) 0%, rgba(15,27,60,.05) 55%); }
.lx-collection-card__label { position: absolute; bottom: 20px; left: 20px; right: 20px; color: #fff; }
.lx-collection-card__eyebrow { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; display: block; margin-bottom: 4px; }
.lx-collection-card__name { font-family: var(--lx-font-serif); font-size: 19px; font-weight: 400; }

/* ── Motion: صور تكبر ببطء، بطاقات ترتفع بنعومة، أزرار "تتنفس" ── */
.lx-product-card__img { transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.lx-product-card:hover .lx-product-card__img { transform: scale(1.05); }
.lx-cat-tile__img { transition: transform 1.3s cubic-bezier(.2,.8,.2,1); }
.lx-cat-tile:hover .lx-cat-tile__img { transform: scale(1.06); }
@keyframes lxBreathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(184,147,90,.25); } 50% { box-shadow: 0 0 0 6px rgba(184,147,90,0); } }
.lx-btn--primary:focus-visible, .lx-btn--dark:focus-visible { animation: lxBreathe 1.6s ease-out; }
.lx-btn { transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background-color .25s ease; }
.lx-btn:active { transform: scale(.97); }
.icon-btn { transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.icon-btn:active { transform: scale(.92); }
a, button { -webkit-tap-highlight-color: transparent; }

/* ── Account Dropdown (Header) ── */
.lx-account-panel {
  display: none;
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0;
  width: 260px; background: var(--lx-surface); border-radius: var(--lx-radius-lg);
  box-shadow: 0 18px 45px rgba(15,27,60,.16); z-index: 60; overflow: hidden;
}
.lx-account-trigger.open .lx-account-panel,
.lx-account-panel.open { display: block; }
.lx-account-panel__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--lx-border); }
.lx-account-panel__avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--lx-bg);
  display: flex; align-items: center; justify-content: center; color: var(--lx-gold-dark); flex-shrink: 0;
}
.lx-account-panel__name { font-family: var(--lx-font-serif); font-size: 15px; }
.lx-account-panel__sub { font-size: 11px; color: var(--lx-muted); }
.lx-account-panel__links { display: flex; flex-direction: column; padding: 8px 0; }
.lx-account-panel__links a {
  display: flex; align-items: center; gap: 10px; padding: 11px 20px;
  font-size: 13px; color: var(--lx-text); text-decoration: none; transition: background .15s ease;
}
.lx-account-panel__links a:hover { background: var(--lx-bg); color: var(--lx-gold-dark); }
.lx-account-panel__links svg { flex-shrink: 0; color: var(--lx-muted); }

/* ── Empty States: أكبر، أهدأ، أفخم ── */
.lx-empty {
  text-align: center; padding: 80px 24px; max-width: 420px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.lx-empty svg {
  width: 56px; height: 56px; padding: 18px; border-radius: 50%;
  background: var(--lx-bg); color: var(--lx-gold-dark); margin-bottom: 14px;
}
.lx-empty__title { font-family: var(--lx-font-serif); font-size: 20px; font-weight: 400; color: var(--lx-text); margin: 0; }

/* ── Skeleton Loading ── */
.lx-skeleton-grid { pointer-events: none; }
.lx-skeleton-card { display: flex; flex-direction: column; gap: 10px; }
.lx-skeleton {
  border-radius: var(--lx-radius);
  background: linear-gradient(100deg, var(--lx-border) 30%, #f5efe3 50%, var(--lx-border) 70%);
  background-size: 200% 100%;
  animation: lxShimmer 1.5s ease-in-out infinite;
}
.lx-skeleton--img { aspect-ratio: 3/4; width: 100%; }
.lx-skeleton--line { height: 12px; }
@keyframes lxShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Responsive: Brand Story / Collections / Account Panel ── */
@media (max-width: 900px) {
  .lx-brand-story { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .lx-collections-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .lx-account-panel { width: 88vw; inset-inline-end: -12px; }
}
