/* =========================================================
   SWEETBUDS CUSTOMIZED CAKES — Design tokens
   Palette:  bg #FFF8F3 · blush #FBE9E7 · rose #D46A6A (primary)
             cocoa #3D2B2B (text) · gold #C9A66B (premium accent)
             cream #F4D9B8 (secondary surface)
   Type:     Display = Fraunces (soft serif, handmade warmth)
             Body/UI = Inter
   Signature:Piped-icing wave divider + stacked "cake tier" hero motif
   ========================================================= */

:root {
  --bg: #FFF8F3;
  --blush: #FBE9E7;
  --rose: #D46A6A;
  --rose-dark: #B84F4F;
  --cocoa: #3D2B2B;
  --cocoa-soft: #6B5252;
  --gold: #C9A66B;
  --cream: #F4D9B8;
  --white: #FFFFFF;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 10px rgba(61, 43, 43, 0.06);
  --shadow-md: 0 12px 30px rgba(61, 43, 43, 0.10);
  --shadow-lg: 0 24px 60px rgba(61, 43, 43, 0.16);

  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cocoa);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--cocoa); }
p { margin: 0 0 1em; color: var(--cocoa-soft); }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--cocoa); color: #fff;
  padding: .6rem 1rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.section { max-width: var(--container); margin: 0 auto; padding: 5rem 1.5rem; }
.section-tint { background: var(--blush); max-width: none; }
.section-tint > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.eyebrow {
  font-family: var(--font-body); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  font-size: .78rem; color: var(--rose-dark); margin: 0 0 .6rem;
}
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.section-sub { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--rose); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: var(--cocoa); color: var(--cocoa); background: transparent; }
.btn-ghost:hover { background: var(--cocoa); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--rose); color: var(--rose-dark); background: #fff; }
.btn-outline:hover { background: var(--rose); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header Top Bar & Social Buttons ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 248, 243, 0.96);
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(61,43,43,.08);
}
.header-top-bar {
  max-width: var(--container); margin: 0 auto; padding: 0.6rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(61,43,43,0.06);
}
.header-location {
  display: flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; font-weight: 500; color: var(--rose-dark);
}
.header-right {
  display: flex; align-items: center; gap: 0.8rem;
}
.social-btn-group {
  display: flex; align-items: center; gap: 0.5rem;
}
.social-circle-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--rose-dark);
  color: var(--rose-dark); display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.social-circle-btn:hover {
  background: var(--rose-dark); color: #ffffff; transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(184,79,79,0.25);
}
.header-divider { color: rgba(61,43,43,0.25); font-size: 0.9rem; }
.btn-contact-pill {
  background: #65a887; color: #ffffff; padding: 0.45rem 1.1rem; border-radius: 999px;
  font-size: 0.88rem; font-weight: 600; transition: all 0.25s var(--ease);
  box-shadow: 0 2px 8px rgba(101,168,135,0.25);
}
.btn-contact-pill:hover {
  background: #4d8c6d; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(101,168,135,0.35); color: #ffffff;
}

.logo { display: flex; align-items: center; padding: 0.2rem 0; transition: transform .2s var(--ease); }
.logo:hover { transform: translateY(-1px); }
.logo-img { height: 50px; width: auto; display: block; }
.footer-logo-img { height: 74px; margin-bottom: .9rem; }

.main-nav {
  max-width: var(--container); margin: 0 auto; padding: 0.5rem 1.5rem;
  display: flex; justify-content: center; gap: 2.2rem; font-weight: 500; font-size: .95rem;
}
.main-nav a { position: relative; padding: .3rem 0; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--rose);
  transition: width .25s var(--ease);
}
.main-nav a:hover::after { width: 100%; }
.nav-inquiry-link {
  background: var(--rose); color: #ffffff !important; padding: 0.35rem 1.1rem !important;
  border-radius: 999px; font-weight: 600;
}
.nav-inquiry-link::after { display: none !important; }
.nav-inquiry-link:hover { background: var(--rose-dark); }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; }
.nav-toggle span { width: 24px; height: 2px; background: var(--cocoa); border-radius: 2px; transition: transform .25s var(--ease); }
.mobile-nav {
  display: flex; flex-direction: column; gap: .2rem; max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease); background: var(--bg); padding: 0 1.5rem;
}
.mobile-nav.open { max-height: 420px; padding: .5rem 1.5rem 1.5rem; }
.mobile-nav a { padding: .7rem 0; font-weight: 500; border-bottom: 1px solid rgba(61,43,43,.06); }

@media (max-width: 880px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-top-bar { padding: 0.5rem 1rem; }
  .header-location { font-size: 0.78rem; }
}

/* ---------- Order Now / Showcase Section (Exact match to User Image) ---------- */
.order-showcase-section {
  background: linear-gradient(180deg, #FDF4F6 0%, #FFF8F3 100%);
  padding: 3rem 1.5rem 4rem;
  border-bottom: 1px dashed rgba(212,106,106,0.2);
}
.order-showcase-inner {
  max-width: var(--container); margin: 0 auto;
}
.showcase-head {
  text-align: center; margin-bottom: 2.5rem;
}
.showcase-sub {
  font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--rose-dark); margin-bottom: 0.2rem;
}
.showcase-tagline {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 1.9rem); color: var(--cocoa); font-weight: 600; margin-bottom: 0.8rem;
}
.order-now-title-wrapper {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem; margin-top: 0.2rem;
}
.order-now-main-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--rose-dark); font-weight: 700; margin: 0; letter-spacing: -0.01em;
}
.leaf-flourish { font-size: 1.5rem; user-select: none; }
.heart-accent-dot { color: var(--rose); font-size: 0.85rem; margin-top: 0.3rem; line-height: 1; }

.showcase-cards-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; margin-bottom: 3rem;
}
@media (max-width: 1024px) {
  .showcase-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .showcase-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
}
@media (max-width: 380px) {
  .showcase-cards-grid { grid-template-columns: 1fr; }
}

.showcase-card {
  background: #FFFDF9; border: 2px solid #7BAE99; border-radius: 18px; overflow: hidden;
  box-shadow: 0 4px 15px rgba(123,174,153,0.12); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: pointer; display: flex; flex-direction: column;
}
.showcase-card:hover {
  transform: translateY(-8px); box-shadow: 0 12px 30px rgba(123,174,153,0.28);
}
.showcase-card-header {
  border-bottom: 2px solid #7BAE99; background: #FAF0F2; padding: 0.75rem 0.5rem 0.6rem;
  text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 72px;
}
.card-title {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: #1F3A2E; line-height: 1.25;
}
.card-heart { color: var(--rose); font-size: 0.7rem; margin-top: 0.2rem; }
.showcase-card-photo { aspect-ratio: 4/5; overflow: hidden; background: #FAF0F2; }
.showcase-card-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease);
}
.showcase-card:hover .showcase-card-photo img { transform: scale(1.06); }

.showcase-footer-banner { text-align: center; margin-top: 1rem; }
.banner-tagline {
  display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 600; color: var(--rose-dark);
}

.modal-cake-img {
  width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
@media (max-width: 640px) {
  .modal-cake-img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; max-width: var(--container); margin: 0 auto; padding: 3.5rem 1.5rem 5rem;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; overflow: hidden;
}

/* When hero has no visual, make it single column */
.hero.hero--no-visual { grid-template-columns: 1fr; }
.hero.hero--no-visual .hero-inner { max-width: 720px; margin: 0 auto; }

/* Cover photo behind hero text */
.hero.hero--no-visual {
  background-image: url("images/cover.png");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  
}

/* subtle left wash so text stays readable */
.hero.hero--no-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,248,243,0.96) 0%, rgba(255,248,243,0.85) 40%, rgba(255,248,243,0.55) 60%, rgba(255,248,243,0.3) 75%);
  pointer-events: none;
}

@media (max-width: 800px) {
  .hero.hero--no-visual {
    background-image: url("images/cover.png");
    background-position: center top;
    background-size: cover;
    min-height: 520px;
  }
  /* On mobile use a top-to-bottom overlay so text at top stays readable
     while the cake photo shows through at the bottom */
  .hero.hero--no-visual::before {
    display: block;
    background: linear-gradient(
      180deg,
      rgba(255,248,243,0.97) 0%,
      rgba(255,248,243,0.90) 45%,
      rgba(255,248,243,0.55) 70%,
      rgba(255,248,243,0.15) 100%
    );
  }
}
.hero-tiers { position: absolute; right: -60px; top: -40px; z-index: 0; opacity: .5; pointer-events: none; }
.tier { position: absolute; border-radius: 999px 999px 20px 20px; }
.tier-3 { width: 280px; height: 90px; background: var(--cream); right: 40px; top: 160px; }
.tier-2 { width: 210px; height: 80px; background: var(--blush); right: 75px; top: 90px; }
.tier-1 { width: 150px; height: 70px; background: var(--rose); opacity: .18; right: 105px; top: 30px; }
.hero-topper { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); right: 174px; top: 14px; }

.hero-inner { position: relative; z-index: 1; }
.hero-inner h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; margin-bottom: .7rem; }
.hero-copy { font-size: 1.1rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.6rem 0 2rem; }
.hero-proof { display: flex; gap: 2rem; flex-wrap: wrap; font-size: .9rem; color: var(--cocoa-soft); }
.hero-proof strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--rose-dark); }

.hero-visual { position: relative; z-index: 1; }
.hero-photo-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.hero-photo-frame img.hero-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badge {
  position: absolute; left: -1.5rem; bottom: -1.2rem; background: #fff; border-radius: var(--radius-md);
  padding: .9rem 1.2rem; box-shadow: var(--shadow-md); max-width: 260px; font-size: .82rem; display: flex; flex-direction: column; gap: .3rem;
}
.badge-star { color: var(--gold); letter-spacing: 2px; }

.photo-placeholder {
  width: 100%; height: 100%; background: linear-gradient(145deg, var(--blush), var(--cream));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  color: var(--rose-dark); font-size: .85rem; font-weight: 500; text-align: center; padding: 1rem;
  border: 2px dashed rgba(212,106,106,.35);
}
.photo-placeholder.tall { border-radius: var(--radius-lg); aspect-ratio: 3/4; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
  .hero-tiers { display: none; }
}

/* ---------- Icing divider (signature element) ---------- */
.icing-divider { color: var(--rose); opacity: .55; height: 32px; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.icing-divider svg { width: 100%; height: 100%; }
.icing-divider.flip { transform: scaleY(-1); }
.icing-divider.on-dark { color: var(--cream); opacity: .5; }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem;
}
.cat-card {
  background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-photo { aspect-ratio: 4/3; overflow: hidden; }
.cat-photo .photo-placeholder { border-radius: 0; font-size: .72rem; padding: .5rem; }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-photo .photo-placeholder svg { width: 22px; height: 22px; }
.cat-body { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.cat-body h3 { font-size: 1.05rem; margin: 0; }
.cat-body p { font-size: .88rem; margin: 0 0 .6rem; flex: 1; }
.cat-body .btn { align-self: flex-start; padding: .5rem 1.1rem; font-size: .82rem; }

/* ---------- Cake grid + cards ---------- */
.cake-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem; }
.cake-card {
  background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); cursor: pointer; border: none; text-align: left;
  display: flex; flex-direction: column; width: 100%;
}
.cake-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cake-photo { aspect-ratio: 1/1; overflow: hidden; position: relative; }
.cake-photo .photo-placeholder { border-radius: 0; font-size: .7rem; }
.cake-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cake-photo .photo-placeholder svg { width: 24px; height: 24px; }
.cake-photo img, .cake-photo .photo-placeholder { transition: transform .5s var(--ease); }
.cake-card:hover .cake-photo img,
.cake-card:hover .cake-photo .photo-placeholder { transform: scale(1.06); }
.cake-info { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.badge {
  align-self: flex-start; background: var(--blush); color: var(--rose-dark); font-size: .72rem; font-weight: 600;
  padding: .3rem .7rem; border-radius: 999px; letter-spacing: .02em;
}
.cake-info h3 { font-size: 1.05rem; margin: .3rem 0 0; }
.cake-info p { font-size: .87rem; flex: 1; margin: 0 0 .8rem; }
.cake-info .btn { font-size: .82rem; padding: .55rem 1.1rem; }

.gallery-cta { text-align: center; margin-top: 2.5rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; margin-bottom: 4.5rem; }
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.mission-vision h3 { font-size: 1.05rem; color: var(--rose-dark); }
.mission-vision p { font-size: .92rem; }
.about-photo .photo-placeholder.tall { border-radius: var(--radius-lg); }
.about-photo .photo-placeholder.tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 380px; margin: 0 auto; }
  .mission-vision { grid-template-columns: 1fr; }
}

.why-us h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 2rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.3rem; }
.feature-card {
  background: #fff; border-radius: var(--radius-md); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); text-align: center;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto .6rem;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(252,235,232,0.9), rgba(244,217,184,0.9));
  color: var(--rose-dark);
  box-shadow: 0 6px 18px rgba(61,43,43,0.06), inset 0 -2px 4px rgba(255,255,255,0.35);
}
.feature-icon svg { width: 34px; height: 34px; display: block; }
.feature-icon svg path, .feature-icon svg rect, .feature-icon svg circle { stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon svg [fill="currentColor"] { fill: currentColor; }
.feature-card h4 { font-size: 1rem; margin-bottom: .4rem; }
.feature-card p { font-size: .86rem; margin: 0; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.review-card { background: #fff; border-radius: var(--radius-md); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); }
.review-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: .6rem; }
.review-card p { font-size: .92rem; font-style: italic; }
.review-author { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blush); color: var(--rose-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.review-author strong { display: block; font-size: .9rem; }
.review-author span { font-size: .78rem; color: var(--cocoa-soft); }
.review-note { text-align: center; font-size: .85rem; margin-top: 2rem; }
.review-note a { color: var(--rose-dark); font-weight: 600; }

/* ---------- Inquiry banner ---------- */
.inquiry-banner { background: var(--cocoa); color: #fff; padding-top: 2rem; }
.inquiry-inner {
  max-width: var(--container); margin: 0 auto; padding: 2rem 1.5rem 5rem;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start;
}
.inquiry-copy .eyebrow { color: var(--cream); }
.inquiry-copy h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.inquiry-copy p { color: rgba(255,255,255,.75); }

.inquiry-form { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg); color: var(--cocoa); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 600; }
.field label span { color: var(--rose); margin-left: .2rem; }
.field input, .field select, .field textarea {
  padding: .7rem .9rem; border: 1.5px solid rgba(61,43,43,.15); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .92rem; background: var(--bg); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(212,106,106,.15); outline: none; }
.field input[readonly] { color: var(--cocoa-soft); }
.form-note { margin: .8rem 0 0; font-size: .85rem; min-height: 1.2em; color: var(--rose-dark); font-weight: 600; }

@media (max-width: 800px) {
  .inquiry-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-row { display: flex; gap: 1rem; margin-bottom: 1.6rem; align-items: flex-start; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; }
.contact-row strong { display: block; font-size: .95rem; margin-bottom: .2rem; }
.contact-row p { font-size: .92rem; margin: 0; }
.contact-row em { color: var(--rose-dark); font-style: normal; font-size: .8rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { font-weight: 600; color: var(--rose-dark); }
.social-links a:hover { text-decoration: underline; }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 340px; }

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

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(61,43,43,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem; z-index: 300;
  opacity: 0; transition: opacity .25s var(--ease);
}
.modal-overlay.visible { opacity: 1; }
.modal-overlay[hidden] { display: none; }
.modal {
  background: #fff; border-radius: var(--radius-lg); max-width: 780px; width: 100%; max-height: 88vh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr; position: relative; box-shadow: var(--shadow-lg);
  transform: scale(.94) translateY(10px); opacity: 0; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.modal-overlay.visible .modal { transform: scale(1) translateY(0); opacity: 1; }
.modal-photo { aspect-ratio: 1/1; position: relative; overflow: hidden; background: #FAF0F2; }
.modal-slider { width: 100%; height: 100%; position: relative; overflow: hidden; }
.slider-track { width: 100%; height: 100%; display: flex; transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.modal-cake-img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; display: block; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(61, 43, 43, 0.12); color: var(--cocoa);
  font-size: 1.5rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; transition: all 0.2s var(--ease); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); user-select: none;
}
.slider-btn:hover {
  background: #ffffff; color: var(--rose-dark); transform: translateY(-50%) scale(1.08); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.slider-btn.prev-btn { left: 10px; }
.slider-btn.next-btn { right: 10px; }

.slider-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.25); cursor: pointer; transition: all 0.25s var(--ease);
}
.slider-dot.active {
  width: 22px; border-radius: 10px; background: var(--rose); border-color: var(--rose-dark);
}

.slider-counter {
  position: absolute; top: 10px; right: 10px; background: rgba(61, 43, 43, 0.72); color: #ffffff;
  font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 999px; z-index: 10;
  letter-spacing: 0.05em; backdrop-filter: blur(4px);
}

.modal-body { padding: 2rem; display: flex; flex-direction: column; }
.modal-body h3 { font-size: 1.5rem; margin: .5rem 0 .3rem; }
.modal-specs { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; font-size: .85rem; margin: 1rem 0 1.5rem; }
.modal-specs dt { font-weight: 600; color: var(--rose-dark); }
.modal-specs dd { margin: 0; color: var(--cocoa-soft); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; background: #fff; border: none; width: 36px; height: 36px; border-radius: 50%;
  box-shadow: var(--shadow-sm); font-size: 1rem; z-index: 20; transition: background .2s var(--ease);
}
.modal-close:hover { background: var(--blush); }

@media (max-width: 640px) {
  .modal { grid-template-columns: 1fr; }
  .modal-photo { aspect-ratio: 1/1; }
  .modal-cake-img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .slider-btn { width: 34px; height: 34px; font-size: 1.3rem; }
  .slider-btn.prev-btn { left: 6px; }
  .slider-btn.next-btn { right: 6px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--cocoa); color: rgba(255,255,255,.8); padding-top: 3.5rem; }
.footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 1.5rem 3rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-brand p { color: rgba(255,255,255,.6); font-size: .88rem; margin: .8rem 0 1rem; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; font-size: .88rem; margin-bottom: .6rem; color: rgba(255,255,255,.7); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 1.5rem; text-align: center; font-size: .8rem; color: rgba(255,255,255,.5); }

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Scroll-reveal ---------- */
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- Header Track Order Button ---------- */
.btn-track-pill {
  background: transparent; color: var(--rose-dark); border: 1.5px solid var(--rose-dark);
  padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.4rem; transition: all 0.25s var(--ease);
}
.btn-track-pill:hover {
  background: var(--blush); color: var(--rose-dark); transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(184,79,79,0.15);
}

/* ---------- Status Badges ---------- */
.badge-status {
  display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 600;
  padding: 0.35rem 0.85rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-status-pending { background: #FFF3CD; color: #856404; border: 1px solid #FFEEBA; }
.badge-status-confirmed { background: #D1ECF1; color: #0C5460; border: 1px solid #BEE5EB; }
.badge-status-preparing { background: #E2E3E5; color: #383D41; border: 1px solid #D6D8DB; }
.badge-status-ready { background: #D4EDDA; color: #155724; border: 1px solid #C3E6CB; }
.badge-status-completed { background: #C3E6CB; color: #155724; border: 1px solid #8FD19E; font-weight: 700; }
.badge-status-cancelled { background: #F8D7DA; color: #721C24; border: 1px solid #F5C6CB; }
.badge-status-default { background: var(--blush); color: var(--rose-dark); }

/* ---------- Order & Booking Modal ---------- */
.order-modal {
  max-width: 680px; width: 100%; max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); padding: 2.2rem;
  box-shadow: var(--shadow-lg); position: relative;
}
.order-modal-header { margin-bottom: 1.5rem; text-align: center; }
.order-modal-header h3 { font-size: 1.8rem; margin: 0 0 0.4rem; color: var(--cocoa); }
.order-modal-header p { font-size: 0.95rem; margin: 0; color: var(--cocoa-soft); }

.cake-preview-banner {
  display: flex; align-items: center; gap: 1.2rem; background: var(--blush);
  border-radius: var(--radius-md); padding: 0.9rem 1.2rem; margin-bottom: 1.5rem;
  border: 1px solid rgba(212,106,106,0.2);
}
.cake-preview-img { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.cake-preview-info h4 { margin: 0 0 0.2rem; font-size: 1.1rem; }
.cake-preview-info p { margin: 0; font-size: 0.85rem; color: var(--rose-dark); font-weight: 600; }

.segmented-toggle {
  display: grid; grid-template-columns: 1fr 1fr; background: var(--bg);
  border: 1.5px solid rgba(61,43,43,0.15); border-radius: var(--radius-sm);
  padding: 3px; gap: 4px; margin-bottom: 1rem;
}
.segmented-toggle label {
  text-align: center; padding: 0.65rem 1rem; font-size: 0.88rem; font-weight: 600;
  border-radius: 6px; cursor: pointer; transition: all 0.2s var(--ease);
}
.segmented-toggle input[type="radio"] { display: none; }
.segmented-toggle input[type="radio"]:checked + label {
  background: var(--rose); color: #fff; box-shadow: var(--shadow-sm);
}

.upload-dropzone {
  border: 2px dashed rgba(212,106,106,0.35); border-radius: var(--radius-sm);
  padding: 1.2rem; text-align: center; background: var(--bg); cursor: pointer;
  transition: all 0.2s var(--ease); position: relative;
}
.upload-dropzone:hover { border-color: var(--rose); background: #FFF0ED; }
.upload-dropzone input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.upload-dropzone-content { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; font-size: 0.85rem; color: var(--cocoa-soft); }
.upload-dropzone-icon { font-size: 1.6rem; color: var(--rose); }
.upload-preview-thumb {
  max-width: 120px; max-height: 120px; border-radius: var(--radius-sm); object-fit: cover;
  margin-top: 0.6rem; display: none; border: 2px solid var(--rose);
}

/* ---------- Order Confirmation Modal ---------- */
.confirmation-card {
  max-width: 580px; width: 100%; max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg); text-align: center; position: relative;
}
.confirmation-icon {
  width: 70px; height: 70px; border-radius: 50%; background: #E8F5E9; color: #2E7D32;
  font-size: 2.2rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem; box-shadow: 0 4px 15px rgba(46,125,50,0.15);
}
.confirmation-card h3 { font-size: 1.8rem; margin: 0 0 0.4rem; color: var(--cocoa); }
.order-number-banner {
  background: var(--blush); border: 2px dashed var(--rose); border-radius: var(--radius-md);
  padding: 1.2rem; margin: 1.5rem 0;
}
.order-number-banner .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cocoa-soft); font-weight: 600; }
.order-number-banner .number {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--rose-dark);
  margin: 0.3rem 0; letter-spacing: 0.05em;
}
.order-summary-list {
  text-align: left; background: var(--bg); border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem; margin: 1.5rem 0; font-size: 0.9rem;
}
.order-summary-row {
  display: flex; justify-content: space-between; padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(61,43,43,0.08);
}
.order-summary-row:last-child { border-bottom: none; }
.order-summary-row strong { color: var(--cocoa); }

/* ---------- Order Tracking Modal & Timeline ---------- */
.track-modal {
  max-width: 620px; width: 100%; max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); padding: 2.2rem;
  box-shadow: var(--shadow-lg); position: relative;
}
.track-search-box {
  background: var(--bg); border-radius: var(--radius-md); padding: 1.4rem;
  margin-bottom: 1.5rem; border: 1px solid rgba(61,43,43,0.08);
}
.timeline-stepper {
  display: flex; justify-content: space-between; position: relative;
  margin: 2rem 0 1.5rem; padding: 0 0.5rem;
}
.timeline-stepper::before {
  content: ''; position: absolute; top: 16px; left: 25px; right: 25px; height: 3px;
  background: rgba(61,43,43,0.12); z-index: 1;
}
.timeline-progress-bar {
  position: absolute; top: 16px; left: 25px; height: 3px;
  background: var(--rose); z-index: 2; transition: width 0.4s var(--ease);
}
.timeline-step {
  position: relative; z-index: 3; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 0.4rem; width: 68px;
}
.step-dot {
  width: 34px; height: 34px; border-radius: 50%; background: #fff;
  border: 2px solid rgba(61,43,43,0.25); display: flex; align-items: center;
  justify-content: center; font-size: 0.85rem; font-weight: 600; color: var(--cocoa-soft);
  transition: all 0.3s var(--ease);
}
.timeline-step.completed .step-dot {
  background: var(--rose); border-color: var(--rose); color: #fff;
}
.timeline-step.active .step-dot {
  background: var(--gold); border-color: var(--gold); color: #fff;
  box-shadow: 0 0 0 4px rgba(201,166,107,0.25);
}
.step-title { font-size: 0.75rem; font-weight: 600; color: var(--cocoa-soft); line-height: 1.2; }
.timeline-step.active .step-title,
.timeline-step.completed .step-title { color: var(--cocoa); font-weight: 700; }

