/* =========================================================
   VINEA — American wine storefront template
   Palette: paper #FBF8F3 · mist #F2ECE2 · ink #221410
            muted #7C6A5B · line #E5D9C9 · wine #7B2E36
   Type: Inter (400/500/600/700) body · Georgia display headings
   ========================================================= */

:root {
  --paper: #fbf8f3;
  --mist: #f2ece2;
  --mist-deep: #e9e0d1;
  --ink: #221410;
  --ink-soft: #3a2a22;
  --muted: #7c6a5b;
  --line: #e5d9c9;
  --wine: #7b2e36;
  --wine-dark: #5e2229;
  --star: #221410;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 96px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  line-height: 1.2;
}
.announce[hidden] { display: none; }
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px var(--gutter);
  text-align: center;
  position: relative;
}
.announce__icon { flex: none; opacity: 0.9; }
.announce a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.announce__close {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--paper);
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  opacity: 0.85;
}
.announce__close:hover { opacity: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  gap: 16px;
}

.nav-main ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.nav-main a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 0;
  position: relative;
}
.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-main a:hover::after,
.nav-main a[aria-current="page"]::after { transform: scaleX(1); }

.logo {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  line-height: 1;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}
.icon-btn:hover { background: var(--mist); }
.icon-btn__badge {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 1.6px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--wine); color: var(--paper); }
.btn--solid:hover { background: var(--wine-dark); border-color: var(--wine-dark); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--mist); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--mist); }
.btn--block { width: 100%; }
.btn--lg { min-height: 54px; padding: 0 32px; font-size: 15px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.link-arrow svg { transition: transform 0.18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: clamp(500px, 54vw, 590px);
  background: linear-gradient(180deg, #f7f1e7 0%, #efe5d4 100%);
  overflow: hidden;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 17px;
  padding: clamp(30px, 4.5vw, 56px) var(--gutter);
  max-width: 700px;
  margin-left: max(0px, calc((100vw - var(--container)) / 2));
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow--wine { color: var(--wine); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 11ch;
}
.hero__lead {
  font-size: clamp(16px, 1.55vw, 19px);
  color: var(--muted);
  max-width: 43ch;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 6px;
}
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.feature-pill svg { flex: none; opacity: 0.85; }

.hero__media {
  position: relative;
  min-height: 320px;
  min-width: 0;
  background: var(--mist);
}
.hero__media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

/* ---------- Category strip ---------- */
.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(36px, 5vw, 56px) 0; }
.section--mist { background: var(--mist); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cat-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8px;
  align-items: center;
  background: var(--mist);
  border-radius: var(--radius);
  padding: 22px 18px;
  min-height: 168px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cat-card:hover { background: var(--mist-deep); transform: translateY(-2px); }
.cat-card__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.cat-card__desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 14px;
}
.cat-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}
.cat-card__media img {
  width: 100%;
  height: 100%;
  max-height: 132px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* ---------- Section heads ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(22px, 3vw, 32px);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.7vw, 2.15rem);
  letter-spacing: -0.015em;
  font-weight: 700;
}
.section-head p { color: var(--muted); margin-top: 6px; max-width: 52ch; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.wish-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  z-index: 2;
}
.wish-btn[aria-pressed="true"] svg { fill: var(--ink); }
.wish-btn:hover { background: var(--paper); }

.product-card__info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.product-card__name {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  height: 2.7em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.product-card__region {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.product-card__price {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
  margin-top: auto;
}
.product-card__stock {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.product-card__add {
  width: 100%;
  min-height: 42px;
  margin-top: 2px;
}
.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.rating__stars {
  display: inline-flex;
  gap: 1px;
  color: var(--star);
}

/* ---------- Trust bar ---------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px clamp(16px, 2.5vw, 32px);
}
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item__icon {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--ink);
}
.trust-item h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.trust-item p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- Story split ---------- */
.story {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.story__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--mist);
}
.story__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.story__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.story__copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
  white-space: pre-line;
}
.story__copy p {
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.7;
  font-size: 15px;
}

/* ---------- Press ---------- */
.press {
  display: grid;
  grid-template-columns: auto 1fr minmax(220px, 320px);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--mist);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 36px) clamp(20px, 3vw, 40px);
}
.press__label {
  font-size: 13px;
  color: var(--muted);
  max-width: 12ch;
  line-height: 1.4;
}
.press__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 18px 28px;
  color: var(--ink);
  opacity: 0.88;
}
.press-logo {
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.press-logo--serif { font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: 0.01em; }
.press-logo--wide { letter-spacing: 0.18em; font-size: clamp(13px, 1.35vw, 17px); }
.press-logo--condensed { letter-spacing: -0.02em; font-weight: 800; }

.press__quote {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.press__quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Instagram ---------- */
.ig-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.ig-head h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
  font-weight: 600;
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.ig-grid a {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--mist);
}
.ig-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.ig-grid a:hover img { transform: scale(1.06); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  margin-top: var(--section-y);
  padding: clamp(48px, 7vw, 72px) 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.85fr) 1.1fr;
  gap: clamp(24px, 3vw, 40px);
}
.footer-col h3 {
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  padding: 5px 0;
}
.footer-col a:hover { color: var(--paper); }
.footer-brand .logo {
  color: var(--paper);
  font-size: 20px;
  margin-bottom: 10px;
  display: inline-block;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
  max-width: 28ch;
}
.footer-note {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.newsletter p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 32ch;
  margin-bottom: 16px;
  line-height: 1.55;
}
.newsletter-form {
  display: flex;
  align-items: stretch;
  background: var(--paper);
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-width: 320px;
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 12px 14px;
  font-size: 13.5px;
  background: transparent;
}
.newsletter-form input:focus { outline: none; }
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form button {
  width: 48px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.newsletter-form button:hover { background: var(--mist); }

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
}
.social-row a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.35);
}

.footer-bottom {
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--mist);
  padding: clamp(40px, 6vw, 64px) 0;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 10px;
}
.page-hero p {
  color: var(--muted);
  max-width: 56ch;
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
  justify-content: center;
}
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Product detail ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 48px);
}
.pdp__gallery {
  position: relative;
  background: var(--mist);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.pdp__gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pdp__wish { top: 14px; left: 14px; }
.pdp__info { display: flex; flex-direction: column; gap: 18px; }
.pdp__info h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 700;
}
.pdp__price { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; }
.pdp__availability { color: var(--muted); font-size: 13px; }
.pdp__desc { color: var(--muted); line-height: 1.7; }

.option-groups { display: flex; flex-direction: column; gap: 18px; }
.option-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.option-label span {
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
}
.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.option-chip {
  min-height: 44px;
  min-width: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.option-chip:hover { border-color: var(--ink); }
.option-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.option-hint {
  display: none;
  margin-top: 8px;
  font-size: 12.5px;
  color: #b42318;
  font-weight: 500;
}
.option-hint.is-visible { display: block; }

.pdp__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 44px;
}
.qty button {
  width: 42px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.qty input {
  width: 48px;
  border: 0;
  text-align: center;
  font-weight: 600;
  background: transparent;
}
.qty input:focus { outline: none; }

.specs {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.specs summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 14px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.specs summary::-webkit-details-marker { display: none; }
.specs[open] summary { border-bottom: 1px solid var(--line); }
.specs table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.specs td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.specs td:first-child {
  color: var(--muted);
  width: 38%;
  padding-right: 16px;
}

/* ---------- Cart page ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-item__media {
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
}
.cart-item__media img { width: 100%; height: 100%; object-fit: contain; }
.cart-item__info h3 { font-size: 15px; letter-spacing: -0.01em; margin-bottom: 4px; }
.cart-item__opts { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.cart-item__price { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.cart-item__side { text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.cart-item__line { font-size: 15px; font-weight: 700; }
.cart-item__remove {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-item__remove:hover { color: var(--ink); }

.cart-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.cart-summary h2 { font-size: 17px; letter-spacing: -0.02em; margin-bottom: 16px; }
.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
}
.cart-row--total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 14px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}
.cart-summary .btn { margin-top: 16px; }
.cart-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.cart-empty {
  text-align: center;
  padding: 64px 20px;
  background: var(--mist);
  border-radius: var(--radius);
}
.cart-empty h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.cart-empty p { color: var(--muted); margin-bottom: 18px; }

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.checkout-items {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}
.checkout-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.checkout-item img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: var(--mist);
  border-radius: var(--radius-sm);
}
.checkout-item div { display: grid; gap: 3px; }
.checkout-item strong { font-size: 12.5px; line-height: 1.35; }
.checkout-item span,
.checkout-item small { font-size: 11.5px; color: var(--muted); }

@media (max-width: 900px) {
  .cart-layout,
  .checkout-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-item { grid-template-columns: 80px minmax(0, 1fr); }
  .cart-item__side {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
}

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(17, 17, 17, 0.45);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 20px 40px;
}
.search-overlay.is-open { display: flex; }
.search-panel {
  width: min(640px, 100%);
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
}
.search-panel__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.search-panel__bar svg { flex: none; color: var(--muted); }
.search-panel__bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  font-size: 17px;
  padding: 8px 0;
  background: transparent;
}
.search-panel__bar input:focus { outline: none; }
.search-panel__close {
  border: 0;
  background: var(--mist);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-panel__close:hover { background: var(--mist-deep); }

.search-results {
  max-height: min(52vh, 480px);
  overflow: auto;
  padding: 8px;
}
.search-results a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}
.search-results a:hover,
.search-results a:focus-visible { background: var(--mist); outline: none; }
.search-results img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--mist);
}
.search-results .name { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.search-results .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.search-results .price { font-size: 13.5px; font-weight: 700; }
.search-hint {
  padding: 22px 16px;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}
.search-hint strong { color: var(--ink); font-weight: 600; }
.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}
.search-tags button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}
.search-tags button:hover { border-color: var(--ink); }

.shop-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: var(--paper);
  flex: 1 1 220px;
  max-width: 320px;
}
.shop-search input {
  border: 0;
  background: transparent;
  font-size: 13.5px;
  width: 100%;
}
.shop-search input:focus { outline: none; }
.shop-search svg { color: var(--muted); flex: none; }

/* ---------- Quick add ---------- */
.quick-add {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 17, 17, 0.52);
}
.quick-add.is-open { display: flex; }
.quick-add__panel {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
}
.quick-add__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--mist);
  cursor: pointer;
}
.quick-add__product {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
  padding-right: 34px;
}
.quick-add__media {
  aspect-ratio: 1 / 1;
  background: var(--mist);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.quick-add__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.quick-add__product h2 {
  margin-top: 6px;
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.quick-add__price { margin-top: 8px; font-size: 16px; font-weight: 700; }
.quick-add__options { margin-bottom: 22px; }
.quick-add__options .option-label { margin-bottom: 8px; }

@media (max-width: 640px) {
  .search-overlay { padding-top: 6vh; }
  .search-results a { grid-template-columns: 48px minmax(0, 1fr); }
  .search-results .price { grid-column: 2; margin-top: -8px; }
}

/* ---------- Shop layout + filters ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}

.filter-toggle {
  display: none;
  width: 100%;
  margin-bottom: 16px;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: var(--paper);
}
.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.filters__head h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.filters__clear {
  border: 0;
  background: none;
  padding: 4px 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.filters__clear:hover { color: var(--ink); }

.filter-group {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.filter-group > span,
.filter-group > label.group-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  font-size: 13.5px;
  cursor: pointer;
  color: var(--ink-soft);
}
.filter-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--ink);
  cursor: pointer;
  flex: none;
}
.filter-option span.count {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.filter-option:hover { color: var(--ink); }

.price-fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}
.price-fields input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  font-size: 13px;
  background: var(--paper);
}
.price-fields input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
.price-fields .sep { color: var(--muted); }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.shop-toolbar__count {
  font-size: 13.5px;
  color: var(--muted);
}
.shop-toolbar__count strong { color: var(--ink); font-weight: 600; }

.sort-select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 500;
  background: var(--paper);
  cursor: pointer;
}
.sort-select:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.shop-empty {
  display: none;
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  background: var(--mist);
  border-radius: var(--radius);
}
.shop-empty.is-visible { display: block; }
.shop-empty p { margin-bottom: 14px; }

@media (max-width: 1100px) {
  .shop-layout { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters {
    position: static;
    display: none;
    margin-bottom: 18px;
  }
  .filters.is-open { display: block; }
}

/* ---------- Content cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.info-card {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}
.info-card h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.info-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

.journal-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.journal-card__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
}
.journal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.journal-card h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.journal-card p { color: var(--muted); font-size: 14px; }

/* ---------- Forms / support ---------- */
.form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.form input,
.form textarea,
.form select {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--paper);
  font-size: 14px;
}
.form textarea { min-height: 132px; resize: vertical; }
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  border-color: var(--ink);
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 70ch;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .press__label { max-width: none; }
  .press__quote { max-width: 60ch; margin-inline: auto; }
  .ig-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }
  .nav-main {
    position: fixed;
    inset: calc(var(--header-h) + 40px) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 22px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.22s ease;
    max-height: calc(100vh - var(--header-h) - 40px);
    overflow: auto;
  }
  .announce[hidden] ~ .site-header .nav-main {
    inset-block-start: var(--header-h);
  }
  .nav-main.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-main ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-main a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-main a::after { display: none; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero__copy {
    margin-left: 0;
    max-width: none;
    order: 2;
    padding-block: 36px;
  }
  .hero__media {
    order: 1;
    aspect-ratio: 16 / 11;
  }
  .hero__media img { object-position: 70% center; }

  .trust-bar { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2n) { border-left: 1px solid var(--line); }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .trust-item:nth-child(odd) { border-left: 0; }

  .story { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .split-2 { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .announce__inner { padding-right: 48px; }
  .press__logos { justify-content: center; gap: 12px 18px; }
  .press-logo { font-size: 13px; }
  .product-grid,
  .product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .journal-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { min-height: 140px; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-item,
  .trust-item + .trust-item,
  .trust-item:nth-child(2n) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .trust-item:first-child { border-top: 0; }
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero h1 { font-size: 2.35rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .hero__actions .btn { width: auto; flex: 1 1 180px; }
  .pdp__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
