/* ---- Sasquatch Farm Trading Post — design tokens ---- */
:root, [data-theme="light"] {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  --color-bg: #ffffff;
  --color-surface: #fcfcfa;
  --color-surface-2: #f3f3ee;
  --color-border: #ddddd4;
  --color-divider: #e9e9e2;
  --color-text: #23301f;
  --color-text-muted: #61705b;
  --color-text-faint: #99a394;
  --color-text-inverse: #ffffff;
  --color-primary: #2e4a33;
  --color-primary-hover: #223a27;
  --color-accent: #a9502f;
  --color-accent-hover: #8c3f22;
  --color-accent-soft: #ecd9cd;
  --color-badge: #7a2f2f;

  --radius-sm: .375rem; --radius-md: .625rem; --radius-lg: 1rem; --radius-full: 9999px;
  --shadow-sm: 0 1px 2px oklch(0.3 0.03 140 / .07);
  --shadow-md: 0 4px 14px oklch(0.3 0.03 140 / .1);
  --shadow-lg: 0 14px 40px oklch(0.3 0.03 140 / .16);
  --transition-interactive: 180ms cubic-bezier(.16,1,.3,1);
  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
}
[data-theme="dark"] {
  --color-bg: #151a13;
  --color-surface: #1c221a;
  --color-surface-2: #222920;
  --color-border: #39422f;
  --color-divider: #272e24;
  --color-text: #ded9c6;
  --color-text-muted: #96a08c;
  --color-text-faint: #6a7562;
  --color-text-inverse: #1a2017;
  --color-primary: #8fb589;
  --color-primary-hover: #a7c8a1;
  --color-accent: #d3805c;
  --color-accent-hover: #e0946f;
  --color-accent-soft: #3a2c23;
  --color-badge: #d3805c;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / .25);
  --shadow-md: 0 4px 14px oklch(0 0 0 / .35);
  --shadow-lg: 0 14px 40px oklch(0 0 0 / .45);
}

/* ---- base ---- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: 10rem; }
body { min-height: 100dvh; line-height: 1.6; font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text); background: var(--color-bg); }
img,svg { display: block; max-width: 100%; height: auto; }
input,button,textarea,select { font: inherit; color: inherit; }
h1,h2,h3 { text-wrap: balance; line-height: 1.12; font-family: var(--font-display); font-weight: 500; }
p { text-wrap: pretty; max-width: 68ch; }
button { cursor: pointer; background: none; border: none; }
[hidden] { display: none !important; }
::selection { background: oklch(from var(--color-accent) l c h / .3); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: var(--radius-sm); }
a,button { transition: color var(--transition-interactive), background var(--transition-interactive), border-color var(--transition-interactive), box-shadow var(--transition-interactive), transform var(--transition-interactive); }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---- ribbon ---- */
.preview-ribbon { background: var(--color-primary); color: var(--color-text-inverse); text-align: center; font-size: var(--text-xs); padding: var(--space-2) var(--space-4); letter-spacing: .02em; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: var(--space-6); padding: var(--space-3) clamp(var(--space-4), 4vw, var(--space-12)); background: color-mix(in oklab, var(--color-bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-divider); }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--color-text); }
.brand-mark { width: 38px; height: auto; flex: none; }
[data-theme="dark"] .brand-mark { filter: invert(1) brightness(1.05); }
.brand-wordmark { display: block; width: clamp(150px, 17vw, 208px); aspect-ratio: 987 / 258; background: currentColor; -webkit-mask: url('brand/wordmark.webp') center / contain no-repeat; mask: url('brand/wordmark.webp') center / contain no-repeat; }
.footer-wordmark { display: block; width: 216px; max-width: 60vw; aspect-ratio: 987 / 303; background: var(--color-text); -webkit-mask: url('brand/wordmark-muscles.webp') left center / contain no-repeat; mask: url('brand/wordmark-muscles.webp') left center / contain no-repeat; margin-bottom: var(--space-3); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); }
.brand-sub { font-size: var(--text-xs); letter-spacing: .32em; text-transform: uppercase; color: var(--color-text-muted); }
.site-nav { display: flex; gap: var(--space-5); margin-left: auto; }
.site-nav a { text-decoration: none; color: var(--color-text-muted); font-size: var(--text-sm); font-weight: 500; letter-spacing: .03em; }
.site-nav a:hover { color: var(--color-text); }
.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.header-actions button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-full); color: var(--color-text-muted); position: relative; }
.header-actions button:hover { background: var(--color-surface-2); color: var(--color-text); }
.cart-count { position: absolute; top: 2px; right: 0; background: var(--color-accent); color: #fff; font-size: 11px; font-weight: 700; min-width: 17px; height: 17px; border-radius: var(--radius-full); display: grid; place-items: center; padding: 0 4px; }

/* ---- hero ---- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; padding: clamp(var(--space-10), 7vw, var(--space-24)) clamp(var(--space-4), 4vw, var(--space-12)); max-width: 1240px; margin-inline: auto; }
.eyebrow { font-size: var(--text-xs); letter-spacing: .3em; text-transform: uppercase; color: var(--color-accent); font-weight: 700; margin-bottom: var(--space-4); }
.hero h1 { font-size: var(--text-3xl); margin-bottom: var(--space-5); }
.hero-sub { color: var(--color-text-muted); font-size: var(--text-lg); margin-bottom: var(--space-8); max-width: 46ch; }
.hero-ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-5); }
.hero-note { font-size: var(--text-sm); color: var(--color-text-faint); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-3) var(--space-6); border-radius: var(--radius-full); font-weight: 700; font-size: var(--text-sm); text-decoration: none; letter-spacing: .02em; }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
[data-theme="dark"] .btn-primary { color: var(--color-text-inverse); }
.btn-ghost { border: 1.5px solid var(--color-border); color: var(--color-text); }
.btn-ghost:hover { border-color: var(--color-text-muted); background: var(--color-surface); }
.btn-wide { width: 100%; }
.hero-collage { position: relative; height: clamp(340px, 40vw, 520px); }
.hero-collage figure { position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 4px solid var(--color-surface); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }
.collage-a { width: 62%; height: 68%; top: 0; left: 0; rotate: -2deg; }
.collage-b { width: 42%; height: 66%; right: 0; top: 14%; rotate: 2.5deg; z-index: 2; }
.collage-b img { object-position: center top; }
.collage-c { width: 42%; height: 44%; left: 10%; bottom: 0; rotate: -1deg; z-index: 1; }
.collage-c img { object-position: center 18%; }

/* ---- categories ---- */
.categories { padding-bottom: var(--space-6); position: sticky; top: 70px; z-index: 30; }
.cat-row { display: flex; gap: var(--space-2); flex-wrap: wrap; background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: var(--space-2); box-shadow: var(--shadow-sm); }
.cat-chip { padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); }
.cat-chip:hover { background: var(--color-surface-2); color: var(--color-text); }
.cat-chip[aria-pressed="true"] { background: var(--color-primary); color: var(--color-text-inverse); font-weight: 700; }
[data-theme="dark"] .cat-chip[aria-pressed="true"] { color: var(--color-text-inverse); }

/* ---- shop grid ---- */
.shop { padding: var(--space-6) clamp(var(--space-4), 4vw, var(--space-12)) var(--space-20); max-width: 1240px; margin-inline: auto; }
.shop .categories { margin-inline: 0; }
.shop-head { display: flex; align-items: baseline; gap: var(--space-4); margin-bottom: var(--space-6); }
.shop-head h2 { font-size: var(--text-xl); }
.shop-count { color: var(--color-text-faint); font-size: var(--text-sm); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--space-5); }
.card { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; text-align: left; padding: 0; transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-border); }
.card-media { aspect-ratio: 1; background: var(--color-surface-2); position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms cubic-bezier(.16,1,.3,1); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--color-text-faint); }
.card-media .noimg svg { width: 56px; height: 56px; opacity: .5; }
.badge-sold { position: absolute; top: var(--space-3); left: var(--space-3); background: var(--color-badge); color: #fff; font-size: var(--text-xs); font-weight: 700; padding: 2px 10px; border-radius: var(--radius-full); letter-spacing: .04em; }
[data-theme="dark"] .badge-sold { color: var(--color-text-inverse); }
.card-body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); flex: 1; }
.card-cat { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--color-text-faint); font-weight: 500; }
.card-name { font-weight: 700; font-size: var(--text-sm); line-height: 1.35; color: var(--color-text); }
.card-price { margin-top: auto; padding-top: var(--space-2); font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-accent); font-weight: 500; }
.card-vars { font-size: var(--text-xs); color: var(--color-text-faint); }

/* ---- story ---- */
.story { background: var(--color-primary); color: var(--color-text-inverse); padding: clamp(var(--space-16), 9vw, var(--space-24)) clamp(var(--space-4), 4vw, var(--space-12)); }
[data-theme="dark"] .story { background: var(--color-surface-2); color: var(--color-text); }
.story-inner { max-width: 720px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-5); }
.story-patch { background: #f4f0e4; border: 2px dashed rgba(35, 48, 31, .3); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-8); rotate: -1.5deg; box-shadow: var(--shadow-md); }
.story-logo { width: min(260px, 62vw); height: auto; }
.story-link { color: inherit; font-weight: 700; text-underline-offset: 3px; }
.story-link:hover { opacity: .8; }
.story h2 { font-size: var(--text-2xl); }
.story p { opacity: .85; font-size: var(--text-lg); margin-inline: auto; }
.story-sig { font-family: var(--font-display); font-style: italic; opacity: .7; }

/* ---- footer ---- */
.site-footer { display: flex; flex-wrap: wrap; gap: var(--space-6); justify-content: space-between; align-items: center; padding: var(--space-10) clamp(var(--space-4), 4vw, var(--space-12)); border-top: 1px solid var(--color-divider); color: var(--color-text-muted); font-size: var(--text-sm); }
.footer-note { max-width: 52ch; color: var(--color-text-faint); font-size: var(--text-xs); }

/* ---- modal ---- */
.modal-backdrop { position: fixed; inset: 0; background: oklch(0.2 0.02 140 / .55); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 60; padding: var(--space-4); }
.modal { background: var(--color-surface); border-radius: var(--radius-lg); max-width: 780px; width: 100%; max-height: 90dvh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; position: relative; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: var(--space-3); right: var(--space-3); width: 38px; height: 38px; border-radius: var(--radius-full); background: var(--color-surface); font-size: 22px; line-height: 1; z-index: 2; box-shadow: var(--shadow-sm); }
.modal-media { background: var(--color-surface-2); min-height: 320px; max-height: 640px; display: flex; flex-direction: column; min-width: 0; }
.modal-body { min-width: 0; max-height: 640px; overflow-y: auto; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-media #modalMainImg { flex: 1; min-height: 0; width: 100%; object-fit: cover; background: #fff; }
.modal-thumbs { display: flex; gap: 6px; padding: 8px; background: var(--color-surface-2); overflow-x: auto; flex: none; }
.modal-thumbs .thumb { width: 56px; height: 56px; flex: none; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: #fff; }
.modal-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-thumbs .thumb.active { border-color: var(--color-accent); }
.modal-media .noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--color-text-faint); }
.modal-body { padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); }
.modal-cat { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--color-text-faint); }
.modal-body h3 { font-size: var(--text-xl); }
.modal-price { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-accent); }
.modal-desc { color: var(--color-text-muted); font-size: var(--text-sm); }
.modal-orig { font-size: var(--text-xs); color: var(--color-text-faint); font-style: italic; }
.modal-orig:empty { display: none; }
.modal-fine, .drawer-fine { font-size: var(--text-xs); color: var(--color-text-faint); }

/* ---- cart drawer ---- */
.drawer-backdrop { position: fixed; inset: 0; background: oklch(0.2 0.02 140 / .45); z-index: 70; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 94vw); background: var(--color-surface); z-index: 80; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slideIn 280ms cubic-bezier(.16,1,.3,1); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--color-divider); }
.drawer-head h3 { font-size: var(--text-lg); }
.drawer-head button { font-size: 26px; line-height: 1; width: 38px; height: 38px; border-radius: var(--radius-full); }
.drawer-head button:hover { background: var(--color-surface-2); }
.ship-meter { padding: var(--space-4) var(--space-6); background: var(--color-accent-soft); font-size: var(--text-sm); }
.ship-meter p { margin-bottom: var(--space-2); font-weight: 500; }
.meter { height: 6px; background: color-mix(in oklab, var(--color-accent) 22%, transparent); border-radius: var(--radius-full); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--color-accent); border-radius: var(--radius-full); transition: width 400ms cubic-bezier(.16,1,.3,1); }
.drawer-items { flex: 1; overflow: auto; padding: var(--space-4) var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.drawer-empty { color: var(--color-text-faint); text-align: center; margin-top: var(--space-10); }
.ditem { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--space-3); align-items: center; }
.ditem img, .ditem .noimg { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-md); background: var(--color-surface-2); }
.ditem .noimg { display: grid; place-items: center; color: var(--color-text-faint); }
.ditem-name { font-size: var(--text-sm); font-weight: 500; line-height: 1.3; }
.ditem-price { font-size: var(--text-xs); color: var(--color-text-muted); }
.qty { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-1); }
.qty button { width: 24px; height: 24px; border-radius: var(--radius-full); background: var(--color-surface-2); font-weight: 700; font-size: 14px; }
.qty button:hover { background: var(--color-border); }
.qty span { font-size: var(--text-sm); min-width: 16px; text-align: center; }
.ditem-total { font-weight: 700; font-size: var(--text-sm); }
.drawer-foot { border-top: 1px solid var(--color-divider); padding: var(--space-5) var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); }
.line { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--color-text-muted); }
.line strong { color: var(--color-text); }
.line.total { font-size: var(--text-base); padding-top: var(--space-2); border-top: 1px dashed var(--color-divider); }
.drawer-foot .btn { margin-top: var(--space-3); }
.drawer-fine { text-align: center; }

/* ---- wandering sasquatch ---- */
.walker { position: fixed; bottom: -6px; left: 0; z-index: 50; width: clamp(90px, 12vw, 150px); pointer-events: none; transform: translateX(-9999px); opacity: .96; filter: drop-shadow(0 8px 10px oklch(0.2 0.02 140 / .25)); transform-origin: 50% 100%; }
.walker img { display: block; width: 100%; height: auto; margin-inline: auto; transform-origin: 50% 100%; }
.walker.bobbing img { animation: bob .55s ease-in-out infinite alternate; }
.walker.scurry img { animation: bob .2s ease-in-out infinite alternate; }
.walker.face-left img { scale: -1 1; }
.walker.peeking { width: clamp(110px, 15vw, 190px); bottom: 0; }
.edge-flap { position: fixed; bottom: 0; width: 84px; height: 440px; z-index: 49; pointer-events: none; opacity: 0;
  background: var(--color-bg);
  transition: transform .8s cubic-bezier(.16, 1, .3, 1), opacity .25s ease, box-shadow .8s ease; }
.edge-flap.right { right: 0; transform-origin: 100% 50%; transform: perspective(600px) rotateY(0deg);
  border-left: 2px solid color-mix(in oklab, var(--color-text) 26%, transparent); border-radius: 12px 0 0 0;
  background-image: linear-gradient(to right, color-mix(in oklab, var(--color-bg) 90%, black), var(--color-bg) 30%); }
.edge-flap.left { left: 0; transform-origin: 0% 50%; transform: perspective(600px) rotateY(0deg);
  border-right: 2px solid color-mix(in oklab, var(--color-text) 26%, transparent); border-radius: 0 12px 0 0;
  background-image: linear-gradient(to left, color-mix(in oklab, var(--color-bg) 90%, black), var(--color-bg) 30%); }
.edge-flap.open { opacity: 1; }
.edge-flap.right.open { transform: perspective(600px) rotateY(52deg); box-shadow: -28px 0 40px oklch(0.2 0.02 140 / .42); }
.edge-flap.left.open { transform: perspective(600px) rotateY(-52deg); box-shadow: 28px 0 40px oklch(0.2 0.02 140 / .42); }
@media (prefers-reduced-motion: reduce) { .edge-flap { display: none; } }
@keyframes bob { from { rotate: -2.2deg; translate: 0 0; } to { rotate: 2.2deg; translate: 0 -5px; } }
.walker-bubble { position: absolute; bottom: calc(100% + 12px); left: 50%; translate: -50%; width: max-content; max-width: min(260px, 72vw); background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-divider); border-radius: 14px; padding: var(--space-3) var(--space-4); font-size: var(--text-sm); line-height: 1.45; text-align: center; box-shadow: var(--shadow-lg); }
.walker-bubble::after { content: ''; position: absolute; top: 100%; left: var(--arrow-x, 50%); translate: -50%; border: 9px solid transparent; border-top-color: var(--color-surface); }
.walker.face-left .walker-bubble { scale: 1; }
@media (prefers-reduced-motion: reduce) { .walker { display: none; } }

/* ---- responsive ---- */
@media (max-width: 880px) {
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: var(--space-10); }
  .hero-collage { height: clamp(300px, 62vw, 420px); }
  .categories { position: static; }
  .modal { grid-template-columns: 1fr; }
  .modal-media { min-height: 240px; max-height: 320px; }
}

/* ---- variation options + live checkout ---- */
.modal-opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 var(--space-4); }
.opt {
  padding: 7px 14px; border: 1.5px solid var(--color-border); border-radius: var(--radius-full);
  background: var(--color-bg); color: var(--color-text); font: inherit; font-size: var(--text-sm);
  cursor: pointer; transition: border-color .15s, background .15s;
}
.opt:hover { border-color: var(--color-primary); }
.opt.active { border-color: var(--color-accent); background: var(--color-accent-soft); font-weight: 600; }
.opt.soldout { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.card-soldout { color: var(--color-badge); font-size: var(--text-xs); font-weight: 600; margin-left: 8px; letter-spacing: .02em; }
#modalAdd:disabled { opacity: .55; cursor: not-allowed; }

/* gift box option */
.modal-gift { margin: 14px 0 4px; padding: 12px 14px; border: 1px solid #e3ded4; border-radius: 10px; background: #faf8f4; }
.gift-title { margin: 0 0 8px; font-weight: 700; color: #2e4a33; font-size: 0.95rem; }
.gift-opts { display: flex; flex-direction: column; gap: 8px; }
.gift-opt { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border: 1px solid #e3ded4; border-radius: 8px; background: #fff; cursor: pointer; font-size: 0.85rem; line-height: 1.45; color: #4a4438; transition: border-color 0.15s; }
.gift-opt:hover { border-color: #b9b1a2; }
.gift-opt:has(input:checked) { border-color: #a9502f; background: #fdf7f3; }
.gift-opt input { width: 16px; height: 16px; margin-top: 2px; flex: none; accent-color: #a9502f; cursor: pointer; }
.gift-opt strong { color: #2e4a33; }
.gift-opt .gift-price { font-style: normal; color: #a9502f; }
.gift-hint { margin: 8px 0 0; font-size: 0.8rem; line-height: 1.45; color: #6b6459; }
.gift-photo { margin-top: 10px; }
.gift-photo img { width: 100%; max-width: 300px; border-radius: 10px; display: block; }

/* add-on upsell */
.upsell { max-width: 560px; display: block; }
.upsell-body { padding: 26px 26px 22px; }
.upsell-body h3 { margin: 0 0 6px; font-family: var(--font-display, inherit); color: #2e4a33; font-size: 1.35rem; }
.upsell-sub { margin: 0 0 16px; font-size: 0.9rem; color: #6b6459; }
.upsell-grid { display: flex; flex-direction: column; gap: 10px; max-height: 46vh; overflow-y: auto; padding-right: 4px; }
.addon-card { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid #e3ded4; border-radius: 10px; background: #fff; }
.addon-img { width: 58px; height: 58px; flex: none; border-radius: 8px; background: #f5f2ea; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.addon-img img { width: 100%; height: 100%; object-fit: cover; }
.addon-info { flex: 1; min-width: 0; }
.addon-name { margin: 0; font-weight: 600; font-size: 0.88rem; color: #2e4a33; }
.addon-price { margin: 2px 0 0; font-size: 0.82rem; color: #a9502f; font-weight: 600; }
.addon-note { color: #6b6459; font-weight: 400; }
.addon-btn { padding: 7px 16px; font-size: 0.85rem; flex: none; }

/* ---- collection tiles ---- */
.collection-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.col-tile { display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid #e3ded4; border-radius: 14px; overflow: hidden; cursor: pointer; padding: 0; font: inherit; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.col-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(46, 74, 51, 0.14); }
.col-tile-media { aspect-ratio: 16 / 10; overflow: hidden; background: #f2efe8; }
.col-tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.col-tile-body { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px 18px; }
.col-tile-name { font-family: 'Zodiak', serif; font-size: 1.22rem; font-weight: 700; color: #2e4a33; }
.col-tile-blurb { font-size: 0.88rem; color: #6b6459; line-height: 1.45; }
.col-tile-count { margin-top: 4px; font-size: 0.82rem; font-weight: 600; color: #a9502f; }
.col-back { margin: 0 0 18px; background: none; border: 1px solid #e3ded4; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 0.88rem; font-weight: 600; color: #2e4a33; cursor: pointer; }
.col-back:hover { background: #f2efe8; }
@media (max-width: 640px) { .collection-tiles { grid-template-columns: 1fr; gap: 14px; } }

/* Squatch Box feature */
.squatchbox { background: #f4f0e4; padding: clamp(var(--space-12), 7vw, var(--space-20)) clamp(var(--space-4), 4vw, var(--space-12)); }
[data-theme="dark"] .squatchbox { background: var(--color-surface-2); }
.squatchbox-inner { max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
.squatchbox-media { margin: 0; }
.squatchbox-media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block; }
.squatchbox-copy h2 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.squatchbox-lead { font-size: var(--text-md); color: var(--color-text-muted); margin-bottom: var(--space-5); max-width: 46ch; }
.squatchbox-list { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: var(--space-2); }
.squatchbox-list li { padding-left: 1.6em; position: relative; }
.squatchbox-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--color-accent); font-weight: 700; }
.squatchbox-price { margin-bottom: var(--space-6); color: var(--color-text-muted); }
.squatchbox-price strong { color: var(--color-text); }
.squatchbox-hint { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 860px) { .squatchbox-inner { grid-template-columns: 1fr; } .squatchbox-media { max-width: 520px; margin-inline: auto; } }
.squatchbox-callout { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--color-text-muted); max-width: 52ch; }
.squatchbox-callout a { color: var(--color-accent); font-weight: 600; white-space: nowrap; }

/* contact */
.contact { padding: var(--space-2xl, 64px) 24px; background: var(--color-bg-subtle, #f4f1ea); }
.contact-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-inner h2 { margin: 8px 0 12px; }
.contact-lines { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.contact-lines .btn { border: 1px solid var(--color-border, #e3ded4); }

/* shipping & returns */
.policy { padding: var(--space-2xl, 64px) 24px; }
.policy .contact-inner { text-align: left; }
.policy h2 { text-align: left; }
.policy .eyebrow { text-align: left; }
.policy-list { margin: 16px 0 20px; padding-left: 20px; display: grid; gap: 10px; }

.policy a, .contact a:not(.btn), .squatchbox-callout a, .site-footer a { color: var(--terracotta, #a9502f); }
.contact-lines .btn { text-decoration: none; }
.contact-lines .btn:not(.btn-primary) { color: var(--forest, #2e4a33); background: #fff; }

.contact a.btn-primary { color: #fff; background: var(--terracotta, #a9502f); }
