/* =========================================================
   Siri Food Farms — storefront styles
   Palette is sampled from the logo: honey background, amber hive, bark-brown lettering.
   ========================================================= */
:root {
  --honey: #F5BE6E;        /* logo background */
  --honey-soft: #FAD9A0;
  --amber: #E9831F;        /* hive */
  --amber-deep: #D57912;
  --comb: #B0682B;         /* hive shading */
  --bark: #601A00;         /* wordmark */
  --ink: #3E1100;          /* body text */
  --muted: #7A4A2A;
  --wax: #FFF6E2;          /* page */
  --wax-2: #FBEBC9;
  --paper: #FFFBF3;        /* cards, inputs */
  --line: #EBD3A4;
  --ok: #2F5A1C;
  --danger: #A32411;
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34zM28 100L0 84V66l28 16 28-16v18z' fill='none' stroke='%23601A00' stroke-opacity='.09' stroke-width='1.5'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--wax); color: var(--ink); font: 400 1.0625rem/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--bark); text-underline-offset: 3px; }
a:hover { color: var(--amber-deep); }
h1, h2, h3 { font-family: var(--f-display); color: var(--bark); line-height: 1.12; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 .8em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bark); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; min-height: 46px; border: 2px solid var(--amber); background: var(--amber); color: var(--bark); border-radius: 12px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; line-height: 1.1; }
.btn:hover { background: var(--bark); border-color: var(--bark); color: var(--honey-soft); }
.btn-dark { background: var(--bark); border-color: var(--bark); color: var(--honey-soft); }
.btn-dark:hover { background: var(--amber); border-color: var(--amber); color: var(--bark); }
.btn-ghost { background: transparent; border-color: var(--bark); color: var(--bark); }
.btn-ghost:hover { background: var(--bark); color: var(--honey-soft); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: .95rem; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--amber); border-color: var(--amber); color: var(--bark); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--bark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 500; }
.link-btn:hover { color: var(--amber-deep); }
.link-btn.danger { color: var(--danger); }

/* ---------- Header ---------- */
.announce { background: var(--bark); color: var(--honey-soft); text-align: center; font-size: .92rem; padding: 7px 16px; }
.announce p { margin: 0; }
.site-head { background: var(--wax); border-bottom: 1px solid var(--line); z-index: 40; }
.head-row { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bark); }
.brand img { height: 42px; width: auto; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; letter-spacing: .04em; }
.brand-word span { font-size: .62rem; font-weight: 500; letter-spacing: .34em; margin-top: 3px; padding-left: 2px; }
.search { display: flex; max-width: 520px; width: 100%; justify-self: center; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.search:focus-within { border-color: var(--amber); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 6px 11px 20px; outline: none; }
.search button { border: 0; background: transparent; color: var(--bark); padding: 0 18px; cursor: pointer; }
.head-actions { display: flex; gap: 6px; }
.head-actions a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 10px; color: var(--bark); text-decoration: none; font-size: .8rem; font-weight: 500; border-radius: 10px; }
.head-actions a:hover { background: var(--wax-2); }
.head-actions svg { fill: none; stroke: currentColor; stroke-width: 2; }
.head-actions .lbl { max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.head-actions a:first-child svg { fill: none; }
.badge { position: absolute; top: 0; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; background: var(--amber); color: var(--bark); border-radius: 10px; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.cat-nav { border-top: 1px solid var(--line); background: var(--wax); }
.cat-row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-row a { flex: none; padding: 12px 14px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; border-bottom: 3px solid transparent; }
.cat-row a:hover { color: var(--amber-deep); }
.cat-row a.on { border-bottom-color: var(--amber); color: var(--bark); font-weight: 600; }
@media (min-width: 900px) { .site-head { position: sticky; top: 0; } }
@media (max-width: 820px) {
  .head-row { grid-template-columns: 1fr auto; gap: 10px 12px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .head-actions .lbl { display: none; }
  .brand-word b { font-size: 1.6rem; }
}

/* ---------- Flash & toast ---------- */
.flashes { padding-top: 16px; display: grid; gap: 8px; }
.flash { margin: 0; padding: 12px 16px; border-radius: 12px; border: 1.5px solid; font-weight: 500; }
.flash-success { background: #EAF3DC; border-color: #B9D69A; color: var(--ok); }
.flash-error { background: #FBE4DE; border-color: #E9A99B; color: var(--danger); }
.flash-info { background: var(--wax-2); border-color: var(--line); color: var(--bark); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 24px); background: var(--bark); color: var(--honey-soft); padding: 12px 20px; border-radius: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; max-width: calc(100% - 32px); display: flex; gap: 14px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast.err { background: var(--danger); color: #fff; }
.toast a { color: #fff; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--honey); background-image: var(--hex); background-size: 56px 100px; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.hero-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: clamp(340px, 42vw, 480px); display: grid; align-items: center; overflow: hidden; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; padding: 40px 0 64px; }
.slide-copy { max-width: 560px; }
.slide.has-photo .slide-in { grid-template-columns: 1fr; }
.slide.has-photo .slide-copy { background: var(--honey); padding: 28px 32px; border-radius: 20px; }
.slide-title { font-weight: 800; font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -.015em; margin-bottom: 16px; text-wrap: balance; }
.slide-sub { font-size: 1.2rem; max-width: 30ch; margin-bottom: 26px; }
.slide-art { justify-self: end; }
.slide-art img { width: clamp(220px, 32vw, 400px); height: auto; }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 18px; margin-inline: auto; display: flex; align-items: center; gap: 12px; }
.hero-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--bark); background: transparent; color: var(--bark); display: grid; place-items: center; cursor: pointer; }
.hero-btn:hover { background: var(--bark); color: var(--honey-soft); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--bark); background: transparent; padding: 0; cursor: pointer; }
.hero-dots button[aria-selected="true"] { background: var(--bark); }
@media (max-width: 760px) {
  .slide-in { grid-template-columns: 1fr; padding: 32px 0 72px; }
  .slide-art { display: none; }
}

/* ---------- Assurance strip ---------- */
.assurance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 40px 0; }
.assure h2 { font-size: 1.12rem; margin: 12px 0 6px; }
.assure p { color: var(--muted); font-size: .98rem; margin: 0; }
.hex { display: block; width: 30px; height: 34px; background: var(--amber); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@media (max-width: 900px) { .assurance { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .assurance { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Sections & grids ---------- */
.section { padding: 28px 0 44px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
.link-more { font-weight: 500; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 16px; }
.cat-tile { position: relative; display: grid; justify-items: center; gap: 2px; padding: 14px 12px 18px; border-radius: 20px; background-color: var(--tile); background-image: var(--hex); background-size: 56px 100px; text-decoration: none; color: var(--bark); border: 2px solid transparent; transition: border-color .15s; text-align: center; }
.cat-tile:hover { border-color: var(--bark); color: var(--bark); }
.cat-art { display: block; }
.cat-art svg { width: 150px; height: 150px; }
.cat-tile.has-photo .cat-art { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; border: 3px solid var(--paper); box-shadow: 0 2px 10px rgba(96,26,0,.14); }
.cat-tile.has-photo .cat-art img { width: 100%; height: 100%; object-fit: cover; }
.cat-name { font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; line-height: 1.15; margin-top: 4px; }
.cat-count { font-size: .88rem; color: var(--muted); }

/* ---------- Seasonal / festival offer cards ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.promo-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; transition: border-color .15s; }
.promo-card:hover { border-color: var(--amber); }
.promo-card.festival { border-color: var(--comb); }
.promo-card.festival:hover { border-color: var(--bark); }
.promo-media { display: block; aspect-ratio: 400 / 260; background: var(--honey-soft); }
.promo-media img, .promo-media svg { width: 100%; height: 100%; object-fit: cover; }
.promo-body { padding: 16px 18px 20px; display: grid; gap: 6px; align-content: start; }
.promo-badge { justify-self: start; background: var(--comb); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; letter-spacing: .03em; }
.promo-body h3 { font-size: 1.3rem; }
.promo-body h3 a { text-decoration: none; }
.promo-body h3 a:hover { text-decoration: underline; }
.promo-body p { margin: 0; color: var(--muted); }
.promo-code { font-size: .92rem; }
.promo-code strong { color: var(--bark); letter-spacing: .04em; }
.promo-body .btn { justify-self: start; margin-top: 6px; }

/* ---------- Membership benefits ---------- */
.membership { padding-top: 8px; }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.benefit { background: var(--wax-2); border-radius: 18px; padding: 22px 20px; display: grid; gap: 8px; justify-items: start; }
.benefit-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--amber); color: var(--bark); display: grid; place-items: center; }
.benefit h3 { font-size: 1.1rem; }
.benefit p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Product card ---------- */
.pcard { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .15s; }
.pcard:hover, .pcard:focus-within { border-color: var(--amber); }
.pcard-media { display: block; aspect-ratio: 1 / 1; background-color: var(--tile, var(--honey)); background-image: var(--hex); background-size: 56px 100px; padding: 6%; }
.pcard-media svg, .pcard-media img { width: 100%; height: 100%; object-fit: contain; }
.pcard.is-out .pcard-media { filter: saturate(.55); opacity: .85; }
.tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.tag-best { background: var(--bark); color: var(--honey-soft); }
.tag-out { background: #fff; color: var(--danger); border: 1.5px solid var(--danger); }
.heart { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 251, 243, .92); border: 0; color: var(--bark); cursor: pointer; }
.heart svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.heart:hover { color: var(--amber-deep); }
.heart.on svg { fill: var(--amber); stroke: var(--bark); }
.heart.static { position: static; flex: none; border: 1.5px solid var(--line); background: var(--paper); }
.pcard-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.pcard-name { font-size: 1.2rem; font-weight: 700; }
.pcard-name a { text-decoration: none; }
.pcard-name a:hover { text-decoration: underline; }
.pcard-name a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.pcard-desc { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.sizes { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sizes li { font-size: .82rem; font-weight: 500; padding: 2px 10px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--wax); }
.sizes li.gone { text-decoration: line-through; color: var(--muted); }
.pcard-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard-foot .btn, .pcard-foot button { position: relative; z-index: 2; }
.price-from { font-size: 1.05rem; }
.price-from strong { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; color: var(--bark); }
.price-from small { color: var(--muted); font-size: .85rem; }
.price-from s, .pack-price s { color: var(--muted); font-size: .9rem; font-weight: 400; }
.heart { z-index: 3; }

/* ---------- Story band ---------- */
.story { background: var(--bark); color: var(--honey-soft); margin: 28px 0 20px; }
.story-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; padding: 56px 0; }
.story-art { background: var(--honey); background-image: var(--hex); background-size: 56px 100px; border-radius: 28px; padding: 36px; display: grid; place-items: center; }
.story-art img { width: min(320px, 100%); height: auto; }
.story h2 { color: var(--honey); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.story p { max-width: 52ch; }
.story .btn-dark { background: var(--honey); border-color: var(--honey); color: var(--bark); margin-top: 8px; }
.story .btn-dark:hover { background: var(--amber); border-color: var(--amber); }
@media (max-width: 820px) { .story-in { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; } .story-art { max-width: 340px; } }

/* ---------- Listing ---------- */
.page-head { padding: 30px 0 12px; }
.page-head.tight { padding-bottom: 0; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.lead { color: var(--muted); font-size: 1.12rem; margin-top: 8px; max-width: 60ch; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 18px; }
.chip { padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--paper); font-weight: 500; font-size: .95rem; }
.chip:hover { border-color: var(--amber); }
.chip.on { background: var(--bark); border-color: var(--bark); color: var(--honey-soft); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 12px 0 18px; }
.toolbar .count { margin: 0 auto 0 0; color: var(--muted); }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--bark); }
.sort { display: inline-flex; align-items: center; gap: 8px; }
.sort select { padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); }
.pager { display: flex; gap: 6px; justify-content: center; margin: 36px 0 12px; flex-wrap: wrap; }
.pager a { min-width: 42px; padding: 9px 14px; text-align: center; border: 1.5px solid var(--line); border-radius: 10px; text-decoration: none; background: var(--paper); }
.pager a.on { background: var(--bark); color: var(--honey-soft); border-color: var(--bark); }
.listing { padding-bottom: 56px; }
.empty { text-align: center; padding: 56px 16px; display: grid; justify-items: center; gap: 8px; }
.empty h1, .empty h2 { font-size: 1.8rem; }
.empty p { color: var(--muted); max-width: 44ch; }
.empty .btn { margin-top: 10px; }
.empty.small { padding: 28px 16px; justify-items: start; text-align: left; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 16px 0 40px; align-items: start; }
.pdp-gallery { position: sticky; top: 130px; }
.pdp-media { aspect-ratio: 1 / 1; border-radius: 26px; background-color: var(--tile, var(--honey)); background-image: var(--hex); background-size: 56px 100px; display: grid; place-items: center; padding: 7%; overflow: hidden; }
.pdp-media svg, .pdp-media img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { list-style: none; display: flex; gap: 10px; padding: 0; margin: 12px 0 0; }
.thumbs button { width: 72px; height: 72px; padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--bark); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pdp-title h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; }
.buy { margin: 24px 0 8px; display: grid; gap: 22px; }
.packs { border: 0; padding: 0; margin: 0; min-width: 0; }
.packs legend, .qty-label { font-weight: 600; font-size: 1rem; margin-bottom: 10px; padding: 0; }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 10px; }
.pack { position: relative; display: block; cursor: pointer; }
.pack input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pack-face { display: grid; gap: 2px; align-content: start; height: 100%; padding: 14px 14px 12px; background: var(--paper); border: 2px solid var(--line); border-radius: 16px; transition: border-color .12s, background .12s; }
.pack:hover .pack-face { border-color: var(--amber); }
.pack input:checked + .pack-face { border-color: var(--bark); background: var(--honey-soft); }
.pack input:checked + .pack-face::after { content: ""; position: absolute; top: 10px; right: 10px; width: 20px; height: 22px; background: var(--bark); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.pack input:checked + .pack-face::before { content: ""; position: absolute; top: 17px; right: 17px; width: 4px; height: 8px; border: solid var(--honey-soft); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -1px); z-index: 1; }
.pack input:focus-visible + .pack-face { outline: 3px solid var(--amber); outline-offset: 2px; }
.pack-name { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; color: var(--bark); line-height: 1.1; }
.pack-price { font-weight: 600; font-size: 1.02rem; }
.pack-per { font-size: .82rem; color: var(--muted); }
.pack-note { font-size: .82rem; font-weight: 600; margin-top: 4px; }
.pack-note.low { color: var(--danger); }
.pack-note.out { color: var(--muted); }
.pack.is-out { cursor: not-allowed; }
.pack.is-out .pack-face { background: var(--wax-2); border-style: dashed; opacity: .7; }
.pack.is-out .pack-name { text-decoration: line-through; }
.qty-block { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.qty-block .qty-label { margin: 0; flex-basis: 100%; }
.stepper { display: inline-flex; align-items: stretch; border: 2px solid var(--bark); border-radius: 12px; overflow: hidden; background: var(--paper); }
.stepper button { width: 46px; border: 0; background: transparent; font-size: 1.4rem; line-height: 1; color: var(--bark); cursor: pointer; }
.stepper button:hover:not(:disabled) { background: var(--honey-soft); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper input { width: 60px; border: 0; border-inline: 2px solid var(--bark); text-align: center; font-weight: 600; font-size: 1.1rem; padding: 10px 0; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-hint { font-size: .92rem; color: var(--muted); }
.qty-hint.warn { color: var(--danger); font-weight: 500; }
.total-box { background: var(--wax-2); border-radius: 16px; padding: 14px 18px; }
.total-main { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.total-label { font-weight: 600; }
.total-main strong { font-family: var(--f-display); font-size: 2.2rem; font-weight: 800; color: var(--bark); line-height: 1; }
.total-sub { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 180px; }
.perks { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: .96rem; }
.perks li { padding-left: 24px; position: relative; }
.perks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 12px; height: 13px; background: var(--amber); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.pdp-desc { margin-top: 28px; padding-top: 22px; border-top: 1.5px solid var(--line); max-width: 62ch; }
.pdp-desc h2 { font-size: 1.35rem; margin-bottom: 8px; }
.facts { margin: 22px 0 0; display: grid; gap: 8px; font-size: .96rem; }
.facts div { display: flex; gap: 12px; }
.facts dt { width: 110px; color: var(--muted); flex: none; }
.facts dd { margin: 0; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 24px; } .pdp-gallery { position: static; } }

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-bottom: 56px; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cline { display: grid; grid-template-columns: 96px 1fr auto auto; grid-template-areas: "media main qty total" "media main remove total"; gap: 4px 20px; align-items: center; padding: 14px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; }
.cline.has-issue { border-color: var(--danger); }
.cline-media { grid-area: media; aspect-ratio: 1; border-radius: 12px; background-color: var(--tile); background-image: var(--hex); background-size: 56px 100px; padding: 4px; display: block; }
.cline-media svg, .cline-media img { width: 100%; height: 100%; object-fit: contain; }
.cline-main { grid-area: main; min-width: 0; }
.cline-name { font-size: 1.15rem; font-weight: 700; }
.cline-name a { text-decoration: none; }
.cline-pack, .cline-unit { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.cline-pack strong { color: var(--bark); }
.issue { margin: 6px 0 0; color: var(--danger); font-weight: 500; font-size: .95rem; }
.cline-qty { grid-area: qty; }
.cline-total { grid-area: total; margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; min-width: 84px; text-align: right; }
.cline-remove { grid-area: remove; justify-self: center; }
.cline.simple { grid-template-columns: 1fr auto; grid-template-areas: "main total"; }
.back-link { margin-top: 18px; }
.summary { position: sticky; top: 130px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 22px; padding: 24px; }
.summary h2 { font-size: 1.4rem; margin-bottom: 14px; }
.totals { margin: 16px 0 6px; display: grid; gap: 8px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 500; }
.totals .disc dd { color: var(--ok); }
.totals .grand { border-top: 1.5px solid var(--line); padding-top: 12px; margin-top: 4px; }
.totals .grand dt { color: var(--ink); font-weight: 600; }
.totals .grand dd { font-family: var(--f-display); font-size: 1.6rem; font-weight: 800; color: var(--bark); }
.fine { font-size: .9rem; color: var(--muted); margin: 6px 0 14px; }
.ship-meter p { margin: 0 0 8px; font-size: .96rem; }
.meter { height: 10px; background: var(--wax-2); border-radius: 6px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--amber); border-radius: 6px; transition: width .3s; }
.coupon { display: flex; gap: 8px; margin-top: 16px; }
.coupon input { flex: 1; min-width: 0; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--wax); text-transform: uppercase; }
.coupon.applied { justify-content: space-between; align-items: center; background: #EAF3DC; border-radius: 10px; padding: 10px 14px; color: var(--ok); }
.coupon.applied p { margin: 0; }
.mini-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-lines li { display: flex; justify-content: space-between; gap: 14px; font-size: .98rem; }
.mini-lines em { font-style: normal; background: var(--wax-2); border-radius: 6px; padding: 0 6px; font-size: .88rem; }
.ml-qty { color: var(--muted); }
.co-block { border: 1.5px solid var(--line); background: var(--paper); border-radius: 20px; padding: 20px 22px 22px; margin: 0 0 20px; min-width: 0; display: grid; gap: 10px; }
.co-block.plain { border: 0; background: transparent; padding: 0; }
.co-block legend { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--bark); padding: 0 8px; margin-left: -8px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-face { display: grid; gap: 2px; padding: 14px 16px 14px 48px; border: 2px solid var(--line); border-radius: 14px; background: var(--wax); position: relative; }
.choice-face::before { content: ""; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border: 2px solid var(--bark); border-radius: 50%; background: var(--paper); }
.choice input:checked + .choice-face { border-color: var(--bark); background: var(--honey-soft); }
.choice input:checked + .choice-face::before { background: radial-gradient(var(--bark) 45%, var(--paper) 50%); }
.choice input:focus-visible + .choice-face { outline: 3px solid var(--amber); outline-offset: 2px; }
.choice-sub { color: var(--muted); font-size: .94rem; }
.pill { display: inline-block; font-size: .78rem; font-weight: 600; padding: 1px 10px; border-radius: 999px; background: var(--wax-2); border: 1px solid var(--line); vertical-align: 2px; }
.pill.on { background: var(--bark); color: var(--honey-soft); border-color: var(--bark); }
.note { background: var(--wax-2); border-radius: 12px; padding: 12px 16px; }
.ship-to { margin: 16px 0 0; font-size: .96rem; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 620px) {
  .cline { grid-template-columns: 76px 1fr; grid-template-areas: "media main" "qty total" "remove remove"; }
  .cline-total { text-align: right; }
  .cline-remove { justify-self: start; }
}

/* ---------- Forms & auth ---------- */
.form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; min-height: 48px; border: 1.5px solid #D9B97E; border-radius: 10px; background: var(--paper); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--amber); outline-offset: 0; border-color: var(--amber); }
.opt { font-weight: 400; color: var(--muted); font-size: .9em; }
.err { color: var(--danger); font-size: .92rem; margin: 6px 0 0; font-weight: 500; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row3 { display: grid; grid-template-columns: 1.2fr 1.4fr .8fr; gap: 16px; }
.check.def { align-self: end; padding-bottom: 12px; }
@media (max-width: 640px) { .row2, .row3 { grid-template-columns: 1fr; } }
.auth { display: grid; place-items: start center; padding: 40px 0 64px; }
.auth-card { width: min(480px, 100%); background: var(--paper); border: 1.5px solid var(--line); border-radius: 24px; padding: 32px; }
.auth-card.wide { width: min(680px, 100%); }
.auth-card.center { text-align: center; }
.auth-card h1 { font-size: 2rem; font-weight: 800; margin-bottom: 6px; }
.auth-card .form { margin-top: 20px; }
.alt { margin: 18px 0 0; text-align: center; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* ---------- Account ---------- */
.account { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding-bottom: 56px; }
.account h2 { font-size: 1.4rem; margin-bottom: 14px; }
.account-side { display: grid; gap: 32px; }
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { background: var(--wax-2); font-weight: 600; font-size: .92rem; }
.table tr:last-child td { border-bottom: 0; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: var(--wax-2); color: var(--bark); border: 1px solid var(--line); }
.status-ok { background: #F6E7C3; }
.status-ship { background: #E1EBF5; color: #1F4A75; border-color: #BFD3E8; }
.status-done { background: #E4F0D6; color: var(--ok); border-color: #B9D69A; }
.status-bad { background: #FBE4DE; color: var(--danger); border-color: #E9A99B; }
.addr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.addr-card { background: var(--paper); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.addr-card p { margin: 0 0 4px; }
.inline { display: flex; gap: 18px; margin-top: 8px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list strong { display: block; font-size: .9rem; color: var(--muted); font-weight: 500; }
.timeline { list-style: none; margin: 0 0 18px; padding: 0 0 0 22px; border-left: 3px solid var(--honey); display: grid; gap: 14px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: var(--amber); border: 3px solid var(--wax); }
.timeline span { color: var(--muted); margin-left: 8px; }
.timeline time { display: block; font-size: .88rem; color: var(--muted); }
.sub { font-size: 1.3rem; margin: 26px 0 14px; }
@media (max-width: 960px) { .account { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; }
  .table tr { padding: 10px 6px; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 4px 12px; }
  .table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); }
}

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #EBD3A4; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 52px 0 32px; }
.site-foot h2 { color: var(--honey); font-size: 1.1rem; margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: #EBD3A4; text-decoration: none; }
.site-foot a:hover { color: var(--honey); text-decoration: underline; }
.foot-mark { display: inline-grid; place-items: center; background: var(--honey); border-radius: 16px; padding: 10px 12px; margin-bottom: 12px; }
.foot-mark img { height: 44px; width: auto; }
.foot-name { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; color: var(--honey); margin-bottom: 6px; }
.foot-brand p:last-child { max-width: 34ch; font-size: .96rem; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(235, 211, 164, .25); padding: 18px 0 26px; font-size: .9rem; }
.foot-base p { margin: 0; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
