/* Crumb & Candle (sample website). Plain CSS, no build step, nothing loaded from other sites. */

/* Shrikhand (headings) and Figtree (text), both SIL Open Font License 1.1, served from this site.
   Shrikhand has one weight, so headings set in it stay at 400 and the browser is told not to fake bold
   or italic. Figtree is one variable file with every weight from 300 to 900. */
@font-face {
  font-family: "Shrikhand";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/shrikhand-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(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;
}

:root {
  /* Icing pink and cream backgrounds, berry-black ink for text, a softer plum for outlines, raspberry
     for actions, plum for dark panels, with butter, pistachio, sky and lilac for illustrations and tiles.
     Cards sit on a pink "layer" (like a cake board) rather than a hard shadow. Every text colour here
     passes WCAG AA on the background it is used on. */
  --ink: #2b0d1e;
  --ink-2: #4a2a3a;
  --muted: #6b4656;
  --icing: #fff6f2;
  --cream: #fffdf9;
  --blush: #ffe3e3;
  --blush-2: #ffd2da;
  --pink: #ff9fb5;
  --rasp: #c4164e;
  --rasp-deep: #9c0e3c;
  --plum: #3b0f2b;
  --plum-2: #521a3e;
  --plum-3: #6a2752;
  --on-plum: #ffeef2;
  --on-plum-muted: #e9bccb;
  --butter: #ffd15c;
  --butter-soft: #fff0c4;
  --pistachio: #d6eab8;
  --pist-ink: #3a6a2c;
  --sky: #dcefff;
  --lilac: #ece3fb;
  --line: #efcfd1;
  --note: #ffeaa6;
  --whatsapp: #dcf8c6;
  --r-sm: 0.7rem;
  --r: 1.15rem;
  --r-lg: 1.6rem;
  --edge: #6a3a56;
  --pop: 0 6px 0 -1px var(--blush-2), 0 18px 32px -22px rgba(59, 15, 43, 0.5);
  --pop-sm: 0 4px 0 -1px var(--blush-2), 0 10px 18px -14px rgba(59, 15, 43, 0.45);
  --pop-lift: 0 9px 0 -1px var(--blush-2), 0 24px 40px -24px rgba(59, 15, 43, 0.55);
  --font: "Figtree", "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --display: "Shrikhand", "Cooper Black", Georgia, serif;
  --header-h: 4.6rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--icing);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--rasp);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.1;
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

abbr[title] {
  text-decoration: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 1em;
  height: 1em;
}

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

.wrap {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-sm);
  background: var(--butter);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Type ---------- */

.display,
.h1,
.h2,
.brand-name,
.contact-title,
.dialog-title,
.summary-title {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
}

.h3,
.h4 {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.display {
  font-size: clamp(2.35rem, 1.4rem + 4vw, 4.2rem);
  line-height: 1.04;
}

.display-accent {
  display: block;
  color: var(--rasp);
}

.h1 {
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
  line-height: 1.06;
}

.h2 {
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.65rem);
  line-height: 1.1;
}

.h3 {
  font-size: 1.45rem;
  line-height: 1.1;
}

.h4 {
  font-size: 1.15rem;
}

.lead {
  max-width: 38rem;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  color: var(--rasp);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* A sprinkle before each small heading. */
.eyebrow::before,
.kicker::before {
  content: "";
  width: 0.5rem;
  height: 1.15rem;
  border: 1.5px solid var(--edge);
  border-radius: 999px;
  background: var(--butter);
  transform: rotate(35deg);
}

.kicker-light {
  color: var(--pink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: underline wavy var(--rasp) 1.5px;
  text-underline-offset: 0.35em;
}

.tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--rasp);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}

.noscript-note {
  padding: 1rem 1.2rem;
  border: 1.5px dashed var(--edge);
  border-radius: var(--r);
  background: var(--cream);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid var(--edge);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--pop-sm);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 -1px var(--blush-2), 0 14px 22px -14px rgba(59, 15, 43, 0.5);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 0 var(--blush-2);
}

.btn-primary {
  border-color: var(--rasp-deep);
  background: var(--rasp);
  color: #fff;
  box-shadow: 0 4px 0 0 var(--rasp-deep), 0 12px 20px -14px rgba(156, 14, 60, 0.7);
}

.btn-primary:hover {
  background: #b0123f;
  color: #fff;
  box-shadow: 0 6px 0 0 var(--rasp-deep), 0 16px 24px -14px rgba(156, 14, 60, 0.7);
}

.btn-primary:active {
  box-shadow: 0 1px 0 0 var(--rasp-deep);
}

.btn-light {
  background: var(--cream);
}

.btn-light:hover {
  background: var(--butter-soft);
}

.btn-dark {
  border-color: var(--edge);
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 4px 0 -1px var(--plum-3);
}

.btn-dark:hover {
  background: var(--plum-2);
  color: var(--cream);
}

.btn-ghost-light {
  border-color: var(--on-plum);
  background: transparent;
  color: var(--on-plum);
  box-shadow: 0 4px 0 -1px var(--plum-3);
}

.btn-ghost-light:hover {
  background: rgba(255, 238, 242, 0.1);
  color: var(--on-plum);
  box-shadow: 0 6px 0 -1px var(--plum-3);
}

.btn-sm {
  min-height: 2.6rem;
  padding: 0.45rem 1.05rem;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Sample bar ---------- */

.sample-bar {
  background: var(--note);
  color: var(--ink);
  border-bottom: 1.5px solid var(--edge);
  font-size: 0.875rem;
  line-height: 1.45;
}

.sample-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.25rem;
  padding: 0.5rem 0;
}

.sample-bar p {
  margin: 0;
}

.sample-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid transparent;
  background: rgba(255, 246, 242, 0.94);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  backdrop-filter: saturate(1.3) blur(10px);
  transition: border-color 0.2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 24px -20px rgba(59, 15, 43, 0.5);
}

.page-head + *,
.hero + * {
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-6deg);
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-name {
  font-size: 1.45rem;
  white-space: nowrap;
}

.brand-amp {
  color: var(--rasp);
}

.brand-tag {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  background: var(--blush);
  color: var(--ink);
}

.nav a[aria-current="page"] {
  text-decoration: underline wavy var(--rasp) 2px;
  text-underline-offset: 0.45em;
}

.nav .nav-order {
  display: none;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: var(--pop-sm);
}

@media (max-width: 1040px) {
  .menu-toggle:not([hidden]) {
    display: grid;
  }

  .js .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 0.5rem 1.25rem 1.25rem;
    border-bottom: 1.5px solid var(--edge);
    background: var(--icing);
  }

  .js .nav.is-open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav a {
    padding: 0.8rem 1rem;
    border-radius: var(--r-sm);
    font-size: 1.1rem;
  }

  .nav .nav-order {
    display: block;
  }

  .nav .nav-order a {
    margin-top: 0.4rem;
    border: 1.5px solid var(--edge);
    background: var(--rasp);
    color: #fff;
    box-shadow: var(--pop-sm);
    text-align: center;
  }

  html:not(.js) .nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-cta {
    display: none;
  }

  .brand-name {
    font-size: 1.3rem;
  }
}

/* ---------- Drips: icing and ganache running over the edge of a section ---------- */

.hero,
.page-head,
.cakes-band,
.how-section {
  position: relative;
}

.hero::after,
.page-head::after,
.cakes-band::after,
.how-section::after,
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 42px;
  background-repeat: repeat-x;
  background-size: 320px 42px;
  pointer-events: none;
}

.hero::after,
.page-head::after {
  top: calc(100% - 9px);
  z-index: 2;
  background-image: url(../img/drip-blush.svg);
}

.cakes-band::after,
.how-section::after {
  top: calc(100% - 9px);
  z-index: 2;
  background-image: url(../img/drip-plum.svg);
  background-position: 120px 0;
}

.site-footer::before {
  top: -1px;
  background-image: url(../img/drip-icing.svg);
  background-position: 60px 0;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--blush);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 4vw, 3.25rem);
}

.hero-copy .lead {
  margin-top: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.8rem 0 0;
}

.hero-art {
  position: relative;
}

.hero-svg {
  width: 100%;
  height: auto;
  max-width: 560px;
  margin-inline: auto;
}

.cake-flame {
  transform-box: fill-box;
  transform-origin: 50% 90%;
  animation: flicker 1.8s ease-in-out infinite alternate;
}

.cake-candle:nth-child(2n) .cake-flame {
  animation-duration: 1.4s;
  animation-delay: -0.6s;
}

.cake-glow {
  animation: glow 1.8s ease-in-out infinite alternate;
}

@keyframes flicker {
  0% {
    transform: rotate(-4deg) scale(1, 1);
  }
  50% {
    transform: rotate(3deg) scale(0.94, 1.06);
  }
  100% {
    transform: rotate(-2deg) scale(1.04, 0.96);
  }
}

@keyframes glow {
  from {
    opacity: 0.25;
  }
  to {
    opacity: 0.45;
  }
}

.cake-art text {
  font-family: var(--display);
  font-weight: 400;
}

/* ---------- Open-now line ---------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.6rem 0 0;
  padding: 0.55rem 1rem 0.55rem 0.8rem;
  border: 1.5px solid var(--edge);
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.98rem;
}

.status strong {
  font-weight: 800;
}

.status-dot {
  position: relative;
  width: 0.8rem;
  height: 0.8rem;
  flex-shrink: 0;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--muted);
}

.status.is-open .status-dot {
  background: #5cc26a;
}

.status.is-open.is-soon .status-dot {
  background: var(--butter);
}

.status.is-closed .status-dot {
  background: var(--rasp);
}

.status.is-open .status-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid #5cc26a;
  border-radius: 50%;
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  from {
    transform: scale(0.6);
    opacity: 1;
  }
  to {
    transform: scale(1.4);
    opacity: 0;
  }
}

.status-small {
  margin: 0;
  padding: 0.35rem 0.8rem 0.35rem 0.6rem;
  font-size: 0.88rem;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(3.75rem, 7vw, 6rem) 0;
}

.section-head {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.section-head .h2 + p {
  margin-top: 1rem;
  color: var(--ink-2);
}

.section-head-left {
  margin-left: 0;
  text-align: left;
}

.section-cta {
  margin: 2.5rem 0 0;
  text-align: center;
}

/* ---------- Out of the oven (home) ---------- */

.oven-section {
  padding-top: clamp(4.5rem, 8vw, 6.5rem);
}

.oven-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}

.oven-head .kicker {
  margin-bottom: 0.6rem;
}

.oven {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 1rem;
  list-style: none;
}

/* The line the bakes sit on. */
.oven::before {
  content: "";
  position: absolute;
  top: 0.95rem;
  left: 0.5rem;
  right: 0.5rem;
  border-top: 3px dashed var(--line);
}

.oven-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 2.6rem;
}

.oven-item::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0;
  width: 1.6rem;
  height: 1.6rem;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--cream);
}

.oven-item.is-out::before {
  background: var(--pistachio);
}

.oven-item.is-next::before {
  background: var(--butter);
  box-shadow: 0 0 0 5px rgba(255, 209, 92, 0.45);
}

.oven-time {
  color: var(--rasp);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.oven-body {
  display: grid;
  gap: 0.1rem;
}

.oven-name {
  font-weight: 700;
  line-height: 1.25;
}

.oven-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.oven-tag {
  position: absolute;
  top: 0.35rem;
  left: 2.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: var(--pist-ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.is-next .oven-tag {
  background: var(--ink);
}

@media (max-width: 900px) {
  .oven {
    grid-auto-flow: row;
    gap: 0;
  }

  .oven::before {
    top: 0.5rem;
    bottom: 0.5rem;
    left: 0.7rem;
    right: auto;
    border-top: 0;
    border-left: 3px dashed var(--line);
  }

  .oven-item {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.7rem 0 0.7rem 2.6rem;
  }

  .oven-item::before {
    top: 0.75rem;
  }

  .oven-time {
    font-size: 1.25rem;
  }

  .oven-tag {
    position: static;
    grid-column: 2;
    justify-self: start;
    margin-top: 0.2rem;
  }
}

/* ---------- On the counter ---------- */

.counter-section {
  background: var(--cream);
  border-block: 1.5px solid var(--line);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.counter-card,
.range-col {
  padding: 1.5rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--icing);
  box-shadow: var(--pop);
}

.counter-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.counter-icon {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  flex-shrink: 0;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--butter);
}

.counter-icon .icon {
  width: 1.7rem;
  height: 1.7rem;
  stroke-width: 1.8;
}

.counter-pastries .counter-icon,
.range-col:nth-child(2) .counter-icon {
  background: var(--blush-2);
}

.counter-slices .counter-icon,
.range-col:nth-child(3) .counter-icon {
  background: var(--pistachio);
}

.counter-from {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.counter-note {
  color: var(--ink-2);
  font-size: 0.97rem;
}

.price-list {
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.price-list li,
.range-top {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-name {
  font-weight: 650;
}

.price-dots {
  flex: 1;
  min-width: 1rem;
  border-bottom: 2px dotted var(--line);
  transform: translateY(-0.3em);
}

.price {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ---------- Celebration cakes band (home) ---------- */

.cakes-band {
  background: var(--plum);
  color: var(--on-plum);
}

.cakes-band :focus-visible,
.how-section :focus-visible,
.site-footer :focus-visible,
.contact-card :focus-visible {
  outline-color: var(--butter);
}

.cakes-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.cakes-band .h2 {
  color: #fff;
}

.cakes-band-copy > p {
  margin-top: 1rem;
  color: var(--on-plum-muted);
}

.ticks {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  list-style: none;
}

.ticks li {
  display: flex;
  gap: 0.6rem;
}

.ticks .icon {
  margin-top: 0.15rem;
  color: var(--butter);
  stroke-width: 2.6;
}

.ticks strong {
  color: #fff;
}

.mini-steps {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  counter-reset: none;
}

.mini-steps li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 2px solid var(--plum-3);
  border-radius: var(--r);
  background: var(--plum-2);
}

.mini-step-no {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--pink);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
}

.mini-steps h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.mini-steps p {
  margin: 0.25rem 0 0;
  color: var(--on-plum-muted);
  font-size: 0.95rem;
}

/* ---------- Gallery tiles ---------- */

.gallery-preview {
  padding-top: clamp(5rem, 9vw, 7rem);
}

.placeholder-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 44rem;
  margin: -0.75rem 0 1.75rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.placeholder-note .icon {
  margin-top: 0.15rem;
  color: var(--rasp);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  list-style: none;
}

.tiles-preview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.tile-figure {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--cream);
  box-shadow: var(--pop);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover .tile-figure {
  transform: translate(-2px, -2px) rotate(-0.4deg);
  box-shadow: var(--pop-lift);
}

.tile-photo {
  position: relative;
  padding: 2.6rem 1.25rem 0.75rem;
  border-bottom: 1.5px solid var(--edge);
  background: var(--blush);
}

.tile-blush .tile-photo {
  background: #ffe1e4;
}

.tile-butter .tile-photo {
  background: #fff0c4;
}

.tile-sky .tile-photo {
  background: var(--sky);
}

.tile-lilac .tile-photo {
  background: var(--lilac);
}

.tile-pistachio .tile-photo {
  background: #e3f1d2;
}

.tile-photo .cake-art {
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 330;
}

/* Viewfinder corners: this is where the bakery's photo goes. */
.corner {
  position: absolute;
  width: 1.3rem;
  height: 1.3rem;
  border: 0 solid rgba(43, 13, 30, 0.45);
}

.corner-tl {
  top: 0.7rem;
  left: 0.7rem;
  border-top-width: 3px;
  border-left-width: 3px;
  border-top-left-radius: 6px;
}

.corner-tr {
  top: 0.7rem;
  right: 0.7rem;
  border-top-width: 3px;
  border-right-width: 3px;
  border-top-right-radius: 6px;
}

.corner-bl {
  bottom: 0.7rem;
  left: 0.7rem;
  border-bottom-width: 3px;
  border-left-width: 3px;
  border-bottom-left-radius: 6px;
}

.corner-br {
  bottom: 0.7rem;
  right: 0.7rem;
  border-bottom-width: 3px;
  border-right-width: 3px;
  border-bottom-right-radius: 6px;
}

.tile-badge {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.65rem;
  border: 1.5px solid var(--edge);
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
}

.tile-caption {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.1rem 1.25rem 1.2rem;
}

.tile-cat {
  margin: 0 0 0.3rem;
  color: var(--rasp);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tile-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tile-meta {
  margin: 0.4rem 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.tile-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: auto;
}

.tile-price {
  margin: 0;
  font-weight: 800;
}

.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline wavy var(--rasp) 1.5px;
  text-underline-offset: 0.35em;
}

.tiles-preview .tile-meta {
  display: none;
}

.tile-title-link {
  text-decoration: none;
}

.tile-title-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
}

.tiles-preview .tile {
  position: relative;
}

.tiles-preview .tile:hover .tile-title-link {
  color: var(--rasp);
  text-decoration: underline wavy var(--rasp) 1.5px;
  text-underline-offset: 0.3em;
}

.tile-title-link:focus-visible {
  outline: none;
}

.tile-title-link:focus-visible::after {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.tiles-preview .tile-caption {
  padding-top: 0.9rem;
}

.tiles-preview .tile-title {
  font-size: 1.15rem;
}

/* ---------- Allergen strip (home) ---------- */

.allergen-strip {
  padding-top: 0;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.allergy-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--butter-soft);
}

.allergy-card p {
  margin: 0.4rem 0 0;
  color: var(--ink-2);
}

.allergy-icon {
  width: 3.2rem;
  height: 3.2rem;
  padding: 0.55rem;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--butter);
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* ---------- FAQ ---------- */

.faq-section {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: start;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border: 1.5px solid var(--edge);
  border-radius: var(--r);
  background: var(--cream);
}

.faq details[open] {
  box-shadow: var(--pop-sm);
}

.faq summary {
  position: relative;
  padding: 1rem 3.25rem 1rem 1.25rem;
  font-weight: 750;
  font-size: 1.05rem;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--blush);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "\2212";
  background: var(--butter);
}

.faq summary:hover {
  color: var(--rasp);
}

.faq details p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--ink-2);
}

/* ---------- Find us ---------- */

.find-section {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(5rem, 9vw, 7rem);
}

.find {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: start;
}

.find .h2 {
  margin-bottom: 1.5rem;
}

.find-line {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.find-line .icon {
  margin-top: 0.2rem;
  color: var(--rasp);
}

.find-line:first-of-type {
  font-weight: 750;
  font-size: 1.15rem;
}

.find-map {
  margin: 1rem 0 2rem;
}

.hours-card {
  padding: 1.4rem 1.5rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--cream);
  box-shadow: var(--pop);
}

.hours-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hours-head .h4 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hours-head .h4 .icon {
  color: var(--rasp);
}

.hours {
  margin: 0;
}

.hours > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem;
  border-bottom: 2px dotted var(--line);
}

.hours > div:last-child {
  border-bottom: 0;
}

.hours dt {
  font-weight: 650;
}

.hours dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hours dd small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.hours .is-today {
  border-radius: var(--r-sm);
  border-bottom-color: transparent;
  background: var(--blush);
  font-weight: 750;
}

.holidays {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--r-sm);
  background: var(--butter-soft);
  font-size: 0.93rem;
}

.holidays-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.holidays ul {
  display: grid;
  gap: 0.25rem;
  list-style: none;
}

.holidays strong {
  margin-right: 0.4rem;
}

.contact-card {
  padding: 2rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--plum);
  color: var(--on-plum);
  box-shadow: 0 7px 0 -1px var(--rasp), 0 26px 40px -26px rgba(43, 13, 30, 0.7);
}

.contact-title {
  font-size: 1.8rem;
  line-height: 1.05;
  color: #fff;
}

.contact-card > p {
  margin: 1rem 0 1.5rem;
  color: var(--on-plum-muted);
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
}

.contact-actions .btn {
  justify-content: flex-start;
  overflow-wrap: anywhere;
}

.contact-email {
  margin: 0.9rem 0 0;
  color: var(--on-plum-muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

/* ---------- Page head (inner pages) ---------- */

.page-head {
  background: var(--blush);
}

.page-head-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.5rem 3rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.25rem, 4vw, 3rem);
}

.page-head .lead {
  margin: 1.1rem 0 0;
}

.page-head .status {
  justify-self: start;
  margin: 0;
}

.fact-chips {
  display: grid;
  gap: 0.6rem;
  list-style: none;
}

.fact-chips li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--edge);
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.97rem;
}

.fact-chips .icon {
  color: var(--rasp);
}

.placeholder-note-head {
  margin: 0;
  padding: 1rem 1.2rem;
  border: 1.5px dashed var(--edge);
  border-radius: var(--r);
  background: var(--cream);
}

.page-head + .section {
  padding-top: clamp(4.5rem, 8vw, 6.5rem);
}

/* ---------- Shop: bake times ---------- */

.bakes {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: start;
}

.bakes-panel {
  padding: 1.5rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--cream);
  box-shadow: var(--pop);
}

.day-picker {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.day-chip {
  display: grid;
  justify-items: center;
  align-content: start;
  min-width: 0;
  padding: 0.45rem 0.25rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-sm);
  background: var(--icing);
  line-height: 1.2;
}

.day-chip:hover {
  background: var(--blush);
}

.day-chip-name {
  font-weight: 800;
  font-size: 0.95rem;
}

.day-chip-date,
.day-chip-closed {
  color: var(--muted);
  font-size: 0.78rem;
}

.day-chip.is-closed {
  border-style: dashed;
  background: transparent;
}

.day-chip[aria-pressed="true"] {
  background: var(--rasp);
  color: #fff;
  box-shadow: var(--pop-sm);
}

.day-chip[aria-pressed="true"] .day-chip-date,
.day-chip[aria-pressed="true"] .day-chip-closed {
  color: #fff;
}

.bakes-day {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.bakes-day:focus {
  outline: none;
}

.bake-list {
  position: relative;
  list-style: none;
}

.bake-list::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 5.6rem;
  border-left: 3px dashed var(--line);
}

.bake {
  position: relative;
  display: grid;
  grid-template-columns: 4.8rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1.6rem;
  padding: 0.6rem 0;
}

.bake::before {
  content: "";
  position: absolute;
  top: 0.95rem;
  left: 5.05rem;
  width: 1.1rem;
  height: 1.1rem;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--cream);
}

.bake.is-out::before {
  background: var(--pistachio);
}

.bake-open::before {
  background: var(--butter);
}

.bake-closed::before {
  background: var(--line);
}

.bake-time {
  color: var(--rasp);
  font-size: 1.15rem;
  font-weight: 800;
  text-align: right;
}

.bake-body {
  display: grid;
}

.bake-name {
  font-weight: 700;
}

.bake-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.bake-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: var(--pist-ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bake-note:last-child {
  margin: 0;
}

.bake-note-wrap,
.bake-note {
  line-height: 1.4;
}

.bakes-panel > .bake-note {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 2px dotted var(--line);
}

/* ---------- Shop: the range ---------- */

.range-section {
  background: var(--cream);
  border-block: 1.5px solid var(--line);
}

.range-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.range-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.range-filter legend {
  float: left;
  margin-right: 0.5rem;
  padding: 0;
  font-weight: 750;
}

.toggle {
  position: relative;
  display: inline-flex;
}

.toggle input,
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.toggle span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.95rem;
  border: 1.5px solid var(--edge);
  border-radius: 999px;
  background: var(--icing);
  font-weight: 650;
  cursor: pointer;
}

.toggle span::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  border: 1.5px solid var(--edge);
  border-radius: 4px;
  background: var(--cream);
}

.toggle input:checked + span {
  background: var(--ink);
  color: var(--cream);
}

.toggle input:checked + span::before {
  border-color: var(--cream);
  background: var(--rasp);
}

.toggle input:focus-visible + span,
.choice input:focus-visible + .choice-body {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.range-count {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.allergen-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.75rem;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.allergen-key li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.al {
  display: inline-grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid var(--edge);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.al-gluten {
  background: var(--butter);
}

.al-eggs {
  background: var(--butter-soft);
}

.al-milk {
  background: var(--sky);
}

.al-nuts {
  background: #f2c99a;
}

.range {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.range-list {
  display: grid;
  list-style: none;
}

.range-item {
  padding: 0.65rem 0;
  border-bottom: 2px dotted var(--line);
}

.range-item:last-child {
  border-bottom: 0;
}

.range-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.range-detail {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.al-tags {
  display: inline-flex;
  gap: 0.2rem;
  flex-shrink: 0;
}

.range-empty {
  display: none;
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.range-col.is-empty .range-empty {
  display: block;
}

/* ---------- Shop: allergens ---------- */

.allergens-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.warning {
  display: flex;
  gap: 0.8rem;
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r);
  background: var(--butter-soft);
  text-align: left;
}

.warning .icon {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--rasp);
}

.warning p {
  margin: 0;
}

.allergen-board {
  padding: 1.5rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--cream);
  box-shadow: var(--pop);
}

.board-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.board-title:not(:first-child) {
  margin-top: 1.6rem;
}

.board-dot {
  width: 0.9rem;
  height: 0.9rem;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--cream);
}

.board-dot-on {
  background: var(--rasp);
}

.allergen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  list-style: none;
}

.allergen-grid li {
  display: grid;
  padding: 0.55rem 0.8rem;
  border: 2px dashed var(--line);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
}

.allergen-grid strong {
  font-weight: 650;
}

.allergen-grid-on li {
  border: 1.5px solid var(--edge);
  background: var(--blush);
}

.allergen-grid-on strong {
  font-weight: 800;
}

.allergen-grid-on span {
  color: var(--ink-2);
  font-size: 0.87rem;
  line-height: 1.4;
}

.board-note {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Shop: hours and collection slots ---------- */

.hours-section {
  padding-top: 0;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: start;
}

.slot-cells {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.3rem;
}

.slot-cell {
  padding: 0.05rem 0.55rem;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--icing);
  font-size: 0.85rem;
  white-space: nowrap;
}

.slots-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Reserve / call-to-action card ---------- */

.reserve-section,
.gallery-cta-section {
  padding-top: 0;
  padding-bottom: clamp(5rem, 9vw, 7rem);
}

.reserve-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.75rem;
  padding: 1.5rem 2rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--pistachio);
  box-shadow: var(--pop);
}

.reserve-card p {
  margin: 0.35rem 0 0;
  color: var(--ink-2);
}

.reserve-art {
  width: 6.5rem;
  height: auto;
}

/* ---------- Cakes: sizes and menu ---------- */

.sizes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
  list-style: none;
}

.size-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 1.1rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--cream);
  box-shadow: var(--pop);
}

.size-art {
  margin: -0.25rem -0.25rem 0.5rem;
  border-radius: var(--r);
  background: var(--blush);
}

.size-card:nth-child(2) .size-art {
  background: var(--butter-soft);
}

.size-card:nth-child(3) .size-art {
  background: var(--sky);
}

.size-card:nth-child(4) .size-art {
  background: #e3f1d2;
}

.size-card:nth-child(5) .size-art {
  background: var(--lilac);
}

.size-art .cake-art {
  width: 100%;
  height: auto;
}

.size-name {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.15;
}

.size-serves {
  margin: 0.3rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.size-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}

.size-price {
  margin: 0;
  color: var(--rasp);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.size-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: right;
}

.size-pick {
  margin-top: 0.8rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: underline wavy var(--rasp) 1.5px;
  text-underline-offset: 0.35em;
}

.menu-details {
  margin-top: 2.5rem;
}

.menu-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: fit-content;
  margin: 0 auto 1.5rem;
  padding: 0.55rem 1.2rem;
  border: 1.5px solid var(--edge);
  border-radius: 999px;
  background: var(--cream);
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}

.menu-summary::-webkit-details-marker {
  display: none;
}

.menu-summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--butter);
  font-weight: 800;
  line-height: 1;
}

.menu-details[open] .menu-summary::after {
  content: "\2212";
}

.menu-summary:hover {
  background: var(--blush);
}

.menu-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.menu-col {
  padding: 1.4rem 1.5rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--cream);
}

.menu-col .h4 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.menu-list {
  display: grid;
  list-style: none;
}

.menu-list li {
  padding: 0.55rem 0;
  border-bottom: 2px dotted var(--line);
}

.menu-list li:last-child {
  border-bottom: 0;
}

.menu-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.menu-name {
  font-weight: 650;
}

.menu-price {
  flex-shrink: 0;
  color: var(--rasp);
  font-weight: 750;
  font-size: 0.95rem;
}

.menu-note {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.menu-note-wrap {
  margin: 0;
}

.menu-note {
  margin-top: 0.1rem;
}

.sizes-section .menu-note:last-child {
  margin: 0;
}

.sizes-section .menu-details > .menu-note {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  text-align: center;
}

/* ---------- Cakes: the order form ---------- */

.order-section {
  padding-top: clamp(3rem, 5vw, 4rem);
  background: var(--cream);
  border-block: 1.5px solid var(--line);
}

.from-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 40rem;
  margin: -1rem auto 2rem;
  padding: 0.7rem 1.1rem;
  border: 1.5px solid var(--edge);
  border-radius: 999px;
  background: var(--butter-soft);
  text-align: center;
}

.from-gallery .icon {
  color: var(--rasp);
}

.order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24rem;
  gap: 2rem;
  align-items: start;
}

.order-steps {
  display: grid;
  gap: 1.25rem;
}

.step {
  min-width: 0;
  margin: 0;
  padding: 1.4rem 1.5rem 1.5rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--icing);
}

.step-title {
  float: left;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.step-title ~ * {
  clear: both;
}

.step-no {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--butter);
  font-size: 1rem;
}

.step-help {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0 0;
  color: var(--ink-2);
  font-size: 0.93rem;
}

.step-help .icon {
  margin-top: 0.15rem;
  color: var(--rasp);
}

[data-lead-note] {
  margin: 0 0 1rem;
}

.subset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.subset + .subset,
.cards + .subset {
  margin-top: 1.25rem;
}

.sub-title {
  float: left;
  width: 100%;
  margin: 0 0 0.6rem;
  padding: 0;
  font-weight: 800;
  font-size: 1rem;
}

.sub-title ~ * {
  clear: both;
}

.sub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.sub .subset + .subset {
  margin-top: 0;
}

.diet-change {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-sm);
  background: var(--butter-soft);
  font-size: 0.95rem;
}

/* Choices: the radio or checkbox stays in the label (so it works with the keyboard) and the card shows
   its state. */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cards {
  display: grid;
  gap: 0.6rem;
}

.cards-diet,
.cards-finish {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
}

.cards-extras {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.cards-extras .choice-body {
  flex-wrap: wrap;
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice-body {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  height: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r);
  background: var(--cream);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.choice:hover .choice-body {
  background: var(--blush);
}

.choice input:checked + .choice-body {
  background: var(--blush);
  border-color: var(--rasp);
  box-shadow: inset 0 0 0 1px var(--rasp), var(--pop-sm);
}

/* The tick on a chosen card. */
.choice-body::after {
  content: "";
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--cream);
}

.choice input[type="checkbox"] + .choice-body::after {
  border-radius: 6px;
}

.choice input:checked + .choice-body::after {
  background: var(--rasp) url(../img/tick.svg) center / 0.85rem no-repeat;
}

.choice-text {
  display: grid;
  flex: 1;
  gap: 0.1rem;
  min-width: 0;
}

.choice-label {
  font-weight: 700;
  line-height: 1.25;
}

.choice-meta,
.choice-why {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
}

.choice-why {
  color: var(--rasp-deep);
  font-weight: 650;
}

.choice-price {
  flex-shrink: 0;
  color: var(--rasp);
  font-weight: 800;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.choice.is-off {
  cursor: not-allowed;
}

.choice.is-off .choice-body {
  border-style: dashed;
  background: transparent;
  box-shadow: none;
}

.choice.is-off .choice-label {
  color: var(--muted);
  text-decoration: line-through;
}

.choice.is-off:hover .choice-body {
  background: transparent;
}

.choice-chip .choice-body {
  padding: 0.5rem 0.9rem 0.5rem 0.75rem;
  border-radius: 999px;
  gap: 0.5rem;
}

.choice-chip .choice-text {
  flex: 0 1 auto;
}

.choice-chip .choice-body::after {
  order: -1;
  width: 1.05rem;
  height: 1.05rem;
  margin-left: 0;
}

.choice-chip input:checked + .choice-body::after {
  background-size: 0.65rem;
}

.cards-size {
  grid-template-columns: minmax(0, 1fr);
}

.tier-icon {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: flex-start;
  width: 3rem;
  height: 2.4rem;
  flex-shrink: 0;
}

.tier-icon i {
  display: block;
  height: 0.7rem;
  margin-top: -2px;
  border: 1.5px solid var(--edge);
  border-radius: 4px 4px 3px 3px;
  background: var(--butter-soft);
}

.tier-icon i:nth-child(1) {
  width: 100%;
}

.tier-icon i:nth-child(2) {
  width: 72%;
  background: var(--blush-2);
}

.tier-icon i:nth-child(3) {
  width: 46%;
  background: var(--pistachio);
}

.tier-icon-6in i:nth-child(1) {
  width: 56%;
  height: 1.25rem;
}

.tier-icon-8in i:nth-child(1) {
  width: 78%;
  height: 1.35rem;
}

.tier-icon-10in i:nth-child(1) {
  height: 1.45rem;
}

/* Fields */
.field {
  display: grid;
  align-content: start;
  gap: 0.4rem;
}

.field + .field,
.field-row + .field,
.cards + .field {
  margin-top: 1rem;
}

.field-row > .field {
  margin-top: 0;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
}

.field-label {
  font-weight: 750;
}

.field-optional {
  margin-left: 0.3rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.88rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-sm);
  background: var(--cream);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--rasp);
  outline-offset: 1px;
}

.field input[aria-invalid="true"] {
  border-color: var(--rasp);
  background: #fff4f6;
}

.field ::placeholder {
  color: #8a6878;
}

.field-hint {
  color: var(--muted);
  font-size: 0.88rem;
}

.field-error {
  margin: 0.6rem 0 0;
  color: var(--rasp-deep);
  font-weight: 700;
  font-size: 0.93rem;
}

.field-numbers {
  margin-top: 1rem;
  max-width: 16rem;
}

.photo-note {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.1rem 1.2rem;
  border: 1.5px dashed var(--edge);
  border-radius: var(--r);
  background: var(--cream);
}

.photo-note p {
  margin: 0 0 0.75rem;
  font-size: 0.97rem;
}

.photo-note-icon {
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  padding: 0.5rem;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--sky);
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 650;
  cursor: pointer;
}

.check input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  accent-color: var(--rasp);
}

/* The collection calendar */
.collect {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.25rem;
}

.slots-empty {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  padding: 1rem 1.1rem;
  border: 2px dashed var(--line);
  border-radius: var(--r);
  color: var(--muted);
  font-size: 0.95rem;
}

.slots-empty .icon {
  margin-top: 0.1rem;
  color: var(--rasp);
}

.chips-slots {
  display: grid;
  gap: 0.5rem;
}

.chips-slots .choice-body {
  padding: 0.7rem 1rem 0.7rem 0.85rem;
}

.cal {
  padding: 1rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r);
  background: var(--cream);
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.cal-title {
  font-size: 1.15rem;
  font-weight: 800;
}

.cal-nav {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--icing);
}

.cal-nav:hover:not(:disabled) {
  background: var(--blush);
}

.cal-nav:disabled {
  border-style: dashed;
  opacity: 0.4;
  cursor: default;
}

.cal-weekdays,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
}

.cal-weekdays {
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cal-day {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-height: 2.5rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cal-day.is-open {
  border-color: var(--edge);
  background: var(--icing);
}

.cal-day.is-open:hover {
  background: var(--blush);
}

.cal-day.is-out {
  color: #9a7f8b;
  font-weight: 500;
  cursor: default;
}

.cal-day.is-closed {
  color: #9a7f8b;
  font-weight: 500;
  background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(43, 13, 30, 0.07) 5px 8px);
  cursor: default;
}

.cal-day.is-closed span {
  text-decoration: line-through;
}

.cal-day.is-today::after {
  content: "";
  position: absolute;
  bottom: 0.25rem;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--rasp);
}

.cal-day[aria-pressed="true"] {
  border-color: var(--rasp-deep);
  background: var(--rasp);
  color: #fff;
  box-shadow: var(--pop-sm);
}

.cal-day[aria-pressed="true"]:hover {
  background: var(--rasp-deep);
}

.cal-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 0.85rem;
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
}

.cal-key li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.key {
  width: 0.9rem;
  height: 0.9rem;
  border: 1.5px solid var(--edge);
  border-radius: 4px;
}

.key-open {
  background: var(--icing);
}

.key-picked {
  background: var(--rasp);
}

.key-closed {
  border-style: dashed;
  border-color: #9a7f8b;
  background: repeating-linear-gradient(135deg, transparent 0 2px, rgba(43, 13, 30, 0.15) 2px 4px);
}



/* The summary */
.order-summary {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

/* On a short screen the card scrolls inside itself, so the send buttons can always be reached. */
@media (min-width: 1041px) {
  .summary-card {
    max-height: calc(100vh - var(--header-h) - 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.summary-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem 1.25rem 1.25rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--icing);
  box-shadow: var(--pop-lift);
}

.summary-title {
  font-size: 1.5rem;
}

.summary-art {
  margin: 0 -0.25rem;
  padding: 0.5rem 0.75rem 0.25rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r);
  background: var(--blush);
}

.summary-art .cake-art {
  width: 100%;
  height: auto;
  max-height: 11.5rem;
}

@media (max-height: 920px) and (min-width: 1041px) {
  .summary-art .cake-art {
    max-height: 8rem;
  }

  .summary-list > div {
    padding: 0.1rem 0;
  }
}

.summary-list {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  font-size: 0.92rem;
}

.summary-list > div {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.2rem 0;
  border-bottom: 1.5px dotted var(--line);
}

.summary-list > div:last-child {
  border-bottom: 0;
}

.summary-list dd {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.sum-price {
  flex-shrink: 0;
  color: var(--ink-2);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.summary-list dt {
  color: var(--muted);
}

.summary-list dd {
  margin: 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.summary-list .is-empty dd {
  color: var(--rasp-deep);
  font-weight: 600;
}

.estimate {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r);
  background: var(--cream);
}

.estimate-total,
.estimate-deposit {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
}

.estimate-total span {
  font-weight: 800;
  font-size: 1.1rem;
}

.estimate-total strong {
  color: var(--rasp);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.estimate-deposit {
  margin-top: 0.3rem;
  color: var(--ink-2);
  font-size: 0.93rem;
}

.estimate-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.estimate-note strong {
  color: var(--ink);
}

.error-summary {
  padding: 0.85rem 1rem;
  border: 2.5px solid var(--rasp);
  border-radius: var(--r);
  background: #fff4f6;
  font-size: 0.93rem;
}

.error-summary:focus {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.error-title {
  margin: 0 0 0.35rem;
  color: var(--rasp-deep);
  font-weight: 800;
}

.error-summary ul {
  padding-left: 1.2rem;
}

.error-summary a {
  color: var(--rasp-deep);
  font-weight: 700;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.form-note a {
  color: var(--ink);
  font-weight: 700;
}

.estimate-bar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1.1rem;
  border: 1.5px solid var(--edge);
  border-radius: 999px;
  background: var(--plum);
  color: var(--on-plum);
  box-shadow: var(--pop-sm);
}

.estimate-bar strong {
  margin-left: 0.3rem;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
}

.estimate-bar :focus-visible {
  outline-color: var(--butter);
}

/* ---------- Cakes: how ordering works ---------- */

.how-section {
  background: var(--plum);
  color: var(--on-plum);
}

.how-section .h2 {
  color: #fff;
}

.how-section .section-head .h2 + p {
  color: var(--on-plum-muted);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
}

.how-steps li {
  padding: 1.3rem 1.3rem 1.4rem;
  border: 2px solid var(--plum-3);
  border-radius: var(--r-lg);
  background: var(--plum-2);
}

.how-no {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.9rem;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--pink);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
}

.how-steps h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.how-steps p {
  margin: 0.4rem 0 0;
  color: var(--on-plum-muted);
  font-size: 0.95rem;
}

.terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2.5rem;
  margin: 2.5rem 0 0;
  padding: 1.75rem 2rem;
  border: 2px solid var(--plum-3);
  border-radius: var(--r-lg);
}

.terms dt {
  color: var(--butter);
  font-weight: 800;
  font-size: 1.1rem;
}

.terms dd {
  margin: 0.25rem 0 0;
  color: var(--on-plum);
}

.how-section + .faq-section {
  padding-top: clamp(5rem, 9vw, 7rem);
  padding-bottom: clamp(5rem, 9vw, 7rem);
}

/* ---------- Gallery page ---------- */

.gallery-section {
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.gallery-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  min-height: 2.75rem;
  padding: 0.45rem 1.15rem;
  border: 1.5px solid var(--edge);
  border-radius: 999px;
  background: var(--cream);
  font-weight: 700;
}

.chip:hover {
  background: var(--blush);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  box-shadow: none;
}

.gallery-count {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Dialogs ---------- */

.dialog {
  width: min(32rem, 100% - 2rem);
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--icing);
  color: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(43, 13, 30, 0.6);
}

.dialog::backdrop {
  background: rgba(43, 13, 30, 0.6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.dialog-body {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.dialog-body p {
  margin: 0;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dialog-title {
  font-size: 1.8rem;
  line-height: 1;
}

.dialog-title:focus {
  outline: none;
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  background: var(--cream);
}

.dialog-close:hover {
  background: var(--blush);
}

.chat {
  padding: 1rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r);
  background: #efe7dc;
}

.chat-to {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.6rem !important;
  color: var(--ink-2);
  font-size: 0.85rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.bubble {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem 0.9rem 0.2rem 0.9rem;
  background: var(--whatsapp);
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.sample-note {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--edge);
  border-radius: var(--r-sm);
  background: var(--note);
  font-size: 0.93rem;
}

.sample-note p + p {
  margin-top: 0.35rem;
}

.next-steps .h4 {
  margin-bottom: 0.4rem;
}

.next-steps ol {
  display: grid;
  gap: 0.25rem;
  padding-left: 1.3rem;
  font-size: 0.95rem;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

/* ---------- Privacy ---------- */

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose-note {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border: 1.5px dashed var(--edge);
  border-radius: var(--r);
  background: var(--note);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: 5rem 0 2rem;
  background: var(--plum);
  color: var(--on-plum);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem 3rem;
}

.brand-light .brand-tag {
  color: var(--on-plum-muted);
}

.brand-light .brand-amp {
  color: var(--pink);
}

.brand-light:hover {
  color: var(--on-plum);
}

.footer-brand > p {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: var(--on-plum-muted);
}

.footer-address,
.footer-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-address .icon,
.footer-hours .icon {
  color: var(--pink);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  padding: 0.2rem 0;
  font-weight: 650;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--pink);
  text-decoration: underline wavy var(--pink) 1.5px;
  text-underline-offset: 0.35em;
}

.footer-credit {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  padding-top: 1.5rem;
  border-top: 2px solid var(--plum-3);
  color: var(--on-plum-muted);
  font-size: 0.9rem;
}

.footer-credit a {
  color: var(--on-plum);
  font-weight: 700;
}

.footer-credit a:hover {
  color: var(--pink);
}

/* ---------- Motion ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Narrower screens ---------- */

@media (max-width: 1100px) {
  .sizes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tiles-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .order {
    grid-template-columns: minmax(0, 1fr);
  }

  .order-summary {
    position: static;
  }

  .summary-card {
    max-width: 34rem;
    margin-inline: auto;
  }

  .has-estimate-bar .site-footer {
    padding-bottom: 6rem;
  }
}

@media (max-width: 960px) {
  .hero-inner,
  .cakes-band-inner,
  .faq-layout,
  .find,
  .bakes,
  .allergens-layout,
  .page-head-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    gap: 1.5rem;
  }

  .hero-art {
    max-width: 30rem;
    margin-inline: auto;
  }

  .counter-grid,
  .range {
    grid-template-columns: minmax(0, 1fr);
    max-width: 34rem;
    margin-inline: auto;
  }

  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-cols,
  .hours-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-layout,
  .bakes,
  .allergens-layout {
    gap: 1.5rem;
  }

  .allergy-card,
  .reserve-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .allergy-card .btn,
  .reserve-card .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1180px, 100% - 2rem);
  }

  .btn {
    padding-inline: 1.1rem;
  }

  .section-head {
    text-align: left;
  }

  .tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .tiles-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .tiles-preview .tile-photo {
    padding: 2.3rem 0.5rem 0.4rem;
  }

  .tiles-preview .tile-caption {
    padding: 0.75rem 0.8rem 0.9rem;
  }

  .tiles-preview .tile-badge {
    font-size: 0.68rem;
    padding: 0.1rem 0.5rem;
  }


  .sizes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .size-card {
    padding: 0.75rem 0.75rem 0.9rem;
  }

  .size-price {
    font-size: 1.35rem;
  }

  .collect {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-extras {
    grid-template-columns: minmax(0, 1fr);
  }

  .day-picker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .how-steps,
  .terms,
  .sub,
  .cards-diet,
  .cards-finish,
  .field-row,
  .allergen-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .terms {
    padding: 1.25rem;
  }

  .step {
    padding: 1.15rem 1rem 1.2rem;
  }

  .step-title {
    font-size: 1.2rem;
  }

  .cal {
    padding: 0.7rem;
  }

  .cal-weekdays,
  .cal-days {
    gap: 0.2rem;
  }

  .allergy-card,
  .reserve-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.25rem;
  }

  .reserve-art {
    width: 5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .bake {
    grid-template-columns: 4.1rem minmax(0, 1fr);
    gap: 1.9rem;
  }

  .bake-list::before {
    left: 5.05rem;
  }

  .bake::before {
    left: 4.5rem;
  }

  .bake-tag {
    grid-column: 2;
    justify-self: start;
  }

  .hours > div {
    padding-inline: 0.5rem;
  }

  .slot-cells {
    max-width: 11rem;
  }

  .dialog-body {
    padding: 1.15rem;
  }

  .dialog-actions .btn {
    flex: 1 1 auto;
  }

  .status {
    align-items: flex-start;
    border-radius: var(--r);
  }

  .status-dot {
    margin-top: 0.3rem;
  }
}

@media (max-width: 380px) {
  .brand-tag {
    display: none;
  }
}
