:root {
  --ink: #2b211d;
  --muted: #756961;
  --paper: #fff8ee;
  --cream: #fff0dc;
  --pink-light: #f9cfd6;
  --rose: #e98194;
  --berry: #b54a63;
  --logo-brown: #4c2318;
  --buttercream: #fffaf2;
  --mint: #97c9af;
  --gold: #f5c27b;
  --line: rgba(43, 33, 29, 0.16);
  --shadow: 0 18px 48px rgba(76, 35, 24, 0.12);
  --sprinkles:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cg fill='none' stroke-linecap='round' stroke-width='3' opacity='.28'%3E%3Cpath stroke='%23ed87aa' d='M18 24l8 4M98 20l-7 7M132 71l-9 2M45 112l7-6M111 130l8 4'/%3E%3Cpath stroke='%23b83f72' d='M61 42l2 9M18 82l8-3M84 91l8 3M138 116l-3 8'/%3E%3Cpath stroke='%23f7b4ca' d='M124 35l5 7M35 63l-5-7M68 137l-7-2'/%3E%3C/g%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(255, 248, 238, .92), rgba(255, 240, 220, .78)),
    var(--sprinkles);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main,
section,
div,
article,
aside,
form,
label {
  min-width: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 28px);
  isolation: isolate;
  padding: 16px clamp(18px, 4vw, 64px) 14px;
  background:
    radial-gradient(ellipse at 62% 44%, rgba(249, 207, 214, .38) 0 18%, rgba(255, 240, 220, .62) 38%, transparent 68%),
    radial-gradient(ellipse at 72% 48%, rgba(245, 194, 123, .16) 0 20%, transparent 55%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.97), rgba(255, 248, 238, 0.82) 70%, rgba(255, 248, 238, 0));
  border-bottom: 0;
  backdrop-filter: blur(12px);
}

.site-header::before {
  position: absolute;
  inset: 20px clamp(150px, 20vw, 330px) 18px clamp(170px, 21vw, 360px);
  z-index: -1;
  border-radius: 999px;
  background:
    var(--sprinkles),
    linear-gradient(135deg, rgba(255, 250, 242, .72), rgba(249, 207, 214, .34));
  box-shadow:
    inset 0 0 0 1px rgba(255, 250, 242, .82),
    0 14px 36px rgba(76, 35, 24, .08);
  content: "";
  opacity: .72;
}

.brand {
  display: block;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(76px, 8vw, 128px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(10px, 1.2vw, 18px);
  min-width: 0;
}

.home-page .nav {
  isolation: isolate;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 clamp(16px, 1.8vw, 26px);
  border-radius: 999px;
  color: var(--logo-brown);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(255, 240, 220, 0.82));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .8) inset,
    0 9px 22px rgba(43, 33, 29, 0.09);
  font-size: clamp(13px, 1.14vw, 16px);
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav .nav-order-pill {
  position: relative;
  z-index: 1;
  min-height: 48px;
  padding-inline: clamp(20px, 2.5vw, 32px);
  color: #fff;
  background: linear-gradient(135deg, #f0939f 0%, #df6d80 58%, #b54a63 100%);
  box-shadow:
    0 0 0 4px rgba(255, 240, 220, 0.94),
    0 12px 30px rgba(76, 35, 24, 0.22),
    0 0 24px rgba(245, 194, 123, 0.46);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--berry);
  background: rgba(255, 240, 220, 0.95);
  box-shadow: 0 10px 24px rgba(76, 35, 24, 0.11);
  transform: translateY(-1px);
}

.cart-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--berry);
  font-weight: 850;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
  flex: 0 0 auto;
}

.order-button,
.header-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.order-button {
  min-height: 60px;
  padding: 0 clamp(28px, 3.2vw, 46px);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f0939f 0%, #df6d80 58%, #b54a63 100%);
  box-shadow:
    0 0 0 4px rgba(255, 240, 220, 0.94),
    0 12px 30px rgba(76, 35, 24, 0.22),
    0 0 24px rgba(245, 194, 123, 0.46);
  font-size: clamp(16px, 1.35vw, 21px);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.header-icon-link {
  gap: 5px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.84);
  border: 1px solid rgba(184, 63, 114, 0.2);
}

.header-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 20px;
  min-height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: var(--berry);
  font-size: 11px;
}

.order-button:hover,
.header-icon-link:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--ink);
  background: var(--cream);
}

.button.ghost {
  color: var(--berry);
  background: rgba(255, 240, 220, 0.66);
  border: 1px solid rgba(184, 63, 114, 0.28);
}

.cart-button:hover,
.button:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(28px, 6vw, 78px) clamp(16px, 5vw, 72px) 44px;
  background:
    var(--sprinkles),
    radial-gradient(circle at 12% 20%, rgba(237, 135, 170, 0.28), transparent 28%),
    linear-gradient(135deg, var(--paper) 0%, var(--cream) 54%, var(--pink-light) 100%);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.5;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.large-button {
  min-height: 52px;
  padding: 0 22px;
  font-size: 16px;
}

.hero-order-button {
  min-height: clamp(58px, 5.8vw, 74px);
  min-width: clamp(230px, 21vw, 330px);
  border-radius: 999px;
  background: linear-gradient(135deg, #f08f9f 0%, #df6d80 55%, #b54a63 100%);
  box-shadow:
    0 0 0 5px rgba(255, 250, 242, 0.95),
    0 16px 38px rgba(76, 35, 24, 0.24),
    0 0 30px rgba(245, 194, 123, 0.5);
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(440px, 1.14fr);
  gap: clamp(18px, 3.2vw, 54px);
  align-items: center;
  min-height: clamp(650px, 74vh, 820px);
  padding: clamp(34px, 5vw, 74px) clamp(18px, 5.4vw, 88px) clamp(34px, 5vw, 64px);
  background:
    var(--sprinkles),
    radial-gradient(circle at 18% 28%, rgba(255, 240, 220, .96), transparent 30%),
    linear-gradient(115deg, var(--buttercream) 0%, var(--paper) 40%, var(--cream) 67%, rgba(249, 207, 214, .72) 100%);
  overflow: hidden;
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  max-width: 680px;
  text-align: center;
}

.hero-lockup {
  display: block;
  width: min(820px, 112%);
  max-height: 430px;
  margin: 0 0 clamp(6px, .8vw, 12px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 26px rgba(76, 35, 24, .16));
}

.home-hero-copy h1 {
  margin: 0;
  max-width: 620px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: .96;
  letter-spacing: 0;
}

.home-hero-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.38;
}

.home-hero .hero-actions {
  justify-content: center;
}

.hero-photo {
  position: relative;
  display: grid;
  grid-template-rows: minmax(170px, .42fr) minmax(0, .58fr);
  align-items: end;
  margin: 0;
  align-self: stretch;
  min-height: 460px;
}

.hero-photo-heading {
  position: relative;
  z-index: 2;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: min(100%, 920px);
  color: var(--logo-brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.8vw, 82px);
  font-weight: 900;
  line-height: .93;
  letter-spacing: .01em;
  text-align: center;
  text-shadow:
    5px 6px 0 rgba(249, 207, 214, .9),
    0 8px 18px rgba(76, 35, 24, .14);
}

.hero-photo-heading span {
  display: block;
}

.hero-photo img {
  grid-row: 2;
  align-self: end;
  justify-self: center;
  display: block;
  width: 112%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: bottom center;
  border-radius: 0;
  clip-path: polygon(3% 0, 100% 0, 100% 100%, 0 100%, 7% 54%);
  filter: drop-shadow(0 20px 42px rgba(43, 33, 29, .18));
  transform: translateY(42px);
}

.review-note {
  font-weight: 900;
  color: var(--ink);
  text-transform: uppercase;
}

.home-section {
  background: rgba(255, 248, 238, .86);
}

.section-heading {
  margin-bottom: 18px;
}

.home-page .section-heading {
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
}

.home-page main {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, .72), rgba(255, 240, 220, .5)),
    var(--sprinkles);
}

.home-page .section,
.home-page .social-signup {
  max-width: 1340px;
  margin-inline: auto;
}

.home-page .section-heading h2,
.social-signup h2 {
  color: var(--logo-brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: .95;
}

.favorites-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .28fr);
  gap: 16px;
  align-items: stretch;
}

.feature-grid,
.category-card-grid,
.info-card-grid {
  display: grid;
  gap: 16px;
}

.feature-grid,
.info-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.product-preview-card,
.category-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--buttercream);
  box-shadow: 0 10px 30px rgba(76, 35, 24, .08);
}

.product-preview-card,
.info-card {
  padding: 18px;
}

.product-preview-card {
  display: grid;
  align-content: start;
  gap: 8px;
}

.home-page .product-preview-card {
  align-content: stretch;
  justify-items: center;
  min-height: 292px;
  padding: 10px;
  border: 3px solid rgba(255, 250, 242, .96);
  background: linear-gradient(180deg, #fffaf2 0%, #fff3e2 100%);
  text-align: center;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 10px 20px rgba(76, 35, 24, .08);
}

.product-preview-card h3,
.info-card h3 {
  margin: 10px 0 6px;
  font-size: 21px;
}

.home-page .product-preview-card h3 {
  min-height: 42px;
  margin: 0;
  color: var(--logo-brown);
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.05;
}

.product-preview-card p,
.category-card small,
.info-card p,
.promo-band p,
.cakes-cta p {
  color: var(--muted);
  line-height: 1.5;
}

.photo-placeholder,
.preview-photo {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 180px;
  margin-bottom: 14px;
  border: 2px dashed rgba(184, 63, 114, .32);
  border-radius: 8px;
  color: var(--berry);
  background:
    var(--sprinkles),
    linear-gradient(135deg, var(--cream), var(--buttercream));
  font-weight: 900;
  text-align: center;
}

.preview-photo {
  display: block;
  height: 180px;
  object-fit: cover;
}

.home-page .preview-photo {
  height: clamp(136px, 14vw, 188px);
  min-height: 136px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(76, 35, 24, .12);
}

.crop-a {
  object-position: 44% 38%;
}

.crop-b {
  object-position: 60% 45%;
}

.crop-c {
  object-position: 28% 48%;
}

.crop-d {
  object-position: 74% 45%;
}

.mini-button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  text-transform: uppercase;
}

.home-page .mini-button {
  min-height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ec8f9c, #c9546c);
  box-shadow: 0 6px 14px rgba(181, 74, 99, .22);
  font-size: 11px;
  letter-spacing: .03em;
}

.preview-price {
  display: block;
  font-size: 13px;
  font-weight: 950;
}

.home-page .preview-price {
  color: var(--logo-brown);
  font-size: 14px;
}

.box-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  min-height: 292px;
  padding: 22px 18px;
  border: 3px solid rgba(255, 250, 242, .9);
  border-radius: 8px;
  background:
    var(--sprinkles),
    linear-gradient(180deg, #f9cfd6 0%, #f6b9c5 100%);
  text-align: center;
  box-shadow: 0 10px 22px rgba(76, 35, 24, .1);
}

.box-card h3 {
  margin: 0;
  color: var(--berry);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.box-card img {
  width: min(150px, 72%);
  max-height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(76, 35, 24, .12));
}

.box-card p {
  max-width: 210px;
  margin: 0;
  color: var(--logo-brown);
  line-height: 1.35;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1260px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(43, 33, 29, .12);
  border-radius: 8px;
  background: rgba(255, 250, 242, .94);
  box-shadow: 0 10px 30px rgba(76, 35, 24, .08);
}

.home-page .trust-strip {
  transform: translateY(-18px);
  margin-bottom: -8px;
}

.home-page .trust-strip strong::before {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, var(--buttercream) 0 28%, transparent 29%),
    radial-gradient(circle, #e98194 0 62%, #b54a63 64% 70%, transparent 71%);
  content: "";
  box-shadow: 0 4px 10px rgba(76, 35, 24, .12);
}

.trust-strip article {
  display: grid;
  gap: 6px;
  padding: 8px 16px;
  text-align: center;
}

.trust-strip article + article {
  border-left: 1px solid rgba(184, 63, 114, .22);
}

.trust-strip strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.trust-strip span,
.review-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.promo-band,
.cakes-cta {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px) clamp(16px, 5vw, 72px);
}

.promo-band {
  color: #fff;
  background: var(--ink);
}

.promo-band .eyebrow,
.promo-band p {
  color: var(--pink-light);
}

.promo-band h2,
.cakes-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: 0;
}

.category-card {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 148px;
  padding: 18px;
  text-decoration: none;
  text-align: center;
}

.category-card span {
  font-size: 20px;
  font-weight: 950;
}

.category-card:hover {
  border-color: rgba(184, 63, 114, .42);
  transform: translateY(-2px);
}

.cakes-cta {
  position: relative;
  isolation: isolate;
  max-width: 1340px;
  margin: 28px auto 42px;
  padding: clamp(38px, 5vw, 62px) clamp(24px, 6vw, 78px);
  overflow: visible;
  border: 1px solid rgba(181, 74, 99, .16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 18%, rgba(249, 207, 214, .9), transparent 24%),
    var(--sprinkles),
    linear-gradient(135deg, #fffaf2 0%, #fff0dc 58%, #f9cfd6 100%);
  box-shadow:
    0 14px 34px rgba(76, 35, 24, .1),
    inset 0 0 0 1px rgba(255, 250, 242, .78);
}

.cakes-cta::before,
.cakes-cta::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.cakes-cta::before {
  inset: -12px 12px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 12px 12px, #fffaf2 0 8px, transparent 9px) 0 0 / 24px 24px repeat,
    radial-gradient(circle at 12px 12px, rgba(181, 74, 99, .18) 0 9px, transparent 10px) 3px 3px / 24px 24px repeat;
  filter: drop-shadow(0 10px 18px rgba(76, 35, 24, .08));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}

.cakes-cta::after {
  inset: 4px;
  z-index: 0;
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, .7), transparent 28%, rgba(249, 207, 214, .5) 100%);
  opacity: .55;
}

.cakes-cta > div {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cakes-cta .button {
  position: relative;
  z-index: 1;
}

.cakes-cta .eyebrow {
  margin-top: 0;
}

.cakes-cta h2 {
  max-width: 760px;
  color: var(--logo-brown);
  line-height: .95;
}

.cakes-cta p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.38;
}

.cake-button {
  min-width: clamp(230px, 24vw, 340px);
  min-height: clamp(58px, 5.6vw, 76px);
  border-radius: 999px;
  background: linear-gradient(135deg, #f08f9f 0%, #df6d80 55%, #b54a63 100%);
  box-shadow:
    0 0 0 5px rgba(255, 250, 242, .92),
    0 15px 34px rgba(76, 35, 24, .2),
    0 0 28px rgba(245, 194, 123, .42);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.story-strip {
  padding-top: 20px;
}

.home-page .info-card-grid {
  grid-template-columns: .9fr 1fr 1.55fr;
}

.story-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(92px, .38fr) minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  overflow: hidden;
  min-height: 230px;
  padding: 18px;
  border: 0;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, .94), rgba(255, 240, 220, .92));
}

.story-card::before {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(181, 74, 99, .24);
  border-radius: 8px;
  pointer-events: none;
  content: "";
}

.story-card img {
  grid-row: 1 / span 3;
  width: 100%;
  height: 170px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.story-card:first-child img {
  object-fit: contain;
  background: #fffaf2;
}

.story-card h3 {
  margin: 0;
  color: var(--berry);
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.story-card p {
  margin: 8px 0 12px;
}

.story-card .button {
  justify-self: start;
}

.social-signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 18px;
  padding: 26px clamp(16px, 5vw, 72px) 36px;
}

.follow-card,
.signup-card {
  display: grid;
  gap: 16px;
  align-content: center;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(181, 74, 99, .16);
  border-radius: 8px;
  background:
    var(--sprinkles),
    linear-gradient(135deg, rgba(249, 207, 214, .86), rgba(255, 250, 242, .94));
  box-shadow: 0 12px 28px rgba(76, 35, 24, .08);
}

.follow-card {
  grid-template-columns: 1fr;
  align-items: start;
}

.follow-card h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(76, 35, 24, .16);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 250, 242, .82);
}

.site-footer .social-links a {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .12);
}

.confetti-burst {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.confetti-burst span {
  position: absolute;
  width: 7px;
  height: 11px;
  border-radius: 2px;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
  animation: confetti-pop 850ms cubic-bezier(.15, .75, .3, 1) forwards;
}

.confetti-burst span:nth-child(3n) {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

.confetti-burst span:nth-child(4n) {
  width: 10px;
  height: 5px;
}

@keyframes confetti-pop {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(.75) rotate(0deg);
  }

  72% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) + 26px)) scale(.9) rotate(var(--rotate));
  }
}

@media (prefers-reduced-motion: reduce) {
  .confetti-burst {
    display: none;
  }
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
}

.mini-gallery img {
  width: 100%;
  aspect-ratio: 1.3;
  border: 3px solid rgba(255, 250, 242, .95);
  border-radius: 8px;
  background: #fffaf2;
  object-fit: cover;
}

.signup-card form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
}

.signup-card input {
  min-height: 52px;
  border-radius: 8px 0 0 8px;
  border-color: rgba(181, 74, 99, .16);
}

.signup-card .button {
  min-height: 52px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(135deg, #ec8f9c, #c9546c);
  white-space: nowrap;
}

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

.donut-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.donut-tile {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow);
}

.donut-art {
  width: 78px;
  height: 78px;
  margin-bottom: 14px;
  border: 15px solid var(--rose);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: inset 0 0 0 9px rgba(255, 255, 255, 0.5);
}

.page-hero {
  padding: 56px clamp(16px, 5vw, 72px) 30px;
  background-image:
    var(--sprinkles),
    linear-gradient(135deg, var(--cream), var(--pink-light));
}

.menu-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  padding: 46px clamp(16px, 5vw, 72px) 28px;
  background:
    var(--sprinkles),
    linear-gradient(135deg, var(--cream), var(--paper));
}

.menu-intro h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 70px);
  line-height: .98;
  letter-spacing: 0;
}

.menu-intro p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.menu-intro img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(43, 33, 29, .12));
}

.section {
  padding: 44px clamp(16px, 5vw, 72px);
}

.section h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
}

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

.card,
.menu-card,
.form-panel,
.cart-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--buttercream);
  box-shadow: 0 10px 30px rgba(76, 35, 24, 0.08);
}

.menu-card {
  overflow: hidden;
}

.menu-card-photo {
  display: block;
  width: calc(100% + 40px);
  max-width: none;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: -20px -20px 16px;
  border: 0;
  border-bottom: 1px solid rgba(181, 74, 99, .14);
  border-radius: 8px 8px 0 0;
  background: var(--paper);
  object-fit: cover;
}

.card h3,
.menu-card h3 {
  margin: 0 0 8px;
}

.card p,
.menu-card p,
.fine-print {
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.menu-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
  padding: 28px clamp(16px, 3vw, 42px);
}

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(240px, 340px);
  gap: 22px;
  align-items: start;
  justify-content: center;
  padding: 28px clamp(16px, 4vw, 64px) 58px;
}

.checkout-card {
  position: static;
  padding: clamp(22px, 4vw, 38px);
  background:
    var(--sprinkles),
    linear-gradient(135deg, rgba(255, 250, 242, .98), rgba(255, 240, 220, .9));
}

.checkout-card h2 {
  margin: 0 0 14px;
  color: var(--logo-brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .95;
}

.checkout-card [data-cart] {
  margin-top: 10px;
}

.checkout-card .button[data-checkout] {
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0939f 0%, #df6d80 58%, #b54a63 100%);
  box-shadow: 0 12px 30px rgba(76, 35, 24, .16);
  text-transform: uppercase;
}

.pickup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.checkout-shop-link {
  width: 100%;
  margin-top: 10px;
}

.checkout-note {
  padding: 20px;
  border: 1px solid rgba(181, 74, 99, .16);
  border-radius: 8px;
  background:
    var(--sprinkles),
    linear-gradient(180deg, rgba(249, 207, 214, .72), rgba(255, 250, 242, .92));
  box-shadow: 0 10px 30px rgba(76, 35, 24, .08);
}

.checkout-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--logo-brown);
  font-size: 18px;
}

.checkout-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.category-list,
.cart-panel {
  position: sticky;
  top: 86px;
}

.checkout-shell .cart-panel {
  position: static;
  top: auto;
}

.category-list {
  display: grid;
  gap: 8px;
}

.category-list button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--buttercream);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.category-list button.active {
  border-color: var(--berry);
  color: var(--berry);
  background: var(--pink-light);
}

.menu-section {
  margin-bottom: 28px;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.price {
  font-weight: 900;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.pill {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--pink-light);
  color: var(--berry);
  font-size: 12px;
  font-weight: 800;
}

.modifier-group {
  margin: 12px 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.modifier-details {
  display: block;
}

.modifier-details summary {
  display: grid;
  gap: 3px;
  position: relative;
  padding-right: 24px;
  color: var(--logo-brown);
  cursor: pointer;
  list-style: none;
}

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

.modifier-details summary::after {
  content: "+";
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  color: var(--berry);
  background: var(--pink-light);
  font-weight: 950;
}

.modifier-details[open] summary::after {
  content: "-";
}

.modifier-body {
  padding-top: 8px;
}

.modifier-select,
.variation-select {
  margin-top: 8px;
  border-radius: 4px;
}

.modifier-quantity-grid,
.modifier-checkbox-grid {
  display: block;
  gap: 7px;
  margin-top: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.modifier-stepper-grid {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.modifier-quantity-option {
  display: inline-grid;
  width: 174px;
  grid-template-rows: minmax(34px, auto) 34px;
  gap: 6px;
  align-items: stretch;
  min-height: 84px;
  margin: 7px 6px 0 0;
  padding: 7px 8px;
  border: 1px solid rgba(181, 74, 99, .18);
  border-radius: 4px;
  background: rgba(255, 250, 242, .86);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
}

.modifier-checkbox-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  margin: 7px 6px 0 0;
  padding: 7px 9px;
  border: 1px solid rgba(181, 74, 99, .18);
  border-radius: 4px;
  background: rgba(255, 250, 242, .86);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
}

.modifier-checkbox-option input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
}

.modifier-quantity-option span {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow-wrap: anywhere;
}

.modifier-quantity-option select {
  width: 100%;
  min-height: 34px;
  padding: 4px 7px;
  border-radius: 4px;
}

.modifier-stepper-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  padding: 7px 8px;
  border: 1px solid rgba(181, 74, 99, .18);
  border-radius: 4px;
  background: rgba(255, 250, 242, .86);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.modifier-stepper {
  display: grid;
  grid-template-columns: 34px 34px 44px;
  gap: 5px;
  align-items: center;
}

.modifier-stepper button {
  min-width: 34px;
  min-height: 34px;
  border: 1px solid rgba(181, 74, 99, .24);
  border-radius: 4px;
  color: var(--logo-brown);
  background: #fffaf2;
  font-weight: 950;
}

.modifier-stepper output {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 4px;
  background: #fff0dc;
  color: var(--logo-brown);
  font-weight: 950;
}

.option {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  font-size: 14px;
}

.cart-line {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line button {
  justify-self: start;
  padding: 0;
  border: 0;
  color: var(--berry);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin: 18px 0;
  font-size: 20px;
  font-weight: 950;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.conditional-form-body,
.form-section {
  display: grid;
  gap: 18px;
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, .64);
}

.form-section legend {
  padding: 0 8px;
  color: var(--logo-brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 800;
}

.form-warning {
  margin: 2px 0 0;
  color: var(--berry);
  font-weight: 800;
}

.form-disclaimer {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(181, 74, 99, .18);
  border-radius: 8px;
  background: rgba(249, 207, 214, .22);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--buttercream);
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px;
  padding: 36px clamp(16px, 5vw, 72px);
  color: #fff;
  background: var(--ink);
}

.home-page .site-footer {
  position: relative;
  color: #fff;
  background:
    var(--sprinkles),
    linear-gradient(135deg, #d9506f 0%, #ed8999 100%);
}

.home-page .site-footer::before {
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 24px;
  background:
    radial-gradient(circle at 10px 18px, #fffaf2 0 10px, transparent 11px) 0 0 / 24px 24px repeat-x,
    linear-gradient(#fffaf2, #fffaf2) 0 0 / 100% 13px no-repeat;
  content: "";
  filter: drop-shadow(0 3px 0 rgba(181, 74, 99, .28));
}

.home-page .site-footer strong {
  text-transform: uppercase;
  letter-spacing: .04em;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 1100px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-header::before {
    inset: 18px 12px auto 92px;
    height: 58px;
    opacity: .5;
  }

  .nav {
    order: 3;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    overflow-x: visible;
    padding: 2px 2px 6px;
    scrollbar-width: none;
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .order-button {
    min-height: 50px;
    padding: 0 22px;
    font-size: 15px;
  }

  .header-icon-link {
    min-height: 42px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero,
  .menu-intro,
  .checkout-shell,
  .menu-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .home-hero {
    grid-template-columns: minmax(270px, .88fr) minmax(300px, 1.12fr);
    min-height: 600px;
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .hero-lockup {
    width: min(620px, 108%);
    max-height: 330px;
  }

  .hero-photo {
    min-height: 400px;
  }

  .feature-grid,
  .category-card-grid,
  .info-card-grid,
  .grid {
    /* Tablet service pages need the same card rhythm as desktop without squeezing three cards into narrow columns. */
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .favorites-layout {
    grid-template-columns: 1fr;
  }

  .box-card {
    min-height: 210px;
  }

  .home-page .info-card-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    min-height: 210px;
  }

  .social-signup {
    grid-template-columns: 1fr;
  }

  .category-card-grid,
  .menu-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-list,
  .cart-panel {
    position: static;
  }

  .category-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-list button {
    padding: 8px;
    text-align: center;
  }

  .nav a {
    flex: 0 1 auto;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 12px;
    text-align: center;
  }

  .page-hero,
  .section {
    /* Service/info pages keep desktop-style generous panels on tablets without letting cards push past the viewport. */
    overflow: hidden;
  }

  .page-hero > *,
  .section > * {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
  }

  .site-header::before {
    display: none;
  }

  .brand {
    align-self: center;
  }

  .brand img {
    width: 62px;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 5px;
  }

  .order-button {
    flex: 1 1 auto;
    min-height: 46px;
    padding: 0 12px;
    font-size: 13px;
  }

  .header-icon-link {
    min-width: 38px;
    min-height: 38px;
    padding: 0 7px;
  }

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

  .nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
    scroll-padding-inline: 10px;
    scrollbar-width: none;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 12px;
  }

  .nav .nav-order-pill {
    min-height: 38px;
    padding-inline: 14px;
    box-shadow:
      0 0 0 3px rgba(255, 240, 220, 0.94),
      0 8px 18px rgba(76, 35, 24, 0.18);
  }

  .hero,
  .home-hero,
  .menu-intro,
  .page-hero,
  .section,
  .menu-shell,
  .site-footer {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 36px;
  }

  .promo-band,
  .cakes-cta,
  .follow-card {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: center;
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .hero-lockup {
    display: block;
    width: min(320px, 100%);
    max-height: 160px;
    margin-bottom: 7px;
  }

  .home-hero-copy {
    grid-column: 1;
    grid-row: 1;
    max-width: 100%;
  }

  .hero-photo {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
  }

  .hero h1,
  .home-hero-copy h1 {
    font-size: clamp(21px, 5.4vw, 28px);
    line-height: .94;
    overflow-wrap: break-word;
  }

  .hero-photo-heading {
    width: 100%;
    max-width: 360px;
    font-size: clamp(30px, 9vw, 40px);
    line-height: .94;
    text-shadow:
      3px 4px 0 rgba(249, 207, 214, .9),
      0 5px 10px rgba(76, 35, 24, .12);
  }

  .hero-photo-heading span:first-child,
  .hero-photo-heading span:last-child {
    transform: none;
  }

  .home-hero-copy p:not(.eyebrow) {
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.35;
  }

  .hero-order-button {
    min-width: min(180px, 100%);
    min-height: 44px;
    font-size: 14px;
  }

  .home-hero .button.secondary {
    display: none;
  }

  .hero-photo {
    min-height: 0;
    grid-template-rows: auto auto;
    gap: 8px;
    overflow: visible;
    border-radius: 8px;
  }

  .hero-photo img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    object-position: center bottom;
    clip-path: none;
    transform: none;
  }

  .review-note {
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 850;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0 8px;
    padding: 8px 4px;
  }

  .trust-strip article {
    padding: 4px 5px;
  }

  .trust-strip strong {
    font-size: 9px;
    line-height: 1.1;
  }

  .trust-strip span {
    display: none;
  }

  .menu-intro {
    grid-template-columns: minmax(0, 1fr) minmax(90px, 28vw);
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .menu-intro h1 {
    font-size: clamp(24px, 7.2vw, 30px);
    line-height: .98;
  }

  .menu-intro p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.35;
  }

  .menu-intro img {
    max-height: 150px;
  }

  .page-hero h1 {
    /* Non-homepage public page titles need a smaller cap so service headings keep the desktop feel without crowding phones. */
    font-size: clamp(38px, 12vw, 50px);
    line-height: 1;
    overflow-wrap: break-word;
  }

  .page-hero {
    /* Non-homepage heroes were visually oversized on phones; this keeps the same brand style at a readable scale. */
    padding-top: 38px;
    padding-bottom: 28px;
  }

  .hero p,
  .page-hero p {
    font-size: 17px;
  }

  .section {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .section + .section {
    padding-top: 18px;
  }

  main > .page-hero ~ .section {
    border-top: 1px solid rgba(184, 63, 114, 0.12);
    background: rgba(255, 249, 251, 0.68);
  }

  .section h2 {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .menu-shell {
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 26px;
  }

  .menu-section {
    margin-left: -10px;
    margin-right: -10px;
    overflow: hidden;
  }

  .menu-section h2,
  .menu-section > .fine-print {
    margin-left: 10px;
    margin-right: 10px;
  }

  .category-list {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin-left: -10px;
    margin-right: -10px;
    padding: 8px 10px;
    background: rgba(255, 249, 251, .96);
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }

  .category-list button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 9px;
    font-size: 12px;
  }

  .grid,
  .info-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .favorites-layout {
    gap: 8px;
  }

  .home-page .product-preview-card {
    min-height: 232px;
  }

  .home-page .product-preview-card h3 {
    min-height: 34px;
  }

  .box-card {
    min-height: 162px;
    padding: 14px;
  }

  .box-card img {
    max-height: 70px;
  }

  .story-card {
    grid-template-columns: minmax(80px, .36fr) minmax(0, 1fr);
    min-height: 172px;
    padding: 12px;
  }

  .story-card img {
    height: 126px;
  }

  .story-card h3 {
    font-size: 20px;
  }

  .social-signup {
    padding-left: 10px;
    padding-right: 10px;
  }

  .follow-card,
  .signup-card {
    min-height: 0;
    padding: 14px;
  }

  .mini-gallery {
    gap: 6px;
  }

  .signup-card form {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pickup-grid {
    grid-template-columns: 1fr;
  }

  .signup-card input,
  .signup-card .button {
    border-radius: 8px;
  }

  .category-card-grid,
  .donut-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .menu-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: flex-start;
    overflow: visible;
    padding: 0 10px 12px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .form-panel,
  .cart-panel {
    width: 100%;
    max-width: 100%;
    padding: 18px;
  }

  .product-preview-card,
  .category-card,
  .info-card,
  .menu-card {
    padding: 8px;
  }

  .menu-card {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 10px;
    border-radius: 4px;
  }

  .menu-card-photo {
    width: calc(100% + 20px);
    margin: -10px -10px 8px;
    border-radius: 4px;
  }

  .product-preview-card h3,
  .menu-card h3,
  .category-card span,
  .info-card h3 {
    font-size: 13px;
    line-height: 1.12;
  }

  .menu-card h3 {
    font-size: 15px;
    line-height: 1.16;
  }

  .product-preview-card p,
  .menu-card p,
  .category-card small,
  .info-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .menu-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-preview-card p {
    display: none;
  }

  .preview-price {
    font-size: 11px;
  }

  .preview-photo {
    height: 96px;
    min-height: 96px;
    margin-bottom: 4px;
  }

  .product-preview-card .mini-button {
    min-height: 34px;
    padding: 0 8px;
    font-size: 10px;
  }

  .pill,
  .shop-pill {
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 10px;
  }

  .pill-row {
    gap: 4px;
    margin: 0 0 6px;
  }

  .menu-card .pill-row {
    display: none;
  }

  .price {
    margin: 6px 0;
    font-size: 15px;
  }

  .menu-card form {
    display: grid;
    gap: 6px;
  }

  .menu-card .fine-print {
    display: block;
    font-size: 12px;
    line-height: 1.3;
  }

  .menu-card .modifier-group {
    overflow: hidden;
    white-space: nowrap;
    margin: 8px 0;
    padding-top: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .menu-card .modifier-group strong,
  .menu-card .modifier-group .fine-print {
    display: block;
    white-space: normal;
  }

  .menu-card label:not(.option) {
    display: grid;
  }

  .menu-card .modifier-select,
  .menu-card .variation-select {
    min-height: 40px;
    margin-top: 7px;
  }

  .menu-card .modifier-quantity-grid,
  .menu-card .modifier-checkbox-grid,
  .menu-card .modifier-stepper-grid {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .menu-card .modifier-quantity-option {
    display: inline-grid;
    width: 150px;
    max-width: 180px;
    grid-template-columns: none;
    grid-template-rows: 36px 34px;
    margin: 7px 6px 0 0;
    white-space: normal;
  }

  .menu-card .modifier-checkbox-option {
    max-width: 180px;
    white-space: normal;
  }

  .menu-card .modifier-stepper-option {
    display: inline-grid;
    width: 188px;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    margin: 7px 6px 0 0;
    vertical-align: top;
    white-space: normal;
  }

  .menu-card label.full:has(textarea[required]) {
    display: grid;
    gap: 6px;
    margin: 6px 0;
    padding-top: 6px;
  }

  .menu-card .option {
    display: inline-flex;
    width: auto;
    max-width: 180px;
    min-height: 32px;
    gap: 7px;
    align-items: center;
    margin: 6px 6px 0 0;
    padding: 7px 8px;
    border: 1px solid rgba(181, 74, 99, .16);
    border-radius: 4px;
    background: rgba(255, 250, 242, .82);
    color: var(--ink);
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
  }

  .menu-card .option input {
    flex: 0 0 auto;
    width: 16px;
    min-width: 16px;
    height: 16px;
    min-height: 16px;
    margin: 0;
    padding: 0;
  }

  .menu-card .button {
    min-height: 42px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 13px;
  }

  .card h3,
  .menu-card h3,
  .form-panel h2 {
    /* Card/form headings stay polished when longer service labels wrap on narrow screens. */
    line-height: 1.18;
    overflow-wrap: break-word;
  }

  .card p,
  .menu-card p,
  .fine-print,
  .page-hero p {
    /* Body copy on public service pages should wrap cleanly without creating hidden horizontal overflow. */
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-actions,
  .action-row {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .button,
  .action-row .button {
    flex: 1 1 150px;
    min-height: 48px;
    white-space: normal;
  }

  .form-panel > .button {
    width: 100%;
    min-height: 48px;
    white-space: normal;
  }

  .site-footer {
    /* Footer columns become short full-width rows on phones so labels and links do not crowd each other. */
    gap: 12px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .site-footer p {
    /* Footer copy mirrors the desktop footer styling while preventing clipped links on small phones. */
    margin-bottom: 0;
    overflow-wrap: break-word;
  }
}

@media (max-width: 430px) {
  .nav {
    gap: 4px;
  }

  .nav a {
    min-height: 36px;
    padding: 7px 6px;
    font-size: 11px;
  }

  .hero-actions .button,
  .action-row .button {
    flex-basis: 130px;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand img {
    width: 52px;
  }

  .order-button {
    font-size: 12px;
    padding: 0 8px;
  }

  .hero,
  .page-hero,
  .section,
  .menu-shell,
  .site-footer {
    padding-left: 8px;
    padding-right: 8px;
  }

}

@media (max-width: 360px) {
  .grid {
    grid-template-columns: 1fr;
  }

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