/* ============================================================
   Manuela's Cakery, Main Stylesheet
   Palette: Cotton Candy Carousel, Bubblegum Pink · Periwinkle Blue · Sunshine Gold · Cream
   Type: Fredoka (display, print) + Quicksand (body) + Pacifico (Home page Hero only, cursive)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Fredoka:wght@500;600;700&family=Quicksand:wght@500;600;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --plum:          #F783AC;   /* bubblegum pink, primary brand colour */
  --plum-dark:     #E85D95;   /* deeper pink for hover/pressed states */
  --plum-bright:   #FF9DC2;   /* brighter pink for small decorative accents */
  --crimson:       #F783AC;   /* same bubblegum pink for CTAs */
  --crimson-mid:   #FF9DC2;   /* brighter pink for hover/mid states */
  --crimson-light: #FCD3E3;   /* pale pink */
  --petal:         #FDF0F5;   /* soft cotton-pink wash, core light accent */
  --petal-light:   #FEF8FA;   /* barely-there pink wash */
  --gold:          #E8C468;   /* sunshine gold, secondary accent */
  --gold-bright:   #F0D28A;   /* brighter sunshine gold */
  --gold-light:    #F8E8C0;   /* pale gold */
  --forest:        #A0567E;   /* Rose plum, the "tea" accent (name kept for compatibility, no longer blue) */
  --forest-mid:    #7A3D5E;   /* deeper rose plum, AA-safe as foreground on light backgrounds */
  --forest-light:  #CB9AB0;   /* pale rose plum */
  --forest-pale:   #F7ECF1;   /* barely-there rose plum wash */
  --ivory:         #FFFBF7;   /* clean warm white */
  --ivory-dark:    #FBECF6;   /* soft pink-cream */
  --cream:         #FDF0F5;   /* cotton-candy cream */
  --warm-white:    #FFFFFF;
  --ink:           #4A3B4A;   /* warm plum-grey for body text, kept dark enough for readability */
  --ink-mid:       #7A6A78;   /* muted plum-grey for secondary text */
  --ink-light:     #A8969F;   /* lighter plum-grey for tertiary text */

  --font-display:  'Fredoka', sans-serif;
  --font-script:   'Pacifico', cursive;
  --font-body:     'Quicksand', system-ui, sans-serif;

  --max-w:         1100px;
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     22px;

  --transition:    0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* ── Typography helpers ── */
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad { padding: 72px 0; }
.section-pad-sm { padding: 48px 0; }

/* ── Gold rule divider ── */
.gold-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 40px;
}
.gold-rule::before,
.gold-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-bright);
}
.gold-rule span {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold-bright);
}
.form-divider { height: 1px; border: none; background: var(--gold-bright); margin: 22px 0; }
.field-invalid { border-color: #DC2626 !important; box-shadow: 0 0 0 1px #DC2626; border-radius: 10px; }
.req-asterisk { color: #DC2626; font-weight: 700; margin-left: 2px; }
.form-alert {
  background: #FDEAEA;
  border: 1.5px solid #E8A0A0;
  color: #943126;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 4px 0 16px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary   { background: var(--crimson); color: var(--ivory); }
.btn-gold      { background: var(--gold-bright); color: var(--ink); }
.btn-outline   { background: transparent; color: var(--ivory); border: 1.5px solid var(--ivory); }
.btn-outline-crimson { background: transparent; color: var(--crimson); border: 1.5px solid var(--crimson); }
.btn-forest    { background: var(--forest); color: var(--ivory); }

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--petal);
  border-bottom: 2px solid var(--plum);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
}

.nav-hamburger {
  display: none;   /* only needed on phones, where nav-links/CTAs are hidden below; restored in the ≤700px media query */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: -8px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--plum-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;   /* never let the logo get squeezed out when the row is tight */
}
.nav-logo img { flex-shrink: 0; }
.nav-logo span { color: var(--plum-dark); }

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin-left: 8px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--plum-dark); }

.nav-tea-btn {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--forest);
  color: var(--ivory);
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.nav-tea-btn:hover { opacity: 0.88; }
.nav-order-btn {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--crimson);
  color: var(--ivory);
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity var(--transition);
  white-space: nowrap;
  margin-left: auto;
}
.nav-order-btn:hover { opacity: 0.88; }

/* Full nav (links + both CTA buttons + cart) only actually fits from this width
   up, verified by measuring real overflow, below it the hamburger's dropdown
   takes over so nothing gets squeezed or pushed off-screen. Placed after the
   base .nav-links/.nav-order-btn/.nav-tea-btn rules above so it actually wins
   the cascade at matching widths, equal-specificity rules resolve by source
   order regardless of the media query. */
/* Below full-desktop width, tighten spacing/sizing across the whole row
   (rather than hiding the CTA buttons) so links, both buttons, and the cart
   all stay visible together as long as there's room. */
@media (max-width: 1310px) {
  .nav-inner { gap: 10px; }
  .nav-links { gap: 12px; margin-left: 2px; }
  .nav-links a { font-size: 9px; letter-spacing: 0.06em; }
  .nav-order-btn, .nav-tea-btn { padding: 7px 12px; font-size: 9px; letter-spacing: 0.08em; }
}
/* Narrower still (tablets/small laptops): trim further so links + both
   buttons + cart keep fitting without anything getting squeezed. */
@media (max-width: 949px) {
  .nav-inner { gap: 6px; }
  .nav-logo img { height: 28px; }
  .nav-links { gap: 7px; margin-left: 0; }
  .nav-links a { font-size: 8.5px; letter-spacing: 0.03em; }
  .nav-order-btn, .nav-tea-btn { padding: 6px 9px; font-size: 8.5px; letter-spacing: 0.05em; }
}

/* Dropdown menu panel, opens from the hamburger, all pages, all screen sizes */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--petal);
  padding: 8px 2rem 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--plum-dark); }

/* ── Closure banner ── */
#closure-banner {
  background: #7D3C00;
  color: #FFF8F0;
  text-align: center;
  padding: 12px 20px;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 2px solid #B05A00;
}
.closure-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}
.closure-icon {
  font-size: 18px;
  flex-shrink: 0;
  opacity: 0.9;
}

/* ── Hero ── */

/* Overlay sits on top of the slideshow, centred */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Dark gradient so text is always readable over any photo */
  background: linear-gradient(
    to bottom,
    rgba(44, 20, 30, 0.52) 0%,
    rgba(44, 20, 30, 0.38) 50%,
    rgba(44, 20, 30, 0.60) 100%
  );
  z-index: 2;
  padding: 40px 20px;
  text-align: center;
}
/* Push dots above the overlay */
#hero-slideshow-dots {
  position: relative;
  z-index: 3;
}

.hero {
  background: var(--crimson);
  padding: 96px 0 80px;
  text-align: center;
  border-bottom: 3px solid var(--gold-bright);
}

.hero-eyebrow {
  color: var(--ivory);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-script);
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.08;
  margin-bottom: 10px;
}
.hero-title em { font-style: italic; color: var(--petal); }

.hero-subtitle {
  font-family: var(--font-script);
  font-size: clamp(16px, 2.5vw, 22px);
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--gold-bright);
  margin: 0 auto 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Quote strip ── */
.quote-strip {
  background: var(--warm-white);
  padding: 48px 0;
  text-align: center;
  border-top: 3px solid var(--gold-bright);
  border-bottom: 3px solid var(--gold-bright);
  position: relative;
}
.quote-strip::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 100px;
  line-height: 0.6;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 12px;
  opacity: 0.7;
}
.quote-strip blockquote {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.8vw, 26px);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto 12px;
}
.quote-strip cite {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

/* ── Homepage cake-ordering preview (replaces the old review section) ── */
.cake-preview-strip {
  background: var(--cream);
  padding: 72px 0;
  border-top: 3px solid var(--gold-bright);
}
.cake-preview-intro { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.cake-preview-intro h2 { font-family: var(--font-display, Georgia); font-size: 36px; color: var(--plum-dark); margin: 0 0 12px; }
.cake-preview-intro p { color: var(--ink-mid); font-size: 15px; line-height: 1.6; margin: 0; }
.cake-preview-group { max-width: 1080px; margin: 0 auto 44px; padding: 0 20px; }
.cake-preview-group:last-child { margin-bottom: 0; }
.cake-preview-group-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
.cake-preview-group-head h3 { font-family: var(--font-display, Georgia); font-size: 24px; color: var(--plum-dark); margin: 0; }
.cake-preview-group-head a { font-size: 13px; font-weight: 600; color: var(--crimson); text-decoration: none; white-space: nowrap; }
.cake-preview-group-head a:hover { text-decoration: underline; }
.cake-preview-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.cake-preview-tile { display: block; text-decoration: none; color: inherit; border-radius: 12px; overflow: hidden; background: var(--ivory); border: 1.5px solid var(--gold-light); transition: transform .15s ease, box-shadow .15s ease; }
.cake-preview-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(240,11,160,.10); }
.cake-preview-tile-photo { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--petal-light); display: block; opacity: 0; transition: opacity .35s ease; }
.cake-preview-tile-photo.loaded { opacity: 1; }
.cake-preview-tile-photo-empty { width: 100%; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; background: var(--petal-light); color: var(--gold); font-size: 28px; }
.cake-preview-tile-name { font-family: var(--font-display, Georgia); font-size: 16px; color: var(--ink); padding: 12px 14px 4px; }
.cake-preview-tile-price { font-size: 13px; font-weight: 600; color: var(--forest); padding: 0 14px 10px; }

.cake-preview-row-wide { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cake-preview-tile-wide { display: flex; align-items: stretch; }
.cake-preview-tile-wide .cake-preview-tile-photo,
.cake-preview-tile-wide .cake-preview-tile-photo-empty { width: 110px; aspect-ratio: auto; flex-shrink: 0; }
.cake-preview-tile-body { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.cake-preview-tile-wide .cake-preview-tile-name { padding: 0 0 4px; }
.cake-preview-tile-wide .cake-preview-tile-price { padding: 0 0 4px; }
.cake-preview-tile-examples { font-size: 12px; color: var(--ink-mid); line-height: 1.5; }

/* Skeleton placeholders, shown immediately so the preview rows never sit
   empty while the theme/catalog data and photos are still loading, then
   swapped out for the real tiles once ready. */
@keyframes cakeSkeletonShimmer { 0% { background-position: -300px 0; } 100% { background-position: 300px 0; } }
.cake-preview-skeleton-tile { border-radius: 12px; overflow: hidden; border: 1.5px solid var(--gold-light); background: var(--ivory); }
.cake-preview-skeleton-photo {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(90deg, var(--petal-light) 25%, #f3ece8 37%, var(--petal-light) 63%);
  background-size: 400px 100%; animation: cakeSkeletonShimmer 1.4s ease-in-out infinite;
}
.cake-preview-skeleton-line { height: 14px; margin: 14px; border-radius: 4px;
  background: linear-gradient(90deg, var(--petal-light) 25%, #f3ece8 37%, var(--petal-light) 63%);
  background-size: 400px 100%; animation: cakeSkeletonShimmer 1.4s ease-in-out infinite;
}
.cake-preview-skeleton-tile.wide { display: flex; align-items: stretch; }
.cake-preview-skeleton-tile.wide .cake-preview-skeleton-photo { width: 110px; aspect-ratio: auto; flex-shrink: 0; }
.cake-preview-skeleton-tile.wide .cake-preview-skeleton-line { flex: 1; align-self: center; }

/* ── Features strip ── */
.features-strip {
  background: var(--forest);
  padding: 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.feature-item {
  padding: 40px 28px;
  text-align: center;
  border-right: 1px solid var(--forest-mid);
}
.feature-item:last-child { border-right: none; }
.feature-icon {
  font-size: 28px;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.feature-item h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 8px;
}
.feature-item p { font-size: 13px; color: #C9E2D4; line-height: 1.55; }

/* ── Section headers ── */
.section-header { margin-bottom: 40px; }
.section-header .eyebrow { color: var(--forest-mid); margin-bottom: 6px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  color: var(--plum-dark);
}
.section-header.center { text-align: center; }
.section-header.light h2 { color: var(--ivory); }
.section-header.light .eyebrow { color: var(--gold-light); }

/* ── Cards ── */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--warm-white);
  border: 1px solid var(--petal);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition);
}
.product-card:hover { transform: translateY(-3px); }

.card-image {
  height: 180px;
  background: var(--petal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  overflow: hidden;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }

.card-body { padding: 18px 20px 20px; }
.card-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 6px;
}
.card-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.card-desc { font-size: 13px; color: var(--ink-light); line-height: 1.5; margin-bottom: 12px; }
.card-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
}

/* Tea service cards */
.tea-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  overflow: hidden;
}
.tea-card-image {
  height: 160px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}
.tea-card-body { padding: 20px; }
.tea-card-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 8px;
}
.tea-card-body p { font-size: 13px; color: var(--ink-mid); line-height: 1.5; margin-bottom: 12px; }
.tea-card-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--forest-mid);
}
.tea-card-includes {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* ── Forms ── */
.form-wrap {
  background: var(--warm-white);
  border: 1px solid var(--petal);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 600px;
  margin: 0 auto;
}

.form-section-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--petal);
}
.form-section-title:first-of-type { margin-top: 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group { margin-bottom: 16px; }
.form-group:last-of-type { margin-bottom: 0; }

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 6px;
}
.form-group label .req { color: var(--crimson); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid #F8D7EF;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  padding: 0;
  appearance: auto;
  accent-color: var(--crimson);
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(155, 35, 53, 0.1);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239B2335' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.5; }

/* Occasion chips */
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.occasion-chip {
  border: 1px solid #F8D7EF;
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  color: var(--ink-light);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--ivory);
  user-select: none;
}
.occasion-chip:hover { border-color: var(--crimson); color: var(--crimson); }
.occasion-chip.selected {
  border-color: var(--crimson);
  background: #FCEEF8;
  color: var(--crimson);
  font-weight: 500;
}
.occasion-other { grid-column: span 2; }

/* Tier radio list */
.tier-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.tier-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #FAE4F3;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--ivory);
}
.tier-item:hover { border-color: var(--crimson-light); }
.tier-item.selected { border-color: var(--crimson); background: #FCEEF8; }

.tier-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #EEB2D9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.tier-item.selected .tier-radio {
  border-color: var(--crimson);
  background: var(--crimson);
}
.tier-item.selected .tier-radio::after {
  content: '';
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
}

.tier-name { font-size: 14px; font-weight: 500; color: var(--ink); flex: 1; }
.tier-feeds { font-size: 12px; color: var(--ink-light); white-space: nowrap; }

/* Flavour grid */
.flavour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.flavour-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #FAE4F3;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13px;
  color: var(--ink-light);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--ivory);
  user-select: none;
}
.flavour-chip:hover { border-color: var(--crimson-light); }
.flavour-chip.selected { border-color: var(--crimson); background: #FCEEF8; color: var(--crimson); }
.flavour-other { grid-column: span 2; }

.flavour-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--petal);
  flex-shrink: 0;
  transition: all var(--transition);
}
.flavour-chip.selected .flavour-dot {
  background: var(--crimson);
  border-color: var(--crimson);
}

/* Form submit */
.form-submit { margin-top: 28px; text-align: center; }
.form-submit-buttons { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.form-submit-buttons.stacked { flex-direction: column; align-items: center; }
.form-submit-buttons.stacked .btn { width: 100%; max-width: 340px; text-align: center; }
.form-submit .btn { padding: 15px 18px; font-size: 12px; }
@media (max-width: 480px) { .form-submit .btn { width: 100%; } }
.form-note {
  font-size: 12px;
  color: var(--ink-light);
  margin-top: 12px;
  line-height: 1.5;
}

/* Form messages */
.form-success,
.form-error {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-top: 16px;
  display: none;
}
.form-success { background: var(--forest-pale); color: var(--forest); border: 1px solid var(--forest-light); }
.form-error { background: #FCEEF8; color: var(--crimson); border: 1px solid var(--petal); }
.form-success.visible,
.form-error.visible { display: block; }

/* ── Calendar (Tea reservation) ── */
.cal-wrap {
  border: 1px solid var(--forest-light);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 auto 16px;
  max-width: 320px;
}
.cal-header {
  background: var(--forest);
  color: var(--ivory);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}
.cal-nav-btn {
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 18px;
  cursor: pointer;
  padding: 2px 8px;
  line-height: 1;
  transition: color var(--transition);
}
.cal-nav-btn:hover { color: var(--gold-bright); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--ivory);
  padding: 8px;
  gap: 1px;
}
.cal-day-header {
  text-align: center;
  font-size: 9px;
  font-weight: 500;
  color: var(--ink);
  padding: 2px 0 4px;
  letter-spacing: 0.04em;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-light);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
}
.cal-day:hover:not(.empty):not(.disabled) { background: var(--forest-pale); color: var(--forest); }
.cal-day.today { border: 1.5px solid var(--crimson); color: var(--crimson); }
.cal-day.selected { background: var(--crimson); color: white; }
.cal-day.empty,
.cal-day.disabled { color: #F6D3EC; cursor: default; pointer-events: none; }

/* Time slots */
.time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.time-slot {
  border: 1px solid #F6D3EC;
  border-radius: var(--radius-sm);
  padding: 9px 6px;
  font-size: 12px;
  text-align: center;
  color: var(--ink-light);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--ivory);
}
.time-slot:hover:not(.unavailable) { border-color: var(--crimson); color: var(--crimson); }
.time-slot.selected { border-color: var(--crimson); background: #FCEEF8; color: var(--crimson); font-weight: 500; }
.time-slot.unavailable { color: #F6D3EC; cursor: not-allowed; text-decoration: line-through; }

/* Guest counter */
.guest-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid #FAE4F3;
  border-radius: var(--radius-sm);
  background: var(--ivory);
}
.guest-counter label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.counter-controls { display: flex; align-items: center; gap: 12px; }
.counter-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #EEB2D9;
  border-radius: var(--radius-sm);
  background: white;
  color: var(--ink-light);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.counter-btn:hover { border-color: var(--crimson); color: var(--crimson); }
.counter-val { font-size: 16px; font-weight: 500; color: var(--ink); min-width: 24px; text-align: center; }

/* ── Footer ── */
.site-footer {
  background: var(--petal);
  color: var(--ink);
  padding: 56px 0 24px;
  border-top: 3px solid var(--gold-bright);
}

.footer-logo-row {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.footer-logo-row a { display: inline-block; line-height: 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--crimson-light);
}

.footer-brand-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 8px;
}
.footer-brand-logo span { color: var(--plum-dark); }
.footer-brand-tagline {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--plum-dark);
  margin-bottom: 16px;
}
.footer-brand p { font-size: 13px; color: var(--ink-mid); line-height: 1.6; margin-bottom: 16px; }

.footer-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  border: 1px solid var(--crimson-light);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  text-decoration: none;
  max-width: 100%;
}
.footer-map:hover { border-color: var(--crimson); color: var(--crimson); }
.footer-map i { font-size: 15px; flex-shrink: 0; }
.footer-map span { line-height: 1.4; }

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plum-dark);
  margin-bottom: 14px;
}
.footer-col p,
.footer-col a {
  font-size: 13px;
  color: var(--ink-mid);
  margin-bottom: 6px;
  display: block;
  text-decoration: none;
  line-height: 1.55;
}
.footer-col a:hover { color: var(--crimson); }

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 5px;
}
.hours-row .day { color: var(--ink-mid); }
.hours-row .time { color: var(--crimson); font-weight: 500; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.footer-social a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--crimson); }
.footer-social i { font-size: 16px; }

.allergy-note {
  background: #5C474F;
  border-left: 3px solid var(--gold-bright);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 12px;
  color: #DFAFD2;
  line-height: 1.55;
  margin-bottom: 12px;
}
.allergy-note strong { color: var(--petal); }

.footer-phone {
  font-size: 15px;
  font-family: var(--font-display);
  color: var(--plum-dark) !important;
  margin-bottom: 6px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 12px; color: var(--ink-light); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--ink-light); text-decoration: none; transition: color var(--transition); }
.footer-legal a:hover { color: var(--crimson); }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--crimson);
  padding: 56px 0 48px;
  text-align: center;
  border-bottom: 2px solid var(--gold-bright);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 10px;
}
.page-hero p {
  font-size: 15px;
  color: #FFFFFF;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Specials tag colours ── */
.tag-limited { color: var(--forest-mid); }
.tag-fav     { color: var(--crimson); }
.tag-weekend { color: var(--gold); }
.tag-new     { color: var(--plum); }

/* ── Alert/notice boxes ── */
.notice {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.notice-info {
  background: var(--forest-pale);
  border: 1px solid var(--forest-light);
  color: var(--forest);
}

/* ── Utility ── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ── Responsive ── */

/* Tablet (e.g. iPad portrait, 701–900px) */
@media (max-width: 900px) and (min-width: 701px) {
  .container { padding: 0 1.5rem; }
  .hero-title { font-size: clamp(36px, 6vw, 56px); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .cards-grid-3 { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .occasion-grid { grid-template-columns: repeat(3, 1fr); }
  .flavour-grid { grid-template-columns: 1fr 1fr; }
}

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

/* Phone (≤700px) */
@media (max-width: 780px) {
  .container { padding: 0 1.25rem; }
  .section-pad { padding: 48px 0; }
  .section-pad-sm { padding: 32px 0; }

  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-order-btn { display: none; }
  .nav-tea-btn { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--forest-mid); }
  .feature-item:last-child { border-bottom: none; }

  .cards-grid-3,
  .cards-grid-2 { grid-template-columns: 1fr; }

  .form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .occasion-grid { grid-template-columns: 1fr 1fr; }
  .occasion-other { grid-column: span 2; }
  .flavour-grid { grid-template-columns: 1fr; }
  .flavour-other { grid-column: span 1; }
  .time-slots { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-social { justify-content: center; }
  .hours-row { max-width: 220px; margin: 0 auto 5px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-legal { justify-content: center; flex-wrap: wrap; }
}

/* Small phone (≤400px), tighten further */
@media (max-width: 400px) {
  .hero-title { font-size: clamp(30px, 9vw, 40px); }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; text-align: center; }
  .occasion-grid { grid-template-columns: 1fr; }
  .occasion-other { grid-column: span 1; }
  .time-slots { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Gallery components ── */

/* Slideshow */
.gallery-slideshow {
  position: relative;
  overflow: hidden;
  background: #111;
  line-height: 0;
  aspect-ratio: 16 / 7;   /* now lives on the container since slides overlap via position:absolute */
}
.gallery-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease;
  pointer-events: none;
}
.gallery-slideshow .slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.gallery-slideshow .slide {
  overflow: hidden;
}
.gallery-slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
  color: white;
  padding: 40px 28px 18px;
  font-size: 15px;
  font-style: italic;
  font-family: var(--font-display);
  letter-spacing: .02em;
}
.slideshow-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
}
.slideshow-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  border: none;
  cursor: pointer;
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: all;
  transition: .15s;
  color: #2C3038;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.slideshow-arrow:hover { background: white; }
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 12px 0;
  background: var(--crimson);
}
.slideshow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: .2s;
}
.slideshow-dot.active {
  background: var(--petal);
  transform: scale(1.4);
}

/* Gallery grid */
.gallery-section { padding: 60px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 4px;
  margin-top: 32px;
}
.gallery-grid-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
  aspect-ratio: 4 / 3;        /* Every cell is exactly 4:3 */
}
.gallery-grid-item img {
  width: 100%;
  height: 100%;               /* Fill the aspect-ratio box */
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .45s ease;
}
.gallery-grid-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.58));
  color: white;
  padding: 28px 12px 10px;
  font-size: 13px;
  font-style: italic;
  transform: translateY(100%);
  transition: transform .3s;
}
.gallery-grid-item:hover .gallery-overlay { transform: translateY(0); }

/* Strip slideshow (3-image strip on Our Story & Visit Us) */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 0;
}
.gallery-strip-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.gallery-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s;
}
.gallery-strip-item:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-caption {
  position: absolute;
  bottom: 18px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-size: 14px; font-style: italic;
  text-align: center;
  max-width: 600px; padding: 0 20px;
}
.lightbox-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none;
  color: white; font-size: 32px; cursor: pointer; line-height: 1;
  opacity: .7; transition: .15s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.14); border: none;
  color: white; font-size: 24px;
  padding: 14px 18px; cursor: pointer; border-radius: 6px;
  transition: .15s;
}
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.28); }

/* Empty gallery state */
.gallery-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--ink-mid);
  font-style: italic;
  font-size: 15px;
}

@media (max-width: 768px) {
  /* aspect-ratio handles sizing, just adjust columns on mobile */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip { grid-template-columns: 1fr; }
  /* Single-column strip on mobile, use 4:3 still, just full width */
  #tea-menu-photo-wrap { height: 480px !important; }
}

/* ── Cake inspiration modal (shared: order wizard + classic form) ── */
.mc-modal-overlay {
  position: fixed; inset: 0; background: rgba(30,16,22,.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000; padding: 20px; animation: mcFadeIn .15s ease;
}
@keyframes mcFadeIn { from { opacity: 0; } to { opacity: 1; } }
.mc-modal {
  background: var(--warm-white); border-radius: 18px; max-width: 640px; width: 100%;
  max-height: 86vh; overflow-y: auto; padding: 26px 24px 22px; position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.mc-modal-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 26px; line-height: 1; color: var(--ink-mid); cursor: pointer; padding: 4px;
}
.mc-modal-close:hover { color: var(--crimson); }
.mc-modal h3 {
  font-family: var(--font-display); font-size: 21px; color: var(--ink); margin: 0 0 8px; padding-right: 26px;
}
.mc-modal-sub { font-size: 13.5px; color: var(--ink-mid); line-height: 1.6; margin: 0 0 18px; }
.mc-modal-sub b { color: var(--ink); }
.mc-modal-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px;
}
.mc-modal-thumb {
  border: 2px solid var(--petal); border-radius: 12px; background: #fff; cursor: pointer;
  padding: 0; overflow: hidden; transition: border-color .15s, transform .15s; text-align: left;
}
.mc-modal-thumb:hover, .mc-modal-thumb:focus-visible { border-color: var(--crimson); transform: translateY(-2px); outline: none; }
.mc-modal-thumb img { width: 100%; height: 150px; object-fit: cover; display: block; }
.mc-modal-thumb.mc-modal-none {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 150px; padding: 14px; gap: 8px; background: var(--ivory); border-style: dashed;
}
.mc-modal-none-icon { font-size: 30px; }
.mc-modal-thumb.mc-modal-none span:last-child { font-size: 12.5px; color: var(--ink-mid); text-align: center; line-height: 1.4; }

/* Chosen inspiration photo shown in the live cake preview panel */
#pv-inspiration, #cf-pv-inspiration {
  margin: 10px auto; max-width: 170px; text-align: center;
}
#pv-inspiration img, #cf-pv-inspiration img {
  width: 100%; border-radius: 10px; border: 1px solid #F8BCE3; display: block;
}
#pv-inspiration p, #cf-pv-inspiration p {
  font-size: 11px; color: var(--ink-mid); margin: 6px 0 0; line-height: 1.4;
}
