/* ==========================================================================
   Kyro Cosmetics — storefront styles
   Type: Instrument Sans (+ Instrument Serif italic accents), sizes on a fixed scale,
   tracking tightens as size grows. Spacing on a 4px grid.
   ========================================================================== */

:root {
  --ink: #111111;
  --body: #444444;
  --muted: #6b6b6b;
  --line: rgba(17, 17, 17, 0.1);
  --bg: #ffffff;
  --soft: #f7f3ef;          /* cream section */
  --soft-2: #efe8e1;        /* deeper cream */
  --wine: #45101d;
  --wine-2: #5c1729;
  --wine-3: #7a2338;
  --blush: #f3c7d1;          /* light tint used on wine */
  --ok: #1f7a4d;
  --err: #b42318;
  --shade: #8a2538;

  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --pill: 999px;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 56px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);       /* critically damped feel */
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);   /* mirrored for exits */
  --glass: rgba(255, 255, 255, 0.78);
  --glass-filter: saturate(1.8) blur(20px);
  --shadow-1: 0 1px 2px rgba(17, 17, 17, 0.04), 0 8px 24px rgba(17, 17, 17, 0.06);
  --shadow-2: 0 2px 6px rgba(17, 17, 17, 0.06), 0 24px 60px rgba(17, 17, 17, 0.14);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--wine-3); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: var(--pill); }
.skip-link:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 14px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* ---------- Type scale ---------- */
.display { font-size: clamp(44px, 7vw, 76px); line-height: 0.98; letter-spacing: -0.04em; font-weight: 700; }
.display-2 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.display-2 .serif, .title .serif, .display .serif { font-size: 1.08em; }
.title { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; }
.title-sm { font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; }
.subtitle { margin: 12px auto 0; max-width: 560px; color: var(--muted); font-size: 17px; }
.eyebrow { margin: 0 0 12px; font-size: 12.8px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wine-3); }
.eyebrow.light { color: var(--blush); }
.lede { font-size: 18px; line-height: 1.5; max-width: 470px; }
.lede-dark { font-size: 19px; line-height: 1.55; color: var(--body); margin-top: 20px; }
.light { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: var(--pill); border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; letter-spacing: -0.02em; line-height: 1; cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms ease-out;
  -webkit-tap-highlight-color: transparent; user-select: none; white-space: nowrap;
}
.btn:active, .round-btn:active, .shade-chip:active, .pdp-swatch:active, .qty-step:active { transform: scale(0.97); transition-duration: 60ms; }
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary:hover { background: var(--wine-2); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: rgba(17, 17, 17, 0.3); }
.btn-light { background: #fff; color: var(--wine); }
.btn-light:hover { background: #fbeff2; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-block { width: 100%; }
.btn-disabled { background: #eee; color: #999; cursor: not-allowed; }
.btn.loading { opacity: 0.7; pointer-events: none; }
.btn.added::after { content: "✓"; font-weight: 700; }
a.added_to_cart { display: none !important; } /* WooCommerce's "View cart" link; the bag sheet replaces it */
.link-more { display: inline-flex; align-items: center; gap: 2px; color: var(--wine-3); font-weight: 600; font-size: 16px; }
.link-more .icon { width: 1em; height: 1em; transition: transform 200ms var(--ease); }
.link-more:hover .icon { transform: translateX(3px); }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: #f0ebe6; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color 160ms var(--ease), transform 120ms ease-out, opacity 160ms;
}
.round-btn:hover { background: #e6ded6; }
.round-btn[disabled] { opacity: 0.35; cursor: default; }

/* ---------- Promo strip + glass nav ---------- */
.promo-bar { background: var(--wine); color: #f6e7ea; font-size: 13px; text-align: center; padding: 8px var(--gutter); letter-spacing: -0.005em; }
.promo-bar p { margin: 0; }
.promo-bar span { margin: 0 10px; opacity: 0.6; }

.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  transition: box-shadow 200ms var(--ease);
}
.site-nav.is-scrolled { box-shadow: 0 1px 0 rgba(17, 17, 17, 0.06), 0 8px 24px -16px rgba(17, 17, 17, 0.25); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav-logo { font-weight: 700; font-size: 20px; letter-spacing: 0.2em; color: var(--ink); justify-self: start; padding: 8px 0; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); opacity: 0.85; padding: 8px 0; transition: opacity 150ms; }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 6px; }
.nav-bag, .nav-menu-btn { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 50%; }
.nav-bag .icon, .nav-menu-btn .icon { width: 24px; height: 24px; }
.bag-count { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--wine); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; transform: scale(0); transition: transform 260ms var(--ease); }
.bag-count:not(:empty) { transform: scale(1); }
.bag-count.bump { animation: bump 380ms var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.nav-menu-btn { display: none; }
.mobile-menu { border-top: 1px solid var(--line); }
.mobile-menu nav { display: flex; flex-direction: column; padding: 8px var(--gutter) 20px; }
.mobile-menu a { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); padding: 10px 0; }

/* ---------- Bag sheet (floating glass window, anchored to the bag icon) ---------- */
.bag-sheet { position: fixed; z-index: 60; top: calc(var(--nav-h) + 8px); right: 8px; width: min(380px, calc(100vw - 16px)); pointer-events: none; }
.bag-sheet[hidden] { display: block; visibility: hidden; }
.bag-sheet-inner {
  pointer-events: auto; border-radius: var(--r-lg); padding: 16px;
  background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(1.8) blur(30px); backdrop-filter: saturate(1.8) blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.6); box-shadow: var(--shadow-2);
  transform-origin: top right; transform: translateY(-8px) scale(0.96); opacity: 0;
  transition: transform 220ms var(--ease-in), opacity 180ms var(--ease-in);
}
.bag-sheet.is-open .bag-sheet-inner { transform: none; opacity: 1; transition: transform 380ms var(--ease), opacity 200ms var(--ease); }
.bag-sheet.is-dragging .bag-sheet-inner { transition: none; }
.bag-sheet-row { display: grid; grid-template-columns: 56px 1fr 32px; gap: 12px; align-items: center; }
.bag-sheet-img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: var(--soft); }
.bag-sheet-title { margin: 0; display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ok); font-size: 14px; }
.bag-sheet-title .icon { width: 16px; height: 16px; }
.bag-sheet-name { margin: 2px 0 0; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; }
.bag-sheet-close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(17, 17, 17, 0.06); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.bag-sheet-close .icon { width: 16px; height: 16px; }
.bag-sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.bag-sheet-actions .btn { min-height: 44px; font-size: 15px; padding: 0 12px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; gap: 24px; }
.section-head-row .subtitle { margin-left: 0; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #f8e9ec;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(176, 52, 86, 0.55), transparent 60%),
    radial-gradient(800px 500px at 10% 100%, rgba(122, 35, 56, 0.6), transparent 60%),
    linear-gradient(135deg, #3a0c18 0%, #5c1729 55%, #45101d 100%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; min-height: min(720px, calc(100svh - 92px)); padding-top: 56px; padding-bottom: 56px; }
.hero .display { color: #fff; margin: 22px 0 20px; }
.hero .tint { color: var(--blush); }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0; background: #fff; color: var(--wine); border-radius: var(--pill); padding: 8px 16px; font-size: 12.8px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow-pill .icon { width: 14px; height: 14px; }
.hero-meta { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 8px; font-size: 15px; }
.hero-meta li { display: flex; align-items: center; gap: 10px; }
.hero-meta .icon { width: 18px; height: 18px; opacity: 0.85; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; }
.glass-card {
  position: relative; display: flex; flex-direction: column; padding: 14px 12px 14px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.45);
  transform: translateY(calc(var(--i) * -14px)) rotate(calc((var(--i) - 1.5) * 1.6deg));
  transition: transform 450ms var(--ease), box-shadow 300ms var(--ease);
}
.glass-card:hover { transform: translateY(calc(var(--i) * -14px - 8px)) rotate(0deg); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.55); }
.glass-card:active { transform: translateY(calc(var(--i) * -14px - 4px)) scale(0.98); transition-duration: 80ms; }
.glass-badge { position: absolute; top: -12px; right: 10px; background: var(--shade); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: var(--pill); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.5); }
.glass-img { display: flex; justify-content: center; align-items: flex-end; height: clamp(140px, 17vw, 210px); margin-bottom: 12px; background: radial-gradient(60% 40% at 50% 95%, rgba(17, 17, 17, 0.12), transparent 70%); }
.glass-img img { height: 100%; width: auto; object-fit: contain; }
.glass-name { font-weight: 600; font-size: 15px; letter-spacing: -0.02em; line-height: 1.2; }
.glass-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.glass-price { margin-top: 6px; font-weight: 700; color: var(--wine-3); font-size: 14px; }

/* Shade explorer */
.explorer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.explorer-stage { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.explorer-img { position: absolute; inset: 0; opacity: 0; transition: opacity 420ms var(--ease); }
.explorer-img.is-active { opacity: 1; }
.explorer-img img { width: 100%; height: 100%; object-fit: cover; }
.shade-chips { display: flex; gap: 14px; margin-bottom: 28px; }
.shade-chip { width: 48px; height: 48px; border-radius: 50%; padding: 4px; border: 2px solid transparent; background: none; cursor: pointer; transition: border-color 180ms var(--ease), transform 120ms ease-out; }
.shade-chip span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--shade); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.shade-chip[aria-checked="true"] { border-color: var(--ink); }
.explorer-info[hidden] { display: none; }
.explorer-info.is-active { animation: info-in 360ms var(--ease); }
@keyframes info-in { from { opacity: 0; transform: translateY(8px); } }
.explorer-name { font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.035em; font-weight: 700; line-height: 1.02; }
.explorer-tone { margin: 8px 0 14px; font-weight: 600; color: var(--wine-3); }
.explorer-line { font-size: 17px; max-width: 420px; }
.explorer-price { font-size: 20px; font-weight: 700; color: var(--ink); }
.explorer-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.explorer-lips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 36px; }
.explorer-lips figure { margin: 0; position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 3/4; }
.explorer-lips img { width: 100%; height: 100%; object-fit: cover; }
.explorer-lips figcaption { position: absolute; left: 8px; bottom: 8px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(17, 17, 17, 0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 2px 8px; border-radius: var(--pill); }

/* Statement */
.statement { background: var(--soft); text-align: center; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(260px, auto); gap: 16px; }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); }
.tile-lg { grid-row: span 2; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; color: var(--ink); background: linear-gradient(to top, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0)); }
.tile-cap.dark { color: #fff; background: linear-gradient(to top, rgba(30, 6, 14, 0.75), rgba(30, 6, 14, 0)); }
.tile-cap.dark h3 { color: #fff; }
.tile-cap h3 { font-size: 22px; letter-spacing: -0.02em; }
.tile-cap p { margin: 4px 0 0; font-size: 15px; }
.tile-shades .swatch-row { margin: 0 0 14px; }
.tile-shades .swatch-row span { width: 34px; height: 34px; }
.tile-stat { padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile-stat p { margin: 0; font-size: 15px; }
.stat-big { font-size: 72px !important; line-height: 1; letter-spacing: -0.05em; font-weight: 700; color: var(--ink); margin-bottom: 10px !important; }
.stat-big small { font-size: 0.4em; letter-spacing: 0; margin-left: 4px; }
.stat-mid { font-size: 30px !important; line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; color: var(--ink); margin-bottom: 10px !important; }
.tile-wine { background: var(--wine); color: #f3dfe3; }
.tile-wine .stat-mid { color: #fff; }

/* Gallery rail (native momentum scrolling + snap) */
.gallery-section { padding-bottom: clamp(48px, 7vw, 96px); }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 20px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail-item { flex: 0 0 clamp(240px, 28vw, 340px); margin: 0; scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--soft); }
.rail-item img { width: 100%; height: 100%; object-fit: cover; }
.rail-controls { display: flex; gap: 10px; }

/* Story */
.story { background: var(--soft); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-copy .title { margin-bottom: 20px; }
.story-copy p { font-size: 17px; max-width: 480px; }

/* Set band */
.set-band { background: linear-gradient(135deg, #3a0c18, #5c1729); color: #f3dfe3; }
.set-band.compact { padding: clamp(48px, 7vw, 80px) 0; }
.set-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.set-copy .title { margin-bottom: 16px; }
.set-copy p { font-size: 17px; max-width: 460px; }
.set-price { font-size: 26px; font-weight: 700; color: #fff; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 20px 0 28px; }
.set-price .set-save { font-size: 14px; font-weight: 500; color: var(--blush); }
.set-price del { opacity: 0.6; font-weight: 500; font-size: 0.7em; margin-right: 6px; }
.set-price ins { text-decoration: none; }
.set-img { border-radius: var(--r-lg); overflow: hidden; }

/* Services */
.services { padding: clamp(48px, 7vw, 80px) 0; border-bottom: 1px solid var(--line); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.service .icon { width: 30px; height: 30px; color: var(--wine-3); margin-bottom: 14px; }
.service h3 { font-size: 17px; letter-spacing: -0.015em; margin-bottom: 6px; }
.service p { margin: 0; font-size: 15px; color: var(--muted); }

/* FAQ / accordions */
.faq { border-top: 1px solid var(--line); margin-bottom: 32px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 18px; letter-spacing: -0.015em; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 22px; height: 22px; transition: transform 300ms var(--ease); color: var(--muted); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-a { padding: 0 40px 22px 0; font-size: 16px; }
.faq-a p:last-child { margin-bottom: 0; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content { block-size: 0; overflow: clip; transition: block-size 320ms var(--ease), content-visibility 320ms allow-discrete; }
  .faq-item[open]::details-content { block-size: auto; }
}

/* ---------- Shop ---------- */
.shop-page { padding-top: clamp(40px, 6vw, 72px); }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pcard-media { position: relative; display: block; aspect-ratio: 1; background: var(--soft-2); overflow: hidden; }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 400ms var(--ease), transform 700ms var(--ease); }
.pcard-b { opacity: 0; }
@media (hover: hover) {
  .pcard:hover .pcard-a { opacity: 0; }
  .pcard:hover .pcard-b { opacity: 1; transform: scale(1.03); }
}
.pcard-badge { position: absolute; top: 12px; left: 12px; background: var(--shade); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: var(--pill); }
.pcard-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-name { font-size: 20px; letter-spacing: -0.025em; }
.pcard-tone { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; font-size: 14px; color: var(--muted); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--shade); flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
.pcard-price { font-weight: 700; color: var(--ink); margin-top: auto; margin-bottom: 14px; }
.set-card { display: grid; grid-template-columns: 1.1fr 1fr; margin-top: 20px; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); }
.set-card-media img { width: 100%; height: 100%; object-fit: cover; }
.set-card-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.set-card-body .title { margin-bottom: 12px; }
.swatch-row { display: flex; gap: 8px; margin: 6px 0 18px; }
.swatch-row span { width: 26px; height: 26px; border-radius: 50%; background: var(--shade); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
.set-card-price { font-size: 24px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.set-card-price del { color: var(--muted); font-weight: 500; font-size: 0.7em; }
.set-card-price ins { text-decoration: none; }
.save-pill { font-size: 13px; font-weight: 700; color: var(--wine-3); background: #f8e3e8; padding: 5px 12px; border-radius: var(--pill); }
.guide { margin-top: clamp(56px, 8vw, 96px); text-align: center; }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; text-align: left; }
.guide-item { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--r-md); background: var(--soft); transition: background-color 200ms; }
.guide-item:hover { background: var(--soft-2); }
.guide-item strong { color: var(--ink); letter-spacing: -0.015em; }
.guide-item span:last-child { font-size: 14px; color: var(--muted); }
.guide-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--shade); margin-bottom: 6px; }

/* WooCommerce price markup */
.price del, del .amount { color: var(--muted); }
ins { text-decoration: none; }
.woocommerce-Price-currencySymbol { margin-right: 0.12em; }

/* ---------- Product page ---------- */
.pdp { padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }
.pdp-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pdp-gallery { position: relative; min-width: 0; }
.pdp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-lg); background: var(--soft-2); scrollbar-width: none; overscroll-behavior-x: contain; }
.pdp-track::-webkit-scrollbar { display: none; }
.pdp-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 1; }
.pdp-slide img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
.pdp-thumb { flex: 0 0 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--soft); transition: border-color 160ms; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.is-active { border-color: var(--ink); }
.pdp-dots { display: none; justify-content: center; gap: 6px; margin-top: 12px; }
.pdp-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(17, 17, 17, 0.2); transition: background-color 200ms, width 260ms var(--ease); }
.pdp-dots span.is-active { background: var(--ink); width: 18px; border-radius: 3px; }
.pdp-sticky { position: sticky; top: calc(var(--nav-h) + 24px); }
.pdp-title { font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; }
.pdp-tone { margin: 10px 0 0; font-weight: 600; color: var(--wine-3); font-size: 17px; }
.pdp-price { margin: 16px 0 24px; font-size: 24px; font-weight: 700; color: var(--ink); }
.pdp-price del { font-size: 0.7em; font-weight: 500; margin-right: 8px; }
.pdp-label { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.pdp-label strong { color: var(--ink); font-weight: 600; margin-left: 4px; }
.pdp-swatches { display: flex; gap: 12px; margin-bottom: 24px; }
.pdp-swatch { width: 48px; height: 48px; border-radius: 50%; padding: 4px; border: 2px solid transparent; transition: border-color 160ms, transform 120ms ease-out; }
.pdp-swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--shade); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.pdp-swatch.is-current { border-color: var(--ink); }
.pdp-swatch:hover:not(.is-current) { border-color: rgba(17, 17, 17, 0.25); }
.pdp-includes ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdp-includes li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: 15px; }
.pdp-short { font-size: 17px; }
.pdp-buy form.cart { display: flex; gap: 12px; margin: 8px 0 20px; }
.pdp-buy .quantity { display: inline-flex; align-items: center; border-radius: var(--pill); box-shadow: inset 0 0 0 1.5px var(--line); height: 52px; padding: 0 4px; }
.pdp-buy .quantity input.qty { width: 36px; border: 0; background: none; text-align: center; font: inherit; font-weight: 600; font-size: 17px; color: var(--ink); -moz-appearance: textfield; }
.pdp-buy .quantity input.qty::-webkit-outer-spin-button, .pdp-buy .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-step { width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background-color 150ms, transform 120ms ease-out; }
.qty-step:hover { background: rgba(17, 17, 17, 0.06); }
.qty-step .icon { width: 18px; height: 18px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.single_add_to_cart_button { flex: 1; min-height: 52px; border: 0; border-radius: var(--pill); background: var(--wine); color: #fff; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; cursor: pointer; transition: background-color 160ms, transform 120ms ease-out; }
.single_add_to_cart_button:hover { background: var(--wine-2); }
.single_add_to_cart_button:active { transform: scale(0.98); }
.single_add_to_cart_button.loading { opacity: 0.7; }
.stock.out-of-stock { color: var(--err); font-weight: 600; }
.pdp-perks { list-style: none; padding: 20px 0; margin: 0 0 8px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 15px; }
.pdp-perks li { display: flex; gap: 12px; align-items: center; }
.pdp-perks .icon { width: 22px; height: 22px; color: var(--wine-3); }
.pdp-accordions .faq-item summary { font-size: 16px; padding: 18px 0; }
.pdp-accordions .faq-a { font-size: 15px; padding-bottom: 18px; }
.pdp-accordions .faq-a a { color: var(--wine-3); font-weight: 600; }
.mini-grid { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; }
.mini-card { display: flex; flex-direction: column; gap: 2px; border-radius: var(--r-lg); padding: 0 0 18px; background: var(--soft); overflow: hidden; }
.mini-card img { aspect-ratio: 1; width: 100%; object-fit: cover; margin-bottom: 14px; transition: transform 600ms var(--ease); }
.mini-card:hover img { transform: scale(1.03); }
.mini-card > *:not(img) { padding: 0 18px; }
.mini-no { font-size: 12px; font-weight: 700; color: var(--wine-3); letter-spacing: 0.08em; }
.mini-card strong { color: var(--ink); font-size: 18px; letter-spacing: -0.02em; }
.mini-price { font-size: 15px; color: var(--body); }

/* ---------- Content pages ---------- */
.reading-page, .store-page { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 112px); }
.page-head { margin-bottom: clamp(28px, 4vw, 48px); }
.reading-page .page-head { text-align: center; }
.page-title { font-size: clamp(36px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.page-lede { font-size: 19px; color: var(--muted); margin: 16px auto 0; max-width: 600px; }
.entry { font-size: 17px; }
.entry h2 { font-size: 28px; letter-spacing: -0.025em; margin: 48px 0 14px; }
.entry h3 { font-size: 20px; letter-spacing: -0.015em; margin: 32px 0 10px; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li { margin-bottom: 6px; }
.entry a { color: var(--wine-3); font-weight: 600; }
.entry figure { margin: 32px 0; }
.entry figure img { border-radius: var(--r-lg); }
.entry .wp-block-image figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 10px; }
.entry .wp-block-columns { display: flex; gap: 24px; flex-wrap: wrap; }
.entry .wp-block-column { flex: 1 1 240px; }
.entry .kyro-callout { background: var(--soft); border-radius: var(--r-md); padding: 24px 28px; margin: 32px 0; }
.entry .kyro-callout p:last-child { margin: 0; }
.entry table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 16px; }
.entry th, .entry td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.entry th { color: var(--ink); }

/* Forms (contact + account + classic WooCommerce forms) */
.kyro-form, .woocommerce-form, .woocommerce-EditAccountForm, .woocommerce-address-fields { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field span, .woocommerce form .form-row label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .woocommerce form .input-text, .woocommerce form select, .woocommerce-Input {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid rgba(17, 17, 17, 0.14); border-radius: var(--r-sm); padding: 13px 14px; transition: border-color 150ms, box-shadow 150ms;
}
.field input:focus, .field textarea:focus, .woocommerce form .input-text:focus { outline: none; border-color: var(--wine-3); box-shadow: 0 0 0 4px rgba(122, 35, 56, 0.12); }
.hp { position: absolute; left: -9999px; }
.form-note { border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 20px; font-weight: 600; }
.form-note.is-ok { background: #e7f4ec; color: var(--ok); }
.form-note.is-error { background: #fdecea; color: var(--err); }

/* ---------- WooCommerce notices, account, order pages (classic) ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
  list-style: none; margin: 0 0 24px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--soft); color: var(--ink); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between;
}
.woocommerce-error { background: #fdecea; color: var(--err); display: block; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; font-weight: 600; color: var(--wine-3); }
.woocommerce .button, .woocommerce button.button, .woocommerce-Button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border: 0; border-radius: var(--pill); background: var(--wine); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; letter-spacing: -0.01em;
}
.woocommerce .button:hover { background: var(--wine-2); }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation a { display: inline-block; padding: 8px 16px; border-radius: var(--pill); background: var(--soft); font-weight: 600; font-size: 14px; color: var(--ink); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 32px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-order-overview { list-style: none; padding: 20px 24px; margin: 0 0 32px; background: var(--soft); border-radius: var(--r-md); display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; font-size: 14px; }
.woocommerce-order-overview strong { display: block; color: var(--ink); font-size: 16px; margin-top: 2px; }
.woocommerce-thankyou-order-received { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.woocommerce-customer-details address { font-style: normal; background: var(--soft); border-radius: var(--r-md); padding: 20px 24px; }
.woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

/* ---------- WooCommerce Cart & Checkout blocks ---------- */
.store-wrap { max-width: var(--wrap); }
.store-page .page-head { text-align: left; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--sans); color: var(--body); }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
  background: var(--wine) !important; color: #fff !important; border: 0 !important; border-radius: var(--pill) !important; min-height: 52px; font-weight: 600 !important; font-size: 17px !important; letter-spacing: -0.02em; box-shadow: none !important;
}
.wc-block-components-button:not(.is-link):hover { background: var(--wine-2) !important; }
.wc-block-components-button:not(.is-link):active { transform: scale(0.98); }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-block-components-textarea, .wc-blocks-components-select .wc-blocks-components-select__select {
  border-radius: var(--r-sm) !important; border: 1.5px solid rgba(17, 17, 17, 0.14) !important; font-size: 16px !important;
}
.wc-block-components-text-input.is-active input:focus, .wc-block-components-text-input input:focus { border-color: var(--wine-3) !important; box-shadow: 0 0 0 4px rgba(122, 35, 56, 0.12) !important; }
.wc-block-components-sidebar .wc-block-components-panel, .wc-block-components-totals-wrapper { border-color: var(--line) !important; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar > div:first-child, .wp-block-woocommerce-checkout-order-summary-block {
  background: var(--soft); border-radius: var(--r-lg); border: 0 !important;
}
.wc-block-components-totals-item__label, .wc-block-components-product-name { color: var(--ink); }
.wc-block-components-product-name { font-weight: 600; letter-spacing: -0.01em; }
.wc-block-cart-items__row .wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img { border-radius: 12px; }
.wc-block-components-radio-control__option { border-radius: var(--r-sm); }
.wc-block-components-title.wc-block-components-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button { color: var(--wine-3); }
.wc-block-components-notice-banner { border-radius: var(--r-sm); }
.wp-block-woocommerce-empty-cart-block { text-align: center; }
.wc-block-cart__empty-cart__title { font-size: 28px !important; letter-spacing: -0.03em; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--soft); padding: 64px 0 32px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand p { max-width: 320px; margin: 16px 0; color: var(--muted); }
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; color: var(--wine); }
.wordmark b { font-weight: 700; font-size: 32px; letter-spacing: 0.12em; }
.wordmark span { font-weight: 600; font-size: 10px; letter-spacing: 0.62em; margin-top: 6px; }
.footer-insta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-cols a { color: var(--body); transition: color 150ms; }
.footer-cols a:hover { color: var(--wine-3); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll (opt-in by JS, never stuck hidden) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); transition-delay: var(--d, 0ms); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; gap: 40px; }
  .hero-cards { max-width: 640px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-lg { grid-column: span 2; grid-row: span 1; min-height: 420px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 52px; }
  .nav-links { display: none; }
  .nav-menu-btn { display: inline-flex; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-actions { grid-column: 2; }
  .explorer-grid, .story-grid, .set-grid, .pdp-grid, .set-card { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .guide-grid, .mini-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .pdp-thumbs { display: none; }
  .pdp-dots { display: flex; }
  .pdp-track { border-radius: 0; margin: 0 calc(var(--gutter) * -1); }
  .pdp-sticky { position: static; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .rail-controls { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero-cards { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .glass-card { transform: none; }
  .glass-card:hover { transform: translateY(-4px); }
  .bento { grid-template-columns: 1fr; }
  .tile-lg { grid-column: auto; min-height: 380px; }
  .tile-photo { min-height: 300px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .explorer-lips { gap: 6px; }
  .promo-bar span { display: block; height: 0; overflow: hidden; }
  .promo-bar p { font-size: 12px; }
  .pgrid { gap: 12px; }
  .pcard-body { padding: 14px; }
  .pcard-name { font-size: 17px; }
  .pcard .btn { min-height: 44px; font-size: 15px; padding: 0 12px; }
  .bag-sheet { top: auto; bottom: 8px; padding-bottom: env(safe-area-inset-bottom); }
  .bag-sheet-inner { transform-origin: bottom center; transform: translateY(24px); }
  .pdp-buy form.cart { flex-wrap: wrap; }
}
@media (hover: none) {
  .glass-card:hover { transform: translateY(calc(var(--i) * -14px)) rotate(calc((var(--i) - 1.5) * 1.6deg)); }
}

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .glass-card, .glass-card:hover { transform: none; }
  .bag-sheet-inner, .bag-sheet.is-open .bag-sheet-inner { transform: none; transition: opacity 200ms ease; }
  .pcard-media img, .mini-card img { transition: opacity 200ms ease; transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-nav, .bag-sheet-inner { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #444; --line: rgba(17, 17, 17, 0.35); }
  .site-nav { background: #fff; border-bottom: 1px solid #111; }
  .bag-sheet-inner { background: #fff; border-color: #111; }
}

/* Buttons inside page content keep their own colours. */
.entry a.btn-primary { color: #fff; }
.entry a.btn-secondary { color: var(--ink); }
@media (max-width: 600px) {
  .eyebrow-pill { font-size: 11px; letter-spacing: 0.1em; padding: 7px 12px; }
}
.set-copy .set-price { font-size: 30px; }
.set-copy .set-price .set-save { font-size: 14px; }
