/* ==========================================================================
   KẸO CU ĐƠ HOÀI ANH - CẦU PHỦ HÀ TĨNH LANDING PAGE
   Mobile-First High-Converting Responsive Stylesheet
   ========================================================================== */

:root {
  --primary: #c0392b;
  --primary-dark: #8b1e0f;
  --primary-light: #e74c3c;
  --secondary: #d35400;
  --secondary-gold: #f39c12;
  --accent-yellow: #f1c40f;
  --bg-warm: #fcf8f2;
  --bg-cream: #fffaf4;
  --bg-card: #ffffff;
  --text-dark: #231815;
  --text-muted: #5e5047;
  --text-light: #8e7f74;
  --border-color: #ebdcd0;
  --shadow-sm: 0 2px 8px rgba(139, 43, 0, 0.08);
  --shadow-md: 0 6px 18px rgba(139, 43, 0, 0.12);
  --shadow-lg: 0 12px 32px rgba(139, 43, 0, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: 'Quicksand', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: #e5ded6; /* Subtle desktop background to highlight mobile frame */
  line-height: 1.5;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
}

/* Page Frame: On desktop, presents as a clean centered mobile/tablet app canvas (max 480px or responsive full) */
.page-wrapper {
  width: 100%;
  max-width: 480px; /* Mobile-first container standard for Vietnamese landing pages */
  background: var(--bg-warm);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  outline: none;
}

.container {
  width: 100%;
  padding: 0 16px;
}

/* ==========================================================================
   TOP NOTIFICATION BAR (MOBILE COMPACT)
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #8b1e0f, #c0392b, #d35400);
  color: #fff;
  padding: 7px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  z-index: 50;
  line-height: 1.3;
}

.top-bar .highlight {
  background: #f1c40f;
  color: #7b1f00;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 800;
}

/* ==========================================================================
   STICKY HEADER (MOBILE COMPACT)
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1.5px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--secondary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-cta-btn {
  background: linear-gradient(135deg, #e67e22 0%, #c0392b 100%);
  color: #fff;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  box-shadow: 0 3px 8px rgba(192, 57, 43, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

/* ==========================================================================
   HERO SECTION (MOBILE OPTIMIZED)
   ========================================================================== */
.hero-section {
  padding: 20px 0 25px;
  background: radial-gradient(circle at top center, #fffaf4 0%, #f7ebd9 100%);
  position: relative;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230, 126, 34, 0.12);
  border: 1px solid rgba(230, 126, 34, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  line-height: 1.2;
  color: var(--primary-dark);
  font-weight: 900;
  margin-bottom: 6px;
  text-align: center;
}

.hero-title .highlight-text {
  color: var(--primary);
  display: block;
}

.hero-tagline {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 14px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Hero Media Card */
.hero-media-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-color);
  margin-bottom: 16px;
  background: #fff;
}

.hero-media-box img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.hero-image-rating-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-left: 4px solid var(--primary);
}

.hero-image-rating-badge .stars {
  color: #f1c40f;
  font-size: 0.85rem;
}

.hero-image-rating-badge .sales-count {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.sales-count-num {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.sales-count-num.bump {
  transform: scale(1.28);
  color: #e74c3c;
}

/* Hero Discount Banner Pill */
.hero-discount-pill {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.25);
  border: 2px dashed #f1c40f;
}

.hero-discount-pill .percent {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  color: #f1c40f;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
  flex-shrink: 0;
}

.hero-discount-pill .desc {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Hero Feature Bullets */
.hero-features {
  list-style: none;
  margin-bottom: 18px;
  background: #fff;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.hero-features li:last-child {
  margin-bottom: 0;
}

.hero-features li i {
  width: 20px;
  height: 20px;
  background: #27ae60;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* Brand Slogan Poetry */
.hero-poetry-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin: 6px auto 14px;
  line-height: 1.45;
  background: rgba(230, 126, 34, 0.08);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  border-right: 3px solid var(--primary);
  max-width: 90%;
}

/* Brand Support Banner Card */
.brand-support-card {
  margin: 20px 0 25px;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-color);
  text-align: center;
}

.brand-support-card img {
  width: 100%;
  height: auto;
  display: block;
}

.support-action-bar {
  padding: 12px 14px;
  background: #fff5eb;
  border-top: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-support-call {
  width: 100%;
  background: linear-gradient(135deg, #27ae60, #219653);
  color: #fff;
  font-weight: 800;
  padding: 11px 16px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
  text-transform: uppercase;
}

.btn-support-call:active {
  transform: scale(0.98);
}

/* Hero Main CTA Button */
.btn-cta-main {
  width: 100%;
  background: linear-gradient(135deg, #ff7a00 0%, #e52d27 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  padding: 15px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(229, 45, 39, 0.35);
  animation: pulseButton 2s infinite;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(229, 45, 39, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(229, 45, 39, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 45, 39, 0); }
}

/* ==========================================================================
   TRUST BADGES (MOBILE 2X2 GRID)
   ========================================================================== */
.trust-section {
  padding: 16px 0;
  background: #fff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px;
  background: var(--bg-cream);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(230, 126, 34, 0.18);
}

.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-gold), var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.trust-title {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--primary-dark);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.trust-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.25;
}

/* ==========================================================================
   4.1. NGUYÊN LIỆU THẢO MỘC TỰ NHIÊN (CHUẨN REFERENCE keocudo.dichvuquangcaocpt.com)
   ========================================================================== */
.ingredients-section {
  background: linear-gradient(180deg, #357c4b 0%, #25663b 50%, #1a4f2b 100%) !important;
  padding: 34px 16px 38px !important;
  position: relative !important;
  overflow: hidden !important;
}

.ingredients-banner {
  text-align: center;
  margin-bottom: 24px;
}

.ingredients-promo-text {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
  padding: 6px 20px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ingredients-promo-text .highlight-yellow {
  color: #ffeb3b !important;
  font-weight: 900;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.btn-ingredients-order {
  display: inline-block;
  background: linear-gradient(180deg, #ff7043 0%, #e64a19 100%) !important;
  color: #ffffff !important;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 12px 48px;
  border-radius: 9999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 5px 18px rgba(230, 74, 25, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-ingredients-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(230, 74, 25, 0.55);
}

.btn-ingredients-order:active {
  transform: scale(0.97);
}

.ingredients-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px 14px !important;
  max-width: 440px !important;
  margin: 0 auto !important;
}

@media (min-width: 576px) {
  .ingredients-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 620px !important;
    gap: 20px 18px !important;
  }
}

.ingredient-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.ingredient-img-wrap {
  width: 100% !important;
  aspect-ratio: 1 / 0.95 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  transition: transform 0.25s ease;
  margin-bottom: 0 !important;
}

.ingredient-card:hover .ingredient-img-wrap {
  transform: translateY(-4px);
}

.ingredient-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.ingredient-name {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-top: 10px !important;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* ==========================================================================
   VIDEO SECTION (FACEBOOK EMBED & MOBILE VIDEO)
   ========================================================================== */
.video-section {
  padding: 24px 0 20px;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
}

.video-player-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-color);
  background: #000;
}

.video-player-box video {
  width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
}

.fb-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-color);
  background: #000;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-video-wrapper iframe {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
}

.video-cta-note {
  background: #fff8f0;
  border: 1px dashed var(--secondary);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--primary-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  line-height: 1.35;
  margin: 0 auto;
  max-width: 420px;
}

/* Video Order Card (Ảnh 1 thay thế link Facebook) */
.video-order-card {
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin: 14px auto 10px;
  max-width: 420px;
  box-shadow: 0 4px 16px rgba(230, 126, 34, 0.12);
}

.video-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1877f2;
  font-weight: 800;
  font-size: 0.8rem;
  margin-top: 8px;
  text-decoration: underline;
}

/* ==========================================================================
   SECTION COMMON HEADERS (MOBILE)
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-pretitle {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  background: rgba(230, 126, 34, 0.1);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  color: var(--primary-dark);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   PRICING COMBOS (MOBILE STACKED CARDS)
   ========================================================================== */
.pricing-section {
  padding: 30px 0;
  background: var(--bg-warm);
}

.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  font-weight: 700;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-number {
  color: var(--primary);
  font-weight: 800;
}

.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.combo-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.combo-card.featured {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(192, 57, 43, 0.18);
}

.combo-tag {
  position: absolute;
  top: 10px;
  right: -28px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 3px 28px;
  transform: rotate(45deg);
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.combo-card-header {
  padding: 14px 14px 10px;
  text-align: center;
  background: var(--bg-cream);
  border-bottom: 1px dashed var(--border-color);
}

.combo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.combo-spec {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 700;
}

.combo-card-body {
  padding: 14px;
}

.combo-price-wrap {
  text-align: center;
  margin-bottom: 12px;
}

.combo-old-price {
  font-size: 0.85rem;
  color: #999;
  text-decoration: line-through;
}

.combo-new-price {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.combo-discount-badge {
  display: inline-block;
  background: rgba(231, 76, 60, 0.12);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
}

.combo-features {
  list-style: none;
  margin-bottom: 14px;
}

.combo-features li {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.combo-features li i {
  color: #27ae60;
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.btn-choose-combo {
  width: 100%;
  background: linear-gradient(135deg, #e67e22, #c0392b);
  color: #fff;
  font-weight: 800;
  padding: 12px 0;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(192, 57, 43, 0.25);
}

.btn-choose-combo:active {
  transform: scale(0.98);
}

/* ==========================================================================
   REAL PHOTOS GALLERY (SWIPE TOUCH READY)
   ========================================================================== */
.gallery-section {
  padding: 30px 0;
  background: #fff;
}

.gallery-container {
  position: relative;
  width: 100%;
}

.gallery-main {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-color);
  background: #000;
  aspect-ratio: 4/3;
  touch-action: pan-y;
  user-select: none;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
  padding: 18px 10px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 10;
}

.gallery-arrow.prev { left: 8px; }
.gallery-arrow.next { right: 8px; }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.thumb-item {
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid transparent;
  aspect-ratio: 1;
  opacity: 0.55;
}

.thumb-item.active {
  border-color: var(--primary);
  opacity: 1;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.promo-mid-banner {
  background: linear-gradient(90deg, #8b1e0f, #c0392b, #d35400);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  color: #fff;
  text-align: center;
  margin-top: 24px;
  box-shadow: var(--shadow-md);
}

.promo-mid-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.promo-mid-desc {
  font-size: 0.82rem;
  color: #ffe0b2;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ==========================================================================
   ORDER FORM (MOBILE TOUCH FRIENDLY & HIGH-CONVERSION)
   ========================================================================== */
.order-section {
  padding: 30px 0;
  background: radial-gradient(circle at center, #fff6eb 0%, #fae2cc 100%);
}

.countdown-box {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  border: 2px solid #e74c3c;
  margin-bottom: 14px;
  text-align: center;
}

.countdown-label {
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.timer-segment {
  background: #231815;
  color: #f1c40f;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  min-width: 52px;
}

.timer-num {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.timer-unit {
  font-size: 0.65rem;
  color: #bbb;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}

/* Stock Urgency Bar (Khơi gợi khan hiếm) */
.stock-urgency-box {
  background: #fff;
  border: 1.5px solid #ff7a00;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.stock-urgency-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.stock-progress-bar {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.stock-progress-fill {
  width: 84%;
  height: 100%;
  background: linear-gradient(90deg, #ff7a00, #e74c3c);
  border-radius: var(--radius-full);
  animation: shimmerProgress 2s infinite linear;
}

.order-wrapper {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px 14px;
  box-shadow: var(--shadow-md);
  border: 2px solid #e74c3c;
}

.form-group-title {
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.combo-select-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.combo-radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: #fafafa;
  transition: var(--transition);
  position: relative;
}

.combo-radio-card.selected {
  border-color: var(--primary);
  background: #fff8f5;
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.15);
}

.combo-badge-mini {
  position: absolute;
  top: -9px;
  right: 12px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  text-transform: uppercase;
}

.combo-radio-card input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.radio-content {
  flex-grow: 1;
}

.radio-combo-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
}

.radio-combo-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.radio-combo-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary);
  white-space: nowrap;
}

.radio-combo-pricing {
  text-align: right;
  flex-shrink: 0;
  line-height: 1.15;
}

.radio-old-price {
  font-size: 0.78rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.radio-discount-pill {
  display: inline-block;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  margin-top: 2px;
}

/* Pricing Showcase Box (Bảng giá niêm yết theo yêu cầu) */
.pricing-showcase-box {
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 16px 14px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(230, 126, 34, 0.08);
}

.pricing-showcase-header {
  text-align: center;
  margin-bottom: 12px;
}

.pricing-showcase-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 12px;
  border-radius: 99px;
  margin-bottom: 6px;
}

.pricing-showcase-sub {
  font-size: 0.82rem;
  color: #475569;
  font-weight: 600;
}

.pricing-showcase-sub strong {
  color: #dc2626;
  font-weight: 800;
}

.pricing-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 480px) {
  .pricing-showcase-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.price-mini-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.price-mini-card:hover, .price-mini-card.active {
  background: #fff7ed;
  border-color: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.15);
}

.price-mini-card.highlight {
  background: #ecfdf5;
  border-color: #10b981;
}

.price-mini-old {
  font-size: 0.76rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.price-mini-new {
  font-size: 1.05rem;
  font-weight: 900;
  color: #dc2626;
  margin: 2px 0;
}

.price-mini-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.price-mini-tag {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 99px;
  margin-top: 4px;
}

/* Quantity Selector Widget */
.quantity-box-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-cream);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-color);
  margin-bottom: 20px;
}

.quantity-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-dark);
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-qty {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border-color);
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.btn-qty:active {
  transform: scale(0.92);
  background: var(--primary);
  color: #fff;
}

.qty-display {
  font-size: 1.15rem;
  font-weight: 900;
  min-width: 28px;
  text-align: center;
  color: var(--primary-dark);
}

/* Quick city pills */
.quick-cities-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.quick-city-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
}

.city-pill {
  background: #f0ede8;
  color: var(--text-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.city-pill:active,
.city-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Live Bill Summary Box */
.live-bill-box {
  background: #fff9f5;
  border: 1.5px solid #ffccb8;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  margin-bottom: 5px;
  color: var(--text-muted);
}

.bill-row strong {
  color: var(--text-dark);
}

.bill-row.freeship {
  color: #27ae60;
  font-weight: 700;
}

.bill-row.total {
  border-top: 1.5px dashed #ffccb8;
  padding-top: 8px;
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary);
}

.bill-total-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
}

/* COD Payment Method Badge */
.payment-method-box {
  background: #e8f8f0;
  border: 1px solid #27ae60;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e7e44;
}

.form-fields-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-label .required {
  color: #e74c3c;
}

/* 16px font-size prevents iOS Safari from automatically zooming in */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  color: var(--text-dark);
  background: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 60px;
}

.btn-submit-order {
  width: 100%;
  background: linear-gradient(135deg, #ff7a00 0%, #e52d27 100%);
  color: #fff;
  padding: 16px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px rgba(229, 45, 39, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  animation: pulseButton 2s infinite;
}

.btn-submit-order-main-text {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-submit-order-sub-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffeb3b;
  text-transform: none;
}

.btn-submit-order:active {
  transform: scale(0.98);
}

/* ==========================================================================
   CUSTOMER REVIEWS (MOBILE FACEBOOK STYLE)
   ========================================================================== */
.reviews-section {
  padding: 30px 0;
  background: #fff;
}

.reviews-header-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.reviews-count-badge {
  font-size: 0.95rem;
  font-weight: 800;
}

.reviews-sort {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.reviews-sort select {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.78rem;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.review-item {
  display: flex;
  gap: 10px;
  background: #fafafa;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-body {
  flex-grow: 1;
}

.review-author {
  font-weight: 800;
  font-size: 0.88rem;
  color: #1877f2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-buyer {
  background: #e7f3ff;
  color: #1877f2;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
}

.review-rating-stars {
  color: #f1c40f;
  font-size: 0.75rem;
  margin-bottom: 3px;
}

.review-comment {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 6px;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
}

.typing-indicator-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f0f2f5;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
}

.typing-dots {
  display: flex;
  gap: 3px;
}

.typing-dot {
  width: 5px;
  height: 5px;
  background: #999;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

.add-review-box {
  background: var(--bg-warm);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.add-review-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.add-review-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.add-review-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 16px;
}

.add-review-btn {
  background: var(--primary);
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.85rem;
}

/* ==========================================================================
   FOOTER (MOBILE)
   ========================================================================== */
.site-footer {
  background: #1e110b;
  color: #d6cbbe;
  padding: 35px 0 100px; /* 100px bottom padding to prevent sticky bar overlap */
  border-top: 3px solid var(--primary);
}

.footer-brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #f1c40f;
  font-weight: 800;
  margin-bottom: 6px;
}

.footer-brand-desc {
  font-size: 0.82rem;
  color: #bfaea0;
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-contact-list {
  list-style: none;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.82rem;
}

.footer-contact-item i {
  color: #f1c40f;
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #fff;
  font-weight: 700;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  font-size: 0.72rem;
  color: #8c7c70;
}

/* ==========================================================================
   AGENCY PARTNER & MULTI-CHANNEL ADS CARD (A VINH)
   ========================================================================== */
.footer-agency-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  padding: 24px 20px;
  margin: 30px auto 20px;
  max-width: 580px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.footer-agency-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #3b82f6, #10b981);
}

.agency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.agency-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 10px;
}

.agency-slogan {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 12px;
  line-height: 1.4;
}

@media (min-width: 576px) {
  .agency-slogan {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
}

.agency-dot {
  color: #f59e0b;
}

.agency-desc {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 18px;
}

.agency-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

@media (min-width: 480px) {
  .agency-cta-group {
    flex-direction: row;
  }
}

.btn-agency-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-agency-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
}

.btn-agency-zalo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn-agency-zalo:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: #3b82f6;
  color: #60a5fa !important;
}

/* ==========================================================================
   MOBILE FLOATING BUTTONS & STICKY BOTTOM BAR
   ========================================================================== */
.floating-call-btn {
  position: fixed;
  bottom: 80px;
  left: 14px;
  width: 48px;
  height: 48px;
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
  z-index: 99;
  animation: phoneVibrate 1.8s infinite;
}

.floating-zalo-btn {
  position: fixed;
  bottom: 80px;
  right: 14px;
  width: 48px;
  height: 48px;
  background: #0084ff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.4);
  z-index: 99;
}

@keyframes phoneVibrate {
  0% { transform: scale(1) rotate(0deg); }
  10%, 30% { transform: scale(1.05) rotate(-15deg); }
  20%, 40% { transform: scale(1.05) rotate(15deg); }
  50% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Sticky Bottom Purchase Bar (Always active on mobile!) */
.sticky-bottom-bar {
  display: block;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-top: 1.5px solid var(--border-color);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
  z-index: 95;
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sticky-bar-price {
  line-height: 1.1;
}

.sticky-price-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 700;
}

.sticky-price-value {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
}

.btn-sticky-order {
  flex-grow: 1;
  background: linear-gradient(135deg, #ff7a00, #e52d27);
  color: #fff;
  font-weight: 900;
  padding: 12px 14px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(229, 45, 39, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Live Toast (FOMO) */
.live-toast {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translate(-50%, -150%);
  width: 90%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  box-shadow: var(--shadow-md);
  z-index: 98;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.live-toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.toast-icon {
  width: 30px;
  height: 30px;
  background: #27ae60;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.toast-content {
  font-size: 0.78rem;
  line-height: 1.25;
}

.toast-name {
  font-weight: 800;
  color: var(--text-dark);
}

.toast-combo {
  color: var(--primary);
  font-weight: 700;
}

.toast-time {
  font-size: 0.68rem;
  color: var(--text-light);
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 16px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.success-modal {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 18px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.25s ease;
}

.modal-overlay.open .success-modal {
  transform: scale(1);
}

.modal-icon-success {
  width: 58px;
  height: 58px;
  background: #e8f8f0;
  color: #27ae60;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 12px;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
}

.order-summary-box {
  background: var(--bg-cream);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: left;
  font-size: 0.82rem;
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.summary-row.total {
  border-top: 1px dashed var(--border-color);
  padding-top: 6px;
  margin-top: 6px;
  font-weight: 900;
  color: var(--primary);
  font-size: 1rem;
}

.btn-close-modal {
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  padding: 12px 0;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 10px;
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 95vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  font-size: 2rem;
  background: none;
}



/* ==========================================================================
   LEGAL POLICIES & COMPLIANCE STYLES (GOOGLE / META / TIKTOK ADS READY)
   ========================================================================== */

/* Form Privacy Notice below submit button */
.form-privacy-notice {
  margin-top: 10px;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 8px;
}

.form-privacy-notice a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

/* Footer Policy Links */
.footer-policy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-policy-list li {
  margin-bottom: 8px;
}

.footer-policy-list a {
  color: #cbd5e1;
  font-size: 0.85rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.footer-policy-list a:hover {
  color: #f59e0b;
  text-decoration: underline;
  transform: translateX(3px);
}

.footer-tech-partner {
  margin-top: 24px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.tech-partner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Policy Modal Popup */
.policy-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease-in-out;
  padding: 16px;
}

.policy-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.policy-modal-card {
  background: #ffffff;
  color: #1e293b;
  width: 100%;
  max-width: 540px;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScaleUp 0.25s ease-out;
}

@keyframes modalScaleUp {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.policy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, #8b1e0f 0%, #c0392b 100%);
  color: #ffffff;
}

.policy-modal-header h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.policy-modal-body {
  padding: 18px 20px;
  overflow-y: auto;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #334155;
}

.policy-modal-body h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #8b1e0f;
  margin: 14px 0 6px 0;
}

.policy-modal-body h4:first-child {
  margin-top: 0;
}

.policy-modal-body p {
  margin-bottom: 8px;
}

.policy-modal-body ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.policy-modal-body li {
  margin-bottom: 4px;
}

.policy-modal-footer {
  padding: 12px 18px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  text-align: right;
}

.btn-policy-close {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-policy-close:hover {
  background: var(--primary-dark);
}

/* Saved Customer Profile & Auto-fill Badge */
.saved-customer-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f0fdf4;
  border: 1px dashed #86efac;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: #166534;
  animation: fadeIn 0.3s ease-in-out;
}

.saved-customer-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.saved-customer-text i {
  color: #16a34a;
  font-size: 0.95rem;
}

.btn-clear-saved {
  background: #ffffff;
  color: #dc2626;
  border: 1px solid #fca5a5;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.btn-clear-saved:hover {
  background: #fef2f2;
  border-color: #ef4444;
}

/* Nút Messenger nổi (khách từ quảng cáo FB) */
.floating-messenger-btn {
  position: fixed;
  bottom: 136px;
  right: 14px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #00b2ff, #006aff);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 106, 255, 0.35);
  z-index: 999;
  text-decoration: none;
}
