/* ==========================================================================
   VUA TỎI — ĐẶC SẢN LÝ SƠN
   Style Architecture: Bright Ocean Blue + Bright Herbal Green + Crisp White
   Clean, Fresh, Modern Agricultural & Coastal Heritage Brand Identity
   ========================================================================== */

:root {
  /* Brand Primary Colors */
  --c-green: #15803d;        /* Bright Herbal Green */
  --c-green-light: #22c55e;  /* Fresh Leaf Green */
  --c-green-subtle: #f0fdf4; /* Light Green Background */
  --c-green-border: #bbf7d0; /* Soft Green Border */
  
  --c-blue: #0284c7;         /* Ocean Coastal Blue */
  --c-blue-dark: #0369a1;    /* Deep Ocean Blue */
  --c-blue-light: #38bdf8;   /* Sky Bright Blue */
  --c-blue-subtle: #f0f9ff;  /* Light Sky Background */
  --c-blue-border: #bae6fd;  /* Soft Blue Border */

  /* Neutral & Base Palette */
  --c-white: #ffffff;
  --c-surface: #ffffff;
  --c-bg-light: #f8fafc;
  --c-bg-alt: #f1f5f9;
  --c-border: #e2e8f0;
  --c-border-strong: #cbd5e1;
  
  --c-text-main: #0f172a;    /* Deep Slate (Clear & Sharp) */
  --c-text-muted: #475569;   /* Slate Muted */
  --c-text-subtle: #64748b;  /* Slate Subtle */
  --c-gold: #f59e0b;         /* Star / Badge Gold */
  --c-red: #dc2626;          /* Sale / Urgent Red */

  /* Typography: Be Vietnam Pro for clean, modern, easily readable Vietnamese diacritics */
  --font-display: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Elevations */
  --container-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-3xl: 36px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 25px -5px rgba(2, 132, 199, 0.12), 0 8px 10px -6px rgba(21, 128, 61, 0.08);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  overflow-x: hidden;
  width: 100%;
}

html, body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, .font-display, .font-sans {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body {
  font-family: var(--font-body);
  background-color: var(--c-white);
  color: var(--c-text-main);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Typography Presets */
.font-display {
  font-family: var(--font-display);
}

.font-mono {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-text-main);
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

p {
  color: var(--c-text-muted);
}

.text-gradient {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-blue {
  color: var(--c-blue);
}

.text-green {
  color: var(--c-green);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 2;
}

.section {
  padding: 5rem 0;
  position: relative;
  scroll-margin-top: 85px;
}

section[id], div[id], .trust-strip {
  scroll-margin-top: 85px;
}

.section-bg-light {
  background-color: var(--c-bg-light);
}

.section-bg-blue {
  background: linear-gradient(180deg, var(--c-blue-subtle) 0%, #ffffff 100%);
}

.section-bg-green {
  background: linear-gradient(180deg, var(--c-green-subtle) 0%, #ffffff 100%);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-green);
  background-color: var(--c-green-subtle);
  border: 1px solid var(--c-green-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-subtitle.blue {
  color: var(--c-blue-dark);
  background-color: var(--c-blue-subtle);
  border-color: var(--c-blue-border);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--c-text-muted);
  margin-top: 1rem;
  line-height: 1.7;
}

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #0369a1 0%, #15803d 100%);
  color: #ffffff;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  font-weight: 500;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.95);
}

.top-bar-contact a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.top-bar-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .top-bar-contact {
    display: none;
  }
  .top-bar {
    font-size: 0.72rem;
    padding: 0.35rem 0;
  }
  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }
  .top-bar-inner > div {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

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

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-green);
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--c-blue);
  letter-spacing: 0.05em;
  margin-top: 3px;
  font-weight: 700;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-text-main);
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--c-green);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--c-green);
  border-radius: 2px;
}

/* Nav Item Dropdown */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-item-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.14), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--c-text-main);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: var(--c-bg-light);
  color: var(--c-green);
  padding-left: 1.5rem;
}

/* Nav Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-hotline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--c-blue-subtle);
  color: var(--c-blue-dark);
  border: 1px solid var(--c-blue-border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body), sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
  transition: var(--transition);
}

.btn-hotline:hover {
  background-color: var(--c-blue);
  color: #ffffff;
  border-color: var(--c-blue);
}

.cart-toggle-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--c-green-subtle);
  border: 1px solid var(--c-green-border);
  color: var(--c-green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-toggle-btn:hover {
  background-color: var(--c-green);
  color: #ffffff;
  border-color: var(--c-green);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--c-red);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--c-bg-light);
  border: 1px solid var(--c-border);
  color: var(--c-text-main);
  align-items: center;
  justify-content: center;
}

#mobile-menu-nav-drawer.invisible {
  display: none !important;
}

#mobile-menu-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
}

body.menu-open .site-header,
body.menu-open .top-bar {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-100%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--c-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.35);
}

.btn-primary:hover {
  background-color: #166534;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.45);
}

.btn-blue {
  background-color: var(--c-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-blue:hover {
  background-color: var(--c-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--c-text-main);
  border: 1px solid var(--c-border-strong);
}

.btn-outline:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
  background-color: var(--c-blue-subtle);
}

.btn-outline-green {
  background-color: #ffffff;
  color: var(--c-green);
  border: 1px solid var(--c-green);
}

.btn-outline-green:hover {
  background-color: var(--c-green);
  color: #ffffff;
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 0.45rem 1rem;
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 0.95rem 2.25rem;
}

/* Feature Badges & Chips */
.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.badge-green {
  background-color: var(--c-green-subtle);
  color: var(--c-green);
  border: 1px solid var(--c-green-border);
}

.badge-blue {
  background-color: var(--c-blue-subtle);
  color: var(--c-blue-dark);
  border: 1px solid var(--c-blue-border);
}

.badge-gold {
  background-color: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* 4 Trust Commitments Bar */
.trust-strip {
  background-color: #ffffff;
  border-bottom: 1px solid var(--c-border);
  padding: 1.75rem 0;
  box-shadow: var(--shadow-sm);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
}

.trust-num {
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-green);
  line-height: 1;
  min-width: 42px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--c-green-border);
}

.trust-num.blue {
  color: var(--c-blue);
  border-bottom-color: var(--c-blue-border);
}

.trust-content h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-text-main);
  margin-bottom: 0.2rem;
}

.trust-content p {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Hero Section */
/* ==================== 1. FULL-WIDTH CINEMATIC LARGE IMAGE HERO SLIDER ==================== */
.hero-cinematic-section {
  position: relative;
  width: 100%;
  background-color: #0284c7;
  overflow: hidden;
  user-select: none;
}

.hero-cinematic-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 2880 / 1070;
  height: calc(100vw * 1070 / 2880);
  min-height: 0 !important;
  max-height: 720px;
  overflow: hidden;
  background-color: #0b4f8a;
}

@media (min-width: 1024px) {
  .hero-cinematic-viewport {
    aspect-ratio: 2880 / 1070;
    height: calc(100vw * 1070 / 2880);
    min-height: 0 !important;
    max-height: 720px;
  }
}


/* Individual Full-Width Slide */
.hero-cinematic-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-cinematic-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-clean-banner-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

/* Big Background Image with Cinematic Pan/Zoom Effect */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transform: scale(1.04);
  transition: transform 7s ease-out;
}

.hero-cinematic-slide.active .hero-slide-bg {
  transform: scale(1);
}

/* Slide 1: Banner chính đã tích hợp vector typography từ file thiết kế gốc, tắt transform GPU để giữ chữ sắc nét 100% không vỡ */
.hero-cinematic-slide[data-index="0"] .hero-slide-bg {
  transform: none !important;
  transition: none !important;
  background-size: 100% 100% !important;
  background-position: center center !important;
}

/* Fresh Gradient Overlay: Transparent on desktop because banner images have baked-in 1:1 fresh gradients */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}


/* Slide Content Container: Generous responsive padding so text never touches screen edges or arrows */
.hero-slide-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem clamp(2.75rem, 5.5vw, 5.5rem);
}

.hero-slide-caption {
  max-width: min(600px, 48%);
  color: #ffffff;
  padding: 1.5rem 0;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(21, 128, 61, 0.25);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #86efac;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
  max-width: 100%;
  white-space: normal;
  flex-wrap: wrap;
}

.hero-badge-pill.blue {
  background: rgba(2, 132, 199, 0.25);
  border-color: rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
}

.hero-badge-pill.gold {
  background: rgba(217, 119, 6, 0.25);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fde68a;
}

.hero-cinematic-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.8vw, 2.65rem);
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-cinematic-title span.accent-green {
  color: #4ade80;
}

.hero-cinematic-title span.accent-blue {
  color: #38bdf8;
}

.hero-cinematic-title span.accent-gold {
  color: #fcd34d;
}

.hero-cinematic-desc {
  font-size: clamp(0.925rem, 1.05vw, 1.075rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  max-width: 520px;
}

.hero-cinematic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-cinematic-actions .btn-white {
  background-color: #ffffff;
  color: #0f172a;
  border: 1px solid #ffffff;
}

.hero-cinematic-actions .btn-white:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
}

.hero-cinematic-actions .btn-glass {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.hero-cinematic-actions .btn-glass:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
}

/* Prev / Next Arrows on Screen Edges */
.hero-cinematic-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.25s ease, transform 0.25s ease;
}

.hero-cinematic-section:hover .hero-cinematic-arrow {
  opacity: 1;
}

.hero-cinematic-arrow:hover {
  background: rgba(21, 128, 61, 0.85);
  border-color: #4ade80;
  transform: translateY(-50%) scale(1.08);
}

.hero-cinematic-arrow.prev {
  left: 1.5rem;
}

.hero-cinematic-arrow.next {
  right: 1.5rem;
}

/* Bottom Pagination Bars / Indicator Pills */
.hero-cinematic-indicators {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
}

.hero-indicator-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hero-indicator-bar {
  width: 48px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  transition: width 0.3s ease;
}

.hero-indicator-btn.active .hero-indicator-bar {
  width: 80px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-indicator-progress {
  height: 100%;
  width: 0%;
  background: #4ade80;
  transition: width 0.1s linear;
}


/* ==================== HERO CINEMATIC RESPONSIVE TABLET STYLES (769px - 1024px) ==================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-slide-inner {
    padding: 0 1.5rem;
  }
  .hero-slide-caption {
    max-width: 43%;
  }
  .hero-badge-pill {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.4rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
    gap: 0.3rem;
  }
  .hero-cinematic-title {
    font-size: clamp(1.05rem, 1.85vw, 1.35rem);
    line-height: 1.22;
    margin-bottom: 0.4rem;
  }
  .hero-cinematic-title br {
    display: block;
  }
  .hero-cinematic-desc {
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
  }
  .hero-cinematic-actions {
    gap: 0.5rem;
  }
  .hero-cinematic-actions .btn {
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    min-height: 32px;
  }
  .hero-cinematic-arrow {
    width: 36px;
    height: 36px;
  }
  .hero-cinematic-arrow.prev { left: 0.5rem; }
  .hero-cinematic-arrow.next { right: 0.5rem; }
  .hero-cinematic-indicators {
    bottom: 0.5rem;
  }
}

/* ==================== HERO CINEMATIC RESPONSIVE MOBILE STYLES (<= 768px) ==================== */
@media (max-width: 768px) {
  .hero-cinematic-section {
    background-color: #0d5c3a;
    position: relative;
    padding-bottom: 12px;
  }

  .hero-cinematic-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 2880 / 1070;
    height: calc(100vw * 1070 / 2880) !important;
    min-height: 0 !important;
    max-height: calc(100vw * 1070 / 2880) !important;
    background-color: #0b4f8a;
    overflow: hidden;
  }

  @supports not (aspect-ratio: 2880 / 1070) {
    .hero-cinematic-viewport {
      height: calc(100vw * 1070 / 2880) !important;
    }
  }

  /* Slide Background: Full width & height matching natural banner ratio */
  .hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    transform: none !important;
    transition: none !important;
    z-index: 1;
  }

  .hero-cinematic-slide[data-index="0"] .hero-slide-bg {
    background-size: 100% 100% !important;
    background-position: center center !important;
  }

  /* Slide 1 is a complete brand graphic banner: Clickable, no duplicate text */
  .hero-clean-banner-link {
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 6;
  }

  /* Overlay: Soft transparent, let banner photography shine */
  .hero-slide-overlay {
    display: none !important;
  }

  /* Slides 2-5 Content: Compact overlay strictly on the smooth left background */
  .hero-slide-inner {
    position: absolute;
    inset: 0;
    padding: 0 0.85rem;
    z-index: 5;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    pointer-events: none;
  }

  /* Slide 1 has baked-in design typography, hide HTML text overlay */
  .hero-cinematic-slide[data-index="0"] .hero-slide-inner,
  .hero-slide-inner-mobile-only,
  .mobile-only-overlay {
    display: none !important;
  }

  .hero-slide-caption {
    width: auto;
    max-width: 43%; /* Strictly within left 43% space to avoid overlapping subjects */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    text-align: left;
    pointer-events: auto;
  }

  /* Badge Pill: 1 clean compact line on mobile */
  .hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: clamp(0.48rem, 1.6vw, 0.58rem);
    padding: 0.12rem 0.38rem;
    margin-bottom: 0.2rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.25;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
  }

  /* On small mobile, show only the primary key phrase in pill */
  .hero-badge-pill span:nth-child(n+2) {
    display: none;
  }

  .hero-badge-pill.blue {
    background: rgba(2, 132, 199, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.5);
    color: #bae6fd;
  }

  .hero-badge-pill.gold {
    background: rgba(217, 119, 6, 0.4);
    border: 1px solid rgba(251, 191, 36, 0.5);
    color: #fef08a;
  }

  .hero-badge-pill.green,
  .hero-badge-pill:not(.blue):not(.gold) {
    background: rgba(21, 128, 61, 0.4);
    border: 1px solid rgba(74, 222, 128, 0.5);
    color: #bbf7d0;
  }

  /* Title */
  .hero-cinematic-title {
    font-family: var(--font-display);
    font-size: clamp(0.68rem, 2.3vw, 0.88rem);
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
    word-break: break-word;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  }

  .hero-cinematic-title br {
    display: block;
  }

  .hero-cinematic-title span.accent-green { color: #4ade80; }
  .hero-cinematic-title span.accent-blue { color: #38bdf8; }
  .hero-cinematic-title span.accent-gold { color: #fcd34d; }

  /* Hide long paragraph description on mobile banner slider */
  .hero-cinematic-desc {
    display: none !important;
  }

  /* Actions: Single compact primary button */
  .hero-cinematic-actions {
    display: flex;
    gap: 0.3rem;
    width: auto;
  }

  .hero-cinematic-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.18rem 0.55rem;
    font-size: clamp(0.58rem, 1.8vw, 0.68rem);
    font-weight: 700;
    line-height: 1.2;
    min-height: 22px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    flex: none;
    width: auto;
  }

  .hero-cinematic-actions .btn:nth-child(2) {
    display: none !important;
  }

  /* Arrows: Hidden on touch devices */
  .hero-cinematic-arrow {
    display: none !important;
  }

  /* Indicators: Positioned in the bottom padding bar so they never cover banner content */
  .hero-cinematic-indicators {
    bottom: 2px !important;
    gap: 0.35rem;
    padding: 0 0.5rem;
    z-index: 10;
  }

  .hero-indicator-btn {
    padding: 0.25rem 0.15rem;
  }

  .hero-indicator-bar {
    width: 16px;
    height: 3px;
    border-radius: 1.5px;
    background: rgba(255, 255, 255, 0.4);
    transition: width 0.3s ease;
  }

  .hero-indicator-btn.active .hero-indicator-bar {
    width: 28px;
    background: #4ade80;
  }
}

/* Desktop styles: Hide mobile-only overlay and caption on Slide 1 */
@media (min-width: 769px) {
  .hero-slide-inner-mobile-only,
  .mobile-only-overlay {
    display: none !important;
  }
}


/* Category Filter Tabs */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.category-tab {
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-full);
  background-color: var(--c-bg-light);
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
  transition: var(--transition);
}

.category-tab:hover {
  background-color: #ffffff;
  color: var(--c-blue);
  border-color: var(--c-blue-border);
}

.category-tab.active {
  background-color: var(--c-green);
  color: #ffffff;
  border-color: var(--c-green);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  border-color: var(--c-blue-border);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-badge-flag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background-color: var(--c-green);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.product-badge-flag.hot {
  background-color: var(--c-red);
}

.product-badge-flag.blue {
  background-color: var(--c-blue);
}

.product-badge-flag.freeship {
  background-color: #059669;
}

/* Shopping Ad / Promotional Poster Card in Catalog */
.catalog-promo-card {
  background: #f0f9ff;
  border: 2px solid #bae6fd;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.1);
}

.catalog-promo-card:hover {
  transform: translateY(-4px);
  border-color: #0284c7;
  box-shadow: 0 16px 30px -6px rgba(2, 132, 199, 0.25);
}

.catalog-promo-img-wrap {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-promo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.catalog-promo-card:hover .catalog-promo-img-wrap img {
  transform: scale(1.025);
}

.product-thumb {
  position: relative;
  background-color: #ffffff;
  padding: 0.5rem;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--c-border);
}

.product-thumb img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.04));
}

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

.product-body {
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-text-main);
  margin-bottom: 0.45rem;
  line-height: 1.35;
  height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-title a:hover {
  color: var(--c-blue);
}

.product-pricing-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.product-price-group {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.product-price {
  font-size: 1.1875rem;
  font-weight: 800;
  color: #0f172a;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
}

.product-old-price {
  font-size: 0.8125rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-family: var(--font-body);
  font-weight: 500;
}

.product-perks-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.ecom-tag-promo {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.product-timer-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.32rem 0.55rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}

.timer-caption {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  letter-spacing: -0.01em;
}

.timer-digits-box {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f172a;
}

.timer-box-unit {
  background: #0f172a;
  color: #ffffff;
  padding: 0.12rem 0.3rem;
  border-radius: 4px;
  min-width: 20px;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-quick-view {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  transition: var(--transition);
}

.btn-quick-view:hover {
  color: var(--c-blue);
  border-color: var(--c-blue);
  background-color: var(--c-blue-subtle);
}

.btn-add-cart {
  background-color: var(--c-blue);
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background-color: var(--c-blue-dark);
}

/* ==================== 2. MAJOR E-COMMERCE PLATFORM STYLES ==================== */

/* Visual Category Navigation Hub */
.ecom-cat-hub {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.ecom-cat-item {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.ecom-cat-item:hover, .ecom-cat-item.active {
  border-color: var(--c-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -4px rgba(21, 128, 61, 0.15);
}

.ecom-cat-item.active {
  background: #f0fdf4;
}

.ecom-cat-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: transform 0.25s ease;
}

.ecom-cat-item:hover .ecom-cat-icon-wrapper {
  transform: scale(1.08);
}

.ecom-cat-icon-wrapper img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.ecom-cat-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-text-main);
  line-height: 1.25;
}

.ecom-cat-count {
  font-size: 0.75rem;
  color: var(--c-text-subtle);
  font-family: var(--font-body);
  font-weight: 500;
}

/* FLASH SALE SECTION */
.ecom-flash-sale {
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 35%, #ffffff 100%);
  border: 2px solid #fdba74;
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem 2.5rem;
  margin-top: 1.5rem;
  margin-bottom: 4.5rem;
  box-shadow: 0 16px 40px -12px rgba(234, 88, 12, 0.18), 0 4px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

/* Subtle glowing accent on top of flash sale container */
.ecom-flash-sale::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ea580c, #f59e0b, #dc2626);
}

.ecom-flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1.5px dashed #fed7aa;
  margin-bottom: 2.25rem;
}

.flash-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

@keyframes flash-bolt-shake {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  15% {
    transform: rotate(-18deg) scale(1.28);
  }
  30% {
    transform: rotate(16deg) scale(1.28);
  }
  45% {
    transform: rotate(-12deg) scale(1.18);
  }
  60% {
    transform: rotate(10deg) scale(1.14);
  }
  75% {
    transform: rotate(-4deg) scale(1.06);
  }
  85% {
    transform: rotate(2deg) scale(1.02);
  }
}

@keyframes flash-badge-shake {
  0%, 76%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.38);
  }
  78% {
    transform: translate3d(-2px, 0, 0) rotate(-1.5deg) scale(1.03);
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.52), 0 0 10px rgba(253, 224, 71, 0.4);
  }
  81% {
    transform: translate3d(2.5px, 0, 0) rotate(1.5deg) scale(1.03);
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.52), 0 0 12px rgba(253, 224, 71, 0.45);
  }
  84% {
    transform: translate3d(-2px, 0, 0) rotate(-1deg) scale(1.02);
  }
  87% {
    transform: translate3d(1.5px, 0, 0) rotate(1deg) scale(1.02);
  }
  90% {
    transform: translate3d(-1px, 0, 0) rotate(-0.5deg) scale(1.01);
  }
  93% {
    transform: translate3d(0.5px, 0, 0) rotate(0deg) scale(1);
  }
}

.flash-flame-badge {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.38);
  letter-spacing: 0.05em;
  animation: flash-badge-shake 2.8s ease-in-out infinite;
  transform-origin: center;
}

.flash-flame-badge span {
  font-weight: 900;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.flash-bolt-icon {
  width: 1.15rem;
  height: 1.15rem;
  color: #fef08a;
  filter: drop-shadow(0 0 5px rgba(254, 240, 138, 0.95));
  display: inline-block;
  animation: flash-bolt-shake 1.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
  transform-origin: center;
  flex-shrink: 0;
}

.flash-heading {
  font-size: 1.4rem;
  font-weight: 900;
  color: #9a3412;
  margin: 0;
}

.flash-timer-box {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.875rem;
  color: #9a3412;
}

.timer-digit {
  background: #0284c7;
  color: #ffffff;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  min-width: 32px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

.flash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.flash-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #fed7aa;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.flash-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(234, 88, 12, 0.2);
  border-color: #ea580c;
}

.flash-discount-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #dc2626;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

.flash-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
}

.flash-thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.flash-card:hover .flash-thumb img {
  transform: scale(1.08);
}

.flash-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.flash-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-text-main);
  line-height: 1.35;
  height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 0.5rem;
}

.flash-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.flash-current-price {
  font-size: 1.1875rem;
  font-weight: 800;
  color: #dc2626;
}

.flash-old-price {
  font-size: 0.75rem;
  color: var(--c-text-subtle);
  text-decoration: line-through;
}

.flash-sold-track {
  background: #ffedd5;
  border-radius: 999px;
  height: 18px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flash-sold-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #f97316 0%, #ef4444 100%);
  border-radius: 999px;
}

.flash-sold-text {
  position: relative;
  z-index: 1;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.flash-buy-btn {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.5rem;
  font-weight: 700;
  font-size: 0.8125rem;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: all 0.2s ease;
}

.flash-buy-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

/* Modern E-Commerce Upgrades on Standard Product Cards */
.ecom-card-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
}

.ecom-stars {
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: 700;
}

.ecom-sold-count {
  color: var(--c-text-subtle);
  font-size: 0.75rem;
}

.ecom-badges-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.ecom-tag-fast {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.ecom-tag-freeship {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #86efac;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.ecom-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: auto;
}

.btn-ecom-cart {
  background: #ffffff;
  color: var(--c-blue);
  border: 1px solid var(--c-blue);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.btn-ecom-cart:hover {
  background: var(--c-blue-subtle);
}

.btn-ecom-buy {
  background: var(--c-blue);
  color: #ffffff;
  border: 1px solid var(--c-blue);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.2);
}

.btn-ecom-buy:hover {
  background: var(--c-blue-dark);
  border-color: var(--c-blue-dark);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.ecom-loadmore-wrap {
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.catalog-render-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.catalog-render-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.catalog-render-status {
  font-size: 0.875rem;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  line-height: 1.4;
}

.catalog-render-status strong {
  color: #0f172a;
}

@media (max-width: 1024px) {
  .ecom-cat-hub {
    grid-template-columns: repeat(4, 1fr);
  }
  .flash-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ecom-flash-sale {
    padding: 2rem 1.15rem 2.25rem;
    margin-bottom: 3.5rem;
  }
  .ecom-cat-hub {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
  }
  .ecom-cat-item {
    flex: 0 0 110px;
    scroll-snap-align: start;
  }
  .flash-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   EDITORIAL SPECIMEN INSPECTION (PHÒNG GIÁM ĐỊNH NÔNG SẢN)
   High-Craft Visual Art Direction replacing generic spreadsheet table
   ========================================================================== */

.inspection-showcase {
  margin-top: 2.5rem;
}

.specimen-nav-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.specimen-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
  font-size: 0.875rem;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
}

.specimen-tab-btn:hover {
  border-color: var(--c-green);
  color: var(--c-green);
  background-color: var(--c-green-subtle);
}

.specimen-tab-btn.active {
  background: linear-gradient(135deg, var(--c-green) 0%, #166534 100%);
  color: #ffffff;
  border-color: var(--c-green);
  box-shadow: 0 4px 15px rgba(21, 128, 61, 0.25);
}

/* Infographic So Sánh Phân Biệt Tỏi Thật - Giả */
.infographic-comparison-wrap {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
  background-color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.infographic-comparison-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -6px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(203, 213, 225, 0.9);
}

.infographic-comparison-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.specimen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.specimen-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.specimen-card.real-garlic {
  border-color: var(--c-green-border);
  box-shadow: 0 10px 30px -10px rgba(21, 128, 61, 0.15);
  background: radial-gradient(circle at top right, rgba(240, 253, 244, 0.6) 0%, #ffffff 70%);
}

.specimen-card.fake-garlic {
  border-color: #fecaca;
  box-shadow: 0 10px 30px -10px rgba(220, 38, 38, 0.08);
  background: radial-gradient(circle at top right, rgba(254, 242, 242, 0.6) 0%, #ffffff 70%);
}

.specimen-card:hover {
  transform: translateY(-4px);
}

.specimen-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-border);
}

.specimen-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.specimen-badge.real {
  background-color: var(--c-green);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.3);
}

.specimen-badge.fake {
  background-color: #dc2626;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.specimen-code {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--c-text-subtle);
  font-weight: 600;
}

.specimen-hero-photo {
  position: relative;
  background-color: #f8fafc;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 260px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.specimen-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.specimen-card:hover .specimen-hero-photo img {
  transform: scale(1.03);
}

.specimen-criteria-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  flex-grow: 1;
}

.criteria-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.8);
}

.criteria-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.criteria-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-text-main);
  margin-bottom: 0.25rem;
}

.criteria-content p {
  font-size: 0.86rem;
  color: var(--c-text-muted);
  line-height: 1.55;
  margin: 0;
}

.specimen-card-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--c-border);
  font-size: 0.8125rem;
  font-family: var(--font-body);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.specimen-card-footer.real {
  color: var(--c-green);
}

.specimen-card-footer.fake {
  color: #dc2626;
}

/* Luxury Editorial Advisory Banner */
.inspection-cta-banner {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 45%, #15803d 100%);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(2, 132, 199, 0.25);
}

.inspection-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.inspection-cta-content h3 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.inspection-cta-content p {
  color: #94a3b8;
  font-size: 0.875rem;
  max-width: 650px;
  margin: 0;
}

@media (max-width: 768px) {
  .specimen-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================================================
   SECTION CẨM NANG & ẨM THỰC — CARD GIẤY NỔI (MAGAZINE STYLE)
=========================================================== */
.section-cam-nang,
#cam-nang-am-thuc {
  position: relative;
  background-color: #f7f1e5;
  background-image: url('../img/bg-cam-nang-paper.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(217, 204, 185, 0.45);
  border-bottom: 1px solid rgba(217, 204, 185, 0.45);
  padding: 5rem 0;
}

/* Subtitle tone đồng bộ phong cách tạp chí cổ điển */
.magazine-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fdfbf7;
  color: #854d0e;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(180, 140, 88, 0.5);
  box-shadow: 0 2px 8px rgba(120, 90, 50, 0.08);
  margin-bottom: 1rem;
}

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  align-items: stretch;
}

/* Card Giấy Nổi — Magazine */
.magazine-card {
  background-color: #fdfbf7; /* Nền card trắng kem */
  border-radius: var(--radius-lg);
  border: 1px solid rgba(215, 196, 172, 0.75); /* Viền mảnh màu giấy */
  border-top: 3.5px solid #a17846; /* Viền nhấn không đồng đều đặc trưng tạp chí */
  overflow: hidden;
  box-shadow: 0 12px 32px -4px rgba(110, 80, 45, 0.09), 0 3px 10px rgba(0, 0, 0, 0.03); /* Shadow khuếch tán nhẹ */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.magazine-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -6px rgba(110, 80, 45, 0.16), 0 6px 18px rgba(0, 0, 0, 0.05);
  border-color: rgba(161, 120, 70, 0.9);
}

/* Ảnh chiếm diện tích lớn */
.magazine-thumb {
  height: 280px;
  position: relative;
  overflow: hidden;
  background-color: #f5ede1;
  border-bottom: 1px solid rgba(220, 205, 185, 0.6);
}

.magazine-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.magazine-tag {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  background: rgba(253, 251, 247, 0.94);
  border: 1px solid rgba(180, 140, 88, 0.45);
  color: #78350f;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
  z-index: 2;
}

/* Nội dung bài viết phong cách Magazine */
.magazine-body {
  padding: 1.65rem 1.75rem 1.85rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #fdfbf7;
}

.magazine-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.magazine-meta .knowledge-date {
  font-size: 0.75rem;
  font-weight: 700;
  color: #8c7355;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.magazine-readtime {
  font-size: 0.725rem;
  font-weight: 600;
  color: #a18260;
  letter-spacing: 0.05em;
}

.magazine-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.45;
  color: #1c1917;
  margin-bottom: 0;
}

.magazine-title a {
  color: #1c1917;
  transition: color 0.25s ease;
}

.magazine-title a:hover {
  color: #a17846;
}

/* Đường phân cách mảnh */
.magazine-divider {
  height: 1px;
  width: 100%;
  border-bottom: 1px dashed rgba(200, 178, 150, 0.6);
  margin: 0.85rem 0 0.95rem 0;
}

.magazine-excerpt {
  font-size: 0.885rem;
  color: #57534e;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.magazine-readmore {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: #78350f;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: gap 0.25s ease, color 0.25s ease;
}

.magazine-card:hover .magazine-readmore {
  color: #92400e;
  gap: 0.75rem;
}

.readmore-arrow {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.magazine-card:hover .readmore-arrow {
  transform: translateX(3px);
}

/* Nút Xem Toàn Bộ Chuyên Mục tone Magazine giấy nổi */
.btn-magazine {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: #fffdfa;
  color: #382413;
  border: 1.5px solid #a17846;
  font-size: 0.925rem;
  font-weight: 700;
  padding: 0.95rem 2.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px rgba(120, 90, 50, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-magazine:hover {
  background-color: #382413;
  color: #fffdfa;
  border-color: #382413;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(56, 36, 19, 0.25);
}

.btn-magazine svg {
  transition: transform 0.25s ease;
}

.btn-magazine:hover svg {
  transform: translateX(4px);
}

/* ===========================================================
   NÚT TRÒN NHỎ LÊN ĐẦU TRANG (BACK TO TOP)
=========================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #fffdf9;
  border: 1.5px solid rgba(161, 120, 70, 0.45);
  color: #292524;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  z-index: 990;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background-color: #15803d;
  color: #ffffff;
  border-color: #15803d;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 25px rgba(21, 128, 61, 0.35);
}

@media (max-width: 768px) {
  .magazine-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .magazine-thumb {
    height: 240px;
  }
  .back-to-top-btn {
    bottom: 5.25rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}

/* ===========================================================
   SECTION 08: ĐÁNH GIÁ KHÁCH HÀNG — REALTIME LIVE REVIEWS STREAM
=========================================================== */
.reviews-live-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  background-color: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 0.85rem 1.75rem;
  margin: 1.5rem auto 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  max-width: 820px;
  flex-wrap: wrap;
}

.reviews-score-cluster {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviews-big-num {
  font-size: 2.15rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.02em;
}

.reviews-stars-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stars-gold {
  color: #eab308;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.score-sub {
  font-size: 0.725rem;
  color: var(--c-text-subtle);
  font-weight: 600;
}

.reviews-bar-divider {
  width: 1px;
  height: 34px;
  background-color: var(--c-border);
}

.reviews-trust-perks {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.trust-perk-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-green-dark);
  background-color: #f0fdf4;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(187, 247, 208, 0.8);
}

.reviews-realtime-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #047857;
  background-color: #ecfdf5;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
}

.live-blink-circle {
  width: 9px;
  height: 9px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: livePulseReview 1.8s infinite;
}

@keyframes livePulseReview {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Container & Cards Stream */
.live-stream-box {
  position: relative;
  margin-top: 1.5rem;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}

.live-reviews-feed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  position: relative;
  align-items: stretch;
}

.live-review-card {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-left: 3.5px solid #15803d;
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.live-review-card.hidden-review {
  display: none !important;
}

.live-review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -3px rgba(15, 23, 42, 0.09);
  border-left-color: #0284c7;
}

/* Animations for Prepend & Oldest Removal in Grid */
.live-review-card.review-entering {
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
}

.live-review-card.review-entered {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.live-review-card.review-exiting {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

/* Reviewer Header */
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.reviewer-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.reviewer-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f1f5f9;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.gender-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
}

.gender-dot.female {
  background-color: #ec4899;
}

.gender-dot.male {
  background-color: #0284c7;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.1rem;
}

.reviewer-name-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.reviewer-name {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #15803d;
  background-color: #dcfce7;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  line-height: 1.2;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #64748b;
}

.meta-dot {
  color: #cbd5e1;
}

.reviewer-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.stars-row {
  color: #eab308;
  font-size: 0.875rem;
  line-height: 1;
}

.star-active {
  color: #eab308;
}

.star-empty {
  color: #cbd5e1;
}

.rating-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
}

/* Purchased Product Tag */
.review-product-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  color: #334155;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.review-product-pill strong {
  color: #0f172a;
}

/* Comment text */
.review-text {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.835rem;
  color: #334155;
  line-height: 1.5;
  margin: 0 0 0.65rem;
  flex-grow: 1;
}

/* Review Footer */
.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #94a3b8;
  border-top: 1px dashed #f1f5f9;
  padding-top: 0.45rem;
}

.review-trust-tag {
  color: #15803d;
  font-weight: 600;
}

.review-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.review-like-btn:hover {
  color: #0284c7;
}

@media (max-width: 768px) {
  .reviews-live-bar {
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.25rem 1rem;
  }
  .reviews-bar-divider {
    display: none;
  }
  .live-reviews-feed {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .live-review-card {
    padding: 1.15rem 1.15rem;
  }
  .review-header {
    flex-wrap: wrap;
  }
  .reviewer-rating {
    width: 100%;
    margin-top: 0.25rem;
  }
}

/* ==================== PARTNERS & DISTRIBUTION NETWORK SHOWCASE ==================== */
.partners-showcase-section {
  padding: 5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.partners-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.partners-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background-color: #e0f2fe;
  color: #0369a1;
  font-family: var(--font-body);
  font-size: 0.78125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  border: 1px solid #bae6fd;
  margin-bottom: 1rem;
}

.partners-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
}

.partners-title-editorial {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.25;
  font-weight: 800;
  color: #0f172a;
  text-wrap: balance;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.partners-title-editorial .text-brand-blue {
  color: #0284c7;
}

.partners-title-editorial .text-brand-green {
  color: #15803d;
}

.partners-subtitle-editorial {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #475569;
  max-width: 660px;
  margin: 0 auto;
  text-wrap: balance;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

.partner-brand-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.partner-brand-card:hover {
  transform: translateY(-4px);
  border-color: #0284c7;
  box-shadow: 0 16px 32px -4px rgba(2, 132, 199, 0.16);
}

.partner-brand-logo-wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  width: 100%;
  padding: 0 0.5rem;
}

.partner-brand-logo-wrap img {
  max-height: 48px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-brand-card:hover .partner-brand-logo-wrap img {
  transform: scale(1.06);
}

.partner-brand-card .logo-square {
  max-height: 56px !important;
  max-width: 56px !important;
}

.partner-brand-card .logo-wide {
  max-height: 40px !important;
  max-width: 170px !important;
}

.partner-brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.partner-brand-desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  max-width: 260px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Distribution Pillars Strip */
.distribution-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.25rem 2.25rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #f0fdf4 100%);
  border: 1.5px solid #bae6fd;
  border-radius: 24px;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.08);
}

@media (max-width: 900px) {
  .distribution-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .distribution-pillars {
    grid-template-columns: 1fr;
  }
}

.dist-pillar-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dist-pillar-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.dist-pillar-desc {
  font-size: 0.84375rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* B2B Callout Strip */
.partners-b2b-cta {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 38%, #059669 78%, #16a34a 100%);
  border-radius: 28px;
  padding: 2.75rem 3rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.75rem;
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 20px 45px -12px rgba(14, 165, 233, 0.35), 0 8px 24px -6px rgba(16, 185, 129, 0.25);
  position: relative;
  overflow: hidden;
}

.partners-b2b-content {
  flex: 1;
  min-width: 300px;
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.partners-b2b-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.partners-b2b-cta h3 {
  color: #ffffff !important;
  font-size: 1.625rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.partners-b2b-cta p {
  color: rgba(255, 255, 255, 0.96) !important;
  font-size: 0.975rem;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.partners-b2b-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.partners-b2b-actions .btn-white {
  background: #ffffff;
  color: #0284c7;
  font-weight: 800;
  font-size: 0.9375rem;
  padding: 0.85rem 1.65rem;
  border-radius: 9999px;
  border: none;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.partners-b2b-actions .btn-white:hover {
  background: #f8fafc;
  color: #0369a1;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(0, 0, 0, 0.35);
}

.partners-b2b-actions .btn-glass-light {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.85rem 1.65rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.partners-b2b-actions .btn-glass-light svg {
  color: #ffffff;
}

.partners-b2b-actions .btn-glass-light:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

/* Soil & Geography Showcase (Ảnh 1 Trái - Ảnh 2 Phải) */
.soil-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .soil-story-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.soil-img-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1.5px solid rgba(226, 232, 240, 0.85);
  background: #ffffff;
  display: flex;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.soil-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -10px rgba(15, 23, 42, 0.18), 0 8px 18px rgba(0, 0, 0, 0.06);
}

.soil-img-card img {
  width: 100%;
  height: 100%;
  display: block;
}

.soil-img-card.newspaper-card img {
  object-fit: contain;
  background-color: #faf6ee;
}

.soil-img-card.aerial-card img {
  object-fit: cover;
  object-position: center;
}

.soil-story-details {
  max-width: 900px;
  margin: 2.5rem auto 0;
}

.soil-detail-quote {
  background: #ffffff;
  border-left: 4px solid var(--c-green);
  padding: 1.25rem 1.75rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.soil-detail-quote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--c-text-main);
  line-height: 1.7;
  margin: 0;
}

.soil-detail-text {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  text-align: justify;
}

.soil-story-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Testimonials / Founder Quote */
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.story-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
}

.story-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.story-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
}

.story-tag h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-text-main);
  margin-bottom: 0.15rem;
}

.story-tag p {
  font-size: 0.75rem;
  color: var(--c-blue-dark);
  font-weight: 600;
  margin: 0;
}

.story-content h2 {
  margin-bottom: 1.25rem;
}

.story-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.story-quote-box {
  background-color: var(--c-green-subtle);
  border-left: 4px solid var(--c-green);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
}

.story-quote-box p {
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--c-text-main);
  margin: 0;
}

/* ==================== SITE FOOTER — MODERN MINIMAL LIGHT ARCHITECTURE ==================== */
.site-footer {
  background-color: #f8fafc;
  color: #475569;
  position: relative;
  border-top: 1px solid #e2e8f0;
  overflow: hidden;
  width: 100%;
}

/* 1. Footer Trust Pillars Bar */
.footer-trust-bar {
  border-bottom: 1px solid #e2e8f0;
  padding: 2.25rem 0;
  background-color: #ffffff;
}

.footer-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.15rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  min-width: 0;
}

.footer-trust-item:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.footer-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #059669;
}

.footer-trust-item h5 {
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.footer-trust-item p {
  color: #64748b;
  font-size: 0.775rem;
  line-height: 1.4;
  margin: 0;
}

/* 2. Main Footer Body */
.footer-main-wrap,
.footer-inner {
  padding-top: 3.5rem;
}

.footer-top,
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.35fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #e2e8f0;
}

/* Brand Column */
.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.footer-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.footer-brand-title {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-family: var(--font-display, 'Lexend', sans-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: #15803d;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.footer-brand-sub {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-brand h3 {
  color: #0f172a;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.footer-brand p,
.footer-desc {
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-desc strong {
  color: #0f172a;
}

.footer-cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-tax-info,
.footer-company-meta {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.6;
  padding-top: 0.85rem;
  border-top: 1px dashed #cbd5e1;
}

.footer-tax-info strong,
.footer-company-meta strong {
  color: #0f172a;
}

/* Footer Link Columns */
.footer-heading,
.footer-col h4 {
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-heading::after,
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #0ea5e9);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #475569;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-links a:hover {
  color: #15803d;
  font-weight: 600;
  transform: translateX(4px);
}

/* Contact / Facility Cards */
.footer-facility-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.95rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 0.65rem;
  font-size: 0.8125rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.footer-facility-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.facility-icon {
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}

.facility-info {
  line-height: 1.45;
  min-width: 0;
  flex: 1;
  word-break: break-word;
}

.facility-title {
  display: block;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.8125rem;
  margin-bottom: 2px;
}

.facility-info p {
  color: #64748b;
  margin: 0;
}

.footer-hotline-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  margin-top: 0.85rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.06);
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.hotline-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: #dcfce7;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hotline-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.hotline-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 600;
}

.hotline-number {
  font-family: var(--font-body), sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #15803d;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums lining-nums;
  transition: color 0.2s ease;
}

.hotline-number:hover {
  color: #047857;
}

.footer-email-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #64748b;
  padding-left: 0.25rem;
}

.footer-email-row a {
  color: #0284c7;
  font-weight: 500;
  text-decoration: none;
}

.footer-email-row a:hover {
  color: #0369a1;
  text-decoration: underline;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
  color: #475569;
}

.footer-contact-item svg {
  color: #059669;
  min-width: 18px;
  margin-top: 3px;
}

/* 3. Footer Bottom Bar */
.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid #e2e8f0;
}

.footer-bottom-copy strong {
  color: #1e293b;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-domain-badge {
  color: #64748b;
  font-size: 0.8125rem;
}

.footer-domain-badge strong {
  color: #0284c7;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #15803d;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.footer-back-to-top:hover {
  background-color: #15803d;
  color: #ffffff;
  border-color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.2);
}

.footer-bottom a {
  color: #475569;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #15803d;
}

/* Drawers & Modals (Cart & Quick View) */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 2001;
  box-shadow: -10px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header h3 {
  font-size: 1.125rem;
  color: var(--c-text-main);
}

.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-subtle);
  background: var(--c-bg-light);
}

.drawer-close-btn:hover {
  color: var(--c-text-main);
  background: var(--c-border);
}

.drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex-grow: 1;
}

.cart-item-row {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-border);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  background-color: var(--c-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-info h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-text-main);
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-green);
  margin-bottom: 0.5rem;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: var(--c-bg-light);
  border: 1px solid var(--c-border);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--c-border);
  background-color: var(--c-bg-light);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-text-main);
  margin-bottom: 1rem;
}

.cart-total-price {
  color: var(--c-green);
  font-size: 1.35rem;
}

/* Modal View */
.modal-wrapper {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-content-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--c-border);
  position: relative;
  padding: 2rem;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--c-bg-light);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--c-text-subtle);
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--c-text-main);
  background-color: var(--c-border);
}

.modal-product-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.modal-gallery-box {
  background-color: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
}

.modal-gallery-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
}

.modal-details h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-price-box {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-green);
  font-family: var(--font-display);
  margin-bottom: 1rem;
}

.modal-specs-list {
  margin: 1.25rem 0;
  padding: 1rem;
  background-color: var(--c-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  font-size: 0.875rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.modal-specs-list dt {
  color: var(--c-text-subtle);
  font-weight: 500;
}

.modal-specs-list dd {
  font-weight: 700;
  color: var(--c-text-main);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .story-split {
    grid-template-columns: 1fr;
  }
  .footer-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .nav-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .knowledge-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .footer-trust-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    justify-content: center;
    padding: 1.5rem 0 2rem;
  }
  .footer-bottom-copy {
    text-align: center;
    line-height: 1.5;
    word-break: break-word;
    max-width: 100%;
  }
  .footer-bottom-links {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .modal-product-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .product-thumb {
    height: 195px;
    padding: 0.35rem;
  }
  .product-body {
    padding: 0.75rem;
  }
  .product-title {
    font-size: 0.875rem;
    height: 2.6em;
  }
  .product-price {
    font-size: 1.05rem;
  }
  .ecom-card-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.35rem !important;
  }
  .btn-ecom-cart, .btn-ecom-buy {
    font-size: 0.72rem;
    padding: 0.45rem 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ==================== B2B EDITORIAL CRAFT SHOWCASE (SECTION 09) ==================== */
.section-b2b-craft {
  padding: 4.5rem 0;
  background: #fbfbf9;
  border-top: 1px solid #eeebe5;
}

.b2b-master-card {
  background: #ffffff;
  border: 1px solid #e7e5e0;
  border-radius: 24px;
  padding: 3rem 3.5rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
}

.b2b-top-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1b4d3e;
  background: #eaf5ee;
  border: 1px solid #c7e6d2;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.b2b-card-header h2 {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.b2b-grid-split {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.b2b-image-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.12);
  background: #f5f4ef;
}

.b2b-feature-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.b2b-image-wrapper:hover .b2b-feature-img {
  transform: scale(1.02);
}

.b2b-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.caption-tag {
  background: #10b981;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.caption-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.b2b-metrics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: #f8faf9;
  border: 1px solid #e8edea;
  border-radius: 14px;
}

.b2b-metric-item {
  text-align: center;
  flex: 1;
}

.metric-val {
  display: block;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1b4d3e;
  line-height: 1.2;
}

.metric-lbl {
  display: block;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.775rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.25rem;
}

.b2b-metric-divider {
  width: 1px;
  height: 32px;
  background: #e2e8f0;
}

.b2b-channels-column {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.b2b-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 0.95rem 1.25rem;
  background: #ffffff;
  border: 1px solid #f1f0ec;
  border-left: 3px solid #1b4d3e;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.b2b-channel-item:hover {
  background: #fbfbf9;
  border-color: #d1d5db;
  border-left-color: #10b981;
  transform: translateX(4px);
}

.channel-num {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #1b4d3e;
  opacity: 0.7;
  padding-top: 0.1rem;
}



.channel-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

.channel-desc {
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.b2b-master-bottom {
  padding-top: 2rem;
  border-top: 1px solid #f1f0ec;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.b2b-legal-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  color: #475569;
}

.legal-item {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.legal-dot {
  color: #cbd5e1;
}

.b2b-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn-emerald-solid {
  background: #1b4d3e;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(27, 77, 62, 0.25);
  text-decoration: none;
}

.btn-emerald-solid:hover {
  background: #14382d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 77, 62, 0.35);
}

.btn-outline-clean {
  background: #ffffff;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-outline-clean:hover {
  border-color: #1b4d3e;
  color: #1b4d3e !important;
  background: #f8fafc;
}

.btn-subtle-link {
  color: #0284c7 !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-subtle-link:hover {
  color: #0369a1 !important;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .b2b-master-card {
    padding: 2.25rem 1.75rem;
  }
  .b2b-grid-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .b2b-feature-img {
    height: 260px;
  }
}

@media (max-width: 640px) {
  .b2b-actions-row {
    flex-direction: column;
    width: 100%;
  }
  .btn-emerald-solid, .btn-outline-clean {
    width: 100%;
    justify-content: center;
  }
  .b2b-metrics-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  .b2b-metric-divider {
    display: none;
  }
}

/* ==================== HOMEPAGE CATEGORY SECTIONS (CHIA THÀNH CÁC MỤC) ==================== */
.homepage-sections-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
}

.cat-section-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-2xl);
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: var(--transition);
}

.cat-section-block:hover {
  border-color: #bae6fd;
  box-shadow: 0 10px 20px -3px rgba(2, 132, 199, 0.07);
}

.cat-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 1rem;
}

.cat-section-title-wrap {
  max-width: 700px;
}

.cat-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-green);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.cat-section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-text-main);
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.cat-section-count {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text-subtle);
}

.cat-section-desc {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  margin-top: 0.35rem;
}

.btn-cat-viewmore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-blue-dark);
  background: var(--c-blue-subtle);
  border: 1px solid var(--c-blue-border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cat-viewmore:hover {
  background: var(--c-blue);
  color: #ffffff;
  border-color: var(--c-blue);
  transform: translateY(-1px);
}

.btn-cat-backall {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-green);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cat-backall:hover {
  background: var(--c-green);
  color: #ffffff;
  border-color: var(--c-green);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .homepage-sections-container {
    gap: 1.75rem;
  }
  .cat-section-block {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-xl);
  }
  .cat-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  .cat-section-title {
    font-size: 1.35rem;
  }
  .btn-cat-viewmore,
  .btn-cat-backall {
    width: 100%;
    justify-content: center;
  }
}

/* ==================== VIDEO MEDIA SHOWCASE STYLES ==================== */
.video-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.1);
}

.video-player-wrap {
  position: relative;
  width: 100%;
  background: #f8fafc;
  overflow: hidden;
  border-radius: 1.25rem 1.25rem 0 0;
}

.video-player-wrap video {
  width: 100%;
  height: 100%;
  max-height: 480px;
  display: block;
  background-color: #f1f5f9;
}

.video-pill-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 5;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-time-tag {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.25rem 0.65rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  z-index: 5;
  font-variant-numeric: tabular-nums;
}

.video-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-card-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.video-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 0.65rem;
}

.video-card-desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
}

.video-cinematic-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid #334155;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.3);
}

/* ==========================================================================
   PRESS JOURNALISM & EDITORIAL FEATURE STYLES (Chuẩn Form Báo Chí)
   ========================================================================== */
.press-article-wrap {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-2xl);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.press-meta-header {
  padding: 1.5rem 2rem;
  background: linear-gradient(to right, #f8fafc, #f1f5f9);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--c-text-subtle);
}

.press-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.press-article-body {
  padding: 2.5rem 2.5rem;
}

@media (max-width: 768px) {
  .press-article-body {
    padding: 1.5rem 1.25rem;
  }
  .press-meta-header {
    padding: 1rem 1.25rem;
  }
}

.press-headline {
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1.25;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .press-headline {
    font-size: 1.75rem;
  }
}

.press-sapo {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #334155;
  font-weight: 500;
  padding-left: 1.25rem;
  border-left: 4px solid var(--c-green);
  margin-bottom: 2rem;
  background: #f0fdf4;
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.press-subheading {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.press-subheading::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 1.35em;
  background: linear-gradient(to bottom, var(--c-green), var(--c-blue));
  border-radius: 3px;
  flex-shrink: 0;
}

.press-paragraph {
  font-size: 1.03rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1.35rem;
}

.press-figure {
  margin: 2rem 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: #fafaf9;
}

.press-caption {
  padding: 0.85rem 1.25rem;
  font-size: 0.8125rem;
  color: #64748b;
  font-style: italic;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
  line-height: 1.5;
}

.press-caption strong {
  color: #1e293b;
  font-style: normal;
}

.press-quote-box {
  margin: 2.25rem 0;
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, #fdfbf7 0%, #fffbeb 100%);
  border: 1px solid #fef3c7;
  border-left: 5px solid #d97706;
  border-radius: var(--radius-xl);
  position: relative;
  box-shadow: 0 4px 15px -3px rgba(217, 119, 6, 0.08);
}

.press-quote-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.6;
  color: #78350f;
  font-style: italic;
  font-weight: 600;
  margin-bottom: 1rem;
}

.press-quote-author {
  font-size: 0.875rem;
  font-weight: 700;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.press-factsheet {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.press-factsheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.press-factsheet-item {
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
}

.press-factsheet-item .label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.35rem;
}

.press-factsheet-item .value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

/* ==========================================================================
   FUNCTIONAL TIMELINE MODULES (Dòng Thời Gian Chức Năng Độc Lập)
   ========================================================================== */
.ft-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  padding: 0.65rem;
  background: #f8fafc;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-full);
}

.ft-filter-btn {
  padding: 0.5rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ft-filter-btn:hover {
  color: var(--c-text-main);
  background: #e2e8f0;
}

.ft-filter-btn.active {
  background: var(--c-text-main);
  color: #ffffff;
  box-shadow: 0 2px 8px -1px rgba(15, 23, 42, 0.25);
}

.ft-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-2xl);
  box-shadow: 0 4px 20px -3px rgba(15, 23, 42, 0.06);
  padding: 2.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ft-card:hover {
  box-shadow: 0 12px 30px -5px rgba(15, 23, 42, 0.1);
}

@media (max-width: 640px) {
  .ft-card {
    padding: 1.35rem 1.15rem;
  }
}

.ft-functional-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #e2e8f0;
}

.ft-functional-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.ft-functional-badge.emerald {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.ft-functional-badge.sky {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.ft-functional-badge.amber {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.ft-functional-badge.indigo {
  background: #e0e7ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.ft-functional-badge.purple {
  background: #f3e8ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.ft-dedicated-box {
  margin-top: 1.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.ft-dedicated-box-header {
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ft-dedicated-box-body {
  padding: 1.25rem;
}

.ft-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.ft-table th {
  padding: 0.65rem 0.85rem;
  text-align: left;
  background: #f8fafc;
  font-weight: 700;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}

.ft-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.ft-table tr:last-child td {
  border-bottom: none;
}

/* ==================== RESPONSIVE TABLE ON MOBILE ==================== */
.ft-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  border-radius: inherit;
}

.ft-table-responsive .ft-table {
  min-width: 580px;
  width: 100%;
}

@media (max-width: 640px) {
  .press-factsheet-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== CLEAN EDITORIAL PAGE SECTION ==================== */
.heritage-page-section {
  position: relative;
  background-color: #f8fafc;
}

/* ===========================================================
   FLOATING CONTACT WIDGET (ZALO & PHONE) + CONSULTATION POPUP
=========================================================== */
.contact-floating-widget {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* Support Toggle Pill */
.btn-support-toggle {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 12px 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  transition: all 0.25s ease;
  user-select: none;
}

.btn-support-toggle:hover {
  background: #f8fafc;
  transform: translateY(-1px);
  border-color: #cbd5e1;
}

.btn-support-toggle .toggle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseDotGreen 1.6s infinite ease-in-out;
}

@keyframes pulseDotGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Pulse Buttons */
.contact-btn-pulse {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.16);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-btn-pulse:hover {
  transform: translateY(-2px) scale(1.05);
}

.contact-btn-pulse .pulse-circle {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.contact-btn-pulse .pulse-circle::before,
.contact-btn-pulse .pulse-circle::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  z-index: -1;
  animation: contactRingPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

.contact-btn-pulse .pulse-circle::after {
  animation-delay: 0.65s;
}

/* Zalo Button Specifics */
.btn-zalo .pulse-circle {
  background: #0068ff;
  border: 2px solid #ffffff;
}

.btn-zalo .pulse-circle img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 50%;
}

.btn-zalo .pulse-circle::before,
.btn-zalo .pulse-circle::after {
  border: 2px solid rgba(0, 104, 255, 0.55);
}

/* Hotline Button Specifics */
.btn-hotline .pulse-circle {
  background: linear-gradient(135deg, #16a34a, #15803d);
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-hotline .pulse-circle svg {
  width: 20px;
  height: 20px;
  animation: phoneRingWiggle 1.6s ease-in-out infinite;
}

.btn-hotline .pulse-circle::before,
.btn-hotline .pulse-circle::after {
  border: 2px solid rgba(22, 163, 74, 0.55);
}

/* Hover Label (Desktop) */
.contact-label {
  background: #ffffff;
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 14px 5px 12px;
  border-radius: 0 999px 999px 0;
  margin-left: -12px;
  padding-left: 20px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  border-left: none;
  white-space: nowrap;
  opacity: 0.96;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-zalo .contact-label { color: #0068ff; }
.btn-hotline .contact-label { color: #15803d; }

.contact-btn-pulse:hover .contact-label {
  opacity: 1;
  transform: translateX(2px);
}

/* Animations */
@keyframes contactRingPulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  50% { transform: scale(1.35); opacity: 0.35; }
  100% { transform: scale(1.7); opacity: 0; }
}

@keyframes phoneRingWiggle {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-15deg); }
  30% { transform: rotate(15deg); }
  45% { transform: rotate(-10deg); }
  60% { transform: rotate(10deg); }
  75% { transform: rotate(0deg); }
}

/* ==================== CONTACT POPUP CARD ==================== */
.contact-popup-card {
  position: fixed;
  bottom: 155px;
  left: 20px;
  width: 320px;
  max-width: calc(100vw - 36px);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 16px 40px -6px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  z-index: 10000;
  transform-origin: bottom left;
  transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-popup-card.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85) translateY(20px);
}

.contact-popup-header {
  background: linear-gradient(135deg, #0b4f8a, #0284c7);
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-popup-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-popup-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.contact-popup-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-popup-agent-info h4 {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  color: #ffffff;
}

.contact-popup-agent-info p {
  font-size: 10px;
  opacity: 0.9;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-popup-agent-info .online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
}

.contact-popup-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: background 0.2s ease;
}

.contact-popup-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.contact-popup-body {
  padding: 14px 16px 16px;
}

.contact-popup-welcome-msg {
  font-size: 11.5px;
  line-height: 1.5;
  color: #334155;
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
}

.contact-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-popup-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 12.5px;
  transition: all 0.2s ease;
}

.contact-popup-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.contact-popup-btn-zalo {
  background: #0068ff;
  color: #ffffff;
}

.contact-popup-btn-hotline {
  background: #15803d;
  color: #ffffff;
}

.contact-popup-btn-content {
  display: flex;
  align-items: center;
  gap: 9px;
}

.contact-popup-btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.contact-popup-btn-text span {
  display: block;
  font-size: 9.5px;
  opacity: 0.85;
  font-weight: 500;
}

.contact-popup-btn-text strong {
  font-size: 13px;
  letter-spacing: 0.02em;
}

.contact-popup-footer-note {
  text-align: center;
  font-size: 10.5px;
  color: #64748b;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .contact-floating-widget {
    bottom: 20px;
    left: 14px;
    gap: 8px;
  }
  .contact-btn-pulse .pulse-circle {
    width: 42px;
    height: 42px;
  }
  .btn-zalo .pulse-circle img {
    width: 26px;
    height: 26px;
  }
  .btn-hotline .pulse-circle svg {
    width: 18px;
    height: 18px;
  }
  .contact-label {
    display: none !important;
  }
  .contact-popup-card {
    bottom: 140px;
    left: 14px;
    width: 290px;
  }
}



