/* css/style.css */
@import url("/_assets/fonts.googleapis.com/css2_qa6c3ba2e.css");

/* ============================================
   ROOT VARIABLES & DESIGN TOKENS
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, input, button, select, textarea, optgroup, option,
h1, h2, h3, h4, h5, h6, p, a, span, div, label, table, td, th, li, ul, ol, button {
  font-family: var(--font-primary);
}

:root {
  /* Primary Colors */
  --primary: #246b39;
  --primary-dark: #1b5e20;
  --primary-light: #e8f5e9;

  /* Accent Colors */
  --accent: #f57c00;
  --accent-dark: #e65100;
  --accent-light: #fff3e0;

  /* Neutral Colors */
  --text-dark: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg-light: #fdf8f0;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;

  /* Success & Error */
  --success: #22c55e;
  --error: #ef4444;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #43a047 100%);
  --gradient-header: linear-gradient(135deg, var(--primary) 0%, #1b5e20 100%);

  /* Typography - Unified Font Family */
  --font-primary: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing Scale */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 5rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 4px 15px rgba(46, 125, 50, 0.3);
  --shadow-accent: 0 4px 15px rgba(245, 124, 0, 0.3);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Z-index Scale */
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-modal: 100;
  --z-toast: 200;
}

/* ============================================
   BASE STYLES
   ============================================ */

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

section {
  scroll-margin-top: 70px;
}

/* Ensure images never overflow their containers */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
  max-width: 100%;
  word-break: break-word;
  padding-top: 78px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

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

@keyframes slideInTopLeft {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOutTopLeft {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  50% {
    opacity: 0.8;
    transform: scale(0.9);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0);
  }
}

@keyframes progressShrink {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease-out;
}
.animate-slide-left {
  animation: slideInLeft 0.6s ease-out;
}
.animate-slide-right {
  animation: slideInRight 0.6s ease-out;
}

/* ===================================================
   MULTI-DIRECTIONAL SCROLL REVEAL SYSTEM
   Chuyển động mượt mà, rõ ràng từ nhiều hướng
   =================================================== */

/* Trạng thái ban đầu cho tất cả phần tử cuộn tới */
[class*="reveal-from-"],
.reveal-zoom-in,
.reveal-element,
.reveal-section {
  opacity: 0 !important;
  will-change: opacity, transform;
  transition: opacity 0.85s cubic-bezier(0.215, 0.61, 0.355, 1),
              transform 0.85s cubic-bezier(0.215, 0.61, 0.355, 1) !important;
}

/* 1. Reveal Từ Dưới Lên */
.reveal-from-bottom,
.reveal-section {
  transform: translateY(60px) !important;
}

/* 2. Reveal Từ Trên Xuống */
.reveal-from-top {
  transform: translateY(-50px) !important;
}

/* 3. Reveal Từ Trái Sang */
.reveal-from-left {
  transform: translateX(-70px) !important;
}

/* 4. Reveal Từ Phải Sang */
.reveal-from-right {
  transform: translateX(70px) !important;
}

/* 5. Reveal Phóng To Nhẹ (Zoom In) */
.reveal-zoom-in {
  transform: scale(0.82) !important;
}

/* Trạng thái khi lướt tới (Observer / Scroll trigger gán class is-visible) */
[class*="reveal-from-"].is-visible,
.reveal-zoom-in.is-visible,
.reveal-element.is-visible,
.reveal-section.is-visible {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Hiệu ứng trễ nối tiếp (Staggered Delays) */
.reveal-delay-1 { transition-delay: 0.1s !important; }
.reveal-delay-2 { transition-delay: 0.22s !important; }
.reveal-delay-3 { transition-delay: 0.34s !important; }
.reveal-delay-4 { transition-delay: 0.46s !important; }
.reveal-delay-5 { transition-delay: 0.58s !important; }

/* Tối ưu hóa trên Mobile - giảm biên độ dịch chuyển chống vỡ layout */
@media (max-width: 768px) {
  .reveal-from-left { transform: translateX(-35px) !important; }
  .reveal-from-right { transform: translateX(35px) !important; }
  .reveal-from-bottom,
  .reveal-section { transform: translateY(35px) !important; }
  .reveal-from-top { transform: translateY(-35px) !important; }
  .reveal-zoom-in { transform: scale(0.9) !important; }
}

/* Tắt hiệu ứng nếu người dùng cài đặt giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
  [class*="reveal-from-"],
  .reveal-zoom-in,
  .reveal-element,
  .reveal-section {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Live Order Notification */
.custom-alert {
  position: fixed;
  bottom: 24px;
  left: 20px;
  width: 300px;
  max-width: calc(100vw - 40px);
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.16),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.custom-alert.show {
  opacity: 1;
  pointer-events: auto;
  animation: slideInBottomLeft 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.custom-alert.hide {
  pointer-events: none;
  animation: slideOutBottomLeft 0.3s ease forwards;
}

.alert-content {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-dark);
  padding: 12px 14px 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(46, 125, 50, 0.12);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  backdrop-filter: blur(12px);
}

.alert-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 2px solid #86efac;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.alert-body {
  flex: 1;
  min-width: 0;
}

.alert-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.alert-name-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.alert-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: livePulse 1.8s ease-in-out infinite;
}

.alert-customer {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alert-meta {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 3px;
  line-height: 1.4;
}

.alert-product {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}

.alert-time {
  font-size: 10px;
  color: #9ca3af;
  margin-top: 4px;
}

.alert-close {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.45;
  transition:
    opacity 0.2s,
    background 0.2s;
  flex-shrink: 0;
  border-radius: 999px;
  line-height: 1;
  margin-left: 4px;
}

.alert-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06);
}

.alert-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(46, 125, 50, 0.12);
  border-top: none;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}

.alert-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #22c55e, #10b981);
}

.alert-progress-bar.running {
  animation: progressShrink 5s linear forwards;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  z-index: 10001;
  transition: width 0.1s ease-out;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary) 0%, #1b5e20 100%);
  color: white;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

header.scrolled {
  background: linear-gradient(
    135deg,
    rgba(46, 125, 50, 0.75) 0%,
    rgba(27, 94, 32, 0.75) 100%
  );
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 45px;
  height: 45px;
  /* background: white;
  border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: bold;
  font-size: 24px;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s;
}

.nav-menu a:hover {
  opacity: 0.8;
}

/* ====================================================
   Header CTA Button — compact, pill-style, eye-catching
   Chỉ áp dụng cho nút MUA NGAY bên trong nav-menu ở header
   ==================================================== */
.nav-menu .cta-btn {
  /* Reset general cta-btn sizing */
  padding: 9px 20px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  white-space: nowrap !important;

  /* Pill shape */
  border-radius: 50px !important;

  /* Vivid accent gradient */
  background: linear-gradient(135deg, #ff8f00 0%, #f44336 100%) !important;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.22) !important;

  /* Glow shadow */
  box-shadow:
    0 3px 14px rgba(244, 67, 54, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;

  /* Flex inline */
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;

  /* Transitions */
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  position: relative !important;
  overflow: hidden !important;

  /* Override the big-button animation with a lighter one */
  animation: header-btn-glow 2s ease-in-out infinite !important;
}

@keyframes header-btn-glow {
  0%, 100% {
    box-shadow: 0 3px 14px rgba(244, 67, 54, 0.4), 0 0 0 0 rgba(244, 67, 54, 0.15);
  }
  50% {
    box-shadow: 0 5px 22px rgba(244, 67, 54, 0.65), 0 0 0 6px rgba(244, 67, 54, 0);
  }
}

/* Shimmer cho nút header */
.nav-menu .cta-btn::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -60% !important;
  width: 45% !important;
  height: 100% !important;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.28) 50%,
    rgba(255,255,255,0) 100%
  ) !important;
  transform: skewX(-20deg) !important;
  animation: btn-shimmer 2.8s ease-in-out infinite !important;
  pointer-events: none !important;
}

/* Before reset (không cần ripple to ở header) */
.nav-menu .cta-btn::before {
  display: none !important;
}

.nav-menu .cta-btn:hover {
  background: linear-gradient(135deg, #e65100 0%, #c62828 100%) !important;
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 8px 24px rgba(244, 67, 54, 0.6) !important;
  animation: none !important;
}

.nav-menu .cta-btn:active {
  transform: scale(0.96) translateY(0) !important;
  box-shadow: 0 2px 8px rgba(244, 67, 54, 0.35) !important;
  animation: none !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #43a047 100%);
  color: white;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: pulse 4s infinite;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  animation: slideInLeft 0.8s ease-out;
}

.hero-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}

.hero-text h1 {
  font-size: 46px;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-text p {
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.85;
  opacity: 0.95;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-buttons-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Quy chuẩn kích thước đồng đều 100% cho 2 nút Hero */
.hero-buttons-wrap .cta-btn,
.hero-buttons-wrap .hero-secondary-btn {
  height: 54px;
  padding: 0 28px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
  line-height: 1;
}

.hero-buttons-wrap .cta-btn {
  border: 2px solid transparent;
}

.hero-secondary-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(232, 245, 233, 0.95) 100%);
  color: var(--primary-dark, #1b5e20);
  border: 2px solid #ffffff;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.hero-secondary-btn i {
  font-size: 18px;
  color: var(--primary, #246b39);
  transition: transform 0.3s ease, color 0.3s ease;
}

.hero-cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.hero-offer-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
  animation: bounce 2s infinite;
}

/* Keep old discount classes for backwards compatibility */
.discount-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
  animation: bounce 2s infinite;
}

.discount-text {
  font-size: 14px;
  margin-top: 10px;
  opacity: 0.9;
}

.hero-image {
  position: relative;
  text-align: center;
  animation: slideInRight 0.8s ease-out;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* Signature moment: cận cảnh lòng đỏ thật — bằng chứng "nhìn thấy bằng mắt" ngay từ hero,
   thay vì để mãi tới các section bên dưới khách mới thấy. */
.hero-signature-badge {
  position: absolute;
  left: -18px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.97);
  padding: 8px 18px 8px 8px;
  border-radius: 60px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  animation: fadeInUp 0.8s ease-out 0.5s both;
  text-align: left;
}

.hero-signature-badge img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: none;
  flex-shrink: 0;
}

.hero-signature-caption {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  max-width: 130px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
  animation: cta-pulse 3s ease-in-out infinite;
}

/* Pulse animation for CTA buttons */
@keyframes cta-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.4);
  }
}

/* Ripple effect */
.cta-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.cta-btn:hover::before {
  width: 300px;
  height: 300px;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 124, 0, 0.45);
  background: var(--accent-dark);
  animation-play-state: paused;
}

.cta-btn:active {
  transform: translateY(0);
}

/* Primary button style */
.btn-primary {
  background: var(--accent);
  color: white;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
  position: relative;
  overflow: hidden;
  animation: cta-pulse 3s ease-in-out infinite;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 124, 0, 0.45);
  background: var(--accent-dark);
  animation-play-state: paused;
}

/* Secondary button style */
.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.25);
}

/* Product button with subtle effects */
.product-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition:
    width 0.5s,
    height 0.5s;
}

.product-btn:hover::before {
  width: 250px;
  height: 250px;
}

.product-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 124, 0, 0.35);
}

.product-btn:active {
  transform: translateY(0);
}

/* ============================================
   HERBAL STORY SECTION
   ============================================ */

.herbal-story-section {
  background: linear-gradient(160deg, #f9fdf9 0%, #fdf8f0 100%);
  padding: 80px 20px;
  border-top: 1px solid rgba(46, 125, 50, 0.08);
  border-bottom: 1px solid rgba(46, 125, 50, 0.08);
}

.herbal-story-container {
  max-width: 1200px;
  margin: 0 auto;
}

.herbal-story-header {
  text-align: center;
  margin-bottom: 50px;
}

.herbal-story-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.herbal-story-header h2 {
  font-size: 36px;
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.herbal-story-header h2 span {
  color: var(--primary);
}

.herbal-story-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

.herbal-story-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.herbs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  /* background-image được set inline từ JS */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 20px;
}

/* Overlay xanh đậm khi có background image */
.herbs-grid[style*="background-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 94, 32, 0.82) 0%,
    rgba(46, 125, 50, 0.75) 100%
  );
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.herbs-grid > * {
  position: relative;
  z-index: 1;
}

.herb-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.herb-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Khi KHÔNG có background image — giữ style cũ */
.herbs-grid:not([style*="background-image"]) {
  padding: 0;
}

.herbs-grid:not([style*="background-image"]) .herb-card {
  background: white;
  border: 1px solid rgba(46, 125, 50, 0.12);
  backdrop-filter: none;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.06);
}

.herbs-grid:not([style*="background-image"]) .herb-card:hover {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.12);
}

.herb-image-wrap {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.herb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.herb-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}

.herb-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.herb-info strong {
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
}

/* Text trắng khi grid có background image */
.herbs-grid[style*="background-image"] .herb-info strong {
  color: #fff;
}

.herbs-grid[style*="background-image"] .herb-info span {
  color: rgba(255, 255, 255, 0.82);
}

.herb-info span {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
}

.herbal-result-card {
  background: var(--primary);
  border-radius: 20px;
  padding: 32px 28px;
  color: white;
  position: sticky;
  top: 90px;
}

.herbal-result-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.herbal-result-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.herbal-result-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.herbal-result-list li {
  font-size: 14px;
  line-height: 1.6;
  padding-left: 22px;
  position: relative;
  color: rgba(255, 255, 255, 0.92);
}

.herbal-result-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #a5d6a7;
  font-weight: 700;
}

/* Benefits Section */
.benefits {
  background: var(--primary);
  color: white;
  padding: 50px 20px;
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s;
  animation: fadeInUp 0.6s ease-out;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 40px;
  margin-bottom: 15px;
  display: inline-block;
}
.benefit-item h3 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}
.benefit-item p {
  font-size: 14px;
  opacity: 0.9;
}

/* Why Section */
.why-section {
  padding: 80px 20px;
  background: var(--bg-white);
}

.why-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Bố cục header lệch trái + vạch nhấn màu, thay cho công thức "nhãn pill + canh giữa"
   dùng ở phần lớn section khác — Why là section trọng lượng nội dung lớn nhất (bảng so
   sánh + 2 khối feature) nên đáng có một nhịp thị giác riêng. */
.why-header {
  text-align: left;
  max-width: 720px;
  margin: 0 0 52px;
  padding-left: 22px;
  border-left: 4px solid var(--accent);
}

.why-label {
  display: inline-block;
  background: none;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0;
  margin-bottom: 10px;
}

.why-header h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-dark);
  max-width: none;
  margin: 0 0 14px;
  line-height: 1.35;
}

.why-header .egg-comparison-subtitle {
  max-width: none;
  margin: 0;
}

/* Block 1: Feature (3 KHÔNG) */
.why-feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--primary-light);
  border-radius: var(--radius-2xl);
  padding: 40px;
  margin-bottom: 28px;
  border: 1.5px solid rgba(46, 125, 50, 0.12);
}

.why-feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow);
}

.why-feature-image img:hover {
  transform: scale(1.03);
}

.why-feature-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.why-usp-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.why-usp-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-white);
  border: 1.5px solid rgba(46, 125, 50, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}

.why-usp-check {
  color: var(--primary);
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

.why-feature-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
}

/* Block 2: Cards grid */
.why-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-card {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

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

.why-card-image {
  overflow: hidden;
}

.why-card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.why-card:hover .why-card-image img {
  transform: scale(1.04);
}

.why-card-body {
  padding: 24px;
}

.why-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.why-card-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Comparison Table */
.comparison {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 60px;
  padding: 0 20px;
}
.comparison h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.comparison-table th {
  background: var(--primary);
  color: white;
  padding: 20px;
  text-align: left;
  font-weight: bold;
}
.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
}
.comparison-table tr:hover {
  background: var(--bg-light);
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.check-mark {
  color: #28a745;
  font-weight: bold;
  font-size: 18px;
}
.cross-mark {
  color: #dc3545;
  font-weight: bold;
  font-size: 18px;
}

/* ============================================
   CERTIFICATES & GIFTS SECTION (Carousel)
   ============================================ */

.comparison-image {
  background: var(--bg-light);
  padding: 80px 20px;
  /* margin-top: 60px; */
  text-align: center;
}

.comparison-image h2 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 50px;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.comparison-image h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary) 0%, #43a047 100%);
  margin: 15px auto 0;
  border-radius: var(--radius-full);
}

/* Carousel Container */
.comparison-carousel {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.comparison-carousel-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-carousel-main img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.comparison-carousel-main img.fade-out {
  opacity: 0;
}

.comparison-carousel-main img:hover {
  transform: scale(1.02);
}

/* Carousel Navigation Buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(46, 125, 50, 0.25);
  color: var(--primary-dark);
}

.carousel-prev {
  left: -25px;
}
.carousel-next {
  right: -25px;
}

/* Thumbnails */
.comparison-carousel-thumbs {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.comparison-carousel-thumbs .thumb {
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  padding: 2px;
  opacity: 0.7;
}

.comparison-carousel-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.comparison-carousel-thumbs .thumb:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comparison-carousel-thumbs .thumb.active {
  border-color: var(--primary);
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.comparison-carousel p {
  margin-top: 25px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products {
  background: linear-gradient(135deg, #f0faf1 0%, #fff 100%);
  padding: 60px 20px;
  /* margin-top: 60px; */
}

#products-section-container {
  max-width: 1200px;
  margin: 0 auto;
}

#products-section-container > h2 {
  text-align: center;
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 40px;
  font-weight: bold;
}

/* Featured Product Section - Refined & Elegant */
.featured-product-section {
  margin-bottom: 50px;
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 12px rgba(245, 124, 0, 0.3);
  z-index: 10;
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 2px 12px rgba(245, 124, 0, 0.3);
  }
  50% {
    transform: translateX(-50%) scale(1.02);
    box-shadow: 0 3px 16px rgba(245, 124, 0, 0.4);
  }
}

.featured-product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 2px solid var(--primary-light);
  transition: all 0.3s ease;
}

.featured-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(46, 125, 50, 0.2);
  border-color: var(--primary);
}

.featured-product-image {
  position: relative;
  overflow: hidden;
  background: var(--primary-light);
}

.featured-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-product-card:hover .featured-product-image img {
  transform: scale(1.03);
}

.featured-discount-label {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(245, 124, 0, 0.3);
}

.featured-product-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-product-name {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary);
}

.featured-product-specs {
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.featured-product-price {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.featured-product-price .price-old {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
}

.featured-product-price .price-new {
  font-size: 32px;
  color: var(--accent);
  font-weight: 700;
}

.featured-product-price .price-save {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 4px;
  margin-left: auto;
}

.featured-product-btn {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.featured-product-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.5s,
    height 0.5s;
}

.featured-product-btn:hover::before {
  width: 250px;
  height: 250px;
}

.featured-product-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 124, 0, 0.35);
}

.featured-product-btn:active {
  transform: translateY(0);
}

/* Regular Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  animation: fadeInUp 0.6s ease-out;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}
.product-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-image img {
  transform: scale(1.1);
}
.discount-label {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: white;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(245, 124, 0, 0.3);
}
.product-info {
  padding: 25px;
}
.product-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.product-specs {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.8;
}
.product-price {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}
.price-new {
  font-size: 26px;
  font-weight: bold;
  color: var(--accent);
}

/* Product button with enhanced effects */
.product-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: product-btn-pulse 3s ease-in-out infinite;
}

@keyframes product-btn-pulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
  }
  50% {
    box-shadow: 0 6px 25px rgba(245, 124, 0, 0.4);
  }
}

.product-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.5s,
    height 0.5s;
}

.product-btn:hover::before {
  width: 250px;
  height: 250px;
}

.product-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 124, 0, 0.35);
}

.product-btn:active {
  transform: translateY(0);
}

/* Testimonials Section */
.testimonials {
  background: var(--bg-light);
  padding: 80px 20px;
  margin-top: 60px;
}
.testimonials h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary);
}
.testimonials-container {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.testimonials-container::-webkit-scrollbar {
  height: 8px;
}
.testimonials-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}
.testimonials-container::-webkit-scrollbar-track {
  background: transparent;
}
.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--primary);
  transition: all 0.3s;
  animation: fadeInUp 0.6s ease-out;
  min-width: min(320px, 100%);
  flex: 0 0 min(320px, 100%);
  scroll-snap-align: start;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.stars {
  color: #ffd700;
  font-size: 18px;
  margin-bottom: 15px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 22px;
  line-height: 1.8;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.author-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}
.author-info h4 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text-dark);
  font-weight: bold;
}
.author-info p {
  font-size: 13px;
  color: var(--text-light);
}

/* FAQ Section */
.faq {
  max-width: 1200px;
  margin: 0 auto;
  /* margin-top: 60px; */
  padding: 20px;
}
.faq h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary);
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.6s ease-out;
}
.faq-question {
  padding: 20px;
  background: var(--bg-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: var(--text-dark);
  transition: all 0.3s;
  gap: 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.faq-question:hover {
  background: #e8e8e8;
}
.faq-icon {
  font-size: 20px;
  transition: transform 0.3s;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}
.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}
.faq-answer p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ============================================
   FAQ SUPPORT CARDS (Thay thế nút Messenger)
   ============================================ */
.faq-support-section {
  max-width: 900px;
  margin: 45px auto 0;
  text-align: center;
}

.faq-support-header {
  margin-bottom: 24px;
}

.faq-support-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dark, #1b5e20);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.faq-support-subtitle {
  font-size: 15px;
  color: var(--text-light, #666666);
  line-height: 1.6;
}

.faq-support-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.faq-support-card {
  background: #ffffff;
  border: 1.5px solid #e0e0e0;
  border-radius: 20px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.faq-support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary, #246b39);
}

.faq-support-icon-wrap {
  width: 58px;
  height: 58px;
  background: var(--primary-light, #e8f5e9);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-dark, #1b5e20);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.faq-support-card:hover .faq-support-icon-wrap {
  background: var(--primary, #246b39);
  color: #ffffff;
  transform: scale(1.08);
}

.faq-support-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 8px;
}

.faq-support-value {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-dark, #1b5e20);
  text-decoration: none;
  word-break: break-word;
  line-height: 1.4;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.faq-support-value:hover {
  color: var(--accent, #f57c00);
}

.faq-support-note {
  font-size: 13px;
  color: #666666;
  font-weight: 500;
}

@media (max-width: 768px) {
  .faq-support-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-support-title {
    font-size: 22px;
  }

  .faq-support-card {
    padding: 22px 18px;
  }
}

/* Order Section */
.order-section {
  padding: 20px 20px 100px;
  background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%);
  scroll-margin-top: 90px;
}

.order-section-container {
  max-width: 980px;
  margin: 0 auto;
}

.order-section-header {
  text-align: center;
  margin-bottom: 28px;
}

.order-section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.order-section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.order-section-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.order-section-card {
  background: var(--bg-white);
  border: 1px solid rgba(36, 107, 57, 0.12);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.order-section-card .submit-btn {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .order-section {
    padding: 60px 16px 80px;
  }

  .order-section-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .order-section-header h2 {
    font-size: 26px;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.3s ease-out;
}
.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  max-width: 550px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.3s ease-out;
  -webkit-overflow-scrolling: touch;
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 15px;
}
.modal-header h2 {
  color: var(--primary);
  font-size: 24px;
}
.close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.3s;
}
.close-btn:hover {
  color: var(--text-dark);
}

/* Quantity Stepper */
.quantity-stepper {
  display: flex;
  align-items: stretch;
  max-width: 160px;
}
.quantity-stepper input {
  text-align: center;
  border-radius: 0;
  border-left: none;
  border-right: none;
  width: 60px;
  flex: 1;
}
.quantity-btn {
  width: 44px;
  min-width: 44px;
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.quantity-btn:first-child {
  border-radius: 5px 0 0 5px;
}
.quantity-btn:last-child {
  border-radius: 0 5px 5px 0;
}
.quantity-btn:hover {
  background: var(--primary-light);
}

/* Order Summary Box */
.order-summary-box {
  background: var(--bg-light);
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.order-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 14px;
}
.order-summary-row strong {
  text-align: right;
}
.order-summary-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
}

/* Full-screen Loading Overlay */
.loading-overlay {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  align-items: center;
  justify-content: center;
}
.loading-overlay.show {
  display: flex;
}
.loading-overlay-content {
  text-align: center;
  color: #fff;
}
.loading-spinner {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: loading-spin 0.8s linear infinite;
}
@keyframes loading-spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-overlay-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Result Modal (success / error / validation) */
.result-modal-content {
  text-align: center;
  position: relative;
  max-width: 420px;
  width: 90%;
  border-radius: 20px;
  padding: 32px 24px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  background: #ffffff;
}
.result-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f4f2;
  border: none;
  font-size: 20px;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.result-modal-close:hover {
  background: #e0e8e4;
  color: #111;
}
.result-modal-icon {
  font-size: 52px;
  margin-bottom: 14px;
  line-height: 1;
}
#resultModalTitle {
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}
#resultModalMessage {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  white-space: pre-line;
  word-break: break-word;
}
.result-modal-content .submit-btn {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  display: block;
}


.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 5px rgba(46, 125, 50, 0.3);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.native-select-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
}

/* ============================================
   INLINE FORM VALIDATION ERRORS
   ============================================ */

/* Field-level error message */
.field-error-msg {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #e53935;
  font-weight: 500;
  align-items: center;
  gap: 5px;
}
.field-error-msg::before {
  content: "⚠";
  font-size: 12px;
}
.field-error-msg.visible {
  display: flex;
}

/* Input / select / textarea khi có lỗi */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15) !important;
  background-color: #fff8f8;
}

/* Searchable select custom trigger khi có lỗi */
.form-group.has-error .searchable-select-trigger {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15) !important;
  background-color: #fff8f8;
}

/* Shake animation khi submit với lỗi */
@keyframes field-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.form-group.has-error.shake input,
.form-group.has-error.shake select,
.form-group.has-error.shake textarea,
.form-group.has-error.shake .searchable-select-trigger {
  animation: field-shake 0.4s ease;
}

/* ============================================
   SPECIAL PROGRAM SECTION
   ============================================ */

.special-program-section {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 50%, #43a047 100%);
  padding: 70px 20px;
  position: relative;
  overflow: hidden;
}

.special-program-section::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    transparent 75%
  );
  border-radius: 50%;
  pointer-events: none;
}

.special-program-section::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    transparent 74%
  );
  border-radius: 50%;
  pointer-events: none;
}

.special-program-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 28px;
  padding: 44px;
  box-shadow: 0 24px 80px rgba(27, 94, 32, 0.14);
  backdrop-filter: blur(14px);
  animation: fadeInUp 0.6s ease-out;
}

.special-program-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, #43a047 100%);
  color: white;
  padding: 12px 36px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(46, 125, 50, 0.22);
  z-index: 10;
  letter-spacing: 0.7px;
}

.special-program-content {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(280px, 0.95fr);
  gap: 36px;
  align-items: start;
}

.special-program-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(27, 94, 32, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(240, 250, 241, 0.55)
  );
}

.special-program-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 15% 20%,
    rgba(67, 160, 71, 0.18) 0%,
    rgba(46, 125, 50, 0.08) 30%,
    transparent 70%
  );
  pointer-events: none;
}

.special-program-image-wrapper img {
  width: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.special-program-image-wrapper:hover img {
  transform: scale(1.04);
}

.special-program-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 2px;
}

.urgency-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #d7001c;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 28px rgba(46, 125, 50, 0.16);
}

.special-program-heading {
  font-size: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, #43a047 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  font-weight: 900;
  line-height: 1.1;
}

.special-program-subheading {
  font-size: 22px;
  color: var(--primary);
  margin: 0;
  font-weight: 700;
}

.special-program-text {
  font-size: 15px;
  color: #3a4a2a;
  line-height: 1.75;
  margin: 0;
}

.special-program-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item-special {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: #f2faf2;
  border-radius: 18px;
  border: 1px solid rgba(46, 125, 50, 0.12);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  box-shadow: 0 10px 26px rgba(46, 125, 50, 0.08);
}

.benefit-item-special:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(46, 125, 50, 0.14);
  border-color: rgba(46, 125, 50, 0.18);
}

.benefit-icon-special {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #43a047 100%);
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.benefit-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.benefit-title {
  font-size: 15px;
  color: #1b3a1e;
  font-weight: 700;
}

.benefit-desc {
  font-size: 14px;
  color: #4a5e42;
  line-height: 1.6;
}

.countdown-wrapper {
  background: rgba(255, 255, 255, 0.96);
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 18px 48px rgba(46, 125, 50, 0.14);
  border: 1px solid rgba(46, 125, 50, 0.12);
}

.countdown-heading {
  font-size: 16px;
  color: var(--primary);
  font-weight: 700;
  margin: 0 0 18px 0;
}

.countdown-boxes {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.countdown-box {
  background: #ffffff;
  padding: 16px 14px;
  border-radius: 16px;
  min-width: 64px;
  border: 1px solid rgba(46, 125, 50, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.countdown-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.countdown-text {
  font-size: 12px;
  color: #4a6040;
  font-weight: 600;
}

.countdown-expired {
  color: var(--primary-dark);
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}

.product-section-countdown {
  max-width: 420px;
  margin: -10px auto 35px;
  background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
  border: 2px solid var(--accent);
  text-align: center;
}

.product-section-countdown .countdown-heading {
  color: var(--accent-dark);
}

.product-section-countdown .countdown-number {
  color: var(--accent-dark);
}

.product-section-countdown .countdown-box {
  border: 2px solid rgba(245, 124, 0, 0.25);
  background: #fff;
}

.special-cta-button {
  width: 100%;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff9800 100%);
  color: white;
  border: none;
  border-radius: 18px;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  box-shadow: 0 16px 42px rgba(245, 124, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.special-cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.special-cta-button:hover::before {
  width: 320px;
  height: 320px;
}

.special-cta-button:hover {
  background: linear-gradient(135deg, #e65100 0%, #ef8c00 100%);
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(245, 124, 0, 0.28);
}

.special-cta-button:active {
  transform: translateY(0);
}

.native-select-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.searchable-select {
  position: relative;
}
.searchable-select-trigger {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  cursor: pointer;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.searchable-select-trigger:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 5px rgba(46, 125, 50, 0.3);
}
.searchable-select-label {
  text-align: left;
}
.searchable-select-arrow {
  color: var(--text-light);
  font-size: 12px;
  transition: transform 0.2s ease;
}

/* Trạng thái chưa thể chọn (VD: Quận/Huyện khi chưa chọn Tỉnh/Thành) */
.searchable-select.is-disabled .searchable-select-trigger {
  background: var(--bg-light);
  border-color: var(--border-color);
  color: var(--text-light);
  cursor: not-allowed;
  opacity: 0.65;
}
.searchable-select.is-disabled .searchable-select-label {
  color: var(--text-light);
}
.searchable-select.is-disabled .searchable-select-arrow {
  opacity: 0.5;
}

.searchable-select-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

/* Show dropdown when container has .is-open */
.searchable-select.is-open .searchable-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.searchable-select-input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 10px;
}

.searchable-select-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 5px rgba(46, 125, 50, 0.2);
}
.searchable-select-options {
  max-height: 220px;
  overflow-y: auto;
}
.searchable-select-option {
  width: 100%;
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.searchable-select-option:hover,
.searchable-select-option.is-focused {
  background: rgba(46, 125, 50, 0.08);
  color: var(--primary);
  outline: none;
}

.searchable-select-option.is-selected {
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
}

.product-radio-card {
  background: #fff;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  transition: 0.25s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.product-radio-card small {
  color: #666;
}
.product-radio-card::after {
  content: "Đang chọn";
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, #43a047 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}
.product-radio-card:hover {
  border-color: #2e7d32;
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.15);
  transform: translateY(-2px);
}
.product-radio-card:has(input:checked) {
  border-color: #2e7d32;
  background: linear-gradient(180deg, #f8fdf8 0%, #eef6ee 100%);
  box-shadow:
    0 0 0 2px rgba(46, 125, 50, 0.2),
    0 12px 24px rgba(46, 125, 50, 0.16);
  transform: translateY(-2px);
}
.product-radio-card:has(input:checked)::after {
  opacity: 1;
  transform: translateY(0);
}
.product-radio-card input:checked + div {
  background: transparent;
}
.product-radio-card:has(input:checked) strong {
  color: var(--primary);
}
.product-radio-card:has(input:checked) p {
  color: var(--accent);
}
.product-radio-card:has(input:checked) small {
  color: #3a5035;
}

.submit-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
  margin-top: 10px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.submit-btn:hover {
  background: var(--primary-dark, #1b5e20);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
  font-size: 24px;
}
.scroll-top.show {
  display: flex;
}
.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* Footer */
footer {
  background: #222;
  color: white;
  padding: 60px 20px 30px;
  /* margin-top: 80px; */
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-section h4 {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: bold;
  color: white;
}
.footer-section p,
.footer-section a {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 12px;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-section a:hover {
  color: white;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li {
  margin-bottom: 10px;
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s;
}
.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.footer-map {
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 20px;
}

.footer-map h4 {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.footer-map-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-map-frame iframe {
  display: block;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 25px;
  text-align: center;
  font-size: 13px;
  color: #999;
}

/* ============================================
   EVENT POPUP
   ============================================ */

.event-popup {
  position: fixed;
  top: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-popup.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.event-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.event-popup-content {
  position: relative;
  background: white;
  border-radius: var(--radius-2xl);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.event-popup.show .event-popup-content {
  transform: scale(1);
}

.event-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.event-popup-close:hover {
  background: var(--accent);
  color: white;
  transform: rotate(90deg);
}

.event-popup-body {
  padding: 30px;
  text-align: center;
}

.event-popup-body h3 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: bold;
}

.event-popup-message {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: left;
}

.event-popup-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.event-popup-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* Responsive for Event Popup */
@media (max-width: 768px) {
  .event-popup {
    padding: 16px;
  }

  .event-popup-content {
    width: 100%;
    max-width: 500px;
  }

  .event-popup-body {
    padding: 25px 20px;
  }

  .event-popup-body h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .event-popup-message {
    font-size: 14px;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .event-popup {
    padding: 20px;
    align-items: center;
    justify-content: center;
  }

  .event-popup-content {
    width: 100%;
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-2xl);
    margin: 0;
    transform: scale(0.9);
  }

  .event-popup.show .event-popup-content {
    transform: scale(1);
  }

  .event-popup-body {
    padding: 24px 20px;
  }

  .event-popup-body h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
  }

  .event-popup-message {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .event-popup-btn {
    padding: 16px;
    font-size: 16px;
    min-height: 52px;
    margin-bottom: 0;
  }

  .event-popup-close {
    width: 36px;
    height: 36px;
    font-size: 24px;
    top: 16px;
    right: 16px;
  }
}

/* ============================================
   EGG COMPARISON SECTION
   ============================================ */

.egg-comparison {
  background: linear-gradient(135deg, #e8f5e9 0%, #fff 100%);
  padding: 80px 20px;
  /* margin-top: 60px; */
}

.egg-comparison-container {
  max-width: 1200px;
  margin: 0 auto;
}

.egg-comparison-header {
  text-align: center;
  margin-bottom: 50px;
}

.egg-comparison-header h2 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.egg-comparison-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary) 0%, #43a047 100%);
  margin: 15px auto 0;
  border-radius: var(--radius-full);
}

.egg-comparison-subtitle {
  font-size: 16px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Comparison Cards Grid */
.egg-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.egg-comparison-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.1);
  border: 2px solid var(--primary-light);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out both;
}

.egg-comparison-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(46, 125, 50, 0.2);
  border-color: var(--primary);
}

.egg-comparison-icon {
  font-size: 48px;
  margin-bottom: 15px;
  text-align: center;
}

.egg-comparison-card-title {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.egg-comparison-card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

/* Comparison Content */
.egg-comparison-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.egg-comparison-item {
  padding: 20px;
  border-radius: 8px;
  position: relative;
}

.egg-comparison-item.egg-sadu {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
}

.egg-comparison-item.egg-regular {
  background: var(--bg-light);
  border-left: 4px solid var(--text-muted);
}

.egg-comparison-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
}

.egg-comparison-badge.badge-regular {
  background: var(--text-light);
}

.egg-comparison-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0;
}

/* ============================================
   VALUE JUSTIFICATION SECTION
   ============================================ */

.value-justification-section {
  background: #fdf8f0;
  padding: 80px 20px;
  border-top: 1px solid rgba(245, 124, 0, 0.1);
  border-bottom: 1px solid rgba(245, 124, 0, 0.1);
}

.value-justification-container {
  max-width: 1000px;
  margin: 0 auto;
}

.value-header {
  text-align: center;
  margin-bottom: 50px;
}

.value-label {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(245, 124, 0, 0.2);
}

.value-header h2 {
  font-size: 34px;
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.value-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

.value-anchors {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 44px;
}

.value-anchor-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: white;
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(46, 125, 50, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.value-anchor-card:hover {
  transform: translateX(4px);
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(46, 125, 50, 0.1);
}

.value-anchor-icon {
  font-size: 36px;
  flex-shrink: 0;
  line-height: 1;
}

.value-anchor-body strong {
  display: block;
  font-size: 16px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.value-anchor-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

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

@media (max-width: 600px) {
  .value-header h2 {
    font-size: 24px;
  }
}

/* ============================================
   STATISTICS SECTION
   ============================================ */

.statistics-section {
  background: linear-gradient(135deg, var(--primary) 0%, #43a047 100%);
  padding: 80px 20px;
  /* margin-top: 60px; */
  color: white;
  position: relative;
  overflow: hidden;
}

.statistics-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: pulse 6s infinite;
}

.statistics-section::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: pulse 8s infinite;
  animation-delay: 2s;
}

.statistics-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.statistics-header {
  text-align: center;
  margin-bottom: 50px;
}

.statistics-header h2 {
  font-size: 36px;
  color: white;
  margin-bottom: 15px;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.statistics-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: white;
  margin: 15px auto 0;
  border-radius: var(--radius-full);
}

/* Statistics Grid */
.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, auto));
  gap: 25px;
  margin-top: 40px;
  justify-content: center;
}

.statistic-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out both;
  min-width: 0;
}

.statistic-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.statistic-icon {
  font-size: 48px;
  margin-bottom: 15px;
  animation: bounce 2s infinite;
}

.statistic-number {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  display: block;
}

.statistic-label {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.statistic-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Responsive for Statistics Section */
@media (max-width: 768px) {
  .statistics-section {
    padding: 60px 16px;
    /* margin-top: 40px; */
  }

  .statistics-header h2 {
    font-size: 28px;
  }

  .statistics-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .statistic-card {
    padding: 25px;
  }

  .statistic-icon {
    font-size: 40px;
    margin-bottom: 12px;
  }
  .statistic-number {
    font-size: clamp(24px, 6vw, 40px);
    margin-bottom: 8px;
    white-space: nowrap;
    display: block;
  }

  .statistic-label {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .statistic-description {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .statistics-section {
    padding: 40px 12px;
    /* margin-top: 40px; */
  }

  .statistics-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .statistics-header h2::after {
    width: 50px;
    height: 3px;
  }

  .statistics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .statistic-card {
    padding: 20px;
    border-width: 1px;
  }

  .statistic-icon {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .statistic-number {
    font-size: 36px;
    margin-bottom: 6px;
  }

  .statistic-label {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .statistic-description {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* ============================================
   CUSTOMER FEEDBACK GALLERY (Masonry)
   ============================================ */

.customer-feedback-gallery {
  background: var(--bg-light);
  padding: 80px 20px;
  /* margin-top: 60px; */
}

.feedback-gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary) 0%, #43a047 100%);
  margin: 10px auto 0;
  border-radius: var(--radius-full);
}

.section-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Masonry Grid Layout */
.feedback-masonry-grid {
  column-count: 3;
  column-gap: 24px;
  margin-top: 40px;
}

.feedback-item {
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  padding: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.feedback-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.feedback-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.4s ease;
}

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

/* Thu gọn ~2 hàng đầu + mờ dần, bấm "Xem Thêm" để tải hết phần còn lại */
.feedback-masonry-wrap {
  position: relative;
}

.feedback-masonry-wrap.is-collapsed {
  max-height: 640px;
  overflow: hidden;
}

.feedback-fade-overlay {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  background: linear-gradient(
    to bottom,
    rgba(253, 248, 240, 0) 0%,
    var(--bg-light) 88%
  );
  pointer-events: none;
}

.feedback-masonry-wrap.is-collapsed .feedback-fade-overlay {
  display: block;
}

.feedback-load-more-wrap {
  text-align: center;
  margin-top: 28px;
}

.feedback-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.feedback-load-more-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* ============================================
   IMAGE LIGHTBOX / ZOOM OVERLAY
   ============================================ */

/* Cursor pointer cho ảnh gallery */
.feedback-item {
  cursor: zoom-in;
}

/* Overlay nền tối */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  animation: lightboxFadeIn 0.25s ease;
}

.lightbox-overlay.is-open {
  display: flex;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Wrapper ảnh + counter */
.lightbox-content-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 80px);
}

/* Ảnh phóng to */
.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: lightboxZoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
  user-select: none;
}

@keyframes lightboxZoomIn {
  from { transform: scale(0.82); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* Counter "3 / 12" */
.lightbox-counter {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Nút đóng */
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 100001;
  backdrop-filter: blur(4px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1) rotate(90deg);
}

/* Nút prev / next */
.lightbox-nav {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 36px;
  line-height: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
  user-select: none;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.lightbox-nav:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}



.gift-section {
  background: linear-gradient(160deg, #fffdf5 0%, #f9fdf9 100%);
  padding: 80px 20px;
  border-top: 1px solid rgba(245, 124, 0, 0.08);
}

.gift-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Eyebrow dạng icon "con tem" thay cho nhãn pill — hợp với tinh thần quà tặng hơn
   là một tag kiểu corporate lặp lại công thức chung của các section khác. */
.gift-header {
  text-align: center;
  margin-bottom: 50px;
}

.gift-header-icon {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 8px;
}

.gift-label {
  display: block;
  background: none;
  border: none;
  color: var(--accent-dark);
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.gift-header h2 {
  font-size: 34px;
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.25;
}

.gift-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.gift-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.gift-occasions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gift-occasion-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: white;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(46, 125, 50, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.gift-occasion-card:hover {
  transform: translateX(4px);
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(245, 124, 0, 0.1);
}

.gift-occasion-icon {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
}

.gift-occasion-info strong {
  display: block;
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.gift-occasion-info p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.gift-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gift-carousel-wrap {
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(245, 124, 0, 0.1);
}

.gift-packaging-card {
  background: var(--primary);
  border-radius: 14px;
  padding: 24px;
  color: white;
}

.gift-packaging-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}

.gift-packaging-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gift-packaging-card ul li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.gift-packaging-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #a5d6a7;
  font-weight: 700;
}

.gift-cta {
  text-align: center;
  margin-top: 44px;
}

@media (max-width: 900px) {
  .gift-body {
    grid-template-columns: 1fr;
  }
}

/* Special Offer Section */
.special-offer {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  color: white;
  padding: 60px 20px;
}
.special-offer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.special-offer-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.special-offer-text {
  flex: 1;
  min-width: 300px;
}
.special-badge {
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  font-weight: bold;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}
.special-offer-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
  line-height: 1.2;
}
.special-offer-text p {
  font-size: 18px;
  margin-bottom: 20px;
}
.highlight-price {
  font-size: 24px;
  font-weight: bold;
  color: #ffeb3b;
}
.special-features {
  list-style: none;
  margin-bottom: 30px;
}
.special-features li {
  padding: 8px 0;
  font-size: 16px;
}
.special-features li:before {
  content: "✓";
  color: #4caf50;
  font-weight: bold;
  margin-right: 10px;
}
.special-cta-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
}
.special-cta-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 124, 0, 0.4);
}
.special-offer-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}
.special-offer-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.final-cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1b5e20 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.final-cta-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.final-cta-container {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.final-cta-title {
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.25;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.final-cta-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  line-height: 1.7;
}

.final-cta-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 40px;
  text-align: left;
}

.final-cta-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  backdrop-filter: blur(6px);
  transition: background 0.25s ease;
}

.final-cta-highlight-item:hover {
  background: rgba(255, 255, 255, 0.18);
}

.final-cta-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.final-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  border: none;
  padding: 18px 56px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(245, 124, 0, 0.4);
  animation: cta-pulse 3s ease-in-out infinite;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.final-cta-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.final-cta-btn:hover::before {
  width: 360px;
  height: 360px;
}

.final-cta-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(245, 124, 0, 0.5);
  animation-play-state: paused;
}

.final-cta-subtext {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.3px;
}

@media (max-width: 600px) {
  .final-cta-title {
    font-size: 26px;
  }

  .final-cta-highlights {
    grid-template-columns: 1fr;
  }

  .final-cta-btn {
    width: 100%;
    padding: 18px 20px;
    font-size: 18px;
  }
}

/* ============================================
   FARM STORY SECTION
   ============================================ */

/* Chuyển cảnh giữa chương "thảo dược" và chương "trang trại" trong cùng 1 section —
   cố tình không lặp lại công thức "nhãn pill + h2" đã dùng ở phần trên. */
.herbal-farm-divider {
  text-align: center;
  margin: 64px 0 44px;
}

.herbal-farm-divider-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 20px;
  border-radius: var(--radius-full);
}

.herbal-farm-transition-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.35;
  max-width: 620px;
  margin: 0 auto;
}

/* Body layout */
.farm-story-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Left — image + stats */
.farm-story-image-wrap {
  position: relative;
}

.farm-story-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
  box-shadow: var(--shadow-lg);
}

.farm-story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.farm-stat-card {
  background: var(--bg-white);
  border: 1.5px solid var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.farm-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}

.farm-stat-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.farm-stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.farm-stat-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 2px;
}

.farm-stat-label {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
  font-weight: 500;
}

/* Right — process steps */
.farm-story-right {
  display: flex;
  flex-direction: column;
}

.farm-story-video {
  margin-top: 32px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(36, 107, 57, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.farm-story-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.farm-story-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.farm-process-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}

.farm-process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.farm-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.farm-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.farm-step-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 2px solid rgba(46, 125, 50, 0.2);
}

.farm-step-line {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background: linear-gradient(to bottom, rgba(46, 125, 50, 0.2), transparent);
  margin: 4px 0;
}

.farm-step:last-child .farm-step-line {
  display: none;
}

.farm-step-content {
  padding-bottom: 28px;
}

.farm-step-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  margin-top: 10px;
}

.farm-step-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
}

/* Responsive */
@media (max-width: 768px) {
  .herbal-farm-divider {
    margin: 48px 0 32px;
  }

  .herbal-farm-transition-title {
    font-size: 21px;
  }

  .farm-story-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .farm-story-img {
    height: 260px;
  }

  .farm-story-video {
    margin-top: 24px;
    padding: 12px;
  }

  .farm-stat-number {
    font-size: 24px;
  }
}

/* ============================================
   PACKAGING & SHIPPING SECTION
   ============================================ */

.packaging-section {
  padding: 80px 20px;
  background: var(--bg-white);
}

.packaging-container {
  max-width: 1100px;
  margin: 0 auto;
}

.packaging-header {
  text-align: center;
  margin-bottom: 52px;
}

.packaging-label {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.packaging-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.packaging-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Two method cards */
.packaging-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.packaging-card {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

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

.packaging-card-tag {
  background: var(--gradient-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 20px;
  text-align: center;
}

.packaging-card:last-child .packaging-card-tag {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-dark) 100%
  );
}

.packaging-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-light);
}

.packaging-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform var(--transition-slow);
}

.packaging-card:hover .packaging-card-image img {
  transform: scale(1.04);
}

.packaging-card-icon {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.packaging-card-body {
  padding: 24px;
}

.packaging-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.packaging-card-body > p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.packaging-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.packaging-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
}

.pkg-check {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Guarantee bar */
.packaging-guarantee {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--primary-light);
  border: 1.5px solid rgba(46, 125, 50, 0.2);
  border-radius: var(--radius-xl);
  padding: 24px 32px;
}

.pkg-guarantee-icon {
  font-size: 40px;
  flex-shrink: 0;
}

.pkg-guarantee-body strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.pkg-guarantee-body p {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.pkg-guarantee-note {
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .packaging-section {
    padding: 56px 16px;
  }

  .packaging-header h2 {
    font-size: 24px;
  }

  .packaging-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .packaging-guarantee {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
}

/* ============================================
   HERB VISUAL CARD (ảnh xen vào herb grid)
   ============================================ */

.herb-visual-card {
  grid-column: 1 / -1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-light);
}

.herb-visual-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.herb-visual-card:hover img {
  transform: scale(1.03);
}

.herb-visual-card p {
  font-size: 13px;
  color: var(--text-light);
  padding: 10px 14px;
  line-height: 1.5;
  background: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

/* Responsive Table Wrapper */
.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 40px 0;
  border-radius: var(--radius-md, 8px);
}

/* Accessibility: Keyboard Focus Indicators */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary, #2e7d32);
  outline-offset: 2px;
}

/* Accessibility: Prefers Reduced Motion */
@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;
  }
  .floating-shape {
    animation: none !important;
  }
}

/* Swipe Hint Badge */
.herbs-swipe-hint,
.comparison-swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary, #2e7d32);
  background: var(--primary-light, #e8f5e9);
  padding: 8px 16px;
  border-radius: 20px;
  margin: 0 auto 16px auto;
  width: fit-content;
  border: 1px solid rgba(46, 125, 50, 0.18);
}

/* ===================================================
   CTA BUTTON ATTENTION ANIMATIONS
   - Shimmer light sweep (quét ánh sáng ngang)
   - Glow pulse (nhịp đập phát sáng)
   - Periodic wiggle (lắc nhẹ mỗi 4 giây)
   =================================================== */

@keyframes btn-shimmer {
  0% { transform: translateX(-140%) skewX(-20deg); }
  100% { transform: translateX(260%) skewX(-20deg); }
}

@keyframes btn-glow-pulse {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(245, 124, 0, 0.35), 0 0 0 0 rgba(245, 124, 0, 0.12);
  }
  50% {
    box-shadow: 0 8px 32px rgba(245, 124, 0, 0.6), 0 0 0 8px rgba(245, 124, 0, 0);
  }
}

@keyframes btn-wiggle {
  0%, 88%, 100%  { transform: translateY(0) rotate(0deg); }
  90%  { transform: translateY(-3px) rotate(-1.5deg); }
  92%  { transform: translateY(-3px) rotate(1.5deg); }
  94%  { transform: translateY(-2px) rotate(-1deg); }
  96%  { transform: translateY(-2px) rotate(1deg); }
  98%  { transform: translateY(-1px) rotate(0deg); }
}

/* Shimmer pseudo-element cho tất cả nút (bao gồm hero-secondary-btn) */
.cta-btn::after,
.featured-product-btn::after,
.product-btn::after,
.special-cta-button::after,
.final-cta-btn::after,
.hero-secondary-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: btn-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}

/* submit-btn shimmer riêng */
.submit-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: btn-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

/* Glow pulse + wiggle combined trên tất cả nút mua (màu cam) */
.cta-btn,
.featured-product-btn,
.product-btn,
.special-cta-button,
.final-cta-btn {
  animation: btn-glow-pulse 2.2s ease-in-out infinite, btn-wiggle 4s ease-in-out infinite !important;
}

/* Glow pulse màu trắng ngọc cho hero-secondary-btn */
@keyframes hero-sec-glow-pulse {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25), 0 0 0 0 rgba(255, 255, 255, 0.15);
  }
  50% {
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.55), 0 0 0 8px rgba(255, 255, 255, 0);
  }
}

.hero-secondary-btn {
  animation: hero-sec-glow-pulse 2.2s ease-in-out infinite, btn-wiggle 4s ease-in-out infinite !important;
}

/* submit-btn: glow màu xanh lá --primary */
@keyframes submit-btn-glow-pulse {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(46, 125, 50, 0.35), 0 0 0 0 rgba(46, 125, 50, 0.12);
  }
  50% {
    box-shadow: 0 8px 32px rgba(46, 125, 50, 0.6), 0 0 0 8px rgba(46, 125, 50, 0);
  }
}
.submit-btn {
  animation: submit-btn-glow-pulse 2.2s ease-in-out infinite, btn-wiggle 4s ease-in-out infinite !important;
}

/* Khi hover: tắt animation, đổi màu sang dải màu cam rực rỡ & đổ bóng mạnh mẽ */
.cta-btn:hover,
.featured-product-btn:hover,
.product-btn:hover,
.special-cta-button:hover,
.final-cta-btn:hover {
  animation: none !important;
  box-shadow: 0 10px 36px rgba(245, 124, 0, 0.58) !important;
}

.hero-secondary-btn:hover {
  animation: none !important;
  background: #ffffff !important;
  color: var(--primary-dark, #1b5e20) !important;
  border-color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.45), 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-2px) !important;
}

.hero-secondary-btn:hover i {
  color: var(--primary-dark, #1b5e20) !important;
  transform: scale(1.2) rotate(10deg);
}

.submit-btn:hover {
  animation: none !important;
  box-shadow: 0 10px 36px rgba(46, 125, 50, 0.55) !important;
}

/* Khi :active: scale nhỏ lại tạo cảm giác nhấn */
.cta-btn:active,
.featured-product-btn:active,
.product-btn:active,
.special-cta-button:active,
.final-cta-btn:active,
.submit-btn:active,
.hero-secondary-btn:active {
  animation: none !important;
  transform: scale(0.97) translateY(1px) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
}

/* ============================================
   QUICK OFFER SECTION — P2-1
   Card nhỏ ngay sau Hero, tối ưu cho traffic quảng cáo
   ============================================ */

/* ============================================
   QUICK OFFER SECTION — Redesigned & Spacious (P2-1)
   ============================================ */

.quick-offer-section {
  padding: 10px 20px 40px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.quick-offer-container {
  max-width: 1100px;
  width: 100%;
}

.quick-offer-card {
  background: linear-gradient(135deg, #ffffff 0%, #f4fbf6 50%, #e8f5eb 100%);
  border: 2px solid #a5d6a7;
  border-radius: 24px;
  padding: 32px 36px;
  box-shadow: 0 12px 36px rgba(27, 94, 32, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-offer-card:hover {
  box-shadow: 0 16px 44px rgba(27, 94, 32, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.quick-offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #2e7d32, #66bb6a, #ffa726);
}

.quick-offer-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.quick-offer-header-badge {
  margin-bottom: 0;
}

.quick-offer-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 7px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.22);
  text-transform: uppercase;
}

/* Quick Offer Countdown Timer — Harmonious & Premium Styling */
.quick-offer-timer-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid #ffcdd2;
  padding: 6px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.08);
  transition: all 0.25s ease;
}

.quick-offer-timer-wrap:hover {
  border-color: #ef9a9a;
  box-shadow: 0 6px 16px rgba(211, 47, 47, 0.12);
}

.quick-offer-timer-label {
  font-size: 12px;
  font-weight: 800;
  color: #c62828;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.quick-offer-timer-boxes {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.qo-timer-box {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  min-width: 30px;
  height: 26px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(211, 47, 47, 0.28);
  font-family: inherit;
  line-height: 1;
  letter-spacing: 0.5px;
}

.qo-timer-unit {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  height: 26px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(211, 47, 47, 0.28);
}

.qo-colon {
  font-size: 14px;
  font-weight: 900;
  color: #d32f2f;
  line-height: 1;
}

.quick-offer-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: center;
}

/* Media Column - Large un-distorted photo presentation */
.quick-offer-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.quick-offer-img-box {
  position: relative;
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.quick-offer-card:hover .quick-offer-img-box {
  transform: scale(1.02);
}

.quick-offer-img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.quick-offer-discount-tag {
  position: absolute;
  top: -12px;
  right: -10px;
  background: #d32f2f;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
  z-index: 2;
}

/* Info Column */
.quick-offer-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quick-offer-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-dark, #1b5e20);
  line-height: 1.3;
  margin: 0;
}

.quick-offer-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}

.quick-offer-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #c8e6c9;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2e7d32;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.quick-offer-perk-icon {
  font-size: 15px;
  flex-shrink: 0;
}

.quick-offer-price-block {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.quick-offer-price-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.quick-offer-price-new {
  font-size: 28px;
  font-weight: 900;
  color: #d32f2f;
  line-height: 1;
}

.quick-offer-price-old {
  font-size: 16px;
  color: #888888;
  text-decoration: line-through;
  font-weight: 500;
}

.quick-offer-price-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
}

.quick-offer-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 4px;
}

.quick-offer-cta-main {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.35);
  text-decoration: none;
}

.quick-offer-cta-main:hover {
  background: linear-gradient(135deg, #1b5e20 0%, #0d3b11 100%);
  box-shadow: 0 8px 26px rgba(46, 125, 50, 0.45);
  transform: translateY(-2px);
}

.quick-offer-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1b5e20;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 20px;
  border: 2px solid #a5d6a7;
  border-radius: 14px;
  transition: all 0.2s ease;
  background: #ffffff;
}

.quick-offer-cta-secondary:hover {
  background: #e8f5e9;
  border-color: #2e7d32;
  color: #2e7d32;
}

.quick-offer-footer-trust {
  font-size: 12.5px;
  color: #666666;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
}

/* ============================================
   CTA HIERARCHY — P2-2
   3 tiers: primary / secondary / text-phone
   ============================================ */

/* Tier 2: Secondary CTA — outline style */
.cta-btn--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.cta-btn--secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

/* Tier 3: Text/Phone CTA link */
.cta-link-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cta-link-phone:hover {
  color: var(--primary-dark);
}

.cta-link-phone i {
  font-size: 14px;
  color: var(--primary);
}

/* Final CTA — secondary row (review + phone) */
.final-cta-secondary-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* ============================================
   ORDER REASSURANCE NOTE — P1-3
   ============================================ */
.order-reassurance {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}

.order-reassurance i {
  color: var(--primary);
  margin-right: 4px;
}

.order-reassurance a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.order-reassurance a:hover {
  color: var(--accent);
}

/* ============================================
   POLICY MODAL — P1-3
   ============================================ */
.policy-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.policy-modal.show {
  display: flex;
  animation: modalFadeIn 0.25s ease-out forwards;
}

.policy-modal-content {
  background: var(--bg-white);
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  padding: 28px;
  box-sizing: border-box;
}

.policy-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.policy-modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-dark);
}

.policy-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.policy-modal-icon {
  font-size: 22px;
  color: var(--primary);
}

.policy-modal-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
}

.policy-modal-body {
  flex: 1;
  overflow-y: auto;
  padding-top: 16px;
  padding-right: 6px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dark);
}

.policy-modal-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 18px 0 8px 0;
}

.policy-modal-body p {
  margin-bottom: 10px;
}

.policy-modal-body ul,
.policy-modal-body ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.policy-modal-body li {
  margin-bottom: 6px;
}

.policy-modal-footer {
  padding-top: 16px;
  margin-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: flex-end;
}

/* ============================================
   COMPARISON MOBILE CARDS — P1-5
   ============================================ */
.comparison-mobile-cards {
  display: none; /* Hiển thị trên mobile qua responsive.css */
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 24px 0;
}

.comparison-mobile-card {
  background: var(--bg-white);
  border: 1px solid rgba(36, 107, 57, 0.15);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.comparison-mobile-criteria {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.comparison-mobile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.comparison-mobile-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f9fbf9;
  border: 1px solid #e8ede8;
}

.comparison-mobile-item.sadu-item {
  background: #f0faf2;
  border-color: #c8e6c9;
}

.comparison-mobile-brand {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.sadu-item .comparison-mobile-brand {
  color: var(--primary);
}

.comparison-mobile-value {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
}

.badge-success {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge-danger {
  background: #ffebee;
  color: #c62828;
}


