:root {
  color-scheme: light;
  --cream: #fff6e8;
  --paper: #fffaf1;
  --ink: #47251d;
  --ink-soft: #6b483c;
  --caramel: #e8a948;
  --butter: #ffd16b;
  --coral: #f0785c;
  --coral-deep: #d95f49;
  --mint: #d8ead0;
  --line: rgba(71, 37, 29, .14);
  --shadow: 0 22px 70px rgba(88, 52, 27, .11);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Trebuchet MS", "Avenir Next", Avenir, system-ui, -apple-system, sans-serif; line-height: 1.5; }
body.lock-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 2000; top: 10px; left: 10px; padding: 10px 14px; background: var(--ink); color: white; border-radius: 10px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; height: 82px; padding: 0 max(32px, calc((100vw - 1200px) / 2)); display: flex; align-items: center; gap: 40px; background: rgba(255, 246, 232, .91); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(71,37,29,.07); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.brand-cookie { width: 58px; height: 58px; object-fit: contain; border-radius: 50%; mix-blend-mode: multiply; flex: 0 0 auto; }
.brand-name { display: flex; flex-direction: column; line-height: .88; gap: 3px; letter-spacing: -.055em; }
.brand-name span { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 13px; font-weight: 700; letter-spacing: -.04em; }
.brand-name strong { font-size: 23px; line-height: .9; letter-spacing: .045em; font-weight: 1000; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.main-nav a { color: var(--ink-soft); font-size: 13px; font-weight: 800; transition: color .2s ease; }
.main-nav a:hover { color: var(--coral-deep); }
.bag-button { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff6e8; border: 0; border-radius: 999px; padding: 10px 14px; cursor: pointer; font-size: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.bag-button:hover { background: #613426; transform: translateY(-2px); }
.bag-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bag-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 5px; background: var(--butter); color: var(--ink); border-radius: 20px; font-size: 11px; }
.menu-toggle { display: none; }

.hero { min-height: 660px; padding-top: 72px; padding-bottom: 70px; display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); align-items: center; position: relative; }
.hero-copy { position: relative; z-index: 3; padding: 10px 0 44px; max-width: 540px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 10px; font-weight: 1000; letter-spacing: .16em; line-height: 1.3; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; background: var(--coral); border-radius: 50%; box-shadow: 0 0 0 4px rgba(240,120,92,.13); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .checkout-head h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 900; letter-spacing: -.065em; }
.hero h1 { margin: 20px 0 18px; font-size: clamp(52px, 5.6vw, 78px); line-height: .99; }
.hero h1 span, h2 span { color: var(--coral-deep); font-style: italic; font-weight: 700; }
.hero-text { max-width: 405px; margin-bottom: 28px; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.button { min-height: 50px; padding: 13px 19px; border: 1px solid transparent; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; cursor: pointer; font-size: 13px; font-weight: 900; letter-spacing: -.01em; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.985); }
.button-primary { background: var(--coral); color: #fffaf3; box-shadow: 0 8px 0 rgba(217,95,73,.12); }
.button-primary:hover { background: var(--coral-deep); box-shadow: 0 11px 22px rgba(217,95,73,.18); }
.button-quiet { background: transparent; border-color: var(--line); color: var(--ink); }
.button-quiet:hover, .button-outline:hover { background: rgba(71,37,29,.05); }
.button-dark { background: var(--ink); color: var(--cream); }
.button-dark:hover { background: #65382b; }
.button-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.button-wide { width: 100%; }
.hero-note { display: flex; gap: 8px; align-items: center; margin-top: 32px; color: #9a7868; font-size: 12px; font-weight: 700; }
.tiny-heart { color: var(--coral); }
.hero-art { min-height: 515px; position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; }
.hero-sunburst { position: absolute; z-index: -2; top: 5%; right: 3%; width: 84%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 45% 42%, #fff0cc 0, #ffe7ad 53%, #f9d989 53.5%, #f9d989 54%, transparent 54.5%); opacity: .94; }
.mascot-art { position: absolute; z-index: 1; right: -3%; top: 2%; width: 105%; max-width: 690px; height: 100%; max-height: 545px; object-fit: contain; filter: drop-shadow(0 18px 12px rgba(75,36,27,.08)); animation: mascot-float 5.7s ease-in-out infinite; }
.hero-cookie-button { position: absolute; z-index: 3; left: 1%; bottom: 10%; width: clamp(128px, 14vw, 185px); aspect-ratio: 1; padding: 0; overflow: visible; border: 8px solid #fffaf1; border-radius: 50%; background: #f7dcad; box-shadow: 0 16px 42px rgba(75,36,27,.2); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.hero-cookie-button:hover { transform: rotate(-5deg) scale(1.04); box-shadow: 0 20px 48px rgba(75,36,27,.24); }
.hero-cookie-button img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero-cookie-button.is-bopping { animation: cookie-bop .55s cubic-bezier(.2,.9,.25,1.3); }
.cookie-spark { position: absolute; top: -14px; right: -16px; display: grid; place-items: center; width: 34px; height: 34px; background: var(--butter); border-radius: 50%; border: 3px solid var(--cream); font-size: 20px; }
.hero-flavor-tag { position: absolute; z-index: 4; right: 1%; bottom: 8%; padding: 15px 19px; width: 205px; display: flex; flex-direction: column; border-radius: 18px; border: 1px solid rgba(71,37,29,.08); background: #fffaf1; box-shadow: 0 14px 45px rgba(75,36,27,.12); transform: rotate(2deg); }
.flavor-kicker { color: #a1816f; font-size: 8px; font-weight: 1000; letter-spacing: .14em; }
.hero-flavor-tag strong { margin: 3px 0 0; font-family: Georgia, serif; font-size: 16px; letter-spacing: -.03em; }
.hero-flavor-tag > span:last-child { color: var(--coral-deep); font-weight: 1000; font-size: 13px; }
.hero-flavor-tag small { color: var(--ink-soft); font-size: 10px; font-weight: 600; }
.hero-sticker { position: absolute; z-index: 5; top: 4%; left: 7%; width: 76px; height: 76px; display: grid; place-items: center; padding: 9px; border-radius: 50%; background: var(--mint); color: #3d6341; border: 2px dashed #71926a; text-align: center; font-family: Georgia, serif; font-weight: 900; font-size: 11px; line-height: 1.1; transform: rotate(-12deg); }
.hero-doodle { position: absolute; z-index: 2; color: var(--coral); font-size: 34px; }
.doodle-left { top: 22%; right: 7%; }
.doodle-right { top: 58%; left: 15%; font-size: 22px; color: var(--caramel); transform: rotate(-12deg); }
.scroll-cue { position: absolute; left: 0; bottom: 20px; display: flex; align-items: center; gap: 10px; font-size: 8px; font-weight: 1000; letter-spacing: .16em; color: #a98b79; }
.scroll-cue span { position: relative; width: 28px; height: 1px; background: #c7a68b; }
.scroll-cue span::after { content: ""; position: absolute; width: 5px; height: 5px; left: 0; top: -2px; border-radius: 50%; background: var(--coral); animation: cue-dot 1.4s ease-in-out infinite; }

.menu-section { padding-top: 88px; padding-bottom: 95px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.section-heading h2, .delivery-copy h2, .story-copy h2 { margin: 12px 0 0; font-size: clamp(38px, 4vw, 54px); line-height: 1.04; }
.section-heading > p { color: #8d6c5e; font-size: 12px; text-align: right; line-height: 1.65; margin-bottom: 6px; }
.menu-tools { margin-top: 30px; padding-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--ink-soft); cursor: pointer; font-size: 11px; font-weight: 800; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.filter-chip:hover { border-color: rgba(71,37,29,.4); }
.filter-chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.filter-chip span { font-size: 9px; opacity: .7; }
.menu-hint { color: #9a7868; display: flex; gap: 7px; align-items: center; font-size: 10px; font-weight: 800; white-space: nowrap; }
.menu-hint span { color: var(--coral); font-size: 17px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; padding-top: 24px; perspective: 1600px; }
.product-card { min-width: 0; height: 402px; perspective: 1400px; }
.flip-inner { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform .68s cubic-bezier(.2,.72,.18,1); }
.product-card.is-flipped .flip-inner { transform: rotateY(180deg); }
.card-face { position: absolute; inset: 0; overflow: hidden; border-radius: 25px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.card-front { pointer-events: auto; }
.card-back { pointer-events: none; }
.product-card.is-flipped .card-front { pointer-events: none; }
.product-card.is-flipped .card-back { pointer-events: auto; }
.card-front { display: flex; flex-direction: column; align-items: stretch; padding: 10px; background: #fffaf2; border: 1px solid rgba(71,37,29,.11); box-shadow: 0 6px 20px rgba(71,37,29,.025); transition: box-shadow .22s ease, transform .22s ease; }
.product-card:hover .card-front { box-shadow: 0 12px 30px rgba(71,37,29,.075); }
.front-image-wrap { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; border-radius: 18px; background: #f9dfb9; }
.front-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.1,1); }
.card-front:hover .front-image-wrap img { transform: scale(1.055) rotate(-1deg); }
.flip-cue { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: rgba(255,250,242,.94); color: var(--ink); font-size: 20px; box-shadow: 0 4px 15px rgba(71,37,29,.08); }
.product-name-front { flex: 0 0 63px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 8px 3px; text-align: left; font-family: Georgia, serif; font-size: 21px; font-weight: 900; line-height: 1.1; letter-spacing: -.045em; }
.front-arrow { display: inline-grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border-radius: 50%; background: var(--butter); font-family: sans-serif; font-size: 16px; transition: transform .2s ease; }
.card-front:hover .front-arrow { transform: rotate(45deg); }
.flip-trigger { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; border: 0; background: transparent; padding: 0; cursor: pointer; }
.card-front .flip-trigger { outline-offset: -4px; }
.card-front .product-name-front, .card-front .flip-cue { pointer-events: none; }
.card-back { transform: rotateY(180deg); display: flex; flex-direction: column; padding: 25px; color: #fff8e9; background: var(--ink); border: 1px solid rgba(255,255,255,.07); }
.card-back::before { content: ""; position: absolute; width: 180px; height: 180px; right: -85px; top: -85px; border: 1px solid rgba(255,209,107,.16); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,209,107,.035), 0 0 0 38px rgba(255,209,107,.025); }
.back-topline { display: flex; justify-content: space-between; align-items: center; gap: 8px; position: relative; z-index: 1; }
.back-tag { color: var(--butter); font-size: 9px; letter-spacing: .12em; font-weight: 1000; }
.back-close { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.2); color: #fff8e9; border-radius: 50%; background: transparent; cursor: pointer; font-size: 18px; }
.card-back h3 { position: relative; z-index: 1; margin: 20px 0 8px; font-family: Georgia, serif; letter-spacing: -.055em; font-size: clamp(23px, 2.25vw, 30px); line-height: 1.03; }
.card-back .product-description { position: relative; z-index: 1; margin-bottom: 14px; color: #ead6bd; font-size: 12px; line-height: 1.6; }
.back-price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.16); }
.back-price { color: var(--butter); font-size: 25px; font-weight: 1000; letter-spacing: -.04em; }
.price-unit { display: block; color: #c8ad96; font-size: 9px; font-weight: 700; letter-spacing: .05em; }
.qty-stepper { display: inline-flex; align-items: center; justify-content: space-between; gap: 0; height: 36px; padding: 3px; border-radius: 100px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.12); }
.qty-stepper button { border: 0; background: transparent; color: inherit; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; font-size: 17px; font-weight: 700; }
.qty-stepper button:hover { background: rgba(255,255,255,.16); }
.qty-stepper output { min-width: 22px; text-align: center; font-size: 12px; font-weight: 1000; }
.card-add { width: 100%; min-height: 43px; margin-top: 13px; padding: 10px 14px; border: 0; border-radius: 100px; background: var(--butter); color: var(--ink); display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 11px; font-weight: 1000; transition: background .18s ease, transform .18s ease; }
.card-add:hover { background: #ffe1a0; transform: translateY(-1px); }
.menu-bottom-line { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 31px; color: #a1816f; font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; border: 0; border-bottom: 1px solid rgba(217,95,73,.4); background: transparent; color: var(--coral-deep); font-size: 12px; font-weight: 1000; cursor: pointer; transition: gap .2s ease; }
.text-link:hover { gap: 16px; }

.delivery-section { padding-bottom: 75px; }
.delivery-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; padding: 58px 60px; border-radius: var(--radius-lg); background: var(--mint); position: relative; overflow: hidden; }
.delivery-inner::after { content: ""; position: absolute; width: 280px; height: 280px; right: -140px; bottom: -175px; border-radius: 50%; border: 1px solid rgba(61,99,65,.16); box-shadow: 0 0 0 24px rgba(61,99,65,.035), 0 0 0 55px rgba(61,99,65,.025); pointer-events: none; }
.delivery-copy { position: relative; z-index: 1; }
.delivery-copy h2 { margin-bottom: 14px; }
.delivery-copy h2 span { color: #4b754a; }
.delivery-copy p { max-width: 280px; color: #4e704d; font-size: 13px; line-height: 1.7; margin-bottom: 22px; }
.fulfillment-options { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.fulfillment-card { min-height: 100px; display: grid; grid-template-columns: 55px minmax(0,1fr) 20px; gap: 16px; align-items: center; padding: 17px 20px; border: 1px solid rgba(61,99,65,.13); border-radius: 20px; background: rgba(255,250,242,.85); transition: transform .2s ease, box-shadow .2s ease; }
.fulfillment-card:hover { transform: translateX(4px); box-shadow: 0 12px 22px rgba(51,83,48,.07); }
.fulfillment-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #f6e8bf; color: #3f6540; }
.fulfillment-icon svg { width: 33px; height: 33px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fulfillment-card h3 { margin: 0 0 2px; font-family: Georgia, serif; font-size: 20px; line-height: 1.2; letter-spacing: -.035em; }
.fulfillment-card p { margin: 0; color: #6a8563; font-size: 11px; }
.option-arrow { justify-self: end; align-self: start; color: #4b754a; font-weight: 900; }
.fulfillment-footnote { padding: 3px 3px 0; color: #638160; font-size: 10px; }

.story-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(35px, 8vw, 100px); align-items: center; padding-top: 45px; padding-bottom: 100px; }
.story-logo-wrap { justify-self: center; align-self: center; width: min(100%, 350px); aspect-ratio: 1 / 1; position: relative; }
.story-logo-wrap::before { content: ""; position: absolute; z-index: -1; width: 92%; height: 92%; top: 5%; left: 4%; border-radius: 42% 58% 62% 38% / 42% 38% 62% 58%; background: #ffe2ad; transform: rotate(-7deg); }
.story-logo-wrap img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 50%; mix-blend-mode: multiply; filter: drop-shadow(0 16px 20px rgba(75,36,27,.08)); }
.story-copy { max-width: 450px; }
.story-copy h2 { margin-bottom: 16px; }
.story-copy p { max-width: 350px; margin-bottom: 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.site-footer { min-height: 100px; padding: 22px max(32px, calc((100vw - 1200px) / 2)); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand .brand-cookie { width: 50px; height: 50px; }
.footer-brand .brand-name strong { font-size: 19px; }
.footer-brand .brand-name span { font-size: 11px; }
.site-footer p { margin: 0; color: #a1816f; font-size: 10px; font-weight: 700; }
.site-footer p span { color: var(--coral); }
.back-top { color: var(--ink-soft); font-size: 10px; font-weight: 900; }
.back-top:hover { color: var(--coral-deep); }

.toast { position: fixed; z-index: 120; left: 50%; bottom: 25px; transform: translate(-50%, 25px); max-width: calc(100vw - 30px); padding: 13px 19px; background: var(--ink); color: #fff7e8; box-shadow: 0 10px 35px rgba(71,37,29,.25); border-radius: 999px; opacity: 0; pointer-events: none; font-size: 12px; font-weight: 900; transition: opacity .25s ease, transform .25s ease; text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.scrim, .modal-scrim { position: fixed; inset: 0; z-index: 100; background: rgba(45,23,17,.38); backdrop-filter: blur(4px); }
.cart-drawer { position: fixed; z-index: 101; top: 0; right: 0; bottom: 0; width: min(465px, 100%); padding: 28px; background: var(--paper); box-shadow: -20px 0 70px rgba(45,23,17,.18); display: flex; flex-direction: column; transform: translateX(104%); transition: transform .38s cubic-bezier(.2,.8,.2,1); }
.cart-drawer.is-open { transform: translateX(0); }
.drawer-head, .checkout-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 7px 0 0; font-family: Georgia, serif; letter-spacing: -.06em; font-size: 34px; line-height: 1; }
.drawer-head h2 span { color: #a1816f; font-family: sans-serif; font-size: 12px; letter-spacing: 0; font-weight: 700; }
.icon-button { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 24px; line-height: 1; transition: background .2s ease, transform .2s ease; }
.icon-button:hover { background: rgba(71,37,29,.06); transform: rotate(5deg); }
.cart-items { flex: 1; overflow-y: auto; margin: 5px -8px 10px 0; padding-right: 7px; }
.cart-line { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 17px; background: #f5ddb6; }
.cart-line h3 { margin: 0 0 4px; font-family: Georgia, serif; font-size: 16px; line-height: 1.15; }
.cart-line-price { margin: 0 0 8px; color: var(--coral-deep); font-size: 12px; font-weight: 1000; }
.cart-line .qty-stepper { height: 30px; padding: 2px; background: white; border-color: var(--line); color: var(--ink); }
.cart-line .qty-stepper button { width: 23px; height: 23px; font-size: 15px; }
.cart-line .qty-stepper output { min-width: 17px; font-size: 11px; }
.cart-line-total { align-self: start; padding-top: 5px; font-size: 12px; font-weight: 1000; white-space: nowrap; }
.cart-empty { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px 0; }
.empty-cookie { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 16px; background: #f6dfb5; border-radius: 50%; font-size: 37px; transform: rotate(-8deg); }
.cart-empty h3 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 22px; letter-spacing: -.04em; }
.cart-empty p { margin-bottom: 20px; color: #9a7868; font-size: 12px; }
.cart-foot { border-top: 1px solid var(--line); padding-top: 18px; }
.subtotal-row, .checkout-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.subtotal-row span { font-size: 13px; color: var(--ink-soft); font-weight: 800; }
.subtotal-row strong { font-size: 24px; letter-spacing: -.04em; }
.cart-foot > p { margin: 5px 0 15px; color: #a1816f; font-size: 10px; }
.secure-note { display: flex; justify-content: center; gap: 5px; margin-top: 12px; color: #9a7868; font-size: 10px; }
.secure-note span { color: var(--coral); }

.modal-scrim { z-index: 130; background: rgba(45,23,17,.47); }
.checkout-modal { position: fixed; z-index: 131; top: 50%; left: 50%; width: min(620px, calc(100vw - 28px)); max-height: min(92vh, 860px); overflow-y: auto; padding: 26px clamp(18px, 4vw, 34px) 30px; border-radius: 27px; background: var(--paper); box-shadow: 0 26px 100px rgba(45,23,17,.25); transform: translate(-50%,-46%) scale(.97); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s ease; }
.checkout-modal.is-open { transform: translate(-50%,-50%) scale(1); opacity: 1; visibility: visible; }
.checkout-head { align-items: flex-start; padding-bottom: 17px; }
.checkout-head h2 { margin: 7px 0 0; font-size: clamp(28px, 4vw, 38px); line-height: 1.05; }
.checkout-head h2 span { display: inline; }
.checkout-form-view { padding-top: 19px; }
.fulfillment-choice { margin: 0 0 18px; padding: 0; border: 0; }
.fulfillment-choice legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 1000; }
.fulfillment-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fulfillment-switch label { cursor: pointer; }
.fulfillment-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fulfillment-switch label span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid var(--line); border-radius: 13px; color: #927364; font-size: 12px; font-weight: 900; transition: color .18s ease, background .18s ease, border .18s ease; }
.fulfillment-switch label b { color: var(--coral); font-size: 17px; }
.fulfillment-switch input:checked + span { color: var(--ink); background: #ffe7b8; border-color: #edc77e; }
.fulfillment-switch input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 3px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 12px; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field > span { font-size: 11px; font-weight: 900; }
.field em { color: #a1816f; font-size: 10px; font-style: normal; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; max-width: 100%; padding: 12px 13px; color: var(--ink); background: #fffdf8; border: 1px solid rgba(71,37,29,.18); border-radius: 12px; font-size: 12px; outline-offset: 2px; }
.field input::placeholder, .field textarea::placeholder { color: #b79b8a; }
.field textarea { resize: vertical; min-height: 65px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--coral-deep); }
.field-error { min-height: 0; color: var(--coral-deep); font-size: 10px; }
.field-error:not(:empty) { min-height: 12px; }
.fulfillment-fields { margin-top: 14px; }
.field-note { margin: 9px 0 0; color: #a1816f; font-size: 10px; }
.checkout-total { margin: 19px 0 8px; padding-top: 15px; border-top: 1px solid var(--line); }
.checkout-total span { font-size: 12px; font-weight: 800; color: var(--ink-soft); }
.checkout-total strong { font-size: 23px; letter-spacing: -.04em; }
.checkout-disclaimer { margin-bottom: 14px; color: #a1816f; font-size: 10px; line-height: 1.6; }
.checkout-review-view { padding-top: 20px; text-align: center; }
.review-stamp { width: 61px; height: 61px; margin: 0 auto 13px; display: grid; place-items: center; border-radius: 50%; background: var(--butter); color: var(--ink); font-size: 28px; transform: rotate(8deg); }
.checkout-review-view h3 { margin-bottom: 6px; font-family: Georgia, serif; font-size: 25px; letter-spacing: -.05em; }
.checkout-review-view > p { color: #9a7868; font-size: 12px; }
.order-summary-text { max-height: 240px; overflow: auto; padding: 16px; margin: 15px 0; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); background: #fff1d9; border: 1px dashed #ddbd89; border-radius: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; line-height: 1.6; }
.review-actions { display: grid; gap: 9px; }
.review-actions .text-link { justify-self: center; margin-top: 3px; }
.copy-feedback { min-height: 16px; margin: 10px 0 0; color: #47764a !important; font-weight: 800; }

@keyframes mascot-float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(.6deg); } }
@keyframes cookie-bop { 0% { transform: scale(1) rotate(0); } 35% { transform: scale(1.09) rotate(-10deg); } 68% { transform: scale(.96) rotate(7deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes cue-dot { 0% { left: 0; opacity: 1; } 85%,100% { left: 22px; opacity: .1; } }

@media (max-width: 980px) {
  .site-header { gap: 20px; }
  .hero { grid-template-columns: .95fr 1.05fr; min-height: 590px; padding-top: 50px; }
  .hero h1 { font-size: clamp(49px, 6.2vw, 66px); }
  .hero-art { min-height: 460px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
  .product-card { height: 420px; }
  .card-back h3 { font-size: 29px; }
  .delivery-inner { gap: 30px; padding: 43px 38px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .section-shell { width: min(100% - 36px, 540px); }
  .site-header { height: 72px; padding: 0 18px; gap: 13px; }
  .brand-cookie { width: 46px; height: 46px; }
  .brand-name strong { font-size: 21px; }
  .brand-name span { font-size: 12px; }
  .main-nav { position: absolute; top: 71px; right: 10px; left: 10px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 13px; border-radius: 10px; }
  .main-nav a:hover { background: #fff1d8; }
  .bag-button { margin-left: auto; padding: 9px 10px; gap: 6px; }
  .bag-button svg { width: 17px; height: 17px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; justify-content: center; align-items: center; flex: 0 0 auto; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 15px; height: 2px; background: var(--ink); border-radius: 10px; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 47px; padding-bottom: 50px; min-height: auto; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(48px, 12vw, 67px); margin-top: 17px; }
  .hero-text { max-width: 350px; margin-bottom: 21px; font-size: 14px; }
  .hero-actions { gap: 9px; }
  .button { min-height: 47px; padding: 12px 15px; gap: 12px; font-size: 12px; }
  .hero-note { margin-top: 20px; font-size: 11px; }
  .hero-art { min-height: 360px; width: min(100%, 490px); align-self: center; margin-top: 12px; }
  .hero-sunburst { width: 86%; top: 2%; right: 7%; }
  .mascot-art { width: 100%; max-height: 400px; right: 0; top: 0; }
  .hero-cookie-button { width: 112px; left: -2px; bottom: 6%; border-width: 5px; }
  .cookie-spark { width: 26px; height: 26px; right: -10px; top: -10px; font-size: 15px; }
  .hero-flavor-tag { right: -1px; bottom: 7%; width: 162px; padding: 11px 13px; border-radius: 14px; }
  .flavor-kicker { font-size: 7px; }
  .hero-flavor-tag strong { font-size: 13px; }
  .hero-flavor-tag > span:last-child { font-size: 12px; }
  .hero-sticker { top: 0; left: 3%; width: 57px; height: 57px; font-size: 9px; border-width: 1px; }
  .hero-doodle { font-size: 24px; }
  .doodle-left { top: 14%; right: 4%; }
  .doodle-right { top: 56%; left: 5%; }
  .scroll-cue { bottom: 9px; font-size: 7px; }
  .menu-section { padding-top: 52px; padding-bottom: 58px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .section-heading h2, .delivery-copy h2, .story-copy h2 { font-size: clamp(36px, 9vw, 48px); }
  .section-heading > p { text-align: left; margin: 0; font-size: 11px; }
  .section-heading > p br { display: none; }
  .menu-tools { align-items: flex-start; flex-direction: column; margin-top: 23px; gap: 13px; }
  .filter-group { gap: 6px; }
  .filter-chip { min-height: 34px; padding: 7px 11px; font-size: 10px; }
  .menu-hint { display: none; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; padding-top: 16px; }
  .product-card { height: clamp(290px, 83vw, 370px); }
  .card-face { border-radius: 19px; }
  .card-front { padding: 7px; }
  .front-image-wrap { border-radius: 14px; }
  .product-name-front { flex-basis: 55px; padding: 7px 5px 2px; font-size: clamp(15px, 4.1vw, 19px); gap: 4px; }
  .front-arrow { width: 22px; height: 22px; flex-basis: 22px; font-size: 14px; }
  .flip-cue { top: 8px; right: 8px; width: 27px; height: 27px; font-size: 16px; }
  .card-back { padding: 15px 13px; }
  .back-tag { font-size: 7px; letter-spacing: .08em; }
  .back-close { width: 25px; height: 25px; font-size: 15px; }
  .card-back h3 { margin: 14px 0 7px; font-size: clamp(20px, 5.5vw, 26px); }
  .card-back .product-description { font-size: 10px; line-height: 1.5; margin-bottom: 7px; }
  .back-price-row { gap: 4px; padding-top: 8px; }
  .back-price { font-size: clamp(19px, 5vw, 23px); }
  .price-unit { font-size: 8px; }
  .qty-stepper { height: 31px; padding: 2px; }
  .qty-stepper button { width: 22px; height: 24px; font-size: 15px; }
  .qty-stepper output { min-width: 15px; font-size: 11px; }
  .card-add { min-height: 38px; padding: 9px 10px; margin-top: 9px; font-size: 10px; }
  .menu-bottom-line { padding-top: 22px; flex-wrap: wrap; font-size: 11px; }
  .delivery-section { padding-bottom: 58px; }
  .delivery-inner { display: flex; flex-direction: column; align-items: stretch; gap: 27px; padding: 31px 20px 26px; border-radius: 26px; }
  .delivery-copy h2 { margin-bottom: 11px; }
  .delivery-copy p { margin-bottom: 18px; font-size: 12px; }
  .fulfillment-options { gap: 9px; }
  .fulfillment-card { min-height: 84px; grid-template-columns: 43px minmax(0,1fr) 15px; gap: 10px; padding: 13px 12px; border-radius: 16px; }
  .fulfillment-icon { width: 42px; height: 42px; border-radius: 13px; }
  .fulfillment-icon svg { width: 27px; height: 27px; }
  .fulfillment-card h3 { font-size: 17px; }
  .fulfillment-card p { font-size: 10px; }
  .fulfillment-footnote { font-size: 9px; line-height: 1.5; }
  .story-section { grid-template-columns: .8fr 1.2fr; gap: 22px; padding-top: 16px; padding-bottom: 65px; }
  .story-logo-wrap { width: 100%; }
  .story-copy h2 { margin-top: 9px; font-size: clamp(30px, 7.5vw, 43px); }
  .story-copy p { font-size: 11px; line-height: 1.65; margin-bottom: 12px; }
  .story-copy .eyebrow { font-size: 8px; letter-spacing: .12em; }
  .story-copy .text-link { font-size: 10px; }
  .site-footer { padding: 18px; gap: 10px; flex-wrap: wrap; }
  .footer-brand .brand-cookie { width: 42px; height: 42px; }
  .footer-brand .brand-name strong { font-size: 16px; }
  .footer-brand .brand-name span { font-size: 9px; }
  .site-footer p { font-size: 9px; }
  .back-top { font-size: 9px; }
  .cart-drawer { padding: 22px 19px; }
  .cart-line { grid-template-columns: 58px minmax(0,1fr) auto; gap: 9px; }
  .cart-line img { width: 58px; height: 58px; border-radius: 13px; }
  .cart-line h3 { font-size: 14px; }
  .cart-line-total { font-size: 11px; }
  .checkout-modal { padding: 20px 17px 22px; border-radius: 22px; max-height: 94vh; }
  .checkout-head h2 { max-width: 270px; font-size: 29px; }
  .form-grid { gap: 11px 9px; }
  .field input, .field select, .field textarea { padding: 11px 10px; font-size: 12px; }
}
@media (max-width: 390px) {
  .section-shell { width: calc(100% - 26px); }
  .site-header { padding-inline: 13px; }
  .brand { gap: 7px; }
  .brand-cookie { width: 42px; height: 42px; }
  .brand-name strong { font-size: 18px; }
  .bag-button { padding: 8px; }
  .bag-label { font-size: 11px; }
  .hero-art { min-height: 315px; }
  .hero-cookie-button { width: 96px; }
  .hero-flavor-tag { width: 145px; }
  .product-card { height: 285px; }
  .card-back { padding: 12px 10px; }
  .card-back h3 { font-size: 19px; }
  .card-back .product-description { font-size: 9px; }
  .card-add { font-size: 9px; }
  .story-section { grid-template-columns: .7fr 1.3fr; gap: 15px; }
  .story-copy h2 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Multi-page shop foundation */
.footer-links { display:flex; align-items:center; gap:18px; font-size:11px; color:#8b6b5e; font-weight:800; }
.footer-links a:hover { color:var(--coral-deep); }
.main-nav a[aria-current="page"] { color:var(--ink); position:relative; }
.main-nav a[aria-current="page"]::after { content:""; position:absolute; height:3px; left:0; right:0; bottom:-9px; border-radius:4px; background:var(--caramel); }
.category-section { padding-top:42px; padding-bottom:55px; }
.compact-heading { margin-bottom:22px; }
.category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; }
.category-card { position:relative; display:flex; flex-direction:column; min-width:0; padding:10px 10px 17px; background:var(--paper); border:1px solid rgba(71,37,29,.08); border-radius:24px; overflow:hidden; transition:transform .2s ease,box-shadow .2s ease; }
.category-card:hover { transform:translateY(-5px); box-shadow:0 18px 42px rgba(71,37,29,.10); }
.category-image { display:block; aspect-ratio:1.18; overflow:hidden; border-radius:17px; background:#f8e0b6; }
.category-image img { width:100%;height:100%;object-fit:cover;transition:transform .35s ease; }
.category-card:hover .category-image img { transform:scale(1.06) rotate(-1deg); }
.category-card-copy { display:flex; flex-direction:column; gap:3px; padding:14px 7px 0; }
.category-card-copy strong { font:900 22px/1.05 Georgia,serif; letter-spacing:-.045em; }
.category-card-copy small { color:#947264; font-size:10px; line-height:1.4; }
.category-arrow { position:absolute; right:18px; bottom:19px; display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:var(--butter);font-size:16px;transition:transform .2s ease; }
.category-card:hover .category-arrow { transform:rotate(45deg); }
.tone-cocoa .category-arrow { background:#dec1a5; }.tone-confetti .category-arrow{background:#efb4bd}.tone-pink .category-arrow{background:#d7e7bd}
.home-featured { padding-top:40px; padding-bottom:80px; }
.home-featured .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:820px; margin-inline:auto; }
.catalog-page { min-height:calc(100vh - 182px); padding-top:53px; padding-bottom:82px; }
.page-intro { max-width:720px; margin:0 auto 28px; text-align:center; }
.page-intro h1 { margin:12px 0 12px; font-size:clamp(42px,5.5vw,68px); line-height:.98; }
.page-intro h1 span { color:var(--coral-deep);font-style:italic; }
.page-intro p { margin:0;color:var(--ink-soft);font-size:14px; }
.category-pills { display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:0 auto 18px; }
.category-pills a { display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;color:var(--ink-soft);font-size:11px;font-weight:900;transition:background .18s ease,color .18s ease,border .18s ease; }
.category-pills a:hover,.category-pills a[aria-current="page"] { background:var(--ink);border-color:var(--ink);color:var(--cream); }
.catalog-grid { padding-top:12px; }
.breadcrumbs { display:flex;justify-content:center;gap:9px;margin-bottom:20px;color:#9a7868;font-size:11px;font-weight:800; }
.breadcrumbs a:hover { color:var(--coral-deep); }
.category-intro { margin-bottom:25px; }
.catalog-endcap { display:flex;align-items:center;justify-content:center;gap:12px;margin-top:40px;color:#997b6c;font-size:12px; }
.catalog-endcap p { margin:0; }
.catalog-endcap img { opacity:.8; }
.story-hero { display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:55px;min-height:610px;padding-top:70px;padding-bottom:65px; }
.story-copy { max-width:520px; }
.story-copy h1 { margin:15px 0 19px;font:900 clamp(48px,5.2vw,72px)/.98 Georgia,serif;letter-spacing:-.065em; }
.story-copy h1 span { color:var(--coral-deep);font-style:italic; }
.story-copy p { max-width:455px;color:var(--ink-soft);font-size:14px;line-height:1.8; }
.story-copy .button { margin-top:8px; }
.story-art { position:relative;min-height:440px;display:grid;place-items:center; }
.story-art::before { content:"";position:absolute;inset:8% 1%;border-radius:46% 54% 58% 42%/48% 42% 58% 52%;background:#ffe4b6;transform:rotate(-5deg); }
.story-mascots { position:relative;z-index:1;width:100%;max-width:500px;filter:drop-shadow(0 18px 25px rgba(71,37,29,.1)); }
.about-section { position:relative;padding:66px 0 82px;background:#ffedcc;overflow:hidden; }
.about-section::before { content:"";position:absolute;top:-35px;left:-3%;right:-3%;height:55px;background:var(--cream);border-radius:0 0 50% 50%; }
.about-inner { text-align:center; }
.about-inner h2 { margin:10px 0 12px;font-size:clamp(34px,4vw,50px); }
.about-inner h2 span { color:var(--coral-deep);font-style:italic; }
.about-inner > p { max-width:590px;margin:0 auto;color:var(--ink-soft);font-size:13px;line-height:1.75; }
.about-values { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:35px auto 0;max-width:850px;text-align:left; }
.about-values article { padding:22px 22px 20px;border:1px solid rgba(71,37,29,.09);border-radius:20px;background:rgba(255,250,241,.72); }
.about-values article>span { display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:#f9d98e;color:var(--ink);font-size:20px; }
.about-values h3 { margin:13px 0 4px;font:900 18px/1.2 Georgia,serif;letter-spacing:-.03em; }
.about-values p { margin:0;color:#89695b;font-size:11px;line-height:1.6; }
.delivery-page { padding-top:80px;padding-bottom:110px; }
.delivery-options-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:900px;margin:35px auto 0; }
.delivery-choice { padding:36px;border-radius:28px;background:#ffebc2;border:1px solid rgba(71,37,29,.07); }
.pickup-choice { background:#e6ebd9; }
.delivery-choice-icon { display:grid;place-items:center;width:48px;height:48px;margin-bottom:24px;border-radius:16px;background:var(--paper);font-size:26px; }
.delivery-choice h2 { margin-bottom:10px;font-size:34px; }
.delivery-choice p { min-height:72px;color:var(--ink-soft);font-size:13px;line-height:1.7; }
.delivery-choice .button { margin-top:12px; }
.delivery-smallprint { margin:22px auto 0;text-align:center;color:#a08372;font-size:10px; }
@media(max-width:900px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-card{display:grid;grid-template-columns:105px 1fr 30px;align-items:center;padding:9px;gap:12px}.category-image{aspect-ratio:1;border-radius:15px}.category-card-copy{padding:0}.category-card-copy strong{font-size:19px}.category-arrow{position:static}.story-hero{gap:25px;min-height:520px}.story-art{min-height:360px}}
@media(max-width:700px){.footer-links{width:100%;justify-content:center;order:3;padding-top:8px;border-top:1px solid var(--line)}.category-section{padding-top:20px;padding-bottom:25px}.compact-heading{flex-direction:row;align-items:flex-end}.compact-heading h2{font-size:clamp(29px,7.3vw,38px)}.category-grid{gap:9px}.category-card{grid-template-columns:75px minmax(0,1fr) 22px;gap:8px;padding:7px;border-radius:17px}.category-image{border-radius:12px}.category-card-copy strong{font-size:15px}.category-card-copy small{font-size:9px}.category-arrow{width:22px;height:22px;font-size:13px}.home-featured{padding-top:30px;padding-bottom:45px}.home-featured .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-page{padding-top:34px;padding-bottom:55px}.page-intro{margin-bottom:22px}.page-intro h1{font-size:clamp(39px,10vw,52px)}.page-intro p{font-size:12px}.category-pills{gap:6px;margin-bottom:12px}.category-pills a{font-size:10px;min-height:34px;padding:7px 11px}.breadcrumbs{margin-bottom:14px}.catalog-grid{padding-top:8px}.catalog-endcap{margin-top:28px}.story-hero{grid-template-columns:1fr;gap:10px;padding-top:40px;padding-bottom:40px}.story-copy h1{font-size:clamp(43px,11vw,58px)}.story-copy p{font-size:12px;line-height:1.75}.story-art{min-height:270px;width:min(100%,440px);margin:0 auto}.about-section{padding:52px 0 58px}.about-values{grid-template-columns:1fr;gap:9px;margin-top:25px}.about-values article{display:grid;grid-template-columns:42px 1fr;column-gap:12px;padding:14px;text-align:left}.about-values article>span{grid-row:span 2}.about-values h3{margin:0 0 3px}.delivery-page{padding-top:45px;padding-bottom:65px}.delivery-options-grid{grid-template-columns:1fr;gap:12px;margin-top:23px}.delivery-choice{padding:25px;border-radius:22px}.delivery-choice-icon{margin-bottom:16px}.delivery-choice p{min-height:0}.delivery-choice .button{width:100%}}

/* Final responsive polish */
.story-mascots { height: auto !important; object-fit: contain; }
.story-art { min-width: 0; overflow: hidden; }
@media (max-width: 700px) {
  .category-card { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-width: 0; }
  .category-image { width: 100%; aspect-ratio: 1.16; }
  .category-card-copy { min-width: 0; padding: 10px 30px 1px 4px; }
  .category-card-copy strong { font-size: 16px; line-height: 1.1; }
  .category-card-copy small { font-size: 9px; line-height: 1.35; }
  .category-arrow { position: absolute; right: 12px; bottom: 13px; width: 22px; height: 22px; }
  .story-art { width: 100%; overflow: hidden; }
  .story-mascots { width: 100%; height: auto !important; max-width: 440px; }
  }
.not-found-page { min-height:100svh; display:flex; flex-direction:column; align-items:center; justify-content:center; padding-top:40px; padding-bottom:40px; text-align:center; }
.not-found-mascots { width:min(340px,75vw); height:auto; margin:0 auto 24px; }
.not-found-page h1 { margin:12px 0;font-size:clamp(42px,8vw,72px);line-height:1; }
.not-found-page p { max-width:390px;margin:0 auto 24px;color:var(--ink-soft);font-size:14px; }
.not-found-actions { display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap; }

/* v1.3.0: three-tab storefront and concise contact page */
.shop-home .home-featured { padding-top: 30px; }
.shop-home .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; margin-inline: auto; }
.shop-home .menu-bottom-line { max-width: 1120px; margin-inline: auto; }
.contact-page { padding-top: 38px; padding-bottom: 88px; }
.contact-hero { min-height: 320px; display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 36px; padding: 16px 0 30px; }
.contact-hero-copy { position: relative; z-index: 1; }
.contact-hero-copy h1 { max-width: 620px; margin: 17px 0 16px; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.065em; }
.contact-hero-copy h1 span { color: var(--caramel); }
.contact-hero-copy p { max-width: 455px; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.contact-sticker { display: inline-block; margin-top: 18px; padding: 11px 17px; border: 1px dashed var(--caramel); border-radius: 45% 55% 48% 52%; color: var(--coral-deep); font-family: var(--font-script, cursive); font-weight: 800; line-height: 1.15; transform: rotate(-5deg); }
.contact-sticker span { font-size: 22px; margin-left: 5px; }
.contact-hero-art { display: grid; place-items: center; min-height: 270px; background: radial-gradient(ellipse at center, rgba(245,197,113,.27), transparent 68%); }
.contact-hero-art img { width: min(100%, 410px); max-height: 350px; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(84,43,24,.10)); }
.contact-content { display: grid; grid-template-columns: .8fr 1.1fr; gap: clamp(24px, 5vw, 68px); align-items: start; border-top: 1px solid var(--line); padding-top: 38px; }
.contact-aside { position: sticky; top: 118px; padding: 14px 0; }
.contact-aside h2 { margin: 12px 0; font-size: clamp(34px, 4vw, 48px); letter-spacing: -.05em; line-height: 1.05; }
.contact-aside h2 span { color: var(--caramel); }
.contact-aside p { max-width: 370px; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.contact-aside-note { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--coral-deep); font-weight: 800; font-size: 12px; }
.contact-aside-note span:first-child { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ffebc3; font-size: 20px; }
.contact-form-card { padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: 25px; background: rgba(255,252,245,.88); box-shadow: 0 16px 50px rgba(78,42,24,.06); }
.contact-form { display: grid; gap: 15px; }
.contact-form .button { margin-top: 2px; }
.contact-form-note { margin: 0; text-align: center; color: var(--ink-soft); font-size: 11px; }
.contact-result h2 { margin: 10px 0 7px; font-size: 30px; letter-spacing: -.04em; }
.contact-result > p { color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.contact-result-cookie { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #ffedc6; color: var(--coral-deep); font-size: 25px; }
@media (max-width: 900px) { .shop-home .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .contact-hero { gap: 12px; } }
@media (max-width: 700px) { .shop-home .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .contact-page { padding-top: 27px; padding-bottom: 54px; } .contact-hero { grid-template-columns: 1fr; gap: 0; padding-top: 15px; } .contact-hero-copy h1 { font-size: clamp(43px, 11vw, 60px); } .contact-hero-copy p { font-size: 13px; } .contact-sticker { margin-top: 8px; } .contact-hero-art { min-height: 180px; max-height: 230px; overflow: hidden; } .contact-hero-art img { width: min(75%, 300px); max-height: 230px; } .contact-content { grid-template-columns: 1fr; gap: 12px; padding-top: 26px; } .contact-aside { position: static; padding: 0; } .contact-aside h2 { font-size: 34px; } .contact-aside p { font-size: 12px; margin-bottom: 8px; } .contact-aside-note { margin-top: 10px; } .contact-form-card { padding: 18px 14px; border-radius: 20px; } }


/* v1.3.0 brand and playful contact-note refinements */
.brand-cookie { background: transparent; }
.footer-brand { gap: 9px; }
.about-tagline { margin: 5px 0 12px !important; color: var(--coral-deep) !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(18px, 2.2vw, 24px) !important; font-weight: 900; }
.about-owner-copy { max-width: 760px; margin: 0 auto; color: var(--ink-soft); font-size: 14px; line-height: 1.85; }
.about-inner > .about-signoff { max-width: 500px; margin: 48px auto 0; padding-top: 22px; border-top: 1px dashed rgba(71,37,29,.18); text-align: center; color: var(--ink-soft); font-size: 12px; line-height: 1.75; font-weight: 800; }
.about-signoff span { color: var(--coral-deep); }
.contact-form-card { position: relative; overflow: visible; }
.contact-note-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 0 15px; margin-bottom: 18px; border-bottom: 1px dashed rgba(71,37,29,.18); color: var(--coral-deep); font-size: 10px; font-weight: 1000; letter-spacing: .15em; }
.contact-note-topline span:first-child { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #ffedc6; font-size: 19px; letter-spacing: 0; }
.contact-note-topline span:last-child { font-size: 16px; letter-spacing: 0; }
.contact-form-card { background: linear-gradient(145deg, rgba(255,253,247,.98), rgba(255,247,230,.98)); }
.contact-form-card::after { content: ""; position: absolute; right: 13px; bottom: 13px; width: 25px; height: 25px; border-right: 1px dashed rgba(71,37,29,.12); border-bottom: 1px dashed rgba(71,37,29,.12); border-radius: 0 0 7px 0; pointer-events: none; }
.note-flight { position: absolute; z-index: 20; left: 50%; bottom: 58px; display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; align-items: center; width: 156px; min-height: 92px; padding: 14px 13px 11px; border: 1px solid rgba(71,37,29,.15); border-radius: 10px; background: #fff8e9; color: var(--ink); box-shadow: 0 15px 34px rgba(71,37,29,.18); transform: translateX(-50%) rotate(-4deg); transform-origin: 50% 100%; pointer-events: none; }
.note-flight::before { content: ""; position: absolute; top: -9px; left: 50%; width: 14px; height: 14px; border-left: 2px dashed var(--coral); border-top: 2px dashed var(--coral); transform: translateX(-50%) rotate(45deg); }
.flight-heart { color: var(--coral-deep); font-size: 18px; }
.flight-address { align-self: center; font-size: 8px; font-weight: 1000; letter-spacing: .1em; white-space: nowrap; }
.flight-envelope { grid-column: 1 / -1; justify-self: center; color: var(--caramel); font-size: 29px; line-height: 1; }
.flight-whoosh { position: absolute; right: -28px; top: -13px; color: var(--coral-deep); font-family: Georgia, serif; font-size: 13px; font-weight: 900; font-style: italic; transform: rotate(9deg); }
.note-flight.is-flying { animation: chip-note-flight 3.6s cubic-bezier(.22,.76,.22,1) forwards; }
@keyframes chip-note-flight { 0% { opacity: 1; transform: translate(-50%,0) rotate(-4deg) scale(1); } 16% { opacity: 1; transform: translate(calc(-50% + 8px),-18px) rotate(2deg) scale(1.03); } 36% { opacity: 1; transform: translate(calc(-50% + 42px),-88px) rotate(8deg) scale(1.01); } 64% { opacity: .9; transform: translate(calc(-50% + 92px),-185px) rotate(18deg) scale(.83); } 100% { opacity: 0; transform: translate(calc(-50% + 168px),-310px) rotate(33deg) scale(.48); } }
.contact-result h2:focus { outline: none; }
.contact-result .order-summary-text { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .about-owner-copy { font-size: 12px; line-height: 1.8; }
  .about-inner > .about-signoff { margin-top: 28px; padding-top: 18px; }
  @keyframes chip-note-flight { 0% { opacity: 1; transform: translate(-50%,0) rotate(-4deg) scale(1); } 16% { opacity: 1; transform: translate(calc(-50% + 5px),-16px) rotate(2deg) scale(1.02); } 38% { opacity: 1; transform: translate(calc(-50% + 24px),-65px) rotate(9deg) scale(1); } 68% { opacity: .9; transform: translate(calc(-50% + 48px),-150px) rotate(17deg) scale(.82); } 100% { opacity: 0; transform: translate(calc(-50% + 82px),-235px) rotate(28deg) scale(.48); } }
}
@media (prefers-reduced-motion: reduce) {
  .note-flight.is-flying { animation: none; }
}


/* v1.4.0 — floating cookie cutouts, tactile add-to-bag feedback, and story spacing */
.product-grid { overflow: visible; isolation: isolate; }
.product-card { position: relative; z-index: 0; transform: translateZ(0); }
.product-card:hover, .product-card:focus-within { z-index: 12; }
.product-card:not(.is-flipped):hover .flip-inner,
.product-card:not(.is-flipped):focus-within .flip-inner { transform: translateY(-3px) rotateX(1deg); }
.card-front { overflow: visible; transform-style: preserve-3d; border-radius: 25px; }
.card-back { overflow: hidden; }
.front-image-wrap { overflow: visible; background: transparent; border-radius: 18px; isolation: auto; }
.front-image-wrap img { position: relative; z-index: 4; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; transform-origin: 68% 52%; filter: drop-shadow(0 8px 7px rgba(71,37,29,.10)); pointer-events: none; transition: transform .62s cubic-bezier(.18,.82,.22,1), filter .4s ease; }
.product-card:not(.is-flipped):hover .front-image-wrap img,
.product-card:not(.is-flipped):focus-within .front-image-wrap img { transform: translate3d(17px,-19px,68px) scale(1.16) rotate(4deg); filter: drop-shadow(0 21px 13px rgba(71,37,29,.25)); }
.flip-cue { z-index: 5; }
.product-name-front { position: relative; z-index: 3; }
.product-card:not(.is-flipped):hover .card-front,
.product-card:not(.is-flipped):focus-within .card-front { box-shadow: 0 18px 45px rgba(71,37,29,.14); }
.bag-count.is-bumping { animation: bag-count-bump .42s cubic-bezier(.2,.9,.25,1.3); }
@keyframes bag-count-bump { 0% { transform: scale(1); } 36% { transform: scale(1.35) rotate(-6deg); } 70% { transform: scale(.92) rotate(3deg); } 100% { transform: scale(1); } }
.crumb-burst-layer { position: fixed; z-index: 1600; inset: 0; overflow: hidden; pointer-events: none; }
.crumb-spark { position: fixed; display: block; width: var(--crumb-size,7px); height: var(--crumb-size,7px); margin-left: -3px; margin-top: -3px; border-radius: 40% 60% 50% 45%; background: var(--crumb-color,#e8a948); box-shadow: 0 1px 2px rgba(71,37,29,.14); animation: crumb-spark-flight .82s cubic-bezier(.2,.65,.2,1) forwards; }
.crumb-spark:nth-child(3n) { border-radius: 50%; }
.crumb-spark:nth-child(3n + 1) { border-radius: 2px; }
@keyframes crumb-spark-flight { 0% { opacity: 0; transform: translate(0,0) scale(.25) rotate(0); } 18% { opacity: 1; transform: translate(calc(var(--dx) * .28),calc(var(--dy) * .28)) scale(1) rotate(55deg); } 100% { opacity: 0; transform: translate(var(--dx),var(--dy)) scale(.25) rotate(230deg); } }
.about-signoff { position: relative; }
.contact-result .review-actions { margin-top: 18px; }
.contact-result .order-summary-text[hidden] { display: none !important; }
@media (hover: none) {
  .product-card:not(.is-flipped):hover .flip-inner { transform: none; }
  .product-card:not(.is-flipped):hover .front-image-wrap img { transform: none; filter: drop-shadow(0 8px 7px rgba(71,37,29,.10)); }
}
@media (max-width: 700px) {
  .about-inner > .about-signoff { margin-top: 28px; padding-top: 18px; }
  .product-card:not(.is-flipped):focus-within .front-image-wrap img { transform: translate3d(10px,-12px,36px) scale(1.10) rotate(3deg); }
  .product-card:not(.is-flipped):focus-within .flip-inner { transform: translateY(-2px); }
  .about-inner > .about-signoff { margin-top: 28px; padding-top: 18px; }
  .note-flight.is-flying { animation-duration: 3.6s; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card:hover .flip-inner, .product-card:focus-within .flip-inner { transform: none !important; }
  .product-card:hover .front-image-wrap img, .product-card:focus-within .front-image-wrap img { transform: none !important; }
  .crumb-spark, .bag-count.is-bumping { animation: none !important; }
}
