/* ==========================================================================
   lesSouq — "Souq Showroom" design system (v2)
   Loaded after style.css; re-maps the legacy tokens and refines every
   storefront component so the whole site reads as one system.

   Direction
     Gulf-night navy for structure + action, souq brass for value signals
     only (discounts, deals, rewards), warm ivory canvas like receipt paper.
   Signature
     The arch (mashrabiya window) frames product stages, category icons and
     feature chips; discounts hang as punched "souq tags".
   Depth
     Hairline borders at rest, soft navy-tinted layered shadow on lift.
   Spacing
     4px base: 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64
   ========================================================================== */

:root {
  /* ---- primitives ---- */
  --night-950: #08152b;
  --night-900: #0c1e3c;
  --night-800: #12294d;
  --brass-700: #7c5210;
  --brass-600: #9a6614;
  --brass-500: #b7791f;
  --brass-300: #e9c27a;
  --brass-100: #f8eed9;
  --ivory-50:  #fbfaf7;
  --ivory-100: #f6f4ef;
  --ivory-200: #efece4;

  /* ---- text (4 levels) ---- */
  --text-1: #0e1b2e;
  --text-2: #3b4759;
  --text-3: #5f6a7d;
  --text-4: #949cab;

  /* ---- surfaces ---- */
  --canvas: var(--ivory-100);
  --surface: #ffffff;
  --surface-well: var(--ivory-50);      /* product image wells */
  --surface-sunken: var(--ivory-200);   /* inputs, segmented tracks */
  --primary-tint: #e9eff8;              /* soft navy fill for secondary CTAs */

  /* ---- borders (low-opacity progression) ---- */
  --line: rgba(14, 27, 46, .09);
  --line-subtle: rgba(14, 27, 46, .06);
  --line-strong: rgba(14, 27, 46, .16);

  /* ---- semantic ---- */
  --brass: var(--brass-500);
  --brass-ink: var(--brass-700);        /* brass text on light: 6.4:1 */
  --brass-soft: var(--brass-100);
  --signal-green: #0f7a4a;
  --signal-red: #c8361d;

  /* ---- legacy token re-map (style.css reads these) ---- */
  --ink: var(--text-1);
  --body: var(--text-2);
  --muted: var(--text-3);
  --bg: var(--surface);
  --bg-soft: var(--surface-well);
  --bg-dark: var(--night-900);
  --bg-topbar: var(--night-950);
  --danger: var(--signal-red);
  --success: var(--signal-green);
  --star: #e3a008;
  --accent: var(--brass);
  --accent-dark: var(--brass-ink);
  --accent-soft: var(--brass-soft);

  /* ---- radius ---- */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-arch: 999px 999px 14px 14px;

  /* ---- elevation (navy-tinted, layered) ---- */
  --shadow-xs: 0 1px 2px rgba(12, 30, 60, .05);
  --shadow-sm: 0 1px 2px rgba(12, 30, 60, .05), 0 2px 6px rgba(12, 30, 60, .04);
  --shadow-md: 0 0 0 1px rgba(12, 30, 60, .03), 0 2px 4px rgba(12, 30, 60, .04), 0 8px 20px -4px rgba(12, 30, 60, .10);
  --shadow:    var(--shadow-md);
  --shadow-lg: 0 0 0 1px rgba(12, 30, 60, .04), 0 12px 32px -8px rgba(12, 30, 60, .18), 0 24px 56px -20px rgba(12, 30, 60, .22);

  /* ---- type ---- */
  --header-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-xs: 11.5px;
  --fs-sm: 13px;
  --fs-base: 14.5px;
  --fs-lg: 17px;
  --fs-h2: clamp(19px, 1.2vw + 13px, 24px);
  --fs-h1: clamp(26px, 2.6vw + 12px, 46px);

  /* ---- motion ---- */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --t-fast: .15s;
  --t-med: .25s;

  /* ---- z ---- */
  --z-sticky: 1030;
}

/* ==========================================================================
   BASE
   ========================================================================== */
body {
  background: var(--canvas);
  color: var(--text-2);
  font-size: var(--fs-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { color: var(--text-1); font-weight: 700; letter-spacing: -.015em; }
a:hover { color: var(--primary); }
::selection { background: var(--brass-300); color: var(--night-950); }
.text-muted { color: var(--text-3) !important; }

/* Focus: brass ring reads on navy, white and ivory alike */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
  box-shadow: none;
}

/* Prices are data: tabular figures everywhere */
.price, .pdp-price, .sum-row, .cd-price, .cd-sub, .rv-price, .cmp-price,
.fbt-price, .fbt-total, .s-price, .qv-price, .countdown { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn { border-radius: var(--radius-sm); font-weight: 650; letter-spacing: 0; }
.btn:not(.btn-sm):not(.btn-lg) { min-height: 42px; }
.btn-y {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 1px 2px rgba(12,30,60,.2);
}
.btn-y:hover, .btn-y:focus-visible {
  background: var(--primary-dark); border-color: var(--primary-dark); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 16px -6px rgba(12,30,60,.45);
}
.btn-y:hover, .btn-dark2:hover { transform: none; }
.btn-dark2 { background: var(--night-900); border-color: var(--night-900); }
.btn-dark2:hover { background: var(--night-950); border-color: var(--night-950); }
.btn-outline-ink { background: var(--surface); border: 1px solid var(--line-strong); color: var(--text-1); }
.btn-outline-ink:hover { background: var(--surface-well); border-color: var(--text-1); color: var(--text-1); }
.btn:disabled, .btn.disabled { opacity: .5; box-shadow: none; }

/* ==========================================================================
   FORMS (storefront-wide)
   ========================================================================== */
.form-control, .form-select,
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--text-1);
  font-size: var(--fs-base);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.form-field input, .form-field select, .form-control:not(.form-control-sm):not(textarea), .form-select:not(.form-select-sm) { min-height: 44px; }
.form-control::placeholder, .form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-4); }
.form-control:hover, .form-select:hover,
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: rgba(14,27,46,.28); }
.form-control:focus, .form-select:focus,
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 43, 92, .10);
  outline: none;
}
.form-field label, .form-label { font-size: var(--fs-sm); font-weight: 600; color: var(--text-1); }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(0, 43, 92, .12); border-color: var(--primary); }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar { background: var(--night-950); color: rgba(255,255,255,.72); font-size: 12px; }
.topbar a { color: rgba(255,255,255,.72); }
.topbar a:hover { color: #fff; }
.topbar .inner { height: 36px; }
.topbar .sep { color: rgba(255,255,255,.18); }
.topbar .fa-truck-fast { color: var(--brass-300); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-main { padding: 16px 0; gap: 24px; }

/* search: inset well that lifts to white on focus */
.search-box {
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface-sunken);
  padding: 4px; transition: background var(--t-fast) ease, border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.search-box:focus-within { background: var(--surface); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,43,92,.10); }
.search-box input { height: 40px; background: transparent; padding-inline: 14px; color: var(--text-1); }
.search-box input::placeholder { color: var(--text-3); }
.search-box select { background: transparent; border: 0; border-inline-start: 1px solid var(--line-strong); font-size: var(--fs-sm); color: var(--text-2); }
.is-rtl .search-box select { border: 0; border-inline-start: 1px solid var(--line-strong); }
.search-box button { border-radius: 9px; padding: 0 20px; font-size: 15px; background: var(--primary); }
.search-box button:hover { background: var(--primary-dark); }
.search-suggest { border-radius: var(--radius); box-shadow: var(--shadow-lg); border-color: var(--line); }
.search-suggest img { border-radius: var(--radius-xs); background: var(--surface-well); mix-blend-mode: multiply; }

/* header actions as quiet icon buttons */
.header-actions { gap: 8px; }
.header-action { padding: 6px 8px; border-radius: 12px; transition: background var(--t-fast) ease; }
.header-action:hover { background: var(--surface-well); color: var(--text-1); }
.header-action .ic { font-size: 20px; color: var(--text-1); }
.header-action small { color: var(--text-3); font-size: 11px; }
.header-action strong { font-weight: 650; font-size: 13px; }
.count-badge, .header-action .ic .count-badge {
  background: var(--primary); color: #fff; border: 2px solid var(--surface);
  font-size: 10px; min-width: 19px; height: 19px; top: -8px; font-variant-numeric: tabular-nums;
}
.mobile-hamb { border-color: var(--line-strong); border-radius: 12px; }

/* ==========================================================================
   PRIMARY NAV
   ========================================================================== */
.primary-nav { background: var(--surface); border: 0; border-top: 1px solid var(--line-subtle); }
.primary-nav .inner { align-items: center; height: 54px; }
.dept-wrap { min-width: 250px; }
.dept-toggle {
  height: 42px; min-width: 250px; border-radius: var(--radius-sm); padding: 0 16px;
  background: var(--primary); font-weight: 650; font-size: 14px;
}
.nav-links > li > a { position: relative; height: 54px; padding: 0 14px; font-weight: 600; font-size: 14px; color: var(--text-2); }
.nav-links > li > a::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0;
  background: var(--brass); transform: scaleX(0); transition: transform var(--t-med) var(--ease-out);
}
.nav-links > li > a:hover, .nav-links > li.active > a { color: var(--text-1); }
.nav-links > li.active > a::after, .nav-links > li > a:hover::after { transform: scaleX(1); }
.nav-right {
  background: var(--brass-soft); color: var(--brass-ink); font-weight: 600; font-size: 12.5px;
  padding: 6px 12px; border-radius: 999px;
}
.nav-right i { color: var(--brass-ink); }
.drop, .dept-menu { border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius); }
.drop { padding: 6px; border-radius: var(--radius); }
.drop li a { border-radius: 8px; padding: 9px 14px; }
.drop li a:hover, .dept-menu li > a:hover { background: var(--surface-well); color: var(--primary); }
@media (min-width: 992px) {
  .dept-menu:not(.dept-static) { top: calc(100% + 6px); border-radius: var(--radius); }
  .dept-menu:not(.dept-static) li > a:hover { background: var(--primary-tint); }
}

/* ==========================================================================
   HERO — two cards side by side, arch product stage
   ========================================================================== */
.hero-row { gap: 16px; background: transparent; border: 0; grid-template-columns: 250px 1fr; margin-top: 4px; }
.hero-dept, .hero-main {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.hero-dept { border-inline-end: 1px solid var(--line); padding: 8px; }
.dept-static { border: 0; box-shadow: none; border-radius: 0; }
.dept-static li > a { border: 0 !important; border-radius: var(--radius-sm); padding: 8.5px 12px; font-weight: 500; color: var(--text-2); }
.dept-static li > a .ic { color: var(--text-3); transition: color var(--t-fast) ease; }
.dept-static li > a:hover { background: var(--surface-well); color: var(--text-1); }
.dept-static li > a:hover .ic { color: var(--primary); }

.hero-slide {
  min-height: 440px; padding: 48px 56px;
  background:
    radial-gradient(60% 80% at 85% 50%, rgba(0,43,92,.06), transparent 70%),
    var(--ivory-50);
}
.hero-slide::before, .hero-slide::after { display: none; }
.hero-eyebrow {
  background: var(--brass-soft); color: var(--brass-ink); font-size: 11px; letter-spacing: .08em; font-weight: 700;
}
.hero-eyebrow .dot { background: var(--brass); box-shadow: 0 0 0 3px rgba(183,121,31,.22); }
.hero-title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; color: var(--text-1); }
.hero-title strong { color: var(--primary); font-weight: 800; }
.hero-sub { color: var(--text-2); font-size: 16px; line-height: 1.6; }
.hero-pills .hpill { background: var(--surface); border-color: var(--line); color: var(--text-2); font-weight: 600; }
.hero-pills .hpill i { color: var(--brass); }
.hero-price { color: var(--text-3); }
.hero-price b { color: var(--text-1); }
.hero-cta .btn { min-height: 48px; padding-inline: 24px !important; font-size: 15px; }

/* the arch — signature stage */
.hero-stage {
  width: min(330px, 88%); aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #eef2f8 100%);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 #fff inset, 0 30px 60px -30px rgba(12,30,60,.35);
  backdrop-filter: none;
}
.hero-stage::before {
  width: 78%; height: 14px; top: auto; bottom: 16%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(12,30,60,.22), transparent); filter: blur(4px);
}
.hero-stage img { max-height: 62%; max-width: 74%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(12,30,60,.18)); }
.hero-badge { box-shadow: var(--shadow-lg); font-weight: 700; color: var(--text-1); }
.hero-badge.hb-tl i { color: var(--brass); }
.hero-badge.hb-br i { color: var(--signal-green); }

.hero-slide.theme-dark {
  background: radial-gradient(60% 80% at 85% 50%, rgba(233,194,122,.10), transparent 70%), var(--night-900);
}
.hero-slide.theme-dark .hero-stage { background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); border-color: rgba(255,255,255,.12); box-shadow: none; }
.hero-slide.theme-dark .hero-title strong { color: var(--brass-300); }
.hero-slide.theme-dark .hero-eyebrow { background: rgba(233,194,122,.14); color: var(--brass-300); }
.hero-slide.theme-dark .hero-sub, .hero-slide.theme-dark .hero-price { color: rgba(255,255,255,.72); }
.hero-slide.theme-dark .hero-price b { color: #fff; }
.hero-slide.theme-dark .btn-y { background: #fff; border-color: #fff; color: var(--night-900); }

/* carousel chrome */
#heroCarousel .carousel-indicators { margin-bottom: 18px; gap: 6px; justify-content: flex-start; margin-inline-start: 56px; margin-inline-end: 0; }
#heroCarousel .carousel-indicators [data-bs-target] {
  width: 22px; height: 4px; border-radius: 4px; border: 0; margin: 0; background: var(--text-1); opacity: .18;
  transition: width var(--t-med) var(--ease-out), opacity var(--t-med) ease;
}
#heroCarousel .carousel-indicators .active { width: 40px; opacity: .85; background: var(--primary); }
#heroCarousel .carousel-control-prev, #heroCarousel .carousel-control-next { width: 44px; height: 44px; top: 50%; transform: translateY(-50%); margin-inline: 12px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-md); opacity: 0; transition: opacity var(--t-med) ease; }
#heroCarousel:hover .carousel-control-prev, #heroCarousel:hover .carousel-control-next { opacity: 1; }
#heroCarousel .carousel-control-prev-icon, #heroCarousel .carousel-control-next-icon { filter: invert(1) grayscale(1) brightness(.2); width: 16px; height: 16px; }

/* ==========================================================================
   FEATURE STRIP — trust, as arch chips
   ========================================================================== */
.feature-strip {
  margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: none; overflow: hidden;
}
.feature-strip .feat { border-inline-end: 1px solid var(--line-subtle); border-right-width: 0; padding: 18px 22px; }
.feature-strip .feat { border-right: 0; }
.feature-strip .feat:not(:last-child) { border-inline-end: 1px solid var(--line-subtle); }
.feature-strip .feat > i {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 44px; height: 48px; border-radius: 999px 999px 10px 10px; font-size: 18px;
  background: var(--brass-soft); color: var(--brass-ink);
}
.feature-strip .feat:hover > i, .feature-strip .feat:hover i { transform: none; background: var(--brass-soft); color: var(--brass-ink); }
.feature-strip strong { font-size: 14px; font-weight: 700; color: var(--text-1); }
.feature-strip small { color: var(--text-3); font-size: 12.5px; }

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.section-pad { padding-top: 40px; padding-bottom: 40px; }
.sec-head { border-bottom: 0; margin-bottom: 20px; align-items: flex-end; gap: 20px; }
.sec-head h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.025em; padding-bottom: 0; margin: 0; }
.sec-head h2::after { display: none; }
.sec-head h2::before {
  content: ""; display: block; width: 22px; height: 3px; border-radius: 3px; background: var(--brass); margin-bottom: 10px;
}
.sec-head .more {
  font-size: 13px; font-weight: 650; color: var(--text-2); padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); white-space: nowrap;
}
.sec-head .more:hover { color: var(--primary); border-color: var(--primary); }
/* segmented filter tabs */
.sec-head .tabs { gap: 4px; background: var(--surface-sunken); padding: 4px; border-radius: 999px; margin: 0 0 0 8px; }
.is-rtl .sec-head .tabs { margin: 0 8px 0 0; }
.sec-head .tabs button {
  border: 0; padding: 6px 14px; border-radius: 999px; text-transform: none; font-size: 13px; font-weight: 600; color: var(--text-3);
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}
.sec-head .tabs button:hover { color: var(--text-1); }
.sec-head .tabs button.active { background: var(--surface); color: var(--text-1); box-shadow: var(--shadow-sm); }

/* ==========================================================================
   PRODUCT CARD
   ========================================================================== */
.product-grid { gap: 16px; }
.product-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 10px 10px 14px; box-shadow: none;
  transition: box-shadow var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), border-color var(--t-med) ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
#newGrid > div { display: flex; }
#newGrid > div > .product-card { flex: 1; }
.product-card .thumb {
  aspect-ratio: 1 / .92; display: grid; place-items: center; margin-bottom: 12px; padding: 16px;
  background: var(--surface-well); border-radius: 14px; overflow: hidden;
}
.product-card .thumb > a { display: grid; place-items: center; width: 100%; height: 100%; }
.product-card .thumb img { height: auto; max-height: 100%; max-width: 100%; mix-blend-mode: multiply; }
.product-card:hover .thumb img, .product-card:hover .thumb .img1 { transform: scale(1.04); }
.product-card .cat, .product-card .name, .product-card .rate-row, .product-card .price-row, .product-card > .price { padding-inline: 6px; }
.product-card .cat { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--text-3); }
.product-card .name { font-size: 14px; font-weight: 600; color: var(--text-1); line-height: 1.4; margin: 4px 0 6px; min-height: 2.8em; }
.product-card .name:hover { color: var(--primary); }
.product-card .rate-row { margin-bottom: 8px; }
.product-card .rate-row small { font-size: 12px; color: var(--text-3); }
.product-card .price { font-size: 17px; font-weight: 800; color: var(--text-1); letter-spacing: -.01em; }
.price-old { color: var(--text-4); font-size: 13px; font-weight: 500; margin-inline-start: 6px; margin-left: 0; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.stars { color: var(--star); font-size: 11.5px; }
.stars .muted { color: #dfdcd3; }

/* the souq tag — signature discount label (punched hang tag) */
.souq-tag {
  position: relative; display: inline-flex; align-items: center; flex: 0 0 auto;
  padding: 3px 9px 3px 15px; border-radius: 3px 6px 6px 3px;
  background: var(--brass-soft); color: var(--brass-ink);
  font-size: 11.5px; font-weight: 800; letter-spacing: .01em; line-height: 1.4;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
}
.souq-tag::before {
  content: ""; position: absolute; left: 7px; top: 50%; width: 4px; height: 4px; margin-top: -2px;
  border-radius: 50%; background: var(--surface);
}
.is-rtl .souq-tag { padding: 3px 15px 3px 9px; border-radius: 6px 3px 3px 6px; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%); }
.is-rtl .souq-tag::before { left: auto; right: 7px; }

/* status badges (NEW / SALE / HOT) — quiet, top-start of the well */
.badge-tag {
  top: 18px; inset-inline-start: 18px; left: auto; padding: 3px 8px; border-radius: 6px; font-size: 10px;
  letter-spacing: .06em; box-shadow: none;
}
.is-rtl .badge-tag { right: auto; }
.badge-new  { background: var(--signal-green); }
.badge-sale { background: var(--signal-red); }
.badge-hot  { background: var(--night-900); }

/* card tools — quick view / wishlist / compare float in the well */
.card-tools {
  position: absolute; top: 18px; inset-inline-end: 18px; z-index: 3;
  display: flex; flex-direction: column; gap: 6px;
}
.card-tools .icon-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--surface); color: var(--text-2);
  box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(6px);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), background var(--t-fast) ease, color var(--t-fast) ease;
}
.is-rtl .card-tools .icon-btn { transform: translateX(-6px); }
.card-tools .icon-btn:nth-child(2) { transition-delay: 30ms; }
.card-tools .icon-btn:nth-child(3) { transition-delay: 60ms; }
.product-card:hover .card-tools .icon-btn,
.product-card:focus-within .card-tools .icon-btn { opacity: 1; transform: none; }
.card-tools .icon-btn:hover { background: var(--primary); color: #fff; }
.card-tools .icon-btn.active { background: var(--primary); color: #fff; }
@media (hover: none) {
  .card-tools .icon-btn { opacity: 1; transform: none; }
  .card-tools .js-quick-view, .card-tools .js-compare { display: none; }
}

/* add to cart: always visible, soft until intent */
.product-card .product-actions { opacity: 1; transform: none; margin-top: 12px; padding-inline: 2px; }
.product-card .product-actions .btn-add {
  min-height: 40px; background: var(--primary-tint); border-color: transparent; color: var(--primary);
  box-shadow: none; font-size: 13.5px;
}
.product-card .product-actions .btn-add:hover,
.product-card .product-actions .btn-add:focus-visible { background: var(--primary); border-color: var(--primary); color: #fff; }

.btn-add, .pdp-buy .btn, .hero-cta .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-add .fa-solid, .btn-add .fa-regular { margin: 0 !important; }

/* list view (shop) */
.product-card.list-view { display: grid; grid-template-columns: 220px 1fr; gap: 22px; padding: 12px; }
.product-card.list-view .thumb { margin-bottom: 0; position: relative; }
.product-card.list-view .product-actions { max-width: 340px; }
.product-card.list-view .icon-btn { width: 40px; height: 40px; border-radius: var(--radius-sm); }

/* ==========================================================================
   DEALS BAND — the one dark moment on the page (Von Restorff)
   ========================================================================== */
.deals-head {
  background: var(--night-900); border: 0; border-radius: var(--radius-lg); padding: 16px 20px; color: #fff;
  background-image: radial-gradient(50% 140% at 100% 0%, rgba(233,194,122,.16), transparent 70%);
}
.deals-head h2 { color: #fff; text-transform: none; font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.02em; }
.deals-head h2 i { color: var(--brass-300); }
.deals-head .text-muted { color: rgba(255,255,255,.6) !important; }
.deals-head .more { color: #fff; font-weight: 650; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); }
.deals-head .more:hover { color: var(--night-900); background: #fff; }
.countdown { gap: 6px; }
.countdown .cell { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; min-width: 50px; padding: 7px 4px 5px; }
.countdown .cell b { color: var(--brass-300); font-size: 19px; font-weight: 800; }
.countdown .cell span { color: rgba(255,255,255,.6); font-size: 9.5px; letter-spacing: .08em; }
.deals-head:hover .countdown .cell { transform: none; }

/* ==========================================================================
   CATEGORY TILES — arch windows
   ========================================================================== */
.cat-tiles { gap: 12px; }
.cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 10px 16px;
}
.cat-tile img {
  width: 76px; height: 86px; margin: 0; padding: 18px 14px 14px; object-fit: contain;
  background: var(--surface-well); border: 1px solid var(--line-subtle); border-radius: var(--radius-arch);
  transition: background var(--t-med) ease, transform var(--t-med) var(--ease-out);
}
.cat-tile span { font-size: 13px; font-weight: 600; color: var(--text-1); line-height: 1.3; }
.cat-tile:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-md); color: var(--text-1); }
.cat-tile:hover img { background: var(--brass-soft); transform: none; }

/* ==========================================================================
   PROMO BANNERS — three surfaces from one system
   ========================================================================== */
.promo { border-radius: var(--radius-lg); min-height: 210px; padding: 28px; border: 1px solid var(--line); }
.promo h3 { font-size: 23px; font-weight: 800; letter-spacing: -.025em; margin: 10px 0 4px; }
.promo p { color: var(--text-2); }
.promo.a { background: var(--night-900); border-color: var(--night-900); color: #fff; }
.promo.a h3 { color: #fff; }
.promo.a p { color: rgba(255,255,255,.72); }
.promo.a .hero-eyebrow { background: rgba(233,194,122,.16); color: var(--brass-300); }
.promo.a .btn-dark2 { background: #fff; border-color: #fff; color: var(--night-900); }
.promo.b { background: var(--surface); }
.promo.c { background: var(--brass-soft); border-color: rgba(183,121,31,.18); }
.promo.c .hero-eyebrow { background: rgba(255,255,255,.7); }
.promo .promo-visual { max-height: 130px; opacity: 1; }
.promo:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.promo:hover .promo-visual { transform: scale(1.05) rotate(-2deg); }

/* ==========================================================================
   REELS, TESTIMONIALS, RECENTLY VIEWED, BRANDS
   ========================================================================== */
.reel-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.reel-cta { background: #fff; color: var(--night-900); }
.tst-card { border-radius: var(--radius-lg); border-color: var(--line); box-shadow: none; padding: 22px; position: relative; }
.tst-card::before { content: "\201C"; position: absolute; top: 6px; inset-inline-end: 18px; font-size: 56px; line-height: 1; font-family: Georgia, serif; color: var(--brass-300); opacity: .7; }
.tst-body { color: var(--text-1); }
.tst-avatar { background: var(--primary-tint); color: var(--primary); }
.tst-meta { border-top-color: var(--line-subtle); }
.rv-card { border-radius: var(--radius); border-color: var(--line); transition: box-shadow var(--t-med) ease, transform var(--t-med) var(--ease-out); }
.rv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rv-card img { mix-blend-mode: multiply; }
.brand-strip { border-radius: var(--radius-lg); border-color: var(--line); overflow: hidden; }
.brand-strip .b { border-right: 0; border-inline-end: 1px solid var(--line-subtle); color: var(--text-4); font-weight: 800; letter-spacing: -.01em; font-size: 19px; }
.brand-strip .b:last-child { border-inline-end: 0; }
.brand-strip .b:hover { background: var(--surface-well); color: var(--text-1); transform: none; }

/* ==========================================================================
   NEWSLETTER + FOOTER — grounded in Gulf night
   ========================================================================== */
.newsletter { margin-top: 56px; background: var(--night-900); animation: none; border-bottom: 1px solid rgba(255,255,255,.06); }
.newsletter .inner { padding: 32px 0; }
.newsletter h3 { color: #fff; font-weight: 800; letter-spacing: -.02em; }
.newsletter h3 i { color: var(--brass-300); }
.newsletter p { color: rgba(255,255,255,.7); opacity: 1; }
.newsletter form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 4px; gap: 4px; }
.newsletter input { background: transparent; color: #fff; border-radius: 9px; padding: 11px 14px; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter button { background: var(--brass-300); color: var(--night-950); font-weight: 750; border-radius: 9px; }
.newsletter button:hover { background: #f1d29a; color: var(--night-950); transform: none; }

.site-footer { background: var(--night-950); border-top: 0; margin-top: 0; color: rgba(255,255,255,.66); }
.site-footer p { color: rgba(255,255,255,.66); }
.footer-top h4 { color: #fff; font-size: 12px; letter-spacing: .1em; font-weight: 700; }
.footer-top li a { color: rgba(255,255,255,.66); }
.footer-top li a:hover { color: #fff; }
.footer-contact i { color: var(--brass-300); }
.footer-contact strong { color: #fff; }
.site-footer .logo-text { color: #fff; }
.site-footer .logo-text span { color: var(--brass-300); }
.footer-social a { background: rgba(255,255,255,.06); color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.08); }
.footer-social a:hover { background: #fff; color: var(--night-950); }
.footer-bottom { border-top-color: rgba(255,255,255,.08); font-size: 13px; }
.footer-bottom .pay { color: rgba(255,255,255,.5); }

/* ==========================================================================
   PAGE CHROME — breadcrumb, panels, widgets, toolbar, pagination
   ========================================================================== */
.breadcrumb-bar { background: transparent; border-bottom: 0; padding: 22px 0 6px; }
.breadcrumb-bar .crumbs { font-size: 12.5px; color: var(--text-3); }
.breadcrumb-bar .crumbs a { color: var(--text-2); }
.breadcrumb-bar .crumbs a:hover { color: var(--primary); }
.page-title { font-size: clamp(22px, 1.6vw + 14px, 32px); font-weight: 800; letter-spacing: -.03em; margin-top: 6px; }

.panel, .widget, .cart-summary, .empty-state, .tabs-block, .shop-toolbar, .compare-wrap, .fbt, .acct-track {
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: none;
}
.panel h3, .cart-summary h4 { text-transform: none; font-size: 17px; font-weight: 750; letter-spacing: -.015em; }
.widget h4 { text-transform: none; font-size: 14px; font-weight: 750; padding: 16px 18px 12px; border-bottom: 1px solid var(--line-subtle); }
.widget ul li a { color: var(--text-2); padding: 4px 0; }
.widget ul li a:hover { color: var(--primary); }
.widget ul li .n { background: var(--surface-well); color: var(--text-3); font-size: 11.5px; padding: 0 8px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.shop-toolbar { padding: 10px 12px; }
.shop-toolbar .view-toggle { background: var(--surface-sunken); padding: 3px; border-radius: 10px; gap: 2px; }
.shop-toolbar .view-toggle button { border: 0; background: transparent; border-radius: 8px; width: 34px; height: 32px; color: var(--text-3); }
.shop-toolbar .view-toggle button.active { background: var(--surface); color: var(--text-1); box-shadow: var(--shadow-sm); }
.shop-toolbar select { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px 12px; color: var(--text-1); background-color: var(--surface); }
.pagination2 { gap: 6px; }
.pagination2 a { min-width: 40px; height: 40px; border-radius: var(--radius-sm); border-color: var(--line); font-weight: 600; font-variant-numeric: tabular-nums; }
.pagination2 a:hover { background: var(--surface-well); border-color: var(--line-strong); color: var(--text-1); }
.pagination2 a.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-chips .chip { border-color: var(--line-strong); color: var(--text-1); font-weight: 500; }
.filter-chips .chip-clear { background: transparent; border-color: transparent; color: var(--signal-red); text-decoration: underline; text-underline-offset: 3px; }
.empty-state { padding: 64px 20px; }
.empty-state > i { color: var(--brass); font-size: 48px; width: 96px; height: 108px; display: grid; place-items: center; margin: 0 auto 18px; background: var(--brass-soft); border-radius: var(--radius-arch); }
.empty-state p { color: var(--text-2); font-size: 15px; }

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.pdp { border-radius: var(--radius-lg); border-color: var(--line); padding: 28px; gap: 40px; }
.pdp-gallery .main { border: 0; background: var(--surface-well); border-radius: var(--radius-lg); padding: 32px; }
.pdp-gallery .main img { mix-blend-mode: multiply; }
.pdp-gallery .thumbs button { border-radius: 12px; border-color: var(--line); background: var(--surface-well); }
.pdp-gallery .thumbs button.active { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,43,92,.1); }
.pdp-gallery .thumbs img { mix-blend-mode: multiply; }
.pdp h1 { font-size: clamp(22px, 1.4vw + 14px, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.pdp .pdp-price { color: var(--text-1); font-size: 32px; font-weight: 800; }
.pdp .pdp-price .was { color: var(--text-4); font-size: 17px; }
.pdp-price .save-badge { background: var(--brass-soft); color: var(--brass-ink); }
.pdp .meta-list b { color: var(--text-1); font-weight: 650; }
.qty { border-color: var(--line-strong); border-radius: var(--radius-sm); }
.qty button { background: var(--surface); height: 46px; width: 40px; }
.qty button:hover { background: var(--surface-well); }
.qty input { font-weight: 700; font-variant-numeric: tabular-nums; }
.pdp-buy .btn { min-height: 48px; }
.in-stock { color: var(--signal-green); }
.stock-urgency { background: var(--brass-soft); color: var(--brass-ink); border-color: rgba(183,121,31,.25); border-radius: var(--radius-sm); }
.pdp-deliver, .pdp-ship { background: var(--surface-well); border-color: var(--line); border-radius: var(--radius); }
.pdp-ship-head i, .pdp-deliver i { color: var(--primary); }
.pv-chip { border-color: var(--line-strong); color: var(--text-1); }
.pv-chip:hover { border-color: var(--text-1); }
.pv-chip.active { border-color: var(--primary); background: var(--primary-tint); box-shadow: none; }

.tabs-block { overflow: hidden; }
.tabs-nav { background: transparent; padding: 0 12px; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs-nav button {
  position: relative; text-transform: none; border-radius: 0; padding: 16px 14px; font-size: 14px; font-weight: 650; color: var(--text-3); background: none !important; box-shadow: none !important;
}
.tabs-nav button::after { content: ""; position: absolute; inset-inline: 14px; bottom: -1px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform var(--t-med) var(--ease-out); }
.tabs-nav button:hover { color: var(--text-1); }
.tabs-nav button.active { color: var(--text-1); }
.tabs-nav button.active::after { transform: scaleX(1); }
.spec-table { border-color: var(--line); }
.spec-table td { border-bottom-color: var(--line-subtle); }
.spec-table td:first-child { background: var(--surface-well); color: var(--text-1); }
.spec-table tr:hover td { background: var(--surface-well); }
.rating-bar-row .track { background: var(--surface-sunken); }
.rating-bar-row .fill { background: var(--star); }
.rating-big .num { font-weight: 800; letter-spacing: -.03em; }
.fbt-price { color: var(--text-1); }
.fbt-card { border-radius: var(--radius); }
.fbt-card.is-current { background: var(--primary-tint); }
.gallery-expand { color: var(--text-1); }
@media (max-width: 767px) {
  .pdp-sticky { background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
  .pdp-sticky .ps-price { color: var(--text-1); }
}

/* ==========================================================================
   CART, CHECKOUT, ACCOUNT
   ========================================================================== */
.cart-table { border-collapse: separate; border-spacing: 0; border-radius: var(--radius-lg); border-color: var(--line); overflow: hidden; }
.cart-table th { background: var(--surface-well); font-size: 11.5px; letter-spacing: .06em; color: var(--text-3); font-weight: 700; }
.cart-table td { border-bottom-color: var(--line-subtle); }
.cart-table tr:last-child td { border-bottom: 0; }
.cart-prod img { border: 0; background: var(--surface-well); border-radius: 12px; padding: 6px; mix-blend-mode: multiply; }
.cart-prod a { font-weight: 600; }
.cart-summary { padding: 24px; top: 24px; }
.sum-row { color: var(--text-2); }
.sum-row.total { color: var(--text-1); font-weight: 800; font-size: 19px; border-top-color: var(--line); }
.auth-tabs { background: var(--surface-sunken); padding: 4px; border-radius: 14px; gap: 4px; }
.auth-tabs button { border: 0; background: transparent; border-radius: 11px; font-weight: 650; color: var(--text-3); padding: 11px; }
.auth-tabs button.active { background: var(--surface); color: var(--text-1); border-bottom: 0; box-shadow: var(--shadow-sm); }
.acct-hero { background: var(--night-900); border-radius: var(--radius-lg); }
.acct-hero::after { background: radial-gradient(circle, rgba(233,194,122,.25), transparent 70%); }
.acct-stat, .acct-quick a, .addr-card, .conn-row { border-color: var(--line); border-radius: var(--radius); }
.acct-quick a:hover { background: var(--surface-well); border-color: var(--line-strong); }
.acct-cta, .rewards-hero { background: var(--night-900); border-radius: var(--radius-lg); }
.acct-track .at-step.current .dot { box-shadow: 0 0 0 5px rgba(0,43,92,.12); }
.loy-box { background: var(--brass-soft); border-color: rgba(183,121,31,.2); }
.loy-box .loy-head i { color: var(--brass); }

/* ==========================================================================
   OVERLAYS — drawer, toast, dialogs, cookie bar
   ========================================================================== */
.cart-drawer { box-shadow: var(--shadow-lg); }
.cart-drawer .cd-head { padding: 18px 20px; }
.cart-drawer .cd-head h4 { font-weight: 800; letter-spacing: -.02em; }
.cd-ship { background: var(--brass-soft); border-bottom-color: rgba(183,121,31,.15); }
.cd-ship-msg { color: var(--brass-ink); font-weight: 600; }
.cd-ship-msg.ok { color: var(--signal-green); }
.cd-bar { background: rgba(183,121,31,.18); }
.cd-bar span { background: var(--brass); }
.cd-item img { border: 0; background: var(--surface-well); border-radius: 10px; mix-blend-mode: multiply; }
.cd-price { color: var(--text-1); }
.cart-drawer-overlay, .ls-dialog-overlay, .news-pop { background: rgba(8, 21, 43, .5); backdrop-filter: blur(3px); }
.toast2 { background: var(--night-950); border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 500; }
.ls-dialog, .news-pop .np-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.np-card .np-badge { background: var(--brass-soft); color: var(--brass-ink); box-shadow: none; border-radius: var(--radius-arch); width: 64px; height: 72px; }
.np-code { border-color: var(--brass); background: var(--brass-soft); color: var(--brass-ink); }
.cookie-bar { background: var(--night-950); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.cookie-bar a { color: var(--brass-300); }
.cookie-bar .btn-y { background: #fff; border-color: #fff; color: var(--night-950); }
.back-top { background: var(--surface); color: var(--text-1); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.back-top:hover { background: var(--primary); color: #fff; }
.modal-content { border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.qv-grid .qv-img { border: 0; background: var(--surface-well); border-radius: var(--radius); }
.qv-grid .qv-img img { mix-blend-mode: multiply; }
.qv-price { color: var(--text-1); font-weight: 800; }
.offcanvas .list-group-item { border-bottom-color: var(--line-subtle); }
.offcanvas .list-group-item i { color: var(--text-3); }
.offcanvas .ocm-label { color: var(--brass-ink); font-weight: 700; letter-spacing: .1em; }
.blog-card { border-radius: var(--radius-lg); border-color: var(--line); }
.bc-cat { background: var(--brass-soft); color: var(--brass-ink); }
.blog-cats a.active { background: var(--text-1); border-color: var(--text-1); }

/* Preloader: brief, never blocks content (hidden as soon as the DOM is ready) */
#ls-preloader { background: var(--canvas); transition: opacity .2s ease, visibility .2s ease; }
.ls-progress { background: var(--brass); box-shadow: none; height: 2px; }

/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width: 991px) {
  /* sticky, frosted app header (desktop nav is hidden here) */
  .site-header {
    position: sticky; top: 0; z-index: var(--z-sticky);
    background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  }
  .hero-row { grid-template-columns: 1fr; }
  .hero-slide { padding: 32px 28px 48px; min-height: 0; }
  #heroCarousel .carousel-indicators { margin-inline-start: 28px; }
  .section-pad { padding-top: 28px; padding-bottom: 28px; }
  .mobile-bottom-nav {
    background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--line); box-shadow: none; padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .mobile-bottom-nav a { color: var(--text-3); font-weight: 600; min-height: 44px; justify-content: center; }
  .mobile-bottom-nav a.active { color: var(--primary); }
  .mobile-bottom-nav a.active::before {
    content: ""; position: absolute; top: -6px; width: 24px; height: 3px; border-radius: 0 0 3px 3px; background: var(--brass);
  }
  .mbn-cart .mbn-badge { background: var(--primary); border: 2px solid #fff; min-width: 18px; height: 18px; }
}
@media (max-width: 767px) {
  .header-action .ic { border-color: var(--line); border-radius: 12px; box-shadow: none; color: var(--text-1); }
  .header-action:hover { background: transparent; }
  .search-box { border-radius: 12px; }
  .search-box input { height: 38px; }
  .feature-strip .feat:nth-child(2n) { border-inline-end: 0; }
  .feature-strip .feat:nth-child(-n+2) { border-bottom: 1px solid var(--line-subtle); }
  .deals-head { padding: 14px; }
  .pdp { padding: 16px; }
  .pdp-gallery .main { padding: 20px; }
}
@media (max-width: 575px) {
  .hero-slide { padding: 26px 20px 44px; }
  .hero-title { font-size: 28px; }
  #heroCarousel .carousel-indicators { margin-inline-start: 20px; }
  .product-grid { gap: 10px; }
  .product-card { padding: 6px 6px 10px; border-radius: 16px; }
  .product-card .thumb { padding: 10px; border-radius: 12px; margin-bottom: 10px; }
  .badge-tag { top: 12px; inset-inline-start: 12px; }
  .card-tools { top: 12px; inset-inline-end: 12px; }
  .card-tools .icon-btn { width: 32px; height: 32px; }
  .product-card .cat, .product-card .name, .product-card .rate-row, .product-card .price-row { padding-inline: 4px; }
  .product-card .price { font-size: 15.5px; }
  .product-card .product-actions .btn-add { min-height: 38px; font-size: 12.5px; padding-inline: 8px; }
  .product-card .product-actions .icon-btn { display: none; }
  .souq-tag { font-size: 10.5px; }
  .cat-tile { padding: 14px 8px; }
  .cat-tile img { width: 64px; height: 72px; padding: 14px 12px 10px; }
  .promo { padding: 22px; min-height: 170px; }
  .newsletter { margin-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card, .product-card:hover, .cat-tile:hover, .promo:hover, .rv-card:hover { transform: none !important; }
  .card-tools .icon-btn, .nav-links > li > a::after, .tabs-nav button::after { transition: none; }
}

@media (max-width: 575px) {
  .feature-strip .feat { padding: 12px; gap: 10px; align-items: flex-start; }
  .feature-strip .feat > i { width: 34px; height: 38px; font-size: 14px; }
  .feature-strip strong { font-size: 12.5px; line-height: 1.3; }
  .feature-strip small { font-size: 11.5px; line-height: 1.35; display: block; margin-top: 2px; }
}

/* ==========================================================================
   STICKY DESKTOP HEADER — condenses after scrolling (class set by main.js)
   ========================================================================== */
/* `hidden` on html+body makes body a scroll container and silently breaks
   position:sticky; `clip` stops sideways scroll without that side-effect. */
html, body { overflow-x: clip; }
@media (min-width: 992px) {
  .site-header { position: sticky; top: 0; z-index: var(--z-sticky); transition: box-shadow var(--t-med) ease; }
  .site-header .header-main { transition: padding var(--t-med) var(--ease-out); }
  .site-header .primary-nav { max-height: 60px; transition: max-height var(--t-med) var(--ease-out), border-color var(--t-med) ease; }
  .site-header.is-stuck { box-shadow: 0 8px 24px -16px rgba(12,30,60,.35); }
  .site-header.is-stuck .header-main { padding: 10px 0; }
  .site-header.is-stuck .primary-nav { max-height: 0; overflow: hidden; border-top-color: transparent; }
  .site-header.is-stuck img.logo-mark-lg { width: 40px; height: 40px; }
}

/* ==========================================================================
   ACCOUNT — sign in / register
   ========================================================================== */
.min-w-0 { min-width: 0; }
.auth-shell {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); max-width: 980px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md);
}
.auth-perks {
  background: var(--night-900); color: #fff; padding: 40px 36px; display: flex; flex-direction: column;
  background-image: radial-gradient(70% 60% at 100% 0%, rgba(233,194,122,.18), transparent 70%);
}
.ap-arch { width: 64px; height: 74px; border-radius: var(--radius-arch); background: rgba(233,194,122,.14); border: 1px solid rgba(233,194,122,.3); color: var(--brass-300); display: grid; place-items: center; font-size: 24px; margin-bottom: 22px; }
.auth-perks h2 { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 6px; }
.auth-perks > p { color: rgba(255,255,255,.7); margin: 0 0 26px; }
.auth-perks ul { display: flex; flex-direction: column; gap: 16px; margin-top: auto; }
.auth-perks li { display: flex; gap: 14px; align-items: flex-start; }
.auth-perks li > i { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--brass-300); display: grid; place-items: center; font-size: 14px; }
.auth-perks li span { display: flex; flex-direction: column; font-size: 13px; color: rgba(255,255,255,.68); line-height: 1.45; }
.auth-perks li strong { color: #fff; font-size: 14px; font-weight: 700; }
.auth-panel { padding: 36px 40px; }
.auth-panel .auth-tabs { margin-bottom: 22px; }
.auth-or { margin: 16px 0 18px; text-transform: none; letter-spacing: 0; font-size: 12.5px; color: var(--text-3); }
.auth-or::before, .auth-or::after { background: var(--line); }
.field-ic { position: relative; }
.field-ic > i { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--text-4); font-size: 14px; pointer-events: none; }
.form-field .field-ic input { padding-inline-start: 40px; }
.form-field .field-ic input[type="password"], .form-field .field-ic .js-pw-meter-in { padding-inline-end: 46px; }
.pw-eye { position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 8px; background: none; color: var(--text-3); }
.pw-eye:hover { background: var(--surface-well); color: var(--text-1); }
.caps-note { font-size: 12.5px; font-weight: 600; color: var(--brass-ink); margin-top: 6px; }
.pw-meter { height: 5px; border-radius: 5px; background: var(--surface-sunken); overflow: hidden; margin-top: 8px; }
.pw-meter span { display: block; height: 100%; width: 0; border-radius: 5px; transition: width .2s ease, background .2s ease; }
.pw-hint { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.form-field .opt { color: var(--text-4); font-weight: 500; }
.small-link { font-size: 12.5px; font-weight: 600; color: var(--primary); }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.auth-cta { min-height: 50px !important; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 4px; }
.auth-switch { text-align: center; font-size: 13.5px; color: var(--text-3); margin: 16px 0 0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.auth-legal { font-size: 12px; color: var(--text-3); text-align: center; margin: 14px 0 0; }
.auth-legal a { color: var(--text-2); text-decoration: underline; }
.auth-trust { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-subtle); font-size: 12.5px; color: var(--text-3); display: flex; gap: 8px; align-items: flex-start; }
.auth-trust i { color: var(--signal-green); margin-top: 2px; }
@media (max-width: 860px) {
  .auth-shell { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
  .auth-perks { padding: 22px 22px 20px; }
  .auth-perks .ap-arch, .auth-perks > p { display: none; }
  .auth-perks h2 { font-size: 19px; margin-bottom: 14px; }
  .auth-perks ul { flex-direction: row; overflow-x: auto; gap: 10px; margin: 0 -22px; padding: 0 22px 2px; scrollbar-width: none; }
  .auth-perks ul::-webkit-scrollbar { display: none; }
  .auth-perks li { flex: 0 0 auto; align-items: center; background: rgba(255,255,255,.06); border-radius: 999px; padding: 6px 14px 6px 6px; }
  .is-rtl .auth-perks li { padding: 6px 6px 6px 14px; }
  .auth-perks li > i { width: 28px; height: 28px; border-radius: 50%; font-size: 12px; }
  .auth-perks li span { font-size: 0; }
  .auth-perks li strong { font-size: 12.5px; white-space: nowrap; }
  .auth-panel { padding: 24px 20px 26px; }
}

/* ==========================================================================
   ACCOUNT — dashboard shell
   ========================================================================== */
.acct-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 28px; align-items: start; }
.acct-side { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; }
.acct-id { display: flex; align-items: center; gap: 12px; padding: 6px 6px 16px; border-bottom: 1px solid var(--line-subtle); margin-bottom: 8px; }
.acct-id > div strong { display: block; color: var(--text-1); font-size: 15px; line-height: 1.25; }
.acct-id > div span { display: block; font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-avatar { width: 46px; height: 52px; flex: 0 0 auto; border-radius: var(--radius-arch); background: var(--brass-soft); color: var(--brass-ink); display: grid; place-items: center; font-weight: 800; font-size: 16px; letter-spacing: .02em; }
.acct-nav { display: flex; flex-direction: column; gap: 2px; }
.acct-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--text-2); position: relative; }
.acct-nav a i { width: 18px; text-align: center; color: var(--text-3); }
.acct-nav a em { margin-inline-start: auto; font-style: normal; font-size: 11.5px; font-weight: 700; background: var(--surface-sunken); color: var(--text-2); border-radius: 999px; padding: 1px 8px; font-variant-numeric: tabular-nums; }
.acct-nav a:hover { background: var(--surface-well); color: var(--text-1); }
.acct-nav a.active { background: var(--primary-tint); color: var(--primary); }
.acct-nav a.active i { color: var(--primary); }
.acct-nav a.active::before { content: ""; position: absolute; inset-inline-start: -14px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brass); }
.acct-nav .acct-out { color: var(--signal-red); margin-top: 6px; border-top: 1px solid var(--line-subtle); border-radius: 0 0 10px 10px; padding-top: 14px; }
.acct-nav .acct-out i { color: var(--signal-red); }
.acct-since { font-size: 12px; color: var(--text-4); padding: 12px 12px 4px; }
.acct-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.acct-title h1 { margin: 0; font-size: clamp(22px, 1.4vw + 14px, 30px); font-weight: 800; letter-spacing: -.03em; }
.acct-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 2px; }
.acct-main .panel h3 { font-size: 16px; margin-bottom: 16px; }
.acct-track { margin-bottom: 16px; }

.acct-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.acct-tile { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: var(--text-1); transition: border-color var(--t-fast) ease, box-shadow var(--t-med) ease; }
a.acct-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); color: var(--text-1); }
.acct-tile i { color: var(--text-3); font-size: 16px; margin-bottom: 8px; }
.acct-tile b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.acct-tile b.price { font-size: 18px; }
.acct-tile span { font-size: 12.5px; color: var(--text-3); }
.acct-tile.is-brass { background: var(--brass-soft); border-color: rgba(183,121,31,.2); }
.acct-tile.is-brass i { color: var(--brass-ink); }

.acct-nudge { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px dashed rgba(183,121,31,.45); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 8px; flex-wrap: wrap; }
.acct-nudge > i { width: 38px; height: 38px; border-radius: 10px; background: var(--brass-soft); color: var(--brass-ink); display: grid; place-items: center; flex: 0 0 auto; }
.acct-nudge strong { display: block; color: var(--text-1); font-size: 14px; }
.acct-nudge span { font-size: 13px; color: var(--text-3); }
.acct-section-head { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 12px; }
.acct-section-head h2 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.acct-section-head a { font-size: 13px; font-weight: 650; color: var(--primary); }
.acct-recs { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* order cards */
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.oc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-subtle); background: var(--surface-well); }
.oc-no { font-weight: 800; color: var(--text-1); margin-inline-end: 10px; font-variant-numeric: tabular-nums; }
.oc-date { font-size: 13px; color: var(--text-3); }
.oc-body { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; }
.oc-thumbs { display: flex; gap: 8px; min-width: 0; }
.oc-thumbs img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: var(--surface-well); padding: 4px; mix-blend-mode: multiply; flex: 0 0 auto; }
.oc-more { width: 56px; height: 56px; border-radius: 12px; background: var(--surface-sunken); display: grid; place-items: center; font-weight: 700; color: var(--text-2); font-size: 13px; }
.oc-total { text-align: end; flex: 0 0 auto; }
.oc-total small { display: block; font-size: 12px; color: var(--text-3); }
.oc-total strong { font-size: 18px; font-weight: 800; color: var(--text-1); }
.oc-actions { display: flex; align-items: center; gap: 8px; padding: 0 18px 16px; flex-wrap: wrap; }
.oc-actions .btn { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; }
.oc-return { padding: 14px 18px; border-top: 1px dashed var(--line); background: #fff8f6; }

/* status pills (storefront) */
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: var(--surface-sunken); color: var(--text-2); }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.st-processing { background: var(--primary-tint); color: #1e4b8f; }
.status-pill.st-shipped { background: var(--brass-soft); color: var(--brass-ink); }
.status-pill.st-delivered, .status-pill.st-paid { background: #e3f3ea; color: var(--signal-green); }
.status-pill.st-cancelled { background: #fbe7e3; color: var(--signal-red); }

/* rewards ledger */
.ledger-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-subtle); }
.ledger-row:last-child { border-bottom: 0; }
.lg-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; flex: 0 0 auto; }
.lg-ic.plus { background: #e3f3ea; color: var(--signal-green); }
.lg-ic.minus { background: #fbe7e3; color: var(--signal-red); }
.lg-pts { font-weight: 800; font-variant-numeric: tabular-nums; }
.lg-pts.plus { color: var(--signal-green); } .lg-pts.minus { color: var(--signal-red); }
.ledger strong { color: var(--text-1); font-size: 14px; }
.rewards-hero { background: var(--night-900); background-image: radial-gradient(60% 140% at 100% 0%, rgba(233,194,122,.2), transparent 70%); }
.rewards-hero .rh-ico { color: rgba(233,194,122,.35); }
.check-row { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }

@media (max-width: 991px) {
  .acct-shell { grid-template-columns: 1fr; gap: 16px; }
  .acct-side { position: static; padding: 12px; }
  .acct-id { padding: 2px 2px 12px; }
  .acct-nav { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; margin: 0 -12px; padding: 0 12px; }
  .acct-nav::-webkit-scrollbar { display: none; }
  .acct-nav a { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
  .acct-nav a.active { border-color: transparent; }
  .acct-nav a.active::before { display: none; }
  .acct-nav .acct-out { margin-top: 0; border-top: 1px solid var(--line); border-radius: 999px; padding-top: 8px; }
  .acct-since { display: none; }
  .acct-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acct-recs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .oc-head { padding: 12px 14px; flex-wrap: wrap; }
  .oc-body { padding: 12px 14px; }
  .oc-thumbs img, .oc-more { width: 46px; height: 46px; }
  .oc-thumbs img:nth-child(n+4) { display: none; }
  .oc-actions { padding: 0 14px 14px; }
  .acct-tile { padding: 14px; }
  .acct-tile b { font-size: 19px; }
  .acct-tile b.price { font-size: 15px; }
}
