/* Sir Smiles storefront
   Layout modeled on Dr. Squatch: promo bar, dark header, cream page, black feature blocks, orange CTAs.
   Shape rule: buttons and inputs use the slanted corner (top-left and bottom-right square, others 14px),
   cards and tiles use 16px all round. */
:root {
  --black: #0f0e0d;
  --black-2: #1c1a18;
  --orange: #ff5a0a;
  --orange-deep: #c94300;   /* orange text on cream, passes contrast */
  --cream: #f5ebd3;
  --cream-2: #ebdcb8;
  --paper: #fffaf0;
  --ink: #0f0e0d;
  --muted: #5e564a;
  --line: #d9c9a5;

  --display: "Kanit", "Arial Black", Impact, sans-serif;
  --body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-btn: 0 14px 0 14px;
  --r-card: 16px;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: only light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.55 var(--body);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--black); padding: 10px 16px; border-radius: var(--r-btn); font-weight: 700; }
.skip:focus { top: 12px; }

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

/* ---------- Type ---------- */
.display, h1, h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
  padding-bottom: 0.06em;
}
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(34px, 5vw, 60px); }
h3 { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1.1; margin: 0; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 46ch; }
.eyebrow { font-family: var(--display); font-style: italic; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; color: var(--orange-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  background: var(--orange); color: var(--black);
  border: 2px solid var(--black); border-radius: var(--r-btn);
  font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 17px; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 4px 4px 0 var(--black);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--black); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--black); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: 4px 4px 0 var(--orange); }
.btn--ghost:hover { box-shadow: 6px 6px 0 var(--orange); }
.btn--dark { background: var(--black); color: var(--cream); box-shadow: 4px 4px 0 var(--orange); }
.btn--block { width: 100%; }
.btn--lg { min-height: 58px; font-size: 19px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Promo bar + header ---------- */
.announce { background: var(--orange); color: var(--black); text-align: center; font-weight: 700; font-size: 14px; padding: 9px var(--gutter); }
.announce a { text-decoration: underline; text-underline-offset: 3px; }

.nav { position: sticky; top: 0; z-index: 40; background: var(--black); color: var(--cream); border-bottom: 3px solid var(--orange); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav__logo { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 32px; color: var(--orange); text-decoration: none; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-family: var(--display); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: 17px; text-decoration: none; letter-spacing: 0.02em; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color 0.2s, color 0.2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--orange); border-color: var(--orange); }
.nav__icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; font-size: 26px; color: var(--cream); }
.nav__icon:hover { color: var(--orange); }
.nav__count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--orange); color: var(--black); font: 700 12px/20px var(--body); text-align: center; }
.nav__count[data-zero] { display: none; }
.nav__burger { display: none; }

@media (max-width: 820px) {
  .nav__burger { display: grid; }
  .nav__logo { margin-right: auto; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--black); border-bottom: 3px solid var(--orange);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { font-size: 22px; padding: 12px 0; border-bottom: 1px solid var(--black-2); }
}

/* ---------- Image slots ---------- */
.media { position: relative; margin: 0; overflow: hidden; background: var(--cream-2); }
.media img { width: 100%; height: 100%; object-fit: contain; }
.media.is-missing img { object-fit: contain; padding: 14%; opacity: 0.9; }
.media.is-missing::after {
  content: "Add " attr(data-file);
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  font: 500 11px/1.3 var(--body); text-align: center;
  background: rgba(15, 14, 13, 0.82); color: var(--cream); padding: 6px 8px; border-radius: 8px;
}

/* ---------- Hero ---------- */
.hero { background: var(--black); color: var(--cream); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 32px; padding-block: clamp(40px, 6vw, 80px); }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { color: var(--cream); }
.hero h1 em { color: var(--orange); font-style: italic; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 6px; }
.hero__art { position: relative; }
/* lighten blends the logo's own black square into the hero background */
.hero__art img { width: 100%; height: auto; max-width: min(500px, 62vh); margin-left: auto; mix-blend-mode: lighten; }
@media (prefers-reduced-motion: no-preference) {
  .hero__art img { animation: bob 6s ease-in-out infinite; }
  .hero__copy > * { animation: rise 0.8s var(--ease) both; }
  .hero__copy > *:nth-child(2) { animation-delay: 0.08s; }
  .hero__copy > *:nth-child(3) { animation-delay: 0.16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes bob { 50% { transform: translateY(-10px) rotate(-1deg); } }
}
@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__art img { max-width: 360px; margin: 0 auto; }
}

/* ---------- Marquee (one per page) ---------- */
.marquee { background: var(--orange); color: var(--black); border-block: 3px solid var(--black); overflow: hidden; }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; gap: 28px; padding: 14px 14px; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 30px); white-space: nowrap; }
.marquee__group i { font-size: 0.85em; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 32s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; max-width: 760px; }
.section__head p { color: var(--muted); font-size: 18px; max-width: 56ch; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tab { min-height: 44px; padding: 0 20px; border: 2px solid var(--black); border-radius: var(--r-btn); background: transparent; font-family: var(--display); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: 16px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.tab:hover { background: var(--cream-2); }
.tab[aria-selected="true"] { background: var(--black); color: var(--cream); }

/* ---------- Product cards ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; margin-inline: -4px; scrollbar-color: var(--black) transparent; }
.rail > * { scroll-snap-align: start; }

.card { display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--black); border-radius: var(--r-card); overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 6px 8px 0 var(--black); }
.card__media { position: relative; display: block; aspect-ratio: 1; }
.card__media .media { height: 100%; }
.tile--orange { background: var(--orange); }
.tile--black { background: var(--black); }
.tile--cream { background: var(--cream-2); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--black); color: var(--cream); font: 700 12px/1 var(--body); text-transform: uppercase; letter-spacing: 0.06em; padding: 8px 10px; border-radius: var(--r-btn); }
.tile--black .badge { background: var(--orange); color: var(--black); }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.card__kind { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange-deep); }
.card__body h3 a { text-decoration: none; }
.card__body h3 a:hover { color: var(--orange-deep); }
.card__tag { color: var(--muted); font-size: 15px; flex: 1; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-weight: 700; font-size: 18px; margin: 6px 0 12px; }
.price s { color: var(--muted); font-weight: 400; font-size: 15px; }
.price small { width: 100%; font-weight: 500; font-size: 13px; color: var(--orange-deep); }

/* ---------- Flavor lineup (bento, exactly 4 cells) ---------- */
.flavors { display: grid; gap: 20px; grid-template-columns: 1.3fr 1fr 1fr; grid-template-areas: "a b c" "a d d"; }
.flavor { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 280px; border: 2px solid var(--black); border-radius: var(--r-card); overflow: hidden; text-decoration: none; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.flavor:hover { transform: translateY(-4px); box-shadow: 6px 8px 0 var(--black); }
.flavor:nth-child(1) { grid-area: a; min-height: 580px; }
.flavor:nth-child(2) { grid-area: b; }
.flavor:nth-child(3) { grid-area: c; }
.flavor:nth-child(4) { grid-area: d; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.flavor .media { background: transparent; min-height: 170px; }
.flavor .media img { position: absolute; inset: 0; object-fit: contain; }
.flavor__copy { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.flavor__copy h3 { font-size: clamp(24px, 2.6vw, 34px); }
.flavor__copy span { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; margin-top: 6px; }
.flavor.tile--black { color: var(--cream); }
.flavor.tile--black h3 { color: var(--orange); }
.flavor:nth-child(4) .flavor__copy { justify-content: flex-end; }
@media (max-width: 900px) {
  .flavors { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b c" "d d"; }
  .flavor:nth-child(1) { min-height: 420px; }
}
@media (max-width: 560px) {
  .flavors { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d"; }
  .flavor:nth-child(4) { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
}

/* ---------- Subscribe band ---------- */
.subscribe { background: var(--orange); border-block: 3px solid var(--black); }
.subscribe__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.subscribe__price { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(64px, 10vw, 140px); line-height: 0.9; }
.subscribe__price small { display: block; font-size: 0.2em; font-weight: 700; letter-spacing: 0.02em; margin-top: 10px; }
.steps { display: grid; gap: 18px; margin: 24px 0 30px; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.steps i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--black); color: var(--orange); font-size: 26px; }
.steps b { display: block; font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 20px; }
@media (max-width: 820px) { .subscribe__inner { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Story / why (bento, exactly 3 cells) ---------- */
.story { background: var(--black); color: var(--cream); }
.story h2 { color: var(--cream); }
.story .section__head p { color: #c9bfa9; }
.why { display: grid; gap: 20px; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; }
.why__cell { border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 10px; border: 2px solid var(--black-2); }
.why__cell i { font-size: 40px; color: var(--orange); }
.why__cell h3 { font-size: 26px; }
.why__cell p { color: #c9bfa9; max-width: 44ch; }
.why__cell--hero { grid-row: span 2; background: var(--black-2); justify-content: flex-end; padding: 0; overflow: hidden; }
.why__cell--hero img { width: 100%; aspect-ratio: 1; object-fit: cover; mix-blend-mode: lighten; }
.why__cell--hero div { padding: 0 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.why__cell--orange { background: var(--orange); color: var(--black); border-color: var(--orange); }
.why__cell--orange i { color: var(--black); }
.why__cell--orange p { color: var(--black); }
.why__cell--cream { background: var(--cream); color: var(--black); border-color: var(--cream); }
.why__cell--cream i { color: var(--orange-deep); }
.why__cell--cream p { color: var(--muted); }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; } .why__cell--hero { grid-row: auto; } }

/* ---------- Newsletter ---------- */
.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--paper); border: 2px solid var(--black); border-radius: var(--r-card); padding: clamp(24px, 4vw, 48px); box-shadow: 8px 8px 0 var(--black); }
.join form { display: flex; flex-direction: column; gap: 8px; }
.join label { font-weight: 700; }
.join__row { display: flex; gap: 12px; flex-wrap: wrap; }
.input { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 2px solid var(--black); border-radius: var(--r-btn); background: #fff; font: 500 16px var(--body); color: var(--ink); }
.input::placeholder { color: #6f675b; }
.form-note { font-size: 13px; color: var(--muted); min-height: 1.4em; }
.form-note.is-error { color: #a3200f; font-weight: 600; }
.form-note.is-ok { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .join { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--cream); padding-block: 64px 28px; margin-top: 0; border-top: 3px solid var(--orange); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 34ch; }
.footer__brand .nav__logo { font-size: 44px; }
.footer__brand p { color: #c9bfa9; }
.footer h4 { font-family: var(--display); font-style: italic; text-transform: uppercase; font-weight: 800; font-size: 18px; margin: 0 0 12px; color: var(--orange); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { text-decoration: none; color: #e6dcc4; }
.footer ul a:hover { color: var(--orange); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid #3a3631; font-size: 20px; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.socials a:hover { border-color: var(--orange); color: var(--orange); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #2c2925; font-size: 13px; color: #a39a88; }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(15, 14, 13, 0.55); opacity: 0; transition: opacity 0.3s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--cream); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s var(--ease); border-left: 3px solid var(--black); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--black); color: var(--cream); }
.drawer__head h2 { font-size: 28px; color: var(--cream); }
.drawer__ship { padding: 16px 20px; border-bottom: 2px solid var(--line); font-size: 14px; font-weight: 600; }
.meter { height: 10px; border: 2px solid var(--black); border-radius: 6px; margin-top: 8px; overflow: hidden; background: var(--paper); }
.meter span { display: block; height: 100%; background: var(--orange); transition: width 0.4s var(--ease); }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line .media { width: 76px; height: 76px; border-radius: 12px; border: 2px solid var(--black); }
.line .media.is-missing::after { display: none; }
.line b { font-family: var(--display); font-style: italic; text-transform: uppercase; font-weight: 800; }
.line small { display: block; color: var(--muted); }
.line__price { font-weight: 700; text-align: right; }
.line__remove { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font-size: 13px; cursor: pointer; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--black); border-radius: var(--r-btn); background: var(--paper); height: 40px; margin-top: 6px; }
.qty button { width: 36px; height: 100%; border: 0; background: none; font-size: 18px; cursor: pointer; }
.qty output { min-width: 28px; text-align: center; font-weight: 700; }
.drawer__empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 48px 12px; }
.drawer__empty i { font-size: 56px; color: var(--orange-deep); }
.drawer__foot { padding: 18px 20px 22px; border-top: 2px solid var(--black); display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.drawer__total { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 140%); background: var(--black); color: var(--cream); padding: 12px 20px; border-radius: var(--r-btn); border: 2px solid var(--orange); font-weight: 600; transition: transform 0.35s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- Collection page ---------- */
.banner { background: var(--black); color: var(--cream); }
.banner__inner { padding-block: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: 12px; }
.banner h1 { color: var(--cream); }
.banner h1 em { color: var(--orange); font-style: italic; }
.banner p { color: #c9bfa9; }

/* ---------- Product page ---------- */
.crumbs { display: flex; gap: 8px; font-size: 14px; padding-block: 20px; color: var(--muted); }
.crumbs a { text-decoration: none; font-weight: 600; color: var(--ink); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-bottom: 72px; align-items: start; }
.gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; position: sticky; top: 96px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery__thumbs button { padding: 0; width: 84px; height: 84px; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--cream-2); }
.gallery__thumbs button[aria-current="true"] { border-color: var(--black); box-shadow: 3px 3px 0 var(--orange); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery__main { aspect-ratio: 1; border: 2px solid var(--black); border-radius: var(--r-card); }
.buy { display: flex; flex-direction: column; gap: 18px; }
.buy h1 { font-size: clamp(40px, 5vw, 68px); }
.buy__tag { font-size: 19px; font-weight: 600; }
.buy__price { font-size: 26px; font-weight: 700; display: flex; gap: 12px; align-items: baseline; }
.buy__price s { font-size: 18px; color: var(--muted); font-weight: 400; }
.facts { display: grid; gap: 6px; margin: 0; }
.facts div { display: flex; gap: 8px; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.plans { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.plans legend { font-weight: 700; margin-bottom: 8px; }
.plan { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: start; padding: 16px; border: 2px solid var(--line); border-radius: var(--r-card); background: var(--paper); cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.plan:has(input:checked) { border-color: var(--black); box-shadow: 4px 4px 0 var(--orange); }
.plan input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--black); }
.plan b { display: block; font-family: var(--display); font-style: italic; text-transform: uppercase; font-weight: 800; font-size: 18px; }
.plan small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.plan__price { font-weight: 700; font-size: 18px; text-align: right; }
.plan__price s { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.plan select { margin-top: 10px; min-height: 40px; padding: 0 10px; border: 2px solid var(--black); border-radius: var(--r-btn); background: #fff; font: 500 15px var(--body); }
.save-pill { display: inline-block; margin-left: 6px; background: var(--orange); color: var(--black); border-radius: var(--r-btn); padding: 2px 8px; font: 700 12px var(--body); font-style: normal; vertical-align: middle; }
.buy__row { display: flex; gap: 12px; }
.buy__row .qty { height: 58px; margin: 0; }
.buy__row .qty button { width: 44px; }
.buy__row .btn { flex: 1; }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 18px 0; border-block: 2px solid var(--line); text-align: center; font-size: 14px; font-weight: 600; }
.perks i { display: block; font-size: 30px; margin: 0 auto 6px; color: var(--orange-deep); }
.acc details { border-bottom: 2px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 18px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { transition: transform 0.25s var(--ease); }
.acc details[open] summary i { transform: rotate(45deg); }
.acc details p { padding-bottom: 16px; color: var(--muted); max-width: 60ch; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .gallery__thumbs button { flex: 0 0 72px; width: 72px; height: 72px; }
}

/* Split feature on product page */
.feature { background: var(--black); color: var(--cream); }
.feature__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.feature__copy { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(40px, 6vw, 88px) var(--gutter); max-width: 620px; margin-left: auto; }
.feature__copy h2 { color: var(--cream); }
.feature__copy h2 em { color: var(--orange); font-style: italic; }
.feature__copy p { color: #c9bfa9; font-size: 18px; max-width: 48ch; }
.feature .media { min-height: 420px; background: var(--black-2); }
.feature .media img { object-fit: cover; }
.feature .media.is-missing img { object-fit: contain; }
@media (max-width: 820px) { .feature__inner { grid-template-columns: 1fr; } .feature__copy { margin: 0; } }

/* Reviews empty state */
.reviews { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; border: 2px dashed var(--black); border-radius: var(--r-card); padding: clamp(24px, 4vw, 40px); background: var(--paper); }
.reviews p { color: var(--muted); margin-top: 8px; max-width: 52ch; }
@media (max-width: 700px) { .reviews { grid-template-columns: 1fr; } }

/* Reveal on scroll: content is visible by default, only animates when JS adds .will-reveal */
@media (prefers-reduced-motion: no-preference) {
  .will-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .will-reveal.is-in { opacity: 1; transform: none; }
}
