@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Tokens ── */
:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: #999;
  --border: #0a0a0a;
  --accent: #0a0a0a;
  --serif: 'Times New Roman', 'Georgia', 'Noto Serif', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.3s;
  --grid-gap: 2px;
  --nav-h: 56px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100dvh; }
body {
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font: 400 1rem/1.4 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  width: 100%;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }
.product-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.product-img.detail-hero { position: relative; inset: auto; border-radius: 2px; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  background: var(--bg);
  z-index: 100;
  transition: transform var(--dur) var(--ease);
}
.nav-brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 4rem;
  letter-spacing: -0.02em;
  cursor: pointer;
  position: relative;
  top: 2px;
}
.nav-brand .reg { font-size: 0.4em; position: relative; top: -0.3em; left: 0.02em; opacity: 0.5; }
.nav-links { display: flex; gap: clamp(16px, 3vw, 32px); align-items: center; }
.nav-links a {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  position: relative; padding-bottom: 2px;
  transition: color var(--dur) ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--fg);
  transition: width var(--dur) var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cart { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nav-cart svg { width: 20px; height: 20px; stroke: var(--fg); fill: none; stroke-width: 1.5; }
.cart-badge {
  position: absolute; top: -6px; right: -8px;
  width: 16px; height: 16px;
  background: var(--fg); color: var(--bg);
  font-size: 0.55rem; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}
.cart-badge.show { transform: scale(1); }
.cart-badge.bounce { animation: badgeBounce 0.4s var(--ease); }
@keyframes badgeBounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ── Main ── */
main { padding-top: calc(var(--nav-h) + var(--grid-gap) + 4px); min-height: 100dvh; }

/* ── Page Transitions ── */
.page { width: 94%; max-width: 1000px; margin: auto; animation: pageIn 0.45s var(--ease) both; overflow-x: hidden; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Grid Sheet ── */
.sheet {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-bottom: var(--grid-gap) solid transparent;
}

/* ═══════════════════════════════════════════
   Hero Sections (multiple styles)
   ═══════════════════════════════════════════ */

/* Full (default) */
.hero {
  grid-column: span 4;
  padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px);
  text-align: center;
  border-bottom: var(--grid-gap) solid transparent;
  position: relative; overflow: hidden;
}
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(3rem, 10vw, 8rem);
  letter-spacing: -0.02em; line-height: 0.9;
}
.hero-sub {
  font-size: clamp(0.65rem, 1.2vw, 0.8rem);
  font-weight: 500; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted);
  margin-top: 16px;
}
.hero-scroll {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Split */
.hero--split {
  display: grid; grid-template-columns: 1fr 1fr;
  text-align: left; padding: 0;
  min-height: clamp(200px, 40vw, 400px);
}
.hero--split .hero-split-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(32px, 5vw, 64px);
}
.hero--split .hero-split-content h1 { font-size: clamp(2rem, 6vw, 5rem); }
.hero--split .hero-split-content .hero-sub { margin-top: 12px; }
.hero--split .hero-split-accent {
  background: var(--fg); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.5rem, 8vw, 7rem);
  opacity: 0.08; letter-spacing: -0.03em;
  user-select: none;
}

/* Minimal */
.hero--minimal {
  text-align: left; padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px);
  border-bottom: none; border-bottom: var(--grid-gap) solid transparent;
}
.hero--minimal .hero-minimal-wrap { max-width: 480px; }
.hero--minimal .hero-minimal-label {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid transparent;
}
.hero--minimal h1 { font-size: clamp(2rem, 5vw, 4rem); }

/* Accent */
.hero--accent {
  text-align: center; padding-top: 0;
}
.hero--accent .hero-accent-bar {
  width: 48px; height: 3px;
  background: var(--fg); margin: 0 auto 24px;
}
.hero--accent h1 { font-size: clamp(2.2rem, 6vw, 5rem); letter-spacing: -0.03em; }

/* Centered */
.hero--centered {
  text-align: center;
  padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-centered-wrap {
  max-width: 680px;
}
.hero-centered-label {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.hero--centered h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-centered-line {
  width: 40px;
  height: 1px;
  background: var(--fg);
  margin: 20px auto 0;
  opacity: 0.3;
}

/* Statement */
.hero--statement {
  text-align: left;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px);
  border-bottom: 1px solid transparent;
}
.hero-statement-wrap {
  max-width: 100%;
}
.hero--statement h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 900px;
}

/* ── Category Cards ── */
.cat-card {
  grid-column: span 2; aspect-ratio: 16/10;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 3vw, 32px);
  cursor: pointer; position: relative;
  transition: background var(--dur) ease, color var(--dur) ease;
  -webkit-tap-highlight-color: transparent;
}
.cat-card:hover { background: var(--fg); color: var(--bg); }
.cat-card:hover .cat-count { color: var(--bg); opacity: 0.5; }
.cat-card:hover .cat-arrow { transform: translate(4px, -50%); color: var(--bg); }
.cat-card h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -0.01em;
}
.cat-count {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
  transition: color var(--dur) ease;
}
.cat-arrow {
  position: absolute; top: 50%; right: clamp(20px, 3vw, 32px);
  transform: translateY(-50%); font-size: 1.2rem;
  transition: transform var(--dur) var(--ease), color var(--dur) ease;
}

/* ── Featured Strip ── */
.featured-strip {
  grid-column: span 4;
  padding: clamp(16px, 3vw, 24px) clamp(16px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: var(--grid-gap) solid transparent;
}
.featured-strip h3 { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.featured-strip a {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease, color var(--dur) ease;
}
.featured-strip a:hover { border-color: var(--fg); color: var(--fg); }

/* ═══════════════════════════════════════════
   Carousel Component
   ═══════════════════════════════════════════ */
.carousel-wrap {
  padding: clamp(20px, 3vw, 32px) 0;
}
.carousel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  margin-bottom: 0;
}
.carousel-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: -0.01em;
}
.carousel-nav { display: flex; gap: 6px; }
.carousel-arrow {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid transparent;
  transition: background var(--dur) ease, color var(--dur) ease;
  -webkit-tap-highlight-color: transparent;
}
.carousel-arrow svg { width: 16px; height: 16px; }
.carousel-arrow:hover { background: var(--fg); color: var(--bg); }

/* Metro style (sliding carousel) */
.carousel-track--metro {
  display: flex; gap: 0;
  border-top: var(--grid-gap) solid transparent;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.carousel-track--metro .carousel-card {
  flex: 0 0 25%;
  min-width: 0;
  border-right: var(--grid-gap) solid transparent;
  border-bottom: var(--grid-gap) solid transparent;
}
.carousel-track--metro .carousel-card:nth-child(4n) { border-right: none; }

/* Carousel dots */
.carousel-dots {
  display: flex; justify-content: center; gap: 6px;
  padding: 12px 0;
}
.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border); border: none; padding: 0;
  cursor: pointer; transition: background var(--dur) ease, transform var(--dur) ease;
}
.carousel-dot.active { background: var(--fg); transform: scale(1.4); }

/* Scroll / Minimal / Compact styles (horizontal) */
.carousel-track--scroll,
.carousel-track--minimal,
.carousel-track--compact {
  display: flex; gap: 0;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-top: var(--grid-gap) solid transparent;
}
.carousel-track--scroll::-webkit-scrollbar,
.carousel-track--minimal::-webkit-scrollbar,
.carousel-track--compact::-webkit-scrollbar { display: none; }

.carousel-track--scroll .carousel-card,
.carousel-track--minimal .carousel-card,
.carousel-track--compact .carousel-card {
  flex: 0 0 clamp(180px, 22vw, 260px);
  scroll-snap-align: start;
  border-right: var(--grid-gap) solid transparent;
  border-bottom: var(--grid-gap) solid transparent;
}
.carousel-track--minimal .carousel-card { flex: 0 0 clamp(200px, 24vw, 300px); }
.carousel-track--compact .carousel-card { flex: 0 0 clamp(140px, 18vw, 220px); }

.carousel-card {
  cursor: pointer; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: opacity var(--dur) ease;
}
.carousel-card:hover { opacity: 0.85; }
.carousel-card-img {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(0.9rem, 1.5vw, 1.4rem);
  letter-spacing: -0.02em; opacity: 0.12; user-select: none;
  position: relative; overflow: hidden;
}
.carousel-card-img:has(.product-img) { opacity: 1; }
.carousel-track--compact .carousel-card-img { aspect-ratio: 3/4; }
.carousel-card-info {
  padding: clamp(10px, 1.5vw, 14px) clamp(10px, 1.5vw, 14px);
  display: flex; justify-content: space-between; align-items: flex-end;
}
.carousel-card-name {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  max-width: 65%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.carousel-card-price { font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   Mailing List Component
   ═══════════════════════════════════════════ */
.ml-wrap { grid-column: span 4; }
.ml-form {
  font-family: var(--sans);
}

/* Inline */
.ml-wrap--inline { border-top: var(--grid-gap) solid transparent; }
.ml-inline-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(24px, 3vw, 40px) clamp(16px, 4vw, 48px);
}
.ml-text { flex: 1; min-width: 0; }
.ml-heading {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: -0.01em; margin-bottom: 4px;
}
.ml-sub { font-size: 0.75rem; color: var(--muted); line-height: 1.5; }
.ml-inline-form { display: flex; gap: 0; flex-shrink: 0; }
.ml-input {
  padding: 12px 16px; font-family: var(--sans); font-size: 0.75rem;
  border: 1px solid #ddd; outline: none; min-width: 0;
  transition: border-color var(--dur) ease;
  background: var(--bg); color: var(--fg);
}
.ml-input:focus { border-color: var(--fg); }
.ml-input::placeholder { color: #bbb; }
.ml-btn {
  padding: 12px 20px; font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--fg); color: var(--bg);
  border: none; cursor: pointer;
  transition: opacity var(--dur) ease;
  white-space: nowrap;
  font-family: var(--sans);
}
.ml-btn:hover { opacity: 0.85; }
.ml-btn--outline {
  background: transparent; color: var(--fg);
  border: 1px solid transparent;
}
.ml-btn--outline:hover { background: var(--fg); color: var(--bg); }

/* Banner */
.ml-wrap--banner {
  background: var(--fg); color: var(--bg);
  border-top: 3px solid var(--fg);
}
.ml-banner-inner {
  text-align: center;
  padding: clamp(32px, 4vw, 56px) clamp(16px, 4vw, 48px);
}
.ml-wrap--banner .ml-heading {
  color: var(--bg);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 8px;
}
.ml-wrap--banner .ml-sub { color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.ml-banner-form {
  display: flex; justify-content: center; gap: 0;
  max-width: 440px; margin: 0 auto;
}
.ml-wrap--banner .ml-input {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--bg); flex: 1;
}
.ml-wrap--banner .ml-input::placeholder { color: rgba(255,255,255,0.4); }
.ml-wrap--banner .ml-input:focus { border-color: rgba(255,255,255,0.5); }
.ml-wrap--banner .ml-btn { background: var(--bg); color: var(--fg); }
.ml-wrap--banner .ml-btn:hover { opacity: 0.9; }

/* Minimal */
.ml-wrap--minimal { border-top: 1px solid transparent; }
.ml-minimal-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 16px clamp(16px, 4vw, 48px);
  max-width: 400px; margin: 0 auto;
}
.ml-minimal-inner .ml-input { flex: 1; border: none; border-bottom: 1px solid transparent; padding: 8px 4px; min-width: 0; }
.ml-minimal-inner .ml-btn--outline { padding: 8px 16px; flex-shrink: 0; }

/* Full */
.ml-wrap--full { border-top: var(--grid-gap) solid transparent; }
.ml-full-inner {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px);
  border-bottom: var(--grid-gap) solid transparent;
}
.ml-full-label {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.ml-full-inner .ml-heading {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  margin-bottom: 24px;
}
.ml-full-form {
  display: flex; justify-content: center; gap: 0;
  max-width: 480px; margin: 0 auto;
}
.ml-full-inner .ml-input { flex: 1; padding: 14px 20px; font-size: 0.8rem; }
.ml-full-inner .ml-btn { padding: 14px 28px; }

/* ── Product Cards ── */
.product-grid {
  grid-column: span 4;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.product-card {
  border-right: var(--grid-gap) solid transparent;
  border-bottom: var(--grid-gap) solid transparent;
  cursor: pointer; position: relative; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.product-card:nth-child(4n) { border-right: none; }
.product-card-img {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.6rem);
  letter-spacing: -0.02em; opacity: 0.15;
  transition: opacity var(--dur) ease, transform var(--dur) var(--ease);
  user-select: none;
  position: relative; overflow: hidden;
}
.product-card-img:has(.product-img) { opacity: 1; }
.product-card:hover .product-card-img .product-img { opacity: 0.25; transform: scale(1.05); }
.product-card:hover .product-card-img:not(:has(.product-img)) { opacity: 0.25; transform: scale(1.05); }
.product-card-info {
  padding: clamp(12px, 2vw, 16px);
  display: flex; justify-content: space-between; align-items: flex-end;
}
.product-card-name { font-size: clamp(0.65rem, 1.2vw, 0.8rem); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.product-card-price { font-size: clamp(0.7rem, 1.2vw, 0.85rem); font-weight: 700; }
.product-card-add {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px; background: var(--fg); color: var(--bg);
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; text-align: center;
  transform: translateY(100%);
  transition: transform var(--dur) var(--ease); z-index: 2;
}
.product-card:hover .product-card-add { transform: translateY(0); }

/* ── Product Detail ── */
.detail-layout {
  display: grid; grid-template-columns: 3fr 2fr;
  min-height: calc(100dvh - var(--nav-h));
}
.detail-image {
  aspect-ratio: 1;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: -0.02em; opacity: 0.1; user-select: none;
  position: relative; overflow: hidden;
  padding: var(--nav-h) 0 0 0;
}
.detail-image:has(.product-img) { opacity: 1; }
.detail-info {
  padding: clamp(32px, 4vw, 64px);
  max-width: 420px;
  margin: 0 auto;
  display: flex; flex-direction: column; justify-content: center;
}
.detail-breadcrumb {
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 24px;
}
.detail-breadcrumb span { cursor: pointer; border-bottom: 1px solid transparent; transition: border-color var(--dur) ease; }
.detail-breadcrumb span:hover { border-color: var(--fg); }
.detail-name {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.02em; line-height: 1.1;
}
.detail-price { font-size: 1.2rem; font-weight: 700; margin-top: 12px; }
.detail-desc { font-size: 0.85rem; color: var(--muted); margin-top: 20px; line-height: 1.7; max-width: 360px; }
.detail-category {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-top: 32px;
  padding-top: 24px;
}
.btn-add-cart {
  margin-top: 24px; padding: 16px 32px;
  background: var(--fg); color: var(--bg);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; text-align: center;
  position: relative; overflow: hidden;
  transition: opacity var(--dur) ease;
}
.btn-add-cart:hover { opacity: 0.85; }
.btn-add-cart.added { pointer-events: none; }
.btn-add-cart .btn-text { transition: transform 0.3s var(--ease), opacity 0.2s ease; display: block; }
.btn-add-cart.added .btn-text { transform: translateY(-100%); opacity: 0; }
.btn-add-cart .btn-confirm {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
}
.btn-add-cart.added .btn-confirm { transform: translateY(0); }

/* ── Upsell Banner ── */
.upsell-banner {
  margin-top: 20px;
  border: 1.5px solid transparent;
  padding: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0;
  transition: background var(--dur) ease;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
.upsell-banner:hover { background: #fafafa; }
.upsell-img-wrap {
  width: 72px; height: 72px; flex-shrink: 0;
  position: relative; overflow: hidden;
  border-right: 1.5px solid transparent;
}
.upsell-img-wrap .product-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.upsell-img-fb {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700;
  font-size: 0.7rem; opacity: 0.15;
  background: #fff;
}
.upsell-text { flex: 1; min-width: 0; padding: 14px 16px; overflow: hidden; }
.upsell-label {
  font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.upsell-product-name {
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.upsell-price { font-weight: 700; font-size: 0.75rem; margin-top: 2px; }
.upsell-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  background: var(--fg); color: var(--bg);
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  transition: opacity var(--dur) ease;
  white-space: nowrap;
}
.upsell-btn:hover { opacity: 0.85; }

/* ── You May Also Like ── */
.related-section {
  grid-column: 1 / -1;
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 48px);
}
.related-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.related-scroll {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap);
}
.related-card {
  border-right: var(--grid-gap) solid transparent;
  border-bottom: var(--grid-gap) solid transparent;
  cursor: pointer; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: opacity var(--dur) ease;
}
.related-card:last-child { border-right: none; }
.related-card:hover { opacity: 0.85; }
.related-card-img {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700;
  font-size: 0.9rem; opacity: 0.12; user-select: none;
  position: relative; overflow: hidden;
}
.related-card-img:has(.product-img) { opacity: 1; }
.related-card-info {
  padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.related-card-name {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.related-card-price { font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   Checkout Upsells
   ═══════════════════════════════════════════ */
.checkout-upsell-section {
  margin-top: 32px;
  padding-top: 24px;
}
.checkout-upsell-heading {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 20px;
}
.checkout-upsell-grid {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid transparent;
  overflow: hidden;
}
.checkout-upsell-item {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: 16px; align-items: center;
  padding: 16px;
  border-bottom: 1px solid transparent;
  transition: background var(--dur) ease;
  animation: slideIn 0.3s var(--ease) both;
}
.checkout-upsell-item:last-child { border-bottom: none; }
.checkout-upsell-item:hover { background: #fafafa; }
.cu-img {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700;
  font-size: 0.7rem; opacity: 0.12;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.cu-name {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 4px;
}
.cu-pricing { display: flex; align-items: center; gap: 8px; }
.cu-original {
  font-size: 0.7rem; color: var(--muted);
  text-decoration: line-through;
}
.cu-discounted { font-size: 0.85rem; font-weight: 700; }
.cu-badge {
  font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--fg); color: var(--bg);
  padding: 2px 8px;
}
.cu-msg {
  font-size: 0.65rem; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 4px;
}
.cu-add {
  padding: 10px 18px;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--fg); color: var(--bg);
  border: none; cursor: pointer;
  transition: opacity var(--dur) ease;
  white-space: nowrap;
  font-family: var(--sans);
}
.cu-add:hover { opacity: 0.85; }

/* ── Cart Page ── */
.cart-layout { max-width: 640px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 48px); overflow: hidden; }
.cart-layout h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.02em; margin-bottom: 32px;
}
.cart-empty {
  text-align: center; padding: 64px 0;
  color: var(--muted); font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.cart-item {
  display: grid; grid-template-columns: 80px 1fr auto auto auto;
  gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid transparent;
  animation: slideIn 0.3s var(--ease) both;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
.cart-item-img {
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700;
  font-size: 0.7rem; opacity: 0.12;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.cart-item-img:has(.product-img) { opacity: 1; }
.cart-item-name { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.cart-item-cat { font-size: 0.6rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }
.cart-item-price { font-weight: 700; font-size: 0.85rem; }
.cart-qty { display: flex; align-items: center; gap: 0; border: var(--grid-gap) solid transparent; }
.cart-qty button {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700;
  transition: background var(--dur) ease;
}
.cart-qty button:hover { background: var(--fg); color: var(--bg); }
.cart-qty span {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600;
  border-left: var(--grid-gap) solid transparent;
  border-right: var(--grid-gap) solid transparent;
}
.cart-item-remove { opacity: 0.3; font-size: 1.2rem; line-height: 1; transition: opacity var(--dur) ease; }
.cart-item-remove:hover { opacity: 1; }
.cart-footer {
  margin-top: 32px; padding-top: 24px;
  border-top: 2px solid transparent;
  display: flex; justify-content: space-between; align-items: center;
}
.cart-total-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.cart-total-val { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; }
.btn-checkout {
  margin-top: 24px; width: 100%; padding: 16px;
  background: var(--fg); color: var(--bg);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; text-align: center;
  transition: opacity var(--dur) ease;
}
.btn-checkout:hover { opacity: 0.85; }

/* ── Toast ── */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 12px 20px; background: var(--fg); color: var(--bg);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  animation: toastIn 0.3s var(--ease), toastOut 0.3s var(--ease) 2.2s forwards;
  white-space: nowrap;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px) scale(0.95); } }

/* ── 404 ── */
.not-found {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: calc(100dvh - var(--nav-h) - var(--grid-gap));
  text-align: center; padding: 48px;
}
.not-found h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(4rem, 10vw, 8rem); opacity: 0.15; }
.not-found p { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 16px; }
.not-found a { margin-top: 24px; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid var(--fg); padding-bottom: 2px; }

/* ── Admin ── */
.admin-layout { max-width: 860px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 48px); }
.admin-layout h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.02em; margin-bottom: 8px; }
.admin-sub { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 32px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left; font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.admin-table td {
  padding: 12px 0; font-size: 0.8rem;
  border-bottom: 1px solid transparent;
  vertical-align: middle;
}
.admin-table .td-actions { display: flex; gap: 8px; }
.admin-btn {
  padding: 4px 10px; font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid transparent; transition: background var(--dur) ease, color var(--dur) ease;
}
.admin-btn:hover { background: var(--fg); color: var(--bg); }
.admin-btn.danger { border-color: #c00; color: #c00; }
.admin-btn.danger:hover { background: #c00; color: var(--bg); }
.admin-add-bar {
  margin-top: 24px; padding: 16px 0;
  border-top: 2px solid transparent;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.admin-input {
  padding: 8px 12px; font-family: var(--sans); font-size: 0.75rem;
  border: 1px solid #ddd; outline: none;
  transition: border-color var(--dur) ease;
}
.admin-input:focus { border-color: var(--fg); }
.admin-input.wide { flex: 1; min-width: 120px; }
.admin-tabs {
  display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 28px;
  border-bottom: 2px solid transparent;
}
.admin-tab {
  padding: 10px 16px; font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); position: relative; top: 2px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--dur) ease, border-color var(--dur) ease;
  white-space: nowrap;
}
.admin-tab:hover { color: var(--fg); }
.admin-tab.active { color: var(--fg); border-bottom-color: var(--fg); }
.admin-sections-grid {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 0;
}
.admin-sections-grid .page-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}
.admin-sections-grid .section-toggles {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  align-items: center;
}
.toggle-chip {
  padding: 4px 12px; font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid #ddd; cursor: pointer;
  transition: background var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease;
  user-select: none;
}
.toggle-chip:hover { border-color: var(--fg); }
.toggle-chip.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.share-toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid transparent;
}
.share-toggle-row svg { width: 18px; height: 18px; }
.share-toggle-label {
  font-size: 0.8rem; font-weight: 500;
  display: flex; align-items: center; gap: 12px;
}

/* ── Upsell Admin ── */
.upsell-admin-list { border-top: 1px solid transparent; }
.upsell-admin-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid transparent; gap: 16px;
}
.upsell-admin-name { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.upsell-admin-pricing { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.upsell-admin-disc { color: #c00; font-weight: 700; }
.upsell-admin-msg { font-size: 0.65rem; color: var(--muted); margin-top: 2px; letter-spacing: 0.06em; text-transform: uppercase; }
.upsell-admin-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* ── Design Section Heading ── */
.design-section-heading {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 20px 0 12px;
  border-bottom: 2px solid transparent;
  margin-bottom: 8px;
}

/* ── Product Type Badge ── */
.type-badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  padding: 3px 8px; font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--bg); color: var(--fg);
  border: 1px solid transparent;
  opacity: 0.7; transition: opacity var(--dur) ease;
}
.product-card:hover .type-badge { opacity: 1; }

/* ── Option Pills ── */
.option-group { margin-top: 16px; }
.option-label {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.option-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.option-pill {
  padding: 8px 16px; font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid #ddd; background: none; color: var(--fg);
  cursor: pointer; transition: all var(--dur) ease;
  -webkit-tap-highlight-color: transparent;
}
.option-pill:hover { border-color: var(--fg); }
.option-pill.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.option-pill .price-delta { font-weight: 700; margin-left: 4px; }

/* ── Type Badge (detail page) ── */
.detail-type-badge {
  display: inline-block; padding: 4px 10px;
  font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid transparent; margin-bottom: 8px;
}
.detail-note {
  font-size: 0.7rem; color: var(--muted);
  margin-top: 8px; line-height: 1.5;
}

/* ── Wishlist Toggle (heart on cards) ── */
.wish-toggle {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--dur) ease;
  -webkit-tap-highlight-color: transparent;
}
.product-card:hover .wish-toggle { opacity: 1; }
.wish-toggle svg { width: 18px; height: 18px; stroke: var(--fg); fill: none; stroke-width: 2; transition: fill 0.25s ease, stroke 0.25s ease; }
.wish-toggle.active svg { fill: var(--fg); stroke: var(--fg); }

/* ── Detail Actions Row ── */
.detail-actions {
  margin-top: 24px;
  display: flex; align-items: center; gap: 12px;
}
.detail-actions .btn-add-cart { margin-top: 0; flex: 1; }
.btn-wish-detail {
  width: 52px; height: 52px;
  border: 1.5px solid transparent;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: background var(--dur) ease, color var(--dur) ease;
  cursor: pointer;
}
.btn-wish-detail svg { width: 20px; height: 20px; stroke: var(--fg); fill: none; stroke-width: 2; transition: fill 0.25s ease, stroke 0.25s ease; }
.btn-wish-detail:hover { background: var(--fg); color: var(--bg); }
.btn-wish-detail:hover svg { stroke: var(--bg); }
.btn-wish-detail.active { background: var(--fg); color: var(--bg); }
.btn-wish-detail.active svg { stroke: var(--bg); fill: var(--bg); }
.btn-wish-detail.active:hover { opacity: 0.85; }
.btn-wish-detail .wish-tooltip {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--fg); color: var(--bg);
  padding: 6px 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.btn-wish-detail:hover .wish-tooltip { opacity: 1; }

/* ── Share Panel ── */
.share-wrap { margin-top: 12px; position: relative; }
.btn-share {
  width: 100%; padding: 16px 32px;
  border: 1px solid transparent;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background var(--dur) ease, color var(--dur) ease;
}
.btn-share svg { width: 16px; height: 16px; }
.btn-share:hover { background: var(--fg); color: var(--bg); }
.share-panel {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg); border: 1px solid transparent;
  border-top: none; z-index: 10;
  animation: panelIn 0.2s var(--ease);
}
@keyframes panelIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.share-option {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background var(--dur) ease;
  -webkit-tap-highlight-color: transparent;
}
.share-option:hover { background: #f5f5f5; }
.share-option svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Nav Wishlist Icon ── */
.nav-wish {
  position: relative; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-wish svg { width: 18px; height: 18px; stroke: var(--fg); fill: none; stroke-width: 2; }
.nav-wish .cart-badge { top: -6px; right: -10px; }

/* ── Wishlist Page ── */
.wish-empty {
  text-align: center; padding: 64px 0;
  color: var(--muted); font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.wish-item {
  display: grid; grid-template-columns: 80px 1fr auto auto;
  gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid transparent;
  animation: slideIn 0.3s var(--ease) both;
}
.wish-item-img {
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700;
  font-size: 0.7rem; opacity: 0.12;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.wish-item-name { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.wish-item-cat { font-size: 0.6rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }
.wish-item-price { font-weight: 700; font-size: 0.85rem; }
.wish-item-actions { display: flex; gap: 8px; }
.wish-item-actions button {
  padding: 6px 14px; font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background var(--dur) ease, color var(--dur) ease;
}
.wish-item-actions button:hover { background: var(--fg); color: var(--bg); }
.wish-item-actions button.danger { border-color: #c00; color: #c00; }
.wish-item-actions button.danger:hover { background: #c00; color: var(--bg); }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 300; animation: fadeIn 0.2s ease;
}
.modal {
  background: var(--bg); padding: clamp(24px, 4vw, 40px);
  width: 90%; max-width: 480px;
  max-height: 85vh; overflow-y: auto;
  border: 2px solid var(--fg);
  animation: modalIn 0.3s var(--ease);
  -webkit-overflow-scrolling: touch;
}
.modal h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 20px;
}
.modal-field { margin-bottom: 16px; }
.modal-field label {
  display: block; font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.modal-field input, .modal-field select {
  width: 100%; padding: 10px 12px; font-family: var(--sans); font-size: 0.8rem;
  border: 1px solid #ddd; outline: none;
  transition: border-color var(--dur) ease;
}
.modal-field input:focus, .modal-field select:focus { border-color: var(--fg); }
.modal-actions { display: flex; gap: 12px; margin-top: 24px; }
.modal-actions button {
  flex: 1; padding: 12px; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; text-align: center;
  border: 1px solid transparent; transition: background var(--dur) ease, color var(--dur) ease;
}
.modal-actions button:hover { background: var(--fg); color: var(--bg); }
.modal-actions button.primary { background: var(--fg); color: var(--bg); }
.modal-actions button.primary:hover { opacity: 0.85; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ── Related Product Picker (admin modal) ── */
.related-picker {
  display: flex; flex-wrap: wrap; gap: 6px;
  max-height: 140px; overflow-y: auto;
  padding: 8px;
  border: 1px solid #ddd;
}
.related-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid #ddd; cursor: pointer;
  transition: background var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease;
  user-select: none;
}
.related-chip input { display: none; }
.related-chip:has(input:checked) { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ── Login Overlay ── */
.login-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.3s ease;
}
.login-modal {
  width: 90%; max-width: 320px; text-align: center;
  animation: modalIn 0.4s var(--ease);
}
.login-brand {
  font-family: var(--serif); font-weight: 700;
  font-size: 2.8rem; letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.login-brand .reg { font-size: 0.35em; position: relative; top: -0.3em; left: 0.02em; opacity: 0.5; }
.login-sub {
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 40px;
}
.login-field input {
  width: 100%; padding: 14px 16px; font-family: var(--sans);
  font-size: 0.85rem; text-align: center; letter-spacing: 0.15em;
  border: 2px solid transparent; outline: none;
  background: transparent; transition: border-color var(--dur) ease;
}
.login-field input:focus { border-color: var(--fg); }
.login-field input.error { border-color: #c00; }
.login-btn {
  display: block; width: 100%; margin-top: 16px; padding: 14px;
  font-family: var(--sans); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--fg); color: var(--bg); border: none; cursor: pointer;
  transition: opacity var(--dur) ease;
}
.login-btn:hover { opacity: 0.85; }
.login-err {
  min-height: 20px; margin-top: 12px;
  font-size: 0.7rem; color: #c00;
  letter-spacing: 0.05em;
}

/* ── Admin Header Row ── */
.admin-header-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 8px;
}
.admin-header-row h1 { margin-bottom: 4px; }
.admin-header-actions { display: flex; gap: 8px; flex-shrink: 0; margin-top: 8px; }
.admin-header-actions .admin-btn { font-size: 0.55rem; padding: 6px 14px; }

/* ── Content Tab ── */
.content-desc {
  font-size: 0.78rem; line-height: 1.6; color: var(--fg);
  padding: 16px 0; border-bottom: 1px solid transparent;
  margin-bottom: 20px;
}
.content-empty {
  text-align: center; padding: 48px 0; color: var(--muted);
}
.content-empty-icon {
  font-size: 2rem; font-family: var(--serif); font-weight: 700;
  opacity: 0.3; margin-bottom: 12px;
}
.content-table {
  border-top: 1px solid transparent; margin-bottom: 16px;
}
.content-row {
  display: grid; grid-template-columns: 1fr 2fr auto;
  gap: 16px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid transparent;
  transition: background var(--dur) ease;
}
.content-row:hover { background: #fafafa; }
.content-key {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg); word-break: break-all;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}
.content-value {
  font-size: 0.78rem; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.content-row-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* ── Live Edit Tab ── */
.live-edit-hero {
  text-align: center; padding: 40px 0 32px;
  border-bottom: 2px solid transparent;
  margin-bottom: 28px;
}
.le-hero-icon { margin-bottom: 16px; }
.le-hero-icon svg { width: 40px; height: 40px; stroke: var(--fg); }
.le-hero-title {
  font-family: var(--serif); font-weight: 700;
  font-size: 1.6rem; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.le-hero-desc {
  font-size: 0.78rem; color: var(--muted);
  max-width: 460px; margin: 0 auto; line-height: 1.6;
}
.le-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; margin-bottom: 32px;
  border: 1px solid #eee;
}
.le-feature {
  padding: 20px; border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
}
.le-feature:nth-child(2n) { border-right: none; }
.le-feature:nth-child(n+3) { border-bottom: none; }
.le-feature-title {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 6px;
}
.le-feature-desc { font-size: 0.72rem; color: var(--muted); line-height: 1.5; }
.le-start-btn {
  display: block; width: 100%; padding: 16px;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--fg); color: var(--bg);
  text-align: center;
  transition: opacity var(--dur) ease;
}
.le-start-btn:hover { opacity: 0.85; }
.le-active-info { border: 1px solid var(--fg); padding: 0; margin-bottom: 24px; }
.le-info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid transparent;
}
.le-info-row:last-child { border-bottom: none; }
.le-info-label {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted);
}
.le-info-val { font-size: 0.75rem; font-weight: 500; }
.le-status-on {
  display: inline-flex; align-items: center; gap: 6px;
  color: #0a0; font-weight: 600;
}
.le-status-on::before {
  content: ''; display: block; width: 6px; height: 6px;
  border-radius: 50%; background: #0a0;
  animation: lePulse 1.5s ease infinite;
}
@keyframes lePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.le-nav-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.le-nav-btn { font-size: 0.6rem !important; padding: 8px 16px !important; }
.le-stop-btn {
  display: block; width: 100%; padding: 14px;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid #c00; color: #c00; text-align: center;
  background: transparent;
  transition: background var(--dur) ease, color var(--dur) ease;
}
.le-stop-btn:hover { background: #c00; color: var(--bg); }


/* ═══════════════════════════════════════════
   Section Arranger (Admin)
   ═══════════════════════════════════════════ */
.section-arranger { margin-bottom: 24px; }
.section-arranger-page {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 12px 0; border-bottom: 2px solid transparent;
  margin-bottom: 0;
}
.section-arranger-list { list-style: none; }
.section-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  font-size: 0.75rem;
}
.section-item-drag { cursor: grab; color: var(--muted); font-size: 0.8rem; user-select: none; }
.section-item-name { flex: 1; font-weight: 500; }
.section-item-name small { color: var(--muted); font-weight: 400; margin-left: 6px; }
.section-item-actions { display: flex; gap: 4px; }
.section-item-actions .admin-btn { padding: 3px 8px; font-size: 0.55rem; }
.section-add-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0; border-bottom: 1px solid transparent; margin-bottom: 24px; }

/* ── Live Edit Toolbar (floating) ── */
.live-edit-toolbar {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 44px; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  background: var(--fg); color: var(--bg);
  border-top: 2px solid transparent;
  animation: leToolbarIn 0.3s var(--ease);
  padding-bottom: var(--safe-b);
}
@keyframes leToolbarIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
.le-left { display: flex; align-items: center; gap: 10px; }
.le-dot { width: 7px; height: 7px; border-radius: 50%; background: #0f0; animation: lePulse 1.5s ease infinite; }
.le-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.le-page { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.1em; opacity: 0.6; font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; }
.le-exit {
  padding: 6px 16px; font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  background: transparent; color: var(--bg);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer; transition: background var(--dur) ease;
}
.le-exit:hover { background: rgba(255,255,255,0.15); }

/* ── Live Edit Mode: element highlights ── */
body.live-edit-active [data-edit-key] {
  cursor: text;
  outline: 1px dashed transparent;
  outline-offset: 3px;
  transition: outline-color 0.15s ease, background-color 0.15s ease;
}
body.live-edit-active [data-edit-key]:hover {
  outline-color: var(--fg);
  background-color: rgba(0,0,0,0.04);
}
body.live-edit-active #app > .page { padding-bottom: 60px; }

/* ── Live Edit: Section Badges ── */
.le-section-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10,10,10,0.88);
  color: #fff;
  padding: 5px 8px;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  pointer-events: auto;
  user-select: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.15s ease;
  font-family: var(--sans);
}
.le-section-badge .le-sec-name {
  pointer-events: none;
  white-space: nowrap;
  background: none;
  border: none;
  color: #fff;
  font: inherit;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: default;
  line-height: 1;
}
.le-section-badge .le-sec-name-clickable {
  pointer-events: auto;
  cursor: pointer;
  padding-right: 2px;
  border-radius: 2px;
  transition: background 0.12s ease;
}
.le-section-badge .le-sec-name-clickable:hover {
  background: rgba(255,255,255,0.12);
}
.le-sd-caret {
  opacity: 0.5;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.le-section-badge .le-sec-name-clickable:hover .le-sd-caret {
  opacity: 1;
}
.le-section-badge .le-sec-remove,
.le-section-badge .le-sec-up,
.le-section-badge .le-sec-down {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 2px;
  font-size: 0.6rem;
  color: #fff;
  cursor: pointer;
  transition: background 0.12s ease;
  padding: 0;
  line-height: 1;
}
.le-section-badge .le-sec-remove:hover { background: #c00; }
.le-section-badge .le-sec-up:hover,
.le-section-badge .le-sec-down:hover { background: rgba(255,255,255,0.3); }

/* ── Live Edit: Switch Dropdown ── */
.le-switch-dropdown {
  position: fixed;
  z-index: 200;
  background: rgba(12,12,12,0.95);
  color: #fff;
  padding: 10px 0;
  border-radius: 6px;
  min-width: 200px;
  max-width: 260px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--sans);
  animation: leSdIn 0.15s var(--ease);
}
@keyframes leSdIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.le-sd-title {
  font-size: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 0 14px 8px;
}
.le-sd-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 6px 14px 8px;
}
.le-sd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  cursor: pointer;
  transition: background 0.1s ease;
}
.le-sd-item:hover {
  background: rgba(255,255,255,0.08);
}
.le-sd-item.le-sd-current {
  cursor: default;
  opacity: 0.4;
}
.le-sd-item.le-sd-current:hover {
  background: transparent;
}
.le-sd-item.le-sd-inactive {
  opacity: 0.3;
  cursor: not-allowed;
}
.le-sd-item.le-sd-inactive:hover {
  background: transparent;
}
.le-sd-item-name {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.le-sd-item-badge {
  font-size: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}
.le-sd-item.le-sd-current .le-sd-item-badge {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.3);
}
.le-sd-badge-hidden {
  background: rgba(255,80,80,0.12);
  color: rgba(255,120,120,0.7);
}
.le-sd-badge-active {
  background: rgba(80,255,120,0.1);
  color: rgba(120,255,150,0.7);
}
.le-sd-empty {
  padding: 14px;
  font-size: 0.5rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Live Edit: Inline Add-Section Dividers ── */
.le-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  position: relative;
  z-index: 40;
  pointer-events: none;
}
.le-divider-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10,10,10,0.75);
  color: rgba(255,255,255,0.5);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 5px 14px;
  font-size: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--sans);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.le-divider-btn svg {
  opacity: 0.6;
  transition: opacity 0.15s ease;
}
.le-divider-btn:hover {
  background: rgba(10,10,10,0.9);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.le-divider-btn:hover svg {
  opacity: 1;
}

/* ── Live Edit: Hidden Sections Bottom Bar ── */
.le-hidden-bar {
  position: fixed;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,10,10,0.9);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  font-family: var(--sans);
  animation: leBarIn 0.2s var(--ease);
}
@keyframes leBarIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.le-hb-label {
  font-size: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-right: 4px;
}
.le-hb-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 3px;
  padding: 4px 10px;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.12s ease;
  font-family: var(--sans);
}
.le-hb-item:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.le-hb-plus {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.6;
}
.le-hb-item:hover .le-hb-plus {
  opacity: 1;
}

/* ── Inline Editor ── */
.inline-editor {
  position: fixed; z-index: 350;
  width: 300px;
  background: var(--bg);
  border: 2px solid var(--fg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  animation: modalIn 0.2s var(--ease);
}
.ie-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-bottom: 1px solid transparent;
}
.ie-key {
  font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); word-break: break-all;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}
.ie-close {
  width: 24px; height: 24px; display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; color: var(--muted);
  transition: color var(--dur) ease;
}
.ie-close:hover { color: var(--fg); }
.ie-input {
  width: 100%; min-height: 80px; padding: 12px;
  font-family: var(--sans); font-size: 0.8rem; line-height: 1.5;
  border: none; outline: none; resize: vertical;
  border-bottom: 1px solid transparent;
}
.ie-actions { display: flex; gap: 0; }
.ie-actions button {
  flex: 1; padding: 10px; font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; text-align: center;
  border: none; cursor: pointer;
  transition: background var(--dur) ease, color var(--dur) ease;
}
.ie-cancel { background: transparent; color: var(--fg); border-right: 1px solid #eee !important; }
.ie-cancel:hover { background: #f5f5f5; }
.ie-save { background: var(--fg); color: var(--bg); }
.ie-save:hover { opacity: 0.85; }

/* ═══════════════════════════════════════════════
   RESPONSIVE — Premium Mobile
   ═══════════════════════════════════════════════ */

/* ── Wide tablet (≤1270px) ── */
@media (max-width: 1270px) {
  .detail-layout { grid-template-columns: 3fr 2fr; }
}

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .sheet { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-card:nth-child(4n) { border-right: var(--grid-gap) solid transparent; }
  .product-card:nth-child(3n) { border-right: none; }
  .related-scroll { grid-template-columns: repeat(3, 1fr); }
  .related-card:nth-child(4n) { border-right: var(--grid-gap) solid transparent; }
  .related-card:nth-child(3n) { border-right: none; }
  .carousel-track--metro .carousel-card { flex: 0 0 33.333%; }
  .carousel-track--metro .carousel-card:nth-child(3n) { border-right: none; }

  /* Category cards: intentional mirror zigzag (2+1 / 1+2) fills 3-col grid exactly */
  .cat-card:nth-child(4n+1) { grid-column: span 2; }
  .cat-card:nth-child(4n+2) { grid-column: span 1; aspect-ratio: 4/5; }
  .cat-card:nth-child(4n+3) { grid-column: span 1; aspect-ratio: 4/5; }
  .cat-card:nth-child(4n)   { grid-column: span 2; }

  /* Hero & featured strip span full 3-col grid */
  .hero { grid-column: span 3; }
  .featured-strip { grid-column: span 3; }

  /* Product grid spans full 3-col grid */
  .product-grid { grid-column: span 3; }

  /* Carousel & mailing list span full 3-col grid */
  .carousel-wrap { grid-column: span 3; }
  .ml-wrap { grid-column: span 3; }

}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  :root { --nav-h: 52px; }

  /* Nav */
  .nav { padding: 0 16px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.6rem; padding: 4px 0; }
  .nav-cart svg, .nav-wish svg { width: 22px; height: 22px; }
  .cart-badge { width: 18px; height: 18px; font-size: 0.5rem; top: -7px; }

  /* Sheet: 2-col */
  .sheet { grid-template-columns: repeat(2, 1fr); }

  /* Category cards */
  .cat-card {
    grid-column: span 2;
    aspect-ratio: 5/3;
    padding: 20px;
  }

  /* Product grid */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-column: span 2;
  }
  .product-card:nth-child(4n) { border-right: var(--grid-gap) solid transparent; }
  .product-card:nth-child(2n) { border-right: none; }
  .product-card-img { aspect-ratio: 4/5; }
  .product-card-info { padding: 10px 12px; }
  .product-card-name { font-size: 0.6rem; letter-spacing: 0.04em; }
  .product-card-price { font-size: 0.7rem; }
  .product-card-add {
    position: relative; transform: none;
    padding: 12px; font-size: 0.55rem;
    letter-spacing: 0.12em;
    border-top: var(--grid-gap) solid transparent;
  }
  .wish-toggle { opacity: 1; width: 28px; height: 28px; }
  .wish-toggle svg { width: 16px; height: 16px; }

  /* Detail: stacked */
  .detail-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .detail-image {
    aspect-ratio: 1;
    max-width: none;
    max-height: 450px;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .detail-image .product-img {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .detail-info {
    padding: 24px 16px 100px;
    justify-content: flex-start;
    max-width: none;
    margin: 0;
    overflow: hidden;
  }
  .detail-breadcrumb { margin-bottom: 16px; font-size: 0.55rem; }
  .detail-name { font-size: 1.6rem; }
  .detail-price { font-size: 1.1rem; margin-top: 8px; }
  .detail-desc { font-size: 0.8rem; margin-top: 12px; max-width: none; }
  .detail-category { margin-top: 20px; padding-top: 16px; }

  /* Sticky add-to-cart + wish */
  .detail-actions {
    position: fixed; bottom: 0; left: 0; right: 0;
    display: flex; align-items: center; gap: 0;
    z-index: 90; margin-top: 0;
    padding-bottom: var(--safe-b);
    background: var(--bg);
  }
  .detail-actions .btn-add-cart {
    flex: 1; margin: 0; border-radius: 0;
    padding: 16px; padding-bottom: 0;
  }
  .btn-wish-detail {
    width: auto; height: auto;
    border: none;
    padding: 16px 20px;
  }
  .btn-wish-detail svg { width: 22px; height: 22px; }
  .btn-wish-detail .wish-tooltip { display: none; }

  /* Upsell */
  .upsell-banner {
    margin-top: 16px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 0;
  }
  .upsell-img-wrap { width: 100%; height: 120px; border-right: none; border-bottom: 1.5px solid transparent; }
  .upsell-text { padding: 14px 16px 0; }
  .upsell-btn { text-align: center; margin: 12px 16px 14px; }

  /* Related: horizontal scroll */
  .related-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px;
  }
  .related-scroll::-webkit-scrollbar { display: none; }
  .related-card {
    flex: 0 0 44vw;
    max-width: 200px;
    scroll-snap-align: start;
    border-right: var(--grid-gap) solid transparent;
    border-bottom: none;
  }
  .related-card-img { aspect-ratio: 4/5; }
  .related-section { padding: clamp(24px, 5vw, 40px) 16px; }

  /* Cart: stacked */
  .cart-item {
    grid-template-columns: 72px 1fr;
    gap: 12px; position: relative;
    padding-right: 28px;
  }
  .cart-item-img { width: 72px; height: 72px; }
  .cart-item-price { grid-column: 2; justify-self: start; font-size: 0.8rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
  .cart-qty { grid-column: 2; justify-self: start; margin-top: 8px; }
  .cart-qty button { width: 36px; height: 36px; }
  .cart-qty span { width: 36px; height: 36px; }
  .cart-item-remove { position: absolute; top: 0; right: 0; font-size: 1.4rem; padding: 4px; }
  .cart-footer { flex-direction: column; gap: 12px; text-align: center; }
  .btn-checkout { margin-top: 16px; padding: 16px; padding-bottom: calc(16px + var(--safe-b)); }

  /* Wishlist */
  .wish-item {
    grid-template-columns: 64px 1fr;
    gap: 12px; position: relative;
  }
  .wish-item-img { width: 64px; height: 64px; }
  .wish-item-price { position: absolute; top: 12px; right: 0; font-size: 0.8rem; }
  .wish-item-actions { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 8px; }
  .wish-item-actions button { flex: 1; text-align: center; padding: 12px; }

  /* Checkout upsells */
  .checkout-upsell-item {
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 12px;
  }
  .cu-info { min-width: 0; overflow: hidden; }
  .cu-pricing { flex-wrap: wrap; }
  .cu-img { width: 56px; height: 56px; }
  .cu-add { grid-column: 1 / -1; text-align: center; margin-top: 4px; }

  /* Carousel mobile */
  .carousel-track--metro {
    display: flex; gap: 0; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .carousel-track--metro::-webkit-scrollbar { display: none; }
  .carousel-track--metro .carousel-card {
    flex: 0 0 50vw; max-width: 220px;
    scroll-snap-align: start;
    border-bottom: none;
  }
  .carousel-track--metro .carousel-card:nth-child(4n) { border-right: var(--grid-gap) solid transparent; }
  .carousel-track--scroll .carousel-card,
  .carousel-track--minimal .carousel-card { flex: 0 0 65vw; max-width: 260px; }
  .carousel-track--compact .carousel-card { flex: 0 0 50vw; max-width: 200px; }
  .carousel-header { padding: 0 16px; margin-bottom: 12px; }
  .carousel-wrap { padding: 0; }

  /* Mailing list mobile */
  .ml-inline-inner {
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 20px 16px;
  }
  .ml-inline-form { flex-direction: column; gap: 0; }
  .ml-inline-form .ml-input { min-width: 0; border-bottom: none; border-right: none; }
  .ml-minimal-inner { flex-wrap: wrap; padding: 16px; }
  .ml-minimal-inner .ml-input { flex: 1 1 100%; border-bottom: 1px solid transparent; }
  .ml-minimal-inner .ml-btn--outline { flex: 0 0 auto; margin-top: 8px; }

  /* Hero split mobile */
  .hero--split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero--split .hero-split-accent {
    min-height: 120px;
    font-size: 2rem;
  }

  /* Admin */
  .admin-table { font-size: 0.7rem; }
  .admin-table th, .admin-table td { padding: 10px 4px; }
  .admin-add-bar { flex-direction: column; align-items: stretch; }
  .admin-input.wide { min-width: unset; }
  .admin-header-row { flex-direction: column; gap: 12px; }
  .admin-header-actions { align-self: stretch; }
  .admin-header-actions .admin-btn { flex: 1; text-align: center; padding: 10px; }
  .content-row { grid-template-columns: 1fr; gap: 8px; }
  .content-value { white-space: normal; }
  .le-features { grid-template-columns: 1fr; }
  .le-feature { border-right: none !important; }
  .le-feature:nth-child(odd) { border-bottom: 1px solid transparent; }
  .le-feature:nth-child(even) { border-bottom: 1px solid transparent; }
  .le-feature:last-child { border-bottom: none !important; }
  .inline-editor { width: calc(100% - 24px); left: 12px !important; bottom: 56px !important; top: auto !important; }

  /* Modal */
  .modal {
    width: 100%; max-width: none;
    max-height: 90vh;
    border-left: none; border-right: none;
    border-radius: 0;
    animation: modalSlideUp 0.35s var(--ease);
  }
  @keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Toast */
  .toast-container { bottom: 80px; left: 16px; right: 16px; align-items: center; }
  .toast { text-align: center; white-space: normal; }

  .featured-strip { padding: 14px 16px; }
  .option-pills { gap: 8px; }
  .option-pill { padding: 10px 0; flex: 1; text-align: center; font-size: 0.6rem; }
}

/* ── Mobile Portrait (≤480px) ── */
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2.5rem, 14vw, 4rem); }
  .hero-sub { font-size: 0.6rem; letter-spacing: 0.2em; }
  .hero-scroll { display: none; }
  .nav-links a { font-size: 0; width: 0; overflow: hidden; position: absolute; }
  .nav-links a::after { display: none; }
  .nav-wish, .nav-cart { margin-left: 4px; }
  .nav-wish svg, .nav-cart svg { width: 24px; height: 24px; }

  .cat-card { aspect-ratio: 3/2; padding: 16px; }
  .cat-card h2 { font-size: 1.2rem; }

  .related-card { flex: 0 0 60vw; max-width: 180px; }

  .upsell-label { font-size: 0.5rem; }
  .upsell-product-name { font-size: 0.75rem; }
  .upsell-price { font-size: 0.7rem; }

  .detail-info { padding-bottom: 96px; }
  .btn-add-cart { font-size: 0.65rem; }

  .carousel-track--scroll .carousel-card,
  .carousel-track--minimal .carousel-card { flex: 0 0 75vw; }

  .checkout-upsell-heading { font-size: 0.6rem; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }