/* shopveto.com — mobile first */

:root {
  --red: #b21c24;
  --red-dark: #8f141b;
  --ink: #181614;
  --ink-soft: #4a4540;
  --cream: #f4efe6;
  --paper: #fbf8f3;
  --line: #ddd5c8;
  --serif: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --gutter: 16px;
  --sticky-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.muted { color: var(--ink-soft); }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 17px/1.2 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--cream); color: var(--red); }
.btn-light:hover { background: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-lg { width: 100%; min-height: 56px; font-size: 19px; }
.btn-xl { width: 100%; max-width: 420px; min-height: 60px; font-size: 21px; }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 15px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 248, 243, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.wordmark {
  font-family: var(--serif); font-weight: 700; font-size: 24px;
  letter-spacing: .06em; text-decoration: none; color: var(--red);
}
.header-link {
  font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 10px 4px; border-bottom: 2px solid var(--ink);
  line-height: 1;
}

/* ---------- Hero ---------- */

.hero { background: var(--cream); padding: 0 0 32px; }
.hero-inner { display: grid; gap: 20px; padding: 0; }
.hero-media { margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-copy { padding: 0 var(--gutter); }
.hero-title { font-size: clamp(56px, 18vw, 112px); color: var(--red); letter-spacing: .02em; }
.hero-sub { font-size: 20px; line-height: 1.35; margin: 10px 0 14px; max-width: 26ch; }
.hero-price { font-weight: 600; color: var(--ink-soft); margin-bottom: 18px; }
.hero-price .price-strong { color: var(--ink); }
.hero-note { font-size: 14px; color: var(--ink-soft); text-align: center; margin: 10px 0 0; }

/* ---------- Sections ---------- */

.section { padding: 56px 0; }
.section-title { font-size: clamp(28px, 7vw, 40px); margin-bottom: 20px; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 8px;
}
.price { font-size: 22px; font-weight: 700; }

/* ---------- Gallery ---------- */

.gallery-track {
  display: flex; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  scroll-padding: 0 var(--gutter);
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 86%; margin: 0; scroll-snap-align: start;
}
.gallery-slide img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.gallery-slide figcaption { font-size: 14px; color: var(--ink-soft); padding-top: 8px; }
.gallery-dots { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.gallery-dots button {
  width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.gallery-dots button::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line);
  transition: background-color .2s;
}
.gallery-dots button[aria-current="true"]::before { background: var(--red); }

/* ---------- Benefits ---------- */

.benefits { background: var(--ink); color: var(--cream); }
.benefits .section-title { color: #fff; }
.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.benefit { display: flex; align-items: center; gap: 16px; }
.benefit p { margin: 0; font-size: 18px; }
.benefit-icon {
  flex: 0 0 48px; width: 48px; height: 48px; padding: 11px;
  border-radius: 50%; background: var(--red);
  fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Cap ---------- */

.cap-inner { display: grid; gap: 24px; }
.cap-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.cap-copy .btn { width: 100%; }

/* ---------- Sizing ---------- */

.sizing { background: var(--cream); }
.table-scroll { overflow-x: auto; margin: 0 0 20px; }
.size-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.size-table th, .size-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table thead th { background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.size-table tbody tr:last-child > * { border-bottom: 0; }
.size-table tbody th { font-weight: 700; }
.shipping-line { font-weight: 600; margin: 0; }

/* ---------- FAQ ---------- */

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto; font-size: 26px; font-weight: 400; line-height: 1; color: var(--red);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; margin: 0; color: var(--ink-soft); }

/* ---------- Final CTA ---------- */

.final-cta { background: var(--red); color: #fff; text-align: center; padding: 64px 0; }
.final-title { font-size: clamp(30px, 8vw, 52px); margin: 0 auto 14px; max-width: 16ch; }
.final-price { font-weight: 600; opacity: .9; margin-bottom: 24px; }

/* ---------- Footer ---------- */

.site-footer { padding: 32px 0 calc(32px + var(--sticky-h)); font-size: 14px; text-align: center; }
.footer-inner p { margin: 0 0 10px; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.footer-inner nav a { padding: 6px 0; }

/* ---------- Sticky buy bar (mobile) ---------- */

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 243, .96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-buy .btn { width: 100%; min-height: 52px; }
.sticky-buy.is-visible { transform: none; }
.has-banner .sticky-buy { visibility: hidden; }
body:has(.sticky-buy) { --sticky-h: 76px; }

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  padding: 16px; font-size: 15px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 12px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; }

/* ---------- Legal pages ---------- */

.legal { padding: 40px 0 64px; }
.legal h1 { font-size: clamp(32px, 8vw, 44px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 20px; }
.legal .updated { font-size: 14px; }

/* ---------- Tablet / desktop ---------- */

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .sticky-buy { display: none; }
  body:has(.sticky-buy) { --sticky-h: 0px; }

  .hero { padding: 48px 0; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; padding: 0 var(--gutter); }
  .hero-media { margin: 0; }
  .hero-media img { border-radius: var(--radius); }
  .hero-copy { padding: 0; }
  .hero-sub { font-size: 24px; }
  .btn-lg { width: auto; min-width: 280px; }
  .hero-note { text-align: left; }

  .section { padding: 88px 0; }

  .gallery-track {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
    overflow: visible; margin: 0; padding: 0;
  }
  .gallery-dots { display: none; }

  .benefit-list { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .benefit { flex-direction: column; align-items: flex-start; }

  .cap-inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .cap-copy .btn { width: auto; min-width: 240px; }

  .size-table { max-width: 640px; }

  .cookie-banner {
    left: auto; right: 24px; bottom: 24px; max-width: 420px;
  }
}

@media (min-width: 1024px) {
  .gallery-track { grid-template-columns: repeat(4, 1fr); }
}
