/* =====================================================
   Coral's Cottage
   small batch baking + everyday life
   ===================================================== */

:root {
  --cream:        #f6efe2;
  --cream-deep:   #ede2cc;
  --cream-dark:   #e3d4b6;
  --ink:          #3d2e22;
  --ink-soft:     #5b4837;
  --sage:         #7d8b5f;
  --sage-light:   #a8b884;
  --sage-deep:    #5a6845;
  --rose:         #d49a8a;
  --rose-deep:    #b87a6a;
  --terracotta:   #c87f5a;
  /* Same hue carried dark enough to be read as text. --terracotta is a decorative accent: on the
     card cream it is 2.46:1, well under the 4.5:1 floor. This is 5.72:1 on the card, 6.42:1 on the
     page. Use it wherever terracotta carries words rather than ornament. */
  --terracotta-ink: #874324;
  --gold:         #c9a062;
  --paper-shadow: rgba(61, 46, 34, 0.08);

  --font-script:  'Italianno', cursive;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-caps:    'Cormorant SC', Georgia, serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== GRAIN ===== */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.18 0 0 0 0 0.13 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== HEADER / NAV ===== */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-caps);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 6px 6px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; outline: 2px solid var(--terracotta); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 239, 226, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(61, 46, 34, 0.08);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.nav-brand-text {
  font-family: var(--font-script);
  font-size: 2.25rem;
  color: var(--ink);
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-family: var(--font-caps);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-links a {
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--rose);
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-links a:hover::after { width: 100%; left: 0; }
.nav-links a:hover { color: var(--ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== TYPOGRAPHY ===== */
.eyebrow,
.section-eyebrow {
  font-family: var(--font-caps);
  font-size: 0.88rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta-ink);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-script);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--ink);
  line-height: 1;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.section-lede {
  font-size: 1.25rem;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 620px;
  margin: 0 auto;
}

.amp {
  font-family: var(--font-script);
  font-size: 1.4em;
  color: var(--rose-deep);
  vertical-align: -0.05em;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-caps);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 1.1rem 2.5rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 4px 16px var(--paper-shadow);
}
.btn-primary:hover {
  background: var(--ink-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(61, 46, 34, 0.18);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-large { padding: 1.3rem 3.25rem; font-size: 1.05rem; }

.btn-card {
  display: inline-block;
  font-family: var(--font-caps);
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  margin-top: 1.25rem;
  cursor: pointer;
}
.btn-card:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) 1.5rem;
  background:
    radial-gradient(ellipse at top, rgba(255, 255, 255, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(212, 154, 138, 0.12) 0%, transparent 50%),
    var(--cream);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title { margin: 0.5rem 0 1rem; line-height: 0.85; }
.hero-title-script {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(5rem, 14vw, 11rem);
  color: var(--ink);
  font-weight: 400;
  line-height: 0.95;
}
.hero-title-script-2 { margin-top: -0.15em; margin-left: 0.3em; }

.hero-tag {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--sage-deep);
  margin: 0.5rem 0 2rem;
}
.hero-tag .amp { margin: 0 0.15em; }

.hero-sub {
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-decor { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-sprig { position: absolute; width: 240px; height: auto; opacity: 0.55; bottom: -20px; }
.hero-sprig-left { left: -40px; transform: rotate(-15deg); }
.hero-sprig-right { right: -40px; transform: rotate(15deg) scaleX(-1); }

/* ===== DIVIDER ===== */
.divider { display: flex; justify-content: center; padding: 2rem 0; }
.divider svg { width: 200px; height: auto; }

/* ===== ABOUT ===== */
.about {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) 1.5rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image-wrap { position: relative; padding: 1.25rem; }
.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(61, 46, 34, 0.18);
}
.about-image-frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--sage);
  transform: translate(20px, 20px);
  border-radius: 4px;
  z-index: 1;
}

.about-text p {
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
  font-size: 1.2rem;
  line-height: 1.7;
}
.about-text p:first-of-type::first-letter {
  font-family: var(--font-script);
  font-size: 4rem;
  float: left;
  line-height: 0.85;
  margin-right: 0.5rem;
  margin-top: 0.4rem;
  color: var(--rose-deep);
}
.about-text p.signature,
.signature {
  font-family: var(--font-script);
  font-size: 3.5rem;
  color: var(--ink);
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
  line-height: 1;
}

/* ===== MENU ===== */
.menu {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) 1.5rem;
}
.menu-header { text-align: center; margin-bottom: 4rem; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.menu-card {
  background: var(--cream-deep);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.menu-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(125, 139, 95, 0.25);
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(61, 46, 34, 0.18);
}
.menu-card-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-dark);
}
.menu-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.menu-card:hover .menu-card-image img { transform: scale(1.05); }
.menu-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* Item names read as data, not decoration: a customer scans a dozen of them looking for one thing.
   The script face stays on the section headlines, where there is one line to admire and nothing to
   compare. Sizes step name > price > description instead of the old 43px-script-over-15px-caps. */
.menu-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: 0.005em;
  margin-bottom: 0.35rem;
}
.menu-card .price {
  font-family: var(--font-caps);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* --terracotta on the card cream is 2.46:1, below the 4.5:1 floor for text this size, and it is
     the one line a customer must read. --terracotta-ink is the same hue carried to 5.72:1. */
  color: var(--terracotta-ink);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.menu-card-body > p:not(.price) {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  flex: 1;
}
.menu-card .btn-card { align-self: flex-start; }

/* ===== ORDER FORM ===== */
.order {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-lg) 1.5rem;
}
.order-card {
  background: var(--cream-deep);
  text-align: center;
  padding: 4rem 2.5rem;
  border-radius: 6px;
  position: relative;
  border: 1px solid rgba(125, 139, 95, 0.25);
}
.order-card::before, .order-card::after {
  content: '';
  position: absolute;
  width: 40px; height: 40px;
  border: 1.5px solid var(--sage);
}
.order-card::before {
  top: 12px; left: 12px;
  border-right: none; border-bottom: none;
}
.order-card::after {
  bottom: 12px; right: 12px;
  border-left: none; border-top: none;
}
.order-lede {
  font-size: 1.25rem;
  color: var(--ink-soft);
  margin: 0 auto 2.5rem;
  max-width: 520px;
  font-style: italic;
}

.order-form { text-align: left; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field { margin-bottom: 1.5rem; }
.form-field label {
  display: block;
  font-family: var(--font-caps);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 4px;
  border: 1px solid rgba(61, 46, 34, 0.25);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.form-field textarea { resize: vertical; min-height: 100px; }

.form-fieldset {
  border: none;
  margin: 1.75rem 0;
  padding: 0;
}
.form-fieldset legend {
  font-family: var(--font-caps);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 1.1rem;
  padding: 0;
}

/* ===== ORDER CONFIGURATOR ===== */
.cfg-field { margin-bottom: 1.35rem; }
.cfg-field > label {
  display: block;
  font-family: var(--font-caps);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cfg-select {
  width: 100%;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  background-color: var(--cream);
  border: 1px solid rgba(61, 46, 34, 0.25);
  border-radius: 4px;
  padding: 0.85rem 2.4rem 0.85rem 1.1rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%233d2e22' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 11px 8px;
  transition: border-color 0.2s ease;
}
.cfg-select:focus { outline: none; border-color: var(--terracotta); }

.cfg-detail { margin: 0; }

.cfg-box {
  background: var(--cream);
  border: 1px solid rgba(125, 139, 95, 0.3);
  border-radius: 6px;
  padding: 1.4rem 1.4rem 0.6rem;
  margin: 0.2rem 0 1.4rem;
}
.cfg-box-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.35rem;
}
.cfg-desc {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 1.1rem;
}

.cfg-size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
}
.cfg-size {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(61, 46, 34, 0.25);
  border-radius: 6px;
  padding: 0.65rem 0.8rem;
  cursor: pointer;
  background: var(--cream-deep);
  transition: border-color 0.2s ease;
}
.cfg-size:hover { border-color: var(--terracotta); }
.cfg-size input { width: auto; accent-color: var(--terracotta); }
.cfg-size-name { font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.cfg-size-price {
  margin-left: auto;
  font-family: var(--font-caps);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--terracotta-ink);
}

.cfg-qty { display: inline-flex; align-items: center; gap: 1rem; }
.cfg-qty-btn {
  width: 42px; height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(61, 46, 34, 0.3);
  background: var(--cream-deep);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.cfg-qty-btn:hover { border-color: var(--terracotta); color: var(--terracotta-ink); }
.cfg-qty-val {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  min-width: 1.5ch;
  text-align: center;
  color: var(--ink);
}

.cfg-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.2rem 0 0.2rem;
}
.cfg-line-price {
  font-family: var(--font-script);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--ink);
}
.cfg-add { width: auto; padding: 0.85rem 1.75rem; }
.cfg-warn {
  color: var(--rose-deep);
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 1rem;
  margin: 0.4rem 0 0.6rem;
}

.cfg-cart-wrap {
  margin: 1.75rem 0 0.5rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: 6px;
  border: 1px solid rgba(125, 139, 95, 0.3);
}
.cfg-cart-title {
  font-family: var(--font-caps);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin: 0 0 1rem;
}
.cfg-cart { display: flex; flex-direction: column; gap: 0.6rem; }
.cfg-empty { color: var(--ink-soft); font-size: 1rem; font-style: italic; margin: 0; }

.cfg-line {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--cream-deep);
  border: 1px solid rgba(61, 46, 34, 0.15);
  border-radius: 6px;
  padding: 0.75rem 0.95rem;
}
.cfg-line-text { display: flex; flex-direction: column; gap: 0.15rem; margin-right: auto; }
.cfg-line-name { font-size: 1.02rem; color: var(--ink); }
.cfg-line-detail { color: var(--ink-soft); font-size: 0.88rem; }
.cfg-line-cost {
  font-family: var(--font-caps);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--terracotta-ink);
  white-space: nowrap;
}
.cfg-line-remove {
  background: none;
  border: 0;
  color: var(--ink-soft);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
  transition: color 0.2s ease;
}
.cfg-line-remove:hover { color: var(--rose-deep); }

.cfg-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(61, 46, 34, 0.18);
}
.cfg-total-label {
  font-family: var(--font-caps);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.cfg-total-val {
  font-family: var(--font-script);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
}
.cfg-note { color: var(--ink-soft); font-size: 0.9rem; font-style: italic; margin: 0.75rem 0 0; }

.radio {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--ink);
}
.radio input[type="radio"] {
  width: 20px; height: 20px;
  accent-color: var(--terracotta);
  cursor: pointer;
}
.radio em {
  font-style: normal;
  font-family: var(--font-caps);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-ink);
  margin-left: 0.5rem;
  font-weight: 600;
}

.payment-hint {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
  padding: 0.6rem 0.9rem;
  background: rgba(201, 160, 98, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
}
.payment-hint strong {
  font-style: normal;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.field-hint {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
}

.order-form .btn-primary {
  margin-top: 1rem;
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: var(--font-caps);
}

.form-note {
  margin-top: 1rem;
  text-align: center;
  font-style: italic;
  min-height: 1.5em;
  font-size: 1.05rem;
}
.form-note.success { color: var(--sage-deep); }
.form-note.error   { color: var(--rose-deep); }

/* ===== DELIVERY BANNER ===== */
.delivery {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-md) 1.5rem var(--space-lg);
}
.delivery-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 3rem;
  background: var(--cream-deep);
  border-radius: 6px;
  border-left: 4px solid var(--sage);
  position: relative;
}
.delivery-icon {
  flex-shrink: 0;
  width: 80px;
  color: var(--sage-deep);
}
.delivery-icon svg { width: 100%; height: auto; }
.delivery-text { flex: 1; }
.delivery-title {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.delivery-text p {
  color: var(--ink-soft);
  font-size: 1.15rem;
  line-height: 1.6;
}
.delivery-text strong { color: var(--ink); font-weight: 600; }

/* ===== TESTIMONIALS ===== */
.testimonials {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) 1.5rem;
}
.testimonials-header { text-align: center; margin-bottom: 4rem; }
.testimonials-meta {
  font-family: var(--font-caps);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-ink);
  font-weight: 600;
  margin-top: 0.75rem;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.testimonial {
  padding: 2rem;
  background: var(--cream);
  border-left: 2px solid var(--rose);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px; left: 12px;
  font-family: var(--font-script);
  font-size: 5rem;
  color: var(--rose);
  line-height: 1;
  opacity: 0.5;
}
.testimonial blockquote {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.65;
}
.testimonial figcaption {
  font-family: var(--font-caps);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}

/* ===== EVENTS / CATERING ===== */
.events {
  background:
    linear-gradient(180deg, rgba(125, 139, 95, 0.06) 0%, rgba(125, 139, 95, 0.12) 100%),
    var(--cream);
  padding: var(--space-lg) 1.5rem;
  position: relative;
}
.events-inner {
  max-width: 760px;
  margin: 0 auto;
}
.events-header {
  text-align: center;
  margin-bottom: 3rem;
}
.events-form {
  background: var(--cream);
  padding: 3rem 2.5rem;
  border-radius: 6px;
  border: 1px solid rgba(125, 139, 95, 0.3);
  box-shadow: 0 8px 30px rgba(61, 46, 34, 0.06);
}
.events-form .btn-primary {
  margin-top: 1rem;
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: var(--font-caps);
}

/* ===== WHOLESALE / VENDOR PARTNERSHIPS ===== */
.wholesale {
  background:
    linear-gradient(180deg, var(--cream-deep) 0%, var(--cream-dark) 100%);
  padding: var(--space-lg) 1.5rem;
  position: relative;
  overflow: hidden;
}
.wholesale::before {
  content: '';
  position: absolute;
  top: 0; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(125, 139, 95, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.wholesale::after {
  content: '';
  position: absolute;
  bottom: 0; left: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(212, 154, 138, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.wholesale-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.wholesale-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4.5rem;
  align-items: start;
}
.wholesale-text { padding-top: 0.5rem; overflow-wrap: break-word; word-wrap: break-word; }
.wholesale-lede {
  font-size: 1.3rem;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-weight: 500;
}
.wholesale-text p:not(.wholesale-lede):not(.section-eyebrow) {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.wholesale-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wholesale-list li {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  padding: 0.7rem 0 0.7rem 1.75rem;
  border-bottom: 1px dashed rgba(61, 46, 34, 0.18);
  position: relative;
}
.wholesale-list li:last-child { border-bottom: none; }
.wholesale-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
}

.wholesale-form {
  background: var(--cream);
  padding: 2.5rem 2.25rem;
  border-radius: 6px;
  border: 1px solid rgba(61, 46, 34, 0.15);
  box-shadow: 0 12px 40px rgba(61, 46, 34, 0.1);
}
.wholesale-form .btn-primary {
  margin-top: 0.5rem;
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: var(--font-caps);
}

/* ===== STAY (email signup) ===== */
.stay {
  background: var(--ink);
  color: var(--cream);
  padding: var(--space-xl) 1.5rem;
  position: relative;
  overflow: hidden;
}
.stay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(212, 154, 138, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.stay-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.stay .section-eyebrow { color: var(--rose); }
.stay .section-title { color: var(--cream); }
.stay-lede {
  font-size: 1.25rem;
  color: rgba(246, 239, 226, 0.82);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 460px;
  margin: 0 auto;
}
.signup-form input {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  padding: 1.1rem 1.35rem;
  border-radius: 6px;
  border: 1px solid rgba(246, 239, 226, 0.22);
  background: rgba(246, 239, 226, 0.06);
  color: var(--cream);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.signup-form input::placeholder { color: rgba(246, 239, 226, 0.45); font-style: italic; }
.signup-form input:focus {
  outline: none;
  border-color: var(--rose);
  background: rgba(246, 239, 226, 0.1);
}
.signup-form .btn-primary {
  background: var(--cream);
  color: var(--ink);
  border: none;
  cursor: pointer;
}
.signup-form .btn-primary:hover { background: var(--rose); color: var(--cream); }
.signup-note {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  font-style: italic;
  min-height: 1.5em;
}
.signup-note.success { color: #b8d4a0; }
.signup-note.error   { color: var(--rose); }

/* ===== FOOTER ===== */
.footer {
  background: var(--cream-deep);
  color: var(--ink-soft);
  padding: 4rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(61, 46, 34, 0.12);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.footer-brand img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.footer-tag {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--sage-deep);
  line-height: 1.1;
  max-width: 200px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h2 {
  font-family: var(--font-caps);
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col p { font-size: 1.05rem; margin-bottom: 0.5rem; line-height: 1.6; }
.footer-col a {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-col a:hover { color: var(--terracotta-ink); border-bottom-color: var(--terracotta-ink); }
.social-list li { margin-bottom: 0.55rem; font-size: 1.05rem; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}

.footer-credit {
  margin-top: 0.6rem;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.st-credit {
  color: inherit;
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.st-wm {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: lowercase;
}
.st-credit u {
  color: #bfff00;
  text-decoration: none;
  font-style: normal;
  font-weight: 700;
}
.st-credit:hover {
  opacity: 1;
}

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Highlight when order section is targeted from a card click */
.order-card.highlight {
  animation: pulseHighlight 1.4s ease;
}
@keyframes pulseHighlight {
  0%   { box-shadow: 0 0 0 0 rgba(212, 154, 138, 0.6); }
  100% { box-shadow: 0 0 0 24px rgba(212, 154, 138, 0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { max-width: 480px; margin: 0 auto; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-brand { align-items: center; text-align: center; }
  .footer-tag { text-align: center; }
  .delivery-inner { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .wholesale-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }
  .nav { padding: 0.85rem 1.25rem; }
  .nav-brand img { width: 44px; height: 44px; }
  .nav-brand-text { font-size: 1.85rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(61, 46, 34, 0.08);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

  .hero { min-height: 80vh; padding: 3rem 1.25rem; }
  .hero-title-script { font-size: clamp(4rem, 22vw, 7rem); }
  .hero-sprig { width: 160px; opacity: 0.4; }

  .menu-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .menu-card-body { padding: 1.5rem; }
  /* Was 2rem to cut the oversized script down. Now that the base is a 1.5rem serif, holding 2rem
     here would make the name BIGGER on a phone than on a desktop. */
  .menu-card h3 { font-size: 1.4rem; }

  .footer-cols { grid-template-columns: 1fr; gap: 2rem; text-align: center; }

  .order-card { padding: 3rem 1.25rem; }

  /* Wholesale mobile layout */
  .wholesale { padding: 3rem 1.25rem; }
  .wholesale-grid { gap: 2rem; }
  .wholesale-form { padding: 1.75rem 1.25rem; }
  .wholesale-text .section-title { font-size: clamp(2.5rem, 11vw, 4rem); }
  .wholesale-lede { font-size: 1.15rem; }
  .wholesale-text p:not(.wholesale-lede):not(.section-eyebrow) { font-size: 1.05rem; }
  .wholesale-list li { font-size: 1.02rem; padding: 0.6rem 0 0.6rem 1.5rem; }

  .form-row { grid-template-columns: 1fr; }

  .cfg-foot { flex-direction: column; align-items: stretch; }
  .cfg-add { width: 100%; }

  .delivery-title { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .btn { padding: 0.9rem 1.75rem; }

  .cfg-size-grid { grid-template-columns: 1fr 1fr; }
  .cfg-line-price { font-size: 1.8rem; }
}

/* ===== ORRVILLE FARMERS MARKET POPUP ===== */
.market-popup {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 360px;
  background: var(--cream);
  border: 1px solid rgba(61, 46, 34, 0.18);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(61, 46, 34, 0.18), 0 2px 8px rgba(61, 46, 34, 0.08);
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  z-index: 950;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.market-popup.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.market-popup::before {
  /* Subtle terracotta accent stripe down the left edge */
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: var(--terracotta);
  border-radius: 10px 0 0 10px;
}
.market-popup-close {
  position: absolute;
  top: 0.4rem;
  right: 0.55rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-soft);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.market-popup-close:hover {
  background: rgba(61, 46, 34, 0.08);
  color: var(--ink);
}
.market-popup-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-left: 0.4rem;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.market-popup-inner:hover,
.market-popup-inner:focus-visible {
  background: rgba(200, 127, 90, 0.06);
  outline: none;
}
.market-popup-inner:focus-visible {
  box-shadow: 0 0 0 2px var(--terracotta);
}
.market-popup-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--terracotta-ink);
}
.market-popup-icon svg { width: 100%; height: 100%; display: block; }
.market-popup-text { flex: 1; min-width: 0; }
.market-popup-eyebrow {
  font-family: var(--font-caps);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.market-popup-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.35rem 0;
}
.market-popup-detail {
  font-family: var(--font-caps);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--terracotta-ink);
  font-weight: 600;
  margin: 0 0 0.4rem 0;
}
.market-popup-sub {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.market-popup-fb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-caps);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-ink);
  font-weight: 600;
}
.market-popup-fb svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.market-popup-inner:hover .market-popup-fb {
  color: var(--rose-deep);
}

@media (max-width: 540px) {
  .market-popup {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
  .market-popup-title { font-size: 1.25rem; }
  .market-popup-icon { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .market-popup { transition: opacity 0.2s ease; transform: none; }
}

@media print {
  .grain, .site-header, .hero-decor, .market-popup { display: none; }
  body { background: white; color: black; }
}

/* ===== TURNSTILE: the 300px floor (SOP v7.9, FORMS STANDARD) =====
   Cloudflare's widget will not render narrower than 300px. Starve it and it does
   NOT shrink - it inflates whatever track it sits in. .signup-form is a flex
   column, so a fixed-300px child floors it and drags every input out past the
   card; the order/events/wholesale forms are block, where only the widget itself
   can poke out. min-width:0 covers the first case, the phone bleed covers the
   second.

   MEASURED in production at a true 360px viewport (2026-08-17), which is the only
   way to get these numbers - the widget is domain-bound and absent locally:
     order-form     294 -> 302   (bleed raised to 1rem)
     events-form    254 -> 310   (had NO mobile padding override at all; 3rem 2.5rem
                                  on a phone ate 80px. Now 2rem 1rem.)
     wholesale-form 302 -> 310
     signup-form    336 -> 344   (flex; min-width:0 is what stops it dragging inputs)
   Redo those numbers if any form's mobile padding changes.

   Do NOT add max-width to .cf-turnstile. It caps the widget at the track width,
   which silently cancels the bleed and puts it back under the floor.

   Verify in PRODUCTION at 360px. The sitekey is domain-bound so the widget does
   not exist locally, and no local phone test can surface any of this. */
.cf-turnstile { min-width: 0; margin: 0.25rem 0 0; }
@media (max-width: 700px) {
  .cf-turnstile { margin-left: -1rem; margin-right: -1rem; }
  /* .events-form was the only form with no mobile padding override, so it kept its
     desktop 2.5rem sides and starved the widget to 254px. */
  .events-form { padding: 2rem 1rem; }
}

/* ===== SIMPLE CONTENT PAGES (privacy, 404) ===== */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}
.legal .section-eyebrow { text-align: left; }
.legal h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0.4rem 0 1.4rem;
  line-height: 1.1;
}
.legal h2 {
  font-family: var(--font-caps);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-ink);
  margin: 2.2rem 0 0.7rem;
}
.legal p { margin: 0 0 1.1rem; line-height: 1.7; color: var(--ink-soft); }
.legal a { color: var(--terracotta-ink); font-weight: 600; }
.legal .legal-updated {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.legal .btn { margin-top: 1.5rem; }
.error-page { text-align: center; min-height: 55vh; display: flex; flex-direction: column; justify-content: center; }
.error-page .error-code {
  font-family: var(--font-script);
  font-size: clamp(5rem, 18vw, 9rem);
  line-height: 1;
  color: var(--rose);
  margin-bottom: 0.5rem;
}

/* ===== Publisher CMS additions ===== */
/* Market banner — gentle note near the hero; the whole section is only rendered when a market is set. */
.market-note { text-align: center; padding: 1.5rem 1.25rem 0; }
.market-note-inner { display: inline-block; max-width: 38rem; background: #fbf6ec; border: 1px solid #e3d4b6; border-radius: 14px; padding: 1rem 1.75rem; }
.market-note-eyebrow { font-family: 'Cormorant SC', serif; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: #a8895f; margin: 0 0 .35rem; }
.market-note-line { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: #5b4837; margin: 0 0 .2rem; }
.market-note-line strong { color: #c87f5a; }
.market-note-sub { font-size: .9rem; color: #8a7860; margin: 0; }

/* Photoless menu card — iffield drops the <img> when an item has no photo, so no broken icon ever
   ships; this placeholder keeps the empty image area graceful. */
.menu-card-image:empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: #f3ece0; }
.menu-card-image:empty::after { content: "Photo coming soon"; font-family: 'Cormorant SC', serif; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: #a8895f; }

/* Quote item (CMS-added menu item, priced at reply) note in the order configurator. */
.cfg-quote-note { margin: .4rem 0 .2rem; font-size: .92rem; color: #5b4837; background: #fbf6ec; border: 1px solid #e3d4b6; border-radius: 10px; padding: .55rem .75rem; }

/* Sold-out flag — the badge lives in the DOM always; CSS reveals + dims when data-soldout is set. */
.menu-soldout { display: none; align-self: flex-start; font-family: 'Cormorant SC', serif; text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; color: #b04a3a; border: 1px solid #d9a99a; border-radius: 999px; padding: .1rem .55rem; margin-bottom: .45rem; }
.menu-card[data-soldout="true"] { opacity: .55; }
.menu-card[data-soldout="true"] .menu-soldout { display: inline-block; }
.menu-card[data-soldout="true"] .btn-card { pointer-events: none; opacity: .55; }

/* =====================================================
   SHARED SHOP CLIENT (js/shop.js) — 2026-08-20 migration
   The order section now runs the estate's shared shop client instead of the
   hand-built configurator, so Coral edits products, prices, payment methods,
   delivery options and the pickup-date rule herself in the Products editor.
   These rules dress the client's components in this site's own language:
   cream cards, sage-tinted borders, ink buttons, Cormorant type. The layout
   (Cottage: one flowing column) is chosen in the editor, not here.
   ===================================================== */
.shopwrap { max-width: 1120px; margin: 0 auto; padding: 0 0 2rem;
  display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .shopwrap { grid-template-columns: 1fr; } }
.stocking { max-width: 620px; margin: 2rem auto 0; text-align: center; background: var(--cream-deep);
  border: 1px solid rgba(125, 139, 95, 0.25); border-radius: 6px; padding: 2.5rem 2rem; }
.stocking h2 { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: .6rem; }
.stocking p { color: var(--ink-soft); margin-bottom: 1rem; }

.prodcat h2 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600;
  margin: 1.6rem 0 .9rem; color: var(--ink); }
.prodgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.prod { background: #fffdf6; border: 1px solid rgba(125, 139, 95, 0.25); border-radius: 6px;
  padding: 1.1rem; cursor: pointer; text-align: left; font-family: var(--font-serif);
  transition: transform .2s, box-shadow .2s; }
.prod:hover { transform: translateY(-3px); box-shadow: 0 8px 20px var(--paper-shadow); }
.prod h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .3rem; }
.prod p { font-size: .85rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: .5rem; }
.prod .pp { font-weight: 700; color: var(--terracotta-ink); font-size: 1.15rem; }
.prod.active { outline: 2px solid var(--sage); }
.prodshot { display: block; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: contain;
  border-radius: 4px; background: #fffdf6; margin-bottom: .7rem; }
.prodpick { display: block; width: 100%; text-align: left; background: none; border: 0;
  padding: 0; font: inherit; color: inherit; cursor: pointer; }
.prodmedia { position: relative; margin-bottom: .7rem; }
.prodmedia .prodshot { margin-bottom: 0; }
.prodzoom { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 6px;
  border: 1px solid rgba(125, 139, 95, 0.35); background: #fffdf6; color: var(--ink);
  font-size: 14px; line-height: 1; cursor: zoom-in; opacity: 0; transition: opacity .18s; }
.prod:hover .prodzoom, .prodzoom:focus-visible { opacity: 1; }
@media (hover: none) { .prodzoom { opacity: 1; } }
.prodstock { display: block; margin-top: .3rem; font-size: .8rem; font-weight: 600; color: var(--terracotta-ink); }
.prod.soldout { opacity: .62; }
.prod.soldout:hover { transform: none; box-shadow: none; }
.prod.soldout .prodshot { filter: grayscale(1); }
.prod.soldout .prodpick { cursor: not-allowed; }
.prod.soldout .prodstock { color: var(--ink-soft); }
.prodgrid > .cfg { grid-column: 1 / -1; margin-top: .2rem; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(61, 46, 34, 0.88);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.lb-img { max-width: min(92vw, 900px); max-height: 88vh; width: auto; height: auto;
  border-radius: 6px; background: #fffdf6; }
.lb-close { position: absolute; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
  border: none; background: #fffdf6; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }

.cfg { background: var(--cream-deep); border: 1px solid rgba(125, 139, 95, 0.25);
  border-radius: 6px; padding: 1.4rem; margin-top: .8rem; }
.cfg h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; margin-bottom: .2rem; }
.cfg .desc { font-size: .9rem; color: var(--ink-soft); line-height: 1.55; margin-bottom: .8rem; }
.cfg label { display: block; font-family: var(--font-caps); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin: .9rem 0 .35rem; }
.cfg select { width: 100%; padding: .65rem .7rem; border-radius: 4px;
  border: 1px solid var(--cream-dark); background: #fffdf6; font-family: var(--font-serif);
  font-size: 1rem; color: var(--ink); }
.cfgshotbtn { display: flex; justify-content: center; float: right; width: 170px; max-width: 40%;
  margin: 0 0 .7rem 1rem; padding: 0; border: 0; background: none; cursor: zoom-in; }
.cfgshot { display: block; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: contain; border-radius: 4px; }
@media (max-width: 560px) { .cfgshotbtn { float: none; width: 100%; max-width: 100%; margin: 0 0 .8rem; } }
.sizegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.sizeopt { display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  border: 1.5px solid var(--cream-dark); border-radius: 6px; padding: .65rem .8rem;
  cursor: pointer; font-size: .9rem; background: #fffdf6; }
.sizeopt input { accent-color: var(--sage); }
.sizeopt.sel { border-color: var(--sage); background: var(--cream); }
.tierrow { display: flex; gap: .6rem; }
.tierrow .sizeopt { flex: 1; justify-content: center; }
.qtyrow { display: inline-flex; align-items: center; gap: .8rem; border: 1.5px solid var(--cream-dark);
  border-radius: 6px; padding: .35rem .6rem; background: #fffdf6; }
.qtyrow button { width: 32px; height: 32px; border-radius: 4px; border: none; background: var(--cream-dark);
  font-size: 18px; cursor: pointer; color: var(--ink); font-family: var(--font-serif); }
.qtyrow span { min-width: 24px; text-align: center; font-weight: 700; }
.addonrow { display: flex; align-items: center; gap: .6rem; padding: .55rem 0;
  border-bottom: 1px dashed var(--cream-dark); font-size: .9rem; }
.addonrow:last-child { border-bottom: none; }
.addonrow input { accent-color: var(--sage); }
.addonrow .ap { margin-left: auto; color: var(--terracotta-ink); font-weight: 600; }
.cfgfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem;
  gap: .8rem; flex-wrap: wrap; }
.lineprice { font-size: 1.25rem; font-weight: 700; font-family: var(--font-serif); }

/* The order panel: light, like everything else on this site. */
.cartbox { background: var(--cream-deep); color: var(--ink); border: 1px solid rgba(125, 139, 95, 0.25);
  border-radius: 6px; padding: 1.5rem; position: sticky; top: 90px; }
.cartbox h2 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600;
  color: var(--ink); margin-bottom: .7rem; }
.cartcount { font-family: var(--font-caps); font-size: .75rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--terracotta-ink); margin-left: .6rem; }
.cartline { display: flex; gap: .6rem; align-items: flex-start; padding: .65rem 0;
  border-bottom: 1px dashed var(--cream-dark); font-size: .9rem; }
.cartline.justadded { animation: cartland 1.1s ease-out; }
@keyframes cartland { from { background: rgba(200, 127, 90, 0.25); } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) {
  .cartline.justadded { animation: none; }
  .prodzoom { transition: none; }
}
.cartline .cl-txt { flex: 1; }
.cartline .cl-txt b { display: block; color: var(--ink); }
.cartline .cl-txt span { color: var(--ink-soft); font-size: .8rem; line-height: 1.4; }
.cartline .cl-price { color: var(--terracotta-ink); font-weight: 700; white-space: nowrap; }
.cartline button { background: none; border: none; color: var(--ink-soft); cursor: pointer;
  font-size: 16px; padding: 0 2px; line-height: 1; }
.cartline button:hover { color: var(--ink); }
.cartempty { color: var(--ink-soft); font-size: .9rem; padding: .5rem 0 .25rem; }
.carttotal { display: flex; justify-content: space-between; align-items: baseline;
  padding: .8rem 0 .25rem; font-weight: 700; }
.carttotal .amt { font-size: 1.4rem; color: var(--terracotta-ink); font-family: var(--font-serif); }
.carttotal.sub { padding: .15rem 0; font-weight: 400; font-size: .9rem; opacity: .85; }
.carttotal.sub .amt { font-size: .95rem; color: inherit; font-family: inherit; }
.carttotal.grand { border-top: 1px solid var(--cream-dark); margin-top: .4rem; padding-top: .6rem; }

.cartbox .paychoice,
.cartbox .fulchoice { display: flex; align-items: flex-start; gap: .6rem; margin: 0 0 .5rem;
  text-transform: none; letter-spacing: normal; font-size: .9rem; color: var(--ink); font-family: var(--font-serif); }
.cartbox .paychoice input[type=radio],
.cartbox .fulchoice input[type=radio] { width: auto; flex: 0 0 auto; accent-color: var(--sage); margin-top: 3px; }
.shiplist { display: flex; flex-direction: column; margin-top: .25rem; }
.fulchoice { border: 1.5px solid var(--cream-dark); border-radius: 6px; padding: .6rem .75rem;
  cursor: pointer; background: #fffdf6; }
.fulchoice.sel { border-color: var(--sage); }
.cartbox .fulchoice .fc-txt { display: flex; flex: 1 1 auto; flex-direction: row;
  align-items: baseline; flex-wrap: wrap; gap: 2px 10px; min-width: 0; }
.fulchoice .fc-txt b { color: var(--ink); }
.fulchoice .fc-price { margin-left: auto; color: var(--terracotta-ink); font-weight: 700; white-space: nowrap; }
.fulchoice .fc-note { flex-basis: 100%; color: var(--ink-soft); font-size: .8rem; line-height: 1.4; }
.paychoice { border: 1.5px solid var(--cream-dark); border-radius: 6px; padding: .6rem .75rem;
  background: #fffdf6; cursor: pointer; }
.paychoice.sel { border-color: var(--sage); }
.paychoice .pc-txt b { color: var(--ink); }
.paychoice .pc-detail { display: block; color: var(--ink-soft); font-size: .8rem; }
.paynote { font-size: .85rem; color: var(--ink-soft); margin-top: .4rem; line-height: 1.5; }
#zip-wrap input { max-width: 12rem; }
.codewrap .coderow { display: flex; gap: .5rem; align-items: center; }
.cartbox .codewrap .coderow input { text-transform: uppercase; letter-spacing: 1px; flex: 1; }
.codewrap button { background: none; border: 1.5px solid var(--sage-deep); color: var(--sage-deep);
  border-radius: 4px; padding: .55rem .85rem; cursor: pointer; font-family: inherit;
  font-size: .85rem; white-space: nowrap; }
.codewrap button:disabled { opacity: .6; cursor: default; }
.codenote { font-size: .8rem; margin: .35rem 0 0; min-height: 1em; }
.codenote.ok { color: var(--sage-deep); }
.codenote.err { color: var(--rose-deep); }
.cartnote { font-size: .8rem; color: var(--ink-soft); line-height: 1.5; margin-top: .35rem; }
.cartbox label { display: block; font-family: var(--font-caps); font-size: .75rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin: .8rem 0 .3rem; }
/* `select` belongs here too. State became a dropdown on 2026-08-30, and an
   unstyled select does not degrade to something input-like -- it renders as the
   raw OS control, which on this cream palette is especially obvious.
   embed/shop.v1.css covers embedded shops; template sites load only their own. */
.cartbox input, .cartbox textarea, .cartbox select { width: 100%; padding: .6rem .7rem; border-radius: 4px;
  border: 1px solid var(--cream-dark); background: #fffdf6; color: var(--ink);
  font-family: var(--font-serif); font-size: .95rem; }
/* 104px was sized for two TYPED letters; a picker showing "Massachusetts"
   needs half the row. */
.addrrow { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.addrrow > div { min-width: 0; }
.cartbox textarea { min-height: 64px; resize: vertical; }
.fulrow { display: flex; gap: .5rem; }
.fulrow label { flex: 1; display: flex; align-items: center; justify-content: center; gap: .4rem;
  border: 1.5px solid var(--cream-dark); border-radius: 6px; padding: .6rem .4rem; cursor: pointer;
  font-size: .78rem; letter-spacing: .05em; margin: 0; color: var(--ink-soft); background: #fffdf6; }
.fulrow label.sel { border-color: var(--sage); color: var(--ink); }
.fulrow input { accent-color: var(--sage); }
.cartbox .btn { width: 100%; text-align: center; margin-top: 1rem; background: var(--ink);
  color: var(--cream); border: none; cursor: pointer; box-shadow: 0 4px 16px var(--paper-shadow); }
.cartbox .btn:hover { background: var(--ink-soft); }
.form-note { margin-top: .6rem; font-size: .9rem; min-height: 1.2em; }
.form-note.success { color: var(--sage-deep); }
.form-note.error { color: var(--rose-deep); }
.shopbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 0 0 1rem; }
.shoptabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.shoptab { border: 1.5px solid var(--cream-dark); background: #fffdf6; color: var(--ink-soft);
  border-radius: 999px; padding: .4rem .9rem; cursor: pointer; font-family: var(--font-serif); font-size: .9rem; }
.shoptab.sel { border-color: var(--sage); color: var(--ink); background: var(--cream-deep); }
.shopsearch { flex: 1; min-width: 180px; }
.shopq { width: 100%; padding: .55rem .7rem; border-radius: 4px; border: 1px solid var(--cream-dark);
  background: #fffdf6; font-family: var(--font-serif); font-size: .95rem; color: var(--ink); }
.shopcount, .shopempty { color: var(--ink-soft); font-size: .9rem; }

/* Simple flat-priced products: the on-card add button and stepper (Market/Cottage
   card layouts), in Coral's own palette. */
.prod:has(.prodadd){cursor:default;}
.prodadd{display:flex; align-items:center; gap:8px; margin-top:.7rem;}
.prodaddbtn{flex:1; min-height:44px; padding:.6rem .9rem; border-radius:6px; cursor:pointer;
  border:1px solid var(--sage-deep); background:var(--sage); color:#fff;
  font-family:inherit; font-weight:600; font-size:.9rem;}
.prodaddbtn:hover{background:var(--sage-deep);}
.prodaddbtn:disabled{opacity:.5; cursor:not-allowed;}
.prodstep{width:40px; height:40px; border-radius:6px; border:1px solid rgba(125,139,95,0.4);
  background:var(--cream); color:var(--ink); font-size:18px; cursor:pointer;}
.prodcount{min-width:2ch; text-align:center; font-weight:700;}
.prodsold{font-weight:700; color:var(--ink-soft);}
.ddpick select{cursor:pointer;}

/* Mobile quick-order bar (the Treats pattern, one button, Coral's palette). */
.mobile-cta{display:none;}
@media (max-width: 700px){
  body{padding-bottom:70px;}
  .mobile-cta{display:flex; position:fixed; left:0; right:0; bottom:0; z-index:90;
    padding:.6rem .9rem; background:var(--cream); border-top:1px solid rgba(125,139,95,0.35);
    box-shadow:0 -4px 16px var(--paper-shadow);}
  .mobile-cta .order-b{flex:1; text-align:center; padding:.9rem; border-radius:6px;
    background:var(--ink); color:var(--cream); font-weight:600; text-decoration:none;
    letter-spacing:.02em;}
}

/* 2026-08-20, Chad: the shop's small text was unreadably fine in this serif —
   everything but the heading bumped ~20-25%. And the panel's Add to Order ran on
   the base .btn (letter-spaced text, no box) because this sheet never had a
   .btn-solid: it IS a button now. Appended last so cascade order settles it. */
.cfg label, .cartbox label{font-size:1rem;}
.cfg select{font-size:1.15rem; padding:.8rem .85rem;}
.cfg .desc{font-size:1.1rem;}
.cfg h3{font-size:1.45rem;}
.sizeopt{font-size:1.1rem;}
.qtyrow span{font-size:1.2rem; min-width:30px;}
.qtyrow button{width:38px; height:38px; font-size:20px;}
.addonrow{font-size:1.1rem;}
.lineprice{font-size:1.55rem;}
.cartbox input, .cartbox textarea{font-size:1.1rem;}
.cartline{font-size:1.12rem;}
.cl-txt{line-height:1.5;}
.cl-price{font-size:1.22rem; font-weight:600;}
.cartline button{font-size:1.25rem; padding:.1rem .4rem;}
.carttotal{font-size:1.15rem;}
.carttotal .amt{font-size:1.3rem; font-weight:600;}
.carttotal.grand{font-size:1.3rem;}
.carttotal.grand .amt{font-size:1.5rem;}
.cartcount{font-size:.95rem;}
.cartnote, .codenote, .form-note{font-size:1.05rem;}
.paychoice, .fulchoice{font-size:1.12rem;}
.fc-price{font-size:1.1rem;}
.fc-note, .pc-detail{font-size:1.05rem;}
.cfgfoot .btn-solid{background:var(--ink); color:var(--cream); padding:.85rem 1.7rem;
  border-radius:6px; border:none; cursor:pointer; font-size:1.02rem; font-weight:600;
  letter-spacing:.06em; box-shadow:0 4px 16px var(--paper-shadow);}
.cfgfoot .btn-solid:hover{background:var(--ink-soft); transform:translateY(-1px);}

/* ---- phones: the card becomes a row -------------------------------------
   Stacked, a card is a ~420px poster on a 375px screen, so one loaf filled
   the phone and browsing the bakery meant a screen per item (measured
   2026-08-24). Below 560px the photo becomes a square thumbnail on the left
   with the words beside it. Grid rather than flex, so an Add button lands
   under the text instead of beside the photo, and a card with no photo leaves
   an auto column that collapses to nothing. */
@media (max-width: 560px) {
  .prodgrid { grid-template-columns: 1fr; gap: .6rem; }
  .prod { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; row-gap: .35rem;
    align-items: start; padding: .65rem; }
  .prodmedia { grid-column: 1; grid-row: 1 / -1; width: 92px; margin-bottom: 0; }
  .prod > :not(.prodmedia) { grid-column: 2; min-width: 0; }
  .prodshot { margin-bottom: 0; }
  .prodzoom { right: 3px; bottom: 3px; width: 22px; height: 22px; font-size: 11px; border-radius: 4px; }
  .prod h3 { font-size: 1rem; margin-bottom: .15rem; }
  .prod p { font-size: .8rem; margin-bottom: .3rem; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; }
  .prod .pp { font-size: 1rem; }
  .prodadd, .qtyrow { justify-content: flex-start; }
}
