/* Hearth & Honey Bakehouse — fictional demo site */
:root {
  --cream: #fbf4e8;
  --cream-2: #f4e7d1;
  --paper: #fffaf1;
  --honey: #d9952b;
  --honey-2: #f4c56a;
  --honey-deep: #b06f14;
  --brown: #3a2417;
  --brown-2: #5e3a1f;
  --ink: #2b1a10;
  --muted: #7a6150;
  --line: rgba(58, 36, 23, .14);
  --error: #a3361d;
  --ribbon-h: 34px;
  --header-h: 72px;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(58,36,23,.06), 0 12px 32px -12px rgba(58,36,23,.22);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ribbon-h) + var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--ribbon-h);
}
body.drawer-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; font-variation-settings: "opsz" 120; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--brown); color: var(--cream); padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: calc(var(--ribbon-h) + 8px); }
.muted { color: var(--muted); }

/* Demo ribbon */
.demo-ribbon {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  height: var(--ribbon-h);
  display: flex; align-items: center; justify-content: center;
  padding: 0 12px;
  background: var(--brown); color: #f3e3c6;
  font-size: 12.5px; letter-spacing: .01em; text-align: center; line-height: 1.25;
}
.demo-ribbon a { color: var(--honey-2); font-weight: 600; text-underline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: var(--ribbon-h); z-index: 100;
  background: rgba(251, 244, 232, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(58,36,23,.5); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--brown); }
.brand-sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--brown-2); position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--honey); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav a:hover::after { transform: scaleX(1); }

.cart-button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brown); color: var(--cream);
  border: 0; border-radius: 999px; padding: 10px 12px 10px 16px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .15s, background .2s;
}
.cart-button:hover { background: var(--brown-2); }
.cart-button svg { width: 20px; height: 20px; }
.cart-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--honey); color: var(--brown); font-size: 13px; font-weight: 700; }
.cart-button.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--honey); color: var(--brown); box-shadow: 0 8px 20px -10px rgba(176,111,20,.8); }
.btn-primary:hover { background: #e5a33a; }
.btn-ghost { background: transparent; border-color: rgba(58,36,23,.35); color: var(--brown); }
.btn-ghost:hover { border-color: var(--brown); background: rgba(58,36,23,.04); }
.btn-block { width: 100%; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--honey-deep); margin-bottom: 14px; }
.eyebrow-light { color: var(--honey-2); }

/* Hero */
.hero { position: relative; padding: 56px 0 96px; background:
  radial-gradient(900px 500px at 85% 20%, rgba(244,197,106,.35), transparent 60%),
  radial-gradient(700px 400px at 0% 100%, rgba(217,149,43,.12), transparent 60%),
  var(--cream); color: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; color: var(--ink); }
.hero h1 { font-size: clamp(46px, 7vw, 92px); color: var(--brown); font-weight: 600; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--honey-deep); }
.lede { font-size: 19px; color: var(--brown-2); max-width: 32em; margin: 24px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 22px; }
.hero-facts li { flex: 1; padding-right: 16px; display: flex; flex-direction: column; }
.hero-facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-facts strong { font-family: var(--serif); font-size: 20px; color: var(--brown); font-weight: 600; }
.hero-facts span { font-size: 14px; color: var(--muted); }
.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: end; width: 100%; }
.hero-sun { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fbe0a6, #f0b75a 55%, #dc9433); box-shadow: inset 0 -30px 60px rgba(176,111,20,.35); }
.hero-illo { position: relative; width: 100%; height: 100%; }
.steam path { animation: steam 3.2s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: .6s; }
.steam path:nth-child(3) { animation-delay: 1.2s; }
@keyframes steam { 0%,100% { opacity: 0; transform: translateY(8px); } 40% { opacity: .85; } 80% { opacity: 0; transform: translateY(-14px); } }
.hero-badge {
  position: absolute; left: -4%; top: 8%;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--brown); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: var(--shadow); transform: rotate(-8deg);
}
.hero-badge-top, .hero-badge-bot { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--honey-2); }
.hero-badge-big { font-family: var(--serif); font-size: 34px; line-height: 1; margin: 4px 0; }
.hero-badge-big small { font-size: 15px; margin-left: 2px; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; color: var(--brown); }

/* Strip */
.strip { background: var(--brown); color: var(--cream-2); overflow: hidden; padding: 14px 0 18px; }
.strip-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--serif); font-style: italic; font-size: 22px; white-space: nowrap; }
.strip-track i { width: 8px; height: 8px; border-radius: 50%; background: var(--honey); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 104px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.section h2 { font-size: clamp(36px, 4.6vw, 58px); color: var(--brown); }
.section-note { max-width: 26em; color: var(--muted); margin: 0; }

/* Menu */
.menu-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { border: 1.5px solid var(--line); background: var(--paper); color: var(--brown-2); padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--brown-2); }
.chip.is-active { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.menu-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.menu-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.menu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.menu-card[hidden] { display: none; }
.menu-art { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.menu-art svg { width: 46%; height: auto; position: relative; filter: drop-shadow(0 10px 12px rgba(58,36,23,.25)); }
.menu-art::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,250,241,.55); }
.menu-tag { position: absolute; top: 12px; left: 12px; background: var(--brown); color: var(--honey-2); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.menu-body { padding: 18px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.menu-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.menu-card h3 { font-size: 21px; color: var(--brown); }
.menu-price { font-weight: 700; color: var(--honey-deep); white-space: nowrap; }
.menu-desc { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 8px 0 16px; flex: 1; }
.menu-actions { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.add-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--brown); background: transparent; color: var(--brown); font-weight: 600; cursor: pointer; transition: all .2s; }
.add-btn:hover { background: var(--brown); color: var(--cream); }
.add-btn svg { width: 18px; height: 18px; }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--brown); border-radius: 12px; overflow: hidden; background: var(--paper); }
.stepper button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--brown); cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: var(--cream-2); }
.stepper button svg { width: 18px; height: 18px; }
.stepper output { min-width: 30px; text-align: center; font-weight: 700; }
.menu-actions .stepper { flex: 1; justify-content: space-between; background: var(--brown); color: var(--cream); }
.menu-actions .stepper button { color: var(--cream); height: 41px; width: 46px; }
.menu-actions .stepper button:hover { background: var(--brown-2); }

/* Art backgrounds per category */
.art-breads { background: linear-gradient(140deg, #f3d9ae, #e2b277); color: #9a5420; }
.art-pastries { background: linear-gradient(140deg, #f8dfb4, #eeb860); color: #b1631c; }
.art-coffee { background: linear-gradient(140deg, #e9d5bf, #c79c76); color: #5e3a1f; }
.art-cakes { background: linear-gradient(140deg, #f7e2cc, #e9b98f); color: #8a4b2a; }
.art-alt { filter: hue-rotate(-8deg) saturate(1.1); }

/* Story */
.story { background: var(--cream-2); }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.story-art { position: relative; }
.story-frame { border-radius: 240px 240px 24px 24px; overflow: hidden; box-shadow: var(--shadow); border: 10px solid var(--paper); max-width: 440px; }
.story-frame svg { width: 100%; height: auto; }
.flame { transform-origin: 50% 100%; transform-box: fill-box; animation: flicker 2.4s ease-in-out infinite; }
@keyframes flicker { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(1.06) scaleX(.97); } }
.story-wheat { position: absolute; right: 6%; bottom: -30px; width: 56px; color: var(--honey); transform: rotate(14deg); }
.story-copy p { color: var(--brown-2); font-size: 17.5px; }
.story-copy h2 { margin-bottom: 24px; }
.story-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.story-stats dt { font-family: var(--serif); font-size: 36px; color: var(--honey-deep); line-height: 1; }
.story-stats dd { margin: 6px 0 0; font-size: 14px; color: var(--muted); line-height: 1.35; }
.story-quote { margin: 0; padding-left: 20px; border-left: 3px solid var(--honey); }
.story-quote p { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.35; color: var(--brown); margin-bottom: 8px; }
.story-quote cite { font-style: normal; font-size: 14px; color: var(--muted); }

/* Cakes */
.cakes { background:
  radial-gradient(600px 400px at 10% 10%, rgba(217,149,43,.22), transparent 60%),
  var(--brown); color: var(--cream-2); }
.cakes h2 { color: var(--cream); }
.cakes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cakes-intro > p { color: #e5d2b4; margin: 20px 0 28px; font-size: 18px; max-width: 30em; }
.cake-points { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 14px; }
.cake-points li { display: flex; gap: 14px; align-items: baseline; color: var(--cream); }
.cake-points span { font-family: var(--serif); font-style: italic; color: var(--honey-2); font-size: 18px; }
.cake-illo { width: 260px; max-width: 70%; }

.form-card { background: var(--paper); color: var(--ink); border-radius: 24px; padding: 32px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.form-card h3 { font-size: 28px; color: var(--brown); margin-bottom: 20px; }
.field { margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label, legend { display: block; font-weight: 600; font-size: 14px; color: var(--brown-2); margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid rgba(58,36,23,.22); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235e3a1f' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--honey); box-shadow: 0 0 0 4px rgba(217,149,43,.22); }
.is-invalid input, .is-invalid select { border-color: var(--error); }
.field-error { color: var(--error); font-size: 13.5px; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.field-help { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills label { margin: 0; font-weight: 500; cursor: pointer; }
.radio-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-pills span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(58,36,23,.22); font-size: 14px; transition: all .2s; }
.radio-pills input:checked + span { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.radio-pills input:focus-visible + span { outline: 3px solid var(--honey); outline-offset: 2px; }
.form-fine { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success:focus { outline: none; }
.form-success svg { width: 64px; height: 64px; margin: 0 auto 18px; }
.form-success p { color: var(--brown-2); }

/* Visit */
.visit-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.visit h2 { margin-bottom: 24px; }
address { font-style: normal; font-family: var(--serif); font-size: 24px; line-height: 1.35; color: var(--brown); margin-bottom: 14px; }
.visit-contact a { color: var(--honey-deep); font-weight: 600; text-decoration: none; }
.visit-contact a:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; margin: 18px 0 14px; font-size: 15.5px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px dashed var(--line); text-align: left; }
.hours th { font-weight: 500; color: var(--brown-2); }
.hours td { text-align: right; color: var(--brown); }
.hours tr.is-closed td { color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--honey-deep); }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; background: var(--cream-2); color: var(--brown); }
.open-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9a8a7a; }
.open-status.is-open::before { background: #4f8a3a; box-shadow: 0 0 0 4px rgba(79,138,58,.18); }
.map-card { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid var(--paper); aspect-ratio: 600 / 440; }
.map-card svg { width: 100%; height: 100%; }
.pin-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
.map-label { position: absolute; left: 16px; bottom: 16px; background: var(--paper); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.3; max-width: calc(100% - 32px); }
.map-label strong { font-family: var(--serif); font-size: 18px; color: var(--brown); }
.map-label span { font-size: 13px; color: var(--muted); }

/* Footer */
.site-footer { background: #24160d; color: #d9c6a8; padding: 72px 0 28px; font-size: 15px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--honey-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { font-family: var(--serif); font-size: 30px; color: var(--cream); margin-bottom: 8px; }
.footer-tag { max-width: 22em; }
.footer-h { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--honey-2); font-weight: 700; margin-bottom: 10px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13.5px; color: #a9927a; }
.footer-base p { margin: 0; }
.footer-base a { color: var(--honey-2); }

/* Mobile bar */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: none; justify-content: space-between; align-items: center;
  background: var(--brown); color: var(--cream); border: 0; border-radius: 16px;
  padding: 14px 18px; font-weight: 600; font-size: 15px; cursor: pointer;
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.5);
}
.mobile-bar-cta { color: var(--honey-2); }

/* Drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 140; background: rgba(36,22,13,.5); opacity: 0; transition: opacity .3s; }
.drawer-backdrop.is-visible { opacity: 1; }
.drawer {
  position: fixed; top: var(--ribbon-h); right: 0; bottom: 0; z-index: 150;
  width: min(440px, 100%);
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s;
  box-shadow: -20px 0 60px -20px rgba(0,0,0,.4);
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.drawer:focus { outline: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 26px; color: var(--brown); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream-2); color: var(--brown); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: #ecdcc0; }
.icon-btn svg { width: 20px; height: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px 28px; overscroll-behavior: contain; }
.drawer-body[hidden] { display: none; }
.cart-empty { text-align: center; padding: 48px 12px; }
.cart-empty svg { width: 84px; height: 84px; color: var(--honey); margin: 0 auto 12px; }
.cart-empty p { margin-bottom: 6px; font-weight: 600; color: var(--brown); }
.cart-empty p.muted { font-weight: 400; margin-bottom: 20px; }
.cart-empty[hidden] { display: none; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; }
.cart-thumb svg { width: 32px; height: 32px; }
.cart-item-name { font-weight: 600; color: var(--brown); line-height: 1.25; }
.cart-item-price { font-size: 14px; color: var(--muted); }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-item .stepper { border-width: 1px; border-radius: 10px; }
.cart-item .stepper button { width: 34px; height: 34px; }
.cart-item .stepper svg { width: 15px; height: 15px; }
.cart-item .stepper output { min-width: 24px; font-size: 15px; }
.cart-item-line { font-weight: 700; font-size: 15px; color: var(--brown); }
.checkout { margin-top: 18px; }
.checkout[hidden] { display: none; }
.cart-summary { background: var(--cream); border-radius: 14px; padding: 14px 16px; margin-bottom: 20px; font-size: 15px; }
.cart-summary div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--brown-2); }
.cart-summary-total { font-weight: 700; color: var(--brown) !important; font-size: 17px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px !important; }

.confirm { text-align: center; }
.confirm-check { width: 72px; height: 72px; margin: 12px auto 18px; }
.confirm-number { font-size: 44px; color: var(--brown); margin-bottom: 14px; }
.confirm p { color: var(--brown-2); }
.confirm-list { list-style: none; padding: 14px 16px; margin: 20px 0 12px; background: var(--cream); border-radius: 14px; text-align: left; font-size: 15px; }
.confirm-list li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.confirm-total { display: flex; justify-content: space-between; padding: 0 16px; margin-bottom: 20px; font-size: 17px; color: var(--brown); }
.demo-note { background: rgba(217,149,43,.14); border: 1px dashed var(--honey); border-radius: 12px; padding: 12px 14px; font-size: 14px; text-align: left; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 160;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--brown); color: var(--cream); padding: 12px 20px; border-radius: 999px;
  font-weight: 500; font-size: 15px; box-shadow: var(--shadow);
  transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero { padding: 32px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { justify-self: center; max-width: 420px; order: -1; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid, .cakes-grid, .visit-grid { grid-template-columns: 1fr; gap: 44px; }
  .story-frame { max-width: 360px; margin-inline: auto; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cake-illo { display: none; }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; --ribbon-h: 42px; }
  body { font-size: 16px; }
  .demo-ribbon { font-size: 11.5px; }
  .section { padding: 72px 0; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 9.5px; }
  .brand-mark { width: 34px; height: 34px; }
  .cart-button-label { display: none; }
  .cart-button { padding: 8px 10px 8px 12px; }
  .hero-art { max-width: 300px; }
  .hero-badge { width: 104px; height: 104px; left: -4%; top: 0; }
  .hero-badge-big { font-size: 25px; }
  .hero-badge-top, .hero-badge-bot { font-size: 8px; letter-spacing: .08em; }
  .lede { font-size: 17px; margin: 18px 0 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts li { padding-right: 8px; }
  .hero-facts li + li { padding-left: 12px; }
  .hero-facts strong { font-size: 17px; }
  .hero-facts span { font-size: 13px; }
  .strip-track { font-size: 18px; }
  .menu-grid { grid-template-columns: 1fr; gap: 14px; }
  .menu-card { flex-direction: row; }
  .menu-art { aspect-ratio: auto; width: 108px; flex: none; }
  .menu-art svg { width: 64%; }
  .menu-art::before { width: 80%; }
  .menu-tag { top: 8px; left: 8px; font-size: 9px; padding: 3px 7px; }
  .menu-body { padding: 14px; }
  .menu-card h3 { font-size: 18px; }
  .menu-desc { font-size: 13.5px; margin: 4px 0 12px; }
  .story-stats { gap: 10px; }
  .story-stats dt { font-size: 28px; }
  .story-stats dd { font-size: 12.5px; }
  .story-quote p { font-size: 20px; }
  .form-card { padding: 22px 18px; border-radius: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .drawer-head, .drawer-body { padding-inline: 18px; }
  .mobile-bar:not([hidden]) { display: flex; }
  body.has-items .site-footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .strip-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
