/* ============================================================================
   NEXA DIRECT® EU — Luxury Titanium Flagship Design System
   European Direct-Import Hardware & Accessories (-20% Below Official Retail)
   ============================================================================ */

:root {
  --bg-primary: #070A10;
  --bg-secondary: #0D121D;
  --bg-card: #111827;
  --bg-card-hover: #172033;
  --bg-elevated: #1A2438;
  --glass-bg: rgba(13, 18, 29, 0.82);
  --glass-border: rgba(255, 255, 255, 0.09);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-accent: rgba(52, 211, 153, 0.38);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --accent-emerald: #10B981;
  --accent-emerald-bright: #34D399;
  --accent-emerald-glow: rgba(16, 185, 129, 0.18);
  --accent-cyan: #38BDF8;
  --accent-indigo: #6366F1;
  --accent-amber: #F59E0B;
  --danger: #EF4444;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 9999px;

  --shadow-card: 0 18px 40px -15px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 36px rgba(16, 185, 129, 0.22);
  --container-max: 1320px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(circle at 15% 5%, rgba(56, 189, 248, 0.08), transparent 36%),
    radial-gradient(circle at 85% 12%, rgba(16, 185, 129, 0.08), transparent 40%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================================================
   1. Top Direct-Import Ticker Bar
   ============================================================================ */
.top-ticker {
  background: linear-gradient(90deg, #064E3B 0%, #0F172A 50%, #064E3B 100%);
  border-bottom: 1px solid rgba(52, 211, 153, 0.25);
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.01em;
  color: #ECFDF5;
}

.top-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald-bright);
  box-shadow: 0 0 10px var(--accent-emerald-bright);
  display: inline-block;
}

/* ============================================================================
   2. Sticky Glass Header (Zero Visible Language Selector — Auto Browser I18N)
   ============================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-primary);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-emerald-bright);
  transition: width 0.22s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.direct-pill-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--accent-emerald-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.cart-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.cart-trigger-btn:hover {
  border-color: var(--accent-emerald-bright);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.cart-count-badge {
  background: var(--accent-emerald);
  color: #022C22;
  font-size: 0.76rem;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================================
   3. Hero Flagship Showcase
   ============================================================================ */
.hero-section {
  padding: 3.5rem 0 2.75rem;
  position: relative;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.11);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.15rem, 4.2vw, 3.55rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
}

.hero-title-accent {
  display: block;
  margin-top: 0.25rem;
  background: linear-gradient(95deg, #34D399 0%, #38BDF8 55%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.06rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 1.85rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-bottom: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #022C22;
  box-shadow: 0 10px 28px -6px rgba(16, 185, 129, 0.5);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(52, 211, 153, 0.65);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.25rem;
  padding: 0.75rem 1.1rem;
  background: linear-gradient(95deg, rgba(16, 185, 129, 0.16) 0%, rgba(56, 189, 248, 0.10) 100%);
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 999px;
  color: #ECFDF5;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.14);
}

.hero-delivery-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.pdp-delivery-badge {
  margin: 0.9rem 0 0.4rem;
  font-size: 0.86rem;
}

@media (max-width: 640px) {
  .hero-delivery-badge {
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
  }
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: #E2E8F0;
}

.hero-trust-icon {
  color: var(--accent-emerald-bright);
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(52, 211, 153, 0.28);
  box-shadow: var(--shadow-card), 0 0 60px rgba(16, 185, 129, 0.14);
  background: #0B0F17;
}

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

/* ============================================================================
   4. Brand Showcase Bar & Catalog Controls
   ============================================================================ */
.brand-strip {
  padding: 1.35rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(13, 18, 29, 0.55);
}

.brand-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.brand-chip {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.brand-chip:hover,
.brand-chip.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--accent-emerald-bright);
  color: var(--text-primary);
}

.catalog-section {
  padding: 3.5rem 0 2.5rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.section-title {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 720px;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tab {
  padding: 0.52rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.09);
}

.filter-tab.active {
  background: var(--accent-emerald);
  color: #022C22;
  font-weight: 700;
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}

.search-input-wrap {
  position: relative;
  min-width: 240px;
  flex: 1;
  max-width: 340px;
}

.search-input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.58rem 1rem 0.58rem 2.35rem;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-emerald-bright);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.sort-select {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.58rem 1rem;
  font-size: 0.86rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* ============================================================================
   5. Product Grid & Studio Product Cards (-20% Pricing Breakdown)
   ============================================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: var(--shadow-card), 0 0 28px rgba(16, 185, 129, 0.14);
}

.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #090D15;
  overflow: hidden;
  display: block;
}

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

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

.card-badge-float {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(6, 78, 59, 0.92);
  border: 1px solid var(--accent-emerald-bright);
  color: #ECFDF5;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.76rem;
}

.card-brand {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
}

.card-stock {
  color: var(--accent-emerald-bright);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-title {
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
}

.card-title a:hover {
  color: var(--accent-emerald-bright);
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.spec-pill {
  font-size: 0.73rem;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  font-weight: 500;
}

.card-price-box {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.price-retail-row {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.price-retail-strike {
  text-decoration: line-through;
  color: #94A3B8;
}

.price-direct-main {
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
}

.price-save-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.38);
  color: var(--accent-emerald-bright);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  white-space: nowrap;
}

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

.btn-add-cart {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #022C22;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.68rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn-add-cart:hover {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  transform: translateY(-1px);
}

.btn-view-detail {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 0.68rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-view-detail:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ============================================================================
   6. Why -20% Direct Import Architecture & Find-in-Page Technical Accordion
   ============================================================================ */
.direct-explainer-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(13, 18, 29, 0.4) 0%, rgba(16, 185, 129, 0.04) 50%, rgba(13, 18, 29, 0.4) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.35rem;
  margin-top: 2rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid var(--accent-emerald-bright);
  color: var(--accent-emerald-bright);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Searchable hidden="until-found" technical compliance box
   Per Modern Web Guidance: DO NOT style [hidden="until-found"] element directly
   with layout/padding/border properties; style the nested child wrapper instead. */
.compliance-trigger-wrap {
  margin-top: 2rem;
}

.compliance-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent-cyan);
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.reveal-panel-inner {
  margin-top: 1rem;
  padding: 1.35rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* ============================================================================
   7. Reviews & Native Exclusive <details name="nexa-faq"> Accordion
   ============================================================================ */
.reviews-section,
.faq-section {
  padding: 3.75rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-stars {
  color: #FBBF24;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.review-text {
  font-size: 0.9rem;
  color: #E2E8F0;
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(52, 211, 153, 0.45);
}

.faq-item summary {
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-body {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.9rem;
}

/* ============================================================================
   8. Product Detail Page (PDP) Layout
   ============================================================================ */
.pdp-section {
  padding: 2.75rem 0 4rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--accent-emerald-bright);
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.pdp-gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-card);
}

.pdp-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pdp-title {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.15;
}

.pdp-price-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(17, 24, 39, 0.92) 100%);
  border: 1px solid rgba(52, 211, 153, 0.38);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.pdp-direct-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pdp-option-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pdp-option-label {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.pdp-option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.variant-pill {
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.variant-pill.active,
.variant-pill:hover {
  border-color: var(--accent-emerald-bright);
  background: rgba(16, 185, 129, 0.15);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.specs-table th,
.specs-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.specs-table th {
  width: 36%;
  color: var(--text-secondary);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}

/* ============================================================================
   9. Native <dialog> Modals (Cart Drawer & Stripe Checkout Modal)
   Strictly follows Modern Web Guidance:
   - Scope display overrides with dialog[open]
   - overscroll-behavior: contain on dialog:modal and dialog::backdrop
   - No overflow: hidden on html/body
   ============================================================================ */
dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(3, 6, 12, 0.78);
  backdrop-filter: blur(8px);
}

.nexa-dialog {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  padding: 0;
  max-height: 90vh;
  width: min(94vw, 560px);
  margin: auto;
}

.nexa-dialog[open] {
  display: flex;
  flex-direction: column;
}

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

.dialog-title {
  font-size: 1.2rem;
  font-weight: 800;
}

.dialog-close-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dialog-body {
  padding: 1.35rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.dialog-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-row img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #090D15;
}

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

.cart-item-title {
  font-weight: 700;
  font-size: 0.94rem;
}

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

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  cursor: pointer;
  font-weight: 700;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: var(--text-secondary);
}

.summary-row.savings {
  color: var(--accent-emerald-bright);
  font-weight: 700;
}

.summary-row.total {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-primary);
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.5rem;
}

/* Checkout Form Autofill Standards */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #CBD5E1;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.68rem 0.9rem;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.form-field textarea {
  min-height: 68px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-emerald-bright);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.stripe-methods-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.method-pill {
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================================================
   10. Footer
   ============================================================================ */
.site-footer {
  background: #05070B;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--accent-emerald-bright);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .hero-grid,
  .pdp-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero-trust-grid,
  .form-row-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .direct-pill-header {
    display: none;
  }
}

/* ==========================================================================
   Customer Support Chat Widget
   ========================================================================== */
.support-widget[hidden],
.support-panel[hidden] { display: none !important; }

.support-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  font-family: inherit;
}

.support-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(52, 211, 153, 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, #10B981 0%, #0EA5A4 100%);
  color: #04120C;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 34px -10px rgba(16, 185, 129, 0.6), var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.support-launcher:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(16, 185, 129, 0.75), var(--shadow-card); }
.support-launcher:focus-visible { outline: 2px solid #ECFDF5; outline-offset: 3px; }
.support-widget.is-open .support-launcher-label { display: none; }
.support-widget.is-open .support-launcher { padding: 0.85rem; }

.support-panel {
  width: min(380px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  overflow: hidden;
  animation: support-in 0.22s ease-out;
}
@keyframes support-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }

.support-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: linear-gradient(120deg, rgba(16, 185, 129, 0.18) 0%, rgba(56, 189, 248, 0.08) 100%), var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}
.support-avatar {
  width: 38px; height: 38px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #34D399, #38BDF8);
  color: #04120C; font-weight: 800;
}
.support-head-text { flex: 1; min-width: 0; }
.support-title { font-weight: 800; color: var(--text-primary); font-size: 0.98rem; }
.support-status { display: flex; align-items: center; gap: 0.4rem; color: var(--text-secondary); font-size: 0.76rem; }
.support-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-emerald-bright); box-shadow: 0 0 8px var(--accent-emerald-bright); }
.support-icon-btn {
  width: 32px; height: 32px; flex-shrink: 0;
  border: 1px solid var(--border-subtle); border-radius: 50%;
  background: rgba(255, 255, 255, 0.04); color: var(--text-secondary);
  cursor: pointer; font-size: 0.9rem;
}
.support-icon-btn:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.1); }

.support-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--bg-primary);
}
.support-msg { display: flex; }
.support-msg-user { justify-content: flex-end; }
.support-bubble {
  max-width: 84%;
  padding: 0.65rem 0.85rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.support-msg-agent .support-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #E2E8F0;
  border-bottom-left-radius: 6px;
}
.support-msg-user .support-bubble {
  background: linear-gradient(135deg, #10B981, #0EA5A4);
  color: #04120C;
  font-weight: 600;
  border-bottom-right-radius: 6px;
}
.support-bubble a { color: var(--accent-emerald-bright); text-decoration: underline; }
.support-typing .support-bubble { color: var(--text-secondary); font-style: italic; }
.support-error .support-bubble { border-color: rgba(245, 158, 11, 0.5); color: #FCD34D; }

.support-form {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}
.support-input {
  flex: 1;
  resize: none;
  max-height: 110px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text-primary);
  font: inherit;
  font-size: 0.88rem;
}
.support-input:focus { outline: none; border-color: rgba(52, 211, 153, 0.6); box-shadow: 0 0 0 3px var(--accent-emerald-glow); }
.support-send {
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 12px;
  background: var(--accent-emerald);
  color: #04120C;
  font-weight: 800;
  cursor: pointer;
}
.support-send:disabled { opacity: 0.55; cursor: wait; }

@media (max-width: 640px) {
  .support-widget { right: 14px; bottom: 14px; }
  .support-launcher-label { display: none; }
  .support-launcher { padding: 0.9rem; }
  .support-panel { height: min(70vh, calc(100vh - 100px)); }
}

/* ==========================================================================
   Responsive Layer — phones (≤640px), tablets (641–1024px), desktops (1025px+)
   Breakpoints: 1200 · 1024 · 960 · 768 · 640 · 480 · 380
   ========================================================================== */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}
body { overflow-x: clip; min-width: 0; }
img, svg, video, picture { max-width: 100%; }
picture { display: block; }
:where(h1, h2, h3, p, li, td, th, span, a) { overflow-wrap: break-word; }

/* Checkout result pages (moved from inline styles) */
.checkout-result {
  padding: clamp(2.75rem, 8vw, 5rem) 1.25rem;
  text-align: center;
  max-width: 680px;
}
.checkout-result-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  border: 2px solid var(--accent-emerald-bright);
  color: var(--accent-emerald-bright);
  font-size: 2rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.checkout-result-title { font-size: clamp(1.6rem, 5.5vw, 2.2rem); line-height: 1.2; margin-bottom: 0.75rem; }
.checkout-result-text { color: var(--text-secondary); font-size: clamp(0.95rem, 2.6vw, 1.05rem); margin-bottom: 2rem; }

/* Grids never force a column wider than the screen */
.product-grid { grid-template-columns: repeat(auto-fill, minmax(min(295px, 100%), 1fr)); }
.steps-grid { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.reviews-grid { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.specs-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.specs-table td { overflow-wrap: anywhere; }

/* Hover lifts only on real pointers (no sticky hover on touch) */
@media (hover: none) {
  .product-card:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .cart-trigger-btn:hover,
  .btn-add-cart:hover,
  .support-launcher:hover { transform: none; }
  .product-card:hover .card-media img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Large desktop / small laptop ---------- */
@media (max-width: 1200px) {
  .main-nav { gap: 1.1rem; }
  .main-nav a { font-size: 0.86rem; }
  .hero-grid { gap: 2rem; }
}

/* ---------- Tablet landscape & small laptops ---------- */
@media (max-width: 1024px) {
  .direct-pill-header { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pdp-grid { gap: 2rem; }
}

/* ---------- Tablet portrait & below: stacked layouts, nav becomes a swipe row ---------- */
@media (max-width: 960px) {
  .header-inner {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    row-gap: 0;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
  .main-nav {
    display: flex;
    order: 3;
    flex: 1 0 100%;
    gap: 1.25rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    margin: 0.35rem -1.25rem 0;
    padding: 0.45rem 1.25rem 0.1rem;
    border-top: 1px solid var(--border-subtle);
    mask-image: linear-gradient(90deg, transparent 0, #000 1.25rem, #000 calc(100% - 1.75rem), transparent 100%);
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { flex-shrink: 0; padding: 0.5rem 0; font-size: 0.86rem; }

  .hero-section { padding: 2.5rem 0 2.25rem; }
  .hero-visual-card { max-width: 620px; width: 100%; margin: 0 auto; }

  .pdp-gallery-card { position: relative; top: auto; max-width: 620px; width: 100%; margin: 0 auto; }

  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-controls { justify-content: stretch; }
  .search-input-wrap { max-width: none; min-width: 0; }
}

/* ---------- Tablet portrait ---------- */
@media (max-width: 768px) {
  .catalog-section,
  .reviews-section,
  .faq-section { padding: 2.75rem 0; }
  .direct-explainer-section { padding: 3rem 0; }
  .section-header { margin-bottom: 1.5rem; }
  .site-footer { padding: 2.75rem 0 2rem; margin-top: 2rem; }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .main-nav { margin: 0.35rem -1rem 0; padding: 0.45rem 1rem 0.1rem; }

  /* Top ticker: compact, separator hidden so it wraps cleanly */
  .top-ticker { padding: 0.45rem 0.75rem; font-size: 0.7rem; line-height: 1.35; letter-spacing: 0; }
  .top-ticker-inner { gap: 0.15rem 0.5rem; }
  .top-ticker-inner > span:not([data-i18n]) { display: none; }
  .ticker-dot { width: 6px; height: 6px; }

  /* Header */
  .brand-logo img { height: 32px; }
  .header-inner { gap: 0.75rem; min-height: 58px; }
  .cart-trigger-btn { padding: 0.5rem 0.8rem; gap: 0.45rem; min-height: 42px; font-size: 0.86rem; }

  /* Hero */
  .hero-section { padding: 1.75rem 0 1.75rem; }
  .hero-grid { gap: 1.75rem; }
  .hero-eyebrow { font-size: 0.72rem; letter-spacing: 0.04em; padding: 0.38rem 0.8rem; line-height: 1.35; }
  .hero-title { font-size: clamp(1.75rem, 8.2vw, 2.3rem); }
  .hero-subtitle { font-size: 0.98rem; margin-bottom: 1.35rem; }
  .hero-cta-row { flex-direction: column; gap: 0.7rem; margin-bottom: 1.5rem; }
  .hero-cta-row .btn { width: 100%; }
  .hero-delivery-badge { display: flex; width: 100%; }
  .hero-trust-grid { grid-template-columns: 1fr; gap: 0.55rem; }
  .hero-visual-card { border-radius: var(--radius-lg); }

  /* Brand chips & filter tabs: one swipeable row instead of a ragged grid */
  .brand-strip { padding: 0.9rem 0; }
  .brand-strip-inner,
  .filter-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .brand-strip-inner { gap: 0.5rem; padding-bottom: 2px; }
  .brand-strip-inner::-webkit-scrollbar,
  .filter-tabs::-webkit-scrollbar { display: none; }
  .brand-chip, .filter-tab { flex-shrink: 0; white-space: nowrap; min-height: 40px; }
  .brand-chip { font-size: 0.78rem; padding: 0.5rem 0.95rem; }

  /* Catalog toolbar */
  .catalog-toolbar { padding: 0.85rem; gap: 0.75rem; margin-bottom: 1.25rem; min-width: 0; }
  .catalog-toolbar > *, .filter-tabs, .brand-strip-inner { min-width: 0; max-width: 100%; }
  .toolbar-controls { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .search-input-wrap, .sort-select { width: 100%; }
  .search-input, .sort-select { min-height: 44px; font-size: 16px; } /* 16px stops iOS zoom-on-focus */

  /* Product cards */
  .product-grid { gap: 1rem; }
  .card-body { padding: 1rem; }
  .card-title { font-size: 1.05rem; }
  .price-direct-main { font-size: 1.3rem; }
  .card-price-box { flex-wrap: wrap; }
  .btn-add-cart, .btn-view-detail { min-height: 44px; }

  /* Steps, reviews, FAQ */
  .step-card, .review-card { padding: 1.15rem; }
  .faq-item summary { padding: 1rem 1.05rem; font-size: 0.95rem; }
  .faq-body { padding: 0.8rem 1.05rem 1.05rem; }
  .compliance-toggle-btn { width: 100%; justify-content: center; text-align: center; }
  .reveal-panel-inner { padding: 1.1rem; }

  /* PDP */
  .pdp-section { padding: 1.5rem 0 2.5rem; }
  .breadcrumb { font-size: 0.8rem; margin-bottom: 1rem; }
  .pdp-gallery-card { border-radius: var(--radius-lg); }
  .pdp-price-banner { padding: 1rem 1.1rem; }
  .pdp-direct-price { font-size: 1.85rem; }
  .variant-pill { min-height: 44px; padding: 0.6rem 0.95rem; }
  .pdp-cta-row .btn { width: 100%; min-height: 50px; }
  .specs-table th, .specs-table td { padding: 0.7rem 0.75rem; font-size: 0.84rem; }
  .specs-table th { width: 40%; }
  .pdp-upsell { margin-top: 2.5rem !important; }

  /* Bag & checkout dialogs become bottom sheets */
  .nexa-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 92dvh;
    margin: auto 0 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: 0;
  }
  .dialog-header { padding: 1rem 1.1rem; }
  .dialog-title { font-size: 1.05rem; }
  .dialog-close-btn { width: 40px; height: 40px; flex-shrink: 0; }
  .dialog-body { padding: 1rem 1.1rem; }
  .dialog-footer { padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom, 0px)); }
  .cart-item-row { gap: 0.7rem; align-items: flex-start; }
  .cart-item-row img { width: 56px; height: 56px; }
  .cart-item-info { min-width: 0; }
  .cart-item-title { font-size: 0.9rem; }
  .qty-btn { width: 36px; height: 36px; font-size: 1rem; }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; min-height: 44px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-col a { display: inline-block; padding: 0.2rem 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); } /* room for chat button */

  /* Support chat: compact launcher; panel opens as a full-width sheet */
  .support-widget {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
  }
  .support-launcher { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .support-widget.is-open .support-launcher { display: none; }
  .support-widget.is-open {
    left: 0; right: 0; bottom: 0;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
  }
  .support-panel {
    width: 100%;
    height: min(82dvh, 640px);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: 0;
  }
  .support-icon-btn { width: 40px; height: 40px; }
  .support-input { font-size: 16px; }
  .support-send { min-height: 44px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
  .card-actions { grid-template-columns: 1fr 1fr; }
  .summary-row { font-size: 0.86rem; gap: 0.75rem; }
  .summary-row > :last-child { white-space: nowrap; }
  .summary-row.total { font-size: 1.05rem; align-items: baseline; }
}

@media (max-width: 380px) {
  .container { padding: 0 0.85rem; }
  .main-nav { margin: 0.35rem -0.85rem 0; padding: 0.45rem 0.85rem 0.1rem; }
  .brand-logo img { height: 28px; }
  .cart-trigger-btn { padding: 0.5rem 0.7rem; }
  .cart-trigger-btn [data-i18n="nav_cart"] {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .hero-title { font-size: 1.7rem; }
  .pdp-direct-price { font-size: 1.65rem; }
}

/* Card price block: wrap cleanly in narrower 2-column tablet cards */
.card-price-box { flex-wrap: wrap; }
.price-retail-row { flex-wrap: wrap; column-gap: 0.35rem; row-gap: 0; }
.price-retail-strike { white-space: nowrap; }
