/* ========================================================================
   Pepperell Crafts · compiled lo-fi prototypes
   No toggle engine, no demo cards, no annotation pills.
   ======================================================================== */

:root {
  --ink: #111827;
  --ink-2: #374151;
  --mute: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-2: #f3f4f6;
  --bg-3: #f9fafb;
  --place: #e5e7eb;
  --accent: #111827;
  --warn: #b45309;
  --good: #047857;

  --r: 6px;
  --r-lg: 10px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font: 15px/1.55 var(--sans);
  color: var(--ink);
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 var(--s-3); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(24px, 4.6vw, 32px); }
h2 { font-size: clamp(18px, 2.4vw, 22px); }
h3 { font-size: clamp(15px, 1.8vw, 17px); }
h4 { font-size: 14px; }
p { margin: 0 0 var(--s-3); }
small { color: var(--mute); font-size: 12px; }

/* Horizontal padding only. Vertical padding comes from <section>. */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--s-5); padding-right: var(--s-5); }
section.wrap { padding-top: var(--s-7); padding-bottom: var(--s-7); }
@media (max-width: 768px) {
  .wrap { padding-left: var(--s-4); padding-right: var(--s-4); }
  section.wrap { padding-top: var(--s-6); padding-bottom: var(--s-6); }
  section { padding: var(--s-6) 0; }
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: #f3f4f6;
  font-size: 13px;
  padding: var(--s-2) var(--s-5);
  text-align: center;
  display: flex; gap: var(--s-4); justify-content: center; align-items: center;
  flex-wrap: wrap;
  min-height: 36px;
}
.announce > * + * { border-left: 1px solid #374151; padding-left: var(--s-4); }
@media (max-width: 768px) {
  .announce { font-size: 12px; padding: 6px 12px; min-height: 32px; }
  .announce > * + * { display: none; }
}

/* ---------- Header (utility + main + nav rows) ---------- */
.header { border-bottom: 1px solid var(--line); }

/* Row 1: utility bar */
.header__utility { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .04em; }
.header__utility-row { display: flex; justify-content: space-between; align-items: center; min-height: 32px; gap: var(--s-4); flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.header__utility-row a { color: var(--mute); text-decoration: none; }
.header__utility-row a:hover { color: var(--ink); text-decoration: underline; }
.header__utility-links { display: flex; gap: var(--s-4); }

/* Row 2: main bar (logo + search + account/cart) */
.header__main { padding: var(--s-4) 0; }
.header__row { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-5); align-items: center; }
.header__logo { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 16px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header__search { display: flex; max-width: 540px; width: 100%; justify-self: center; }
.header__search input {
  flex: 1; font: inherit; padding: 10px 14px;
  border: 1px solid var(--line); border-right: none;
  border-radius: var(--r) 0 0 var(--r);
  background: #fff; color: var(--ink);
}
.header__search input:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.header__search button {
  padding: 10px 14px; background: var(--ink); color: #fff;
  border: 1px solid var(--ink); border-radius: 0 var(--r) var(--r) 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.header__search .icon { width: 16px; height: 16px; color: #fff; }
.header__icons { display: flex; gap: var(--s-3); align-items: center; font-size: 13px; }
.header__icon-btn { background: none; border: 1px solid var(--line); padding: 8px 12px; border-radius: var(--r); color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.header__icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.header__icon-btn .icon { width: 16px; height: 16px; }
@media (max-width: 768px) {
  .header__row { grid-template-columns: auto 1fr auto auto; gap: var(--s-2); align-items: center; }
  .header__search { grid-column: 1 / -1; max-width: none; order: 5; margin-top: 8px; }
  .header__search input { font-size: 16px; }
  .header__icons { gap: 4px; }
  .header__icon-btn { padding: 10px 12px; min-height: 44px; }
  .header__icon-btn span { display: none; }
  .header__main { padding: 10px 0; }
}
/* Hamburger button (mobile only) */
.header__hamburger {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--r);
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--ink-2); cursor: pointer; padding: 0;
}
.header__hamburger .icon { width: 22px; height: 22px; }
@media (max-width: 768px) {
  .header__hamburger { display: inline-flex; }
}

/* Row 3: category nav */
.header__nav-row { background: #fff; border-top: 1px solid var(--line); }
.header__nav-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding-top: var(--s-2); padding-bottom: var(--s-2); flex-wrap: wrap; }
.header__nav { list-style: none; display: flex; align-items: center; gap: var(--s-5); margin: 0; padding: 0; font-size: 14px; flex-wrap: wrap; }
.header__nav li { margin: 0; }
.header__nav a { text-decoration: none; color: var(--ink-2); padding: 6px 0; display: inline-block; }
.header__nav a:hover { color: var(--ink); }
.header__nav-sale a {
  background: var(--warn); color: #fff;
  padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase;
}
.header__nav-sale a:hover { background: #92400e; color: #fff; }
@media (max-width: 768px) {
  .header__nav-row { display: none; }
}

/* Mobile menu drawer */
.menu-drawer {
  position: fixed; inset: 0 auto 0 0;
  width: min(86vw, 360px);
  background: #fff; z-index: 80;
  transform: translateX(-100%); transition: transform .22s ease;
  display: flex; flex-direction: column;
  box-shadow: 0 0 0 0 rgba(17,24,39,0); pointer-events: none;
}
.menu-drawer__backdrop {
  position: fixed; inset: 0; background: rgba(17,24,39,.45);
  z-index: 79; opacity: 0; pointer-events: none; transition: opacity .2s;
}
body.menu-open .menu-drawer { transform: translateX(0); pointer-events: auto; box-shadow: 8px 0 24px rgba(17,24,39,.18); }
body.menu-open .menu-drawer__backdrop { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.menu-drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s-4); border-bottom: 1px solid var(--line);
  font-family: inherit; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 14px;
}
.menu-drawer__close {
  background: none; border: 1px solid var(--line); border-radius: var(--r);
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2); cursor: pointer; padding: 0;
}
.menu-drawer__close .icon { width: 18px; height: 18px; }
.menu-drawer__nav { padding: var(--s-3) 0; flex: 1; overflow-y: auto; }
.menu-drawer__nav a {
  display: block; padding: 14px var(--s-4);
  text-decoration: none; color: var(--ink); font-size: 16px;
  border-bottom: 1px solid var(--line);
}
.menu-drawer__nav a:hover, .menu-drawer__nav a:active { background: var(--bg-2); }
.menu-drawer__nav a.is-sale { color: var(--warn); font-weight: 600; }
.menu-drawer__foot { padding: var(--s-4); border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.menu-drawer__foot a { color: var(--ink-2); display: block; padding: 8px 0; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 12px 20px; border-radius: var(--r);
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font-size: 14px; font-weight: 500; text-decoration: none; line-height: 1;
}
.btn--block { width: 100%; }
.btn--ghost { background: #fff; color: var(--ink); }
.btn--sm { padding: 8px 12px; font-size: 13px; }
.btn--xs { padding: 4px 8px; font-size: 12px; border-radius: 4px; }

/* ---------- Generic blocks ---------- */
section { padding: var(--s-7) 0; }
.section-title { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: var(--s-4); }
.placeholder {
  background: var(--place);
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af; font-size: 12px; letter-spacing: .04em;
}
.placeholder--ratio-1 { aspect-ratio: 1 / 1; }
.placeholder--ratio-43 { aspect-ratio: 4 / 3; }
.placeholder--ratio-169 { aspect-ratio: 16 / 9; }
.placeholder--hero { aspect-ratio: 21 / 9; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-6); align-items: center; }
.hero__copy h1 { font-size: clamp(28px, 4.8vw, 36px); }
.hero__media { aspect-ratio: 4 / 3; }
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; gap: var(--s-4); }
  .hero__copy { order: 1; }
  .hero__media { order: 2; aspect-ratio: 16 / 10; }
  .hero .btn { width: 100%; max-width: 320px; }
}

/* ---------- Product card ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.cards--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) { .cards--6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } .cards--6 { grid-template-columns: repeat(2, 1fr); } }

/* 7-tile asymmetric grid with editorial priority:
   top 3 (most relevant) at 33% wide, bottom 4 (less relevant) at 25% wide. */
.cards--7-asym {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
}
.cards--7-asym .card:nth-child(-n+3) { grid-column: span 4; }
.cards--7-asym .card:nth-child(n+4)  { grid-column: span 3; }
@media (max-width: 1100px) {
  .cards--7-asym .card:nth-child(-n+3) { grid-column: span 4; }
  .cards--7-asym .card:nth-child(n+4)  { grid-column: span 3; }
}
@media (max-width: 720px) {
  .cards--7-asym .card:nth-child(-n+3),
  .cards--7-asym .card:nth-child(n+4) { grid-column: span 6; }
}

/* Tightened first-section padding so the next block lifts above the fold. */
.hero-section { padding-top: var(--s-4); padding-bottom: var(--s-4); }
.hero-section .hero__media { aspect-ratio: 16 / 9; }
@media (max-width: 768px) {
  .hero-section { padding-top: var(--s-3); padding-bottom: var(--s-3); }
  .hero-section .hero__media { aspect-ratio: 16 / 10; }
}
.card { display: flex; flex-direction: column; gap: var(--s-2); position: relative; text-decoration: none; color: inherit; }
.card__media { aspect-ratio: 1 / 1; }
.card__title { font-size: 14px; font-weight: 500; line-height: 1.3; margin: 0; }
.card__price { font-size: 14px; color: var(--ink); }
.card__rating { font-size: 12px; color: var(--mute); display: inline-flex; align-items: center; gap: 4px; }
.card__rating .icon { color: #f59e0b; width: 14px; height: 14px; }
.card__rating strong { color: var(--ink); font-weight: 600; }
.card__eta { font-size: 12px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; }
.card__eta .icon { width: 13px; height: 13px; color: var(--mute); }
.card__badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; z-index: 1; }
.badge {
  display: inline-block; padding: 3px 7px; font-size: 10px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  background: #fff; color: var(--ink); border: 1px solid var(--ink);
  border-radius: 3px;
}
.badge--mute { background: var(--bg-2); border-color: var(--line); color: var(--ink-2); }

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 1px; }
.stars .icon { color: #f59e0b; width: 14px; height: 14px; }
.stars--lg .icon { width: 18px; height: 18px; }

/* ---------- Trust strip ---------- */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.trust__item { font-size: 13px; color: var(--ink-2); }
.trust__item strong { display: block; color: var(--ink); margin-bottom: 2px; font-size: 13px; }
@media (max-width: 720px) { .trust { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Footer ---------- */
.footer { background: var(--bg-3); border-top: 1px solid var(--line); padding: var(--s-7) 0 var(--s-5); margin-top: var(--s-7); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: var(--s-6); }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } .footer__col--connect { grid-column: 1 / -1; } }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand, .footer__col--connect { grid-column: 1 / -1; } }
.footer__heritage { font-size: 13px; color: var(--ink-2); margin: 8px 0; line-height: 1.5; }
.footer__contact { font-size: 12px; color: var(--mute); margin: 0 0 12px; }
.footer h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0 0 12px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; font-size: 13px; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer__social { display: flex; gap: 10px; margin-top: 12px; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-2); }
.footer__social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.footer__social .icon { width: 14px; height: 14px; }
.footer__newsletter { display: flex; gap: 6px; margin-top: 8px; }
.footer__newsletter input { flex: 1; min-width: 0; font: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.footer__newsletter button { font: inherit; font-size: 12px; padding: 8px 14px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: var(--r); cursor: pointer; }
.footer__pays { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: var(--s-5) 0 var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.footer__pays .pay-icon { width: 28px; height: 28px; }
.footer__legal { font-size: 11px; color: var(--mute); display: flex; gap: var(--s-3); flex-wrap: wrap; }
.footer__legal a { color: var(--mute); }

/* ---------- PDP layout ---------- */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: clamp(48px, 7vw, 112px);
  row-gap: var(--s-7);
  padding-top: var(--s-5);
  align-items: start;
}
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; column-gap: 0; row-gap: var(--s-6); } }

/* Description block (matches PepeNew theme product-page__tab pattern) */
.product-page__tab { border-bottom: 1px solid var(--line); margin: 0; }
.product-page__tab[open] + .product-page__tab,
.product-page__tab + .product-page__tab { border-top: 0; }
.product-page__tab-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) 0; cursor: pointer;
  font-weight: 700; font-size: 16px; min-height: 44px;
  list-style: none;
}
.product-page__tab-header::-webkit-details-marker { display: none; }
.product-page__tab-header .icon { width: 16px; height: 16px; transition: transform .2s; }
.product-page__tab[open] .product-page__tab-header .icon { transform: rotate(180deg); }
.product-page__tab-content { padding-bottom: var(--s-5); max-width: 760px; }
.product-page__tab-content p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0 0 12px; }
.product-page__tab-content ul { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 12px 0; padding-left: 20px; }
.product-page__tab-content li { margin-bottom: 4px; }
.pdp__gallery { display: grid; grid-template-columns: 80px 1fr; gap: var(--s-3); }
.pdp__thumbs { display: flex; flex-direction: column; gap: var(--s-2); }
.pdp__thumb { aspect-ratio: 1 / 1; cursor: pointer; min-width: 0; }
.pdp__thumb[aria-current="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.pdp__main { aspect-ratio: 1 / 1; position: relative; }
@media (max-width: 768px) {
  .pdp__gallery { grid-template-columns: 1fr; gap: var(--s-2); }
  .pdp__main { order: 1; }
  .pdp__thumbs {
    order: 2; flex-direction: row;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .pdp__thumb { flex: 0 0 64px; scroll-snap-align: start; }
}
.pdp__title { margin-top: 0; }
.pdp__price { font-size: 22px; font-weight: 600; }
.pdp__rating { font-size: 14px; color: var(--ink-2); margin: 6px 0 var(--s-3); display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; line-height: 1.4; }
.pdp__rating .stars { gap: 2px; }
.pdp__rating .stars .icon { width: 16px; height: 16px; }
.pdp__rating strong { color: var(--ink); }
.pdp__row { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-4); }
.pdp__label { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }

.swatches { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.swatch {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--mute); background: #fff; cursor: pointer; padding: 0;
}
.swatch[aria-checked="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); }
.qty button { width: 36px; height: 36px; background: #fff; border: none; color: var(--ink); font-size: 16px; }
.qty input { width: 44px; height: 36px; border: none; text-align: center; font: inherit; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }

.spec { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec th, .spec td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.spec th { font-weight: 500; color: var(--mute); width: 35%; }
@media (max-width: 480px) {
  .spec th, .spec td { display: block; width: 100%; padding: 4px 0; border-bottom: 0; }
  .spec tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .spec th { color: var(--mute); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
}

.sticky-atc {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line);
  padding: var(--s-3) var(--s-5);
  display: none; align-items: center; gap: var(--s-3); z-index: 30;
  padding-bottom: max(var(--s-3), env(safe-area-inset-bottom));
}
.sticky-atc__price { font-weight: 600; flex: 1; }
.sticky-atc .btn { min-height: 44px; }
@media (max-width: 768px) { .sticky-atc { display: flex; } }

/* ---------- Cart ---------- */
.cart { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s-7); }
@media (max-width: 900px) { .cart { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 80px 1fr auto; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.cart-line__media { aspect-ratio: 1 / 1; }
.cart-line__title { font-size: 14px; font-weight: 500; margin: 0 0 4px; }
.cart-line__meta { font-size: 12px; color: var(--mute); }
.cart-line__remove { background: none; border: none; padding: 0; color: var(--mute); text-decoration: underline; font-size: 12px; }
.cart-line__total { font-weight: 500; }
.summary { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); }
.summary__row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.summary__row--total { border-top: 1px solid var(--line); margin-top: var(--s-3); padding-top: var(--s-3); font-weight: 600; font-size: 16px; }

.progress { background: var(--bg-2); height: 8px; border-radius: 4px; overflow: hidden; margin: var(--s-2) 0; }
.progress__fill { background: var(--ink); height: 100%; }

.express { display: grid; gap: 8px; margin-bottom: var(--s-3); }
.express__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 10px 14px; font-size: 13px; font-weight: 600; min-height: 44px;
  color: var(--ink);
}
.express__btn .pay-icon { width: 36px; height: 22px; }
.express__btn--shoppay { background: #5a31f4; border-color: #5a31f4; color: #fff; }
.express__btn--paypal { background: #ffc439; border-color: #ffc439; color: #003087; }
.express__btn--applepay { background: #000; border-color: #000; color: #fff; }
.express__btn--googlepay { background: #fff; border-color: #dadce0; color: #3c4043; }

.cart-trust { font-size: 11px; color: var(--mute); margin-top: var(--s-3); display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.cart-trust__pays { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cart-trust__pays .pay-icon { width: 32px; height: 20px; }

.pay-icon { width: 36px; height: 24px; display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ---------- Cross-sell ---------- */
.xsell { border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-4); }
.xsell__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-top: var(--s-3); }
@media (max-width: 600px) { .xsell__row { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-6); }
@media (max-width: 720px) { .reviews { grid-template-columns: 1fr; } }
.reviews__summary { font-size: 14px; }
.review { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.review__head { display: flex; justify-content: space-between; margin-bottom: 4px; }
.review__verified { font-size: 11px; color: var(--good); display: inline-flex; align-items: center; gap: 4px; }
.review__verified .icon { width: 12px; height: 12px; }
.review__media { display: flex; gap: 6px; margin-top: 8px; }
.review__media .placeholder { width: 56px; aspect-ratio: 1 / 1; }

/* ---------- Q&A accordion ---------- */
.qa { border: 1px solid var(--line); border-radius: var(--r-lg); }
.qa details { border-bottom: 1px solid var(--line); padding: var(--s-3) var(--s-4); }
.qa details:last-child { border-bottom: 0; }
.qa summary { font-size: 13px; cursor: pointer; }
.qa-answer { font-size: 13px; color: var(--ink-2); margin-top: var(--s-2); }

/* ---------- Stock & ETA ---------- */
.eta { font-size: 13px; color: var(--ink-2); }
.eta strong { color: var(--ink); }
.low-stock { font-size: 12px; color: var(--warn); }

/* ---------- Heritage band ---------- */
.heritage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; padding: var(--s-7); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-3); }
.heritage__media { aspect-ratio: 4 / 3; }
.heritage h2 { font-size: 24px; }
.heritage__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); margin-top: var(--s-4); }
.heritage__stat strong { display: block; font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1; }
.heritage__stat span { font-size: 12px; color: var(--mute); letter-spacing: .04em; text-transform: uppercase; display: block; margin-top: 4px; }
@media (max-width: 768px) {
  .heritage { grid-template-columns: 1fr; padding: var(--s-5); gap: var(--s-4); }
  .heritage__media { order: 1; aspect-ratio: 16 / 10; }
  .heritage > div:last-child { order: 2; }
}

/* ---------- Inline icons (vector only, never emoji) ---------- */
.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: -0.12em; }
.icon--filled { fill: currentColor; stroke: none; }
.pdp__thumb svg, .placeholder svg { width: 28%; height: 28%; }

/* ---------- Instagram reels feed ---------- */
.reels { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); }
.reels__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-4); flex-wrap: wrap; }
.reels__head h2 { margin: 0; font-size: 22px; }
.reels__handle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); text-decoration: none; }
.reels__handle .icon { width: 16px; height: 16px; }
.reels__scroll { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-3); }
@media (max-width: 1100px) { .reels__scroll { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .reels__scroll { grid-template-columns: repeat(2, 1fr); } }
.reels__card { position: relative; aspect-ratio: 9 / 16; background: var(--place); border-radius: var(--r); overflow: hidden; display: block; text-decoration: none; }
.reels__card-label { position: absolute; left: 8px; bottom: 8px; right: 8px; font-size: 11px; color: #fff; line-height: 1.3; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.reels__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.reels__play svg { width: 36px; height: 36px; color: rgba(255,255,255,.85); }
.reels__cta { margin-top: var(--s-4); text-align: center; }

/* ---------- Review + Q&A forms ---------- */
.review-form, .qa-form {
  margin-top: var(--s-5); padding: var(--s-4); border: 1px solid var(--line);
  border-radius: var(--r-lg); display: grid; gap: var(--s-3); background: var(--bg-3);
}
.review-form h3, .qa-form h3 { margin: 0; font-size: 15px; }
.review-form textarea, .qa-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r);
  font: inherit; resize: vertical; background: #fff; color: var(--ink);
}
.review-form textarea:focus, .qa-form textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.review-form__rating { display: flex; align-items: center; gap: var(--s-3); font-size: 13px; color: var(--ink-2); }
.review-form__stars { color: #f59e0b; letter-spacing: 4px; font-size: 18px; }
.review-form .btn, .qa-form .btn { justify-self: start; }

/* ---------- Use cases block ---------- */
.use-cases { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .use-cases { grid-template-columns: 1fr; } }
.use-cases li {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
}
.use-cases__thumb { flex: 0 0 72px; border-radius: var(--r); }
.use-cases__body { flex: 1; min-width: 0; }
.use-cases li strong { display: block; margin-bottom: 4px; font-size: 14px; color: var(--ink); }
.use-cases li p { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.5; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); text-align: center; }
.newsletter h2 { font-size: 22px; margin-bottom: var(--s-2); }
.newsletter p { color: var(--mute); margin: 0 0 var(--s-4); font-size: 14px; }
.newsletter form { display: flex; gap: var(--s-2); max-width: 480px; margin: 0 auto; }
.newsletter input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; background: #fff; min-height: 44px; }
.newsletter input:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.newsletter button { min-height: 44px; }
@media (max-width: 480px) {
  .newsletter form { flex-direction: column; }
  .newsletter input, .newsletter button { width: 100%; font-size: 16px; }
}

/* ---------- FAQ on home ---------- */
.faq-home { max-width: 760px; margin: 0 auto; }
.faq-home details { border-bottom: 1px solid var(--line); padding: var(--s-3) 0; }
.faq-home summary { font-size: 15px; cursor: pointer; font-weight: 500; }
.faq-home p { font-size: 14px; color: var(--ink-2); margin: var(--s-2) 0 0; }

/* ---------- Journal row ---------- */
.journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.journal__article { display: flex; flex-direction: column; gap: var(--s-2); text-decoration: none; color: inherit; }
.journal__media { aspect-ratio: 16 / 10; }
.journal__date { font-size: 12px; color: var(--mute); }
.journal__title { font-size: 15px; font-weight: 500; line-height: 1.3; margin: 0; }
@media (max-width: 720px) { .journal { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.testimonial { padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: var(--s-2); }
.testimonial__product { font-size: 12px; color: var(--mute); margin: 0; }
.testimonial__product a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.testimonial__stars { display: inline-flex; gap: 1px; color: #f59e0b; margin: 0; }
.testimonial__stars .icon { width: 14px; height: 14px; }
.testimonial__quote { font-size: 14px; color: var(--ink); margin: 0; line-height: 1.55; flex: 1; }
.testimonial__by { font-size: 12px; color: var(--mute); display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); margin: 0; padding-top: var(--s-2); border-top: 1px solid var(--line); flex-wrap: wrap; }
.testimonial__by strong { color: var(--ink); font-weight: 600; }
.testimonial__verified { font-size: 11px; color: var(--good); display: inline-flex; align-items: center; gap: 3px; }
.testimonial__verified .icon { width: 12px; height: 12px; }
.testimonials__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-4); flex-wrap: wrap; }
.testimonials__rating { font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.testimonials__rating .icon { width: 16px; height: 16px; color: #f59e0b; }
@media (max-width: 720px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- Live chat ---------- */
.chat-launcher {
  position: fixed; bottom: 16px; right: 16px;
  background: var(--ink); color: #fff; border: none;
  padding: 10px 14px; border-radius: 999px; font-size: 13px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  z-index: 25;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
}
@media (max-width: 768px) {
  .chat-launcher { bottom: 80px; right: 12px; padding: 8px 12px; font-size: 12px; }
  .chat-launcher span { display: none; }
}

/* ---------- Sticky cart checkout (mobile) ---------- */
.sticky-checkout {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line);
  padding: var(--s-3) var(--s-5);
  display: none; align-items: center; gap: var(--s-3);
  z-index: 30;
  padding-bottom: max(var(--s-3), env(safe-area-inset-bottom));
}
.sticky-checkout .btn { min-height: 44px; }
@media (max-width: 768px) { .sticky-checkout { display: flex; } }

/* Avoid sticky-bar covering content on mobile */
@media (max-width: 768px) {
  body { padding-bottom: 72px; }
  /* iOS Safari zoom prevention: form fields need ≥16px font */
  input[type="text"], input[type="email"], input[type="search"], input[type="tel"], select, textarea {
    font-size: 16px;
  }
  /* Tighter cart line at narrow widths */
  .cart-line { grid-template-columns: 64px 1fr auto; gap: var(--s-3); }
}

/* ========================================================================
   Landing page (index.html)
   ======================================================================== */
.landing__cover { background: var(--ink); color: #f3eee5; padding: var(--s-8) 0; }
.landing__cover h1 { font-size: clamp(36px, 5vw, 56px); margin: 0 0 var(--s-4); color: #fff; letter-spacing: -0.01em; line-height: 1.05; }
.landing__cover h1 em { font-style: italic; color: #fcd6a6; }
.landing__cover p { color: #d4cab8; font-size: 18px; max-width: 720px; margin: 0; }
.landing__cover small { color: #b8ad9a; }
.landing__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-7); }
@media (max-width: 720px) { .landing__tiles { grid-template-columns: 1fr; } }
.landing__tile {
  display: block; padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg);
  text-decoration: none; color: var(--ink); background: #fff;
}
.landing__tile:hover { border-color: var(--ink); }
.landing__tile h3 { margin-bottom: 4px; font-size: 18px; }
.landing__tile small { color: var(--mute); }
.landing__tile-thumb { aspect-ratio: 16 / 10; margin-bottom: var(--s-4); border-radius: var(--r); }
.landing__sub-list { font-size: 13px; color: var(--mute); line-height: 1.5; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } }
.cat { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cat h3 { margin: 0 0 var(--s-2); font-size: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); }
.cat h3 small { font-size: 12px; color: var(--mute); font-weight: 500; }
.cat ul { padding: 0; margin: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.cat li { padding: 4px 0; border-bottom: 1px dashed var(--line); }
.cat li:last-child { border-bottom: 0; }
