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

:root {
  /* Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F7;
  /* Apple-style light gray */
  --bg-tertiary: #FDFCF0;
  /* Light beige for warmth */

  --text-primary: #1D1D1F;
  --text-secondary: #86868B;

  /* Brand Accents */
  --accent-citrus: #FFA700;
  --accent-lemon: #FFDF00;
  --accent-currant: #B41E3A;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-main: 'Outfit', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --section-padding: 8rem 2rem;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  /* Managed by GSAP/Lenis usually, keep auto for native as baseline */
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Button */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.125rem;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn.btn-outline:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* Base Layout Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  position: relative;
  padding: var(--section-padding);
}

/* Glassmorphism utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
}

/* Navbar */
/* Navbar */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: var(--max-width);
  z-index: 10000;
  /* Extremely high to stay above everything */
  padding: 1rem 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  /* More opaque */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  /* Ensure brand is centered in its column */
  width: 100%;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-group.left {
  justify-content: flex-start;
}

.nav-group.right {
  justify-content: flex-end;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: var(--text-primary);
  padding: 0 3rem;
  transition: transform 0.4s ease;
}

.nav-brand img {
  height: 50px;
  width: auto;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.nav-brand span {
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  white-space: nowrap;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-brand:hover {
  transform: scale(1.03);
}

.nav-brand:hover span {
  transform: scale(1.055);
}

.nav-brand:hover img {
  transform: scale(1.1) rotate(8deg);
}

.nav-group a:not(.nav-brand) {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-group a:not(.nav-brand):not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-citrus);
  transition: width 0.3s ease;
}

.nav-group a:not(.nav-brand):not(.btn):hover {
  color: var(--accent-citrus);
}

.nav-group a:not(.nav-brand):not(.btn):hover::after {
  width: 100%;
}

/* Removed previous nav structural styles - consolidated in .nav-container/.nav-group items above */

/* Removed old logo/nav-links styles - replaced by nav-brand/nav-menu/nav-cta */

/* Utility Backgrounds & Text */
.bg-secondary {
  background-color: var(--bg-secondary);
}

.center {
  text-align: center;
}

.highlight {
  background: linear-gradient(120deg, var(--accent-citrus), var(--accent-currant));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-text {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2rem;
}

/* Sections */
.section-header {
  margin-bottom: 4rem;
}

.section-desc {
  max-width: 600px;
  margin: 1.5rem 0;
}

.center .section-desc {
  margin: 1.5rem auto;
}

/* V3 Additions - Mango Showcase & Spoiler */
.bg-mango {
  background-color: rgba(255, 184, 77, 0.9);
  color: #FFFFFF;
}

.marquee-section {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  animation: scroll-marquee 20s linear infinite;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.1em;
}

.marquee-content span {
  padding: 0 2rem;
}

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

  100% {
    transform: translateX(-100%);
  }
}

.focus-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 4rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .focus-product-card {
    flex-direction: row;
    text-align: left;
    justify-content: space-around;
  }
}

.focus-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.huge-bottle {
  max-width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25));
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.focus-info {
  flex: 1;
  max-width: 500px;
}

.giant-flavor {
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  margin-bottom: 0.75rem;
  line-height: 1.1;
  background: linear-gradient(120deg, var(--accent-citrus), #FF8C00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spoiler-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.glass-dark {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.blur-heavy {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.spoiler-card {
  width: 320px;
  height: 420px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: linear-gradient(145deg, rgba(40, 40, 40, 0.8), rgba(10, 10, 10, 0.9));
  position: relative;
  overflow: hidden;
}

.spoiler-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 167, 0, 0.06) 50%, transparent 60%);
  background-size: 300% 300%;
  animation: card-shine 4s ease-in-out infinite;
}

@keyframes card-shine {

  0%,
  100% {
    background-position: 200% center;
  }

  50% {
    background-position: -100% center;
  }
}

.question-mark {
  font-size: 8rem;
  font-weight: 700;
  opacity: 0.3;
  margin-bottom: 1rem;
  background: linear-gradient(120deg, #555, #999);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Legendary Hero Section */
.legendary-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30vw;
  font-weight: 800;
  color: rgba(255, 167, 0, 0.08);
  /* Faint citrus glow */
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.05em;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.6;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(255, 167, 0, 0.3);
  top: 10%;
  right: 10%;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(255, 223, 0, 0.2);
  bottom: -10%;
  left: 20%;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(255, 100, 0, 0.15);
  top: 30%;
  left: -5%;
}

/* Floating Hero Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 167, 0, 0.8) 0%, rgba(255, 167, 0, 0) 70%);
  animation: particle-float linear infinite;
  will-change: transform, opacity;
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-20vh) scale(1);
    opacity: 0;
  }
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
  z-index: 2;
  position: relative;
}

.hero-content {
  flex: 1;
  max-width: 650px;
}

.badge {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 167, 0, 0.05);
  color: #d18a00;
  border: 1px solid rgba(255, 167, 0, 0.2);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  background: linear-gradient(120deg, var(--accent-citrus), #FF4500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin: 0 0 3rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-bottle {
  max-height: 82vh;
  width: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.2));
  transform-origin: center bottom;
  pointer-events: none;
}

.bottle-shadow {
  width: 300px;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  margin-top: -15px;
  border-radius: 50%;
  z-index: 1;
}

/* Story Section */
.story-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: var(--max-width);
}

.story-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.story-bottle {
  max-height: 500px;
  width: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  transition: transform 0.5s ease;
}

.story-visual:hover .story-bottle {
  transform: translateY(-10px) rotate(-2deg);
}

.story-text {
  flex: 1.2;
  text-align: left;
}

.story-text p {
  font-size: 1.25rem;
  margin: 1.5rem 0;
}

@media (max-width: 991px) {
  .story-container {
    flex-direction: column;
    text-align: center;
  }

  .story-text {
    text-align: center;
  }

  .story-visual {
    display: none !important;
  }
}

/* Flavors Section */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.product-card {
  background: var(--bg-primary);
  border-radius: 32px;
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-image-wrapper {
  height: 400px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.product-bottle {
  max-height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-bottle {
  transform: scale(1.05);
}

.flavor-notes {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.product-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

/* Production Section */
.production-section {
  position: relative;
  overflow: hidden;
}

.prod-glow-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255, 167, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.production-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.prod-text,
.prod-visual {
  flex: 1;
}

/* Stat Grid */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  padding: 2rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.stat-num {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--accent-citrus), #FF4500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-unit {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent-citrus), #FF4500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.quality-list {
  list-style: none;
  margin-top: 2rem;
}

.quality-list li {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quality-list li::before {
  content: '✓';
  color: var(--accent-citrus);
  font-weight: bold;
}



/* Contact & Footer */
.contact-container {
  max-width: 600px;
}

.contact-form {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text-primary);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Dynamic Selection Styles */
.payment-option.selected {
  border: 2px solid var(--accent-citrus) !important;
  background: rgba(255, 167, 0, 0.05);
}

.payment-option.disabled {
  opacity: 0.5;
  filter: grayscale(0.5);
  cursor: not-allowed;
  pointer-events: none;
}

.payment-option input:checked+div {
  color: var(--text-primary);
}

#delivery-quote-card {
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

#delivery-quote-card.is-hidden {
  display: none;
}

#delivery-quote-card.is-active {
  border-color: rgba(255, 167, 0, 0.45);
  background: rgba(255, 167, 0, 0.08);
}

#delivery-quote-card.is-blocked {
  border-color: rgba(180, 30, 58, 0.35);
  background: rgba(180, 30, 58, 0.08);
}

#delivery-quote-card #delivery-eligibility-note {
  overflow-wrap: break-word;
}

#order #delivery-legal-disclaimer {
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Footer General Update */
.footer {
  padding: 3rem 0 0 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 0 2rem 3rem 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 350px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--text-primary);
  opacity: 0.6;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none !important;
  font-weight: 500;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.footer-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: left center;
}

.footer-links a:hover {
  transform: scale(1.08);
}

/* Footer Bottom (Legal) */
.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  /* Minimalist separator */
  padding: 1.5rem 0;
  background: rgba(0, 0, 0, 0.02);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0 2rem;
}

.footer-bottom-inner p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--text-primary);
}

/* Contact Form Status */
.form-result {
  margin-top: 1.5rem;
  text-align: center;
  font-weight: 500;
  display: none;
  padding: 1rem;
  border-radius: 12px;
}

.form-result.success {
  display: block;
  background: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.form-result.error {
  display: block;
  background: rgba(180, 30, 58, 0.1);
  color: var(--accent-currant);
  border: 1px solid rgba(180, 30, 58, 0.2);
}

/* Sponsors Section */
.sponsors-section {
  padding: 8rem 0;
  background-color: var(--bg-primary);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sponsors-container {
  text-align: center;
}

.sponsors-track-wrapper {
  margin-top: 4rem;
  overflow: hidden;
  width: 100%;
  position: relative;
  /* Mask gradient for smooth fade at edges */
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.sponsors-track {
  display: flex;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem 8rem;
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .sponsors-track {
    gap: 4rem;
    animation-duration: 20s;
  }
}

.sponsor-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.4s ease;
  cursor: pointer;
  max-width: 200px;
}

.sponsor-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* Responsive Optimization */
@media (max-width: 768px) {
  :root {
    --max-width: 100%;
  }

  /* Phase 2: checkout mobile stability guardrails */
  #order .contact-form {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 1rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  #order .contact-form * {
    max-width: 100%;
    box-sizing: border-box;
  }

  #order .order-inline-row,
  #order .order-options-row {
    display: flex !important;
    flex-direction: column;
    gap: 0.75rem !important;
    width: 100%;
  }

  #order .order-inline-row .form-group,
  #order .order-options-row .payment-option {
    flex: 1 1 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #order .form-group {
    gap: 0.45rem;
    margin-top: 0.25rem;
  }

  #order .form-group p,
  #order #fulfillment-helper,
  #order #delivery-status-note,
  #order #payment-note,
  #order #submit-fulfillment-note,
  #order #delivery-legal-disclaimer {
    font-size: 0.9rem !important;
    line-height: 1.45;
    overflow-wrap: break-word;
  }

  #delivery-quote-card {
    width: 100%;
    max-width: 100%;
    padding: 0.9rem !important;
  }

  #delivery-quote-card p {
    font-size: 0.88rem !important;
    line-height: 1.4;
  }

  #order .payment-option {
    align-items: flex-start !important;
  }

  #order .payment-option a {
    overflow-wrap: anywhere;
  }

  #order .contact-form input,
  #order .contact-form select,
  #order .contact-form textarea,
  #order .contact-form button {
    width: 100%;
    max-width: 100%;
  }

  #stripe-button-container {
    width: 100%;
    max-width: 100%;
  }

  /* Navbar Mobile Stack */
  .navbar {
    width: calc(100% - 2rem);
    top: 1rem;
    padding: 1rem;
    border-radius: 20px;
  }

  /* Navbar Mobile Stack (2-Row) */
  .navbar {
    width: calc(100% - 1.5rem);
    top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 18px;
  }

  .nav-container {
    display: flex !important;
    flex-direction: row !important;
    /* Allow side-by-side flow */
    flex-wrap: wrap !important;
    /* But allow logo to stay on its own line */
    justify-content: center !important;
    gap: 0.3rem !important;
    align-items: center !important;
    width: 100% !important;
  }

  .nav-brand {
    flex: 0 0 100% !important;
    /* Force brand to occupy the entire first line */
    display: flex !important;
    justify-content: center !important;
    padding: 0 !important;
    margin-bottom: 0.2rem !important;
    order: -1 !important;
  }

  .nav-brand img {
    height: 28px !important;
  }

  .nav-brand span {
    font-size: 1.2rem !important;
  }

  .nav-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem !important;
    width: auto !important;
    /* Allow them to sit side-by-side */
    padding: 0 !important;
  }

  .nav-container a:not(.nav-brand) {
    font-size: 0.7rem !important;
    padding: 0.1rem 0.2rem !important;
    white-space: nowrap !important;
  }

  /* Compact contact button on mobile */
  .nav-container .btn-sm {
    padding: 0.2rem 0.4rem !important;
    font-size: 0.7rem !important;
  }

  /* Hero Section Mobile Premium Apple-Style */
  .legendary-hero {
    padding-top: 7rem;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
    /* Spacious premium gap */
  }

  .hero-visual {
    order: -1 !important;
    z-index: 2;
    width: 100%;
    position: relative;
    /* Clean layout, no overlapping hacks anymore */
  }

  .hero-bottle {
    height: 48vh;
    /* Large, proud bottle */
    max-height: 420px;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.25));
    /* Gorgeous floating shadow */
    z-index: 2;
    position: relative;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    padding: 0 1rem;
    /* Naked, crisp typography directly on the background */
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 1.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
  }

  .hero-title {
    font-size: min(15vw, 3.8rem);
    line-height: 1.05;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    /* Modern tight kerning */
  }

  .hero-subtitle {
    font-size: 1.15rem;
    padding: 0 0.5rem;
    margin-bottom: 0;
    color: var(--text-secondary);
  }

  .hero-bg-text {
    font-size: 45vw;
    /* Massive behind the bottle */
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
    z-index: 0;
  }

  /* Mango / Focus Product Mobile */
  .focus-product-card {
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    text-align: center;
    gap: 2rem;
  }

  .huge-bottle {
    max-height: 300px;
    /* Prevent massive bottles */
    object-fit: contain;
  }

  .focus-info {
    max-width: 100%;
  }

  .giant-flavor {
    font-size: 3.5rem;
  }

  .hero-container,
  .production-container {
    flex-direction: column !important;
    text-align: center !important;
  }

  /* Don't apply 2rem push-down to hero, so overlap effect can work! */
  .production-container>div {
    width: 100% !important;
    margin-bottom: 2rem !important;
  }

  /* Thin Marquee on Mobile */
  .marquee-container {
    padding: 0.8rem 0;
    /* Radically thinner stripe */
    margin-top: -0.5rem;
  }

  .marquee-reverse {
    margin-top: -0.8rem;
  }

  .marquee-content {
    font-size: 1.1rem;
    /* Smaller font to fit thinner stripe */
    letter-spacing: 1px;
    gap: 1.5rem;
  }

  /* Keep visual wrappers flex to ensure images stay centered perfectly */
  .hero-visual,
  .prod-visual {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .hero-visual {
    order: -1 !important;
  }

  /* Production & Stats Mobile - RELIABLE Flex 2x2 Grid */
  .stat-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1.25rem !important;
    width: 100% !important;
    margin: 2rem 0 !important;
  }

  .stat-card {
    flex: 0 0 calc(50% - 0.75rem) !important;
    min-width: 140px !important;
    padding: 1.25rem 0.75rem !important;
    border-radius: 24px !important;
    height: auto !important;
    min-height: 140px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .stat-num {
    font-size: 1.8rem;
  }

  .stat-unit {
    font-size: 1.25rem;
  }

  .stat-card p {
    font-size: 0.8rem;
    margin-top: 0.25rem;
  }

  .quality-list li {
    font-size: 1.1rem;
    justify-content: center;
  }

  /* Global Section Spacing */
  section {
    padding: 4rem 0;
  }

  /* Footer Mobile Fixing overflow & modernizing layout */
  .footer {
    padding: 3rem 0 0 0;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem 3rem 1.5rem;
    gap: 2.5rem;
  }

  .footer-top {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-brand h3 {
    margin-bottom: 0.5rem;
  }

  .footer-links {
    align-items: center;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .footer-legal {
    justify-content: center;
    gap: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: min(15vw, 3.2rem);
  }

  .nav-group {
    gap: 0.75rem;
  }

  .nav-group a:not(.nav-brand) {
    font-size: 0.8rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .giant-flavor {
    font-size: min(15vw, 4rem);
  }
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 450px;
  background: var(--bg-primary);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 16px;
  z-index: 9999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease;
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 10px;
    left: 10px;
    right: 10px;
    max-width: none;
    padding: 15px;
  }

  .cookie-buttons {
    flex-direction: column !important;
  }

  .cookie-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .cookie-buttons .btn:last-child {
    margin-bottom: 0;
  }
}

/* --- Countdown Widget --- */
.countdown-widget {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 167, 0, 0.4);
  border-radius: 20px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(255, 167, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 10px 40px rgba(255, 167, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  }

  100% {
    box-shadow: 0 15px 50px rgba(255, 167, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  }
}

.countdown-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(120deg, var(--accent-citrus), #FF4500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.countdown-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.6);
  padding: 1rem 0.5rem;
  border-radius: 12px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-family: monospace;
}

.countdown-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 480px) {
  .countdown-grid {
    gap: 0.75rem;
  }

  .countdown-box {
    min-width: 55px;
  }

  .countdown-num {
    font-size: 1.75rem;
    padding: 0.75rem 0.25rem;
  }
}

/* --- Admin Panel Syncing Animation --- */
#btn-refresh.syncing .sync-icon {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#btn-refresh.syncing {
  opacity: 0.8;
  pointer-events: none;
}