/* The public store (step 3). Builds on styles.css (colors and type live there, as variables). */
body.store { padding-bottom: 76px; }
.sh { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.sh .in { max-width: 1120px; margin: 0 auto; padding: 10px 18px; display: flex; align-items: center; gap: 22px; }
.sbrand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); }
.sbrand span { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1; }
.sbrand small { display: block; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--kraft-ink); margin-top: 4px; }
.snav { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.snav a { text-decoration: none; color: var(--mute); font-weight: 600; font-size: 15px; padding: 8px 11px; border-radius: 10px; }
.snav a.on, .snav a:hover { color: var(--brand); background: var(--brand-2); }
.stabs { display: none; }
@media (max-width: 760px) {
  .snav { display: none; }
  .stabs { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--card); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .stabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--mute); font-size: 11px; font-weight: 600; padding: 4px 0; }
  .stabs a.on { color: var(--brand); }
}
@media (min-width: 761px) { body.store { padding-bottom: 0; } }
#moresheet { position: fixed; inset: 0; z-index: 25; background: rgba(20,18,16,.4); display: flex; align-items: flex-end; }
#moresheet .ms { background: var(--card); width: 100%; border-radius: 18px 18px 0 0; padding: 10px 10px calc(84px + env(safe-area-inset-bottom)); }
#moresheet a { display: block; padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.sf { background: var(--label); color: var(--cream-2); margin-top: 50px; font-size: 14px; border-top: 3px solid var(--gold); }
.sf .in { max-width: 1120px; margin: 0 auto; padding: 28px 18px 30px; display: grid; gap: 16px; grid-template-columns: 1.4fr 1fr; }
.sf a { color: var(--gold); } .sf b { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--cream); }
.sf .links { display: flex; flex-direction: column; gap: 6px; }
.sf .fine { grid-column: 1 / -1; font-size: 12px; border-top: 1px solid rgba(192,160,104,.35); padding-top: 12px; }
@media (max-width: 640px) { .sf .in { grid-template-columns: 1fr; } }
.gate { position: fixed; inset: 0; background: rgba(20,18,16,.9); display: grid; place-items: center; z-index: 40; padding: 20px; }
.gate .box { background: var(--label); color: var(--cream); border-radius: 18px; max-width: 420px; width: 100%; padding: 10px; text-align: center; }
.gate .box .frame { border: 1px solid var(--gold); border-radius: 10px; padding: 26px 20px 22px; }
.gate .box h3 { color: var(--cream); font-size: 26px; } .gate .box .note { color: var(--cream-2); font-size: 14px; }
.gate .box .btn { background: var(--kraft); color: var(--label); } .gate .box .btn.ghost { background: transparent; color: var(--cream); border-color: var(--cream-2); }
.gate .box img { width: 96px; height: 96px; margin: 0 auto 14px; display: block; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); }
.gate .btns { display: grid; gap: 10px; margin-top: 18px; }

/* page layouts */
.wrapw { max-width: 1120px; margin: 0 auto; padding: 26px 18px 10px; }
.wrapn { max-width: 760px; margin: 0 auto; padding: 26px 18px 10px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--kraft-ink); margin-bottom: 8px; }
.lede { font-size: 19px; color: var(--mute); margin: 0 0 22px; }
.prose p, .prose li { font-size: 17px; line-height: 1.6; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 29px; text-transform: none; letter-spacing: 0; color: var(--brand); margin: 34px 0 8px; }
.prose ul { padding-left: 20px; }
.callout { background: var(--brand-2); border-radius: var(--r); padding: 16px 18px; margin: 18px 0; }
.callout b { color: var(--brand); }
.btnrow { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; } .btnrow .btn { width: auto; padding-left: 22px; padding-right: 22px; text-decoration: none; display: inline-block; text-align: center; }

/* menu */
.strip { display: flex; flex-wrap: wrap; gap: 8px 22px; background: var(--label); color: var(--cream); border-radius: var(--r); padding: 12px 16px; margin-bottom: 16px; font-size: 15px; }
.strip a { color: var(--gold); font-weight: 600; } .strip b { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.ctabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; }
.ctabs button { white-space: nowrap; background: var(--card); border: 1.5px solid var(--line); color: var(--ink); border-radius: 99px; padding: 8px 15px; font-weight: 600; font-size: 15px; }
.ctabs button.on { background: var(--brand); border-color: var(--brand); color: var(--cream); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
/* Menu cards echo the bag's label (Nov 30, 2026): black card, thin gold inner frame, the strain name
   in cream Cormorant, the type line in italic, small gold capitals over the facts (like NET WT / PACKED). */
.pcard { background: var(--label); color: var(--cream); border-radius: var(--r); padding: 8px; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.pcard:hover { box-shadow: 0 10px 26px rgba(20,18,16,.28); transform: translateY(-1px); }
.pframe { border: 1px solid var(--gold); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; flex: 1; position: relative; }
.pimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--brand-2); }
/* No photo yet: the kraft of the bag, with the name on it. */
.pimg.noimg { display: grid; place-items: center; background: linear-gradient(90deg, var(--kraft-2), var(--kraft) 22%, var(--kraft) 78%, var(--kraft-2)); }
.pimg.noimg { align-items: end; }
.pimg.noimg span { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #4A3820; padding: 0 10px 14%; text-align: center; }
.pc { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pcaps { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.pcaps i { font-style: normal; padding: 0 .5em; }
.pcard .pc h3 { font-size: 29px; font-weight: 600; color: var(--cream); margin: 0; line-height: 1.05; }
.pcard .ptype, .plabel .ptype { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--cream-2); margin: 2px 0 0; }
.pcard .blurb { margin: 8px 0 4px; font-size: 14px; color: var(--cream-2); }
.pfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: auto 0 0; padding-top: 12px; border-top: 1px solid rgba(192,160,104,.35); }
.pfacts .wide { grid-column: 1 / -1; }
.pfacts dt { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.pfacts dd { margin: 1px 0 0; font-weight: 600; font-size: 15px; color: var(--cream); }
.pfacts dd small { display: block; font-weight: 400; font-size: 13px; color: var(--cream-2); }
.pmeta { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.pmeta span { background: var(--bg); border-radius: 99px; padding: 3px 8px; }
.pmeta .tier { background: var(--brand-2); color: var(--ink); } .pmeta .fl { background: var(--brand-2); color: var(--kraft-ink); }
.empty { text-align: center; padding: 40px 10px; color: var(--mute); }

/* product page */
.pp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 760px) { .pp { grid-template-columns: 1fr; gap: 16px; } }
.gal .pimg { border-radius: var(--r); aspect-ratio: 1 / 1; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; } .thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; } .thumbs img.on { border-color: var(--gold); }
.pp h1 { font-size: 44px; margin: 6px 0 2px; }
.plabel h1 { color: var(--cream); }
.plabel .ptype { font-size: 24px; margin: 0 0 10px; }
.plabel .headline { color: var(--cream-2); }
.plabel .pfacts { margin-top: 14px; }
.plabel .pfacts dd { font-size: 17px; }
.pp .headline { font-family: var(--serif); font-size: 23px; color: var(--mute); margin: 0 0 14px; }
.pbox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin: 12px 0; }
.pbox .big { font-size: 22px; font-weight: 700; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; } .tags span { background: var(--brand-2); color: var(--brand); border-radius: 99px; padding: 5px 12px; font-size: 14px; font-weight: 600; }
.desc p { font-size: 17px; line-height: 1.65; margin: 0 0 14px; }
.prof { display: grid; grid-template-columns: 130px 1fr; gap: 8px 14px; font-size: 15px; margin: 8px 0 0; }
.prof dt { color: var(--mute); font-weight: 600; } .prof dd { margin: 0; }
/* Pricing page (Dec 2, 2026): the Max Pack tiles come first, in black like the bag's label, then the tiers. */
.packcard { background: var(--label); color: var(--cream); border-radius: var(--r); padding: 8px; }
.packcard .frame { border: 1px solid var(--gold); border-radius: 8px; padding: 16px 16px 18px; height: 100%; display: flex; flex-direction: column; }
.packcard .caps { color: var(--gold); }
.packcard h3 { color: var(--cream); font-size: 31px; line-height: 1.1; margin: 4px 0 0; }
.packcard h3 .price { font-weight: 700; white-space: nowrap; font-variant-numeric: lining-nums; }  /* even-height numbers: easier to read */
/* What it saves: gold on black, with a gold rule above, like the facts on the bag's label. */
.packcard .saves { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(192,160,104,.35); color: var(--gold); font-size: 16px; font-weight: 500; }
.packcard p { color: var(--cream-2); font-size: 15px; margin: 6px 0 0; }
.packcard .btn { background: var(--kraft); color: var(--label); }
.packcard .btnwrap { margin-top: auto; padding-top: 16px; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 14px 0; }
.tiercard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.tiercard h3 { font-size: 28px; color: var(--brand); margin-bottom: 4px; }
.tiercard .oz { font-size: 28px; font-weight: 700; margin: 8px 0 0; } .tiercard .oz small { font-size: 14px; font-weight: 500; color: var(--mute); }
table.hours { border-collapse: collapse; width: 100%; max-width: 420px; font-size: 16px; } table.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); } table.hours td:last-child { text-align: right; }
.zonecard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 10px; }
.steps { counter-reset: s; list-style: none; padding: 0; } .steps li { counter-increment: s; position: relative; padding: 0 0 16px 46px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--gold); font-weight: 700; display: grid; place-items: center; }
details.qa { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 8px; }
details.qa summary { font-weight: 700; font-size: 17px; cursor: pointer; } details.qa p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; }

/* account (step 4) */
.doccard .docprev { width: 84px; height: 60px; object-fit: cover; border-radius: 8px; flex: none; background: var(--brand-2); }
.doccard .docprev.empty { display: grid; place-items: center; color: var(--brand); font-weight: 700; font-size: 13px; }
.docrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.installcard { display: flex; gap: 14px; align-items: flex-start; background: var(--brand-2); border-color: transparent; }
.installcard img { border-radius: 12px; flex: none; }
.chip.on { background: var(--brand); color: var(--cream); border-color: var(--brand); }

/* cart (step 5) */
.pcard { position: relative; }
.qadd { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; background: var(--card); color: var(--brand); border: 0; font-size: 26px; font-weight: 600; line-height: 1; box-shadow: 0 2px 10px rgba(0,0,0,.2); cursor: pointer; }
.qadd:hover { background: var(--kraft); color: var(--label); }
.cbadge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 99px; background: var(--label); color: var(--gold); font-size: 11px; font-weight: 700; }
.stabs .cbadge { position: absolute; margin: -6px 0 0 18px; }
.stabs a { position: relative; }
.stoast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 90px; background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 12px; z-index: 50; font-size: 15px; max-width: 92vw; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.stoast a { color: var(--gold); margin-left: 6px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.qty button { width: 40px; height: 40px; background: none; border: 0; font-size: 20px; color: var(--brand); cursor: pointer; }
.qty button:disabled { opacity: .3; } .qty span { min-width: 30px; text-align: center; font-weight: 700; }
.cline { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cline .pimg { width: 64px; height: 64px; aspect-ratio: auto; border-radius: 10px; } .cline .pimg.noimg span { display: none; }
.cline .ctot { text-align: right; font-weight: 700; } .cline .ctot s { color: var(--mute); font-weight: 400; font-size: 13px; display: block; }
.totals { font-size: 16px; } .totals div { display: flex; justify-content: space-between; padding: 4px 0; } .totals .grand { font-size: 20px; font-weight: 700; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.totals .save { color: var(--brand); }
.nudge { background: var(--brand-2); color: var(--ink); border-radius: 12px; padding: 10px 14px; margin: 10px 0; font-size: 15px; }
.wins { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.wins button { border: 1.5px solid var(--brand); background: var(--card); color: var(--brand); border-radius: 12px; padding: 9px 13px; font-weight: 600; font-size: 15px; cursor: pointer; }
.wins button small { display: block; font-weight: 500; font-size: 12px; color: var(--mute); }
.wins button.on { background: var(--brand); color: var(--cream); } .wins button.on small { color: var(--cream-2); }
.wins button:disabled { border-color: var(--line); color: var(--mute); text-decoration: line-through; cursor: default; }
.ordrow { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Ask the budtender and Compare (step 8) */
.askbox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.askbox h3 { margin-top: 0; }
.chat { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; margin: 10px 0; }
.chat .q { align-self: flex-end; background: var(--brand); color: var(--cream); border-radius: 14px 14px 4px 14px; padding: 9px 13px; max-width: 85%; }
.chat .a { align-self: flex-start; background: var(--brand-2); border-radius: 14px 14px 14px 4px; padding: 9px 13px; max-width: 92%; }
.chat .a p { margin: 0 0 6px; } .chat .a p:last-child { margin: 0; }
.chat .a.err { background: var(--red-2); color: #7A2A1F; }
.dots::after { content: '…'; animation: dots 1.2s steps(3, end) infinite; display: inline-block; width: 1.2em; overflow: hidden; vertical-align: bottom; }
@keyframes dots { from { width: 0; } to { width: 1.2em; } }
.askf textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); resize: vertical; }
.askrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.askrow .btn { width: auto; padding-left: 26px; padding-right: 26px; }
.asksug { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.cmpbox { margin-top: 18px; }
.cmpbox select { width: 100%; }
table.cmp { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
table.cmp th, table.cmp td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp td:first-child { color: var(--mute); width: 84px; }

/* Bigger orders (Dec 2, 2026): the cart's progress bar toward 2.5 oz and "Complete your ounce". */
.progress { margin: 14px 0 4px; }
.pbar { position: relative; height: 12px; border-radius: 99px; background: var(--brand-2); overflow: hidden; }
.pbar span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--label); border-radius: 99px; transition: width .25s; }
.pbar i { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--card); opacity: .9; }
.progress.done .pbar span { background: linear-gradient(90deg, var(--label), #3A2F22); box-shadow: inset 0 0 0 2px var(--gold); }
.plabels { position: relative; height: 20px; font-size: 13px; color: var(--mute); margin-top: 4px; }
.plabels span { position: absolute; top: 0; white-space: nowrap; }
.plabels span:first-child { left: 0; } .plabels span:last-child { right: 0; }
.plabels span:nth-child(2) { left: 40%; transform: translateX(-50%); }
.pmsg { margin-top: 8px; background: var(--brand-2); border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: 15px; }
.fill { margin: 14px 0 4px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.fill h4 { margin: 0 0 6px; font-size: 15px; }
.fillrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.fillrow:first-of-type { border-top: 0; }
.fillrow a { color: inherit; text-decoration: none; }
.fillrow .btn { width: auto; flex: 0 0 auto; }
.stoast .tip { display: block; margin-top: 4px; font-weight: 600; color: var(--gold); }
.btn .btnsub { font-weight: 400; opacity: .8; }
.label-box .pmsg { background: rgba(244,240,228,.1); color: var(--cream); }
/* The toast can carry a tip now: wider on phones, and a gold edge so it stands apart from the black menu cards. */
.stoast { width: max-content; max-width: min(92vw, 420px); border: 1px solid var(--gold); box-shadow: 0 8px 24px rgba(20,18,16,.35); }
