/* Color Variables - Edit these to match The Treat Trail's brand palette */
:root {
  --bg-cream: #fff9f5;
  --text-dark: #3b2820;
  --text-muted: #6e554a;
  --accent-pink: #e56b8c;
  --accent-pink-hover: #cf5274;
  --badge-bg: #fde6ec;
  --border-soft: #f0e1d8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
}

.site-footer {
  padding: 1.75rem 1rem;
  border-top: 1px solid var(--border-soft);
  background: #fffdfb;
  text-align: center;
}

.site-footer p {
  margin-bottom: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.social-links a {
  color: var(--text-dark);
  font-weight: 700;
  text-decoration: none;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--accent-pink-hover);
  text-decoration: underline;
}

.social-links span {
  color: var(--text-muted);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(120deg, #f4d5bd, #fff0dc 48%, #f7d8ca);
  border-bottom: 1px solid #e8c9b5;
  box-shadow: 0 8px 24px rgba(89, 55, 30, 0.12);
}

.site-header::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #df6658, #efb45e 48%, #df6687);
  content: "";
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1200px;
  min-height: 92px;
  margin: 0 auto;
  padding: 0.4rem 2rem;
}

.logo-banner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 0 0 auto;
  padding: 0.3rem 1rem 0.3rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50px 18px 18px 50px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 6px 18px rgba(89, 55, 30, 0.09);
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 76px;
  width: 76px;
  object-fit: contain;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 2px #eab28c;
}

.brand-copy {
  display: grid;
  gap: 0.2rem;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--text-dark);
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  white-space: nowrap;
}

.brand-copy small {
  color: #96614c;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.2rem;
  padding: 0.32rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50px;
  background: #3b2820;
  box-shadow: 0 7px 18px rgba(59, 40, 32, 0.2);
}

.navbar > a,
.nav-dropdown > summary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  border-radius: 50px;
  text-decoration: none;
  color: #fff7ee;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  cursor: pointer;
  list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-chevron {
  width: 7px;
  height: 7px;
  margin: -4px 0 0 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown[open] .nav-chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}

.navbar > a:hover,
.navbar > a:focus-visible,
.nav-dropdown > summary:hover,
.nav-dropdown > summary:focus-visible {
  background-color: rgba(255, 255, 255, 0.14);
  color: #ffe0ad;
  transform: translateY(-1px);
}

.navbar > a[aria-current="page"],
.nav-dropdown.is-active > summary {
  background-color: #fff0dc;
  color: #8d4b37;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  z-index: 20;
  display: grid;
  min-width: 190px;
  padding: 0.45rem;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: #fffdfb;
  box-shadow: 0 12px 28px rgba(59, 40, 32, 0.2);
  transform: translateX(-50%);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.nav-dropdown-menu a[aria-current="page"] {
  background: var(--badge-bg);
  color: var(--accent-pink-hover);
}

.navbar > a.nav-cta {
  background: linear-gradient(135deg, #ec9276, #df6687);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 3px 8px rgba(223, 102, 135, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar > a.nav-cta:hover,
.navbar > a.nav-cta:focus-visible {
  color: #ffffff;
  opacity: 0.85;
}

.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 4.5rem 2rem 5rem;
  text-align: center;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background-color: var(--badge-bg);
  color: var(--accent-pink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 auto 2rem;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  text-decoration: none;
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--accent-pink);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(229, 107, 140, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-pink-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--text-dark);
  color: #ffffff;
}

.flavors-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

.flavors-intro {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.flavors-intro h1 {
  margin-bottom: 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  line-height: 1.15;
}

.flavors-intro p,
.flavor-card p {
  color: var(--text-muted);
}

.collection-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

.collection-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.collection-intro h1 {
  margin-bottom: 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  line-height: 1.15;
}

.collection-intro p {
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(89, 55, 30, 0.07);
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f5e9dd;
}

.menu-section + .menu-section {
  margin-top: 3.25rem;
}

.menu-section-heading {
  margin-bottom: 1.5rem;
  text-align: center;
}

.menu-section-kicker {
  color: var(--accent-pink-hover);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-section-heading h2 {
  margin: 0.35rem 0;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
}

.menu-section-heading p,
.menu-product > p:not(.menu-product-price),
.gallery-card figcaption span {
  color: var(--text-muted);
}

.menu-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 850px;
  margin: 0 auto;
}

.menu-product {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  border: 1px solid #efd6c5;
  border-radius: 22px;
  background: linear-gradient(140deg, #ffffff, #fff4ea);
  box-shadow: 0 12px 28px rgba(89, 55, 30, 0.07);
  text-align: center;
}

.menu-product::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, #ec9276, #df6687);
  content: "";
}

.menu-product-quantity {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: var(--badge-bg);
  color: var(--accent-pink-hover);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-product h3 {
  margin-bottom: 0.3rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
}

.menu-product-price {
  margin-top: 1rem;
  color: var(--accent-pink-hover);
}

.menu-product-price span {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
}

.menu-product-price small {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.party-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
}

.party-package {
  display: flex;
  flex-direction: column;
  padding: 1.45rem;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(89, 55, 30, 0.07);
}

.party-package.package-featured {
  border-color: #eab28c;
  background: linear-gradient(155deg, #fff5ec, #ffffff 68%);
  box-shadow: 0 14px 32px rgba(229, 107, 140, 0.13);
}

.package-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
}

.package-size {
  color: var(--accent-pink-hover);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-heading h3 {
  margin-top: 0.25rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
}

.package-price {
  color: var(--text-dark);
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
  white-space: nowrap;
}

.party-package ul {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
  list-style: none;
}

.party-package li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.party-package li::before {
  flex: 0 0 7px;
  height: 7px;
  margin-top: 0.48rem;
  border-radius: 50%;
  background: var(--accent-pink);
  content: "";
}

.flavor-and-note {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  align-items: stretch;
  gap: 1.5rem;
}

.cake-flavor-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
  gap: 0.7rem;
  padding: 1.3rem;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(89, 55, 30, 0.07);
  list-style: none;
}

.cake-flavor-list li {
  padding: 0.65rem 0.5rem;
  border-radius: 12px;
  background: #fff6ef;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.menu-pricing-note {
  padding: 1.5rem;
  border: 1px solid #e8c9b5;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff0e8, #fff9f3 80%);
  box-shadow: 0 12px 28px rgba(89, 55, 30, 0.07);
}

.menu-pricing-note h3 {
  margin: 0.4rem 0 0.65rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
}

.menu-pricing-note p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.package-link {
  display: block;
  margin-top: auto;
  padding: 0.7rem 0.9rem;
  border: 1px solid #efc7b5;
  border-radius: 50px;
  background: #fff3ea;
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.package-link:hover,
.package-link:focus-visible {
  background: var(--accent-pink);
  color: #ffffff;
}

.gallery-card figcaption {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1.1rem 1rem;
  font-weight: 700;
}

.gallery-card figcaption span {
  font-size: 0.86rem;
  font-weight: 400;
}

.menu-order-note {
  margin-top: 2rem;
  color: var(--text-muted);
  text-align: center;
}

.menu-order-note a,
.faq-item p a {
  color: var(--accent-pink-hover);
  font-weight: 700;
}

.custom-order-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.75rem;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(89, 55, 30, 0.07);
}

.faq-list {
  display: grid;
  max-width: 800px;
  gap: 0.8rem;
  margin: 0 auto;
}

.order-terms {
  margin-top: 2.5rem;
}

.order-terms h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  text-align: center;
}

.order-terms-intro {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  text-align: center;
}

.order-terms h3 {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.faq-item {
  padding: 1rem 1.2rem;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(89, 55, 30, 0.05);
}

.faq-item summary {
  position: relative;
  padding-right: 1.8rem;
  color: var(--text-dark);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--accent-pink-hover);
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.75rem;
  color: var(--text-muted);
}

.flavor-form {
  max-width: 680px;
  margin: 0 auto 3rem;
  padding: 1.75rem;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(89, 55, 30, 0.07);
}

.flavor-form h2 {
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
}

.flavor-form label {
  display: block;
  margin: 0.9rem 0 0.35rem;
  font-weight: 700;
}

.flavor-form input,
.flavor-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  color: var(--text-dark);
  font: inherit;
}

.flavor-form input:focus,
.flavor-form textarea:focus {
  outline: 2px solid var(--accent-pink);
  outline-offset: 2px;
}

.flavor-form input[type="file"] {
  background: var(--bg-cream);
}

.form-help,
.form-status {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.form-status:empty {
  display: none;
}

.form-status[role="alert"] {
  color: #a52c4e;
}

.flavor-form button,
.flavor-remove {
  border: 0;
  border-radius: 50px;
  background: var(--accent-pink);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.flavor-form button {
  margin-top: 1.25rem;
  padding: 0.8rem 1.4rem;
}

.flavor-form button:hover,
.flavor-remove:hover {
  background: var(--accent-pink-hover);
}

.treat-cart-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

.cart-hero {
  padding: 2rem 1rem 4rem;
  text-align: center;
}

.cart-hero h1,
.cart-about h2,
.inquiry-intro h2 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
}

.cart-hero h1 {
  margin-bottom: 0.8rem;
  font-size: 3.2rem;
  line-height: 1.15;
}

.cart-hero p {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.cart-about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.cart-about-copy,
.cart-schedule,
.cart-inquiry {
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(89, 55, 30, 0.06);
}

.cart-about-copy {
  padding: 2.25rem;
  background: #fff;
}

.cart-eyebrow {
  color: var(--accent-pink-hover);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-about h2,
.inquiry-intro h2 {
  margin: 0.45rem 0 0.85rem;
  font-size: 2rem;
  line-height: 1.2;
}

.cart-about-copy p,
.cart-schedule p,
.inquiry-intro p {
  color: var(--text-muted);
}

.cart-about-copy p + p {
  margin-top: 0.85rem;
}

.cart-schedule {
  padding: 2.25rem;
  background: linear-gradient(145deg, #fff0e8, #fff8f1 75%);
}

.schedule-note {
  margin-bottom: 1.25rem;
}

.schedule-hours {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-hours li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(232, 201, 181, 0.8);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 5px 14px rgba(89, 55, 30, 0.04);
}

.schedule-day {
  color: var(--text-dark);
  font-weight: 700;
}

.schedule-time {
  color: var(--accent-pink-hover);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.cart-inquiry {
  margin-top: 2rem;
  padding: 2.25rem;
  background: #fff;
}

.inquiry-intro {
  max-width: 650px;
  margin-bottom: 1.4rem;
}

.event-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.event-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.edible-image-price {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.08rem 0.55rem;
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--accent-pink-hover);
  font-size: 0.88em;
  white-space: nowrap;
}

.event-field input,
.event-field select,
.event-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #fffdfb;
  color: var(--text-dark);
  font: inherit;
}

.event-field textarea {
  resize: vertical;
}

.event-field input:focus,
.event-field select:focus,
.event-field textarea:focus {
  outline: 2px solid var(--accent-pink);
  outline-offset: 2px;
}

.event-field-wide {
  grid-column: 1 / -1;
}

.treat-selection {
  min-width: 0;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: #fffdfb;
}

.treat-selection legend {
  padding: 0 0.35rem;
  color: var(--text-dark);
  font-weight: 700;
}

.treat-selection-help {
  margin: 0.25rem 0 1rem;
}

.treat-selection h3 {
  margin: 1rem 0 0.6rem;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.treat-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.treat-selection-option {
  padding: 0.9rem;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #fff;
}

.treat-selection-option .treat-selection-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  cursor: pointer;
  font-weight: 700;
}

.treat-selection-label input {
  width: auto;
  margin: 0;
  accent-color: var(--accent-pink);
}

.treat-quantity {
  margin-top: 0.8rem;
}

.treat-quantity[hidden] {
  display: none;
}

.custom-order-inspiration {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: var(--bg-cream);
}

.custom-order-inspiration h2 {
  margin: 0 0 0.35rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}

.custom-order-inspiration p {
  margin: 0;
  color: var(--text-muted);
}

.event-form button {
  margin-top: 1rem;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 50px;
  background: var(--accent-pink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.event-form button:hover {
  background: var(--accent-pink-hover);
  transform: translateY(-1px);
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.flavor-card {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(89, 55, 30, 0.06);
}

.flavor-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f5e9dd;
}

.flavor-card-content {
  padding: 1.1rem 1.2rem 1.3rem;
}

.flavor-card h2 {
  margin-bottom: 0.35rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
}

.flavor-remove {
  margin-top: 0.9rem;
  padding: 0.55rem 1rem;
  background: var(--text-dark);
  font-size: 0.9rem;
}

@media (max-width: 850px) {
  .header-inner {
    gap: 0.75rem;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .navbar {
    gap: 0.1rem;
  }

  .navbar a {
    padding-right: 0.55rem;
    padding-left: 0.55rem;
    font-size: 0.82rem;
  }

  .navbar > a,
  .nav-dropdown > summary {
    padding-right: 0.55rem;
    padding-left: 0.55rem;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .flavors-intro h1 {
    font-size: 2.4rem;
  }

  .cart-hero h1 {
    font-size: 2.6rem;
  }

  .flavor-and-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .header-inner {
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.55rem 0.75rem 0.7rem;
  }

  .logo-banner {
    gap: 0.65rem;
    padding-right: 0.85rem;
  }

  .logo-img {
    height: 58px;
    width: 58px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy small {
    font-size: 0.58rem;
  }

  .navbar {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    gap: 0 0.2rem;
    width: 100%;
    max-width: 380px;
    border-radius: 24px;
  }

  .navbar a {
    min-height: 38px;
    padding: 0.4rem 0.55rem;
    font-size: 0.78rem;
  }

  .navbar > a,
  .nav-dropdown > summary {
    min-height: 38px;
    padding: 0.4rem 0.55rem;
    font-size: 0.78rem;
  }

  .nav-dropdown-menu {
    top: calc(100% + 0.45rem);
  }

  .hero {
    padding: 2.5rem 1.25rem 4rem;
  }

  .flavors-page {
    padding: 2.5rem 1.25rem 4rem;
  }

  .collection-page {
    padding: 2.5rem 1.25rem 4rem;
  }

  .collection-intro h1 {
    font-size: 2.35rem;
  }

  .menu-product-grid,
  .party-package-grid {
    grid-template-columns: 1fr;
  }

  .cake-flavor-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1rem;
  }

  .menu-section + .menu-section {
    margin-top: 2.5rem;
  }

  .custom-order-form {
    padding: 1.25rem;
  }

  .flavor-form {
    padding: 1.25rem;
  }

  .treat-cart-page {
    padding: 2.5rem 1.25rem 4rem;
  }

  .cart-hero {
    padding: 1rem 0.25rem 2.5rem;
  }

  .cart-hero h1 {
    font-size: 2.25rem;
  }

  .cart-about {
    grid-template-columns: 1fr;
  }

  .cart-about-copy,
  .cart-schedule,
  .cart-inquiry {
    padding: 1.4rem;
  }

  .cart-about h2,
  .inquiry-intro h2 {
    font-size: 1.65rem;
  }

  .event-form-grid {
    grid-template-columns: 1fr;
  }

  .event-field-wide {
    grid-column: auto;
  }
}