/* ============================================================
   WING â€” Website Design System
   Scope: Phase 1 (Foundation & Brand Presence)
   ------------------------------------------------------------
   Sections:
   1. Design tokens (variables)
   2. Reset & base
   3. Utilities & layout primitives
   4. Buttons & links
   5. Shared header / navigation
   6. Hero
   7. Marquee / brand strip
   8. Section header
   9. Categories
  10. Product cards
  11. Store info / feature grid
  12. CTA band
  13. Maps
  14. Page-hero (inner pages)
  15. About page blocks
  16. Contact page
  17. Forms
  18. Footer
  19. Animations
  20. Accessibility
  21. Responsive
   ============================================================ */

/* ---- 1. DESIGN TOKENS ---- */
:root {
  /* Palette */
  --ink: #0b0c10;          /* primary surfaces / text on light */
  --ink-2: #16181f;
  --surface: #1e2129;
  --line: rgba(255, 255, 255, 0.12);
  --paper: #f4f4f1;        /* warm off-white background */
  --paper-2: #ecece7;
  --text: #14151a;         /* body text on light */
  --text-muted: #5b5f6b;   /* secondary text on light */
  --white: #ffffff;

/* Brand accent â€” golden glow to match the logo */
  --accent: #e7cd84;
  --accent-ink: #0b0c10;   /* text on accent */
  --accent-soft: rgba(231, 205, 132, 0.16);
  --accent-glow: rgba(231, 205, 132, 0.45);

  /* Typography */
  --font-display: "SF Pro Display", "SF Pro Icons", "Myriad Set Pro", "Helvetica Neue", "Helvetica", "Arial", "Noto Kufi Arabic", sans-serif;
  --font-body: "SF Pro Text", "SF Pro Icons", "Myriad Set Pro", "Helvetica Neue", "Helvetica", "Arial", "Noto Kufi Arabic", sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-full: 999px;

  /* Effects */
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 18px 46px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.22);
  --shadow-accent: 0 14px 32px rgba(231, 205, 132, 0.35);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;

  /* Layout */
  --container: 1220px;
  --nav-h: 76px;
}

/* Dark contexts override muted text/line colors */
[data-theme="dark"] {
  --line: rgba(255, 255, 255, 0.14);
}

/* = 2. Reset & base ======================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
  color: inherit;
}

p { margin: 0 0 var(--space-2); }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* = 3. Layout primitives =================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}
.eyebrow--dark { color: var(--accent); }
[data-theme="dark"] .eyebrow { color: var(--accent); }
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.display {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-muted); max-width: 56ch; }
[data-theme="dark"] .lead { color: rgba(255,255,255,0.72); }
[data-theme="dark"] .muted { color: rgba(255,255,255,0.66); }
.muted { color: var(--text-muted); }

.center { text-align: center; }
.center .lead, .center .text-block { margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* = 4. Buttons ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 1rem 1.6rem;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn svg { transition: transform 0.3s var(--ease); }

.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); }

.btn--ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn--dark { background: var(--ink); color: var(--white); }
[data-theme="dark"] .btn--dark { background: var(--white); color: var(--ink); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--block { width: 100%; }

.btn .arrow { font-size: 1.1em; }
.btn:hover .arrow { transform: translateX(4px); }

/* = 5. Header / Navigation ================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  color: var(--white);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header--scrolled {
  background: rgba(11, 12, 14, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  height: 64px;
}
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 0; }
.brand__logo { display: block; height: 60px; width: auto; margin: 4px 0; }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; flex: none; }
.brand__mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.6; margin-top: -4px; }

.nav__menu {
  display: none;
  flex-direction: column;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--ink);
  padding: var(--space-4) var(--space-2);
  gap: var(--space-2);
  z-index: 90;
  overflow-y: auto;
  animation: fadepop 0.4s var(--ease);
}
.nav__menu a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 0.6rem 0.4rem;
  border-bottom: 1px solid var(--line);
  opacity: 0.92;
}
.nav__menu a:hover, .nav__menu a[aria-current="page"] { color: var(--accent); }

.nav__actions { display: flex; align-items: center; gap: 0.7rem; }

.nav__lang {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav__lang:hover { border-color: var(--accent); background: rgba(255,255,255,0.14); }

.nav__toggle {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--white);
  cursor: pointer;
  padding: 0;
}
.nav__toggle:hover { border-color: var(--accent); }
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav--open .nav__toggle .icon-open { display: none; }
.nav--open .nav__toggle .icon-close { display: block; }

/* ---- Side navigation drawer ---- */
.side-menu { padding: 0.5rem 0; gap: 0.25rem; }
.side-menu a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 600; color: var(--text);
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--paper-2);
  opacity: 0.92;
}
.side-menu a::after { content: "→"; opacity: 0.4; font-size: 1.05rem; }
.side-menu a:hover, .side-menu a[aria-current="page"] { color: var(--accent); }

/* = 6. Hero ================================================================ */
.hero {
  position: relative;
  color: var(--white);
  background: var(--ink);
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 4rem) 0 var(--space-5);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(231,205,132,0.16), transparent 55%),
    radial-gradient(90% 70% at 0% 110%, rgba(231,205,132,0.10), transparent 55%),
    var(--ink);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(80% 60% at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(80% 60% at 70% 30%, #000, transparent 75%);
}
.hero__glow { position: absolute; width: 560px; height: 560px; right: -140px; top: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(231,205,132,0.35), transparent 65%); filter: blur(20px); pointer-events: none; }

.hero__inner { position: relative; z-index: 2; display: grid; gap: var(--space-4); width: 100%; }
.hero__copy { max-width: 640px; }
.hero__copy h1 { font-size: clamp(2.7rem, 8vw, 5rem); font-weight: 600; letter-spacing: -0.035em; }
.hero__copy h1 .accent { color: var(--accent); }
.hero__copy .lead { color: rgba(255,255,255,0.74); margin-bottom: var(--space-4); }

/* Hero copy — all text fades up from the bottom over the first ~3s of load */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(1.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__copy > * {
  opacity: 0;
  animation: hero-rise 4.7s var(--ease) 0s both;
}
.hero__copy h1    { animation-delay: 0.1s; }
.hero__copy .lead { animation-delay: 0.2s; }
.hero__copy .hero__cta { animation-delay: 0.3s; }
.hero__copy .hero__stats { animation-delay: 0.4s; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  border-top: 1px solid var(--line);
  padding-top: var(--space-3);
  max-width: 640px;
}
.hero__stats b { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.2rem); display: block; line-height: 1; }
.hero__stats span { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* Hero visual (sneaker art) */
.hero__art { position: relative; display: none; }
.hero__art { display: none !important; } /* TEMP: hide logo+ring to preview video */
.hero__art .disc {
  position: relative;
  width: min(420px, 42vw); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #262a17, #0d0e07 70%);
  box-shadow: inset 0 0 80px rgba(231,205,132,0.1), 0 40px 90px rgba(0,0,0,0.5);
  display: grid; place-items: center;
  margin-inline: auto;
}
.hero__art .disc::before {
  content: "";
  position: absolute; inset: -6%;
  border-radius: 50%;
  border: 1px dashed rgba(231,205,132,0.5);
  animation: spin 40s linear infinite;
}
.hero__art .disc__logo { width: 82%; height: auto; object-fit: contain; display: block; margin: auto; position: relative; left: -3%; animation: float 6s ease-in-out infinite; }

/* Hero product rotation video — full-bleed background layer */
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; pointer-events: none;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,12,16,0.92) 0%, rgba(11,12,16,0.55) 32%, rgba(11,12,16,0.12) 58%, rgba(11,12,16,0.55) 100%);
}
@media (max-width: 899px) {
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(11,12,16,0.15) 0%, rgba(11,12,16,0.25) 40%, rgba(11,12,16,0.85) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video, .hero__veil { display: none; }
  .hero__copy > * { opacity: 1; animation: none; }
}

/* = 7. Brand marquee ======================================================= */
.brands { background: var(--paper); border-block: 1px solid var(--paper-2); }
.brands .brands__label { text-align: center; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); padding: 1rem 0 0; }
.marquee { overflow: hidden; position: relative; padding: var(--space-2) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink);
  opacity: 0.9; white-space: nowrap; letter-spacing: -0.01em;
}
.brands:hover .marquee__track { animation-play-state: paused; }

/* = 8. Section header ===================================================== */
.sec-head { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.sec-head--split { justify-content: space-between; }
.sec-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }

/* = 9. Categories ========================================================== */
.cat-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.cat-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #ffffff;
  border: 1px solid var(--paper-2);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  display: flex;
  align-items: flex-end;
  padding: var(--space-3);
  isolation: isolate;
  transition: transform 0.4s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); }
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
}
.cat-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,0) 60%);
}
.cat-card:nth-child(1)::before,
.cat-card:nth-child(2)::before,
.cat-card:nth-child(3)::before,
.cat-card:nth-child(4)::before { background: #ffffff; }
.cat-card__art { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; }
.cat-card__art svg { width: 72%; height: auto; }
.cat-card__art img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,0.16)); }
.cat-card h3 { font-size: 1.4rem; margin: 0; color: var(--ink); }
.cat-card p { margin: 4px 0 0; font-size: 0.85rem; color: rgba(11,12,16,0.62); }
.cat-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 0.7rem; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--accent); }

/* = 10. Product cards ====================================================== */
.product-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card__media { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; background: #ffffff; }
.product-card__media .deco { position: absolute; inset: 0; }
.product-card__media svg { width: 78%; height: auto; position: relative; }
.product-card__media img { width: 92%; height: 92%; object-fit: contain; position: relative; }
.product-card__media .media-stack { position: absolute; inset: 0; display: grid; place-items: center; }
.product-card__media .media-stack > img { width: 92%; height: 92%; object-fit: contain; }
.product-card__media .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
}
.product-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__body .brand { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; gap: 0; }
.product-card__body h3 { font-size: 1.05rem; margin: 0; color: var(--ink); }
.product-card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 0.7rem; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.price s { color: var(--text-muted); font-weight: 400; font-size: 0.85rem; margin-left: 6px; }
.add {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--ink); color: var(--white);
  border: 0; cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.add:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.add svg { width: 18px; height: 18px; }
[data-theme="dark"] .add { background: var(--white); color: var(--ink); }

/* = 11. Store info / features ============================================= */
.features { background: var(--ink); color: var(--white); }
.features .grid { grid-template-columns: 1fr; }
.feature { padding: clamp(1.4rem, 2.5vw, 2rem); border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line); }
.feature__icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 1.2rem;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: rgba(255,255,255,0.66); font-size: 0.95rem; margin: 0; }

/* = 12. CTA band =========================================================== */
.cta {
  position: relative;
  color: var(--white);
  background: var(--accent);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem);
}
.cta::after {
  content: "";
  position: absolute; right: -10%; top: -40%; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(231, 205, 132, 0.25), transparent 65%);
  pointer-events: none;
}
.cta h2 { font-size: clamp(1.9rem, 5vw, 3rem); max-width: 18ch; position: relative; }
.cta p { max-width: 46ch; font-size: 1.05rem; opacity: 0.85; position: relative; }
.cta__inner { position: relative; }
.cta__row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: var(--space-3); position: relative; }
.cta__row .btn { background: var(--accent); color: var(--accent-ink); }
.cta__row .btn--ghost { border-color: rgba(255,255,255,0.35); color: var(--white); }
.cta__row .btn--ghost:hover { border-color: var(--white); color: var(--white); }

/* = 13. Maps ================================================================ */
.map-wrap { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--paper-2); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(1) contrast(1.05); }
.map-wrap:hover iframe { filter: grayscale(0); }

/* = 14. Inner pages hero =================================================== */
.page-hero {
  position: relative;
  color: var(--white);
  background: var(--ink);
  padding: calc(var(--nav-h) + 3.5rem) 0 var(--space-4);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 30px 30px; opacity: 0.4;
  -webkit-mask-image: radial-gradient(70% 90% at 80% 0%, #000, transparent 75%);
  mask-image: radial-gradient(70% 90% at 80% 0%, #000, transparent 75%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.page-hero--shop {
  background:
    linear-gradient(rgba(11, 12, 16, 0.72), rgba(11, 12, 16, 0.72)),
    url("https://res.cloudinary.com/dd9m8ypgl/image/upload/f_auto,q_auto,c_limit,w_1920/miniman/img/shop-background") center / cover no-repeat;
}
.page-hero--shop {
  background:
    linear-gradient(rgba(11, 12, 16, 0.55), rgba(11, 12, 16, 0.55)),
    url("https://res.cloudinary.com/dd9m8ypgl/image/upload/f_auto,q_auto,c_limit,w_1920/miniman/img/shop-background") center / cover no-repeat;
}
.crumbs { display: flex; gap: 0.6rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 1rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: 0.5; }

/* = 15. About blocks ======================================================= */
.split { display: grid; gap: var(--space-4); align-items: center; }
.split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 320px; background: var(--ink); }
.split__media .card-art { position: absolute; inset: 0; display: grid; place-items: center; }
.split__media svg { width: 70%; height: auto; }
.split__media .badge {
  position: absolute; bottom: 1rem; left: 1rem;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 0.9rem; border-radius: var(--r-sm);
  font-family: var(--font-display); font-weight: 700;
}

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.stat-box { background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--r-md); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.stat-box b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--ink); line-height: 1; }
.stat-box span { font-size: 0.85rem; color: var(--text-muted); }

/* value cards */
.value-card { background: var(--white); border-radius: var(--r-md); padding: 1.6rem; box-shadow: var(--shadow-sm); border-top: 3px solid var(--accent); }
.value-card h3 { font-size: 1.1rem; }
.value-card p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* ========= 16. Contact ===================================== */
.contact-grid { display: grid; gap: var(--space-4); }
.info-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.info-card__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1rem; margin: 0 0 4px; }
.info-card p, .info-card a { font-size: 0.95rem; color: var(--text-muted); display: block; }
.info-card a:hover { color: var(--ink); }

/* ========= 17. Forms ====================================== */
.card-form { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: clamp(1.6rem, 4vw, 2.6rem); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.9rem 1rem;
  background: var(--paper); border: 1px solid var(--paper-2);
  border-radius: var(--r-sm); font-family: var(--font-body); font-size: 0.98rem; color: var(--text);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.7rem; }
.form-status { display: none; margin-top: 1rem; padding: 0.9rem 1rem; border-radius: var(--r-sm); font-size: 0.92rem; }
.form-status--ok { background: var(--accent-soft); color: var(--accent-ink); }
.field-note { display: none; font-size: 0.85rem; margin-top: 0.4rem; color: var(--text-muted); }
.field-note.is-shown { display: block; }
.field-note.is-error { color: #d33; }

/* ========= 18. Footer ===================================== */
.site-footer { background: var(--ink); color: var(--white); padding: var(--space-5) 0 0; }
.footer-grid { display: grid; gap: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.footer-grid h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.55); margin-bottom: 1rem; }
.footer-grid a { display: block; padding: 0.28rem 0; color: rgba(255,255,255,0.78); font-size: 0.95rem; transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }
.footer-grid a:hover { color: var(--accent); padding-left: 4px; }
.footer-brand p { color: rgba(255,255,255,0.66); max-width: 30ch; font-size: 0.95rem; }
.newsletter { display: flex; margin-top: 1rem; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-full); overflow: hidden; }
.newsletter input { flex: 1; background: transparent; border: 0; padding: 0.85rem 1.1rem; color: var(--white); font-family: var(--font-body); }
.newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter input:focus { outline: none; }
.newsletter button { background: var(--accent); color: var(--accent-ink); border: 0; padding: 0 1.2rem; cursor: pointer; font-family: var(--font-display); font-weight: 700; }
.newsletter button:hover { filter: brightness(1.05); }
.footer-bottom { display: flex; flex-direction: column; gap: 0.8rem; align-items: center; justify-content: space-between; padding-block: var(--space-3); font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom nav { display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center; }
.footer-bottom nav a:hover { color: var(--accent); }

.socials { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--white);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.socials a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.socials svg { width: 18px; height: 18px; }

/* Skip link */
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 0.7rem 1.1rem; border-radius: var(--r-full); font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; transform: translateY(-300%); transition: transform 0.3s var(--ease); }
.skip-link:focus { transform: translateY(0); }

/* = 19. Animations ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadepop { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }

/* = 20. Reduced motion ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* = 21. Responsive ========================================================= */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; align-items: center; }
}

@media (min-width: 900px) {
  .nav__menu {
    position: static; display: flex; flex-direction: row;
    background: transparent; padding: 0; gap: 1.8rem; overflow: visible; animation: none;
  }
  .nav__menu a { font-size: 0.98rem; font-weight: 500; border: 0; padding: 0; opacity: 0.9; position: relative; }
  .nav__menu a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width 0.3s var(--ease); }
  .nav__menu a:hover::after, .nav__menu a[aria-current="page"]::after { width: 100%; }

  .hero { align-items: center; padding-top: var(--nav-h); }
  .hero__inner { grid-template-columns: 1.05fr 1fr; align-items: center; gap: var(--space-4); }
  .hero__art { display: block; }

  .split { grid-template-columns: 1.1fr 1fr; }
  .split--flip { direction: ltr; }
  .split--flip > :first-child { order: 2; }

  .contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }

  .features .grid { grid-template-columns: repeat(4, 1fr); }
  .sec-head--split { flex-direction: row; align-items: flex-end; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}
/* ============================================================
   22. Phase 2 ï¿½ Commerce (shop, product, filters, wishlist)
   ============================================================ */

/* ---- Header wishlist button ---- */
.nav__actions { gap: 0.6rem; }
.nav__wish {
  position: relative;
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  border-radius: 12px; color: var(--white);
  cursor: pointer; padding: 0;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__wish:hover { border-color: var(--accent); color: var(--accent); }
.nav__wish svg { width: 21px; height: 21px; }
.nav__wish-count {
  position: absolute; top: -5px; right: -5px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 0.72rem; font-weight: 700;
  border-radius: var(--r-full);
  display: grid; place-items: center;
  font-family: var(--font-display);
}

/* ---- Product card additions (Phase 2) ---- */
.product-card__media:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.product-card__rating {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(11,12,16,0.82); color: var(--white);
  border: 1px solid var(--line);
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  padding: 4px 9px; border-radius: 999px;
}
.product-card__rating svg { width: 13px; height: 13px; color: var(--accent); }
.product-card__media .off {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--ink); color: var(--white);
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  padding: 6px 10px; border-radius: 999px;
}
.product-card__body h3 a:hover { color: var(--accent); }
.add.is-wished { background: var(--accent); color: var(--accent-ink); }

/* ---- Wishlist drawer ---- */
.wish-drawer {
  position: fixed; inset: 0; z-index: 300;
}
.wish-drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(11,12,16,0.6);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity 0.25s var(--ease);
}
.wish-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--paper); color: var(--text);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: var(--shadow-lg);
}
.wish-drawer.is-open .wish-drawer__backdrop { opacity: 1; }
.wish-drawer.is-open .wish-drawer__panel { transform: none; }
.wish-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--paper-2);
}
.wish-drawer__head h2 { font-size: 1.3rem; margin: 0; }
.wish-drawer__close {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--paper-2); background: var(--white);
  display: grid; place-items: center; cursor: pointer; color: var(--text);
}
.wish-drawer__close:hover { border-color: var(--accent); color: var(--accent); }
.wish-drawer__close svg { width: 18px; height: 18px; }
.wish-drawer__body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.wish-drawer__foot { padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--paper-2); }
.wish-empty { text-align: center; padding: 2rem 0; color: var(--text-muted); }
.wish-empty svg { width: 44px; height: 44px; margin: 0 auto 0.8rem; opacity: 0.4; }
.wish-empty p { font-family: var(--font-display); font-weight: 600; color: var(--text); margin-bottom: 4px; }
.wish-empty span { font-size: 0.9rem; }
.wish-item { display: flex; gap: 1rem; align-items: center; }
.wish-item__art {
  position: relative; flex: none; width: 84px; height: 84px;
  border-radius: 14px; overflow: hidden; display: grid; place-items: center;
  background: #ffffff;
}
.wish-item__art .deco { position: absolute; inset: 0; }
.wish-item__art svg { width: 70%; height: auto; position: relative; }
.wish-item__art img { width: 82%; height: 82%; object-fit: contain; position: relative; }
.wish-item__info { flex: 1; min-width: 0; }
.wish-item__name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: var(--ink); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wish-item__name:hover { color: var(--accent); }
.wish-item__remove {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  border: 1px solid var(--paper-2); background: var(--white);
  display: grid; place-items: center; cursor: pointer; color: var(--text-muted);
}
.wish-item__remove:hover { color: #d33; border-color: #d33; }
.wish-item__remove svg { width: 17px; height: 17px; }

/* ---- Shop layout ---- */
.shop-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-4); align-items: start; }
.filters {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--paper-2); padding: clamp(1.2rem, 2.5vw, 1.6rem);
}
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.filters__head h2 { font-size: 1.2rem; margin: 0; }
.filters__close { display: none; width: 38px; height: 38px; border: 1px solid var(--paper-2); border-radius: 10px; background: var(--white); cursor: pointer; place-items: center; }
.filters__close svg { width: 17px; height: 17px; }

.filter-group { border: 0; padding: 0; margin: 0 0 1.2rem; }
.filter-group legend {
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted);
  padding: 0; margin-bottom: 0.7rem;
}
.filter-group input[type="search"] {
  width: 100%; padding: 0.8rem 1rem;
  background: var(--paper); border: 1px solid var(--paper-2);
  border-radius: var(--r-sm); font-family: var(--font-body); font-size: 0.95rem; color: var(--text);
}
.filter-group input[type="search"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.filter-options { display: flex; flex-direction: column; gap: 0.3rem; max-height: 220px; overflow-y: auto; }
.price-range { display: flex; gap: 0.6rem; }
.price-range__field { display: flex; flex-direction: column; flex: 1; gap: 0.3rem; font-size: 0.85rem; color: var(--text-muted); }
.price-range__field input[type="number"] {
  width: 100%; padding: 0.55rem 0.6rem; font-size: 0.95rem;
  border: 1px solid var(--paper-2); border-radius: var(--r-sm); background: var(--white); color: var(--ink);
}
.price-range__field input[type="number"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.price-range__field input[type="number"]::-webkit-outer-spin-button, .price-range__field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-range__field input[type="number"] { -moz-appearance: textfield; }
.filter-opt { display: flex; align-items: center; gap: 0.6rem; font-size: 0.94rem; color: var(--text); cursor: pointer; padding: 0.32rem 0; }
.filter-opt input {
  appearance: none; flex: none; width: 18px; height: 18px; margin: 0;
  border: 2px solid var(--paper-2); border-radius: 5px; background: var(--white);
  display: grid; place-items: center; cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.filter-opt input:checked { background: var(--accent); border-color: var(--accent); }
.filter-opt input:checked::after { content: ""; width: 8px; height: 8px; background: var(--accent-ink); border-radius: 2px; }
.filter-opt input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.filter-opt span { display: block; }

.shop-main { min-width: 0; }
.shop-toolbar {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-bottom: var(--space-3);
}
.filters-open { display: inline-flex; align-items: center; gap: 0.5rem; }
.filters-open svg { width: 18px; height: 18px; }
.shop-count { margin: 0; font-size: 0.92rem; color: var(--text-muted); }
.sort { margin-left: auto; }
.sort select {
  padding: 0.75rem 2.4rem 0.75rem 1rem;
  background: var(--white); border: 1px solid var(--paper-2);
  border-radius: var(--r-full); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  color: var(--text); cursor: pointer; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.sort select:focus { outline: 3px solid var(--accent); outline-offset: 2px; }

/* active filter chips */
.active-filters { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.2rem; color: var(--text-muted); font-size: 0.85rem; }
.active-label { font-weight: 600; }
.chip {
  display: inline-block; background: var(--white); border: 1px solid var(--paper-2);
  border-radius: var(--r-full); padding: 0.35rem 0.8rem; font-size: 0.8rem; color: var(--text);
}
.chip--clear { cursor: pointer; font-family: var(--font-display); font-weight: 600; color: var(--accent); border-color: currentColor; background: none; }

.shop-grid { row-gap: clamp(1.4rem, 2.5vw, 2rem); }
.shop-empty {
  text-align: center; padding: 3.5rem 1.5rem; color: var(--text-muted);
  border: 1px dashed var(--paper-2); border-radius: var(--r-lg); display: none;
}
.shop-more { text-align: center; margin-top: var(--space-4); }
.shop-more.hidden { display: none; }

/* ---- Product detail page ---- */
.product-top { padding: calc(var(--nav-h) + 2.5rem) 0 var(--space-4); }
.product-detail { display: grid; gap: var(--space-4); margin-top: var(--space-3); }

.product-gallery { min-width: 0; }
.product-gallery__main {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 1 / 1; display: grid; place-items: center;
  background: #ffffff; box-shadow: var(--shadow-md);
}
.product-gallery__main svg { width: 78%; height: auto; animation: float 5s ease-in-out infinite; }
.product-gallery__main img { width: 90%; height: 90%; object-fit: contain; border-radius: var(--r-md); }
.product-gallery__thumbs { display: flex; gap: 0.6rem; margin-top: 0.8rem; flex-wrap: wrap; }
.thumb {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  width: 78px; padding: 0.55rem;
  background: var(--white); border: 1px solid var(--paper-2);
  border-radius: var(--r-sm); cursor: pointer; font-size: 0.72rem; color: var(--text-muted);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.thumb:hover { transform: translateY(-2px); }
.thumb.is-active { border-color: var(--accent); color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.thumb__swatch { width: 26px; height: 8px; border-radius: 999px; }
.thumb.thumb--img { width: 58px; height: 58px; padding: 2px; overflow: hidden; }
.thumb--img img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r-sm) - 3px); display: block; }
.product-gallery__thumbs--imgs { margin-top: 0.6rem; }

.product-info { display: flex; flex-direction: column; }
.product-info__tags { display: flex; gap: 0.5rem; margin-bottom: 0.8rem; min-height: 22px; }
.product-info__brand { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--text-muted); margin-bottom: 0.3rem; }
.product-info h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 0.6rem; }
.product-info__rating { display: flex; align-items: center; gap: 0.4rem; color: var(--ink); font-family: var(--font-display); font-weight: 600; margin-bottom: 1rem; }
.product-info__rating svg { width: 17px; height: 17px; color: var(--accent); }
.product-info__rating span { color: var(--text-muted); font-weight: 400; font-size: 0.9rem; }
.product-info__price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--ink); margin: 0.2rem 0 0.6rem; }
.product-info__price s { color: var(--text-muted); font-weight: 400; font-size: 1.05rem; margin-left: 10px; }
.product-info__block { margin-top: var(--space-3); }
.product-info__block h2 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.7rem; }
.product-info__swatches { display: flex; gap: 0.6rem; }
.color-swatch { display: none; }
.product-info__sizes { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.size {
  min-width: 56px; height: 46px; padding: 0 0.8rem;
  background: var(--white); border: 1px solid var(--paper-2);
  border-radius: var(--r-sm); font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  color: var(--text); cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.size:hover { border-color: var(--ink); transform: translateY(-1px); }
.size.is-selected { background: var(--ink); color: var(--white); border-color: var(--ink); }
.size.is-soldout {
  background: var(--paper); color: var(--text-muted); border-color: var(--paper-2);
  text-decoration: line-through; cursor: not-allowed;
}
.size.is-soldout:hover { transform: none; border-color: var(--paper-2); }
.size-guide { background: none; border: 0; padding: 0; color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; cursor: pointer; text-decoration: underline; }
.size-hint { display: none; font-size: 0.85rem; color: var(--accent); margin: 0.6rem 0 0; font-family: var(--font-display); font-weight: 600; }
.size-hint.is-shown { display: block; }
.product-info__actions { margin-top: var(--space-3); }
.product-info__actions .btn { width: 100%; }
.product-info__actions [data-wish-main] {
  width: auto; align-self: flex-start; padding-inline: 1.6rem;
}
.product-info__meta {
  display: grid; gap: 0.5rem; margin-top: var(--space-3); padding-top: var(--space-3);
  border-top: 1px solid var(--paper-2); font-size: 0.88rem; color: var(--text-muted);
}

/* ---- Responsive for shop + product ---- */
@media (min-width: 640px) {
  .product-detail { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .shop-layout { grid-template-columns: 260px 1fr; }
  .filters-open { display: none; }
  .filters__close { display: none; }
}

/* Mobile filter drawer */
@media (max-width: 899px) {
  .filters {
    position: fixed; inset: 0 0 0 auto; z-index: 320;
    width: min(330px, 88vw); transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    box-shadow: var(--shadow-lg); overflow-y: auto; border: 0; border-radius: 0;
  }
  .shop-layout.filters-open .filters { transform: none; display: block; }
  .filters__close { display: grid; }
  .shop-layout:not(.filters-open) .filters { display: none; }
  .shop-layout:not(.filters-open) .filters__close { display: none; }
}

/* ============================================================
   23. Phase 3 ï¿½ Commerce flows (cart, checkout, auth, account,
                    admin dashboard)
   ============================================================ */

/* ---- WhatsApp floating action ---- */
.wa-fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37,211,102,0.45);
  transition: transform 0.3s var(--ease);
}
.wa-fab:hover { transform: translateY(-3px) scale(1.05); }
.wa-fab svg { width: 30px; height: 30px; }

/* ---- Cart page ---- */
.cart-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-4); align-items: start; }
.cart-main { min-width: 0; }
.cart-line {
  display: flex; gap: 1rem; align-items: center;
  background: var(--white); border: 1px solid var(--paper-2);
  border-radius: var(--r-md); padding: 1rem; margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.cart-line__art {
  flex: none; width: 96px; height: 96px; border-radius: var(--r-sm);
  overflow: hidden; display: grid; place-items: center; position: relative;
  background: #ffffff;
}
.cart-line__art .deco { position: absolute; inset: 0; }
.cart-line__art svg { width: 72%; height: auto; position: relative; }
.cart-line__art img { width: 82%; height: 82%; object-fit: contain; position: relative; }
.cart-line__info { flex: 1; min-width: 0; }
.cart-line__name { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.cart-line__name:hover { color: var(--accent); }
.cart-line__meta { font-size: 0.82rem; color: var(--text-muted); display: block; margin-bottom: 0.6rem; }
.cart-line__right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; }
.cart-line__remove {
  width: 34px; height: 34px; border: 1px solid var(--paper-2); border-radius: 9px;
  background: var(--white); color: var(--text-muted); cursor: pointer; display: grid; place-items: center;
}
.cart-line__remove:hover { color: #d33; border-color: #d33; }
.cart-line__remove svg { width: 16px; height: 16px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--paper-2); border-radius: var(--r-full); overflow: hidden; background: var(--white); }
.qty button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--text); }
.qty button:hover { color: var(--accent); }
.qty input { width: 40px; border: 0; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.coupon-box { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 1.2rem; }
.coupon-box input { flex: 1; min-width: 180px; padding: 0.8rem 1rem; background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--r-sm); font-family: var(--font-body); }
.coupon-box input:focus { outline: none; border-color: var(--accent); }
.coupon-status { width: 100%; margin: 0; font-size: 0.88rem; color: var(--text-muted); }

.cart-summary {
  background: var(--white); border: 1px solid var(--paper-2);
  border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow-md); position: sticky; top: 5.5rem;
}
.cart-summary h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.4rem 0; font-size: 0.95rem; color: var(--text-muted); }
.sum-row b { color: var(--ink); font-family: var(--font-display); }
.sum-row--saving { color: #1a7f37; }
.sum-row--total { border-top: 1px solid var(--paper-2); margin-top: 0.5rem; padding-top: 0.9rem; font-size: 1.15rem; color: var(--ink); font-weight: 700; }
.sum-row--total b { font-size: 1.35rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; }
.cart-empty h2 { margin-bottom: 0.4rem; }

/* ---- Checkout ---- */
.checkout-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-4); align-items: start; }
.checkout-layout .card-form h2 { font-size: 1.15rem; margin: 1.6rem 0 1rem; }
.checkout-layout .card-form h2:first-child { margin-top: 0; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
#co-card { letter-spacing: 1px; }
.ship-opt {
  display: flex; align-items: center; gap: 0.8rem;
  border: 1px solid var(--paper-2); border-radius: var(--r-sm);
  padding: 0.85rem 1rem; margin-bottom: 0.6rem; cursor: pointer; background: var(--paper);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.ship-opt:hover { border-color: var(--accent); }
.ship-opt:has(input:checked) { border-color: var(--ink); background: var(--white); }
.ship-opt input { accent-color: var(--accent); width: 18px; height: 18px; }
.ship-opt__body { flex: 1; display: flex; flex-direction: column; }
.ship-opt__body b { font-family: var(--font-display); font-size: 0.98rem; }
.ship-opt__body small { color: var(--text-muted); }
.ship-opt__fee { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.pay-group { display: flex; flex-direction: column; }
.pay-note {
  display: flex; gap: 0.6rem; align-items: flex-start;
  background: var(--accent-soft); border-radius: var(--r-sm);
  padding: 0.8rem 1rem; font-size: 0.85rem; color: var(--text); margin-top: 0.4rem;
}
.pay-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.checkout-items { margin-bottom: 0.6rem; border-bottom: 1px solid var(--paper-2); padding-bottom: 0.6rem; }

/* ---- Auth pages ---- */
.auth { padding: calc(var(--nav-h) + 3rem) 0 var(--space-5); }
.auth-card {
  max-width: 460px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--paper-2);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-md);
}
.auth-card h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 0.5rem; }
.auth-error { display: block; background: #fdecea; color: #c0392b; border-radius: var(--r-sm); padding: 0.7rem 0.9rem; font-size: 0.88rem; margin: 0 0 1rem; }
.auth-alt { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.4rem; font-size: 0.92rem; color: var(--text-muted); text-align: center; }
.auth-alt a { color: var(--ink); font-weight: 600; text-decoration: underline; }

/* ---- Account ---- */
.acct-tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: var(--space-3); border-bottom: 1px solid var(--paper-2); }
.acct-tab {
  background: none; border: 0; border-bottom: 3px solid transparent;
  padding: 0.7rem 1rem; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--text-muted); cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.acct-tab:hover { color: var(--ink); }
.acct-tab.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.acct-panel { min-height: 200px; }
.addr-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.addr-card { background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--r-md); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.addr-card h4 { margin-bottom: 0.3rem; }
.addr-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.8rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: #d33; }
.form-stack .field input { background: var(--white); }

/* ---- Admin product edit panel ---- */
.edit-panel {
  background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); padding: 1.2rem 1.4rem; margin-bottom: 1.5rem;
}
.edit-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid var(--paper-2); padding-bottom: 0.8rem; margin-bottom: 1rem;
}
.edit-head h4 { margin: 0; }

/* ---- Tables (account orders + admin) ---- */
.table { background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.table__head, .table__row {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto;
  gap: 1rem; padding: 0.8rem 1.2rem; align-items: center;
}
.table--inventory .table__head, .table--inventory .table__row {
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr auto;
}
.table__head { background: var(--ink); color: var(--white); font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.table__row { border-top: 1px solid var(--paper-2); font-size: 0.92rem; }
.table__row small { font-size: 0.8rem; }
.mini-input {
  width: 100%; max-width: 180px; padding: 0.5rem 0.7rem;
  border: 1px solid var(--paper-2); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 0.9rem; background: var(--paper);
}
.mini-input:focus { outline: none; border-color: var(--accent); }
.table__subrow { grid-column: 1 / -1; display: block; background: var(--paper); padding: 0.9rem 1.2rem; }
.subrow-inner { display: flex; flex-direction: column; gap: 0.5rem; }
.subrow-head { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-family: var(--font-display); font-weight: 600; }
.sizes-manager { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.size-stock {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: 1px solid var(--paper-2); background: var(--white); border-radius: var(--r-sm);
  padding: 0.3rem 0.6rem; font-family: var(--font-display); font-size: 0.82rem; color: var(--text-muted);
}
.size-stock input { width: 64px; }
.subrow-actions { display: flex; align-items: center; gap: 0.8rem; }
.img-upload { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.img-upload small { font-size: 0.8rem; word-break: break-all; }
[data-imgpreview] { width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--paper-2); border-radius: var(--r-sm); margin-top: 0.5rem; }
.cut-tool { margin-top: 0.6rem; }
.cut-compare { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cut-frame { margin: 0; flex: 1 1 130px; max-width: 170px; }
.cut-frame figcaption { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.35rem; }
.cut-frame img { width: 100%; height: 110px; object-fit: contain; border: 1px solid var(--paper-2); border-radius: var(--r-sm); background: #fff; }
.cut-frame--after img { background: repeating-conic-gradient(#ecece7 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.cut-warn { margin: 0.6rem 0 0.35rem; padding: 0.5rem 0.7rem; border-radius: var(--r-sm); background: rgba(231, 205, 132, 0.16); border: 1px solid rgba(231, 205, 132, 0.5); color: #6a4f0f; font-size: 0.82rem; line-height: 1.45; }
.cut-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.cut-actions .btn { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
.cut-tool > small { display: block; margin-top: 0.4rem; }
.add-row { display: flex; gap: 0.6rem; align-items: center; margin-top: 0.6rem; }
.status { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; background: var(--paper-2); color: var(--text-muted); }
.status--confirmed { background: var(--accent-soft); color: #6a4f0f; }
.status--processing { background: #e8f0fe; color: #1a56b0; }
.status--shipped { background: #eef5ea; color: #1a7f37; }
.status--delivered { background: #e9f7ef; color: #0f6b32; }
.status--cancelled { background: #fdecea; color: #c0392b; }
.stock-badge { display: inline-flex; align-items: center; }
.stock-ico { display: inline-flex; width: 22px; height: 22px; }
.stock-ico svg { width: 100%; height: 100%; }
.stock-ico--ok { color: #16a34a; }
.stock-ico--bad { color: #dc2626; }
.ord-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.ord-tab {
  border: 1px solid var(--paper-2); background: var(--white); color: var(--text-muted);
  border-radius: 999px; padding: 0.45rem 0.95rem; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.ord-tab small { font-weight: 400; opacity: 0.75; }
.ord-tab:hover { border-color: var(--accent); }
.ord-tab.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.order-status { background: var(--paper); border: 1px solid var(--paper-2); border-radius: var(--r-md); padding: 1.2rem; margin: 1.4rem 0; }
.order-status h3 { font-family: var(--font-display); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.9rem; }
.order-status--cancelled { background: #fdecea; border-color: #f0c4c0; color: #c0392b; }
.ostrack { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.ostep { display: flex; align-items: center; gap: 0.5rem; }
.ostep__dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--paper-2); background: var(--white); }
.ostep.is-done .ostep__dot { background: var(--accent); border-color: var(--accent); }
.ostep.is-current .ostep__dot { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.ostep.is-done .ostep__label, .ostep.is-current .ostep__label { color: var(--ink); font-weight: 700; }
.ostep__label { font-size: 0.85rem; color: var(--text-muted); text-transform: capitalize; }
.ostrack__sep { flex: 1 1 16px; height: 2px; background: var(--paper-2); min-width: 16px; }
.ostnow { margin-top: 0.9rem; font-size: 0.9rem; color: var(--text-muted); }
.ostnow b { color: var(--ink); text-transform: capitalize; }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i { position: absolute; inset: 0; background: var(--paper-2); border-radius: 999px; transition: background 0.25s var(--ease); }
.switch i::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---- Admin layout ---- */
.admin-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-3); align-items: start; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--r-md); padding: 0.7rem; box-shadow: var(--shadow-sm); }
.admin-main { min-width: 0; }
.admin-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1rem 0 1.5rem; }
.admin-card { background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--r-md); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.admin-card span { display: block; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-display); }
.admin-card b { font-family: var(--font-display); font-size: 1.8rem; }
.admin-grid2 { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.panel-card { background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--r-md); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.panel-card h4 { font-size: 0.95rem; margin-bottom: 1rem; }
.chart { display: flex; align-items: flex-end; gap: 0.7rem; height: 180px; padding-top: 0.5rem; }
.chart__col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 0.4rem; height: 100%; }
.chart__bar { width: 100%; max-width: 38px; background: linear-gradient(to top, var(--ink), var(--accent)); border-radius: 6px 6px 0 0; min-height: 4px; transition: height 0.6s var(--ease); }
.chart__col small { font-size: 0.7rem; color: var(--text-muted); }
.mini-row { display: flex; justify-content: space-between; padding: 0.45rem 0; border-bottom: 1px dashed var(--paper-2); font-size: 0.9rem; }
.mini-row:last-child { border-bottom: 0; }
.admin-toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--white); padding: 0.8rem 1.4rem; border-radius: var(--r-full);
  font-family: var(--font-display); font-size: 0.9rem; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); z-index: 400;
}
.admin-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.admin-toast.is-error { background: #b00020; }

/* ---- Receipt ---- */
.receipt { background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow-md); }
.receipt h2 { font-size: 1.4rem; }
.receipt h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 1.2rem 0 0.6rem; }
.receipt__items { border-top: 1px solid var(--paper-2); margin-bottom: 0.6rem; }
.receipt__row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px dashed var(--paper-2); font-size: 0.95rem; }
.receipt__row small { color: var(--text-muted); }
.receipt__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---- Responsive additions ---- */
@media (max-width: 760px) {
  .table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table__head, .table__row { min-width: 700px; }
  .table__row .link-btn { white-space: nowrap; }
  .admin-toast { max-width: calc(100vw - 2rem); text-align: center; }
}

@media (max-width: 760px) {
  .nav__wish[data-cart-toggle],
  .nav__wish[data-wish-toggle] {
    display: none;
  }
}

@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .addr-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-cards { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  .cart-layout { grid-template-columns: 1.6fr 1fr; }
  .checkout-layout { grid-template-columns: 1.5fr 1fr; }
  .admin-layout { grid-template-columns: 240px 1fr; }
  .admin-nav { flex-direction: column; }
  .admin-grid2 { grid-template-columns: 1fr 1fr; }
}

/* Print: receipt only */
@media print {
  .site-header, .site-footer, .wa-fab, .skip-link, .btn, .crumbs { display: none !important; }
  body { background: #fff; }
  .receipt { box-shadow: none; border: 1px solid #ddd; }
}

/* ============================================================
   Golden glow accents (matches the brand logo)
   ============================================================ */
.eyebrow,
.hero__copy h1 .accent,
.nav__menu a:hover,
.nav__menu a[aria-current="page"],
.crumbs a:hover,
.product-card__rating svg,
.product-info__rating svg,
.cat-card .more,
.link-btn,
.footer-grid a:hover,
.acct-tab.is-active {
  text-shadow: 0 0 10px var(--accent-glow);
}
.btn--solid,
.newsletter button,
.skip-link {
  box-shadow: 0 0 16px var(--accent-glow);
}
.add.is-wished,
.qty button:hover {
  text-shadow: 0 0 8px var(--accent-glow);
}

/* ============================================================
   Arabic (RTL) — mirrors layout + Arabic-friendly fonts
   ============================================================ */
[dir="rtl"] body,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] button {
  font-family: "Segoe UI", "Noto Kufi Arabic", "Noto Naskh Arabic", Tahoma, Arial, sans-serif;
}
[dir="rtl"] .arrow,
[dir="rtl"] .stamp-arrow {
  display: inline-block;
  transform: scaleX(-1);
}
[dir="rtl"] .footer-grid > div:last-child,
[dir="rtl"] .footer-bottom nav {
  text-align: left;
}
[dir="rtl"] .address__or,
[dir="rtl"] .sum-row--saving { direction: rtl; }

/* ============================================================
   Homepage refresh — Categories + Featured (matches gold logo)
   ============================================================ */

/* Categories – editorial index gallery */
.cat-card {
  box-shadow: 0 6px 26px rgba(11, 12, 16, 0.06);
  border-color: var(--paper-2);
}
.cat-card:hover {
  border-color: var(--accent);
  box-shadow: 0 28px 54px -22px rgba(231, 205, 132, 0.55);
}
.cat-card__num {
  position: absolute;
  top: 1.15rem;
  right: 1.4rem;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.cat-card:hover .cat-card__num {
  opacity: 1;
  color: var(--accent-soft);
  transform: translateY(-4px);
}
.cat-card__art {
  background:
    radial-gradient(130% 95% at 50% 14%, var(--accent-soft), transparent 62%),
    #ffffff;
}
.cat-card__art img {
  width: 80%;
  height: 80%;
  filter: drop-shadow(0 20px 30px rgba(11, 12, 16, 0.18));
}
.cat-card__body { position: relative; z-index: 1; }
.cat-card h3 { font-size: 1.55rem; font-weight: 600; letter-spacing: -0.02em; }
.cat-card p { font-size: 0.9rem; margin-top: 6px; }
.cat-card .more {
  padding: 0.6rem 1.05rem;
  border-radius: var(--r-full);
  background: var(--accent-soft);
  color: #8a6d1f;
}
.cat-card:hover .more {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-accent);
}

/* Featured – CTA header */
.sec-head--cta {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3) var(--space-4);
}
.sec-head--cta .lead { max-width: 46ch; }
@media (min-width: 720px) {
  .sec-head--cta { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: var(--space-4); }
  .sec-head--cta .sec-head__aside { margin-inline-start: auto; }
}
.sec-head__aside .btn { padding-inline: 1.5rem; }

/* Featured – product cards */
.product-card {
  border: 1px solid var(--paper-2);
  box-shadow: 0 8px 28px rgba(11, 12, 16, 0.05);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 60px -26px rgba(231, 205, 132, 0.5);
  border-color: transparent;
}
.product-card__media {
  background: linear-gradient(180deg, #ffffff 0%, #f7f6f2 100%);
}
.product-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 85% 8%, var(--accent-soft), transparent 62%);
  pointer-events: none;
}
.product-card__media .tag,
.product-card__media .off { z-index: 3; }
.product-card__body .brand {
  color: #9a7b2e;
  font-weight: 600;
}
.product-card__meta .price { color: var(--ink); }
.product-card__body .add {
  background: #fbfaf7;
  border: 1px solid rgba(11, 12, 16, 0.08);
}
.product-card__body .add:hover,
.product-card__body .add.is-wished {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
[dir="rtl"] .cat-card__num { right: auto; left: 1.4rem; }

/* Categories – background banner */
#categories {
  background:
    linear-gradient(rgba(11, 12, 16, 0.78), rgba(11, 12, 16, 0.78)),
    url("https://res.cloudinary.com/dd9m8ypgl/image/upload/f_auto,q_auto,c_limit,w_1920/miniman/img/cat-background") center / cover no-repeat;
}
#categories .sec-head h2 { color: var(--white); }
#categories .sec-head .lead { color: rgba(255, 255, 255, 0.72); }
#categories .cat-products { margin-top: var(--space-4); max-width: 640px; }
.cat-product {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.5rem 1rem;
  text-decoration: none;
  transition: transform 0.4s var(--ease);
}
.cat-product:hover { transform: translateY(-6px); }
.cat-product__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}
.cat-product__media img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45));
}
.cat-product__name {
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
}
.cat-product__tag {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: var(--r-full);
  padding: 0.32rem 0.75rem;
  box-shadow: 0 6px 14px var(--accent-glow);
}
[dir="rtl"] .cat-product__tag { right: auto; left: 1.2rem; }

/* ==========================================================================
   23. Shop page — dark browsing theme
   Scoped to the shop browsing section; leaves the product detail page alone.
   ========================================================================== */
.shop-browse { color: var(--white); }

/* filter sidebar */
.shop-browse .filters { background: var(--ink); border-color: var(--line); }
.shop-browse .filters__head h2 { color: var(--white); }
.shop-browse .filters__close {
  background: var(--ink-2); border-color: var(--line); color: var(--white);
}
.shop-browse .filter-group legend { color: rgba(255, 255, 255, 0.5); }
.shop-browse .filter-group input[type="search"],
.shop-browse .price-range__field input[type="number"],
.shop-browse .sort select {
  background: var(--ink-2); border-color: var(--line); color: var(--white);
}
.shop-browse .filter-group input[type="search"]::placeholder,
.shop-browse .price-range__field input[type="number"]::placeholder { color: rgba(255,255,255,0.35); }
.shop-browse .filter-group input[type="search"]:focus,
.shop-browse .price-range__field input[type="number"]:focus,
.shop-browse .sort select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(231,205,132,0.22); }
.shop-browse .filter-opt { color: rgba(255, 255, 255, 0.86); }
.shop-browse .filter-opt input { border-color: var(--line); background: var(--ink-2); }
.shop-browse .filter-opt input:checked { background: var(--accent); border-color: var(--accent); }
.shop-browse .sort select {
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.55) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.55) 50%, transparent 50%);
}

/* toolbar + counts */
.shop-browse .shop-count { color: rgba(255, 255, 255, 0.6); }
.shop-browse .active-filters { color: rgba(255, 255, 255, 0.6); }
.shop-browse .chip {
  background: var(--ink-2); border-color: var(--line); color: var(--white);
}
.shop-browse .chip--clear { background: none; color: var(--accent); border-color: currentColor; }
.shop-browse .shop-empty { color: rgba(255, 255, 255, 0.6); border-color: var(--line); }

/* product cards */
.shop-browse .product-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.shop-browse .product-card:hover {
  box-shadow: 0 34px 60px -26px rgba(231, 205, 132, 0.45);
  border-color: rgba(231, 205, 132, 0.4);
}
.shop-browse .product-card__media {
  background: linear-gradient(180deg, #23262f 0%, #1b1d24 100%);
}
.shop-browse .product-card__media .deco::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 85% 8%, rgba(231, 205, 132, 0.12), transparent 62%);
  pointer-events: none;
}
.shop-browse .product-card__media img {
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.5));
}
.shop-browse .product-card__body { background: transparent; }
.shop-browse .product-card__body .brand { color: var(--accent); }
.shop-browse .product-card__body h3 { color: var(--white); }
.shop-browse .product-card__body h3 a { color: var(--white); }
.shop-browse .product-card__body h3 a:hover { color: var(--accent); }
.shop-browse .product-card__meta .price { color: var(--white); }
.shop-browse .product-card__meta .price s { color: rgba(255,255,255,0.45); }
.shop-browse .product-card__body .add {
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--white);
}
.shop-browse .product-card__body .add:hover,
.shop-browse .product-card__body .add.is-wished {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* ==========================================================================
   24. Homepage spotlight carousel
   ========================================================================== */
.spotlight {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.spotlight__slider { display: flex; transition: transform 0.65s var(--ease); }
.slide { position: relative; flex: 0 0 100%; min-width: 100%; min-height: clamp(220px, 32vh, 400px); }
.slide__banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.slide__banner-cta {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.slide__timer {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: transparent;
  border: 0;
  color: var(--white);
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: default;
}
.slide__timer-label {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.slide__timer-value {
  font-size: 1.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
@media (max-width: 760px) {
  .slide__timer {
    top: 0.5rem;
    gap: 0.5rem;
  }
  .slide__timer-label {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
  }
  .slide__timer-value {
    font-size: 1.1rem;
  }
}
.slide__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3rem);
}
.slide__copy h2 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; margin: 0.4rem 0 1rem; }
.slide__copy .lead { color: rgba(255, 255, 255, 0.72); max-width: 46ch; }
.slide__cta { margin-top: var(--space-3); display: flex; flex-wrap: wrap; gap: 0.8rem; }
.slide__art {
  display: grid;
  place-items: center;
}
.slide__art img {
  width: min(100%, 300px);
  height: auto;
  filter: drop-shadow(0 30px 38px rgba(0, 0, 0, 0.55));
animation: floatSoft 7s ease-in-out infinite;
}
.spotlight--compact { padding-block: clamp(2rem, 4vw, 3rem); }
.spotlight--compact .spotlight__frame {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  border-radius: var(--r-lg, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-md, 0 20px 40px rgba(0,0,0,0.35));
  border: 1px solid var(--line);
}
.spotlight--compact .slide {
  min-height: clamp(140px, 22vw, 240px);
  display: flex; align-items: center; justify-content: center;
  background: #0b0c10;
}
.spotlight--compact .slide__banner {
  width: 100%; height: 100%;
  object-fit: contain;
}
.spotlight--compact .slide__timer { top: 0.7rem; }
.spotlight--compact .slide__timer-label { font-size: 0.85rem; }
.spotlight--compact .slide__timer-value { font-size: 1.15rem; }
.spotlight--compact .spotlight__ui { bottom: 0.7rem; }
.spotlight--compact .spotlight__arrow { width: 32px; height: 32px; }

.spotlight__ui {
  position: absolute;
  left: 0; right: 0; bottom: 1.2rem;
  display: flex; justify-content: center; align-items: center; gap: 1.1rem;
  z-index: 5;
}
.spotlight__arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.spotlight__arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.spotlight__dots { display: flex; gap: 0.5rem; }
.spotlight__dot {
  width: 26px; height: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  border: 0; padding: 0; cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.spotlight__dot.is-active { background: var(--accent); width: 40px; }
@media (min-width: 760px) {
  .slide__grid { grid-template-columns: 1.05fr 1fr; }
  .slide__art img { width: min(100%, 320px); }
}
