/* ==========================================================================
   NAKED FLAVORS GELATO — DESIGN SYSTEM STYLESHEET
   Matching: nakedflavors.com / Kem Thong Thả (Vietnam Artisanal Gelato)
   ========================================================================== */

/* --- 1. CSS VARIABLES & DESIGN TOKENS --- */
:root {
  /* Brand Primary Colors */
  --primaryColor: #54c8e1;
  --primaryDark: #0c667a;
  --primaryMedium: #3bb5d9;
  --primaryVariant: #52cee6;
  --secondaryColor: #5d7ad1;
  --ctaTeal: #00bcd4;

  /* Neutrals & Text */
  --blackColor: #23272e;
  --darkColor: #212529;
  --bodyColor: #64748b;
  --textMuted: #94a3b8;
  --textLight: #666666;
  --white: #ffffff;

  /* Backgrounds */
  --bgWarm: #f8f8f3;
  --bgLight: #f8f9fa;
  --bgNeutral: #f5f5f5;
  --bgFooter: #f3fafc;
  --bgCard: #ffffff;
  --bgInput: #f3f6fb;

  /* Borders */
  --borderPrimary: #e0e0e0;
  --borderColor: #eceef2;
  --borderLight: #e5e7eb;
  --borderDivider: #e5e5e5;

  /* Accent & Status */
  --dangerColor: #f44336;
  --successColor: #4caf50;
  --successDark: #137333;
  --warningColor: #ff9800;
  --purpleColor: #ad63f6;
  --orangeColor: #fd5812;

  /* Typography */
  --fontMain: 'Darker Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fontSizeBase: 16px;

  /* Spacing */
  --containerMax: 1416px;

  /* Transitions */
  --transitionFast: 0.2s ease;
  --transitionNormal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transitionSlow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

  body {
    font-family: var(--fontMain);
    background-color: var(--white);
    color: var(--darkColor);
    font-size: 1.125rem;
    line-height: 1.4;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

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

  a {
    color: inherit;
    text-decoration: none;
    transition: var(--transitionFast);
  }

  button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
  }

  button {
    cursor: pointer;
    border: none;
    background: none;
  }
}

.section-container {
  max-width: var(--containerMax);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-title-large {
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  color: var(--blackColor);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--bodyColor);
  max-width: 720px;
  margin: 0 auto 3rem auto;
  font-weight: 500;
}

/* --- 3. NAVBAR (navbar-menu-top) --- */
.navbar-menu-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borderLight);
  transition: var(--transitionNormal);
  height: 80px;
}

.navbar-menu-top.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 72px;
}

.navbar-container {
  max-width: var(--containerMax);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primaryColor);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(84, 200, 225, 0.35);
  transition: var(--transitionNormal);
}

.navbar-logo:hover .navbar-logo-icon {
  background: var(--primaryDark);
  transform: rotate(-6deg) scale(1.05);
}

.navbar-brand-name {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--blackColor);
  line-height: 1;
}

.navbar-brand-sub {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primaryDark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.navbar-nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-nav-link {
  position: relative;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blackColor);
  padding: 6px 0;
  transition: var(--transitionFast);
}

.navbar-nav-link-underline {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primaryColor);
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav-link:hover {
  color: var(--primaryDark);
}

.navbar-nav-link:hover .navbar-nav-link-underline {
  width: 80%;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bgLight);
  border: 1px solid var(--borderPrimary);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.lang-btn {
  color: var(--bodyColor);
  padding: 2px 6px;
  border-radius: 999px;
  transition: var(--transitionFast);
}

.lang-btn.lang-btn-active {
  background: var(--primaryColor);
  color: var(--white);
}

.lang-separator {
  color: var(--borderColor);
  margin: 0 2px;
}

.navbar-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--blackColor);
  background: var(--bgLight);
  border: 1px solid var(--borderPrimary);
  transition: var(--transitionNormal);
  position: relative;
}

.navbar-icon-btn:hover {
  background: var(--primaryColor);
  color: var(--white);
  border-color: var(--primaryColor);
  transform: translateY(-2px);
}

.navbar-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--dangerColor);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.navbar-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--textSecondary, #0c667a);
  background: rgba(84, 200, 225, 0.12);
  border: 1px solid rgba(84, 200, 225, 0.4);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.navbar-store-btn:hover {
  background: var(--primaryColor, #54c8e1);
  color: #111111;
  border-color: var(--primaryColor, #54c8e1);
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .navbar-store-btn {
    display: none;
  }
}

.navbar-hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--borderPrimary);
  background: var(--bgLight);
  font-size: 1.4rem;
  color: var(--blackColor);
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Panel */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: var(--transitionNormal);
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--white);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-menu-panel.active {
  transform: translateX(0);
}

.mobile-menu-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--borderLight);
}

.mobile-menu-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--primaryDark);
}

.mobile-menu-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bgLight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--blackColor);
}

.mobile-menu-nav {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-link {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blackColor);
  padding: 10px 16px;
  border-radius: 12px;
  transition: var(--transitionFast);
}

.mobile-menu-link:hover {
  background: var(--bgWarm);
  color: var(--primaryDark);
  padding-left: 20px;
}

.mobile-menu-footer {
  padding: 24px;
  border-top: 1px solid var(--borderLight);
  background: var(--bgWarm);
}

.mobile-menu-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 700;
}

.mobile-menu-hotline {
  font-size: 1.1rem;
  font-weight: 700;
}

.mobile-menu-hotline a {
  color: var(--primaryDark);
  text-decoration: underline;
}

/* --- 4. HERO CAROUSEL (hero-carousel) --- */
.hero-carousel {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 0;
}

.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.04);
}

.hero-slide.hero-slide-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: var(--containerMax);
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.hero-slide-title {
  font-size: 5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 0.95;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-slide-subtitle {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  opacity: 0.92;
  color: #e0f7fa;
}

.hero-slide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ctaTeal);
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 44px;
  border-radius: 50px;
  width: fit-content;
  box-shadow: 0 8px 24px rgba(0, 188, 212, 0.4);
  transition: var(--transitionNormal);
}

.hero-slide-cta:hover {
  background: var(--primaryDark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(12, 102, 122, 0.5);
}

.hero-pagination {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: var(--transitionFast);
}

.hero-dot.hero-dot-active {
  background: var(--primaryVariant);
  width: 36px;
  border-radius: 10px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--white);
  font-size: 2rem;
  animation: bounce 2s infinite;
}

.hero-tagline {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* --- 5. MARQUEE STRIP (marquee-container) --- */
.marquee-container {
  background: var(--blackColor);
  color: var(--white);
  height: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, color 0.2s ease;
}

.marquee-item i {
  color: var(--primaryColor);
  font-size: 1.4rem;
}

.marquee-item:hover {
  transform: scale(1.08);
  color: var(--primaryColor);
}

.marquee-separator {
  color: var(--primaryColor);
  font-size: 1rem;
}

/* --- 6. PRODUCT CAROUSEL & MENU (archive-product-main) --- */
.archive-product-main .home-product-carousel {
  padding: 100px 0;
  background: var(--white);
}

#category-pills-container,
.archive-product-main .product-category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--borderDivider);
  padding-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

#category-pills-container::-webkit-scrollbar,
.archive-product-main .product-category-tabs::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--textLight);
  padding: 12px 24px;
  position: relative;
  white-space: nowrap;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  transition: var(--transitionFast);
}

.cat-pill:hover {
  color: var(--blackColor);
}

.cat-pill.active {
  color: var(--blackColor);
  border-bottom-color: var(--primaryColor);
}

.product-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.product-search-wrapper {
  position: relative;
  flex: 1;
  max-width: 420px;
}

.product-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bodyColor);
  font-size: 1.25rem;
}

.product-search-input {
  width: 100%;
  background: var(--bgInput);
  border: 1px solid var(--borderPrimary);
  border-radius: 50px;
  padding: 12px 20px 12px 48px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--blackColor);
  outline: none;
  transition: var(--transitionFast);
}

.product-search-input:focus {
  border-color: var(--primaryColor);
  box-shadow: 0 0 15px rgba(84, 200, 225, 0.4);
  background: var(--white);
}

.vegan-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--borderPrimary);
  background: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bodyColor);
  transition: var(--transitionFast);
}

.vegan-filter-btn i {
  color: var(--successColor);
  font-size: 1.2rem;
}

.vegan-filter-btn.active {
  background: #e8f5e9;
  border-color: var(--successColor);
  color: var(--successDark);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* Product Card — matching nakedflavors.com design */
.products-grid .product-item-card-home,
.product-item-card-home:not(.product-item-card-main) {
  background: var(--bgWarm);
  border: 1px solid var(--borderPrimary);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transitionNormal);
  position: relative;
}

.product-item-card-home:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(84, 200, 225, 0.2);
  border-color: rgba(84, 200, 225, 0.5);
}

.product-card-media {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-real-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.product-item-card-home:hover .product-real-image {
  transform: scale(1.08);
}

.product-modal-real-img {
  max-width: 260px;
  max-height: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15));
  margin: 0 auto;
  display: block;
}

.cart-thumb-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(84, 200, 225, 0.2);
}

.product-emoji {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-item-card-home:hover .product-emoji {
  transform: translate(-50%, -50%) scale(1.15) rotate(4deg);
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--white);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-vegan-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #e8f5e9;
  color: var(--successDark);
  border: 1px solid #c8e6c9;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card-info {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--blackColor);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-title-link:hover {
  color: var(--primaryDark);
}

.size-choice-btn * {
  pointer-events: none;
}

.product-card-media-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  text-decoration: none;
  cursor: pointer;
}

.product-tagline {
  font-size: 0.95rem;
  color: var(--bodyColor);
  line-height: 1.35;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Variant Pill Toggle (125ml / 475ml) */
.product-variants-toggle {
  display: flex;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--borderPrimary);
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 16px;
}

.variant-pill-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--bodyColor);
  text-align: center;
  transition: var(--transitionFast);
}

.variant-pill-btn.active {
  background: var(--primaryColor);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(84, 200, 225, 0.3);
}

.product-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-add-cart-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primaryColor);
  color: var(--white);
  border-radius: 50px;
  padding: 12px 18px;
  font-size: 1.15rem;
  font-weight: 700;
  transition: var(--transitionFast);
}

.product-add-cart-btn:hover {
  background: var(--primaryDark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(12, 102, 122, 0.35);
}

.product-quick-view-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--borderPrimary);
  background: var(--white);
  color: var(--blackColor);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transitionFast);
}

.product-quick-view-btn:hover {
  background: var(--bgLight);
  border-color: var(--primaryColor);
  color: var(--primaryColor);
}

/* --- 7. HOME HERO BANNER (scoped so nakedflavors-exact.css controls homepage) --- */
.legacy-home-prototype .home-hero-banner {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  text-align: center;
}

.home-hero-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.home-hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 2;
}

.home-hero-banner-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.home-hero-banner-title {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
}

.home-hero-banner-cta {
  display: inline-block;
  background: var(--ctaTeal);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 18px 48px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 188, 212, 0.4);
  transition: var(--transitionNormal);
}

.home-hero-banner-cta:hover {
  background: var(--primaryDark);
  transform: translateY(-3px) scale(1.03);
}

/* --- 8. FEATURES SECTION (scoped so nakedflavors-exact.css controls homepage) --- */
.legacy-home-prototype .home-features-section {
  background: var(--bgWarm);
  padding: 120px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--borderPrimary);
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  transition: var(--transitionNormal);
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e0f7fa;
  color: var(--primaryDark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px auto;
}

.feature-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blackColor);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 1.15rem;
  color: var(--bodyColor);
  line-height: 1.5;
}

/* --- 9. INFO SECTION (scoped so nakedflavors-exact.css controls homepage) --- */
.legacy-home-prototype .home-info-section {
  padding: 100px 0;
  background: var(--white);
}

.legacy-home-prototype .home-info-row,
.legacy-home-prototype .home-info-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.legacy-home-prototype .home-info-row2 {
  direction: rtl;
}

.legacy-home-prototype .home-info-row2 > * {
  direction: ltr;
}

.home-info-image-wrapper {
  border-radius: 24px;
  overflow: hidden;
  height: 420px;
}

.legacy-home-prototype .home-info-image {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-info-image-wrapper:hover .home-info-image {
  transform: scale(1.05);
}

.legacy-home-prototype .home-info-content {
  padding: 20px 40px;
}

.legacy-home-prototype .home-info-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--blackColor);
  margin-bottom: 20px;
}

.home-info-desc {
  font-size: 1.3rem;
  color: var(--bodyColor);
  line-height: 1.55;
}

/* --- 10. STORES SECTION (home-stores-section) --- */
.home-stores-section {
  padding: 100px 0;
  background: var(--bgWarm);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.store-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: var(--transitionNormal);
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.store-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.store-badge {
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blackColor);
}

.store-type {
  font-size: 0.95rem;
  color: var(--bodyColor);
  font-weight: 600;
}

.store-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blackColor);
  margin-bottom: 8px;
}

.store-address {
  font-size: 1.15rem;
  color: var(--bodyColor);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.store-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--bgLight);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 1rem;
}

.store-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.store-info-item i {
  color: var(--primaryDark);
  font-size: 1.2rem;
  margin-top: 2px;
}

.store-phone-link {
  color: var(--primaryDark);
  font-weight: 800;
}

.store-districts {
  margin-bottom: 24px;
}

.store-districts-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--textLight);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-districts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.store-district-tag {
  background: #e0f2f1;
  color: #004d40;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

.store-card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.store-select-btn {
  flex: 1;
  background: var(--primaryColor);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transitionFast);
}

.store-select-btn:hover {
  background: var(--primaryDark);
}

.store-map-btn {
  background: var(--bgLight);
  border: 1px solid var(--borderPrimary);
  color: var(--blackColor);
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transitionFast);
}

.store-map-btn:hover {
  background: var(--white);
  border-color: var(--primaryColor);
  color: var(--primaryDark);
}

/* --- 11. CATERING SECTION (home-catering-section) --- */
.home-catering-section {
  padding: 100px 0;
  background: var(--white);
}

.catering-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.catering-package-card {
  background: var(--white);
  border: 1px solid var(--borderPrimary);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transitionNormal);
}

.catering-package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.catering-package-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--blackColor);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
}

.catering-package-scale {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primaryDark);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.catering-package-name {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blackColor);
  margin-bottom: 12px;
}

.catering-package-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primaryDark);
  margin-bottom: 24px;
}

.catering-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.catering-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--bodyColor);
}

.catering-feature-item i {
  color: var(--successColor);
  font-size: 1.25rem;
  margin-top: 1px;
}

.catering-select-btn {
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  background: var(--primaryColor);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  transition: var(--transitionFast);
}

.catering-select-btn:hover {
  background: var(--primaryDark);
  transform: translateY(-2px);
}

/* Catering Inquiry Form Card */
.catering-form-card {
  background: var(--bgWarm);
  border: 1px solid var(--borderPrimary);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
}

.catering-form-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--blackColor);
  line-height: 1.15;
  margin-bottom: 16px;
}

.catering-form-desc {
  font-size: 1.2rem;
  color: var(--bodyColor);
  line-height: 1.5;
  margin-bottom: 24px;
}

.catering-estimate-box {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--borderPrimary);
}

.catering-estimate-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--textLight);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.catering-estimate-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primaryDark);
}

.catering-form-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

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

.catering-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.catering-form-group label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blackColor);
  text-transform: uppercase;
}

.catering-input {
  background: var(--white);
  border: 1px solid var(--borderPrimary);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 1.1rem;
  color: var(--blackColor);
  outline: none;
  transition: var(--transitionFast);
}

.catering-input:focus {
  border-color: var(--primaryColor);
  box-shadow: 0 0 10px rgba(84, 200, 225, 0.3);
}

.catering-textarea {
  resize: vertical;
}

.catering-range {
  accent-color: var(--primaryColor);
  height: 8px;
  margin-top: 8px;
}

.catering-submit-btn {
  background: var(--primaryColor);
  color: var(--white);
  border-radius: 50px;
  padding: 16px;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transitionFast);
}

.catering-submit-btn:hover {
  background: var(--primaryDark);
  transform: translateY(-2px);
}

.catering-success-msg {
  padding: 16px;
  border-radius: 12px;
  background: #e8f5e9;
  color: var(--successDark);
  font-weight: 700;
  font-size: 1.1rem;
  display: none;
}

/* --- 12. MIX BOX 6-PACK BUILDER (home-mixbox-section) --- */
.home-mixbox-section {
  padding: 100px 0;
  background: var(--bgWarm);
}

.mixbox-builder-wrapper {
  background: var(--white);
  border: 1px solid var(--borderPrimary);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.mixbox-badge {
  display: inline-block;
  background: #fff3e0;
  color: #e65100;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.mixbox-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--blackColor);
  margin-bottom: 12px;
}

.mixbox-desc {
  font-size: 1.2rem;
  color: var(--bodyColor);
  line-height: 1.5;
  margin-bottom: 28px;
}

.mixbox-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.mixbox-slot-item {
  background: var(--bgLight);
  border: 1.5px solid var(--borderPrimary);
  border-radius: 16px;
  padding: 16px 8px;
  text-align: center;
  position: relative;
  transition: var(--transitionFast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 92px;
}

.mixbox-slot-item.empty {
  border: 2px dashed var(--borderPrimary);
  background: #fafafa;
  color: var(--textMuted);
}

.mixbox-slot-item.filled {
  background: #f0fdfa;
  border-color: var(--primaryColor);
  cursor: pointer;
}

.mixbox-slot-item .slot-svg-icon,
.mixbox-slot-item .slot-empty-icon {
  color: var(--primaryDark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mixbox-slot-item.empty .slot-empty-icon {
  opacity: 0.45;
}

.mixbox-slot-item .slot-empty-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #64748b;
}

.mixbox-slot-item .slot-emoji {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 4px;
}

.mixbox-slot-item .slot-name {
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--blackColor);
}

.mixbox-slot-item .slot-remove-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--dangerColor);
  color: var(--white);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mixbox-slot-empty {
  border: 2px dashed var(--borderPrimary);
  border-radius: 16px;
  padding: 18px 8px;
  text-align: center;
  color: var(--textMuted);
}

.mixbox-slot-empty i {
  font-size: 2rem;
  display: block;
  margin-bottom: 4px;
  opacity: 0.5;
}

.mixbox-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--borderLight);
}

.mixbox-old-price {
  font-size: 1rem;
  color: var(--textLight);
  text-decoration: line-through;
  margin-bottom: 4px;
  line-height: 1.3;
}

.mixbox-current-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primaryDark);
  line-height: 1.1;
}

.mixbox-price-unit {
  font-size: 1.1rem;
  color: var(--bodyColor);
  font-weight: 600;
}

.mixbox-add-btn {
  background: var(--primaryColor);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: var(--transitionFast);
}

.mixbox-add-btn:disabled {
  background: var(--borderPrimary);
  cursor: not-allowed;
}

.mixbox-add-btn:not(:disabled):hover {
  background: var(--primaryDark);
  transform: translateY(-2px);
}

.mixbox-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mixbox-picker-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.mixbox-autofill-btn {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primaryDark);
  text-decoration: underline;
}

#mixbox-picker-list,
.mixbox-builder-wrapper .flavor-container {
  float: none !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
}

.flavor-item-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--borderPrimary);
  background: var(--white);
  transition: var(--transitionFast);
  text-align: left;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.flavor-item-btn:hover {
  background: var(--bgWarm);
  border-color: var(--primaryColor);
}

.flavor-item-btn.selected {
  background: #f0fdfa;
  border-color: var(--primaryDark);
}

.flavor-item-btn .flavor-svg-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(84, 200, 225, 0.14);
  color: var(--primaryDark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flavor-item-btn .flavor-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 3px;
}

.flavor-item-btn .flavor-emoji {
  font-size: 1.8rem;
}

.flavor-item-btn .flavor-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--blackColor);
  line-height: 1.25;
  display: block;
}

.flavor-item-btn .flavor-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
  display: block;
}

.flavor-item-btn .flavor-add-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--primaryDark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.flavor-item-btn .flavor-count-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primaryDark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 800;
}

/* --- 13. FOOTER (site-footer) --- */
.site-footer {
  background-color: var(--bgFooter) !important;
  border-top: 1px solid var(--borderColor);
  padding: 80px 0 30px;
}

.footer-container {
  max-width: var(--containerMax);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-brand-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blackColor);
  line-height: 1;
}

.footer-brand-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primaryDark);
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-brand-desc {
  font-size: 1.15rem;
  color: var(--bodyColor);
  line-height: 1.5;
  margin: 16px 0 20px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badge {
  background: var(--white);
  border: 1px solid var(--borderPrimary);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primaryDark);
}

.footer-col-title {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blackColor);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 1.15rem;
  color: var(--bodyColor);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primaryDark);
  padding-left: 4px;
}

.footer-policies {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-policy-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 1.05rem;
  color: var(--bodyColor);
}

.footer-policy-item i {
  color: var(--primaryColor);
  margin-top: 3px;
}

.footer-contact-box {
  background: var(--white);
  border: 1px solid var(--borderPrimary);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.footer-hotline-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--textLight);
  text-transform: uppercase;
}

.footer-hotline-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primaryDark);
  display: block;
  margin: 4px 0;
}

.footer-hours {
  font-size: 0.95rem;
  color: var(--bodyColor);
}

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

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--borderPrimary);
  color: var(--blackColor);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transitionFast);
}

.footer-social-btn:hover {
  background: var(--primaryColor);
  color: var(--white);
  border-color: var(--primaryColor);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 30px;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  color: var(--textLight);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* --- 14. FLOATING CART BUTTON (floating-cart-btn) --- */
.floating-cart-btn {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 90;
  width: 64px;
  height: 64px;
  border-radius: 32px;
  background: var(--primaryDark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(12, 102, 122, 0.4);
  transition: var(--transitionNormal);
  animation: floatingPulse 2.5s infinite;
}

.floating-cart-btn:hover {
  background: var(--primaryColor);
  transform: scale(1.08);
}

.floating-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--dangerColor);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

/* --- 15. CART SLIDE-OVER DRAWER (cart-drawer) --- */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transitionNormal);
}

.cart-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 480px;
  max-width: 90vw;
  background: var(--white);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

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

.cart-drawer-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--borderLight);
  background: var(--bgWarm);
}

.cart-drawer-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blackColor);
  line-height: 1;
}

.cart-drawer-sub {
  font-size: 0.95rem;
  color: var(--bodyColor);
  margin-top: 4px;
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid var(--borderPrimary);
}

.cart-drawer-branch {
  padding: 12px 24px;
  background: #e0f7fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primaryDark);
}

.cart-drawer-branch-btn {
  text-decoration: underline;
  font-weight: 800;
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--textLight);
}

.cart-empty-state i {
  font-size: 4rem;
  color: var(--primaryColor);
  margin-bottom: 12px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bgLight);
  border-radius: 14px;
  border: 1px solid var(--borderPrimary);
}

.cart-item-emoji {
  font-size: 2.2rem;
}

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

.cart-item-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blackColor);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-meta {
  font-size: 0.9rem;
  color: var(--bodyColor);
}

.cart-item-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-stepper-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--borderPrimary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.cart-stepper-qty {
  font-weight: 800;
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.cart-item-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primaryDark);
  white-space: nowrap;
}

.cart-item-remove {
  color: var(--textMuted);
  font-size: 1.2rem;
}

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

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--borderLight);
  background: var(--white);
}

.cart-promo-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.cart-promo-input {
  flex: 1;
  background: var(--bgLight);
  border: 1px solid var(--borderPrimary);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}

.cart-promo-btn {
  background: var(--blackColor);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
}

.cart-totals-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  color: var(--bodyColor);
}

.cart-total-highlight {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blackColor);
  padding-top: 10px;
  border-top: 1px solid var(--borderLight);
}

.cart-total-highlight span:last-child {
  color: var(--primaryDark);
}

.checkout-form-wrapper {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  padding: 16px;
  background: var(--bgLight);
  border-radius: 14px;
}

.checkout-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.checkout-tab-btn {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--borderPrimary);
  background: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bodyColor);
}

.checkout-tab-btn.active {
  background: var(--primaryColor);
  color: var(--white);
  border-color: var(--primaryColor);
}

.checkout-input, .checkout-select {
  background: var(--white);
  border: 1px solid var(--borderPrimary);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  outline: none;
}

.cart-checkout-btn {
  width: 100%;
  background: var(--primaryDark);
  color: var(--white);
  padding: 16px;
  border-radius: 32px;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(84, 200, 225, 0.3);
  transition: var(--transitionFast);
}

.cart-checkout-btn:hover {
  background: var(--primaryColor);
  transform: translateY(-2px);
}

/* --- 16. MODALS (product-modal, store-modal) --- */
.product-modal, .store-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-modal.active, .store-modal.active {
  display: flex;
}

.product-modal-backdrop, .store-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}

.product-modal-dialog, .store-modal-dialog {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: 24px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.product-modal-header {
  padding: 40px 32px 24px;
  text-align: center;
  position: relative;
}

.product-modal-close, .store-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bgLight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid var(--borderPrimary);
}

.product-modal-body {
  padding: 0 32px 36px;
}

.modal-full-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 999px;
  background: rgba(84, 200, 225, 0.15);
  color: var(--primaryDark);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid rgba(84, 200, 225, 0.35);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.modal-full-detail-link:hover {
  background: var(--primaryDark);
  color: #ffffff !important;
  border-color: var(--primaryDark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(12, 102, 122, 0.25);
}

/* ── Product Modal Inner Layout ── */
.product-modal-inner {
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  background: #fff;
}

.product-modal-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 32px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.product-modal-hero .product-modal-real-img {
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
  transition: transform 0.4s cubic-bezier(.22,1,.36,1);
}

.product-modal-hero .product-modal-real-img:hover {
  transform: scale(1.06) rotate(-2deg);
}

.product-modal-hero .product-modal-svg-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal-hero .product-modal-svg-icon svg {
  width: 100%;
  height: 100%;
}

.product-modal-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-modal-badges .product-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1.5px solid;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
}

.product-modal-badges .product-vegan-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #16a34a;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid #bbf7d0;
  padding: 3px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.product-modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #333;
  transition: all 0.2s ease;
}

.product-modal-close-btn:hover {
  background: #f3f4f6;
  transform: rotate(90deg);
}

.product-modal-tagline {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: #6b7280;
  font-weight: 500;
  line-height: 1.5;
}

.product-modal-desc {
  margin: 0 0 20px;
  font-size: 0.88rem;
  color: #9ca3af;
  line-height: 1.6;
}

.product-modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.product-meta-card {
  background: #f9fafb;
  border-radius: 14px;
  padding: 14px;
  border: 1px solid #f3f4f6;
}

.meta-card-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  margin-bottom: 8px;
}

.meta-card-text {
  margin: 0;
  font-size: 0.82rem;
  color: #374151;
  line-height: 1.5;
}

.nutrition-stat-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.nutrition-stat-row i {
  color: #f59e0b;
}

.nutrition-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 4px;
}

.rating-dots {
  letter-spacing: 2px;
  color: #54C8E1;
}

.product-modal-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}

.modal-buy-size-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 2px solid var(--primaryDark, #0C667A);
  background: transparent;
  color: var(--primaryDark, #0C667A);
  font-weight: 700;
  font-size: 0.88rem;
  font-family: 'Darker Grotesque', sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-buy-size-btn:hover {
  background: var(--primaryDark, #0C667A);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(12, 102, 122, 0.25);
}

.modal-buy-size-btn.pint-btn {
  background: var(--primaryDark, #0C667A);
  color: #fff;
  border-color: var(--primaryDark, #0C667A);
}

.modal-buy-size-btn.pint-btn:hover {
  background: #095568;
  border-color: #095568;
}

@media (max-width: 600px) {
  .product-modal-meta-grid {
    grid-template-columns: 1fr;
  }
  .product-modal-actions {
    flex-direction: column;
  }
  .product-modal-hero {
    min-height: 200px;
    padding: 24px;
  }
}

.cart-item-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.cart-item-title-link:hover {
  color: var(--primaryDark);
  text-decoration: underline;
}

/* Store Modal Styles */
.store-modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--borderLight);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.store-estimator-box {
  background: var(--bgWarm);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--borderPrimary);
}

.store-estimator-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.store-estimator-result {
  margin-top: 12px;
  padding: 12px;
  background: var(--white);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.store-modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-modal-item {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--borderPrimary);
  background: var(--white);
  cursor: pointer;
  transition: var(--transitionFast);
}

.store-modal-item:hover, .store-modal-item.active {
  border-color: var(--primaryColor);
  background: #e0f7fa;
}

/* --- 17. TOAST NOTIFICATION --- */
.nf-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1200;
  transform: translateY(120px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.nf-toast.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nf-toast-inner {
  background: var(--blackColor);
  color: var(--white);
  padding: 16px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
}

.nf-toast-inner i {
  color: var(--primaryColor);
  font-size: 1.4rem;
}

/* --- 18. COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--white);
  border-top: 1px solid var(--borderPrimary);
  padding: 18px 24px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  font-family: system-ui, -apple-system, sans-serif;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-banner-content {
  max-width: var(--containerMax);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text {
  font-size: 0.95rem;
  color: var(--bodyColor);
  line-height: 1.4;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
}

.cookie-banner-btn {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.cookie-banner-btn-accept {
  background: #2563eb;
  color: var(--white);
}

.cookie-banner-btn-decline {
  background: var(--bgNeutral);
  color: var(--darkColor);
}

/* --- 19. ANIMATIONS & KEYFRAMES --- */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -12px);
  }
  60% {
    transform: translate(-50%, -6px);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes floatingPulse {
  0% {
    box-shadow: 0 4px 20px rgba(12, 102, 122, 0.4), 0 0 0 0 rgba(84, 200, 225, 0.4);
  }
  70% {
    box-shadow: 0 4px 20px rgba(12, 102, 122, 0.4), 0 0 0 16px rgba(84, 200, 225, 0);
  }
  100% {
    box-shadow: 0 4px 20px rgba(12, 102, 122, 0.4), 0 0 0 0 rgba(84, 200, 225, 0);
  }
}

@keyframes bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); color: var(--primaryColor); }
  100% { transform: scale(1); }
}

.nf-badge-pulse {
  animation: bump 0.35s ease;
}

/* Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- 20. RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1400px) {
  .section-title-large { font-size: 3.5rem; }
  .hero-slide-title { font-size: 4.2rem; }
  .hero-tagline { font-size: 3.5rem; }
}

@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 991px) {
  .navbar-nav-desktop { display: none; }
  .navbar-hamburger-btn { display: flex !important; }
  /* Hide MUI desktop nav menu on mobile */
  header#navbar-menu-top .MuiBox-root.mui-g7k3xx { display: none !important; }
  /* Compact right controls on mobile */
  header#navbar-menu-top .MuiBox-root.mui-1i9dz29 {
    gap: 4px !important;
    flex-shrink: 1;
    min-width: 0;
    max-width: calc(100vw - 120px);
  }
  /* Hide store selector button on mobile */
  header#navbar-menu-top .MuiBox-root.mui-1i9dz29 > .mui-17r5enq { display: none !important; }
  /* Hide language switcher on mobile */
  header#navbar-menu-top .MuiButtonGroup-root.mui-1xi980m { display: none !important; }
  .hero-slide-title { font-size: 3.2rem; }
  .hero-slide-subtitle { font-size: 1.4rem; }
  .hero-tagline { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .catering-packages-grid { grid-template-columns: 1fr; }
  .legacy-home-prototype .home-info-row, .legacy-home-prototype .home-info-row2 { grid-template-columns: 1fr; gap: 24px; }
  .home-info-image-wrapper { height: 320px; }
  .catering-form-card { grid-template-columns: 1fr; }
  .mixbox-builder-wrapper { grid-template-columns: 1fr; }
  .stores-grid { grid-template-columns: 1fr; }
  .home-hero-banner-title { font-size: 3.2rem; }
  .legacy-home-prototype .home-hero-banner { background-attachment: scroll; }
}

@media (max-width: 767px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  /* Ensure MUI header doesn't overflow on small screens */
  header#navbar-menu-top {
    overflow: hidden !important;
  }
  header#navbar-menu-top .MuiContainer-root {
    padding-left: 12px !important;
    padding-right: 12px !important;
    overflow: hidden !important;
  }
  header#navbar-menu-top .MuiToolbar-root {
    min-height: 60px !important;
    padding: 0 !important;
    justify-content: space-between !important;
  }
  /* Right controls compact */
  header#navbar-menu-top .MuiBox-root.mui-1i9dz29 {
    gap: 2px !important;
    max-width: calc(100vw - 100px) !important;
  }
  /* Make icon buttons smaller on mobile */
  header#navbar-menu-top .MuiIconButton-root {
    width: 36px !important;
    height: 36px !important;
    padding: 6px !important;
  }
  header#navbar-menu-top .MuiIconButton-root .MuiSvgIcon-root {
    font-size: 1.2rem !important;
    width: 22px !important;
    height: 22px !important;
  }
  .navbar-container {
    padding: 0 12px;
  }
  .navbar-logo {
    gap: 8px;
  }
  .navbar-logo-img {
    height: 36px !important;
    max-width: 105px !important;
  }
  .navbar-brand-sub {
    display: none !important;
  }
  .navbar-brand-name {
    font-size: 1.15rem;
  }
  .navbar-lang-switcher {
    display: none !important;
  }
  .navbar-right {
    gap: 8px;
  }
  .navbar-icon-btn {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
  .navbar-hamburger-btn {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
  .section-title-large { font-size: 2.75rem; }
  .hero-slide-title { font-size: 2.5rem; }
  .hero-slide-subtitle { font-size: 1.2rem; }
  .hero-slide-cta { font-size: 1.15rem; padding: 12px 32px; }
  .home-hero-banner-title { font-size: 2.4rem; }
  .home-hero-banner-cta { font-size: 1.15rem; padding: 14px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-container { flex-direction: column; gap: 12px; text-align: center; }
  .catering-form-row, .catering-form-row-3 { grid-template-columns: 1fr; }
  .product-category-tabs .cat-pill { font-size: 1.35rem; padding: 8px 16px; }
  .cookie-banner-content { flex-direction: column; text-align: center; }
  .floating-cart-btn { bottom: 80px; right: 16px; width: 56px; height: 56px; font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-slide-title { font-size: 2rem; }
  .hero-slide-content { padding: 0 20px; }
  .navbar-container { padding: 0 16px; }
  .section-container { padding-left: 16px; padding-right: 16px; }
}

/* ==========================================================================
   HUMAN CRAFT & FLUID ANIMATION ENHANCEMENTS (ANTI-AI UX)
   ========================================================================== */

/* 1. Subtle Organic Grain Noise Texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 2. Multi-Layer Shadows & Physics-Based Transitions */
.product-item-card-home {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.product-item-card-home:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 4px 6px -1px rgba(12, 102, 122, 0.04),
              0 12px 24px -2px rgba(12, 102, 122, 0.08),
              0 24px 38px -4px rgba(84, 200, 225, 0.18);
  border-color: rgba(84, 200, 225, 0.6);
}

/* 3. Frost Shimmer Sweep Effect */
.product-card-media::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
  z-index: 2;
}

.product-item-card-home:hover .product-card-media::after {
  left: 140%;
  transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 4. Tactile Micro-Press on Buttons */
button, .btn, .hero-slide-cta, .product-add-cart-btn, .cat-pill, .variant-pill-btn {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              border-color 0.25s ease;
}

button:active, .btn:active, .hero-slide-cta:active, .product-add-cart-btn:active, .cat-pill:active {
  transform: scale(0.95) translateY(1px) !important;
}

/* 5. Smooth Staggered Reveal Animation */
.product-item-card-home.stagger-in {
  animation: cardStaggerIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cardStaggerIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 6. Dynamic Glassmorphic Navbar on Scroll */
.navbar-menu-top {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar-menu-top:not(.mui-13oo741).scrolled {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 10px 30px -10px rgba(12, 102, 122, 0.12);
  border-bottom: 1px solid rgba(84, 200, 225, 0.25);
}

header.mui-13oo741.navbar-scrolled,
header.mui-13oo741.scrolled,
body.single-product header.mui-13oo741 {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background-color: rgba(15, 32, 43, 0.88) !important;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16) !important;
}

/* 7. Organic Soft Badge Pulsing */
.navbar-cart-badge {
  box-shadow: 0 0 0 0 rgba(255, 77, 141, 0.7);
  animation: badgeSoftPulse 2.5s infinite;
}

@keyframes badgeSoftPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 141, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 77, 141, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 141, 0); }
}

/* 8. Modern Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f8f8f3;
}
::-webkit-scrollbar-thumb {
  background: #b2e4ef;
  border-radius: 999px;
  border: 2px solid #f8f8f3;
}
::-webkit-scrollbar-thumb:hover {
  background: #54c8e1;
}


/* --- 20. DEDICATED SUBPAGES & MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
  .single-product-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .product-gallery-card {
    position: relative !important;
    top: auto !important;
    padding: 24px 16px !important;
  }
  .catering-form-card {
    grid-template-columns: 1fr !important;
    padding: 28px 20px !important;
    gap: 32px !important;
  }
  .catering-form-row,
  .catering-form-row-3 {
    grid-template-columns: 1fr !important;
  }
  .stores-grid {
    grid-template-columns: 1fr !important;
  }
  .page-stores-hero,
  .catering-hero-section,
  .story-hero-section,
  .mixbox-hero-section,
  .contact-hero-section,
  .policy-hero-section,
  .archive-hero-section {
    padding: 110px 16px 60px !important;
  }
}

.size-choice-btn:hover {
  border-color: #0c667a !important;
  background: #f0fdfa !important;
}

.thumb-btn:hover {
  border-color: #0c667a !important;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(12, 102, 122, 0.16) !important;
}

.catering-package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(12, 102, 122, 0.16) !important;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(12, 102, 122, 0.16) !important;
}


/* Partners Instagram Carousel */
.partners-section {
    float: left;
    background-color: #fff;
    width: 100%;
    padding: 60px 0 80px;
    clear: both;
    overflow: hidden;
}
.partners-section h1 {
    color: #52cee6 !important;
    font-family: 'Darker Grotesque', sans-serif !important;
    font-size: clamp(40px, 5vw, 64px) !important;
    font-weight: 800 !important;
    margin: 0 0 24px 0 !important;
    display: block;
    width: 100%;
}
.partners-section .partners-slide {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}
.partners-section .partners-slide .swiper-slide {
    width: 220px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
}
.partners-section .partners-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    transition: transform 0.4s ease;
}
.partners-section .partners-slide img:hover {
    transform: scale(1.06);
}


/* Scroll-animate: start hidden, reveal on intersection */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-animate.is-visible,
.scroll-animate.revealed {
    opacity: 1 !important;
    transform: none !important;
}

/* Homepage Product Card Size Toggle Active State & Hero Badge Safe Padding */
.home-product-carousel .product-item-card-main .MuiStack-root,
.product-item-card-main .mui-gdgkeb {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-top: 8px !important;
}

.home-product-carousel .product-item-card-main .MuiStack-root button,
.product-item-card-main .size-btn {
    border-radius: 8px !important;
    padding: 5px 8px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #475569 !important;
    background: #ffffff !important;
    width: auto !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    white-space: nowrap !important;
    text-transform: none !important;
}

.home-product-carousel .product-item-card-main .MuiStack-root button.active,
.home-product-carousel .size-btn.active,
.product-item-card-main .size-btn.active {
    background-color: #e0f7fa !important;
    border-color: #52cee6 !important;
    border-width: 1.5px !important;
    color: #0284c7 !important;
    box-shadow: 0 0 0 1px #52cee6 !important;
}

.product-item-card-main .mui-otd7d3 {
    margin-right: 3px !important;
}

/* Section 3: Avocado Hero Banner background & unclipped product card badges */
.home-hero-banner {
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
}

.home-hero-product-card,
.home-product-card {
    overflow: visible !important;
}

.home-product-card .home-product-image {
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

@media (min-width: 960px) {
    .home-hero-banner .home-hero-content {
        padding-right: 64px !important;
    }
}

/* Section 4: Flavor Tabs consistent 36px Darker Grotesque typography */
.flavor-tabs-wrapper .flavor-tab .flavor-tab-title {
    font-family: 'Darker Grotesque', sans-serif !important;
    font-size: clamp(24px, 2.5vw, 36px) !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    color: #9ca3af !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: color 0.25s ease !important;
}

.flavor-tabs-wrapper .flavor-tab.active .flavor-tab-title {
    color: #52cee6 !important;
}

/* Section 6: Secondary Hero Carousel ("Chạm phong cách sống tươi trẻ") visibility */
.bg-carousel .swiper-slide-active,
.bg-carousel .swiper-slide:first-child {
    opacity: 1 !important;
}

/* Section 7: Alternating Zig-Zag Row 2 ("Sự Lựa Chọn Hoàn Hảo Cho Bữa Tiệc Kem Của Bạn") */
@media (min-width: 900px) {
    .home-info-section .home-info-row2 {
        flex-direction: row-reverse !important;
    }
}

/* =====================================================================
   PARITY FIXES — Match original nakedflavors.com/vi (Nov 2026)
   ===================================================================== */

/* FIX 1: Homepage product carousel — cards 480px wide to match original (was 342px) */
@media (min-width: 960px) {
    .home-product-carousel .product-swiper .swiper-slide {
        width: 480px !important;
    }
    .home-product-carousel .product-swiper .product-item-card-main {
        width: 478px !important;
    }
    .home-product-carousel {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* FIX 2: Partners/Instagram section — slide 320px & padding 150px to match original (was 220px/60px) */
.partners-section {
    padding: 150px 0 !important;
}
.partners-section .partners-slide .swiper-slide {
    width: 320px !important;
    height: 320px !important;
}
.partners-section .partners-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* FIX 3: Header height — 82px to match original (was 62px) & prevent .navbar-scrolled mobile padding clipping */
header.mui-13oo741,
header.mui-13oo741.navbar-scrolled,
header.mui-13oo741.scrolled {
    min-height: 82px !important;
    height: 82px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
}
header.mui-13oo741 .MuiContainer-root {
    height: 82px !important;
    display: flex !important;
    align-items: center !important;
}
header.mui-13oo741 .MuiToolbar-root {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
header.mui-13oo741 .mui-i9gxme,
header.mui-13oo741 .mui-i9gxme a {
    display: inline-flex !important;
    align-items: center !important;
}

/* Dark header backdrop on light-top pages (404, single-product, search) */
body.error404 header.mui-13oo741,
body.search header.mui-13oo741,
body.single-product header.mui-13oo741 {
    background-color: rgba(15, 32, 43, 0.94) !important;
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
}

/* Interactive cursor & hover lift on featured homepage product card */
.home-product-card {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.home-product-card:hover {
    transform: translateY(-4px);
}

/* FIX 4: Subpage Hero H1 white text contrast on dark teal hero banners */
.archive-hero-section h1,
.page-stores-hero h1,
.catering-hero-section h1,
.mixbox-hero-section h1,
.contact-hero-section h1,
.story-hero-section h1,
.policy-hero-section h1,
.page-menu-hero h1,
.search-hero-section h1 {
    color: #ffffff !important;
}

/* FIX 5: Constrain Header & Footer Logo across all viewports and WooCommerce pages */
header#navbar-menu-top .image-logo,
body.woocommerce header#navbar-menu-top .image-logo,
body.woocommerce-page header#navbar-menu-top .image-logo,
.footer .image-logo {
    width: auto !important;
    height: 44px !important;
    max-width: 130px !important;
    object-fit: contain !important;
}

/* White hamburger button icon inside dark header, teal icon inside light header */
header.mui-13oo741 .navbar-hamburger-btn,
header.mui-13oo741 #mobile-menu-toggle-btn {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
}
header.navbar-menu-top:not(.mui-13oo741) .navbar-hamburger-btn {
    color: #0c667a !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
}

/* FIX 6: Offscreen Cart Drawer zero horizontal bleed when closed */
.cart-drawer:not(.active):not(.open) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    box-shadow: none !important;
    transform: translateX(105%) !important;
}

/* FIX 7: MixBox 6-Pack Builder & Subpages Mobile Responsiveness */
@media (max-width: 991px) {
    .mixbox-builder-wrapper {
        grid-template-columns: minmax(0, 1fr) !important;
        padding: 28px 20px !important;
        gap: 32px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .mixbox-left,
    .mixbox-right {
        min-width: 0 !important;
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    header#navbar-menu-top .image-logo,
    body.woocommerce header#navbar-menu-top .image-logo,
    body.woocommerce-page header#navbar-menu-top .image-logo {
        width: auto !important;
        height: 36px !important;
        max-width: 105px !important;
    }
    .home-mixbox-section {
        padding: 24px 12px 60px !important;
    }
    .mixbox-builder-wrapper {
        padding: 20px 14px !important;
        gap: 24px !important;
        border-radius: 18px !important;
    }
    .mixbox-title {
        font-size: 2rem !important;
        line-height: 1.15 !important;
    }
    .mixbox-desc {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
    }
    #mixbox-slots-grid,
    .mixbox-slots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .mixbox-price-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        text-align: center !important;
    }
    .mixbox-add-btn {
        width: 100% !important;
        padding: 14px 16px !important;
        font-size: 1.05rem !important;
    }
    .mixbox-picker-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    #mixbox-picker-list,
    .mixbox-builder-wrapper .flavor-container {
        grid-template-columns: minmax(0, 1fr) !important;
        max-height: 380px !important;
    }
    #contact-feedback-form > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    .page-contact-main [style*="minmax(340px"],
    .page-stores-container [style*="minmax(320px"],
    #stores-page-grid,
    .stores-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .store-card {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px 16px !important;
    }
    .stores-filter-nav {
        gap: 8px !important;
        max-width: 100% !important;
    }
    .stores-filter-nav .cat-pill,
    .store-city-filter-btn {
        font-size: 1.1rem !important;
        padding: 8px 14px !important;
        white-space: normal !important;
        max-width: 100% !important;
        text-align: center !important;
    }
    .hero-carousel .tag-line {
        font-size: 1.55rem !important;
        line-height: 1.05 !important;
        bottom: 24px !important;
        right: 16px !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45) !important;
    }
    .product-filter-bar {
        flex-wrap: wrap !important;
    }
    .contact-map-header-bar {
        padding: 16px !important;
    }
    .contact-map-floating-card {
        left: 12px !important;
        right: 12px !important;
        top: auto !important;
        bottom: 12px !important;
        transform: none !important;
        max-width: calc(100% - 24px) !important;
        padding: 14px 16px !important;
    }
    .home-info-title {
        width: 100% !important;
    }
}



@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-animate,
    .stagger-in,
    .reveal-item {
        opacity: 1 !important;
        transform: none !important;
    }
}
