/* ================================================================
   LUMA STOREFRONT PREMIUM FOUNDATION
   Revision: 1.0 / Luma18.19a-preview integration — Single-layer replacement for Luma 18.x cascade
   Targets: Luma18.18k index.html DOM (unchanged)
   Last patch: 18.29e-preview — storefront visual polish, CSS-only
   
   INTEGRATION: Remove ALL existing inline <style> blocks from
   index.html. Add ONE <link> to this file in <head>.
   Do NOT layer more patches on top — edit this file in place.
   ================================================================ */


/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* palette */
  --cream:        #fffaf2;
  --cream-soft:   #f7f1e8;
  --cream-deep:   #ede3d5;
  --black:        #111;
  --white:        #fff;
  --gray-light:   #f5f5f5;
  --gray-mid:     #e0e0e0;
  --gray-text:    #666;
  --gray-subtle:  #999;
  --accent:       #c8956c;
  --accent2:      #e07b5a;
  --red-soft:     #b71c1c;

  /* typography */
  --font-ar: 'Tajawal', sans-serif;
  --font-en: 'Playfair Display', serif;

  /* motion */
  --ease-panel:   cubic-bezier(.22, .78, .2, 1);
  --ease-card:    cubic-bezier(.2, .75, .2, 1);
  --ease-quick:   cubic-bezier(.3, .6, .4, 1);
  --dur-panel:    310ms;
  --dur-modal:    340ms;
  --dur-quick:    180ms;
  --dur-hero:     280ms;

  /* spacing */
  --gap-grid-mobile: 14px 10px;
  --gap-grid-desk:   24px 18px;

  /* shadows */
  --shadow-xs:     0 4px 12px rgba(27, 20, 14, .05);
  --shadow-card:   0 10px 28px rgba(27, 20, 14, .06);
  --shadow-float:  0 16px 44px rgba(27, 20, 14, .10);
  --shadow-drawer: 18px 0 44px rgba(0, 0, 0, .13);
  --shadow-btn:    0 8px 20px rgba(17, 17, 17, .14);

  /* radius */
  --r-card:   22px;
  --r-img:    18px;
  --r-pill:   999px;
  --r-drawer: 0 20px 20px 0;
  --r-sheet:  20px 20px 0 0;
}


/* ── 2. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto;           /* no smooth-scroll surprise */
  overflow-x: hidden;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  font-family: var(--font-ar);
  background: var(--cream);
  color: var(--black);
  direction: rtl;
  position: relative;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
}

body.luma-scroll-locked {
  overflow: hidden;
  /* panels still scroll internally */
}
body.luma-scroll-locked .cart-drawer,
body.luma-scroll-locked .side-menu,
body.luma-scroll-locked .product-modal,
body.luma-scroll-locked .checkout-modal,
body.luma-scroll-locked .search-overlay,
body.luma-scroll-locked .filter-drawer,
body.luma-scroll-locked #wishlist-drawer,
body.luma-scroll-locked #my-orders-modal,
body.luma-scroll-locked #return-modal,
body.luma-scroll-locked #info-modal,
body.luma-scroll-locked #luma-image-viewer {
  touch-action: pan-y;
}

img { display: block; max-width: 100%; }
svg.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font-family: var(--font-ar);
  -webkit-tap-highlight-color: transparent;
}
input, select, textarea {
  font-size: 16px !important;  /* iOS zoom prevention */
}


/* ── 3. ANNOUNCEMENT BAR ────────────────────────────────────── */
.announce {
  background: var(--black);
  color: rgba(255,255,255,.88);
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  letter-spacing: .4px;
}
.announce span { margin: 0 8px; opacity: .35; }

/* ── INLINE FIELD VALIDATION ERROR ─────────────────────────── */
.field-error-msg {
  display: block;
  font-size: 11.5px;
  color: #c0392b;
  font-weight: 600;
  margin-top: 5px;
  padding: 0 2px;
  animation: lumaFieldErrorIn .18s ease;
}
@keyframes lumaFieldErrorIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }
.field-error-highlight {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231,76,60,.15) !important;
}

/* ── SCROLL TO TOP BUTTON ───────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(17,17,17,.82);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 490;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.scroll-top-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.5; fill: none; }


/* ── 4. HEADER ──────────────────────────────────────────────── */
header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(17, 17, 17, .07);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(17, 17, 17, .035);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-icons button, .header-icons a {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  padding: 4px;
}
.logo {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--black);
}
.logo sub {
  font-family: var(--font-ar);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--gray-text);
  display: block;
  text-align: center;
  margin-top: -2px;
}
.cart-badge, .wishlist-badge {
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  width: 17px; height: 17px;
  font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  position: absolute;
  top: -6px; left: -6px;
  font-weight: 700;
  pointer-events: none;
}


/* ── HERO: Base rules (mobile-first, all screens) ── */
/* ── 5. HERO SLIDER (show / hide — not flex+transform) ─────── */
.hero {
  width: 100%;
  max-width: 100vw;
  position: relative;
  overflow: hidden;
  direction: ltr;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior-x: contain;
  touch-action: pan-y pinch-zoom;
}

/* The JS uses goSlide() which toggles .active on slides.
   hero-track is now display:block (not flex). */
.hero-track {
  display: block;
  width: 100%;
  /* no transform: JS uses show/hide */
}

.hero-slide {
  display: none;
  width: 100%;
  position: relative;
}
.hero-slide.active {
  display: block;
  animation: lumaHeroFadeIn var(--dur-hero) var(--ease-quick) both;
}
@keyframes lumaHeroFadeIn {
  from { opacity: .7; }
  to   { opacity: 1; }
}

/* Hero placeholder (fallback gradient + text overlay) */
.hero-slide .hero-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff7ed 0%, #ead9c5 52%, #fffaf3 100%);
  border-bottom: 1px solid rgba(127, 86, 55, .10);
  box-shadow: inset 0 -30px 60px rgba(255, 255, 255, .18);
}
.hero-slide .hero-placeholder::before,
.hero-slide .hero-placeholder::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  z-index: 0;
}
.hero-slide .hero-placeholder::before {
  width: 62%;
  height: 46%;
  left: -20%;
  top: -14%;
  background: radial-gradient(circle, rgba(255,255,255,.52), rgba(255,255,255,0) 68%);
}
.hero-slide .hero-placeholder::after {
  width: 48%;
  height: 34%;
  right: -18%;
  bottom: -12%;
  background: radial-gradient(circle, rgba(200,149,108,.18), rgba(200,149,108,0) 70%);
}
@media (min-width: 760px) {
  .hero-slide .hero-placeholder { aspect-ratio: 16 / 7; }
}
.hero-slide-1 .hero-placeholder { background: linear-gradient(135deg, #fff8ef 0%, #ead8c5 46%, #fffaf3 100%); }
.hero-slide-2 .hero-placeholder { background: radial-gradient(circle at 16% 82%, rgba(255,255,255,.62) 0%, rgba(255,255,255,0) 36%), linear-gradient(135deg, #fff6ec 0%, #efd8bf 43%, #fffaf4 100%); }
.hero-slide-3 .hero-placeholder { background: radial-gradient(circle at 22% 18%, rgba(255,255,255,.58) 0%, rgba(255,255,255,0) 34%), linear-gradient(135deg, #fff9f1 0%, #e9d9c6 48%, #f7efe4 100%); }

/* Hero bg image (admin-set) */
.hero-bg-img {
  position: absolute;
  left: 5%;
  top: 7%;
  width: 54%;
  height: 86%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  border-radius: 20px;
  background: rgba(255, 255, 255, .38);
  box-shadow: 0 18px 40px rgba(27, 20, 14, .10);
  padding: 8px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity .28s ease;
}
.hero-slide .hero-placeholder.hero-image-ready .hero-bg-img,
.hero-slide .hero-placeholder.hero-image-active .hero-bg-img {
  opacity: 1;
}
.hero-slide .hero-placeholder.hero-image-active .hero-bags-visual {
  display: none;
}
/* Subtle shimmer while loading */
.hero-slide .hero-placeholder.hero-image-loading .hero-bg-img {
  background: linear-gradient(110deg, rgba(255,255,255,.08), rgba(255,255,255,.32), rgba(255,255,255,.08));
  background-size: 200% 100%;
  animation: lumaShimmer 1s ease-in-out infinite;
}
@keyframes lumaShimmer {
  0%   { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

/* Hero text overlay */
.hero-text-overlay {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  text-align: right;
  max-width: 40%;
  padding: 10px 0;
}
.hero-text-overlay .tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 250, 244, .94);
  color: #765034;
  border: 1px solid rgba(200, 149, 108, .34);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
  box-shadow: 0 8px 22px rgba(83, 52, 30, .08);
}
.hero-text-overlay h2 {
  font-size: clamp(20px, 6vw, 34px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.035em;
  color: var(--black);
  margin-bottom: 14px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .38);
}
.hero-text-overlay .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: linear-gradient(135deg, var(--black), #2a211b);
  color: var(--white);
  padding: 10px 23px;
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 900;
  border-radius: var(--r-pill);
  box-shadow: 0 12px 28px rgba(17, 17, 17, .20);
  transition: transform var(--dur-quick) ease, box-shadow var(--dur-quick) ease;
}
.hero-text-overlay .hero-btn:active { transform: scale(.97); }

/* Bag visual (fallback when no image) */
.hero-bags-visual {
  position: absolute;
  left: 6%;
  bottom: 0;
  width: 46%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}
.bag-stack {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding-bottom: 14px;
}
.bag-item {
  background: rgba(255, 255, 255, .90);
  border: 1px solid rgba(127, 86, 55, .08);
  border-radius: 16px;
  padding: 9px 11px;
  box-shadow: 0 14px 34px rgba(58, 40, 28, .12);
  font-size: 38px;
  line-height: 1;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.bag-item.big { font-size: 50px; transform: translateY(-4px); }

/* Hero dots */
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 0 8px;
}
.hero-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gray-mid);
  cursor: pointer;
  transition: background var(--dur-quick) ease, width var(--dur-quick) ease;
}
.hero-dots span.active {
  background: var(--black);
  width: 18px;
  border-radius: 3px;
}

/* Hero aspect ratio variants */
.hero[data-ratio="square"]   .hero-slide .hero-placeholder { aspect-ratio: 1 / 1; }
.hero[data-ratio="portrait"]  .hero-slide .hero-placeholder { aspect-ratio: 4 / 5; }
.hero[data-ratio="classic"]   .hero-slide .hero-placeholder { aspect-ratio: 5 / 4; }
.hero[data-ratio="wide"]      .hero-slide .hero-placeholder { aspect-ratio: 16 / 9; }


/* ── 6. SECTION TITLE ───────────────────────────────────────── */
.section-title {
  font-family: var(--font-ar);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 16px;
  padding-inline: 16px;
  letter-spacing: -.01em;
  line-height: 1.25;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.section-title .see-all,
.section-title a {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  flex-shrink: 0;
}


/* ── 7. CATEGORY SCROLL ─────────────────────────────────────── */
.categories-scroll {
  display: flex;
  gap: 11px;
  direction: rtl;
  padding: 0 16px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  max-width: 100vw;
}
.categories-scroll::-webkit-scrollbar { display: none; }

.cat-card {
  min-width: 122px;
  border-radius: 21px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  scroll-snap-align: start;
  aspect-ratio: 1 / 1.1;
  background: var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  text-decoration: none;
  direction: rtl;
  border: 1px solid rgba(17, 17, 17, .055);
  box-shadow: 0 8px 22px rgba(27, 20, 14, .052);
  transition: transform var(--dur-quick) ease, box-shadow var(--dur-quick) ease;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,0) 48%);
  pointer-events: none;
}
.cat-card:active { transform: scale(.97); }

.cat-card .cat-label {
  font-family: var(--font-ar);
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.3;
  text-align: center;
  margin-top: 7px;
  white-space: normal;
  max-width: 68px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cat-card .cat-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--gray-subtle);
  text-align: center;
  margin-top: 2px;
  line-height: 1.2;
}

.cat-tote    { background: linear-gradient(160deg, #f0e6d8, #dcc9b4); }
.cat-shoulder{ background: linear-gradient(160deg, #dde4ec, #bfc9d4); }
.cat-cross   { background: linear-gradient(160deg, #e8dced, #cec0d5); }
.cat-clutch  { background: linear-gradient(160deg, #f5e8dc, #e0ccba); }
.cat-mini    { background: linear-gradient(160deg, #dff0e8, #b8d9c8); }
.cat-sets    { background: linear-gradient(160deg, #f5f0dc, #e0d4aa); }

.see-all {
  display: flex;
  justify-content: flex-start;
  direction: rtl;
  padding: 0 20px 20px;
}
.see-all a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  border: 1px solid rgba(17, 17, 17, .10);
  background: rgba(255, 255, 255, .88);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  box-shadow: var(--shadow-xs);
  direction: rtl;
  unicode-bidi: isolate;
}


/* ── 8. PRODUCTS GRID & CARDS ───────────────────────────────── */
.products-section {
  padding: 0 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
  direction: rtl;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, .07);
  border-radius: 18px;
  padding: 10px 14px;
  box-shadow: var(--shadow-xs);
}
.catalog-title-meta { font-size: 12px; color: var(--gray-text); }
.catalog-actions { display: flex; gap: 8px; align-items: center; }
.catalog-select, .catalog-filter-btn {
  border: 1px solid rgba(17, 17, 17, .12);
  background: var(--white);
  color: var(--black);
  border-radius: var(--r-pill);
  padding: 8px 12px;
  min-height: 44px;
  font-family: var(--font-ar);
  font-size: 12px;
  cursor: pointer;
  font-weight: 700;
}
.active-filter-count {
  display: none;
  min-width: 18px; height: 18px;
  border-radius: 99px;
  background: var(--black); color: var(--white);
  align-items: center; justify-content: center;
  font-size: 10px;
  margin-inline-start: 4px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-grid-mobile);
  align-items: stretch;
}

/* ── Product card ── */
.product-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf9 100%);
  border: 1px solid rgba(34, 24, 16, .075);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(27, 20, 14, .058);
  transition: transform var(--dur-quick) ease, box-shadow var(--dur-quick) ease, border-color var(--dur-quick) ease;
  min-width: 0;
}
.product-card:active {
  transform: translateY(1px) scale(.993);
  box-shadow: var(--shadow-xs);
}
.product-card:has(button:active) {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.product-img {
  position: relative;
  width: calc(100% - 16px);
  margin: 8px 8px 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-img);
  background: radial-gradient(circle at 50% 20%, #fffefd 0%, #f8efe4 54%, #e7d6bf 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  padding: 0;
  transition: transform .28s var(--ease-card), opacity .18s ease;
  backface-visibility: hidden;
}


/* Broken image fallback */
.product-img img[data-lumaimageerror="1"],
.merch-img img[data-lumaimageerror="1"] {
  opacity: 0;
}
.product-img:has(img[data-lumaimageerror="1"])::after,
.merch-img:has(img[data-lumaimageerror="1"])::after {
  content: "🛍️";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: var(--cream);
}

.product-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 3;
  font-family: var(--font-ar);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  line-height: 1;
  pointer-events: none;
  letter-spacing: .01em;
  /* default = sale / fallback */
  background: #b71c1c;
  color: #fff;
}
.product-badge.new  { background: var(--black);  color: #fff; }
.product-badge.best { background: var(--accent); color: #fff; }

.card-low-stock {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100% - 20px);
  padding: 5px 9px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  font-family: var(--font-ar);
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(180, 83, 9, .22);
  pointer-events: none;
  animation: lumaStockPulse 2.4s ease-in-out infinite;
}
.card-low-stock::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  flex: 0 0 auto;
}
.merch-badge.merch-low-stock {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
}

/* Card quick action buttons — CSS-owned after 18.22b cleanup */
.card-wish-btn, .card-share-btn {
  position: absolute;
  top: 9px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(17, 17, 17, .07);
  box-shadow: 0 4px 12px rgba(17, 17, 17, .10);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform var(--dur-quick) ease, box-shadow var(--dur-quick) ease, background var(--dur-quick) ease;
  z-index: 8;
}
.card-wish-btn { left: 8px; }
/* keep share below heart without covering main image area */
.card-share-btn {
  right: auto;
  left: 8px;
  top: 47px;
}
.card-wish-btn:active, .card-share-btn:active {
  transform: scale(.92);
}

/* Product info */
.product-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 10px 10px 12px;
  text-align: center;
  min-width: 0;
}
.product-info h3 {
  font-family: var(--font-ar);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.45;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 8px;
}
.price-new {
  font-family: var(--font-ar);
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}
.price-old {
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-subtle);
  text-decoration: line-through;
  line-height: 1;
}
.product-colors {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 4px;
}
.color-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, .15);
}

/* Mini-thumbnail strip — PROTECTED feature */
.card-preview-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  margin: 8px auto 5px;
  direction: ltr;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow: hidden;
}
.card-preview-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  min-width: 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .14);
  background: var(--white);
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 3px 9px rgba(17, 17, 17, .07);
  flex: 0 0 auto;
}
.card-preview-thumb.active {
  border-color: var(--black);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--black);
}
.card-preview-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.card-preview-dot {
  display: inline-block;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, .16);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .65), 0 2px 7px rgba(17, 17, 17, .06);
  flex: 0 0 auto;
}
.card-preview-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px; height: 22px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 900;
  background: #f5f1ea;
  color: var(--black);
  padding: 0 6px;
}

/* Card CTAs — PROTECTED: buy-now + add-to-cart both present */
.btn-stack, .card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: auto;
  padding-top: 8px;
}
.btn-order-now, .btn-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: var(--r-pill);
  font-family: var(--font-ar);
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform var(--dur-quick) ease, box-shadow var(--dur-quick) ease;
}
.btn-order-now {
  min-height: 44px;
  font-size: 12px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  box-shadow: 0 8px 20px rgba(17, 17, 17, .12);
}
.btn-order-now:active { transform: scale(.985); }
.btn-order-now:disabled { background: #ccc; border-color: #ccc; cursor: not-allowed; pointer-events: none; }

.btn-add {
  min-height: 44px;
  font-size: 11px;
  background: var(--white);
  color: var(--black);
  border: 1px solid rgba(17, 17, 17, .12);
  box-shadow: 0 5px 14px rgba(17, 17, 17, .05);
}
.btn-add:active { transform: scale(.985); }
.btn-add:disabled { background: #efefef; color: #777; border-color: #e2e2e2; cursor: not-allowed; pointer-events: none; }

/* Sold-out card state */
.product-card.luma-card-out-of-stock .product-img img {
  filter: grayscale(.38) brightness(.82);
  transform: scale(1.01);
}
.product-card.luma-card-out-of-stock .btn-order-now,
.product-card.luma-card-out-of-stock .btn-add[disabled],
.product-card.luma-card-out-of-stock .btn-add {
  background: #f2f0ed;
  color: #7c746c;
  border-color: #e5dfd7;
  box-shadow: none;
  pointer-events: none;
}


/* Premium placeholder state for products without an uploaded image */
.product-img > span[style*="font-size:64px"] {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(237,227,213,.92));
  border: 1px solid rgba(17,17,17,.06);
  box-shadow: 0 12px 28px rgba(27,20,14,.09);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0 !important;
  color: transparent;
}
.product-img > span[style*="font-size:64px"]::before {
  content: 'LUMA';
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(17,17,17,.72);
}
.product-card.luma-card-out-of-stock .product-img > div[style*="position:absolute"] {
  background: rgba(255,255,255,.50) !important;
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}
.product-card.luma-card-out-of-stock .product-img > div[style*="position:absolute"] span {
  background: var(--black) !important;
  color: var(--white) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  padding: 7px 16px !important;
  border-radius: var(--r-pill) !important;
  box-shadow: 0 8px 22px rgba(17,17,17,.16) !important;
}

/* Empty catalog state */
.luma-empty-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 44px 14px;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, .07);
  border-radius: var(--r-card);
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.8;
  box-shadow: var(--shadow-xs);
}
.luma-empty-products strong { color: var(--black); font-size: 16px; }


/* ── 9. MERCH SECTIONS ──────────────────────────────────────── */
.merch-sections {
  padding: 4px 14px 20px;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 50%, var(--white) 100%);
}

.merch-section {
  margin: 22px 0;
  background: var(--white);
  border: 1px solid rgba(34, 24, 16, .07);
  border-radius: 24px;
  padding: 14px 12px 18px;
  box-shadow: var(--shadow-card);
}
.merch-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
  text-align: right;
  margin-bottom: 14px;
  padding-inline: 2px;
}
.merch-head h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--black);
  margin: 0;
  letter-spacing: -.03em;
}
.merch-head button {
  background: #fafafa;
  border: 1px solid rgba(17, 17, 17, .12);
  color: var(--black);
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  cursor: pointer;
  direction: rtl;
  unicode-bidi: isolate;
}

.merch-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  align-items: stretch;
}

.merch-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(34, 24, 16, .09);
  border-radius: 24px;
  padding: 10px 10px 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-quick) ease, box-shadow var(--dur-quick) ease;
  cursor: pointer;
}
.merch-card:active { transform: scale(.983); }

.merch-img {
  position: relative;
  aspect-ratio: 1 / 1.08;
  border-radius: 20px;
  background: radial-gradient(circle at 52% 25%, var(--white) 0%, #f8f1e8 64%, #ecdfcd 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}
.merch-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform .28s var(--ease-card);
}
.merch-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-pill);
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 800;
  z-index: 3;
}
.merch-info {
  padding-top: 9px;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.merch-info h3 {
  font-size: 13.5px;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.38;
  color: var(--black);
  min-height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.merch-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  margin: 0 auto 4px;
}
.merch-info .card-actions {
  margin-top: auto;
}


/* ── 10. COLLECTION HERO (catalog page) ─────────────────────── */
.collection-hero {
  margin: 0 16px 24px;
  border-radius: 18px;
  overflow: hidden;
  min-height: 150px;
  background: linear-gradient(135deg, rgba(0,0,0,.52), rgba(0,0,0,.12)), var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}
.collection-hero h2 { font-size: 28px; font-weight: 900; }


/* ── 11. PROMO BANNER ───────────────────────────────────────── */
.promo-banner {
  margin: 24px 16px;
  background:
    radial-gradient(circle at 12% 20%, rgba(200,149,108,.28), rgba(200,149,108,0) 34%),
    linear-gradient(135deg, #111 0%, #211913 52%, #111 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 26px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(17, 17, 17, .14);
  border: 1px solid rgba(255, 255, 255, .08);
}
.promo-banner::before,
.promo-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.promo-banner::before {
  top: -38px; right: -32px;
  width: 132px; height: 132px;
  background: var(--accent);
  opacity: .16;
}
.promo-banner::after {
  left: -42px; bottom: -54px;
  width: 150px; height: 150px;
  background: rgba(255, 255, 255, .10);
}
.promo-banner h3, .promo-banner p, .promo-banner a { position: relative; z-index: 1; }
.promo-banner h3 { font-size: 21px; font-weight: 900; margin-bottom: 7px; letter-spacing: -.01em; }
.promo-banner p  { font-size: 13px; opacity: .80; margin-bottom: 17px; white-space: normal; }
.promo-banner a  {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--black);
  padding: 11px 30px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 900;
  border-radius: var(--r-pill);
  font-family: var(--font-ar);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}


/* ── 12. RECENTLY VIEWED ────────────────────────────────────── */
.recent-section {
  margin: 20px 0 10px;
  padding: 0 14px 10px;
}
.recent-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.recent-scroll::-webkit-scrollbar { display: none; }
.recent-item {
  min-width: 90px;
  flex-shrink: 0;
  text-align: center;
  cursor: pointer;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, .06);
  box-shadow: var(--shadow-xs);
  padding-bottom: 8px;
  transition: transform var(--dur-quick) ease;
}
.recent-item:active { transform: scale(.97); }
.recent-img {
  width: 90px; height: 90px;
  border-radius: 12px 12px 8px 8px;
  background: linear-gradient(145deg, #fbf8f2, #f2eee7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  overflow: hidden;
}
.recent-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recent-item p  { font-size: 11px; font-weight: 700; color: var(--black); margin-top: 6px; padding: 0 5px; }
.recent-item strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  margin-top: 4px;
}


/* ── 13. FEATURES / TRUST STRIP ─────────────────────────────── */
.features {
  display: flex;
  border-top: 1px solid rgba(17, 17, 17, .06);
  border-bottom: 1px solid rgba(17, 17, 17, .06);
  margin: 16px 0;
  background: linear-gradient(180deg, var(--white), #fbfaf8);
}
.feat-item {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  border-left: 1px solid rgba(17, 17, 17, .06);
  font-size: 11px;
  color: var(--gray-text);
  line-height: 1.5;
}
.feat-item:last-child { border-left: none; }
.feat-item .feat-icon { font-size: 22px; display: block; margin-bottom: 5px; }
.feat-item strong { display: block; color: var(--black); font-size: 12px; font-weight: 700; }


/* ── 14. FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--white);
  padding: 28px 20px 100px;
}
.footer-social { text-align: center; margin-bottom: 20px; }
.footer-social p {
  font-family: var(--font-ar);
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-text);
  line-height: 1.7;
  margin: 0 0 12px;
}
.social-icons { display: flex; justify-content: center; gap: 14px; }
.social-icons a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 22px;
  transition: color var(--dur-quick) ease;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  font-family: var(--font-ar);
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-text);
  text-decoration: none;
  line-height: 1.45;
}
.footer-link:hover {
  color: var(--black);
}
.footer-bottom {
  font-family: var(--font-ar);
  font-size: 12px;
  font-weight: 400;
  color: var(--gray-subtle);
  text-align: center;
  padding: 16px;
  border-top: 1px solid var(--gray-mid);
  margin-top: 8px;
}


/* ── 15. BOTTOM NAV ─────────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid rgba(17, 17, 17, .08);
  display: flex;
  z-index: 200;
  height: 60px;
  max-width: 100vw;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  color: var(--gray-text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color var(--dur-quick) ease;
}
.bottom-nav a.active { color: var(--black); }
.bottom-nav a svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; }


/* ── 16. TOAST ──────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--black);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  z-index: 5000;
  opacity: 0;
  transition: opacity var(--dur-quick) ease, transform var(--dur-quick) ease;
  white-space: normal;
  width: max-content;
  max-width: min(86vw, 400px);
  text-align: center;
  line-height: 1.55;
  pointer-events: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.checkout-context {
  bottom: auto;
  top: calc(64px + env(safe-area-inset-top, 0px));
  transform: translateX(-50%) translateY(-12px);
  z-index: 5200;
  border-radius: 18px;
  font-size: 12.5px;
}
.toast.checkout-context.show {
  transform: translateX(-50%) translateY(0);
}


/* ── 17. OVERLAY / BACKDROP ─────────────────────────────────── */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .42);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-panel) ease;
}
.overlay.show { opacity: 1; pointer-events: all; }


/* ── 18. CART DRAWER (LEFT PANEL) ───────────────────────────── */
.cart-drawer {
  position: fixed;
  top: 0; bottom: 0;
  left: 0; right: auto;
  width: min(88vw, 390px);
  max-width: 390px;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--white);
  z-index: 400;
  /* slides IN from left */
  transform: translateX(-102%);
  transition: transform var(--dur-panel) var(--ease-panel);
  display: flex;
  flex-direction: column;
  direction: rtl;
  border-radius: var(--r-drawer);
  box-shadow: var(--shadow-drawer);
  overflow: hidden;
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 18px 15px;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  background: linear-gradient(135deg, var(--cream), var(--cream-soft));
}
.cart-header h3 { font-size: 17px; font-weight: 700; }
.cart-header button { background: none; border: none; font-size: 20px; cursor: pointer; }

.cart-items {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 16px 160px;
  -webkit-overflow-scrolling: touch;
}
.cart-empty {
  text-align: center;
  padding: 52px 24px 56px;
  color: var(--gray-text);
}
.cart-empty .empty-icon { font-size: 44px; display: block; margin-bottom: 14px; }
.cart-empty p { font-size: 16px; font-weight: 700; color: #222; margin: 0 0 6px; }
.cart-empty small { font-size: 13px; color: #999; font-weight: 400; display: block; margin-bottom: 20px; }
.cart-empty .empty-cta {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-soft);
  align-items: center;
}
.cart-item-img {
  width: 58px; height: 58px;
  background: var(--cream-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.cart-item-info p { font-size: 13px; color: var(--gray-text); }
.cart-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.cart-qty button {
  background: var(--gray-light);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.cart-qty span { font-size: 14px; font-weight: 700; }
.cart-item-del {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 38px;
  border-radius: 12px;
  background: #fff5f5;
  border: 1px solid rgba(190, 45, 45, .14);
  color: #9d2424;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cart-footer {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(0, 0, 0, .07);
  background: linear-gradient(180deg, rgba(255,255,255,.96), var(--cream) 52%, #fff4e8);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, .08);
  z-index: 3;
}
.cart-footer-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #555;
}
.cart-footer-summary strong { color: var(--black); font-size: 15px; }
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}
.cart-actions-row {
  display: grid;
  grid-template-columns: 1fr 1.75fr;
  gap: 10px;
}
.btn-clear-cart, .btn-checkout {
  min-height: 48px;
  border-radius: 14px;
  font-family: var(--font-ar);
  font-weight: 800;
  touch-action: manipulation;
  cursor: pointer;
}
.btn-clear-cart {
  border: 1px solid rgba(0, 0, 0, .11);
  background: var(--white);
  color: #7a1f1f;
  font-size: 13px;
}
.btn-checkout {
  background: var(--black);
  color: var(--white);
  border: none;
  font-size: 14px;
  box-shadow: var(--shadow-btn);
  transition: transform var(--dur-quick) ease;
}
.btn-checkout:active { transform: scale(.985); }


/* ── 19. SIDE MENU (RIGHT PANEL) ────────────────────────────── */
.side-menu {
  position: fixed;
  top: 0; right: 0;
  bottom: 0; left: auto;
  width: min(86vw, 370px);
  max-width: 370px;
  height: 100%;
  background: var(--white);
  z-index: 400;
  transform: translateX(100%);
  transition: transform var(--dur-panel) var(--ease-panel);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -14px 0 40px rgba(0, 0, 0, .13);
}
.side-menu.open { transform: translateX(0); }

.side-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-mid);
}
.side-menu-header .logo { font-size: 18px; }
.side-menu-header button { background: none; border: none; font-size: 22px; cursor: pointer; }

.menu-section { padding: 8px 0; border-bottom: 1px solid rgba(17, 17, 17, .05); }
.menu-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-subtle);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 22px 4px;
}
.menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: background var(--dur-quick) ease;
}
.menu-link:active { background: var(--cream-soft); }
.menu-link .menu-emoji { font-size: 18px; }

/* Side menu recently-viewed grid */
.menu-recent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 18px 16px;
}
.menu-recent-card {
  border: 1px solid rgba(17, 17, 17, .07);
  border-radius: 14px;
  overflow: hidden;
  background: #fafafa;
  text-align: center;
  cursor: pointer;
}
.menu-recent-img {
  aspect-ratio: 1;
  background: var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  overflow: hidden;
}
.menu-recent-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-recent-card p {
  padding: 6px 5px 8px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--black);
  margin: 0;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ── 20. SEARCH OVERLAY ─────────────────────────────────────── */
.search-overlay {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100dvh;
  background: var(--white);
  z-index: 500;
  transform: translateY(-100%);
  transition: transform var(--dur-panel) var(--ease-panel);
  display: flex;
  flex-direction: column;
  max-width: 100vw;
  overflow-x: hidden;
}
.search-overlay.open { transform: translateY(0); }
.search-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-mid);
}
.search-input {
  flex: 1;
  border: 1.5px solid var(--gray-mid);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-ar);
  font-size: 15px;
  outline: none;
  transition: border-color var(--dur-quick) ease;
}
.search-input:focus { border-color: var(--black); }
.search-cancel {
  background: none;
  border: none;
  font-family: var(--font-ar);
  font-size: 14px;
  cursor: pointer;
  color: var(--black);
  font-weight: 500;
}
.search-results { flex: 1; overflow-y: auto; padding: 16px; }
.search-result-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-soft);
  cursor: pointer;
}
.search-result-img {
  width: 52px; height: 52px;
  background: var(--cream-soft);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  overflow: hidden;
}
.search-result-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.search-result-info h4 { font-size: 14px; font-weight: 600; }
.search-result-info p { font-size: 13px; color: var(--gray-text); margin-top: 2px; }


/* ── 21. FILTER DRAWER (BOTTOM SHEET) ───────────────────────── */
.filter-drawer {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1002;
  background: var(--white);
  border-radius: var(--r-sheet);
  transform: translateY(110%);
  transition: transform .28s var(--ease-panel);
  max-height: 82dvh;
  overflow: auto;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .15);
  direction: rtl;
  padding: 18px 18px 22px;
  max-width: 100vw;
  overscroll-behavior: contain;
}
.filter-drawer.show { transform: translateY(0); }
.filter-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.filter-head h3 { font-size: 20px; font-weight: 800; }
.filter-close { background: none; border: none; font-size: 24px; cursor: pointer; }
.filter-group { border-top: 1px solid rgba(17, 17, 17, .07); padding: 14px 0; }
.filter-group-title { font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.filter-chip-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  border: 1px solid var(--gray-mid);
  background: var(--white);
  padding: 8px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-ar);
  font-size: 12px;
  cursor: pointer;
  transition: background var(--dur-quick) ease, border-color var(--dur-quick) ease;
}
.filter-chip.active { background: var(--black); color: var(--white); border-color: var(--black); }
.color-filter-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--gray-mid);
  cursor: pointer;
  background: #eee;
  box-shadow: inset 0 0 0 2px var(--white);
}
.color-filter-dot.active { border-color: var(--black); transform: scale(1.08); }
.price-row { display: flex; align-items: center; gap: 10px; }
.price-range-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  direction: rtl;
  color: var(--black);
  font-weight: 700;
  margin: 6px 0 8px;
}
.luma-dual-range { direction: rtl; padding: 10px 0 6px; user-select: none; }
.luma-dr-track {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}
.luma-dr-track::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
}
.luma-dr-fill {
  position: absolute;
  height: 4px;
  background: var(--black, #111);
  border-radius: 2px;
  pointer-events: none;
}
.luma-dr-thumb {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--black, #111);
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.25);
  transform: translateX(50%);
  cursor: grab;
  touch-action: none;
  z-index: 2;
  transition: box-shadow .1s;
}
.luma-dr-thumb:active { cursor: grabbing; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.price-box-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; direction: rtl; }
.price-box-field { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 800; }
.price-box-field input {
  width: 100%;
  border: 1px solid var(--gray-mid);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: var(--font-ar);
  text-align: center;
  direction: ltr;
  background: var(--white);
}
.filter-apply {
  position: sticky;
  bottom: 0;
  background: var(--white);
  padding-top: 12px;
  display: flex;
  gap: 8px;
}
.filter-apply button {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-family: var(--font-ar);
  font-weight: 800;
  cursor: pointer;
}
.filter-apply .apply { background: var(--black); color: var(--white); }
.filter-apply .reset { background: var(--gray-light); color: var(--black); }

/* Desktop filter panel */
.desktop-filter-panel {
  display: none;
  position: sticky;
  top: 92px;
  border-top: 1px solid rgba(17, 17, 17, .07);
  direction: rtl;
}


/* ── 22. PRODUCT MODAL ──────────────────────────────────────── */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--cream);
  transform: translateY(100%);
  transition: transform var(--dur-modal) var(--ease-panel);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  direction: rtl;
  pointer-events: none;
  max-width: 100vw;
}
.product-modal.open {
  transform: translateY(0);
  pointer-events: all;
}

/* Raised z-index when product modal is opened from inside account modal */
.product-modal.luma-over-account {
  z-index: 900;
}

/* Sticky back / share header */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, .065);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .03);
  z-index: 80;
  min-height: 56px;
  gap: 8px;
}
.modal-header button {
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 4px 8px;
  border-radius: var(--r-pill);
}
#modal-share-btn {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 0, 0, .07) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-header-title {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 55vw;
}

/* Desktop inner grid container */
.product-modal-inner-desktop {
  max-width: none;
  display: block;
  padding: 0 0 16px;
  direction: rtl;
}

/* Gallery section */
#modal-gallery {
  margin: 12px 12px 0;
}
.modal-hero-gallery {
  position: relative;
  border: 1px solid rgba(0, 0, 0, .075);
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 18%, #fffdf8 0%, #f7efe4 58%, #eadcc8 100%);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .075);
  aspect-ratio: 4 / 5;
}
.modal-hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  direction: ltr;
  background: transparent;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  height: 100%;
}
.modal-hero-track::-webkit-scrollbar { display: none; }
.modal-hero-slide {
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-hero-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  padding: 16px;
  background: transparent;
  box-sizing: border-box;
  display: block;
  backface-visibility: hidden;
  transition: opacity 100ms ease;
}
.product-gallery-placeholder {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: var(--gray-light);
  border-radius: 12px;
}

/* Gallery counter + zoom hint overlays */
.modal-gallery-counter {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(17, 17, 17, .75);
  color: var(--white);
  border-radius: var(--r-pill);
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 4;
}
.modal-gallery-hint {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(0, 0, 0, .06);
  color: var(--black);
  border-radius: var(--r-pill);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .10);
  z-index: 4;
}
.gallery-watermark::after {
  content: '@LUMA';
  position: absolute;
  top: 12px; right: 14px;
  font-size: 11px;
  color: rgba(0, 0, 0, .28);
  font-family: var(--font-en);
  letter-spacing: 1px;
  font-weight: 600;
  pointer-events: none;
  z-index: 3;
}
.gallery-sku-badge {
  position: absolute;
  top: 12px; left: 14px;
  font-size: 11px;
  color: rgba(0, 0, 0, .28);
  font-family: monospace;
  pointer-events: none;
  z-index: 3;
}

/* Zoom button */
.modal-zoom-btn {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .88);
  color: var(--black);
  font-family: var(--font-ar);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
  backdrop-filter: blur(10px);
  cursor: zoom-in;
}
.modal-zoom-btn:active { transform: scale(.97); }

/* Thumbnail strip */
.modal-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px 12px;
  direction: ltr;
  scrollbar-width: none;
  background: rgba(255, 255, 255, .9);
  border-top: 1px solid rgba(0, 0, 0, .05);
}
.modal-thumbs::-webkit-scrollbar { display: none; }
.modal-thumb {
  width: 58px; height: 58px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-soft);
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, .10);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .045);
  transition: border-color var(--dur-quick) ease, box-shadow var(--dur-quick) ease, transform var(--dur-quick) ease;
}
.modal-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 7px 18px rgba(0, 0, 0, .11);
}
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Product info body */
.modal-body {
  margin: 14px 12px 0;
  padding: 18px 16px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(0, 0, 0, .065);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .04);
  touch-action: pan-y;
  position: static;
}

.modal-body h2 {
  font-family: var(--font-ar);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px;
  letter-spacing: -.015em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.modal-body .modal-price {
  font-family: var(--font-ar);
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.02em;
  display: inline-flex;
  align-items: baseline;
  min-height: 40px;
  padding: 3px 0 2px;
  line-height: 1.15;
}
.modal-body .modal-price-old {
  font-size: 14px;
  color: var(--gray-subtle);
  text-decoration: line-through;
  margin: 0 0 12px;
  line-height: 1.35;
}

/* Quantity box */
.modal-qty-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, var(--white), #fff8ee);
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 18px;
  padding: 13px 14px;
  margin: 12px 0 16px;
}
.modal-qty-title { font-size: 14px; font-weight: 800; color: var(--black); }
.modal-qty-hint  { display: block; font-size: 11px; color: #888; margin-top: 3px; font-weight: 500; }
.modal-qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
}
.modal-qty-control button {
  width: 38px; height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: var(--white);
  color: var(--black);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .045);
}
.modal-qty-control button:disabled { opacity: .35; cursor: not-allowed; }
.modal-qty-value { min-width: 28px; text-align: center; font-size: 16px; font-weight: 900; }

/* Color swatches */
.modal-color-label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#modal-selected-color-name {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
}
#modal-selected-color-name:empty { display: none; }
.modal-color-swatches {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.modal-color-swatch {
  width: 62px; height: 62px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .12);
  cursor: pointer;
  transition: border-color var(--dur-quick) ease, box-shadow var(--dur-quick) ease;
  flex-shrink: 0;
  background: var(--cream-soft);
  display: flex; align-items: center; justify-content: center;
  touch-action: manipulation;
  position: relative;
}
.modal-color-swatch.selected {
  border-color: var(--black);
  box-shadow: 0 0 0 2px var(--black), 0 8px 20px rgba(0, 0, 0, .12);
}
.modal-color-swatch.selected::after {
  content: '✓';
  position: absolute;
  right: -4px; bottom: -4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 900;
  border: 2px solid var(--white);
}
.modal-color-swatch img { width: 100%; height: 100%; object-fit: cover; }
.modal-color-swatch .swatch-dot { width: 100%; height: 100%; border-radius: inherit; }

/* Description section */
.modal-desc-section {
  background: linear-gradient(135deg, #fffaf3, var(--white));
  border: 1px solid rgba(0, 0, 0, .065);
  border-radius: 18px;
  padding: 17px 16px;
  margin-bottom: 18px;
}
.modal-desc-section h3 { font-size: 16px; font-weight: 800; margin-bottom: 9px; color: var(--black); }
.modal-desc-section p  { font-size: 15px; color: var(--gray-text); line-height: 1.7; text-align: right; margin: 0; }

/* SKU */
.modal-sku-row {
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 18px;
  text-align: left;
  direction: ltr;
}
.modal-sku-row span { font-family: monospace; font-weight: 700; color: var(--black); }

/* Stock warning */
#modal-stock-warn {
  border-radius: 14px;
  margin-bottom: 12px;
  font-weight: 700;
}

/* Accordion sections */
.modal-product-section {
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 18px;
  background: var(--white);
  margin: 10px 0;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .03);
}
.modal-product-section summary {
  list-style: none;
  cursor: pointer;
  padding: 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(135deg, var(--white), #fff9f1);
}
.modal-product-section summary::-webkit-details-marker { display: none; }
.modal-product-section summary::after {
  content: '⌄';
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: var(--black);
  transition: transform var(--dur-quick) ease, background var(--dur-quick) ease;
}
.modal-product-section details[open] summary::after { transform: rotate(180deg); background: #fff3e7; }
.modal-product-section .section-content {
  padding: 0 14px 15px;
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.75;
}
.modal-product-section .section-content ul { padding: 0 18px 0 0; margin: 0; }
.modal-product-section .section-content li { margin: 0 0 6px; }

/* Benefits strip */
.product-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 16px;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}
/* Choice summary row */
.modal-choice-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 14px;
  padding: 11px 12px;
  border-radius: 17px;
  border: 1px solid rgba(0, 0, 0, .07);
  background: #fffaf4;
}
.modal-choice-summary b { display: block; color: var(--black); font-size: 12.5px; font-weight: 900; margin-bottom: 3px; }
.modal-choice-summary span { display: block; color: #6f6257; font-size: 11px; font-weight: 700; line-height: 1.45; }
.modal-choice-summary .choice-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--black);
  box-shadow: 0 0 0 5px rgba(0, 0, 0, .05);
  flex: 0 0 auto;
}

/* Stock strip */
.modal-stock-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 14px;
  padding: 12px 13px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .07);
  background: linear-gradient(135deg, #f7fff8, #fffdf8);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .03);
}
.modal-stock-strip.low { background: linear-gradient(135deg, #fff9e9, var(--white)); border-color: rgba(176, 112, 0, .18); }
.modal-stock-strip.out { background: linear-gradient(135deg, #f6f6f6, var(--white)); border-color: rgba(0, 0, 0, .10); }

.modal-low-stock {
  border-color: rgba(180, 83, 9, .22);
  background: linear-gradient(135deg, #fff7ed, #fffaf4);
  color: #7c3f00;
  font-weight: 800;
}
.modal-stock-main { display: flex; align-items: center; gap: 9px; min-width: 0; }
.modal-stock-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 14px; flex: 0 0 auto; }
.modal-stock-copy b  { font-size: 13px; font-weight: 900; color: var(--black); }
.modal-stock-copy span { font-size: 11.5px; color: #777; line-height: 1.45; margin-top: 2px; display: block; }
.modal-stock-code { font-size: 11px; color: #666; background: var(--white); border: 1px solid rgba(0,0,0,.06); border-radius: var(--r-pill); padding: 6px 9px; white-space: nowrap; direction: ltr; font-family: var(--font-en), monospace; }

/* Confidence panel */
.modal-confidence-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 14px;
}
.modal-confidence-card {
  min-height: 76px;
  padding: 10px 9px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .065);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .03);
}
.modal-confidence-card i { display: block; font-style: normal; font-size: 17px; margin-bottom: 5px; }
.modal-confidence-card b { display: block; font-size: 11.5px; font-weight: 900; color: var(--black); margin-bottom: 3px; }
.modal-confidence-card span { display: block; font-size: 10px; line-height: 1.45; font-weight: 700; color: #70645a; }

/* Product note dark strip */
.modal-product-note {
  margin: 10px 0 12px;
  padding: 12px 13px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .065);
  background: linear-gradient(135deg, var(--black), #3a3129);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
}
.modal-product-note strong { display: block; font-size: 13px; font-weight: 900; margin-bottom: 4px; }
.modal-product-note span  { display: block; font-size: 11.5px; line-height: 1.7; color: rgba(255,255,255,.82); font-weight: 700; }

/* Section nav (hidden on mobile per 18.12t) */
.modal-section-nav { display: none; }

/* ── PRODUCT MODAL ACTION BAR ─────────────────────────────────
   18.20a1 — Full section replacement. No stacking. No !important.
   Replaces previous modal action-bar section in luma-storefront-premium-foundation.css
   ─────────────────────────────────────────────────────────── */

.modal-actions-bar {
  position: sticky;
  bottom: 0;
  z-index: 65;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 0, 0, .07);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, .08);
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  margin: 18px -14px 0;
  border-radius: 22px 22px 0 0;
}

/* Wishlist button — fixed square, never stretches */
.btn-modal-wishlist {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  max-width: 52px;
  max-height: 52px;
  align-self: center;
  background: var(--white);
  border: 1.5px solid rgba(0, 0, 0, .10);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}
.btn-modal-wishlist.wishlisted {
  border-color: #e74c3c;
}

/* Price info — fixed width, does not grow or shrink */
.modal-purchase-info {
  flex: 0 0 auto;
  min-width: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
}
.modal-purchase-price {
  font-family: var(--font-ar);
  font-size: 17px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  white-space: nowrap;
}
.modal-purchase-label {
  font-family: var(--font-ar);
  font-size: 11px;
  color: #888;
  line-height: 1;
}

/* Action buttons column — takes remaining width */
.modal-actions-bar .action-buttons {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Base button — both Buy Now and Add to Basket */
.btn-modal-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 50px;
  min-height: 50px;
  padding: 0 14px;
  font-family: var(--font-ar);
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  background: var(--black);
  border: 1.5px solid var(--black);
  border-radius: 16px;
  cursor: pointer;
  touch-action: manipulation;
  white-space: normal;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Outline variant — Add to Basket (visually identical by design) */
.btn-modal-add.outline {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: none;
}

/* Out of stock state */
.modal-actions-bar.is-out-stock .btn-modal-add,
.btn-modal-add:disabled {
  background: #c8c8c8;
  color: #666;
  border-color: #c8c8c8;
  box-shadow: none;
  cursor: not-allowed;
}

/* SVG icon inside button inherits color */
.btn-modal-add svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
}

/* Press feedback */
.btn-modal-add:active {
  transform: scale(.985);
  opacity: .9;
}
.btn-modal-wishlist:active {
  transform: scale(.97);
}

/* Universal action button (return modal, etc.) */
.luma-action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 14px 18px;
  border-radius: 16px;
  box-sizing: border-box;
  touch-action: manipulation;
  pointer-events: auto;
  cursor: pointer;
  isolation: isolate;
  font-family: var(--font-ar);
  font-size: 15px;
  font-weight: 800;
}
.luma-action-btn > * { pointer-events: none; }
.luma-action-btn[disabled] { opacity: .72; cursor: wait; }
.luma-action-btn.luma-locked-duplicate { background: #777 !important; color: var(--white) !important; cursor: not-allowed !important; }


/* ── 23. RELATED PRODUCTS ───────────────────────────────────── */
.modal-related {
  margin-top: 16px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  position: relative;
  z-index: 1;
}
.modal-related-group { margin-bottom: 14px; }
.modal-related-group-title {
  font-size: 17px;
  font-weight: 900;
  padding: 4px 18px 12px;
  color: var(--black);
  letter-spacing: -.015em;
}
.modal-related-empty { padding: 0 18px 14px; color: #888; font-size: 13px; }
.modal-related-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 18px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.modal-related-scroll::-webkit-scrollbar { display: none; }
.modal-related-item {
  min-width: 144px;
  width: 144px;
  flex-shrink: 0;
  cursor: pointer;
  text-align: right;
  padding: 8px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(0, 0, 0, .065);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .05);
}
.modal-related-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 24%, #fffdf8 0%, #f6eddf 70%, #eadcc8 100%);
  margin-bottom: 7px;
}
.modal-related-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-related-item p {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.35;
  min-height: 32px;
}
.modal-related-item .rel-price { font-size: 13px; color: var(--black); font-weight: 900; margin-top: 4px; }
.modal-related-item .rel-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; }
.modal-related-item .rel-cat  { background: #f7f3ec; color: #655443; border-radius: var(--r-pill); padding: 3px 7px; font-size: 10.5px; font-weight: 800; }
.modal-related-item .rel-badge { background: var(--black); color: var(--white); border-radius: var(--r-pill); padding: 3px 7px; font-size: 10.5px; font-weight: 800; flex: 0 0 auto; }
.modal-related-topline { padding: 0 18px 10px; font-size: 12.5px; color: #777; line-height: 1.6; margin-top: -4px; }


/* ── 24. CHECKOUT MODAL ───────────────────────────────────────
   18.21a-preview — Checkout visual upgrade. CSS-only.
   Replaces the owning checkout section; no JS/order logic changes.
   ─────────────────────────────────────────────────────────── */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 800;
  background:
    radial-gradient(circle at 20% 0%, rgba(200, 149, 108, .10), transparent 34%),
    linear-gradient(180deg, #fffdf9 0%, var(--cream) 42%, var(--white) 100%);
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateY(101%);
  transition: transform var(--dur-modal) var(--ease-panel), opacity .12s linear, visibility 0s linear var(--dur-modal);
  direction: rtl;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  will-change: transform;
  max-width: 100vw;
  height: 100svh;
  min-height: 100dvh;
  max-height: 100dvh;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  contain: layout paint style;
}
.checkout-modal.open {
  transform: translateY(0);
  pointer-events: all;
  visibility: visible;
  opacity: 1;
  transition: transform var(--dur-modal) var(--ease-panel), opacity .12s linear;
  contain: none;
}
/* Suppress checkout actions when off-screen; keep existing safety behavior. */
.checkout-modal:not(.open) .btn-place-order,
.checkout-modal:not(.open) [data-luma-action="place-order"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Prevent checkout bleed-through onto product page. */
.product-modal.open ~ .checkout-modal:not(.open) { visibility: hidden; }

.checkout-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 13px;
  direction: rtl;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(17, 17, 17, .07);
  box-shadow: 0 8px 24px rgba(17, 17, 17, .035);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.checkout-header button {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 4px 12px rgba(17, 17, 17, .05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}
.checkout-header h3 {
  flex: 1 1 auto;
  margin: 0;
  font-family: var(--font-ar);
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.01em;
  text-align: center;
}
.checkout-header::after {
  content: '';
  flex: 0 0 42px;
  width: 42px;
  height: 1px;
}

.checkout-body {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 18px 16px calc(118px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}
.checkout-body h4 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 12px;
  padding: 0 2px;
  font-family: var(--font-ar);
  font-size: 15px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -.01em;
}
.checkout-body h4:first-of-type { margin-top: 4px; }
.checkout-body h4::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(200, 149, 108, .12);
  flex: 0 0 auto;
}

.form-group {
  margin-bottom: 13px;
}
.form-group label {
  display: block;
  margin: 0 2px 6px;
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 800;
  color: #4f463f;
  line-height: 1.35;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  border: 1px solid rgba(17, 17, 17, .13);
  border-radius: 14px;
  padding: 13px 14px;
  font-family: var(--font-ar);
  font-size: 16px !important; /* iOS anti-zoom */
  line-height: 1.45;
  outline: none;
  color: var(--black);
  background: rgba(255, 255, 255, .96);
  direction: rtl;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 5px 14px rgba(17, 17, 17, .025);
  transition: border-color var(--dur-quick) ease, box-shadow var(--dur-quick) ease, background var(--dur-quick) ease;
}
.form-group textarea {
  min-height: 82px;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa29b;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200, 149, 108, .13), 0 8px 20px rgba(17, 17, 17, .045);
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  align-items: stretch;
}
.payment-opt {
  position: relative;
  min-height: 86px;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 18px;
  padding: 14px 12px 12px;
  text-align: center;
  cursor: pointer;
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 800;
  color: var(--black);
  background: rgba(255, 255, 255, .86);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  touch-action: manipulation;
  box-shadow: 0 8px 20px rgba(17, 17, 17, .035);
  transition: border-color var(--dur-quick) ease, box-shadow var(--dur-quick) ease, background var(--dur-quick) ease, transform var(--dur-quick) ease;
}
.payment-opt::after {
  content: '';
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid rgba(17, 17, 17, .20);
  background: var(--white);
}
.payment-opt.selected {
  border-color: var(--black);
  background: linear-gradient(135deg, var(--white), #fff8ef);
  box-shadow: 0 0 0 2px rgba(17, 17, 17, .07), 0 12px 28px rgba(17, 17, 17, .07);
}
.payment-opt.selected::after {
  border-color: var(--black);
  background: radial-gradient(circle, var(--black) 0 42%, var(--white) 45% 100%);
}
.payment-opt:active { transform: scale(.985); }
.payment-opt .pay-icon {
  font-size: 24px;
  line-height: 1;
}

.bank-method-options {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.bank-method-opt {
  flex: 1 1 0;
  min-height: 76px;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 15px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 800;
  color: var(--black);
  background: var(--white);
  box-shadow: 0 6px 16px rgba(17, 17, 17, .035);
  transition: border-color var(--dur-quick) ease, background var(--dur-quick) ease, box-shadow var(--dur-quick) ease;
}
.bank-method-opt.selected {
  border-color: var(--black);
  background: #fff8ef;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, .06), 0 10px 24px rgba(17, 17, 17, .06);
}
.bank-method-opt .bm-icon {
  font-size: 22px;
  display: block;
  margin-bottom: 5px;
}

#bank-transfer-panel {
  box-shadow: 0 8px 20px rgba(121, 85, 72, .08);
  font-family: var(--font-ar);
}

.order-summary {
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), #fff8ef);
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 20px;
  padding: 14px 14px 15px;
  margin: 2px 0 14px;
  box-shadow: 0 8px 22px rgba(17, 17, 17, .04);
}
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-ar);
  font-size: 13.5px;
  line-height: 1.65;
  color: #5f554d;
  margin-bottom: 7px;
}
.order-row > * { min-width: 0; }
.order-row strong,
.order-row b {
  color: var(--black);
  font-weight: 800;
}
.order-row.total {
  margin-top: 10px;
  padding-top: 11px;
  border-top: 1px solid rgba(17, 17, 17, .09);
  color: var(--black);
  font-size: 16px;
  font-weight: 900;
}

/* Place order button — sticky, premium, safe-area aware. */
.checkout-modal .btn-place-order,
.btn-place-order {
  position: sticky;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 1900;
  width: 100%;
  min-height: 60px;
  border: none;
  border-radius: 18px;
  margin: 16px 0 0;
  padding: 15px 18px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-ar);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
  transform: translateZ(0);
  touch-action: manipulation;
  pointer-events: auto;
  user-select: none;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: transform var(--dur-quick) ease, opacity var(--dur-quick) ease, box-shadow var(--dur-quick) ease;
}
.btn-place-order > * { pointer-events: none; }
.btn-place-order::after {
  content: '←';
  font-size: 17px;
  line-height: 1;
  opacity: .92;
}
.btn-place-order:active {
  transform: translateZ(0) scale(.985);
  box-shadow: 0 9px 24px rgba(0, 0, 0, .20);
}
.btn-place-order[disabled] {
  opacity: .78;
  cursor: wait;
}


/* ── 25. SUCCESS & RETURN SCREENS ───────────────────────────── */
.success-screen {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 900;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  direction: rtl;
}
.success-screen.show { display: flex; }
.success-icon { font-size: 68px; margin-bottom: 20px; }
.success-screen h2 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.success-screen p  { font-size: 15px; color: var(--gray-text); margin-bottom: 30px; line-height: 1.7; }
.success-screen a  {
  display: inline-block;
  background: #25D366;
  color: var(--white);
  padding: 14px 32px;
  font-family: var(--font-ar);
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 12px;
  width: 100%;
  max-width: 280px;
  position: relative;
  touch-action: manipulation;
}
.btn-back-home {
  background: none;
  border: 2px solid var(--black);
  color: var(--black);
  padding: 14px 32px;
  font-family: var(--font-ar);
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  max-width: 280px;
  position: relative;
  touch-action: manipulation;
}

/* Return & info modals (structure only — don't change logic) */
/* Return modal mobile width/RTL/focus containment — 18.24a-r2 */
#return-modal {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
  /* no transform: transforms on fixed modals can shift on Android keyboard resize */
}
#return-modal > div {
  max-width: 100%;
  box-sizing: border-box;
}
#return-modal h2,
#return-modal label {
  direction: rtl;
  text-align: right;
}
#return-modal input,
#return-modal select,
#return-modal textarea {
  max-width: 100%;
  box-sizing: border-box;
  font-size: max(16px, 1rem);
}

/* Track-order / My Orders modal polish — 18.30c */
#my-orders-modal.track-order-modal {
  position: fixed;
  inset: 0 0 auto 0;
  height: 100dvh;
  z-index: 850;
  background: #fff;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  font-family: var(--font-ar);
  direction: rtl;
  overscroll-behavior: contain;
}
#account-modal.track-order-modal {
  position: fixed;
  inset: 0 0 auto 0;
  height: 100dvh;
  z-index: 850;
  background: #fff;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  font-family: var(--font-ar);
  direction: rtl;
  overscroll-behavior: contain;
}
.track-order-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(17, 17, 17, .08);
  backdrop-filter: blur(10px);
}
.track-order-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  color: var(--black);
}
.track-order-header button {
  width: 40px;
  min-height: 40px;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 999px;
  background: #fff;
  color: var(--black);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
}
.track-order-body {
  padding: 18px 20px 28px;
  max-width: 560px;
  margin: 0 auto;
}
.track-order-intro {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(17, 17, 17, .07);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(250, 247, 242, .88), rgba(255, 255, 255, .96));
}
.track-order-intro h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
  color: var(--black);
}
.track-order-intro p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: #6f665f;
  font-weight: 650;
}
.track-order-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.track-modal-field { margin-bottom: 0; }
.track-modal-field input { direction: ltr; text-align: left; }
.track-order-submit {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  margin-top: 2px;
}
.track-order-results { min-height: 72px; }
.track-order-empty,
.track-order-error,
.track-order-loading {
  text-align: center;
  padding: 28px 16px;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, .07);
  background: #fff;
  color: #7b746e;
  font-size: 13px;
  line-height: 1.85;
  font-weight: 750;
}
.track-order-error {
  color: var(--luma-error, #e53e3e);
  background: #fff7f7;
  border-color: rgba(229, 62, 62, .16);
}
.track-order-loading { color: #8a7a64; }
.track-order-card {
  background: #fff;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 10px 26px rgba(17, 17, 17, .055);
}
.track-result-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.track-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  flex: 0 0 auto;
}
.track-result-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  margin-top: 8px;
  color: #6f665f;
  font-size: 12.5px;
  line-height: 1.65;
  font-weight: 700;
}
.track-result-items {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 17, 17, .06);
  color: #5f5750;
  font-size: 12.5px;
  line-height: 1.8;
}
.track-order-close {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 14px;
  background: #fff;
  color: var(--black);
  font-family: var(--font-ar);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
}
@media (max-width: 480px) {
  .track-order-body { padding: 16px 14px 24px; }
  .track-order-header { padding: 14px 16px; }
}

.return-success-screen {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 870;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  direction: rtl;
}
.return-success-screen.show { display: flex; }
.ret-disclaimer {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 12px;
  color: #7a5500;
  line-height: 1.85;
  margin-bottom: 18px;
}
.ret-disclaimer strong { color: #5a3800; }
.ret-status-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.ret-status-badge.pending  { background: #fff8e1; color: #e6a817; }
.ret-status-badge.approved { background: #e8f5e9; color: #2e7d32; }
.ret-status-badge.rejected { background: #fdecea; color: #b71c1c; }
.ret-agree-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
  cursor: pointer;
}
.ret-agree-row input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; cursor: pointer; accent-color: var(--black); }
.ret-agree-row label { font-size: 13px; color: #333; line-height: 1.6; cursor: pointer; }


/* ── 26. FULLSCREEN IMAGE VIEWER ────────────────────────────── */
#luma-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 1600;
  background: rgba(10, 10, 10, .96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  touch-action: none;
  max-width: 100vw;
  overflow: hidden;
}
#luma-image-viewer.open {
  opacity: 1;
  pointer-events: auto;
}
.luma-viewer-shell {
  width: min(100%, 980px);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.luma-viewer-top {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 14px; right: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  direction: rtl;
}
.luma-viewer-counter {
  padding: 8px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .13);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
}
.luma-viewer-close, .luma-viewer-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .92);
  color: var(--black);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.luma-viewer-close {
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 24px;
}
.luma-viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 24px;
}
.luma-viewer-nav.prev { right: 14px; }
.luma-viewer-nav.next { left: 14px; }

#luma-image-viewer-img {
  max-width: calc(100vw - 28px);
  max-height: calc(100dvh - 128px);
  object-fit: contain;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 20px 58px rgba(0, 0, 0, .38);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
  transform-origin: center center;
}
#luma-image-viewer-img.is-zoomed { cursor: grabbing; }

.luma-viewer-thumbs {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 3;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 14px;
  direction: ltr;
  justify-content: center;
  scrollbar-width: none;
}
.luma-viewer-thumbs::-webkit-scrollbar { display: none; }
.luma-viewer-thumb {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, .25);
  overflow: hidden;
  background: rgba(255, 255, 255, .18);
  opacity: .72;
  cursor: pointer;
}
.luma-viewer-thumb.active {
  opacity: 1;
  border-color: var(--white);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .35);
}
.luma-viewer-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.luma-viewer-help {
  position: absolute;
  right: 14px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 3;
  padding: 7px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .18);
  font-family: var(--font-ar);
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  pointer-events: none;
}


/* ── 27. ANIMATIONS / ENTRANCE UTILITIES ────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in   { animation: fadeInUp .46s ease both; }
.fade-in-2 { animation: fadeInUp .46s .1s ease both; }
.fade-in-3 { animation: fadeInUp .46s .2s ease both; }

/* Soft bridge flash: product → checkout handoff (keeps product visible, no white frame) */
body.luma-18f-checkout-bridge::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 790;
  pointer-events: none;
  background: rgba(255, 255, 255, .10);
  animation: lumaBridge 280ms cubic-bezier(.22, .78, .2, 1) both;
}
@keyframes lumaBridge {
  0%   { opacity: 0;  transform: translate3d(0, 4px, 0); }
  45%  { opacity: 1;  transform: translate3d(0, 0, 0); }
  100% { opacity: 0;  transform: translate3d(0, -2px, 0); }
}

/* Checkout enter animation */
body.luma-18f-checkout-bridge .checkout-modal.open {
  animation: lumaCheckoutEnter 300ms cubic-bezier(.22, .78, .2, 1) both;
}
@keyframes lumaCheckoutEnter {
  0%   { opacity: .88; transform: translate3d(0, 18px, 0); }
  100% { opacity: 1;   transform: translate3d(0, 0, 0); }
}

/* Promote GPU layer only during panel open gestures */
body.luma-18f-panel-opening .side-menu,
body.luma-18f-panel-opening .cart-drawer { will-change: transform; }

/* Gallery switching: no dim flash — instant scroll position change */
body.luma-18h-gallery-switching .product-modal .modal-hero-track,
body.luma-18h-gallery-switching .product-modal .modal-hero-gallery {
  opacity: 1;
  transition: none;
  will-change: auto;
}

/* Product closing: subtle fade+slide so the panel vanishes cleanly */
body.luma-18k-product-closing .product-modal.open {
  opacity: 0;
  transform: translate3d(0, 8px, 0) scale(.998);
  pointer-events: none;
  transition: opacity 125ms ease, transform 135ms cubic-bezier(.22, .78, .2, 1);
}

/* Opening: suppress any sub-element entrance animations to prevent fighting the slide */
body.luma-18k-product-opening .product-modal.open #modal-gallery,
body.luma-18k-product-opening .product-modal.open .modal-hero-gallery,
body.luma-18k-product-opening .product-modal.open .modal-hero-track,
body.luma-18k-product-opening .product-modal.open .modal-hero-slide,
body.luma-18k-product-opening .product-modal.open .modal-product-img {
  animation: none;
  transition: none;
  scroll-behavior: auto;
}

/* Checkout returning to product modal */
body.luma-18h-checkout-returning .checkout-modal.open {
  pointer-events: none;
  transform: translate3d(0, 12px, 0);
  opacity: .88;
  transition: transform 120ms cubic-bezier(.22, .78, .2, 1), opacity 120ms ease;
}
/* Re-reveal product after checkout closes */
body.luma-18h-reopen-product .product-modal.open #modal-gallery,
body.luma-18h-reopen-product .product-modal.open .modal-body {
  animation: lumaReopenProduct 170ms cubic-bezier(.22, .78, .2, 1) both;
}
@keyframes lumaReopenProduct {
  from { opacity: .88; transform: translate3d(0, 5px, 0); }
  to   { opacity: 1;   transform: translate3d(0, 0, 0); }
}


/* ── 28. DESKTOP / PC LAYOUT ────────────────────────────────── */
/* ── HERO: Desktop adjustments (760px+) — aspect ratio, padding, radius ── */
@media (min-width: 760px) {
  .hero { padding: 20px 24px 0; }
  .hero-track { max-width: 1180px; margin: 0 auto; }
  .hero-slide .hero-placeholder { border-radius: 28px; max-height: clamp(360px, 52vh, 580px); border: 1px solid rgba(127, 86, 55, .10); }

  .categories-scroll { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
  .cat-card { min-width: 160px; }

  .products-section { padding-inline: 24px; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-grid-desk); }
  .products-grid .product-card .product-img { aspect-ratio: 3 / 4; }

  .merch-sections { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
  .merch-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .merch-section { padding: 22px; }
  .merch-img { aspect-ratio: 1 / .92; }
  .merch-head h2 { font-size: 26px; }

  .recent-section { max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
  .recent-scroll { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .recent-item { width: auto; }
  .features { max-width: 1180px; margin-inline: auto; border-radius: 22px; border: 1px solid rgba(17,17,17,.06); }
  .collection-hero { max-width: 1180px; margin: 0 auto 32px; min-height: 230px; }
  .collection-hero h2 { font-size: 42px; }

  .desktop-filter-panel { display: block; }
  .catalog-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
  .mobile-filter-only { display: none !important; }

  /* Cart drawer keeps left panel behavior on desktop too */
  .cart-drawer { width: min(480px, 88vw); max-width: 480px; }

  /* Side menu wider on desktop */
  .side-menu { width: min(420px, 86vw); max-width: 420px; }

  /* Hide mobile bottom nav on desktop */
  .bottom-nav { display: none; }

  /* Lock hero aspect ratio on desktop — prevents layout shift when data-ratio changes per slide */
  .hero[data-ratio="square"]  .hero-slide .hero-placeholder,
  .hero[data-ratio="portrait"] .hero-slide .hero-placeholder,
  .hero[data-ratio="classic"]  .hero-slide .hero-placeholder,
  .hero[data-ratio="wide"]     .hero-slide .hero-placeholder {
    aspect-ratio: 16 / 8;
  }
}

@media (min-width: 1120px) {
  .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .merch-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── Desktop product page: two-column, NO sticky action overlay ── */
@media (min-width: 900px) {
  .product-modal { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 42%, var(--white) 100%); }

  .product-modal-inner-desktop {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .82fr);
    gap: 36px;
    align-items: start;
    padding: 32px clamp(24px, 3vw, 44px) 18px;
    direction: ltr;
  }
  .product-modal-inner-desktop > * { direction: rtl; min-width: 0; }

  /* Gallery: sticky on desktop, scrolls into view naturally */
  .product-modal #modal-gallery {
    position: sticky;
    top: 96px;
    align-self: start;
    margin: 0;
  }
  .modal-hero-gallery { border-radius: 28px; }
  .product-modal .modal-hero-gallery { aspect-ratio: 4 / 5; }
  .product-modal .modal-hero-slide img {
    aspect-ratio: 4 / 5;
    height: auto;
    min-height: 0;
    object-fit: contain;
    padding: 32px;
  }

  /* Info column: no sticky action bar, actions live inside the column */
  .product-modal .modal-body {
    margin: 0;
    padding: 24px;
    position: static;
    max-height: none;
    overflow: visible;
    border-radius: 28px;
  }
  .product-modal .modal-body > .modal-actions-bar {
    position: sticky;
    left: auto !important; right: auto !important; bottom: 24px;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 22px 0 0;
    padding: 14px;
    border: 1px solid rgba(0, 0, 0, .08) !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .07) !important;
    background: var(--white) !important;
    border-top: 1px solid rgba(0, 0, 0, .08) !important;
  }
  .product-modal .modal-body > .modal-actions-bar .action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    flex: 1 1 auto;
  }
  .product-modal .btn-modal-add { min-height: 52px; }

  /* Related products: full width below the grid */
  .product-modal > .modal-related {
    max-width: 1240px;
    margin: 16px auto 80px;
    padding: 0 clamp(24px, 3vw, 44px) 76px;
  }

  /* Section nav visible on desktop */
  .modal-section-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 2px 0 15px;
    padding: 8px 0 3px;
    position: sticky;
    top: 74px;
    z-index: 4;
    background: rgba(255, 255, 255, .80);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .modal-section-nav::-webkit-scrollbar { display: none; }
  .modal-section-nav button {
    flex: 0 0 auto;
    appearance: none;
    border: 1px solid rgba(0, 0, 0, .08);
    background: var(--white);
    color: var(--black);
    border-radius: var(--r-pill);
    padding: 9px 12px;
    font-family: var(--font-ar);
    font-size: 12.5px;
    font-weight: 900;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .03);
    touch-action: manipulation;
    transition: background var(--dur-quick) ease, color var(--dur-quick) ease, border-color var(--dur-quick) ease, box-shadow var(--dur-quick) ease;
  }
  .modal-section-nav button.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    box-shadow: 0 6px 16px rgba(17, 17, 17, .15);
  }
  .modal-section-nav button:active { transform: scale(.97); }

  /* scroll anchors */
  #modal-gallery, #modal-desc-section, #modal-care-section, #modal-benefits, #modal-related {
    scroll-margin-top: 92px;
  }

  /* Stock strip desktop: slightly more top margin */
  .modal-stock-strip { margin-top: 12px; }

  /* Checkout desktop centering */
  .checkout-body { padding-inline: 32px; }
}


/* ── 29. HOVER STATES — pointer devices only ────────────────── */
@media (hover: hover) and (pointer: fine) {
  .product-card {
    transition: transform .24s var(--ease-card), box-shadow .24s var(--ease-card), border-color .24s var(--ease-card);
  }
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 46px rgba(27, 20, 14, .11);
    border-color: rgba(34, 24, 16, .14);
  }
  .product-card:hover .product-img img { transform: scale(1.035); }
  .product-card.luma-hover-img-active .product-img img { transform: scale(1.045); }
  .product-card:hover .btn-order-now {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(17, 17, 17, .17);
  }
  .product-card.luma-card-out-of-stock:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(17, 17, 17, .08);
  }

  .merch-card { transition: transform .24s var(--ease-card), box-shadow .24s var(--ease-card); }
  .merch-card:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(27, 20, 14, .11); }
  .merch-card:hover .merch-img img { transform: scale(1.035); }

  .cat-card:hover { transform: translateY(-4px) scale(1.04); box-shadow: var(--shadow-float); }
  .recent-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
  .promo-banner:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(17,17,17,.13); }

  .card-wish-btn:hover, .card-share-btn:hover {
    transform: translateY(-1px) scale(1.04) !important;
    box-shadow: 0 10px 22px rgba(17,17,17,.14) !important;
  }

  .modal-thumb:hover:not(.active) { border-color: rgba(17, 17, 17, .35); }
  .card-preview-thumb:hover:not(.active) {
    box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px rgba(17,17,17,.55), 0 6px 16px rgba(17,17,17,.12) !important;
  }

  .hero-text-overlay .hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(17, 17, 17, .22);
  }
}


/* ── 30. SMALL SCREEN TWEAKS ────────────────────────────────── */
@media (max-width: 420px) {
  .modal-hero-gallery { aspect-ratio: 4 / 5; }
  .bag-stack { gap: 6px; }
  .bag-item { font-size: 32px; padding: 7px 8px; }
  .bag-item.big { font-size: 42px; }

  .products-grid { gap: 13px 9px; }
  .product-card { border-radius: 20px; }
  .product-img { margin: 7px 7px 0; border-radius: 16px; }

  .merch-sections { padding-inline: 12px; }
  .merch-row { gap: 11px; }
  .merch-card { border-radius: 20px; padding: 9px 9px 11px; }
  .merch-img { border-radius: 17px; }
  .merch-info h3 { font-size: 13px; }
  .merch-head h2 { font-size: 20px; }

  .cart-actions-row { grid-template-columns: .95fr 1.7fr; gap: 8px; }
  .btn-clear-cart { font-size: 12px; }
  .cart-footer { padding-inline: 14px; }

  .modal-hero-slide img { aspect-ratio: 4 / 5; padding: 14px; }
  .modal-thumb { width: 54px; height: 54px; border-radius: 8px; }
  .modal-color-swatch { width: 56px; height: 56px; border-radius: 16px; }
  .modal-actions-bar { gap: 8px; }
  .modal-purchase-info { min-width: 70px; }
  .modal-purchase-price { font-size: 16px; }
  .btn-modal-add { font-size: 13px; }
  .modal-related-item { min-width: 136px; width: 136px; }
  .modal-confidence-panel { gap: 7px; }
  .modal-confidence-card { padding: 9px 7px; border-radius: 15px; min-height: 72px; }

  .payment-options { gap: 9px; }
  .payment-opt { min-height: 74px; font-size: 13px; }

  .toast.checkout-context {
    bottom: auto;
    top: calc(68px + env(safe-area-inset-top, 0px));
    max-width: calc(100vw - 28px);
    padding: 12px 16px;
  }

  #luma-image-viewer-img { border-radius: 14px; }
  .luma-viewer-nav { width: 42px; height: 42px; font-size: 22px; }
  .luma-viewer-thumb { width: 44px; height: 44px; }
}


/* ── 31. iOS SAFARI SAFE AREA & WEBVIEW FIXUPS ──────────────── */
@supports (-webkit-touch-callout: none) {
  .checkout-modal { height: 100svh; }
  .checkout-body { padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px)); }
  .cart-drawer   { height: 100svh; max-height: 100svh; }
  .product-modal { height: 100svh; }
}


/* ── 32. REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  body.luma-18f-checkout-bridge::after,
  body.luma-18k-product-closing .product-modal.open,
  body.luma-18h-checkout-returning .checkout-modal.open,
  body.luma-18h-reopen-product .product-modal.open #modal-gallery,
  body.luma-18h-reopen-product .product-modal.open .modal-body,
  body.luma-18f-checkout-bridge .checkout-modal.open {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .hero-slide.active { animation: none; }
}


/* ── 33. SCROLLBAR GLOBAL HIDE (mobile, optional) ────────────── */
@media (max-width: 899px) {
  .cart-items, .search-results, .filter-drawer,
  .modal-related-scroll, .modal-thumbs, .categories-scroll,
  .recent-scroll, .hero-track, .modal-hero-track {
    scrollbar-width: none;
  }
  .cart-items::-webkit-scrollbar,
  .search-results::-webkit-scrollbar,
  .filter-drawer::-webkit-scrollbar,
  .modal-related-scroll::-webkit-scrollbar,
  .modal-thumbs::-webkit-scrollbar,
  .categories-scroll::-webkit-scrollbar,
  .recent-scroll::-webkit-scrollbar,
  .modal-hero-track::-webkit-scrollbar { display: none; }
}


/* ── 34. WISHLIST DRAWER (uses cart panel classes) ───────────── */
#wishlist-drawer {
  /* Wishlist uses inline style for positioning/transform.
     These rules add premium visual finish without fighting inline JS control. */
  box-shadow: -14px 0 40px rgba(0, 0, 0, .13);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}


/* ── 35. DESKTOP FILTER PANEL INNER ────────────────────────────  */
@media (min-width: 760px) {
  .desktop-filter-panel .filter-group { padding: 12px 0; }
  .desktop-filter-panel .filter-group-title { font-size: 13px; font-weight: 800; margin-bottom: 9px; }
  .desktop-filter-panel .filter-chip { font-size: 12px; }
}


/* ── 36. SCROLL ENTRANCE MOTION LAYER — 18.21b ───────────────
   Calm reveal system. Controlled by luma-motion-controller.js.
   Does not affect drawers, checkout, product modal, or business logic.
   ───────────────────────────────────────────────────────────── */
[data-reveal],
[data-reveal-child] {
  opacity: 1;
  transform: none;
}

body.luma-reveal-ready [data-reveal]:not(.revealed),
body.luma-reveal-ready [data-reveal-child]:not(.revealed) {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

body.luma-reveal-ready [data-reveal].revealed,
body.luma-reveal-ready [data-reveal-child].revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 400ms ease, transform 400ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  body.luma-reveal-ready [data-reveal],
  body.luma-reveal-ready [data-reveal-child] {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0ms;
  }
}


/* ── INTEGRATION NOTES FOR CHATGPT ─────────────────────────────
   
   STEP 1 — REMOVE existing inline styles:
   In index.html, locate and DELETE all <style>...</style> blocks
   that are part of the page (there are approximately 15 of them,
   covering Luma 18.3 through Luma 18.18h). Leave only:
   - Any <link> tags for external fonts (Tajawal, Playfair Display)
   - Any <link> tags for external icon libraries if used
   - The new <link rel="stylesheet" href="luma-storefront-premium-foundation.css">

   STEP 2 — ADD the link to <head>:
   Place this AFTER the font links, BEFORE </head>:
   <link rel="stylesheet" href="luma-storefront-premium-foundation.css">

   STEP 3 — DO NOT touch any <script> blocks.
   All JS motion controllers (openProductModal, closeProductModal,
   openCart, closeCart, openMenu, closeMenu, goSlide, etc.) remain
   unchanged. The body-class motion system (luma-18k-product-closing
   etc.) is already in the JS and this CSS responds to it correctly.

   STEP 4 — card-wish-btn / card-share-btn inline styles:
   These buttons are generated by JS templates with inline styles
   (position, top, left/right, width, height, etc.). This CSS
   overrides them with !important on visual properties only.
   If you can remove the inline styles from the JS template strings
   (renderProductCard / renderMerchCard), do so — then remove the
   !important rules in section 8 of this file (card-wish-btn block).
   This is optional; the store will work either way.

   STEP 5 — VERIFY these features work after integration:
   [ ] Hero auto-slides every 5s; swipe to advance
   [ ] Cart opens from LEFT (translateX from left)
   [ ] Side menu opens from RIGHT (translateX from right)
   [ ] Swipe right on empty area → cart; swipe left → menu
   [ ] Horizontal swipe on categories/products/gallery does NOT open drawers
   [ ] Product modal slides UP from bottom; back button closes smoothly
   [ ] Gallery swipe between images is instant (no CSS transition fight)
   [ ] Buy Now from product page: checkout slides over product (no white frame)
   [ ] Close checkout: product page reappears smoothly
   [ ] Desktop 900px+: product page shows 2-column, action buttons inside info column, NOT as sticky overlay
   [ ] Desktop filter panel visible on left; mobile shows filter drawer from bottom
   [ ] Sold-out products in catalog: grayscale image, disabled buttons
   [ ] Thumbnails on product cards: visible and tappable
   [ ] Heart/wishlist and share buttons: visible on product image corners
   [ ] Toast notifications appear above bottom nav
   [ ] Checkout form does NOT zoom on iOS (font-size: 16px applied)
   [ ] Fullscreen image viewer opens/closes cleanly

================================================================ */

/* ============================================================
   LUMA BANK CONFIG INTEGRATION — 18.32a
   Uses Worker /api/bank-config without changing existing payment form.
   ============================================================ */
.luma-success-bank-instructions {
  width: 100%;
  max-width: 340px;
  margin: -8px auto 14px;
  direction: rtl;
  text-align: right;
}
.luma-success-bank-card {
  background: linear-gradient(180deg, #fffaf0, #ffffff);
  border: 1px solid #ead7a0;
  border-radius: 14px;
  padding: 12px 13px;
  color: #4c3a14;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .07);
  font-size: 12px;
  line-height: 1.65;
}
.luma-success-bank-heading {
  color: #111;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 5px;
}
.luma-success-bank-meta {
  color: #5f4c1c;
  margin-bottom: 9px;
}
.luma-success-bank-account {
  background: #fff;
  border: 1px solid #efe1b6;
  border-radius: 10px;
  padding: 9px 10px;
  margin-top: 7px;
}
.luma-success-bank-title {
  color: #111;
  font-weight: 900;
  margin-bottom: 5px;
}
.luma-success-bank-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #6d5b18;
  margin-top: 4px;
}
.luma-success-bank-detail span {
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.luma-success-bank-detail strong {
  color: #111;
  font-family: monospace;
  font-size: 12px;
  word-break: break-all;
  text-align: left;
}
.luma-success-bank-note {
  color: #6d5b18;
  font-weight: 800;
  margin-top: 9px;
}


/* Luma18.35a — product option preservation */
.cart-item-variant{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin:3px 0 4px;
  padding:2px 7px;
  border-radius:999px;
  background:#f6f1ec;
  color:#6c5542;
  font-size:11px;
  font-weight:800;
  line-height:1.4;
}

/* ── Luma19.2 — Product page redesign ──────────────────────── */

/* Hide redundant injected sections — replaced by cleaner layout */

/* Choice summary — compact, not a heavy card */
.modal-choice-summary {
  background: #f8f5f0;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 9px 14px;
  margin: 8px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-choice-summary .choice-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.modal-choice-summary .choice-main b {
  font-size: 11px;
  color: #aaa;
  font-weight: 700;
  letter-spacing: .2px;
}
.modal-choice-summary .choice-main span {
  color: #222;
  font-weight: 700;
  font-size: 13.5px;
}
.choice-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #27ae60;
  flex-shrink: 0;
}

/* Stock strip — clear status bar */
.modal-stock-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: 12px;
  margin: 8px 0 12px;
  font-size: 13px;
}
.modal-stock-strip.ok  { background:#f0faf4; border:1px solid #b7e4c7; color:#1a6b3a; }
.modal-stock-strip.low { background:#fff8e1; border:1px solid #ffe082; color:#7a5500; }
.modal-stock-strip.out { background:#fff0f0; border:1px solid #ffcdd2; color:#b71c1c; }
.modal-stock-main { display:flex; align-items:center; gap:9px; }
.modal-stock-icon { font-size:15px; font-weight:900; }
.modal-stock-copy { display:flex; flex-direction:column; gap:1px; }
.modal-stock-copy b { font-size:13px; font-weight:800; }
.modal-stock-copy span { font-size:11px; opacity:.75; }
.modal-stock-code { font-size:11px; opacity:.5; font-family:monospace; }

/* Section nav tabs — subtle scroll shortcut */
.modal-section-nav {
  display: flex;
  gap: 6px;
  padding: 0 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.modal-section-nav::-webkit-scrollbar { display: none; }
.modal-section-nav button {
  flex-shrink: 0;
  padding: 5px 13px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
  background: #f8f5f0;
  color: #555;
  font-family: var(--font-ar);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.modal-section-nav button:active { background: #111; color: #fff; }

/* ── Luma19.2 — Admin stat cards polish ─────────────────────── */
.stat-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.07);
  padding: 18px 16px 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: box-shadow .18s ease;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.stat-card:active { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.stat-val {
  font-size: 28px;
  font-weight: 900;
  color: #111;
  line-height: 1;
  margin-bottom: 5px;
  font-feature-settings: 'tnum';
}
.stat-lbl {
  font-size: 11.5px;
  color: #999;
  font-weight: 600;
  letter-spacing: .2px;
}

/* ── Luma19.3 — Storefront 95% push ── */

/* ── HERO: Luma19.7 stacked layout + Luma20.1d desktop override (OWNING BLOCK) ── */
/* Edits to hero layout go here, not in the base or desktop-adjustments blocks above. */

/* Placeholder: column stack */
.hero-slide .hero-placeholder {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
}

/* hero-card-content: transparent passthrough */
.hero-card-content { display: contents; }

/* Image: default / Contained style */
.hero-slide .hero-placeholder .hero-bg-img {
  position: relative;
  inset: auto;
  left: auto;
  top: auto;
  width: 100%;
  flex: 0 0 54%;
  height: 54%;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 16px 24px 0;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity .28s ease;
}

/* Image: Full Bleed style */
.hero-slide .hero-placeholder[data-img-style="fullbleed"] .hero-bg-img {
  flex: 0 0 65%;
  height: 65%;
  padding: 0;
  object-fit: cover;
  object-position: center top;
}

/* Image visible when active/ready */
.hero-slide .hero-placeholder.hero-image-active .hero-bg-img,
.hero-slide .hero-placeholder.hero-image-ready .hero-bg-img {
  opacity: 1;
}

/* Text overlay: bottom block, centered */
.hero-slide .hero-placeholder .hero-text-overlay {
  position: relative;
  top: auto;
  right: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 28px 20px;
  width: 100%;
  max-width: 100%;
  z-index: 2;
  flex: 1 1 auto;
}

/* Tag pill */
.hero-slide .hero-placeholder .hero-text-overlay .tag {
  background: rgba(255, 250, 244, .94);
  color: #7a5230;
  border: 1px solid rgba(200, 149, 108, .28);
  align-self: center;
  margin-bottom: 2px;
}

/* Heading */
.hero-slide .hero-placeholder .hero-text-overlay h2 {
  color: #1a1108;
  font-size: clamp(17px, 5vw, 26px);
  margin: 0;
  line-height: 1.28;
  text-align: center;
}

/* CTA */
.hero-slide .hero-placeholder .hero-btn {
  background: #1a1108;
  color: #fff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
  align-self: center;
  margin-top: 4px;
}
.hero-slide .hero-placeholder .hero-btn:hover { background: #3d2b0e; }

/* Desktop: stacked hero — Luma20.1d matches accepted phone layout */
@media (min-width: 760px) {
  .hero-slide .hero-placeholder {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .hero-slide .hero-placeholder .hero-bg-img {
    flex: 0 0 58%;
    width: 100%;
    height: 58%;
    padding: 18px 10% 0;
    border-radius: 0;
    box-shadow: none;
  }
  .hero-slide .hero-placeholder[data-img-style="fullbleed"] .hero-bg-img {
    flex: 0 0 65%;
    width: 100%;
    height: 65%;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    object-position: center top;
  }
  .hero-slide .hero-placeholder .hero-text-overlay {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 34px 24px;
    width: 100%;
    max-width: 100%;
    z-index: 2;
    flex: 1 1 auto;
  }
  .hero-slide .hero-placeholder .hero-text-overlay .tag {
    align-self: center;
    font-size: 13px;
    padding: 7px 14px;
    margin-bottom: 8px;
  }
  .hero-slide .hero-placeholder .hero-text-overlay h2 {
    text-align: center;
    font-size: clamp(22px, 2.8vw, 40px);
    margin: 0 0 12px;
    line-height: 1.24;
  }
  .hero-slide .hero-placeholder .hero-btn {
    align-self: center;
    min-height: 50px;
    padding: 12px 26px;
    font-size: 14px;
    margin-top: 0;
  }
}
/* ─────────────────────────────────────────────────────── */

/* Footer promo banner — elevate from placeholder look */
.promo-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2420 100%);
  color: #f5ede3;
  border-radius: 20px;
  margin: 0 16px 20px;
  padding: 28px 24px;
  text-align: center;
}
.promo-banner h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #f5ede3;
}
.promo-banner p {
  font-size: 13px;
  color: rgba(245,237,227,.7);
  margin: 0 0 18px;
}
.promo-banner a {
  display: inline-block;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 28px;
  border-radius: 24px;
  text-decoration: none;
  letter-spacing: .2px;
}

/* Footer — cleaner, more refined */
footer {
  background: #faf8f5;
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.footer-social {
  padding: 24px 24px 16px;
  text-align: center;
}
.footer-social p {
  font-size: 12px;
  color: #aaa;
  font-weight: 600;
  letter-spacing: .4px;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  transition: transform .18s ease, background .18s ease;
}
.social-icons a:active { transform: scale(.92); background: #333; }

.footer-links {
  display: flex;
  flex-direction: column;
  padding: 0 16px 20px;
  gap: 0;
  border-top: 1px solid rgba(0,0,0,.05);
}
.footer-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 8px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}
.footer-link:last-child { border-bottom: none; }
.footer-link span { color: #ccc; font-size: 16px; }

.footer-bottom {
  text-align: center;
  font-size: 11px;
  color: #bbb;
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px));
  letter-spacing: .3px;
}

/* Features strip — bolder, cleaner */
.features {
  display: flex;
  gap: 0;
  padding: 0 16px 0;
  margin-bottom: 8px;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: #fff;
}
.feat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  gap: 4px;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,.06);
}
.feat-item:first-child { border-right: none; }
.feat-icon { font-size: 20px; }
.feat-item strong { font-size: 12px; font-weight: 800; color: #111; }
.feat-item span { font-size: 10.5px; color: #999; font-weight: 500; }

/* Search overlay — cleaner */
.search-overlay {
  background: rgba(255,255,255,.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* Order success screen polish */
.success-screen {
  padding: 48px 28px 32px !important;
}

/* Skeleton loading pulse for product grid */
@keyframes lumaSkeleton {
  0%,100% { opacity: .5; }
  50% { opacity: 1; }
}
.luma-skeleton {
  background: linear-gradient(90deg, #f0ebe4 25%, #e8e2db 50%, #f0ebe4 75%);
  background-size: 200% 100%;
  animation: lumaSkeleton 1.4s ease infinite;
  border-radius: 8px;
}

/* Image broken state (already in storefront card, adding to modal) */
.modal-img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  background: #f5f0ea;
  border-radius: 16px;
  aspect-ratio: 1;
  width: 100%;
}

/* ── Luma19.3a — Clean product page: hide all redundant sections ── */
#modal-stock-strip,
#modal-benefits,
#modal-section-nav,
#modal-choice-summary,
#modal-product-note,
#modal-confidence-panel,
#modal-more-details,
#modal-care-section,
#luma-info-bar {
  display: none !important;
}

/* ── Single trust tagline — eve.ly style ── */
.luma-trust-line {
  display: block;
  font-size: 12px;
  color: #999;
  font-weight: 500;
  text-align: center;
  padding: 12px 0 4px;
  letter-spacing: .2px;
  line-height: 1.6;
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: 14px;
}
.luma-trust-line span {
  color: #bbb;
  font-size: 11px;
  margin-left: 4px;
}

@keyframes lumaStockPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* === extracted from index.html inline style block (Luma22.6) === */
/* Luma20.1 — gallery navigation arrows */
.luma-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.14);
  z-index: 10;
  transition: background 0.15s ease, opacity 0.15s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.luma-gallery-nav:active { background: rgba(255,255,255,1); }
.luma-gallery-prev { left: 12px; }
.luma-gallery-next { right: 12px; }
@media (hover: hover) {
  .luma-gallery-nav { opacity: 0; }
  .modal-hero-gallery:hover .luma-gallery-nav { opacity: 1; }
}
/* Luma20.1 — related product card improvements */
.modal-related-item.modal-related-out { opacity: 0.65; }
.modal-related-out-badge {
  position: absolute;
  top: 6px; right: 6px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  font-family: Tajawal, sans-serif;
}
.modal-related-badge {
  position: absolute;
  top: 6px; left: 6px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  font-family: Tajawal, sans-serif;
  color: #fff;
}
.modal-related-badge.new { background: #111; }
.modal-related-badge.best { background: #9b6b25; }
.modal-related-badge.sale { background: #c0392b; }
.modal-related-info {
  padding: 6px 4px 2px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.modal-related-info p {
  font-size: 12px;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.modal-related-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
}
.rel-price-new {
  font-size: 13px;
  font-weight: 800;
  color: #111;
}
.rel-price-old {
  font-size: 11px;
  color: #aaa;
  text-decoration: line-through;
}

/* === extracted repeated inline styles from luma-storefront.js (Luma22.8) === */
.luma-faq-h3-lg { font-size:16px; font-weight:700; margin:20px 0 12px; }
.luma-faq-h3-sm { font-size:15px; font-weight:700; margin:16px 0 8px; }
.luma-contact-label { font-weight:700; margin-bottom:4px; }
.luma-icon-lg { font-size:28px; }
.luma-icon-xl { font-size:40px; display:flex; align-items:center; justify-content:center; height:100%; }
.luma-img-cover { width:100%; height:100%; object-fit:cover; }
.luma-img-cover-rounded { width:100%; height:100%; object-fit:cover; border-radius:6px; }
.luma-empty-state-palette { text-align:center; padding:40px 0; color:var(--gray-text); }
.luma-text-error { color:#e53e3e; }
.luma-text-muted { color:#888; }
.luma-text-sub { color:#666; }
.luma-label-bold { font-weight:900; font-size:16px; color:#111; }
.luma-input-std { width:100%; border:1px solid #ddd; border-radius:8px; padding:9px; font-family:Tajawal,sans-serif; font-size:13px; background:#fff; }
.luma-list-padded { padding-right:20px; line-height:2.2; }
.luma-info-row { background:#f5f5f5; border-radius:10px; padding:16px; margin-bottom:12px; display:flex; gap:14px; align-items:center; }

/* ── Account Modal ── */
.account-icon-initials {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent, #222); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.account-user-info { text-align: center; padding: 24px 0 16px; }
.account-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent, #222); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; margin: 0 auto 10px;
}
.account-email { font-size: 14px; color: #555; margin-bottom: 6px; }
.account-verify-notice { font-size: 12px; color: #b45309; margin-top: 4px; }
.account-auth-tabs { display: flex; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.account-tab {
  flex: 1; padding: 10px; background: none; border: none;
  border-bottom: 2px solid transparent; cursor: pointer;
  font-size: 15px; color: #888;
}
.account-tab.active { color: #111; border-bottom-color: #111; font-weight: 600; }
.account-input {
  width: 100%; padding: 11px 14px; margin-bottom: 12px;
  border: 1px solid #ddd; border-radius: 8px;
  font-size: 15px; box-sizing: border-box;
}
.account-input:focus { outline: none; border-color: #111; }
.account-error {
  color: #c0392b; font-size: 13px; margin-bottom: 10px;
  padding: 8px 12px; background: #fdf2f2; border-radius: 6px;
}
.account-btn {
  width: 100%; padding: 13px; margin-bottom: 10px;
  border: none; border-radius: 10px; font-size: 15px;
  cursor: pointer; font-weight: 600;
}
.account-btn-primary { background: #111; color: #fff; }
.account-btn-orders { background: #f5f5f5; color: #111; }
.account-btn-profile { background: #f5f5f5; color: #111; }
.account-btn-logout { background: #fff; color: #c0392b; border: 1px solid #fcc; }
.account-btn-link {
  background: none; border: none; color: #666;
  font-size: 13px; cursor: pointer; width: 100%;
  text-align: center; padding: 6px;
}



/* ── Account 22.37b ── */
.account-password-hint {
  font-size: 11px; color: #888; margin: -6px 0 10px; line-height: 1.4;
}
.account-terms-label {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: #555; margin-bottom: 14px; cursor: pointer; line-height: 1.5;
}
.account-terms-label input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
.account-terms-link { color: #111; text-decoration: underline; cursor: pointer; }


/* ── Google Sign-In 22.40 ── */
.account-btn-google {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.account-btn-google:active { background: #f5f5f5; }
.account-google-icon { flex-shrink: 0; }
.account-auth-divider {
  text-align: center;
  color: #999;
  font-size: 12px;
  margin: 10px 0 12px;
}

/* ── Account 22.42 ── */
.account-verify-banner {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
  text-align: center;
}

/* ── Account Hub Grid 22.43 ── */
.account-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.account-hub-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 8px;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-ar, Tajawal, sans-serif);
  transition: background 0.15s;
}
.account-hub-btn:active { background: #f0f0f0; }
.account-hub-icon { font-size: 22px; line-height: 1; }
.account-hub-label { font-size: 13px; font-weight: 600; color: #111; }
