﻿/* ============================================================
   Ticker — Premium fashion e-commerce design system
   Tokens bound from assets/brand-spec.md
   ============================================================ */
:root {
  --bg: #080F17;
  --surface: #0D1722;
  --card: #142231;
  --elev: #192B3C;
  --border: #24384B;
  --fg: #FFFFFF;
  --muted: #A9B8C8;
  --faint: #718397;
  --accent: #4C8DFF;
  --accent-bright: #6FA8FF;
  --promo: #18C58A;
  --promo-bright: #24D69A;
  --danger: #FF4D55;
  --soft-white: #F5F7FA;
  --img-bg: #F4F4F2;

  --card-hover: color-mix(in oklab, var(--card), white 6%);
  --elev-hover: color-mix(in oklab, var(--elev), white 8%);
  --btn-hover: color-mix(in oklab, white, var(--bg) 8%);
  --border-soft: rgba(255, 255, 255, 0.09);
  --glass: rgba(11, 20, 30, 0.88);

  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Inter, 'Noto Sans Arabic', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --radius-card: 22px;
  --radius-btn: 14px;
  --radius-input: 16px;
  --radius-panel: 28px;

  --shadow-card: 0 18px 42px rgba(0, 0, 0, 0.38);
  --shadow-btn: 0 14px 28px rgba(255, 255, 255, 0.12);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--bg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 64px);
}

section { position: relative; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

.eyebrow-center { justify-content: center; }
.eyebrow-center::after { content: ""; width: 28px; height: 1px; background: var(--accent); }

.h-display, .h-section, .h-sub {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--fg);
}
.h-display { font-size: clamp(40px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -0.025em; }
.h-section { font-size: clamp(30px, 4vw, 46px); }
.h-sub { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.015em; }

.lead { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 54ch; }
.small { font-size: 13px; color: var(--muted); }
.caps { text-transform: uppercase; letter-spacing: 0.08em; }

.section { padding-block: clamp(64px, 8vw, 120px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .lead { margin-top: 14px; }

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease-out), background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; }

.btn-primary {
  background: var(--soft-white);
  color: #0B141E;
}
.btn-primary:hover {
  background: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.38);
}
.btn-secondary:hover {
  background: var(--fg);
  color: #0B141E;
  border-color: var(--fg);
  transform: translateY(-2px);
}
.btn-secondary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 0 8px;
  min-height: 44px;
  letter-spacing: 0.04em;
}
.btn-ghost:hover { color: var(--fg); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s, gap 0.2s;
}
.link-arrow .ic { width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.link-arrow:hover { color: var(--accent-bright); }
.link-arrow:hover .ic { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .ic { transform: translateX(-4px) scaleX(-1); }

.btn-lg { min-height: 56px; padding: 0 36px; font-size: 14px; }

/* ---------- header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  height: 80px;
  display: flex;
  align-items: center;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
  background: transparent;
}
.header.scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  height: 100%;
}
.logo {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  line-height: 1;
  user-select: none;
}
.logo sup { font-size: 9px; font-weight: 700; color: var(--accent-bright); letter-spacing: 0.2em; margin-inline-start: 2px; }

.nav-main {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-inline: auto;
}
.nav-main a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-main a:hover { color: var(--fg); }
.nav-main a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
[dir="rtl"] .nav-main a::after { transform-origin: right; }
.nav-main a:hover::after, .nav-main a.active::after { transform: scaleX(1); }
.nav-main a.active { color: var(--fg); }
.nav-main a.sale-link { color: var(--promo-bright); }
.nav-main a.sale-link:hover { color: var(--promo); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.icon-btn:hover { color: var(--fg); background: rgba(255, 255, 255, 0.07); }
.icon-btn .ic { width: 21px; height: 21px; }
.icon-btn[data-lang-toggle] { font-size: 12px; font-weight: 700; letter-spacing: 0.03em; padding: 0 6px; color: var(--muted); }
.cart-count {
  position: absolute;
  top: 4px; right: 3px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--promo);
  color: #03221a;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  letter-spacing: 0;
  transform: scale(0);
  transition: transform 0.25s var(--ease-out);
}
.cart-count.show { transform: scale(1); }

.header-spacer { height: 80px; }

/* ---------- mobile menu ---------- */
.menu-btn { display: none; }
.drawer-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer-menu.open { transform: translateY(0); }
.dn-feature {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 7 / 5;
  margin: 26px clamp(20px, 4.5vw, 64px) 0;
  border: 1px solid rgba(24, 197, 138, 0.14);
  box-shadow: 0 2px 24px rgba(8, 15, 23, 0.22);
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.dn-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 23, 0) 55%, rgba(8, 15, 23, 0.45));
  pointer-events: none;
}
.dn-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dn-feature:hover { transform: scale(1.012); border-color: rgba(24, 197, 138, 0.5); }
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding-inline: clamp(20px, 4.5vw, 64px);
  border-bottom: 1px solid var(--border-soft);
}
.drawer-nav { padding: 26px clamp(20px, 4.5vw, 64px) 20px; display: flex; flex-direction: column; gap: 2px; }
.drawer-nav a {
  position: relative;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  padding: 15px 4px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: color 0.25s var(--ease-out), padding-inline 0.3s var(--ease-out);
}
.drawer-nav a:hover { color: var(--accent-bright); padding-inline-start: 10px; }
.drawer-nav .dn-idx {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  min-width: 28px;
  transition: color 0.25s var(--ease-out);
}
.drawer-nav a:hover .dn-idx { color: var(--accent-bright); }
.drawer-nav .dn-label { flex: 1; }
.drawer-nav a.dn-all {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  border-bottom: none;
  padding-top: 18px;
  padding-bottom: 4px;
}
.drawer-nav a.dn-all .dn-idx { display: none; }
.drawer-nav .ic { width: 22px; height: 22px; color: var(--faint); transition: transform 0.3s var(--ease-out), color 0.25s var(--ease-out); }
.drawer-nav a:hover .ic { color: var(--accent-bright); transform: translateX(3px); }
[dir="rtl"] .drawer-nav .ic { transform: scaleX(-1); }
[dir="rtl"] .drawer-nav a:hover .ic { transform: translateX(-3px) scaleX(-1); }
.drawer-contact {
  margin: 22px clamp(20px, 4.5vw, 64px) 6px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}
.dc-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 13px;
}
.dc-wa {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(24, 197, 138, 0.1);
  border: 1px solid rgba(24, 197, 138, 0.32);
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.dc-wa:hover { background: rgba(24, 197, 138, 0.18); border-color: rgba(24, 197, 138, 0.5); transform: translateY(-1px); }
.dc-wa .ic { width: 26px; height: 26px; color: var(--promo-bright); flex: none; }
.dc-wa-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dc-wa b { font-size: 15px; font-weight: 700; color: var(--fg); }
.dc-wa small { font-size: 12px; color: var(--muted); }
.drawer-meta { margin-top: auto; padding: 20px clamp(20px, 4.5vw, 64px) 40px; display: flex; gap: 12px; border-top: 1px solid var(--border-soft); }

/* ---------- search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(8, 15, 23, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-box {
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4.5vw, 64px) 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-soft);
  max-width: 1080px;
  margin-inline: auto;
  width: 100%;
}
.search-box .ic { width: 26px; height: 26px; color: var(--muted); flex: none; }
.search-box input {
  flex: 1;
  background: none;
  border: 0;
  outline: none;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.search-box input::placeholder { color: var(--faint); }
.search-close { flex: none; }
.search-body { flex: 1; overflow-y: auto; max-width: 1080px; margin-inline: auto; width: 100%; padding: 28px clamp(20px, 4.5vw, 64px) 60px; }
.search-label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.chip:hover { color: var(--fg); border-color: var(--accent); }
.chip.active { background: var(--soft-white); color: #0B141E; border-color: var(--soft-white); }
.search-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.search-results .p-card { opacity: 0; transform: translateY(10px); animation: rise 0.4s var(--ease-out) forwards; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(8, 15, 23, 0.94) 0%, rgba(8, 15, 23, 0.6) 46%, rgba(8, 15, 23, 0.18) 72%, rgba(8, 15, 23, 0.42) 100%);
}
[dir="rtl"] .hero-scrim { background: linear-gradient(-100deg, rgba(8, 15, 23, 0.94) 0%, rgba(8, 15, 23, 0.6) 46%, rgba(8, 15, 23, 0.18) 72%, rgba(8, 15, 23, 0.42) 100%); }
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: clamp(48px, 6vw, 88px);
  max-width: 660px;
}
.hero .eyebrow { margin-bottom: 24px; }
.hero-title { font-size: clamp(40px, 6.4vw, 88px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; margin-bottom: 24px; }
.hero-title .serif-accent { font-size: 1.06em; }
.hero-sub { color: var(--muted); font-size: 17px; max-width: 46ch; margin-bottom: 40px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

html.js .reveal { opacity: 0; transform: translateY(26px); }
.js-ready .reveal { transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js-ready .reveal.in { opacity: 1; transform: translateY(0); }
.d-1 { transition-delay: 0.12s !important; }
.d-2 { transition-delay: 0.28s !important; }
.d-3 { transition-delay: 0.44s !important; }
.d-4 { transition-delay: 0.6s !important; }

.hero-meta {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  right: clamp(20px, 4.5vw, 64px);
  display: flex;
  gap: 32px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
[dir="rtl"] .hero-meta { right: auto; left: clamp(20px, 4.5vw, 64px); }

/* ---------- collection tiles ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-tile {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 15, 23, 0.88) 0%, rgba(8, 15, 23, 0.25) 38%, rgba(8, 15, 23, 0.05) 70%);
  pointer-events: none;
}
.cat-tile-label {
  position: absolute;
  left: 24px; right: 24px; bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cat-tile-label span { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.cat-tile-label .ic { width: 22px; height: 22px; color: #fff; opacity: 0.85; transition: transform 0.3s var(--ease-out); }
[dir="rtl"] .cat-tile-label .ic { transform: scaleX(-1); }
.cat-tile:hover .cat-tile-label .ic { transform: translateX(4px); }
[dir="rtl"] .cat-tile:hover .cat-tile-label .ic { transform: translateX(-4px) scaleX(-1); }
.cat-tile-count { position: absolute; top: 18px; left: 20px; z-index: 2; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.85); }

/* ---------- product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.p-card:hover { transform: translateY(-6px); border-color: rgba(111, 168, 255, 0.45); box-shadow: var(--shadow-card); background: var(--card-hover); }

.p-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--img-bg);
  overflow: hidden;
}
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease-out); }
.p-card:hover .p-media img { transform: scale(1.05); }
.p-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(250, 250, 248, 0.9), rgba(250, 250, 248, 0) 20%), linear-gradient(to top, rgba(250, 250, 248, 0.8), rgba(250, 250, 248, 0) 16%);
  pointer-events: none;
}

.p-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--promo);
  color: #03221a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[dir="rtl"] .p-badge { left: auto; right: 14px; }
.p-wish {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 15, 23, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
[dir="rtl"] .p-wish { right: auto; left: 12px; }
.p-wish:hover { background: rgba(8, 15, 23, 0.82); transform: scale(1.06); }
.p-wish .ic { width: 18px; height: 18px; }
.p-wish.liked { color: var(--danger); }
.p-wish.liked .ic { fill: var(--danger); }

.p-quick {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 3;
  height: 46px;
  border-radius: 12px;
  background: rgba(8, 15, 23, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateY(120%);
  transition: transform 0.32s var(--ease-out);
}
.p-quick .ic { width: 16px; height: 16px; }
.p-card:hover .p-quick { transform: translateY(0); }

.p-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-cat { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.p-name { font-size: 16px; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; line-height: 1.35; overflow-wrap: break-word; }
.p-name a:hover { color: var(--accent-bright); }
.p-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.p-price { font-size: 20px; font-weight: 700; color: var(--fg); letter-spacing: -0.01em; }
.p-old { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.p-colors { display: flex; gap: 6px; margin-top: 2px; }
.p-color { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); }

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

/* ---------- campaign ---------- */
.campaign { position: relative; min-height: clamp(560px, 74vh, 820px); min-height: clamp(560px, 74svh, 820px); display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--radius-panel); }
.campaign-media { position: absolute; inset: 0; }
.campaign-media img { width: 100%; height: 100%; object-fit: cover; }
.campaign-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 15, 23, 0.92) 0%, rgba(8, 15, 23, 0.35) 45%, rgba(8, 15, 23, 0.1) 100%),
              linear-gradient(110deg, rgba(8, 15, 23, 0.55) 0%, rgba(8, 15, 23, 0) 55%);
}
[dir="rtl"] .campaign-scrim { background: linear-gradient(to top, rgba(8, 15, 23, 0.92) 0%, rgba(8, 15, 23, 0.35) 45%, rgba(8, 15, 23, 0.1) 100%), linear-gradient(-110deg, rgba(8, 15, 23, 0.55) 0%, rgba(8, 15, 23, 0) 55%); }
.campaign-inner { position: relative; z-index: 2; padding: clamp(28px, 4vw, 56px); max-width: 720px; }
.campaign-inner .eyebrow { color: var(--promo-bright); }
.campaign-inner .eyebrow::before { background: var(--promo); }
.campaign-title { font-size: clamp(34px, 5vw, 66px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; margin: 20px 0 28px; }

/* ---------- brand story ---------- */
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.story-media { border-radius: var(--radius-panel); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-copy .lead { margin: 20px 0 36px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; border-top: 1px solid var(--border); padding-top: 32px; }
.stat b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg); margin-bottom: 6px; }
.stat b .serif-accent { font-size: 0.8em; color: var(--promo-bright); }
.stat span { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stat.text b { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-bright); font-weight: 700; margin-bottom: 0; align-self: flex-end; padding-bottom: 3px; }

/* ---------- sale banner ---------- */
.sale-banner {
  position: relative;
  border-radius: var(--radius-panel);
  background: var(--surface);
  border: 1px solid rgba(24, 197, 138, 0.3);
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.sale-banner::before {
  content: "";
  position: absolute;
  top: -180px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(24, 197, 138, 0.2), transparent);
  pointer-events: none;
}
.sale-banner .eyebrow { color: var(--promo-bright); }
.sale-banner .eyebrow::before { background: var(--promo); }
.sale-title { font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; letter-spacing: -0.02em; margin: 16px 0 6px; line-height: 1.05; }
.sale-note { color: var(--muted); font-size: 15px; }
.sale-cta { color: var(--promo-bright); }
.sale-cta:hover { color: var(--promo); }

/* ---------- trust strip ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.trust-item .ic { width: 24px; height: 24px; color: var(--accent-bright); flex: none; margin-top: 1px; }
.trust-item b { display: block; font-size: 14px; font-weight: 600; color: var(--fg); margin-bottom: 3px; }
.trust-item span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ---------- newsletter ---------- */
.newsletter { text-align: center; }
.newsletter .lead { margin: 16px auto 32px; }
.news-form {
  display: flex;
  gap: 12px;
  max-width: 560px;
  margin-inline: auto;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--surface);
}
.news-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.2); }
.news-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  padding: 0 16px;
  font-size: 15px;
  color: var(--fg);
}
.news-form input::placeholder { color: var(--faint); }
.news-success { margin-top: 16px; color: var(--promo-bright); font-size: 14px; font-weight: 600; display: none; }
.news-success.show { display: block; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: clamp(56px, 6vw, 88px) clamp(40px, 4vw, 56px);
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 30ch; margin-bottom: 24px; line-height: 1.6; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.socials a:hover { color: var(--fg); border-color: var(--accent); transform: translateY(-2px); }
.socials .ic { width: 19px; height: 19px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover { color: var(--accent-bright); transform: translateX(2px); }
[dir="rtl"] .footer-col a:hover { transform: translateX(-2px); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom .small { font-size: 13px; color: var(--muted); }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badge {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--elev);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- cart drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(5, 10, 17, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0; bottom: 0; right: 0;
  z-index: 121;
  width: min(440px, 100vw);
  background: var(--surface);
  border-inline-start: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.45s var(--ease-out);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
}
[dir="rtl"] .cart-drawer { right: auto; left: 0; border-inline-start: 0; border-inline-end: 1px solid var(--border); transform: translateX(-105%); box-shadow: 20px 0 60px rgba(0,0,0,0.4); }
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-head h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-soft); }
.cart-item img { width: 76px; height: 96px; object-fit: cover; border-radius: 14px; background: var(--img-bg); flex: none; }
.cart-item-main { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14.5px; font-weight: 600; color: var(--fg); line-height: 1.35; }
.cart-item-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.cart-item-price { font-size: 14.5px; font-weight: 700; color: var(--fg); margin-top: 8px; }
.qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-top: 10px;
}
.qty button { width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); border-radius: 10px; transition: color 0.15s, background 0.15s; }
.qty button:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.qty span { min-width: 30px; text-align: center; font-size: 13px; font-weight: 600; }
.cart-remove { align-self: flex-start; color: var(--faint); width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; transition: color 0.15s, background 0.15s; }
.cart-remove:hover { color: var(--danger); background: rgba(255, 77, 85, 0.1); }
.cart-remove .ic { width: 17px; height: 17px; }
.cart-foot { border-top: 1px solid var(--border); padding: 22px 24px 26px; }
.cart-sum { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); padding: 6px 0; }
.cart-sum.total { font-size: 17px; font-weight: 700; color: var(--fg); border-top: 1px solid var(--border-soft); margin-top: 10px; padding-top: 14px; }
.cart-foot .btn { width: 100%; margin-top: 18px; }
.cart-continue {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cart-continue:hover { color: var(--fg); }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 32px; }
.cart-empty .ic { width: 44px; height: 44px; color: var(--faint); }
.cart-empty p { color: var(--muted); font-size: 14px; max-width: 26ch; }

/* ---------- listing / breadcrumb ---------- */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); padding-block: 20px 0; }
.breadcrumb a:hover { color: var(--accent-bright); }
.breadcrumb .sep { color: var(--faint); opacity: 0.6; }
.listing-head { padding-block: 28px 8px; }
.listing-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.02em; }
.listing-head .count { color: var(--muted); font-size: 14px; margin-top: 8px; }

.cat-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 18px 0 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips .chip { flex: none; }

.listing-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.filter-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--fg); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.filter-btn .ic { width: 17px; height: 17px; }
.filter-count { background: var(--accent); color: #fff; min-width: 18px; height: 18px; border-radius: 999px; font-size: 11px; display: grid; place-items: center; padding: 0 5px; }

.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 28px; }
.filter-group h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.check-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; cursor: pointer; font-size: 14px; color: var(--muted); transition: color 0.15s; }
.check-row:hover { color: var(--fg); }
.check-row input { accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; }
.range-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
input[type="range"] { width: 100%; accent-color: var(--accent); cursor: pointer; }
.color-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); cursor: pointer; position: relative; transition: transform 0.15s; }
.swatch:hover { transform: scale(1.12); }
.swatch.on::after { content: ""; position: absolute; inset: -5px; border: 2px solid var(--accent); border-radius: 50%; }

.filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: var(--bg);
  transform: translateY(100%);
  transition: transform 0.45s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.filter-drawer.open { transform: translateY(0); }
.filter-drawer .drawer-top { height: 72px; }
.filter-drawer-body { flex: 1; overflow-y: auto; padding: 28px clamp(20px, 4.5vw, 64px); display: flex; flex-direction: column; gap: 28px; }
.filter-drawer-foot { padding: 18px clamp(20px, 4.5vw, 64px) 26px; border-top: 1px solid var(--border); display: flex; gap: 12px; }

/* ---------- PDP ---------- */
.pdp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery-col { min-width: 0; }
.gallery { position: sticky; top: 104px; }
.gallery-main {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--img-bg);
  cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.gallery-thumb {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--img-bg);
  border: 2px solid transparent;
  opacity: 0.72;
  transition: opacity 0.2s, border-color 0.2s;
  padding: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.on { opacity: 1; border-color: var(--accent); }
.zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(5, 10, 17, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.zoom-overlay.open { opacity: 1; pointer-events: auto; }
.zoom-overlay img { max-width: 90vw; max-height: 90vh; border-radius: 12px; transform-origin: center; }
.zoom-close { position: absolute; top: 24px; right: 24px; }

.pdp-info h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; margin-bottom: 14px; }
.pdp-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.stars { display: flex; gap: 2px; color: #f5b544; }
.stars .ic { width: 16px; height: 16px; fill: currentColor; }
.pdp-rating span { font-size: 13px; color: var(--faint); }
.pdp-price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.pdp-price { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.pdp-old { font-size: 18px; color: var(--faint); text-decoration: line-through; }
.pdp-save { font-size: 12px; font-weight: 700; color: #03221a; background: var(--promo); padding: 4px 10px; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase; }
.pdp-desc { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 18px 0 26px; max-width: 54ch; }

.option-block { margin-bottom: 26px; }
.option-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.option-head h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.size-guide { font-size: 12.5px; color: var(--accent-bright); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.size-guide:hover { color: var(--accent); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  min-width: 52px;
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.pill:hover { color: var(--fg); border-color: var(--muted); }
.pill.on { background: var(--soft-white); color: #0B141E; border-color: var(--soft-white); }
.pill[disabled] { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.qty-row .qty { border-radius: 14px; }
.qty-row .qty button { width: 44px; height: 44px; }

.pdp-cta { display: flex; gap: 12px; margin-bottom: 24px; }
.pdp-cta .btn { flex: 1; }
.pdp-cta .icon-btn { width: 54px; height: 54px; border: 1px solid var(--border); border-radius: var(--radius-btn); flex: none; }
.pdp-meta { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--border); padding-top: 22px; }
.pdp-meta div { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.pdp-meta .ic { width: 18px; height: 18px; color: var(--promo-bright); flex: none; }

.accordion { border-top: 1px solid var(--border); margin-top: 28px; }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
}
.acc-head .ic { width: 18px; height: 18px; color: var(--muted); transition: transform 0.3s var(--ease-out); }
.acc-item.open .acc-head .ic { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.acc-item.open .acc-body { max-height: 400px; }
.acc-body-inner { padding: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 60ch; }

.sticky-buy {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: none;
  align-items: center;
  gap: 14px;
  padding: 12px clamp(16px, 4.5vw, 64px);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-soft);
}
.sticky-buy .pdp-price { font-size: 20px; }
.sticky-buy .btn { flex: 1; }

/* ---------- launcher (index) ---------- */
.launch-hero { min-height: 64vh; min-height: 64svh; display: flex; flex-direction: column; justify-content: center; padding-block: 120px 60px; }
.launch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.launch-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
  display: block;
}
.launch-card:hover { transform: translateY(-6px); border-color: rgba(111, 168, 255, 0.45); }
.launch-media { aspect-ratio: 16 / 10; background: var(--surface); overflow: hidden; }
.launch-media img { width: 100%; height: 100%; object-fit: cover; }
.launch-body { padding: 20px 22px 24px; }
.launch-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.launch-body p { font-size: 13.5px; color: var(--muted); }

/* ---------- reveal / motion ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js-ready [data-reveal] { transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js-ready [data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-top .footer-col:nth-child(5) { grid-column: 2; }
}

@media (max-width: 1080px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-main { display: none; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-inline-start: auto; }
  .search-results { grid-template-columns: repeat(2, 1fr); }
  .listing-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filter-btn { display: inline-flex; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .launch-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

@media (max-width: 820px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { max-width: 560px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-top .footer-col:nth-child(5) { grid-column: auto; }
  .hero { min-height: 78vh; }
  .header { height: 68px; }
  .header-spacer { height: 68px; }
  .drawer-top { height: 68px; }
}

@media (max-width: 640px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-name { font-size: 14px; }
  .p-price { font-size: 17px; }
  .p-body { padding: 12px; gap: 6px; }
  .search-results { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(34px, 11vw, 48px); }
  .hero-sub { font-size: 15px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { display: none; }
  .campaign { min-height: 600px; border-radius: 20px; }
  .stats-grid { gap: 20px; }
  .stat b { font-size: 24px; }
  .pdp-cta { flex-wrap: wrap; }
  .sticky-buy { display: flex; }
  .pdp-info { padding-bottom: 96px; }
  .qty-row { margin-bottom: 18px; }
  .drawer-nav a { font-size: 24px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Ticker - store build (DB connected) additions
   ============================================================ */
.btn-block { width: 100%; }

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.18); }
.search-field .ic { width: 17px; height: 17px; color: var(--faint); flex: none; }
.search-field input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 14px; color: var(--fg); }
.search-field input::placeholder { color: var(--faint); }

.store-meta { font-size: 13px; color: var(--faint); }

.empty-state { text-align: center; padding: 72px 24px; color: var(--muted); }
.empty-state .ic { width: 44px; height: 44px; color: var(--faint); margin-bottom: 16px; }
.empty-state p { font-size: 15px; }
.empty-state .btn { margin-top: 22px; }

.load-more-wrap { display: flex; justify-content: center; padding-block: 40px 8px; }

.skeleton { position: relative; overflow: hidden; background: var(--card); border-radius: var(--radius-card); border: 1px solid var(--border); }
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* PDP extras: description accordion + reviews */
.pdp-description { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 62ch; }
.reviews-sec { margin-top: clamp(56px, 7vw, 90px); border-top: 1px solid var(--border); padding-top: clamp(36px, 5vw, 56px); }
.review-item { padding: 20px 0; border-bottom: 1px solid var(--border-soft); }
.review-item .rev-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-item .rev-name { font-size: 14px; font-weight: 700; color: var(--fg); }
.review-item .rev-date { font-size: 12px; color: var(--faint); }
.review-item .rev-text { color: var(--muted); font-size: 14px; line-height: 1.65; }
.review-empty { color: var(--muted); font-size: 14px; padding: 12px 0; }

/* checkout */
.co-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: 36px 90px; }
.co-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-panel); padding: clamp(22px, 3vw, 36px); }
.co-title { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.co-title .ic { width: 19px; height: 19px; color: var(--accent-bright); }
.co-form { display: flex; flex-direction: column; gap: 16px; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 46px;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--surface);
  color: var(--fg);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.18); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }

.pay-options { display: flex; flex-direction: column; gap: 12px; }
.pay-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pay-option:hover { border-color: var(--muted); }
.pay-option.selected { border-color: var(--accent); background: rgba(76, 141, 255, 0.08); }
.pay-option input { accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.pay-opt-name { font-size: 14.5px; font-weight: 600; color: var(--fg); }
.pay-opt-desc { font-size: 12.5px; color: var(--faint); }

.pay-details { margin-top: 14px; padding: 18px; border: 1px solid rgba(212, 168, 83, 0.35); border-radius: 16px; background: rgba(212, 168, 83, 0.07); font-size: 13.5px; }
.pay-details .pd-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; color: var(--muted); flex-wrap: wrap; }
.pay-details .pd-row b { color: var(--fg); }
.copy-btn {
  padding: 5px 13px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; border: 0; cursor: pointer; transition: background 0.2s;
}
.copy-btn:hover { background: var(--accent-bright); }

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.upload-zone:hover { border-color: var(--accent); background: rgba(76, 141, 255, 0.04); }
.upload-zone .ic { width: 34px; height: 34px; color: var(--faint); margin-bottom: 8px; }
.upload-zone p { color: var(--muted); font-size: 13px; }
.upload-preview { margin-top: 14px; position: relative; display: inline-block; }
.upload-preview img { max-width: 200px; max-height: 200px; border-radius: 12px; border: 1px solid var(--border); object-fit: cover; }
.upload-preview button {
  position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--danger); color: #fff; display: grid; place-items: center; font-size: 14px;
}

.points-box { margin-top: 22px; padding: 18px; border: 1px solid rgba(212, 168, 83, 0.35); border-radius: 16px; background: rgba(212, 168, 83, 0.07); }
.points-box h4 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--fg); margin-bottom: 12px; }
.points-box h4 .ic { width: 17px; height: 17px; color: #d4a853; }
.points-balance { font-size: 18px; font-weight: 700; color: #d4a853; margin-bottom: 12px; }
.points-box .field-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.points-box .field-row input { flex: 1; min-width: 140px; }
.points-note { font-size: 12.5px; color: var(--faint); margin-top: 10px; }
.discount-banner { margin-top: 12px; padding: 11px 14px; border-radius: 12px; background: var(--promo); color: #03221a; font-size: 13px; font-weight: 700; text-align: center; display: none; }

.co-submit { width: 100%; margin-top: 24px; white-space: normal; line-height: 1.4; }

/* grid children may shrink below their content's intrinsic width */
.co-wrap > *, .pdp-grid > *, .listing-layout > *, .cat-grid > *, .grid-products > *, .trust-grid > *, .story-grid > *, .footer-top > *, .search-results > * { min-width: 0; }

/* order summary */
.co-summary .co-panel { position: sticky; top: 104px; }
.co-line { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 14px; color: var(--muted); }
.co-line b { color: var(--fg); font-weight: 600; }
.co-line.total { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 16px; font-size: 18px; }
.co-line.total b { font-weight: 700; }
.co-items { display: flex; flex-direction: column; margin-bottom: 6px; }
.co-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.co-item img { width: 62px; height: 78px; object-fit: cover; border-radius: 12px; background: var(--img-bg); flex: none; }
.co-item .co-i-main { flex: 1; min-width: 0; }
.co-item .co-i-name { font-size: 13.5px; font-weight: 600; color: var(--fg); line-height: 1.35; }
.co-item .co-i-meta { font-size: 12px; color: var(--faint); margin-top: 3px; }
.co-item .co-i-price { font-size: 13.5px; font-weight: 700; color: var(--fg); margin-top: 6px; }

/* order success */
.co-success { text-align: center; padding: 60px 24px 80px; }
.co-success .ok { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: rgba(24, 197, 138, 0.14); display: grid; place-items: center; color: var(--promo-bright); }
.co-success .ok .ic { width: 30px; height: 30px; }
.co-success h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.co-success p { color: var(--muted); font-size: 15px; max-width: 46ch; margin: 0 auto 28px; }
.co-success .order-code { display: inline-block; padding: 10px 18px; border: 1px dashed var(--border); border-radius: 12px; color: var(--fg); font-weight: 700; letter-spacing: 0.06em; margin-bottom: 34px; }

@media (max-width: 960px) {
  .co-wrap { grid-template-columns: 1fr; }
  .co-row { grid-template-columns: 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filter-btn { display: inline-flex; }
  .co-summary .co-panel { position: static; }
}
@media (max-width: 640px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-name { font-size: 14px; }
  .p-price { font-size: 17px; }
  .pdp-grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
}

/* ============================================================
   Returns & Exchange policy (lounge-style premium section)
   ============================================================ */
.policy-section {
  position: relative;
  padding: 88px 24px 96px;
  overflow: hidden;
}
.policy-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 480px at 50% -10%, rgba(76, 141, 255, 0.07), transparent 60%),
    radial-gradient(900px 420px at 85% 110%, rgba(212, 168, 83, 0.06), transparent 60%);
  pointer-events: none;
}
.policy-section .container {
  position: relative;
  max-width: 900px;
  text-align: center;
}
.policy-eyebrow { justify-content: center; }
.policy-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212, 168, 83, 0.35);
  color: #d4a853;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(212, 168, 83, 0.06);
}
.policy-badge .ic { width: 15px; height: 15px; }
.policy-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 2px 0 10px;
}
.policy-title.serif { font-family: var(--font-serif); font-style: italic; }
.policy-list {
  list-style: none;
  margin: 40px auto 0;
  padding: 0;
  max-width: 660px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.policy-list li {
  position: relative;
  padding: 2px 0 2px 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a853, #f0d28a);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.12);
}
.policy-list li.policy-excl { color: rgba(255, 255, 255, 0.78); }
.policy-list li.policy-excl::before {
  background: var(--promo);
  box-shadow: 0 0 0 3px rgba(24, 197, 138, 0.12);
}
.policy-foot {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.policy-foot p { color: var(--muted); font-size: 15px; margin: 0; }
.btn-policy-wa {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1fb558, #128c43);
  box-shadow: 0 14px 34px -12px rgba(31, 181, 88, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.btn-policy-wa .ic { width: 21px; height: 21px; }
.btn-policy-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(31, 181, 88, 0.7);
}
[dir="rtl"] .policy-list { text-align: right; }
[dir="rtl"] .policy-list li { padding: 2px 34px 2px 0; }
[dir="rtl"] .policy-list li::before { left: auto; right: 0; }

/* ---------- Policy card (under product image) ---------- */
.policy-card {
  margin-top: clamp(24px, 3vw, 40px);
  padding: 28px 26px;
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: 22px;
  background:
    radial-gradient(480px 240px at 100% 0%, rgba(76, 141, 255, 0.07), transparent 60%),
    radial-gradient(360px 200px at 0% 100%, rgba(212, 168, 83, 0.06), transparent 60%);
}
.policy-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.policy-card-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 2px 0 6px;
}
.policy-card .policy-list { max-width: none; margin: 22px 0 0; }
.policy-card .policy-foot { margin-top: 24px; align-items: flex-start; }

/* ============================================================
   Responsive hardening — small screens & device fit (Ticker)
   ============================================================ */
@media (max-width: 640px) {
  /* store toolbar: stack search full-width, keep filter button on its own row */
  .listing-toolbar { flex-wrap: wrap; gap: 10px; padding-block: 14px; }
  .search-field { flex: 1 1 100%; min-width: 0; }
  .filter-btn { flex: 1 1 auto; }

  /* sticky buy bar: compact so it never overflows */
  .sticky-buy { gap: 10px; padding-inline: 12px; }
  .sticky-buy .pdp-price { font-size: 16px; }
  .sticky-buy .btn { padding: 0 14px; font-size: 12px; min-height: 46px; letter-spacing: 0.04em; }

  /* category tiles */
  .cat-grid { gap: 12px; }
  .cat-tile-label { left: 14px; right: 14px; bottom: 12px; gap: 8px; }
  .cat-tile-label span { font-size: 16px; }
  .cat-tile-count { top: 12px; left: 14px; font-size: 10px; }

  /* PDP actions stack full-width */
  .pdp-cta { flex-direction: column; align-items: stretch; }
  .pdp-cta .btn { width: 100%; }

  /* section heads wrap instead of squeeze */
  .section-head { flex-wrap: wrap; gap: 12px; }

  /* cart drawer breathes on small screens */
  .cart-head, .cart-items { padding-inline: 16px; }
  .cart-foot { padding-inline: 16px; }
}

@media (max-width: 560px) {
  .pdp-grid { gap: 26px; }
  .gallery-thumbs { gap: 8px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .policy-section { padding: 64px 16px 72px; }
  .co-success { padding: 48px 16px 64px; }
}

@media (max-width: 480px) {
  /* compact header so logo + actions always fit */
  .header { height: 60px; }
  .header-spacer { height: 60px; }
  .drawer-top { height: 60px; }
  .header-inner { gap: 8px; }
  .logo { font-size: 17px; letter-spacing: 0.22em; }
  .logo sup { font-size: 8px; }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn[data-lang-toggle] { font-size: 11px; padding: 0 3px; }
  .hero-inner { padding-top: 80px; }
  .hero-actions { gap: 12px; }

  /* newsletter form stacks vertically */
  .news-form { flex-direction: column; }
  .news-form input { width: 100%; min-height: 46px; text-align: center; }
  .news-form .btn { width: 100%; }

  /* drawer nav stays scannable */
  .drawer-nav a { font-size: 22px; }
  .drawer-nav { padding-inline: 20px; }
  .drawer-contact { margin-inline: 20px; }
}

/* notched phones: keep fixed bars clear of the home indicator */
.sticky-buy { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.cart-foot { padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
.drawer-meta { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.cart-drawer { padding-top: env(safe-area-inset-top); }
.drawer-menu { padding-top: env(safe-area-inset-top); }

/* long product names never force horizontal scroll */
.pdp-info h1, .cart-item-name, .co-i-name { overflow-wrap: break-word; }

/* ============================================================
   Sizing harmonization — buttons & controls, all devices
   ============================================================ */
@media (max-width: 820px) {
  /* controls stay comfortably tappable */
  .search-field { height: 46px; }
  .filter-btn { min-height: 46px; }
  .btn { min-height: 48px; }
}

@media (max-width: 640px) {
  /* buttons: slightly tighter padding so long labels never overflow */
  .btn { padding: 0 20px; font-size: 13.5px; }
  .btn-lg { min-height: 54px; padding: 0 24px; }

  /* stacked toolbar controls share one height */
  .search-field { height: 48px; }
  .filter-btn { min-height: 48px; }

  /* form fields & newsletter keep a consistent 48px rhythm */
  .field input, .field textarea, .field select { min-height: 48px; }
  .news-form input { min-height: 48px; }

  /* cart controls — bigger touch targets */
  .qty button { width: 40px; height: 40px; }
  .cart-remove { width: 42px; height: 42px; }

  /* lighter section rhythm */
  .acc-head { padding: 16px 0; }
  .listing-head { padding-block: 22px 6px; }
  .pdp-cta .icon-btn { width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  /* smallest phones — compact but still tappable */
  .btn { padding: 0 16px; font-size: 13px; }
  .icon-btn { width: 40px; height: 40px; }
  .search-field { padding: 0 14px; }
  .filter-btn { padding: 0 14px; }
  .listing-toolbar { gap: 10px; }
  .filter-drawer-foot { padding-inline: 16px; }
  .filter-drawer-body { padding-inline: 16px; }
}

@media (max-width: 360px) {
  /* defensive: sticky buy bar never overflows on tiny screens */
  .sticky-buy { gap: 8px; }
  .sticky-buy .btn { padding: 0 10px; font-size: 11.5px; letter-spacing: 0.02em; white-space: normal; line-height: 1.2; }
}

/* ============================================================
   Night / Light mode — restored theme system
   Night (dark) is the default. html[data-theme="light"] = day.
   ============================================================ */
body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

:root[data-theme="light"] {
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --card: #FFFFFF;
  --elev: #EDF1F6;
  --border: #D9E1EA;
  --fg: #16202C;
  --muted: #51606F;
  --faint: #8797A8;
  --accent: #3D7BFF;
  --accent-bright: #2F6FE3;
  --promo: #0FA46F;
  --promo-bright: #0FA46F;
  --danger: #E33A45;
  --soft-white: #0E1621;
  --img-bg: #F4F4F2;

  --card-hover: color-mix(in oklab, var(--card), black 4%);
  --elev-hover: color-mix(in oklab, var(--elev), black 6%);
  --btn-hover: color-mix(in oklab, var(--soft-white), black 8%);
  --border-soft: rgba(20, 32, 48, 0.08);
  --glass: rgba(255, 255, 255, 0.86);

  --shadow-card: 0 18px 40px rgba(15, 25, 40, 0.10);
  --shadow-btn: 0 12px 24px rgba(15, 25, 40, 0.14);
}

/* the "inverse" token (soft-white) becomes dark in day mode, so text must flip */
:root[data-theme="light"] .btn-primary,
:root[data-theme="light"] .btn-primary:hover,
:root[data-theme="light"] .chip.active,
:root[data-theme="light"] .pill.on { color: #FFFFFF; }

:root[data-theme="light"] .btn-secondary { border-color: rgba(20, 32, 48, 0.35); }
:root[data-theme="light"] .btn-secondary:hover { color: #FFFFFF; }

:root[data-theme="light"] .icon-btn:hover { background: rgba(20, 32, 48, 0.06); }
:root[data-theme="light"] .qty button:hover { background: rgba(20, 32, 48, 0.06); }
:root[data-theme="light"] .cart-remove:hover { background: rgba(225, 58, 69, 0.08); }

:root[data-theme="light"] .search-overlay { background: rgba(248, 250, 253, 0.97); }

:root[data-theme="light"] .p-color { border-color: rgba(20, 32, 48, 0.25); }

:root[data-theme="light"] .skeleton::after {
  background: linear-gradient(90deg, transparent, rgba(20, 32, 48, 0.07), transparent);
}

:root[data-theme="light"] .policy-list li.policy-excl { color: rgba(20, 32, 48, 0.85); }

:root[data-theme="light"] .dn-feature { box-shadow: 0 2px 24px rgba(15, 25, 40, 0.12); }
