/* ==========================================================================
   MAVERIX PICKLEBALL - HAVIK 2 VIETNAM LANDING PAGE
   Strict Responsive Layout, Zero Overflow, Perfect Typography & Zalo Integration
   ========================================================================== */

:root {
  --primary: #169dea;
  --primary-hover: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-glow: rgba(22, 157, 234, 0.35);

  --accent: #ff6716;
  --accent-hover: #ea580c;
  --accent-glow: rgba(255, 103, 22, 0.35);

  --zalo-blue: #0068ff;
  --zalo-glow: rgba(0, 104, 255, 0.4);

  --bg-main: #0c0f17;
  --bg-card: #141926;
  --bg-card-elevated: #1a2234;
  --bg-input: #090d16;

  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-color: rgba(255, 255, 255, 0.1);
  --border-active: rgba(22, 157, 234, 0.45);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Standard Heights */
  --btn-h-lg: 52px;
  --btn-h-md: 42px;
  --btn-h-sm: 36px;

  --font-main: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
}

/* --- Global Reset & Strict Width Containment --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  box-sizing: border-box;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  user-select: none;
}

/* Strict Centered Container with Symmetrical Left/Right Spacing */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* ==========================================================================
   UNIFIED BUTTON SYSTEM (ZERO TEXT OVERFLOW)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
  border: 1px solid transparent;
  outline: none;
  cursor: pointer;
  white-space: normal; /* CRITICAL: Allows natural wrap on small screens */
  word-break: break-word;
  box-sizing: border-box;
}

.btn:active {
  transform: scale(0.98);
}

.btn-lg {
  min-height: var(--btn-h-lg);
  padding: 12px 20px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

.btn-md {
  min-height: var(--btn-h-md);
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-sm {
  min-height: var(--btn-h-sm);
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-pill {
  border-radius: var(--radius-full);
}

.btn-primary {
  background: linear-gradient(135deg, #169dea 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--primary-glow);
}

.btn-accent {
  background: linear-gradient(135deg, #ff6716 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #fb923c 0%, #c2410c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--accent-glow);
}

.btn-secondary {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-active);
  color: #ffffff;
}

.btn-secondary:hover {
  background: #232d44;
  border-color: var(--primary);
  color: #38bdf8;
}

.btn-icon {
  width: var(--btn-h-md);
  height: var(--btn-h-md);
  border-radius: var(--radius-sm);
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-color);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-icon.circle {
  border-radius: var(--radius-full);
}

/* ==========================================================================
   TYPOGRAPHY & SECTION HEADERS
   ========================================================================== */
.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #169dea 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #fb923c 0%, #ff6716 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 36px;
  padding: 0 10px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  background: rgba(22, 157, 234, 0.12);
  border: 1px solid rgba(22, 157, 234, 0.35);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  word-break: break-word;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 10px auto 0;
  line-height: 1.6;
}

/* ==========================================================================
   ANNOUNCEMENT BAR & NAVBAR
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #ea580c 0%, #ff6716 50%, #ea580c 100%);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 50;
}

.announcement-timer {
  background: rgba(0, 0, 0, 0.28);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 15, 23, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-active);
}

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

.brand-name {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
}

.cart-btn-nav {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Drawer */
.mobile-nav-dropdown {
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  background: #111625;
  border-bottom: 1px solid var(--border-active);
  padding: 16px 20px;
  display: none;
  flex-direction: column;
  gap: 8px;
  z-index: 38;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-dropdown.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: #cbd5e1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-nav-link:hover {
  background: rgba(22, 157, 234, 0.15);
  color: var(--primary);
}

/* ==========================================================================
   HERO / MAIN PRODUCT SECTION
   ========================================================================== */
.product-hero {
  padding: 24px 0 50px;
  position: relative;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: flex-start;
}

/* Gallery Showcase */
.gallery-wrapper {
  position: sticky;
  top: 75px;
  width: 100%;
}

.main-image-frame {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  width: 100%;
}

.award-badge-floating {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(22, 157, 234, 0.5);
  backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.award-badge-floating svg {
  color: #38bdf8;
}

.product-main-img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.thumbnails-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
  width: 100%;
}

.thumb-item {
  background: #1a2234;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 3px;
  cursor: pointer;
  transition: var(--transition);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.thumb-item:hover, .thumb-item.active {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px var(--primary-glow);
}

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

/* Product Info */
.product-info-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-rating-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 10px;
}

.stars-group {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #f59e0b;
}

.rating-score {
  font-weight: 800;
  color: #ffffff;
  font-size: 0.9rem;
}

.reviews-count {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.verified-buyer-tag {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.product-headline {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  word-break: break-word;
}

.product-sub-catch {
  font-size: 1rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 14px;
  line-height: 1.4;
}

.product-price-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  width: 100%;
}

.price-current {
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.price-original {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
}

.discount-tag {
  background: linear-gradient(135deg, #ff6716, #dc2626);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Key Highlights */
.key-highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.key-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.55;
}

.highlight-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: rgba(22, 157, 234, 0.15);
  border: 1px solid var(--border-active);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  margin-top: 2px;
}

/* Variant Selector */
.variant-selector-wrap {
  margin-bottom: 16px;
}

.variant-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #cbd5e1;
}

.selected-variant-name {
  color: var(--primary);
  font-weight: 800;
}

.variant-options-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.variant-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.variant-pill:hover {
  border-color: rgba(22, 157, 234, 0.4);
}

.variant-pill.active {
  border-color: var(--primary);
  background: rgba(22, 157, 234, 0.08);
  box-shadow: 0 0 12px var(--primary-glow);
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  border: 2px solid #ffffff;
  flex-shrink: 0;
}

.dot-blue { background: #169dea; }
.dot-purple { background: #8b5cf6; }

.variant-text-wrap {
  display: flex;
  flex-direction: column;
}

.variant-title {
  font-weight: 800;
  font-size: 0.88rem;
  color: #ffffff;
}

.variant-stock {
  font-size: 0.72rem;
  color: #4ade80;
  font-weight: 600;
}

/* Quantity Selector in Hero */
.hero-qty-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-qty-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #cbd5e1;
}

.hero-qty-box {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 2px;
  height: var(--btn-h-md);
}

.hero-qty-btn {
  width: 36px;
  height: 100%;
  border-radius: 6px;
  background: var(--bg-card-elevated);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.hero-qty-btn:hover {
  background: var(--primary);
}

.hero-qty-val {
  min-width: 36px;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

/* ==========================================================================
   FREE GIFT BOX (ENHANCED WITH VISUAL PHOTO & CLEAR TYPOGRAPHY)
   ========================================================================== */
.freebies-included-box {
  background: linear-gradient(135deg, rgba(22, 157, 234, 0.12) 0%, #131a29 100%);
  border: 1px dashed rgba(22, 157, 234, 0.5);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.freebie-img-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-active);
  background: #ffffff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.freebie-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.freebie-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.freebie-badge-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.freebie-heading {
  font-size: 1rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.35;
}

.freebie-desc {
  font-size: 0.95rem; /* Cỡ chữ thông thường dễ đọc */
  color: #e2e8f0;
  line-height: 1.55;
}

/* Purchase Action Buttons */
.purchase-actions-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
  width: 100%;
}

/* Trust Badges Row */
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.trust-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CROSS-SELL & ACCESSORY BUNDLE SECTION
   ========================================================================== */
.bundle-section {
  padding: 50px 0;
  background: linear-gradient(180deg, #0c0f17 0%, #111624 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.bundle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
}

.bundle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.bundle-card:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 157, 234, 0.4);
  box-shadow: var(--shadow-card);
}

.bundle-card.selected {
  border-color: var(--primary);
  background: rgba(22, 157, 234, 0.08);
}

.bundle-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.bundle-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0d111a;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.bundle-card:hover .bundle-img-wrap img {
  transform: scale(1.04);
}

.bundle-card-title {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.3;
}

.bundle-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  flex-grow: 1;
  line-height: 1.45;
}

.bundle-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.bundle-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.bundle-original {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.bundle-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card-elevated);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  user-select: none;
}

.bundle-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.bundle-checkbox-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
}

.bundle-summary-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  width: 100%;
}

.bundle-summary-info {
  display: flex;
  flex-direction: column;
}

.bundle-summary-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

.bundle-summary-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bundle-summary-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bundle-total-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  white-space: nowrap;
}

/* ==========================================================================
   DEEP TECH SHOWCASE (4 BLOCKS)
   ========================================================================== */
.tech-section {
  padding: 60px 0;
}

.tech-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
  width: 100%;
}

.tech-block:last-child {
  margin-bottom: 0;
}

.tech-block.reverse .tech-visual-wrap {
  order: 2;
}

.tech-block.reverse .tech-content-wrap {
  order: 1;
}

.tech-visual-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  width: 100%;
}

.tech-visual-img {
  width: 100%;
  height: auto;
  display: block;
}

.tech-content-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(22, 157, 234, 0.12);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  align-self: flex-start;
}

.tech-heading {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.tech-paragraph {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 16px;
}

.tech-feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-bullet-item {
  display: flex;
  gap: 10px;
}

.tech-bullet-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: rgba(22, 157, 234, 0.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

.tech-bullet-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.tech-bullet-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   SPECS & COMPARISON TABLE (CLEAR, SHARP & HIGH CONTRAST)
   ========================================================================== */
.specs-section {
  padding: 60px 0;
  background: #090c13;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.specs-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  width: 100%;
}

.specs-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.specs-table th {
  background: var(--bg-card-elevated);
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.specs-table td {
  padding: 12px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.4;
}

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

.specs-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.spec-name {
  color: #cbd5e1;
  font-weight: 600;
}

.spec-stock {
  color: #ffffff;
  font-weight: 700;
}

.spec-tuned {
  color: #38bdf8;
  font-weight: 800;
}

/* ==========================================================================
   CUSTOMER REVIEWS & SOCIAL PROOF
   ========================================================================== */
.reviews-section {
  padding: 60px 0;
}

.reviews-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
  text-align: center;
  width: 100%;
}

.review-metric-num {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.review-metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  width: 100%;
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 157, 234, 0.4);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: #242d44;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.reviewer-name {
  font-weight: 800;
  font-size: 0.88rem;
  color: #ffffff;
}

.reviewer-badge {
  font-size: 0.68rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-text {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.55;
  flex-grow: 1;
  margin-top: 8px;
}

.review-featured-proof {
  grid-column: span 3;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  width: 100%;
}

.featured-proof-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 340px;
  width: 100%;
  object-fit: cover;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 60px 0;
  background: #090c13;
  border-top: 1px solid var(--border-color);
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  width: 100%;
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-question {
  padding: 16px 18px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 18px;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 18px 16px;
}

/* ==========================================================================
   FAST ORDER FORM SECTION (SAFE CONTAINER & PADDING)
   ========================================================================== */
.order-section {
  padding: 60px 0;
  background: radial-gradient(circle at 50% 30%, #151d30 0%, #0c0f17 80%);
}

.order-card-wrap {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

.order-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.form-group.full {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #cbd5e1;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #090d16;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: #ffffff;
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Order Summary Box in Form */
.order-form-summary {
  grid-column: span 2;
  background: rgba(22, 157, 234, 0.08);
  border: 1px solid rgba(22, 157, 234, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.order-summary-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 8px;
  font-size: 1.08rem;
  font-weight: 900;
  color: #ffffff;
}

.order-summary-total-val {
  color: var(--primary);
  font-size: 1.25rem;
}

/* Bank Transfer Box */
.bank-info-box {
  grid-column: span 2;
  background: #090d16;
  border: 1px solid #10b981;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: none;
  width: 100%;
}

.bank-info-box.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Submit Button - Safe Multi-Line Flex Container */
.btn-submit-order {
  grid-column: span 2;
  width: 100%;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  min-height: 56px;
  gap: 3px;
  line-height: 1.25;
}

.btn-submit-title {
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.btn-submit-sub {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.92;
  text-transform: none;
  letter-spacing: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #07090f;
  border-top: 1px solid var(--border-color);
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
  width: 100%;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-link {
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: #64748b;
  width: 100%;
}

/* ==========================================================================
   SLIDE-OUT CART DRAWER
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: #111624;
  border-left: 1px solid var(--border-color);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

.cart-close-btn {
  color: #94a3b8;
  padding: 4px;
}

.cart-close-btn:hover {
  color: #ffffff;
}

.shipping-progress-wrap {
  padding: 10px 18px;
  background: rgba(22, 157, 234, 0.08);
  border-bottom: 1px solid var(--border-color);
}

.shipping-msg {
  font-size: 0.8rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 4px;
  text-align: center;
}

.shipping-track {
  width: 100%;
  height: 5px;
  background: #242d44;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.shipping-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: var(--radius-full);
}

.cart-items-wrap {
  flex-grow: 1;
  overflow-y: auto;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: flex;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  object-fit: contain;
  flex-shrink: 0;
  padding: 3px;
}

.cart-item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.cart-item-variant {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #090d16;
  border-radius: var(--radius-sm);
  padding: 2px 5px;
}

.qty-btn {
  color: #cbd5e1;
  font-size: 0.9rem;
  padding: 0 3px;
}

.qty-num {
  font-size: 0.82rem;
  font-weight: 700;
}

.cart-item-price {
  font-weight: 800;
  font-size: 0.88rem;
  color: #ffffff;
}

.cart-coupon-wrap {
  padding: 10px 18px;
  background: #0f1420;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 6px;
}

.coupon-input {
  flex-grow: 1;
  background: #090c13;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  color: #ffffff;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.cart-footer {
  padding: 16px 18px;
  border-top: 1px solid var(--border-color);
  background: #0d111a;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cart-total-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #cbd5e1;
}

.cart-total-val {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
}

/* ==========================================================================
   STICKY MOBILE BUY BAR & FLOATING ZALO / BACK-TO-TOP WIDGETS
   ========================================================================== */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-active);
  padding: 8px 14px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 39;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-mobile-bar.visible {
  display: flex;
  transform: translateY(0);
}

.sticky-product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.sticky-thumb {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 2px;
  object-fit: contain;
  flex-shrink: 0;
}

.sticky-price {
  font-size: 1rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.sticky-variant-note {
  font-size: 0.68rem;
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Floating Action Stack (Zalo + Back to top) */
.floating-actions {
  position: fixed;
  bottom: 75px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 35;
}

.btn-zalo {
  background: var(--zalo-blue);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--zalo-glow);
  position: relative;
}

.btn-zalo:hover {
  background: #0056d6;
  transform: scale(1.08);
}

.zalo-pulse {
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-full);
  background: rgba(0, 104, 255, 0.4);
  z-index: -1;
  animation: zaloPulse 2s infinite;
}

@keyframes zaloPulse {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* Toast */
.toast-msg {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #1e293b;
  border: 1px solid var(--border-active);
  border-left: 4px solid var(--primary);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 90%;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-msg.show {
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .gallery-wrapper {
    position: static;
  }

  .bundle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-block, .tech-block.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tech-block.reverse .tech-visual-wrap {
    order: 1;
  }

  .tech-block.reverse .tech-content-wrap {
    order: 2;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-featured-proof {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .btn-nav-buy {
    display: none;
  }

  .announcement-bar {
    font-size: 0.75rem;
    padding: 6px 10px;
    flex-direction: column;
    gap: 3px;
  }

  .section-title-wrap {
    margin-bottom: 28px;
    padding: 0 4px;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .product-headline {
    font-size: 1.75rem;
  }

  .price-current {
    font-size: 1.6rem;
  }

  .main-image-frame {
    min-height: 280px;
    padding: 12px;
  }

  .thumbnails-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
  }

  .thumb-item {
    flex: 0 0 64px;
    scroll-snap-align: start;
  }

  .variant-options-row {
    grid-template-columns: 1fr;
  }

  .freebies-included-box {
    flex-direction: row;
    align-items: flex-start;
    padding: 12px;
    gap: 12px;
  }

  .freebie-img-wrap {
    width: 75px;
    height: 75px;
  }

  .purchase-actions-wrap {
    grid-template-columns: 1fr;
  }

  .trust-badges-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bundle-grid {
    grid-template-columns: 1fr;
  }

  .bundle-summary-bar {
    flex-direction: column;
    text-align: center;
    padding: 16px 14px;
  }

  .bundle-summary-cta {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .reviews-summary-card {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .review-featured-proof {
    grid-column: span 1;
    padding: 16px;
  }

  .order-card-wrap {
    padding: 20px 14px;
    border-radius: var(--radius-md);
    box-sizing: border-box;
  }

  .order-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-group.full, .btn-submit-order, .order-form-summary, .bank-info-box {
    grid-column: span 1;
  }

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

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

  body {
    padding-bottom: 75px;
  }
}
