/* ==========================================================================
   ZEVORA — Website Quạt Trần Trang Trí Cao Cấp
   Phong cách: Doanh nghiệp Sang Trọng, Hiện Đại (Luxury Corporate)
   Bảng màu: Deep Midnight Navy (#061325), Champagne & Imperial Gold (#c5a059)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
  /* Brand Palette */
  --navy: #061325;
  --navy-deep: #030a14;
  --navy-light: #0e223d;
  --navy-card: #0a1b32;
  
  --gold: #c5a059;
  --gold-hover: #b18c42;
  --gold-light: #f6eedb;
  --gold-soft: rgba(197, 160, 89, 0.14);
  --gold-gradient: linear-gradient(135deg, #e5c87e 0%, #c5a059 50%, #9e7a2e 100%);
  --gold-text-grad: linear-gradient(135deg, #f0dfb0 0%, #c5a059 100%);

  /* Neutral & Functional */
  --ink: #111827;
  --ink-light: #2c384a;
  --muted: #59677b;
  --bg: #f8f9fb;
  --surface: #ffffff;
  --line: #e5e9f0;
  --line-gold: rgba(197, 160, 89, 0.28);
  
  /* Shadows & Radius */
  --shadow-sm: 0 4px 14px rgba(6, 19, 37, 0.05);
  --shadow-md: 0 12px 34px rgba(6, 19, 37, 0.08);
  --shadow-lg: 0 24px 64px rgba(6, 19, 37, 0.13);
  --shadow-gold: 0 10px 30px rgba(197, 160, 89, 0.28);
  --radius-sm: 8px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

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

button, input, select, textarea {
  font: inherit;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background: var(--navy-deep);
  color: #c4d2e5;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.topbar-badge::before {
  content: "★";
  color: var(--gold);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar a:hover {
  color: var(--gold);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 8px 24px rgba(6, 19, 37, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}

.brand img {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navlinks a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 4px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: color 0.22s ease;
}

.navlinks a:hover {
  color: var(--gold-hover);
}

.navlinks a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 5px;
  height: 2.5px;
  background: var(--gold-gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.navlinks a:hover::after,
.navlinks a.active::after {
  transform: scaleX(1);
}

.navlinks a.active {
  color: var(--gold-hover);
  font-weight: 700;
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(197, 160, 89, 0.38);
  filter: brightness(1.04);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--gold);
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-hover);
  background: #fffdf9;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 11px;
  color: var(--navy);
  cursor: pointer;
  transition: 0.2s;
}

.mobile-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 19, 37, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  visibility: hidden;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--navy-deep);
  color: #fff;
  z-index: 101;
  padding: 24px 20px;
  box-shadow: -10px 0 35px rgba(0,0,0,0.4);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-head img {
  height: 38px;
  filter: brightness(0) invert(1);
}

.drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  color: #fff;
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0;
}

.drawer-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  color: #dce5f2;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-nav a:hover,
.drawer-nav a.active {
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(145deg, #040c17 0%, #081a32 55%, #0d284f 100%);
  color: #fff;
  overflow: hidden;
  padding: 60px 0 75px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 50px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.12;
  margin: 10px 0 18px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero h1 span.gold {
  color: var(--gold);
  background: var(--gold-text-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 17px;
  line-height: 1.7;
  color: #c7d6e8;
  max-width: 560px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.18);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}

.trust-text strong {
  display: block;
  font-size: 13.5px;
  color: #fff;
}

.trust-text span {
  font-size: 12px;
  color: #a3b6cc;
}

/* Hero Visual & Floating Badge */
.hero-visual {
  position: relative;
}

.hero-visual .main-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4/3.2;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-visual:hover img {
  transform: scale(1.03);
}

.badge-warranty-seal {
  position: absolute;
  bottom: -24px;
  right: -16px;
  background: #fff;
  padding: 10px 16px 10px 12px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  border: 2px solid var(--gold);
  color: var(--navy);
  z-index: 2;
}

.badge-warranty-seal img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.badge-warranty-seal b {
  display: block;
  font-size: 14px;
  color: var(--navy-deep);
  line-height: 1.2;
}

.badge-warranty-seal span {
  font-size: 11.5px;
  color: var(--gold-hover);
  font-weight: 600;
}

/* ==========================================================================
   SECTIONS & TYPOGRAPHY
   ========================================================================== */
.section {
  padding: 85px 0;
}

.section-alt {
  background: #fff;
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.section-head.center {
  text-align: center;
  display: block;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  margin: 6px 0 0;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-dark .section-head h2 {
  color: #fff;
}

.section-head p.desc {
  max-width: 600px;
  color: var(--muted);
  font-size: 16px;
  margin: 10px 0 0;
}

.section-dark .section-head p.desc {
  color: #b8c9dd;
}

/* ==========================================================================
   PRODUCT CARDS & GRIDS
   ========================================================================== */
.grid-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.product-card-media {
  position: relative;
  aspect-ratio: 1.1;
  background: #f1f4f8;
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6, 19, 37, 0.85);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 160, 89, 0.4);
}

.product-badge-corner {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-model {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-hover);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.product-card h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 4px 0 10px;
  color: var(--navy);
}

.product-card p.summary {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}

.spec-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 0 20px;
}

.spec-pill {
  background: #f4f6f9;
  border: 1px solid #e9edf3;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 11.5px;
  color: var(--muted);
}

.spec-pill strong {
  display: block;
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
}
.product-card-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.product-card-pricing {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
}

.product-card-pricing .pricing-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.product-card-pricing .badge-discount {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 2px 7px;
  border-radius: 4px;
}

.product-card-pricing .price-current {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.product-card-pricing .price-curr {
  font-size: 14px;
  font-weight: 700;
  margin-left: 2px;
}

.product-price-label {
  font-size: 12px;
  color: var(--muted);
}

.product-price-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

/* ==========================================================================
   FEATURES & TECHNOLOGY GRID
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px 26px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  position: relative;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f7f1e3 0%, #ecd9b3 100%);
  color: var(--gold-hover);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.feature-box h3 {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--navy);
}

.feature-box p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   SHOWCASE SPOTLIGHT
   ========================================================================== */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 55px;
}

.spotlight-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #eceff4;
}

.spotlight-media img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.spotlight-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(6, 19, 37, 0.9);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  border-left: 3px solid var(--gold);
}

.spotlight-badge b {
  display: block;
  color: var(--gold);
  font-size: 14px;
}

.checklist {
  display: grid;
  gap: 14px;
  margin: 26px 0 32px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.18);
  color: var(--gold-hover);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-item-content b {
  display: block;
  font-size: 15px;
  color: var(--navy);
}

.check-item-content span {
  font-size: 13.5px;
  color: var(--muted);
}

/* ==========================================================================
   FAN SIZING GUIDE WIDGET (INTERACTIVE ROOM TOOL)
   ========================================================================== */
.sizer-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.sizer-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.sizer-tab {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: #f1f4f8;
  border: 1px solid #dfe5ee;
  color: var(--navy);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.sizer-tab.active,
.sizer-tab:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.sizer-result {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.sizer-result-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.sizer-result-info h4 {
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--navy);
}

/* ==========================================================================
   B2B & DEALER CALLOUT
   ========================================================================== */
.b2b-banner {
  background: linear-gradient(135deg, #040c17 0%, #0d223f 70%, #153866 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 50px 48px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: var(--shadow-lg);
}

.b2b-banner::before {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.b2b-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.b2b-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 12px;
  color: #fff;
}

.b2b-content p {
  color: #c9d7e8;
  font-size: 16px;
  margin: 0 0 24px;
  line-height: 1.65;
}

.b2b-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.b2b-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #e5edf7;
}

.b2b-perk::before {
  content: "✓";
  color: var(--gold);
  font-weight: 800;
}

/* ==========================================================================
   VIDEO SHOWCASE & MODAL
   ========================================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.3s;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.video-thumb-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  background: #061325;
  overflow: hidden;
}

.video-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.4s;
}

.video-card:hover .video-thumb-wrapper img {
  opacity: 1;
  transform: scale(1.04);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.25s;
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card-body {
  padding: 16px 18px;
}

.video-card-body h4 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--navy);
}

.video-card-body p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* Video Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 10, 20, 0.88);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-dialog {
  width: min(880px, 95vw);
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  border: 1px solid rgba(197, 160, 89, 0.4);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
  display: grid;
  place-items: center;
}

.modal-close:hover {
  background: var(--gold);
  color: var(--navy);
}

.modal-video-container {
  aspect-ratio: 16/9;
  width: 100%;
  background: #000;
}

.modal-video-container video {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE SPECIFICS
   ========================================================================== */
.crumbs {
  padding: 16px 0;
  font-size: 13.5px;
  color: var(--muted);
}

.crumbs a {
  color: var(--navy);
  font-weight: 500;
}

.crumbs a:hover {
  color: var(--gold-hover);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 105px;
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: #fff;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

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

.gallery-thumb-video {
  border-color: rgba(212, 175, 55, 0.45);
}

.gallery-thumb-video:hover,
.gallery-thumb-video.active {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.product-video-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(13, 26, 51, 0.88);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 20px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  pointer-events: none;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
    padding: 10px 16px;
    align-items: center;
    gap: 12px;
  }
  .gallery-thumbs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
}

/* Product Info */
.product-info h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.18;
  margin: 8px 0 14px;
  color: var(--navy);
}

.product-info p.lead {
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 24px;
}

.product-buybox {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}

.buybox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.buybox-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #107c41;
  font-weight: 700;
  background: #eafaf1;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.buybox-status::before {
  content: "●";
  font-size: 10px;
}

.buybox-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.buybox-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.buybox-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0 30px;
}

.spec-table th,
.spec-table td {
  padding: 13px 18px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 36%;
  background: #f8fafc;
  color: var(--navy);
  font-weight: 700;
}

.spec-table td {
  color: var(--ink-light);
}

.spec-table tr:hover td {
  background: #fcfdfe;
}

.product-notice {
  background: #fffaf0;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 13.5px;
  color: #665022;
  margin: 20px 0;
  line-height: 1.6;
}

/* ==========================================================================
   COMPARISON TABLE (ALL 5 MODELS)
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  min-width: 750px;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

.compare-table th.highlight {
  color: var(--gold);
}

.compare-table td.model-name {
  font-weight: 700;
  color: var(--navy);
}

.compare-table tr:hover td {
  background: #f9fbfd;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f4f8;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--navy);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   CONTACT & FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}

.contact-info-list {
  display: grid;
  gap: 20px;
  margin: 28px 0;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f7f1e3 0%, #ecd9b3 100%);
  color: var(--gold-hover);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.contact-info-item strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-info-item a {
  color: var(--muted);
}

.contact-info-item a:hover {
  color: var(--gold-hover);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #dce2ec;
  border-radius: 12px;
  background: #fbfcfe;
  font-size: 14.5px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
  background: #fff;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--navy-deep);
  color: #a6b8cc;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: #93a7bd;
  max-width: 320px;
}

.footer h4 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

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

.footer-links a {
  color: #a6b8cc;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-contact a {
  color: #a6b8cc;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #7b8ea3;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (ZALO & HOTLINE)
   ========================================================================== */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 85;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: var(--radius-full);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.float-btn .icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.2);
}

.float-zalo {
  background: linear-gradient(135deg, #0068ff 0%, #004ecc 100%);
}

.float-phone {
  background: linear-gradient(135deg, #0f9d58 0%, #0b7c45 100%);
  animation: floatPulse 2.4s infinite;
}

@keyframes floatPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(15, 157, 88, 0.5), 0 10px 25px rgba(0,0,0,0.25);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(15, 157, 88, 0), 0 14px 30px rgba(0,0,0,0.3);
  }
}

















.mobile-drawer {
  pointer-events: none;
}

.mobile-drawer.open {
  pointer-events: auto;
}


/* ==========================================================================
   ZEVORA LUXURY PRICING STYLES (Cards & Buybox)
   ========================================================================== */
.product-card-pricing {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pricing-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-original {
  font-size: 13px;
  color: #8c9ba5;
  text-decoration: line-through;
  font-weight: 500;
}

.badge-discount {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #b3261e;
  background: #fdf2f2;
  border: 1px solid #fecaca;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.price-current {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.price-current .price-curr {
  font-size: 15px;
  font-weight: 700;
  margin-left: 1px;
}

/* Buybox Luxury Price Box */
.buybox-price-box {
  background: linear-gradient(135deg, #fbfaf7 0%, #f7f4ed 100%);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 12px rgba(6, 19, 37, 0.03);
}

.buybox-launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 160, 89, 0.16);
  color: #8c6820;
  border: 1px solid rgba(197, 160, 89, 0.45);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.buybox-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

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

.buybox-price-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.buybox-current-price {
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 900;
  color: #b3261e;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-family: var(--font-sans);
}

.buybox-current-price .currency {
  font-size: 20px;
  font-weight: 700;
}

.buybox-discount-pill {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
  letter-spacing: 0.03em;
}

.buybox-original-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
  flex-wrap: wrap;
}

.buybox-original-row del {
  color: #8899aa;
  font-weight: 600;
}

.buybox-save-tag {
  color: #0f766e;
  font-weight: 700;
  font-size: 12px;
  background: #f0fdf4;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #bbf7d0;
}

/* ==========================================================================
   2-COLUMN TECHNICAL & BRAND LAYOUT (.product-tech-layout)
   TRÁI: THÔNG SỐ KỸ THUẬT | PHẢI: CAM KẾT THƯƠNG HIỆU + LỜI KHUYÊN KỸ THUẬT
   ========================================================================== */
.product-tech-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
  margin-top: 36px;
}

.product-specifications {
  grid-column: 1;
}

.product-right-column {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-specifications .spec-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.product-specifications .spec-card-head {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.product-specifications .spec-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.product-specifications .spec-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-specifications .spec-table {
  margin: 0;
}

.product-right-column .product-trust-card {
  margin-top: 0;
}

/* ==========================================================================
   BRAND TRUST BOX (.product-trust-card)
   ========================================================================== */
.product-trust-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
}

.trust-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.trust-card-title .icon {
  color: var(--gold-hover);
  font-size: 16px;
}

/* Lời Khuyên Kỹ Thuật Card */
.tech-advice-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--navy);
}

.tech-advice-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.tech-advice-title .icon {
  color: var(--gold-hover);
  font-size: 16px;
}

.tech-advice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tech-advice-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.tech-advice-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(6, 19, 37, 0.06);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.tech-advice-text {
  flex: 1;
}

.tech-advice-text strong {
  display: block;
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 2px;
}

.tech-advice-text span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 991px) {
  .product-tech-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }
  .product-specifications {
    grid-column: 1;
  }
  .product-right-column {
    grid-column: 1;
  }
}

.trust-item-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.trust-item-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(197, 160, 89, 0.12);
  color: #8c6820;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.trust-item-text {
  flex: 1;
}

.trust-item-text strong {
  display: block;
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 2px;
}

.trust-item-text span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* ==========================================================================
   RELATED PRODUCTS SECTION
   ========================================================================== */
.related-products-section {
  padding: 70px 0 85px;
  background: #f8fafc;
  border-top: 1px solid var(--line);
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}





/* ==========================================================================
   ZEVORA LUXURY E-COMMERCE STYLES
   Header Cart, Search Modal, Drawer Cart, Checkout, Reviews, FAQ & Mobile Bar
   ========================================================================== */

/* 1. Header Cart & Search Icons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(6, 19, 37, 0.04);
  border: 1px solid var(--line);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.nav-icon-btn:hover {
  background: #fff;
  border-color: var(--gold);
  color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cart-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: 10px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(183, 28, 28, 0.35);
  line-height: 1;
}

/* 2. Toast Notifications */
.zevora-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #061325;
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--gold);
  z-index: 99999;
  transform: translateY(120px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.zevora-toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.zevora-toast .toast-icon {
  font-size: 18px;
}

/* Legacy cart drawer rules replaced by unified Eveon luxury drawer below */

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: #fbfaf8;
}

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

.cart-drawer-header h3 {
  font-size: 17px;
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.cart-drawer-close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.cart-drawer-close:hover {
  color: var(--navy);
  background: rgba(0, 0, 0, 0.05);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f3f6;
  align-items: flex-start;
}

.cart-item-thumb {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: #f7f9fb;
  border: 1px solid var(--line);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-model {
  font-size: 11px;
  color: var(--gold-hover);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
}

.cart-item-title a {
  color: var(--navy);
  text-decoration: none;
}

.cart-item-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.cart-item-price {
  font-size: 15px;
  font-weight: 800;
  color: #b3261e;
}

.cart-item-old-price {
  font-size: 12px;
  color: #8c9ba5;
  text-decoration: line-through;
}

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

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.qty-stepper button {
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s;
}

.qty-stepper button:hover {
  background: #e2e8f0;
}

.qty-stepper input {
  width: 34px;
  height: 28px;
  border: none;
  background: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.btn-remove-item {
  background: transparent;
  border: none;
  font-size: 12px;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s;
}

.btn-remove-item:hover {
  color: #ef4444;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  background: #fbfaf8;
}

.voucher-form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.voucher-form input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  outline: none;
}

.voucher-form input:focus {
  border-color: var(--gold);
}

.voucher-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #15803d;
  font-weight: 600;
  margin-bottom: 14px;
}

.voucher-applied button {
  background: transparent;
  border: none;
  color: #dc2626;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

.cart-summary-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.free-ship-tag {
  color: #107c41;
  font-weight: 700;
  font-size: 12.5px;
  background: #eafaf1;
  padding: 2px 8px;
  border-radius: 4px;
}

.summary-row.total-row {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.summary-row .total-price {
  font-size: 22px;
  color: #b3261e;
}

.cart-drawer-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   EVEON-STYLE LUXURY FAST ORDER & CHECKOUT EXPERIENCE
   ========================================================================== */
.cart-header-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(197, 160, 89, 0.14);
  color: #b18c42;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.cart-header-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.cart-perk-bar {
  background: linear-gradient(90deg, #FAF6F0 0%, #F5EFEB 100%);
  border-bottom: 1px solid #EAE0D5;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #7A5C2E;
}

.checkout-form-box {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-form-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.form-group-luxury {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.form-group-luxury .input-icon-box {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  font-size: 15px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.form-group-luxury input,
.form-group-luxury textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 38px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--navy);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-group-luxury textarea {
  height: auto;
  min-height: 44px;
  padding-top: 10px;
  padding-bottom: 10px;
  resize: vertical;
}

.form-group-luxury input:focus,
.form-group-luxury textarea:focus {
  border-color: #c5a059;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

.form-group-luxury input::placeholder,
.form-group-luxury textarea::placeholder {
  color: #94a3b8;
  font-size: 13px;
}

/* Payment Method Selection */
.checkout-payment-selection {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 10px;
}

.payment-method-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  position: relative;
}

.payment-method-card:hover {
  border-color: #cbd5e1;
}

.payment-method-card.active,
.payment-method-card.selected,
.payment-method-card:has(input[type="radio"]:checked) {
  border-color: #c5a059;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.08) 0%, rgba(6, 19, 37, 0.02) 100%);
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.15);
}

.payment-method-card input[type="radio"] {
  accent-color: #c5a059;
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}

.payment-method-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f1f5f9;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.payment-method-card.active .payment-method-icon,
.payment-method-card.selected .payment-method-icon,
.payment-method-card:has(input[type="radio"]:checked) .payment-method-icon {
  background: #c5a059;
  color: #ffffff;
}

.payment-method-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.payment-method-text strong {
  font-size: 13.5px;
  color: var(--navy);
  line-height: 1.3;
}

.payment-method-text span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.25;
  margin-top: 2px;
}

/* Big Luxury Checkout Button (Eveon Style) */
.btn-checkout-luxury {
  width: 100%;
  padding: 13px 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #e85d04 0%, #dc2f02 100%);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 6px 20px rgba(220, 47, 2, 0.32);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 4px;
  text-decoration: none;
}

.btn-checkout-luxury:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 47, 2, 0.42);
  background: linear-gradient(135deg, #f46a06 0%, #ea380b 100%);
}

.btn-checkout-luxury:active {
  transform: translateY(0);
}

.btn-checkout-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-checkout-subtitle {
  font-size: 11.5px;
  font-weight: 500;
  opacity: 0.92;
}

/* Trust Guarantees */
.checkout-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.trust-pill {
  font-size: 11px;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  font-weight: 600;
}

.cart-empty-state {
  text-align: center;
  padding: 48px 16px;
}

.cart-empty-state .empty-icon {
  font-size: 54px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.cart-empty-state h4 {
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 8px;
}

.cart-empty-state p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

/* 4. Global Search Modal */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  visibility: hidden;
  transition: visibility 0.25s;
}

.search-modal.open {
  visibility: visible;
}

.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 19, 37, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s;
}

.search-modal.open .search-modal-backdrop {
  opacity: 1;
}

.search-modal-dialog {
  position: relative;
  max-width: 640px;
  margin: 80px auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: translateY(-20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal.open .search-modal-dialog {
  transform: translateY(0) scale(1);
}

.search-modal-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}

.search-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-input-wrapper .search-icon {
  font-size: 18px;
  color: var(--gold);
}

.search-input-wrapper input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--navy);
  font-weight: 500;
}

.clear-search-btn {
  background: #f1f5f9;
  border: none;
  color: #64748b;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
}

.search-modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}

.search-quick-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #fbfaf8;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

.search-quick-tags button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.15s;
}

.search-quick-tags button:hover {
  border-color: var(--gold);
  color: var(--gold-hover);
  background: #fffdf9;
}

.search-modal-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 16px 20px;
}

.search-initial-hint {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  padding: 24px 0;
}

.search-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.search-item:hover {
  background: #f8fafc;
  border-color: var(--line);
}

.search-item img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f4f8;
}

.search-item .item-model {
  font-size: 11px;
  color: var(--gold-hover);
  font-weight: 700;
  text-transform: uppercase;
}

.search-item h6 {
  font-size: 14px;
  color: var(--navy);
  margin: 2px 0 4px;
  font-weight: 700;
}

.search-item .item-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.search-item .item-price strong {
  color: #b3261e;
  font-size: 14.5px;
}

.search-item .item-price del {
  color: #8c9ba5;
  font-size: 12px;
}

/* 5. Enhanced Product Cards */
.product-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12px;
}

.rating-stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

.rating-count {
  color: var(--muted);
  font-size: 11.5px;
}

.product-stock-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #107c41;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-stock-tag::before {
  content: "●";
  font-size: 9px;
}

.card-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.btn-add-cart {
  background: #f1f5f9;
  color: var(--navy);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-add-cart:hover {
  background: #e2e8f0;
  color: var(--navy-deep);
}

.btn-buy-now {
  background: linear-gradient(135deg, #c5a059 0%, #a8843c 100%);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(197, 160, 89, 0.35);
}

.btn-buy-now:hover {
  background: linear-gradient(135deg, #d4af66 0%, #b89146 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.45);
}

/* 6. Product Detail Page Rich Sections */
.detail-rating-stock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.detail-highlights-box {
  background: #fbfaf8;
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 16px 0 20px;
}

.detail-highlights-box h4 {
  font-size: 13px;
  color: var(--gold-hover);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
  font-weight: 800;
}

.detail-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.detail-highlights-list li {
  font-size: 13.5px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-highlights-list li::before {
  content: "✓";
  color: var(--gold-hover);
  font-weight: 900;
  font-size: 13px;
}

.buybox-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.buybox-qty-cta {
  display: flex;
  gap: 12px;
}

.buybox-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  height: 48px;
}

.buybox-qty-stepper button {
  width: 40px;
  height: 100%;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s;
}

.buybox-qty-stepper button:hover {
  background: #e2e8f0;
}

.buybox-qty-stepper input {
  width: 44px;
  height: 100%;
  border: none;
  background: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.btn-add-cart-large {
  flex: 1;
  height: 48px;
  background: #061325;
  color: #fff;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-add-cart-large:hover {
  background: #0e2749;
  border-color: #dfba70;
  color: var(--gold);
}

.btn-buy-now-large {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #c5a059 0%, #a8843c 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn-buy-now-large:hover {
  background: linear-gradient(135deg, #d4af66 0%, #b89146 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.55);
}

.buybox-contact-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.buybox-contact-links a {
  flex: 1;
  font-size: 13px;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.buybox-contact-links .link-hotline {
  background: #eafaf1;
  color: #107c41;
  border: 1px solid #bbf7d0;
}

.buybox-contact-links .link-zalo {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

/* 7. Bottom 10 Sections Styling */
.product-rich-section {
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

.product-rich-section:nth-child(even) {
  background: #f8fafc;
}

.section-subhead {
  font-size: 12px;
  color: var(--gold-hover);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}

.rich-section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--navy);
  margin: 0 0 28px;
}

/* Feature 4-grid */
.features-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: all 0.25s;
}

.feature-card-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.feature-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-card-item h4 {
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 8px;
}

.feature-card-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* HTML Specs Table */
.full-specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.full-specs-table th,
.full-specs-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.full-specs-table tr:nth-child(even) {
  background: #fbfaf8;
}

.full-specs-table th {
  width: 30%;
  color: var(--navy);
  font-weight: 700;
  background: rgba(6, 19, 37, 0.02);
}

.full-specs-table td {
  color: #334155;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question .icon-toggle {
  font-size: 18px;
  color: var(--gold-hover);
  transition: transform 0.25s;
}

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

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Customer Reviews Block */
.reviews-summary-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 30px;
}

.reviews-score-box {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}

.score-num {
  font-size: 46px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.score-stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.score-text {
  font-size: 13px;
  color: var(--muted);
}

.reviews-bars-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.review-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}

.review-bar-item .bar-track {
  flex: 1;
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}

.review-bar-item .bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 4px;
}

.reviews-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.review-user-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.review-user-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-user-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.review-badge-verified {
  font-size: 11px;
  color: #107c41;
  background: #eafaf1;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.review-user-comment {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* 8. Sticky Mobile Buy Bar */
.mobile-sticky-buy-bar {
  display: none;
}



/* 9. Standalone Cart & Checkout Pages */
.cart-page-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
}

.checkout-container-narrow {
  max-width: 860px;
  margin-inline: auto;
}

.checkout-flow-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-step-title {
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.checkout-page-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.checkout-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

@media (max-width: 768px) {
  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Khung QR MB Bank Thanh Toán */
.qr-code-wrapper {
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(6, 19, 37, 0.08);
  border: 1px solid var(--line);
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
}

.qr-code-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

/* Nút sao chép */
.btn-copy-action {
  background: #ffffff;
  border: 1.5px solid var(--gold);
  color: var(--gold-hover);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-copy-action:hover {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(197, 160, 89, 0.25);
}

.btn-copy-syntax {
  border-color: #0284c7;
  color: #0284c7;
}

.btn-copy-syntax:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
}

/* Nút Xác nhận đặt hàng lớn */
.btn-submit-checkout {
  width: 100%;
  padding: 18px 24px;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-submit-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(197, 160, 89, 0.5);
  filter: brightness(1.04);
}

.form-group-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group-field label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}

.form-group-field input,
.form-group-field select,
.form-group-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  color: var(--navy);
  background: #fff;
  transition: all 0.2s;
  outline: none;
}

.form-group-field input:focus,
.form-group-field select:focus,
.form-group-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.form-group-field.has-error input,
.form-group-field.has-error select,
.form-group-field.has-error textarea {
  border-color: #ef4444;
  background: #fff5f5;
}

.field-error-msg {
  color: #ef4444;
  font-size: 12px;
  display: none;
}

.form-group-field.has-error .field-error-msg {
  display: block;
}

.payment-method-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.payment-method-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-method-card.selected,
.payment-method-card:hover {
  border-color: var(--gold);
  background: #fffdfa;
}

.payment-method-card input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--gold);
}

.payment-card-info strong {
  display: block;
  font-size: 14.5px;
  color: var(--navy);
  margin-bottom: 2px;
}

.payment-card-info span {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
  display: block;
}

.bank-transfer-details {
  display: none;
  background: #f8fafc;
  border: 1px dashed var(--gold);
  border-radius: 10px;
  padding: 14px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--navy);
  line-height: 1.6;
}

.payment-method-card.selected .bank-transfer-details {
  display: block;
}

.checkout-order-summary {
  background: #fbfaf8;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 105px;
}

.checkout-order-summary h3 span,
.checkout-badge-count {
  position: static !important;
  display: inline !important;
  background: none !important;
  color: inherit !important;
  border: none !important;
  box-shadow: none !important;
  font-size: inherit !important;
  padding: 0 !important;
  line-height: inherit !important;
}

.order-items-scroll {
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 4px;
}

/* 10. Order Success Page */
.order-success-card {
  max-width: 680px;
  margin: 40px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.success-badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #eafaf1;
  color: #107c41;
  display: grid;
  place-items: center;
  font-size: 36px;
  margin: 0 auto 20px;
}

.order-id-highlight {
  display: inline-block;
  background: #f8fafc;
  border: 1px dashed var(--gold);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.05em;
  margin: 12px 0 24px;
}

.order-details-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  text-align: left;
  font-size: 13.5px;
}

.order-details-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

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

.order-details-table td:first-child {
  color: var(--muted);
  width: 35%;
}

.order-details-table td:last-child {
  font-weight: 700;
  color: var(--navy);
}

/* 11. Policies Page Styling */
.policy-page-header {
  text-align: center;
  margin-bottom: 40px;
}

.policy-page-header .section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--navy);
  margin: 8px 0 14px;
  line-height: 1.25;
}

.policy-page-header .section-subtitle {
  color: var(--muted);
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.policy-nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.policy-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  text-decoration: none;
}

.policy-nav-pill:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.policy-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 38px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 90px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.policy-card:hover {
  border-color: rgba(197, 160, 89, 0.4);
  box-shadow: var(--shadow-md);
}

.policy-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.policy-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.policy-card-icon svg {
  stroke: var(--gold-hover);
}

.policy-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.2vw, 25px);
  color: var(--navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.3;
}

.policy-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 22px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-card p {
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
  margin: 8px 0 14px;
}

.policy-card ul {
  padding-left: 0;
  list-style: none;
  margin: 12px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-card li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: #334155;
  line-height: 1.65;
}

.policy-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-hover);
  font-weight: 700;
  font-size: 15px;
}

.policy-highlight-box {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.09) 0%, rgba(197, 160, 89, 0.03) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 22px;
  margin: 18px 0 22px;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.65;
}

.policy-highlight-box.green {
  background: #f0fdf4;
  border-left-color: #16a34a;
  color: #166534;
}

.policy-support-banner {
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
}

.policy-support-banner h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: #ffffff;
  margin: 0 0 8px;
}

.policy-support-banner p {
  color: #cbd5e1;
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

.policy-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gold-gradient);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
  text-decoration: none;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.policy-support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(197, 160, 89, 0.4);
}

@media (max-width: 768px) {
  .policy-card {
    padding: 24px 20px;
  }
  .policy-support-banner {
    padding: 26px 20px;
    flex-direction: column;
    text-align: center;
  }
  .policy-support-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive adjustments */





/* ==========================================================================
   ZEVORA E-COMMERCE HEADER & ACTION BUTTONS
   ========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Các nút hình tròn: Icon Tài Khoản, Icon Tìm Kiếm, Icon Giỏ Hàng */
.header-circle-btn,
.header-user-btn,
.header-search-btn,
.header-cart-btn {
  width: 38px;
  height: 38px;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--navy);
  cursor: pointer;
  position: relative;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  flex-shrink: 0;
  box-sizing: border-box;
  font-family: inherit;
}

.header-circle-btn:hover,
.header-user-btn:hover,
.header-search-btn:hover,
.header-cart-btn:hover {
  border-color: var(--gold);
  color: var(--gold-hover);
  background: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.22);
}

.header-circle-btn svg,
.header-user-btn svg,
.header-search-btn svg,
.header-cart-btn svg {
  display: block;
  pointer-events: none;
}

/* Badge số lượng sản phẩm giỏ hàng */
.header-cart-btn .cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #dc2626;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 999px;
  text-align: center;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.45);
  border: 1.5px solid #ffffff;
  pointer-events: none;
}

/* Nút Hotline ZEVORA dạng pill bo tròn */
.header-hotline-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  flex-shrink: 0;
}

.header-hotline-btn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 8px 22px rgba(197, 160, 89, 0.38);
  color: var(--navy-deep);
  filter: brightness(1.03);
}

.header-hotline-btn svg {
  flex-shrink: 0;
  display: block;
}



/* ==========================================================================
   PRODUCT CARDS ENHANCED (DESKTOP & MOBILE 2-COL)
   ========================================================================== */
.product-card-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 1 / 0.9;
  background: #f8fafc;
}

.product-card-media .media-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.product-card-media img.img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.product-card-media img.img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

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

.product-stock-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #107c41;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12px;
}

.product-card-rating .rating-stars {
  color: #f59e0b;
  letter-spacing: 1px;
  font-size: 13px;
}

.product-card-rating .rating-count {
  color: var(--muted);
  font-size: 11.5px;
}

.card-action-group {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 8px;
  width: 100%;
  margin-top: 0;
}

.card-action-group .btn-add-cart {
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 700;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: var(--navy);
  border-radius: 10px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
}

.card-action-group .btn-add-cart:hover {
  border-color: var(--gold);
  background: rgba(197, 160, 89, 0.1);
  color: var(--gold-hover);
}

.card-action-group .btn-buy-now {
  padding: 10px 10px;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, #e85d04 0%, #dc2f02 100%);
  border: none;
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(220, 47, 2, 0.25);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
}

.card-action-group .btn-buy-now:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(220, 47, 2, 0.38);
  background: linear-gradient(135deg, #f46a06 0%, #ea380b 100%);
}

.card-action-group .btn-detail {
  grid-column: span 2;
  text-align: center;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  border: none;
  background: transparent;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.card-action-group .btn-detail:hover {
  color: var(--navy);
  text-decoration: underline;
}



/* Extra small devices (<= 360px) */


/* Safe-Area and Responsive Utilities */


.table-responsive,
div[style*="overflow-x:auto"] {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cart-drawer-footer {
  padding-bottom: max(20px, env(safe-area-inset-bottom));
}

.drawer-footer {
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}


/* ==========================================================================
   ZEVORA UNIFIED RESPONSIVE DESIGN SYSTEM
   Organized strictly: Desktop -> 1200px -> 1024px -> 920px -> 768px -> 640px -> 480px -> 430px -> 390px -> 360px
   ========================================================================== */

/* ==========================================================================
   1. LARGE LAPTOPS & COMPACT DESKTOP (<= 1200px)
   ========================================================================== */
@media (max-width: 1200px) {
  .container {
    width: min(1140px, 94vw);
  }

  .hero-grid {
    gap: 36px;
  }

  .product-detail-grid {
    gap: 36px;
  }
}

/* ==========================================================================
   2. TABLET LANDSCAPE & MEDIUM LAPTOPS (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 600px;
    margin-inline: auto;
  }

  .grid-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-gallery {
    position: static;
    max-width: 580px;
    margin-inline: auto;
  }

  .spotlight {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .b2b-grid, 
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .cart-page-layout,
  .checkout-page-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .cart-page-layout > *,
  .checkout-page-layout > * {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .reviews-summary-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reviews-score-box {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 20px;
  }
}

/* ==========================================================================
   2. LAPTOP & SMALL DESKTOP ADJUSTMENTS (921px - 1160px)
   ========================================================================== */
@media (max-width: 1160px) and (min-width: 921px) {
  .nav {
    gap: 12px;
  }
  .navlinks {
    gap: 14px;
  }
  .navlinks a {
    font-size: 13.5px;
    padding: 0 2px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-hotline-btn {
    padding: 0 12px;
    font-size: 13px;
  }
}

/* ==========================================================================
   3. TABLET PORTRAIT & MOBILE HEADER (<= 920px)
   ========================================================================== */
@media (max-width: 920px) {
  /* Hide cluttered topbar on tablet and mobile */
  .topbar {
    display: none;
  }

  .nav {
    height: 60px;
  }

  .brand img {
    height: 34px;
    max-width: 130px;
  }

  /* Desktop menu hidden, replaced by mobile toggle */
  .navlinks, 
  .navcta {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: var(--navy);
    cursor: pointer;
    margin-left: 2px;
    transition: all 0.2s ease;
  }

  .mobile-toggle:hover {
    border-color: var(--gold);
    color: var(--gold-hover);
  }

  .header-actions {
    display: flex !important;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    margin-right: 4px;
  }

  .header-circle-btn,
  .header-user-btn,
  .header-search-btn,
  .header-cart-btn {
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .hide-mobile {
    display: none !important;
  }

  .feature-grid, 
  .video-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  /* Section Header: Stack title and description vertically on tablet and mobile */
  .section-head:not(.center) {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
  }

  .section-head:not(.center) > div,
  .section-head:not(.center) h1,
  .section-head:not(.center) h2,
  .section-head:not(.center) p.desc {
    width: 100%;
    max-width: 100%;
  }

  .section-head:not(.center) p.desc {
    margin-top: 4px;
    font-size: 14.5px;
    line-height: 1.55;
  }

  .section-head.center {
    margin-bottom: 28px;
  }

  /* Sticky Mobile Buy Bar */
  .mobile-sticky-buy-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 8px 14px max(8px, env(safe-area-inset-bottom));
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
  }

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

  .mobile-sticky-buy-bar .bar-info,
  .mobile-buy-bar-price {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
  }

  .mobile-sticky-buy-bar .bar-name {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
  }

  .mobile-sticky-buy-bar .bar-price,
  .mobile-buy-bar-price .price-now {
    font-size: 15px;
    font-weight: 800;
    color: #b3261e;
    line-height: 1.2;
  }

  .mobile-buy-bar-price .price-was {
    font-size: 11px;
    color: #8c9ba5;
    text-decoration: line-through;
  }

  .mobile-buy-bar-actions {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
  }

  .mobile-sticky-buy-bar .btn,
  .mobile-buy-bar-actions .btn-add-cart-sm,
  .mobile-buy-bar-actions .btn-buy-now-sm {
    padding: 8px 10px;
    font-size: 11.5px;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 8px;
  }

  .mobile-buy-bar-actions .btn-add-cart-sm {
    background: #061325;
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer;
  }

  .mobile-buy-bar-actions .btn-buy-now-sm {
    background: linear-gradient(135deg, #c5a059 0%, #a8843c 100%);
    color: #fff;
    border: none;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
  }

  /* Floating Action Buttons */
  .floating-actions {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(20px, calc(16px + env(safe-area-inset-bottom)));
    gap: 10px;
  }

  body.has-visible-sticky-bar .floating-actions,
  body:has(.mobile-sticky-buy-bar.visible) .floating-actions {
    bottom: max(88px, calc(78px + env(safe-area-inset-bottom))) !important;
  }
}

/* ==========================================================================
   4. TABLET PORTRAIT / LARGE SMARTPHONES (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
/* Prevent any horizontal overflow */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container {
    width: 100% !important;
    padding-inline: 18px !important;
    box-sizing: border-box !important;
  }

  /* Section Spacing */
  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  /* Checkout and Cart layout adjustments on tablet and mobile */
  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .checkout-card,
  .checkout-order-summary {
    padding: 20px 16px !important;
    border-radius: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .payment-method-card {
    padding: 14px 14px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .payment-card-info {
    min-width: 0 !important;
    flex: 1 !important;
    word-break: break-word !important;
  }

  .order-items-scroll {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .order-items-scroll > div {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .section-header h2 {
    font-size: clamp(23px, 6.2vw, 30px);
    line-height: 1.25;
    letter-spacing: -0.01em;
  }

  .section-header p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 8px;
  }

  /* Header Mobile */
  .header {
    border-bottom: 1px solid rgba(6, 19, 37, 0.08);
  }

  .nav {
    height: 64px;
    gap: 16px;
  }

  .brand img {
    height: 38px;
    max-width: 135px;
    object-fit: contain;
  }

  .mobile-toggle {
    background: #f8fafc;
    border: 1px solid var(--line);
    color: var(--navy);
    border-radius: 12px;
  }

  /* Mobile Drawer */
  .mobile-drawer {
    width: 300px;
    max-width: 85vw;
    padding: 20px 18px;
  }

  .drawer-head {
    padding-bottom: 16px;
  }

  .drawer-head img {
    height: 34px;
  }

  .drawer-close {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .drawer-nav {
    margin: 18px 0;
    gap: 6px;
  }

  .drawer-nav a {
    padding: 13px 14px;
    font-size: 15px;
    min-height: 48px;
  }

  .drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .drawer-footer .btn {
    width: 100%;
    min-height: 46px;
    font-size: 13.5px;
    justify-content: center;
  }

  /* Hero Mobile */
  .hero {
    padding: 32px 0 46px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    line-height: 1.4;
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
  }

  .hero h1 {
    font-size: clamp(24px, 6.8vw, 34px);
    line-height: 1.25;
    margin: 12px 0 16px;
    letter-spacing: -0.015em;
  }

  .hero p.lead {
    font-size: 14.5px;
    line-height: 1.62;
    margin-bottom: 22px;
    color: #c4d4e6;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 26px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 14.5px;
    justify-content: center;
    text-align: center;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 18px;
  }

  .trust-item {
    gap: 12px;
  }

  .trust-text strong {
    font-size: 13px;
  }

  .trust-text span {
    font-size: 11.5px;
  }

  /* Hero Visual & Warranty Seal */
  .hero-visual {
    margin-top: 10px;
    width: 100%;
  }

  .hero-visual .main-card {
    border-radius: 16px;
  }

  .badge-warranty-seal {
    position: absolute;
    right: 10px;
    bottom: -14px;
    padding: 8px 12px;
    gap: 8px;
    border-radius: 12px;
    max-width: 85%;
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  }

  .badge-warranty-seal img {
    width: 36px;
    height: 36px;
  }

  .badge-warranty-seal b {
    font-size: 12.5px;
  }

  .badge-warranty-seal span {
    font-size: 10.5px;
  }

  /* Product Cards Mobile */
  .grid-products {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .product-card {
    border-radius: 18px;
    max-width: 440px;
    margin-inline: auto;
    width: 100%;
  }

  .product-card-media {
    aspect-ratio: 1 / 1;
  }

  .product-card-body {
    padding: 20px 18px;
  }

  .product-card-model {
    font-size: 11.5px;
  }

  .product-card h3 {
    font-size: 17px;
    line-height: 1.35;
    margin: 4px 0 8px;
  }

  .product-card p.summary {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .spec-pills {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 16px;
  }

  .spec-pill {
    padding: 6px 8px;
    font-size: 11px;
    border-radius: 8px;
  }

  .spec-pill strong {
    font-size: 12px;
  }

  .product-card-footer {
    padding-top: 14px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .product-price-value {
    font-size: 16px;
  }

  /* Feature Grid & Video Grid */
  .feature-grid, .video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-box {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .feature-box h3 {
    font-size: 16.5px;
    margin: 12px 0 6px;
  }

  .feature-box p {
    font-size: 13.5px;
  }

  /* Room Sizing Guide Mobile */
  .sizer-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .sizer-tab {
    flex-shrink: 0;
    padding: 10px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .sizer-result {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .result-specs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sizer-widget {
    padding: 20px 16px;
  }

  .b2b-banner {
    padding: 28px 18px;
  }

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

  /* Product Detail Page Mobile */
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-detail-grid,
  .product-detail-grid > *,
  .product-gallery,
  .product-info,
  .product-buybox {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .product-buybox div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .product-buybox div[style*="grid-template-columns:1fr 1fr"] .btn {
    width: 100% !important;
    white-space: normal !important;
    padding: 12px 10px !important;
    font-size: 13.5px !important;
  }

  div[style*="minmax(280px, 1fr)"],
  div[style*="minmax(240px, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  div[style*="padding:32px"],
  div[style*="padding:30px"] {
    padding: 20px 14px !important;
  }

  .product-gallery {
    width: 100%;
  }

  .gallery-main {
    border-radius: 16px;
  }

  .gallery-thumbs {
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .gallery-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .product-info h1 {
    font-size: clamp(23px, 6.2vw, 30px);
    line-height: 1.25;
    margin: 6px 0 10px;
  }

  .product-info p.lead {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .product-buybox {
    padding: 18px 16px;
    margin: 18px 0 24px;
    border-radius: 14px;
  }

  .buybox-price {
    font-size: 22px;
  }

  .buybox-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .buybox-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* Key-Value Transform for Spec Table on Mobile */
  .spec-table, 
  .spec-table tbody, 
  .spec-table tr, 
  .spec-table th, 
  .spec-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  .spec-table {
    border: none;
    background: transparent;
    margin: 16px 0 24px;
  }

  .spec-table tr {
    margin-bottom: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
  }

  .spec-table th {
    width: 100% !important;
    padding: 9px 12px;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    border-bottom: 1px solid var(--line);
  }

  .spec-table td {
    width: 100% !important;
    padding: 10px 12px;
    font-size: 13.5px;
    color: var(--ink);
    border-bottom: none;
  }

  .product-notice {
    padding: 14px 16px;
    font-size: 13px;
    border-radius: 10px;
    margin: 16px 0;
  }

  /* Comparison Table on Mobile */
  .table-responsive {
    border-radius: 14px;
    margin: 20px 0;
    -webkit-overflow-scrolling: touch;
  }

  /* FAQ Accordion Mobile */
  .faq-question {
    padding: 16px 18px;
    font-size: 14.5px;
  }

  .faq-answer p {
    padding: 0 18px 16px;
    font-size: 13.5px;
  }

  /* Form Elements Mobile (No iOS zoom, touch-friendly min-height) */
  .form-control {
    font-size: 16px !important; /* Critical for preventing auto-zoom in iOS Safari */
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  textarea.form-control {
    min-height: 100px;
  }

  .form-group label {
    font-size: 13px;
  }

  .contact-form .btn {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
    font-weight: 700;
    justify-content: center;
  }

  .contact-info-item {
    padding: 14px;
    border-radius: 12px;
  }

  /* Footer Mobile */
  .footer {
    padding: 48px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 36px;
  }

  .footer-brand img {
    height: 40px;
  }

  .footer-brand p {
    max-width: 100%;
    font-size: 13.5px;
  }

  .footer h4 {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 12px;
    padding-top: 20px;
  }

  /* Floating Action Buttons Mobile */
  .floating-actions {
    right: 14px;
    bottom: 20px;
    gap: 10px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .float-btn span.label {
    display: none;
  }

  .float-btn .icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    font-size: 18px;
  }
}

/* ==========================================================================
   5. STANDARD SMARTPHONES (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .features-4grid {
    grid-template-columns: 1fr;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

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

  .order-success-card {
    padding: 28px 18px;
  }

  .related-products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Mobile 2 products per row on catalogue & homepage */
  .grid-products-2col-mobile {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .grid-products-2col-mobile .product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }

  .grid-products-2col-mobile .product-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    padding: 10px 8px !important;
  }

  .grid-products-2col-mobile .product-card-model {
    font-size: 10px !important;
  }

  .grid-products-2col-mobile .product-card-rating {
    font-size: 10px !important;
    margin-bottom: 2px !important;
  }

  .grid-products-2col-mobile h3 {
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin: 3px 0 6px !important;
    height: 34px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .grid-products-2col-mobile p.summary {
    display: none !important;
  }

  .grid-products-2col-mobile .spec-pills {
    display: none !important;
  }

  .grid-products-2col-mobile .product-card-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    margin-top: auto !important;
    padding-top: 8px !important;
    border-top: 1px solid var(--line) !important;
    width: 100% !important;
  }

  .grid-products-2col-mobile .product-card-pricing {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  .grid-products-2col-mobile .pricing-meta {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
  }

  .grid-products-2col-mobile .price-current {
    font-size: 14.5px !important;
  }

  .grid-products-2col-mobile .price-original {
    font-size: 11px !important;
  }

  .grid-products-2col-mobile .badge-discount {
    font-size: 9px !important;
    padding: 1px 4px !important;
  }

  .grid-products-2col-mobile .card-action-group,
  .grid-products-2col-mobile .card-action-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4px !important;
    width: 100% !important;
    margin-top: 4px !important;
  }

  .grid-products-2col-mobile .btn-add-cart,
  .grid-products-2col-mobile .btn-buy-now {
    grid-column: span 1 !important;
    font-size: 10.5px !important;
    padding: 6px 2px !important;
    text-align: center !important;
    white-space: nowrap !important;
    justify-content: center !important;
  }

  .grid-products-2col-mobile .btn-detail {
    grid-column: span 2 !important;
    font-size: 10.5px !important;
    padding: 5px 2px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .product-tag {
    top: 6px !important;
    left: 6px !important;
    font-size: 9px !important;
    padding: 2px 6px !important;
    max-width: 55% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .product-badge-corner {
    top: 6px !important;
    right: 6px !important;
    font-size: 9px !important;
    padding: 2px 6px !important;
  }

  .product-stock-tag {
    bottom: 6px !important;
    left: 6px !important;
    font-size: 9px !important;
    padding: 2px 6px !important;
  }

  .sizer-widget {
    padding: 20px 16px !important;
  }

  .b2b-banner {
    padding: 28px 18px !important;
  }

  .contact-card {
    padding: 22px 16px !important;
  }

  .product-detail-grid,
  .product-detail-grid > *,
  .product-gallery,
  .product-info,
  .product-buybox {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .product-buybox div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .product-buybox div[style*="grid-template-columns:1fr 1fr"] .btn {
    width: 100% !important;
    white-space: normal !important;
    padding: 12px 10px !important;
    font-size: 13.5px !important;
  }

  div[style*="minmax(280px, 1fr)"],
  div[style*="minmax(240px, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  div[style*="padding:32px"],
  div[style*="padding:30px"] {
    padding: 20px 14px !important;
  }
}

/* ==========================================================================
   6. COMPACT SMARTPHONES (<= 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

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

  .mobile-drawer {
    width: calc(100vw - 36px);
    max-width: 320px;
  }

  .drawer-footer .btn {
    width: 100%;
  }

  .cart-page-actions {
    flex-direction: column;
    gap: 10px;
  }

  .cart-page-actions .btn {
    width: 100%;
  }

  .checkout-card,
  .checkout-order-summary {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }

  .checkout-card h3,
  .checkout-order-summary h3 {
    font-size: 16px !important;
  }

  .form-group-field input,
  .form-group-field select,
  .form-group-field textarea {
    padding: 10px 12px !important;
    font-size: 13.5px !important;
  }
}

/* ==========================================================================
   7. IPHONE PRO MAX / PLUS (<= 430px)
   ========================================================================== */
@media (max-width: 430px) {
  .header .brand img {
    width: 120px;
  }

  .header-actions {
    gap: 6px;
    margin-right: 6px;
  }

  .buybox-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .floating-actions {
    right: max(12px, env(safe-area-inset-right));
  }
}

/* ==========================================================================
   8. IPHONE STANDARD (<= 390px)
   ========================================================================== */
@media (max-width: 390px) {
  .product-info h1 {
    font-size: 24px;
  }

  .buybox-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .search-modal-dialog {
    margin: 40px auto;
    width: calc(100% - 16px);
  }
}

/* ==========================================================================
   9. ULTRA-COMPACT SMARTPHONES (<= 360px: 320px - 360px)
   ========================================================================== */
@media (max-width: 360px) {
  .container {
    padding-inline: 14px !important;
  }

  .hero h1 {
    font-size: 22px;
  }

  .hero p.lead {
    font-size: 13.5px;
  }

  .badge-warranty-seal {
    position: static;
    margin-top: 12px;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .contact-card {
    padding: 18px 12px !important;
  }

  .order-success-card {
    padding: 20px 14px !important;
  }

  .grid-products-2col-mobile {
    gap: 6px !important;
  }

  .grid-products-2col-mobile .product-card-body {
    padding: 8px 5px !important;
  }

  .grid-products-2col-mobile h3 {
    font-size: 11.5px !important;
    height: 30px !important;
  }

  .grid-products-2col-mobile .price-current {
    font-size: 13px !important;
  }

  .grid-products-2col-mobile .card-action-group,
  .grid-products-2col-mobile .card-action-buttons {
    gap: 3px !important;
  }

  .grid-products-2col-mobile .btn-add-cart,
  .grid-products-2col-mobile .btn-buy-now,
  .grid-products-2col-mobile .btn-detail {
    font-size: 9.5px !important;
    padding: 5px 1px !important;
    letter-spacing: -0.2px;
  }
}


/* ==========================================================================
   SCIENTIFIC PRESENTATION ENHANCEMENTS (ZEVORA ARCHITECTURE & LOGIC)
   ========================================================================== */

/* 1. Numbered Section Hierarchy */
.section-badge-scientific {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold);
  border: 1px solid rgba(197, 160, 89, 0.35);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-badge-scientific .num {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 800;
}

/* 2. Interactive Category Filter Bar */
.category-filter-wrapper {
  margin: 20px 0 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.category-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid #dce4ee;
  color: var(--navy);
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--gold);
  color: var(--gold-hover);
  transform: translateY(-1px);
}

.filter-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
  box-shadow: 0 4px 14px rgba(6, 19, 37, 0.18);
}

.filter-pill .pill-count {
  background: rgba(197, 160, 89, 0.2);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.product-card.filter-hidden {
  display: none !important;
}

/* 3. Spec Decision Matrix Table */
.spec-matrix-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  margin-top: 24px;
}

.spec-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  min-width: 780px;
}

.spec-matrix-table th,
.spec-matrix-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle;
}

.spec-matrix-table thead th {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.spec-matrix-table thead th.model-header {
  color: var(--gold);
  text-align: center;
}

.spec-matrix-table tbody tr:hover {
  background: #f8fafc;
}

.spec-matrix-table .row-label {
  font-weight: 700;
  color: var(--navy);
  background: #fdfefe;
  width: 180px;
  white-space: nowrap;
}

.spec-matrix-table .metric-val {
  text-align: center;
  color: #334155;
}

.spec-matrix-table .highlight-badge {
  display: inline-block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

/* 4. Smart Sizing & Ceiling Height Calculator */
.calc-widget-container {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  margin-top: 20px;
}

.calc-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 32px;
  align-items: center;
}

.calc-selectors-pane {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-group-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.calc-option-btn {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-option-btn:hover {
  border-color: var(--gold);
  background: #fbfbf9;
}

.calc-option-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(6, 19, 37, 0.15);
}

.calc-option-btn.active .opt-sub {
  color: var(--gold);
}

.calc-option-btn .opt-main {
  font-weight: 700;
  font-size: 13.5px;
  display: block;
}

.calc-option-btn .opt-sub {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
  display: block;
}

.calc-output-pane {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
}

.calc-output-thumb {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1/1;
  background: #fff;
}

.calc-output-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calc-output-body h4 {
  font-size: 17px;
  color: var(--navy);
  margin: 4px 0 8px;
}

.calc-metrics-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.calc-metric-pill {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  color: #334155;
}

.calc-metric-pill strong {
  color: var(--navy);
}

/* 5. Engineering Blueprint Grid */
.tech-blueprint-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.tech-blueprint-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.tech-blueprint-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.tech-blueprint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tech-blueprint-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(197, 160, 89, 0.14);
  color: var(--gold-hover);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
}

.tech-blueprint-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 12px;
}

.tech-blueprint-card h4 {
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 8px;
}

.tech-blueprint-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 14px;
  flex-grow: 1;
}

.tech-blueprint-stat {
  background: #f8fafc;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  border-left: 3px solid var(--gold);
}

/* 6. 4-Tier Safety Standard Grid */
.safety-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.safety-tier-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 22px 18px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.safety-tier-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.safety-tier-number {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.safety-tier-card h4 {
  font-size: 15.5px;
  color: var(--navy);
  margin: 0 0 8px;
}

.safety-tier-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* 7. Service Flow 4 Steps */
.service-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
  position: relative;
}

.service-flow-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-flow-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.service-flow-card h4 {
  font-size: 15px;
  color: var(--navy);
  margin: 0 0 6px;
}

.service-flow-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Responsive adjustments for Scientific Elements */
@media (max-width: 1024px) {
  .tech-blueprint-grid,
  .safety-tier-grid,
  .service-flow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .calc-grid-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .category-filter-wrapper {
    margin: 14px 0 20px;
  }

  .category-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .filter-pill {
    padding: 7px 14px;
    font-size: 12.5px;
    flex-shrink: 0;
  }

  .calc-widget-container {
    padding: 20px 16px;
  }

  .calc-output-pane {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .calc-output-thumb {
    max-width: 140px;
    margin: 0 auto;
  }

  .tech-blueprint-grid,
  .safety-tier-grid,
  .service-flow-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .calc-options-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   EVEON-STYLE LUXURY CART DRAWER & FAST CHECKOUT
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(11, 25, 44, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99998 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: pointer;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    touch-action: manipulation;
}
.cart-drawer-overlay.active,
.cart-drawer-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    height: 100dvh;
    background: #FFFFFF;
    z-index: 99999 !important;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(11, 25, 44, 0.25);
    box-sizing: border-box;
}
.cart-drawer.active,
.cart-drawer.open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: flex !important;
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100% !important;
        max-width: 100% !important;
    }
}

body.cart-open,
body:has(.cart-drawer.active),
body:has(.cart-drawer.open) {
    overflow: hidden !important;
}

body.cart-open .mobile-bottom-bar,
body.cart-open .floating-contact,
body.cart-open .floating-actions,
body.cart-open .scroll-to-top,
body.cart-open #mobileBottomBar,
body:has(.cart-drawer.active) .mobile-bottom-bar,
body:has(.cart-drawer.active) .floating-contact,
body:has(.cart-drawer.active) .floating-actions {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(150%) !important;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #FFFFFF;
    border-bottom: 1px solid #edf2f7;
    position: relative;
    z-index: 2;
}
.cart-header-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cart-header-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #FAF6F0;
    color: #C29B62;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.cart-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy, #0B192C);
    margin: 0;
    line-height: 1.25;
}
.cart-header-subtitle {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}
.cart-header .close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cart-header .close-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
    transform: rotate(90deg);
}

.cart-perk-bar {
    background: linear-gradient(90deg, #FAF6F0 0%, #F5EFEB 100%);
    border-bottom: 1px solid #EAE0D5;
    padding: 9px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #7A5C2E;
}
.cart-perk-bar i {
    color: #C29B62;
    font-size: 0.9rem;
}

.cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}
.cart-items-container::-webkit-scrollbar {
    width: 6px;
}
.cart-items-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.cart-empty-state {
    text-align: center;
    padding: 48px 16px;
    color: #64748b;
    margin: auto 0;
}
.cart-empty-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #FAF6F0;
    color: #C29B62;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    box-shadow: 0 6px 16px rgba(194, 155, 98, 0.18);
}
.cart-empty-state h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy, #0B192C);
    margin-bottom: 6px;
}
.cart-empty-state p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}
.cart-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.cart-item-img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
}
.cart-item-details {
    flex: 1;
    min-width: 0;
}
.cart-item-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy, #0B192C);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-item-variant {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}
.cart-variant-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}
.cart-item-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.cart-item-price {
    font-family: inherit;
    font-weight: 800;
    font-size: 0.98rem;
    color: #dc2f02;
}
.cart-item-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #f8fafc;
    padding: 1px 2px;
}
.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0B192C;
    cursor: pointer;
    transition: all 0.15s;
}
.qty-btn:hover {
    background: #0B192C;
    color: #ffffff;
    border-color: #0B192C;
}
.qty-num {
    padding: 0 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0B192C;
}
.cart-item-remove {
    background: none;
    border: none;
    color: #94a3b8;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    align-self: flex-start;
}
.cart-item-remove:hover {
    color: #ef4444;
    background: #fee2e2;
}

/* Cart Footer & Order Section */
.cart-footer {
    padding: 14px 18px 18px;
    border-top: 1px solid #edf2f7;
    background: #FFFFFF;
    overflow-y: auto;
    max-height: 60vh;
}
.cart-footer::-webkit-scrollbar {
    width: 5px;
}
.cart-footer::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    color: #64748b;
}
.summary-price {
    font-weight: 700;
    color: #0B192C;
}
.shipping-free {
    color: #059669;
    font-weight: 700;
    font-size: 0.78rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.summary-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 6px 0;
}

.coupon-section {
    margin: 4px 0 2px;
}
.coupon-input-row {
    display: flex;
    gap: 6px;
}
.coupon-input-wrap {
    position: relative;
    flex: 1;
}
.coupon-field-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.8rem;
    pointer-events: none;
}
.coupon-input-wrap input {
    width: 100%;
    height: 38px;
    padding: 0 10px 0 30px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.8rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.coupon-input-wrap input:focus {
    border-color: #C29B62;
}
.coupon-apply-btn {
    padding: 0 14px;
    height: 38px;
    border-radius: 8px;
    background: var(--navy, #0B192C);
    color: #ffffff;
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.coupon-apply-btn:hover {
    background: #C29B62;
}
.coupon-message-badge {
    font-size: 0.75rem;
    margin-top: 4px;
    font-weight: 600;
}

/* Quick Luxury Checkout Form */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.checkout-form-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy, #0B192C);
    margin-bottom: 2px;
}
.checkout-form-header i {
    color: #C29B62;
}
.form-group-luxury {
    position: relative;
    display: flex;
    align-items: center;
}
.form-group-luxury .input-icon-box {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 0.88rem;
    pointer-events: none;
}
.form-group-luxury input {
    width: 100%;
    height: 42px;
    padding: 0 12px 0 36px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.85rem;
    font-family: inherit;
    color: #0B192C;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.form-group-luxury input:focus {
    border-color: #C29B62;
    box-shadow: 0 0 0 3px rgba(194, 155, 98, 0.15);
}
.form-group-luxury input::placeholder {
    color: #94a3b8;
    font-size: 0.82rem;
}

/* Payment Method Selector */
.checkout-payment-selection {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0 8px;
}
.payment-method-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
}
.payment-method-card.active, .payment-method-card:has(input[type="radio"]:checked) {
    border-color: #dfb15b;
    background: linear-gradient(135deg, rgba(223, 177, 91, 0.08) 0%, rgba(13, 30, 61, 0.03) 100%);
    box-shadow: 0 2px 8px rgba(223, 177, 91, 0.15);
}
.payment-method-card input[type="radio"] {
    accent-color: #dfb15b;
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}
.payment-method-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #0d1e3d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    flex-shrink: 0;
}
.payment-method-card.active .payment-method-icon,
.payment-method-card:has(input[type="radio"]:checked) .payment-method-icon {
    background: #dfb15b;
    color: #ffffff;
}
.payment-method-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.payment-method-text strong {
    font-size: 0.82rem;
    color: #0f172a;
    line-height: 1.25;
}
.payment-method-text span {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.2;
}

/* Checkout Button */
.btn-checkout-luxury {
    width: 100%;
    padding: 11px 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #e85d04 0%, #dc2f02 100%);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 6px 20px rgba(220, 47, 2, 0.32);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 4px;
}
.btn-checkout-luxury:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 47, 2, 0.42);
    background: linear-gradient(135deg, #f46a06 0%, #ea380b 100%);
}
.btn-checkout-luxury:active {
    transform: translateY(0);
}
.btn-checkout-title {
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-checkout-subtitle {
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.92;
}

/* Trust Badges */
.checkout-trust-badges {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.trust-pill {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 3px 8px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.trust-pill i {
    color: #C29B62;
    font-size: 0.72rem;
}

/* Zevora Loading State & Toast System */
.zevora-loading-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 25, 44, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.zevora-loading-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.zevora-loading-spinner-box {
    background: #ffffff;
    padding: 20px 28px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #e2e8f0;
}
.zevora-loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #e2e8f0;
    border-top-color: #dfb15b;
    border-radius: 50%;
    animation: zevoraSpin 0.75s linear infinite;
}
.zevora-loading-text {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0b192c;
}
@keyframes zevoraSpin {
    to { transform: rotate(360deg); }
}

.zevora-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0B192C;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    font-size: 0.88rem;
    font-weight: 600;
    z-index: 1000002;
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid #dfb15b;
}
.zevora-toast.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
@media (max-width: 480px) {
    .zevora-toast {
        left: 16px;
        right: 16px;
        bottom: 75px;
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================================================\
   CUSTOMER AUTH GATE MODAL\
   ========================================================================== */
.auth-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.auth-gate-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.auth-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 20, .76);
  backdrop-filter: blur(7px);
}

.auth-gate-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(92vh, 780px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(197,160,89,.35);
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(0,0,0,.35), 0 10px 30px rgba(197,160,89,.12);
  transform: translateY(18px) scale(.98);
  transition: transform .24s cubic-bezier(.16,1,.3,1);
  padding: 28px;
}

.auth-gate-modal.open .auth-gate-dialog {
  transform: translateY(0) scale(1);
}

.auth-gate-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 17px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .2s ease;
}

.auth-gate-close:hover {
  color: var(--navy);
  border-color: var(--gold);
  background: var(--gold-light);
}

.auth-gate-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.auth-gate-brand img {
  object-fit: contain;
}

.auth-gate-brand span {
  color: var(--gold-hover);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2.2px;
}

.auth-gate-head {
  text-align: center;
  padding: 0 28px;
}

.auth-gate-head h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(25px, 4vw, 33px);
  line-height: 1.2;
}

.auth-gate-head p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.auth-gate-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  margin: 22px 0 14px;
  background: #f3f5f8;
  border-radius: 14px;
}

.auth-gate-tab {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 11px 12px;
  background: transparent;
  color: var(--muted);
  font: 700 13.5px/1 var(--font-sans);
  cursor: pointer;
  transition: .18s ease;
}

.auth-gate-tab.active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 2px 9px rgba(6,19,37,.08);
}

.auth-gate-notice {
  min-height: 0;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.5;
}

.auth-gate-notice:not(:empty) {
  margin-bottom: 14px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}

.auth-gate-form {
  display: block;
}

.auth-gate-form.is-hidden {
  display: none;
}

.auth-gate-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-gate-field {
  display: block;
  margin-bottom: 13px;
}

.auth-gate-field > span {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 12.8px;
  font-weight: 700;
}

.auth-gate-field input {
  width: 100%;
  min-height: 45px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
  font: 500 13.5px/1.2 var(--font-sans);
  transition: .18s ease;
}

.auth-gate-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

.auth-gate-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font: 800 14px/1 var(--font-sans);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(197,160,89,.24);
  transition: transform .18s ease, box-shadow .18s ease;
}

.auth-gate-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(197,160,89,.32);
}

.auth-gate-submit:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}

.auth-gate-forgot {
  display: block;
  width: fit-content;
  margin: 11px auto 0;
  color: var(--gold-hover);
  font-size: 12.5px;
  font-weight: 700;
}

.auth-gate-mini {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
  text-align: center;
}

.auth-gate-later {
  display: block;
  margin: 17px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  font: 600 12px/1.2 var(--font-sans);
  text-decoration: underline;
  cursor: pointer;
}

body.auth-gate-lock {
  overflow: hidden;
}

@media (max-width: 620px) {
  .auth-gate-dialog {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .auth-gate-head {
    padding: 0 16px;
  }

  .auth-gate-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}


/* ===================== ZEVORA CART + AUTH GATE FINAL FIX ===================== */
.cart-items-container {
  flex: 0 1 auto !important;
  flex-grow: 0 !important;
  min-height: 0;
  max-height: 32vh;
  overflow-y: auto;
}

.cart-footer {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none !important;
  overflow-y: auto;
}

.cart-icon-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-weight: 900;
  line-height: 1;
}

.cart-header-icon {
  font-size: 18px !important;
}

.qty-btn {
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.cart-item-remove {
  font-family: inherit !important;
  font-weight: 800;
  font-size: 13px !important;
}

.checkout-form .input-icon-box {
  width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit !important;
}

.auth-gate-head p {
  max-width: 500px;
  margin-inline: auto;
}

.auth-gate-later {
  min-height: 36px;
  padding-inline: 12px;
}

@media (max-width: 620px) {
  .auth-gate-modal {
    padding: 10px;
    align-items: center;
  }

  .auth-gate-dialog {
    width: min(100%, 470px);
    max-height: 94dvh;
    padding: 20px 15px 16px;
    border-radius: 20px;
  }

  .auth-gate-head {
    padding: 0 8px;
  }

  .auth-gate-head h2 {
    font-size: 25px;
  }

  .auth-gate-head p {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .auth-gate-tabs {
    margin-top: 16px;
  }

  .cart-header {
    padding: 14px 16px;
  }

  .cart-perk-bar {
    padding: 8px 14px;
    font-size: 12px;
  }

  .cart-items-container {
    padding: 10px 12px;
    max-height: 28vh;
  }

  .cart-item {
    gap: 9px;
    padding: 9px;
  }

  .cart-item-img {
    width: 58px;
    height: 58px;
  }

  .cart-item-name {
    font-size: 13px;
  }

  .cart-item-price {
    font-size: 15px;
  }

  .cart-item-qty {
    transform: scale(.94);
    transform-origin: right center;
  }

  .cart-footer {
    padding: 12px 12px 16px;
  }
}


/* Cart drawer robustness: no blank FontAwesome placeholders + compact one-item layout */
.coupon-input-wrap input { padding-left: 12px !important; }
.payment-method-icon span { display:inline-flex; align-items:center; justify-content:center; font-weight:800; }
.btn-checkout-title > span:first-child { display:inline-flex; align-items:center; }
.cart-icon-text { font-family: inherit !important; }
