/* Mobile first: base styles are for phones, larger screens are added with min-width queries. */

/* Fonts (self hosted) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/CormorantGaramond-italic-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/CormorantGaramond-italic-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/CormorantGaramond-italic-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/CormorantGaramond-italic-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/CormorantGaramond-normal-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/CormorantGaramond-normal-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/CormorantGaramond-normal-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/CormorantGaramond-normal-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Jost-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Jost-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/Jost-normal-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/Jost-normal-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/fonts/Caveat-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #FBF6EE;
  --kraft: #F3E8D8;
  --card: #FFFDF9;
  --sand: #E9D8BF;
  --cocoa: #3E2B20;
  --cocoa-2: #6E5444;
  --muted: #75604F;
  --berry: #A8473E;
  --wa: #177A47;
  --line: rgba(62, 43, 32, .14);
  --lift: 0 1px 2px rgba(62, 43, 32, .08), 0 14px 30px -12px rgba(62, 43, 32, .32);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --wrap: 1120px;
  --header-h: 60px;
  --gutter: 18px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .24 0 0 0 0 .17 0 0 0 0 .12 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--cocoa);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
::selection { background: rgba(168, 71, 62, .18); color: var(--cocoa); }
input, textarea { caret-color: var(--berry); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
button { touch-action: manipulation; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: 2.6rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.35rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.muted { color: var(--muted); }
.hand { font-family: var(--hand); font-weight: 500; font-size: 1.35rem; line-height: 1.15; color: var(--berry); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 1.4em; border-radius: 999px;
  font: 500 1rem var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1.5px solid transparent; transition: background .2s, color .2s, transform .15s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--cocoa); color: var(--paper); }
.btn-ghost { border-color: var(--cocoa); color: var(--cocoa); background: transparent; }
.btn-cream { background: var(--paper); color: var(--cocoa); }
.btn-wa { background: var(--wa); color: #fff; width: 100%; min-height: 54px; }
.text-link {
  background: none; border: 0; padding: 10px 0; cursor: pointer;
  font: 500 .95rem var(--sans); color: var(--cocoa-2);
  text-decoration: underline; text-decoration-color: rgba(168, 71, 62, .5); text-decoration-thickness: 1.5px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 246, 238, .94);
  backdrop-filter: saturate(1.3) blur(10px);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 6px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; }
.brand-word { width: clamp(78px, 26vw, 108px); height: auto; margin-top: 2px; }
.nav { display: none; }
.lang-switch, .head-wa, .bag-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; min-width: 44px; padding: 0 10px; border-radius: 999px;
  color: var(--cocoa); text-decoration: none; background: none; border: 0; cursor: pointer;
  font: 500 .85rem var(--sans); letter-spacing: .06em;
}
.lang-switch { min-width: 36px; padding: 0 6px; }
.head-wa { color: var(--wa); }
.bag-label { display: none; }
.bag-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--berry); color: #fff; font-size: .75rem; letter-spacing: 0;
  display: inline-grid; place-items: center;
}
.bag-count[hidden] { display: none; }
.bag-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }

/* Polaroids */
.polaroid {
  position: relative; margin: 0; background: var(--card); padding: 10px 10px 0;
  box-shadow: var(--lift); border-radius: 3px;
}
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1px; }
.polaroid figcaption { text-align: center; padding: 10px 6px 12px; font-size: 1.3rem; }
.tape {
  position: absolute; z-index: 2; width: 88px; height: 26px;
  background: rgba(226, 205, 170, .72);
  box-shadow: 0 1px 2px rgba(62, 43, 32, .08);
  -webkit-mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent 0);
}

/* Hero: photo first on phones */
.hero { padding: 26px 0 44px; }
.hero-grid { display: grid; gap: 34px; }
.hero-art { position: relative; padding: 6px 0 46px; max-width: 420px; width: 100%; margin: 0 auto; }
.polaroid--main { width: 80%; transform: rotate(-2.4deg); }
.polaroid--small { position: absolute; right: 0; bottom: 0; width: 44%; transform: rotate(4deg); }
.polaroid--small figcaption { font-size: 1.15rem; padding: 6px 4px 8px; }
.tape--a { top: -4px; left: 30%; transform: rotate(-6deg); }
.polaroid--small::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 64px; height: 24px; transform: translateX(-50%) rotate(7deg);
  background: rgba(226, 205, 170, .72); box-shadow: 0 1px 2px rgba(62, 43, 32, .08);
}
.polaroid--main figcaption { text-align: left; padding-right: 38%; padding-left: 8px; }
.hero h1 { margin-bottom: 14px; }
.lede { font-size: 1.08rem; color: var(--cocoa-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 22px 0 26px; }
.promises { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.promises li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--cocoa-2); }
.promises svg { flex: none; width: 30px; height: 30px; color: var(--berry); }

/* Hello */
.hello { background: var(--kraft) var(--grain); padding: 52px 0; }
.hello-grid { display: grid; gap: 20px; justify-items: center; text-align: center; }
.hello-illustration { width: min(64%, 260px); }
.hello-note { max-width: 34em; }
.hello-note h2 { margin-bottom: 14px; }
.hello-note p { color: var(--cocoa-2); font-size: 1.05rem; }
.signature { width: 150px; margin: 6px auto 0; }

/* Sections */
.section { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 26px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { margin: 0; }

/* Menu: swipeable rows of polaroid cards on phones */
.menu-group + .menu-group { margin-top: 40px; }
.menu-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-bottom: 14px; }
.menu-group-head .hand { margin: 0; font-size: 1.25rem; }
.products {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 22px; scroll-padding: 0 var(--gutter);
  -webkit-overflow-scrolling: touch;
}
.products::-webkit-scrollbar { display: none; }
.card {
  flex: 0 0 min(80%, 310px); scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--card); padding: 10px; border-radius: 3px; box-shadow: var(--lift);
}
.card[hidden] { display: none; }
.products .card:nth-child(3n + 1) { transform: rotate(-.6deg); }
.products .card:nth-child(3n + 2) { transform: rotate(.5deg); }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--kraft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .4s; }
.card-media .alt { position: absolute; inset: 0; opacity: 0; }
.tag {
  position: absolute; left: 10px; bottom: 10px; padding: 3px 10px 4px;
  background: var(--card); color: var(--berry); border-radius: 2px;
  font: 500 1.15rem/1.1 var(--hand); transform: rotate(-3deg);
  box-shadow: 0 1px 3px rgba(62, 43, 32, .15);
}
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 4px 4px; flex: 1; }
.card-body p { font-size: .9rem; line-height: 1.5; color: var(--cocoa-2); margin: 0; }
.card-buy { margin-top: auto; display: grid; gap: 10px; padding-top: 4px; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size {
  min-height: 44px; padding: 4px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper);
  font: .875rem/1.2 var(--sans); color: var(--cocoa-2); cursor: pointer; text-align: left;
}
.size small { display: block; color: var(--muted); font-size: .8125rem; }
.size[aria-pressed="true"] { border-color: var(--cocoa); background: var(--card); color: var(--cocoa); box-shadow: inset 0 0 0 1px var(--cocoa); }
.size-note { font-size: .875rem; color: var(--muted); }
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; white-space: nowrap; }
.price small { font-family: var(--sans); font-size: .8125rem; color: var(--muted); font-weight: 400; margin-right: 3px; }
.add-btn { min-height: 46px; padding: 0 1.1em; font-size: .95rem; border-color: var(--cocoa); color: var(--cocoa); background: transparent; }
.add-btn.added { background: var(--wa); border-color: var(--wa); color: #fff; }

/* Custom cakes */
.custom { background: var(--cocoa) var(--grain); color: var(--paper); padding: 56px 0 60px; overflow: hidden; }
.custom-grid { display: grid; gap: 34px; }
.polaroid--custom { width: min(78%, 360px); margin: 0 auto; transform: rotate(2deg); }
.custom h2 { margin-bottom: 14px; }
.custom p { color: rgba(251, 246, 238, .86); font-size: 1.05rem; max-width: 34em; margin-bottom: 24px; }

/* How to order */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 21px; top: 30px; bottom: 30px;
  border-left: 1.5px dashed rgba(168, 71, 62, .35);
}
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; position: relative; }
.step-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); box-shadow: 0 1px 3px rgba(62, 43, 32, .12);
  font-size: 1.6rem; font-weight: 600;
}
.steps h3 { font-size: 1.35rem; margin: 8px 0 4px; }
.steps p { margin: 0; color: var(--cocoa-2); font-size: .95rem; }

/* FAQ */
.faq-section { background: var(--kraft) var(--grain); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 1.5px solid var(--cocoa); border-bottom: 1.5px solid var(--cocoa);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--cocoa-2); padding-bottom: 8px; max-width: 65ch; }

/* Footer */
.site-footer { padding: 52px 0 36px; text-align: center; }
body.has-fab .site-footer { padding-bottom: 108px; }
.footer-inner { display: grid; justify-items: center; gap: 12px; }
.footer-quote { font-size: 2.1rem; margin: 0; }
.footer-illustration { width: 120px; margin-top: 4px; }
.footer-word { width: 150px; }
.footer-tagline { margin: 0; }
.footer-links { display: grid; gap: 2px; justify-items: center; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--cocoa-2); }
.footer-note { font-size: .8125rem; margin: 6px 0 0; max-width: 60ch; }

/* Floating order bar (phones) */
.fab {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--cocoa); color: var(--paper); font: 500 1rem var(--sans);
  box-shadow: 0 6px 12px -2px rgba(62, 43, 32, .3), 0 16px 32px -8px rgba(62, 43, 32, .35); cursor: pointer;
}
.fab[hidden] { display: none; }

/* Order sheet */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(40, 26, 18, .45); z-index: 60; opacity: 0; transition: opacity .25s; }
.drawer-backdrop.open { opacity: 1; }
.drawer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  height: 94dvh; background: var(--paper) var(--grain);
  display: flex; flex-direction: column;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%); transition: transform .34s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 -10px 40px rgba(40, 26, 18, .18);
}
.drawer::before {
  content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px;
  border-radius: 4px; background: var(--line);
}
.drawer.open { transform: none; }
.drawer-head { display: grid; grid-template-columns: 44px 1fr 44px; gap: 12px; align-items: center; padding: 20px var(--gutter) 14px; border-bottom: 1px solid var(--line); }
.drawer-head img { border-radius: 50%; }
.drawer-head h2 { font-size: 1.55rem; }
.drawer-sub { margin: 2px 0 0; font-size: .875rem; color: var(--muted); line-height: 1.35; }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: var(--cocoa); display: grid; place-items: center; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px var(--gutter) 24px; overscroll-behavior: contain; }
.cart-empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 48px 0; color: var(--cocoa-2); }
.cart-empty svg { color: var(--berry); }
.cart-empty .hand { font-size: 1.6rem; margin: 0; }
.cart-empty[hidden] { display: none; }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 4px var(--card), 0 2px 6px 2px rgba(62, 43, 32, .14); }
.cart-item h4 { margin: 0; font: 500 .95rem/1.3 var(--sans); letter-spacing: 0; }
.cart-item .meta { font-size: .8125rem; color: var(--muted); }
.cart-item .line-price { font-weight: 500; font-size: .95rem; text-align: right; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; margin-top: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.qty button { width: 44px; height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 1.15rem; color: var(--cocoa); border-radius: 999px; }
.qty span { min-width: 22px; text-align: center; font-size: .95rem; }
.add-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; color: var(--berry); font: 600 1.3rem var(--hand); text-decoration: none; }
.add-more[hidden] { display: none; }
.order-form { margin-top: 18px; display: grid; gap: 16px; }
.order-form[hidden] { display: none; }
.order-form h3 { font-size: 1.45rem; }
.order-form label { display: grid; gap: 6px; font-size: .875rem; color: var(--cocoa-2); }
.order-form label[hidden] { display: none; }
.order-form input:not([type="radio"]), .order-form select, .order-form textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); color: var(--cocoa);
  font: 1rem var(--sans); /* 16px stops iOS zoom */
  -webkit-appearance: none; appearance: none;
}
.order-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--cocoa-2) 50%), linear-gradient(135deg, var(--cocoa-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px;
}
.order-form textarea { resize: vertical; }
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { outline: none; border-color: var(--cocoa); box-shadow: 0 0 0 3px rgba(62, 43, 32, .1); }
.order-form .invalid { border: 2px solid var(--berry) !important; }
.field-hint { font-size: .8125rem; color: var(--muted); }
.field-error { font-size: .875rem; color: var(--berry); font-weight: 500; }
.field-error[hidden], .field-hint[hidden] { display: none; }
.row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { font-size: .875rem; color: var(--cocoa-2); margin-bottom: 6px; padding: 0; }
.seg label {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; color: var(--cocoa); font-size: .95rem;
}
.seg label:has(input:checked) { border-color: var(--cocoa); box-shadow: inset 0 0 0 1px var(--cocoa); }
.seg input { accent-color: var(--cocoa); margin: 0; }
.sent { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 40px 6px; }
.sent[hidden] { display: none; }
.sent svg { color: var(--berry); }
.sent h3 { font-size: 1.8rem; }
.sent p { color: var(--cocoa-2); max-width: 30em; margin: 0; }
.drawer-foot { padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); }
.drawer-foot[hidden] { display: none; }
.totals { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.totals strong { font-family: var(--serif); font-size: 1.6rem; }
.pay-note { display: flex; gap: 8px; align-items: center; font-size: .875rem; color: var(--cocoa-2); margin: 0 0 12px; }
.pay-note svg { flex: none; color: var(--berry); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 80;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px);
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: var(--cocoa); color: var(--paper); padding: 8px 10px 8px 18px; border-radius: 999px;
  font-size: .9rem; transition: opacity .2s, transform .2s;
  box-shadow: 0 8px 24px -6px rgba(40, 26, 18, .4);
}
.toast span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast-undo { min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(251, 246, 238, .16); color: var(--paper); font: 600 .875rem var(--sans); cursor: pointer; }
.toast-undo[hidden] { display: none; }

body.no-scroll { overflow: hidden; }
.sprite { position: absolute; }

/* ---------- 600px and up ---------- */
@media (min-width: 600px) {
  :root { --gutter: 28px; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; }
  .row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { flex-basis: 300px; }
  .hello-illustration { width: 240px; }
  .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; }
}

/* ---------- 900px and up ---------- */
@media (min-width: 900px) {
  :root { --header-h: 72px; }
  h1 { font-size: 3.7rem; }
  h2 { font-size: 2.8rem; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-word { width: 120px; }
  .nav { display: flex; gap: 26px; margin-right: 10px; }
  .nav a { text-decoration: none; font-size: .95rem; color: var(--cocoa-2); }
  .nav a:hover { color: var(--cocoa); }
  .head-wa { display: none; }
  .bag-btn { border: 1px solid var(--line); background: var(--card); padding: 0 16px; }
  .bag-label { display: inline; letter-spacing: 0; font-size: .92rem; }
  .fab { display: none !important; }
  body.has-fab .site-footer { padding-bottom: 36px; }

  .hero { padding: 64px 0 88px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .hero-art { order: 2; max-width: 480px; }
  .lede { font-size: 1.15rem; }

  .hello { padding: 88px 0; }
  .hello-grid { grid-template-columns: 300px 1fr; gap: 64px; justify-items: start; text-align: left; align-items: center; }
  .hello-illustration { width: 300px; }
  .signature { margin-left: 0; }

  .section { padding: 96px 0; }
  .section-head { margin-bottom: 36px; }
  .products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; overflow: visible; margin: 0; padding: 6px 0 10px; }
  .card { flex: none; }

  .custom { padding: 96px 0; }
  .custom-grid { grid-template-columns: 400px 1fr; gap: 72px; align-items: center; }
  .polaroid--custom { width: 100%; }
  .custom p { font-size: 1.1rem; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps::before { left: 22px; right: 22px; top: 22px; bottom: auto; border-left: 0; border-top: 1.5px dashed rgba(168, 71, 62, .35); }
  .steps li { grid-template-columns: 1fr; gap: 6px; }
  .how .narrow { max-width: var(--wrap); }
  .faq summary { font-size: 1.4rem; padding: 22px 36px 22px 0; }

  .drawer {
    left: auto; top: 0; width: 460px; height: auto;
    border-radius: 0; transform: translateX(100%);
    box-shadow: -10px 0 40px rgba(40, 26, 18, .15);
  }
  .drawer::before { display: none; }
  .toast { bottom: 28px; }
}

@media (hover: hover) and (min-width: 600px) {
  .btn-primary:hover { background: #2c1e16; }
  .btn-ghost:hover, .add-btn:hover:not(.added) { background: var(--cocoa); color: var(--paper); }
  .btn-wa:hover { background: #12643A; }
  .btn-cream:hover { background: var(--sand); }
  .card:hover .card-media img { transform: scale(1.04); }
  .card:hover .card-media .alt { opacity: 1; }
  .icon-btn:hover, .qty button:hover { background: var(--kraft); }
  .bag-btn:hover { border-color: var(--cocoa); }
}

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