/* ===================================================
   TRANG TRẠI CÀO CÀO - LANDING PAGE STYLESHEET
   Professional, Mobile-First & Responsive E-Commerce
=================================================== */

:root {
  --primary: #16a34a;          /* Eco Emerald Green */
  --primary-dark: #15803d;
  --primary-light: #dcfce7;
  --primary-focus: rgba(22, 163, 74, 0.15);

  --accent-gold: #f59e0b;       /* Golden Amber */
  --accent-gold-dark: #d97706;
  --accent-gold-light: #fef3c7;

  --accent-red: #ef4444;        /* Flash Sale / Urgent Red */
  --accent-red-dark: #dc2626;
  --accent-red-light: #fee2e2;

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --bg-page: #f1f5f9;
  --bg-card: #ffffff;
  --bg-subtle: #f8fafc;

  --border: #e2e8f0;
  --border-focus: #16a34a;

  --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-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --container-max-w: 520px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.5;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

/* Main Container: Mobile-First with Desktop Polish */
.page-container {
  width: 100%;
  max-width: var(--container-max-w);
  background: var(--bg-card);
  min-height: 100vh;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow-x: clip;
  padding-bottom: 90px;
}

/* ===================================================
   TOP ANNOUNCEMENT BAR
=================================================== */
.top-notice-bar {
  background: linear-gradient(90deg, #15803d, #16a34a, #059669);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.notice-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  animation: tickerSlide 18s linear infinite;
}

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

.top-notice-bar:hover .notice-ticker {
  animation-play-state: paused;
}

.notice-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 24px;
}

.notice-item span.badge {
  background: #fef08a;
  color: #854d0e;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ===================================================
   BRAND HEADER
=================================================== */
.site-header {
  padding: 12px 18px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 80;
}

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

.header-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-verified {
  color: #0284c7;
  font-size: 14px;
  display: inline-flex;
}

.brand-slogan {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.header-hotline-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #bbf7d0;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-hotline-btn:hover {
  background: #bbf7d0;
}

/* ===================================================
   HERO MEDIA GALLERY (SWIPER SLIDER)
=================================================== */
.hero-gallery {
  position: relative;
  width: 100%;
  background: #000000;
}

.badge-freeship-floating {
  position: absolute;
  top: 14px;
  right: 0;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
  padding: 6px 14px 6px 18px;
  font-weight: 800;
  font-size: 12px;
  z-index: 20;
  border-radius: 20px 0 0 20px;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pulseLight 2s infinite ease-in-out;
}

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

.swiper {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  position: relative;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-slide-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: opacity 0.25s ease;
  z-index: 10;
}

.video-play-overlay.playing {
  opacity: 0;
  pointer-events: none;
}

.play-circle-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(22, 163, 74, 0.8);
  margin-bottom: 10px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-circle-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  fill: currentColor;
}

.play-circle-btn:hover {
  transform: scale(1.1);
  background: var(--primary);
}

.play-caption {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  background: rgba(0,0,0,0.4);
  padding: 4px 12px;
  border-radius: 20px;
}

.slide-caption-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.swiper-pagination-bullet {
  background: #ffffff !important;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
  opacity: 1;
  width: 22px !important;
  border-radius: 4px !important;
  transition: width 0.3s ease;
}

/* ===================================================
   FLASH SALE WIDGET
=================================================== */
.flash-sale-box {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.flash-sale-header {
  background: linear-gradient(90deg, #dc2626, #ea580c);
  color: #ffffff;
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flash-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.flash-flame-icon {
  font-size: 18px;
  animation: flameBounce 1s infinite alternate;
}

@keyframes flameBounce {
  0% { transform: scale(1); }
  100% { transform: scale(1.25) rotate(-5deg); }
}

.countdown-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
}

.countdown-digits {
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 1px;
}

.product-meta-section {
  padding: 18px 20px;
}

.product-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 10px;
}

.rating-and-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #f59e0b;
  font-size: 13px;
  font-weight: 700;
}

.rating-count {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.badge-tag-quality {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.price-main {
  color: var(--accent-red-dark);
  font-size: 14px;
  font-weight: 700;
}

.price-main span {
  font-size: 26px;
  font-weight: 900;
}

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

.price-save-badge {
  background: var(--accent-red-light);
  color: var(--accent-red-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 4px;
}

/* Stock Progress Bar */
.stock-bar-wrap {
  background: #fee2e2;
  border-radius: var(--radius-full);
  padding: 2px;
  position: relative;
  height: 22px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.stock-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f1d1d;
  font-size: 11px;
  font-weight: 800;
  z-index: 3;
  gap: 4px;
}

.stock-progress-fill {
  background: linear-gradient(90deg, #f87171, #ef4444);
  height: 100%;
  border-radius: var(--radius-full);
  position: relative;
  transition: width 0.8s ease-in-out;
}

.stock-progress-fill::after {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background-image: linear-gradient(
    -45deg, 
    rgba(255, 255, 255, 0.2) 25%, 
    transparent 25%, 
    transparent 50%, 
    rgba(255, 255, 255, 0.2) 50%, 
    rgba(255, 255, 255, 0.2) 75%, 
    transparent 75%, 
    transparent
  );
  background-size: 20px 20px;
  animation: moveStripes 2s linear infinite;
}

@keyframes moveStripes {
  0% { background-position: 0 0; }
  100% { background-position: 40px 0; }
}

/* Quick Perks Grid */
.quick-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 14px 20px 18px;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
}

.perk-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

/* ===================================================
   INTERACTIVE CALCULATOR: MẬT ĐỘ & SỐ TRỨNG NUÔI
=================================================== */
.calc-section {
  padding: 22px 20px;
  background: linear-gradient(180deg, #ffffff, #f0fdf4);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 18px;
}

.section-title {
  font-size: 17px;
  font-weight: 800;
  color: #14532d;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.calculator-card {
  background: #ffffff;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.08);
}

.calc-input-block {
  margin-bottom: 16px;
}

.calc-input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.calc-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.calc-current-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.calc-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.4);
  border: 2px solid #ffffff;
}

.calc-quick-chips {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.quick-chip {
  padding: 4px 10px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-chip.active, .quick-chip:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.calc-result-box {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px dashed #cbd5e1;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 8px;
}

.result-row:last-child {
  margin-bottom: 0;
}

.result-val {
  font-weight: 800;
  color: var(--text-main);
}

.result-val.highlight-green {
  color: var(--primary);
  font-size: 15px;
}

.result-val.highlight-gold {
  color: #b45309;
}

.calc-recommend-box {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.calc-recommend-info {
  font-size: 12px;
  color: var(--text-muted);
}

.calc-recommend-info strong {
  color: var(--accent-red-dark);
  font-size: 14px;
  display: block;
}

.btn-select-calc {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
  transition: all 0.2s ease;
}

.btn-select-calc:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ===================================================
   PRICING COMBOS GRID (SHOWCASED DIRECTLY)
=================================================== */
.combos-section {
  padding: 24px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.combos-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.combo-card-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  transition: all 0.2s ease;
  position: relative;
}

.combo-card-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.08);
}

.combo-card-item.featured {
  border-color: var(--primary);
  background: #f0fdf4;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.12);
}

.combo-left {
  flex: 1;
}

.combo-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.combo-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.combo-suitability {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.combo-gift {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 4px;
}

.combo-right {
  text-align: right;
  margin-left: 12px;
}

.combo-price {
  font-size: 17px;
  font-weight: 900;
  color: var(--accent-red-dark);
  line-height: 1.2;
}

.combo-old-price {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-combo-order {
  display: inline-block;
  margin-top: 6px;
  background: linear-gradient(90deg, #16a34a, #15803d);
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(22, 163, 74, 0.3);
  transition: all 0.2s ease;
}

.btn-combo-order:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(22, 163, 74, 0.4);
}

/* ===================================================
   DENSITY & TECHNICAL GUIDE
=================================================== */
.density-guide-section {
  padding: 24px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.density-infocard {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.density-header-badge {
  background: linear-gradient(90deg, #fef3c7, #fde68a);
  border: 1px solid #fcd34d;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.density-badge-label {
  font-size: 13px;
  font-weight: 800;
  color: #92400e;
}

.density-badge-val {
  font-size: 16px;
  font-weight: 900;
  color: #b45309;
}

.density-text-content p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 10px;
}

.density-example-box {
  background: #ecfdf5;
  border-left: 4px solid var(--primary);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: #065f46;
  margin: 12px 0;
}

.density-tip-highlight {
  color: #15803d !important;
  font-weight: 700;
  background: #f0fdf4;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed #86efac;
}

/* ===================================================
   5-STEP INCUBATION & CARE GUIDE
=================================================== */
.guide-section {
  padding: 26px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.zalo-cta-box {
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  border: 1px solid #7dd3fc;
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  margin-bottom: 22px;
}

.zalo-cta-box .zalo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0284c7;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin-top: 8px;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
  transition: all 0.2s ease;
}

.zalo-cta-box .zalo-btn:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.guide-timeline {
  position: relative;
  padding-left: 32px;
}

.guide-timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: #cbd5e1;
}

.timeline-step {
  position: relative;
  margin-bottom: 22px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.step-number-bubble {
  position: absolute;
  left: -32px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #ffffff, 0 2px 6px rgba(0,0,0,0.15);
  z-index: 2;
}

.step-content {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.step-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-content p, .step-content ul {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.55;
}

.step-content ul {
  padding-left: 18px;
  list-style-type: disc;
  margin-top: 6px;
}

.step-content ul li {
  margin-bottom: 4px;
}

.egg-color-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
  text-align: center;
}

.stage-card {
  padding: 6px 4px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
}

.stage-red { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.stage-yellow { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.stage-white { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; }
.stage-green { background: #dcfce7; color: #166534; border: 1.5px solid #86efac; animation: pulseLight 1.5s infinite; }

.note-danger {
  color: var(--accent-red-dark) !important;
  font-size: 12.5px;
  font-style: italic;
  margin-top: 6px;
  display: block;
}

/* ===================================================
   REVIEWS & TESTIMONIALS
=================================================== */
.reviews-section {
  padding: 24px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.reviews-summary-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 18px;
}

.review-stat-col {
  text-align: center;
}

.review-stat-big {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
}

.review-stat-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.review-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #1e293b;
}

.reviewer-info h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

.reviewer-info span {
  font-size: 11px;
  color: var(--text-muted);
}

.review-stars {
  color: #f59e0b;
  font-size: 12px;
}

.review-comment {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 8px;
}

.review-pack-tag {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-light);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ===================================================
   FAQ ACCORDION
=================================================== */
.faq-section {
  padding: 24px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  transition: all 0.2s ease;
}

.faq-question {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  user-select: none;
}

.faq-toggle-icon {
  font-size: 16px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background: #f8fafc;
  padding: 0 16px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 12px 16px 14px;
  border-top: 1px solid #f1f5f9;
}

.faq-answer p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.55;
}

/* ===================================================
   SITE FOOTER
=================================================== */
.site-footer {
  padding: 26px 20px 30px;
  background: #0f172a;
  color: #94a3b8;
  font-size: 12.5px;
  line-height: 1.6;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.footer-brand p {
  color: #64748b;
  font-size: 12px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.footer-contact-item a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
}

.footer-copyright {
  border-top: 1px solid #1e293b;
  padding-top: 14px;
  text-align: center;
  color: #64748b;
  font-size: 11px;
}

/* ===================================================
   STICKY BOTTOM BUY BAR
=================================================== */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max-w);
  background: #ffffff;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 90;
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.98);
}

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

.price-summary-bottom .label-from {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.price-summary-bottom .price-val {
  font-size: 21px;
  font-weight: 900;
  color: var(--accent-red-dark);
  line-height: 1.1;
}

.price-summary-bottom .bonus-tag {
  font-size: 10px;
  color: #059669;
  font-weight: 700;
}

.btn-buy-sticky {
  background: linear-gradient(90deg, #ea580c, #dc2626);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
  cursor: pointer;
  animation: pulseButton 2s infinite ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@keyframes pulseButton {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35); }
  50% { transform: scale(1.04); box-shadow: 0 6px 18px rgba(220, 38, 38, 0.5); }
}

/* ===================================================
   FLOATING ACTION BUTTONS (ZALO, PHONE, SCROLL TOP)
=================================================== */
.floating-actions {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max-w);
  bottom: 84px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 16px;
  gap: 10px;
  z-index: 85;
  pointer-events: none;
}

.floating-btn {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease;
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn-zalo {
  background: #0068ff;
}

.floating-btn-phone {
  background: #16a34a;
  animation: ringShake 2s infinite;
}

@keyframes ringShake {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(-15deg); }
  20%, 40% { transform: rotate(15deg); }
  50% { transform: rotate(0); }
}

.floating-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ===================================================
   RECENT PURCHASE TOAST POPUPS (SOCIAL PROOF)
=================================================== */
.recent-order-toast {
  position: fixed;
  bottom: 90px;
  left: 18px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 88;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 280px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.recent-order-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.toast-content {
  font-size: 12px;
  line-height: 1.35;
}

.toast-content strong {
  color: #fef08a;
  display: block;
}

.toast-time {
  font-size: 10px;
  color: #94a3b8;
}

/* ===================================================
   ORDER BOTTOM SHEET MODAL (2-STEP)
=================================================== */
.bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.bottom-sheet-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet-content {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  border-radius: 24px 24px 0 0;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.1, 0.8, 0.2, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.bottom-sheet-overlay.active .bottom-sheet-content {
  transform: translateY(0);
}

.sheet-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
}

.sheet-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-back-step {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-back-step:hover {
  background: #e2e8f0;
}

.sheet-title-box {
  display: flex;
  flex-direction: column;
}

.sheet-step-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sheet-main-title {
  font-size: 16px;
  color: var(--text-main);
  font-weight: 800;
}

.btn-close-sheet {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-close-sheet:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.sheet-body,
.sheet-body-scroll {
  padding: 14px 18px 24px;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  flex: 1 1 auto;
  min-height: 0;
  overscroll-behavior: contain;
}

.sheet-step-footer {
  position: sticky;
  bottom: 0;
  background: #ffffff;
  padding: 12px 18px 16px;
  margin: 14px -18px -24px -18px;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
  z-index: 20;
}

/* Step 1 & Step 2 Containers */
.order-step {
  animation: fadeInStep 0.25s ease-in-out;
}

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

.step-alert-banner {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  line-height: 1.45;
}

/* Radio Cards in Order Form */
.product-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-option-card {
  position: relative;
  cursor: pointer;
  display: block;
}

.product-option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.option-card-inner {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  background: #ffffff;
}

.option-left-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.option-card-title {
  font-weight: 700;
  color: var(--text-main);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.badge-pill-hot {
  background: var(--accent-red-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-pill-gift {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.option-card-prices {
  text-align: right;
  flex-shrink: 0;
}

.option-current-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-red-dark);
}

.option-old-price {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.option-check-circle {
  display: none;
  background: var(--primary);
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.product-option-card input[type="radio"]:checked + .option-card-inner {
  border-color: var(--primary);
  background: #f0fdf4;
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.15);
}

.product-option-card input[type="radio"]:checked + .option-card-inner .option-check-circle {
  display: flex;
}

/* Custom Bulk Eggs Box */
.custom-eggs-container {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
  width: 100%;
}

.custom-eggs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.custom-eggs-input {
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  height: 42px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  flex: 1;
}

/* Combo Quantity Stepper */
.qty-stepper-wrap {
  display: flex;
  align-items: center;
  margin-top: 14px;
}

.btn-qty-step {
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.btn-qty-step:hover {
  background: #e2e8f0;
}

.btn-qty-step.btn-minus {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.btn-qty-step.btn-plus {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.qty-input-field {
  width: 65px;
  height: 44px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  text-align: center;
  padding: 0;
  background: #ffffff;
  font-weight: 800;
  font-size: 16px;
  pointer-events: none;
}

/* Subtotal Box in Step 1 */
.step1-subtotal-panel {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin: 18px 0;
}

.step1-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.step1-price-display {
  color: var(--accent-red-dark);
  font-size: 20px;
  font-weight: 900;
}

.step1-gift-display {
  margin-top: 6px;
  font-size: 12px;
  color: #059669;
  font-weight: 700;
}

/* Step 2 Elements */
.selected-pack-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 18px;
}

.pack-summary-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.pack-summary-text {
  flex: 1;
}

.pack-summary-name {
  font-weight: 800;
  font-size: 14px;
  color: var(--text-main);
}

.pack-summary-desc {
  font-size: 12px;
  color: #059669;
  font-weight: 700;
  margin-top: 2px;
}

.pack-summary-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-red-dark);
  margin-top: 2px;
}

.btn-change-pack {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
}

/* Form Groups */
.form-group-item {
  margin-bottom: 16px;
}

.form-group-item label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-group-item label span.req {
  color: var(--accent-red-dark);
}

.form-control-input, .form-control-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  outline: none;
  background: #ffffff;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.form-control-input:focus, .form-control-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-focus);
}

.form-control-input.is-invalid {
  border-color: var(--accent-red-dark);
  background: #fef2f2;
}

.field-error-msg {
  color: var(--accent-red-dark);
  font-size: 11px;
  margin-top: 4px;
  display: none;
  font-weight: 600;
}

.form-control-input.is-invalid + .field-error-msg {
  display: block;
}

.address-cascader select {
  margin-bottom: 8px;
}

.form-control-select:disabled {
  background-color: #f1f5f9;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Voucher Button */
.btn-claim-voucher {
  width: 100%;
  background: #ffffff;
  border: 2px dashed var(--accent-gold-dark);
  color: var(--accent-gold-dark);
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  animation: pulseButton 2s infinite ease-in-out;
}

.btn-claim-voucher.saved {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  animation: none;
  cursor: default;
}

/* Invoice Summary Box */
.final-invoice-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin: 18px 0;
}

.invoice-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 8px;
}

.invoice-row:last-child {
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px dashed #fcd34d;
}

.invoice-fee-text {
  font-weight: 700;
  color: var(--text-main);
}

.invoice-fee-text.free {
  color: var(--primary);
  font-weight: 800;
}

.invoice-total-text {
  font-weight: 900;
  font-size: 17px;
  color: var(--accent-red-dark);
}

/* CTA Submit Buttons */
.btn-sheet-submit {
  width: 100%;
  background: linear-gradient(90deg, #16a34a, #15803d);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  padding: 14px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-sheet-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.5);
}

/* ===================================================
   MODALS (CONFIRM, EXIT INTENT, FORGOT FREESHIP, SUCCESS)
=================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max-w);
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog-box {
  background: #ffffff;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-dialog-box h3 {
  font-size: 17px;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 6px;
  font-weight: 800;
}

.modal-subdesc {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 18px;
}

.confirm-bill-table {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 18px;
}

.bill-line {
  font-size: 13px;
  margin-bottom: 8px;
  display: flex;
}

.bill-line strong {
  width: 95px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.bill-line span {
  flex: 1;
  color: var(--text-main);
  font-weight: 600;
  word-break: break-word;
}

.bill-line-total {
  border-top: 1px dashed var(--border);
  padding-top: 8px;
  margin-top: 8px;
  font-size: 15px;
}

.bill-line-total span {
  color: var(--accent-red-dark);
  font-weight: 900;
  font-size: 18px;
}

.modal-btn-row {
  display: flex;
  gap: 10px;
}

.modal-btn-row button {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-modal-cancel {
  background: #f1f5f9;
  color: var(--text-muted);
}

.btn-modal-cancel:hover {
  background: #e2e8f0;
}

.btn-modal-confirm {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
}

.btn-modal-confirm:hover {
  background: var(--primary-dark);
}

/* Success Modal Specifics */
.success-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.success-order-code {
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  color: var(--primary-dark);
  display: inline-block;
  margin: 8px 0 14px;
}

/* Loading Overlay */
.loading-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid #e2e8f0;
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spinLoader 0.9s linear infinite;
  margin-bottom: 12px;
}

@keyframes spinLoader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Toast Message */
.toast-notice {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--primary);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  text-align: center;
  width: 90%;
  max-width: 420px;
}

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

/* Desktop Polish & Responsive Adjustments */
@media (min-width: 768px) {
  body {
    padding: 20px 0;
    background: radial-gradient(circle at 50% 10%, #dcfce7 0%, #f1f5f9 100%);
  }

  .page-container {
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  }

  .site-header {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .sticky-bottom-bar {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }

  .bottom-sheet-overlay {
    justify-content: center;
    align-items: center;
    padding: 24px;
  }
  .bottom-sheet-content {
    border-radius: 24px;
    max-height: 85vh;
    max-width: 490px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    transform: translateY(20px) scale(0.96);
  }
  .bottom-sheet-overlay.active .bottom-sheet-content {
    transform: translateY(0) scale(1);
  }
}

/* ===================================================
   MULTI-PAGE NAVIGATION & TAB BAR
=================================================== */
.site-nav-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.site-nav-tabs::-webkit-scrollbar {
  display: none;
}
.nav-tab-item {
  flex: 1;
  min-width: 62px;
  text-align: center;
  padding: 8px 2px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-tab-item .tab-icon {
  font-size: 16px;
  line-height: 1;
}
.nav-tab-item .tab-title {
  font-size: 11px;
  letter-spacing: -0.2px;
}
.nav-tab-item:hover {
  color: var(--primary);
  background: #f8fafc;
}
.nav-tab-item.active {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
  background: #f0fdf4;
}
.nav-tab-item.active .tab-title {
  font-weight: 800;
}
.nav-tab-item.nav-tab-cart {
  color: #d97706;
}
.nav-tab-item.nav-tab-cart.active {
  color: #b45309;
  border-bottom-color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}

/* ===================================================
   PAGE HERO BANNER (SUB-PAGES)
=================================================== */
.page-hero-banner {
  background: linear-gradient(135deg, #15803d 0%, #16a34a 60%, #0d9488 100%);
  color: #ffffff;
  padding: 24px 18px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-banner::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.page-hero-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #ffffff;
}
.page-hero-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  max-width: 440px;
  margin: 0 auto;
}

/* ===================================================
   ARTICLE LIST & CARDS (BAI-VIET)
=================================================== */
.article-list-section {
  padding: 18px 16px;
}
.article-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #bbf7d0;
}
.article-card-thumb {
  width: 100%;
  height: 190px;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}
.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-card-thumb img {
  transform: scale(1.04);
}
.article-badge-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(22, 163, 74, 0.92);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.article-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.article-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 8px;
}
.article-title a {
  color: inherit;
  text-decoration: none;
}
.article-title a:hover {
  color: var(--primary);
}
.article-excerpt {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}
.article-btn-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
  transition: gap 0.2s ease;
}
.article-btn-read:hover {
  gap: 10px;
  color: var(--primary);
}

/* Article Modal Reader */
.article-detail-content {
  text-align: left;
  line-height: 1.65;
  font-size: 14px;
  color: var(--text-body);
  max-height: 75vh;
  overflow-y: auto;
  padding: 10px 4px;
}
.article-detail-content h2 {
  font-size: 18px;
  color: var(--text-main);
  margin: 16px 0 8px;
}
.article-detail-content h3 {
  font-size: 16px;
  color: var(--primary-dark);
  margin: 14px 0 6px;
}
.article-detail-content p {
  margin-bottom: 12px;
}
.article-detail-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.article-detail-content li {
  margin-bottom: 6px;
}
.article-detail-content img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 12px 0;
}

/* ===================================================
   TECHNICAL HANDBOOK STYLES (KY-THUAT)
=================================================== */
.handbook-wrapper {
  padding: 18px 16px;
}
.handbook-chapter {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.chapter-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.chapter-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(22, 163, 74, 0.3);
}
.chapter-title-box h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}
.chapter-title-box span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.chapter-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-body);
}
.chapter-body p {
  margin-bottom: 10px;
}
.chapter-body ul {
  padding-left: 18px;
  margin-bottom: 10px;
}
.chapter-body li {
  margin-bottom: 6px;
}
.handbook-tip-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin: 10px 0;
  font-size: 13px;
  color: #166534;
}
.handbook-warn-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin: 10px 0;
  font-size: 13px;
  color: #92400e;
}

/* ===================================================
   HOMEPAGE (INDEX.HTML) SPECIFIC STYLES
=================================================== */
.home-hero-wrap {
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #10b981 100%);
  color: #ffffff;
  padding: 24px 18px 28px;
  border-radius: 0 0 24px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.3);
}

.home-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  color: #ecfdf5;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.home-hero-h1 {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.home-hero-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #d1fae5;
  margin-bottom: 18px;
}

.home-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-home-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f59e0b;
  color: #78350f;
  font-weight: 800;
  font-size: 13px;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  transition: all 0.2s ease;
}

.btn-home-cta-primary:hover {
  background: #d97706;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-home-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.btn-home-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Home Stats Grid */
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 14px 14px 4px;
}

.home-stat-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.home-stat-number {
  font-size: 17px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.home-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 3px;
  line-height: 1.3;
}

/* Home About Farm Section */
.home-about-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  margin: 14px 14px 6px;
  box-shadow: var(--shadow-sm);
}

.home-about-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.home-about-body {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-body);
}

.home-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.home-feature-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-feature-item span.feat-icon {
  font-size: 18px;
}

.home-feature-item strong {
  font-size: 12.5px;
  color: var(--text-main);
}

.home-feature-item p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Home Product Cards Showcase */
.home-products-showcase {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.home-prod-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.home-prod-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.1);
}

.home-prod-card.featured {
  border-color: var(--primary);
  background: #f0fdf4;
}

.home-prod-info {
  flex: 1;
}

.home-prod-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: #ef4444;
  color: #fff;
  margin-bottom: 4px;
}

.home-prod-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.home-prod-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.home-prod-gift {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #047857;
  font-weight: 700;
  margin-top: 4px;
}

.home-prod-right {
  text-align: right;
  margin-left: 10px;
  flex-shrink: 0;
}

.home-prod-price {
  font-size: 16px;
  font-weight: 900;
  color: var(--accent-red-dark);
}

.home-prod-old {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-view-product {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  margin-top: 6px;
}

/* Home Section Big CTA Link */
.home-section-cta-wrap {
  text-align: center;
  margin-top: 14px;
}

.btn-section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid var(--primary);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-section-more:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Home Tech Steps Mini Grid */
.home-tech-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.home-tech-step-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.home-tech-step-num {
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.home-tech-step-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.home-tech-step-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Home Articles List Mini */
.home-articles-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.home-article-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.home-article-item:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.home-art-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-dark);
  background: #ecfdf5;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.home-art-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 4px;
}

.home-art-excerpt {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 6px 0;
}

.home-art-link-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Flash Sale Summary Card (Product Page) */
.product-summary-card {
  padding: 12px 14px;
  background: #ffffff;
  border-radius: var(--radius-md);
}
.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.current-price-wrap {
  font-size: 18px;
  font-weight: 900;
  color: var(--accent-red-dark);
}
.original-price-wrap {
  font-size: 13px;
  color: var(--text-muted);
}
.stock-progress-wrap {
  margin-top: 6px;
}
.stock-text-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 5px;
  font-weight: 600;
}
.progress-track {
  width: 100%;
  height: 8px;
  background: #fee2e2;
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f97316, #ef4444);
  border-radius: 4px;
}

/* ===================================================
   ENHANCED CTA BOX & HIGH-CONVERTING BUTTONS
=================================================== */
.cta-banner-box {
  margin: 20px 16px;
  padding: 24px 20px;
  background: linear-gradient(135deg, #15803d 0%, #16a34a 60%, #059669 100%);
  border-radius: 20px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(22, 163, 74, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}
.cta-banner-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.cta-banner-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.cta-banner-desc {
  font-size: 13.5px;
  opacity: 0.95;
  margin-bottom: 20px;
  line-height: 1.55;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.btn-cta-vibrant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #ea580c 0%, #dc2626 50%, #f97316 100%);
  background-size: 200% auto;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulseButton 2s infinite ease-in-out;
  cursor: pointer;
}
.btn-cta-vibrant:hover, .btn-cta-vibrant:active {
  background-position: right center;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.7);
}
.btn-cta-vibrant .cta-btn-icon {
  font-size: 18px;
}
.btn-cta-vibrant .cta-btn-arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
}
.btn-cta-vibrant:hover .cta-btn-arrow {
  transform: translateX(4px);
}

/* ===================================================
   DEDICATED CHECKOUT / CART PAGE STYLES
=================================================== */
.checkout-wrapper {
  padding: 16px;
}

.checkout-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.trust-item-pill {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 8px 10px;
  font-size: 11.5px;
  color: #166534;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkout-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.checkout-card-header {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

/* Cart Item Preview */
.checkout-cart-item {
  display: flex;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 14px;
}
.cart-item-thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
}
.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cart-item-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}
.cart-item-gift {
  font-size: 11.5px;
  color: #059669;
  font-weight: 700;
  margin-top: 3px;
}
.cart-item-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 6px;
}
.cart-current-price {
  font-size: 16px;
  font-weight: 900;
  color: var(--accent-red-dark);
}
.cart-old-price {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

/* Quick Pack Switcher */
.pack-switcher-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.pack-switcher-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.pack-pill-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.pack-pill-btn:hover {
  border-color: var(--primary);
  background: #f0fdf4;
}
.pack-pill-btn.active {
  border-color: var(--primary);
  background: #ecfdf5;
  box-shadow: 0 0 0 1px var(--primary);
}
.pack-pill-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pack-pill-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-red-dark);
  margin-top: 2px;
}

/* Checkout Invoice Table */
.checkout-invoice-table {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 10px;
}
.checkout-invoice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #475569;
  padding: 6px 0;
  border-bottom: 1px dashed #e2e8f0;
}
.checkout-invoice-row:last-child {
  border-bottom: none;
}
.checkout-invoice-row.total-row {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 2px solid #cbd5e1;
  border-bottom: none;
}
.checkout-total-val {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent-red-dark);
}

.btn-checkout-confirm {
  width: 100%;
  background: linear-gradient(90deg, #ea580c 0%, #dc2626 50%, #f97316 100%);
  background-size: 200% auto;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulseButton 2s infinite ease-in-out;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-checkout-confirm:hover, .btn-checkout-confirm:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.65);
}

/* Success View */
.checkout-success-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.success-check-icon {
  width: 68px;
  height: 68px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 12px;
  box-shadow: 0 6px 15px rgba(22, 163, 74, 0.2);
}






/* ===================================================
   ENHANCED HEADER CART BUTTON & FLOATING CART BUTTON
=================================================== */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0fdf4;
  color: #166534;
  border: 1.5px solid #86efac;
  padding: 6px 11px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.header-cart-btn:hover {
  background: #dcfce7;
  border-color: #22c55e;
  transform: translateY(-1px);
}
.header-cart-btn .cart-btn-icon {
  font-size: 14px;
}
.floating-btn-cart {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.45) !important;
  text-decoration: none !important;
}
.floating-btn-cart:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.6) !important;
}

/* ===================================================
   COMBO CARD SELECTION & RADIO CHECKMARK
=================================================== */
.combo-card-item {
  cursor: pointer !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s ease-in-out;
}
.combo-card-item.selected-card {
  border: 2.5px solid #16a34a !important;
  background: #f0fdf4 !important;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.22) !important;
}
.combo-radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
  transition: all 0.2s ease;
}
.combo-card-item.selected-card .combo-radio-circle {
  border-color: #16a34a;
  background: #16a34a;
  color: #ffffff;
}
.combo-radio-circle svg {
  width: 13px;
  height: 13px;
  fill: #ffffff;
  display: none;
}
.combo-card-item.selected-card .combo-radio-circle svg {
  display: block;
}

/* Sticky Bottom Pulse */
.sticky-bottom-bar.pulse-update {
  animation: stickyPulse 0.35s ease-out;
}
@keyframes stickyPulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.025); }
  100% { transform: translateX(-50%) scale(1); }
}

/* Strict Cart Thumbnail Constraint */
.cart-item-thumb, #cartItemImg {
  width: 76px !important;
  height: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block !important;
  flex-shrink: 0 !important;
}
