:root {
  color-scheme: light dark;
  --paper: #fffcf8;
  --card: #ffffff;
  --ink: #291b20;
  --plum: #481b30;
  --muted: #665760;
  --rule: #ded2cc;
  --serif: Georgia, 'Times New Roman', serif;
  font: 100%/1.5 Inter, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { background-color: var(--paper); color: var(--ink); }
/* Signal an authored dark-preference theme to Android WebView while keeping
   the storefront palette and native form controls light. */
@media (prefers-color-scheme: dark) {
  :root { background-color: var(--paper); color: var(--ink); }
  body { color-scheme: only light; }
  main { background-color: var(--paper); }
  .card-details { background-color: var(--card); color: var(--ink); }
}
body, h1, h2, h3, p { margin: 0; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid #a44065; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1220px, 90%); margin-inline: auto; }
.skip { position: fixed; top: -5rem; left: 1rem; background: white; padding: .75rem; z-index: 2; }
.skip:focus { top: .5rem; }
header { background: var(--paper); color: var(--plum); border-bottom: 1px solid var(--rule); }
.nav, .foot, .collection-bar, .filters, .card-meta, .buy, .bag, .countctl, .drawer-top, .selection-line { display: flex; align-items: center; }
.nav, .foot, .collection-bar, .card-meta, .buy, .drawer-top, .selection-line { justify-content: space-between; }
.nav { min-height: 76px; gap: 1rem; }
.logo { font: 600 2.9rem/.95 var(--serif); letter-spacing: -.085em; }
.logo span { color: #925a43; }
nav { display: flex; gap: 2rem; font-size: .94rem; }
nav a, .foot a { text-underline-offset: .35rem; }
nav a:hover, .foot a:hover { text-decoration: underline; }
.bag { gap: .65rem; border: 1px solid #815e6b; border-radius: 2rem; color: inherit; background: transparent; padding: .45rem .75rem .45rem 1rem; min-height: 44px; }
.bag:hover { background: #f4e8e4; }
.bag b { min-width: 1.6rem; border-radius: 50%; background: #f8e9da; color: #351825; text-align: center; font-size: .82rem; line-height: 1.6rem; }
.i-bag { display: inline-block; position: relative; width: 14px; height: 14px; border: 1.5px solid; border-radius: 2px; margin-top: 4px; }
.i-bag:before { content: ''; position: absolute; left: 3px; top: -6px; width: 5px; height: 6px; border: 1px solid; border-radius: 4px 4px 0 0; border-bottom: 0; }
.shop { padding-bottom: clamp(3rem,6vw,6rem); }
.shop-intro { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2.25rem,5vw,4.5rem) clamp(1.75rem,3.8vw,3.6rem); }
.kicker, .eyebrow { display: flex; align-items: center; gap: .7rem; font-size: .79rem; font-weight: 650; line-height: 1.45; text-transform: uppercase; letter-spacing: .13em; color: #79435a; }
.kicker span { width: 2.25rem; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(3.4rem,7vw,7rem); letter-spacing: -.075em; margin-top: .65rem; }
h1 em, h2 em { font-weight: 400; color: #7d4059; }
.intro-copy { color: var(--muted); line-height: 1.7; margin-bottom: .25rem; }
.collection-bar { padding: 1rem 0; gap: 1rem; border-top: 1px solid var(--rule); }
.collection-bar h2 { line-height: 1.3; font-family: inherit; font-size: 1rem; font-weight: 600; }
.filters { flex-wrap: wrap; gap: .4rem; }
.filters button { border: 1px solid transparent; border-radius: 2rem; padding: .55rem .85rem; color: var(--muted); background: transparent; font-size: .88rem; }
.filters button[aria-pressed=true] { background: #f0e5e6; color: var(--plum); border-color: #e5d7d7; }
.filters button:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.85rem,1.7vw,1.6rem); }
.flavor { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--rule); background: var(--card); }
.flavor img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; background: #eee6e0; }
.card-details { flex: 1; display: flex; flex-direction: column; padding: clamp(1rem,1.6vw,1.55rem); }
.card-meta { color: #795565; text-transform: uppercase; font-size: .75rem; font-weight: 650; letter-spacing: .13em; }
.flavor h3 { font-size: clamp(1.55rem,2.4vw,2.35rem); letter-spacing: -.055em; margin: .65rem 0 .5rem; }
.flavor p, .order p, dialog p { color: var(--muted); }
.flavor p { line-height: 1.55; margin-bottom: 1.2rem; }
.buy { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--rule); gap: .5rem; }
.buy strong { font-variant-numeric: tabular-nums; font-size: 1.12rem; }
.add, .button { background: var(--plum); border: 0; border-radius: 2rem; color: white; min-height: 44px; padding: .6rem 1.15rem; font-weight: 600; }
.add::before { content: '+'; margin-right: .45rem; font-weight: 400; }
.add:hover, .button:hover { background: #68334a; }
#catalog-note:not(:empty) { padding-top: 1rem; }
.brand-story { background: #faf3ef; color: var(--plum); }
.story-inner, .order { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 12%; padding-block: clamp(2.6rem,5.5vw,5.5rem); }
.story-inner .kicker { color: #79435a; }
.story-inner h2, .order h2 { font-size: clamp(2.5rem,4.3vw,4.6rem); letter-spacing: -.065em; margin: .7rem 0; }
.story-inner em { color: #7d4059; }
.story-inner>p { max-width: 30rem; font-size: 1.1rem; color: var(--muted); line-height: 1.7; }
.order p { margin-bottom: 1rem; }
.faq details { border-bottom: 1px solid var(--rule); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: .7rem 0 0; }
footer { border-top: 1px solid var(--rule); }
.foot { min-height: 96px; gap: 1rem; font-size: .88rem; }
dialog { border: 1px solid var(--rule); color: var(--ink); background: var(--card); padding: clamp(1.1rem,3vw,2rem); max-height: 91dvh; width: min(490px,94vw); border-radius: 16px; }
dialog::backdrop { background: #281620ad; }
body:has(dialog[open]) { overflow: hidden; }
dialog h2 { font-size: 2.25rem; letter-spacing: -.055em; margin: .5rem 0 1rem; }
dialog h3 { font-size: 1.65rem; margin-bottom: .5rem; }
.close { border: 0; background: transparent; color: var(--ink); font-size: 1.9rem; padding: 0 .4rem; }
dialog hr { border: 0; border-top: 1px solid var(--rule); margin: 1.3rem 0; }
.selection-line { gap: .75rem; margin: .8rem 0; }
.selection-line small { display: block; color: var(--muted); }
.countctl { gap: .7rem; }
.countctl button { border: 1px solid var(--rule); background: var(--paper); border-radius: 50%; width: 38px; height: 38px; font-size: 1.2rem; }
.subtotal { text-align: right; font-weight: 650; margin-top: 1rem; }
.textbtn { border: 0; background: transparent; color: var(--plum); text-decoration: underline; text-underline-offset: 4px; padding: .6rem 0; }
.pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
label { display: grid; gap: .3rem; margin: .7rem 0; font-size: .9rem; font-weight: 600; }
input, select, textarea { width: 100%; min-width: 0; padding: .65rem; border: 1px solid #baabba; border-radius: 6px; color: inherit; background: white; font-size: 1rem; }
textarea { resize: vertical; }
.fine { font-size: .82rem; margin: .7rem 0; }
.wide { width: 100%; }
#receipt strong { display: block; font-size: 1.55rem; margin: 1rem 0; }
#done { margin-top: 1rem; }
#toast:not(:empty) { position: fixed; bottom: 1.1rem; left: 50%; transform: translateX(-50%); width: max-content; max-width: 92vw; color: white; background: var(--plum); padding: .7rem 1.2rem; border-radius: 2rem; z-index: 2; }
button:disabled { opacity: .55; cursor: wait; }
@media(max-width: 820px) {
  .wrap { width: 93%; }
  .shop-intro { align-items: start; flex-direction: column; gap: .75rem; }
  .intro-copy br { display: none; }
}
@media(max-width: 700px) {
  .wrap { width: 90%; }
  .nav { min-height: 66px; }
  .nav nav { display: none; }
  .logo { font-size: 2.5rem; }
  .shop.wrap { width: calc(100% - 1.5rem); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
  .flavor { border-radius: 10px; }
  .collection-bar { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .filters button { min-height: 40px; }
  .card-details { padding: clamp(.625rem, 2.5vw, 1rem); }
  .card-meta { flex-wrap: wrap; gap: .1rem .35rem; letter-spacing: .045em; }
  .card-meta span { white-space: nowrap; }
  .flavor h3 { font-size: clamp(1.25rem, 5vw, 1.65rem); line-height: 1.1; margin: .4rem 0; }
  .flavor p { font-size: .9375rem; line-height: 1.35; margin-bottom: .35rem; }
  .flavor .stock-caption { margin: .2rem 0 .6rem; line-height: 1.25; }
  .buy { flex-wrap: wrap; padding-top: .5rem; gap: .35rem; }
  .buy strong { font-size: 1rem; }
  .buy .add { flex: 1 0 auto; min-height: 44px; padding: .45rem .55rem; font-size: .9375rem; }
  .buy .add::before { content: none; }
  .story-inner, .order { grid-template-columns: 1fr; gap: 1.4rem; }
  .foot { flex-wrap: wrap; padding-block: 1.5rem; }
  .foot>span { order: 3; width: 100%; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.stock-caption { margin: .5rem 0 .8rem; }
.stock-caption strong, .stock-caption small { display: block; }
.stock-caption strong { color: var(--plum); font-size: .92rem; }
.stock-caption small { color: var(--muted); line-height: 1.45; }
.ops main { padding-block: 3rem; }
.ops h1 { font-size: clamp(2.8rem,6vw,5.5rem); margin: .5rem 0 1.25rem; }
.ops h2 { font-size: clamp(1.65rem,3vw,2.4rem); margin: 0 0 .75rem; }
.stock-grid,.ops-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.stock-grid article,.ops-box { border:1px solid var(--rule); background:var(--card); border-radius:14px; padding:clamp(1rem,2.6vw,2rem); }
.stock-grid article strong { display:block; font: 2.6rem/1.3 var(--serif); color:var(--plum); }
.ops-box { margin-top:1rem; }
.ops-box p,.ops-row small,.stock-grid small { color:var(--muted); }
.ops-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.8rem 0; border-top:1px solid var(--rule); }
.ops-row small { display:block; overflow-wrap:anywhere; }
#lookup { display:flex; align-items:end; flex-wrap:wrap; gap:.5rem; margin:1rem 0; }
#lookup label { margin:0; }
#feedback { min-height:1.5rem; }
@media(max-width:700px){.stock-grid,.ops-fields{grid-template-columns:1fr}.stock-grid{gap:.5rem}.ops main{padding-block:2rem}}

.account-nav,.portal-tabs,.club { display:flex;align-items:center;gap:1rem;flex-wrap:wrap; }
.account-nav a { font-size:.94rem; }
.club { border-top:1px solid var(--rule);justify-content:space-between;padding-block:2rem 3rem; }
.club h2 { font-size:clamp(2rem,4vw,3rem);letter-spacing:-.05em; }
.club p { color:var(--muted);margin:.5rem 0; }
.club .button,.ops-box a.button { display:inline-block; margin-block:.4rem; }
.portal-tabs { padding-block:.8rem; }.portal-tabs a,.record summary { color:var(--plum); }
.record { border-top:1px solid var(--rule);padding:.85rem 0; }
.record summary { cursor:pointer; }.record summary span { margin-inline-start:.9rem; }
.record-body,.workflow-form { display:grid;gap:.5rem;margin:.8rem 0; }
.workflow-form { border-top:1px solid var(--rule);padding-top:.75rem; }
.workflow-form button,.ops-fields>button {align-self:end;justify-self:start;}
.preline {white-space:pre-line;}
label.opt {display:flex;align-items:center;gap:.6rem;}.opt input {width:auto;}
#customer-tools form,#campaigns {margin-top:1.2rem;}
@media(max-width:600px){.account-nav{gap:.6rem}.record summary span{display:block;margin:.4rem 0 0}}

.product-photo { overflow:hidden; aspect-ratio: .92; background:#eee6e0; }
.product-photo img { display:block; width:100%; height:auto; }
.support-box { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:20px; padding:30px clamp(16px,4vw,42px); margin:24px 0 38px; background:#f1e5df; border-radius:16px; color:#381929; }
.support-box h2 { font: 400 clamp(25px,3vw,40px)/1.05 Georgia,serif; margin:0 0 9px; }
.support-box p { margin:0; max-width:48ch; line-height:1.5; }
.support-links { display:grid; gap:11px; justify-items:start; }
.support-links a:not(.button) { text-decoration:underline; overflow-wrap:anywhere; }
.pay-wrap { max-width:760px; }
.pay-total { display:block; font-size:2rem; }
#qr { display:block; width:min(220px,95%); margin:18px 0; }
.price-row { display:flex; align-items:end; gap:12px; margin-bottom:12px; flex-wrap:wrap; }
.price-row label { flex:1; min-width:160px; }
[hidden] { display:none !important; }

#webhook-url { overflow-wrap:anywhere; }

.custom-link { color:var(--plum); text-decoration:underline; text-underline-offset:.22em; }
.custom-bottle { margin-top:clamp(2rem,5vw,4rem); padding:clamp(1.25rem,4vw,3.2rem); display:grid; grid-template-columns:1fr 1.12fr; align-items:center; gap:clamp(1.5rem,6vw,5rem); border-radius:16px; background:#f1e7e3; }
.custom-intro h2 { margin:.7rem 0; font-size:clamp(2.3rem,4vw,4rem); letter-spacing:-.065em; }
.custom-intro>p:last-child { max-width:36ch; color:var(--muted); }
#custom-form { min-width:0; }
#custom-form>label, #custom-form legend { color:var(--ink); font-size:.94rem; font-weight:600; margin:0 0 .45rem; padding:0; }
#custom-form fieldset { border:0; padding:0; margin:1rem 0; min-width:0; }
#custom-finishes { display:grid; grid-template-columns:1fr 1fr; gap:.5rem; }
#custom-finishes label { display:grid; grid-template-columns:auto 1fr; align-items:center; column-gap:.5rem; margin:0; padding:.65rem; border:1px solid #c6b5ba; border-radius:8px; background:var(--card); cursor:pointer; }
#custom-finishes input { width:1rem; height:1rem; padding:0; margin:0; accent-color:var(--plum); }
#custom-finishes small { grid-column:2; font-size:.88rem; color:var(--muted); }
#custom-finishes label:has(:checked) { outline:1px solid var(--plum); border-color:var(--plum); }
.custom-total { border-top:1px solid #cbbbc0; padding-top:.85rem; display:flex; gap:.5rem; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.custom-total small,.custom-total strong { display:block; }
.custom-total strong { font:600 1.55rem/1.2 var(--serif); color:var(--plum); }
#custom-stock { margin-top:.7rem; color:var(--muted); }
@media(max-width:760px){ .custom-bottle { grid-template-columns:1fr; } }
