/* =========================================================
   Cherry & Co — design tokens
   Structure adapted from the idus DESIGN.md (oh-my-design.kr):
   flat surfaces, one action colour, 2px buttons, 6px cards,
   36px chips, system font, grey text ladder.
   Palette: black + warm cream. The logo carries the colour;
   the site stays neutral so photos and products stand out.
   ========================================================= */
:root {
  /* brand */
  --accent: #1a1a1a;          /* the one action colour (black) */
  --cream: #f7f3ec;           /* warm tinted surface */
  --cream-deep: #efe8dc;      /* chip icons, image wells on cream */
  --cream-line: #e3dacb;      /* outlines on cream */
  --cherry: #bc2226;          /* logo cherry: small accents only, never buttons or large areas */
  --leaf: #377003;            /* leaf green, rarely used */
  --sale: var(--cherry);      /* discount rate only */

  /* neutrals */
  --ink: #111111;
  --text: #333333;
  --text-muted: #666666;
  --text-faint: #999999;
  --border-strong: #acacac;
  --chip-border: #e1e1e1;
  --divider: #e5e7eb;
  --surface: #f5f5f5;
  --canvas: #ffffff;

  /* radius */
  --r-btn: 2px;
  --r-card: 6px;
  --r-chip: 36px;
  --r-pill: 1000px;

  /* type */
  --font: -apple-system, "system-ui", "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", helvetica, sans-serif;
  --font-brand: Georgia, "Times New Roman", serif;

  /* layout */
  --container: 1200px;
  --gutter: 16px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--canvas);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--cherry); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.t-section { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.t-caption { font-size: 12px; color: var(--text-faint); }
.t-muted { color: var(--text-muted); }

/* ---------- buttons (idus pattern: overlay on hover/press) ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 16px;
  border: 1px solid transparent; border-radius: var(--r-btn);
  font-size: 16px; font-weight: 700; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  background: var(--canvas); color: var(--text);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: currentColor; opacity: 0; transition: opacity .15s;
}
.btn-primary::before { background: #fff; }
.btn:hover::before { opacity: .1; }
.btn:active::before { opacity: .2; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { border-color: var(--border-strong); }
.btn-outline { border-color: var(--accent); color: var(--accent); height: 40px; font-size: 14px; }
.btn-lg { height: 52px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- chips ---------- */
/* Chips: white pills with a warm outline; the selected one turns black with a cherry dot */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px;
  border: 1px solid var(--cream-line); border-radius: var(--r-pill);
  background: var(--canvas); color: var(--ink);
  font-size: 14px; white-space: nowrap; cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-selected { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.chip[aria-pressed="true"]::before, .chip.is-selected::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cherry); }
.chip-icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 16px; background: var(--cream-deep);
}
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.chip-row::-webkit-scrollbar { display: none; }

.badge { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: var(--r-pill); background: var(--surface); color: var(--text-muted); font-size: 10px; }

/* =========================================================
   Header
   ========================================================= */
.announce {
  background: var(--ink); color: #fff; font-size: 12px;
  padding: 8px 0; overflow: hidden; white-space: nowrap;
}
.announce-track { display: flex; width: max-content; animation: announce-scroll 40s linear infinite; }
.announce:hover .announce-track, .announce:focus-within .announce-track { animation-play-state: paused; }
.announce-group { display: flex; }
.announce-group span { padding: 0 28px; position: relative; }
.announce-group span::after { content: ""; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--cherry); }
/* 4 identical groups: moving one group-width (25%) loops seamlessly */
@keyframes announce-scroll { from { transform: translateX(0); } to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
  .announce-group[aria-hidden] { display: none; }
  .announce { text-align: center; }
  .announce-track { margin: 0 auto; }
}
.announce a { text-decoration: underline; text-underline-offset: 2px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--canvas); border-bottom: 1px solid var(--divider); }
.header-main { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }

.search {
  flex: 1; max-width: 440px; margin-left: 24px;
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 14px;
  border: 2px solid var(--ink); border-radius: var(--r-btn);
}
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; min-width: 0; }
.search svg { width: 20px; height: 20px; flex-shrink: 0; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 52px; height: 52px; padding: 0 6px; border: 0; background: none;
  font-size: 11px; color: var(--text);
}
.icon-btn svg { width: 24px; height: 24px; margin-bottom: 2px; }
.cart-count {
  position: absolute; top: 4px; right: 8px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill);
  background: var(--cherry); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-count[hidden] { display: none; }

.nav-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tabs a {
  display: flex; align-items: center; height: 48px; padding: 0 12px;
  font-size: 16px; color: var(--text-muted); white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav-tabs a:hover { color: var(--text); }
.nav-tabs a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--cherry); }
.nav-tabs a.is-accent { color: var(--cherry); font-weight: 700; }

.mobile-search-toggle { display: none; }
.mobile-search { display: none; padding: 0 0 12px; }
.mobile-search .search { display: flex; max-width: none; margin: 0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { margin-top: 80px; background: #1a1614; color: rgba(255,255,255,.68); font-size: 13px; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 40px; }
.footer-brand p { margin-top: 14px; max-width: 320px; line-height: 1.6; }
.footer-brand .brand img { height: 40px; width: auto; }
.footer-social { margin-top: 16px; display: inline-flex; gap: 8px; align-items: center; color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-col summary { list-style: none; cursor: default; }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: .02em; }
.footer-col li + li { margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.pay-row { display: flex; align-items: center; gap: 12px; order: 2; }
.pay-label { font-size: 12px; color: rgba(255,255,255,.55); }
.pay-marks { display: flex; gap: 6px; }
.pay-marks svg { width: 44px; height: 29px; display: block; border-radius: 4px; }
.footer-legal { font-size: 12px; color: rgba(255,255,255,.5); order: 1; }

/* =========================================================
   Home
   ========================================================= */
.hero { position: relative; overflow: hidden; background: #2a2017; color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,14,8,.8) 0%, rgba(20,14,8,.6) 38%, rgba(20,14,8,0) 72%); }
.hero-inner { position: relative; z-index: 1; min-height: 520px; display: flex; flex-direction: column; justify-content: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { max-width: 560px; font-size: 48px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.hero p.lead { margin-top: 16px; max-width: 420px; font-size: 17px; color: rgba(255,255,255,.85); }
.hero-cta { margin-top: 28px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hero-link { color: #fff; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light::before { background: #000; }

.section { padding-top: 48px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head a { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.section-head a:hover { color: var(--ink); }
.section-sub { margin-top: 6px; font-size: 14px; color: var(--text-muted); }

.shortcuts { padding-top: 32px; }
/* category tiles: round photo + label. 6 across on desktop, swipe row on mobile */
.cat-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.cat-img { display: block; width: 100%; max-width: 112px; aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; background: var(--cream-deep); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cat-tile:hover .cat-img img { transform: scale(1.06); }
.cat-label { font-size: 14px; line-height: 1.3; color: var(--ink); }
.cat-tile:hover .cat-label { text-decoration: underline; text-underline-offset: 3px; }

/* product grid + card */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 16px; }
.product-card { position: relative; display: block; background: var(--canvas); }
.product-thumb { position: relative; aspect-ratio: 1/1; border-radius: var(--r-card); overflow: hidden; background: var(--surface); display: grid; place-items: center; }
.product-thumb svg { width: 72%; height: 92%; }
.product-thumb img, .pdp-main img, .pdp-thumbs img, .cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb img { transition: transform .4s ease; }
.product-card:hover .product-thumb img { transform: scale(1.03); }
.product-info { padding: 10px 2px 0; }
.product-maker { font-size: 12px; color: var(--text-faint); }
.product-name { margin-top: 2px; font-size: 14px; color: var(--text); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { margin-top: 4px; font-size: 16px; font-weight: 700; color: var(--text); display: flex; gap: 6px; align-items: baseline; }
.product-price .sale { color: var(--sale); }
.product-price .was { font-size: 12px; font-weight: 400; color: var(--text-faint); text-decoration: line-through; }
.wish {
  position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.9); display: grid; place-items: center;
}
.wish svg { width: 18px; height: 18px; }
.wish .i-on { display: none; }
.wish[aria-pressed="true"] .i-off { display: none; }
.wish[aria-pressed="true"] .i-on { display: block; color: var(--cherry); }

/* find us */
.visit { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; align-items: stretch; }
.visit-info { display: flex; flex-direction: column; justify-content: center; }
.visit-sub { margin-top: 8px; color: var(--text-muted); max-width: 360px; }
.visit-list { margin: 20px 0 24px; display: grid; gap: 12px; }
.visit-list li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; }
.visit-list svg { flex: none; width: 20px; height: 20px; color: var(--cherry); }
.visit-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.visit-map { border-radius: var(--r-card); overflow: hidden; min-height: 340px; background: var(--cream-deep); }
.visit-map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* reviews */
.star1 { display: inline-flex; color: var(--ink); }
.star1 svg { width: 13px; height: 13px; }
.product-rating { margin-top: 4px; display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-faint); }
.product-rating b { color: var(--ink); font-weight: 700; }
.pdp-stars { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.pdp-stars b, .rev-avg b { color: var(--ink); }
.pdp-stars:hover span { text-decoration: underline; }
.pdp-reviews { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--divider); max-width: 760px; }
.pdp-reviews-head { display: flex; align-items: center; gap: 8px; }
.rev-avg { margin-top: 10px; padding-bottom: 8px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
.rev-avg .stars svg { width: 18px; height: 18px; }
.rev { padding: 20px 0; border-bottom: 1px solid var(--divider); display: grid; gap: 8px; }
.rev-empty { margin-top: 12px; color: var(--text-muted); }
.stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; vertical-align: middle; }
.stars-bg, .stars-fg { display: flex; }
.stars svg { flex: none; width: 16px; height: 16px; margin-right: 2px; }
.stars-bg { color: var(--cream-line); }
.stars-fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--ink); }
.rev-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rev-top time { font-size: 12px; color: var(--text-faint); }
.rev p { color: var(--text); line-height: 1.6; flex: 1; }
.rev-who { font-size: 13px; color: var(--text-muted); }
.rev-who b { color: var(--ink); }

.newsletter { background: var(--cream); color: var(--ink); border-radius: var(--r-card); padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter h3 { font-size: 22px; }
.newsletter p { margin-top: 6px; color: var(--text-muted); }
.newsletter form { display: flex; gap: 8px; flex: 1; max-width: 440px; }
.newsletter .btn-primary { background: var(--cherry); }
.newsletter input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--cream-line); background: #fff; border-radius: var(--r-btn); }

/* =========================================================
   Shop
   ========================================================= */
.page-head { padding: 32px 0 8px; }
.page-head h1 { font-size: 28px; color: var(--ink); }
.page-head p { margin-top: 6px; color: var(--text-muted); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0 20px; margin-bottom: 8px; }
.toolbar select {
  flex: none; height: 38px; padding: 0 38px 0 16px; border: 1px solid var(--cream-line); border-radius: var(--r-pill);
  background: var(--canvas) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%231a1a1a' d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
  -webkit-appearance: none; appearance: none; font-size: 14px; color: var(--ink); cursor: pointer;
}
.toolbar select:hover { border-color: var(--ink); }
.result-count { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.empty { padding: 64px 0; text-align: center; color: var(--text-muted); }

/* =========================================================
   Product detail
   ========================================================= */
.breadcrumb { padding: 16px 0; font-size: 12px; color: var(--text-faint); }
.breadcrumb a:hover { color: var(--text); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 64px); }
.pdp-main { aspect-ratio: 1/1; border-radius: var(--r-card); background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.pdp-main svg { width: 62%; height: 90%; }
.pdp-main.is-preview { background: var(--cream); }
.pdp-thumbs { margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pdp-thumbs button { position: relative; aspect-ratio: 1/1; border-radius: var(--r-card); border: 1px solid var(--chip-border); background: var(--surface); padding: 0; overflow: hidden; }
.pdp-thumbs button.is-preview { background: var(--cream); padding: 4px 4px 18px; }
.pdp-thumbs button span { position: absolute; left: 0; right: 0; bottom: 3px; font-size: 11px; color: var(--text-muted); }
.pdp-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.pdp-thumbs svg { width: 100%; height: 100%; }

.pdp-maker { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.pdp-maker img { width: 24px; height: 24px; border-radius: 50%; }
.pdp h1 { margin-top: 10px; font-size: 24px; line-height: 1.35; color: var(--ink); }
.pdp-rating { margin-top: 8px; font-size: 13px; color: var(--text-muted); }
.pdp-rating .stars { color: var(--ink); }
.pdp-price { margin-top: 16px; font-size: 26px; font-weight: 800; color: var(--ink); display: flex; gap: 10px; align-items: baseline; }
.pdp-price .sale { color: var(--sale); font-size: 22px; }
.pdp-price .was { font-size: 15px; font-weight: 400; color: var(--text-faint); text-decoration: line-through; }
.pdp-ship { margin-top: 12px; padding: 12px 14px; background: var(--surface); border-radius: var(--r-card); font-size: 13px; color: var(--text-muted); }
.pdp-ship b { color: var(--text); }

.opt { margin-top: 24px; }
.opt-label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.opt-label span { font-weight: 400; color: var(--text-muted); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--canvas); outline: 1px solid var(--chip-border); padding: 0; }
.swatch[aria-pressed="true"] { outline: 2px solid var(--ink); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice { min-height: 56px; padding: 8px 10px; border: 1px solid var(--chip-border); border-radius: var(--r-btn); background: var(--canvas); text-align: left; }
.choice b { display: block; font-size: 14px; color: var(--ink); }
.choice small { font-size: 12px; color: var(--text-muted); }
.choice[aria-pressed="true"] { border-color: var(--ink); outline: 1px solid var(--ink); }
.field { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--r-btn); background: var(--canvas); font-size: 16px; }
.field:focus { outline: 0; border-color: var(--ink); }
textarea.field { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.field-hint { margin-top: 6px; font-size: 12px; color: var(--text-faint); display: flex; justify-content: space-between; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-btn); height: 40px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; font-size: 18px; }
.qty output { min-width: 36px; text-align: center; font-weight: 700; }

.pdp-total { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--divider); display: flex; justify-content: space-between; align-items: baseline; }
.pdp-total strong { font-size: 22px; color: var(--ink); }
.pdp-actions { margin-top: 16px; display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.pdp-notes { margin-top: 32px; border-top: 1px solid var(--divider); }
.pdp-notes details { border-bottom: 1px solid var(--divider); }
.pdp-notes summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; }
.pdp-notes summary::-webkit-details-marker { display: none; }
.pdp-notes summary::after { content: "+"; font-weight: 400; color: var(--text-muted); }
.pdp-notes details[open] summary::after { content: "−"; }
.pdp-notes .body { padding: 0 0 16px; color: var(--text-muted); }
.pdp-notes .body li { margin-left: 18px; list-style: disc; }

.mobile-buy { display: none; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-btn);
  font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast a { text-decoration: underline; margin-left: 8px; }

/* =========================================================
   Cart
   ========================================================= */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--divider); }
.cart-thumb { width: 96px; height: 96px; border-radius: var(--r-card); background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.cart-thumb svg { width: 70%; height: 90%; }
.cart-item h3 { font-size: 15px; color: var(--ink); }
.cart-opts { margin-top: 4px; font-size: 12px; color: var(--text-muted); }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.cart-item-right .price { font-weight: 700; color: var(--ink); }
.link-btn { border: 0; background: none; padding: 0; font-size: 12px; color: var(--text-faint); text-decoration: underline; }
.summary { border: 1px solid var(--chip-border); border-radius: var(--r-card); padding: 24px; position: sticky; top: calc(var(--header-h) + 64px); }
.summary h2 { font-size: 18px; color: var(--ink); margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; color: var(--text-muted); }
.summary-row.total { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--divider); color: var(--ink); font-size: 18px; font-weight: 800; }
.free-ship { margin: 12px 0; font-size: 12px; color: var(--text-muted); }
.free-ship .bar { margin-top: 6px; height: 6px; background: var(--surface); border-radius: var(--r-pill); overflow: hidden; }
.free-ship .bar i { display: block; height: 100%; background: var(--cherry); }
.secure-note { margin-top: 12px; font-size: 12px; color: var(--text-faint); text-align: center; }

/* =========================================================
   Custom order form
   ========================================================= */
.form-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.aside-box { background: var(--cream); border-radius: var(--r-card); padding: 28px; }
.aside-box h3 { font-size: 18px; color: var(--ink); }
.aside-box li { margin-top: 12px; padding-left: 26px; position: relative; color: var(--text); }
.aside-box li::before { content: "🍒"; position: absolute; left: 0; }
.form-success { display: none; padding: 32px; border: 1px solid var(--chip-border); border-radius: var(--r-card); text-align: center; }
.form-success.is-on { display: block; }
.form-success h2 { font-size: 22px; color: var(--ink); }
.form-success p { margin-top: 8px; color: var(--text-muted); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero h1 { font-size: 40px; }
}

@media (max-width: 768px) {
  .visit { grid-template-columns: 1fr; gap: 20px; }
  .visit-map, .visit-map iframe { min-height: 260px; }
  .shortcuts { padding-top: 20px; padding-left: 0; padding-right: 0; }
  .cat-row {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 0 var(--gutter) 4px; scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  .cat-row::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 76px; scroll-snap-align: start; gap: 8px; }
  .cat-img { max-width: none; }
  .cat-label { font-size: 12px; }
  :root { --header-h: 56px; }
  body { font-size: 14px; }
  .brand img { height: 34px; width: auto; }
  .header-main > .search { display: none; }
  .mobile-search-toggle { display: flex; }
  .mobile-search.is-open { display: block; }
  .icon-btn { min-width: 44px; height: 44px; }
  .icon-btn .label { display: none; }
  .cart-count { top: 2px; right: 2px; }
  .nav-tabs a { height: 44px; font-size: 15px; padding: 0 10px; }

  .hero-inner { min-height: 460px; justify-content: flex-end; padding-top: 24px; padding-bottom: 32px; }
  .hero::after { background: linear-gradient(0deg, rgba(20,14,8,.8) 0%, rgba(20,14,8,.45) 45%, rgba(20,14,8,0) 75%); }
  .toolbar { flex-wrap: wrap; gap: 12px; padding-top: 8px; }
  .toolbar .chip-row { flex: 1 1 100%; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); scroll-padding-left: var(--gutter); }
  .toolbar select { margin-left: auto; height: 36px; font-size: 13px; }
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-cta .btn { width: 100%; }
  .hero-link { text-align: center; }

  .section { padding-top: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 10px; }
  .newsletter { padding: 24px; }
  .newsletter form { max-width: none; width: 100%; }

  .pdp { grid-template-columns: 1fr; gap: 20px; }
  .pdp-gallery { position: static; }
  .pdp-actions { display: none; }
  .mobile-buy {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--canvas); border-top: 1px solid var(--divider);
  }
  .has-mobile-buy .site-footer { padding-bottom: 76px; }
  .has-mobile-buy .toast { bottom: 88px; }
  .choice-grid { grid-template-columns: 1fr 1fr 1fr; }

  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-thumb { width: 80px; height: 80px; }
  .cart-item-right { grid-column: 2; flex-direction: row; align-items: center; }

  .form-layout { grid-template-columns: 1fr; gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer { margin-top: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; padding: 36px 0 8px; }
  .footer-brand { padding-bottom: 24px; }
  .footer-col { border-top: 1px solid rgba(255,255,255,.12); }
  .footer-col summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
  .footer-col summary::after { content: "+"; font-size: 18px; color: rgba(255,255,255,.6); }
  .footer-col[open] summary::after { content: "−"; }
  .footer-col h4 { margin: 0; font-size: 14px; }
  .footer-col ul { padding-bottom: 18px; }
  .footer-col li + li { margin-top: 12px; }
  .footer-col a { display: inline-block; padding: 2px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 20px; }
  .pay-row { order: 1; }
  .footer-legal { order: 2; line-height: 1.6; }
}

@media (max-width: 380px) {
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 28px; }
}
