/* Kegam — Landing */

:root {
  --bg: #FFFFFF;
  --bg-2: #F7F6F3;
  --ink: #131312;
  --ink-2: #2A2A28;
  --muted: #7A756D;
  --line: #E8E4DC;
  --line-2: #D4CEC1;
  --accent: #33312D;
  --accent-ink: #33312D;
  --ann-bg: #FFFFFF;
  --ann-ink: #131312;
  --ann-line: #E8E4DC;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --mono: 'Inter', -apple-system, system-ui, sans-serif;

  --max: 100%;
  --pad: clamp(20px, 3vw, 40px);

  --nav-account-menu-bg: rgba(19,19,18,0.05);
}

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


html,
body {
  scrollbar-width: thin;
  scrollbar-color: rgba(19,19,18,0.28) transparent;
}

html { overflow-y: scroll; overflow-x: clip; }

/* smooth scroll solo en desktop — en mobile el browser maneja su propio momentum */
@media (min-width: 821px) {
  html, body { scroll-behavior: smooth; }
}

html,
body,
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(19,19,18,0.28) transparent;
}

::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track,
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  background: rgba(19,19,18,0.22);
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background: rgba(19,19,18,0.38);
  background-clip: content-box;
}

.nav-theme-dark,
.nav-theme-dark * {
  scrollbar-color: rgba(247,246,243,0.28) transparent;
}

.nav-theme-dark::-webkit-scrollbar-thumb,
.nav-theme-dark *::-webkit-scrollbar-thumb {
  background: rgba(247,246,243,0.24);
  background-clip: content-box;
}

.nav-theme-dark::-webkit-scrollbar-thumb:hover,
.nav-theme-dark *::-webkit-scrollbar-thumb:hover {
  background: rgba(247,246,243,0.42);
  background-clip: content-box;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.5;
  overflow-x: clip;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; border-radius: 12px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ——— Typography ——— */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.07;
}

.display-xl { font-size: clamp(44px, 5.5vw, 80px); line-height: 1.07; }
.display-lg { font-size: clamp(40px, 5vw, 72px); }

.hero-title-line {
  display: block;
}
.display-md { font-size: clamp(32px, 4.5vw, 64px); }
.display-sm { font-size: clamp(24px, 2.8vw, 40px); }

.body-lg { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.body    { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.body-sm { font-size: 13px; line-height: 1.5; color: var(--muted); }

.label {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}

/* ——— Layout primitives ——— */
.container { width: 100%; margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(96px, 11vw, 160px) 0; }
.section-tight { padding: clamp(96px, 11vw, 160px) 0; }
.divider { height: 0.5px; background: var(--line); width: 100%; }
.divider-full { height: 0.5px; background: var(--line); width: 100%; }

/* ——— Placeholder images ——— */
.ph {
  position: relative;
  background: linear-gradient(180deg, #EDEDEB 0%, #D8D7D3 100%);
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--sans);
  font-size: 10px;
  color: rgba(26,26,26,0.55);
}
.ph-dark {
  background: linear-gradient(180deg, #3A3A38 0%, #252523 100%);
}
.ph-dark::after { color: rgba(245,242,236,0.55); }
.ph-warm {
  background: linear-gradient(180deg, #E2E0DA 0%, #C9C7C1 100%);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  border-radius: 6px;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-filled {
  background: var(--ink);
  color: var(--bg);
  border-color: transparent;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  padding: 16px 28px;
  transition: opacity 0.2s;
}
.btn-filled:hover { opacity: 0.82; }
.btn-filled--disabled { opacity: 0.35; cursor: not-allowed; }
.btn-filled--disabled:hover { opacity: 0.35; }
.btn-ghost { border-color: transparent; padding: 10px 0; }
.btn-ghost:hover { background: transparent; color: var(--ink); }

.hero-btn {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 14px 22px;
}
.hero-btn:hover { background: var(--ink); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding-bottom: 4px;
}

/* ——— Nav ——— */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  /* color vars set by theme classes below */
  background: var(--nav-bg);
  color: var(--nav-ink);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.4s ease, color 0.4s ease, top 0.4s ease;
}
:root.ann-closed .nav { top: 0; }

/* Dark theme (default — over dark sections) */
.nav-theme-dark {
  --nav-bg: rgba(15,14,13,0.55);
  --nav-ink: #EFEDE8;
  --nav-ink-dim: rgba(239,237,232,0.7);
  --nav-icon: rgba(239,237,232,0.8);
  --nav-icon-hover-bg: rgba(255,255,255,0.06);
  --nav-account-menu-bg: var(--nav-icon-hover-bg);
  --nav-line: #1F1F1D;
}

/* Light theme — over white/light sections */
.nav-theme-light {
  --nav-bg: rgba(255,255,255,0.82);
  --nav-ink: #131312;
  --nav-ink-dim: rgba(19,19,18,0.55);
  --nav-icon: rgba(19,19,18,0.7);
  --nav-icon-hover-bg: rgba(19,19,18,0.05);
  --nav-account-menu-bg: var(--nav-icon-hover-bg);
  --nav-line: #E8E4DC;
}

/* Transparent theme — sobre hero full-bleed */
.nav-theme-transparent {
  --nav-bg: transparent;
  --nav-ink: #EFEDE8;
  --nav-ink-dim: #EFEDE8;
  --nav-icon: rgba(239,237,232,0.85);
  --nav-icon-hover-bg: rgba(255,255,255,0.1);
  --nav-account-menu-bg: rgba(15,14,13,0.65);
  --nav-line: rgba(239,237,232,0.2);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* Cuando el menú mobile está abierto, el header se vuelve oscuro */
.nav-theme-transparent.menu-open {
  --nav-bg: rgba(15,14,13,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-theme-transparent .nav-search-btn {
  transition: background 0.18s ease, color 0.2s ease;
}

/* Desktop: todo instantáneo al cerrar — animación solo en el estado abierto (efecto harvey.ai) */
@media (min-width: 821px) {
  /* Scroll-based theme changes siguen siendo suaves (0.15s) */
  .nav {
    transition: background 0.15s ease, color 0.15s ease, top 0.4s ease;
  }
  .nav-theme-transparent {
    transition: background 0.4s ease, color 0.35s ease, top 0.4s ease;
  }
}

.nav-scrolled {
  padding: 16px var(--pad);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--nav-ink);
  grid-column: 2;
  justify-self: center;
  transition: color 0.4s ease, opacity 0.2s ease;
  position: relative;
  z-index: 101;
  display: inline-flex;
  align-items: center;
}
.nav-logo .dot { color: var(--accent); display: inline; }
.nav-logo-text {
  white-space: nowrap;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  justify-self: start;
  grid-column: 1; grid-row: 1;
  transition: opacity 0.2s ease;
  position: relative;
  z-index: 101;
}
.nav-link {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
  color: var(--nav-ink-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease, box-shadow 0.18s ease, background 0.2s ease;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: none;
  border-radius: 6px;
}
.nav-shop-wrap .nav-link { padding: 8px 12px; }
.nav-link:hover { color: var(--nav-ink); }
.nav-link::after { display: none; }
.nav-link .plus {
  font-size: 14px;
  line-height: 1;
  font-weight: 300;
  opacity: 0.7;
  transition: transform 0.25s ease;
}
.nav-item:hover .nav-link .plus { transform: rotate(45deg); }
.nav.mega-open .nav-item > .nav-link { color: var(--nav-ink); }
.nav.mega-open .nav-item > .nav-link .plus { transform: rotate(45deg); }
.nav-link .arrow { display: none; }
.nav-actions { display: flex; align-items: center; gap: 4px; grid-column: 3; justify-self: end; position: relative; z-index: 101; }
.icon-btn { color: var(--nav-icon); }
.icon-btn:hover { color: var(--nav-ink); background: var(--nav-icon-hover-bg); }
.nav-account-wrap:hover > .icon-btn { color: var(--nav-ink); background: var(--nav-icon-hover-bg); }
.nav-shop-wrap:hover .nav-link { background: var(--nav-icon-hover-bg); color: var(--nav-ink); border-radius: 12px; }

/* ——— Nav dropdown (Shop) ——— */
.nav-item { position: relative; }
.nav-item > .nav-link { display: inline-flex; align-items: center; gap: 6px; }
.nav-item > .nav-link svg { transition: transform 0.25s ease; opacity: 0.6; }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }

.nav-theme-dark .product-wishlist,
.nav-theme-transparent .product-wishlist { color: var(--nav-ink-dim); }
.nav-theme-dark .product-wishlist:hover,
.nav-theme-dark .product-wishlist.saved,
.nav-theme-transparent .product-wishlist:hover,
.nav-theme-transparent .product-wishlist.saved { color: var(--nav-ink); }

/* ——— Search drawer ——— */
.search-scrim {
  position: fixed; inset: 0;
  background: rgba(15,13,10,0.35);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
}
.search-scrim.open { opacity: 1; pointer-events: auto; }
.search-drawer {
  position: fixed; top: 12px; right: 12px;
  width: min(660px, calc(100vw - 24px));
  height: calc(100vh - 24px);
  background: var(--bg);
  color: var(--ink);
  z-index: 201;
  border-radius: 16px;
  transform: translateX(calc(100% + 12px));
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.1, 1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.search-drawer.open {
  transform: translateX(0);
  box-shadow: 0 8px 48px rgba(0,0,0,0.18), 0 2px 12px rgba(0,0,0,0.08);
}
[data-page-theme="dark"] .search-drawer,
[data-page-theme="transparent"] .search-drawer {
  --ink: #EFEDE8;
  --ink-2: rgba(239,237,232,0.85);
  --bg: #0F0E0D;
  --muted: rgba(239,237,232,0.55);
  --line: #1F1F1D;
  --line-2: #2A2A28;
}

[data-page-theme="dark"] .search-drawer .icon-btn:hover,
[data-page-theme="transparent"] .search-drawer .icon-btn:hover { background: rgba(255,255,255,0.06); }
.search-drawer-head {
  padding: 20px 24px;
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.search-drawer-input-row {
  flex: 1; display: flex; align-items: center; gap: 10px;
}
.search-drawer-icon { color: var(--muted); flex-shrink: 0; }
.search-drawer-input {
  flex: 1; border: none; outline: none; -webkit-appearance: none; appearance: none;
  font-size: 15px; background: transparent; color: var(--ink);
  font-family: var(--sans);
}
.search-drawer-input::placeholder { color: var(--muted); }
.search-drawer-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-drawer-chips-section {
  padding: 16px 24px;
  flex-shrink: 0;
}
.search-drawer-chips-label {
  display: block;
  font-family: var(--sans); font-size: 10px;
  color: var(--muted); margin-bottom: 10px;
}
.search-drawer-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.search-chip {
  padding: 9px 16px;
  border: 1px solid var(--line);
  font-size: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  background: var(--bg);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); color: var(--ink);
}
.search-chip:hover { border-color: var(--ink); color: var(--ink); }
.search-drawer-body {
  flex: 1; overflow-y: auto; padding: 20px 24px 32px;
}
.search-drawer-section-label {
  display: block;
  font-family: var(--sans); font-size: 15px;
  color: var(--muted); margin-bottom: 16px;
}
.search-drawer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.search-drawer-grid .search-card-wrap { display: flex; flex-direction: column; }
.search-drawer-grid .search-card-wrap .product { flex: 1; font-size: 13px; }
.search-drawer-grid .search-card-wrap .product-quickadd { font-size: 11px; padding: 8px; }
.search-drawer-grid .search-card-wrap .product-media { overflow: visible; }
.search-drawer-grid .search-card-wrap .product:hover .product-real-img { transform: none; }
.search-drawer-grid .search-card-wrap .pc-stepper { display: none; }
.search-empty {
  font-size: 14px;
  color: var(--muted);
  padding: 24px 0;
  grid-column: 1 / -1;
}
.search-drawer-footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.search-all-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 16px 28px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0;
  border: none; cursor: pointer;
  border-radius: 50px;
  transition: opacity 0.2s;
}
.search-all-btn:hover { opacity: 0.82; }

/* ——— Shop page — search mode ——— */
.shop-search-banner {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-bottom: 8px;
}
.shop-search-info {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
  font-family: var(--serif);
}
.shop-search-count {
  font-size: clamp(20px, 3vw, 36px);
  color: var(--ink-2);
}
.shop-search-term {
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.shop-search-clear {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: 13px;
  color: var(--muted);
  background: none; border: 1px solid var(--line);
  padding: 8px 14px; cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.shop-search-clear:hover { color: var(--ink); border-color: var(--ink); }
.toolbar-right--search { margin-left: auto; }
.shop-search-clear-mobile {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: 13px;
  color: var(--muted);
  background: none; border: 1px solid var(--line);
  padding: 8px 14px; cursor: pointer;
}

/* ——— Shop page (PLP) ——— */
.shop-head {
  padding: 180px var(--pad) 48px;
}
.shop-head-inner { max-width: var(--max); margin: 0 auto; }
.breadcrumbs { display: flex; gap: 8px; font-family: var(--sans); font-size: 15px; color: var(--muted); margin-bottom: 32px; }
.breadcrumbs a { transition: color 0.25s ease; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .current { color: var(--ink); }
.breadcrumbs .sep { opacity: 0.4; }
.shop-title-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: end;
  padding-bottom: 32px;
}
.shop-title { font-family: var(--serif); font-size: clamp(40px, 5.5vw, 80px); line-height: 1.0; letter-spacing: -0.01em; font-weight: 500; }
.shop-sub { font-size: 15px; color: var(--ink-2); max-width: 48ch; line-height: 1.5; }

.shop-toolbar {
  position: sticky; top: 68px;
  z-index: 20;
  background: var(--bg);
  transition: background 0.3s ease, color 0.3s ease;
}
.shop-toolbar-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 18px var(--pad);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
/* Chips — refined */
.chip {
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-family: var(--sans);
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
  background: rgba(19,19,18,0.07);
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  outline: none;
}
.chip:hover { background: rgba(19,19,18,0.09); box-shadow: 0 0 0 2px #4a9eff; }
.chip.active { background: var(--ink); color: var(--bg); border-color: transparent; box-shadow: none; }
.chip .c-count { font-family: var(--sans); font-size: 11px; opacity: 0.55; font-weight: 400; }
.toolbar-right { display: flex; gap: 20px; align-items: center; font-size: 13px; }
.select-wrap { position: relative; }
.select-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; font-size: 14px; font-family: var(--sans); border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--ink); transition: background 0.2s; outline: none; white-space: nowrap; }
.select-btn:hover, .select-btn:focus { background: rgba(19,19,18,0.07); box-shadow: none; }
.select-menu {
  position: absolute; top: calc(100% + 8px); right: 0; left: auto;
  min-width: 200px;
  background: rgba(15,14,13,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-radius: 12px;
  box-shadow: none;
  padding: 10px 6px 6px;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  transition: opacity 0.3s cubic-bezier(0.2,0.6,0.2,1), transform 0.3s cubic-bezier(0.2,0.6,0.2,1);
}
.select-menu--left { right: auto; left: 0; transform-origin: top left; }
.select-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.select-opt { display: block; width: 100%; text-align: left; padding: 11px 14px; font-size: 14px; letter-spacing: 0; color: #EFEDE8; border-radius: 6px; font-family: var(--sans); transition: background 0.15s, color 0.15s; }
.select-opt:hover { background: rgba(255,255,255,0.12); color: #EFEDE8; }
.select-opt.active { font-weight: 500; color: #EFEDE8; }
.select-opt.active::before { content: '✓  '; color: #EFEDE8; }

/* Dark theme — when toolbar scrolls over a dark section */
[data-page-theme="dark"] .shop-toolbar { background: #0F0E0D; color: #EFEDE8; }
[data-page-theme="dark"] .chip { background: rgba(239,237,232,0.1); color: rgba(239,237,232,0.8); border-color: transparent; }
[data-page-theme="dark"] .chip:hover { background: rgba(239,237,232,0.13); box-shadow: 0 0 0 2px #4a9eff; }
[data-page-theme="dark"] .chip.active { background: #EFEDE8; color: #0F0E0D; border-color: transparent; box-shadow: none; }
[data-page-theme="dark"] .toolbar-right { color: #EFEDE8; }
[data-page-theme="dark"] .select-btn { color: #EFEDE8; background: transparent; border-color: transparent; }
[data-page-theme="dark"] .select-btn:hover, [data-page-theme="dark"] .select-btn:focus { background: rgba(239,237,232,0.1); box-shadow: none; }
[data-page-theme="dark"] { --nav-account-menu-bg: rgba(255,255,255,0.06); }
[data-page-theme="dark"] .select-menu { border: none; }
[data-page-theme="dark"] .select-opt { color: rgba(239,237,232,0.55); }
[data-page-theme="dark"] .select-opt:hover { background: rgba(239,237,232,0.08); color: #EFEDE8; }
[data-page-theme="dark"] .select-opt.active { color: #EFEDE8; }
[data-page-theme="dark"] .select-opt.active::before { color: #EFEDE8; }

.view-toggle { display: inline-flex; border: 1px solid var(--line); }
.view-toggle button { padding: 8px 10px; color: var(--muted); }
.view-toggle button.active { color: var(--ink); background: var(--bg-2); }

/* Grid */
.shop-fade { transition: opacity 0.2s ease; }
.shop-fade.hidden { opacity: 0; pointer-events: none; }

.shop-grid-wrap { padding: 8px calc(var(--pad) - 14px) 120px; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 8px;
}
.product {
  background: var(--bg);
  padding: 14px 14px 22px;
  display: flex; flex-direction: column;
  cursor: pointer;
  position: relative;
}
.product-media {
  aspect-ratio: 1 / 1.18;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  background: linear-gradient(to bottom, #cbcdd0 0%, #f4f4f4 100%);
}
.product-media .ph {
  position: absolute; inset: 0;
  transition: opacity 0.5s ease;
  background: linear-gradient(to bottom, #cbcdd0 0%, #f4f4f4 100%);
}
.product-media .ph.alt { opacity: 0; }
.product:hover .product-media .ph.primary { opacity: 0; }
.product:hover .product-media .ph.alt { opacity: 1; }
@keyframes shimmer-sweep {
  0%   { background-position: -100% center; }
  100% { background-position: 300% center; }
}
.product-shimmer {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  background-size: 60% 100%;
  background-repeat: no-repeat;
  animation: shimmer-sweep 1.5s ease-in-out infinite;
}
.product-real-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-real-img.img-loading { opacity: 0; }
.product-real-img.alt { opacity: 0; }
.product:hover .product-real-img:not(.alt) { opacity: 0; }
.product:hover .product-real-img.alt { opacity: 1; }
.product:hover .product-real-img { transform: scale(1.04); }
.product--no-alt:hover .product-real-img.primary { opacity: 1; }
.product--no-alt:hover .product-media .ph.primary { opacity: 1; }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 12px;
  padding: 5px 9px;
  background: var(--bg);
  color: var(--ink);
  border-radius: 12px;
}
.product-badge.accent { background: #FFFFFF; color: #1F1F1D; }
.product-wishlist {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border-radius: 6px;
  color: var(--muted);
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.product-wishlist svg {
  fill-opacity: 0;
  transition: fill-opacity 0.2s ease;
}
.product-wishlist:hover { color: var(--ink); }
.product-wishlist:hover svg { fill-opacity: 1; }
.product-wishlist.saved { color: var(--ink); }
.product-wishlist.saved svg { fill-opacity: 1; }
.product-wishlist.saved:hover svg { fill-opacity: 0; }
/* === Product card add button (corner circle) === */
.pc-add-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.08);
  color: #1F1F1D;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.78) translateY(4px);
  transition: opacity 0.3s ease, transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  z-index: 3;
  pointer-events: none;
}
.product:hover .pc-add-btn,
.cr-card:hover .pc-add-btn {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.pc-add-btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.pc-add-btn--check {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  pointer-events: none;
  animation: pc-pop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes pc-pop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
/* In-cart stepper pill */
.pc-stepper {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  height: 36px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 18px;
  z-index: 3;
  animation: pc-stepper-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes pc-stepper-in {
  from { transform: scale(0.82) translateX(4px); opacity: 0; }
  to   { transform: scale(1) translateX(0); opacity: 1; }
}
.pc-stepper > :first-child { border-radius: 18px 0 0 18px; }
.pc-stepper > :last-child  { border-radius: 0 18px 18px 0; }
.pc-stepper-btn {
  width: 36px;
  height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--bg);
  background: transparent;
  border-radius: 0;
  transition: background 0.12s ease;
  flex-shrink: 0;
}
.pc-stepper-btn:hover { background: rgba(255,255,255,0.18); }
.pc-stepper-qty {
  min-width: 24px;
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  padding: 0 2px;
  animation: pc-pop 0.26s ease both;
}
.pc-stepper-confirm {
  padding: 0 14px;
  height: 36px;
  display: flex; align-items: center;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--bg);
  background: transparent;
  border-left: 1px solid rgba(255,255,255,0.20);
  border-radius: 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.12s ease;
}
.pc-stepper-confirm:hover { background: rgba(255,255,255,0.20); }
.pc-feedback-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 18px;
  z-index: 3;
  pointer-events: none;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  animation: pc-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.product-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.product-name { font-family: var(--sans); font-size: 15px; letter-spacing: -0.01em; font-weight: 400; line-height: 1.25; margin-bottom: 6px; }
.product-material { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 4px; }
.product-sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.product-size-pill { font-family: var(--sans); font-size: 11px; color: var(--ink); border: 1px solid var(--ink); border-radius: 4px; padding: 2px 7px; white-space: nowrap; }
.product-stock { font-family: var(--sans); font-size: 12px; color: var(--ink); margin-top: 7px; }
.product-price { font-family: var(--sans); font-size: 14px; font-weight: 500; white-space: nowrap; }
.product-swatches { display: flex; gap: 4px; margin-top: 10px; }
.swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line-2); }
.sw-gold  { background: linear-gradient(135deg,#D9C598,#B89A64); border-color: transparent; }
.sw-rose  { background: linear-gradient(135deg,#E6BFA6,#C48F75); border-color: transparent; }
.sw-white { background: linear-gradient(135deg,#EFEFEF,#C8C8C8); border-color: transparent; }
.sw-silver { background: linear-gradient(135deg,#E4E4E4,#A8A8A8); border-color: transparent; }
.sw-black { background: #1A1714; border-color: transparent; }

/* Shop footer: promo row */
.shop-load {
  max-width: var(--max); margin: 64px auto 0;
  padding: 0 var(--pad);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.shop-load .progress {
  width: 260px; height: 1px; background: var(--line); position: relative;
}
.shop-load .progress::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--progress, 0%); background: var(--ink);
  transition: width 0.4s ease;
}

/* Shop — empty state */
.shop-empty {
  padding: 100px var(--pad) 120px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  color: var(--muted);
}
.shop-empty-icon { margin-bottom: 8px; opacity: 0.4; }
.shop-empty-title { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); }
.shop-empty-sub { font-size: 14px; color: var(--muted); max-width: 38ch; line-height: 1.6; }

/* Scarcity badge */
.product-badge--scarcity {
  background: #FFF8ED;
  color: #8B5A00;
  border: 1px solid #F5D9A0;
}

/* Mobile filter count bubble */
.stm-filter-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px;
  background: var(--ink);
  color: var(--bg);
  font-size: 10px;
  font-family: var(--sans);
  border-radius: 999px;
  padding: 0 5px;
  line-height: 1;
}
[data-page-theme="dark"] .stm-filter-count { background: #EFEDE8; color: #0F0E0D; }

/* Grid cols per view */
.grid-4 { --cols: 4; }
.grid-3 { --cols: 3; }

@media (max-width: 820px) {
  .grid-4, .grid-3 { --cols: 2; }
  .shop-title-row { grid-template-columns: 1fr; }
  .shop-toolbar-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .shop-toolbar { position: static; }
  .chips { overflow-x: auto; flex-wrap: nowrap; }
  .chip { white-space: nowrap; }
}

.nav-actions { display: flex; align-items: center; gap: 20px; }

.icon-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  position: relative;
  transition: background 0.2s ease;
}
.icon-btn:hover { background: rgba(19,19,18,0.05); }
.nav .icon-btn:hover { background: var(--nav-icon-hover-bg); }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 9px;
  min-width: 14px; height: 14px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ——— Hero ——— */
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--pad) clamp(40px, 5vh, 64px);
}
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  width: 100%;
}
.hero-title {
  margin-bottom: 24px;
  max-width: 14em;
  text-align: center;
  font-size: clamp(44px, 5.6vw, 86px);
  line-height: 0.98;
  color: #EFEDE8;
}
.hero-body {
  max-width: 52ch;
  margin-bottom: 32px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(239,237,232,0.85);
  text-align: center;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-cta { align-self: auto; }
.btn.hero-cta {
  text-transform: none;
  letter-spacing: 0;
  background: #EFEDE8;
  color: #131312;
  border-color: #EFEDE8;
}
.btn.hero-cta:hover { opacity: 0.82; }
.hero-right {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(to bottom, #cbcdd0 0%, #f4f4f4 100%);
  will-change: transform;
  isolation: isolate;
}
.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  z-index: 1;
  pointer-events: none;
}
.hero-real-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-tag { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ——— Sections: index meta ——— */
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding-bottom: 32px;
  margin-bottom: 48px;
}
.section-head .display { max-width: 22ch; }
.section-head .body { max-width: 46ch; }
.section-head-title { max-width: none; }
.cat-showcase .section-head .link-arrow,
.cat-showcase .section-head .link-arrow:hover {
  border-bottom: none;
}

/* ——— Product Carousel ——— */
.cr-section {
  padding: clamp(96px, 11vw, 160px) 0 0;
  background: var(--bg);
}
.cr-section--last { padding-bottom: clamp(72px, 9vw, 120px); }
.cr-head {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}
.cr-title {
  font-family: var(--serif); font-weight: 500;
  letter-spacing: -0.01em; line-height: 1.05;
  max-width: 22ch;
}
.cr-track-wrap {
  overflow: hidden;
  padding-left: var(--pad);
}
.cr-track {
  display: flex; gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-right: var(--pad);
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cr-track::-webkit-scrollbar { display: none; height: 0; width: 0; }
.cr-card {
  flex: 0 0 clamp(260px, 22vw, 340px);
  scroll-snap-align: start;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.cr-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  margin-bottom: 16px;
  overflow: hidden;
  background: linear-gradient(to bottom, #cbcdd0 0%, #f4f4f4 100%);
}
.cr-img-wrap.cr-bg-celeste {
  background: linear-gradient(to bottom, #cbcdd0 0%, #f4f4f4 100%);
}
.cr-img-wrap.cr-bg-celeste .cr-img {
  background: linear-gradient(to bottom, #cbcdd0 0%, #f4f4f4 100%);
}
.cr-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: linear-gradient(to bottom, #cbcdd0 0%, #f4f4f4 100%);
}
.cr-img.alt { opacity: 0; }
.cr-card:hover .cr-img.primary { opacity: 0; }
.cr-card:hover .cr-img.alt { opacity: 1; }
.cr-real-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cr-real-img.img-loading { opacity: 0; }
.cr-real-img.alt { opacity: 0; }
.cr-card:hover .cr-real-img.primary { opacity: 0; }
.cr-card:hover .cr-real-img.alt { opacity: 1; }
.cr-card--no-alt:hover .cr-real-img.primary { opacity: 1; }
.cr-card--no-alt:hover .cr-img.primary { opacity: 1; }
.cr-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cr-name {
  font-family: var(--sans); font-weight: 400; font-size: 14px;
  letter-spacing: -0.005em; color: var(--ink);
}
.cr-mat {
  font-family: var(--sans); font-size: 12px; color: var(--muted);
}
.cr-price {
  font-family: var(--sans); font-size: 13px;
  font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
@media (max-width: 720px) {
  .cr-card { flex-basis: 70vw; }
  .cr-head { flex-direction: column; align-items: flex-start; }
}

/* ——— Categories (Harvey-style alternating rows) ——— */
.cat-showcase {
  padding: clamp(96px, 11vw, 160px) 0;
  background: #FFFFFF;
}
.cat-headline {
  padding-bottom: clamp(48px, 5vw, 72px);
}
.cat-headline-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}
/* ——— Categories slider ——— */
.cat-sl-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  margin-bottom: 28px;
}

.cat-sl-arrow {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(19,19,18,0.08);
  border: none;
  border-radius: 50%;
  color: var(--ink);
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.cat-sl-arrow:hover { opacity: 0.5; }

.cat-sl-dots {
  display: flex; align-items: center; gap: 6px;
  background: rgba(19,19,18,0.07);
  border-radius: 999px;
  padding: 6px 14px;
}

.cat-sl-dot {
  height: 6px; width: 6px;
  border-radius: 999px;
  background: rgba(19,19,18,0.18);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cat-sl-dot.active { background: rgba(19,19,18,0.18); width: 22px; }
.cat-sl-dot.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: cat-dot-fill 4s linear forwards;
}
@keyframes cat-dot-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.cat-sl-nav--paused .cat-sl-dot.active::after {
  animation-play-state: paused;
}

.cat-sl-wrap { overflow: hidden; }

.cat-sl-track {
  display: flex;
  align-items: flex-start;
  gap: 75px;
  min-height: 34vw;
  will-change: transform;
  /* transform applied by JS */
}

.cat-sl-card {
  flex: 0 0 auto;
  width: 13vw;
  cursor: pointer;
  position: relative;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: width;
}
.cat-sl-card.is-active { width: 25vw; }

.cat-sl-media {
  position: relative;
  width: 100%;
  height: 19vw;
  overflow: hidden;
  background: linear-gradient(to bottom, #cbcdd0 0%, #f4f4f4 100%);
  transition: height 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: height;
}
.cat-sl-card.is-active .cat-sl-media { height: 34vw; }

.cat-sl-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Gradient overlay on inactive cards for label readability */
.cat-sl-card:not(.is-active) .cat-sl-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.cat-sl-card:not(.is-active):hover .cat-sl-media::after {
  opacity: 0.7;
}

.cat-sl-label {
  position: absolute;
  top: 14px; left: 0; right: 0;
  font-family: var(--sans);
  font-size: 11px; font-weight: 500;
  color: #FFFFFF;
  z-index: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.cat-sl-detail-row {
  display: flex;
  justify-content: center;
  padding-top: 36px;
}
.cat-sl-detail {
  width: 25vw;
  display: flex; flex-direction: column;
  min-height: 160px;
}
.cat-sl-detail-anim {
  display: flex; flex-direction: column; gap: 20px;
}
.cat-sl-detail-anim > * {
  animation: cat-sl-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.cat-sl-detail-anim > *:nth-child(1) { animation-delay: 0.06s; }
.cat-sl-detail-anim > *:nth-child(2) { animation-delay: 0.18s; }
.cat-sl-detail-anim > *:nth-child(3) { animation-delay: 0.30s; }
@keyframes cat-sl-fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cat-sl-detail-title {
  font-family: var(--sans);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--ink);
}

.cat-sl-detail-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.cat-sl-cta {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  display: inline-flex; align-items: center;
  padding: 0; border: none; border-radius: 0; background: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.cat-sl-cta:hover { opacity: 0.55; }

@media (max-width: 820px) {
  .cat-sl-track { min-height: 106vw; gap: 8px; }
  .cat-sl-card { width: 85vw; transition: none; }
  .cat-sl-card.is-active { width: 85vw; }
  .cat-sl-media { height: 106vw; transition: none; }
  .cat-sl-card.is-active .cat-sl-media { height: 106vw; }
  .cat-sl-detail-row { padding-top: 24px; }
  .cat-sl-detail { width: min(85vw, 420px); min-height: 180px; }
}

/* ——— Material story (Legora-style 3-up tiles) ——— */
.mat-head {
  margin-bottom: clamp(48px, 6vw, 88px);
  max-width: none;
}
.mat-head .label { display: block; margin-bottom: 28px; }
.mat-headline {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.0;
  text-wrap: balance;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .mat-headline { white-space: normal; }
}
#material {
  background: #FFFFFF;
}
.mat-grid {
  display: grid;
  grid-template-columns: repeat(3, 28vw);
  justify-content: space-between;
  gap: clamp(20px, 2.4vw, 36px);
}
.mat-tile {
  display: flex; flex-direction: column;
  gap: 24px;
  color: inherit;
  cursor: pointer;
}
.mat-tile-art {
  position: relative;
  width: 100%;
  height: 38vw;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.mat-tile-img-wrap {
  position: absolute; inset: 0;
}
.mat-tile-img {
  position: absolute; inset: 0;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.mat-tile-real-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.mat-tone-silver,
.mat-tone-steel,
.mat-tone-gold {
  background: linear-gradient(to bottom, #cbcdd0 0%, #f4f4f4 100%);
}
.mat-tile-chip {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 14px 22px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}
.mat-tile-cap {
  display: flex; flex-direction: column; gap: 20px;
}
.mat-tile-title {
  font-family: var(--sans);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--ink);
}
.mat-tile-cap .body {
  color: var(--muted);
  max-width: 42ch;
}
@media (max-width: 900px) {
  .mat-grid { grid-template-columns: 1fr; gap: 32px; }
  .mat-tile { width: 85vw; margin: 0 auto; }
  .mat-tile-art { height: 106vw; }
}


/* ——— Manifesto ——— */
.manifesto {
  padding: clamp(96px, 11vw, 160px) 0;
  background: #EBF5ED;
}
.manifesto-grid {
  display: block;
  width: 100%;
}
.manifesto-text {
  font-family: var(--serif);
  font-size: clamp(28px, 3.8vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.manifesto-text em { font-style: italic; color: var(--accent-ink); }

/* ——— Newsletter ——— */
.newsletter {
  padding: clamp(96px, 11vw, 160px) 0;
  background: #0F0E0D;
  color: var(--bg);
}
.newsletter .label { color: rgba(245,242,236,0.55); }
.newsletter .body-lg { color: rgba(245,242,236,0.75); }
.news-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end;
}
.news-grid > div:first-child { display: none; }
.news-title { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 68px); letter-spacing: -0.01em; line-height: 1.05; }
.news-form { display: flex; flex-direction: column; gap: 16px; }
.news-input {
  display: flex; align-items: center;
  border-bottom: 0.5px solid rgba(245,242,236,0.25);
  padding: 12px 0;
  transition: border-color 0.2s ease;
}
.news-input:hover,
.news-input:focus-within {
  border-bottom-color: #FFFFFF;
}
.news-input input {
  flex: 1;
  background: transparent; border: none; outline: none;
  color: var(--bg);
  font-family: var(--sans);
  font-size: 15px;
  padding: 4px 0;
}
.news-input input::placeholder { color: rgba(245,242,236,0.35); }
.news-submit {
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  background: #EFEDE8; color: #131312;
  border-radius: 50px;
  padding: 12px 24px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.news-submit.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}
.news-submit:hover { opacity: 0.82; }

/* ——— Contact page ——— */
.contact-page {
  min-height: 100vh;
  padding: clamp(120px, 14vw, 160px) var(--pad) clamp(80px, 10vw, 120px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
  background: var(--bg);
}

/* ——— Left column ——— */
.contact-left {
  display: flex;
  flex-direction: column;
}
.contact-eyebrow {
  margin-bottom: 16px;
  display: block;
}
.contact-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.97;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
.contact-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-field label {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}
.required-mark { color: #C33A32; }
.contact-error {
  color: #C33A32;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.25;
  animation: errorFadeIn 0.22s ease both;
}
@keyframes errorFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s ease;
}
.contact-field input:hover,
.contact-field textarea:hover,
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--ink);
}
.contact-field textarea {
  resize: none;
  min-height: 120px;
}

/* ——— Right column ——— */
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 52px;
  padding-top: 8px;
}
.contact-description {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-description p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--ink);
}
.contact-entries {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-entry {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-entry-label {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.contact-entry-label--copied {
  color: #5FC870;
  animation: label-copied-in 0.25s ease both;
}
@keyframes label-copied-in {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: translateY(0); }
}
.contact-entry-value {
  font-family: var(--sans);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.45;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  display: inline;
}
.contact-entry-value--copyable {
  cursor: pointer;
}
a.contact-entry-value:hover,
.contact-entry-value--copyable:hover {
  border-bottom-color: var(--ink);
}
.contact-map-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  list-style: none;
  padding: 0;
  padding-left: 24px;
}
.contact-map-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ink);
  text-decoration: none;
}
.contact-map-arrow {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.contact-map-link:hover .contact-map-arrow {
  opacity: 1;
}

/* ——— PDP sticky add bar (mobile only) ——— */
.pdp-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--bg);
  border-top: 0.5px solid var(--line);
  padding: 12px var(--pad) max(12px, env(safe-area-inset-bottom));
  flex-direction: row;
  align-items: center;
  gap: 12px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease;
}
.pdp-sticky-bar.visible {
  transform: translateY(0);
  opacity: 1;
}
.pdp-sticky-price {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.pdp-sticky-add {
  flex: 1;
  height: 50px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: 50px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: opacity 0.2s;
}
.pdp-sticky-add.added { background: #1C4A2E; }
.pdp-sticky-add:hover { opacity: 0.85; }

@media (max-width: 820px) {
  .pdp-sticky-bar { display: flex; }
}

/* ——— Mobile shop toolbar ——— */
.shop-toolbar-mobile {
  display: none;
  position: sticky; top: 68px;
  z-index: 20;
  background: var(--bg);
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
  flex-direction: column;
  padding: 0;
  transition: background 0.3s ease;
}
.sh-cat-chips-wrap--inline {
  padding: 10px var(--pad) 0;
}
.stm-filter-row {
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  min-height: 52px;
  gap: 12px;
}
.stm-filter {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: center;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 22px;
  background: rgba(19,19,18,0.07);
  transition: background 0.2s;
}
.stm-filter:hover { background: rgba(19,19,18,0.09); }

[data-page-theme="dark"] .shop-toolbar-mobile { background: #0F0E0D; border-top: none; border-bottom-color: rgba(239,237,232,0.12); }
[data-page-theme="dark"] .stm-filter { color: #EFEDE8; background: rgba(239,237,232,0.1); border-color: transparent; }
.stm-grid-toggle {
  display: flex; align-items: center; gap: 2px;
  margin-left: auto;
  margin-right: 20px;
}
.stm-grid-toggle button {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: color 0.2s;
}
.stm-grid-toggle button.active { color: var(--ink); }
[data-page-theme="dark"] .stm-grid-toggle button { color: rgba(239,237,232,0.4); }
[data-page-theme="dark"] .stm-grid-toggle button.active { color: #EFEDE8; }

/* mobile grid cols */
.mobile-grid-1 { --cols: 1; }
.mobile-grid-2 { --cols: 2; }

/* ——— Shop category chip strip (mobile only) ——— */
.sh-cat-chips-wrap {
  display: none;
  padding: 16px var(--pad) 0;
}
.sh-cat-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  padding-right: var(--pad);
}
.sh-cat-chips::-webkit-scrollbar { display: none; }
.sh-cat-chips .chip { flex-shrink: 0; }

/* ——— Filter drawer (mobile) ——— */
.filter-scrim {
  position: fixed; inset: 0;
  z-index: 149;
  background: rgba(0,0,0,0.2);
}
.filter-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  z-index: 150;
  background: var(--bg);
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.1, 1);
  box-shadow: 20px 0 60px rgba(26,26,26,0.08);
}
.filter-drawer.open { transform: translateX(0); }

.filter-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad);
  border-bottom: 0.5px solid var(--line);
  flex-shrink: 0;
}
.filter-drawer-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.filter-drawer-close {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.filter-drawer-body {
  flex: 1; overflow-y: auto;
  padding: 0 var(--pad);
}
.filter-drawer-group {
  border-bottom: 0.5px solid var(--line);
  padding: 28px 0 8px;
}
.filter-drawer-group:last-child { border-bottom: none; }
.filter-drawer-group-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  margin-bottom: 16px;
}
.filter-drawer-opt {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--line);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.2s;
}
.filter-drawer-opt:last-child { border-bottom: none; }
.filter-drawer-opt.active { color: var(--ink); font-weight: 500; }
.filter-drawer-opt.active::after {
  content: '✓';
  font-size: 12px;
  color: var(--ink);
}
.filter-drawer-count {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.filter-drawer-foot {
  padding: 16px var(--pad) 32px;
  flex-shrink: 0;
  border-top: 0.5px solid var(--line);
}
.filter-drawer-apply {
  width: 100%;
  padding: 16px 28px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid transparent;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s;
  cursor: pointer;
}
.filter-drawer-apply:hover { opacity: 0.82; }

/* ——— Footer ——— */
.footer { background: var(--bg); padding: 80px var(--pad) 32px; }
.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
}
.footer-left {
  flex: 0 0 20%;
  padding-top: 4px;
}
.footer-isotipo { width: 48px; height: auto; display: block; filter: brightness(0); }
.footer-right { flex: 1; min-width: 0; }
.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .nav-logo { font-size: 28px; display: inline-block; margin-bottom: 20px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .label { margin-bottom: 8px; text-transform: none; color: var(--ink); font-size: 14px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-size: 11px;
  color: var(--muted);}
/* ——— Cart drawer ——— */
.scrim {
  position: fixed; inset: 0;
  background: rgba(15,13,10,0.35);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
}
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 12px; right: 12px;
  width: min(440px, calc(100vw - 24px));
  height: calc(100vh - 24px);
  background: var(--bg);
  color: var(--ink);
  z-index: 201;
  border-radius: 16px;
  transform: translateX(calc(100% + 12px));
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.1, 1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.drawer.open {
  transform: translateX(0);
  box-shadow: 0 8px 48px rgba(0,0,0,0.18), 0 2px 12px rgba(0,0,0,0.08);
}
[data-page-theme="dark"] .drawer,
[data-page-theme="transparent"] .drawer {
  --ink: #EFEDE8;
  --ink-2: rgba(239,237,232,0.85);
  --bg: #0F0E0D;
  --muted: rgba(239,237,232,0.55);
  --line: #1F1F1D;
  --line-2: #2A2A28;
}

[data-page-theme="dark"] .drawer .icon-btn:hover,
[data-page-theme="transparent"] .drawer .icon-btn:hover { background: rgba(255,255,255,0.06); }
.drawer-head {
  padding: 24px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 0.5px solid var(--line);
}
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 24px; border-top: 0.5px solid var(--line); display: flex; flex-direction: column; gap: 14px; }

.cart-ship-bar-wrap { display: flex; flex-direction: column; gap: 6px; }
.cart-ship-bar { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.cart-ship-bar-fill { height: 100%; background: var(--ink); border-radius: 2px; transition: width 0.4s ease; }
.cart-ship-text { color: var(--muted); }
.cart-ship-text--free { color: #5FC870; }

/* ——— Auth fullscreen overlay ——— */
.page-fade {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.page-fade--in { opacity: 1; }

.auth-overlay {
  position: fixed; inset: 0;
  z-index: 300;
  background: #dedede;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.auth-overlay--open { opacity: 1; pointer-events: auto; }

.auth-split {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 8px;
}

.auth-panel-left {
  flex: 0 0 48%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  position: relative;
  padding-bottom: 88px;
  border-radius: 10px;
}

.auth-panel-right {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.auth-panel-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.auth-back-btn {
  position: absolute;
  top: 24px; left: 28px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0; border: none; border-radius: 0; background: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.auth-back-btn:hover { opacity: 0.55; }

.auth-form-wrap {
  width: min(310px, 80vw);
  display: flex;
  flex-direction: column;
}

.auth-form { width: 100%; display: flex; flex-direction: column; }

.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 52px;
  text-align: center;
  color: var(--ink);
}

.auth-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
  margin-top: -20px;
  text-align: center;
}

.auth-fields { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-field { display: flex; flex-direction: column; gap: 7px; }
.auth-label {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
}

.auth-pwd-wrap { position: relative; }
.auth-pwd-wrap .auth-input { padding-right: 46px; }
.auth-pwd-toggle {
  position: absolute;
  right: 13px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--muted);
  display: flex; align-items: center;
  border-radius: 0; line-height: 1;
  z-index: 2;
}
.auth-pwd-toggle:hover { color: var(--ink); }

.auth-input {
  padding: 13px 15px;
  border: none;
  border-radius: 12px;
  background: rgba(19,19,18,0.07);
  font-size: 14px;
  font-family: var(--sans);
  color: var(--ink);
  outline: none;
  transition: background 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.auth-input:hover { background: rgba(19,19,18,0.09); }
.auth-input:focus { background: rgba(19,19,18,0.07); box-shadow: 0 0 0 2px #4a9eff; }
.auth-input::placeholder { color: var(--muted); opacity: 0.7; }

.auth-submit {
  width: 100%;
  padding: 16px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 50px;
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  transition: opacity 0.2s;
}
.auth-submit:hover { opacity: 0.82; }
.auth-btn-ghost {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease;
}
.auth-btn-ghost:hover { opacity: 0.55; }
.auth-submit--mt { margin-top: 16px; }
.auth-btn-ghost--mt { margin-top: 16px; align-self: center; }

.auth-bottom {
  position: absolute;
  bottom: 32px;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.auth-isotipo {
  width: 48px;
  height: auto;
  filter: brightness(0);
}

.auth-switch {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin: 0;
}
.auth-switch-cta {
  background: none; border: none; padding: 0;
  border-radius: 0;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}
.auth-switch-cta:hover { opacity: 0.55; }

.auth-sent {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 16px; padding-top: 16px;
}
.auth-sent .auth-title { margin-bottom: 0; }

@media (max-width: 700px) {
  .auth-panel-left { flex: 0 0 100%; }
  .auth-panel-right { display: none; }
}

/* ——— Checkout fullscreen overlay ——— */
.checkout-overlay {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}
.checkout-overlay--open { opacity: 1; pointer-events: auto; }

.checkout-overlay-inner {
  width: min(1080px, 90vw);
  padding: 80px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}

.checkout-section-label {
  font-size: 16px;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.checkout-section-label--divided {
  border-bottom: 0.5px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.checkout-delivery-toggle {
  display: flex;
  border: none;
  border-radius: 12px;
  background: rgba(19,19,18,0.07);
  margin-bottom: 20px;
  padding: 3px;
  gap: 3px;
}

.checkout-delivery-btn {
  flex: 1;
  padding: 13px 8px;
  font-size: 13px;
  font-family: var(--sans);
  font-weight: 400;
  background: transparent;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.checkout-delivery-btn--active {
  background: var(--ink);
  color: var(--bg);
}

.checkout-pickup-note {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.6;
  padding: 16px 0 8px;
}

.checkout-summary {
  border-right: 0.5px solid var(--line);
  padding-right: 56px;
}

.checkout-items {
  display: flex;
  flex-direction: column;
}

.checkout-item {
  display: grid;
  grid-template-columns: 76px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 0.5px solid var(--line);
}
.checkout-item:first-child { border-top: none; }

.checkout-item-img {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.checkout-item-name {
  font-size: 14px;
  color: var(--ink);
  font-family: var(--sans);
  margin-bottom: 3px;
  font-weight: 400;
}

.checkout-item-meta {
  font-size: 12px;
  color: var(--muted);
}

.checkout-item-qty {
  font-size: 12px;
  color: var(--muted);
}

.checkout-item-price {
  font-size: 14px;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  text-align: right;
  white-space: nowrap;
}

.checkout-totals {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkout-totals .body-sm { font-size: 15px; }

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink-2);
}

.checkout-total-final {
  padding-top: 20px;
  margin-top: 6px;
  border-top: 0.5px solid var(--line);
  color: var(--ink);
}

.checkout-form-col {
  padding-left: 56px;
}

.checkout-item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: none;
  background: none;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.checkout-item-remove:hover { background: rgba(19,19,18,0.05); color: #B0291E; }

.checkout-error {
  font-size: 11px;
  color: #B0291E;
  font-family: var(--sans);
  margin-top: -2px;
  animation: errorFadeIn 0.22s ease both;
}


.checkout-back-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--sans); font-size: 13px;
  color: var(--muted);
  transition: color 0.25s ease;
}
.checkout-back-link:hover { color: var(--ink); }
.checkout-back-link .checkout-back-arrow { opacity: 0; transition: opacity 0.25s ease; }
.checkout-back-link:hover .checkout-back-arrow { opacity: 1; }

.auth-input--error { box-shadow: 0 0 0 2px #B0291E !important; }
.auth-input--readonly { cursor: default; opacity: 0.75; }

.checkout-form-col .auth-label::after {
  content: ' *';
  color: #B0291E;
}
.checkout-form-col .auth-label--opt::after {
  content: none;
}

/* Phone compound input */
.phone-input-wrap {
  display: flex;
  align-items: stretch;
  border: none;
  border-radius: 12px;
  background: rgba(19,19,18,0.07);
  transition: background 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.phone-input-wrap:hover { background: rgba(19,19,18,0.09); }
.phone-input-wrap:focus-within { background: rgba(19,19,18,0.07); box-shadow: 0 0 0 2px #4a9eff; }
.phone-input-wrap--error { box-shadow: 0 0 0 2px #B0291E !important; }
.phone-code-select {
  background: transparent;
  border: none;
  border-right: 1px solid rgba(19,19,18,0.12);
  padding: 14px 10px 14px 14px;
  font-size: 13px;
  font-family: var(--sans);
  color: var(--ink);
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
  appearance: auto;
}
.phone-input-bare {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 15px;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.phone-input-bare::placeholder { color: var(--muted); opacity: 0.55; }

.checkout-success {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 60px 0;
}

.checkout-close-btn {
  position: fixed;
  top: 24px;
  left: var(--pad);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 310;
  transition: opacity 0.2s ease;
}
.checkout-close-btn:hover { opacity: 0.55; }

/* mobile continue / back buttons — hidden on desktop */
.checkout-mobile-continue {
  display: none;
}
.checkout-mobile-back {
  display: none;
}

@media (max-width: 760px) {
  .checkout-overlay-inner {
    grid-template-columns: 1fr;
    padding: 72px 0 60px;
  }
  .checkout-summary {
    border-right: none;
    padding-right: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .checkout-form-col { padding-left: 0; }

  /* checkout item: imagen + info arriba, stepper + precio + X abajo */
  .checkout-item {
    grid-template-columns: 64px 1fr auto;
    grid-template-rows: auto auto;
    gap: 10px 12px;
    align-items: start;
  }
  .checkout-item-img {
    width: 64px;
    height: 64px;
    grid-row: 1 / 3;
  }
  .checkout-item-info {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }
  .checkout-item-name {
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
  }
  /* stepper ocupa la segunda fila, columna 2 */
  .checkout-item .spicker-stepper {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    width: fit-content;
  }
  /* precio en segunda fila, columna 3 */
  .checkout-item-price {
    grid-column: 3;
    grid-row: 2;
    align-self: center;
    font-size: 13px;
  }
  /* X sube a primera fila, columna 3 */
  .checkout-item-remove {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    margin-top: -4px;
  }

  /* fila de envío: no pegue el label con el texto */
  .checkout-total-row {
    align-items: flex-start;
    gap: 8px;
  }
  .checkout-total-row > span:last-child {
    text-align: right;
    max-width: 55%;
    font-size: 13px;
    line-height: 1.45;
  }
  .checkout-total-row > span:first-child {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* step-based visibility */
  .checkout-overlay-inner[data-mobile-step="1"] .checkout-form-col { display: none; }
  .checkout-overlay-inner[data-mobile-step="2"] .checkout-summary { display: none; }

  /* step fade */
  .checkout-step-fade { transition: opacity 0.2s ease; }
  .checkout-step-fade--hidden { opacity: 0; }

  .checkout-mobile-continue {
    display: block;
    width: 100%;
    margin-top: 32px;
    padding: 16px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
  }
  .checkout-mobile-continue:hover { opacity: 0.8; }

  .checkout-mobile-back {
    display: block;
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 24px;
    font-family: var(--sans);
    font-size: 12px;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s ease;
  }
  .checkout-mobile-back:hover { color: var(--ink); }
}

/* ——— Account hover dropdown in nav ——— */
.nav-account-wrap {
  position: relative;
}
.nav-account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(15,14,13,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-radius: 12px;
  box-shadow: none;
  min-width: 156px;
  display: flex;
  flex-direction: column;
  padding: 10px 6px 6px;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  transition: opacity 0.3s cubic-bezier(0.2,0.6,0.2,1), transform 0.3s cubic-bezier(0.2,0.6,0.2,1);
  z-index: 100;
}
.nav-account-dropdown::before,
.nav-shop-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-account-wrap:hover .nav-account-dropdown,
.nav-account-dropdown:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.nav-account-dropdown a,
.nav-account-dropdown button {
  display: block;
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  letter-spacing: 0;
  color: #EFEDE8;
  text-align: center;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.15s, color 0.15s;
  box-sizing: border-box;
}
.nav-account-dropdown a:hover,
.nav-account-dropdown button:hover { background: #FFFFFF; color: var(--ink); }

/* ——— Shop hover dropdown in nav (desktop only) ——— */
.nav-shop-wrap {
  position: relative;
}
.nav-shop-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(15,14,13,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  min-width: 156px;
  display: flex;
  flex-direction: column;
  padding: 10px 6px 6px;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top left;
  transition: opacity 0.3s cubic-bezier(0.2,0.6,0.2,1), transform 0.3s cubic-bezier(0.2,0.6,0.2,1);
  z-index: 100;
}
.nav-shop-wrap:hover .nav-shop-dropdown,
.nav-shop-dropdown:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.nav-shop-dropdown a {
  display: block;
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  letter-spacing: 0;
  color: #EFEDE8;
  text-align: center;
  background: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.15s, color 0.15s;
  box-sizing: border-box;
}
.nav-shop-dropdown a:hover { background: #FFFFFF; color: var(--ink); }

.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: 16px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--line);
}
.cart-item-img { aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; }
.cart-item-title { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0; margin-bottom: 4px; }
.cart-item-meta { font-size: 12px; color: var(--muted); }
.cart-item-col3 { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item-price { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.cart-qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-family: var(--sans); font-size: 13px; }
.cart-qty button:not(.cart-remove) { width: 28px; height: 28px; border: none; background: rgba(19,19,18,0.06); border-radius: 8px; font-size: 13px; display:inline-flex; align-items:center; justify-content:center; color: var(--ink-2); transition: background 0.2s ease, color 0.2s ease; }
.cart-qty button:not(.cart-remove):hover { background: var(--ink); color: var(--bg); }
.cart-remove { font-family: var(--sans); font-size: 14px; color: var(--muted); transition: color 0.2s; }
.cart-remove:hover { color: #B0291E; }

.empty-cart {
  text-align: center; padding: 80px 20px; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.empty-cart .link-arrow { border-bottom: none; color: var(--muted); transition: color 0.25s ease; }
.empty-cart .link-arrow:hover { gap: 8px; color: var(--ink); }
.empty-cart .link-arrow .link-arrow-arrow { opacity: 0; transition: opacity 0.25s ease; }
.empty-cart .link-arrow:hover .link-arrow-arrow { opacity: 1; }

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2,0.6,0.2,1), transform 0.8s cubic-bezier(0.2,0.6,0.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ——— Hamburger (mobile only) ——— */
.hamburger { display: none; }

/* ——— Mobile menu overlay ——— */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 98;
  background: #0F0E0D;
  color: #EFEDE8;
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu-inner {
  padding: 120px var(--pad) 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 100%;
}
.mobile-menu-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu-label {
  font-family: var(--sans);
  font-size: 10px;
  color: rgba(239,237,232,0.4);
  margin-bottom: 20px;
}
.mobile-menu-cat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--serif);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #EFEDE8;
  padding: 10px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: color 0.2s ease;
}
.mobile-menu-cat:last-child { border-bottom: none; }
.mobile-menu-cat:active { color: rgba(239,237,232,0.6); }
.mobile-menu-count {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(239,237,232,0.35);
  font-weight: 400;
}
.mobile-menu-link {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(239,237,232,0.65);
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: color 0.2s ease;
}
.mobile-menu-link:last-child { border-bottom: none; }
.mobile-menu-link:active { color: #EFEDE8; }
.mobile-menu-auth {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
/* Crear cuenta — pill */
.mobile-menu-auth button:first-child {
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  background: #FFFFFF;
  color: #131312;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.mobile-menu-auth button:first-child:hover { opacity: 0.88; }
/* Iniciar sesión — ghost link */
.mobile-menu-auth button:last-child {
  padding: 8px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  background: none;
  border: none;
  border-radius: 0;
  color: rgba(239,237,232,0.65);
  cursor: pointer;
  text-align: center;
  transition: opacity 0.2s ease;
}
.mobile-menu-auth button:last-child:hover { opacity: 0.55; }

/* Mobile menu — light theme */
.mobile-menu--light {
  background: #FFFFFF;
  color: #131312;
}
.mobile-menu--light .mobile-menu-label { color: rgba(19,19,18,0.4); }
.mobile-menu--light .mobile-menu-cat {
  color: #131312;
  border-bottom-color: rgba(19,19,18,0.07);
}
.mobile-menu--light .mobile-menu-cat:active { color: rgba(19,19,18,0.6); }
.mobile-menu--light .mobile-menu-count { color: rgba(19,19,18,0.35); }
.mobile-menu--light .mobile-menu-link {
  color: rgba(19,19,18,0.65);
  border-bottom-color: rgba(19,19,18,0.07);
}
.mobile-menu--light .mobile-menu-link:active { color: #131312; }
/* Light theme — Crear cuenta pill */
.mobile-menu--light .mobile-menu-auth button:first-child {
  background: #131312;
  color: #FFFFFF;
}
/* Light theme — Iniciar sesión ghost */
.mobile-menu--light .mobile-menu-auth button:last-child {
  color: rgba(19,19,18,0.55);
}

/* ——— Ticker ——— */
.announcement-bar {
  display: none !important;
}
.announcement-bar--closing { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }

/* announcement bar is the opposite of the nav/page theme */
:root[data-page-theme="dark"] {
  --ann-bg: #FFFFFF;
  --ann-ink: #131312;
  --ann-line: #E8E4DC;
}
:root[data-page-theme="light"] {
  --ann-bg: #0F0E0D;
  --ann-ink: #EFEDE8;
  --ann-line: #1F1F1D;
}

.announcement-ticker {
  display: flex;
  align-items: center;
  gap: 16px;
}
.announcement-ticker-track {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ann-dup, button.ann-dup { display: none; }

.announcement-close {
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  color: inherit;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.announcement-close:hover { opacity: 1; }

@keyframes ann-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.announcement-cta {
  font-family: var(--sans); font-size: 15px;  color: inherit;
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 0;
}
.announcement-cta::after {
  content: '→';
  opacity: 0;
  transition: opacity 0.25s ease;
}
.announcement-cta:hover::after { opacity: 1; }

/* ——— Responsive ——— */


/* ——— PDP ——— */
.pdp-wrap { padding-top: 120px; }

.pdp-sub {
  background: var(--bg);
}
.pdp-sub-inner {
  width: 100%; margin: 0 auto;
  padding: 16px var(--pad) 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.pdp-sub .breadcrumbs { font-size: 15px; margin-bottom: 0; }
.pdp-sub .breadcrumbs .current { color: var(--ink); }
.pdp-sub .breadcrumbs a { color: var(--muted); transition: color .2s; }
.pdp-sub .breadcrumbs a:hover { color: var(--ink); }
.pdp-sub .breadcrumbs .sep { color: var(--line-2); }
.pdp-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: 13px; color: var(--ink);
  padding: 0; border: none; border-radius: 0; background: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.pdp-back:hover { opacity: 0.55; }

.pdp {
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: 0;
  width: 100%; margin: 0 auto;
  padding: 0 0 0 var(--pad);
  align-items: flex-start;
}

/* Gallery — vertical scroll stack */
.pdp-gallery {
  display: flex;
  flex-direction: column;
}
.pdp-gallery-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #cbcdd0 0%, #f4f4f4 100%);
}
.pdp-gallery-img .ph {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.pdp-real-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block;
}

/* PDP thumbnail strip (desktop) */
.pdp-gallery-with-thumbs {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 68px;
  flex-shrink: 0;
}
.pdp-thumb {
  width: 68px;
  aspect-ratio: 4 / 5;
  border: 1.5px solid var(--line);
  padding: 0;
  cursor: pointer;
  background: linear-gradient(to bottom, #cbcdd0 0%, #f4f4f4 100%);
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}
.pdp-thumb:hover { border-color: var(--line-2); }
.pdp-thumb.active { border-color: var(--ink); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdp-gallery-main { flex: 1; min-width: 0; }
.pdp-gallery-main .pdp-gallery-img { width: 100%; }
.pdp-main-img { transition: opacity 0.25s ease; }
/* Mobile: hide desktop thumbnails */
.pdp-gallery-mobile { display: none; }
@media (min-width: 821px) {
  .pdp-gallery-wrap > .pdp-gallery { display: none; }
}
@media (max-width: 820px) {
  .pdp-gallery-with-thumbs { display: none; }
  .pdp-gallery-mobile { display: flex; }
}

/* Aside */
.pdp-aside {
  padding: 0 0 80px 56px;
  min-width: 0;
  position: sticky;
  top: 100px;
  align-self: start;
}
.pdp-aside-inner { max-width: 460px; }
.pdp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-family: var(--sans); font-size: 11px;  color: var(--muted);
}
.pdp-tag {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(19,19,18,0.07);
  color: var(--ink);
  font-family: var(--sans); font-size: 13px;
}
.pdp-title {
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.pdp-sku {
  font-family: var(--sans); font-size: 13px; color: var(--muted);
  margin-bottom: 20px;
}
.pdp-sku .mono { font-family: var(--sans); }
.pdp-price {
  font-family: var(--sans);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 22px;
}
.pdp-price--divider {
  padding-bottom: 22px;
  border-bottom: 0.5px solid var(--line);
}
.pdp-stock {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-top: -14px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 0.5px solid var(--line);
}
.pdp-lede {
  font-size: 15px; line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 28px;
}

.pdp-field { margin-bottom: 22px; }
.pdp-field-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
}
.pdp-field-label {
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink);
}
.pdp-field-val { font-size: 14px; color: var(--ink); }
.pdp-field-link {
  font-size: 12px; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px;
  transition: color .2s;
}
.pdp-field-link:hover { color: var(--ink); }

.pdp-metals { display: flex; gap: 8px; }
.pdp-metal {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .2s;
  cursor: pointer;
}
.pdp-metal .swatch { width: 22px; height: 22px; border-radius: 50%; }
.pdp-metal:hover { border-color: var(--line-2); }
.pdp-metal.active { border-color: var(--ink); }

.pdp-size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-size {
  padding: 10px 14px;
  border: 1px solid var(--line);
  font-size: 12px;  color: var(--ink);
  min-width: 48px;
  transition: border-color .2s, background .2s, color .2s;
  cursor: pointer;
}
.pdp-size:hover { border-color: var(--ink); }
.pdp-size.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pdp-size-options.shake { animation: shake 0.4s ease; }

/* Per-size quantity stepper list */
.pdp-size-qty-list { display: flex; flex-direction: column; }
.pdp-size-qty-list.shake { animation: shake 0.4s ease; }
.pdp-size-qty-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.pdp-size-qty-row:last-child { border-bottom: none; }
.pdp-size-qty-label {
  font-size: 13px; color: var(--ink-2);
  transition: color .2s;
}
.pdp-size-qty-row.active .pdp-size-qty-label { color: var(--ink); font-weight: 500; }
.pdp-size-qty-price { font-size: 12px; color: var(--muted); margin-left: 8px; font-weight: 400; }
.pdp-size-qty-row.active .pdp-size-qty-price { color: var(--ink-2); }
.pdp-size-qty-stock,
.pdp-size-single-stock {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-left: 0;
}
.pdp-size-qty-stock::before {
  content: '·';
  margin: 0 6px;
}
.pdp-size-single-stock {
  margin: -2px 0 0;
}
/* Stepper — same visual language as .pdp-qty: single outer border, no inner borders */
.pdp-size-qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  height: 36px;
}
.pdp-size-qty-btn {
  width: 36px; height: 100%;
  font-size: 16px; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, color .2s;
}
.pdp-size-qty-btn:first-child { border-right: 0; border-radius: 6px 0 0 6px; }
.pdp-size-qty-btn:last-child  { border-left: 0; border-radius: 0 6px 6px 0; }
.pdp-size-qty-btn:hover { background: var(--ink); color: var(--bg); }
.pdp-size-qty-num {
  min-width: 32px; text-align: center;
  font-size: 13px; font-family: var(--sans);
}
/* Add button stretches full width when no global qty stepper is present */
.pdp-cta-row.pdp-cta-row--full { grid-template-columns: 1fr; }
.pdp-cta-row.pdp-cta-row--full .pdp-add { display: flex; width: 100%; justify-content: center; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

/* CTA row */
.pdp-cta-row {
  display: grid; grid-template-columns: auto 1fr;
  gap: 10px;
  margin-bottom: 20px;
  margin-top: 16px;
}
.pdp-qty {
  display: inline-flex; align-items: center;
  background: var(--ink);
  height: 52px;
  border-radius: 26px;
  overflow: hidden;
  border: none;
  flex-shrink: 0;
}
.pdp-qty button {
  width: 46px; height: 100%;
  font-size: 18px; font-weight: 300; color: var(--bg);
  transition: background .12s ease;
}
.pdp-qty button:first-child { border-radius: 26px 0 0 26px; }
.pdp-qty button:last-child  { border-radius: 0 26px 26px 0; }
.pdp-qty button:hover { background: rgba(255,255,255,0.18); }
.pdp-qty span {
  min-width: 36px; text-align: center;
  font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--bg);
}
.pdp-add {
  height: 52px;
  background: var(--ink); color: var(--bg);
  border: 1px solid transparent;
  border-radius: 50px;
  font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: opacity 0.2s;
  cursor: pointer;
}
.pdp-add:hover { opacity: 0.82; }
.pdp-add.added { background: #1C4A2E; }
.pdp-add-main { transition: none; }
.pdp-add-arrow { display: none; }

.pdp-fav-btn {
  width: 100%;
  height: 52px;
  background: rgba(19,19,18,0.07);
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px; font-weight: 400; display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 10px;
  margin-bottom: 28px;
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
  outline: none;
  text-decoration: none;
}
.pdp-fav-btn:hover { background: rgba(19,19,18,0.09); box-shadow: 0 0 0 2px #4a9eff; }

.pdp-urgency {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: #b45309;
  margin-top: -14px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 0.5px solid var(--line);
}
/* Accordion */
.pdp-accordion { border-top: 0.5px solid var(--line); }
.pdp-acc-row { border-bottom: 0.5px solid var(--line); }
.pdp-acc-head {
  width: 100%;
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;  color: var(--ink);
  text-align: left;
  font-weight: 500;
}
.pdp-acc-icon {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.pdp-acc-row.open .pdp-acc-icon { transform: rotate(45deg); }

.pdp-acc-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(0.22,1,0.36,1);
}
.pdp-acc-row.open .pdp-acc-body { grid-template-rows: 1fr; }
.pdp-acc-inner {
  overflow: hidden;
  font-size: 15px; line-height: 1.65;
  color: var(--ink-2);
  padding-bottom: 0;
  opacity: 0;
  transition: padding-bottom .35s cubic-bezier(0.22,1,0.36,1), opacity .3s ease;
}
.pdp-acc-row.open .pdp-acc-inner { padding-bottom: 22px; opacity: 1; }
.pdp-acc-inner p { margin-bottom: 10px; }

/* ——— How to Buy Page ——— */
.htb-page {
  padding-top: clamp(140px, 18vw, 200px);
  padding-bottom: 0;
  min-height: 100vh;
}

.htb-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 56px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.htb-back:hover { color: var(--ink); }

.htb-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.htb-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.0;
  font-size: clamp(40px, 5.5vw, 80px);
  text-align: center;
}

.htb-hero-body {
  max-width: 700px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.htb-notice-label {
  color: var(--muted);
}

.htb-intro {
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.6;
  color: var(--ink-2);
}

.htb-price-notice {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  padding: 16px 0;
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
  line-height: 1.6;
}

/* Steps */
.htb-steps {
  counter-reset: htb-step;
  border-bottom: 1px solid var(--line);
}

.htb-step {
  display: grid;
  grid-template-columns: clamp(48px, 6vw, 88px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(48px, 7vw, 80px) 0;
  counter-increment: htb-step;
  border-top: 1px solid var(--line);
}

.htb-step-num {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.08em;
  padding-top: 8px;
}

.htb-step-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.htb-step-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.htb-step-para {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}

.htb-step-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: htb-item;
}

.htb-step-list li {
  font-size: 15px;
  color: var(--ink-2);
  padding-left: 40px;
  position: relative;
  line-height: 1.5;
  counter-increment: htb-item;
}
.htb-step-list li::before {
  content: counter(htb-step) '.' counter(htb-item);
  position: absolute;
  left: 0;
  color: var(--muted);
  font-size: 12px;
  top: 3px;
  font-family: var(--sans);
}

.htb-closing {
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: clamp(80px, 10vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.htb-thanks {
  font-family: var(--sans);
  font-size: clamp(20px, 2.5vw, 30px);
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* .htb-closing gap already spaces the btn */


/* ——— Steps section: horizontal grid ——— */
.htb-grid-section {
  background: #EBF5ED;
  padding: clamp(64px, 8vw, 100px) 0;
}

.htb-grid-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.htb-grid-heading {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 640px;
}

.htb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(19,19,18,0.12);
}

.htb-grid-cell {
  padding: clamp(32px, 4vw, 52px) clamp(20px, 3vw, 40px) clamp(40px, 5vw, 60px);
  border-left: 1px solid rgba(19,19,18,0.12);
  display: flex;
  flex-direction: column;
}

.htb-grid-cell:first-child {
  border-left: none;
  padding-left: 0;
}

.htb-grid-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.htb-grid-num {
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.7;
  color: var(--ink);
}

.htb-grid-step-label {
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.7;
  color: var(--muted);
}

.htb-grid-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.htb-grid-para {
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.7;
  color: var(--ink-2);
}

.htb-scroll-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.htb-scroll-list li {
  font-size: clamp(12px, 1.2vw, 15px);
  color: inherit;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.htb-scroll-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  font-size: 18px;
  top: -1px;
  opacity: 0.5;
}

/* ——— Responsive ——— */
@media (max-width: 820px) {
  /* ——— Nav ——— */
  .nav { display: flex; justify-content: space-between; gap: 0; }
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }
  .mobile-menu { display: block; }
  .nav-account-desktop { display: none; }

  /* ——— Hero ——— */
  .hero { min-height: 100svh; height: 100svh; }
  .hero-inner { padding: 0 var(--pad) clamp(32px, 4vh, 52px); }
  .hero-left { max-width: 100%; }
  .hero-title { font-size: clamp(42px, 11vw, 60px); line-height: 1.0; }
  .hero-meta-left { gap: 24px; flex-wrap: wrap; }

  /* ——— Category rows (index) ——— */
  .categories { grid-template-columns: repeat(2, 1fr); }

  .news-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-page {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 110px var(--pad) 64px;
  }
  .contact-description p { font-size: 18px; }
  .contact-entry-value { font-size: 18px; }
  .footer-inner { gap: 24px; }
  .footer-left { flex: 0 0 18%; }
  .footer-isotipo { width: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head .link-arrow { border-bottom: none; }

  /* ——— Shop / PLP ——— */
  .sh-cat-chips-wrap { display: block; }
  .shop-head { padding: 120px var(--pad) 12px; }
  .shop-title-row { grid-template-columns: 1fr; gap: 12px; padding-bottom: 12px; }
  .shop-title { font-size: clamp(36px, 10vw, 56px); }
  .shop-toolbar-desktop { display: none; }
  .shop-toolbar-mobile { display: flex; border-top: none; padding-bottom: 6px; }
  .shop-toolbar-mobile .select-btn { padding: 10px 14px; font-size: 13px; }
  .shop-toolbar-mobile .select-menu { min-width: 170px; }
  /* grid cols controlled by JS via mobile-grid-* classes */
  .grid-4, .grid-3 { --cols: 2; }
  .shop-grid-wrap { padding: 0 var(--pad) 80px; }
  .shop-grid { gap: 8px; }
  .product { padding: 10px 10px 18px; }
  .product-name { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(3 * 1.25em); }
  .product-price { font-size: 13px; }
  .product-material { font-size: 11px; }
  .product-info { gap: 8px; }
  .product-info > :first-child { min-width: 0; flex: 1; }

  /* product card — touch devices have no hover, so always show interactive elements */
  .pc-add-btn { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }

  /* stepper compacto en columnas estrechas */
  .pc-stepper-btn { width: 28px; }
  .pc-stepper-qty { min-width: 18px; font-size: 12px; }
  .pc-stepper-confirm { padding: 0 7px; font-size: 11px; }

  /* ——— Cart drawer — full screen ——— */
  .drawer { width: 100vw; top: 0; right: 0; height: 100vh; border-radius: 0; transform: translateX(100%); overflow: visible; }

  /* ——— PDP ——— */
  .pdp-wrap { padding-top: 89px; }
  .pdp-sub-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pdp-sub .breadcrumbs { display: none; }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 0; }
  .pdp-gallery {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-width: 0;
    width: 100%;
  }
  .pdp-gallery-wrap { min-width: 0; overflow: hidden; width: 100%; }
  .pdp-gallery::-webkit-scrollbar { display: none; }
  .pdp-gallery-img {
    flex: 0 0 100vw;
    width: 100vw;
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
  }
  .pdp-aside {
    padding: 28px var(--pad) 60px;
    position: static;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .pdp-aside-inner { max-width: 100%; overflow: hidden; }
  .pdp-cta-row { grid-template-columns: auto 1fr; }
  .pdp-cta-row.pdp-cta-row--full { grid-template-columns: 1fr; }
  /* ——— How to Buy ——— */
  .htb-page { padding-top: 110px; }
  .htb-hero { gap: 28px; padding-bottom: 48px; }
  .htb-hero-body { max-width: 100%; }
  .htb-step {
    grid-template-columns: 32px 1fr;
    gap: 16px;
  }
  .htb-closing { align-items: center; }
  .htb-grid { grid-template-columns: 1fr; }
  .htb-grid-cell {
    border-left: none;
    border-top: 1px solid rgba(19,19,18,0.12);
    padding-left: 0;
    padding-right: 0;
  }
  .htb-grid-cell:first-child { border-top: none; }

  /* ——— Section spacing ——— */
  .hero { padding: 0; }
  .hero-body { margin-top: 0; }
  .section, .section-tight { padding: 64px 0; }
  .cat-showcase { padding: 64px 0; }
  .manifesto { padding: 64px 0; }
  .newsletter { padding: 64px 0; }
  .cr-section { padding: 64px 0 0; }
  .reviews-strip { padding: 64px 0 40px; }
  .htb-page { padding-bottom: 0; }
  .section-head { padding-bottom: 20px; margin-bottom: 32px; }

  /* ——— Footer wordmark ——— */
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-left { flex: none; width: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* ——— Announcement bar marquee ——— */
  .announcement-close { display: none; }
  .announcement-bar {
    padding: 10px var(--pad);
    justify-content: flex-start;
  }
  .announcement-ticker {
    overflow: hidden;
    flex: 1;
    min-width: 0;
  }
  .announcement-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    animation: ann-scroll 16s linear infinite;
  }
  .ann-dup { display: inline; }
  button.ann-dup { display: inline-flex; }

  /* ——— Carousel en mobile — solo nombre y precio ——— */
  .cr-section .cr-mat { display: none; }
  .cr-section .product-stock { display: none; }
  .cr-section .product-swatches { display: none; }
  .cr-section .product-sizes { display: none; }

  /* ——— Search drawer en mobile — 1 columna con lista horizontal ——— */
  .search-drawer { width: 100vw; top: 0; right: 0; height: 100vh; border-radius: 0; transform: translateX(100%); }
  .search-drawer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .search-drawer-grid .search-card-wrap {
    border-bottom: 0.5px solid var(--line);
  }
  .search-drawer-grid .search-card-wrap:last-child { border-bottom: none; }
  .search-drawer-grid .search-card-wrap .product {
    flex-direction: row;
    align-items: center;
    padding: 12px 0;
    gap: 14px;
  }
  .search-drawer-grid .search-card-wrap .product-media {
    flex: 0 0 60px;
    width: 60px;
    aspect-ratio: 1;
    margin-bottom: 0;
  }
  .search-drawer-grid .search-card-wrap .product-info {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .search-drawer-grid .search-card-wrap .product-name {
    font-size: 13px;
    line-height: 1.3;
  }
  .search-drawer-section-label { font-size: 13px; }
  .search-drawer-grid .search-card-wrap .product-price { font-size: 12px; }
  .search-drawer-grid .search-card-wrap .pc-add-btn,
  .search-drawer-grid .search-card-wrap .pc-stepper,
  .search-drawer-grid .search-card-wrap .pc-add-btn--check,
  .search-drawer-grid .search-card-wrap .product-wishlist,
  .search-drawer-grid .search-card-wrap .product-badge,
  .search-drawer-grid .search-card-wrap .product-material,
  .search-drawer-grid .search-card-wrap .product-sizes,
  .search-drawer-grid .search-card-wrap .product-stock,
  .search-drawer-grid .search-card-wrap .product-swatches { display: none; }
}

/* ——— Desktop-only: btn-ghost arrow animation ——— */
@media (min-width: 821px) {
  .btn-ghost-arrow { opacity: 0; transition: opacity 0.25s ease; }
  .btn-ghost:hover .btn-ghost-arrow { opacity: 1; }
  .cat-showcase .section-head .link-arrow:hover { gap: 8px; }
  .cat-showcase .section-head .link-arrow-arrow { opacity: 0; transition: opacity 0.25s ease; }
  .cat-showcase .section-head .link-arrow:hover .link-arrow-arrow { opacity: 1; }
  .news-submit-arrow { opacity: 0; transition: opacity 0.25s ease; }
  .news-submit:hover .news-submit-arrow { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .pc-add-btn, .pc-stepper, .pc-add-btn--check { animation: none; transition: none; }
}

/* ——— Size picker — bottom sheet ——— */
.spicker-scrim {
  position: fixed;
  inset: 0;
  background: rgba(19,19,18,0.50);
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: spicker-fadein 0.20s ease;
}
@keyframes spicker-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.spicker-card {
  background: var(--bg);
  width: 100%;
  max-width: 560px;
  border-radius: 6px 6px 0 0;
  padding: 12px 28px 44px;
  max-height: 90dvh;
  overflow-y: auto;
  animation: spicker-slide-up 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes spicker-slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@media (min-width: 641px) {
  .spicker-scrim { align-items: center; padding: 24px; }
  .spicker-card { border-radius: 6px; max-width: 480px; }
}
.spicker-handle {
  width: 40px;
  height: 4px;
  background: var(--line-2);
  border-radius: 2px;
  margin: 0 auto 20px;
}
.spicker-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.spicker-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.spicker-header-text {
  flex: 1;
  min-width: 0;
}
.spicker-name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.spicker-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.spicker-close {
  flex-shrink: 0;
  color: var(--muted);
  transition: color 0.16s ease;
}
.spicker-close:hover { color: var(--ink); }
.spicker-chips {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px;
}
.spicker-chip {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--line-2);
  border-radius: 100px;
  padding: 9px 18px;
  background: none;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}
.spicker-chip:hover:not(:disabled) { border-color: var(--ink); }
.spicker-chip--on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.spicker-chip--on:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); }
.spicker-chip--empty {
  opacity: 0.32;
  cursor: not-allowed;
  text-decoration: line-through;
}
.spicker-chip-price {
  font-size: 11px;
}
@keyframes spicker-appear {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.spicker-qty-section {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: spicker-appear 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.spicker-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}
.spicker-qty-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.spicker-stepper {
  display: flex;
  align-items: center;
  height: 36px;
  background: var(--ink);
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
}
.spicker-stepper-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  font-weight: 300;
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.12s ease;
}
.spicker-stepper-btn:first-child { border-radius: 18px 0 0 18px; }
.spicker-stepper-btn:last-child  { border-radius: 0 18px 18px 0; }
.spicker-stepper-btn:hover:not(:disabled) { filter: brightness(0.85); }
.spicker-stepper-btn:disabled { opacity: 0.30; cursor: default; }
.spicker-stepper-num {
  min-width: 28px;
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--bg);
}
.spicker-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
  height: 52px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
  animation: spicker-appear 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.spicker-cta:hover { background: transparent; color: var(--ink); }
.spicker-cta--done { background: transparent; color: var(--ink); cursor: default; pointer-events: none; }

.wa-float {
  position: fixed;
  bottom: var(--pad);
  right: var(--pad);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: none;
  border-radius: 12px;
  transition: opacity 0.3s ease, background 0.25s ease;
  text-decoration: none;
  overflow: hidden;
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #6be67e 0%, #25d366 45%, #128c4a 100%);
  border-radius: inherit;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.wa-float:hover::before {
  opacity: 0;
}
.wa-float img {
  position: relative;
  filter: brightness(0) invert(1);
  transition: filter 0.25s ease;
}
.wa-float:hover img {
  filter: none;
}
.wa-float:hover { background: rgba(19,19,18,0.07); }
body.wa-hidden .wa-float { opacity: 0; pointer-events: none; }

/* ——— Reviews page ——— */
.rv-page { padding-bottom: 0; }

/* ——— Reviews hero ——— */
.rv-page-hero { padding: 160px 0 0; }
.rv-page-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 64px;
  max-width: 22ch;
}
.rv-stats-row { display: flex; align-items: center; gap: 0; padding-bottom: 56px; }
.rv-stat { display: flex; flex-direction: column; gap: 8px; }
.rv-stat-num {
  font-family: var(--sans);
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.rv-stat-label { font-size: 13px; color: var(--ink-2); }
.rv-stat-divider { width: 1px; height: 48px; background: var(--line); flex-shrink: 0; margin: 0 48px; }

/* ——— Spotlight ——— */
.rv-spotlight { padding: clamp(96px, 11vw, 160px) 0; background: #EBF5ED; }
.rv-spotlight-stack { max-width: 720px; margin: 0 auto; }
.rv-spotlight-item {
  padding: 72px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.rv-spotlight-item:not(:last-child) { border-bottom: 1px solid rgba(19,19,18,0.15); }
.rv-spotlight-item .rv-stars { margin-bottom: 0; justify-content: center; }
.rv-spotlight-quote {
  font-family: var(--sans);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0;
  font-style: normal;
  quotes: none;
}
.rv-spotlight-quote::before {
  content: '\201C';
  font-family: var(--serif);
  display: block;
}
.rv-spotlight-cite {
  display: block;
  position: relative;
  margin: 0;
  padding-top: 18px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-style: normal;
}
.rv-spotlight-cite::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 128px;
  height: 1px;
  background: rgba(19,19,18,0.06);
}

/* ——— Testimonials section ——— */
.rv-testimonials-section {
  padding: clamp(96px, 11vw, 160px) 0;
}
.rv-testimonials-layout {
  display: grid;
  grid-template-columns: minmax(180px, 26vw) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: start;
}
.rv-testimonials-title {
  margin: 0;
  position: static;
}
.rv-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(48px, 7vw, 110px);
  row-gap: clamp(76px, 9vw, 132px);
}
.rv-testimonial {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--sans);
}
.rv-testimonial-text {
  max-width: 31ch;
  margin: 0 0 clamp(34px, 4vw, 52px);
  font-family: var(--sans);
  font-size: clamp(19px, 1.55vw, 26px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--ink);
  quotes: none;
}
.rv-testimonial-text::before {
  content: '\201C';
  font-family: var(--serif);
}
.rv-testimonial-name {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* Stars */
.rv-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.rv-star { font-size: 14px; color: var(--line); }
.rv-star--filled { color: #c8a84b; }

.rv-card {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rv-card--sm { padding: 24px 20px 20px; }
.rv-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  flex: 1;
  margin: 0 0 24px;
}
.rv-name {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  display: block;
}
.rv-source {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* CTA dark button */
.rv-cta-link {
  text-decoration: none;
  align-self: flex-start;
  margin-top: 8px;
}
.newsletter .btn-filled {
  background: #EFEDE8;
  color: #131312;
  border-color: #EFEDE8;
}

/* ——— Reviews strip (homepage) ——— */
.reviews-strip { padding: clamp(96px, 11vw, 160px) 0 clamp(40px, 4vw, 64px); background: var(--bg); }
.reviews-strip-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.reviews-strip-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.reviews-strip-left .reviews-strip-cta {
  justify-content: flex-start;
}
.reviews-strip-left .cat-sl-cta {
  font-size: 14px;
}
.reviews-strip-title { max-width: 14ch; }
.reviews-strip-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.reviews-strip-list {
  margin-bottom: clamp(4px, 5vw, 72px);
}

.reviews-strip-cta {
  display: flex;
  justify-content: flex-end;
  grid-column: 2;
  align-self: start;
}

/* ——— How-to-buy strip (homepage) ——— */
.htb-strip { padding: clamp(80px, 10vw, 140px) 0; background: #F2F1F0; }
.htb-strip-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.htb-strip-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(32px, 4vw, 52px);
}
.htb-strip-title {
  max-width: 20ch;
  margin: 0;
}
.htb-strip-right {
  display: flex;
  flex-direction: column;
}
.htb-strip-step {
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-top: 1px solid var(--line-2);
}
.htb-strip-heading {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}
.htb-strip-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 820px) {
  .htb-strip-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ——— Contact page mini reviews ——— */
.contact-reviews { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; padding-top: 32px; border-top: 0.5px solid var(--line); }
.contact-review-item { display: flex; flex-direction: column; gap: 8px; }
.contact-review-text { font-size: 14px; line-height: 1.6; color: var(--ink); margin: 0; }
.contact-review-name { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }

/* ——— Responsive reviews ——— */
@media (max-width: 900px) {
  .rv-stats-row { flex-wrap: wrap; gap: 28px; }
  .rv-stat-divider { display: none; }
  .rv-spotlight-stack { padding: 0 var(--pad); }
  .rv-spotlight-item { padding: 48px 0; }
  .rv-testimonials-section { padding: 64px 0; }
  .rv-spotlight { padding: 64px 0; }
  .rv-testimonials-layout { grid-template-columns: 1fr; gap: 36px; }
  .rv-testimonials-grid { grid-template-columns: 1fr; row-gap: 56px; }
  .rv-testimonial-text { max-width: none; font-size: 20px; }
  .rv-cta-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .reviews-strip-layout { grid-template-columns: 1fr; gap: 40px; }
  .reviews-strip-left { position: static; }
  .reviews-strip-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }
  .reviews-strip-list .rv-testimonial:nth-child(n+3) { display: none; }
  .reviews-strip-cta { grid-column: 1; justify-content: flex-start; }
}

/* ─── User account — nav chip ─────────────────────────────────────────────── */
.nav-user-btn {
  width: auto;
  padding: 0 12px;
}
.nav-user-chip {
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  white-space: nowrap;
  color: var(--nav-ink);
}

/* ─── Mobile menu user greeting ───────────────────────────────────────────── */
.mobile-menu-user-greeting {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 0 10px;
  opacity: 0.6;
}

/* ─── Favorites sync badge ────────────────────────────────────────────────── */
.fav-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  padding: 0;
  border: 0;
  border-radius: 0;
  margin-top: 10px;
  line-height: 1.45;
}
.fav-sync-badge svg {
  flex-shrink: 0;
  color: var(--muted);
}
.fav-sync-badge--guest {
  gap: 6px;
  flex-wrap: wrap;
}
.fav-sync-login-cta {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 0;
}

/* ─── Orders page ─────────────────────────────────────────────────────────── */
.orders-wrap {
  padding: 32px var(--pad) 120px;
}

/* ── Card grid ── */
.orders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.orders-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.orders-card:hover { border-color: var(--ink); background: rgba(19,19,18,0.03); }

.orders-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.orders-card-id {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.orders-card-date {
  font-size: 12px;
  color: var(--muted);
}
.orders-card-items-preview {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.orders-card-item-preview {
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.orders-card-more {
  font-size: 11px;
  color: var(--muted);
}
.orders-card-total {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 2px;
}

/* Status indicators */
.orders-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.orders-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.orders-status--pending::before   { background: #B07800; }
.orders-status--sent::before      { background: #2E7D32; }
.orders-status--cancelled::before { background: #C62828; }

/* ── Document detail view ── */
.orders-doc {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.orders-doc-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 32px;
}

.orders-doc-brand {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.0;
  color: var(--ink);
}

.orders-doc-meta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  padding-top: 6px;
}

.orders-doc-order-id {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.orders-doc-date,
.orders-doc-customer {
  font-size: 13px;
  color: var(--muted);
}

.orders-doc-line {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.orders-doc-items-hd {
  display: grid;
  grid-template-columns: 1fr 72px 128px;
  padding: 12px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.orders-doc-items-hd span:nth-child(2) { text-align: center; }
.orders-doc-items-hd span:nth-child(3) { text-align: right; }

.orders-doc-item {
  display: grid;
  grid-template-columns: 1fr 72px 128px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  font-size: 14px;
}

.orders-doc-item-name { color: var(--ink); }
.orders-doc-item-variant { color: var(--muted); }
.orders-doc-item-qty { text-align: center; color: var(--muted); }
.orders-doc-item-price { text-align: right; font-weight: 500; color: var(--ink); }

.orders-doc-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding: 20px 0;
}

.orders-doc-notes {
  font-size: 13px;
  color: var(--ink-2);
  padding: 16px 0;
  line-height: 1.6;
}
.orders-doc-notes-label {
  font-weight: 500;
  color: var(--ink);
  margin-right: 8px;
}

.orders-doc-footer {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding: 18px 0 0;
}

/* ── Action button groups ── */
.orders-actions-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: center;
  justify-self: end;
}
.orders-actions-mobile {
  display: none;
}

/* ── Item hover add overlay ── */
.orders-doc-item {
  position: relative;
}
.orders-doc-item-add {
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  align-items: center;
  height: 36px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 18px;
  z-index: 3;
  animation: orders-item-add-in 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.orders-doc-item-add::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
}
.orders-doc-item-add > :first-child { border-radius: 18px 0 0 18px; }
.orders-doc-item-add > :last-child  { border-radius: 0 18px 18px 0; }
.orders-doc-item-added {
  padding: 0 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  justify-content: center;
  pointer-events: none;
}
.orders-doc-item--active .orders-doc-item-qty,
.orders-doc-item--active .orders-doc-item-price {
  visibility: hidden;
}
@keyframes orders-item-add-in {
  from { transform: translateY(-50%) scale(0.82) translateX(6px); opacity: 0; }
  to   { transform: translateY(-50%) scale(1); opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .orders-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .orders-wrap { padding-bottom: 80px; }
  .orders-actions-desktop { display: none; }
  .orders-actions-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 32px;
  }
  .orders-actions-mobile .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .orders-grid { grid-template-columns: 1fr; }
  .orders-modal { padding: 32px 20px 24px; }
}
