/* ================================================================
   meetha bharat° — Design System
   brand-design.md · design.md · animations.md · writeskill.md
   ================================================================ */

/* ----------------------------------------------------------------
   1. DESIGN TOKENS
   8pt spatial grid · Token-driven, never magic numbers
   ---------------------------------------------------------------- */
:root {
  /* Brand Gradient */
  --brand-pink:    #FF057C;
  --brand-magenta: #F20866;
  --brand-crimson: #EE1C25;
  --mb-gradient:   linear-gradient(105deg, #FF057C 0%, #F20866 48%, #EE1C25 100%);
  --mb-shadow:     0 10px 24px -6px rgba(242, 8, 102, 0.40);

  /* Surfaces */
  --surface-white:  #FFFFFF;
  --surface-blush:  #FFF7FA;
  --surface-blush2: #FFF0F5;
  --surface-dark:   #12090D;

  /* Text */
  --text-primary:   #1a1018;
  --text-secondary: #5c4a54;
  --text-muted:     #8a7580;
  --text-on-dark:   rgba(255, 255, 255, 0.70);

  /* Typography */
  --font-display: 'Fredoka', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing — 8pt grid */
  --s1:  0.25rem;   /*  4px */
  --s2:  0.5rem;    /*  8px */
  --s3:  0.75rem;   /* 12px */
  --s4:  1rem;      /* 16px */
  --s5:  1.5rem;    /* 24px */
  --s6:  2rem;      /* 32px */
  --s7:  2.5rem;    /* 40px */
  --s8:  3rem;      /* 48px */
  --s10: 4rem;      /* 64px */
  --s12: 5rem;      /* 80px */
  --s14: 6rem;      /* 96px */
  --s16: 8rem;      /* 128px */

  /* Radii */
  --r-sm:   0.5rem;
  --r-md:   0.75rem;
  --r-lg:   1rem;
  --r-xl:   1.5rem;
  --r-2xl:  2rem;
  --r-pill: 9999px;

  /* Transitions (animations.md) */
  --ease-micro:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-component: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-micro:        150ms;
  --t-component:    260ms;
}

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background-color: var(--surface-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }

/* WCAG 2.2 AA — visible focus rings on every interactive element */
:focus-visible {
  outline: 2.5px solid var(--brand-pink);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ----------------------------------------------------------------
   3. TYPOGRAPHY UTILITIES
   ---------------------------------------------------------------- */
.text-gradient {
  background: var(--mb-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----------------------------------------------------------------
   4. LAYOUT UTILITIES
   ---------------------------------------------------------------- */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--s4);
}

@media (min-width: 640px)  { .container { padding-inline: var(--s5); } }
@media (min-width: 1024px) { .container { padding-inline: var(--s8); } }

.section {
  padding-block: var(--s12);
}

@media (min-width: 1024px) { .section { padding-block: var(--s14); } }

.section-blush  { background-color: var(--surface-blush); }
.section-dark   { background-color: var(--surface-dark);  }

/* ----------------------------------------------------------------
   5. SECTION HEADER
   ---------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--s8);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-magenta);
  margin-bottom: var(--s2);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.375rem);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--s3);
  text-wrap: balance;
}

.section-subtitle {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 52ch;
  margin-inline: auto;
}

/* ----------------------------------------------------------------
   6. BUTTONS
   brand-design.md: full pill, gradient primary, click ripple
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: var(--s3) var(--s6);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  min-height: 48px;        /* 44px min touch target */
  min-width: 44px;
  transition:
    transform   var(--t-micro) var(--ease-micro),
    box-shadow  var(--t-micro) var(--ease-micro),
    border-color var(--t-micro) var(--ease-micro),
    color       var(--t-micro) var(--ease-micro);
  position: relative;
  overflow: hidden;
}

/* Signature Degree Motif (°) Click Ripple (brand-design.md) */
.mb-ripple-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 3.5px solid var(--brand-pink);
  transform: translate(-50%, -50%) scale(0);
  animation: mbRippleExpand 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mbRippleExpand {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
    border-color: var(--brand-pink);
  }
  50% {
    border-color: var(--brand-magenta);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    border-color: var(--brand-crimson);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mb-ripple-ring { display: none !important; }
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: var(--mb-gradient);
  color: #fff;
  box-shadow: var(--mb-shadow);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px -6px rgba(242, 8, 102, 0.50);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(0,0,0,0.12);
}

.btn-secondary:hover {
  border-color: rgba(242,8,102,0.35);
  color: var(--brand-magenta);
}

.btn-sm {
  padding: var(--s2) var(--s5);
  font-size: 0.875rem;
  min-height: 40px;
}

/* ----------------------------------------------------------------
   7. NAVIGATION
   ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding: var(--s4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

@media (min-width: 640px)  { .nav-inner { padding-inline: var(--s5); } }
@media (min-width: 1024px) { .nav-inner { padding-inline: var(--s8); } }

/* Logo */
.nav-logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3125rem;
  line-height: 1;
  background: var(--mb-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

/* Desktop links */
.nav-links {
  display: none;
  list-style: none;
  gap: var(--s6);
  align-items: center;
}

@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding-block: var(--s1);
  transition: color var(--t-micro) var(--ease-micro);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2.5px;
  background: var(--mb-gradient);
  border-radius: var(--r-pill);
  transition: width var(--t-component) var(--ease-micro);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5.5px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s2);
  min-width: 44px;
  min-height: 44px;
}

@media (min-width: 768px) { .nav-toggle { display: none; } }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: var(--r-pill);
  transition:
    transform 360ms var(--ease-spring),
    opacity   180ms var(--ease-micro);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: var(--surface-white);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: var(--s4);
  z-index: 199;
  flex-direction: column;
  gap: var(--s1);
}

.mobile-menu[data-open="true"] { display: flex; }

@media (min-width: 768px) { .mobile-menu { display: none !important; } }

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-inline: var(--s2);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  border-radius: var(--r-md);
  transition: background var(--t-micro) var(--ease-micro), color var(--t-micro) var(--ease-micro);
}

.mobile-menu a:hover { background: var(--surface-blush); color: var(--text-primary); }

/* ----------------------------------------------------------------
   8. HERO
   ---------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top:    calc(var(--s16) + var(--s6));
  padding-bottom: var(--s12);
  padding-inline: var(--s4);
  position: relative;
  overflow: hidden;
  background: var(--surface-white);
}

/* Soft warm radial glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%,
      rgba(255,5,124,0.055) 0%, transparent 70%);
  pointer-events: none;
}

.hero-mithai-box {
  position: absolute;
  z-index: 0;
  right: clamp(8px, 3vw, 44px);
  bottom: 5%;
  width: clamp(190px, 27vw, 360px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(75, 28, 56, .16));
  pointer-events: none;
  user-select: none;
}

@media (max-width: 640px) {
  .hero-mithai-box {
    right: -28px;
    bottom: 3%;
    width: clamp(150px, 44vw, 220px);
    opacity: .88;
  }
}

/* Animated SVG wordmark stage */
.mb-hero-stage {
  position: relative;
  z-index: 1;
  margin-bottom: var(--s7);
}

.mb-hero-stage svg {
  width: clamp(280px, 70vw, 460px);
  height: auto;
}

/* Character pop — spring physics (animations.md) */
.mb-char {
  opacity: 0;
  transform: translateY(18px) scale(0.84);
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: mbCharPop 0.65s var(--ease-spring) forwards;
}

@keyframes mbCharPop {
  0%  { opacity: 0; transform: translateY(18px) scale(0.84); }
  70% { opacity: 1; transform: translateY(-3px) scale(1.03); }
  100%{ opacity: 1; transform: translateY(0)    scale(1);    }
}

/* Staggered text reveals */
.hero-eyebrow  { animation: heroUp 0.55s var(--ease-micro) 0.72s both; }
.hero-heading  { animation: heroUp 0.55s var(--ease-micro) 0.84s both; }
.hero-desc     { animation: heroUp 0.55s var(--ease-micro) 0.96s both; }
.hero-actions  { animation: heroUp 0.5s  var(--ease-micro) 1.08s both; }
.hero-trust    { animation: heroUp 0.45s var(--ease-micro) 1.20s both; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-magenta);
  margin-bottom: var(--s3);
  position: relative; z-index: 1;
  opacity: 0;
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.875rem, 5.5vw, 3.25rem);
  line-height: 1.18;
  color: var(--text-primary);
  max-width: 18ch;
  margin: 0 auto var(--s4);
  text-wrap: balance;
  position: relative; z-index: 1;
  opacity: 0;
}

.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0 auto var(--s7);
  line-height: 1.75;
  position: relative; z-index: 1;
  opacity: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  justify-content: center;
  margin-bottom: var(--s5);
  position: relative; z-index: 1;
  opacity: 0;
}

.hero-trust {
  font-size: 0.8125rem;
  color: var(--text-muted);
  position: relative; z-index: 1;
  opacity: 0;
}

.hero-trust span { margin-inline: var(--s2); opacity: 0.4; }

/* ----------------------------------------------------------------
   9. SWEET CARDS
   ---------------------------------------------------------------- */
.sweets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s5);
}

.sweet-card {
  background: var(--surface-white);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.055);
  transition:
    transform    var(--t-component) var(--ease-micro),
    box-shadow   var(--t-component) var(--ease-micro);
}

.sweet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -10px rgba(242,8,102,0.13);
}

.sweet-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.sweet-card-body {
  padding: var(--s4) var(--s5) var(--s5);
}

.sweet-card-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: var(--s1);
}

.sweet-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ----------------------------------------------------------------
   10. VALUE CARDS
   ---------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--s6);
}

.value-card { text-align: center; }

.value-icon {
  width: 60px; height: 60px;
  border-radius: var(--r-lg);
  background: var(--surface-blush2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--s4);
}

.value-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: var(--s2);
}

.value-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 32ch;
  margin-inline: auto;
}

/* ----------------------------------------------------------------
   11. PILL BADGE (inline label)
   ---------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  padding: var(--s1) var(--s3);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--surface-blush2);
  color: var(--brand-magenta);
  border: 1px solid rgba(242,8,102,0.15);
}

/* ----------------------------------------------------------------
   12. DIVIDER
   ---------------------------------------------------------------- */
.gradient-divider {
  width: 56px;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--mb-gradient);
  margin-block: var(--s4);
}

.section-header .gradient-divider { margin-inline: auto; }

/* ----------------------------------------------------------------
   13. FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background-color: var(--surface-dark);
  color: var(--text-on-dark);
}

.footer-top {
  padding-top: var(--s10);
  padding-bottom: var(--s8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
}

@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  color: #fff;
  margin-bottom: var(--s3);
  background: var(--mb-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 38ch;
}

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  margin-bottom: var(--s3);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--t-micro) var(--ease-micro);
}

.footer-links a:hover { color: #fff; }

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  font-size: 0.9rem;
  margin-bottom: var(--s3);
}

.footer-contact-icon { flex-shrink: 0; font-size: 1rem; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: var(--s5);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

/* ----------------------------------------------------------------
   14. PAGE HERO (inner pages — shorter than home hero)
   ---------------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--s16) + var(--s4));
  padding-bottom: var(--s10);
  padding-inline: var(--s4);
  text-align: center;
  background: var(--surface-blush);
  position: relative;
  overflow: hidden;
}

/* Signature Degree Motif (°) Click Ripple (brand-design.md) */
.mb-ripple-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 3.5px solid var(--brand-pink);
  transform: translate(-50%, -50%) scale(0);
  animation: mbRippleExpand 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mbRippleExpand {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
    border-color: var(--brand-pink);
  }
  50% {
    border-color: var(--brand-magenta);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    border-color: var(--brand-crimson);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mb-ripple-ring { display: none !important; }
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 50% 100%,
      rgba(255,5,124,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-eyebrow {
  display: block;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-magenta);
  margin-bottom: var(--s3);
  position: relative; z-index: 1;
}

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--s4);
  text-wrap: balance;
  position: relative; z-index: 1;
}

.page-hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 50ch;
  margin-inline: auto;
  line-height: 1.75;
  position: relative; z-index: 1;
}

/* ----------------------------------------------------------------
   15. SCROLL-REVEAL (JS-driven, respects reduced-motion)
   ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity  0.6s var(--ease-micro),
    transform 0.6s var(--ease-micro);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------------
   16. REDUCED MOTION — collapse all spatial movement
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .mb-char {
    animation-name: mbCharFade;
  }
  @keyframes mbCharFade {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .hero-eyebrow,
  .hero-heading,
  .hero-desc,
  .hero-actions,
  .hero-trust {
    animation: mbCharFade 0.3s ease both;
  }

  .reveal {
    opacity: 0;
    transform: none;
    transition: opacity 0.4s ease;
  }

  .reveal.is-visible { opacity: 1; }

  .sweet-card:hover,
  .btn:hover { transform: none; }
}

/* ----------------------------------------------------------------
   17. PAGE LOADER — Cursive 'mb' ribbon animation
   ---------------------------------------------------------------- */
.mb-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--surface-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mb-loader-overlay.mb-loader--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mb-ribbon-stroke {
  stroke: url(#mbLoaderGrad);
  stroke-width: 6.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  animation: mbRibbonLoop 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.mb-degree-ring {
  fill: none;
  transform-origin: 147px 32px;
  animation: mbRingPulse 2.4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

@keyframes mbRibbonLoop {
  0%           { stroke-dashoffset: 460; }
  45%, 62%     { stroke-dashoffset: 0; }
  100%         { stroke-dashoffset: -460; }
}

@keyframes mbRingPulse {
  0%, 28%, 88%, 100% { transform: scale(0); opacity: 0; }
  45%, 68%           { transform: scale(1); opacity: 1; }
}

/* ----------------------------------------------------------------
   18. HAMBURGER — Cursive 'mb' morph toggle
   ---------------------------------------------------------------- */
.mb-ham-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s1);
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--r-md);
  transition: background var(--t-micro) var(--ease-micro);
  flex-shrink: 0;
}

.mb-ham-btn:hover { background: var(--surface-blush); }

@media (min-width: 768px) { .mb-ham-btn { display: none; } }

.ham-mb-ribbon {
  stroke-dasharray: 220;
  stroke-dashoffset: 0;
  transition:
    stroke-dashoffset 0.45s cubic-bezier(0.65, 0, 0.35, 1),
    opacity           0.3s ease;
}

.ham-x {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  transition: stroke-dashoffset 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s;
}

.mb-ham-btn.is-open .ham-mb-ribbon { stroke-dashoffset: 220; opacity: 0; }
.mb-ham-btn.is-open .ham-x         { stroke-dashoffset: 0; }

/* ----------------------------------------------------------------
   19. MARQUEE STRIP
   ---------------------------------------------------------------- */
.marquee-outer {
  overflow: hidden;
  background: var(--mb-gradient);
  padding-block: 0.8125rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeLeft 32s linear infinite;
}

.marquee-item {
  flex-shrink: 0;
  padding-inline: 2rem;
  color: rgba(255, 255, 255, 0.90);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.01em;
}

.marquee-item::after { content: '°'; color: rgba(255, 255, 255, 0.45); }

@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ----------------------------------------------------------------
   20. FEATURED — Alternating 2-col product sections
   ---------------------------------------------------------------- */
.featured-section { overflow: hidden; }

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
  align-items: center;
  max-width: 1100px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .featured-grid { grid-template-columns: 1fr 1fr; gap: var(--s12); }
  .featured-grid--img-right .featured-img-wrap { order: 2; }
  .featured-grid--img-right .featured-content   { order: 1; }
  .featured-grid--img-left  .featured-img-wrap  { order: 1; }
  .featured-grid--img-left  .featured-content   { order: 2; }
}

.featured-img-wrap {
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: 0 20px 56px -12px rgba(0, 0, 0, 0.14);
}

.featured-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-component);
}

.featured-img-wrap:hover img { transform: scale(1.04); }

.featured-content { padding: var(--s4) 0; }

.featured-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.875rem);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--s3);
}

.featured-desc {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.80;
  margin-bottom: var(--s6);
  max-width: 46ch;
}

/* ----------------------------------------------------------------
   21. FULL-BLEED BANNER
   ---------------------------------------------------------------- */
.banner-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(18,9,13,0.86) 0%, rgba(18,9,13,0.60) 100%);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: var(--s12) var(--s5);
  max-width: 700px;
}

.banner-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.60);
  margin-bottom: var(--s3);
}

.banner-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  line-height: 1.08;
  margin-bottom: var(--s4);
}

.banner-desc {
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.72;
  margin-bottom: var(--s7);
  max-width: 44ch;
  margin-inline: auto;
}

.btn-white {
  background: #fff;
  color: var(--brand-magenta);
  border: none;
  font-weight: 700;
}

.btn-white:hover {
  background: var(--surface-blush);
  box-shadow: 0 10px 32px -6px rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------------
   22. SCROLL INDICATOR
   ---------------------------------------------------------------- */
.scroll-indicator {
  position: absolute;
  bottom: var(--s6);
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
  animation: scrollBounce 2.2s var(--ease-micro) 1.6s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);  opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) { .scroll-indicator { animation: none; } }

/* Quiet concept disclosure shown before each page becomes interactive. */
.ovel-preroll-overlay { position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; color: #0a0a0d; font-family: var(--font-body, Inter, sans-serif); animation: ovelCurtainFade .75s cubic-bezier(.22,1,.36,1) 7.25s forwards; }
.ovel-composition { width: min(520px, 90%); padding: 2rem; text-align: center; }
.ovel-logo-block { display: flex; flex-direction: column; align-items: center; animation: ovelSlideUp .75s cubic-bezier(.22,1,.36,1) .1s both; }
.ovel-sub { margin-top: .25rem; color: #686878; font-size: .6875rem; font-weight: 600; letter-spacing: .28em; }
.ovel-rule { width: 48px; height: 2px; margin: 1.75rem auto; background: #6214e8; }
.ovel-copy { animation: ovelSlideUp .8s cubic-bezier(.22,1,.36,1) 1.45s both; }
.ovel-copy h2 { margin: 0 0 .65rem; font-size: 1.25rem; }
.ovel-copy p { margin: 0; color: #454552; font-size: .9375rem; line-height: 1.7; }
.ovel-progress-track { position: absolute; bottom: 32px; width: min(85%, 420px); height: 3px; overflow: hidden; border-radius: 99px; background: #e6e6ec; }
.ovel-progress-fill { width: 100%; height: 100%; background: #6214e8; transform-origin: left; animation: ovelProgress 8s linear forwards; }
@keyframes ovelSlideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ovelProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ovelCurtainFade { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .ovel-preroll-overlay { animation: none; opacity: 0; visibility: hidden; pointer-events: none; } .ovel-logo-block, .ovel-copy { animation: none; opacity: 1; transform: none; } .ovel-progress-fill { animation: none; } }

.sweets-page .sweet-card[data-category="namkeen"], .sweets-page .sweet-card:has([data-id="almond-laddu"]), .sweets-page .sweet-card:has([data-id="besan-laddu"]), .sweets-page .sweet-card:has([data-id="shenga-chikki-amp-laddu"]), .sweets-page .sweet-card:has([data-id="gur-katori"]) { display: none !important; }
.sweets-page .filter-btn[data-filter="namkeen"] { display: none !important; }
.bites-page .sweet-card[data-category="namkeen"], .bites-page .sweet-card[data-category="special"], .bites-page .filter-btn[data-filter="namkeen"], .bites-page .filter-btn[data-filter="special"] { display: none !important; }

/* ----------------------------------------------------------------
   23. FILTER TABS (sweets page)
   ---------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  justify-content: center;
  margin-bottom: var(--s8);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.5625rem var(--s5);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 1.5px solid rgba(0,0,0,0.12);
  background: transparent;
  color: var(--text-secondary);
  min-height: 44px;
  transition:
    background   var(--t-micro) var(--ease-micro),
    border-color var(--t-micro) var(--ease-micro),
    color        var(--t-micro) var(--ease-micro),
    box-shadow   var(--t-micro) var(--ease-micro);
}

.filter-btn:hover { border-color: rgba(242,8,102,0.3); color: var(--brand-magenta); }

.filter-btn.active {
  background: var(--mb-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--mb-shadow);
}

.filter-count { font-size: 0.75rem; font-weight: 400; opacity: 0.8; }

/* ----------------------------------------------------------------
   24. CONTACT FORM
   ---------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s7);
  max-width: 1100px;
  margin-inline: auto;
}

@media (min-width: 768px) { .contact-layout { grid-template-columns: 1.35fr 1fr; } }

.contact-form-card {
  background: var(--surface-white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--r-2xl);
  padding: var(--s7) var(--s6);
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.06);
}

.contact-form-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: var(--s5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}

@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: var(--s1); margin-bottom: var(--s4); }

.form-label { font-weight: 500; font-size: 0.9375rem; color: var(--text-secondary); }

.form-input,
.form-select,
.form-textarea {
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--surface-white);
  min-height: 48px;
  width: 100%;
  transition: border-color var(--t-micro) var(--ease-micro), box-shadow var(--t-micro) var(--ease-micro);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-magenta);
  box-shadow: 0 0 0 3px rgba(242,8,102,0.10);
}

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

.form-trust {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--s3);
}

.contact-info-panel { display: flex; flex-direction: column; gap: var(--s4); }

.info-card {
  background: var(--surface-blush);
  border-radius: var(--r-xl);
  padding: var(--s5);
  border: 1px solid rgba(242,8,102,0.08);
  transition: transform var(--t-component) var(--ease-micro), box-shadow var(--t-component) var(--ease-micro);
}

.info-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -6px rgba(242,8,102,0.12); }

.info-card-icon  { font-size: 1.375rem; margin-bottom: var(--s2); }

.info-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--text-primary);
  margin-bottom: var(--s1);
}

.info-card-text { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.65; }

.info-card-link {
  color: var(--brand-magenta);
  font-weight: 500;
  transition: opacity var(--t-micro) var(--ease-micro);
}

.info-card-link:hover { opacity: 0.75; }

/* ----------------------------------------------------------------
   25. ABOUT — Story sections
   ---------------------------------------------------------------- */
.story-section { overflow: hidden; }

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
  align-items: center;
  max-width: 1100px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .story-grid { grid-template-columns: 1fr 1fr; gap: var(--s12); }
  .story-grid--reverse .story-img  { order: 2; }
  .story-grid--reverse .story-text { order: 1; }
}

.story-img {
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: 0 20px 56px -12px rgba(0,0,0,0.14);
}

.story-img img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  transition: transform 0.65s var(--ease-component);
}

.story-img:hover img { transform: scale(1.03); }

.story-text h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: var(--s3);
}

.story-text p {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.82;
  margin-bottom: var(--s4);
}

.story-text p:last-of-type { margin-bottom: var(--s5); }

.pull-quote { text-align: center; max-width: 700px; margin-inline: auto; padding: var(--s4) 0; }

.pull-quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.5;
  background: var(--mb-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--s3);
  display: block;
}

.pull-quote-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: var(--s3);
}

.pull-quote-attr {
  font-size: 0.9375rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------
   26. PHOTO GRID (about page gallery)
   ---------------------------------------------------------------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
}

@media (min-width: 640px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }

.photo-grid-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1;
}

.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-component);
}

.photo-grid-item:hover img { transform: scale(1.06); }

/* photo grid first item spans 2 cols on larger screens */
@media (min-width: 640px) {
  .photo-grid-item--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
}

/* ----------------------------------------------------------------
   27. COMPACT SPINNER (inline loading state)
   ---------------------------------------------------------------- */
.mb-spin-arc {
  transform-origin: 50px 50px;
  animation: mbSpin360 1.3s cubic-bezier(0.5, 0.15, 0.5, 0.85) infinite;
}

@keyframes mbSpin360 { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) { .mb-spin-arc { animation: none; } }

/* ----------------------------------------------------------------
   28. HERO ICON BADGES (4 authentic brand pillars)
   ---------------------------------------------------------------- */
.hero-icon-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
  max-width: 760px;
  margin: var(--s6) auto 0;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroUp 0.55s var(--ease-micro) 1.25s both;
}

@media (min-width: 640px) {
  .hero-icon-badges {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s3);
  }
}

.hero-icon-badge {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.625rem 0.875rem;
  background: var(--surface-white);
  border: 1px solid rgba(242, 8, 102, 0.16);
  border-radius: var(--r-pill);
  box-shadow: 0 4px 16px -4px rgba(242, 8, 102, 0.08);
  transition: transform var(--t-micro) var(--ease-micro),
              box-shadow var(--t-micro) var(--ease-micro),
              border-color var(--t-micro) var(--ease-micro);
}

.hero-icon-badge:hover {
  transform: translateY(-2px);
  border-color: var(--brand-pink);
  box-shadow: 0 8px 24px -6px rgba(242, 8, 102, 0.16);
}

.hero-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-icon-text {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

/* ----------------------------------------------------------------
   29. HUBBALLI BRANCHES SECTION (At end of scroll)
   ---------------------------------------------------------------- */
.branches-section {
  background: linear-gradient(180deg, var(--surface-white) 0%, var(--surface-blush) 100%);
  border-top: 1px solid rgba(242, 8, 102, 0.08);
  padding-block: var(--s12);
}

.branches-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
  max-width: 1100px;
  margin-inline: auto;
  align-items: center;
}

@media (min-width: 900px) {
  .branches-layout {
    grid-template-columns: 1.35fr 1fr;
    gap: var(--s10);
  }
}

.branches-list {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.branch-card {
  background: var(--surface-white);
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--r-pill);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: var(--s4);
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.05);
  transition: transform var(--t-component) var(--ease-micro),
              border-color var(--t-component) var(--ease-micro),
              box-shadow var(--t-component) var(--ease-micro);
}

.branch-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 8, 102, 0.35);
  box-shadow: 0 12px 28px -6px rgba(242, 8, 102, 0.14);
}

.branch-badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-blush);
  border: 1.5px solid rgba(242, 8, 102, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branch-badge-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.branch-info {
  flex: 1;
  min-width: 0;
}

.branch-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.branch-address {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.branch-address-pin {
  color: var(--brand-magenta);
  flex-shrink: 0;
}

.branch-action-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-magenta);
  white-space: nowrap;
  padding: 0.4rem 0.875rem;
  border-radius: var(--r-pill);
  background: var(--surface-blush);
  transition: background var(--t-micro) var(--ease-micro), color var(--t-micro) var(--ease-micro);
  flex-shrink: 0;
}

.branch-action-link:hover {
  background: var(--mb-gradient);
  color: #fff;
}

.branch-visual-card {
  background: var(--surface-white);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: 0 16px 48px -12px rgba(242, 8, 102, 0.16);
  border: 1px solid rgba(242, 8, 102, 0.12);
  text-align: center;
}

.branch-visual-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.branch-visual-caption {
  padding: var(--s4) var(--s5);
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ----------------------------------------------------------------
   30. CRUNCH SPECIALTY CARDS
   ---------------------------------------------------------------- */
.crunch-highlight-strip {
  background: linear-gradient(135deg, #FFF7FA 0%, #FFF0F5 100%);
  border-block: 1px solid rgba(242, 8, 102, 0.12);
  padding-block: var(--s12);
}

.crunch-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  padding: 0.35rem 0.85rem;
  background: var(--mb-gradient);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------
   31. SHOPPING CART, DRAWER, PRICE TAGS & TOAST
   ---------------------------------------------------------------- */

/* Card pricing & Order button row */
.sweet-card-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  gap: var(--s2);
}

.sweet-card-price-wrap {
  display: flex;
  flex-direction: column;
}

.sweet-card-price {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-crimson);
  line-height: 1.1;
}

.sweet-card-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: var(--mb-gradient);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px -3px rgba(242, 8, 102, 0.35);
  transition: transform var(--t-micro) var(--ease-micro),
              box-shadow var(--t-micro) var(--ease-micro);
  white-space: nowrap;
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(242, 8, 102, 0.50);
}

.btn-add-cart:active {
  transform: translateY(0) scale(0.96);
}

.btn-add-cart svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Nav Cart Button */
.nav-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-blush);
  border: 1.5px solid rgba(242, 8, 102, 0.20);
  color: var(--brand-magenta);
  cursor: pointer;
  transition: transform var(--t-micro) var(--ease-micro),
              background var(--t-micro) var(--ease-micro),
              border-color var(--t-micro) var(--ease-micro);
  flex-shrink: 0;
}

.nav-cart-btn:hover {
  background: var(--mb-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}

.nav-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--brand-crimson);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface-white);
  box-shadow: 0 2px 6px rgba(238, 28, 37, 0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-cart-badge.bump {
  transform: scale(1.35);
}

/* Cart Backdrop */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 9, 13, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cart-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* Cart Slide-Over Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--surface-white);
  z-index: 9995;
  box-shadow: -10px 0 36px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: var(--s4) var(--s5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--surface-blush);
}

.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.cart-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.25rem;
  transition: background var(--t-micro) var(--ease-micro), color var(--t-micro) var(--ease-micro);
}

.cart-drawer-close:hover {
  background: rgba(242, 8, 102, 0.12);
  color: var(--brand-crimson);
}

/* Cart Body & Items List */
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.cart-empty-state {
  margin: auto;
  text-align: center;
  padding: var(--s6) var(--s4);
}

.cart-empty-icon {
  font-size: 3rem;
  margin-bottom: var(--s3);
  display: block;
}

.cart-empty-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: var(--s2);
}

.cart-empty-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--s5);
  max-width: 24ch;
  margin-inline: auto;
}

/* Cart Item Card */
.cart-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3);
  background: var(--surface-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.04);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cart-item-price {
  font-weight: 600;
  color: var(--brand-crimson);
  font-size: 0.875rem;
}

/* Quantity controls in cart */
.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--surface-blush);
}

.cart-qty-btn {
  background: none;
  border: none;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-primary);
  transition: background var(--t-micro) var(--ease-micro);
}

.cart-qty-btn:hover {
  background: rgba(242, 8, 102, 0.15);
  color: var(--brand-crimson);
}

.cart-qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t-micro) var(--ease-micro);
}

.cart-item-remove:hover {
  color: var(--brand-crimson);
}

/* Cart Footer & Bill Breakdown */
.cart-drawer-footer {
  padding: var(--s5);
  background: var(--surface-blush);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bill-breakdown {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-bottom: var(--s4);
  font-size: 0.875rem;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.bill-row--highlight {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-top: var(--s2);
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
}

.bill-row--highlight .bill-val {
  color: var(--brand-crimson);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.btn-whatsapp-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  width: 100%;
  padding: 0.875rem var(--s5);
  border-radius: var(--r-pill);
  background: var(--mb-gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: var(--mb-shadow);
  border: none;
  cursor: pointer;
  transition: transform var(--t-micro) var(--ease-micro),
              box-shadow var(--t-micro) var(--ease-micro);
}

.btn-whatsapp-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(242, 8, 102, 0.50);
}

.btn-clear-cart {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8125rem;
  cursor: pointer;
  text-align: center;
  padding: var(--s1);
  transition: color var(--t-micro) var(--ease-micro);
}

.btn-clear-cart:hover {
  color: var(--brand-crimson);
  text-decoration: underline;
}

/* Floating Toast Notification */
.mb-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface-white);
  border: 1.5px solid rgba(242, 8, 102, 0.25);
  border-radius: var(--r-pill);
  box-shadow: 0 12px 36px -6px rgba(242, 8, 102, 0.25);
  padding: 0.625rem 1.125rem;
  display: flex;
  align-items: center;
  gap: var(--s3);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  pointer-events: none;
}

.mb-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mb-toast-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mb-toast-btn {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-magenta);
  background: var(--surface-blush);
  border: none;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--t-micro) var(--ease-micro);
}

.mb-toast-btn:hover {
  background: var(--mb-gradient);
  color: #fff;
}

/* ----------------------------------------------------------------
   32. Ov.EL LABS PRE-ROLL, DEMO BADGES & SANDBOX CHECKOUT
   ---------------------------------------------------------------- */

/* Skip Intro button on pre-roll */
.ovel-skip-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(10, 10, 13, 0.06);
  border: 1px solid rgba(10, 10, 13, 0.12);
  border-radius: 9999px;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0A0A0D;
  cursor: pointer;
  transition: all var(--t-micro) var(--ease-micro);
  z-index: 100000;
}

.ovel-skip-btn:hover {
  background: #6214E8;
  color: #FFFFFF;
  border-color: #6214E8;
  transform: translateY(-1px);
}

/* Subtle Lower Corner Demo Concept Pill (Non-intrusive) */
.ovel-concept-pill {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 990;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(10, 10, 13, 0.10);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-family: var(--font-body);
  font-size: 0.71875rem;
  font-weight: 500;
  color: #555562;
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.4;
  pointer-events: auto;
  transition: opacity var(--t-micro) ease;
}

.ovel-concept-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6214E8;
  flex-shrink: 0;
}

.ovel-concept-pill strong {
  color: #0A0A0D;
}

@media (max-width: 600px) {
  .ovel-concept-pill {
    bottom: 10px;
    left: 10px;
    font-size: 0.65625rem;
    padding: 4px 10px;
  }
}

/* Sweets page layout (page-specific markup) */
.page-sweets { background: #fffafc; }
.page-sweets .site-header { min-height: 76px; }
.page-sweets .header-container { width: min(1280px, 100%); min-height: 76px; margin-inline: auto; padding: 12px clamp(16px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.page-sweets .brand-logo { position: relative; display: flex; flex-direction: column; color: var(--brand-magenta); font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: .85; flex: 0 0 auto; }
.page-sweets .logo-degree { position: absolute; top: -5px; right: -12px; }
.page-sweets .header-container nav { margin-left: auto; }
.page-sweets .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 1.7vw, 24px); padding: 0; margin: 0; }
.page-sweets .nav-links a { white-space: nowrap; font-size: .88rem; }
.page-sweets .header-actions { display: flex; align-items: center; gap: 8px; }
.page-sweets .header-cart-btn, .page-sweets .mb-ham-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; position: relative; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.page-sweets .cart-count { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--brand-magenta); color: white; font-size: 11px; text-align: center; line-height: 18px; }
.page-sweets .mobile-nav { position: fixed; z-index: 190; inset: 76px 0 0; padding: 24px; overflow-y: auto; background: rgba(255,255,255,.98); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.page-sweets .mobile-nav[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.page-sweets .mobile-nav-links { display: grid; gap: 4px; max-width: 520px; padding: 0; margin: 0 auto; list-style: none; }
.page-sweets .mobile-nav-links a { display: block; padding: 14px 16px; border-radius: 12px; color: var(--text-primary); font-weight: 600; }
.page-sweets .mobile-nav-links a:hover, .page-sweets .mobile-nav-links a[aria-current="page"] { background: var(--surface-blush); color: var(--brand-magenta); }
.page-sweets .mobile-nav-demo-tag { max-width: 520px; margin: 20px auto; color: var(--text-muted); font-size: .8rem; text-align: center; }
.page-sweets main { padding-top: 76px; }
.page-sweets .category-hero { overflow: hidden; background: radial-gradient(ellipse at 80% 50%, #ffe3ed 0, transparent 44%), linear-gradient(120deg, #fff7fa, #fff); }
.page-sweets .category-hero-inner { min-height: 450px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); align-items: center; gap: clamp(24px, 5vw, 72px); padding-block: clamp(48px, 7vw, 88px); }
.page-sweets .category-hero-text { min-width: 0; }
.page-sweets .breadcrumb-nav ol { display: flex; align-items: center; gap: 10px; padding: 0; margin: 0 0 22px; list-style: none; color: var(--text-muted); font-size: .85rem; }
.page-sweets .breadcrumb-nav a { color: inherit; }
.page-sweets .category-hero-title { max-width: 14ch; margin: 12px 0 18px; font-family: var(--font-display); font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.page-sweets .category-hero-subtitle { max-width: 58ch; color: var(--text-secondary); font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.75; }
.page-sweets .category-hero-meta, .page-sweets .banner-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.page-sweets .meta-pill, .page-sweets .banner-badges span { padding: 8px 13px; border: 1px solid rgba(242,8,102,.12); border-radius: 999px; background: white; color: var(--text-secondary); font-size: .78rem; }
.page-sweets .category-hero-media { display: grid; place-items: center; min-width: 0; }
.page-sweets .mandala-glow-frame { width: min(100%, 390px); aspect-ratio: 1 / 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, white 30%, #ffe6ef 68%, transparent 69%); }
.page-sweets .hero-cultural-art { display: block; width: 100%; max-height: 420px; object-fit: contain; }
.page-sweets .products-filter-section { padding: 28px 0 0; }
.page-sweets .filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.page-sweets .filter-btn { min-height: 44px; padding: 9px 18px; border: 1px solid #f0dce4; border-radius: 999px; background: white; color: var(--text-secondary); font: 500 .9rem var(--font-body); cursor: pointer; }
.page-sweets .filter-btn.active { border-color: transparent; background: var(--mb-gradient); color: white; box-shadow: var(--mb-shadow); }
.page-sweets .filter-count { margin-left: 4px; font-size: .75rem; opacity: .8; }
.page-sweets .products-section { padding: 28px 0 80px; }
.page-sweets .products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.page-sweets .product-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #f2e8ec; border-radius: 20px; background: white; box-shadow: 0 8px 26px rgba(57, 18, 34, .045); transition: transform .2s ease, box-shadow .2s ease; }
.page-sweets .product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(57, 18, 34, .1); }
.page-sweets .product-card[hidden] { display: none !important; }
.page-sweets .product-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #fff3f7; }
.page-sweets .product-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-sweets .product-badge { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: #8e2951; font-size: .72rem; font-weight: 600; }
.page-sweets .product-card-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.page-sweets .product-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--text-muted); font-size: .72rem; letter-spacing: .06em; }
.page-sweets .product-title { margin: 11px 0 7px; font: 600 1.25rem var(--font-display); }
.page-sweets .product-desc { margin: 0 0 20px; color: var(--text-secondary); font-size: .88rem; line-height: 1.6; }
.page-sweets .product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.page-sweets .product-pricing { display: flex; align-items: baseline; gap: 3px; white-space: nowrap; }
.page-sweets .product-price { font: 600 1.25rem var(--font-display); }
.page-sweets .product-unit { color: var(--text-muted); font-size: .72rem; }
.page-sweets .product-footer .btn-add-cart { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 999px; background: var(--mb-gradient); color: white; font: 600 .8rem var(--font-body); cursor: pointer; }
.page-sweets .cultural-banner-section, .page-sweets .branches-section { padding-block: 48px; }
.page-sweets .cultural-banner-card { display: grid; grid-template-columns: 1fr 220px; align-items: center; gap: 24px; padding: clamp(24px, 5vw, 56px); border-radius: 24px; background: #fff1f6; }
.page-sweets .cultural-banner-card p { color: var(--text-secondary); line-height: 1.7; }
.page-sweets .cultural-banner-art img { display: block; width: 100%; max-height: 300px; height: auto; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(75, 28, 56, .12)); }
.page-namkeens .cultural-banner-art img.namkeen-line-art { mix-blend-mode: multiply; filter: none; }
.page-sweets .branches-grid-clean { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.page-sweets .branch-card { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border: 1px solid #f2e8ec; border-radius: 16px; background: white; }
.page-sweets .branch-badge-icon img { width: 22px; height: 22px; }
.page-sweets .branch-title { margin: 0 0 7px; font: 600 1rem var(--font-display); }
.page-sweets .branch-address { margin: 0; color: var(--text-secondary); font-size: .88rem; line-height: 1.55; }
@media (max-width: 900px) { .page-sweets .header-container nav { display: none; } .page-sweets .mb-ham-btn { display: inline-flex; } .page-sweets .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .page-sweets main { padding-top: 68px; } .page-sweets .header-container { min-height: 68px; } .page-sweets .category-hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 18px; text-align: center; } .page-sweets .category-hero-title { margin-inline: auto; } .page-sweets .breadcrumb-nav ol, .page-sweets .category-hero-meta { justify-content: center; } .page-sweets .category-hero-media { grid-row: 1; } .page-sweets .mandala-glow-frame { width: min(68vw, 280px); } .page-sweets .hero-cultural-art { max-height: 280px; } .page-sweets .products-grid { grid-template-columns: 1fr; } .page-sweets .cultural-banner-card { grid-template-columns: 1fr; } .page-sweets .cultural-banner-art { max-width: 180px; margin-inline: auto; } .page-sweets .branches-grid-clean { grid-template-columns: 1fr; } .page-sweets .product-card-body { padding: 16px; } }

/* Branch Grid (Updated without screenshot) */
.branches-grid-clean {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .branches-grid-clean {
    grid-template-columns: repeat(2, 1fr);
  }
}

.branches-grid-clean .branch-card {
  height: 100%;
}

/* Demo Checkout Modal */
.demo-checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(18, 9, 13, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.demo-checkout-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.demo-checkout-box {
  background: var(--surface-white);
  border-radius: var(--r-2xl);
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(242, 8, 102, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.demo-checkout-header {
  background: var(--surface-blush);
  padding: var(--s4) var(--s5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.demo-checkout-body {
  padding: var(--s5);
  max-height: 70vh;
  overflow-y: auto;
}

.demo-tag-banner {
  background: rgba(98, 20, 232, 0.08);
  border: 1px solid rgba(98, 20, 232, 0.20);
  border-radius: var(--r-md);
  padding: var(--s3);
  font-size: 0.8125rem;
  color: #38107E;
  line-height: 1.55;
  margin-bottom: var(--s4);
}

.demo-order-receipt {
  background: var(--surface-blush);
  border: 1px dashed rgba(242, 8, 102, 0.30);
  border-radius: var(--r-lg);
  padding: var(--s4);
  margin-block: var(--s4);
  font-size: 0.875rem;
}
