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

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  accent-color: #5E7354;
  --cream: #FAF7F1;
  --linen: #F2ECE1;
  --white: #FFFDF9;
  --sage: #A3B394;
  --sage-mist: #E6EBDE;
  --sage-deep: #5E7354;
  --sage-ink: #4A5E42;
  --brown: #3B2A1E;
  --brown-soft: #6A5747;
  --line: #DCD3C3;

  --display: "Cinzel", "Times New Roman", serif;
  --body: "Figtree", system-ui, sans-serif;

  --space: clamp(5rem, 10vw, 9rem);
  --gutter: clamp(1rem, 5vw, 4rem);
  --max: 76rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; scrollbar-color: var(--sage) var(--cream); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font: 400 1.0625rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--sage-mist); color: var(--brown); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon--xl { width: 2.75rem; height: 2.75rem; }
.defs { position: absolute; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--brown); color: var(--cream); padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }

.title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: .04em; color: var(--brown); }
.title--sm { font-size: 1.6rem; }
.sprig { width: 7.5rem; height: 1.5rem; color: var(--sage); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: .85rem 2rem;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: .12em;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, transform .2s var(--ease);
}
.btn--sage { background: var(--sage-deep); color: var(--white); }
.btn--sage:hover { background: var(--sage-ink); }
.btn--sage:active { transform: scale(.98); }
.btn--line { background: transparent; border-color: var(--brown-soft); color: var(--brown); margin-top: 1.5rem; }
.btn--line:hover { background: var(--linen); }
.btn--wide { width: 100%; }
.link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--sage-ink);
  text-decoration: underline; text-decoration-color: var(--sage);
}
.link:hover { text-decoration-color: currentColor; }

.link .icon { transition: transform .25s var(--ease); }
.link:hover .icon { transform: translateX(3px); }
.flourish { width: 10rem; height: 1.5rem; color: var(--sage); margin: 1.25rem auto 1.5rem; }
.title-group { display: inline-flex; flex-direction: column; align-items: center; }
.section-head { text-align: center; max-width: 38rem; margin: 0 auto; }
.section-head p { color: var(--brown-soft); font-size: 1.1rem; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgb(250 247 241 / .96);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .8rem var(--gutter);
}
.wordmark { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: .1em; text-decoration: none; color: var(--brown); }
.nav { display: flex; align-items: center; gap: 2rem; font-size: .95rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--brown-soft); transition: color .2s; }
.nav a:hover { color: var(--brown); }
.nav .nav__cta {
  color: var(--white); background: var(--sage-deep);
  padding: .5rem 1.25rem; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: .85rem; letter-spacing: .12em;
}
.nav .nav__cta:hover { color: var(--white); background: var(--sage-ink); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.5rem) var(--gutter) var(--space);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;
}
.hero__text { text-align: center; }
.hero__logo {
  width: min(100%, 34rem); height: auto; margin: 0 auto;
  mix-blend-mode: multiply;
  aspect-ratio: 1080 / 700; object-fit: cover; object-position: center;
}
.hero__lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); font-weight: 400; color: var(--brown-soft); max-width: 30rem; margin: 1.25rem auto 0; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }
.hero__photo { margin: 0; position: relative; isolation: isolate; max-width: 30rem; justify-self: center; width: 100%; }
.slides {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% 1.25rem 1.25rem / 40% 40% 1.25rem 1.25rem;
  background: var(--white);
  margin: 1.2rem;
  width: calc(100% - 2.4rem);
}
.slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 52%;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.slide.is-active { opacity: 1; }
.slide-dots {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: .1rem;
  padding: .2rem .45rem; border-radius: 999px;
  background: rgb(255 253 249 / .88);
  box-shadow: 0 4px 12px -6px rgb(59 42 30 / .35);
}
.slide-dots:empty { display: none; }
.slide-dots button {
  width: 1.5rem; height: 2.75rem; margin-block: -.6rem; padding: 0; border: 0; background: transparent;
  display: grid; place-items: center; cursor: pointer;
}
.slide-dots button::after {
  content: ""; width: .45rem; height: .45rem; border-radius: 999px;
  background: rgb(106 87 71 / .35); transition: width .3s var(--ease), background .3s;
}
.slide-dots button:hover::after { background: rgb(106 87 71 / .6); }
.slide-dots button[aria-current="true"]::after { width: 1.1rem; background: var(--sage-deep); }
@media (max-width: 40rem) {
  .slide-dots { bottom: 1.7rem; }
  .slide-dots { padding: .15rem .3rem; }
  .slide-dots button { width: 1.05rem; height: 2.75rem; margin-block: -.6rem; }
  .slide-dots button::after { width: .38rem; height: .38rem; }
  .slide-dots button[aria-current="true"]::after { width: .85rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__text > * { animation: rise 1s var(--ease) both; }
  .hero__text > :nth-child(3) { animation-delay: .1s; }
  .hero__text > :nth-child(4) { animation-delay: .18s; }
  .hero__photo { animation: reveal 1.4s var(--ease) both; }
  @keyframes rise { from { transform: translateY(12px); opacity: .001; } }
  @keyframes reveal { from { opacity: .001; transform: translateY(10px); } }
}

/* ---------- Cookies gallery ---------- */
.cookies { background: var(--sage-mist); padding: var(--space) var(--gutter); border-block: 1px solid var(--line); }
.gallery {
  list-style: none; padding: 0;
  max-width: var(--max); margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem);
}
.gallery__item { position: relative; margin: 0; border-radius: 1rem; overflow: hidden; background: #F4F2EE; aspect-ratio: 4 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__cap {
  position: absolute; left: .75rem; bottom: .75rem;
  background: rgb(255 253 249 / .94); color: var(--brown);
  padding: .3rem .8rem; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .08em;
}
.gallery__item.pre, .bread__figure.pre { transform: translateY(22px); }
.gallery__item, .bread__figure { transition: transform 1s var(--ease); }
.cookies__more { text-align: center; margin-top: 2.5rem; }

/* ---------- Sourdough ---------- */
.bread { background: #F1E7D6; padding: var(--space) var(--gutter); }
.bread__inner {
  max-width: 66rem; margin: 0 auto;
  display: grid; grid-template-columns: .9fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center;
}
.bread__figure { margin: 0; position: relative; isolation: isolate; }
.bread__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 70%; border-radius: 50% 50% 1.25rem 1.25rem / 40% 40% 1.25rem 1.25rem; margin: 1.2rem; width: calc(100% - 2.4rem); }
.bread__text .flourish { margin-block: 1.25rem 1.75rem; }
.bread__text p { color: var(--brown-soft); max-width: 32rem; margin-bottom: 1.1rem; font-size: 1.1rem; }
.bread__text .btn { margin-top: .75rem; }

/* ---------- Order ---------- */
.order { padding: var(--space) var(--gutter); background: var(--white); border-block: 1px solid var(--line); }
.order__form, .order__done {
  max-width: 44rem; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 24px 48px -28px rgb(59 42 30 / .28);
}
.order__form[hidden], .order__done[hidden] { display: none; }
.choices { border: 0; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.choices legend { font-weight: 600; font-size: .95rem; margin-bottom: .75rem; padding: 0; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.2rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--cream);
  font-weight: 500; transition: background .2s, border-color .2s, color .2s;
}
.choice span::before {
  content: ""; width: 1rem; height: 1rem; border-radius: .3rem;
  border: 1.5px solid var(--sage-deep); background: var(--white) center / 80% no-repeat;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.choice:hover span { border-color: var(--sage); }
.choice input:checked + span { background: var(--sage-mist); border-color: var(--sage-deep); color: var(--sage-ink); font-weight: 600; }
.choice input:checked + span::before { background-color: var(--sage-deep); background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M5 12.5l4.5 4.5L19 7.5%27 stroke=%27%23FFFDF9%27 stroke-width=%273%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 fill=%27none%27/%3E%3C/svg%3E"); }
.choice input:focus-visible + span { outline: 2px solid var(--sage-deep); outline-offset: 2px; }
.choices .field__error { flex-basis: 100%; margin: .25rem 0 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.opt { font-weight: 400; color: var(--brown-soft); margin-left: .25rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--brown);
  padding: .8rem .95rem; border-radius: .7rem; min-height: 3.1rem;
  background: var(--cream); border: 1px solid var(--line);
  caret-color: var(--sage-deep);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder, .field textarea::placeholder { color: #7A6856; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sage); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--sage-deep); box-shadow: 0 0 0 3px rgb(163 179 148 / .4); }
.field input[aria-invalid="true"] { border-color: #A3412A; }
.field__error { display: none; margin-top: .35rem; font-size: .88rem; font-weight: 600; color: #A3412A; }
.field__error.show { display: block; }
.form-fine { margin-top: .9rem; font-size: .88rem; color: var(--brown-soft); text-align: center; }
.order__done { text-align: center; }
.order__done .icon--xl { margin: 0 auto 1rem; color: var(--sage-deep); }
.order__done .title { margin-bottom: 1rem; }
.order__done p { color: var(--brown-soft); max-width: 34ch; margin: 0 auto; }
.order__fallback { margin-top: 1rem !important; font-size: .92rem; }
.order__done a { color: var(--brown); font-weight: 600; }
.order__done .btn--sage { margin-top: 1.5rem; }
.order__done .btn--line { margin-top: .75rem; }
.order__copied { margin-top: .6rem !important; font-size: .88rem; color: var(--sage-ink) !important; font-weight: 600; min-height: 1.4em; }

/* ---------- Footer ---------- */
.foot { background: var(--brown); color: var(--linen); text-align: center; padding: clamp(3.5rem, 7vw, 5rem) var(--gutter); }
.foot__name { font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: .14em; color: var(--white); }
.foot__line { margin-top: .4rem; color: #CFC4B4; font-style: italic; }
.foot__links { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem 2rem; }
.foot__links a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--white); text-decoration-color: rgb(255 255 255 / .35); }
.foot__links a:hover { text-decoration-color: currentColor; }
.foot__copy { margin-top: 2rem; font-size: .82rem; color: #B9AC9A; }
.foot :focus-visible { outline-color: var(--sage); }

/* ---------- Responsive ---------- */
@media (max-width: 60rem) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
}
.lede-short { display: none; }
@media (max-width: 52rem) {
  .hero, .bread__inner { grid-template-columns: 1fr; }
  .hero__photo { max-width: 22rem; width: 80%; }
  /* phones: logo, then the cookie slideshow, then a short line and the buttons */
  .hero { row-gap: .75rem; padding-top: 1.25rem; }
  .hero__text { display: contents; }
  .hero__logo { order: 1; width: min(82%, 26rem); }
  .hero__photo { order: 2; width: 72%; max-width: 19rem; }
  .hero__lede { order: 3; text-align: center; margin-top: .25rem; }
  .hero__actions { order: 4; margin-top: .75rem; }
  .social { order: 5; }
  .lede-long { display: none; }
  .lede-short { display: inline; }
  .bread__figure { max-width: 22rem; width: 85%; margin: 1rem auto 0; }
  .bread__text { text-align: center; }
  .bread__text p { margin-inline: auto; }
  .title-group { display: flex; }
}
@media (max-width: 40rem) {
  .topbar__inner { flex-direction: column; gap: .3rem; padding-block: .6rem; }
  .nav { gap: 1.1rem; font-size: .85rem; }
  .nav a, .wordmark { white-space: nowrap; }
  .wordmark { font-size: 1rem; letter-spacing: .06em; }
  .row { grid-template-columns: 1fr; }
  .gallery__cap { font-size: .7rem; left: .5rem; bottom: .5rem; padding: .25rem .6rem; }
}

.archline { position: absolute; inset: .3rem; width: calc(100% - .6rem); height: calc(100% - .6rem); pointer-events: none; overflow: visible; z-index: 1; }

/* ---------- Reserve a loaf ---------- */
.reserve { background: var(--white); padding: var(--space) var(--gutter); border-block: 1px solid var(--line); }
.reserve__card, .reserve__off, .reserve__done {
  max-width: 60rem; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  background: var(--cream); border: 1px solid var(--line); border-radius: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: 0 24px 48px -28px rgb(59 42 30 / .28);
}
.reserve__card { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.reserve__card[hidden], .reserve__off[hidden], .reserve__done[hidden] { display: none; }
.reserve__card[aria-busy="true"] .cal__grid { opacity: .6; }

.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal__month { font-size: 1.3rem; letter-spacing: .08em; }
.cal__nav {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--sage-ink);
  transition: background .2s, border-color .2s;
}
.cal__nav:hover:not(:disabled) { border-color: var(--sage); background: var(--sage-mist); }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; }
.cal__dow { margin-bottom: .4rem; }
.cal__dow span { text-align: center; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brown-soft); }
.cal__loading { grid-column: 1 / -1; text-align: center; color: var(--brown-soft); padding: 2.5rem 0; }
.day {
  height: clamp(2.9rem, 6vw, 3.6rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem;
  border: 1px solid transparent; border-radius: .8rem; background: transparent;
  font-variant-numeric: lining-nums tabular-nums; line-height: 1.1;
  transition: background .2s, border-color .2s, color .2s, transform .15s var(--ease);
}
.day__n { font-weight: 600; font-size: 1rem; }
.day__s { font-size: .75rem; font-weight: 600; letter-spacing: .01em; line-height: 1.05; text-align: center; white-space: nowrap; }
.day { padding: 0; }
.day.is-closed { color: #CBC2B5; cursor: default; }
.day.is-closed .day__n { font-weight: 400; }
.day.is-sold { color: #7A6B5C; cursor: not-allowed; }
.day.is-sold .day__n { text-decoration: line-through; text-decoration-color: rgb(154 139 123 / .6); }
.day.is-open { background: var(--white); border-color: var(--line); color: var(--brown); }
.day.is-open .day__s { color: var(--sage-ink); }
.day.is-open:hover { border-color: var(--sage-deep); background: var(--sage-mist); }
.day.is-open:active { transform: scale(.96); }
.day.is-chosen, .day.is-chosen:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--white); }
.day.is-chosen .day__s { color: var(--sage-mist); }

.reserve__side { background: var(--white); border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.5rem; }
.reserve__label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brown-soft); margin-bottom: .35rem; }
.reserve__day { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: .03em; color: var(--brown-soft); margin-bottom: 1.4rem; min-height: 1.6em; }
.reserve__day.is-set { color: var(--brown); }
.qty { display: inline-grid; grid-template-columns: 2.75rem 2.5rem 2.75rem; align-items: center; background: var(--sage-mist); border-radius: 999px; }
.qty button { height: 2.75rem; border: 0; background: transparent; color: var(--sage-ink); border-radius: 999px; display: grid; place-items: center; }
.qty button:hover:not(:disabled) { background: rgb(94 115 84 / .14); }
.qty button:disabled { opacity: .35; cursor: default; }
.qty output { text-align: center; font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.reserve__left { font-size: .88rem; color: var(--sage-ink); font-weight: 600; margin-top: .5rem; min-height: 1.4em; }
.reserve__total { display: flex; justify-content: space-between; align-items: baseline; margin: 1.25rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 600; }
.reserve__total span:last-child { font-family: var(--display); font-size: 1.7rem; font-variant-numeric: lining-nums tabular-nums; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.reserve__err { color: #A3412A; font-weight: 600; font-size: .92rem; margin-top: .75rem; }
.reserve__err:empty { display: none; }
.reserve__fine { display: flex; gap: .45rem; align-items: flex-start; margin-top: .9rem; font-size: .84rem; color: var(--brown-soft); }
.reserve__fine .icon { margin-top: .15em; color: var(--sage-deep); }
.reserve__off { text-align: center; color: var(--brown-soft); max-width: 40rem; }
.reserve__done { text-align: center; max-width: 40rem; }
.reserve__done .icon--xl { margin: 0 auto 1rem; color: var(--sage-deep); }
.reserve__done .title { margin-bottom: 1rem; }
.reserve__done p { color: var(--brown-soft); max-width: 38ch; margin: 0 auto; }

@media (max-width: 52rem) {
  .reserve__card { grid-template-columns: 1fr; }
  .cal, .reserve__side { width: 100%; max-width: 30rem; margin-inline: auto; }
}
@media (max-width: 40rem) {
  .cal__dow, .cal__grid { gap: .2rem; }
  .day { border-radius: .55rem; }
  .day__n { font-size: .92rem; }
  .day__s { font-size: .7rem; letter-spacing: 0; }
  .reserve__side { padding: 1.25rem; }
}

.hero__actions { flex-direction: column; gap: .85rem; }
.hero__actions .btn { margin-top: 0; width: min(100%, 20.5rem); }

/* ---------- Social icons ---------- */
.social { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; justify-content: center; gap: .75rem; }
.social a {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px; color: var(--sage-ink); background: var(--white);
  transition: background .2s, border-color .2s, color .2s;
}
.social a:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--white); }
.social .icon { width: 1.2rem; height: 1.2rem; }

/* ---------- Shop cookies ---------- */
.shop { padding: var(--space) var(--gutter); }
.product, .custom-card {
  max-width: 64rem; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 1.5rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  box-shadow: 0 24px 48px -28px rgb(59 42 30 / .28);
}
.product[hidden], .shop__done[hidden] { display: none; }
.product__photo, .custom-card__photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1.1rem; }
.custom-card__photo { object-position: 50% 50%; }
.product__info, .custom-card__info { padding: .5rem clamp(0rem, 2vw, 1rem) .5rem 0; }
.product__name { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: .04em; color: var(--brown); }
.product__price { margin: .6rem 0 1rem; font-family: var(--display); font-weight: 600; font-size: 1.6rem; color: var(--sage-ink); font-variant-numeric: lining-nums; }
.product__per { font-family: var(--body); font-weight: 500; font-size: .95rem; color: var(--brown-soft); }
.product__desc { color: var(--brown-soft); margin-bottom: 1.4rem; max-width: 34rem; }
.custom-card .product__desc { margin-top: .8rem; }
.product__buy { margin-top: 1.25rem; }
.tags { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li {
  padding: .3rem .85rem; border-radius: 999px; background: var(--sage-mist); color: var(--sage-ink);
  font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .06em;
}

.shop__sub {
  max-width: 64rem; margin: clamp(3.5rem, 7vw, 5rem) auto 0;
  display: flex; align-items: center; gap: 1.25rem;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: .06em; color: var(--brown);
}
.shop__sub::before, .shop__sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.shop__sets { display: grid; gap: clamp(1.5rem, 3vw, 2rem); }
.shop__sets .product { margin-top: clamp(1.5rem, 3vw, 2rem); }
.shop__sets .product + .product { margin-top: 0; }

.shop__done { max-width: 40rem; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 1.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); }
.shop__done .icon--xl { margin: 0 auto 1rem; color: var(--sage-deep); }
.shop__done .title { margin-bottom: 1rem; }
.shop__done p { color: var(--brown-soft); max-width: 38ch; margin: 0 auto; }
@media (max-width: 52rem) {
  .product, .custom-card { grid-template-columns: 1fr; max-width: 32rem; }
  .product__info, .custom-card__info { padding: 0 .5rem .5rem; }
  .shop__sub { max-width: 32rem; }
}

/* ---------- Pickup info under "Reserve Your Loaf" ---------- */
.pickup-info {
  list-style: none; padding: 0; margin: 1.25rem 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem;
}
.pickup-info li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem 1rem; border-radius: 999px;
  background: var(--sage-mist); color: var(--sage-ink);
  font-weight: 600; font-size: .92rem;
}
.pickup-info .icon { width: 1.05rem; height: 1.05rem; }

/* ---------- Custom order form extras ---------- */
.order .pickup-info { margin-top: 1.5rem; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%234A5E42' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 1.1rem;
}
.field__hint { margin-top: .35rem; font-size: .86rem; color: var(--brown-soft); }
.field__error.show + .field__hint, .field__hint:has(+ .field__error.show) { display: none; }
.form-fine a { color: var(--sage-ink); font-weight: 600; }
.foot__place { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-size: .95rem; font-weight: 500; color: var(--linen); }
.foot__place .icon { width: 1.05rem; height: 1.05rem; color: var(--sage); }
