/* ================================================================
   Vastra Vision — "Heritage Luxe" web layer (2026-11-27 revamp)
   One palette with the Android app: ivory paper, ink, deep emerald,
   antique gold. Signature: the zari border — a woven-gold edge taken
   from a sari hem, used only where one surface meets another.

   Loaded LAST on every storefront page. Owns the shared chrome
   (announcement, header, drawer, search, bag, footer), the product
   card, buttons, quick view and motion. Legacy tokens are remapped
   so older page CSS picks up the palette without edits.
   ================================================================ */

:root {
  --vv-paper: #FAF8F4;
  --vv-paper-2: #F3EEE6;
  --vv-sand: #ECE4D8;
  --vv-line: #E3DDD5;
  --vv-line-2: #D3C9BB;
  --vv-ink: #17130F;
  --vv-cocoa: #3A2C23;
  --vv-muted: #6B5E53;
  --vv-emerald: #185447;
  --vv-emerald-deep: #0F342E;
  --vv-emerald-soft: #2F6A5C;
  --vv-mint: #E3EEE9;
  --vv-gold: #B89557;
  --vv-gold-soft: #E9C995;
  --vv-gold-text: #7E6230;
  --vv-sale: #A8442C;
  --vv-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --vv-sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --vv-ease: cubic-bezier(.22, 1, .36, 1);
  --vv-ease-io: cubic-bezier(.65, 0, .35, 1);
  --vv-gutter: clamp(1rem, 4vw, 3.5rem);
  --vv-max: 1320px;
  --vv-r-sm: 3px;
  --vv-r: 10px;
  --vv-header-h: 76px;
  --vv-announce-h: 36px;
  --vv-zari: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='14' viewBox='0 0 30 14'%3E%3Cg fill='none' stroke='%23B89557' stroke-width='1'%3E%3Cpath d='M0 .5h30M0 13.5h30'/%3E%3Cpath d='M15 3.2 18.8 7 15 10.8 11.2 7z'/%3E%3Cpath d='M0 7h7.5M22.5 7H30' stroke-dasharray='1 2'/%3E%3C/g%3E%3Cg fill='%23B89557'%3E%3Ccircle cx='15' cy='7' r='1'/%3E%3Ccircle cx='3.5' cy='3.6' r='.7'/%3E%3Ccircle cx='26.5' cy='3.6' r='.7'/%3E%3Ccircle cx='3.5' cy='10.4' r='.7'/%3E%3Ccircle cx='26.5' cy='10.4' r='.7'/%3E%3C/g%3E%3C/svg%3E");

  /* legacy names, read by every page's own stylesheet */
  --cream: var(--vv-paper);
  --warm-white: var(--vv-paper-2);
  --stone: var(--vv-line);
  --taupe: #857668;
  --muted: var(--vv-muted);
  --dark: var(--vv-ink);
  --charcoal: #2A221C;
  --accent: var(--vv-emerald);
  --accent-dark: var(--vv-emerald-deep);
  --gold: var(--vv-gold);
  --gold-light: var(--vv-gold-soft);
  --gold-dim: #8E6F36;
  --leaf: var(--vv-emerald);
  --success: var(--vv-emerald);
  --serif: var(--vv-serif);
  --sans: var(--vv-sans);
}
@media (max-width: 1079px) { :root { --vv-header-h: 62px; --vv-announce-h: 34px; } }

html { scroll-padding-top: calc(var(--vv-header-h) + 12px); }
body {
  background: var(--vv-paper);
  background-image: none;
  color: var(--charcoal);
  font-family: var(--vv-sans);
}
body.vv-locked { overflow: hidden; }
::selection { background: var(--vv-gold-soft); color: var(--vv-ink); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--vv-emerald);
  outline-offset: 3px;
}

/* ─── Skip link ─────────────────────────────────────────────── */
.vv-skip {
  position: fixed; left: 1rem; top: -100px; z-index: 200;
  background: var(--vv-ink); color: #fff; padding: .8rem 1.2rem;
  font: 500 .8rem/1 var(--vv-sans); text-decoration: none;
}
.vv-skip:focus { top: 1rem; }

/* ─── Zari border (signature) ───────────────────────────────── */
.vv-zari {
  display: block; height: 14px; width: 100%;
  background: var(--vv-zari) repeat-x center / 30px 14px;
  opacity: .9;
}
.vv-zari--faint { opacity: .45; }

/* ─── Announcement bar ──────────────────────────────────────── */
.vv-announce {
  position: relative; z-index: 61;
  height: var(--vv-announce-h);
  background: var(--vv-emerald-deep);
  color: var(--vv-gold-soft);
  overflow: hidden;
}
.vv-announce-msg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 1rem; text-align: center;
  font: 500 .66rem/1.2 var(--vv-sans);
  letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; transform: translateY(70%);
  transition: opacity .6s var(--vv-ease), transform .6s var(--vv-ease);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vv-announce-msg.is-on { opacity: 1; transform: none; }
.vv-announce-msg.is-off { opacity: 0; transform: translateY(-70%); }
.vv-announce-msg::before, .vv-announce-msg::after {
  content: ''; width: 5px; height: 5px; margin: 0 .9rem;
  border: 1px solid var(--vv-gold); transform: rotate(45deg); flex: none;
}
@media (max-width: 480px) {
  .vv-announce-msg { letter-spacing: .12em; font-size: .62rem; }
  .vv-announce-msg::before, .vv-announce-msg::after { margin: 0 .55rem; }
}

/* ─── Header ────────────────────────────────────────────────── */
.vv-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--vv-header-h);
  color: var(--vv-ink);
  background: rgba(250, 248, 244, .9);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  border-bottom: 1px solid rgba(23, 19, 15, .08);
  transition: transform .5s var(--vv-ease), background-color .35s ease, color .35s ease, border-color .35s ease;
}
.vv-header.is-hidden { transform: translateY(-101%); }
.vv-header-inner {
  height: 100%; max-width: 1480px; margin: 0 auto;
  padding: 0 var(--vv-gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
}
.vv-header-left { display: flex; align-items: center; gap: .25rem; min-width: 0; }
.vv-header .vv-nav {
  display: flex; align-items: center; gap: clamp(1rem, 1.9vw, 2.1rem);
  position: static; background: none; padding: 0; margin: 0; height: auto;
  border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.vv-nav a {
  position: relative; color: inherit; text-decoration: none;
  font: 500 .7rem/1 var(--vv-sans); letter-spacing: .2em; text-transform: uppercase;
  padding: .8rem 0; white-space: nowrap;
}
.vv-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .45rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right center;
  transition: transform .5s var(--vv-ease);
}
.vv-nav a:hover::after,
.vv-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left center; }
.vv-logo { justify-self: center; display: block; line-height: 0; }
.vv-logo img { height: 52px; width: auto; transition: filter .35s ease, height .35s var(--vv-ease); }
.vv-actions { justify-self: end; display: flex; align-items: center; gap: .15rem; }
.vv-icon {
  position: relative; width: 44px; height: 44px; flex: none;
  display: inline-grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: inherit;
  cursor: pointer; text-decoration: none;
  transition: background-color .25s ease, transform .15s ease;
}
.vv-icon:hover { background: rgba(23, 19, 15, .06); }
.vv-icon:active { transform: scale(.94); }
.vv-icon svg { width: 21px; height: 21px; display: block; }
.vv-bag-count {
  position: absolute; top: 5px; right: 3px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--vv-emerald); color: #fff;
  font: 600 .62rem/18px var(--vv-sans); text-align: center; letter-spacing: 0;
  transform: scale(0); transition: transform .35s var(--vv-ease);
}
.vv-bag.has-items .vv-bag-count, .vv-bagbtn.has-items .vv-bag-count { transform: scale(1); }
.vv-bagbtn.bump .vv-bag-count { animation: vv-bump .5s var(--vv-ease); }
@keyframes vv-bump { 30% { transform: scale(1.45); } 100% { transform: scale(1); } }
.vv-burger { display: none; }
.vv-burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .35s var(--vv-ease); }
.vv-burger span:nth-child(1) { top: 17px; }
.vv-burger span:nth-child(2) { top: 25px; right: 18px; }

/* Account slot (filled by account.js / vv-ui.js) */
.vv-header [data-account-slot] { display: inline-flex; }
.vv-header [data-account-slot] a {
  display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 .7rem;
  border-radius: 22px; color: inherit; text-decoration: none; background: transparent; border: 0;
  font: 500 .68rem/1 var(--vv-sans); letter-spacing: .18em; text-transform: uppercase;
  transition: background-color .25s ease;
}
.vv-header [data-account-slot] a:hover { background: rgba(23, 19, 15, .06); color: inherit; }
.vv-header [data-account-slot] .acct-slot-ic { width: 20px; height: 20px; color: inherit; }
.vv-header [data-account-slot] .acct-slot.is-in .acct-slot-ic { color: var(--vv-emerald); }
.vv-header [data-account-slot] .acct-slot-label { display: inline; max-width: 9ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Over the homepage hero: clear until the visitor scrolls or hovers. */
body.vv-over-hero .vv-header:not(.is-solid):not(:hover):not(:focus-within) {
  background: transparent; color: #fff; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.vv-over-hero .vv-header:not(.is-solid):not(:hover):not(:focus-within) .vv-logo img { filter: brightness(0) invert(1); }
body.vv-over-hero .vv-header:not(.is-solid):not(:hover):not(:focus-within) .vv-icon:hover,
body.vv-over-hero .vv-header:not(.is-solid):not(:hover):not(:focus-within) [data-account-slot] a:hover { background: rgba(255, 255, 255, .14); }
body.vv-over-hero .vv-header:not(.is-solid):not(:hover):not(:focus-within) .acct-slot.is-in .acct-slot-ic { color: inherit; }
body.vv-over-hero .vv-header:not(.is-solid):not(:hover):not(:focus-within) .vv-bag-count { background: #fff; color: var(--vv-ink); }

@media (max-width: 1079px) {
  .vv-header .vv-nav, .vv-header [data-account-slot] { display: none; }
  .vv-burger { display: inline-grid; }
  .vv-logo img { height: 42px; }
}
@media (max-width: 380px) {
  .vv-logo img { height: 38px; }
  .vv-actions .vv-icon, .vv-header-left .vv-icon { width: 40px; height: 40px; }
}

/* ─── Overlays shared: drawer, search, bag ──────────────────── */
.vv-layer { position: fixed; inset: 0; z-index: 120; }
.vv-layer[hidden] { display: none; }
/* `hidden` must always win — e.g. .btn-primary sets display, which used to show the
   checkout's Pay button on the bag step and every other button the pages hide. */
[hidden] { display: none !important; }
.vv-scrim {
  position: absolute; inset: 0; background: rgba(15, 12, 9, .45);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .4s ease;
}
.vv-layer.is-open .vv-scrim { opacity: 1; }
.vv-close-x {
  width: 44px; height: 44px; display: inline-grid; place-items: center; flex: none;
  border: 1px solid var(--vv-line); border-radius: 50%; background: transparent; color: var(--vv-ink);
  cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--vv-ease);
}
.vv-close-x:hover { background: var(--vv-ink); color: #fff; border-color: var(--vv-ink); transform: rotate(90deg); }
.vv-close-x svg { width: 18px; height: 18px; }

/* Drawer (phones + tablets) */
.vv-drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: min(420px, 88vw); background: var(--vv-paper);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(-100%); transition: transform .55s var(--vv-ease);
  box-shadow: 24px 0 60px rgba(15, 12, 9, .18);
}
.vv-drawer.is-open .vv-drawer-panel { transform: none; }
.vv-drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem .5rem;
}
.vv-drawer-top img { height: 40px; width: auto; }
.vv-drawer-main { display: flex; flex-direction: column; padding: 1rem 1.5rem 1.25rem; }
.vv-drawer-main a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: .7rem 0; border-bottom: 1px solid var(--vv-line);
  font: 400 1.9rem/1.1 var(--vv-serif); color: var(--vv-ink); text-decoration: none; letter-spacing: -.01em;
  opacity: 0; transform: translateX(-14px);
  transition: opacity .5s var(--vv-ease), transform .5s var(--vv-ease), color .2s;
  transition-delay: calc(.08s + var(--i, 0) * .05s);
}
.vv-drawer-main a small {
  font: 500 .62rem/1 var(--vv-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--vv-gold-text);
}
.vv-drawer-main a:hover, .vv-drawer-main a[aria-current="page"] { color: var(--vv-emerald); }
.vv-drawer.is-open .vv-drawer-main a { opacity: 1; transform: none; }
.vv-drawer-sub { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; padding: .5rem 1.5rem 1.5rem; }
.vv-drawer-sub a {
  padding: .55rem 0; color: var(--vv-cocoa); text-decoration: none;
  font: 500 .72rem/1.2 var(--vv-sans); letter-spacing: .14em; text-transform: uppercase;
}
.vv-drawer-sub a:hover { color: var(--vv-emerald); }
.vv-drawer-foot {
  margin-top: auto; padding: 1.25rem 1.5rem 1.6rem; background: var(--vv-paper-2);
  display: flex; flex-direction: column; gap: .9rem;
}
.vv-drawer-foot p { font: italic 400 1.15rem/1.3 var(--vv-serif); color: var(--vv-cocoa); }
.vv-social { display: flex; gap: .5rem; }
.vv-social a {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 1px solid currentColor; color: inherit; opacity: .85; transition: opacity .2s, background-color .2s, color .2s;
}
.vv-social a:hover { opacity: 1; }
.vv-social svg { width: 18px; height: 18px; }

/* Search sheet */
.vv-search-panel {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--vv-paper); max-height: 92vh; overflow-y: auto;
  transform: translateY(-104%); transition: transform .55s var(--vv-ease);
  box-shadow: 0 30px 70px rgba(15, 12, 9, .2);
}
.vv-search.is-open .vv-search-panel { transform: none; }
.vv-search-inner { max-width: 1120px; margin: 0 auto; padding: clamp(1.25rem, 3vw, 2.25rem) var(--vv-gutter) clamp(1.5rem, 3vw, 2.5rem); }
.vv-search-bar {
  display: flex; align-items: center; gap: .9rem;
  border-bottom: 1px solid var(--vv-ink); padding-bottom: .6rem;
}
.vv-search-bar > svg { width: 24px; height: 24px; color: var(--vv-emerald); flex: none; }
.vv-search-bar input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font: 400 clamp(1.5rem, 3.6vw, 2.4rem)/1.2 var(--vv-serif); color: var(--vv-ink); letter-spacing: -.01em;
  padding: .3rem 0;
}
.vv-search-bar input::placeholder { color: #A3968A; }
.vv-search-bar input::-webkit-search-cancel-button { display: none; }
.vv-search-bar input:focus-visible { outline: none; }
.vv-search-label { font: 500 .66rem/1 var(--vv-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--vv-gold-text); margin: 1.4rem 0 .8rem; }
.vv-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.vv-chip {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 1rem; border-radius: 19px;
  border: 1px solid var(--vv-line-2); color: var(--vv-cocoa); text-decoration: none; background: transparent;
  font: 500 .72rem/1 var(--vv-sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.vv-chip:hover, .vv-chip.is-on { background: var(--vv-ink); border-color: var(--vv-ink); color: #fff; }
.vv-search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.25rem 1rem; margin-top: 1rem; }
.vv-sr { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .5rem; }
.vv-sr-img { aspect-ratio: 3/4; background: #fff; overflow: hidden; }
.vv-sr-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--vv-ease); }
.vv-sr:hover .vv-sr-img img { transform: scale(1.04); }
.vv-sr-name { font: 500 1rem/1.25 var(--vv-serif); color: var(--vv-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vv-sr-price { font-size: .82rem; font-weight: 500; }
.vv-search-empty { grid-column: 1 / -1; color: var(--vv-muted); font-size: .9rem; padding: .5rem 0; }
.vv-search-all { margin-top: 1.25rem; }

/* Bag drawer */
.vv-bag-panel {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: min(440px, 100vw); background: var(--vv-paper);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .55s var(--vv-ease);
  box-shadow: -24px 0 60px rgba(15, 12, 9, .18);
}
.vv-bag.is-open .vv-bag-panel { transform: none; }
.vv-bag-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--vv-line);
}
.vv-bag-head h2 { font: 400 1.7rem/1 var(--vv-serif); color: var(--vv-ink); letter-spacing: -.01em; }
.vv-bag-head h2 span { font: 500 .7rem/1 var(--vv-sans); letter-spacing: .14em; color: var(--vv-muted); margin-left: .45rem; vertical-align: middle; }
.vv-bag-ship { padding: .95rem 1.4rem 1rem; background: var(--vv-paper-2); font-size: .8rem; color: var(--vv-cocoa); }
.vv-bag-ship strong { color: var(--vv-emerald); font-weight: 600; }
.vv-meter { height: 3px; background: var(--vv-line); margin-top: .65rem; border-radius: 2px; overflow: hidden; }
.vv-meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--vv-gold), var(--vv-emerald)); transition: width .8s var(--vv-ease); }
.vv-bag-items { list-style: none; margin: 0; padding: .4rem 1.4rem; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.vv-bag-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--vv-line); }
.vv-bag-item:last-child { border-bottom: 0; }
.vv-bag-img { width: 76px; aspect-ratio: 3/4; background: #fff; overflow: hidden; display: block; }
.vv-bag-img img { width: 100%; height: 100%; object-fit: cover; }
.vv-bag-name { font: 500 1.05rem/1.2 var(--vv-serif); color: var(--vv-ink); text-decoration: none; display: block; }
.vv-bag-var { font-size: .72rem; color: var(--vv-muted); margin-top: .25rem; letter-spacing: .02em; }
.vv-qty { display: inline-flex; align-items: center; margin-top: .65rem; border: 1px solid var(--vv-line-2); border-radius: 22px; height: 34px; }
.vv-qty button { width: 34px; height: 32px; border: 0; background: transparent; cursor: pointer; font-size: 1rem; color: var(--vv-ink); border-radius: 50%; }
.vv-qty button:hover { background: rgba(23, 19, 15, .06); }
.vv-qty span { min-width: 22px; text-align: center; font-size: .82rem; font-weight: 500; }
.vv-bag-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.vv-bag-price { font-size: .9rem; font-weight: 500; color: var(--vv-ink); }
.vv-bag-remove { border: 0; background: none; color: var(--vv-muted); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: .3rem 0; }
.vv-bag-remove:hover { color: var(--vv-sale); }
.vv-bag-foot { padding: 1.1rem 1.4rem 1.4rem; border-top: 1px solid var(--vv-line); background: var(--vv-paper); }
.vv-bag-sub { display: flex; justify-content: space-between; align-items: baseline; font: 400 1.35rem/1 var(--vv-serif); color: var(--vv-ink); }
.vv-bag-sub span:first-child { font: 500 .7rem/1 var(--vv-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--vv-cocoa); }
.vv-bag-note { font-size: .74rem; color: var(--vv-muted); margin: .5rem 0 1rem; }
.vv-bag-foot .vv-btn { width: 100%; }
.vv-bag-foot .vv-btn + .vv-btn { margin-top: .6rem; }
.vv-bag-empty { padding: 3rem 1.4rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.vv-bag-empty p { font: italic 400 1.5rem/1.2 var(--vv-serif); color: var(--vv-cocoa); }

/* ─── Toast ─────────────────────────────────────────────────── */
#toast {
  left: 50%; right: auto; bottom: 1.5rem; top: auto;
  transform: translateX(-50%) translateY(20px);
  background: var(--vv-ink); color: #fff; border: 0; border-left: 0;
  border-radius: 999px; padding: .85rem 1.4rem;
  font: 500 .8rem/1.3 var(--vv-sans); letter-spacing: .02em;
  box-shadow: 0 14px 40px rgba(15, 12, 9, .25);
  max-width: min(92vw, 460px); text-align: center; z-index: 200;
}
#toast.show { transform: translateX(-50%) translateY(0); }
#toast.error { background: var(--vv-sale); }

/* ─── Buttons ───────────────────────────────────────────────── */
.vv-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 2.1rem; border-radius: var(--vv-r-sm);
  border: 1px solid var(--vv-ink); background: var(--vv-ink); color: #fff;
  font: 500 .72rem/1 var(--vv-sans); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color .4s var(--vv-ease), border-color .4s var(--vv-ease), transform .15s ease;
}
.vv-btn::before {
  content: ''; position: absolute; inset: -1px; z-index: -1;
  background: var(--vv-emerald); transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .5s var(--vv-ease);
}
.vv-btn:hover::before, .vv-btn:focus-visible::before { transform: scaleY(1); }
.vv-btn:hover { border-color: var(--vv-emerald); color: #fff; }
.vv-btn:active { transform: scale(.98); }
.vv-btn:disabled { opacity: .55; cursor: not-allowed; }
.vv-btn:disabled::before { display: none; }
.vv-btn--line { background: transparent; color: var(--vv-ink); }
.vv-btn--line::before { background: var(--vv-ink); }
.vv-btn--line:hover { color: #fff; border-color: var(--vv-ink); }
.vv-btn--light { background: var(--vv-paper); border-color: var(--vv-paper); color: var(--vv-ink); }
.vv-btn--light::before { background: var(--vv-gold-soft); }
.vv-btn--light:hover { color: var(--vv-ink); border-color: var(--vv-gold-soft); }
.vv-btn--clear { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.vv-btn--clear::before { background: #fff; }
.vv-btn--clear:hover { color: var(--vv-ink); border-color: #fff; }
.vv-btn--gold { background: var(--vv-gold); border-color: var(--vv-gold); color: var(--vv-ink); }
.vv-btn--gold::before { background: var(--vv-gold-soft); }
.vv-btn--gold:hover { color: var(--vv-ink); border-color: var(--vv-gold-soft); }

.vv-link {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--vv-ink); text-decoration: none;
  font: 500 .7rem/1 var(--vv-sans); letter-spacing: .22em; text-transform: uppercase;
  padding: .7rem 0; position: relative; white-space: nowrap;
}
.vv-link::after {
  content: ''; position: absolute; left: 0; right: 1.6rem; bottom: .3rem; height: 1px;
  background: currentColor; transform-origin: left center; transition: transform .5s var(--vv-ease);
}
.vv-link svg { width: 16px; height: 16px; transition: transform .5s var(--vv-ease); }
.vv-link:hover { color: var(--vv-emerald); }
.vv-link:hover svg { transform: translateX(5px); }
.vv-link:hover::after { transform: scaleX(.4); }
.vv-link--light { color: #fff; }
.vv-link--light:hover { color: var(--vv-gold-soft); }

/* Older button classes, re-coloured to the new palette */
.btn-primary { border-radius: var(--vv-r-sm); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover:not(:disabled) { background: var(--vv-emerald); box-shadow: 0 10px 26px rgba(24, 84, 71, .22); }
}
.btn-ghost::after { color: var(--vv-gold); }

/* ─── Section scaffolding ───────────────────────────────────── */
.vv-wrap { max-width: var(--vv-max); margin: 0 auto; }
.vv-sec { padding: clamp(3.25rem, 6.5vw, 6rem) var(--vv-gutter); position: relative; }
.vv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.75rem, 3.2vw, 2.75rem); }
.vv-head--center { flex-direction: column; align-items: center; text-align: center; }
.vv-eyebrow {
  display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 1rem;
  font: 500 .68rem/1 var(--vv-sans); letter-spacing: .28em; text-transform: uppercase; color: var(--vv-gold-text);
}
.vv-eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.vv-head--center .vv-eyebrow::after { content: ''; width: 26px; height: 1px; background: currentColor; }
.vv-title {
  font: 400 clamp(2.1rem, 4.4vw, 3.6rem)/1.02 var(--vv-serif);
  letter-spacing: -.025em; color: var(--vv-ink); text-wrap: balance; margin: 0;
}
.vv-title em { font-style: italic; color: var(--vv-emerald); }
.vv-lede { font-size: 1rem; line-height: 1.75; color: var(--vv-cocoa); max-width: 56ch; }

/* ─── Product card ──────────────────────────────────────────── */
.vv-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 3vw, 2.8rem) clamp(.9rem, 1.6vw, 1.6rem);
}
@media (max-width: 1079px) { .vv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 759px) { .vv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem .8rem; } }

.vv-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.vv-card-frame { position: relative; overflow: hidden; border-radius: 2px; }
.vv-card-media {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
  background: #fff; border-radius: 2px;
}
.vv-card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .7s var(--vv-ease), transform 1.4s var(--vv-ease);
}
.vv-card-media .vv-card-alt { opacity: 0; }
.vv-card-tag {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  padding: .42rem .6rem .4rem; background: rgba(250, 248, 244, .94); color: var(--vv-ink);
  font: 600 .58rem/1 var(--vv-sans); letter-spacing: .18em; text-transform: uppercase;
}
.vv-card-tag.is-sale { background: var(--vv-sale); color: #fff; }
.vv-card-tag.is-best { background: var(--vv-emerald); color: #fff; }
.vv-card-tag.is-sold { background: var(--vv-ink); color: #fff; }
.vv-card-heart {
  position: absolute; top: .45rem; right: .45rem; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, .88); color: var(--vv-ink);
  transition: transform .25s var(--vv-ease), opacity .3s ease, background-color .2s;
}
.vv-card-heart svg { width: 18px; height: 18px; transition: fill .25s, stroke .25s, transform .35s var(--vv-ease); }
.vv-card-heart[aria-pressed="true"] svg { fill: var(--vv-sale); stroke: var(--vv-sale); }
.vv-card-heart.pop svg { animation: vv-pop .45s var(--vv-ease); }
@keyframes vv-pop { 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.vv-card-quick {
  position: absolute; left: .6rem; right: .6rem; bottom: .6rem; z-index: 3;
  min-height: 46px; border: 0; border-radius: var(--vv-r-sm); cursor: pointer;
  background: rgba(23, 19, 15, .9); color: #fff;
  font: 500 .66rem/1 var(--vv-sans); letter-spacing: .2em; text-transform: uppercase;
  transform: translateY(calc(100% + 1rem)); transition: transform .5s var(--vv-ease), background-color .25s;
}
.vv-card-quick:hover { background: var(--vv-emerald); }
.vv-card-plus {
  display: none; position: absolute; right: .5rem; bottom: .5rem; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--vv-ink); place-items: center;
  box-shadow: 0 4px 14px rgba(15, 12, 9, .12);
}
.vv-card-plus svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .vv-card-heart:not([aria-pressed="true"]) { opacity: 0; }
  .vv-card:hover .vv-card-heart, .vv-card:focus-within .vv-card-heart { opacity: 1; }
  .vv-card:hover .vv-card-media img { transform: scale(1.045); }
  .vv-card:hover .vv-card-media .vv-card-alt { opacity: 1; }
  .vv-card:hover .vv-card-quick, .vv-card:focus-within .vv-card-quick { transform: none; }
}
@media (hover: none), (pointer: coarse) {
  .vv-card-quick { display: none; }
  .vv-card-plus { display: grid; }
}
.vv-card-body { padding-top: .9rem; display: flex; flex-direction: column; gap: .4rem; }
.vv-card-name {
  font: 500 1.12rem/1.22 var(--vv-serif); color: var(--vv-ink); text-decoration: none; letter-spacing: -.005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vv-card-name:hover { color: var(--vv-emerald); }
.vv-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .55rem; font: 500 .92rem/1.2 var(--vv-sans); color: var(--vv-ink); }
.vv-card-price s { color: #968a7f; font-size: .8rem; font-weight: 400; }
.vv-card-price .off { color: var(--vv-sale); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.vv-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 14px; }
.vv-card-dots { display: flex; align-items: center; gap: .3rem; }
.vv-card-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--c, #ccc); box-shadow: inset 0 0 0 1px rgba(23, 19, 15, .14); }
.vv-card-dots span { font-size: .68rem; color: var(--vv-muted); margin-left: .1rem; }
.vv-card-low { font-size: .68rem; font-weight: 500; color: var(--vv-sale); letter-spacing: .02em; }
.vv-card.is-sold .vv-card-media img { filter: saturate(.55); opacity: .82; }
@media (max-width: 759px) {
  .vv-card-name { font-size: 1.02rem; }
  .vv-card-price { font-size: .86rem; }
  .vv-card-tag { top: .45rem; left: .45rem; font-size: .54rem; padding: .36rem .45rem; }
}
.vv-skel { aspect-ratio: 3 / 4; background: linear-gradient(100deg, var(--vv-paper-2) 30%, #fff 50%, var(--vv-paper-2) 70%) 0 0 / 300% 100%; animation: vv-shimmer 1.4s linear infinite; }
.vv-skel-line { height: 12px; margin-top: .9rem; width: 70%; background: var(--vv-paper-2); }
@keyframes vv-shimmer { to { background-position: -150% 0; } }

/* Horizontal rail */
.vv-rail-wrap { position: relative; }
.vv-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 1.4rem) / 4);
  gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: .25rem; scroll-behavior: smooth;
}
.vv-rail::-webkit-scrollbar { display: none; }
.vv-rail > * { scroll-snap-align: start; }
@media (max-width: 1079px) { .vv-rail { grid-auto-columns: calc((100% - 2 * 1.2rem) / 2.6); gap: 1.2rem; } }
@media (max-width: 759px) { .vv-rail { grid-auto-columns: 64%; gap: .9rem; } }
.vv-rail-nav { display: flex; gap: .5rem; }
.vv-round {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--vv-line-2); background: transparent;
  display: inline-grid; place-items: center; cursor: pointer; color: var(--vv-ink);
  transition: background-color .3s, color .3s, border-color .3s, opacity .3s;
}
.vv-round:hover:not(:disabled) { background: var(--vv-ink); color: #fff; border-color: var(--vv-ink); }
.vv-round:disabled { opacity: .35; cursor: default; }
.vv-round svg { width: 18px; height: 18px; }

/* ─── Quick view (built by store.js) ────────────────────────── */
.qv-overlay {
  position: fixed; inset: 0; z-index: 130; display: none; align-items: center; justify-content: center;
  padding: 1rem; background: rgba(15, 12, 9, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .3s ease;
}
.qv-overlay.open { display: flex; opacity: 1; }
.qv-modal {
  position: relative; width: min(980px, 100%); max-height: 90vh; overflow-y: auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: var(--vv-paper); border-radius: var(--vv-r); box-shadow: 0 40px 90px rgba(15, 12, 9, .3);
  animation: vv-rise .5s var(--vv-ease);
}
@keyframes vv-rise { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
.qv-img-col { display: flex; flex-direction: column; background: #fff; }
.qv-img-wrap { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #fff; }
.qv-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qv-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .9); color: var(--vv-ink); font-size: 1.4rem; line-height: 1;
  display: none; align-items: center; justify-content: center;
}
.qv-arrow-prev { left: .7rem; } .qv-arrow-next { right: .7rem; }
.qv-thumbs { display: flex; gap: .4rem; padding: .6rem; overflow-x: auto; background: var(--vv-paper); }
.qv-thumb { flex: none; width: 54px; aspect-ratio: 3 / 4; padding: 0; border: 1px solid transparent; background: #fff; cursor: pointer; opacity: .7; }
.qv-thumb.active { border-color: var(--vv-ink); opacity: 1; }
.qv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qv-body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.qv-tag { align-self: flex-start; font: 600 .6rem/1 var(--vv-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--vv-gold-text); margin-bottom: .8rem; }
.qv-name { font: 400 clamp(1.7rem, 3vw, 2.3rem)/1.08 var(--vv-serif); color: var(--vv-ink); letter-spacing: -.02em; margin-bottom: .7rem; }
.qv-material { font-size: .86rem; line-height: 1.65; color: var(--vv-cocoa); margin-bottom: 1rem; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.qv-price { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; font: 500 1.35rem/1 var(--vv-sans); color: var(--vv-ink); margin-bottom: .8rem; }
.qv-price-old { font-size: .95rem; color: #968a7f; text-decoration: line-through; font-weight: 400; }
.qv-savings { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--vv-sale); }
.qv-stock { display: inline-flex; align-items: center; gap: .45rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--vv-emerald); margin-bottom: 1.4rem; }
.qv-stock .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.qv-stock.out { color: var(--vv-sale); }
.qv-pick-group { margin-bottom: 1.2rem; }
.qv-pick-label { font: 500 .66rem/1 var(--vv-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--vv-cocoa); margin-bottom: .65rem; }
.qv-pick-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.qv-pick {
  min-height: 42px; min-width: 46px; padding: 0 .9rem; border: 1px solid var(--vv-line-2); background: #fff;
  border-radius: var(--vv-r-sm); cursor: pointer; font-size: .8rem; color: var(--vv-ink); transition: border-color .2s, background-color .2s, color .2s;
}
.qv-pick:hover:not(:disabled) { border-color: var(--vv-ink); }
.qv-pick.chosen { background: var(--vv-ink); border-color: var(--vv-ink); color: #fff; }
.qv-pick.sold-out { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.qv-pick .so { font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; margin-left: .25rem; }
.qv-swatch {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: 0 .85rem .0 .55rem;
  border: 1px solid var(--vv-line-2); background: #fff; border-radius: 21px; cursor: pointer; font-size: .76rem; color: var(--vv-ink);
}
.qv-swatch .dot { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(23, 19, 15, .15); }
.qv-swatch.chosen { border-color: var(--vv-ink); box-shadow: 0 0 0 1px var(--vv-ink); }
.qv-swatch.sold-out { opacity: .45; cursor: not-allowed; }
.qv-swatch.sold-out .name { text-decoration: line-through; }
.qv-actions { margin-top: auto; padding-top: .6rem; }
.qv-add-btn {
  width: 100%; min-height: 54px; border: 0; border-radius: var(--vv-r-sm); cursor: pointer;
  background: var(--vv-ink); color: #fff; font: 500 .74rem/1 var(--vv-sans); letter-spacing: .22em; text-transform: uppercase;
  transition: background-color .3s;
}
.qv-add-btn:hover:not(:disabled) { background: var(--vv-emerald); }
.qv-add-btn:disabled { background: var(--vv-line); color: var(--vv-muted); cursor: not-allowed; }
.qv-err { min-height: 1.2em; margin-top: .6rem; font-size: .8rem; color: var(--vv-sale); }
.qv-close {
  position: absolute; top: .8rem; right: .8rem; z-index: 5; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); cursor: pointer; font-size: 1rem; color: var(--vv-ink);
  box-shadow: 0 4px 14px rgba(15, 12, 9, .12); transition: transform .3s var(--vv-ease), background-color .2s, color .2s;
}
.qv-close:hover { transform: rotate(90deg); background: var(--vv-ink); color: #fff; }
@media (max-width: 759px) {
  .qv-overlay { padding: 0; align-items: flex-end; }
  .qv-modal { grid-template-columns: 1fr; max-height: 92vh; border-radius: 16px 16px 0 0; }
  .qv-img-wrap { aspect-ratio: 4 / 4; }
  .qv-body { padding: 1.25rem 1.25rem 1.5rem; }
}

/* ─── Footer ────────────────────────────────────────────────── */
.vv-footer {
  position: relative; background: var(--vv-emerald-deep); color: rgba(250, 248, 244, .78);
  padding: 0; margin: 0; border: 0; font-size: .86rem; text-align: left;
}
.vv-footer .vv-zari { position: absolute; top: 0; left: 0; }
.vv-footer-in {
  max-width: 1480px; margin: 0 auto; padding: clamp(3.5rem, 6vw, 5rem) var(--vv-gutter) 1.5rem;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem clamp(1.5rem, 4vw, 4rem);
}
.vv-footer-brand img { height: 64px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.vv-footer-brand p.lead { font: italic 400 1.45rem/1.25 var(--vv-serif); color: var(--vv-gold-soft); margin: 1.2rem 0 .7rem; }
.vv-footer-brand p { max-width: 36ch; line-height: 1.7; }
.vv-footer-brand .vv-social { margin-top: 1.4rem; color: var(--vv-paper); }
.vv-footer-brand .vv-social a:hover { background: var(--vv-paper); color: var(--vv-emerald-deep); }
.vv-footer h3 { font: 500 .66rem/1 var(--vv-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--vv-gold); margin: .4rem 0 1.25rem; }
.vv-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.vv-footer a { color: inherit; text-decoration: none; transition: color .2s; }
.vv-footer ul a:hover { color: #fff; }
.vv-footer .vv-play { display: inline-block; margin-top: 1.25rem; line-height: 0; }
.vv-footer .vv-play img { height: 44px; width: auto; filter: none; }
.vv-footer-bottom {
  max-width: 1480px; margin: 0 auto; padding: 1.25rem var(--vv-gutter) 1.6rem;
  border-top: 1px solid rgba(233, 201, 149, .18);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem;
  font-size: .74rem; letter-spacing: .04em; color: rgba(250, 248, 244, .62);
}
.vv-footer-bottom .pay { display: inline-flex; gap: .5rem; flex-wrap: wrap; }
.vv-footer-bottom .pay span { border: 1px solid rgba(233, 201, 149, .28); border-radius: 3px; padding: .25rem .5rem; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 1079px) { .vv-footer-in { grid-template-columns: 1fr 1fr; } .vv-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .vv-footer-in { grid-template-columns: 1fr; gap: 2rem; } }

/* ─── Photo ground: transparent padding takes the photo's own edge colour ── */
[data-ground] { background-color: #fff; transition: background-color .4s ease; }

/* ─── Motion ────────────────────────────────────────────────── */
.vv-pre { opacity: 0; transform: translateY(22px); }
.vv-pre.is-in {
  opacity: 1; transform: none;
  transition: opacity 1s var(--vv-ease), transform 1s var(--vv-ease), clip-path 1.3s var(--vv-ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.vv-pre.vv-curtain { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); }
.vv-pre.vv-curtain.is-in { clip-path: inset(0 0 0 0); }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vv-vt-out .22s ease both; }
::view-transition-new(root) { animation: vv-vt-in .38s var(--vv-ease) both; }
@keyframes vv-vt-out { to { opacity: 0; } }
@keyframes vv-vt-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .vv-pre, .vv-pre.vv-curtain { opacity: 1; transform: none; clip-path: none; }
  @view-transition { navigation: none; }
}
