/* Scully's Sourdough — shared styles
   Mobile-first: base styles target phones, then
   @media (min-width: 640px)  → large phones / small tablets
   @media (min-width: 900px)  → tablets landscape / small laptops
   @media (min-width: 1100px) → desktop
*/

:root {
  --bg: #f3e8d6;          /* warm cream */
  --bg-alt: #ecdcc3;
  --card: #faf4ea;
  --ink: #1a1410;
  --ink-soft: #5b4a3a;
  --primary: #7a4a2b;     /* crust brown */
  --primary-dark: #5c3620;
  --primary-ink: #fff;
  --olive: #7a6f2d;
  --accent: #2e5f7a;      /* blue used for active nav */
  --border: #dcc6a3;
  --venmo: #3d95ce;
  --instagram: #c13584;
  --danger: #b3261e;
  --success: #1f7a52;

  --font-sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Alfa Slab One", Georgia, "Times New Roman", serif;

  --radius: 14px;
  --radius-sm: 8px;
  --gutter: 16px;
  --content: 72rem;
  --header-h: 60px;
  --shadow: 0 2px 6px rgba(60, 35, 15, .08), 0 8px 24px rgba(60, 35, 15, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* keep jumped-to content clear of the sticky header and the phone total bar */
  scroll-padding-top: calc(var(--header-h) + 16px);
  scroll-padding-bottom: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }

a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--primary-dark);
  margin: 0 0 .5em;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2rem, 7vw, 3.25rem); }
h2 { font-size: clamp(1.4rem, 4.5vw, 2rem); }
h3 { font-size: clamp(1.15rem, 3.5vw, 1.35rem); }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--primary); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; }

.container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 46rem; }

main { flex: 1; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 232, 214, .96);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  gap: 12px;
}
.brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary-dark);
  text-decoration: none;
  white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.brand span[aria-hidden] { font-size: 1.3rem; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--card); color: var(--primary-dark);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.site-nav {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 8px var(--gutter) 16px;
  display: none;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.nav-open .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 14px 12px;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.site-nav a:hover { background: var(--bg-alt); }
.site-nav a[aria-current="page"] { background: var(--accent); color: #fff; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: block;
    background: none; border: 0; box-shadow: none; padding: 0;
    max-height: none; overflow: visible;
  }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav a { padding: 8px 12px; font-size: .95rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1.2 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary-dark); border-color: var(--primary); }
.btn-outline:hover { background: var(--bg-alt); }
.btn-venmo { background: var(--venmo); color: #fff; }
.btn-venmo:hover { filter: brightness(.92); color: #fff; }
.btn-paypal { background: #003087; color: #fff; }
.btn-paypal:hover { filter: brightness(1.15); color: #fff; }
.btn-instagram { background: var(--instagram); color: #fff; }
.btn-instagram:hover { filter: brightness(.92); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Cards / sections ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
@media (min-width: 640px) { .card { padding: 28px; } }

.section { padding: 40px 0; }
@media (min-width: 900px) { .section { padding: 64px 0; } }

.page-head { text-align: center; padding: 32px 0 8px; }
.page-head p { color: var(--ink-soft); max-width: 40rem; margin: 0 auto; }
.page-head .emoji { font-size: 2.25rem; display: block; margin-bottom: 4px; }

.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--olive);
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 48px 0 56px;
  background:
    linear-gradient(rgba(25, 12, 4, .62), rgba(25, 12, 4, .72)),
    var(--hero-image, none),
    radial-gradient(circle at 30% 20%, #8a5a36 0%, #4a2b17 55%, #2a170b 100%);
  background-size: cover;
  background-position: center;
}
.hero h1 { color: #fff; margin-bottom: .25em; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero .tagline { font-size: clamp(1rem, 3.5vw, 1.25rem); color: #f6e9d6; max-width: 34rem; margin: 0 auto 28px; }
.hero .emoji { font-size: 2.5rem; display: block; margin-bottom: 8px; }

.connect-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 640px) { .connect-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .connect-grid { grid-template-columns: 1fr 1fr 1fr; } }

.connect-card {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.connect-card h2 { font-size: 1.35rem; margin: 0; }
.connect-card .handle { font-weight: 700; color: var(--ink-soft); margin: 0; }
.connect-card .btn { width: 100%; margin-top: auto; }
.connect-card .thumb {
  width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, #c99a6a, #7a4a2b);
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.connect-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* QR codes: hidden on phones (you can't scan your own screen) */
.qr { display: none; width: 150px; height: 150px; padding: 8px; background: #fff; border-radius: 10px; }
.qr svg, .qr img { width: 100%; height: 100%; }
@media (min-width: 640px) and (hover: hover) { .qr.ready { display: block; } }
.hint { color: #f6e9d6; margin-top: 20px; font-size: .95rem; }

/* ---------- Subscription card ---------- */
.sub-card { overflow: hidden; padding: 0; max-width: 40rem; margin: 0 auto; }
.sub-card .sub-head { background: var(--primary); color: #fff; padding: 20px; }
.sub-card .sub-head h2 { color: #fff; margin: 4px 0 0; }
.sub-card .sub-head .eyebrow { color: #f3dcc0; }
.sub-card .sub-body { padding: 20px; }
@media (min-width: 640px) { .sub-card .sub-head, .sub-card .sub-body { padding: 24px 28px; } }
.price { font-family: var(--font-heading); font-size: 2.25rem; color: var(--primary-dark); line-height: 1; }
.price small { font-family: var(--font-sans); font-size: 1rem; color: var(--ink-soft); }
.checklist { list-style: none; padding: 0; margin: 16px 0; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 6px; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; color: var(--success); font-weight: 900; }
.fine { font-size: .85rem; color: var(--ink-soft); text-align: center; margin: 10px 0 0; }

/* ---------- Day / chip pickers ---------- */
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 10px 0 12px; }
.chip {
  min-height: 44px; padding: 8px 10px;
  border: 2px solid var(--border); border-radius: 999px;
  background: #fff; color: var(--ink);
  font: 600 .95rem var(--font-sans); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .optional { font-weight: 400; color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: 16px/1.4 var(--font-sans); /* 16px stops iOS zooming on focus */
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(122, 74, 43, .2); }
.field-error { color: var(--danger); font-size: .9rem; margin-top: 4px; }
.form-error { background: #fbe9e7; color: var(--danger); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px; }
.form-grid { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }

/* ---------- Order page ---------- */
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 48px; }
.order-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
@media (min-width: 1000px) {
  .order-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: 28px; }
  .order-summary { position: sticky; top: calc(var(--header-h) + 16px); }
}
.step-title { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.step-num {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center; font-size: .95rem;
}
.step-title h2 { margin: 0; font-size: 1.3rem; }
.step-note { color: var(--ink-soft); font-size: .95rem; margin: 0 0 14px; }

.loaf-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .loaf-grid { grid-template-columns: 1fr 1fr; } }

.loaf {
  position: relative;
  display: flex; gap: 12px; align-items: stretch;
  text-align: left;
  padding: 10px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit; color: inherit;
  width: 100%;
}
@media (min-width: 560px) { .loaf { flex-direction: column; } }
.loaf:hover { border-color: var(--primary); }
.loaf[aria-checked="true"] { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(122, 74, 43, .2); background: #fffaf2; }
.loaf .img {
  flex: none; width: 96px; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, #d8ad7c, #8a5a36);
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem;
}
@media (min-width: 560px) { .loaf .img { width: 100%; aspect-ratio: 4 / 3; } }
.loaf .img img { width: 100%; height: 100%; object-fit: cover; }
.loaf h3 { margin: 2px 0 2px; font-size: 1.1rem; }
.loaf p { margin: 0 0 6px; font-size: .92rem; color: var(--ink-soft); line-height: 1.4; }
.loaf .loaf-price { font-weight: 900; color: var(--primary-dark); }
.loaf .badge {
  display: inline-block; margin-bottom: 4px;
  background: var(--olive); color: #fff; font-size: .7rem; font-weight: 700;
  padding: 3px 8px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase;
}
.loaf .check {
  position: absolute; top: 8px; left: 8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary); color: #fff; display: none; align-items: center; justify-content: center; font-weight: 900;
}
.loaf[aria-checked="true"] .check { display: flex; }
@media (min-width: 560px) { .loaf .badge { position: absolute; top: 8px; right: 8px; margin: 0; } }

/* Calendar */
.calendar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; max-width: 420px; margin: 0 auto; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head strong { font-size: 1.05rem; }
.cal-nav {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card); cursor: pointer;
  font-size: 1.2rem; color: var(--primary-dark);
}
.cal-nav[disabled] { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { font-size: .75rem; font-weight: 700; color: var(--ink-soft); padding: 4px 0; }
.cal-day {
  aspect-ratio: 1; min-height: 40px;
  border: 0; border-radius: 10px; background: transparent;
  font: 600 .95rem var(--font-sans); color: var(--ink); cursor: pointer;
}
.cal-day:hover:not([disabled]) { background: var(--bg-alt); }
.cal-day[disabled] { color: #c3b6a5; cursor: default; text-decoration: line-through; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--border); }
.cal-day[aria-pressed="true"] { background: var(--primary); color: #fff; }
.selected-date { text-align: center; margin: 10px 0 0; font-weight: 700; color: var(--primary-dark); min-height: 1.6em; }

/* Quantity stepper */
.stepper { display: flex; align-items: center; justify-content: center; gap: 16px; }
.stepper button {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--primary); background: #fff; color: var(--primary-dark);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.stepper button[disabled] { opacity: .35; cursor: default; }
.stepper output { font-family: var(--font-heading); font-size: 2.4rem; min-width: 2ch; text-align: center; color: var(--primary-dark); }

.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.summary-row:last-of-type { border-bottom: 0; }
.summary-row span:first-child { color: var(--ink-soft); }
.summary-row span:last-child { font-weight: 700; text-align: right; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 16px; padding-top: 12px; border-top: 2px solid var(--border); }
.summary-total strong { font-family: var(--font-heading); font-size: 1.8rem; color: var(--primary-dark); font-weight: 400; }

/* Total + checkout bar: sits at the very end of the page (not floating), so nothing covers it */
.mobile-total {
  position: static; z-index: auto;
  background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--primary);
  border-radius: var(--radius-sm, 12px);
  width: min(100% - 2 * var(--gutter), 720px); margin: 8px auto 0;
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 6px 18px rgba(60,35,15,.16);
}
.mobile-total strong { font-family: var(--font-heading); font-size: 1.4rem; color: var(--primary-dark); font-weight: 400; }
.mobile-total .btn { min-height: 44px; padding: 10px 18px; }
.mobile-total { display: none !important; } /* the order summary already ends with the Send button */

/* ---------- About ---------- */
.about-hero { text-align: center; padding: 40px 0 16px; }
.about-hero p { color: var(--ink-soft); font-size: 1.1rem; max-width: 36rem; margin: 0 auto; }
.story { max-width: 46rem; margin: 0 auto; }
.baker { display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .baker { grid-template-columns: 220px 1fr; gap: 32px; } }
.baker .portrait {
  width: 180px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%;
  background: linear-gradient(135deg, #d8ad7c, #7a4a2b);
  display: flex; align-items: center; justify-content: center; font-size: 4rem; overflow: hidden;
  border: 4px solid var(--card); box-shadow: var(--shadow);
}
.baker .portrait img { width: 100%; height: 100%; object-fit: cover; }
.baker .meta { color: var(--ink-soft); margin-bottom: 8px; }
.vet-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.values { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { text-align: center; }
.value .icon { font-size: 2rem; }
.value h3 { margin: 6px 0 4px; }
.value p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.cta { text-align: center; background: var(--primary); color: #fff; border-radius: var(--radius); padding: 32px 20px; }
.cta h2 { color: #fff; }
.cta p { color: #f3dcc0; }
.cta .btn { background: #fff; color: var(--primary-dark); }

/* ---------- Legal pages ---------- */
.legal { max-width: 46rem; margin: 0 auto; padding: 32px var(--gutter) 56px; }
.legal h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal h3 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 900; color: var(--ink); margin-top: 1.2em; }
.legal ul { padding-left: 1.25em; }
.legal li { margin-bottom: .4em; }
.legal .updated { color: var(--ink-soft); font-style: italic; margin-top: 2em; }

/* ---------- Status pages (confirmation / checkout) ---------- */
.status { max-width: 36rem; margin: 0 auto; padding: 40px var(--gutter) 56px; text-align: center; }
.status .big-icon { font-size: 3.5rem; line-height: 1; margin-bottom: 8px; }
.status .card { text-align: left; margin: 20px 0; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.pill.processing { background: #fff1d6; color: #8a5a00; }
.pill.paid { background: #dff3e9; color: var(--success); }
.pay-buttons { display: grid; gap: 10px; margin: 16px 0 6px; }
@media (min-width: 480px) { .pay-buttons { grid-template-columns: 1fr 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.steps li span:first-child { font-size: 1.4rem; }
.spinner { width: 40px; height: 40px; border: 4px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 24px 0 calc(24px + env(safe-area-inset-bottom));
  font-size: .9rem;
  color: var(--ink-soft);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.footer-links a { color: var(--ink-soft); padding: 6px 2px; display: inline-block; }
@media (min-width: 640px) { .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }

.back-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 0; color: var(--ink-soft); text-decoration: none; }
.back-link:hover { color: var(--primary-dark); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* ---------- Custom loaf ingredient picker ---------- */
.custom-picker {
  margin: 16px 0 0;
  padding: 16px;
  border: 2px dashed var(--primary);
  border-radius: var(--radius);
  background: #fffaf2;
  min-width: 0;
}
.custom-picker legend {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-size: 1.1rem;
  padding: 0 6px;
}
.custom-picker legend .optional { font-family: var(--font-sans); font-size: .85rem; color: var(--ink-soft); }
.ingredients {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 560px) { .ingredients { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ingredients { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ing { position: relative; display: block; cursor: pointer; }
.ing input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ing span {
  display: flex; align-items: center; gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-size: .92rem; font-weight: 600; line-height: 1.2;
}
.ing span::before {
  content: ""; flex: none;
  width: 18px; height: 18px; border-radius: 5px;
  border: 2px solid var(--border); background: #fff;
}
.ing input:checked + span { border-color: var(--primary); background: #f6e7d4; }
.ing input:checked + span::before {
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: var(--primary);
}
.ing input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.ing-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 12px; }
.link-btn {
  background: none; border: 0; padding: 8px 4px; min-height: 36px;
  color: var(--primary); font: 700 .9rem var(--font-sans); text-decoration: underline; cursor: pointer;
}

/* ---------- Floating "Order by Phone" card ----------
   Always on screen, bottom-right. Styled like the home page's
   "Order a Loaf" box: cream card, slab heading, rounded brown buttons. */
.phone-card {
  position: fixed;
  right: 16px;
  bottom: calc(96px + env(safe-area-inset-bottom)); /* about an inch up, clear of the Netlify badge */
  z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end;
}
.phone-card-inner {
  position: relative;
  width: min(248px, calc(100vw - 32px));
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .30);
  animation: phone-card-in .6s cubic-bezier(.2, .8, .2, 1) both, phone-card-float 6s ease-in-out 1s infinite;
}
.phone-card-inner { border-top: 5px solid var(--primary); }  /* brown accent like the subscription card header */
.phone-card-title {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 4px 0 2px;
}
.phone-card-sub { margin: 0 0 12px; font-size: .9rem; color: var(--ink-soft); }
.phone-card-sub a { color: var(--primary-dark); font-weight: 700; text-decoration: none; white-space: nowrap; }
.phone-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone-card-actions .btn { min-height: 44px; padding: 8px 10px; font-size: .95rem; gap: 6px; }
.phone-card-min {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: transparent; color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.phone-card-min:hover { background: var(--bg-alt); color: var(--ink); }
.phone-card-fab {
  width: 58px; height: 58px; border-radius: 50%;
  border: 3px solid var(--card);
  background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  cursor: pointer;
  animation: phone-card-in .4s cubic-bezier(.2, .8, .2, 1) both;
}
.phone-card-fab:hover { background: var(--primary-dark); }
.phone-card-fab[hidden], .phone-card-inner[hidden] { display: none; }

@keyframes phone-card-in {
  from { opacity: 0; transform: translateY(24px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes phone-card-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}


/* Leave room so the floating card never hides the footer links */
.site-footer { padding-bottom: calc(250px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .site-footer { padding-bottom: 24px; } .footer-inner { padding-right: 270px; } }
main { padding-bottom: 24px; }

/* Photos sit on top of (and fully cover) the emoji placeholder */
.connect-card .thumb, .loaf .img, .baker .portrait { position: relative; }
.connect-card .thumb img, .loaf .img img, .baker .portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* =========================================================
   Full-page fixed background photo
   The photo stays put while the boxes scroll over it.
   (A fixed layer is used instead of background-attachment:fixed
   because iPhones/iPads ignore that property.)
   ========================================================= */
html { background: #2a170b; }
body { background: transparent; position: relative; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(20, 10, 4, .50), rgba(20, 10, 4, .68)),
    url("/images/hero.jpg") center / cover no-repeat,
    #2a170b;
}
.hero { background: none; }

/* Cards keep dark text on cream */
.card, .connect-card, .legal { color: var(--ink); }

/* Text sitting directly on the photo goes light */
.page-head h1, .about-hero h1, .status > h1, .status > h2, .admin-wrap > h1, #admin-out > h2 { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.page-head p, .about-hero p, .status > p, .back-link, .narrow > .fine { color: #f3e6d3; }
.narrow > .fine a { color: #fff; }
.back-link:hover { color: #fff; }
.site-header .back-link { color: var(--ink-soft); }

/* Legal pages become a readable cream panel over the photo */
.legal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: calc(100% - 2 * var(--gutter));
  margin: 32px auto 56px;
  padding: 24px 20px;
}
@media (min-width: 640px) { .legal { padding: 40px 44px; } }

/* Footer: dark glass over the photo */
.site-footer { background: rgba(25, 14, 6, .82); border-top: 0; color: #e9d9c3; }
.footer-links a { color: #e9d9c3; }
.footer-links a:hover { color: #fff; }

/* No more coloured placeholder tiles behind photos */
.connect-card .thumb, .loaf .img, .baker .portrait { background: none; font-size: 0; }
.baker:not(:has(.portrait)) { grid-template-columns: 1fr; }

/* Custom loaf: highlight when the customer goes past the included ingredients */
#ingredient-count.is-unlimited { color: var(--primary-dark); font-weight: 700; }

/* Confirmation: preview of the text message that will be sent */
.text-preview {
  background: #e9f1ff;
  color: #13233d;
  border-radius: 18px 18px 4px 18px;
  padding: 12px 14px;
  margin: 4px 0 14px;
  font-size: .92rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.send-order-btn { min-height: 54px; font-size: 1.1rem; }
.pick-note { margin: 0 0 12px; font-size: .92rem; color: var(--ink-soft); }

/* ---------- Contact page: text / call ---------- */
.contact-card { text-align: center; }
.contact-number { font-family: var(--font-heading); font-size: clamp(1.6rem, 6vw, 2.2rem); margin: 4px 0 18px; }
.contact-number a { color: var(--primary-dark); text-decoration: none; }
.contact-actions { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .contact-actions { grid-template-columns: 1fr 1fr; } }
.contact-btn { min-height: 60px; font-size: 1.15rem; }

/* ---------- Order page: add-to-order bar and cart ---------- */
.add-bar {
  margin-top: 16px; padding: 14px;
  background: #fffaf2; border: 1px solid var(--border); border-radius: var(--radius);
  display: grid; gap: 12px; align-items: center;
}
@media (min-width: 640px) { .add-bar { grid-template-columns: auto 1fr; } .add-msg { grid-column: 1 / -1; } }
.add-bar-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.add-bar-label { font-weight: 700; }
.stepper-sm { gap: 10px; }
.stepper-sm button { width: 44px; height: 44px; font-size: 1.3rem; }
.stepper-sm output { font-size: 1.8rem; }
.add-btn { width: 100%; }
.add-msg { margin: 0; font-size: .92rem; font-weight: 700; min-height: 0; }
.add-msg:empty { display: none; }
.add-msg.is-ok { color: var(--success); }
.add-msg.is-error { color: var(--danger); }

.cart { list-style: none; margin: 0 0 8px; padding: 0; }
.cart-empty { color: var(--ink-soft); font-size: .92rem; padding: 6px 0 10px; }
.cart-item { padding: 10px 0; border-bottom: 1px dashed var(--border); }
.cart-main { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.cart-ings { font-size: .88rem; color: var(--ink-soft); margin-top: 2px; }
.cart-remove { padding: 4px 0; min-height: 0; font-size: .85rem; }
.status .cart { text-align: left; }

/* ---------- Order page: pickup or delivery ---------- */
.fulfill-options { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 640px) { .fulfill-options { grid-template-columns: 1fr 1fr; } }
.fulfill-opt { position: relative; display: block; cursor: pointer; }
.fulfill-opt input { position: absolute; opacity: 0; }
.fulfill-opt span {
  display: block; height: 100%;
  padding: 14px 14px 14px 46px;
  background: #fff; border: 2px solid var(--border); border-radius: var(--radius);
  position: relative;
}
.fulfill-opt span::before {
  content: ""; position: absolute; left: 14px; top: 16px;
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); background: #fff;
}
.fulfill-opt input:checked + span { border-color: var(--primary); background: #fffaf2; box-shadow: 0 0 0 3px rgba(122, 74, 43, .15); }
.fulfill-opt input:checked + span::before { border: 6px solid var(--primary); }
.fulfill-opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.fulfill-opt strong { display: block; font-size: 1.05rem; }
.fulfill-opt small { display: block; color: var(--ink-soft); font-size: .88rem; line-height: 1.4; margin-top: 2px; }
.delivery-fields { margin-top: 16px; }
.addr-grid { grid-template-columns: 1fr 1fr; gap: 0 12px; }
.addr-grid .field:nth-child(2) { grid-column: 1 / -1; }
@media (min-width: 640px) { .addr-grid { grid-template-columns: 1fr 1.6fr 1fr; } .addr-grid .field:nth-child(2) { grid-column: auto; } }
.delivery-quote {
  padding: 12px 14px; margin-bottom: 12px;
  border-radius: var(--radius-sm); background: var(--bg-alt); font-size: .95rem; line-height: 1.5;
}
.delivery-quote.is-ok { background: #e3f3ea; color: #12462f; }
.delivery-quote.is-warn { background: #fff1d6; color: #6b4600; }
.delivery-quote.is-error { background: #fbe9e7; color: var(--danger); }
@media (max-width: 639px) { .addr-grid .field:nth-child(2) { order: -1; } } /* City on its own row, then Apt + ZIP side by side */

/* ---------- Home: two subscription cards side by side ---------- */
.subs-heading { text-align: center; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.45); margin-bottom: 20px; }
.subs-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); max-width: 40rem; margin: 0 auto; align-items: stretch; }
@media (min-width: 900px) { .subs-grid { grid-template-columns: 1fr 1fr; max-width: 64rem; } }
.subs-grid .sub-card { max-width: none; margin: 0; display: flex; flex-direction: column; }
.subs-grid .sub-body { flex: 1; display: flex; flex-direction: column; }
.subs-grid .sub-body [data-subscribe] { margin-top: auto; }
.sub-label { font-weight: 700; margin: 0; }
.chips-wide { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.chips-wide .chip { border-radius: 12px; line-height: 1.2; }

/* Home: the "Order a Loaf" photo is a link to the order page */
.thumb-link { display: block; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.thumb-link img { transition: transform .4s; }
.thumb-link:hover img, .thumb-link:focus-visible img { transform: scale(1.05); }
.thumb-link:hover { box-shadow: 0 6px 18px rgba(0,0,0,.25); }

/* =========================================================
   Muffins & Cookies
   ========================================================= */

/* Home: four boxes → 2 per row on tablets, 4 across on wide screens */
@media (min-width: 1000px) { .connect-grid { grid-template-columns: 1fr 1fr; max-width: 820px; } }
@media (min-width: 1180px) { .connect-grid { grid-template-columns: repeat(4, 1fr); max-width: 1160px; } }
.thumb-art {
  position: relative;
  background: radial-gradient(circle at 50% 40%, #fff6e8 0%, #f1dcc0 70%, #e6c9a3 100%);
}
.thumb-art img { position: absolute; width: 52%; height: auto; inset: auto; object-fit: contain; }
.thumb-art .art-a { left: 6%; bottom: 6%; z-index: 2; }
.thumb-art .art-b { right: 6%; top: 10%; width: 46%; }
.sale-ribbon {
  position: absolute; top: 10px; left: -4px; z-index: 3;
  background: #c0392b; color: #fff; font: 900 .72rem/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 10px 6px 12px; border-radius: 0 999px 999px 0; box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.sale-ribbon[hidden] { display: none; }

/* Home: floating promo muffin (bottom-left, opposite the phone box) */
.promo-float {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 59;
  display: flex; align-items: flex-end; gap: 6px;
  text-decoration: none; color: var(--ink);
  animation: promo-in .7s cubic-bezier(.2, .8, .2, 1) .4s both;
}
.promo-float[hidden] { display: none; }
.promo-muffin {
  position: relative; display: block;
  width: 92px; height: 92px;
  animation: promo-bob 3.2s ease-in-out 1.2s infinite;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.35));
  order: -1;
}
.promo-muffin img { width: 100%; height: 100%; }
.promo-price {
  position: absolute; right: -6px; top: 2px;
  background: #c0392b; color: #fff; font: 900 .9rem/1 var(--font-sans);
  padding: 7px 7px; border-radius: 999px; border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  transform: rotate(12deg);
}
.promo-bubble {
  display: none;
  background: var(--card); border: 1px solid var(--border); border-left: 5px solid #34407e;
  border-radius: var(--radius); padding: 10px 14px; margin-bottom: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.28); max-width: 210px; line-height: 1.3;
}
.promo-bubble strong { display: block; font-family: var(--font-heading); font-weight: 400; color: var(--primary-dark); font-size: 1rem; }
.promo-bubble span { display: block; font-size: .85rem; color: var(--ink-soft); margin-top: 2px; }
@media (min-width: 700px) { .promo-bubble { display: block; } }
.promo-float:hover .promo-muffin, .promo-float:focus-visible .promo-muffin { animation-play-state: paused; transform: scale(1.08) rotate(-4deg); }
.promo-close {
  position: fixed; left: 10px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 60;
  width: 26px; height: 26px; border-radius: 50%;
  border: 0; background: rgba(25, 14, 6, .75); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer;
  animation: promo-in .7s ease .6s both;
}
.promo-close[hidden] { display: none; }
@keyframes promo-in { from { opacity: 0; transform: translateY(30px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes promo-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

/* Baked goods page: promotion banner */
.promo-banner {
  display: grid; grid-template-columns: 84px 1fr; gap: 12px 16px; align-items: center;
  margin: 24px auto 0; max-width: 64rem;
  border: 2px solid #34407e; background: linear-gradient(135deg, #fffaf2 0%, #eef0fb 100%);
}
.promo-banner[hidden] { display: none; }
.promo-banner-art { width: 84px; height: 84px; animation: promo-bob 3.2s ease-in-out infinite; }
.promo-banner h2 { margin: 2px 0; font-size: 1.35rem; }
.promo-banner p { margin: 0; color: var(--ink-soft); }
.promo-banner .eyebrow { color: #34407e; }
.promo-banner .btn { grid-column: 1 / -1; }
@media (min-width: 640px) { .promo-banner { grid-template-columns: 96px 1fr auto; } .promo-banner .btn { grid-column: auto; } .promo-banner-art { width: 96px; height: 96px; } }

/* Product cards */
.baked-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); margin: 24px auto 0; max-width: 64rem; }
@media (min-width: 900px) { .baked-grid { grid-template-columns: 1fr 1fr; } }
.baked-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s; }
.baked-card.highlight { box-shadow: 0 0 0 4px #34407e, var(--shadow); }
.baked-media {
  position: relative; aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 50% 45%, #fff6e8 0%, #f1dcc0 65%, #e3c49b 100%);
  display: flex; align-items: center; justify-content: center;
}
.baked-art { width: 40%; max-width: 170px; filter: drop-shadow(0 8px 12px rgba(60,35,15,.25)); }
.baked-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.baked-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 640px) { .baked-body { padding: 22px 26px 26px; } }
.baked-body h2 { margin: 0 0 4px; }
.baked-price { font-weight: 900; color: var(--primary-dark); margin: 0 0 10px; }
.baked-body .sub-label { margin-top: 6px; }
.baked-flavors { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.chip-sale { display: inline-block; background: #c0392b; color: #fff; font-size: .72rem; font-weight: 900; padding: 2px 6px; border-radius: 999px; margin-left: 4px; vertical-align: 1px; }
.chip[aria-pressed="true"] .chip-sale { background: #fff; color: #c0392b; }
.pack-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 8px; }
.pack {
  min-height: 60px; padding: 8px 6px;
  background: #fff; border: 2px solid var(--border); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font: 600 .95rem var(--font-sans); color: var(--ink); cursor: pointer;
}
.pack strong { font-size: 1rem; }
.pack span { font-size: .9rem; color: var(--ink-soft); }
.pack s { color: #a3968a; font-weight: 400; }
.pack[aria-checked="true"] { border-color: var(--primary); background: #fffaf2; box-shadow: 0 0 0 3px rgba(122, 74, 43, .15); }
.pack[aria-checked="true"] span { color: var(--primary-dark); font-weight: 900; }
.promo-note { margin: 4px 0 0; font-size: .9rem; font-weight: 700; color: #34407e; }
.baked-body .add-bar { margin-top: auto; }

/* Custom request */
.custom-request { margin: 24px auto 56px; max-width: 64rem; }
.custom-request-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.custom-request-head h2 { margin: 0 0 4px; }
.custom-icon {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 16px/1.4 var(--font-sans); color: var(--ink); background: #fff;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
}
input[type="date"] {
  width: 100%; min-height: 48px; padding: 10px 14px; font: 16px/1.4 var(--font-sans);
  color: var(--ink); background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
}

/* Bottom cart bar on the baked goods page */
.cart-bar {
  position: static;
  background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--primary);
  border-radius: var(--radius-sm, 12px);
  width: min(100% - 2 * var(--gutter), 1100px); margin: 8px auto 0;
  box-shadow: 0 6px 18px rgba(60,35,15,.16);
  padding: 12px 0;
}
.cart-bar[hidden] { display: none; }
.cart-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-bar strong { font-family: var(--font-heading); font-weight: 400; font-size: 1.4rem; color: var(--primary-dark); }
.cart-bar span { color: var(--ink-soft); font-size: .9rem; }
.cart-bar .btn { min-height: 44px; padding: 10px 22px; }
.cart-bar.pulse { animation: cart-pulse .6s ease; }
@keyframes cart-pulse { 0% { transform: translateY(8px); } 60% { transform: translateY(-3px); } 100% { transform: none; } }
@media (max-width: 639px) { .cart-bar-inner span { display: block; font-size: .8rem; } }
/* (more specific than .connect-card .thumb img, which fills photos edge to edge) */
.connect-card .thumb-art img { position: absolute; inset: auto; width: 48%; height: auto; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(60,35,15,.25)); }
.connect-card .thumb-art .art-a { left: 10%; bottom: 8%; top: auto; right: auto; z-index: 2; }
.connect-card .thumb-art .art-b { right: 8%; top: 8%; left: auto; bottom: auto; width: 42%; }
.thumb-link.thumb-art:hover img { transform: none; }
.thumb-link.thumb-art:hover .art-a { transform: rotate(-6deg) scale(1.06); }
.thumb-link.thumb-art:hover .art-b { transform: rotate(10deg); }
.thumb-art img { transition: transform .35s; }
/* One column (phones/tablets): keep the product picture short */
@media (max-width: 899px) { .baked-media { aspect-ratio: auto; height: 190px; } .baked-art { width: auto; height: 150px; } }
/* Keep the sale ribbon above the photo in the Muffins & Cookies box */
.connect-card .thumb .sale-ribbon { z-index: 3; }

/* Muffins & Cookies: Custom option and mix-in picker */
.chip-custom { border-style: dashed; border-color: var(--primary); color: var(--primary-dark); }
.chip-custom[aria-pressed="true"] { border-style: solid; }
.baked-picker { margin: 4px 0 10px; }
.baked-picker .ingredients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .baked-picker .ingredients { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .baked-picker .ingredients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .baked-picker .ingredients { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Specials banner with one row per special */
.promo-banner { display: block; }
.promo-banner-head { margin-bottom: 8px; }
.promo-banner-head h2 { margin: 2px 0 0; }
.promo-rows { display: grid; gap: 10px; }
@media (min-width: 900px) { .promo-rows { grid-template-columns: 1fr 1fr; } }
.promo-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 10px 14px; align-items: center;
  background: rgba(255,255,255,.7); border: 1px solid #c9cdea; border-radius: 12px; padding: 10px 12px;
}
.promo-row .promo-banner-art { width: 64px; height: 64px; }
.promo-row .btn { grid-column: 1 / -1; min-height: 44px; }
@media (min-width: 560px) { .promo-row { grid-template-columns: 64px 1fr auto; } .promo-row .btn { grid-column: auto; } }
.promo-banner-text strong { display: block; font-family: var(--font-heading); font-weight: 400; color: var(--primary-dark); font-size: 1.1rem; line-height: 1.2; }
.promo-banner-text span { display: block; color: var(--ink-soft); font-size: .92rem; margin-top: 2px; }
.promo-banner-text s { color: #a3968a; }
.promo-bubble { max-width: 240px; }

/* Send-by-text step (order, subscription) */
.send-panel { margin: 0 auto 56px; }
.send-panel h2 { font-size: clamp(1.3rem, 4.5vw, 1.7rem); }
.send-panel .text-preview { text-align: left; }
.send-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 6px; }

/* Anything marked hidden stays hidden, even if a layout rule gives it display:grid/flex */
[hidden] { display: none !important; }
/* The send step is a cream card, so its text stays dark (unlike text sitting on the photo) */
.card.status > h2 { color: var(--primary-dark); text-shadow: none; }
.card.status > p { color: var(--ink); }
.card.status > p.fine { color: var(--ink-soft); }
.is-sending .phone-card { display: none; }

.add-msg .add-checkout { display: inline-block; margin-left: 6px; font-weight: 700; color: var(--primary-dark); text-decoration: underline; }
