/*
  GENZ STREET — Perfume
  Layout from Maison Marry; neon skin (see "GENZ NEON" at the end).
  --gold is "the accent" (sky blue #78DFF2); --second #F2B5D4 (pink) is the
  second colour (labels, badges, sale prices, success).
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Elements with the hidden attribute stay hidden even when a class sets display */
[hidden] { display: none !important; }
html { font-size: 16px; scroll-behavior: smooth; }

:root {
  --black:   #07060c;
  --deep:    #0d0b16;
  --surface: #15121f;
  --lift:    #1d1929;
  --border:  #2b2539;
  --muted:   #6d6782;
  --soft:    #a49fb8;
  --warm:    #FCFFFF;
  --white:   #FCFFFF;
  --gold:    #78DFF2;
  --gold2:   #a9ecf8;
  --gold-dim:#2c6f7c;
  --second:  #F2B5D4;
  --danger:  #ff4d5e;
  --ok:      #F2B5D4;   /* success = second colour */
  --sale:    #F2B5D4;   /* sale text */
  --sale-bg: #F2B5D4;   /* sale badge (dark text) */

  --serif: 'Unbounded', system-ui, sans-serif;
  --sans:  'Manrope', system-ui, sans-serif;

  --nav-h: 72px;

  --accent-rgb: 120, 223, 242;  /* --gold as r, g, b for rgba() */
  --second-rgb: 242, 181, 212;  /* --second as r, g, b */
  --glass-rgb: 252, 255, 255;   /* card glass tint */
  --display: 'Bebas Neue', 'Unbounded', sans-serif;
}

body {
  background: var(--black);
  color: var(--warm);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* ── LANGUAGE SWITCHER ───────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.4rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.lang-btn:hover { color: var(--soft); }
.lang-btn.active { color: var(--gold); }
.lang-sep {
  color: var(--border);
  font-size: 0.65rem;
  line-height: 1;
  user-select: none;
}

/* ── SCROLLBAR ───────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); }

/* ── TYPOGRAPHY ──────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }

p { color: var(--soft); line-height: 1.75; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── GOLD RULE ───────────────────────────────── */
.rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

/* ── NAV ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(7,6,12,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 900;
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.logo-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.08em;
}
.logo-tag {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links .cart-link {
  position: relative;
  color: var(--white);
}
.cart-badge {
  position: absolute;
  top: -7px; right: -10px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 500;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.cart-badge.visible { display: flex; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold2); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-ghost {
  background: transparent;
  color: var(--soft);
  border: 1px solid var(--border);
  padding: 0.6rem 1.2rem;
  font-size: 0.72rem;
}
.btn-ghost:hover { color: var(--white); border-color: var(--soft); }
.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

/* ── SECTION WRAPPER ─────────────────────────── */
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

/* ── TOOLBAR (storefront) ────────────────────── */
.toolbar {
  background: var(--deep);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 800;
}

.toolbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.85rem 5vw;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.55rem 1rem;
  flex: 1;
  min-width: 0;
}
.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem; /* min 16px — prevents iOS Safari auto-zoom */
  width: 100%;
  min-width: 0;
}
.search-box input::placeholder { color: var(--muted); }
.search-icon { color: var(--muted); font-size: 0.9rem; flex-shrink: 0; }

/* Toggle buttons row */
.toolbar-toggles {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--soft);
  padding: 0.5rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.filter-toggle-btn:hover { color: var(--white); border-color: var(--soft); }
.filter-toggle-btn.open {
  background: var(--surface);
  color: var(--gold);
  border-color: var(--gold);
}
.toggle-arrow {
  display: inline-block;
  transition: transform 0.2s;
  font-size: 0.65rem;
}
.filter-toggle-btn.open .toggle-arrow { transform: rotate(180deg); }

/* Sort dropdown */
.sort-select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--soft);
  padding: 0.5rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.sort-select:hover { border-color: var(--soft); color: var(--white); }
.sort-select:focus { border-color: var(--gold); color: var(--white); }

/* Collapsible panels */
.filter-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
  border-top: 0px solid var(--border);
}
.filter-panel.open {
  max-height: 200px;
  border-top: 1px solid var(--border);
}
.filter-panel-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.85rem 5vw;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Filter pills */
.filter-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--soft);
  padding: 0.4rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.filter-btn:hover { border-color: var(--soft); color: var(--white); }
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
/* Tag pills — same shape, amber tint when active */
.filter-btn.tag-btn.active {
  background: var(--gold-dim);
  border-color: var(--gold-dim);
  color: var(--white);
}

/* ── PRODUCT GRID ────────────────────────────── */
.products-wrap {
  padding: 2rem 5vw 4rem;
  max-width: 1400px;
  margin: 0 auto;
}
#product-list {
  display: grid;
  /* minmax(0,…) + min-width:0 on items stop long content (e.g. the
     no-wrap category pills) from widening the columns past the screen */
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 2px;
}
#product-list > * { min-width: 0; }
.product-item {
  background: var(--deep);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.2s;
  animation: fadeUp 0.4s both;
}
.product-item:hover { background: var(--surface); }
/* The product name is the card's real link; its ::after stretches over the
   whole card so any tap opens the product, while buttons sit above it. */
.product-item { position: relative; }
.product-link { color: inherit; text-decoration: none; }
.product-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.product-link:focus-visible { outline: none; }
.product-item:has(.product-link:focus-visible) { outline: 2px solid var(--gold); outline-offset: -2px; }
.product-item .add-to-cart-card-btn,
.product-item .sold-out-btn { position: relative; z-index: 2; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-item:hover .product-img-wrap img { transform: scale(1.04); }
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--border);
}
.sold-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,6,12,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
}
.stock-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
}
.stock-in    { background: rgba(var(--second-rgb), 0.92); color: #07060c; }
.stock-low   { background: rgba(var(--accent-rgb), 0.92); color: #07060c; }
.stock-out   { background: rgba(80,80,80,0.8);   color: var(--soft); }

.product-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
  border-top: 1px solid var(--border);
}
.cat-pill {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border: 1px solid var(--gold-dim);
  padding: 0.2rem 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.product-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}
.product-brand {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.product-price {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 300;
}
.add-to-cart-card-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--soft);
  padding: 0.45rem 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.2s;
}
.add-to-cart-card-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.sold-out-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.45rem 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: not-allowed;
  font-family: var(--sans);
}

.loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 6rem 0;
  color: var(--muted);
}
.loading-spinner {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.no-products, .error-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.3rem;
}

/* ── PRODUCT DETAIL ──────────────────────────── */
.pd-wrap {
  padding-top: calc(var(--nav-h) + 3rem);
  min-height: 100vh;
}
.pd-breadcrumb {
  padding: 0 5vw 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  max-width: 1400px;
  margin: 0 auto;
}
.pd-breadcrumb a { transition: color 0.2s; }
.pd-breadcrumb a:hover { color: var(--gold); }
.pd-breadcrumb span { color: var(--border); margin: 0 0.5rem; }
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5vw;
  gap: 6rem;
  align-items: start;
}
.pd-img-zone {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.pd-img-main {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface);
}
.pd-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--border);
  aspect-ratio: 3/4;
  background: var(--surface);
}
.pd-info { padding: 2rem 0 5rem; }
.pd-cats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.pd-name {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.pd-brand {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}
.pd-price {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.pd-stock-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.pd-divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}
.pd-desc {
  font-size: 0.9rem;
  color: var(--soft);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}
.pd-actions { display: flex; gap: 1rem; margin-bottom: 3rem; }
.pd-actions .btn { flex: 1; justify-content: center; }
.pd-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.pd-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}
.pd-meta-label { color: var(--muted); letter-spacing: 0.08em; }
.pd-meta-val   { color: var(--warm); }
.related-wrap {
  padding: 5rem 5vw;
  border-top: 1px solid var(--border);
  max-width: 1400px;
  margin: 0 auto;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2px;
  margin-top: 2.5rem;
}

.contact-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}
.contact-block h3 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-detail a { color: var(--soft); transition: color 0.2s; }
.contact-detail a:hover { color: var(--gold); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 0.6rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
  color: var(--soft);
}
.hours-table td:last-child { text-align: right; color: var(--warm); }

/* ── MAP ─────────────────────────────────────── */
.map-link { display: block; margin-top: 1.5rem; text-decoration: none; }
.map-embed {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  pointer-events: none; /* click goes to <a> link, not iframe */
  filter: grayscale(1) invert(0.88) contrast(0.9);
}
.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.75rem;
  background: linear-gradient(to top, rgba(7,6,12,0.6) 0%, transparent 60%);
  transition: background 0.2s;
}
.map-link:hover .map-overlay { background: linear-gradient(to top, rgba(7,6,12,0.8) 0%, rgba(7,6,12,0.2) 100%); }
.map-overlay span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(7,6,12,0.8);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--gold-dim);
}

/* ── CART / CHECKOUT ─────────────────────────── */
.cart-page {
  padding-top: var(--nav-h);
  min-height: 100vh;
}
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.5rem 5vw;
  border-bottom: 1px solid var(--border);
  background: var(--deep);
  max-width: 100%;
  overflow-x: auto;
}
.step-dot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.step-dot.active { color: var(--gold); }
.step-dot.done { color: var(--soft); }
.step-num {
  width: 22px; height: 22px;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}
.step-line {
  flex: 1;
  min-width: 30px;
  height: 1px;
  background: var(--border);
  margin: 0 0.75rem;
}
.cart-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 5vw 6rem;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: 0; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 80px;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--surface);
}
.cart-item-img-placeholder {
  width: 80px;
  aspect-ratio: 3/4;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--border);
}
.cart-item-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.cart-item-brand {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
}
.qty-btn {
  background: none;
  border: none;
  color: var(--soft);
  width: 44px; height: 44px; /* 44px min touch target */
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}
.qty-btn:hover { color: var(--gold); background: var(--surface); }
.qty-num {
  width: 36px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--white);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  height: 44px;
  line-height: 44px;
}
.remove-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.85rem;
  transition: color 0.2s;
  padding: 0.25rem;
}
.remove-btn:hover { color: var(--danger); }
.cart-item-price {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gold);
  min-width: 80px;
  text-align: right;
}
.order-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.order-box h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--soft);
  padding: 0.4rem 0;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.summary-total span:first-child {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.summary-total span:last-child {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
}
.order-box .btn { width: 100%; justify-content: center; margin-top: 1.5rem; }
.cart-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 6rem 0;
  color: var(--muted);
}
.cart-empty h3 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 1rem; }

/* CHECKOUT FORM */
.checkout-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 5vw 6rem;
}
.checkout-wrap h2 { margin-bottom: 2.5rem; }
.form-group { margin-bottom: 1.5rem; }
/* Checkout: QPay / Pocket choice */
.pay-methods { border: 0; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; }
.pay-method {
  display: flex; align-items: center; gap: 0.85rem; cursor: pointer;
  padding: 0.85rem 1rem; border: 1px solid var(--border); background: var(--surface);
  transition: border-color 0.2s;
}
.pay-method:has(input:checked) { border-color: var(--gold); }
.pay-method input { accent-color: var(--gold); width: 1.1rem; height: 1.1rem; flex: none; }
.pay-method span { display: flex; flex-direction: column; gap: 0.15rem; }
.pay-method strong { font-size: 0.9rem; font-weight: 500; color: var(--white); }
.pay-method small { font-size: 0.75rem; color: var(--soft); }
.pay-method.disabled { cursor: not-allowed; opacity: 0.55; }
.form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-input, .form-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 1rem; /* min 16px — prevents iOS Safari auto-zoom */
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold); }
.form-textarea { height: 100px; resize: vertical; }
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.form-actions .btn { flex: 1; justify-content: center; }
.checkout-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.checkout-summary h4 {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.form-error {
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 1rem;
}

/* QPAY */
.qpay-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 3rem 5vw 6rem;
  text-align: center;
}
.qpay-wrap h2 { margin-bottom: 0.5rem; }
.qpay-amount-display {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold);
  margin: 1.5rem 0;
}
.qpay-img {
  width: 220px;
  height: 220px;
  margin: 0 auto 2rem;
  background: #fff;
  padding: 8px;
}
.qpay-img img { width: 100%; height: 100%; object-fit: contain; }
.qpay-loading {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #555; font-size: 0.8rem; letter-spacing: 0.1em;
}
.qpay-status { font-size: 0.8rem; color: var(--soft); margin: -1rem 0 1.5rem; min-height: 1.2em; }
.qpay-bank-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.qpay-bank-links a {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  font-size: 0.65rem; color: var(--soft); text-decoration: none; text-align: center;
}
.qpay-bank-links img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.qpay-bank-links a.pocket-open { grid-column: 1 / -1; flex-direction: row; justify-content: center; font-size: 0.8rem; color: var(--black); }
/* Bank-app buttons are for phones/tablets in any orientation; hide them only
   on computers with a mouse (no bank apps there — they scan the QR). */
@media (hover: hover) and (pointer: fine) and (not (any-pointer: coarse)) {
  .qpay-bank-links { display: none !important; }
}
.qpay-merchant {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}
.qpay-steps {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.qpay-steps ol { padding-left: 1.25rem; }
.qpay-steps li { font-size: 0.85rem; color: var(--soft); padding: 0.35rem 0; }
.payment-error { color: var(--danger); font-size: 0.82rem; margin-bottom: 1rem; }
.qpay-btns { display: flex; gap: 1rem; }
.qpay-btns .btn { flex: 1; justify-content: center; }

/* SUCCESS */
.success-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 3rem 5vw 6rem;
  text-align: center;
}
.success-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 1.5rem;
  color: var(--gold);
}
.success-wrap h2 { margin-bottom: 0.75rem; }
.success-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: left;
}
.success-box h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* ── ADMIN ────────────────────────────────────── */
.admin-page { display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar {
  background: var(--deep);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 900;
}
.admin-topbar .logo-name { font-size: 1.1rem; }
.admin-body {
  display: flex;
  flex: 1;
}
.admin-nav {
  width: 220px;
  background: var(--deep);
  border-right: 1px solid var(--border);
  padding: 2rem 0;
  flex-shrink: 0;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}
.sidebar-btn {
  width: 100%;
  background: none;
  border: none;
  border-left: 2px solid transparent;
  color: var(--muted);
  padding: 0.9rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}
.sidebar-btn:hover { color: var(--white); background: var(--surface); }
.sidebar-btn.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: var(--surface);
}
.admin-content { flex: 1; padding: 2.5rem; overflow-y: auto; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.panel-head h2 { font-size: 1.6rem; }
.tbl-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.admin-table th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}
.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--soft);
  vertical-align: middle;
}
.admin-table tr:hover td { background: var(--surface); }
.admin-table .product-thumb {
  width: 44px;
  height: 56px;
  object-fit: cover;
  background: var(--lift);
}
.tbl-actions { display: flex; gap: 0.5rem; }
.tbl-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.3rem 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.2s;
}
.tbl-btn:hover { color: var(--white); border-color: var(--soft); }
.tbl-btn.danger:hover { color: var(--danger); border-color: var(--danger); }

/* Admin modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  display: none;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--deep);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.modal-head h3 { font-size: 1.2rem; }
.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--white); }
.modal-body { padding: 1.5rem; }
.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
.modal-footer .btn { padding: 0.75rem 1.5rem; }

/* Admin login */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}
.login-card {
  background: var(--deep);
  border: 1px solid var(--border);
  padding: 3rem;
  width: 100%;
  max-width: 380px;
}
.login-card h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.login-card p { font-size: 0.82rem; color: var(--muted); margin-bottom: 2rem; }
.login-error { color: var(--danger); font-size: 0.82rem; margin-top: 1rem; }

/* Admin image upload */
.image-preview-box {
  width: 100%;
  aspect-ratio: 3/2;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.image-preview-box img { width: 100%; height: 100%; object-fit: cover; }
.image-preview-box span { color: var(--muted); font-size: 0.82rem; }
.progress-bar-wrap {
  background: var(--border);
  height: 2px;
  margin-top: 0.5rem;
  display: none;
}
.progress-bar-fill { height: 100%; background: var(--gold); width: 0; transition: width 0.2s; }
.progress-text { font-size: 0.72rem; color: var(--muted); margin-top: 0.25rem; }

/* Category tag selector */
.cat-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 48px;
}
.cat-tag-opt {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.cat-tag-opt.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.source-badge      { background: var(--border); color: var(--soft); }

/* Order select */
.status-select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--warm);
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  font-family: var(--sans);
  outline: none;
  cursor: pointer;
}

/* Toast */
/* ── FLOATING CART ───────────────────────────── */
.floating-cart {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 800;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
}
.floating-cart:hover { background: var(--gold2); transform: scale(1.08); }
.floating-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--white);
  color: var(--black);
  font-size: 0.62rem;
  font-weight: 500;
  font-family: var(--sans);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}
.floating-cart-badge.visible { display: flex; }
/* Hide floating cart on cart page itself */
.cart-page ~ .floating-cart,
.floating-cart.hidden { display: none; }

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--lift);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  color: var(--white);
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  z-index: 9999;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  pointer-events: none;
  max-width: 320px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { border-left-color: var(--danger); }
.toast.success { border-left-color: var(--ok); }

/* ── FOOTER ──────────────────────────────────── */
.footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 4rem 5vw 2rem;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo-name { font-size: 1.4rem; margin-bottom: 0.25rem; }
.footer-brand .logo-tag  { display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.82rem; max-width: 300px; }
.footer-col h4 {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 400;
  font-family: var(--sans);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.82rem; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bot {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── MOBILE NAV OVERLAY ──────────────────────── */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 850;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--white);
  font-weight: 300;
}
.nav-mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--soft);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  
  
  

  .pd-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .pd-img-zone { position: relative; top: auto; }

  
  
  .contact-section { grid-template-columns: 1fr; gap: 3rem; }

  .cart-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .order-box { position: relative; top: auto; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  .admin-body { flex-direction: column; }
  .admin-nav { width: 100%; height: auto; position: relative; top: auto; display: flex; padding: 0; border-right: none; border-bottom: 1px solid var(--border); overflow-x: auto; }
  .sidebar-btn { border-left: none; border-bottom: 2px solid transparent; white-space: nowrap; padding: 1rem 1.25rem; }
  .sidebar-btn.active { border-bottom-color: var(--gold); border-left-color: transparent; }
}

@media (max-width: 600px) {
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  .burger { display: flex; }

  h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }

  #product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
  .product-body { padding: 0.9rem 1rem 1rem; }

  /* Toolbar: search on its own row, toggles + sort share the row below */
  .toolbar-inner { flex-wrap: wrap; gap: 0.6rem; }
  .search-box { flex: 1 1 100%; }
  .toolbar-toggles { flex: 1 1 100%; min-width: 0; }
  .filter-toggle-btn { padding: 0.5rem 0.65rem; letter-spacing: 0.05em; }
  .logo-tag { letter-spacing: 0.12em; white-space: nowrap; }
  .sort-select { flex: 1 1 auto; min-width: 0; }

  .cart-item { grid-template-columns: 60px 1fr; }
  .cart-item-side { grid-column: 1 / -1; }
  .cart-item-price { font-size: 1rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bot { flex-direction: column; gap: 0.75rem; text-align: center; }

  .qpay-btns { flex-direction: column; }
  .form-actions { flex-direction: column; }

  /* Admin — reduce padding on mobile */
  .admin-content { padding: 1.25rem; }
  .panel-head { margin-bottom: 1.25rem; }

  /* Admin table — card layout on mobile */
  .admin-table thead { display: none; }
  .admin-table tr {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    margin-bottom: 0.75rem;
    padding: 0.75rem;
  }
  .admin-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
  }
  .admin-table td:last-child { border-bottom: none; }
  .admin-table td::before {
    content: attr(data-label);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    flex-shrink: 0;
    margin-right: 0.75rem;
  }
  /* Address + items read better as a block: label on top, text full width */
  .admin-table td.order-address,
  .admin-table td.order-items {
    display: block; max-width: none; font-size: 0.85rem;
  }
  .admin-table td.order-address::before,
  .admin-table td.order-items::before { display: block; margin: 0 0 0.3rem; }

  /* Step indicator — hide text labels on tiny screens, show numbers only */
  .step-dot span:last-child { display: none; }
  .step-line { min-width: 16px; margin: 0 0.25rem; }

  /* QPay center on mobile */
  .qpay-wrap { padding: 2rem 1.5rem 4rem; }
  .success-wrap { padding: 2rem 1.5rem 4rem; }
  .checkout-wrap { padding: 2rem 1.5rem 4rem; }
}

/* ── TINY PHONES (iPhone SE, 375px) ─────────── */
@media (max-width: 400px) {
  .nav-inner { padding: 0 1.25rem; gap: 0.5rem; }
  .logo-name { font-size: 1.15rem; }
  .logo-tag { font-size: 0.52rem; letter-spacing: 0.1em; }
  #product-list { grid-template-columns: minmax(0, 1fr); }
  
  .products-wrap { padding: 2rem 1.25rem; }
  .cart-wrap { padding: 1.5rem 1.25rem 4rem; }
  .modal-box { margin: 0.5rem; }
  .filter-panel-inner { padding: 0.75rem 1.25rem; }
  .toolbar-inner { padding: 0.75rem 1.25rem; }
  .pd-actions { flex-direction: column; }
  .pd-actions .btn { width: 100%; }
}
@media (max-width: 350px) {
  .logo-tag { display: none; }
}

/* ══════════════════════════════════════════════
   ENHANCEMENTS — design tokens, hover language,
   accessibility & micro-interactions.
   Additive layer: base rules above are untouched.
   ══════════════════════════════════════════════ */

/* ── DESIGN TOKENS ───────────────────────────── */
:root {
  /* Spacing scale — 8px base */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  /* Type scale */
  --fs-caption: 0.68rem;
  --fs-small:   0.82rem;
  --fs-body:    0.95rem;
  --fs-h4:      1.15rem;
  --fs-h3:      1.5rem;
  --fs-h2:      2rem;
  --fs-h1:      clamp(2.4rem, 5vw, 4rem);
  --fs-display: clamp(3rem, 5.5vw, 6rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:  0.25s;

  /* Hover ring (works inside tight grids — no layout shift) */
  --ring: inset 0 0 0 1px var(--gold-dim);
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.30);
}

/* ── FOCUS VISIBILITY (keyboard a11y) ────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── MOTION PREFERENCES ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── UNIFIED CARD HOVER LANGUAGE ─────────────── */
.product-item,
.contact-block {
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.product-item:hover {
  background: var(--surface);
  box-shadow: var(--ring);
}

/* Related product tiles lift slightly (standalone grid, safe to move) */
#related-grid .product-item { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
#related-grid .product-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

/* ── PRODUCT IMAGE PLACEHOLDER (soft sheen) ──── */
.product-img-placeholder {
  background:
    radial-gradient(circle at 50% 45%, var(--lift) 0%, var(--surface) 70%),
    var(--surface);
  background-size: 220% 100%;
  color: var(--gold-dim);
  opacity: 0.9;
  animation: shimmer 3.5s var(--ease) infinite;
}
@keyframes shimmer {
  0%   { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

/* ── CART BADGE POP ──────────────────────────── */
@keyframes badgePop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.cart-badge.pop,
.floating-cart-badge.pop { animation: badgePop 0.35s var(--ease); }

/* ── ADD-TO-CART SUCCESS STATE ───────────────── */
.add-to-cart-card-btn.added {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}

/* ── TOAST — keep on-screen on mobile + a11y ─── */
@media (max-width: 600px) {
  .toast { right: 1rem; left: 1rem; bottom: 1rem; max-width: none; }
}

/* ══════════════════════════════════════════════
   BOLD REDESIGN — phase 1
   Depth, bolder type, full-bleed hero, sticky
   toolbar, trust strip, scroll-reveal.
   ══════════════════════════════════════════════ */

/* ── DEPTH: layered background instead of flat black ── */
body {
  background:
    radial-gradient(1100px 620px at 82% -12%, rgba(var(--accent-rgb), 0.10), transparent 62%),
    radial-gradient(900px 520px at -8% 18%, rgba(var(--accent-rgb), 0.055), transparent 60%),
    var(--black);
  background-attachment: fixed;
}

/* ── TYPE: tighter display, stronger labels ───── */
h1 { letter-spacing: -0.01em; }
.hero-eyebrow,
.section-label { letter-spacing: 0.34em; }

/* ── BUTTONS: bolder with life ───────────────── */
.btn { transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
                   transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
                   border-color var(--dur) var(--ease); }
.btn-gold { box-shadow: 0 12px 34px rgba(var(--accent-rgb), 0.20); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(var(--accent-rgb), 0.30); }
.btn-outline { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-outline:hover { transform: translateY(-2px); }

/* ── NAV: animated underline ─────────────────── */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: -7px;
  height: 1px;
  background: var(--gold);
  transition: right 0.28s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links .cart-link::after { display: none; }

/* ── HERO v2 — full-bleed cinematic ─────────── */
.hero {
  display: block;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 4rem) 5vw calc(var(--nav-h) + 5rem);
}

.hero-eyebrow { margin-bottom: 1.25rem; }

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ── TOOLBAR: sticky (stops covering the hero) ─ */
.toolbar {
  position: sticky;
  top: var(--nav-h);
  z-index: 800;
  box-shadow: 0 14px 34px rgba(0,0,0,0.38);
}

#collection, #products-section { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* ── RESULTS BAR ─────────────────────────────── */
.results-bar {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
#results-count {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0;
  color: var(--gold);
}

/* ── SCROLL REVEAL ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  
}

/* ── MOBILE tweaks for the new hero ──────────── */
@media (max-width: 800px) {
  
  
  
  
  .hero-inner { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: calc(var(--nav-h) + 4rem); }
  
}

/* ══════════════════════════════════════════════
   BOLD REDESIGN — phase 2
   Product detail · Cart/Checkout · About/Contact
   ══════════════════════════════════════════════ */

/* ── PRODUCT DETAIL ──────────────────────────── */
.pd-wrap { padding-top: calc(var(--nav-h) + 3.5rem); }
.pd-breadcrumb { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; }
.pd-img-main {
  aspect-ratio: 4/5;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--lift), var(--surface));
}
.pd-img-main img { transition: transform 0.9s var(--ease); }
.pd-img-main:hover img { transform: scale(1.03); }
.pd-name { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; }
.pd-brand { color: var(--gold-dim); }
.pd-price { font-size: 2.7rem; }
.pd-stock-label {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}
.pd-actions .btn { padding: 1.05rem 2rem; }
.pd-actions .btn-gold { box-shadow: 0 14px 38px rgba(var(--accent-rgb), 0.22); }
.pd-meta-row { padding: 1rem 0; transition: background var(--dur) var(--ease); }
.pd-meta-row:hover { background: rgba(255,255,255,0.025); }

@media (max-width: 800px) {
  .pd-layout { gap: 2rem; }
  .pd-img-zone { position: static; }
  /* sticky mobile buy bar */
  .pd-actions {
    position: sticky;
    bottom: 0;
    z-index: 6;
    padding: 0.85rem 0;
    background: linear-gradient(to top, var(--black) 72%, transparent);
  }
}

/* ── CART / CHECKOUT ─────────────────────────── */
.step-dot { font-weight: 500; }
.step-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.step-dot.active .step-num { background: var(--gold); border-color: var(--gold); color: #0d0d0d; }
.step-dot.done .step-num   { background: var(--gold-dim); border-color: var(--gold-dim); color: var(--white); }
.step-dot.done + .step-line { background: var(--gold-dim); }

.cart-item { transition: background var(--dur) var(--ease); }
.cart-item:hover { background: rgba(255,255,255,0.025); }

.order-box { border-top: 2px solid var(--gold); box-shadow: var(--shadow-card); }
.checkout-summary { border-left: 2px solid var(--gold-dim); }

.form-input:focus, .form-textarea:focus { box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.16); }
.success-icon { background: var(--gold); color: #0d0d0d; }

.contact-block h3 { font-size: 1.45rem; }
.map-embed { transition: border-color var(--dur) var(--ease); }
.map-link:hover .map-embed { border-color: var(--gold); }
.hours-table tr:hover td { color: var(--warm); }

/* ══════════════════════════════════════════════
   HERO — shop name over the neon background
   ══════════════════════════════════════════════ */
/* The hero is see-through: the page background shows behind it. */
:root .hero.hero--logo {
  background: transparent;
  color: var(--warm);
  min-height: auto;
}
.hero--logo .hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 2rem) 5vw 4.5rem;
}
/* Text fades in */
.hero--logo .hero-text { animation: heroTextIn 1.6s var(--ease) 0.25s both; }
@keyframes heroTextIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hero--logo .hero-eyebrow { color: var(--second); margin-bottom: 1.5rem; }
.hero--logo .hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 2px 40px rgba(0,0,0,0.55);
  margin: 0;
}
.hero--logo .hero-title em { font-style: italic; color: var(--gold2); }
.hero--logo .hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--soft);
  margin: 1rem 0 2.5rem;
}
.hero--logo .hero-cta { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .hero--logo .hero-text { animation: none; } }

@media (max-width: 900px) {
  .hero--logo .hero-inner {
    min-height: 88vh;
    min-height: 88svh;
    padding: calc(var(--nav-h) + 1rem) 1.25rem 3.5rem;
  }
}

/* ── Text-light layout (hero + about show the logo, not copy) ── */
/* Kept for screen readers and search engines, hidden on screen */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Contact page: first section on the page, so clear the fixed nav */
.contact-section--page { padding-top: calc(var(--nav-h) + 3rem); }

/* ══════════════════════════════════════════════
   ML SIZES · FRAGRANCE INFO
   ══════════════════════════════════════════════ */
/* Card: "Choose" link styled like the add-to-cart button */
a.add-to-cart-card-btn { display: inline-flex; align-items: center; text-decoration: none; }
.product-ml-from { font-size: 0.72rem; color: var(--gold); letter-spacing: 0.04em; margin-top: -0.25rem; }

/* Product page: size picker */
.pd-options { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0.5rem; }
.pd-options-label {
  flex-basis: 100%;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.pd-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem;
  min-width: 96px; padding: 0.6rem 0.85rem;
  background: none; border: 1px solid var(--border); color: var(--warm);
  font-family: var(--sans); cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.pd-opt:hover:not(:disabled) { border-color: var(--soft); }
.pd-opt[aria-checked="true"] { border-color: var(--gold); background: var(--surface); }
.pd-opt:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.pd-opt-label { font-size: 0.8rem; color: var(--white); }
.pd-opt-price { font-family: var(--serif); font-size: 1rem; color: var(--gold); }

/* Product page: accords, note pyramid, meters, seasons */
.pd-scent {
  max-width: 1400px; margin: 0 auto; padding: 3.5rem 5vw;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 2.5rem 4rem;
}
.scent-title, .note-tier-title {
  font-family: var(--sans); font-weight: 400; font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem;
}
/* Accords: Fragrantica-style bars — width = strength, centred label,
   rounded right end, colour per accord (product.js accordColor) */
.accords-title { text-align: center; color: var(--warm); font-size: 0.72rem; }
.accords { display: flex; flex-direction: column; gap: 3px; }
.accord {
  width: var(--w); padding: 0.32rem 0.75rem;
  background: var(--c); color: var(--tc);
  font-size: 0.8rem; font-weight: 500; text-align: center;
  border-radius: 0 8px 8px 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.note-tier + .note-tier { margin-top: 1.4rem; }
.note-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.note-chip {
  padding: 0.3rem 0.7rem; font-size: 0.78rem;
  border: 1px solid var(--border); color: var(--warm);
}
.scent-meter { margin-bottom: 1.4rem; }
.scent-meter-head {
  display: flex; justify-content: space-between; margin-bottom: 0.45rem;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.scent-meter-head span:last-child { color: var(--warm); letter-spacing: 0.04em; text-transform: none; font-size: 0.8rem; }
.scent-meter-track { display: flex; gap: 4px; }
.scent-meter-track span { flex: 1; height: 6px; background: var(--border); }
.scent-meter-track span.on { background: var(--gold); }

/* Admin: product form sections */
.admin-fieldset { border: 1px solid var(--border); padding: 1rem 1rem 0.5rem; margin: 0 0 1.25rem; }
.admin-fieldset legend {
  padding: 0 0.4rem; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.admin-check { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; color: var(--warm); cursor: pointer; margin-bottom: 0.75rem; }
.admin-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.decant-sizes { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.6rem; }
.decant-row { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 0.5rem; align-items: center; }
#add-decant-size { margin-bottom: 0.75rem; }
@media (max-width: 500px) { .admin-grid-2 { grid-template-columns: minmax(0, 1fr); } }
.admin-hint { font-size: 0.75rem; color: var(--muted); margin: -0.25rem 0 0.75rem; line-height: 1.5; }
.sale-admin-status {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
  padding: 0.6rem 0.75rem; margin-bottom: 0.75rem;
  border: 1px solid var(--sale); color: var(--warm); font-size: 0.8rem;
}
.admin-sale-note { font-size: 0.72rem; color: var(--sale); }

/* ══════════════════════════════════════════════
   TIMED SALE (storefront)
   ══════════════════════════════════════════════ */
.sale-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  padding: 0.3rem 0.55rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  background: var(--sale-bg); color: #07060c;
}
.price-was {
  display: block; font-family: var(--sans); font-size: 0.72rem;
  color: var(--soft); text-decoration: line-through; line-height: 1.2;
}
.product-price.on-sale, .pd-price.on-sale, .pd-opt-price.on-sale { color: var(--sale); }
.sale-strip {
  display: flex; flex-wrap: wrap; gap: 0.2rem 0.6rem;
  font-size: 0.72rem; color: var(--sale); letter-spacing: 0.02em;
}
.sale-strip [data-sale-end] { font-variant-numeric: tabular-nums; }
/* Product page box under the price */
.pd-sale {
  border: 1px solid var(--sale); padding: 0.75rem 1rem; margin: 0.25rem 0 1.25rem;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.pd-sale-head { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sale); }
.pd-sale-time { font-family: var(--serif); font-size: 1.5rem; color: var(--white); font-variant-numeric: tabular-nums; }
.pd-sale-left { font-size: 0.8rem; color: var(--warm); }
/* Cart line: price (+ struck regular price on sale) and remove button */
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.cart-item-prices { display: flex; flex-direction: column; align-items: flex-end; }
.cart-item-was { font-size: 0.72rem; color: var(--soft); text-decoration: line-through; }
.cart-item-price.on-sale { color: var(--sale); }
@media (max-width: 600px) {
  .cart-item-side { flex-direction: row; justify-content: space-between; align-items: center; }
  .cart-item-prices { align-items: flex-start; }
  .cart-item-prices .cart-item-price { min-width: 0; text-align: left; }
}
.price-note { font-size: 0.8rem; color: var(--sale); text-align: center; margin: 0.5rem 0; }

/* ══════════════════════════════════════════════
   BEST SELLERS · CUSTOMER RATINGS
   ══════════════════════════════════════════════ */
.best-badge {
  /* sits under the stock badge (top-left) so the two never overlap */
  position: absolute; top: 2.75rem; left: 1rem; z-index: 2;
  padding: 0.3rem 0.6rem;
  font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--gold); color: var(--black);
}
.pd-best { position: static; display: inline-block; margin-bottom: 0.75rem; }

.best-sellers { max-width: 1400px; margin: 0 auto; padding: 3rem 5vw 1rem; }
.best-sellers-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0;
}
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
/* Home rows (sale, best sellers): tilted carousel. A sideways-scrolling
   strip that snaps each card to the middle; script.js turns every card in
   3D by its distance from the middle (inline transform). Padding lets the
   first and last card reach the middle. */
.best-grid {
  --card-w: 280px;
  position: relative;            /* cards' offsetLeft is measured from here */
  display: grid; gap: 0;
  grid-auto-flow: column;
  grid-auto-columns: var(--card-w);
  padding: 0.5rem calc(50% - var(--card-w) / 2) 0.75rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.best-grid::-webkit-scrollbar { display: none; }
/* (no scroll-snap-stop: always — Chrome then ignores smooth scrollTo) */
.best-grid > * { min-width: 0; scroll-snap-align: center; }
.best-grid > .product-item {
  animation: none;               /* fadeUp's transform would override the tilt */
  will-change: transform;
  backface-visibility: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.best-grid > .product-item .product-body { opacity: calc(1 - var(--side, 0) * 0.55); }
.best-grid > .product-item .product-img-wrap img { -webkit-user-drag: none; user-select: none; }
.best-grid.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.row-dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 0.75rem; }
.row-dots[hidden] { display: none; }
.row-dot {
  width: 0.5rem; height: 0.5rem; padding: 0; border: 0; border-radius: 50%;
  background: var(--border); cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.row-dot.on { background: var(--gold); transform: scale(1.35); }
/* bigger tap target without bigger dots */
.row-dot { position: relative; }
.row-dot::after { content: ''; position: absolute; inset: -0.5rem -0.25rem; }
.row-nav { display: flex; gap: 0.4rem; flex: none; }
.row-nav[hidden] { display: none; }
.row-nav-btn {
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  background: none; border: 1px solid var(--border); color: var(--warm);
  font-size: 1.4rem; line-height: 1; cursor: pointer; transition: border-color 0.2s, opacity 0.2s;
}
.row-nav-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.row-nav-btn:disabled { opacity: 0.3; cursor: default; }
/* Touch screens swipe — no buttons */
@media (hover: none), (pointer: coarse) { .row-nav { display: none; } }
.sale-row-title { color: var(--sale); }
#sale-row:not([hidden]) + .best-sellers { padding-top: 1.5rem; }
/* Phones: the middle card is ~2/3 of the screen, neighbours peek both sides;
   the row runs edge to edge */
@media (max-width: 600px) {
  .best-grid { --card-w: 60vw; margin-inline: -5vw; padding-inline: 24vw; }
  .best-grid > * { margin-inline: -4vw; }   /* tighter steps → bigger peek of the neighbours */
}

/* Product page: ratings + when to wear */
.pd-ratings { max-width: 1400px; margin: 0 auto; padding: 1rem 5vw 4rem; }
.ratings-heading {
  text-align: center; font-family: var(--sans); font-weight: 400;
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.25rem;
}
.ratings-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.ratings-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.1rem 1.1rem; }
.ratings-card-title {
  font-family: var(--sans); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); margin-bottom: 0.9rem;
}
.ratings-card-title span { color: var(--gold); margin-right: 0.3rem; }
.vote-row { display: grid; gap: 0.35rem; }
.vote-row-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vote-row-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.vote-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.2rem 0.45rem; background: none; border: 1px solid transparent; border-radius: 8px;
  color: var(--soft); font-family: var(--sans); cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.vote-item:hover { background: var(--lift); color: var(--warm); }
.vote-item.mine { border-color: var(--vc); color: var(--vc); background: var(--lift); }
.vote-item:focus-visible { outline: 2px solid var(--vc); outline-offset: 1px; }
.vote-icon { line-height: 0; }
.vote-label { font-size: 0.72rem; line-height: 1.2; text-align: center; min-height: 2.4em; display: flex; align-items: center; color: var(--warm); }
.vote-bar { width: 100%; height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; }
.vote-bar span { display: block; height: 100%; border-radius: 3px; background: var(--vc); transition: width 0.4s var(--ease); }
.vote-count { font-size: 0.7rem; color: var(--vc); font-variant-numeric: tabular-nums; }
.ratings-summary { text-align: center; margin-top: 1.1rem; font-size: 0.85rem; color: var(--soft); }
.ratings-summary strong { color: var(--gold); font-weight: 500; }
.ratings-hint { color: var(--muted); font-size: 0.78rem; }
@media (max-width: 420px) {
  .vote-label { font-size: 0.64rem; }
  .vote-icon svg { width: 26px; height: 26px; }
}

/* Admin: starting vote numbers */
.admin-nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.5rem 0.75rem; margin-bottom: 1rem; }
.admin-num { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.74rem; color: var(--soft); }

/* ══════════════════════════════════════════════
   ACCORD SEARCH (accords.html)
   ══════════════════════════════════════════════ */
.accords-search-btn {
  display: inline-block; margin: 1rem auto 0; padding: 0.5rem 1rem;
  font-size: 0.78rem; color: var(--gold); text-decoration: none;
  border: 1px solid var(--gold-dim); border-radius: 6px; transition: background 0.2s, color 0.2s;
}
.accords-search-btn:hover { background: var(--gold); color: var(--black); }
.scent-block:has(.accords) { text-align: center; }
.scent-block .accords { text-align: left; }

.acc-page { max-width: 1400px; margin: 0 auto; padding: calc(var(--nav-h) + 2.5rem) 5vw 4rem; }
.acc-head { margin-bottom: 1.75rem; }
.acc-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.acc-head p { max-width: 60ch; }
.acc-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 860px) { .acc-layout { grid-template-columns: minmax(0, 1fr); } }
.acc-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.1rem 1.2rem; }
.acc-panel-title {
  font-family: var(--sans); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white); margin-bottom: 0.9rem;
}
.acc-based {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 0.9rem; padding: 0.5rem 0.7rem; background: var(--lift); border-radius: 6px; font-size: 0.8rem;
}
.acc-based a { color: var(--gold); text-decoration: none; }
.acc-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0.9rem; }
.acc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; align-items: center; }
.acc-slider {
  position: relative; display: block; height: 2rem; border-radius: 0 8px 8px 0; overflow: hidden;
  background: linear-gradient(to right, var(--c) var(--v), var(--lift) var(--v));
}
.acc-slider-name {
  position: absolute; inset: 0 auto 0 0.75rem; display: flex; align-items: center; pointer-events: none;
  font-size: 0.8rem; font-weight: 500; color: var(--tc);
  text-shadow: 0 0 6px rgba(0,0,0,0.25);
}
.acc-slider input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
}
.acc-slider:focus-within { outline: 2px solid var(--gold); outline-offset: 1px; }
.acc-remove {
  background: none; border: 1px solid var(--border); color: var(--muted); border-radius: 6px;
  width: 2rem; height: 2rem; cursor: pointer; line-height: 1;
}
.acc-remove:hover { color: var(--danger); border-color: var(--danger); }
.acc-add-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; }
.acc-filters .form-label { margin-top: 0.75rem; }
.acc-filters .form-label:first-child { margin-top: 0; }
.acc-checks { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.acc-filter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 0.75rem; }
.acc-stock { margin-top: 1rem; }
.acc-empty { color: var(--muted); font-size: 0.85rem; padding: 0.5rem 0; }
.acc-count { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }

.acc-results { display: grid; gap: 2px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
@media (max-width: 600px) { .acc-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acc-card { position: relative; background: var(--deep); display: flex; flex-direction: column; }
.acc-card:hover { background: var(--surface); }
.acc-card-img { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--surface); }
.acc-card-img img { width: 100%; height: 100%; object-fit: cover; }
.acc-match {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  padding: 0.25rem 0.55rem; font-size: 0.7rem; font-weight: 500;
  background: var(--gold); color: var(--black); border-radius: 4px;
}
.acc-card-body { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.acc-strip { display: flex; height: 6px; border-radius: 3px; overflow: hidden; margin: 0.35rem 0; }
.acc-card-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; }
.acc-rating { font-size: 0.78rem; color: var(--gold); }
@media (max-width: 480px) { .acc-add-row { grid-template-columns: minmax(0, 1fr); } }

/* Admin orders: delivery address + customer note, full item list */
.order-address { font-size: 0.8rem; min-width: 180px; max-width: 280px; white-space: normal; line-height: 1.45; color: var(--warm); }
.order-note { display: block; margin-top: 0.3rem; font-size: 0.72rem; color: var(--muted); }
.order-items { font-size: 0.78rem; min-width: 160px; max-width: 260px; white-space: normal; line-height: 1.45; }

/* Accord search: name box + "find similar" */
.acc-name-search { margin-bottom: 1rem; max-width: 560px; }
.acc-similar {
  position: relative; z-index: 2; align-self: flex-start; margin-top: 0.5rem;
  padding: 0.35rem 0.7rem; font-size: 0.72rem; font-family: var(--sans);
  background: none; border: 1px solid var(--gold-dim); color: var(--gold); border-radius: 5px; cursor: pointer;
}
.acc-similar:hover { background: var(--gold); color: var(--black); }

/* ══════════════════════════════════════════════
   PRODUCT CARD v2 — "gallery label" (lab)
   Photo on an ivory mat: white studio shots melt into it (multiply),
   lifestyle photos sit on it like a framed print. Then brand (gold caps),
   name, rating, ml chip, price + round "+" button. Two cards per row on
   every phone. Used by the grid, the carousel rows and related products.
   ══════════════════════════════════════════════ */
:root { --mat: #eeedf4; }                       /* cool white: studio shots melt into it */

#product-list {
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 1.25rem;
}
.product-item {
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.product-item:hover { background: var(--deep); border-color: var(--gold-dim); box-shadow: var(--shadow-card); }
@media (hover: hover) { #product-list > .product-item:hover { transform: translateY(-3px); } }

/* The mat */
.product-img-wrap {
  aspect-ratio: 4 / 5;
  background: var(--mat);
  isolation: isolate;                            /* multiply blends with the mat only */
}
.product-img-wrap img {
  position: absolute; inset: 7%;
  width: 86%; height: 86%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.6s var(--ease);
}
.product-item:hover .product-img-wrap img { transform: scale(1.05); }
.product-img-placeholder { position: absolute; inset: 0; }

/* Badges: small pills, stacked top-left; sale % top-right */
.card-badges {
  position: absolute; top: 0.6rem; left: 0.6rem; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem;
}
.card-badges .stock-badge,
.card-badges .best-badge {
  position: static;
  padding: 0.22rem 0.5rem; border-radius: 99px;
  font-size: 0.56rem; letter-spacing: 0.12em; line-height: 1.3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.card-badges .best-badge { background: #07060c; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.6); }
/* discount sits bottom-right so it never meets the top-left status pills */
.product-img-wrap .sale-badge {
  top: auto; bottom: 0.6rem; right: 0.6rem;
  padding: 0.22rem 0.5rem; border-radius: 99px;
  font-size: 0.66rem; line-height: 1.3;
}
.sold-overlay { z-index: 1; background: rgba(238,237,244,0.72); color: #2b2539; font-weight: 500; }

/* The label */
.product-body {
  padding: 0.95rem 1.1rem 1.05rem;
  gap: 0.3rem;
  border-top: 1px solid var(--border);
}
.product-brand {
  order: -1;                                    /* brand above the name */
  font-size: 0.62rem; letter-spacing: 0.18em;
  color: var(--gold);
}
.product-name {
  font-size: 1.12rem; line-height: 1.22;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-rating { font-size: 0.72rem; color: var(--soft); letter-spacing: 0.02em; }
.card-rating-star { color: var(--gold); }
.card-rating-n { color: var(--muted); }
.product-ml-from {
  align-self: flex-start; margin: 0.15rem 0 0;
  padding: 0.18rem 0.55rem; border-radius: 99px;
  border: 1px solid var(--gold-dim);
  font-size: 0.64rem; letter-spacing: 0.03em; color: var(--gold);
}
.product-item .sale-strip { font-size: 0.66rem; }
.product-footer {
  gap: 0.5rem; margin-top: auto; padding-top: 0.7rem;
  border-top: 0;
}
.product-price { font-size: 1.3rem; line-height: 1.1; }

/* Round "+" — on computers it widens to "Add to cart" while the card is hovered */
.card-add {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  height: 2.3rem; min-width: 2.3rem; padding: 0;
  border-radius: 99px;
  border: 1px solid var(--gold-dim); color: var(--gold); background: transparent;
  overflow: hidden; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), padding var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.card-add-icon { font-size: 1.25rem; line-height: 1; font-weight: 300; width: 1em; text-align: center; }
.card-add-label { max-width: 0; opacity: 0; font-size: 0.62rem; letter-spacing: 0.12em; transition: max-width var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.card-add:hover, .card-add:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--black); }
@media (hover: hover) and (min-width: 601px) {
  .product-item:hover .card-add { padding: 0 0.85rem 0 0.6rem; gap: 0.35rem; }
  .product-item:hover .card-add-label { max-width: 10rem; opacity: 1; }
}
.card-add.added { background: var(--ok); border-color: var(--ok); color: #fff; }
.card-choose { border-radius: 99px; padding: 0.4rem 0.8rem; font-size: 0.62rem; }

/* Phones: always two per row, tighter label */
@media (max-width: 600px) {
  #product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  .product-body { padding: 0.7rem 0.75rem 0.8rem; gap: 0.22rem; }
  .product-brand { font-size: 0.56rem; letter-spacing: 0.14em; }
  .product-name { font-size: 0.98rem; }
  .product-price { font-size: 1.08rem; }
  .price-was { font-size: 0.64rem; }
  .card-add { height: 2rem; min-width: 2rem; }
  .card-add-icon { font-size: 1.1rem; }
  .product-ml-from { font-size: 0.58rem; padding: 0.14rem 0.45rem; }
  .card-rating { font-size: 0.66rem; }
}
@media (max-width: 400px) {
  #product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-wrap { padding-inline: 0.85rem; }
}
/* Carousel rows set transform every scroll frame — no transform transition there */
.best-grid > .product-item { transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
/* Related products (product page) — same spacing as the main grid */
.related-grid { gap: 1.25rem; }
@media (max-width: 600px) { .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; } }

/* ══════════════════════════════════════════════
   PRODUCT CARD — glass
   Card/label are translucent so the page background glows through; the photo mat
   stays solid. Frosted blur only on computers (blurring many cards over the
   animated canvas costs phones battery). Gold edge + glow on hover; in the
   carousel the middle card glows, fading out on the side cards.
   ══════════════════════════════════════════════ */
.product-item,
.product-item:hover { background: rgba(10, 8, 18, 0.5); }
.product-item { border-color: rgba(var(--accent-rgb), 0.22); }
.product-body { border-top-color: rgba(var(--accent-rgb), 0.14); }

@media (hover: hover) and (min-width: 601px) {
  .product-item,
  .product-item:hover { background: rgba(10, 8, 18, 0.22); }
  .product-item {
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
            backdrop-filter: blur(14px) saturate(1.25);
  }
}

/* Gold edge + glow */
.product-item:hover {
  border-color: rgba(var(--accent-rgb), 0.65);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.25), 0 0 34px rgba(var(--accent-rgb), 0.22), 0 18px 40px rgba(0, 0, 0, 0.35);
}
/* Carousel: the middle card glows (--side is 0 in the middle, 1 beside it) */
.best-grid > .product-item {
  border-color: rgba(var(--accent-rgb), calc(0.16 + 0.5 * (1 - var(--side, 1))));
  box-shadow: 0 0 34px rgba(var(--accent-rgb), calc(0.24 * (1 - var(--side, 1)))), 0 18px 40px rgba(0, 0, 0, 0.3);
}
/* A soft shadow keeps the label text crisp over the glass */
.product-body { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45); }

/* Glass v3: on a dark page, low-alpha dark glass just looks solid black.
   Glass reads as glass through a light frosted sheen, a bright thin edge
   and a top highlight — so the card is a pale veil, not a dark tint. */
.product-item,
.product-item:hover {
  background: linear-gradient(150deg, rgba(var(--glass-rgb), 0.13) 0%, rgba(var(--glass-rgb), 0.05) 45%, rgba(var(--glass-rgb), 0.02) 100%);
  border-color: rgba(var(--glass-rgb), 0.24);
}
.product-item { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 34px rgba(0, 0, 0, 0.28); }
.product-body { border-top-color: rgba(var(--glass-rgb), 0.16); }
/* The photo mat is inset so a band of glass frames every picture. */
.product-img-wrap { margin: 0.6rem 0.6rem 0; border-radius: 3px; }
.product-body { border-top: 0; }
@media (max-width: 600px) { .product-img-wrap { margin: 0.4rem 0.4rem 0; } }
@media (hover: hover) and (min-width: 601px) {
  .product-item {
    -webkit-backdrop-filter: blur(5px) saturate(1.3);
            backdrop-filter: blur(5px) saturate(1.3);
  }
}
@media (max-width: 600px) {
  .card-badges { right: 0.5rem; }
  .card-badges .stock-badge,
  .card-badges .best-badge { letter-spacing: 0.05em; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}

/* ══════════════════════════════════════════════
   GENZ NEON
   Dark page with a faint neon grid and glow, Bebas Neue logo/hero. One
   palette: sky-blue accent #78DFF2 (--gold), pink #F2B5D4 (--second),
   off-white #FCFFFF text (--warm / --white). No theme switcher. Where the
   second colour goes is collected in "SECOND COLOUR" at the very end.
   ══════════════════════════════════════════════ */
body {
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(var(--accent-rgb), 0.16), transparent 62%),
    radial-gradient(800px 480px at -10% 30%, rgba(var(--second-rgb), 0.06), transparent 60%),
    linear-gradient(rgba(var(--accent-rgb), 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--black);
  background-attachment: fixed;
}
/* Animated smoke (smoke-bg.js) sits behind everything; the gradient above
   only shows if WebGL is unavailable. */
.smoke-bg {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: -1;
  pointer-events: none;
}

.logo-name {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  line-height: 1;
}
.logo-name span { color: var(--gold); text-shadow: 0 0 14px rgba(var(--accent-rgb), 0.7); }
.footer-brand .logo-name { font-size: 2rem; }

.hero--logo .hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4.5rem, 19vw, 11rem);
  line-height: 0.85;
  letter-spacing: 0.03em;
  text-shadow: none;
}
.hero--logo .hero-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  text-shadow: 0 0 28px rgba(var(--accent-rgb), 0.55);
}
.hero--logo .hero-inner { min-height: 72vh; min-height: 72svh; }

/* Neon buttons: dark text on the bright accent */
.btn-gold { color: #07060c; font-weight: 600; box-shadow: 0 0 22px rgba(var(--accent-rgb), 0.35); }
.btn-gold:hover { box-shadow: 0 0 34px rgba(var(--accent-rgb), 0.55); }

/* ── SECOND COLOUR (pink #F2B5D4) ─────────────────────
   Blue = actions and prices; pink = labels, counts, badges and success. */
.logo-tag,
.section-label,
.footer-col h4,
#results-count,
.product-brand,
.pd-brand,
.cart-item-brand,
.card-rating-star { color: var(--second); }
.logo-tag { text-shadow: 0 0 10px rgba(var(--second-rgb), 0.35); }
.cart-badge,
.floating-cart-badge { background: var(--second); color: #07060c; font-weight: 700; }
.card-add { border-color: rgba(var(--second-rgb), 0.45); color: var(--second); }
.card-add:hover, .card-add:focus-visible { background: var(--second); border-color: var(--second); color: #07060c; }
.card-add.added,
.add-to-cart-card-btn.added { background: var(--second); border-color: var(--second); color: #07060c; }
.filter-btn.tag-btn.active { background: var(--second); border-color: var(--second); color: #07060c; }
.step-dot.done { color: var(--second); }
.step-dot.done .step-num { background: transparent; border-color: var(--second); color: var(--second); }
.step-dot.done + .step-line { background: var(--second); }
.product-item:hover .product-brand { text-shadow: 0 0 10px rgba(var(--second-rgb), 0.5); }
