/* ==========================================================================
   MÓT COFFEE — DESIGN SYSTEM & STYLESHEET
   Concept: Modern Mekong Coffee (Mộc mạc, Ấm áp, Thơm, Chân thật, Sang trọng)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Brand Palette — Modern Mekong Coffee */
  --coffee-dark: #4A1F12;       /* Deep Coffee Brown */
  --coffee-espresso: #2D140C;   /* Darkest rich brown */
  --roast-brown: #71351F;       /* Roasted Brown */
  --caramel: #B97A4B;           /* Golden Caramel */
  --caramel-light: #CF9569;
  --milk-cream: #F5EBDD;        /* Milk Cream */
  --warm-beige: #D9B99B;        /* Warm Mekong Clay/Beige */
  --sand-bg: #FAF5EE;           /* General warm body background */
  --sand-card: #FFFFFF;
  --sand-subtle: #F3EAE0;
  --accent-green: #69795B;      /* Young coffee leaf */
  --accent-green-dark: #4E5D42;
  
  /* Text Colors — Optimized for WCAG AA Contrast */
  --text-primary: #341910;      /* Deep warm text */
  --text-secondary: #5C4337;    /* Enhanced contrast readable body text */
  --text-muted: #6E5549;        /* Verified 5.2:1 contrast ratio against #FAF5EE */
  --text-muted-light: #D9B99B;  /* Legible helper text on dark surfaces */
  --text-inverse: #F8F3EC;      /* Light cream text on dark bg */
  
  /* Borders & Shadows */
  --border-subtle: rgba(74, 31, 18, 0.09);
  --border-medium: rgba(74, 31, 18, 0.18);
  --border-focus: #B97A4B;
  
  --shadow-sm: 0 4px 12px rgba(45, 20, 12, 0.05);
  --shadow-md: 0 10px 28px rgba(45, 20, 12, 0.08);
  --shadow-lg: 0 20px 44px rgba(45, 20, 12, 0.12);
  --shadow-caramel: 0 12px 30px rgba(185, 122, 75, 0.25);
  
  /* Typography */
  --font-display: 'Archivo', 'Outfit', sans-serif;
  --font-body: 'Be Vietnam Pro', -apple-system, sans-serif;
  
  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: all 0.15s ease;
}

/* ==========================================================================
   RESET & BASE STYLES (IMPECCABLE CRAFT FLOOR)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Impeccable: Branded Selection */
::selection {
  background-color: var(--caramel);
  color: #FFFFFF;
}

::-moz-selection {
  background-color: var(--caramel);
  color: #FFFFFF;
}

/* Impeccable: Focus Visible System */
:focus-visible {
  outline: 2px solid var(--caramel);
  outline-offset: 3px;
}

/* Impeccable: Themed Global Scrollbars */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--sand-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--warm-beige);
  border-radius: var(--radius-pill);
  border: 2px solid var(--sand-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--caramel);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--warm-beige) var(--sand-bg);
}

/* Impeccable: Reduced Motion Fallbacks */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .marquee-track,
  .floating-element,
  .hero-badge-floating,
  .success-icon-wrap {
    animation: none !important;
  }
}

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

body {
  font-family: var(--font-body);
  background-color: var(--sand-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Subtle organic paper texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: radial-gradient(rgba(113, 53, 31, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 999;
}

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

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

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

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

/* ==========================================================================
   BADGES & SECTION HEADERS
   ========================================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--sand-subtle);
  color: var(--roast-brown);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--caramel);
}

.section-tag.light {
  background-color: rgba(245, 235, 221, 0.15);
  color: var(--milk-cream);
  border-color: rgba(245, 235, 221, 0.2);
}

.section-tag.light::before {
  background-color: var(--warm-beige);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-header.text-left {
  text-align: left;
  margin: 0 0 40px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--coffee-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.section-header.text-left .section-desc {
  margin: 0;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

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

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  box-shadow: none !important;
}

.btn-primary {
  background-color: var(--coffee-dark);
  color: var(--milk-cream);
  box-shadow: 0 8px 20px rgba(74, 31, 18, 0.25);
}

.btn-primary:hover {
  background-color: var(--roast-brown);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(74, 31, 18, 0.35);
  color: #fff;
}

.btn-caramel {
  background-color: var(--caramel);
  color: #fff;
  box-shadow: 0 8px 20px rgba(185, 122, 75, 0.3);
}

.btn-caramel:hover {
  background-color: #A36537;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(185, 122, 75, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--coffee-dark);
  border: 1.5px solid var(--coffee-dark);
}

.btn-secondary:hover {
  background-color: var(--coffee-dark);
  color: var(--milk-cream);
  transform: translateY(-2px);
}

.btn-secondary-light {
  background-color: transparent;
  color: var(--milk-cream);
  border: 1.5px solid var(--milk-cream);
}

.btn-secondary-light:hover {
  background-color: var(--milk-cream);
  color: var(--coffee-dark);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HEADER / NAVIGATION (ROUNDED PILL STICKY)
   ========================================================================== */
.header-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 20px;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.header-pill {
  pointer-events: auto;
  max-width: 1120px;
  margin: 0 auto;
  background: rgba(250, 245, 238, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(185, 122, 75, 0.25);
  border-radius: var(--radius-pill);
  padding: 10px 20px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(74, 31, 18, 0.08);
  transition: var(--transition-smooth);
}

.header-scrolled .header-pill {
  background: rgba(245, 235, 221, 0.98);
  box-shadow: 0 12px 36px rgba(74, 31, 18, 0.14);
  border-color: rgba(113, 53, 31, 0.2);
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-badge {
  width: 38px;
  height: 38px;
  background: var(--coffee-dark);
  color: var(--milk-cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.125rem;
  letter-spacing: -0.04em;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--coffee-dark);
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-sub {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--caramel);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-item a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--caramel);
  transition: var(--transition-smooth);
}

.nav-item a:hover {
  color: var(--coffee-dark);
}

.nav-item a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sand-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--coffee-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cart-btn:hover {
  background: var(--milk-cream);
  border-color: var(--caramel);
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--caramel);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  transition: var(--transition-bounce);
}

.cart-count.bump {
  transform: scale(1.4);
}

.nav-cta {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.mobile-toggle {
  display: none;
  background: var(--sand-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--coffee-dark);
  cursor: pointer;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.mobile-toggle:hover,
.mobile-toggle.active {
  background: var(--milk-cream);
  border-color: var(--caramel);
  color: var(--caramel);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  padding-top: 140px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 75% 45%, #F4E7D7 0%, #EBDBC8 45%, #DFCBBA 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Subtle river contour curves */
.hero-river-curve {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 4;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 5;
}

.hero-content {
  max-width: 680px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--coffee-dark);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-headline .highlight-caramel {
  color: var(--caramel);
  display: block;
}

.hero-copy {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--roast-brown);
  font-weight: 600;
}

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

.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--caramel);
}

/* Hero Visual & 3D Floating Beans */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(45, 20, 12, 0.22);
  transform: rotate(-1.5deg);
  transition: var(--transition-smooth);
}

.hero-main-card:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 30px 70px rgba(45, 20, 12, 0.28);
}

.hero-main-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Floating 3D Beans & Phin Badges */
.floating-element {
  position: absolute;
  pointer-events: none;
  z-index: 6;
  animation: floatSlow 6s ease-in-out infinite alternate;
}

.float-bean-1 {
  top: -30px;
  right: 20px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(45, 20, 12, 0.25);
  animation-duration: 5s;
  animation-delay: -1s;
}

.float-bean-2 {
  bottom: 20px;
  left: -40px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(45, 20, 12, 0.2);
  animation-duration: 7s;
  animation-delay: -3s;
}

.float-bean-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge-floating {
  position: absolute;
  bottom: -15px;
  right: 15px;
  background: var(--milk-cream);
  color: var(--coffee-dark);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(45, 20, 12, 0.16);
  border: 1px solid rgba(185, 122, 75, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 7;
  pointer-events: auto;
  animation: floatSubtle 4s ease-in-out infinite alternate;
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--caramel);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.badge-text-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(6deg); }
}

@keyframes floatSubtle {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* ==========================================================================
   REGIONAL MARQUEE STRIP
   ========================================================================== */
.regional-strip {
  background-color: var(--coffee-dark);
  color: var(--milk-cream);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(45, 20, 12, 0.15);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee-dot {
  color: var(--caramel);
  font-size: 1.25rem;
}

.marquee-highlight {
  color: var(--caramel-light);
  font-weight: 800;
}

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

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

/* ==========================================================================
   BEST SELLERS SECTION
   ========================================================================== */
.best-sellers-section {
  background-color: var(--sand-bg);
  position: relative;
}

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

.product-card {
  background: var(--sand-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.card-top-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  background: var(--coffee-dark);
  color: var(--milk-cream);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-top-tag.tag-caramel {
  background: var(--caramel);
}

.card-top-tag.tag-green {
  background: var(--accent-green);
}

.product-image-box {
  position: relative;
  width: 100%;
  height: 290px;
  background-color: var(--sand-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-box img {
  transform: scale(1.06);
}

.card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.roast-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--roast-brown);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--caramel);
}

.rating-stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--coffee-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 44px;
}

/* Weight Selector */
.weight-selector-box {
  margin-bottom: 22px;
}

.weight-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.weight-options {
  display: flex;
  gap: 8px;
}

.weight-btn {
  flex: 1;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--sand-subtle);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.weight-btn:hover {
  border-color: var(--caramel);
  color: var(--coffee-dark);
}

.weight-btn:active {
  transform: scale(0.96);
}

.weight-btn.active {
  background: var(--coffee-dark);
  border-color: var(--coffee-dark);
  color: var(--milk-cream);
  box-shadow: 0 4px 12px rgba(74, 31, 18, 0.16);
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.price-display {
  display: flex;
  flex-direction: column;
}

.price-current {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--coffee-dark);
}

.price-original {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-add-cart {
  padding: 10px 18px;
  font-size: 0.8125rem;
  gap: 6px;
}

/* ==========================================================================
   WHY MÓT COFFEE (LÝ DO CHỌN MÓT)
   ========================================================================== */
.why-mot-section {
  background-color: var(--sand-subtle);
  position: relative;
}

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

.why-card {
  background: var(--sand-card);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.why-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background-color: var(--milk-cream);
  color: var(--roast-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-bounce);
}

.why-card:hover .why-icon-box {
  background-color: var(--coffee-dark);
  color: var(--milk-cream);
  transform: rotate(-6deg) scale(1.08);
}

.why-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--coffee-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.25;
}

.why-card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCT GRID ("CHỌN GU CÀ PHÊ CỦA BẠN")
   ========================================================================== */
.product-grid-section {
  background-color: var(--sand-bg);
}

.filter-tab-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-tab {
  min-height: 44px;
  padding: 10px 24px;
  background: var(--sand-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.filter-tab:hover {
  color: var(--coffee-dark);
  border-color: var(--caramel);
}

.filter-tab:active {
  transform: scale(0.96);
}

.filter-tab.active {
  background: var(--coffee-dark);
  color: var(--milk-cream);
  border-color: var(--coffee-dark);
  box-shadow: 0 4px 14px rgba(74, 31, 18, 0.2);
}

.products-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.catalog-item {
  background: var(--sand-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.catalog-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.catalog-img-box {
  width: 100%;
  height: 240px;
  background: var(--sand-subtle);
  overflow: hidden;
  position: relative;
}

.catalog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.catalog-item:hover .catalog-img-box img {
  transform: scale(1.05);
}

.tasting-notes-strip {
  padding: 8px 16px;
  background: var(--sand-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--roast-brown);
  text-transform: uppercase;
}

.catalog-details {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.catalog-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--coffee-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.catalog-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.roast-meter-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.roast-dots {
  display: flex;
  gap: 4px;
}

.roast-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sand-subtle);
  border: 1px solid var(--border-subtle);
}

.roast-dot.filled {
  background: var(--coffee-dark);
  border-color: var(--coffee-dark);
}

/* ==========================================================================
   BRAND STORY (EDITORIAL SECTION)
   ========================================================================== */
.brand-story-section {
  background-color: #EFE4D6;
  position: relative;
  overflow: hidden;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.story-visual-wrap {
  position: relative;
}

.story-main-img-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(45, 20, 12, 0.18);
  border: 4px solid var(--sand-card);
}

.story-main-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

.story-quote-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--coffee-dark);
  color: var(--milk-cream);
  padding: 24px 30px;
  border-radius: var(--radius-md);
  max-width: 320px;
  box-shadow: 0 16px 36px rgba(45, 20, 12, 0.25);
  font-size: 0.9375rem;
  line-height: 1.5;
  border: 1px solid rgba(245, 235, 221, 0.15);
}

.story-quote-card p {
  font-style: italic;
  margin-bottom: 8px;
}

.story-quote-author {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caramel-light);
}

.story-text-wrap {
  max-width: 540px;
}

.story-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--coffee-dark);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 24px;
}

.story-body-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.story-body-text p {
  margin-bottom: 16px;
}

.story-pills-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.story-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(74, 31, 18, 0.08);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--coffee-dark);
}

/* ==========================================================================
   PROMOTION BANNER
   ========================================================================== */
.promo-section {
  padding: 40px 0;
  background-color: var(--sand-bg);
}

.promo-banner {
  background: linear-gradient(135deg, #3A160B 0%, #4A1F12 50%, #2A0F07 100%);
  border-radius: var(--radius-xl);
  color: var(--milk-cream);
  padding: 64px 72px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(45, 20, 12, 0.22);
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 122, 75, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.promo-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(245, 235, 221, 0.15);
  border: 1px solid rgba(245, 235, 221, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--caramel-light);
  margin-bottom: 20px;
}

.promo-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #fff;
}

.promo-desc {
  font-size: 1.0625rem;
  color: var(--warm-beige);
  line-height: 1.6;
  margin-bottom: 32px;
}

.promo-coupon-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.coupon-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px dashed var(--caramel);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  gap: 12px;
}

.coupon-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--warm-beige);
  font-weight: 600;
}

.coupon-code {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #fff;
}

.btn-copy-code {
  background: rgba(245, 235, 221, 0.18);
  color: #fff;
  border: 1px solid rgba(245, 235, 221, 0.3);
  padding: 8px 16px;
  min-height: 40px;
  border-radius: var(--radius-xs);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.btn-copy-code:hover {
  background: var(--caramel);
  border-color: var(--caramel);
}

.btn-copy-code:active {
  transform: scale(0.96);
}

.promo-visual-box {
  position: relative;
  display: flex;
  justify-content: center;
}

.promo-img {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transform: rotate(2deg);
}

/* ==========================================================================
   BREW GUIDE SECTION
   ========================================================================== */
.brew-guide-section {
  background-color: var(--sand-bg);
}

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

.brew-card {
  background: var(--sand-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 36px 30px;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brew-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.brew-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sand-subtle);
  color: var(--roast-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition-bounce);
}

.brew-card:hover .brew-icon-wrap {
  background: var(--coffee-dark);
  color: var(--milk-cream);
  transform: scale(1.1);
}

.brew-method-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--coffee-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.brew-tagline {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
}

.brew-specs-mini {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.brew-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brew-spec-val {
  font-weight: 700;
  color: var(--coffee-dark);
}

.btn-brew-recipe {
  margin-top: auto;
  font-size: 0.8125rem;
  padding: 10px 20px;
}

/* ==========================================================================
   TESTIMONIALS / REVIEWS
   ========================================================================== */
.reviews-section {
  background-color: var(--sand-subtle);
}

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

.review-card {
  background: var(--sand-card);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--caramel);
  margin-bottom: 18px;
}

.review-text {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: normal;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--warm-beige);
  color: var(--coffee-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-display);
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--coffee-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-icon {
  color: var(--accent-green);
  width: 15px;
  height: 15px;
}

.reviewer-city {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   NEWSLETTER & ZALO CTA
   ========================================================================== */
.newsletter-section {
  background-color: var(--sand-bg);
  position: relative;
}

.newsletter-box {
  background: var(--milk-cream);
  border: 1px solid rgba(185, 122, 75, 0.3);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--coffee-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.newsletter-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 36px;
}

.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto 28px;
  gap: 12px;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-medium);
  background: #fff;
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.newsletter-input:focus {
  border-color: var(--caramel);
}

.zalo-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.btn-zalo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0068FF;
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.btn-zalo:hover {
  background: #0052CC;
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--coffee-espresso);
  color: var(--text-inverse);
  padding: 80px 0 36px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .brand-name {
  color: var(--milk-cream);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--warm-beige);
  margin-bottom: 24px;
  font-style: italic;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 235, 221, 0.1);
  color: var(--milk-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--caramel);
  color: #fff;
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--milk-cream);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9375rem;
  color: var(--warm-beige);
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--warm-beige);
}

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

.contact-item svg {
  color: var(--caramel);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(245, 235, 221, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MINI-CART SLIDE-OUT DRAWER
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 20, 12, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--sand-bg);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  right: 0;
}

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

.cart-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--coffee-dark);
  text-transform: uppercase;
}

.cart-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.cart-close-btn:hover {
  background: var(--sand-subtle);
  color: var(--coffee-dark);
}

.cart-free-shipping-bar {
  padding: 12px 24px;
  background: var(--milk-cream);
  font-size: 0.8125rem;
  color: var(--roast-brown);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
}

.shipping-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(74, 31, 18, 0.1);
  border-radius: var(--radius-pill);
  margin-top: 6px;
  overflow: hidden;
}

.shipping-progress-fill {
  height: 100%;
  background: var(--caramel);
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

.cart-items-body {
  flex-grow: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.cart-item {
  display: flex;
  gap: 16px;
  background: var(--sand-card);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  background: var(--sand-subtle);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--coffee-dark);
  text-transform: uppercase;
}

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

.cart-item-price {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--roast-brown);
}

.cart-item-ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: var(--sand-card);
}

.qty-btn {
  background: var(--sand-subtle);
  border: none;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--coffee-dark);
  transition: var(--transition-fast);
  user-select: none;
}

.qty-btn:hover {
  background: var(--milk-cream);
  color: var(--caramel);
}

.qty-btn:active {
  background: var(--caramel);
  color: #fff;
}

.qty-val {
  min-width: 36px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--coffee-dark);
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.btn-remove-item:hover {
  color: #C2412D;
}

.cart-footer {
  padding: 24px;
  background: var(--sand-card);
  border-top: 1px solid var(--border-subtle);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.subtotal-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-secondary);
}

.subtotal-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--coffee-dark);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--coffee-dark);
  color: var(--milk-cream);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(45, 20, 12, 0.28);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(245, 235, 221, 0.15);
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  color: var(--caramel);
}

/* ==========================================================================
   BREW RECIPE MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 20, 12, 0.65);
  backdrop-filter: blur(5px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--sand-bg);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(45, 20, 12, 0.3);
  position: relative;
  transform: scale(0.95);
  transition: var(--transition-smooth);
  margin: auto;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-header {
  padding: 24px 28px;
  background: var(--coffee-dark);
  color: var(--milk-cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--warm-beige);
  cursor: pointer;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: rgba(245, 235, 221, 0.15);
  color: #fff;
}

.modal-body {
  padding: 28px;
  max-height: 75vh;
  overflow-y: auto;
}

.modal-step {
  margin-bottom: 20px;
  padding-left: 36px;
  position: relative;
}

.modal-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--caramel);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.modal-step-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--coffee-dark);
  margin-bottom: 4px;
}

.modal-step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   MOBILE STICKY BAR
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--sand-card);
  border-top: 1px solid var(--border-medium);
  padding: 12px 20px;
  z-index: 990;
  box-shadow: 0 -4px 16px rgba(45, 20, 12, 0.08);
}

.mobile-sticky-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mobile-sticky-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--coffee-dark);
}

.mobile-sticky-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-trust-strip {
    justify-content: center;
  }
  
  .hero-visual-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .bestsellers-grid,
  .products-catalog-grid,
  .why-grid,
  .brew-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .promo-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .promo-coupon-bar {
    justify-content: center;
  }
  
  .promo-visual-box {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-cta {
    display: none;
  }
  
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Impeccable: Floating Mobile Navigation Sheet */
  .nav-links {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    background: rgba(250, 245, 238, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(45, 20, 12, 0.22);
    border: 1px solid rgba(185, 122, 75, 0.3);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--coffee-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
  }

  .nav-item a:hover {
    background: var(--sand-subtle);
    color: var(--caramel);
  }

  .nav-item a::after {
    display: none;
  }
  
  /* Impeccable: Minimum 44x44px Touch Targets on Mobile */
  .btn {
    min-height: 44px;
  }

  /* Impeccable: Prevent iOS Safari auto-zoom on input focus */
  input,
  select,
  textarea,
  .form-input,
  .newsletter-input {
    font-size: 16px !important;
  }
  
  .section-padding {
    padding: 64px 0;
  }
  
  .bestsellers-grid,
  .products-catalog-grid,
  .why-grid,
  .brew-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-box {
    padding: 40px 20px;
  }
  
  .promo-banner {
    padding: 40px 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  /* Impeccable: Safe Area Inset Support (Notch / Home Indicator) */
  .mobile-sticky-bar {
    display: block;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .cart-drawer {
    max-width: 100%;
  }

  .cart-footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   CHECKOUT MODAL & ORDER FORM STYLES
   ========================================================================== */
.checkout-modal-box {
  max-width: 620px;
  width: 95%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Thanh cuộn tinh tế cho modal */
.checkout-modal-box::-webkit-scrollbar {
  width: 6px;
}

.checkout-modal-box::-webkit-scrollbar-track {
  background: rgba(185, 122, 75, 0.08);
  border-radius: 4px;
}

.checkout-modal-box::-webkit-scrollbar-thumb {
  background: var(--caramel);
  border-radius: 4px;
}

.checkout-modal-box::-webkit-scrollbar-thumb:hover {
  background: var(--coffee-dark);
}

.checkout-modal-body {
  padding: 24px 28px;
}

/* Mini Order Review Card */
.checkout-order-review {
  background: var(--sand-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.review-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--coffee-dark);
  text-transform: uppercase;
}

.review-toggle-btn {
  background: none;
  border: none;
  color: var(--caramel);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-subtle);
}

.checkout-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.checkout-item-title {
  font-weight: 700;
  color: var(--coffee-dark);
}

.checkout-item-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.checkout-item-price {
  font-weight: 700;
  color: var(--roast-brown);
}

.checkout-pricing-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
}

.checkout-pricing-summary .price-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.checkout-pricing-summary .discount-row {
  color: var(--accent-green-dark);
  font-weight: 600;
}

.checkout-pricing-summary .total-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-medium);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--coffee-dark);
}

.total-highlight {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--roast-brown);
}

/* Form Controls */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--coffee-dark);
}

.form-label .required {
  color: #C2412D;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-medium);
  background: var(--sand-card);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px rgba(185, 122, 75, 0.15);
}

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

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Phone & Input Validation States */
.form-input.is-invalid {
  border-color: #C2412D !important;
  background-color: #FFF8F7 !important;
  box-shadow: 0 0 0 3px rgba(194, 65, 45, 0.15) !important;
}

.form-input.is-valid {
  border-color: var(--accent-green) !important;
  background-color: #F8FAF7 !important;
  box-shadow: 0 0 0 3px rgba(105, 121, 91, 0.15) !important;
}

.form-validation-msg {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.4;
}

.form-validation-msg.error {
  color: #C2412D;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-validation-msg.success {
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 4px;
}

@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.shake {
  animation: inputShake 0.4s ease-in-out;
}

/* Payment Methods Radio Cards */
.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--sand-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.payment-option:hover {
  border-color: var(--caramel);
}

.payment-option.active {
  border-color: var(--coffee-dark);
  background: var(--sand-subtle);
}

.payment-option input {
  margin-top: 3px;
  accent-color: var(--coffee-dark);
}

.payment-title {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--coffee-dark);
  line-height: 1.3;
}

.payment-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.btn-submit-order {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  margin-top: 8px;
  position: relative;
}

.btn-submit-order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success Confirmation Screen */
#checkoutSuccessState {
  width: 100%;
  position: relative;
}

.checkout-success-body {
  padding: 36px 28px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(105, 121, 91, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  animation: floatSubtle 3s ease-in-out infinite alternate;
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--coffee-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.success-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 480px;
  margin-bottom: 20px;
}

.success-order-box {
  width: 100%;
  background: var(--sand-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 20px;
  text-align: left;
}

.success-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--border-medium);
  font-size: 0.9375rem;
}

.order-code {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--caramel);
  letter-spacing: 0.05em;
}

.success-details-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
}

.success-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.success-detail-row span {
  color: var(--text-muted);
}

.success-detail-row strong,
.success-detail-row span:last-child {
  color: var(--text-primary);
  text-align: right;
}

.success-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.success-zalo-btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
}

@media (max-width: 600px) {
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
  
  .checkout-modal-body {
    padding: 18px 16px;
  }
}

/* ==========================================================================
   MOMO QR PAYMENT STYLES
   ========================================================================== */
.momo-badge {
  display: inline-block;
  background: #A50064;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-right: 4px;
  vertical-align: middle;
}

.success-momo-card {
  width: 100%;
  background: #fff;
  border: 1.5px solid rgba(165, 0, 100, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(165, 0, 100, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.success-momo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #A50064, #D82D8B, #FF80BF);
}

.momo-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(165, 0, 100, 0.2);
  margin-bottom: 16px;
}

.momo-brand-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.momo-brand-text {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 900;
  color: #A50064;
  letter-spacing: 0.05em;
}

.momo-amount-pill {
  background: #FFF0F6;
  color: #A50064;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(165, 0, 100, 0.2);
}

.momo-qr-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.momo-qr-frame {
  background: #fff;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.momo-qr-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}

.momo-qr-scan-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.momo-pay-details {
  background: #FFF9FA;
  border: 1px solid rgba(165, 0, 100, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.momo-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  font-size: 0.875rem;
}

.copy-label {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.copy-val {
  flex: 1;
  text-align: right;
  color: var(--text-primary);
  word-break: break-all;
}

.text-momo-highlight {
  color: #A50064;
  font-size: 0.9375rem;
  font-weight: 800;
}

.btn-copy-momo {
  background: #fff;
  border: 1px solid rgba(165, 0, 100, 0.35);
  color: #A50064;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 14px;
  min-height: 36px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.btn-copy-momo:hover {
  background: #A50064;
  color: #fff;
}

.btn-copy-momo:active {
  transform: scale(0.95);
}

.btn-momo-cta {
  width: 100%;
  background: linear-gradient(135deg, #A50064 0%, #D82D8B 100%);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(165, 0, 100, 0.3);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-momo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(165, 0, 100, 0.4);
  color: #fff;
}

.momo-footer-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 12px;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .checkout-modal-box {
    width: 95%;
    max-height: 94vh;
    border-radius: var(--radius-lg);
  }

  .checkout-success-body {
    padding: 24px 16px;
  }

  .success-momo-card {
    padding: 16px 12px;
  }

  .momo-qr-img {
    width: 170px;
    height: 170px;
  }
}



