/* progressive enhancement: reveal content visible without JS (crawlers/no-JS see full content; JS arms the scroll animation) */
html:not(.js) .reveal,html:not(.js) [class*="reveal"]{opacity:1!important;transform:none!important;filter:none!important}

/* ==========================================================================
   Vesta — Fashion E-commerce Template
   Custom design layer on Bootstrap 5. Vanilla, no jQuery.
   Identity: warm ink + deep oxblood accent over warm off-white.
   Display: Bodoni Moda (fashion serif) / UI+body: Manrope (grotesque sans)
   ========================================================================== */

:root {
  /* Palette */
  --ink: #1c1a17;          /* warm near-black */
  --ink-soft: #35302a;
  --wine: #7c2b3b;         /* deep oxblood accent */
  --wine-deep: #5e1f2c;
  --wine-tint: #f0e1e3;
  --paper: #f4efe6;        /* warm off-white */
  --paper-2: #efe8db;
  --sand: #e6dccb;         /* secondary warm */
  --line: #ddd2c0;
  --muted: #8a8075;
  --muted-2: #b6ab9c;
  --white: #fffdf9;
  --sale: #a8362b;

  /* Type */
  --f-display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 2px;
  --radius-lg: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px -30px rgba(28, 26, 23, 0.35);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--f-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1rem; }

::selection { background: var(--wine); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

.container-x {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Utility type */
.eyebrow {
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wine);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--wine);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--wine);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { content: ""; }

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin: 0.6rem 0 0;
}
.lede { color: var(--ink-soft); font-size: 1.05rem; max-width: 46ch; }
.text-wine { color: var(--wine) !important; }
.serif { font-family: var(--f-display); }

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* ---------- Buttons ---------- */
.btn-v {
  --bg: var(--ink);
  --fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.9rem;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  text-align: center;
}
.btn-v:hover { background: var(--wine); border-color: var(--wine); color: var(--white); transform: translateY(-2px); }
.btn-v.btn-wine { --bg: var(--wine); }
.btn-v.btn-wine:hover { background: var(--wine-deep); border-color: var(--wine-deep); }
.btn-v.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn-v.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-v.btn-light { --bg: var(--paper); --fg: var(--ink); border-color: var(--paper); }
.btn-v.btn-block { width: 100%; }
.btn-v.btn-lg { padding: 1.1rem 2.4rem; font-size: 0.92rem; }

.link-underline {
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
}
.link-underline:hover { color: var(--wine); border-color: var(--wine); }
.link-underline svg { transition: transform 0.3s var(--ease); }
.link-underline:hover svg { transform: translateX(4px); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem 1rem;
  font-weight: 600;
}
.announce strong { color: #e7b9bf; font-weight: 700; }

/* ---------- Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(244, 239, 230, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header.is-stuck {
  background: rgba(244, 239, 230, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(28,26,23,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 74px;
}
.brand {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.brand .dot { color: var(--wine); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 0.4rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--wine);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--wine); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.4rem; }
.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
  position: relative;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.icon-btn:hover { background: var(--sand); color: var(--wine); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-pill { position: relative; }
.cart-count {
  position: absolute;
  top: 5px; right: 4px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  background: var(--wine);
  color: var(--white);
  font-family: var(--f-sans);
  font-size: 0.66rem;
  font-weight: 700;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.cart-count.pop { animation: pop 0.4s var(--ease); }
@keyframes pop { 0%{transform:scale(1);} 40%{transform:scale(1.5);} 100%{transform:scale(1);} }
.nav-toggle { display: none; }

/* Search dropdown */
.search-panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 2rem 0;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
}
.search-panel.open { transform: translateY(0); opacity: 1; visibility: visible; }
.search-form { display: flex; align-items: center; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: 0.8rem; }
.search-form input {
  flex: 1; border: none; background: transparent;
  font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--ink);
}
.search-form input:focus { outline: none; }
.search-form input::placeholder { color: var(--muted-2); }
.search-suggest { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.search-suggest span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); align-self: center; }
.search-suggest a { font-size: 0.82rem; padding: 0.35rem 0.9rem; border: 1px solid var(--line); border-radius: 20px; }
.search-suggest a:hover { border-color: var(--wine); color: var(--wine); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(84vw, 360px);
  background: var(--paper);
  z-index: 1080;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav ul li { border-bottom: 1px solid var(--line); }
.mobile-nav ul a {
  display: block;
  font-family: var(--f-display);
  font-size: 1.5rem;
  padding: 1rem 0;
}
.mobile-nav ul a:hover { color: var(--wine); padding-left: 0.5rem; }
.mobile-nav-foot { margin-top: auto; padding-top: 2rem; font-size: 0.82rem; color: var(--muted); }
.scrim {
  position: fixed; inset: 0;
  background: rgba(28,26,23,0.5);
  z-index: 1070;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  backdrop-filter: blur(2px);
}
.scrim.open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--paper-2);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  min-height: min(84vh, 760px);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem) var(--gutter);
  padding-right: clamp(2rem, 5vw, 4rem);
}
.hero-copy .season { margin-bottom: 1.5rem; }
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.98;
  margin-bottom: 1.4rem;
}
.hero-title em { font-style: italic; color: var(--wine); }
.hero-copy p { font-size: 1.1rem; color: var(--ink-soft); max-width: 42ch; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  background: rgba(244,239,230,0.94);
  backdrop-filter: blur(6px);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  max-width: 240px;
}
.hero-tag .p-name { font-family: var(--f-sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-tag .p-price { color: var(--wine); font-weight: 700; font-size: 0.9rem; margin-top: 2px; }
.hero-marquee {
  display: flex; gap: 3rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  background: var(--paper);
}
.hero-marquee .track { display: inline-flex; gap: 3rem; align-items: center; animation: marquee 26s linear infinite; }
.hero-marquee span { font-family: var(--f-display); font-size: 1.1rem; font-style: italic; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 3rem; }
.hero-marquee span::after { content: "✦"; color: var(--wine); font-style: normal; font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.cat-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  background: var(--sand);
}
.cat-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,26,23,0.62), rgba(28,26,23,0) 55%);
}
.cat-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.4rem;
  color: var(--white);
  display: flex; align-items: flex-end; justify-content: space-between;
}
.cat-label h3 { color: var(--white); font-size: 1.5rem; }
.cat-label .count { font-family: var(--f-sans); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.cat-tile .go {
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.cat-tile:hover .go { transform: translateY(0); opacity: 1; }

/* ---------- Section head ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Product filter tabs ---------- */
.filter-bar {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--f-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1.4rem; }
.product-card {
  position: relative;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.product-card.hide { display: none; }
.pc-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  background: var(--sand);
  margin-bottom: 0.9rem;
}
.pc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease);
}
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-badges { position: absolute; top: 0.8rem; left: 0.8rem; z-index: 3; display: flex; flex-direction: column; gap: 0.35rem; }
.badge-v {
  font-family: var(--f-sans);
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.32rem 0.55rem;
  border-radius: 2px;
  color: var(--white);
  background: var(--ink);
  line-height: 1;
}
.badge-v.sale { background: var(--sale); }
.badge-v.new { background: var(--wine); }
.badge-v.soft { background: var(--paper); color: var(--ink); }
.pc-wish {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 3;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(244,239,230,0.9);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.3s var(--ease);
}
.product-card:hover .pc-wish { opacity: 1; transform: translateY(0); }
.pc-wish:hover { background: var(--white); color: var(--wine); }
.pc-wish svg { width: 18px; height: 18px; }
.pc-wish.active { color: var(--wine); }
.pc-wish.active svg { fill: var(--wine); }
.pc-add {
  position: absolute;
  left: 0.8rem; right: 0.8rem; bottom: 0.8rem;
  z-index: 3;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
}
.product-card:hover .pc-add, .product-card:focus-within .pc-add { opacity: 1; transform: translateY(0); }
.pc-info { display: flex; flex-direction: column; gap: 0.15rem; }
.pc-cat { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pc-name { font-family: var(--f-display); font-size: 1.12rem; font-weight: 600; }
.pc-name a:hover { color: var(--wine); }
.pc-price { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.1rem; }
.pc-price .now { font-family: var(--f-sans); font-weight: 700; font-size: 0.98rem; }
.pc-price .was { color: var(--muted); text-decoration: line-through; font-size: 0.85rem; }
.pc-price .now.on-sale { color: var(--sale); }
.pc-swatches { display: flex; gap: 0.3rem; margin-top: 0.4rem; }
.pc-swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.12); }
.pc-swatch.more { border: none; font-size: 0.62rem; color: var(--muted); width: auto; }

/* ---------- New arrivals scroll snap ---------- */
.snap-row {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.2rem;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.snap-row::-webkit-scrollbar { height: 6px; }
.snap-row::-webkit-scrollbar-track { background: transparent; }
.snap-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 20px; }
.snap-item {
  flex: 0 0 clamp(220px, 26vw, 300px);
  scroll-snap-align: start;
}
.snap-nav { display: flex; gap: 0.5rem; }
.snap-nav button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.snap-nav button:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Lookbook ---------- */
.lookbook { background: var(--ink); color: var(--paper); }
.lookbook h2, .lookbook h3 { color: var(--paper); }
.lookbook .eyebrow { color: #e7b9bf; }
.lookbook .eyebrow::before, .lookbook .eyebrow.center::after { background: #e7b9bf; }
.look-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.look-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; }
.look-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.look-card:hover img { transform: scale(1.05); }
.look-card .look-body {
  position: absolute; inset: auto 0 0 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(28,26,23,0.8), transparent);
  color: var(--white);
}
.look-card .look-body h3 { color: var(--white); font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 0.4rem; }
.look-card .look-body p { color: rgba(255,253,249,0.82); margin-bottom: 1rem; font-size: 0.95rem; max-width: 34ch; }

/* ---------- Countdown promo strip ---------- */
.promo-strip { background: var(--wine); color: var(--white); }
.promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.promo-inner h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.promo-inner p { color: rgba(255,253,249,0.85); margin: 0.4rem 0 0; }
.countdown { display: flex; gap: 0.8rem; }
.cd-unit {
  background: rgba(255,253,249,0.12);
  border: 1px solid rgba(255,253,249,0.25);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  min-width: 74px;
  text-align: center;
}
.cd-unit .num { font-family: var(--f-display); font-size: 2rem; line-height: 1; color: var(--white); display: block; font-variant-numeric: tabular-nums; }
.cd-unit .lab { font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; margin-top: 0.4rem; display: block; }

/* ---------- Brand values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value-card {
  padding: 2.4rem 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--wine-tint);
  color: var(--wine);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.value-icon svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* ---------- Stats / counters ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat .num { font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--wine); }
.stat .lab { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 0.5rem; }

/* ---------- Testimonials ---------- */
.testi { position: relative; }
.testi-track { position: relative; min-height: 220px; }
.testi-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
  text-align: center;
  max-width: 760px; margin-inline: auto;
}
.testi-slide.active { opacity: 1; visibility: visible; transform: translateY(0); position: relative; }
.testi-quote { font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.32; margin-bottom: 1.4rem; }
.testi-quote::before { content: "“"; color: var(--wine); }
.testi-quote::after { content: "”"; color: var(--wine); }
.testi-who { display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
.testi-who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-who .n { font-weight: 700; font-size: 0.9rem; }
.testi-who .r { font-size: 0.78rem; color: var(--muted); }
.testi-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; transition: all 0.25s var(--ease); padding: 0; }
.testi-dots button.active { background: var(--wine); width: 26px; border-radius: 20px; }
.stars { color: var(--wine); letter-spacing: 2px; margin-bottom: 1rem; font-size: 0.9rem; }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; background: var(--paper-2); overflow: hidden; }
.nl-inner { max-width: 620px; margin-inline: auto; text-align: center; }
.nl-form { display: flex; gap: 0.6rem; margin-top: 1.8rem; }
.nl-form input {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-family: var(--f-sans);
  font-size: 0.95rem;
  color: var(--ink);
}
.nl-form input:focus { outline: none; border-color: var(--wine); }
.nl-note { font-size: 0.78rem; color: var(--muted); margin-top: 1rem; }
.nl-ok { color: var(--wine); font-weight: 600; margin-top: 1rem; display: none; }
.nl-ok.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper-2); padding-top: clamp(3.5rem, 7vw, 6rem); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,253,249,0.12); }
.site-footer .brand { color: var(--paper); font-size: 2rem; }
.footer-about { color: rgba(244,239,230,0.7); max-width: 34ch; margin: 1.2rem 0 1.6rem; font-size: 0.95rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,253,249,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.footer-social a:hover { background: var(--wine); border-color: var(--wine); color: var(--white); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--f-sans); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); margin-bottom: 1.2rem; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: rgba(244,239,230,0.7); font-size: 0.92rem; }
.footer-col a:hover { color: var(--paper); padding-left: 4px; }
.footer-contact li { display: flex; gap: 0.6rem; color: rgba(244,239,230,0.7); font-size: 0.92rem; margin-bottom: 0.7rem; }
.footer-contact svg { width: 17px; flex: none; color: #e7b9bf; margin-top: 3px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 1.8rem 0;
  font-size: 0.82rem; color: rgba(244,239,230,0.6);
}
.footer-pay { display: flex; gap: 0.5rem; align-items: center; }
.footer-pay span { padding: 0.3rem 0.6rem; border: 1px solid rgba(255,253,249,0.18); border-radius: 3px; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ==========================================================================
   Cart Drawer
   ========================================================================== */
.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(92vw, 430px);
  background: var(--paper);
  z-index: 1090;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -30px 0 80px -40px rgba(28,26,23,0.5);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { font-size: 1.4rem; display: flex; align-items: baseline; gap: 0.5rem; }
.cart-head .qty-note { font-family: var(--f-sans); font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.cart-free {
  padding: 0.9rem 1.5rem;
  background: var(--wine-tint);
  font-size: 0.82rem;
  color: var(--wine-deep);
  text-align: center;
}
.cart-free strong { font-weight: 700; }
.cart-progress { height: 4px; background: var(--sand); border-radius: 20px; margin-top: 0.6rem; overflow: hidden; }
.cart-progress span { display: block; height: 100%; background: var(--wine); width: 0; transition: width 0.5s var(--ease); }
.cart-items { flex: 1; overflow-y: auto; padding: 0.5rem 1.5rem; }
.cart-empty { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.cart-empty svg { width: 48px; height: 48px; margin-bottom: 1rem; color: var(--muted-2); }
.cart-line {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-line img { width: 74px; height: 94px; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.cl-name { font-family: var(--f-display); font-size: 1rem; font-weight: 600; line-height: 1.2; }
.cl-meta { font-size: 0.76rem; color: var(--muted); margin: 0.2rem 0 0.6rem; }
.cl-price { font-weight: 700; font-size: 0.9rem; }
.cl-remove { background: none; border: none; color: var(--muted); font-size: 0.74rem; text-decoration: underline; cursor: pointer; padding: 0; margin-top: 0.5rem; }
.cl-remove:hover { color: var(--sale); }
.cl-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; }
.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 30px;
  overflow: hidden;
}
.qty-stepper button {
  width: 30px; height: 30px; border: none; background: transparent;
  cursor: pointer; color: var(--ink); font-size: 1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease);
}
.qty-stepper button:hover { background: var(--sand); color: var(--wine); }
.qty-stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.qty-stepper .q { min-width: 30px; text-align: center; font-weight: 700; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.cart-foot { border-top: 1px solid var(--line); padding: 1.4rem 1.5rem 1.6rem; }
.cart-sub { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.3rem; }
.cart-sub .l { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cart-sub .v { font-family: var(--f-display); font-size: 1.6rem; }
.cart-ship-note { font-size: 0.78rem; color: var(--muted); margin-bottom: 1rem; }
.cart-foot .btn-v { margin-top: 0.3rem; }
.cart-continue { text-align: center; margin-top: 0.8rem; }
.cart-continue button { background: none; border: none; color: var(--ink); font-size: 0.82rem; text-decoration: underline; cursor: pointer; }

/* ==========================================================================
   Product Detail Page
   ========================================================================== */
.breadcrumb-v { padding: 1.4rem 0; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }
.breadcrumb-v a:hover { color: var(--wine); }
.breadcrumb-v .sep { margin: 0 0.5rem; }
.breadcrumb-v .cur { color: var(--ink); }

.pdp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.pdp-gallery { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; position: sticky; top: 96px; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 0.7rem; }
.pdp-thumb {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  background: var(--sand);
  padding: 0;
  transition: border-color 0.25s var(--ease);
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.active { border-color: var(--ink); }
.pdp-thumb:hover { border-color: var(--wine); }
.pdp-main-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--sand);
  cursor: zoom-in;
}
.pdp-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pdp-main-img .zoom-hint {
  position: absolute; bottom: 1rem; right: 1rem;
  background: rgba(244,239,230,0.9);
  border-radius: 30px; padding: 0.4rem 0.9rem;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  display: flex; align-items: center; gap: 0.4rem;
}
.pdp-badges { position: absolute; top: 1rem; left: 1rem; z-index: 3; display: flex; gap: 0.4rem; }

.pdp-info .pdp-cat { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wine); font-weight: 700; }
.pdp-title { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0.6rem 0 0.8rem; }
.pdp-rating { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.2rem; font-size: 0.85rem; color: var(--muted); }
.pdp-rating .stars { margin: 0; }
.pdp-price { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 1.4rem; }
.pdp-price .now { font-family: var(--f-display); font-size: 2rem; }
.pdp-price .now.sale { color: var(--sale); }
.pdp-price .was { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.pdp-price .save { background: var(--wine-tint); color: var(--wine-deep); font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 3px; letter-spacing: 0.06em; }
.pdp-desc { color: var(--ink-soft); margin-bottom: 1.8rem; }

.opt-block { margin-bottom: 1.6rem; }
.opt-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.7rem; }
.opt-head .lab { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.opt-head .val { font-size: 0.85rem; color: var(--ink-soft); }
.opt-head a { font-size: 0.78rem; color: var(--wine); text-decoration: underline; }

.swatches { display: flex; gap: 0.6rem; }
.swatch {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line);
  cursor: pointer; position: relative;
  padding: 0;
  transition: transform 0.2s var(--ease);
}
.swatch::after {
  content: ""; position: absolute; inset: -4px;
  border: 1.5px solid transparent; border-radius: 50%;
  transition: border-color 0.2s var(--ease);
}
.swatch:hover { transform: scale(1.06); }
.swatch.active::after { border-color: var(--ink); }

.sizes { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.size-btn {
  min-width: 52px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  font-family: var(--f-sans);
  font-weight: 600; font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
}
.size-btn:hover:not(:disabled) { border-color: var(--ink); }
.size-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.size-btn:disabled {
  color: var(--muted-2);
  cursor: not-allowed;
  background: var(--paper-2);
  overflow: hidden;
}
.size-btn:disabled::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top left, transparent calc(50% - 0.5px), var(--muted-2), transparent calc(50% + 0.5px));
}

.pdp-actions { display: flex; gap: 0.7rem; align-items: stretch; margin: 1.8rem 0 1.2rem; }
.pdp-actions .qty-stepper { border-radius: var(--radius); }
.pdp-actions .qty-stepper button { width: 46px; height: 100%; }
.pdp-actions .qty-stepper .q { min-width: 40px; }
.pdp-actions .btn-v { flex: 1; }
.wish-big {
  width: 54px; flex: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.wish-big:hover { border-color: var(--wine); color: var(--wine); }
.wish-big.active { color: var(--wine); background: var(--wine-tint); border-color: var(--wine); }
.wish-big.active svg { fill: var(--wine); }

.pdp-meta { border-top: 1px solid var(--line); padding-top: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; }
.pdp-meta div { display: flex; align-items: center; gap: 0.7rem; font-size: 0.88rem; color: var(--ink-soft); }
.pdp-meta svg { width: 19px; color: var(--wine); flex: none; }

.stock-line { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; margin-bottom: 1.4rem; }
.stock-dot { width: 9px; height: 9px; border-radius: 50%; background: #4a8f5f; box-shadow: 0 0 0 3px rgba(74,143,95,0.18); }
.stock-line strong { color: var(--ink); }

/* Tabs */
.pdp-tabs { margin-top: clamp(3rem, 6vw, 5rem); }
.tab-nav { display: flex; gap: 0.5rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab-btn {
  font-family: var(--f-sans);
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 1rem 1.4rem;
  background: none; border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--ink); border-bottom-color: var(--wine); }
.tab-panel { display: none; padding: 2.4rem 0; }
.tab-panel.active { display: block; animation: fadeUp 0.4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.tab-panel .prose { max-width: 68ch; color: var(--ink-soft); }
.tab-panel .prose h3 { color: var(--ink); margin: 1.5rem 0 0.6rem; font-size: 1.3rem; }
.tab-panel ul.feat { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem 2rem; margin-top: 1rem; }
.tab-panel ul.feat li { display: flex; gap: 0.6rem; color: var(--ink-soft); font-size: 0.94rem; }
.tab-panel ul.feat svg { width: 18px; color: var(--wine); flex: none; margin-top: 3px; }

.size-table { width: 100%; border-collapse: collapse; max-width: 560px; }
.size-table th, .size-table td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.size-table th { font-family: var(--f-sans); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.size-table tbody tr:hover { background: var(--paper-2); }

/* Reviews */
.reviews-summary { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; margin-bottom: 2.5rem; align-items: center; }
.rev-score { text-align: center; }
.rev-score .big { font-family: var(--f-display); font-size: 4rem; line-height: 1; }
.rev-score .stars { justify-content: center; font-size: 1.1rem; margin: 0.5rem 0; }
.rev-score .cnt { font-size: 0.82rem; color: var(--muted); }
.rev-bars { display: flex; flex-direction: column; gap: 0.5rem; }
.rev-bar { display: flex; align-items: center; gap: 0.8rem; font-size: 0.82rem; }
.rev-bar .lab { width: 42px; color: var(--muted); }
.rev-bar .track { flex: 1; height: 7px; background: var(--sand); border-radius: 20px; overflow: hidden; }
.rev-bar .track span { display: block; height: 100%; background: var(--wine); border-radius: 20px; }
.rev-bar .pct { width: 38px; text-align: right; color: var(--muted); }
.review { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.review-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }
.review-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-head .n { font-weight: 700; font-size: 0.92rem; }
.review-head .v { font-size: 0.72rem; color: #4a8f5f; font-weight: 600; }
.review-head .d { font-size: 0.78rem; color: var(--muted); margin-left: auto; }
.review .stars { font-size: 0.82rem; margin-bottom: 0.5rem; }
.review h4 { font-family: var(--f-sans); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.review p { color: var(--ink-soft); margin: 0; font-size: 0.94rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(28,26,23,0.92);
  z-index: 1100;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(244,239,230,0.15); border: none; color: var(--white);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: var(--wine); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translate(-50%, 120%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  z-index: 1120;
  display: flex; align-items: center; gap: 0.7rem;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease);
  max-width: 90vw;
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 20px; color: #7fd39a; flex: none; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem; top: -60px;
  background: var(--ink); color: var(--white);
  padding: 0.7rem 1.2rem; border-radius: var(--radius);
  z-index: 1200; font-size: 0.85rem; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.body-lock { overflow: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .product-grid, .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: 52vh; order: -1; }
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .reviews-summary { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 760px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1rem; }
  .values-grid, .stats-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .look-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; }
  .promo-inner { flex-direction: column; align-items: flex-start; }
  .nl-form { flex-direction: column; }
  .tab-panel ul.feat { grid-template-columns: 1fr; }
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .pdp-thumb { flex: 0 0 68px; }
  .footer-top { grid-template-columns: 1fr; }
  .cd-unit { min-width: 62px; padding: 0.7rem 0.7rem; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .pdp-actions { flex-wrap: wrap; }
  .pdp-actions .btn-v { flex: 1 0 100%; order: 3; }
}
