/* ============================================================
   Vampstrash — main stylesheet
   Ported from the Claude Design prototype (styles.css +
   styles-info.css). Variable-driven; the active colour scheme is
   selected via the data-theme attribute on <html> (see
   inc/color-schemes.php). WordPress-specific additions are at the
   foot of the file under 'WORDPRESS ADDITIONS'.
   ============================================================ */

/* =========================================================
   Vampstrash — site styles
   ========================================================= */

:root {
  --bg:        #0a0a0a;
  --bg-1:      #0e0d0c;
  --bg-2:      #141311;
  --bg-3:      #1c1b18;
  --bg-rgb:    10, 10, 10;
  --hover-rgb: 255, 255, 255;
  --on-accent: #0a0a0a;     /* text color when sitting on accent/text-color surfaces */
  --line:      rgba(244, 241, 235, 0.08);
  --line-2:    rgba(244, 241, 235, 0.16);
  --line-3:    rgba(244, 241, 235, 0.28);
  --text:      #f4f1eb;
  --text-dim:  rgba(244, 241, 235, 0.78);
  --muted:     rgba(244, 241, 235, 0.55);
  --muted-2:   rgba(244, 241, 235, 0.36);
  --accent:    #c9c4ba;
  --red:       #8b1414;
  --green:     #6ea96b;

  /* Primary CTA — usually inverse of bg/text, but themes can override
     to push a brand colour (e.g. red on Velvet/Crimson). */
  --primary-bg: var(--text);
  --primary-fg: var(--bg);

  /* Corner radii — driven by the "Corners" tweak. Defaults to soft. */
  --radius:    14px;
  --radius-sm: 8px;
  --radius-xs: 4px;

  --gutter: 44px;
  --container: 1480px;
  --nav-h: 104px;
  --ease: cubic-bezier(.32, .72, .32, 1);

  --display-weight: 400;
  --display-track: -0.025em;
}

/* ───────── Theme: Crimson — dark base, red leads ───────── */
html[data-theme="crimson"] {
  --bg:        #0a0707;
  --bg-1:      #110a0a;
  --bg-2:      #1a0e0e;
  --bg-3:      #271414;
  --bg-rgb:    10, 7, 7;
  --line:      rgba(244, 226, 222, 0.09);
  --line-2:    rgba(244, 226, 222, 0.18);
  --line-3:    rgba(244, 226, 222, 0.32);
  --text:      #f4ece8;
  --text-dim:  rgba(244, 236, 232, 0.78);
  --muted:     rgba(244, 236, 232, 0.55);
  --muted-2:   rgba(244, 236, 232, 0.36);
  --accent:    #d83232;
  --red:       #d83232;
  --on-accent: #ffffff;
  --primary-bg: #d83232;
  --primary-fg: #ffffff;
}

/* ───────── Theme: Velvet — lighter oxblood red, red CTAs, gold accents ───────── */
html[data-theme="velvet"] {
  --bg:        #4a1419;
  --bg-1:      #581821;
  --bg-2:      #6a2129;
  --bg-3:      #7d2a34;
  --bg-rgb:    74, 20, 25;
  --hover-rgb: 244, 230, 203;
  --on-accent: #4a1419;
  --line:      rgba(244, 230, 203, 0.11);
  --line-2:    rgba(244, 230, 203, 0.22);
  --line-3:    rgba(244, 230, 203, 0.36);
  --text:      #f4e6cb;
  --text-dim:  rgba(244, 230, 203, 0.82);
  --muted:     rgba(244, 230, 203, 0.58);
  --muted-2:   rgba(244, 230, 203, 0.36);
  --accent:    #e0b860;
  --red:       #c93236;
  --green:     #a8c97a;
  --primary-bg: #d83a42;
  --primary-fg: #ffffff;
}

/* ───────── Theme: Bone — warm white background, red accents ───────── */
html[data-theme="bone"] {
  --bg:        #f7f1e6;
  --bg-1:      #f0e8d9;
  --bg-2:      #ebe2cf;
  --bg-3:      #e0d4ba;
  --bg-rgb:    247, 241, 230;
  --hover-rgb: 20, 14, 10;
  --on-accent: #f7f1e6;
  --line:      rgba(20, 14, 10, 0.10);
  --line-2:    rgba(20, 14, 10, 0.20);
  --line-3:    rgba(20, 14, 10, 0.36);
  --text:      #14100c;
  --text-dim:  rgba(20, 14, 10, 0.78);
  --muted:     rgba(20, 14, 10, 0.55);
  --muted-2:   rgba(20, 14, 10, 0.36);
  --accent:    #a01818;
  --red:       #a01818;
  --green:     #4f7a3a;
}

/* ───────── Theme: Vellum — aged parchment, deep sepia, blood-red accent ───────── */
html[data-theme="vellum"] {
  --bg:        #f0e8cf;
  --bg-1:      #e8debb;
  --bg-2:      #ddd2a8;
  --bg-3:      #cdbf8a;
  --bg-rgb:    240, 232, 207;
  --hover-rgb: 30, 22, 12;
  --on-accent: #f0e8cf;
  --line:      rgba(30, 22, 12, 0.11);
  --line-2:    rgba(30, 22, 12, 0.22);
  --line-3:    rgba(30, 22, 12, 0.36);
  --text:      #1e160c;
  --text-dim:  rgba(30, 22, 12, 0.78);
  --muted:     rgba(30, 22, 12, 0.55);
  --muted-2:   rgba(30, 22, 12, 0.38);
  --accent:    #7a1818;
  --red:       #7a1818;
  --green:     #4a6a30;
}

/* ───────── Corners tweak ───────── */
html[data-corners="sharp"]  { --radius: 0px;  --radius-sm: 0px;  --radius-xs: 0px; }
html[data-corners="soft"]   { --radius: 14px; --radius-sm: 8px;  --radius-xs: 4px; }
html[data-corners="round"]  { --radius: 28px; --radius-sm: 16px; --radius-xs: 8px; }

html[data-display-weight="light"]  { --display-weight: 300; --display-track: -0.022em; }
html[data-display-weight="regular"] { --display-weight: 400; --display-track: -0.025em; }
html[data-display-weight="bold"]   { --display-weight: 600; --display-track: -0.032em; }

/* ───────── Theme-specific surface bridges ───────── */
html[data-theme="bone"] .vs-hero,
html[data-theme="vellum"] .vs-hero { border-bottom: 1px solid var(--line); }
html[data-theme="bone"] .vs-marquee,
html[data-theme="vellum"] .vs-marquee { background: var(--bg-1); }
html[data-theme="bone"] .vs-marquee-group span,
html[data-theme="vellum"] .vs-marquee-group span { color: var(--text-dim); }

/* Sold-overlay over product photos — dim ring, light type, regardless of theme */
html[data-theme="bone"] .vs-sold-overlay,
html[data-theme="vellum"] .vs-sold-overlay { background: rgba(20, 14, 10, 0.45); }
html[data-theme="bone"] .vs-sold-overlay span { color: #f7f1e6; border-color: rgba(247, 241, 230, 0.7); }
html[data-theme="vellum"] .vs-sold-overlay span { color: #f0e8cf; border-color: rgba(240, 232, 207, 0.7); }

html[data-theme="bone"] .vs-btn-primary.is-added,
html[data-theme="vellum"] .vs-btn-primary.is-added { color: #ffffff; }
html[data-theme="bone"] .vs-cart-badge,
html[data-theme="crimson"] .vs-cart-badge,
html[data-theme="vellum"] .vs-cart-badge { color: #ffffff; }

/* ───────── Velvet — oxblood red, gold + red on red ───────── */
html[data-theme="velvet"] body {
  background:
    radial-gradient(100% 70% at 100% 0%, rgba(224, 184, 96, 0.05) 0%, transparent 55%),
    radial-gradient(100% 70% at 0% 100%, rgba(0, 0, 0, 0.18) 0%, transparent 60%),
    var(--bg);
}
html[data-theme="velvet"] .vs-hero-rule-dot { background: var(--accent); box-shadow: 0 0 16px var(--accent); }
html[data-theme="velvet"] .vs-marquee-group .vs-marquee-dot { color: var(--accent); }
html[data-theme="velvet"] .vs-card-tag {
  background: var(--primary-bg);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
html[data-theme="velvet"] .vs-product-stock.is-ok { color: var(--accent); }
html[data-theme="velvet"] .vs-product-stock.is-ok .vs-stock-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
html[data-theme="velvet"] .vs-product-stock.is-low { color: var(--primary-bg); }
html[data-theme="velvet"] .vs-product-stock.is-low .vs-stock-dot { background: var(--primary-bg); box-shadow: 0 0 8px var(--primary-bg); }
html[data-theme="velvet"] .vs-product-stock.is-sold { color: #f6a8a8; }
html[data-theme="velvet"] .vs-product-stock.is-sold .vs-stock-dot { background: #f6a8a8; }
html[data-theme="velvet"] .vs-mat-pill { border-color: var(--line-2); color: var(--text); }
html[data-theme="velvet"] .vs-info-section-index,
html[data-theme="velvet"] .vs-trust-item .vs-mono,
html[data-theme="velvet"] .vs-contact-meta-row .vs-mono,
html[data-theme="velvet"] .vs-custom-steps .vs-mono,
html[data-theme="velvet"] .vs-info-steps .vs-mono,
html[data-theme="velvet"] .vs-pudo-code,
html[data-theme="velvet"] .vs-pudo-cost,
html[data-theme="velvet"] .vs-cart-empty-eyebrow { color: var(--accent); }
html[data-theme="velvet"] .vs-info-bullets li::before { color: var(--accent); }
html[data-theme="velvet"] .vs-pudo-card:last-child { background: linear-gradient(180deg, rgba(224, 184, 96, 0.06), transparent); }

/* Velvet — content-page surfaces use a near-black "vault" tone so the
   long-form blocks (forms, callouts, cards, empty states) sit cleanly
   above the oxblood page wash instead of melting into it. */
html[data-theme="velvet"] .vs-contact-form,
html[data-theme="velvet"] .vs-pudo-card,
html[data-theme="velvet"] .vs-info-aside,
html[data-theme="velvet"] .vs-empty-state,
html[data-theme="velvet"] .vs-card-media,
html[data-theme="velvet"] .vs-product-main,
html[data-theme="velvet"] .vs-product-thumb,
html[data-theme="velvet"] .vs-cart-thumb,
html[data-theme="velvet"] .vs-info-media,
html[data-theme="velvet"] .vs-blog-pinned-media,
html[data-theme="velvet"] .vs-post-media,
html[data-theme="velvet"] .vs-cat-tile,
html[data-theme="velvet"] .vs-ig-tile {
  background: #160707;
}
html[data-theme="velvet"] .vs-contact-form,
html[data-theme="velvet"] .vs-pudo-card,
html[data-theme="velvet"] .vs-info-aside,
html[data-theme="velvet"] .vs-empty-state {
  border-color: rgba(244, 230, 203, 0.16);
  box-shadow: 0 1px 0 rgba(244, 230, 203, 0.04) inset;
}
html[data-theme="velvet"] .vs-pudo-card:last-child {
  background: linear-gradient(180deg, rgba(224, 184, 96, 0.10) 0%, #160707 60%);
  border-color: rgba(224, 184, 96, 0.32);
}
html[data-theme="velvet"] .vs-info-section-head { border-bottom-color: rgba(244, 230, 203, 0.18); }
html[data-theme="velvet"] .vs-info-table .vs-info-row,
html[data-theme="velvet"] .vs-spec-row { border-bottom-color: rgba(244, 230, 203, 0.10); }
html[data-theme="velvet"] .vs-info-table { border-top-color: rgba(244, 230, 203, 0.18); }
html[data-theme="velvet"] .vs-cart-drawer { background: #160707; }

/* Velvet — outline buttons fill solid red on hover (same look as the
   primary "Shop the collection" CTA). Text links pick up the red. */
html[data-theme="velvet"] .vs-btn-outline:hover {
  background: var(--primary-bg);
  color: var(--primary-fg);
  border-color: var(--primary-bg);
}
html[data-theme="velvet"] .vs-text-link:hover {
  border-color: var(--primary-bg);
  color: var(--primary-bg);
}

/* Velvet — long-form body blocks get the vault treatment. */
html[data-theme="velvet"] .vs-about-copy,
html[data-theme="velvet"] .vs-contact-sent {
  background: #160707;
  padding: 40px 44px;
  border: 1px solid rgba(244, 230, 203, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(244, 230, 203, 0.04) inset;
}
html[data-theme="velvet"] .vs-custom-steps {
  background: #160707;
  padding: 8px 36px;
  border: 1px solid rgba(244, 230, 203, 0.16);
  border-radius: var(--radius);
  border-top: 1px solid rgba(244, 230, 203, 0.16);
}
html[data-theme="velvet"] .vs-custom-steps li {
  border-bottom-color: rgba(244, 230, 203, 0.10);
}
html[data-theme="velvet"] .vs-custom-steps li:last-child {
  border-bottom: 0;
}

/* Velvet — Care / Shipping / Returns: each numbered section becomes its
   own dark card so the long-form copy reads as discrete chunks rather
   than continuous text on the red page bg. */
html[data-theme="velvet"] .vs-info-section {
  background: #160707;
  padding: 32px 40px 36px;
  border: 1px solid rgba(244, 230, 203, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(244, 230, 203, 0.04) inset;
}
html[data-theme="velvet"] .vs-info-section-head {
  border-bottom-color: rgba(244, 230, 203, 0.18);
}
/* Nested aside callout in a section already has its own bg; tone it down
   so cards-within-cards don't get visually noisy. */
html[data-theme="velvet"] .vs-info-section .vs-info-aside {
  background: rgba(244, 230, 203, 0.04);
  border-color: rgba(244, 230, 203, 0.12);
}
/* Nested table inside a section: borders read on the dark card */
html[data-theme="velvet"] .vs-info-table { border-top-color: rgba(244, 230, 203, 0.18); }
html[data-theme="velvet"] .vs-info-row { border-bottom-color: rgba(244, 230, 203, 0.10); }
/* Pudo cards live inside an info-section — drop their own bg so we don't
   stack a card on a card. Add a hairline divider instead. */
html[data-theme="velvet"] .vs-info-section .vs-pudo-card {
  background: transparent;
  border-color: rgba(244, 230, 203, 0.18);
  box-shadow: none;
}
html[data-theme="velvet"] .vs-info-section .vs-pudo-card:last-child {
  background: linear-gradient(180deg, rgba(224, 184, 96, 0.10) 0%, transparent 60%);
  border-color: rgba(224, 184, 96, 0.34);
}

/* Velvet — Journal cards: pinned feature + post grid become vault cards
   with the image flush against the body. */
html[data-theme="velvet"] .vs-blog-pinned {
  background: #160707;
  border: 1px solid rgba(244, 230, 203, 0.16);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  gap: 0;
  box-shadow: 0 1px 0 rgba(244, 230, 203, 0.04) inset;
}
html[data-theme="velvet"] .vs-blog-pinned .vs-blog-pinned-media {
  border-radius: 0;
  aspect-ratio: 5 / 4;
}
html[data-theme="velvet"] .vs-blog-pinned-body {
  padding: 40px 48px;
}
html[data-theme="velvet"] .vs-post-card {
  background: #160707;
  border: 1px solid rgba(244, 230, 203, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(244, 230, 203, 0.04) inset;
}
html[data-theme="velvet"] .vs-post-card .vs-post-media {
  border-radius: 0;
  margin-bottom: 0;
}
html[data-theme="velvet"] .vs-post-card .vs-post-body {
  padding: 22px 26px 26px;
}

/* ───────── Vellum — antique paper + blood ink ───────── */
html[data-theme="vellum"] body {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(122, 24, 24, 0.04) 0%, transparent 55%),
    var(--bg);
}
html[data-theme="vellum"] .vs-eyebrow,
html[data-theme="vellum"] .vs-info-section-index,
html[data-theme="vellum"] .vs-blog-meta span:first-child,
html[data-theme="vellum"] .vs-post-meta span:first-child,
html[data-theme="vellum"] .vs-hero-rule-dot { color: var(--accent); }
html[data-theme="vellum"] .vs-hero-rule-dot { background: var(--accent); box-shadow: 0 0 14px rgba(122, 24, 24, 0.6); }
html[data-theme="vellum"] .vs-marquee-group .vs-marquee-dot { color: var(--accent); }
html[data-theme="vellum"] .vs-cart-badge { background: var(--accent); }

/* ───────── Crimson — let the red lead ───────── */
html[data-theme="crimson"] .vs-eyebrow,
html[data-theme="crimson"] .vs-hero-eyebrow,
html[data-theme="crimson"] .vs-blog-meta span:first-child,
html[data-theme="crimson"] .vs-post-meta span:first-child { color: var(--accent); }
html[data-theme="crimson"] .vs-hero-rule-dot { background: var(--accent); box-shadow: 0 0 18px var(--accent); }
html[data-theme="crimson"] .vs-marquee-group .vs-marquee-dot { color: var(--accent); }
html[data-theme="crimson"] .vs-card-tag {
  background: rgba(216, 50, 50, 0.88);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
html[data-theme="crimson"] .vs-product-stock.is-low { color: var(--accent); }
html[data-theme="crimson"] .vs-product-stock.is-low .vs-stock-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
html[data-theme="crimson"] .vs-info-section-index,
html[data-theme="crimson"] .vs-trust-item .vs-mono,
html[data-theme="crimson"] .vs-contact-meta-row .vs-mono,
html[data-theme="crimson"] .vs-custom-steps .vs-mono,
html[data-theme="crimson"] .vs-info-steps .vs-mono,
html[data-theme="crimson"] .vs-info-list li::before,
html[data-theme="crimson"] .vs-cover-toc ol li .vs-mono,
html[data-theme="crimson"] .vs-info-toc ol li::before,
html[data-theme="crimson"] .vs-pudo-code,
html[data-theme="crimson"] .vs-pudo-cost,
html[data-theme="crimson"] .vs-form-head .vs-mono:last-child,
html[data-theme="crimson"] .vs-cart-empty-eyebrow,
html[data-theme="crimson"] .vs-shop-toolbar .vs-mono { color: var(--accent); }
html[data-theme="crimson"] .vs-info-bullets li::before { color: var(--accent); }
html[data-theme="crimson"] .vs-hero {
  /* Subtle red glow at the bottom-left of the hero, layered under the dark gradient */
  background: radial-gradient(80% 60% at 0% 100%, rgba(216, 50, 50, 0.22) 0%, transparent 60%);
}

/* ───────── Headline case tweak ───────── */
html[data-headline-case="upper"] .vs-hero-title,
html[data-headline-case="upper"] .vs-section-title,
html[data-headline-case="upper"] .vs-shop-title,
html[data-headline-case="upper"] .vs-product-name,
html[data-headline-case="upper"] .vs-contact-title,
html[data-headline-case="upper"] .vs-about-title,
html[data-headline-case="upper"] .vs-info-title,
html[data-headline-case="upper"] .vs-blog-title,
html[data-headline-case="upper"] .vs-blog-pinned-title,
html[data-headline-case="upper"] .vs-post-title,
html[data-headline-case="upper"] .vs-info-section-title,
html[data-headline-case="upper"] .vs-footer-wordmark {
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
html[data-headline-case="title"] .vs-hero-title,
html[data-headline-case="title"] .vs-section-title,
html[data-headline-case="title"] .vs-shop-title,
html[data-headline-case="title"] .vs-contact-title,
html[data-headline-case="title"] .vs-about-title,
html[data-headline-case="title"] .vs-info-title,
html[data-headline-case="title"] .vs-blog-title,
html[data-headline-case="title"] .vs-blog-pinned-title,
html[data-headline-case="title"] .vs-post-title,
html[data-headline-case="title"] .vs-info-section-title {
  text-transform: capitalize;
}

/* ───────── Page density tweak ───────── */
html[data-density="compact"]  { --gutter: 28px; --section-pad: 64px;  --grid-gap-y: 24px; --grid-gap-x: 16px; }
html[data-density="regular"]  { --gutter: 44px; --section-pad: 96px;  --grid-gap-y: 32px; --grid-gap-x: 24px; }
html[data-density="spacious"] { --gutter: 72px; --section-pad: 128px; --grid-gap-y: 48px; --grid-gap-x: 36px; }

/* ───────── Hero alignment tweak ───────── */
html[data-hero-align="center"] .vs-hero-content {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  text-align: center;
  max-width: 760px;
  width: calc(100% - 2 * var(--gutter));
}
html[data-hero-align="center"] .vs-hero-ctas { justify-content: center; }
html[data-hero-align="center"] .vs-hero-sub { margin-left: auto; margin-right: auto; }

/* ───────── Card aspect tweak ───────── */
html[data-card-aspect="1-1"] { --card-aspect: 1 / 1; }
html[data-card-aspect="4-5"] { --card-aspect: 4 / 5; }
html[data-card-aspect="3-4"] { --card-aspect: 3 / 4; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", "Helvetica Neue", Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02", "cv11";
  letter-spacing: -0.005em;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

.vs-mono {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.vs-eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.vs-eyebrow-center { text-align: center; }
.vs-eyebrow-light  { color: rgba(255,255,255,0.7); }

.vs-section-title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  line-height: 1.04;
  margin: 0;
}

.vs-section {
  padding: var(--section-pad, 96px) 0;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.vs-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.vs-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  transition: border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.vs-text-link:hover { border-color: var(--accent); color: var(--accent); }
.vs-text-link-light { color: #fff; border-color: rgba(255,255,255,0.4); }
.vs-text-link-light:hover { color: #fff; border-color: #fff; }

/* =========================================================
   NAV
   ========================================================= */
.vs-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 90;
  transition: background-color .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.vs-nav.is-scrolled {
  background: rgba(var(--bg-rgb), 0.72);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom-color: var(--line);
}

.vs-nav-inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.vs-nav-logo {
  display: block;
  width: 160px;
  height: auto;
  flex-shrink: 0;
}
.vs-nav-logo img {
  display: block;
  width: 100%;
  height: auto;
  /* Logo is a pre-keyed transparent PNG (pure-black glyph, no background).
     Default dark themes: invert to white. Light themes: leave black. */
  filter: invert(1);
}
html[data-theme="bone"] .vs-nav-logo img,
html[data-theme="vellum"] .vs-nav-logo img {
  filter: none;
}

.vs-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.vs-navlink {
  position: relative;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: -0.005em;
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.vs-navlink:hover, .vs-navlink.is-active { color: var(--text); }
.vs-navlink::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s var(--ease);
}
.vs-navlink.is-active::after { transform: scaleX(1); }
.vs-navlink:hover::after { transform: scaleX(0.5); }

.vs-shop-wrap { position: relative; }
.vs-shop-trigger { display: inline-flex; align-items: center; gap: 6px; }
.vs-caret { opacity: 0.6; }

.vs-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  min-width: 280px;
  padding: 8px;
  z-index: 5;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.vs-drop-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 13px;
  text-align: left;
  transition: background .15s var(--ease);
}
.vs-drop-item:hover { background: var(--bg-3); }
.vs-drop-count {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  color: var(--muted);
}
.vs-drop-divider { height: 1px; background: var(--line); margin: 6px 8px; }

.vs-nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.vs-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: background .2s var(--ease);
}
.vs-icon-btn:hover { background: rgba(var(--hover-rgb), 0.06); }
.vs-cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vs-menu-btn { display: none; }
.vs-search-btn { display: inline-flex; }

.vs-mobile-menu { display: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.vs-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  margin-top: 80px;
}
.vs-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px var(--gutter) 32px;
}
.vs-footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.vs-footer-wordmark {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: var(--display-weight);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}
.vs-footer-tag {
  color: var(--muted);
  font-size: 14px;
  max-width: 32ch;
}
.vs-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.vs-footer-col { display: flex; flex-direction: column; gap: 10px; }
.vs-footer-head {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.vs-footer-link {
  text-align: left;
  font-size: 13px;
  color: var(--text-dim);
  transition: color .2s var(--ease);
  padding: 2px 0;
}
.vs-footer-link:hover { color: var(--accent); }

.vs-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.vs-footer-meta {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.vs-footer-social { display: flex; gap: 24px; }
.vs-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  transition: color .2s var(--ease);
}
.vs-social:hover { color: var(--accent); }

/* =========================================================
   HERO
   ========================================================= */
.vs-page { padding-top: var(--nav-h); }

.vs-hero {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 600px;
  max-height: 920px;
  width: 100%;
  overflow: hidden;
}
.vs-hero-media { position: absolute; inset: 0; }
.vs-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.55) contrast(1.05);
}
.vs-hero-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0) 60%, rgba(10,10,10,0.9) 100%),
    linear-gradient(90deg, rgba(var(--bg-rgb), 0.55) 0%, rgba(10,10,10,0) 50%);
}

.vs-hero-content {
  position: absolute;
  left: var(--gutter);
  bottom: 80px;
  max-width: 640px;
  z-index: 2;
}
.vs-hero-eyebrow {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
}
.vs-hero-title {
  font-size: clamp(56px, 9vw, 132px);
  font-weight: var(--display-weight);
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0 0 24px;
  color: #f4f1eb;
}
.vs-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  max-width: 44ch;
  line-height: 1.55;
  margin: 0 0 36px;
}
.vs-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.vs-hero-rule {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}
.vs-hero-rule-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 12px var(--accent);
}
.vs-hero-rule-meta {
  flex: 1;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 16px;
}
.vs-hero-rule-meta span {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.vs-btn-primary {
  background: var(--primary-bg);
  color: var(--primary-fg);
}
.vs-btn-primary:hover { background: var(--primary-bg); filter: brightness(1.08); transform: translateY(-1px); }
.vs-btn-primary.is-disabled,
.vs-btn-primary:disabled { background: var(--bg-3); color: var(--muted-2); cursor: not-allowed; transform: none; filter: none; }
.vs-btn-primary.is-added { background: var(--green); color: var(--on-accent); }
.vs-btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.vs-btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.vs-btn-ghost {
  background: transparent;
  color: #f4f1eb;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
}
.vs-btn-ghost:hover { border-color: #fff; background: rgba(var(--hover-rgb), 0.06); }

.vs-btn-lg { height: 56px; padding: 0 30px; font-size: 15px; }
.vs-btn-block { display: flex; width: 100%; }

/* =========================================================
   MARQUEE
   ========================================================= */
.vs-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
  overflow: hidden;
  white-space: nowrap;
  padding: 22px 0;
}
html[data-marquee="off"] .vs-marquee { display: none; }
.vs-marquee-track {
  display: inline-flex;
  gap: 32px;
  animation: marquee 38s linear infinite;
}
.vs-marquee-group {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  padding-right: 32px;
}
.vs-marquee-group span {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.vs-marquee-group .vs-marquee-dot {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* =========================================================
   GRID + CARDS
   ========================================================= */
.vs-grid { display: grid; gap: var(--grid-gap-y, 32px) var(--grid-gap-x, 24px); }
.vs-grid-4 { grid-template-columns: repeat(4, 1fr); }
.vs-grid-3 { grid-template-columns: repeat(3, 1fr); }

.vs-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}
.vs-card-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: var(--card-aspect, 1 / 1);
  border-radius: var(--radius);
}
.vs-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), opacity .5s var(--ease);
}
.vs-card-img-secondary { opacity: 0; }

/* hover swap */
.vs-card.hover-swap:hover .vs-card-img-primary { opacity: 0; }
.vs-card.hover-swap:hover .vs-card-img-secondary { opacity: 1; }
.vs-card.hover-swap .vs-card-img-primary { transition: opacity .5s var(--ease), transform .8s var(--ease); }

/* hover zoom */
.vs-card.hover-zoom:hover .vs-card-img { transform: scale(1.06); }

/* hover fade */
.vs-card.hover-fade:hover .vs-card-img-primary { opacity: 0.55; transform: scale(1.02); }

.vs-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  background: rgba(var(--bg-rgb), 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16);
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 999px;
}

.vs-sold-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--bg-rgb), 0.55);
  z-index: 2;
}
.vs-sold-overlay span {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  white-space: nowrap;
  border-radius: 999px;
}
.vs-card.is-sold .vs-card-img { filter: grayscale(0.8) brightness(0.7); }

.vs-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 2px 0;
  gap: 16px;
}
.vs-card-name {
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.vs-card-price {
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

/* =========================================================
   HOMEPAGE: cats + intro + ig
   ========================================================= */
.vs-cats-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  height: 520px;
}
.vs-cat-tile {
  position: relative;
  overflow: hidden;
  display: block;
  text-align: left;
  background: var(--bg-2);
  height: 100%;
  cursor: pointer;
  border-radius: var(--radius);
}
.vs-cat-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .5s var(--ease);
  filter: brightness(0.6);
}
.vs-cat-tile:hover img { transform: scale(1.04); filter: brightness(0.75); }
.vs-cat-tile-overlay {
  position: absolute;
  inset: 0;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.vs-cat-tile-overlay h3 {
  font-size: clamp(28px, 3.4vw, 56px);
  font-weight: var(--display-weight);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 12px 0 0;
}

.vs-intro {
  text-align: center;
  max-width: 720px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.vs-intro-inner { display: flex; flex-direction: column; align-items: center; }
.vs-intro-copy {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 32px;
  text-wrap: pretty;
}

.vs-ig {
  padding: 96px 0;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.vs-ig-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}
.vs-ig-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.vs-ig-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-2);
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.vs-ig-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease), filter .3s var(--ease);
}
.vs-ig-tile:hover img { transform: scale(1.06); filter: brightness(0.55); }
.vs-ig-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px;
  opacity: 0;
  transition: opacity .25s var(--ease);
  color: #fff;
}
.vs-ig-tile-overlay span { color: rgba(255,255,255,0.85); }
.vs-ig-tile:hover .vs-ig-tile-overlay { opacity: 1; }
.vs-ig-tile-overlay > *:last-child { align-self: flex-end; }

/* =========================================================
   SHOP
   ========================================================= */
.vs-shop-head {
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}
.vs-shop-head-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--gutter) 56px;
}
.vs-shop-crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted-2);
}
.vs-shop-crumbs button { color: var(--muted); }
.vs-shop-crumbs button:hover { color: var(--accent); }

.vs-shop-title {
  font-size: clamp(48px, 6vw, 96px);
  font-weight: var(--display-weight);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 18px;
}
.vs-shop-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
  line-height: 1.55;
}

.vs-shop-toolbar {
  position: sticky;
  top: var(--nav-h);
  background: rgba(var(--bg-rgb), 0.85);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}
.vs-shop-toolbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.vs-filter-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.vs-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 12px;
  border-radius: 999px;
  transition: all .2s var(--ease);
  color: var(--text-dim);
  white-space: nowrap;
}
.vs-chip:hover { border-color: var(--line-3); color: var(--text); }
.vs-chip.is-active { background: var(--primary-bg); color: var(--primary-fg); border-color: var(--primary-bg); }
.vs-chip.is-active .vs-chip-count { color: color-mix(in oklab, var(--primary-fg), transparent 40%); }
.vs-chip.is-empty { opacity: 0.4; cursor: not-allowed; }
.vs-chip-count { color: var(--muted-2); }

.vs-shop-tools { display: flex; gap: 12px; align-items: center; }
.vs-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.vs-toggle:hover { color: var(--text); }
.vs-toggle-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.vs-toggle.is-off .vs-toggle-dot { background: var(--muted-2); box-shadow: none; }

.vs-view-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.vs-view-switch button {
  width: 32px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--muted);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.vs-view-switch button.is-active { background: var(--primary-bg); color: var(--primary-fg); }

.vs-sort-wrap { position: relative; }
.vs-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  white-space: nowrap;
}
.vs-sort:hover { border-color: var(--line-3); }
.vs-sort-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  min-width: 240px;
  padding: 6px;
  z-index: 12;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.vs-sort-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  transition: background .15s var(--ease);
}
.vs-sort-item:hover { background: var(--bg-3); }
.vs-sort-item.is-active { color: var(--accent); }

.vs-shop-result-meta {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  gap: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  white-space: nowrap;
  flex-wrap: wrap;
}

.vs-shop-grid-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px var(--gutter) 96px;
}

.vs-empty-state {
  text-align: center;
  padding: 96px 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  max-width: 560px;
  margin: 0 auto;
  border-radius: var(--radius);
}
.vs-empty-state h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: var(--display-weight);
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.vs-empty-state p {
  color: var(--muted);
  max-width: 36ch;
  margin: 0 auto 28px;
}

.vs-load-more {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 80px;
}
.vs-load-rule { flex: 1; height: 1px; background: var(--line); }
.vs-load-meta { color: var(--muted-2); }

/* =========================================================
   PRODUCT DETAIL
   ========================================================= */
.vs-product {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--gutter) 96px;
}
.vs-product-crumbs > * { white-space: nowrap; }
.vs-product-crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 32px;
  color: var(--muted-2);
  flex-wrap: wrap;
}
.vs-product-crumbs button { color: var(--muted); }
.vs-product-crumbs button:hover { color: var(--accent); }

.vs-product-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: flex-start;
}

.vs-product-gallery { display: flex; flex-direction: column; gap: 16px; }
.vs-product-main {
  position: relative;
  background: var(--bg-2);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}
.vs-product-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vs-product-main-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,0.8);
  pointer-events: none;
}
.vs-product-main-meta span {
  background: rgba(var(--bg-rgb), 0.55);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  white-space: nowrap;
}
.vs-product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.vs-product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color .2s var(--ease);
  border-radius: var(--radius-sm);
}
.vs-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity .2s var(--ease);
}
.vs-product-thumb:hover img { opacity: 1; }
.vs-product-thumb.is-active { border-color: var(--accent); }
.vs-product-thumb.is-active img { opacity: 1; }
.vs-product-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
  background: transparent;
  color: var(--muted-2);
}

.vs-product-info {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
}
.vs-product-eyebrow {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
}
.vs-eb-sep { color: var(--muted-2); }
.vs-product-name {
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: var(--display-weight);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 24px;
}
.vs-product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.vs-product-price {
  font-family: "Geist Mono", monospace;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.vs-product-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.vs-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}
.vs-product-stock.is-ok { color: var(--green); }
.vs-product-stock.is-ok .vs-stock-dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.vs-product-stock.is-low { color: #d6a25a; }
.vs-product-stock.is-low .vs-stock-dot { background: #d6a25a; box-shadow: 0 0 8px #d6a25a; }
.vs-product-stock.is-sold { color: var(--red); }
.vs-product-stock.is-sold .vs-stock-dot { background: var(--red); }

.vs-product-desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 32px;
  max-width: 50ch;
}

.vs-spec-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-bottom: 32px;
}
.vs-spec-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  gap: 20px;
  align-items: flex-start;
}
.vs-spec-label { color: var(--muted); padding-top: 2px; }
.vs-spec-value {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: var(--text-dim);
}
.vs-mat-pill {
  padding: 4px 10px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-dim);
  border-radius: 999px;
}

.vs-product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.vs-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.vs-qty button {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: background .15s var(--ease);
}
.vs-qty button:hover { background: rgba(var(--hover-rgb), 0.06); }
.vs-qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.vs-qty span {
  min-width: 28px;
  text-align: center;
  font-family: "Geist Mono", monospace;
  font-size: 13px;
}
.vs-qty-lg button { width: 40px; height: 40px; }
.vs-qty-lg span { min-width: 32px; font-size: 14px; }
.vs-qty-lg { padding: 5px; }
.vs-product-actions .vs-btn { flex: 1; }

.vs-product-trust {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vs-trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-dim);
}
.vs-trust-item .vs-mono { color: var(--accent); padding-top: 2px; }

.vs-related { padding-top: 96px; }

/* =========================================================
   CONTACT
   ========================================================= */
.vs-contact {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px var(--gutter) 96px;
}
.vs-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  max-width: 1280px;
  margin: 0 auto;
}
.vs-contact-side .vs-eyebrow { margin-bottom: 32px; }
.vs-contact-title {
  font-size: clamp(48px, 6vw, 96px);
  font-weight: var(--display-weight);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 24px;
}
.vs-contact-lead {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 0 48px;
}

.vs-contact-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 48px;
}
.vs-contact-meta-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.vs-contact-meta-row .vs-mono { color: var(--accent); padding-top: 2px; }
.vs-contact-meta-label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.vs-contact-meta-value { color: var(--text); font-size: 14px; }

.vs-contact-socials .vs-eyebrow { margin-bottom: 16px; }
.vs-contact-social-row { display: flex; flex-direction: column; gap: 8px; }
.vs-social-lg {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.vs-social-lg > span { flex: 1; }
.vs-social-lg svg:last-child { opacity: 0.5; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.vs-social-lg:hover { border-color: var(--accent); color: var(--accent); }
.vs-social-lg:hover svg:last-child { opacity: 1; transform: translateX(3px); }

.vs-contact-form {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: var(--radius);
}
.vs-form-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.vs-form-head .vs-mono:last-child { color: var(--accent); }

.vs-field { display: flex; flex-direction: column; gap: 8px; }
.vs-field label { color: var(--muted); }
.vs-field input,
.vs-field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  transition: border-color .2s var(--ease);
  resize: vertical;
  outline: none;
}
.vs-field input:focus,
.vs-field textarea:focus { border-bottom-color: var(--accent); }
.vs-field input::placeholder,
.vs-field textarea::placeholder { color: var(--muted-2); }
.vs-field .has-error { border-bottom-color: var(--red); }
.vs-field-error { color: var(--red); }
.vs-field-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.vs-field-count { color: var(--muted-2); white-space: nowrap; }

.vs-radio-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.vs-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  font-size: 12px;
  border-radius: 999px;
  color: var(--text-dim);
  transition: all .2s var(--ease);
}
.vs-radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--line-3);
  background: transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.vs-radio.is-active {
  border-color: var(--accent);
  color: var(--text);
}
.vs-radio.is-active .vs-radio-dot { background: var(--accent); border-color: var(--accent); }

.vs-form-fine {
  text-align: center;
  color: var(--muted-2);
  margin-top: -4px;
}

.vs-contact-sent {
  max-width: 560px;
  text-align: center;
  margin: 0 auto;
  padding: 80px 20px;
}
.vs-contact-sent p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 36px;
}
.vs-contact-sent-actions { display: flex; gap: 16px; justify-content: center; align-items: center; }

/* =========================================================
   ABOUT / CUSTOM
   ========================================================= */
.vs-about, .vs-custom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px var(--gutter) 96px;
}
.vs-about-inner, .vs-custom-inner { max-width: 1280px; margin: 0 auto; }
.vs-about-title {
  font-size: clamp(40px, 5vw, 80px);
  font-weight: var(--display-weight);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 56px;
}
.vs-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
}
.vs-about-lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 24px;
}
.vs-about-copy p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 20px;
}
.vs-about-cta { display: flex; gap: 12px; margin-top: 32px; }
.vs-about-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}
.vs-about-media img { width: 100%; height: 100%; object-fit: cover; }
.vs-about-media-meta {
  position: absolute;
  inset: auto 16px 16px;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.85);
}

.vs-custom-steps {
  list-style: none;
  padding: 0;
  margin: 56px 0;
  border-top: 1px solid var(--line);
}
.vs-custom-steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.vs-custom-steps .vs-mono { color: var(--accent); padding-top: 4px; }
.vs-custom-steps li > div { display: flex; flex-direction: column; gap: 6px; }
.vs-custom-steps strong { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.vs-custom-steps span { color: var(--text-dim); font-size: 14px; line-height: 1.55; }

/* =========================================================
   CART DRAWER
   ========================================================= */
/* Viewport-sized clip layer. The drawer sits inside as an ABSOLUTE element, so
   when it's translated off the right edge the shell's overflow:hidden clips it
   and it can't create horizontal page scroll on mobile. Sits dormant
   (pointer-events:none) until a child is interactive. */
.vs-cart-shell {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 100;
}
.vs-cart-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  z-index: 1;
}
.vs-cart-scrim.is-open { opacity: 1; pointer-events: auto; }

.vs-cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 460px;
  max-width: 100%;
  height: 100%;
  background: var(--bg-1);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  z-index: 2;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
}
.vs-cart-drawer.is-open { transform: translateX(0); }

.vs-cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.vs-cart-title { display: flex; flex-direction: column; gap: 4px; }
.vs-cart-eyebrow {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.vs-cart-count { font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }

.vs-cart-body { flex: 1; overflow-y: auto; padding: 8px 0; }
.vs-cart-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.vs-cart-thumb {
  width: 80px;
  height: 96px;
  overflow: hidden;
  background: var(--bg-2);
  border-radius: var(--radius-sm);
}
.vs-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vs-cart-row-mid { display: flex; flex-direction: column; justify-content: space-between; }
.vs-cart-row-top { display: flex; justify-content: space-between; align-items: flex-start; }
.vs-cart-row-name { font-size: 14px; letter-spacing: -0.01em; }
.vs-cart-row-x {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color .15s var(--ease);
}
.vs-cart-row-x:hover { color: var(--text); }
.vs-cart-row-cat {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.vs-cart-row-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.vs-cart-row-price {
  font-family: "Geist Mono", monospace;
  font-size: 13px;
}

.vs-cart-foot {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vs-cart-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.vs-cart-line:first-child { font-size: 15px; padding-bottom: 8px; }
.vs-cart-line-muted { color: var(--muted); font-size: 12px; }
.vs-cart-line-muted span:last-child { font-family: "Geist Mono", monospace; font-size: 10px; }
.vs-cart-foot .vs-btn { margin-top: 8px; }
.vs-cart-trust {
  text-align: center;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 4px;
}

.vs-cart-empty {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding: 80px 24px;
  text-align: center;
}
.vs-cart-empty-eyebrow {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.vs-cart-empty-text {
  color: var(--text-dim);
  margin-bottom: 16px;
  max-width: 28ch;
}

/* ───────── Theme picker (in Tweaks panel) ───────── */
.vs-theme-picker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.vs-theme-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}
.vs-theme-preview {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  border: 1px solid;
  overflow: hidden;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.vs-theme-card:hover .vs-theme-preview { transform: translateY(-2px); }
.vs-theme-card.is-active .vs-theme-preview {
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 4px var(--bg-1);
}
.vs-theme-swatches {
  display: flex;
  gap: 3px;
}
.vs-theme-swatches span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.vs-theme-glyph {
  font-family: "Geist", sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  align-self: flex-start;
  margin-top: 4px;
}
.vs-theme-bar {
  width: 60%;
  height: 3px;
  border-radius: 999px;
  align-self: flex-end;
}
.vs-theme-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 2px;
}
.vs-theme-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.vs-theme-card.is-active .vs-theme-name { color: var(--accent); }
.vs-theme-sub {
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .vs-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .vs-ig-strip { grid-template-columns: repeat(3, 1fr); }
  .vs-contact-inner { gap: 56px; }
  .vs-footer-top { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 820px) {
  /* Must include the density selectors: html[data-density="…"] is more specific
     than :root, so a plain :root override here would be ignored and the gutter
     would stay at its desktop value (e.g. 44px) on mobile. */
  :root,
  html[data-density="compact"],
  html[data-density="regular"],
  html[data-density="spacious"] { --gutter: 24px; --nav-h: 80px; }
  /* Logo left, icon cluster hard against the right edge */
  .vs-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .vs-nav-links { display: none; }
  .vs-nav-right { margin-left: auto; gap: 2px; }
  .vs-menu-btn { display: inline-flex; }
  .vs-search-btn { display: none; }
  .vs-nav-logo { width: 140px; }
  /* Closed by default; only shown when the hamburger sets .is-menu-open.
     (Previously forced display:flex here, so it was always open on mobile.) */
  .vs-mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(var(--bg-rgb), 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 28px;
    gap: 0;
  }
  .vs-nav.is-menu-open .vs-mobile-menu { display: flex; }
  .vs-mob-link {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    text-align: left;
    letter-spacing: -0.02em;
  }
  .vs-mob-section {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }
  .vs-mob-label {
    font-family: "Geist Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
  }
  .vs-mob-sub {
    display: block;
    text-align: left;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-dim);
    width: 100%;
  }
  .vs-hero { height: 80vh; }
  .vs-hero-content { bottom: 60px; }
  .vs-section { padding: 64px 0; padding-left: var(--gutter); padding-right: var(--gutter); }
  .vs-grid-4, .vs-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .vs-cats-grid { grid-template-columns: 1fr; height: auto; }
  .vs-cat-tile { aspect-ratio: 4 / 3; }
  .vs-ig-strip { grid-template-columns: repeat(2, 1fr); }
  .vs-product-grid { grid-template-columns: 1fr; gap: 32px; }
  .vs-product-info { position: static; }
  .vs-contact-inner { grid-template-columns: 1fr; gap: 56px; }
  .vs-about-grid { grid-template-columns: 1fr; gap: 32px; }
  .vs-shop-toolbar-inner { flex-direction: column; align-items: flex-start; }
  .vs-shop-tools { width: 100%; overflow-x: auto; }
  .vs-cart-drawer { width: 100%; }
  .vs-footer-cols { grid-template-columns: 1fr 1fr; }
  .vs-footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .vs-grid-4, .vs-grid-3 { grid-template-columns: 1fr; }
  .vs-hero-title { font-size: clamp(48px, 14vw, 80px); }
}

/* =========================================================
   Editorial / Info pages — Blog, Care, Shipping, Returns
   ========================================================= */

/* ---------- BLOG ---------- */
.vs-blog {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter) 96px;
}

.vs-blog-head {
  border-bottom: 1px solid var(--line);
  padding: 56px 0 64px;
}
.vs-blog-head-inner { max-width: none; }
.vs-blog-title {
  font-size: clamp(48px, 6vw, 96px);
  font-weight: var(--display-weight);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 28px;
}
.vs-blog-lead {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0;
}

.vs-blog-pinned {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: stretch;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.vs-blog-pinned-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
}
.vs-blog-pinned-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.vs-blog-pinned:hover .vs-blog-pinned-media img { transform: scale(1.03); }

.vs-blog-pinned-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 0;
}
.vs-blog-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.vs-blog-meta span:first-child { color: var(--accent); }
.vs-blog-pinned-title {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: var(--display-weight);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0 0 20px;
  max-width: 16ch;
}
.vs-blog-pinned-excerpt {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 48ch;
  margin: 0 0 32px;
}
.vs-blog-pinned-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.vs-blog-pinned-foot .vs-mono { white-space: nowrap; }
.vs-post-foot .vs-mono { white-space: nowrap; }

.vs-blog-topics {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 40px 0 24px;
  flex-wrap: wrap;
}
.vs-blog-topics-label { color: var(--muted); flex-shrink: 0; }
.vs-blog-topics-row { display: flex; gap: 6px; flex-wrap: wrap; }

.vs-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
  padding: 32px 0 56px;
}

.vs-post-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}
.vs-post-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  border-radius: var(--radius);
}
.vs-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
  filter: brightness(0.92);
}
.vs-post-card:hover .vs-post-media img { transform: scale(1.04); filter: brightness(1); }
.vs-post-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.vs-post-meta span:first-child { color: var(--accent); }
.vs-post-title {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: var(--display-weight);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 12px;
  text-wrap: pretty;
}
.vs-post-excerpt {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 0 20px;
  flex: 1;
}
.vs-post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

/* ---------- INFO PAGE SHELL ---------- */
.vs-info {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter) 96px;
}
.vs-info-head {
  border-bottom: 1px solid var(--line);
  padding: 56px 0 64px;
}
.vs-info-head-inner { max-width: 920px; }
.vs-info-eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.vs-info-eyebrow-row .vs-eyebrow { margin-bottom: 0; white-space: nowrap; }
.vs-info-eyebrow-row .vs-mono { color: var(--muted); white-space: nowrap; }

.vs-info-title {
  font-size: clamp(48px, 6vw, 96px);
  font-weight: var(--display-weight);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 28px;
}
.vs-info-lead {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0;
}

.vs-info-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  padding-top: 64px;
}
.vs-info-side {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  align-self: flex-start;
}

.vs-info-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
  border-radius: var(--radius);
}
.vs-info-media img { width: 100%; height: 100%; object-fit: cover; }
.vs-info-media-cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: rgba(255,255,255,0.8);
}

.vs-info-toc { display: flex; flex-direction: column; gap: 12px; }
.vs-info-toc-head { color: var(--muted); }
.vs-info-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vs-info-toc ol li {
  counter-increment: toc;
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.vs-info-toc ol li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  flex-shrink: 0;
  padding-top: 2px;
}

.vs-info-main { display: flex; flex-direction: column; gap: 56px; }

.vs-info-section { display: flex; flex-direction: column; gap: 20px; }
.vs-info-section-head {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.vs-info-section-index { color: var(--accent); }
.vs-info-section-title {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: var(--display-weight);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}
.vs-info-section-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 60px;
}
.vs-info-section-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
  max-width: 64ch;
}
.vs-info-section-body p strong { color: var(--text); font-weight: 500; }
.vs-info-section-body em { font-style: italic; color: var(--text); }
.vs-info-section-body .vs-btn { align-self: flex-start; margin-top: 8px; }

.vs-info-aside {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px !important;
  color: var(--muted) !important;
  line-height: 1.55;
  max-width: 64ch;
}
.vs-info-aside .vs-mono { color: var(--accent); margin-right: 6px; display: inline; }

.vs-info-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  max-width: 64ch;
}
.vs-info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  align-items: flex-start;
}
.vs-info-row-label { color: var(--muted); padding-top: 2px; }

.vs-info-do-dont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 72ch;
}
.vs-info-do-head { margin-bottom: 12px; }
.vs-info-do-dont > div:first-child .vs-info-do-head { color: var(--red); }
.vs-info-do-dont > div:last-child .vs-info-do-head { color: var(--green); }
.vs-info-do-dont ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vs-info-do-dont ul li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}
.vs-info-do-dont ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--muted);
}

.vs-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: ilist;
  max-width: 64ch;
}
.vs-info-list li {
  counter-increment: ilist;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dim);
}
.vs-info-list li::before {
  content: counter(ilist, decimal-leading-zero);
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 4px;
}

.vs-info-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 64ch;
}
.vs-info-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
}
.vs-info-bullets li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 10px;
  padding-top: 5px;
}
.vs-info-bullets-dim li::before { color: var(--muted-2); content: "—"; padding-top: 0; }

.vs-info-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  max-width: 72ch;
}
.vs-info-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.vs-info-steps .vs-mono { color: var(--accent); padding-top: 4px; }
.vs-info-steps li > div { display: flex; flex-direction: column; gap: 6px; }
.vs-info-steps strong { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.vs-info-steps span { color: var(--text-dim); font-size: 14px; line-height: 1.55; }

/* Shipping table */
.vs-ship-table {
  border-top: 1px solid var(--line);
  max-width: 64ch;
}
.vs-ship-row {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-dim);
  gap: 16px;
  align-items: center;
}
.vs-ship-row.vs-ship-head { color: var(--muted); padding: 10px 0; }
.vs-ship-row > span:nth-child(3),
.vs-ship-row > span:nth-child(4) { text-align: right; color: var(--text); }
.vs-ship-row.vs-ship-head > span:nth-child(3),
.vs-ship-row.vs-ship-head > span:nth-child(4) { color: var(--muted); }

/* Pudo options */
.vs-pudo-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 72ch;
  margin-top: 8px;
}
.vs-pudo-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--bg-1);
  align-items: flex-start;
  border-radius: var(--radius);
}
.vs-pudo-card:last-child {
  border-color: var(--line-2);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
}
.vs-pudo-code {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0;
  flex-shrink: 0;
}
.vs-pudo-card:last-child .vs-pudo-code {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.vs-pudo-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: -moz-fit-content;
  width: fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
}
.vs-pudo-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
}
.vs-pudo-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
.vs-pudo-cost {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-transform: none;
  white-space: nowrap;
}
.vs-pudo-transit { color: var(--muted); }
.vs-pudo-note {
  font-size: 14px;
  color: var(--text-dim);
  margin: 8px 0 0;
  line-height: 1.55;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .vs-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .vs-info-body { grid-template-columns: 240px 1fr; gap: 48px; }
}
@media (max-width: 820px) {
  .vs-blog-pinned { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .vs-blog-pinned-media { aspect-ratio: 4 / 3; }
  .vs-blog-grid { grid-template-columns: 1fr; gap: 40px; }
  .vs-info-body { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .vs-info-side { position: static; flex-direction: row; gap: 24px; }
  .vs-info-media { flex: 1; aspect-ratio: 4 / 5; max-width: 200px; }
  .vs-info-toc { flex: 1.4; }
  .vs-info-section-body { padding-left: 0; }
  .vs-info-section-head { grid-template-columns: 32px 1fr; gap: 12px; }
  .vs-info-row { grid-template-columns: 1fr; gap: 4px; }
  .vs-info-do-dont { grid-template-columns: 1fr; gap: 24px; }
  .vs-pudo-card { grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 18px; }
  .vs-pudo-code { width: 32px; height: 32px; font-size: 11px; }
}

/* =========================================================
   WORDPRESS ADDITIONS
   Styles specific to the WordPress build that don't exist in
   the static prototype: real menus, post content, comments,
   widgets, block alignments, gutenberg basics.
   ========================================================= */

/* Mobile menu toggle icon swap */
.vs-menu-btn .vs-menu-close { display: none; }
.vs-nav.is-menu-open .vs-menu-btn .vs-menu-open { display: none; }
.vs-nav.is-menu-open .vs-menu-btn .vs-menu-close { display: inline-flex; }

/* Mobile menu rendered from wp_nav_menu (<ul>) */
.vs-mobile-menu .vs-mobile-list,
.vs-mobile-menu .vs-mobile-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vs-mobile-menu .vs-mobile-list > li > a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.vs-mobile-menu .vs-mobile-list .sub-menu {
  padding: 4px 0 12px;
}
.vs-mobile-menu .vs-mobile-list .sub-menu li a {
  display: block;
  padding: 8px 0 8px 16px;
  font-size: 14px;
  color: var(--text-dim);
}

/* Footer menu links from wp_nav_menu reuse the column link look */
.vs-footer-col a:not(.vs-footer-link) {
  display: block;
  text-align: left;
  font-size: 13px;
  color: var(--text-dim);
  transition: color .2s var(--ease);
  padding: 2px 0;
}
.vs-footer-col a:not(.vs-footer-link):hover { color: var(--accent); }
.vs-footer-col ul { list-style: none; margin: 0; padding: 0; }

/* Generic page / post content shell */
.vs-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 64px var(--gutter) 96px;
}
.vs-content-wide { max-width: var(--container); }
.vs-entry-header { margin-bottom: 48px; }
.vs-entry-title {
  font-size: clamp(40px, 5vw, 80px);
  font-weight: var(--display-weight);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 20px;
}
.vs-entry-meta {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.vs-entry-content { font-size: 17px; line-height: 1.7; color: var(--text-dim); }
.vs-entry-content > * { margin: 0 0 24px; }
.vs-entry-content h2 { font-size: clamp(26px, 3vw, 38px); font-weight: var(--display-weight); letter-spacing: -0.03em; color: var(--text); margin: 48px 0 16px; }
.vs-entry-content h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 500; color: var(--text); margin: 36px 0 12px; }
.vs-entry-content a { color: var(--accent); border-bottom: 1px solid var(--line-2); }
.vs-entry-content a:hover { border-color: var(--accent); }
.vs-entry-content strong { color: var(--text); }
.vs-entry-content blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  margin-left: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.015em;
}
.vs-entry-content img,
.vs-entry-content .wp-block-image { border-radius: var(--radius); overflow: hidden; }
.vs-entry-content ul, .vs-entry-content ol { padding-left: 22px; }
.vs-entry-content li { margin-bottom: 8px; }
.vs-entry-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-2);
  border-radius: var(--radius);
  margin-bottom: 40px;
}
.vs-entry-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Block alignments */
.alignwide { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.wp-block-button__link { border-radius: 999px; }

/* Pagination */
.vs-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 40px var(--gutter) 0;
}
.vs-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  color: var(--text-dim);
  transition: all .2s var(--ease);
}
.vs-pagination .page-numbers:hover { border-color: var(--line-3); color: var(--text); }
.vs-pagination .page-numbers.current { background: var(--primary-bg); color: var(--primary-fg); border-color: var(--primary-bg); }

/* Widgets (shop sidebar, e.g. YITH filters) */
.vs-widget { margin-bottom: 40px; }
.vs-widget-title {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.vs-widget ul { list-style: none; margin: 0; padding: 0; }
.vs-widget li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-dim); }
.vs-widget a { color: var(--text-dim); }
.vs-widget a:hover { color: var(--accent); }
.vs-footer-widget { margin-top: 24px; }

/* Comments — kept minimal/quiet, per brand tone */
.vs-comments { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter) 96px; }
.vs-comments-title { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 24px; }
.vs-comments .comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.vs-comments .comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); }
.vs-comments .comment-author { font-size: 14px; color: var(--text); }
.vs-comments .comment-meta { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--muted); }

/* Skip link sits above the fixed nav when focused */
.skip-link:focus { z-index: 100001; }

/* Empty-state CTA spacing inside Woo no-products notice */
.vs-shop-layout { display: block; }
.vs-shop-layout.has-sidebar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
}
@media (max-width: 900px) {
  .vs-shop-layout.has-sidebar { grid-template-columns: 1fr; }
}

/* Dropdown visibility — in the prototype the panel was conditionally
   rendered; here the walker always prints it, so toggle on hover / .is-open. */
.vs-dropdown { display: none; }
.vs-shop-wrap:hover .vs-dropdown,
.vs-shop-wrap:focus-within .vs-dropdown,
.vs-shop-wrap.is-open .vs-dropdown { display: block; }

/* Card link wrapper (prototype used an onClick handler on the article) */
/* Card media link overlays the image so quick-action buttons can sit above it
   as siblings (no nested anchors). Scoped to the product card's media so it does
   NOT affect the journal post cards, which reuse .vs-card-link as a full wrap. */
.vs-card-media > .vs-card-link { position: absolute; inset: 0; z-index: 1; display: block; color: inherit; }
.vs-card-meta-link { display: block; color: inherit; }
.vs-card { cursor: pointer; }
.vs-sold-overlay, .vs-card-tag { z-index: 2; }

/* Quick actions (AJAX add-to-bag + wishlist) revealed on hover */
.vs-card-actions {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.vs-card:hover .vs-card-actions,
.vs-card:focus-within .vs-card-actions { opacity: 1; transform: none; }
@media (hover: none) {
  .vs-card-actions { opacity: 1; transform: none; }   /* touch: always visible */
}
.vs-card.is-sold .vs-card-actions { display: none; }

.vs-card-actions .vs-quick-add,
.vs-card-actions a.button {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
  background: var(--primary-bg);
  color: var(--primary-fg);
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: "Geist", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.32);
  transition: filter .2s var(--ease);
  position: relative;
}
.vs-card-actions .vs-quick-add:hover { filter: brightness(1.1); color: var(--primary-fg); }
.vs-card-actions .vs-quick-add.loading { color: transparent !important; pointer-events: none; font-size: 0; }
/* Suppress WooCommerce's default font-glyph spinner so only ours shows */
.vs-card-actions .vs-quick-add.loading::before { content: none !important; }
.vs-card-actions .vs-quick-add.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: 0;
  transform: translate(-50%, -50%);
  border: 2px solid var(--primary-fg);
  border-top-color: transparent;
  border-radius: 50%;
  background: none;
  animation: vs-spin .7s linear infinite;
}
@keyframes vs-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
/* WooCommerce appends a "View basket" link after AJAX add — drawer is the
   feedback, so hide the inline link that otherwise overlaps the button. */
.vs-card-actions .added_to_cart,
.vs-card-actions a.wc-forward { display: none !important; }

/* Wishlist control (YITH) as a round icon button beside add-to-bag */
.vs-card-wishlist {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  background: rgba(var(--bg-rgb), 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.32);
}
.vs-card-wishlist a { color: var(--text); display: inline-flex; align-items: center; }
.vs-card-wishlist .yith-wcwl-add-button img,
.vs-card-wishlist a img { width: 18px; height: 18px; }

/* Native-radio contact subject pills (prototype used JS state) */
.vs-radio { cursor: pointer; }
.vs-radio:has(input:checked) { border-color: var(--accent); color: var(--text); }
.vs-radio:has(input:checked) .vs-radio-dot { background: var(--accent); border-color: var(--accent); }
.vs-radio:focus-within { border-color: var(--line-3); }

/* Cart badge hidden when the bag is empty (kept in DOM for AJAX fragments) */
.vs-cart-badge.is-empty { display: none; }

/* =========================================================
   FIXES v1.1 — post-launch review
   ========================================================= */

/* --- 1. WP admin-bar offset so the fixed nav never tucks under it --- */
body.admin-bar .vs-nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .vs-nav { top: 46px; }
}

/* --- 2. Shop dropdown hover bridge (stops it closing on the way down) --- */
.vs-dropdown { top: calc(100% + 4px); padding-top: 10px; background-clip: padding-box; }
.vs-shop-wrap::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  max-width: 60vw;
  height: 16px;            /* invisible bridge spanning the gap */
}
.vs-shop-wrap:hover::after { pointer-events: auto; }

/* --- 3. Footer Studio/Help menus: plain links, no header-style underline --- */
.vs-footer-menu { list-style: none; margin: 0; padding: 0; }
.vs-footer-menu li { margin: 0; }
.vs-footer-menu li a {
  display: block;
  text-align: left;
  font-size: 13px;
  color: var(--text-dim);
  padding: 2px 0;
  transition: color .2s var(--ease);
}
.vs-footer-menu li a::after { content: none; display: none; }   /* kill inherited underline */
.vs-footer-menu li a:hover { color: var(--accent); }

/* --- 4. Editorial info pages (Care / Shipping / Returns) inside .vs-entry-content ---
   Component styles must win over the generic .vs-entry-content h2 sizing, and the
   section head must stay a tidy two-column (index | title). */
.vs-entry-content .vs-info-main { margin: 40px 0 0; }
.vs-entry-content .vs-info-main > * { margin: 0; }
.vs-entry-content .vs-info-lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--text);
  max-width: 60ch;
  margin: 0 0 8px;
}
.vs-entry-content .vs-info-section { display: flex; flex-direction: column; gap: 20px; }
.vs-entry-content .vs-info-section-head {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 18px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.vs-entry-content h2.vs-info-section-title {
  font-size: clamp(22px, 2.2vw, 30px) !important;
  font-weight: var(--display-weight);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 !important;
  text-align: left;
  width: max-content;
}
.vs-entry-content .vs-info-section-index { margin: 0; }
.vs-entry-content .vs-info-section-body { padding-left: 0; margin: 0; }
.vs-entry-content .vs-info-section-body > * { margin: 0; }
.vs-entry-content .vs-info-section-body p { font-size: 15px; line-height: 1.6; color: var(--text-dim); margin: 0; }
@media (max-width: 640px) {
  .vs-entry-content .vs-info-section-head { grid-template-columns: 1fr; gap: 4px; }
}

/* --- 5. Wider journal/article content --- */
.vs-content { max-width: 1040px; }

/* --- 6. Comment form ("Leave a note") --- */
.vs-comments { max-width: 1040px; }
.vs-comments .comment-respond,
.vs-comments #respond {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.vs-comments .comment-reply-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: var(--display-weight);
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.vs-comments .comment-form { display: flex; flex-direction: column; gap: 18px; }
.vs-comments .comment-form-comment,
.vs-comments .comment-form-author,
.vs-comments .comment-form-email,
.vs-comments .comment-form-url { margin: 0; }
.vs-comments .comment-form label {
  display: block;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.vs-comments .comment-form input[type="text"],
.vs-comments .comment-form input[type="email"],
.vs-comments .comment-form input[type="url"],
.vs-comments .comment-form textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 13px 15px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s var(--ease);
}
.vs-comments .comment-form input:focus,
.vs-comments .comment-form textarea:focus { outline: none; border-color: var(--accent); }
.vs-comments .comment-form textarea { min-height: 140px; resize: vertical; }
.vs-comments .comment-form-cookies-consent { flex-direction: row; align-items: center; gap: 10px; display: flex; }
.vs-comments .comment-form-cookies-consent label { margin: 0; text-transform: none; letter-spacing: 0; font-family: inherit; font-size: 13px; color: var(--text-dim); }
.vs-comments .form-submit { margin: 0; }
.vs-comments .form-submit .submit { cursor: pointer; }
.vs-comments .comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.vs-comments .comment-list ul.children { list-style: none; padding-left: 28px; }
.vs-comments .comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); }
.vs-comments .comment-author .fn { color: var(--text); font-style: normal; font-weight: 500; }
.vs-comments .comment-author .says { display: none; }
.vs-comments .comment-metadata,
.vs-comments .comment-awaiting-moderation {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.vs-comments .comment-metadata a { color: var(--muted); }
.vs-comments .reply a {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- 7. Search overlay (drops below the nav, searches all content) --- */
.vs-search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  z-index: 80;
}
.vs-search-overlay.is-open { opacity: 1; transform: translateY(0); }
.vs-search-overlay-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px var(--gutter) 18px;
}
.vs-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 12px;
}
.vs-search-form-icon { color: var(--muted); flex-shrink: 0; }
.vs-search-input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  padding: 6px 0;
}
.vs-search-input::placeholder { color: var(--muted-2); }
.vs-search-input:focus { outline: none; }
.vs-search-submit {
  background: var(--primary-bg);
  color: var(--primary-fg);
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
  transition: filter .2s var(--ease);
}
.vs-search-submit:hover { filter: brightness(1.08); }
.vs-search-close { flex-shrink: 0; }
.vs-search-hint { margin-top: 10px; color: var(--muted); }

/* --- 8. Cart icon / badge polish --- */
.vs-cart-btn { transition: background .2s var(--ease); }
.vs-cart-badge {
  top: 2px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  font-size: 9px;
  box-shadow: 0 0 0 2px var(--bg);   /* ring separates badge from icon */
}
.vs-nav.is-scrolled .vs-cart-badge { box-shadow: 0 0 0 2px rgba(var(--bg-rgb), 0.72); }

/* --- 9. Embedded contact form (Custom Orders) spacing --- */
.vs-contact-embed { max-width: 640px; margin: 24px 0 0; }
.vs-contact-embed-sent {
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin: 24px 0;
}
.vs-contact-embed-sent p { margin: 8px 0 0; color: var(--text-dim); }
.vs-custom-steps + h2 { margin-top: 48px; }

/* =========================================================
   FIXES v1.2 — responsiveness & mobile search
   ========================================================= */
@media (max-width: 820px) {
  /* Search now opens a working overlay, so keep it reachable on mobile */
  .vs-search-btn { display: inline-flex; }
  .vs-search-overlay-inner { padding: 16px var(--gutter) 14px; }
  .vs-search-input { font-size: 20px; }
  .vs-search-submit { padding: 9px 16px; font-size: 13px; }
  /* Editorial info pages: keep index + title tidy, lead readable */
  .vs-entry-content .vs-info-main { gap: 40px; }
  .vs-content, .vs-comments { padding-left: var(--gutter); padding-right: var(--gutter); }
}

@media (max-width: 560px) {
  .vs-search-form { flex-wrap: wrap; gap: 8px; }
  .vs-search-input { flex: 1 1 100%; order: 1; }
  .vs-search-form-icon { order: 0; }
  .vs-search-submit { order: 2; flex: 1; }
  .vs-search-close { order: 3; }
  .vs-search-hint { display: none; }
  .vs-blog-title { font-size: clamp(38px, 11vw, 64px); }
  .vs-footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .vs-entry-title { font-size: clamp(34px, 10vw, 64px); }
  /* Stack the info-section index above the title on the smallest screens */
  .vs-entry-content h2.vs-info-section-title { width: 100%; }
}

/* =========================================================
   FIXES v1.4 — default search form (empty state / 404)
   ========================================================= */
.search-form { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.search-form label { margin: 0; flex: 1 1 auto; min-width: 220px; }
.search-form .search-field {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 18px;
}
.search-form .search-field::placeholder { color: var(--muted); }
.search-form .search-field:focus { outline: none; border-color: var(--accent); }
.search-form .search-submit {
  background: var(--primary-bg);
  color: var(--primary-fg);
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: filter .2s var(--ease);
}
.search-form .search-submit:hover { filter: brightness(1.1); }
.vs-empty-state .search-form { margin-top: 24px; }

/* Journal post-card link wraps the whole card (media + body) as a column. */
.vs-post-card > .vs-card-link { display: flex; flex-direction: column; color: inherit; }

/* =========================================================
   FIXES v1.5
   ========================================================= */

/* Product gallery zoom trigger sat at z-index:99 (above the nav/overlays) */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { z-index: 20; }

/* Single add-to-basket loader (AJAX) */
.single-product form.cart button.single_add_to_cart_button.loading { color: transparent !important; pointer-events: none; position: relative; }
.single-product form.cart button.single_add_to_cart_button.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--primary-fg);
  border-top-color: transparent;
  border-radius: 50%;
  animation: vs-spin .7s linear infinite;
}

/* Search field: hide the browser's native (blue) clear glyph; use our own
   themed clear button (dark red) instead. */
.vs-search-input::-webkit-search-cancel-button,
.vs-search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.vs-search-clear {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--primary-bg);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  transition: background .2s var(--ease), filter .2s var(--ease);
}
.vs-search-clear:hover { filter: brightness(1.15); background: rgba(var(--hover-rgb), 0.08); }
.vs-search-form.has-value .vs-search-clear { display: inline-flex; }

/* =========================================================
   FIXES v1.6 — hero display modes + mini-cart name link
   ========================================================= */
.vs-hero-media picture { position: absolute; inset: 0; display: block; }
.vs-hero-media picture img,
.vs-hero-media > img { width: 100%; height: 100%; }
.vs-hero-media[data-fit="cover"] img { object-fit: cover; }
.vs-hero-media[data-fit="contain"] img { object-fit: contain; }
.vs-hero-media[data-fit="fill"] img { object-fit: fill; }
.vs-hero-media[data-fit="scale-down"] img { object-fit: scale-down; }

/* Mini-cart product name reads as a link */
.vs-cart-drawer ul.woocommerce-mini-cart li.mini_cart_item a:not(.remove):hover { color: var(--accent); }

/* =========================================================
   FIXES v1.7
   ========================================================= */

/* Out-of-stock cards: keep the "Sold out" layer visual but let clicks pass
   through to the product link beneath, so the page is still reachable. */
.vs-sold-overlay { pointer-events: none; }

/* ---- Contact-plugin parity: style Contact Form 7 / WPForms to match the
   built-in form, so swapping to a plugin keeps the look. ---- */
.wpcf7-form p,
.wpforms-field { margin: 0 0 18px; }
.wpcf7-form label,
.wpforms-field-label {
  display: block;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 400;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select,
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="url"],
.wpforms-form textarea,
.wpforms-form select {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 13px 15px;
  transition: border-color .2s var(--ease);
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpforms-form input:focus,
.wpforms-form textarea:focus { outline: none; border-color: var(--accent); }
.wpcf7-form input::placeholder,
.wpforms-form input::placeholder,
.wpforms-form textarea::placeholder { color: var(--muted); }
.wpcf7-form textarea,
.wpforms-form textarea { min-height: 150px; resize: vertical; }
.wpcf7-form input[type="submit"],
.wpforms-form button[type="submit"],
.wpforms-submit {
  background: var(--primary-bg);
  color: var(--primary-fg);
  border: 0;
  border-radius: 999px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: filter .2s var(--ease);
}
.wpcf7-form input[type="submit"]:hover,
.wpforms-form button[type="submit"]:hover,
.wpforms-submit:hover { filter: brightness(1.1); }
.wpcf7 .wpcf7-response-output,
.wpforms-confirmation-container-full {
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--bg-1);
  color: var(--text-dim);
  padding: 14px 18px;
}

/* =========================================================
   FIXES v1.8 — contact AJAX button loader
   ========================================================= */
.vs-btn.is-loading { color: transparent !important; pointer-events: none; position: relative; }
.vs-btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--primary-fg);
  border-top-color: transparent;
  border-radius: 50%;
  animation: vs-spin .7s linear infinite;
}

/* =========================================================
   FIXES v1.9 — grid items must be allowed to shrink (no mobile h-scroll)
   ========================================================= */
.vs-card,
.vs-card-meta,
.vs-card-meta-link,
.vs-post-card { min-width: 0; }
.vs-card-name,
.vs-card-price,
.vs-post-title { overflow-wrap: anywhere; word-break: break-word; }
/* Final guard: never let the page itself scroll sideways from a stray child. */
.vs-page { overflow-x: clip; }

/* =========================================================
   PLUGIN COMPATIBILITY (general)
   Light-touch styling so common third-party plugins inherit the
   theme look instead of rendering as raw browser defaults. Scoped
   so it never fights a plugin's own structural layout.
   ========================================================= */

/* Generic form controls from plugins placed inside page/post content
   (newsletter signups, search/filter, booking, etc.) */
.vs-entry-content input[type="text"],
.vs-entry-content input[type="email"],
.vs-entry-content input[type="tel"],
.vs-entry-content input[type="url"],
.vs-entry-content input[type="number"],
.vs-entry-content input[type="search"],
.vs-entry-content input[type="password"],
.vs-entry-content textarea,
.vs-entry-content select {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  max-width: 100%;
}
.vs-entry-content input:focus,
.vs-entry-content textarea:focus,
.vs-entry-content select:focus { outline: none; border-color: var(--accent); }
.vs-entry-content input::placeholder,
.vs-entry-content textarea::placeholder { color: var(--muted); }

/* select2 (WooCommerce, Ajax search, filters) */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  min-height: 42px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text); line-height: 40px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px; }
.select2-dropdown { background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--primary-bg); color: var(--primary-fg); }
.select2-search--dropdown .select2-search__field { background: var(--bg-1); border: 1px solid var(--line-2); color: var(--text); }

/* SEO-plugin breadcrumbs (Yoast / Rank Math) when output in content */
.vs-entry-content #breadcrumbs,
.rank-math-breadcrumb p,
.vs-breadcrumbs {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.vs-entry-content #breadcrumbs a,
.rank-math-breadcrumb a { color: var(--muted); }
.vs-entry-content #breadcrumbs a:hover,
.rank-math-breadcrumb a:hover { color: var(--accent); }

/* Language switchers (WPML / Polylang) in menus */
.vs-nav-links .menu-item-language img,
.vs-nav-links .wpml-ls-flag { display: inline-block; vertical-align: middle; margin-right: 6px; }

/* Page-builder full-bleed sections shouldn't fight the fixed nav */
.elementor-section, .e-con, .wp-block-cover { max-width: 100%; }

/* Cookie/consent bars: keep them above the cart shell */
#cookie-notice, .cky-consent-container, .cmplz-cookiebanner { z-index: 120; }
