/**
 * ==============================================================================
 * CỐM LÀNG VÒNG - LANDING PAGE STYLESHEET
 * Phong cách: Vietnamese Traditional + Modern + Natural + Premium
 * Tuân thủ thiết kế: AGENTS.md & Specification
 * ==============================================================================
 */

/* --- 1. CSS VARIABLES & DESIGN TOKENS --- */
:root {
  /* Color Palette theo AGENTS.md */
  --bg-cream: #FFFDF5;         /* 60% Background chính */
  --bg-soft-lime: #F1F5D8;     /* 15% Section phụ */
  --bg-white: #FFFFFF;         /* 15% Cards / Content */
  --com-green: #A8C957;        /* 10% Primary / CTA */
  --com-green-hover: #8FB83F;  /* Hover state */
  --green-dark: #527A32;       /* 8% Heading / accent */
  --deep-green: #31572C;       /* 5% Text quan trọng */
  --heritage-dark: #244120;    /* Dark Story Section */
  --com-brown: #7A5C3E;        /* Text phụ / decoration */
  --border-light: #E4E9D3;     /* Đường kẻ viền nhẹ */

  /* Lantern Palette (2%) */
  --lantern-orange: #F4A261;
  --lantern-gold: #FFD166;
  --lantern-highlight: #FFF3C4;
  --lantern-glow: rgba(255, 209, 102, 0.28);
  --lantern-glow-strong: rgba(244, 162, 97, 0.35);

  /* Typography */
  --font-heading: "Noto Serif", Georgia, "Times New Roman", serif;
  --font-body: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(49, 87, 44, 0.05);
  --shadow-md: 0 10px 30px rgba(49, 87, 44, 0.08);
  --shadow-lg: 0 18px 45px rgba(49, 87, 44, 0.12);
  --shadow-lantern: 0 0 14px var(--lantern-glow), 0 0 32px rgba(244, 162, 97, 0.15);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --header-height: 80px;
  --container-max: 1200px;
}

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

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

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* --- 3. TYPOGRAPHY --- */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--deep-green);
  line-height: 1.25;
}

h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(22px, 2.5vw, 34px);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(17px, 1.8vw, 22px);
}

p {
  font-size: clamp(13.5px, 0.95vw, 15px);
  color: #3f6539;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.eyebrow::before, .eyebrow::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1.5px;
  background: var(--com-green);
}

/* --- 4. CONTAINER & SECTION PADDING --- */
.container {
  width: min(100% - 32px, var(--container-max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(46px, 5vw, 74px);
  position: relative;
}

/* --- SECTION HEADER CHUẨN ĐỒNG BỘ TOÀN TRANG (THEO LANDING INTRO) --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-header .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: var(--font-body, "Be Vietnam Pro", sans-serif) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--green-dark, #527A32) !important;
  margin-bottom: 10px !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
}

.section-header .eyebrow::before,
.section-header .eyebrow::after {
  content: "" !important;
  display: inline-block !important;
  width: 16px !important;
  height: 1.5px !important;
  background: var(--com-green, #A8C957) !important;
  vertical-align: middle !important;
}

.section-title {
  display: block;
  text-align: inherit;
  margin-bottom: 12px;
  width: 100%;
}

.section-header .section-title,
.section-header h2.section-title,
.intro-section .section-title,
.landing-intro .section-title,
.text-center .section-title {
  display: block !important;
  text-align: center !important;
  justify-content: center !important;
  font-family: var(--font-heading, "Noto Serif", serif) !important;
  font-size: clamp(22px, 2.5vw, 34px) !important;
  font-weight: 700 !important;
  color: var(--deep-green, #31572C) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 12px !important;
  margin-inline: auto !important;
  width: 100% !important;
}

.section-subtitle,
.section-header .section-subtitle,
.section-header p.section-subtitle {
  font-family: var(--font-body, "Be Vietnam Pro", sans-serif) !important;
  font-size: clamp(13.5px, 1vw, 15.5px) !important;
  color: #55724d !important;
  line-height: 1.65 !important;
  text-align: center !important;
  max-width: 620px !important;
  margin-inline: auto !important;
  margin-bottom: 0 !important;
}

/* --- 5. BUTTONS & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--com-green);
  color: var(--deep-green);
  box-shadow: 0 3px 14px rgba(168, 201, 87, 0.35);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--com-green-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(143, 184, 63, 0.45);
}

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

.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--green-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-white {
  background: #FFFFFF;
  color: var(--deep-green);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
}

.btn-white:hover, .btn-white:focus-visible {
  background: var(--bg-cream);
  color: var(--green-dark);
  transform: translateY(-2px);
}

/* --- 6. BACKGROUND FLOATING LANTERNS --- */
.lantern-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.lantern-fly {
  position: absolute;
  bottom: -60px;
  filter: drop-shadow(0 0 12px rgba(255, 209, 102, 0.25)) drop-shadow(0 0 24px rgba(244, 162, 97, 0.12));
  opacity: 0;
  animation: lanternFloat linear infinite;
  will-change: transform, opacity;
}

@keyframes lanternFloat {
  0% {
    transform: translateY(0) translateX(0) rotate(-3deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.85;
  }
  50% {
    transform: translateY(-55vh) translateX(30px) rotate(3deg) scale(1);
    opacity: 0.9;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-120vh) translateX(-35px) rotate(-2deg) scale(0.7);
    opacity: 0;
  }
}

/* --- 7. HEADER & NAVBAR --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: all var(--transition-normal);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 253, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(49, 87, 44, 0.06);
  height: 70px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--deep-green);
  line-height: 1.1;
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
}

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

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--deep-green);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--com-green);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

/* Header Hanging Lantern */
.header-lantern-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
  animation: lanternSwing 4.5s ease-in-out infinite alternate;
}

.header-lantern-cord {
  width: 1.5px;
  height: 18px;
  background: #C49E6A;
}

.header-lantern-svg {
  width: 38px;
  height: 48px;
  filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.35));
  transition: filter var(--transition-normal);
}

@keyframes lanternSwing {
  0% {
    transform: rotate(-3.5deg);
  }
  100% {
    transform: rotate(3.5deg);
  }
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  padding: 4px 0;
  z-index: 101;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--deep-green);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(82%, 360px);
  height: 100vh;
  background: var(--bg-cream);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 99;
  transition: right var(--transition-normal);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--deep-green);
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ========================================
   CV DRAWER — Mobile Menu
   ======================================== */
.cv-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(82%, 360px);
  height: 100vh;
  background: var(--bg-cream);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 1001;
  transition: right 0.35s ease;
  overflow-y: auto;
}

.cv-drawer.open,
.cv-drawer.is-active {
  right: 0;
}

.cv-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.cv-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer Header */
.cv-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(82, 122, 50, 0.12);
  flex-shrink: 0;
}

.cv-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.cv-drawer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.cv-drawer-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--deep-green);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nút close drawer */
.cv-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-left: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--deep-green);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cv-drawer-close:hover {
  background: rgba(168, 201, 87, 0.15);
  color: var(--com-green);
  transform: rotate(90deg);
}

.cv-drawer-close:focus-visible {
  outline: 2px solid var(--com-green);
  outline-offset: 2px;
}

.cv-drawer-close svg {
  width: 22px;
  height: 22px;
  display: block;
  pointer-events: none;
}

/* Drawer Body */
.cv-drawer-body {
  flex: 1;
  padding: 24px 24px 16px;
  overflow-y: auto;
}

.cv-drawer-nav {
  display: flex;
  flex-direction: column;
}

.cv-drawer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cv-drawer-menu-list a {
  display: block;
  padding: 12px 8px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--deep-green);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.cv-drawer-menu-list a:hover {
  background: rgba(168, 201, 87, 0.15);
  color: var(--com-green);
}

/* Drawer Footer */
.cv-drawer-footer {
  padding: 16px 24px 32px;
  border-top: 1px solid rgba(82, 122, 50, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.cv-drawer-hotlines-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cv-drawer-hotlines-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cv-drawer-phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-soft-lime);
  color: var(--deep-green);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.cv-drawer-phone-btn:hover {
  background: rgba(168, 201, 87, 0.3);
}

.cv-cta-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--com-green);
  color: var(--deep-green);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.cv-cta-mobile:hover {
  background: #8FB83F;
  color: #fff;
  transform: translateY(-2px);
}

/* --- 8. HERO SECTION --- */
.hero-section {
  min-height: auto;
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: 48px;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 85% 30%, #F5F9DF 0%, var(--bg-cream) 60%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 2;
}

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

.hero-title {
  margin-bottom: 14px;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.15;
}

.hero-title span {
  color: var(--green-dark);
  font-style: italic;
}

.hero-subheading {
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: clamp(13.5px, 0.95vw, 15px);
  line-height: 1.65;
  color: #43663a;
  margin-bottom: 24px;
}

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

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

.hero-visual-frame {
  position: relative;
  width: 100%;
  max-width: 390px;
  aspect-ratio: 1 / 1;
  border-radius: 50% 50% 46% 46% / 46% 46% 50% 50%;
  padding: 10px;
  background: linear-gradient(145deg, rgba(168, 201, 87, 0.28), rgba(241, 245, 216, 0.6));
  box-shadow: 0 16px 40px rgba(49, 87, 44, 0.1);
  transition: transform var(--transition-slow);
}

.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% 50% 45% 45% / 45% 45% 50% 50%;
  filter: contrast(1.03) saturate(1.04);
}

.hero-badge-tag {
  position: absolute;
  bottom: 16px;
  left: -8px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  width: max-content;
  max-width: calc(100% + 60px);
  z-index: 3;
  animation: badgeFloat 4s ease-in-out infinite alternate;
}

.hero-badge-tag svg {
  color: var(--com-green);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.hero-badge-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--deep-green);
  white-space: nowrap;
}

.hero-badge-desc {
  font-size: 10.5px;
  color: var(--com-brown);
  white-space: nowrap;
}

@keyframes badgeFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

@keyframes badgeFloatMobile {
  0% { transform: translateX(-50%) translateY(0); }
  100% { transform: translateX(-50%) translateY(-5px); }
}

/* --- 9. STORY SECTION --- */
.story-section {
  background-color: #F8FAF0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.story-images {
  position: relative;
}

.story-img-main {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-img-sub {
  position: absolute;
  bottom: -16px;
  right: -14px;
  width: 46%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 4px solid #FFFFFF;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.story-content-box {
  padding: clamp(6px, 1.5vw, 18px);
}

.story-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--green-dark);
  line-height: 1.45;
  margin-bottom: 16px;
  position: relative;
  padding-left: 16px;
  border-left: 3px solid var(--com-green);
}

.story-p {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.65;
}

/* --- 10. PRODUCT INTRODUCTION (SENSORY 01-02-03) --- */
.intro-section,
.landing-intro {
  background: var(--bg-cream);
}

.intro-section .section-title,
.landing-intro .section-title {
  text-align: center !important;
  margin-inline: auto;
  display: block !important;
}

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

.intro-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.intro-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--com-green);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.intro-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(168, 201, 87, 0.4);
}

.intro-card:hover::before {
  opacity: 1;
}

.intro-num {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: rgba(168, 201, 87, 0.4);
  line-height: 1;
  margin-bottom: 10px;
}

.intro-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-soft-lime);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-green);
  margin-bottom: 14px;
  transition: transform var(--transition-normal);
}

.intro-card:hover .intro-icon {
  transform: scale(1.08) rotate(5deg);
  background: var(--com-green);
}

.intro-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.intro-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #4a6842;
}

/* --- 11. PRODUCT SHOWCASE (CAROUSEL SLIDER + EXPANDABLE GRID) --- */
.products-section {
  background-color: var(--bg-soft-lime);
  position: relative;
}

/* View Switcher (Thanh trượt vs Dạng lưới) */
.products-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 4px;
  border-radius: 999px;
  margin: 18px auto 0;
  box-shadow: var(--shadow-sm);
}

.view-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--green-dark);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-switch-btn:hover {
  background: rgba(168, 201, 87, 0.18);
  color: var(--deep-green);
}

.view-switch-btn.active {
  background: var(--com-green);
  color: var(--deep-green);
  box-shadow: 0 2px 8px rgba(49, 87, 44, 0.12);
}

.view-switch-btn svg {
  flex-shrink: 0;
}

/* Products Display Container */
.products-display-wrapper {
  position: relative;
  width: 100%;
  margin-top: 14px;
}

/* Carousel Slider Mode */
.products-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 10px 0 16px;
  width: 100%;
}

.products-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.product-slide {
  flex: 0 0 calc((100% - 44px) / 3);
  margin-right: 22px;
  box-sizing: border-box;
  display: flex;
}

.product-slide .product-card {
  width: 100%;
  height: 100%;
}

.products-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.products-carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  color: var(--deep-green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.products-carousel-btn:hover {
  background: var(--com-green);
  border-color: var(--com-green);
  color: var(--deep-green);
  transform: scale(1.06);
  box-shadow: var(--shadow-md);
}

.products-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.products-carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D5DCC2;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.products-carousel-dots .dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--deep-green);
}

/* Grid Mode Columns */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 980px;
  margin-inline: auto;
}

.products-grid--cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 660px;
}

.products-grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 980px;
}

.products-grid--cols-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1160px;
  gap: 14px;
}

/* Expandable Grid items */
.product-card--expandable.is-collapsed {
  display: none !important;
}

.product-card--expandable:not(.is-collapsed) {
  animation: productCardReveal 0.4s ease forwards;
}

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

/* Expand / Load More / Collapse Button Group */
.products-expand-wrap {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.products-expand-btn,
.products-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 28px;
  border-radius: 999px;
  background: var(--com-green);
  border: 1.5px solid var(--com-green);
  color: var(--deep-green);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(168, 201, 87, 0.3);
  transition: all var(--transition-normal);
}

.products-expand-btn:hover,
.products-load-more-btn:hover {
  background: #8FB83F;
  border-color: #8FB83F;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(143, 184, 63, 0.35);
}

.products-expand-btn .expand-icon,
.products-load-more-btn .expand-icon {
  transition: transform 0.25s ease;
}

.products-expand-btn:hover .expand-icon,
.products-load-more-btn:hover .expand-icon {
  transform: translateY(3px);
}

.products-collapse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 24px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid var(--green-dark);
  color: var(--green-dark);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(49, 87, 44, 0.08);
  transition: all var(--transition-normal);
}

.products-collapse-btn:hover {
  background: #F1F5D8;
  border-color: var(--green-dark);
  color: var(--deep-green);
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(49, 87, 44, 0.14);
}

.products-collapse-btn .collapse-icon {
  transition: transform 0.25s ease;
}

.products-collapse-btn:hover .collapse-icon {
  transform: translateY(-3px);
}

/* Compact Product Card */
.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(49, 87, 44, 0.05);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(49, 87, 44, 0.12);
  border-color: #D3DFB6;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--deep-green);
  color: #FFFDF5;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  z-index: 3;
}

.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background: #F4F6EC;
  cursor: pointer;
}

.product-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(49, 87, 44, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 2;
  pointer-events: none;
}

.product-thumb-eye {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--deep-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  transform: scale(0.85);
  transition: transform var(--transition-fast);
}

.product-card:hover .product-thumb-overlay {
  opacity: 1;
}

.product-card:hover .product-thumb-eye {
  transform: scale(1);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-body {
  padding: 13px 14px 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  height: 2.8em;
  min-height: 2.8em;
  margin-bottom: 6px;
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.product-card:hover .product-name {
  color: var(--green-dark);
}

.product-name a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.product-name a:hover {
  color: var(--green-dark);
}

.product-thumb.quick-view,
.product-thumb.cv-quickview-btn,
.product-thumb {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-desc {
  font-size: 12px;
  line-height: 1.45;
  height: 2.9em;
  min-height: 2.9em;
  color: #496342;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.product-price {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--deep-green);
  line-height: 1;
}

.product-currency {
  font-size: 11.5px;
  font-weight: 500;
}

/* Eye Icon Quickview Button */
.product-quickview-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft-lime);
  border: 1.5px solid var(--border-light);
  color: var(--deep-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  padding: 0;
  box-shadow: 0 2px 6px rgba(49, 87, 44, 0.08);
  text-decoration: none;
}

.product-quickview-btn:hover {
  background: var(--com-green);
  border-color: var(--com-green);
  color: var(--deep-green);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(49, 87, 44, 0.2);
}

.product-quickview-btn.loading {
  opacity: 0.6;
  pointer-events: none;
  animation: cvSpin 0.8s linear infinite;
}

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

.product-quickview-btn svg {
  transition: transform var(--transition-fast);
}

.product-quickview-btn:hover svg {
  transform: scale(1.08);
}

.product-card .btn {
  padding: 6px 14px;
  min-height: 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --- 12. PROCESS SECTION / GIFT TARGETS --- */
.process-section,
.cv-gift-target-section {
  background: var(--bg-cream, #FFFDF5);
  background-image: radial-gradient(ellipse 70% 50% at 50% 25%, rgba(241, 245, 216, 0.5) 0%, rgba(255, 253, 245, 0) 75%);
  overflow: hidden;
  position: relative;
  padding-block: clamp(58px, 6.8vw, 96px);
}

.process-gift-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  width: 100%;
  align-items: stretch;
}

.process-gift-card {
  background-color: #FAF7EE;
  border: 1px solid #E6E2D2;
  border-radius: 20px;
  padding: 32px 24px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  height: 100%;
  box-shadow: 0 4px 16px rgba(49, 87, 44, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background-color 0.25s ease;
}

.process-gift-card:hover {
  transform: translateY(-8px);
  background-color: #FFFFFF;
  border-color: #A8C957;
  box-shadow: 0 20px 42px -12px rgba(49, 87, 44, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.process-gift-icon-box {
  width: 50px;
  height: 50px;
  background-color: #FFFFFF;
  border: 1px solid #E7E3D4;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 3px 10px rgba(49, 87, 44, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.3s ease;
}

.process-gift-card:hover .process-gift-icon-box {
  transform: translateY(-2px) scale(1.06);
}

.process-gift-icon-box svg {
  width: 24px;
  height: 24px;
  display: block;
}

.process-gift-card--family:hover .process-gift-icon-box {
  box-shadow: 0 8px 22px rgba(200, 72, 59, 0.18);
  border-color: #E2887E;
}
.process-gift-card--friends:hover .process-gift-icon-box {
  box-shadow: 0 8px 22px rgba(82, 122, 50, 0.20);
  border-color: #A8C957;
}
.process-gift-card--clients:hover .process-gift-icon-box {
  box-shadow: 0 8px 22px rgba(122, 92, 62, 0.20);
  border-color: #B5957A;
}
.process-gift-card--partners:hover .process-gift-icon-box {
  box-shadow: 0 8px 22px rgba(212, 154, 36, 0.22);
  border-color: #E2B65A;
}

.process-gift-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #EDF3DC;
  color: #43642B;
  font-family: var(--font-body, "Be Vietnam Pro", sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

.process-gift-tag-dot {
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background-color: #6A9237;
  display: inline-block;
}

.process-gift-title {
  font-family: var(--font-heading, "Noto Serif", serif);
  font-size: 21.5px;
  font-weight: 700;
  color: #203A19;
  line-height: 1.32;
  margin: 0 0 11px 0;
  letter-spacing: -0.01em;
}

.process-gift-desc {
  font-family: var(--font-body, "Be Vietnam Pro", sans-serif);
  font-size: 13.5px;
  line-height: 1.68;
  color: #53694C;
  margin: 0;
  flex-grow: 1;
}

.process-gift-indicator {
  width: 28px;
  height: 2px;
  background-color: #DFE5CE;
  border-radius: 2px;
  margin-top: 24px;
  transition: width 0.35s ease, background-color 0.35s ease;
}

.process-gift-card--family:hover .process-gift-indicator {
  width: 48px;
  background-color: #E2887E;
}
.process-gift-card--friends:hover .process-gift-indicator {
  width: 48px;
  background-color: #A8C957;
}
.process-gift-card--clients:hover .process-gift-indicator {
  width: 48px;
  background-color: #B5957A;
}
.process-gift-card--partners:hover .process-gift-indicator {
  width: 48px;
  background-color: #E2B65A;
}

.process-timeline {
  position: relative;
  margin-top: 28px;
}

/* Progress bar connecting steps */
.process-track {
  position: absolute;
  top: 43px;
  left: 8%;
  right: 8%;
  height: 2.5px;
  background: #E0E7CF;
  z-index: 1;
}

.process-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--green-dark), var(--com-green));
  transition: width 0.4s ease;
  position: relative;
}

.process-grain {
  position: absolute;
  right: -7px;
  top: -5px;
  width: 14px;
  height: 14px;
  background: var(--com-green);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(168, 201, 87, 0.8);
}

.process-steps-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
  z-index: 2;
}

.process-step {
  text-align: center;
  transition: transform var(--transition-normal);
}

.process-step-node {
  width: 48px;
  height: 48px;
  margin: 18px auto 14px;
  background: #FFFFFF;
  border: 2.5px solid #DCE4C7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--deep-green);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.process-step.active .process-step-node {
  border-color: var(--com-green);
  background: var(--bg-soft-lime);
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(168, 201, 87, 0.4);
}

.process-step.completed .process-step-node {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #FFFFFF;
}

.process-step-num {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.process-step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.process-step-desc {
  font-size: 12.5px;
  color: #55724d;
  line-height: 1.45;
  padding: 0 4px;
}

/* --- 13. BRAND STORY (HERITAGE AMBIANCE) --- */
.brand-story-section {
  background-color: var(--heritage-dark);
  color: #FFFDF5;
  position: relative;
  overflow: hidden;
}

.brand-story-section * {
  color: #FFFDF5;
}

.brand-story-section .eyebrow {
  color: var(--com-green);
}

.brand-story-section .eyebrow::before,
.brand-story-section .eyebrow::after {
  background: var(--com-green);
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.brand-quote-lg {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 26px);
  font-style: italic;
  line-height: 1.35;
  margin-bottom: 18px;
  color: var(--bg-soft-lime);
}

.brand-text,
.brand-text p {
  font-size: 14px;
  line-height: 1.65;
  color: #DDE8D2;
  margin-bottom: 14px;
}

.brand-text p:last-child {
  margin-bottom: 0;
}

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

.brand-story-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  filter: contrast(1.05);
}

.brand-glow-element {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* --- 14. EDITORIAL GALLERY (Section 8) --- */
.gallery-section {
  background: var(--bg-cream, #FFFDF5);
  position: relative;
}

.gallery-content {
  position: relative;
  width: 100%;
}

/* --- 15. CUSTOMER REVIEWS (CAROUSEL) --- */
.reviews-section {
  background-color: #F8FAF0;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 10px 0 20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.review-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  margin-right: 24px;
  box-sizing: border-box;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.review-stars {
  color: #E2A03F;
  font-size: 15px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.6;
  color: #3f6539;
  margin-bottom: 18px;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-soft-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--deep-green);
  font-size: 13.5px;
}

.author-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--deep-green);
}

.author-meta {
  font-size: 11.5px;
  color: var(--com-brown);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  color: var(--deep-green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--com-green);
  border-color: var(--com-green);
  color: var(--deep-green);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D5DCC2;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.carousel-dot.active {
  width: 22px;
  border-radius: 999px;
  background: var(--com-green);
}

/* --- 16. AUTUMN OFFER & COUNTDOWN --- */
.offer-section {
  background: linear-gradient(135deg, #A8C957 0%, #76A531 100%);
  color: var(--deep-green);
  padding-block: clamp(48px, 5.5vw, 68px);
  position: relative;
  overflow: hidden;
}

.offer-card-inner {
  background: rgba(255, 253, 245, 0.95);
  border-radius: 20px;
  padding: clamp(26px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  box-shadow: 0 16px 40px rgba(49, 87, 44, 0.12);
  position: relative;
}

.offer-title {
  font-size: clamp(22px, 2.6vw, 32px);
  margin-bottom: 14px;
}

.offer-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.offer-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--deep-green);
  line-height: 1.55;
}

.offer-perk-item svg {
  color: var(--green-dark);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Countdown Block */
.countdown-container {
  margin-bottom: 24px;
}

.countdown-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--com-brown);
  margin-bottom: 8px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.countdown-box {
  background: var(--bg-cream);
  border: 1.5px solid #E1E8D1;
  border-radius: 10px;
  padding: 7px 10px;
  min-width: 56px;
  text-align: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.countdown-val {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: var(--deep-green);
  line-height: 1;
}

.countdown-unit {
  font-size: 10px;
  font-weight: 600;
  color: var(--com-brown);
  text-transform: uppercase;
  margin-top: 3px;
}

.countdown-sep {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
}

.offer-delivery-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-cream);
  border: 1px solid #E1E8D1;
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  font-size: 13.5px;
  color: var(--deep-green);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(49, 87, 44, 0.04);
}

.offer-delivery-note svg {
  color: var(--green-dark);
  flex-shrink: 0;
}

.offer-delivery-note:last-child {
  margin-bottom: 0;
}

.offer-btn {
  padding-inline: 36px;
}

.offer-visual-col {
  text-align: center;
}

.offer-img {
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

/* --- 17. FAQ SECTION (ACCORDION) --- */
.faq-section {
  background: var(--bg-cream);
}

.faq-accordion {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.active {
  border-color: var(--com-green);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--deep-green);
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  user-select: none;
}

.faq-header:hover {
  color: var(--green-dark);
}

.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-soft-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--com-green);
  color: #FFFFFF;
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-normal);
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}

.faq-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-body {
  padding: 0 20px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #496342;
}

/* --- 18. FINAL CTA --- */
.final-cta-section {
  background: radial-gradient(circle at 50% 10%, #F5F8DF 0%, var(--bg-cream) 70%);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-block: clamp(54px, 6.5vw, 84px);
}

.final-lantern-visual {
  width: 46px;
  height: 58px;
  margin: 0 auto 16px;
  filter: drop-shadow(0 0 16px rgba(255, 209, 102, 0.45)) drop-shadow(0 0 32px rgba(244, 162, 97, 0.22));
  animation: lanternSwing 5s ease-in-out infinite alternate;
}

.final-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body, "Be Vietnam Pro", sans-serif);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-dark, #527A32);
  margin-bottom: 12px;
}

.final-cta-eyebrow::before,
.final-cta-eyebrow::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: var(--com-green, #A8C957);
}

.final-cta-title {
  font-family: var(--font-heading, "Noto Serif", serif);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  color: var(--deep-green, #31572C);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.final-cta-sub {
  font-family: var(--font-body, "Be Vietnam Pro", sans-serif);
  font-size: clamp(14.5px, 1.2vw, 17px);
  color: #55724d;
  margin-bottom: 34px;
  font-style: italic;
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.6;
}

.final-cta-wrapper {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hàng nút Socials */
.final-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  flex-wrap: wrap;
}

.btn-cta-social {
  flex: 1 1 240px;
  max-width: 300px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  text-align: left;
  background-color: var(--com-green, #A8C957) !important;
  color: var(--deep-green, #31572C) !important;
  border: 1.5px solid #94BE3F !important;
  box-shadow: 0 4px 16px rgba(168, 201, 87, 0.32);
  transition: all var(--transition-normal, 0.3s cubic-bezier(0.16, 1, 0.3, 1));
}

.btn-cta-social:hover,
.btn-cta-social:focus-visible {
  background-color: var(--com-green-hover, #8FB83F) !important;
  border-color: #8FB83F !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(143, 184, 63, 0.45);
}

.btn-cta-social .btn-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(49, 87, 44, 0.12);
  transition: transform 0.25s ease;
}

.btn-cta-social:hover .btn-icon-wrap {
  transform: scale(1.08);
}

.btn-cta-social .btn-icon-wrap img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.btn-cta-social .btn-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.btn-cta-social .btn-title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: inherit;
}

.btn-cta-social .btn-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: inherit;
  opacity: 0.85;
  margin-top: 2px;
}

/* Đường phân cách */
.final-cta-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin: 22px 0 18px;
}

.final-cta-divider::before,
.final-cta-divider::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: #D9E2C4;
}

.final-cta-divider span {
  font-family: var(--font-body, "Be Vietnam Pro", sans-serif);
  font-size: 12.5px;
  color: #6d8866;
  font-style: italic;
  white-space: nowrap;
}

/* Hàng nút Hotline */
.btn-cta-hotline {
  flex: 1 1 240px;
  max-width: 290px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  border-radius: 999px;
  background: #FFFFFF !important;
  color: var(--deep-green, #31572C) !important;
  border: 1.5px solid #C4D6AB !important;
  box-shadow: 0 4px 14px rgba(49, 87, 44, 0.06);
  text-decoration: none;
  text-align: left;
  transition: all var(--transition-normal, 0.3s cubic-bezier(0.16, 1, 0.3, 1));
}

.btn-cta-hotline:hover,
.btn-cta-hotline:focus-visible {
  background: var(--bg-cream, #FFFDF5) !important;
  border-color: var(--green-dark, #527A32) !important;
  color: var(--green-dark, #527A32) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(82, 122, 50, 0.16);
}

.btn-cta-hotline .hotline-phone-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #EDF5E3;
  color: var(--green-dark, #527A32);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn-cta-hotline:hover .hotline-phone-icon {
  transform: rotate(15deg) scale(1.08);
  background: var(--green-dark, #527A32);
  color: #FFFFFF;
}

.btn-cta-hotline .hotline-content {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.btn-cta-hotline .hotline-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #657e5e;
  text-transform: uppercase;
}

.btn-cta-hotline .hotline-number {
  font-size: 15px;
  font-weight: 700;
  color: var(--deep-green, #31572C);
  letter-spacing: 0.02em;
}



/* --- 19. FOOTER --- */
.site-footer {
  background-color: var(--deep-green);
  color: #F1F5D8;
  padding-top: 54px;
  padding-bottom: 24px;
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr;
  gap: 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(241, 245, 216, 0.15);
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.footer-desc {
  color: #CFDAC0;
  line-height: 1.6;
  font-size: 13px;
  margin-bottom: 16px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 15px;
  color: #FFFFFF;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 6px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--com-green);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  color: #CFDAC0;
  font-size: 13px;
}

.footer-link:hover {
  color: var(--com-green);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: #CFDAC0;
  font-size: 13px;
}

.footer-contact-item svg {
  color: var(--com-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #A3B591;
  font-size: 12.5px;
}

/* --- 20. QUICK ORDER MODAL / DRAWER --- */
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.order-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.order-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 38, 16, 0.6);
  backdrop-filter: blur(4px);
}

.order-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  padding: 26px 24px;
  z-index: 2;
  transform: translateY(16px) scale(0.97);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
}

.order-modal.open .order-modal-card {
  transform: translateY(0) scale(1);
}

.order-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-cream);
  color: var(--deep-green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.order-modal-close:hover {
  background: #E8ECD5;
}

.order-modal-title {
  font-size: 20px;
  margin-bottom: 4px;
}

.order-modal-desc {
  font-size: 13px;
  color: var(--com-brown);
  margin-bottom: 18px;
}

.order-form-group {
  margin-bottom: 12px;
}

.order-form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--deep-green);
  margin-bottom: 5px;
}

.order-form-input, .order-form-select, .order-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--deep-green);
  background: var(--bg-cream);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.order-form-input:focus, .order-form-select:focus, .order-form-textarea:focus {
  outline: none;
  border-color: var(--com-green);
  box-shadow: 0 0 0 3px rgba(168, 201, 87, 0.25);
  background: #FFFFFF;
}

.order-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.order-qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-soft-lime);
  color: var(--deep-green);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-qty-val {
  font-weight: 700;
  font-size: 15px;
  min-width: 22px;
  text-align: center;
}

.order-price-summary {
  background: var(--bg-soft-lime);
  border-radius: 10px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
  font-weight: 600;
  font-size: 14px;
}

.order-price-total {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--deep-green);
}

/* --- 21. FLOATING MOBILE CTA --- */
.mobile-floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 253, 245, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 90;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.mobile-floating-cta.visible {
  transform: translateY(0);
}

.mobile-floating-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-floating-text {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--deep-green);
}

.mobile-floating-cta .btn {
  padding: 8px 16px;
  min-height: 38px;
  font-size: 13px;
  width: 100%;
}

/* Toast alert notification */
.toast-notice {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--deep-green);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 200;
  font-size: 13.5px;
  font-weight: 500;
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- 22. SCROLL ANIMATION REVEAL UTILITIES --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed,
body.ux-builder-iframe .reveal,
.ux-builder-active .reveal,
html.ng-app .reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Tắt lớp canvas đèn lồng cố định khi đang trong chế độ soạn thảo UX Builder để không cản trở thao tác */
body.ux-builder-iframe .lantern-canvas,
.ux-builder-active .lantern-canvas {
  display: none !important;
}

/* Đảm bảo các wrapper element của UX Builder hiển thị dạng block full-width */
body.ux-builder-iframe .uxb-wrapper[class*="uxb-wrapper--landing_"],
.ux-builder-active .uxb-wrapper[class*="uxb-wrapper--landing_"] {
  display: block !important;
  width: 100% !important;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- 23. RESPONSIVE BREAKPOINTS --- */

/* TABLET (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 24px;
  }

  .intro-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 0;
  }

  .intro-card {
    padding: 22px 16px;
  }

  .products-grid,
  .products-grid--cols-3,
  .products-grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .products-grid .product-card:last-child:nth-child(odd) {
    grid-column: span 2;
    max-width: 340px;
    margin-inline: auto;
    width: 100%;
  }

  .product-slide {
    flex: 0 0 calc((100% - 20px) / 2);
    margin-right: 20px;
  }

  .process-gift-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .process-gift-card {
    padding: 26px 20px 28px;
    border-radius: 18px;
  }

  .process-gift-icon-box {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
  }

  .process-gift-title {
    font-size: 20px;
  }

  .process-gift-desc {
    font-size: 13.5px;
  }

  .process-steps-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }

  .process-step-node {
    width: 42px;
    height: 42px;
    font-size: 16px;
    margin: 14px auto 10px;
  }

  .process-step-title {
    font-size: 14px;
  }

  .process-step-desc {
    font-size: 11.5px;
  }

  .review-slide {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  .gallery-editorial-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 64px;
    gap: 12px;
  }

  .gallery-item-1 { grid-column: span 6; grid-row: span 3; }
  .gallery-item-2 { grid-column: span 3; grid-row: span 2; }
  .gallery-item-3 { grid-column: span 3; grid-row: span 2; }
  .gallery-item-4 { grid-column: span 2; grid-row: span 2; }
  .gallery-item-5 { grid-column: span 2; grid-row: span 2; }
  .gallery-item-6 { grid-column: span 2; grid-row: span 2; }

  .offer-card-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
  }

  .offer-perks, .countdown-timer {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1.2fr;
    gap: 24px;
  }
}

/* MOBILE (< 768px) */
@media (max-width: 767px) {
  :root {
    --header-height: 68px;
  }

  .nav-menu, .header-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 36px;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual-frame {
    max-width: 270px;
  }

  .hero-badge-tag {
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 7px 14px;
    gap: 8px;
    white-space: nowrap;
    animation: badgeFloatMobile 4s ease-in-out infinite alternate;
  }

  .hero-badge-tag svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .hero-badge-title {
    font-size: 11.5px;
    white-space: nowrap;
  }

  .hero-badge-desc {
    font-size: 10px;
    white-space: nowrap;
    text-align: left;
  }

  .story-grid, .brand-story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .story-img-sub {
    right: 0;
    bottom: -12px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .intro-card {
    padding: 22px 16px;
  }

  .products-grid,
  .products-grid--cols-2,
  .products-grid--cols-3,
  .products-grid--cols-4 {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 340px;
    margin-inline: auto;
  }

  .product-thumb {
    aspect-ratio: 1 / 1;
    max-height: none;
  }

  .product-slide {
    flex: 0 0 100%;
    margin-right: 0;
  }

  .products-carousel-btn {
    width: 44px;
    height: 44px;
  }

  .products-expand-btn {
    width: 100%;
    max-width: 320px;
    padding: 12px 20px;
    font-size: 13.5px;
  }

  .view-switch-btn {
    padding: 6px 14px;
    font-size: 12px;
  }

  .cv-gift-target-section,
  .process-section {
    padding-block: 52px;
  }

  .process-gift-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .process-gift-card {
    padding: 24px 18px 26px;
    border-radius: 16px;
  }

  .process-gift-icon-box {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
  }

  .process-gift-title {
    font-size: 20px;
  }

  .process-gift-desc {
    font-size: 14px;
  }

  /* Process Vertical Timeline on Mobile */
  .process-track {
    top: 0;
    bottom: 0;
    left: 24px;
    right: auto;
    width: 2.5px;
    height: 100%;
  }

  .process-progress {
    width: 100%;
    height: 0%;
  }

  .process-grain {
    right: auto;
    left: -5px;
    top: auto;
    bottom: -6px;
  }

  .process-steps-list {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 54px;
  }

  .process-step {
    text-align: left;
    position: relative;
  }

  .process-step-node {
    position: absolute;
    left: -54px;
    top: -2px;
    margin: 0;
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .process-step-desc {
    padding: 0;
  }

  /* Gallery Vertical on Mobile */
  .gallery-editorial-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 170px;
    gap: 12px;
  }

  .gallery-item-1, .gallery-item-2, .gallery-item-3,
  .gallery-item-4, .gallery-item-5, .gallery-item-6 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .review-slide {
    flex: 0 0 100%;
    margin-right: 0;
  }

  .offer-card-inner {
    grid-template-columns: 1fr;
    padding: 28px 16px;
    text-align: center;
    gap: 24px;
    border-radius: 18px;
  }

  .offer-title {
    font-size: clamp(20px, 5.5vw, 26px);
    margin-bottom: 16px;
  }

  .offer-perks {
    text-align: left;
    max-width: 360px;
    margin: 0 auto 20px;
    gap: 10px;
  }

  .offer-perk-item {
    font-size: 13.5px;
    line-height: 1.55;
    align-items: flex-start;
    gap: 8px;
  }

  .offer-perk-item svg {
    margin-top: 2px;
  }

  .offer-delivery-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    max-width: 360px;
    margin: 0 auto 20px;
    font-size: 12.5px;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: 12px;
    box-sizing: border-box;
    width: 100%;
  }

  .offer-delivery-note svg {
    margin-top: 2px;
  }

  .offer-delivery-note:last-child {
    margin-bottom: 0;
  }

  .offer-card-inner .btn,
  .offer-btn {
    width: 100% !important;
    max-width: 360px;
    margin: 0 auto;
    min-height: 48px;
    padding: 12px 16px !important;
    font-size: 14.5px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .offer-img {
    max-width: 240px;
    border-radius: 14px;
  }

  .countdown-timer {
    justify-content: center;
    gap: 8px;
  }

  .countdown-box {
    min-width: 50px;
    padding: 6px 8px;
  }

  .countdown-val {
    font-size: 19px;
  }

  .final-cta-btn-group .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .mobile-floating-cta {
    display: block;
  }

  /* Mobile Lantern Density Control (AGENTS.md) */
  .lantern-fly:nth-child(n + 5) {
    display: none;
  }
}

/* Extra Small Mobile (320px - 380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 28px;
  }

  .countdown-box {
    min-width: 44px;
    padding: 5px 6px;
  }

  .countdown-val {
    font-size: 17px;
  }

  .countdown-unit {
    font-size: 8.5px;
  }
}

/* ==============================================================================
   MODAL SCROLL LOCK (Giữ nguyên vị trí trang, không làm nhảy về đầu)
   ============================================================================== */
html.cv-modal-open,
body.cv-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* ==============================================================================
   PREMIUM PRODUCT QUICKVIEW MODAL (0ms Instant Feedback)
   ============================================================================== */
.cv-quickview-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
  .cv-quickview-modal {
    align-items: flex-start;
    padding: 12px 8px 24px;
  }
}

.cv-quickview-modal.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.cv-quickview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 33, 16, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cv-quickview-card {
  position: relative;
  z-index: 2;
  width: min(840px, 94vw);
  background: #FFFDF5;
  border-radius: 24px;
  border: 1px solid rgba(168, 201, 87, 0.45);
  box-shadow: 0 32px 84px rgba(18, 38, 16, 0.32), 0 10px 28px rgba(0, 0, 0, 0.08);
  overflow: visible;
  display: flex;
  flex-direction: column;
  transform: scale(0.92) translateY(18px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overscroll-behavior: contain;
  margin: auto;
}

.cv-quickview-modal.open .cv-quickview-card {
  transform: scale(1) translateY(0);
}

.cv-quickview-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 9999 !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 2px solid #527A32 !important;
  color: #31572C !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  line-height: 1 !important;
  outline: none !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(49, 87, 44, 0.22) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cv-quickview-close svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  stroke: #31572C !important;
  stroke-width: 2.5 !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
  transition: stroke 0.25s ease !important;
}

.cv-quickview-close:hover {
  background: #527A32 !important;
  color: #FFFFFF !important;
  border-color: #527A32 !important;
  transform: rotate(90deg) scale(1.08) !important;
  box-shadow: 0 6px 18px rgba(49, 87, 44, 0.35) !important;
}

.cv-quickview-close:hover svg {
  stroke: #FFFFFF !important;
}

.cv-quickview-close:active {
  transform: rotate(90deg) scale(0.95) !important;
}

.cv-quickview-inner {
  display: grid;
  grid-template-columns: 330px 1fr;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 24px;
  overflow: hidden;
}

/* Mobile: 1 cột, scroll tự nhiên */
@media (max-width: 767px) {
  .cv-quickview-inner {
    grid-template-columns: 1fr;
    overflow-y: visible;
    border-radius: 24px;
  }
}

/* Left Media Column */
.cv-quickview-media {
  background: linear-gradient(160deg, #F8FAF2 0%, #EDF3D6 100%);
  border-right: 1px solid #E5ECD0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 28px;
}

@media (max-width: 767px) {
  .cv-quickview-media {
    border-right: none;
    border-bottom: 1px solid #E5ECD0;
    padding: 24px 20px 20px;
    border-radius: 24px 24px 0 0;
  }
}

.cv-quickview-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(49, 87, 44, 0.12);
  border: 1px solid rgba(168, 201, 87, 0.3);
  background: #FFFFFF;
}

@media (max-width: 767px) {
  .cv-quickview-img-box {
    max-width: 260px;
    margin: 0 auto;
  }
}


.cv-quickview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cv-quickview-img-box:hover .cv-quickview-img {
  transform: scale(1.04);
}

.cv-quickview-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #A8C957 0%, #8FB83F 100%);
  color: #1E3816;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.cv-qv-media-footer {
  margin-top: 18px;
}

.cv-qv-stamp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #527A32;
  font-weight: 600;
  background: rgba(241, 245, 216, 0.85);
  border: 1px solid #DCE5C5;
  padding: 5px 12px;
  border-radius: 999px;
}

/* Right Details Column */
.cv-quickview-details {
  padding: 32px 34px 28px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

@media (max-width: 767px) {
  .cv-quickview-details {
    padding: 20px 16px 28px;
    overflow-y: visible;
  }
}

.cv-qv-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.cv-quickview-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #527A32;
  background: #F1F5D8;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #DCE5C5;
}


.cv-quickview-title {
  font-family: 'Noto Serif', serif;
  font-size: 24px;
  font-weight: 700;
  color: #203C1A;
  line-height: 1.3;
  margin-bottom: 14px;
}

.cv-quickview-price-box {
  background: #F7F9EE;
  border: 1px solid #E2EBC8;
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.cv-qv-price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.cv-qv-price-label {
  font-size: 12px;
  color: #6E7D68;
  font-weight: 600;
}

.cv-quickview-price {
  font-family: 'Noto Serif', serif;
  font-size: 24px;
  font-weight: 700;
  color: #386725;
}

.cv-quickview-regular-price {
  font-size: 14px;
  color: #8F9D87;
  text-decoration: line-through;
}


.cv-qv-desc-wrap {
  background: #FAFBF5;
  border-left: 3.5px solid #A8C957;
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.cv-qv-desc-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7A5C3E;
  margin-bottom: 4px;
}

.cv-quickview-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: #3B5335;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 6px;
}

.cv-quickview-desc::-webkit-scrollbar {
  width: 5px;
}

.cv-quickview-desc::-webkit-scrollbar-track {
  background: rgba(241, 245, 216, 0.5);
  border-radius: 999px;
}

.cv-quickview-desc::-webkit-scrollbar-thumb {
  background: #C8D6AE;
  border-radius: 999px;
}

.cv-quickview-desc,
.cv-quickview-desc * {
  font-family: inherit !important;
  color: #3B5335 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.cv-quickview-desc p {
  margin: 0 0 8px 0;
  line-height: 1.65;
}

.cv-quickview-desc p:last-child {
  margin-bottom: 0;
}

.cv-quickview-desc ul {
  margin: 4px 0 8px 0;
  padding-left: 20px;
  list-style: disc;
}

.cv-quickview-desc ul:last-child {
  margin-bottom: 0;
}

.cv-quickview-desc li {
  margin-bottom: 4px;
  line-height: 1.6;
  color: #3B5335 !important;
}

.cv-quickview-desc strong,
.cv-quickview-desc b {
  font-weight: 700;
  color: #203C1A !important;
}

.cv-quickview-actions {
  margin-top: auto;
  padding-top: 8px;
}

.cv-qv-btn-detail {
  width: 100%;
  min-height: 48px;
  background: linear-gradient(135deg, #A8C957 0%, #8FB83F 100%) !important;
  color: #1E3816 !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(168, 201, 87, 0.45);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cv-qv-btn-detail:hover {
  background: #8FB83F !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(143, 184, 63, 0.5);
}

.cv-qv-btn-arrow {
  transition: transform 0.2s ease;
}

.cv-qv-btn-detail:hover .cv-qv-btn-arrow {
  transform: translateX(4px);
}

.product-badge--featured {
  background: var(--green-dark, #527A32) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(82, 122, 50, 0.35) !important;
}

.product-card--featured {
  border: 2px solid var(--com-green, #A8C957) !important;
  box-shadow: 0 8px 24px rgba(82, 122, 50, 0.12) !important;
}

.product-card--featured:hover {
  box-shadow: 0 14px 32px rgba(82, 122, 50, 0.18) !important;
}

/* Responsive Modal */
@media (max-width: 767px) {
  .cv-quickview-modal {
    padding: 12px;
  }

  .cv-quickview-card {
    max-height: 90vh;
    border-radius: 20px;
  }

  .cv-quickview-close {
    top: 10px !important;
    right: 10px !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
  }

  .cv-quickview-close svg {
    width: 18px !important;
    height: 18px !important;
  }

  .cv-quickview-inner {
    grid-template-columns: 1fr;
  }

  .cv-quickview-media {
    padding: 24px 20px 14px;
    border-right: none;
    border-bottom: 1px solid #E5ECD0;
  }

  .cv-quickview-img-box {
    aspect-ratio: 1 / 1;
    max-height: 280px;
    max-width: 280px;
    margin-inline: auto;
  }

  .cv-qv-media-footer {
    display: none;
  }

  .cv-quickview-details {
    padding: 18px 20px 22px;
  }

  .cv-quickview-title {
    font-size: 19px;
    margin-bottom: 10px;
  }

  .cv-quickview-price {
    font-size: 20px;
  }

  .cv-qv-desc-wrap {
    margin-bottom: 16px;
    padding: 10px 14px;
  }

  .cv-quickview-desc {
    font-size: 12.5px;
    max-height: 180px;
  }

  .cv-qv-btn-detail {
    width: 100%;
    min-height: 44px;
    font-size: 13.5px;
  }
}

/* --- 24. 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;
  }

  .lantern-fly {
    display: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   25. FLATSOME MAGNIFIC POPUP / LIGHTBOX — PRODUCT MODAL DESIGN LANGUAGE
   ========================================================================== */
.mfp-bg {
  z-index: 1000000 !important;
  background: rgba(18, 33, 16, 0.75) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  opacity: 0 !important;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.mfp-bg.mfp-ready {
  opacity: 1 !important;
}

.mfp-wrap {
  z-index: 1000001 !important;
  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  cursor: pointer !important;
}

.mfp-container {
  z-index: 1000002 !important;
  padding: 16px 20px 24px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  cursor: pointer !important;
}

.mfp-content {
  position: relative !important;
  z-index: 1000003 !important;
  text-align: center !important;
  top: -32px !important;
  cursor: default !important;
}

/* KHUNG THẺ POPUP NGHỆ THUẬT (CHUẨN FORM PRODUCT QUICKVIEW) */
.mfp-figure {
  margin: 0 auto !important;
  position: relative !important;
  z-index: 2 !important;
  background: #FFFDF5 !important;
  border-radius: 24px !important;
  border: 1px solid rgba(168, 201, 87, 0.45) !important;
  box-shadow: 0 32px 84px rgba(18, 38, 16, 0.32), 0 10px 28px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden !important;
  line-height: 0 !important;
  display: table !important;
  width: auto !important;
  max-width: min(92vw, 860px) !important;
  max-height: 88vh !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

/* Triệt tiêu khối xám #444 của Magnific Popup */
.mfp-figure:after,
.mfp-figure::after {
  display: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.mfp-figure figure {
  display: table !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.mfp-figure figcaption {
  display: table-caption !important;
  caption-side: bottom !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* KHUNG HÌNH ẢNH */
img.mfp-img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: min(72vh, 540px) !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 24px 24px 0 0 !important;
  box-sizing: border-box !important;
  background: linear-gradient(160deg, #F8FAF2 0%, #EDF3D6 100%) !important;
}

/* THANH THÔNG TIN BÊN DƯỚI (BOTTOM BAR) CHUẨN PRODUCT CARD */
.mfp-bottom-bar {
  position: static !important;
  margin-top: 0 !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 13px 20px !important;
  background: #FFFDF5 !important;
  border-top: 1px solid #E5ECD0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  box-sizing: border-box !important;
}

.mfp-title {
  font-family: 'Noto Serif', serif !important;
  color: #203C1A !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  padding-right: 8px !important;
  text-align: left !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  word-break: break-word !important;
}

/* Ẩn hoàn toàn mfp-counter theo yêu cầu */
.mfp-counter {
  display: none !important;
}

/* Ẩn hoàn toàn eyebrow-leaf và gallery-section-divider */
.eyebrow-leaf,
.gallery-section-divider {
  display: none !important;
}



/* ẨN NÚT CLOSE TRÙNG LẶP TRÊN WRAPPER — CHỈ GIỮ 1 NÚT DUY NHẤT TRÊN GÓC THẺ ẢNH */
.mfp-wrap > .mfp-close,
.mfp-wrap > button.mfp-close,
.mfp-container > .mfp-close,
.mfp-container > button.mfp-close {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* NÚT ĐÓNG (CLOSE BUTTON) TRÊN GÓC THẺ ẢNH (CHUẨN PRODUCT QUICKVIEW) */
.mfp-figure .mfp-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 9999 !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 2px solid #527A32 !important;
  color: #31572C !important;
  font-size: 24px !important;
  font-weight: 300 !important;
  font-family: Arial, sans-serif !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  line-height: 1 !important;
  outline: none !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(49, 87, 44, 0.22) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  mix-blend-mode: normal !important;
}

.mfp-figure .mfp-close:empty::before {
  content: '×';
  display: block;
  line-height: 1;
}

.mfp-figure .mfp-close:hover {
  background: #527A32 !important;
  color: #FFFFFF !important;
  border-color: #527A32 !important;
  transform: rotate(90deg) scale(1.08) !important;
  box-shadow: 0 6px 18px rgba(49, 87, 44, 0.35) !important;
}

/* ========================================================================== */
/* ẨN HOÀN TOÀN MŨI TÊN CHUYỂN ẢNH — CHUYỂN SANG CƠ CHẾ CẦM THẺ TRƯỢT        */
/* ========================================================================== */
.mfp-arrow,
.mfp-arrow-left,
.mfp-arrow-right {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* 8.1. HỆ THỐNG HIỆU ỨNG XÒE BÀI (CARD FAN DECK) & TRƯỢT RA MẤT DẦN DẦN */

/* Khung chứa các lớp ảnh xếp chồng phía sau (Fan Deck Container) */
.mfp-content {
  position: relative !important;
  overflow: visible !important;
}

.cv-fan-deck,
.mfp-stack-deck {
  position: absolute !important;
  pointer-events: none !important;
  z-index: 1 !important;
  transform-style: preserve-3d !important;
}

/* Từng lá bài xòe quạt phía sau (Card Fan Layer) */
.cv-fan-card,
.mfp-stack-layer {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 24px !important;
  background: #FFFDF5 !important;
  border: 1.5px solid rgba(168, 201, 87, 0.45) !important;
  box-shadow: 0 16px 40px rgba(18, 38, 16, 0.24), 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transform-origin: 50% 120% !important; /* Điểm tựa cổ tay cầm cỗ bài xòe quạt */
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease !important;
  will-change: transform, opacity;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

.cv-fan-card-inner {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 24px !important;
  overflow: hidden !important;
}

.cv-fan-card-thumb,
.mfp-stack-layer .mfp-stack-inner {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 24px !important;
}

.cv-fan-card-footer {
  display: none !important;
}

/* Ẩn hoàn toàn cv-fan-card-badge-pill theo yêu cầu người dùng */
.cv-fan-card-badge-pill {
  display: none !important;
}

/* Lớp phủ tráng gương nhẹ trên lá bài (Card Gloss Sheen) */
.cv-fan-card-gloss {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(0, 0, 0, 0.08) 100%) !important;
  pointer-events: none !important;
  border-radius: 24px !important;
}

/* ========================================================================== */
/* CÁC GÓC XÒE BÀI NGHỆ THUẬT (AUTHENTIC PLAYING CARDS FAN SPREAD)             */
/* ========================================================================== */

/* Lá bài bên phải kế bên (Next +1): Nghiêng 7.5 độ sang phải */
.cv-fan-card-next-1,
.mfp-stack-layer-2 {
  z-index: 4 !important;
  transform: rotate(7.5deg) translate3d(36px, 2px, 0) scale(0.96) !important;
  opacity: 0.94 !important;
}

/* Lá bài bên phải ngoài cùng (Next +2): Nghiêng 15 độ sang phải */
.cv-fan-card-next-2 {
  z-index: 2 !important;
  transform: rotate(15deg) translate3d(72px, 6px, 0) scale(0.92) !important;
  opacity: 0.82 !important;
}

/* Lá bài bên trái kế bên (Prev -1): Nghiêng -7.5 độ sang trái */
.cv-fan-card-prev-1,
.mfp-stack-layer-3 {
  z-index: 4 !important;
  transform: rotate(-7.5deg) translate3d(-36px, 2px, 0) scale(0.96) !important;
  opacity: 0.94 !important;
}

/* Lá bài bên trái ngoài cùng (Prev -2): Nghiêng -15 độ sang trái */
.cv-fan-card-prev-2 {
  z-index: 2 !important;
  transform: rotate(-15deg) translate3d(-72px, 6px, 0) scale(0.92) !important;
  opacity: 0.82 !important;
}

/* Tự động nâng tầng z-index theo hướng kéo để ảnh chuẩn bị lên không bị ảnh đối diện đè */
.cv-dragging-right .cv-fan-card-prev-1,
.mfp-wrap.cv-dragging-right .cv-fan-card-prev-1 {
  z-index: 7 !important;
}
.cv-dragging-right .cv-fan-card-next-1,
.mfp-wrap.cv-dragging-right .cv-fan-card-next-1 {
  z-index: 3 !important;
}
.cv-dragging-left .cv-fan-card-next-1,
.mfp-wrap.cv-dragging-left .cv-fan-card-next-1 {
  z-index: 7 !important;
}
.cv-dragging-left .cv-fan-card-prev-1,
.mfp-wrap.cv-dragging-left .cv-fan-card-prev-1 {
  z-index: 3 !important;
}

/* HIỆU ỨNG RÊ CHUỘT LÊN LÁ BÀI XÒE QUẠT (HOVER INTERACTION) */
.cv-fan-card-next-1:hover {
  transform: rotate(9deg) translate3d(42px, -12px, 0) scale(0.99) !important;
  border-color: #A8C957 !important;
  box-shadow: 0 24px 55px rgba(18, 38, 16, 0.35), 0 0 22px rgba(168, 201, 87, 0.45) !important;
  opacity: 1 !important;
  z-index: 6 !important;
}

.cv-fan-card-next-2:hover {
  transform: rotate(17deg) translate3d(80px, -10px, 0) scale(0.95) !important;
  border-color: #A8C957 !important;
  box-shadow: 0 24px 55px rgba(18, 38, 16, 0.35), 0 0 22px rgba(168, 201, 87, 0.45) !important;
  opacity: 1 !important;
  z-index: 3 !important; /* Luôn giữ ở dưới ảnh 2 (next-1 có z-index: 4) để không đè lên ảnh 2 */
}

.cv-fan-card-prev-1:hover {
  transform: rotate(-9deg) translate3d(-42px, -12px, 0) scale(0.99) !important;
  border-color: #A8C957 !important;
  box-shadow: 0 24px 55px rgba(18, 38, 16, 0.35), 0 0 22px rgba(168, 201, 87, 0.45) !important;
  opacity: 1 !important;
  z-index: 6 !important;
}

.cv-fan-card-prev-2:hover {
  transform: rotate(-17deg) translate3d(-80px, -10px, 0) scale(0.95) !important;
  border-color: #A8C957 !important;
  box-shadow: 0 24px 55px rgba(18, 38, 16, 0.35), 0 0 22px rgba(168, 201, 87, 0.45) !important;
  opacity: 1 !important;
  z-index: 3 !important; /* Luôn giữ ở dưới ảnh 1 (prev-1 có z-index: 4) để không đè lên ảnh 1 */
}

/* Card chính hiển thị ở trên cùng — HỖ TRỢ CẦM THẺ TRƯỢT (DRAGGABLE CARD) */
.mfp-figure {
  position: relative !important;
  z-index: 10 !important;
  cursor: grab !important;
  cursor: -webkit-grab !important;
  touch-action: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
}

.mfp-figure.is-dragging {
  cursor: grabbing !important;
  cursor: -webkit-grabbing !important;
  transition: none !important;
  will-change: transform, opacity;
}

/* Đảm bảo ảnh bên trong không bị trình duyệt kích hoạt ghost drag mặc định */
.mfp-figure img.mfp-img {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
}

/* Nút X và các thành phần bấm được bên trong card vẫn nhận tương tác tốt */
.mfp-figure .mfp-close {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 30 !important;
}

/* ========================================================================== */
/* ANIMATION: CARD TRÊN CÙNG TRƯỢT RA XONG MẤT DẦN DẦN                       */
/* ========================================================================== */
.cv-card-sliding-out-next,
.mfp-card-sliding-out-next {
  position: fixed !important;
  pointer-events: none !important;
  z-index: 1000005 !important;
  animation: cvDealOutNext 0.42s cubic-bezier(0.2, 0.9, 0.3, 1) forwards !important;
  will-change: transform, opacity;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

.cv-card-sliding-out-prev,
.mfp-card-sliding-out-prev {
  position: fixed !important;
  pointer-events: none !important;
  z-index: 1000005 !important;
  animation: cvDealOutPrev 0.42s cubic-bezier(0.2, 0.9, 0.3, 1) forwards !important;
  will-change: transform, opacity;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

/* Keyframes: Card trên cùng trượt vút sang trái như chia bài & mờ dần */
@keyframes cvDealOutNext {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    opacity: 1;
    box-shadow: 0 32px 84px rgba(18, 38, 16, 0.32);
  }
  30% {
    transform: translate3d(-35%, -8px, 0) rotate(-6deg) scale(0.98);
    opacity: 0.92;
  }
  100% {
    transform: translate3d(-138%, -24px, 0) rotate(-24deg) scale(0.86);
    opacity: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0);
  }
}

/* Keyframes: Card trên cùng trượt vút sang phải như chia bài & mờ dần */
@keyframes cvDealOutPrev {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    opacity: 1;
    box-shadow: 0 32px 84px rgba(18, 38, 16, 0.32);
  }
  30% {
    transform: translate3d(35%, -8px, 0) rotate(6deg) scale(0.98);
    opacity: 0.92;
  }
  100% {
    transform: translate3d(138%, -24px, 0) rotate(24deg) scale(0.86);
    opacity: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0);
  }
}

/* Card mới bên dưới trồi lên & thẳng hàng về vị trí trung tâm */
.mfp-figure.cv-card-step-up-next,
.mfp-figure.mfp-card-step-up {
  animation: cvStepUpNext 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.mfp-figure.cv-card-step-up-prev {
  animation: cvStepUpPrev 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cvStepUpNext {
  0% {
    transform: rotate(7.5deg) translate3d(36px, 2px, 0) scale(0.96);
    opacity: 0.94;
  }
  100% {
    transform: rotate(0deg) translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
}

@keyframes cvStepUpPrev {
  0% {
    transform: rotate(-7.5deg) translate3d(-36px, 2px, 0) scale(0.96);
    opacity: 0.94;
  }
  100% {
    transform: rotate(0deg) translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cv-fan-card,
  .mfp-stack-layer,
  .cv-card-sliding-out-next,
  .cv-card-sliding-out-prev,
  .mfp-card-sliding-out-next,
  .mfp-card-sliding-out-prev,
  .mfp-figure.cv-card-step-up-next,
  .mfp-figure.cv-card-step-up-prev,
  .mfp-figure.mfp-card-step-up {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 767px) {
  .mfp-wrap {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
  }

  .mfp-container {
    padding: 10px 10px 20px !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
  }

  .mfp-content {
    top: -16px !important;
  }

  .mfp-figure {
    border-radius: 20px !important;
    max-width: 88vw !important; /* Dành khoảng trống 2 bên cho bài xòe ra */
    max-height: 88vh !important;
  }

  .cv-fan-card {
    border-radius: 20px !important;
  }

  /* Trên Mobile: Giữ xòe 3 lá bài (Trái 1, Giữa, Phải 1), ẩn 2 lá ngoài cùng để tránh tràn viền */
  .cv-fan-card-prev-2,
  .cv-fan-card-next-2 {
    display: none !important;
  }

  .cv-fan-card-next-1 {
    transform: rotate(5.5deg) translate3d(20px, 2px, 0) scale(0.96) !important;
  }

  .cv-fan-card-prev-1 {
    transform: rotate(-5.5deg) translate3d(-20px, 2px, 0) scale(0.96) !important;
  }

  img.mfp-img {
    border-radius: 20px 20px 0 0 !important;
    max-height: min(65vh, 460px) !important;
  }

  .mfp-figure .mfp-close {
    top: 10px !important;
    right: 10px !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    font-size: 20px !important;
    line-height: 32px !important;
  }

  .mfp-arrow,
  .mfp-arrow-left,
  .mfp-arrow-right {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .mfp-bottom-bar {
    padding: 10px 14px !important;
    min-height: 46px !important;
  }

  .mfp-title {
    font-size: 13.5px !important;
  }

  .mfp-counter {
    display: none !important;
  }
}

/* 4. NOTE: NHẬN MIX HỘP QUÀ THEO YÊU CẦU (.note capsule) */
.gift-sets-section .note,
.gift-sets-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 92%;
  margin: 16px auto 0;
  padding: 6px 18px 6px 8px;
  background: #FFFFFF;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAFBF5 100%);
  border: 1.5px solid rgba(168, 201, 87, 0.55);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(49, 87, 44, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.gift-sets-section .note:hover,
.gift-sets-note:hover {
  border-color: var(--com-green, #A8C957);
  box-shadow: 0 6px 20px rgba(49, 87, 44, 0.1);
  transform: translateY(-2px);
}

.gift-sets-section .note .note-icon,
.gift-sets-note .note-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-soft-lime, #F1F5D8);
  color: var(--green-dark, #527A32);
  border: 1px solid rgba(168, 201, 87, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.gift-sets-section .note:hover .note-icon,
.gift-sets-note .note-icon {
  background: var(--com-green, #A8C957);
  color: var(--deep-green, #31572C);
  border-color: var(--com-green, #A8C957);
  transform: rotate(-8deg) scale(1.08);
}

.gift-sets-section .note .note-text,
.gift-sets-note .note-text {
  font-family: var(--font-body, "Be Vietnam Pro", sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--deep-green, #31572C);
  letter-spacing: 0.15px;
  line-height: 1.4;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .gift-sets-section .note,
  .gift-sets-note {
    margin-top: 14px;
    padding: 5px 14px 5px 6px;
    max-width: calc(100% - 24px);
  }

  .gift-sets-section .note .note-icon,
  .gift-sets-note .note-icon {
    width: 24px;
    height: 24px;
  }

  .gift-sets-section .note .note-text,
  .gift-sets-note .note-text {
    font-size: 13px;
  }
}
