/* Olde Towne Country Store — classic bakery & deli in the store's own colors: charcoal, green, red, brown on cream. */
:root {
  /* Store colors from oldetownecountrystore.com: charcoal, grass green, deep red, saddle brown. */
  --cream: #f8f5ef;
  --cream-deep: #efe9de;
  --paper: #ffffff;
  --espresso: #222222;      /* charcoal: header, footer */
  --espresso-2: #2a2a2a;
  --brown: #513c2d;         /* dark feature sections */
  --ink: #262321;
  --ink-soft: #66605a;
  --line: #e2dbcf;
  /* Store green, deepened just enough to meet WCAG 2.1 AA contrast (4.5:1) for text and for white
     text on green buttons. The original #5fa233 is only 2.9:1 on cream. */
  --brand: #3d7520;         /* green backgrounds behind white text (buttons, bars) */
  --brand-dark: #2f5c18;
  --accent: #3d7520;        /* green text, borders, and accents on light backgrounds */
  --accent-dark: #2f5c18;
  --accent-soft: #e2f0d6;
  --red: #a40000;           /* store red: prices, highlights */
  --red-bright: #d8322a;
  --sage: #3d7520;

  --script: 'Yellowtail', 'Brush Script MT', cursive;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 12px;
  --shadow: 0 10px 30px rgba(34, 34, 34, 0.14);

  /* Names used by the admin panel. */
  --muted: var(--ink-soft);
  --red-dark: #7d0000;
  --green: var(--accent);
  --gold: var(--accent);
}

/* On dark backgrounds, green text needs to be light to stay readable (7.5:1+ on charcoal). */
.topbar, .site-header, .site-footer, .dark, .hero, .promo, .photo-strip, .reviews, .page-head {
  --accent: #9fd07f;
  --accent-dark: #b9e09f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { margin: 0 0 0.4em; line-height: 1.1; font-weight: 400; }
h1, h2 { font-family: var(--script); letter-spacing: 0.01em; }
h1 { font-size: clamp(3rem, 8vw, 5.8rem); }
h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--ink); }
h3 { font: 600 1.35rem/1.25 var(--serif); letter-spacing: 0.04em; text-transform: uppercase; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }
.kicker { font: 500 0.78rem/1.4 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.label { font: 500 0.74rem/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; }
.flourish { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--accent); margin: 6px 0 18px; }
.flourish::before, .flourish::after { content: ''; width: 46px; height: 1px; background: currentColor; }
.flourish span { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid currentColor; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.hidden { display: none !important; }
.lede { max-width: 620px; margin: 0 auto 8px; color: var(--ink-soft); }

/* ---------- Top strip & header ---------- */
.announce { background: var(--red); color: #fff; text-align: center; padding: 8px 16px; font-weight: 500; }
.topbar { background: var(--espresso); color: #d9cdb8; font-size: 0.82rem; }
.topbar .wrap { display: flex; justify-content: center; gap: 16px; padding-block: 8px; flex-wrap: wrap; text-align: center; }
.topbar a { color: #d9cdb8; text-decoration: none; }
.topbar a:hover { color: #fff; }

.site-header { background: var(--espresso); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(95, 162, 51, 0.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-logo { height: 58px; width: auto; flex: none; background: var(--cream); padding: 3px 4px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(95, 162, 51, 0.6); }
.site-footer .brand-logo { height: 76px; }
@media (max-width: 520px) { .brand-logo { height: 46px; } }
@media (max-width: 440px) { .site-header .brand-text { display: none; } .site-header .wrap { gap: 10px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 400 1.9rem/0.9 var(--script); color: #fff; }
.brand-sub { font: 500 0.62rem/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: #eadfcc; text-decoration: none; padding: 8px 12px; font: 500 0.8rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; position: relative; }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 0.2s; }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav a[aria-current='page'] { color: #fff; }
.nav .btn { margin-left: 10px; color: #fff; }
.nav .btn::after { display: none; }
.nav a { white-space: nowrap; }
/* Dropdown (About → Reviews) */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item.in-section > a { color: #fff; }
.nav-item.in-section > a::after { transform: scaleX(1); }
.nav-item > a { padding-right: 2px; }
.nav-item > a::after { right: 2px; }
.sub-toggle { position: relative; z-index: 1; background: none; border: 0; color: #eadfcc; font-size: 0.7rem; padding: 10px 10px 10px 4px; cursor: pointer; line-height: 1; }
.sub-toggle:hover { color: #fff; }
.sub { position: absolute; top: 100%; left: 4px; min-width: 170px; background: var(--espresso-2); border-top: 2px solid var(--accent); border-radius: 0 0 6px 6px; box-shadow: var(--shadow); padding: 6px 0; display: none; z-index: 30; }
.sub a { display: block; padding: 10px 16px; }
.sub a::after { display: none; }
.sub a:hover, .sub a[aria-current='page'] { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nav-item:hover .sub, .nav-item:focus-within .sub, .nav-item.open .sub { display: block; }
.nav-item.dismissed:not(.open) .sub { display: none; }
@media (max-width: 1240px) and (min-width: 1061px) { .nav { gap: 0; } .nav a { padding: 8px 8px; letter-spacing: 0.1em; } .nav a::after { left: 8px; right: 8px; } .nav .btn { margin-left: 6px; } }
.nav-toggle { display: none; background: none; border: 1px solid var(--accent); color: #fff; border-radius: 4px; padding: 7px 14px; font: 500 0.8rem var(--sans); letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: #fff; color: var(--brand-dark); font: 600 0.72rem var(--sans); letter-spacing: 0; }
.cart-count:empty { display: none; }
.header-actions { display: none; align-items: center; gap: 8px; }
.header-order { color: #fff; padding: 8px 14px; }
@media (max-width: 1060px) {
  .header-actions { display: flex; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--espresso-2); padding: 8px 16px 20px; border-bottom: 1px solid rgba(95, 162, 51, 0.35); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 10px 0 0; }
  .nav-item { display: block; }
  .sub-toggle { display: none; }
  .sub { display: block; position: static; box-shadow: none; border: 0; background: none; padding: 0 0 0 16px; min-width: 0; }
  .sub a { padding: 10px 12px; font-size: 0.74rem; }
}

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff; border: 1px solid var(--brand); border-radius: 4px;
  padding: 13px 28px; font: 500 0.82rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.secondary { background: transparent; color: var(--accent-dark); }
.btn.secondary:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn.light:hover { background: #fff; color: var(--espresso); }
.btn.small { padding: 9px 18px; font-size: 0.74rem; }
.text-link { font: 500 0.78rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-dark); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link:hover { color: var(--ink); }
.link-btn { background: none; border: 0; color: var(--accent-dark); cursor: pointer; padding: 0; font: inherit; font-size: 0.85rem; text-decoration: underline; }

label { font-weight: 500; display: block; margin-bottom: 5px; font-size: 0.95rem; }
input, select, textarea { width: 100%; max-width: 100%; min-width: 0; font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
input[type='date'], input[type='time'], input[type='datetime-local'], input[type='month'] { min-width: 0; max-width: 100%; }
/* iPhone/iPad Safari draws date and time fields at a fixed native width that ignores width: 100%, so they
   hang off small screens. Turning off the native look (Safari only) makes them fit; tapping still opens
   the iOS picker. */
@supports (-webkit-touch-callout: none) {
  input[type='date'], input[type='time'], input[type='datetime-local'], input[type='month'] {
    -webkit-appearance: none; appearance: none; display: block; width: 100%; min-height: 2.9em; text-align: left;
  }
  input::-webkit-date-and-time-value { text-align: left; }
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
[aria-invalid='true'] { border-color: var(--red) !important; }
.field-error { display: block; color: var(--red); font-size: 0.85rem; font-weight: 500; margin-top: 4px; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.link-btn.light { color: #fff; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.hint { font-size: 0.88rem; color: var(--ink-soft); font-weight: 400; }
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; border: 1px solid; }
.alert.error { background: #fbeae5; border-color: #efc5b9; color: #7a2a14; }
.alert.success { background: #eef3e4; border-color: #cfdcb7; color: #3b4a22; }
.alert.info { background: #fdf5e2; border-color: #f0dca9; color: #6b4e12; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background: linear-gradient(rgba(22, 22, 22, 0.62), rgba(22, 22, 22, 0.72)), var(--hero-img) center / cover no-repeat;
  padding: clamp(90px, 14vw, 170px) 0 clamp(90px, 13vw, 160px);
}
.hero .kicker { color: var(--accent-soft); }
.hero h1 { color: #fff; margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3); }
.hero p { max-width: 640px; margin: 0 auto 30px; color: #efe5d4; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-emblem { width: 58px; margin: 0 auto 14px; color: var(--accent); }
.badge-spin { position: absolute; right: clamp(16px, 5vw, 70px); bottom: clamp(20px, 5vw, 56px); width: clamp(110px, 13vw, 160px); animation: spin 26s linear infinite; }
.badge-spin text { font: 500 12px var(--sans); letter-spacing: 3px; fill: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) { .badge-spin { display: none; } }

/* Ticker */
.ticker { background: var(--brand); color: #fff; overflow: hidden; position: relative; }
/* Tap/click/Enter pauses the strip (and the spinning badge); hover and keyboard focus pause it while there. */
.ticker[data-motion-toggle] { cursor: pointer; }
.ticker[data-motion-toggle]:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.ticker:focus-visible .ticker-track, .motion-paused .ticker-track, .motion-paused .badge-spin { animation-play-state: paused; }
/* Only with a real mouse: on phones a tap leaves the strip "hovered", which would keep it paused. */
@media (hover: hover) { .ticker:hover .ticker-track { animation-play-state: paused; } }
.ticker-track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker-track span { font: 400 1.6rem/1 var(--script); padding: 16px 0; white-space: nowrap; }
.ticker-track span::after { content: '✻'; font: 400 1rem var(--sans); margin: 0 30px; vertical-align: 4px; color: #fff; opacity: 0.7; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track, .badge-spin { animation: none; } }

/* ---------- Sections ---------- */
section.block { padding: clamp(64px, 9vw, 110px) 0; }
section.block.tint { background: var(--cream-deep); }
section.block.white { background: #fff; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 0; }

/* Promo banners */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: -70px; position: relative; z-index: 2; }
.promo {
  position: relative; min-height: 220px; border-radius: 6px; overflow: hidden; color: #fff; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px;
  background: linear-gradient(rgba(22, 22, 22, 0.7), rgba(22, 22, 22, 0.78)), var(--img) center / cover;
  box-shadow: var(--shadow); outline: 1px solid rgba(95, 162, 51, 0.5); outline-offset: -12px;
}
.promo .script { font: 400 1.6rem var(--script); color: var(--accent-soft); }
.promo strong { font: 600 clamp(1.5rem, 3vw, 2rem)/1.2 var(--serif); letter-spacing: 0.06em; text-transform: uppercase; margin: 4px 0 6px; }
.promo strong em { color: var(--accent); font-style: normal; }
.promo small { font-size: 0.85rem; color: #e3d6c1; }
.promo:hover { outline-color: var(--accent); }
@media (max-width: 760px) { .promos { grid-template-columns: 1fr; margin-top: -50px; } }

/* Feature icons */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 46px; }
.feature { text-align: center; padding: 10px 28px; }
.feature + .feature { border-left: 1px dashed var(--line); }
.feature .icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; box-shadow: 0 0 0 6px var(--accent-soft); }
.feature .icon svg { width: 40px; height: 40px; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; gap: 26px; } .feature + .feature { border-left: 0; } }

/* Photo banner strip */
.photo-strip {
  position: relative; padding: clamp(70px, 10vw, 120px) 0; text-align: center; color: #fff;
  background: linear-gradient(rgba(22, 22, 22, 0.55), rgba(22, 22, 22, 0.65)), var(--img) center / cover;
}
.photo-strip h2 { color: #fff; font-size: clamp(2.8rem, 6vw, 4.4rem); }
.photo-strip p { color: #efe5d4; max-width: 560px; margin: 0 auto 24px; }

/* Product cards */
.filter-tabs, .bakery-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.filter-tabs button, .bakery-tabs button {
  border: 1px solid var(--line); background: #fff; border-radius: 4px; padding: 8px 16px; cursor: pointer; color: var(--ink);
  font: 500 0.74rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
}
.filter-tabs button:hover, .bakery-tabs button:hover { border-color: var(--accent); color: var(--accent-dark); }
.filter-tabs button[aria-pressed='true'], .bakery-tabs button[aria-pressed='true'] { background: var(--brand); border-color: var(--brand); color: #fff; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
@media (max-width: 1000px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .products { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.product { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 14px rgba(35, 26, 20, 0.06); text-align: center; transition: transform 0.2s, box-shadow 0.2s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product .art { aspect-ratio: 4 / 3; background: var(--cream-deep); display: grid; place-items: center; padding: 16%; position: relative; }
.product .art.photo { padding: 0; }
.product .art.photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.product .body { padding: 16px 14px 20px; }
.product .cat { font: 500 0.66rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.product .name { font: 600 1.15rem/1.25 var(--serif); margin: 4px 0 6px; }
.product .price { font: 400 1.5rem/1 var(--script); color: var(--red); }

/* About with arches */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about h2 { margin-bottom: 14px; }
.about .check-list { margin-bottom: 26px; }
.arches { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; }
.arch { overflow: hidden; border-radius: 999px 999px 10px 10px; box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch.tall { grid-row: span 2; aspect-ratio: 3 / 5; }
.arch.short { aspect-ratio: 1; border-radius: 50%; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 8px; }
.check-list li::before { content: ''; position: absolute; left: 4px; top: 0.55em; width: 8px; height: 8px; border: 1px solid var(--accent); transform: rotate(45deg); background: var(--accent-soft); }

/* Dark split: order-ahead / visit */
.dark { background: var(--brown); color: #eadfd3; }
.dark h2, .dark h3 { color: #fff; }
.dark .muted { color: #c9bba5; }
.dark-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.dark-split .copy { padding: clamp(50px, 7vw, 90px) clamp(24px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.dark-split .media { background: var(--img) center / cover; min-height: 320px; }
@media (max-width: 860px) { .dark-split { grid-template-columns: 1fr; } }
.steps-list { list-style: none; padding: 0; margin: 10px 0 28px; counter-reset: s; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(232, 220, 203, 0.14); }
.steps-list li::before { content: '0' counter(s); font: 400 2rem/1 var(--script); color: var(--accent); }
.steps-list strong { display: block; color: #fff; font: 600 1.05rem var(--serif); letter-spacing: 0.06em; text-transform: uppercase; }
.steps-list span { font-size: 0.92rem; color: #c9bba5; }

.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.contact-list .ic { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; color: var(--accent); }
.contact-list .ic svg { width: 18px; height: 18px; }
.contact-list a { color: #fff; }
.map-wrap { background: url('/images/storefront.jpg') center / cover; min-height: 360px; }
.map-frame { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; filter: sepia(0.35) saturate(0.85); }

.dark .hours-table td { padding: 6px 0; border-bottom: 1px dashed rgba(232, 220, 203, 0.18); }
.dark .hours-table tr.today { color: var(--accent); }

/* Reviews carousel */
.reviews {
  text-align: center; color: #fff; padding: clamp(70px, 10vw, 110px) 0;
  background: linear-gradient(rgba(22, 22, 22, 0.82), rgba(22, 22, 22, 0.86)), var(--img) center / cover;
}
.reviews h2 { color: #fff; }
.review-stage { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 12px; max-width: 860px; margin: 18px auto 0; }
.review-slides { display: grid; }
.review { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s; }
.review.active { opacity: 1; visibility: visible; }
.review .stars { color: var(--accent); font-size: 1.35rem; letter-spacing: 4px; margin-bottom: 14px; }
.review .stars span { color: rgba(255, 255, 255, 0.25); }
.review blockquote { margin: 0 0 18px; font: italic 500 clamp(1.25rem, 2.4vw, 1.6rem)/1.5 var(--serif); color: #f3ead8; }
.review figcaption { font: 400 1.7rem var(--script); color: var(--accent-soft); }
.review figcaption span { display: block; font: 500 0.7rem var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: #c9bba5; margin-top: 4px; }
.review-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244, 227, 191, 0.5); background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.review-nav:hover { background: var(--brand); border-color: var(--brand); }
.review-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.review-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1px solid var(--accent-soft); background: transparent; cursor: pointer; }
.review-dots button[aria-current='true'] { background: var(--accent); border-color: var(--accent); }
.review-summary { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; color: #f3ead8; text-decoration: none; font: 500 0.85rem var(--sans); letter-spacing: 0.04em; }
.review-summary b { font: 600 1.6rem var(--serif); color: #fff; }
.review-summary .stars { position: relative; display: inline-block; color: rgba(255, 255, 255, 0.25); letter-spacing: 2px; }
.review-summary .stars i { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; font-style: normal; color: var(--accent); }
.review-summary:hover span:last-child { text-decoration: underline; }
.review figcaption a { color: inherit; text-decoration: none; }
.review figcaption a:hover { text-decoration: underline; }
.rv-grid { columns: 3 300px; column-gap: 24px; }
.rv-card { break-inside: avoid; margin: 0 0 24px; background: #fff; border-radius: 6px; padding: 28px 26px 24px; box-shadow: 0 2px 14px rgba(35, 26, 20, 0.06); outline: 1px solid var(--line); outline-offset: -10px; }
.rv-card .stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 12px; }
.rv-card .stars span { color: #ddd5c6; }
.rv-card blockquote { margin: 0 0 16px; font: italic 500 1.2rem/1.5 var(--serif); color: var(--ink); white-space: pre-line; }
.rv-card figcaption { font: 400 1.5rem var(--script); color: var(--accent-dark); }
.rv-card figcaption a { color: inherit; text-decoration: none; }
.rv-card figcaption a:hover { text-decoration: underline; }
.rv-card figcaption span { display: block; font: 500 0.7rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }
.rv-empty { margin: 0 auto; text-align: center; }
.rv-more { margin-top: 18px; }
.rv-more p { margin: 0 0 16px; }
.review-empty.rv-empty p { color: var(--ink); }
.page-head .review-summary b { color: #fff; }
.review-empty { max-width: 640px; margin: 18px auto 0; }
.review-empty .stars { color: var(--accent); font-size: 1.35rem; letter-spacing: 6px; margin-bottom: 14px; }
.review-empty p { margin: 0; font: italic 500 clamp(1.2rem, 2.2vw, 1.45rem)/1.5 var(--serif); color: #f3ead8; }
.review-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 30px 0 0; }
@media (max-width: 600px) { .review-stage { grid-template-columns: 1fr; } .review-nav { display: none; } }

/* Specials banner (top of every page) */
.specials-bar {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  background: var(--brand); color: #fff; text-decoration: none; padding: 9px 16px;
  font: 500 0.95rem/1.3 var(--sans); text-align: center;
}
.specials-bar:hover { background: var(--brand-dark); color: #fff; }
.specials-bar-tag { background: #fff; color: var(--brand-dark); border-radius: 3px; padding: 2px 8px; font: 600 0.68rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.specials-bar-go { font-weight: 600; transition: transform 0.2s; }
.specials-bar:hover .specials-bar-go { transform: translateX(4px); }

/* Sign-up band (above the footer on every page) */
.subscribe-band { background: var(--brand); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.subscribe-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.subscribe-band .kicker { color: #e8f5dc; }
.subscribe-band h2 { color: #fff; margin-bottom: 6px; }
.subscribe-band p { margin: 0; color: #f1f8ea; max-width: 52ch; }
.subscribe-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.subscribe-band .btn { background: #fff; color: var(--brand-dark); border-color: #fff; }
.subscribe-band .btn:hover { background: var(--espresso); color: #fff; border-color: var(--espresso); }
.subscribe-band .btn.light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.8); }
.subscribe-band .btn.light:hover { background: #fff; color: var(--brand-dark); }
@media (max-width: 760px) { .subscribe-band .wrap { grid-template-columns: 1fr; text-align: center; } .subscribe-actions { justify-content: center; } .subscribe-band p { margin-inline: auto; } }

/* Specials flyers */
.flyers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; justify-items: center; }
.flyer { margin: 0; max-width: 640px; width: 100%; text-align: center; }
.flyer a { display: block; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.flyer img { width: 100%; height: auto; }
.flyer figcaption { margin-top: 12px; }
.flyer figcaption strong { display: block; font: 600 1.2rem var(--serif); letter-spacing: 0.04em; text-transform: uppercase; }
.flyer figcaption span { color: var(--ink-soft); font-size: 0.92rem; }
.specials-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.specials-home .flyer { justify-self: center; max-width: 440px; transform: rotate(-1.5deg); }
@media (max-width: 860px) { .specials-home { grid-template-columns: 1fr; text-align: center; } }

/* About: owners */
.owners { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 980px; }
.owners-photo { width: 240px; height: 240px; border-radius: 50%; background: #fff; overflow: hidden; display: grid; place-items: end center; box-shadow: var(--shadow); outline: 6px solid #fff; }
.owners-photo img { width: 170px; height: auto; }
@media (max-width: 700px) { .owners { grid-template-columns: 1fr; justify-items: center; text-align: center; } .owners .flourish { justify-content: center !important; } }

/* Gift cards */
.gift { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 44px); align-items: center; }
.gift img { width: 234px; border-radius: 8px; box-shadow: var(--shadow); transform: rotate(-3deg); outline: 6px solid #fff; }
.gift h2 { margin-bottom: 6px; }
.gift p.muted { margin: 0; max-width: 46ch; }
@media (max-width: 760px) { .gift { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: #fff; border-radius: 6px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); outline: 1px solid var(--line); outline-offset: -10px; }
.newsletter h2 { margin: 0; font-size: clamp(2rem, 4vw, 2.8rem); }
@media (max-width: 700px) { .newsletter { grid-template-columns: 1fr; text-align: center; } }

/* ---------- Inner pages ---------- */
.page-head {
  position: relative; text-align: center; color: #fff; padding: clamp(70px, 10vw, 120px) 0 clamp(60px, 9vw, 100px);
  background: linear-gradient(rgba(22, 22, 22, 0.62), rgba(22, 22, 22, 0.72)), var(--img, url('/images/store-interior.webp')) center / cover;
}
.page-head h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 4.8rem); margin-bottom: 8px; }
.page-head p { color: #efe5d4; max-width: 620px; margin: 0 auto; }
.page-head .crumbs { font: 500 0.72rem var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 10px; }
.page-head .crumbs a { color: var(--accent-soft); text-decoration: none; }
.page-head .head-extra { margin-top: 22px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo { border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo.framed::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 3px; pointer-events: none; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card { background: #fff; border-radius: 6px; padding: 30px 26px; text-align: center; box-shadow: 0 2px 14px rgba(35, 26, 20, 0.06); display: flex; flex-direction: column; align-items: center; }
.mission-cards { max-width: 900px; margin: 0 auto; }
.mission-cards .card h3 { font: 600 1.5rem/1.2 var(--serif); letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 10px; }
.mission-cards .card p { margin: 0; font-size: 1.05rem; }
.values-h { font: 600 1.5rem/1.2 var(--serif); letter-spacing: 0.12em; text-transform: uppercase; margin: 44px 0 20px; }
.values { list-style: none; counter-reset: v; padding: 0; margin: 0 auto; max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.values li { counter-increment: v; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; background: #fff; border-radius: 6px; padding: 20px 22px; box-shadow: 0 2px 14px rgba(35, 26, 20, 0.06); }
.values li::before { content: counter(v); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 600; }
.values strong { display: block; font: 600 1.15rem/1.3 var(--serif); margin-bottom: 4px; }
.values span { color: var(--ink-soft); }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } }
.card p { color: var(--ink-soft); flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 5px 12px; font-size: 0.9rem; }

/* Grocery: candy mosaic + photo gallery */
.candy-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 5 / 4; }
.candy-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow); min-height: 0; }
.candy-mosaic .tall { grid-row: span 2; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 14px rgba(35, 26, 20, 0.08); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.4s; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.gift-box img { width: 300px; height: auto; }
@media (max-width: 860px) { .candy .candy-mosaic { order: 2; } }

/* Bakery menu */
.bakery-grid { columns: 2 380px; column-gap: 30px; }
.board { break-inside: avoid; margin-bottom: 30px; background: #fff; border-radius: 6px; padding: 30px 30px 24px; box-shadow: 0 2px 14px rgba(35, 26, 20, 0.06); outline: 1px solid var(--line); outline-offset: -10px; }
.board-title { font: 600 1.35rem/1.25 var(--serif); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); text-align: center; margin-bottom: 2px; }
.board .count { text-align: center; font: 400 1.2rem var(--script); color: var(--accent); margin-bottom: 14px; }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; }
.price-list .dots { flex: 1; border-bottom: 1px dotted #cdbb9b; transform: translateY(-5px); min-width: 20px; }
.price-list .price { font: 600 1.05rem var(--serif); color: var(--red); white-space: nowrap; }

/* ---------- Ordering ---------- */
.order-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
@media (max-width: 980px) { .order-layout { grid-template-columns: 1fr; } }
.product-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-bottom: 24px; }
.picker-hint { grid-column: 1 / -1; margin: 0; font: 500 0.78rem/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-dark); }
.product-choice { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 2px solid var(--accent); border-radius: 8px; padding: 24px 18px 20px; cursor: pointer; font: inherit; color: inherit; box-shadow: 0 6px 18px rgba(35, 26, 20, 0.10); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background 0.2s; }
.product-choice:hover { background: var(--accent-soft); box-shadow: 0 10px 24px rgba(35, 26, 20, 0.16); transform: translateY(-2px); }
.product-choice:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.product-choice[aria-pressed='true'] { background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent); }
.product-choice > span { margin-bottom: 14px; }
.product-choice .choice-cta { margin-top: auto; display: inline-block; font: 600 0.82rem/1 var(--sans); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; background: var(--brand); color: #fff; border-radius: 999px; padding: 10px 18px; }
@media (prefers-reduced-motion: reduce) { .product-choice:hover { transform: none; } }
.product-choice strong { display: block; font: 400 2rem/1.1 var(--script); color: var(--accent-dark); margin-bottom: 6px; }
.product-choice span { color: var(--ink-soft); font-size: 0.93rem; }
.builder { background: #fff; border-radius: 6px; padding: clamp(20px, 3vw, 34px); box-shadow: 0 2px 14px rgba(35, 26, 20, 0.06); }
.builder h2 { font-size: clamp(2.2rem, 4vw, 2.8rem); }
fieldset.group { border: 0; padding: 0; margin: 0 0 26px; }
fieldset.group legend { font: 400 1.9rem/1.15 var(--script); color: var(--ink); padding: 0; margin-bottom: 2px; }
.group .rule { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: 0.93rem; border: 1px solid var(--line); border-radius: 4px; padding: 7px 14px 7px 10px; background: var(--cream); cursor: pointer; margin: 0; user-select: none; }
.opt input { width: auto; margin: 0; accent-color: var(--accent); }
.opt:hover { border-color: var(--accent); }
.opt:has(input:checked) { background: var(--brand); border-color: var(--brand); color: #fff; }
.opt:has(input:checked) .p { color: #fff; }
.opt:has(input:disabled) { opacity: 0.4; cursor: not-allowed; }
.opt .p { font-size: 0.8rem; font-weight: 500; color: var(--accent-dark); white-space: nowrap; }
.cart { position: sticky; top: 100px; background: #fff; border-radius: 6px; padding: 28px 24px; box-shadow: var(--shadow); outline: 1px solid var(--line); outline-offset: -10px; }
.cart h2 { font-size: 2.4rem; text-align: center; }
.cart h3 { font-size: 1.05rem; margin-top: 8px; }
.cart-items { list-style: none; padding: 0; margin: 0 0 16px; }
.cart-items li { border-bottom: 1px dashed var(--line); padding: 10px 0; font-size: 0.95rem; }
.cart-items .line-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 500; }
.cart-items .line-detail { color: var(--ink-soft); font-size: 0.86rem; }
.pay-note { font: 600 1.1rem var(--serif); color: var(--ink); margin: 4px 0 12px; padding: 10px 12px; background: var(--accent-soft); border-radius: 6px; text-align: center; }
.qty-row { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.qty-row .field { margin: 0; }
.qty-row input { width: 90px; }
.steps { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.steps span { border: 1px solid rgba(244, 227, 191, 0.6); color: var(--accent-soft); border-radius: 4px; padding: 5px 12px; font: 500 0.72rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.pickup-rules { margin: -8px 0 16px; padding-left: 18px; }
.pickup-rules li { margin-bottom: 2px; }

/* ---------- Hours / footer ---------- */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 4px 0; }
.hours-table td:last-child { text-align: right; }
.hours-table tr.today { font-weight: 600; color: var(--accent-dark); }
.open-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font: 500 0.66rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid currentColor; vertical-align: 2px; margin-left: 6px; }
.open-badge.open { color: #9ccc7f; }
.open-badge.closed { color: #e8a08a; }

.site-footer { background: var(--espresso); color: #cbbda7; padding: 70px 0 26px; font-size: 0.95rem; }
.site-footer a { color: #e8dccb; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer h3::after { content: ''; display: block; width: 34px; height: 2px; background: var(--accent); margin-top: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .hours-table td { font-size: 0.88rem; padding: 3px 0; }
.site-footer .hours-table tr.today { color: var(--accent); }
.site-footer .brand { margin-bottom: 16px; }
.site-footer .fine { border-top: 1px solid rgba(232, 220, 203, 0.14); margin-top: 46px; padding-top: 20px; font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Text pages (privacy, terms, accessibility) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-top: 1.4em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.2em; }
.prose .check-list { margin-bottom: 1em; }

/* ---------- Price list at the top of the order pages ---------- */
.price-board { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 22px; margin-bottom: 22px; }
.price-board h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); margin-bottom: 6px; }
.price-board .price-list { margin: 0 0 8px; }
.price-board .hint { margin: 0; }
