/* Honey B Ham — one token set for every page */
:root {
  --cream: #FFF8EA;
  --tan: #FBEFD3;
  --line: #EAD7B0;
  --line-strong: #D9BE87;
  --ink: #2F1B0E;
  --ink-soft: #5A3B22;
  --muted: #6B4A2A;
  --eyebrow: #8A5A2B;
  --red: #8E2B2A;
  --red-dark: #6A1D1C;
  --yellow: #F7C21A;
  --yellow-soft: #FCE7B8;
  --ok: #2F5E2A;
  --danger: #A12622;
  --display: "Zilla Slab", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 8px;
  --pill: 999px;
  --wrap: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.55 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band-tan { background: var(--tan); border-block: 1px solid var(--line); }
.band-red { background: var(--red); color: var(--yellow-soft); }
.band-red h2, .band-red h3 { color: var(--cream); }
.section { padding-block: 72px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow); }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 36em; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.half { flex: 1 1 420px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.section-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(30px, 4vw, 40px); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--pill); font: 700 16px/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-red { background: var(--red); color: var(--cream); }
.btn-red:hover { background: var(--red-dark); color: var(--cream); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #E8B30E; color: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* announcement + header */
.announce { background: var(--red); color: var(--yellow-soft); font-size: 15px; }
.announce .wrap { padding-block: 10px; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }
.announce strong { color: var(--yellow); }
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--cream); z-index: 21; }
.site-header .wrap { padding-block: 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 84px; height: 61px; object-fit: contain; }
.brand span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow); }
.nav { display: flex; align-items: center; gap: 6px 26px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; padding-block: 8px; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--yellow); text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--pill); background: var(--yellow); border: 0; font-weight: 700; cursor: pointer; }
.cart-btn .count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--red); color: var(--cream); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.menu-toggle { display: none; min-height: 44px; min-width: 44px; border: 1.5px solid var(--ink); border-radius: var(--pill); background: transparent; cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 8px max(20px, env(safe-area-inset-left, 0px)) 16px; }
  .nav.open { display: flex; }
  .brand span { display: none; }
}

/* hero */
.hero .wrap { padding-block: 56px 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; }
.hero-photo { position: relative; }
.hero-photo img, .photo-ph { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); background: var(--tan); }
.price-tag { position: absolute; left: -10px; bottom: -18px; background: var(--cream); border: 2px solid var(--ink); border-radius: 6px; padding: 10px 16px; transform: rotate(-3deg); display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.price-tag small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--eyebrow); }
.price-tag b { font: 700 28px/1 var(--display); font-variant-numeric: tabular-nums; }

/* product tiles */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; background: #FFFBF2; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: visible; }
.tile-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--tan); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tile:hover .tile-media img { transform: scale(1.03); }
.tile-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.tile-name { font: 700 21px/1.15 var(--display); color: var(--ink); text-decoration: none; }
.tile-name:hover { color: var(--red); }
.tile-price { font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.tile-price s { color: var(--muted); font-weight: 400; margin-left: 6px; }
.tile-sub { font-size: 14px; color: var(--muted); }
.ribbons { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.ribbon { background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 4px 10px; border-radius: var(--pill); }
.tile-action { margin-top: auto; padding-top: 10px; }
.tile-action .btn { width: 100%; }
.tile-error { font-size: 13px; color: var(--danger); margin-top: 6px; }
.skeleton { background: linear-gradient(90deg, var(--tan) 0%, #FFF3D9 50%, var(--tan) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: 6px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } .tile:hover .tile-media img { transform: none; } }
.empty { padding: 40px 24px; text-align: center; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); color: var(--ink-soft); display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* quick-add picker (anchored in the tile) */
.qa-panel { position: absolute; left: -1px; right: -1px; bottom: -1px; z-index: 5; background: var(--cream); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 16px; box-shadow: 0 12px 30px rgba(47,27,14,.18); max-height: 520px; overflow: auto; }
.qa-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.qa-head b { font: 700 18px/1.2 var(--display); }
.icon-btn { min-width: 40px; min-height: 40px; border: 0; background: transparent; cursor: pointer; font-size: 22px; line-height: 1; border-radius: var(--pill); }
.icon-btn:hover { background: var(--tan); }
.qa-scrim { display: none; }
@media (max-width: 767px) {
  .qa-scrim { display: block; position: fixed; inset: 0; background: rgba(47,27,14,.45); z-index: 40; }
  .qa-panel { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 41; border-radius: 14px 14px 0 0; max-height: 80vh; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

/* option picker */
.picker { display: flex; flex-direction: column; gap: 14px; }
.picker fieldset { border: 0; padding: 0; margin: 0; }
.picker legend, .picker .field-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; display: block; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 40px; padding: 6px 14px; border-radius: var(--pill); border: 1.5px solid var(--line-strong); background: #FFFDF7; cursor: pointer; font-size: 15px; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--cream); }
.pill[disabled] { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.picker textarea, .field input, .field textarea, .field select { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: #FFFDF7; border: 1.5px solid var(--line-strong); border-radius: 6px; padding: 10px 12px; }
.picker .count { float: right; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.buy-row { display: flex; gap: 10px; align-items: stretch; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--pill); }
.stepper button { min-width: 44px; min-height: 44px; border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.stepper button[disabled] { opacity: .35; cursor: not-allowed; }
.stepper span { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; }
.reason { font-size: 14px; color: var(--muted); }
.form-error { font-size: 14px; color: var(--danger); }
.form-ok { font-size: 14px; color: var(--ok); font-weight: 600; }

/* filter panel */
.shop-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.filters { flex: 0 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.results { flex: 999 1 560px; min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.toolbar .count { color: var(--muted); font-variant-numeric: tabular-nums; }
.toolbar select { font: 600 15px var(--body); min-height: 44px; padding: 0 12px; border-radius: var(--pill); border: 1.5px solid var(--line-strong); background: #FFFDF7; color: var(--ink); }
.filter-group { border-top: 1px solid var(--line); padding-block: 12px; }
.filter-group > summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
.filter-group > summary::after { content: "+"; font-size: 20px; color: var(--muted); }
.filter-group[open] > summary::after { content: "−"; }
.filter-body { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; }
.check { display: flex; gap: 10px; align-items: center; min-height: 32px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.price-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.price-inputs input, .search-input { width: 100%; font: 400 15px var(--body); min-height: 44px; padding: 0 12px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: #FFFDF7; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px; border-radius: var(--pill); background: var(--tan); border: 1px solid var(--line-strong); cursor: pointer; font-size: 14px; }
.cat-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cat-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--pill); border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.cat-links a:hover, .cat-links a[aria-current="page"] { background: var(--red); border-color: var(--red); color: var(--cream); }
.dim { opacity: .55; transition: opacity .2s; }

/* product page */
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; padding-top: 24px; }
.crumbs a { color: var(--muted); }
.pdp { display: flex; flex-wrap: wrap; gap: 48px; padding-block: 24px 72px; align-items: flex-start; }
.pdp-gallery { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pdp-main { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--tan); }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--tan); }
.thumbs button[aria-pressed="true"] { border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-buy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; }
.pdp-buy h1 { font-size: clamp(32px, 4vw, 44px); }
.pdp-price { font: 700 28px/1 var(--display); color: var(--red); font-variant-numeric: tabular-nums; }
.pdp-price s { font: 400 20px var(--body); color: var(--muted); margin-left: 8px; }
.rich p { margin: 0 0 10px; }
.rich { color: var(--ink-soft); }
@media (max-width: 767px) {
  .pdp-main { max-height: 45vh; aspect-ratio: auto; height: 45vh; }
  .pdp-buy { position: static; }
  .pdp { gap: 24px; }
}

/* cart drawer */
.drawer-scrim { position: fixed; inset: 0; background: rgba(47,27,14,.45); z-index: 50; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--cream); z-index: 51; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(47,27,14,.25); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 26px; }
.drawer-body { flex: 1; overflow: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 16px; }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
.line img, .line .ph { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; background: var(--tan); }
.line-name { font-weight: 700; color: var(--ink); text-decoration: none; }
.line-desc { font-size: 13px; color: var(--muted); }
.line-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; }
.line-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.line-price s { color: var(--muted); font-weight: 400; margin-right: 6px; }
.link-btn { border: 0; background: none; padding: 4px 0; color: var(--red); text-decoration: underline; cursor: pointer; font-size: 14px; min-height: 32px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-variant-numeric: tabular-nums; }
.totals .grand { font-weight: 800; font-size: 19px; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }
.note-small { font-size: 13px; color: var(--muted); }
.mini-form { display: flex; gap: 8px; }
.mini-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: #FFFDF7; font: 400 15px var(--body); }
.drawer details summary { cursor: pointer; font-weight: 600; font-size: 14px; min-height: 32px; display: flex; align-items: center; }

/* steps + story + footer */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps .num { font: 700 48px/1 var(--display); color: var(--yellow); }
.fav-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fav-card { text-decoration: none; color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: var(--radius); padding: 18px; background: #FFFBF2; display: flex; flex-direction: column; gap: 6px; }
.fav-card:hover { border-color: var(--red); color: var(--ink); }
.fav-card b { font: 700 21px/1.2 var(--display); }
.fav-card span { font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.site-footer { background: var(--ink); color: var(--yellow-soft); }
.site-footer .wrap { padding-block: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.site-footer h3 { font-size: 13px; font-family: var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.site-footer a { color: var(--cream); }
.site-footer .fine { grid-column: 1 / -1; font-size: 14px; color: #CDB48C; border-top: 1px solid #4A2F1C; padding-top: 18px; }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.copy-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* phone links: keep auto-detected numbers readable on every background */
a[href^="tel:"], a[x-apple-data-detectors] { color: inherit; font-weight: 700; text-decoration: none; }
.band-red a[href^="tel:"], .band-red a[x-apple-data-detectors], .site-footer a[href^="tel:"], .site-footer a[x-apple-data-detectors] { color: var(--yellow) !important; }
