/* ═══════════════════════════════════════════════════════
   MAAVU — Premium Mango Website  |  Refactored CSS
   ═══════════════════════════════════════════════════════ */

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

:root {
  --mango-yellow: #FFB703;
  --mango-deep:   #FB8500;
  --mango-light:  #FFF3CD;
  --leaf-green:   #4CAF50;
  --leaf-dark:    #2E7D32;
  --leaf-light:   #C8E6C9;
  --kraft:        #8D6E63;
  --cream:        #FFFDF7;
  --white:        #FFFFFF;
  --dark:         #1A1A2E;
  --text-main:    #2C2C2C;
  --text-muted:   #888899;
  --glass-bg:     rgba(255,255,255,0.55);
  --glass-border: rgba(255,255,255,0.8);
  --glass-shadow: 0 8px 48px rgba(0,0,0,0.08);
  --radius-sm:    12px;
  --radius-md:    20px;
  --radius-lg:    32px;
  --radius-xl:    48px;
  --font-main:    'Outfit', sans-serif;
  --font-kn:      'Noto Sans Kannada', sans-serif;
  --ease-spring:  cubic-bezier(0.34,1.56,0.64,1);
  --ease-smooth:  cubic-bezier(0.25,0.46,0.45,0.94);
}

html {
  scroll-behavior: smooth;
  /* Prevent content shift on scrollbar appear */
  overflow-y: scroll;
}

body {
  font-family: var(--font-main);
  background: var(--cream);
  color: var(--text-main);
  overflow-x: hidden;
  cursor: none;
  /* Prevent horizontal layout shifts */
  max-width: 100vw;
}

/* ─── Cursor Glow ─── */
.cursor-glow {
  position: fixed;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,183,3,0.6) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  mix-blend-mode: multiply;
  /* GPU hint */
  will-change: left, top;
}
body:has(a:hover) .cursor-glow,
body:has(button:hover) .cursor-glow {
  width: 50px; height: 50px;
}
@media (hover: none) {
  .cursor-glow { display: none; }
  body { cursor: auto; }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--mango-yellow); border-radius: 99px; }

/* ─── Typography ─── */
.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--leaf-green);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}
.text-accent { color: var(--mango-yellow); }
.section-header { text-align: center; padding: 4rem 1rem 1rem; }

/* ─── Glass Card ─── */
.glass-card {
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
}

/* ─── Core Keyframes (safe, transform + opacity only) ─── */
@keyframes floatY {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-18px) rotate(1deg); }
  66%       { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes scanLine {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(118px); }
}
@keyframes vshDrop {
  0%   { transform: translateY(0);  opacity: 1; }
  60%  { transform: translateY(19px); opacity: 0.15; }
  100% { transform: translateY(0);  opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.8) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.15); }
}
@keyframes cartPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.25) rotate(-5deg); }
  70%  { transform: scale(0.95) rotate(3deg); }
  100% { transform: scale(1); }
}
@keyframes dotFloat {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50%       { transform: translateY(calc(-50% - 8px)) scale(1.05); }
}

.float-anim  { animation: floatY 4s ease-in-out infinite; }

/* ─── Reveal animations ─── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
/* Fallback: show after delay if JS doesn't fire */
@keyframes revealFallback { to { opacity: 1; transform: none; } }
.reveal-up    { animation: revealFallback 0s 2s forwards; }

.reveal-left {
  opacity: 0; transform: translateX(-60px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
  animation: revealFallback 0s 2s forwards;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(60px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
  animation: revealFallback 0s 2s forwards;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════════════════════
   VIDEO HERO — STABLE, CENTERED LAYOUT
   ═══════════════════════════════════════════════════════ */

/*
  The video hero is a single-screen section with:
  - A full-viewport container (no scroll tricks here)
  - The video fills 100% cover
  - Content is centered via flex
  - z-index layering: video(0) → overlay(1) → content(2) → scroll hint(3)
*/
.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  background: #000;
  /* Centering context for all children */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── The video itself ── */
.video-hero-bg {
  /* Absolutely positioned to fill the container */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Always fill viewport, crop edges if needed */
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  /* GPU compositing — eliminates jitter */
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (max-width: 768px) {
  .video-hero {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: unset;
  }
}

/* ── Cinematic vignette overlay ── */
.video-hero-overlay {
  position: absolute;
  inset: 0;
  /* Multi-layer: edge vignette + strong center scrim for text legibility */
  background:
    /* Radial center darkening behind the text */
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,0,0,0.45) 0%, transparent 80%),
    /* Top navbar fade */
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 20%, transparent 65%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ── Hero content (centered via parent flex) ── */
.video-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  /* Max width prevents overly wide text on ultrawide monitors */
  max-width: 800px;
  width: 100%;
  /* Shift slightly above center for visual balance */
  margin-top: -2rem;
  animation: fadeInUp 1.2s var(--ease-smooth) 0.3s both;
}

.vh-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,183,3,0.9);
  margin-bottom: 1rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.vh-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 4px 24px rgba(0,0,0,0.6), 0 0 60px rgba(0,0,0,0.4);
}

.vh-accent {
  background: linear-gradient(135deg, var(--mango-yellow), var(--mango-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vh-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  line-height: 1.6;
}

.vh-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--mango-yellow), var(--mango-deep));
  color: var(--dark);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 2.2rem;
  border-radius: 99px;
  text-decoration: none;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  box-shadow: 0 8px 32px rgba(255,183,3,0.45);
  cursor: none;
}
.vh-cta:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 44px rgba(255,183,3,0.65);
}

/* ── Scroll hint at bottom ── */
.vh-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  white-space: nowrap;
  animation: fadeInUp 1s var(--ease-smooth) 1.5s both;
}

.vsh-mouse {
  width: 26px; height: 44px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 13px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.vsh-dot {
  width: 4px; height: 4px;
  background: #fff; border-radius: 50%;
  animation: vshDrop 1.8s ease-in-out infinite;
}

/* ═══════════════════════ NAVBAR ═══════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  transition: background 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(255,253,247,0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center;
  height: 72px; gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img { height: 40px; width: auto; object-fit: contain; }
.nav-links {
  display: flex; gap: 2rem; list-style: none;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-main); text-decoration: none;
  transition: color 0.2s;
  cursor: none;
}
.nav-links a:hover { color: var(--mango-deep); }
.nav-cta {
  background: var(--mango-yellow);
  color: var(--dark); font-weight: 700;
  padding: 0.55rem 1.3rem; border-radius: 99px;
  text-decoration: none; font-size: 0.88rem;
  transition: transform 0.2s var(--ease-spring), background 0.2s, box-shadow 0.2s;
  cursor: none;
  box-shadow: 0 4px 16px rgba(255,183,3,0.35);
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(255,183,3,0.5);
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: all 0.3s;
}
.nav-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(255,253,247,0.97);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }
.nav-overlay-inner { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.overlay-link {
  font-size: 2rem; font-weight: 700;
  color: var(--dark); text-decoration: none;
  transition: color 0.2s;
}
.overlay-link:hover { color: var(--mango-yellow); }

/* ═══════════════════════ SHOWCASE ═══════════════════════ */
.showcase {
  padding: 2rem 1rem 6rem;
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  position: relative;
}
.mango-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px; margin: 2rem auto 0;
  padding: 0 2rem;
}
.mango-card {
  background: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,183,3,0.2);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center; cursor: none;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, border-color 0.3s;
  position: relative; overflow: hidden;
  backdrop-filter: blur(10px);
}
.mango-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,183,3,0.05) 0%, rgba(76,175,80,0.05) 100%);
  opacity: 0; transition: opacity 0.3s;
}
.mango-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 24px 60px rgba(255,183,3,0.2);
  border-color: rgba(255,183,3,0.5);
}
.mango-card:hover::before { opacity: 1; }
.card-emoji {
  font-size: 3.5rem;
  animation: floatY 4s ease-in-out infinite;
  display: block; margin-bottom: 0.75rem;
  filter: drop-shadow(0 8px 16px rgba(255,150,0,0.3));
}
.card-name  { font-weight: 800; font-size: 1.1rem; margin-bottom: 0.2rem; }
.card-kn    { font-family: var(--font-kn); font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.card-season { font-size: 0.75rem; color: var(--leaf-green); font-weight: 600; }
.card-price { font-size: 0.95rem; font-weight: 700; color: var(--mango-deep); margin-top: 0.5rem; }
.card-hint  { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.4rem; opacity: 0.7; }

/* Detail Panel */
.mango-detail-panel {
  position: fixed;
  bottom: -100%; left: 50%; transform: translateX(-50%);
  width: min(700px, 95vw);
  padding: 2.5rem; z-index: 500;
  transition: bottom 0.5s var(--ease-spring), opacity 0.3s;
  opacity: 0;
}
.mango-detail-panel.open {
  bottom: 2rem; opacity: 1;
}
.detail-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(0,0,0,0.08); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 0.9rem; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.detail-close:hover { background: rgba(0,0,0,0.15); transform: rotate(90deg); }
.detail-inner { display: flex; gap: 2rem; align-items: center; }
.detail-mango-wrap { font-size: 6rem; text-align: center; flex-shrink: 0; }
.detail-mango-split {
  font-size: 5rem; transition: transform 0.4s var(--ease-spring);
  animation: floatY 4s ease-in-out infinite;
}
.detail-name   { font-size: 2rem; font-weight: 800; }
.detail-kannada { font-family: var(--font-kn); color: var(--text-muted); margin-bottom: 0.75rem; }
.detail-desc   { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.92rem; line-height: 1.6; }
.detail-tags   { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.detail-tag {
  background: rgba(255,183,3,0.15);
  color: var(--mango-deep); font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.75rem; border-radius: 99px;
  border: 1px solid rgba(255,183,3,0.3);
}

/* ═══════════════════════ APARTMENT OUTLET ═══════════════════════ */
.apartment {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #FFFDF7 0%, #F0FFF4 50%, #FFFBF0 100%);
  position: relative; overflow: hidden;
}
.apt-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.apt-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,183,3,0.15) 0%, transparent 70%);
  top: -10%; right: -5%;
  animation: floatSlow 9s ease-in-out infinite;
}
.apt-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(76,175,80,0.12) 0%, transparent 70%);
  bottom: 0; left: -10%;
  animation: floatSlow 11s ease-in-out infinite reverse;
}
.apt-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; max-width: 1200px; margin: 0 auto;
  align-items: start; position: relative; z-index: 1;
}
.apt-desc {
  color: var(--text-muted); line-height: 1.8;
  margin-bottom: 2.5rem; font-size: 1.05rem;
}
.apt-benefits {
  display: flex; flex-direction: column; gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.apt-benefit { display: flex; gap: 1rem; align-items: flex-start; }
.ab-icon { font-size: 1.8rem; flex-shrink: 0; }
.apt-benefit strong { display: block; font-weight: 700; margin-bottom: 0.15rem; }
.apt-benefit p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }
.apt-stats { display: flex; gap: 1rem; flex-wrap: wrap; }
.apt-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 1rem 1.5rem; text-align: center; flex: 1; min-width: 90px;
}
.apt-stat-num {
  font-size: 1.5rem; font-weight: 900;
  background: linear-gradient(135deg, var(--mango-yellow), var(--mango-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.apt-stat-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; margin-top: 0.25rem; }

/* Form card */
.apt-form-card { padding: 2.5rem; border: 1.5px solid rgba(255,183,3,0.2); }
.apt-form-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.apt-form-icon { font-size: 2.5rem; }
.apt-form-header h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.2rem; }
.apt-form-header p  { font-size: 0.85rem; color: var(--text-muted); }

/* Form elements */
.apt-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-main); letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-main); font-size: 0.9rem;
  color: var(--text-main); background: rgba(255,255,255,0.8);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; cursor: auto;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--mango-yellow);
  box-shadow: 0 0 0 3px rgba(255,183,3,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; font-size: 0.85rem; }
.form-group textarea { resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem;
}
.form-group input.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }

.apt-submit-btn {
  background: linear-gradient(135deg, var(--mango-yellow) 0%, var(--mango-deep) 100%);
  color: white; font-weight: 700; border: none;
  padding: 1rem 2rem; border-radius: 99px;
  font-size: 1rem; cursor: pointer; width: 100%;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  box-shadow: 0 6px 24px rgba(255,183,3,0.4);
  margin-top: 0.5rem; font-family: var(--font-main);
}
.apt-submit-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(255,183,3,0.55); }
.apt-submit-btn:active { transform: translateY(0); }
.apt-form-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; line-height: 1.6; }

/* Success state */
.apt-success { text-align: center; padding: 2rem 0; }
.success-icon { font-size: 4rem; margin-bottom: 1rem; display: block; }
.apt-success h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.75rem; }
.apt-success p  { color: var(--text-muted); line-height: 1.7; margin-bottom: 0.5rem; }
.success-sub { font-size: 1rem; color: var(--leaf-green); font-weight: 600; }

/* ═══════════════════════ DELIVERY ═══════════════════════ */
.delivery {
  padding: 2rem 1rem 6rem;
  background: linear-gradient(135deg, var(--cream) 0%, #FFF8E1 100%);
}
.delivery-path-wrap {
  position: relative;
  max-width: 1100px; margin: 3rem auto;
  height: 280px; overflow: visible;
}
.path-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.delivery-step {
  position: absolute; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center; z-index: 2;
}
.step-icon {
  font-size: 2.5rem; display: block; margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}
.step-label { font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.step-sub   { font-size: 0.65rem; color: var(--text-muted); }
.delivery-dot {
  position: absolute;
  top: 50%;
  font-size: 1.8rem; z-index: 3;
  filter: drop-shadow(0 0 12px rgba(255,183,3,0.8));
  animation: dotFloat 2s ease-in-out infinite;
  will-change: transform;
}
.delivery-promise {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  max-width: 1000px; margin: 4rem auto 0; padding: 0 2rem;
}
.promise-card {
  padding: 1.75rem; text-align: center;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.promise-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.promise-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.promise-card h4 { font-weight: 700; margin-bottom: 0.35rem; }
.promise-card p  { font-size: 0.85rem; color: var(--text-muted); }

/* ═══════════════════════ FARM STORY ═══════════════════════ */
.farm {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
}
.farm-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; max-width: 1100px; margin: 0 auto;
  align-items: center;
}
.farm-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.farm-img {
  width: 100%; border-radius: var(--radius-lg);
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.15));
}
.farm-desc { color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }
.farm-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.farm-feature { display: flex; gap: 1rem; align-items: flex-start; }
.ff-icon { font-size: 1.5rem; flex-shrink: 0; }
.farm-feature strong { display: block; margin-bottom: 0.1rem; }
.farm-feature p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.farm-quote {
  background: rgba(255,255,255,0.6);
  border-left: 4px solid var(--mango-yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem; font-style: italic;
  line-height: 1.7; backdrop-filter: blur(10px);
}
.farm-quote cite { font-size: 0.85rem; font-style: normal; color: var(--text-muted); }

/* ═══════════════════════ QR SECTION ═══════════════════════ */
.qr-section {
  padding: 2rem 1rem 6rem;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}
.qr-scene {
  display: flex; gap: 6rem; justify-content: center;
  align-items: center; flex-wrap: wrap; margin-top: 3rem;
}

/* Phone */
.phone-wrap { display: flex; justify-content: center; }
.phone-frame {
  width: 220px; height: 440px;
  background: linear-gradient(145deg, #1A1A2E, #2D2D44);
  border-radius: 36px; padding: 12px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15), 0 40px 80px rgba(0,0,0,0.25), 0 0 60px rgba(255,183,3,0.15);
  position: relative;
}
.phone-notch {
  width: 60px; height: 8px;
  background: rgba(0,0,0,0.8); border-radius: 4px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: #0a0a1a; border-radius: 28px; overflow: hidden;
  height: calc(100% - 28px);
}
.phone-screen-content { width: 100%; height: 100%; position: relative; }
.scan-overlay {
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; position: relative;
  transition: opacity 0.6s ease;
}
.scan-corners { width: 120px; height: 120px; position: relative; }
.corner { position: absolute; width: 20px; height: 20px; border-color: var(--mango-yellow); border-style: solid; }
.corner.tl { top: 0; left: 0; border-width: 3px 0 0 3px; }
.corner.tr { top: 0; right: 0; border-width: 3px 3px 0 0; }
.corner.bl { bottom: 0; left: 0; border-width: 0 0 3px 3px; }
.corner.br { bottom: 0; right: 0; border-width: 0 3px 3px 0; }
/* Scan line — uses transform instead of top */
.scan-line {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--mango-yellow), transparent);
  top: 0;
  animation: scanLine 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--mango-yellow);
  will-change: transform;
}
.scan-text { color: rgba(255,255,255,0.6); font-size: 0.7rem; }

/* Phone video */
.phone-video-preview { padding: 0.75rem; height: 100%; background: #111; }
.pvideo-header { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.75rem; }
.pvideo-dot { width: 8px; height: 8px; border-radius: 50%; }
.pvideo-dot.red    { background: #FF5F57; }
.pvideo-dot.yellow { background: #FFBD2E; }
.pvideo-dot.green  { background: #28C940; }
.pvideo-title { font-size: 0.6rem; color: rgba(255,255,255,0.6); margin-left: 0.3rem; }
.pvideo-frame { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 0.75rem; }
.pvideo-img { width: 100%; height: 120px; object-fit: cover; }
.pvideo-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.4); font-size: 1.5rem; color: #fff; }
.pvideo-caption { font-size: 0.65rem; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* QR Card */
.qr-card { padding: 2.5rem; text-align: center; min-width: 280px; }
.qr-code-wrap { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.qr-code {
  width: 160px; height: 160px;
  background: #fff; border-radius: var(--radius-sm);
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px; padding: 12px;
  position: relative; box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.qr-cell { border-radius: 2px; background: #1A1A2E; }
.qr-cell.white { background: transparent; }
.qr-logo {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; pointer-events: none;
}
.qr-label { font-weight: 800; font-size: 1.2rem; margin-bottom: 0.5rem; }
.qr-sub   { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ═══════════════════════ ORDER ═══════════════════════ */
.order {
  padding: 6rem 1rem;
  background: linear-gradient(135deg, #1A1A2E 0%, #2D1B4E 50%, #1A2E1A 100%);
  position: relative; overflow: hidden; text-align: center;
}
.order-bg-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,183,3,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.order-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.order-steps {
  display: flex; align-items: flex-start; gap: 1rem;
  justify-content: center; margin: 4rem auto; flex-wrap: wrap;
}
.order-step {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md); padding: 2rem 1.5rem;
  text-align: center; max-width: 220px; flex: 1;
  backdrop-filter: blur(16px);
  transition: transform 0.3s var(--ease-spring), background 0.3s;
}
.order-step:hover { transform: translateY(-8px); background: rgba(255,255,255,0.12); }
.step-num {
  font-size: 3rem; font-weight: 900;
  background: linear-gradient(135deg, var(--mango-yellow), var(--mango-deep));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; margin-bottom: 0.75rem;
}
.step-anim-icon { font-size: 2.5rem; margin-bottom: 0.75rem; display: block; }
.order-step h4 { color: #fff; font-weight: 700; margin-bottom: 0.5rem; }
.order-step p  { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.6; }
.step-arrow {
  font-size: 2rem; color: rgba(255,183,3,0.5);
  align-self: center; flex-shrink: 0;
  animation: floatSlow 2s ease-in-out infinite;
}
.order-cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 3rem 0 1.5rem; }
.order-btn-primary {
  background: linear-gradient(135deg, var(--mango-yellow), var(--mango-deep));
  color: white; font-weight: 700; padding: 1rem 2.5rem; border-radius: 99px;
  text-decoration: none; font-size: 1.05rem;
  box-shadow: 0 8px 32px rgba(255,183,3,0.4);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  cursor: none;
}
.order-btn-primary:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(255,183,3,0.6); }
.order-btn-secondary {
  color: #fff; font-weight: 700; padding: 1rem 2.5rem; border-radius: 99px;
  text-decoration: none; font-size: 1.05rem;
  background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.25);
  transition: transform 0.3s var(--ease-spring), background 0.3s; cursor: none;
}
.order-btn-secondary:hover { transform: translateY(-4px); background: rgba(255,255,255,0.18); }
.order-note { color: rgba(255,255,255,0.4); font-size: 0.85rem; }

/* ═══════════════════════ FOOTER ═══════════════════════ */
.footer { background: #0d0d18; padding: 4rem 2rem 0; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text { color: #fff; font-size: 1.3rem; }
.footer-tagline-sub { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin-top: 0.5rem; }
.footer-links-group h5 { color: rgba(255,255,255,0.6); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.footer-links-group a  { display: block; color: rgba(255,255,255,0.4); font-size: 0.88rem; text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s; cursor: none; }
.footer-links-group a:hover { color: var(--mango-yellow); }
.footer-tagline p { font-size: 1.2rem; color: rgba(255,255,255,0.25); line-height: 1.7; font-style: italic; font-weight: 300; }
.footer-bottom { text-align: center; padding: 1.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.25); }

/* ═══════════════════════ CART BUTTON (NAV) ═══════════════════════ */
.cart-btn {
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(255,183,3,0.12); border: 1.5px solid rgba(255,183,3,0.35);
  border-radius: 99px; padding: 0.45rem 1rem;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease-spring), box-shadow 0.2s;
  color: var(--dark); position: relative;
}
.cart-btn:hover { background: rgba(255,183,3,0.25); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,183,3,0.3); }
.cart-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mango-deep); color: #fff; border-radius: 99px;
  font-size: 0.7rem; font-weight: 800; min-width: 18px; height: 18px; padding: 0 4px;
  transition: transform 0.3s var(--ease-spring);
}
.cart-badge.has-items { transform: scale(1.2); }
.cart-pulse { animation: cartPulse 0.6s var(--ease-spring); }

/* ═══════════════════════ CART DRAWER ═══════════════════════ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.35); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; right: -420px;
  width: min(420px, 100vw); height: 100vh;
  background: #fff; box-shadow: -8px 0 60px rgba(0,0,0,0.15);
  z-index: 1200; display: flex; flex-direction: column;
  transition: right 0.4s var(--ease-spring);
  border-radius: 24px 0 0 24px;
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 1.5rem 1.25rem; border-bottom: 1px solid rgba(0,0,0,0.06); flex-shrink: 0;
}
.cart-drawer-header h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.15rem; }
.cart-subtitle { font-size: 0.8rem; color: var(--text-muted); }
.cart-close-btn {
  background: rgba(0,0,0,0.06); border: none; width: 36px; height: 36px; border-radius: 50%;
  font-size: 1rem; cursor: pointer; transition: background 0.2s, transform 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.cart-close-btn:hover { background: rgba(0,0,0,0.12); transform: rotate(90deg); }
.cart-items-wrap { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; text-align: center; padding: 3rem 1rem; color: var(--text-muted);
}
.cart-empty-icon { font-size: 3.5rem; margin-bottom: 1rem; display: block; }
.cart-empty p { font-weight: 600; margin-bottom: 0.35rem; }
.cart-empty small { font-size: 0.8rem; }
.cart-item { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.ci-emoji { font-size: 2rem; flex-shrink: 0; }
.ci-info { flex: 1; min-width: 0; }
.ci-info strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; }
.ci-info span   { font-size: 0.8rem; color: var(--text-muted); }
.ci-actions { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.ci-qty {
  width: 26px; height: 26px; background: rgba(255,183,3,0.15);
  border: 1px solid rgba(255,183,3,0.4); border-radius: 50%; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.ci-qty:hover { background: rgba(255,183,3,0.35); }
.ci-actions > span { font-size: 0.85rem; font-weight: 700; min-width: 18px; text-align: center; }
.ci-remove {
  width: 26px; height: 26px; background: rgba(239,68,68,0.1); border: none;
  color: #ef4444; border-radius: 50%; font-size: 0.8rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.ci-remove:hover { background: rgba(239,68,68,0.25); }
.cart-footer {
  padding: 1.25rem 1.5rem; border-top: 1px solid rgba(0,0,0,0.08); flex-shrink: 0;
  background: rgba(255,253,247,0.9); backdrop-filter: blur(12px); border-radius: 0 0 0 24px;
}
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cart-total-row span:first-child { font-weight: 600; color: var(--text-muted); }
.cart-total-price {
  font-size: 1.4rem; font-weight: 900;
  background: linear-gradient(135deg, var(--mango-yellow), var(--mango-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cart-order-btn {
  display: block; text-align: center;
  background: linear-gradient(135deg, var(--mango-yellow) 0%, var(--mango-deep) 100%);
  color: #fff; font-weight: 700; font-size: 1rem; padding: 0.9rem; border-radius: 99px;
  text-decoration: none; transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  box-shadow: 0 6px 24px rgba(255,183,3,0.4); border: none; cursor: pointer; width: 100%;
  font-family: var(--font-main);
}
.cart-order-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(255,183,3,0.55); }

/* ═══════════════════════ DETAIL KG SELECTOR ═══════════════════════ */
.detail-order-section { margin-top: 1rem; }
.detail-price-label { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.75rem; }
.dpk-label { font-size: 0.75rem; font-weight: 600; color: var(--leaf-green); text-transform: uppercase; letter-spacing: 0.08em; }
.detail-price-per-kg {
  font-size: 1.8rem; font-weight: 900;
  background: linear-gradient(135deg, var(--mango-yellow), var(--mango-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.kg-selector-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.65rem; font-weight: 500; }
.kg-options { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; }
.kg-option {
  flex: 1; display: flex; align-items: center;
  border: 2px solid rgba(255,183,3,0.25); border-radius: var(--radius-sm); padding: 0.75rem 1rem;
  cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  background: rgba(255,255,255,0.7);
}
.kg-option:has(input:checked) {
  border-color: var(--mango-yellow); background: rgba(255,183,3,0.08);
  box-shadow: 0 0 0 3px rgba(255,183,3,0.15);
}
.kg-option input[type="radio"] { display: none; }
.kg-opt-inner { display: flex; flex-direction: column; }
.kg-opt-inner strong { font-size: 1rem; font-weight: 800; color: var(--dark); }
.kg-opt-inner span   { font-size: 0.85rem; font-weight: 700; color: var(--mango-deep); margin-top: 0.15rem; }
.detail-add-cart-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--mango-yellow) 0%, var(--mango-deep) 100%);
  color: #fff; font-weight: 700; border: none; padding: 0.85rem; border-radius: 99px;
  font-size: 1rem; cursor: pointer; font-family: var(--font-main);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  box-shadow: 0 6px 24px rgba(255,183,3,0.4);
}
.detail-add-cart-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(255,183,3,0.55); }

/* ═══════════════════════════════════════════════════════
   CHECKOUT MODAL
   ═══════════════════════════════════════════════════════ */
.checkout-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,10,20,0.65); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.checkout-overlay.open { opacity: 1; pointer-events: all; }
.checkout-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: min(960px, 96vw); max-height: 92vh; overflow-y: auto;
  background: var(--cream); border-radius: var(--radius-lg);
  box-shadow: 0 40px 120px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,183,3,0.15);
  z-index: 2100; opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease-spring), transform 0.35s var(--ease-spring);
  scrollbar-width: thin; scrollbar-color: var(--mango-yellow) transparent;
}
.checkout-modal.open { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
.checkout-close {
  position: sticky; top: 1rem; float: right; margin: 1rem 1rem 0 0;
  background: rgba(0,0,0,0.08); border: none; width: 36px; height: 36px; border-radius: 50%;
  font-size: 1rem; cursor: pointer; z-index: 10;
  transition: background 0.2s, transform 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.checkout-close:hover { background: rgba(0,0,0,0.15); transform: rotate(90deg); }
.checkout-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; min-height: 560px; }
.checkout-form-side { padding: 2.5rem; border-right: 1px solid rgba(0,0,0,0.06); }
.checkout-summary-side {
  padding: 2.5rem 2rem;
  background: linear-gradient(160deg, #FFFDF7 0%, #F0FFF4 100%);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  display: flex; flex-direction: column;
}
.checkout-steps { display: flex; align-items: center; margin-bottom: 2.5rem; }
.cs-step {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--text-muted); font-size: 0.78rem; font-weight: 600; transition: color 0.3s;
}
.cs-step.active { color: var(--mango-deep); }
.cs-step.done   { color: var(--leaf-green); }
.cs-dot {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; flex-shrink: 0; transition: background 0.3s, color 0.3s;
}
.cs-step.active .cs-dot { background: var(--mango-yellow); color: var(--dark); }
.cs-step.done   .cs-dot { background: var(--leaf-green); color: #fff; }
.cs-divider { flex: 1; height: 2px; background: rgba(0,0,0,0.08); margin: 0 0.5rem; }
.co-panel { animation: fadeInUp 0.35s var(--ease-smooth); }
.co-panel-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--dark); }
.co-next-btn {
  width: 100%; margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--mango-yellow), var(--mango-deep));
  color: #fff; font-weight: 700; border: none; padding: 0.9rem; border-radius: 99px; font-size: 1rem;
  cursor: pointer; font-family: var(--font-main);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  box-shadow: 0 6px 24px rgba(255,183,3,0.4);
}
.co-next-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(255,183,3,0.55); }
.co-btn-row { display: flex; gap: 1rem; margin-top: 1.5rem; }
.co-back-btn {
  flex-shrink: 0; background: rgba(0,0,0,0.06); border: 1.5px solid rgba(0,0,0,0.1);
  color: var(--text-muted); font-weight: 600; padding: 0.9rem 1.4rem; border-radius: 99px; font-size: 0.9rem;
  cursor: pointer; font-family: var(--font-main); transition: background 0.2s;
}
.co-back-btn:hover { background: rgba(0,0,0,0.1); }
.co-btn-row .co-next-btn { margin-top: 0; flex: 1; }
.payment-methods { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.payment-option {
  border: 2px solid rgba(0,0,0,0.1); border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; background: rgba(255,255,255,0.8);
}
.payment-option.selected { border-color: var(--mango-yellow); background: rgba(255,183,3,0.07); box-shadow: 0 0 0 3px rgba(255,183,3,0.15); }
.payment-option input[type="radio"] { display: none; }
.pm-content { display: flex; align-items: center; gap: 1rem; }
.pm-icon { font-size: 1.6rem; flex-shrink: 0; }
.pm-content > div strong { display: block; font-weight: 700; margin-bottom: 0.1rem; }
.pm-content > div small  { font-size: 0.78rem; color: var(--text-muted); }
.pm-badge {
  margin-left: auto; flex-shrink: 0; background: var(--leaf-green); color: #fff;
  font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 99px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.payment-security-note {
  font-size: 0.8rem; color: var(--text-muted); text-align: center; padding: 0.75rem 1rem;
  background: rgba(76,175,80,0.07); border: 1px solid rgba(76,175,80,0.2);
  border-radius: var(--radius-sm); line-height: 1.5;
}
.co-pay-btn {
  flex: 1; margin-top: 0; background: linear-gradient(135deg, #1A1A2E, #2D1B4E);
  color: #fff; font-weight: 700; border: none; padding: 0.9rem; border-radius: 99px; font-size: 1rem;
  cursor: pointer; font-family: var(--font-main);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.co-pay-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.35); }
.co-pay-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.co-success-panel { text-align: center; padding: 2rem 0; }
.co-success-icon  { font-size: 4.5rem; display: block; margin-bottom: 1.25rem; }
.co-success-panel h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; }
.co-success-panel p  { color: var(--text-muted); line-height: 1.7; }
.co-order-id { font-size: 1rem; margin-top: 0.5rem; }
.co-eta { color: var(--leaf-green) !important; font-weight: 600; margin-top: 0.25rem; }
.co-done-btn {
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--mango-yellow), var(--mango-deep));
  color: #fff; font-weight: 700; border: none; padding: 0.9rem 2rem; border-radius: 99px;
  font-size: 1rem; cursor: pointer; font-family: var(--font-main); transition: transform 0.3s var(--ease-spring);
}
.co-done-btn:hover { transform: translateY(-2px); }
.co-summary { flex: 1; padding: 1.75rem; border: 1.5px solid rgba(255,183,3,0.2); }
.co-summary-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(0,0,0,0.06); }
.co-summary-item { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
.co-si-emoji { font-size: 1.6rem; flex-shrink: 0; }
.co-si-info  { flex: 1; min-width: 0; }
.co-si-info strong { display: block; font-size: 0.88rem; font-weight: 700; }
.co-si-info span   { font-size: 0.78rem; color: var(--text-muted); }
.co-si-price { font-size: 0.9rem; font-weight: 700; color: var(--mango-deep); flex-shrink: 0; }
.co-summary-totals { margin-top: 1rem; }
.co-summary-row { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 0.4rem 0; color: var(--text-muted); }
.co-summary-row span:last-child { font-weight: 600; color: var(--text-main); }
.co-summary-total { font-weight: 800; border-top: 1px solid rgba(0,0,0,0.08); margin-top: 0.5rem; padding-top: 0.75rem; font-size: 1.05rem; }
.co-free { color: var(--leaf-green) !important; font-weight: 700 !important; }
.co-summary-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.co-summary-badges span {
  font-size: 0.7rem; font-weight: 600;
  background: rgba(255,183,3,0.12); border: 1px solid rgba(255,183,3,0.25);
  color: var(--mango-deep); padding: 0.25rem 0.6rem; border-radius: 99px;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════ */

/* ─── Tablet: 1024px ─── */
@media (max-width: 1024px) {
  .mango-grid { grid-template-columns: repeat(2, 1fr); }
  .farm-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .delivery-promise { grid-template-columns: repeat(2, 1fr); }
  .apt-inner { grid-template-columns: 1fr; gap: 3rem; }
}

/* ─── Mobile: 768px ─── */
@media (max-width: 768px) {
  /* Navbar */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .cart-btn { margin-left: auto; }

  /* Video hero — full height, ensure centering */
  .video-hero {
    height: 100svh; /* safe area aware on iOS */
    min-height: 500px;
  }
  .video-hero-content {
    padding: 0 1.25rem;
    margin-top: 0;
  }
  .vh-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .vh-sub   { font-size: 0.95rem; }

  /* Showcase grid */
  .mango-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 0 1rem; }

  /* Detail panel */
  .detail-inner { flex-direction: column; gap: 1rem; }
  .mango-detail-panel { padding: 1.5rem; width: 95vw; }

  /* Apartment */
  .apt-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .apt-form-card { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Delivery */
  .delivery-path-wrap { overflow-x: auto; }
  #deliveryPath { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .delivery-promise { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0 1rem; }

  /* Farm */
  .farm-inner { flex-direction: column; gap: 2rem; padding: 0 1.5rem; }

  /* QR */
  .qr-scene { flex-direction: column; align-items: center; gap: 2rem; padding: 0 1.5rem; }
  .phone-wrap { transform: scale(0.85); }

  /* Order steps */
  .order-steps { flex-direction: column; align-items: center; gap: 1.5rem; }
  .step-arrow { transform: rotate(90deg); }

  /* Cart drawer */
  .cart-drawer { width: 100%; right: -100%; }
  .cart-drawer.open { right: 0; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }

  /* Checkout */
  .checkout-inner { grid-template-columns: 1fr; }
  .checkout-form-side { padding: 1.5rem; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); }
  .checkout-summary-side { border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 1.5rem; }
  .checkout-modal { max-height: 95vh; }
}

/* ─── Small Mobile: 480px ─── */
@media (max-width: 480px) {
  .mango-grid { grid-template-columns: 1fr; }
  .delivery-promise { grid-template-columns: 1fr; }
  .apt-stats { gap: 0.75rem; }
  .apt-stat  { min-width: 70px; padding: 0.75rem 1rem; }
  .order-cta-group { flex-direction: column; width: 100%; padding: 0 1.5rem; }
  .order-btn-primary, .order-btn-secondary { width: 100%; text-align: center; }
  .section-header { padding: 3rem 1rem 0.5rem; }
  .section-title  { font-size: clamp(1.7rem, 7vw, 2.5rem); }
}

/* ─── Reduce motion — respect user preference ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
