/* Jimbera Style Harbor: "Scan & Go". A neighborhood mini supermarket from the logo's mustard storefront: a scalloped awning edge on the header, a POS display for the cart, a printed barcode on every item, and a red scanner laser plus BEEP each time something goes into the cart. */
:root {
  --mustard: #d4a52f;
  --mustard-deep: #8a6612;
  --mustard-soft: #f4e3b0;
  --cream: #fbf6ea;
  --paper: #fffdf6;
  --ink: #2a2418;
  --ink-soft: #5e5541;
  --leaf: #2f8a4c;
  --leaf-soft: #dff0e3;
  --laser: #e5322b;
  --lcd: #1d2a1f;
  --lcd-text: #b8f2a4;
  --line: rgba(42, 36, 24, .14);
  --line-strong: rgba(42, 36, 24, .3);
  --error: #a3261b;
  --display: 'Chivo', system-ui, sans-serif;
  --text: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Chivo Mono', ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.wrap { width: min(1280px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--cream); padding: .7rem 1rem; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; flex: none; }
[hidden] { display: none !important; }

.kicker { font: 700 .76rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mustard-deep); margin-bottom: .9rem; }
h1, h2 { font-family: var(--display); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; color: var(--ink); }
h1 em, h2 em { font-style: normal; color: var(--mustard-deep); }
h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.lede { font-size: 1.14rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.5rem; border-radius: 10px; background: var(--ink); color: var(--cream); border: 2px solid var(--ink); text-decoration: none; font: 700 1rem/1.2 var(--text); transition: background-color .2s, color .2s, transform .15s; }
.btn:hover { background: #000; }
.btn:active { transform: translateY(1px); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--mustard-soft); color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }

/* Header with the awning's scalloped edge. Solid and unfiltered so the mobile menu is never trapped. */
.header { position: sticky; top: 0; z-index: 60; background: var(--cream); }
.nav { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.awning { position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; pointer-events: none;
  background: radial-gradient(circle at 14px 0, var(--mustard) 13px, transparent 13.5px) 0 0 / 28px 14px repeat-x; }
.header::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--mustard) 0 28px, var(--cream) 28px 56px); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 46px; height: 46px; }
.word { display: flex; flex-direction: column; line-height: 1; }
.word span:first-child { font: 900 1.24rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--mustard-deep); }
.word span:last-child { font: 700 .62rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: .35rem; }
.nav-list { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.8rem); }
.nav-link { font: 700 .98rem/1 var(--text); text-decoration: none; color: var(--ink); padding: .6rem 0; border-bottom: 3px solid transparent; transition: border-color .2s; }
.nav-link:hover { border-color: var(--mustard); }
.nav-close-li { display: none; }
/* The cart button is a little POS display */
.cart-btn { display: inline-flex; align-items: stretch; gap: 3px; min-height: 48px; padding: 4px; border-radius: 10px; background: var(--ink); border: 0; color: var(--lcd-text); }
.pos, .pos-qty { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding: .2rem .6rem; border-radius: 6px; background: var(--lcd); box-shadow: inset 0 0 0 1px rgba(184, 242, 164, .18); }
.pos-qty { align-items: center; min-width: 46px; background: var(--mustard); color: var(--ink); box-shadow: none; }
.pos-label { font: 700 .55rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.pos-total { font: 700 1rem/1.15 var(--mono); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.cart-count { font: 700 1rem/1.15 var(--mono); }
.cart-btn:hover .pos { background: #233325; }
.cart-btn.pop .pos-total { animation: flicker .5s steps(2) 2; }
@keyframes flicker { 50% { opacity: .35; } }
.nav-toggle, .nav-close { display: none; width: 46px; height: 46px; place-items: center; background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; color: var(--ink); }
.back-link { margin-left: auto; }
@media (max-width: 939px) {
  .nav-toggle { display: grid; flex: 0 0 auto; }
  .nav-list { display: none; }
  .nav-list.open { display: flex; position: fixed; inset: 0; z-index: 200; height: 100dvh; overflow-y: auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: .3rem; padding: 6rem 2rem 3rem; background: var(--mustard); }
  .nav-list.open .nav-link { font: 900 2.6rem/1.2 var(--display); color: var(--ink); }
  .nav-list.open .nav-close-li { display: block; position: absolute; top: 14px; right: 16px; }
  .nav-close { display: grid; }
}
@media (max-width: 480px) {
  .word span:last-child { display: none; }
  .word span:first-child { font-size: 1.02rem; }
  .brand-mark { width: 40px; height: 40px; }
  .pos-label { display: none; }
  .pos-total { font-size: .88rem; }
  .nav { gap: .5rem; }
}

/* The BEEP toast, like a receipt line */
.beep { position: fixed; left: 50%; bottom: 22px; z-index: 170; display: flex; align-items: center; gap: .6rem; padding: .7rem 1.1rem; border-radius: 10px; background: var(--lcd); color: var(--lcd-text); font: 700 1rem/1 var(--mono); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .6); opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity .2s, transform .25s cubic-bezier(.2, .9, .3, 1.3); }
.beep.show { opacity: 1; transform: translate(-50%, 0); }
.beep-tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--leaf); color: #fff; font-size: .85rem; }

/* Hero */
.hero { padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 5.5rem); background:
  radial-gradient(circle at 85% 20%, rgba(212, 165, 47, .18), transparent 45%), var(--cream); }
.hero-grid { display: grid; gap: 2.4rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 1.2rem; }
.hero h1 em { display: block; }
.hero .lede { max-width: 34rem; color: #3e3727; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: 1.8rem; max-width: 34rem; }
.hero-facts div { padding: .7rem .8rem; border-radius: 10px; background: var(--paper); border: 1px solid var(--line-strong); }
.hero-facts dt { font: 700 .66rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mustard-deep); }
.hero-facts dd { margin-top: .2rem; font-weight: 600; font-size: .92rem; line-height: 1.35; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; border: 3px solid var(--ink); }
.receipt { position: absolute; right: 14px; bottom: -26px; display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem 1.2rem; background: var(--paper); font: 700 .72rem/1.3 var(--mono); letter-spacing: .08em; color: var(--ink); box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .35); transform: rotate(2.5deg);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle at 6px 100%, transparent 5px, #000 5.5px) bottom / 12px 8px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle at 6px 100%, transparent 5px, #000 5.5px) bottom / 12px 8px repeat-x; }
.receipt .dash { height: 0; border-top: 2px dashed var(--line-strong); margin: .35rem 0; }
@media (max-width: 560px) { .hero-facts { grid-template-columns: 1fr; } .receipt { right: 8px; bottom: -18px; font-size: .62rem; } }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1.08fr; gap: clamp(2.5rem, 5vw, 5rem); } }

/* Shop */
.shop { padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem); background: var(--paper); border-top: 3px solid var(--ink); }
.shop-head { display: grid; gap: 1rem; align-items: end; }
.shop-head > p { color: var(--ink-soft); max-width: 36rem; }
@media (min-width: 900px) { .shop-head { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.jump { margin-top: 1.8rem; }
.jump ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1.05rem; border-radius: 10px; border: 2px solid var(--ink); background: var(--cream); font-weight: 700; text-decoration: none; transition: background-color .2s; }
.jump a:hover { background: var(--mustard-soft); }
.aisles { display: grid; gap: clamp(2.6rem, 5vw, 3.6rem); margin-top: 2.4rem; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; padding-bottom: .9rem; margin-bottom: 1.3rem; border-bottom: 3px solid var(--ink); }
.aisle-no { font: 700 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: .35rem .55rem; border-radius: 6px; background: var(--mustard); color: var(--ink); }
.group-head h3 { font: 900 clamp(1.5rem, 2.8vw, 2rem)/1.1 var(--display); }
.group-head p:last-child { flex-basis: 100%; color: var(--ink-soft); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem .8rem; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 1.1rem; } }
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
  .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: start; }
}
.pair { display: grid; gap: clamp(2.6rem, 5vw, 3.6rem); }
@media (min-width: 1100px) { .pair { gap: 1.6rem; } }
/* Half-width rows: stack price and button so every card in the pair reads the same */
@media (min-width: 1100px) { .pair .buy { flex-direction: column; align-items: stretch; } .pair .add-btn { width: 100%; } .pair .stepper { justify-content: space-between; } .pair .item-body h4 { min-height: 2.5em; } }

.product-card { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 6px 6px 0 var(--mustard); }
.item-photo { position: relative; overflow: hidden; background: var(--cream); border-bottom: 2px solid var(--ink); }
.item-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.laser { position: absolute; left: -4%; right: -4%; top: 0; height: 3px; background: var(--laser); box-shadow: 0 0 10px 3px rgba(229, 50, 43, .7), 0 0 30px 6px rgba(229, 50, 43, .35); opacity: 0; pointer-events: none; }
.product-card.scanning .laser { animation: sweep .85s cubic-bezier(.45, .05, .55, .95); }
.product-card.scanning .item-photo::after { content: ''; position: absolute; inset: 0; background: rgba(229, 50, 43, .08); animation: glow .85s ease-out forwards; }
@keyframes sweep { 0% { top: 4%; opacity: 1; } 50% { top: 92%; opacity: 1; } 100% { top: 4%; opacity: 0; } }
@keyframes glow { to { opacity: 0; } }
.item-body { display: flex; flex-direction: column; flex: 1; padding: .9rem .95rem .8rem; }
.item-body h4 { font: 700 1.06rem/1.25 var(--display); }
.item-desc { margin-top: .35rem; font-size: .9rem; line-height: 1.45; color: var(--ink-soft); }
.buy { margin-top: auto; padding-top: .85rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.item-price, .price { font: 700 1.15rem/1 var(--mono); color: var(--ink); }
.cur { font-family: var(--text); font-weight: 700; margin-right: .03em; }
.add-btn { min-height: 44px; padding: .5rem .95rem; border-radius: 10px; background: var(--mustard); color: var(--ink); border: 2px solid var(--ink); font: 700 .92rem/1 var(--text); transition: background-color .2s; }
.add-btn:hover { background: #e4b844; }
.stepper { display: inline-flex; align-items: center; border-radius: 10px; border: 2px solid var(--ink); background: var(--mustard-soft); }
.stepper button, .qty button { display: grid; place-items: center; width: 42px; height: 42px; background: none; border: 0; color: var(--ink); }
.stepper button:hover, .qty button:hover { background: rgba(212, 165, 47, .35); }
.stepper button:disabled, .qty button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font: 700 1rem/1 var(--mono); }
/* Printed barcode strip */
.tag-foot { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .6rem; align-items: end; margin-top: .8rem; padding-top: .65rem; border-top: 1px dashed var(--line-strong); }
.barcode { grid-row: span 2; width: 64px; height: 26px; background:
  repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 3px, var(--ink) 3px 4px, transparent 4px 7px, var(--ink) 7px 10px, transparent 10px 11px, var(--ink) 11px 12px, transparent 12px 14px); }
.code { font: 500 .68rem/1 var(--mono); letter-spacing: .14em; color: var(--ink-soft); }
.stock { font-size: .78rem; color: var(--leaf); font-weight: 700; }
@media (max-width: 559px) {
  .item-body { padding: .75rem .7rem .7rem; }
  .item-body h4 { font-size: .98rem; }
  .item-desc { font-size: .84rem; }
  .buy { flex-direction: column; align-items: stretch; }
  .add-btn { width: 100%; }
  .stepper { justify-content: space-between; }
  .barcode { width: 46px; }
  .code { display: none; }
  .tag-foot { grid-template-rows: auto; align-items: center; }
}

/* About */
.about { padding: clamp(4.5rem, 9vw, 7rem) 0; background: var(--mustard); }
.about .kicker { color: var(--ink); }
.about h2 em { color: var(--paper); }
.about-grid { display: grid; gap: 2.6rem; align-items: center; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; border: 3px solid var(--ink); }
.about-copy h2 { margin-bottom: 1.3rem; }
.about-copy > p + p { margin-top: 1rem; }
.values { display: grid; gap: .7rem; margin-top: 1.8rem; }
.values li { padding: 1rem 1.15rem; border-radius: 12px; background: var(--paper); border: 2px solid var(--ink); }
.values h3 { font: 700 1.05rem/1.3 var(--display); margin-bottom: .15rem; }
.values p { color: var(--ink-soft); }
.goal { margin-top: 1.4rem; padding: 1.1rem 1.2rem; border-radius: 12px; background: var(--lcd); color: var(--lcd-text); }
.goal h3 { font: 700 .74rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .3rem; opacity: .8; }
.goal p { font: 500 1.05rem/1.45 var(--mono); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 6rem); } }

/* FAQ */
.faq { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.faq-grid { display: grid; gap: 2rem; }
.faq-photo { margin-top: 1.6rem; }
.faq-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; border: 3px solid var(--ink); }
.faq-list { display: grid; gap: .7rem; align-content: start; }
.faq details { border-radius: 12px; background: var(--paper); border: 2px solid var(--ink); padding: 0 1.15rem; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 58px; padding: .9rem 0; cursor: pointer; list-style: none; font: 700 1.12rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--mustard-deep); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.1rem; color: var(--ink-soft); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; } }

/* Contact */
.contact { padding: clamp(4.5rem, 9vw, 7rem) 0; background: var(--ink); color: var(--cream); }
.contact h2 { color: var(--cream); margin-bottom: 2rem; }
.contact h2 em { color: var(--mustard); }
.contact .kicker { color: var(--mustard); }
.contact-grid { display: grid; gap: 2.6rem; align-items: center; }
.contact-cards { font-style: normal; display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; }
.contact-card { padding: 1.3rem 1.4rem; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(251, 246, 234, .2); }
.contact-card h3 { font: 700 .74rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); margin-bottom: .45rem; }
.contact-card p { overflow-wrap: anywhere; }
.contact-card a { color: var(--cream); font-weight: 700; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-card > a { display: inline-block; margin-top: .6rem; }
.contact-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; border: 3px solid var(--mustard); }
.contact-photo { max-width: 440px; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-card.wide { grid-column: 1 / -1; } }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 4rem; } .contact-photo { justify-self: end; } }

/* Policies */
.policies { padding: 3.5rem 0; background: var(--paper); border-bottom: 2px solid var(--ink); }
.policy-list { display: grid; gap: 2rem; }
.policy-list h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.policy-list p { color: var(--ink-soft); font-size: .96rem; }
.policy-list a { display: inline-block; margin-top: .6rem; font-weight: 700; text-underline-offset: 4px; }
@media (min-width: 800px) { .policy-list { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* Footer */
.footer { background: var(--cream); padding: 4rem 0 2rem; }
.footer-top { display: grid; gap: 2.4rem; }
.footer-line { display: flex; align-items: center; gap: 1rem; font: 900 1.6rem/1.2 var(--display); }
.footer-line em { font-style: normal; color: var(--mustard-deep); }
.foot-mark { width: 64px; height: 64px; flex: none; }
.footer h2 { font: 700 .74rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mustard-deep); margin-bottom: .9rem; }
.footer li + li { margin-top: .45rem; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 2px solid var(--ink); font: 500 .84rem/1.5 var(--mono); color: var(--ink-soft); }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.6fr repeat(3, 1fr); } }

/* Cart drawer: the POS screen */
.cart-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(42, 36, 24, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 0; right: 0; bottom: 0; z-index: 160; width: min(430px, 100%); display: flex; flex-direction: column; background: var(--paper); border-left: 3px solid var(--ink); transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s; }
.cart-sidebar.open { transform: none; visibility: visible; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.3rem; background: var(--lcd); color: var(--lcd-text); }
.cart-head h2 { font: 700 1.4rem/1 var(--mono); color: var(--lcd-text); letter-spacing: .04em; text-transform: uppercase; }
.cart-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: none; border: 1px solid rgba(184, 242, 164, .45); color: var(--lcd-text); }
.cart-items { flex: 1; overflow-y: auto; padding: .6rem 1.3rem; }
.cart-item { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 2px dashed var(--line-strong); }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink); }
.cart-item h3 { font: 700 1rem/1.25 var(--display); }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: .5rem; }
.qty { display: inline-flex; align-items: center; border-radius: 10px; border: 2px solid var(--ink); background: var(--mustard-soft); }
.qty button { width: 40px; height: 40px; }
.qty output { min-width: 2ch; text-align: center; font: 700 .95rem/1 var(--mono); }
.cart-item-sub { font: 700 1rem/1 var(--mono); }
.cart-remove { margin-top: .35rem; padding: .3rem 0; background: none; border: 0; font-size: .84rem; color: var(--ink-soft); text-decoration: underline; }
.cart-empty { padding: 3rem 0; text-align: center; }
.cart-empty p { font: 700 1.3rem/1.3 var(--mono); margin-bottom: 1.2rem; }
.cart-foot { padding: 1.2rem 1.3rem 1.4rem; border-top: 3px solid var(--ink); background: var(--cream); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; padding: .7rem .9rem; border-radius: 10px; background: var(--lcd); color: var(--lcd-text); font: 700 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.cart-total .price { font-size: 1.4rem; color: var(--lcd-text); letter-spacing: 0; }
.cart-foot .btn { width: 100%; }
.cart-foot p { margin-top: .8rem; font-size: .84rem; color: var(--ink-soft); text-align: center; }

/* Order page */
.order-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.order-intro { max-width: 40rem; margin-bottom: 2.2rem; }
.order-intro h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin-bottom: .9rem; }
.order-intro .lede { color: var(--ink-soft); }
.order { display: grid; gap: 2rem; align-items: start; }
.order-form { background: var(--paper); border-radius: 16px; border: 2px solid var(--ink); padding: 2rem clamp(1.1rem, 4vw, 2.2rem); }
.order-form h2, .summary h2 { font-size: 1.8rem; margin-bottom: 1.3rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 700; }
.field label span { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; font: 400 1rem/1.4 var(--text); color: var(--ink); background: #fff; border: 2px solid var(--line-strong); border-radius: 10px; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--mustard); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-hint { margin-top: .35rem; font-size: .84rem; color: var(--ink-soft); }
.field-error { margin-top: .35rem; font-size: .88rem; font-weight: 700; color: var(--error); }
.field-error:empty { display: none; }
.order-submit { width: 100%; margin-top: .6rem; }
.summary { background: var(--lcd); color: var(--lcd-text); border-radius: 16px; padding: 2rem clamp(1.1rem, 4vw, 2rem); font-family: var(--mono); }
.summary h2 { color: var(--lcd-text); font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: .8rem 0; border-bottom: 1px dashed rgba(184, 242, 164, .3); vertical-align: top; }
.summary td small { display: block; margin-top: .2rem; opacity: .75; font-size: .82rem; }
.summary td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 1rem; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.2rem; text-transform: uppercase; }
.summary-total .price { font-size: 1.5rem; color: var(--lcd-text); }
.summary-note { margin-top: 1.2rem; }
.summary-note a { color: var(--mustard); text-underline-offset: 4px; }
.sent { max-width: 44rem; background: var(--paper); border-radius: 16px; border: 2px solid var(--ink); padding: 2.4rem clamp(1.1rem, 4vw, 2.4rem); }
.sent h2 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin-bottom: 1rem; }
.sent-copy { margin-top: 2rem; }
.sent-copy pre { margin-top: 1rem; padding: 1rem; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .86rem; }
@media (min-width: 900px) { .order { grid-template-columns: 1.4fr 1fr; gap: 3rem; } .summary { position: sticky; top: 110px; } }

/* Legal pages */
.legal-head { background: var(--mustard); padding: clamp(3.2rem, 7vw, 5rem) 0 clamp(2.4rem, 5vw, 3.5rem); border-bottom: 3px solid var(--ink); }
.legal-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.legal-body { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.legal { max-width: 46rem; }
.legal > p:first-child { font-size: 1.12rem; }
.legal h2 { font-size: 1.5rem; margin: 2.2rem 0 .7rem; }
.legal p + p { margin-top: .9rem; }
.legal ul, .legal ol { padding-left: 1.3rem; list-style: disc; margin-top: .6rem; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: .45rem; }
.legal a { color: var(--mustard-deep); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
