/* Google Fonts now loaded via <link> in <head> (see layouts/master.njk) —
   @import was removed because it blocks the whole stylesheet until the
   font CSS round-trips first, which is the main cause of the brief
   "flash of raw unstyled content" on slower connections. */

:root {
  --r:        var(--cl-primary, #dc2626);
  --r-rgb:    var(--cl-primary-rgb, 220,38,38);
  --r-dark:   #b91c1c;          /* fallback for color-mix() */
  --bg0:      #0e0709;
  --bg1:      #160c0f;
  --seam:     #0e0709;  /* shared boundary color between hero and the section below it — both sides end/start on this exact value so no seam is visible regardless of what's rendered behind either one */
  --bg2:      #1c0f13;
  --border:   rgba(255,255,255,0.07);
  --border-r: rgba(var(--r-rgb),0.25);
  --text-muted: rgba(255,255,255,0.45);
  --text-dim:   rgba(255,255,255,0.22);
  --ease:     cubic-bezier(0.25,1,0.5,1);
  --bs-body-bg: #0e0709;

  /* Unified shape / type scale used across every rebuilt component —
     plain, calm, natural. No geometric/futuristic display font. */
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --fs-eyebrow: 0.7rem;
  --fs-h1: clamp(1.9rem, 2.9vw, 2.65rem);
  --fs-h2: clamp(1.5rem, 2.2vw, 1.9rem);
  --fs-h3: 1rem;
  --fs-body: 0.92rem;
  --fs-small: 0.8rem;
  --lh-tight: 1.18;
  --lh-body: 1.65;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --glass-bg: rgba(255,255,255,0.028);
  --glass-bg-strong: rgba(255,255,255,0.045);
  --glass-border: rgba(255,255,255,0.09);
  --shadow-soft: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 32px rgba(0,0,0,0.35);
  --shadow-lift: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
  /* Red/black surface blends — dark red rather than flat black or flat red */
  --surface-redblack: linear-gradient(155deg, rgba(var(--r-rgb),0.16) 0%, var(--bg1) 55%, var(--bg0) 100%);
  --surface-redblack-soft: linear-gradient(160deg, rgba(var(--r-rgb),0.08) 0%, rgba(255,255,255,0.02) 100%);
}

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

html {
  scroll-behavior: smooth;
  /* Firefox smooth scroll */
  -moz-scroll-behavior: smooth;
  /* Fixes anchor-nav links (Cheats/Social Boost/Bot-Tools/Products) landing
     UNDER the fixed announcement bar + floating nav — a real functional bug,
     not just cosmetic: without this the target section's heading was hidden
     behind the fixed header on every in-page nav click. */
  scroll-padding-top: var(--sa-header-h, 74px);
}
@media (max-width: 900px) {
  html { scroll-padding-top: var(--sa-header-h, 96px); }
}

body {
  font-family: var(--font-body), var(--bs-font-sans-serif, 'Poppins'), system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body);
  background: var(--bg0);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  /* Prevent horizontal scroll on mobile */
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, .sa-section-title, .sa-eyebrow, .sa-hero__title, .sa-nav__name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
p { line-height: var(--lh-body); }
.sa-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.08em;
}
button, input, select, textarea { font-family: var(--font-body); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Sitewide Pure Crimson Obsidian Atmosphere ─── */
body {
  background: #070305 !important;
  color: #ffffff;
}

/* Top Atmospheric Crimson Spotlight (Pure #e50914 crimson, safely faded below fixed nav) */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 620px;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(ellipse 960px 420px at 50% 64px, rgba(229, 9, 20, 0.20) 0%, rgba(185, 28, 28, 0.08) 46%, transparent 78%),
    radial-gradient(ellipse 520px 260px at 50% 130px, rgba(229, 9, 20, 0.12) 0%, transparent 72%);
}

/* Deep Obsidian Foundation with Balanced Pure-Crimson Pools Across All Sections */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background:
    /* Ambient hero-to-categories transition pool */
    radial-gradient(ellipse 950px 540px at 50% 24%, rgba(229, 9, 20, 0.13) 0%, transparent 70%),
    /* Product Catalog atmospheric illumination */
    radial-gradient(ellipse 920px 640px at 50% 56%, rgba(185, 28, 28, 0.12) 0%, transparent 72%),
    /* Left subtle ambient aura */
    radial-gradient(circle 640px at 8% 66%, rgba(229, 9, 20, 0.10) 0%, transparent 66%),
    /* Right subtle ambient aura */
    radial-gradient(circle 640px at 92% 76%, rgba(185, 28, 28, 0.11) 0%, transparent 66%),
    /* Soft bottom lift behind reviews & footer */
    radial-gradient(ellipse 960px 460px at 50% 98%, rgba(229, 9, 20, 0.09) 0%, transparent 75%),
    /* Rich obsidian stage */
    linear-gradient(180deg, #090406 0%, #070305 32%, #050204 65%, #080305 100%);
  background-repeat: no-repeat;
}

/* Architectural Micro-Grid with Subtle Crimson Node Intersections */
.sa-bg-grid {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image:
    radial-gradient(circle 1.25px at 0 0, rgba(229, 9, 20, 0.18) 1px, transparent 1.5px),
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 96px 96px, 48px 48px, 48px 48px;
  background-position: -1px -1px, 0 0, 0 0;
  -webkit-mask-image: radial-gradient(ellipse 88% 72% at 50% 24%, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.52) 48%, rgba(0,0,0,0.18) 76%, transparent 100%);
          mask-image: radial-gradient(ellipse 88% 72% at 50% 24%, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.52) 48%, rgba(0,0,0,0.18) 76%, transparent 100%);
}

/* Single Tactile Obsidian Micro-Texture (Velvety matte depth) */
.sa-body-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.022;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── Sitewide Brand Logo Monogram Watermark Pattern (Whisper-Subtle Texture) ─── */
.sa-brand-pattern {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-size: 220px 220px;
  background-repeat: repeat;
  background-position: center;
  opacity: 0.014;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 84% 78% at 50% 45%, rgba(0,0,0,0.85) 18%, rgba(0,0,0,0.35) 58%, transparent 94%);
          mask-image: radial-gradient(ellipse 84% 78% at 50% 45%, rgba(0,0,0,0.85) 18%, rgba(0,0,0,0.35) 58%, transparent 94%);
}

/* Desktop Subtle Crimson Cursor Spotlight */
.sa-cursor-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(540px circle at var(--sa-mx, 50vw) var(--sa-my, 35vh), rgba(229, 9, 20, 0.075) 0%, rgba(185, 28, 28, 0.025) 42%, transparent 72%);
}
.sa-cursor-glow.is-active {
  opacity: 1;
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .sa-cursor-glow {
    display: none !important;
  }
}

/* Lightweight Floating Crimson Embers Canvas */
.sa-bg-embers {
  position: fixed;
  inset: 0;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  z-index: -2;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .sa-bg-embers {
    display: none !important;
  }
}


/* ─── Sections ────────────────────────────────────── */
section, .section {
  padding-top:    clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}


/* ─── Section Labels ──────────────────────────────────────── */
.section-eyebrow {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--r);
  background: rgba(var(--r-rgb),0.08);
  border: 1px solid rgba(var(--r-rgb),0.2);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--r);
  border-radius: 50%;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 52ch;
}

/* ─── Announcement bar ────────────────────────────────────── */
.announcement, .announcement-bar {
  background: rgba(var(--r-rgb), 0.08) !important;
  border-bottom: none !important;
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.78rem !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem !important;
  text-align: center;
}

/* ─── Buttons ─────────────────────────────────────────────── */
/* Note: font-weight 700 used throughout — 650 is invalid CSS */
.btn-primary,
.btn.btn-primary {
  background: var(--r);
  border-color: var(--r);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  /* Minimum touch target 44px for mobile */
  min-height: 44px;
}
.btn-primary:hover,
.btn.btn-primary:hover {
  /* color-mix() fallback: use darker pre-computed value */
  background: var(--r-dark, #b91c1c);
  border-color: var(--r-dark, #b91c1c);
  box-shadow: 0 6px 20px rgba(var(--r-rgb), 0.4);
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
}

.btn-outline-primary,
.btn.btn-outline-primary {
  color: var(--r);
  border-color: rgba(var(--r-rgb), 0.4);
  background: transparent;
  font-weight: 600;
  border-radius: var(--radius-sm);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  min-height: 44px;
}
.btn-outline-primary:hover,
.btn.btn-outline-primary:hover {
  background: rgba(var(--r-rgb), 0.12);
  border-color: var(--r);
  color: #fff;
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
}

/* ─── Forms ───────────────────────────────────────────────── */
.form-control,
.form-select {
  background: var(--bg2);
  border-color: var(--border);
  color: #fff;
  border-radius: 10px;
  /* iOS zoom prevention: font-size ≥ 16px */
  font-size: 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.form-control:focus,
.form-select:focus {
  background: var(--bg2);
  border-color: rgba(var(--r-rgb), 0.5);
  -webkit-box-shadow: 0 0 0 3px rgba(var(--r-rgb), 0.12);
  box-shadow: 0 0 0 3px rgba(var(--r-rgb), 0.12);
  color: #fff;
}
.form-check-input:checked {
  background-color: var(--r);
  border-color: var(--r);
}

/* ─── Scrollbar (WebKit only — Firefox uses scrollbar-color) */
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-thumb {
  background: rgba(var(--r-rgb), 0.3);
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb:hover { background: rgba(var(--r-rgb), 0.5); }
*::-webkit-scrollbar-track { background: transparent; }
/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--r-rgb), 0.3) transparent;
}

/* ─── Text selection ──────────────────────────────────────── */
::-moz-selection { background: rgba(var(--r-rgb), 0.45); color: #fff; }
::selection      { background: rgba(var(--r-rgb), 0.45); color: #fff; }

/* ─── Pagination ──────────────────────────────────────────── */
.pagination {
  --bs-pagination-active-bg:            var(--r);
  --bs-pagination-active-border-color:  var(--r);
  --bs-pagination-bg:                   var(--bg2);
  --bs-pagination-border-color:         var(--border);
  --bs-pagination-color:                rgba(255,255,255,0.7);
  --bs-pagination-hover-bg:             var(--bg1);
  --bs-pagination-hover-border-color:   var(--border);
  --bs-pagination-hover-color:          #fff;
}

/* ─── Modals ──────────────────────────────────────────────── */
.modal-content {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.modal-header { border-bottom-color: var(--border); }
.btn-close { -webkit-filter: invert(1) opacity(0.6); filter: invert(1) opacity(0.6); }

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

/* ─── Layout helpers ──────────────────────────────────────── */
.flex-wrapper {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
}
.flex-wrapper > div:first-child { -webkit-flex: 1; flex: 1; }

/* Ambient background image permanently suppressed */
.bg-image { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* ─── Alpine cloak ────────────────────────────────────────── */
[x-cloak] { display: none !important; }

/* ─── Number inputs ───────────────────────────────────────── */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }

/* ─── Bootstrap overrides ─────────────────────────────────── */
:root {
  --bs-primary:        var(--r);
  --bs-primary-rgb:    var(--r-rgb);
  --bs-link-color:     var(--r);
  --bs-body-bg: #0e0709;
  --bs-border-color:   rgba(255,255,255,0.07);
  --bs-border-radius:  0.625rem;
  --bs-gray-bg:        #111111;
}
.bg-gray { background: #111111; }
hr { border-color: var(--border) !important; opacity: 1 !important; }

/* ─── Inner page spacing ──────────────────────────────────── */
.py-5-nav {
  padding-top: calc(var(--sa-header-h, 64px) + 1.5rem) !important;
  padding-bottom: 2rem;
}
.py-20 {
  padding-top: clamp(3rem,7vw,6rem);
  padding-bottom: clamp(3rem,7vw,6rem);
}

/* ─── Cart page ───────────────────────────────────────────── */
.cart .section-title h1 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.cart .card,
.cart-totals {
  background: var(--glass-bg, rgba(255,255,255,0.025)) !important;
  border: 1px solid var(--glass-border, rgba(255,255,255,0.08)) !important;
  border-radius: var(--radius-lg, 22px) !important;
}
.cart .border.rounded { border-color: var(--glass-border, rgba(255,255,255,0.08)) !important; border-radius: var(--radius-md, 16px) !important; }
.cart img.rounded { border-radius: var(--radius-sm, 12px) !important; }
/* Mobile cart padding */
@media (max-width: 900px) {
  .py-5-nav { padding-top: calc(var(--sa-header-h, 90px) + 1rem) !important; }
  .cart .card { border-radius: var(--radius-md, 16px) !important; }
}

/* ─── Product page ────────────────────────────────────────── */
.product-page .section-title h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.variants .variant {
  background: var(--glass-bg, rgba(255,255,255,0.03));
  border: 1px solid var(--glass-border, rgba(255,255,255,0.09));
  border-radius: var(--radius-sm, 12px);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  /* Touch-friendly */
  min-height: 44px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 0.75rem !important;
}
.variants .variant .name-stock {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  text-align: left !important;
}
.variants .variant .price {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  min-width: max-content !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-align: right !important;
  font-variant-numeric: tabular-nums !important;
  padding: 0.35rem 0.65rem !important;
  border-radius: var(--radius-xs, 8px) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
}
.variants .variant.active,
.variants .variant:hover {
  border-color: var(--r, #dc2626);
  background: rgba(var(--r-rgb, 220,38,38), 0.08);
}
.variants .variant.active .price {
  background: rgba(var(--r-rgb, 220, 38, 38), 0.22) !important;
  color: #fff !important;
}

/* ─── FAQ accordion ───────────────────────────────────────── */
.accordion-item {
  background: var(--glass-bg, rgba(255,255,255,0.025)) !important;
  border: 1px solid var(--glass-border, rgba(255,255,255,0.08)) !important;
  border-radius: var(--radius-md, 16px) !important;
  margin-bottom: 0.6rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.accordion-item:has(.accordion-button:not(.collapsed)) { border-color: rgba(var(--r-rgb,220,38,38),0.3) !important; }
.accordion-button {
  background: transparent !important;
  color: #fff !important;
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border-radius: var(--radius-md, 16px) !important;
  min-height: 52px; /* touch target */
  padding: 1rem 1.25rem;
}
.accordion-button::after {
  -webkit-filter: invert(1) opacity(0.5);
  filter: invert(1) opacity(0.5);
}
.accordion-button:not(.collapsed) { color: var(--r, #dc2626) !important; }
.accordion-body {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ─── Status badges ───────────────────────────────────────── */
.status-card {
  background: var(--glass-bg, rgba(255,255,255,0.025));
  border: 1px solid var(--glass-border, rgba(255,255,255,0.08));
  border-radius: var(--radius-lg, 22px);
  padding: 1.4rem 1.5rem;
}

/* ─── Global section titles ───────────────────────────────── */
.section-title h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 0.75rem;
}
.section-subtitle p {
  color: rgba(255,255,255,0.45);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ─── Product image (product page) ───────────────────────── */
.product-image img,
.carousel-inner img,
.product-img-placeholder {
  border-radius: var(--radius-lg, 24px);
  border: 1px solid var(--glass-border, rgba(255,255,255,0.08));
  max-width: 100%;
  box-shadow: 0 20px 45px rgba(0,0,0,0.4), 0 0 50px -18px rgba(var(--r-rgb,220,38,38),0.35);
}
.thumbnails button {
  border-radius: var(--radius-sm, 10px) !important;
  overflow: hidden;
  border: 1px solid var(--glass-border, rgba(255,255,255,0.08)) !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.thumbnails button.active,
.thumbnails button:hover {
  border-color: var(--r, #dc2626) !important;
  transform: translateY(-2px);
}
/* Dark-themed form controls across cart / checkout / product forms */
.form-control, .form-select {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--glass-border, rgba(255,255,255,0.1)) !important;
  color: #fff !important;
  border-radius: var(--radius-sm, 10px) !important;
}
.form-control:focus, .form-select:focus {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(var(--r-rgb,220,38,38),0.5) !important;
  box-shadow: 0 0 0 3px rgba(var(--r-rgb,220,38,38),0.15) !important;
}
.form-control::placeholder { color: rgba(255,255,255,0.3) !important; }
.form-label { font-weight: 600; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.input-group .btn-outline-primary { border-radius: var(--radius-sm, 10px) !important; }
.alert { border-radius: var(--radius-md, 16px) !important; border-width: 1px !important; }
.alert-danger { background: rgba(239,68,68,0.1) !important; border-color: rgba(239,68,68,0.3) !important; color: #fca5a5 !important; }
.alert-warning { background: rgba(245,158,11,0.1) !important; border-color: rgba(245,158,11,0.3) !important; color: #fcd34d !important; }
.stock-indicator { border-radius: var(--radius-pill, 999px) !important; font-weight: 700 !important; }
.badges > div, .promo-pill-badge { border-radius: var(--radius-pill, 999px) !important; }
.spinner-border.text-primary { color: var(--r, #dc2626) !important; }

/* ─── Mobile global tweaks ────────────────────────────────── */
@media (max-width: 576px) {
  /* Prevent tiny text */
  body { font-size: 15px; }

  /* Full-width containers on small screens */
  .container { padding-left: 16px; padding-right: 16px; }

  /* Stack section content */
  .section-subtitle { max-width: 100%; }
}

@media (max-width: 380px) {
  body { font-size: 14px; }
}

/* ─── Safe area insets (iOS notch / home bar) ─────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  body { padding-bottom: env(safe-area-inset-bottom); }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE BUTTON & TOUCH FIXES
   ═══════════════════════════════════════════════════════════ */

/* Remove blue flash on tap for all interactive elements */
a, button, [type="button"], [type="submit"], .btn,
.sa-nav__cart, .sa-nav__link, .sa-nav__cta {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ─── Cart page mobile ────────────────────────────────────── */

/* Quantity +/- buttons: bigger touch area on mobile */
@media (max-width: 768px) {
  .input-group-btn,
  .input-group .btn {
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Checkout submit button — full width, tall enough */
  .cart .btn[type="submit"],
  .cart button[type="submit"],
  form .btn-outline-primary[type="submit"],
  .w-100.mt-4.btn {
    min-height: 52px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
  }

  /* Trash/remove button larger tap area */
  .btn.text-danger {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Cart product rows: better stacking */
  .cart .product .d-flex.align-items-center {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* Number input in cart */
  .input-group input[type="number"] {
    min-height: 44px;
    font-size: 1rem;
    text-align: center;
  }
}

/* ─── Product page mobile ─────────────────────────────────── */
@media (max-width: 768px) {
  /* Add to cart / buy button */
  .product-wrapper .btn-primary,
  .product-wrapper .btn-outline-primary,
  .product-wrapper button.btn {
    min-height: 52px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    width: 100%;
  }

  /* Variant/tab select buttons */
  .product-tabs .btn,
  .product-wrapper .btn-group .btn {
    min-height: 44px;
    padding: 0.6rem 1rem;
  }

  /* Stack product layout on small screens */
  .product-wrapper .row.gx-4 {
    flex-direction: column;
  }
}

/* ─── Hero buttons mobile ─────────────────────────────────── */
@media (max-width: 480px) {
  .sa-hero__btn-primary,
  .sa-hero__btn-secondary {
    min-height: 52px;
    font-size: 1rem;
    border-radius: 12px;
  }
}

/* ─── General: fix z-index stacking so nothing blocks taps ── */
.sa-nav { z-index: 900; }
.sa-hero, .sa-products, .sa-footer { z-index: 1; }

/* Prevent any animated element from accidentally blocking taps */
@media (max-width: 768px) {
  .sa-hero__orb-a,
  .sa-hero__orb-b,
  .sa-hero__brandmark-wrap,
  .sa-hero__gradient,
  .sa-bg-grid,
  .sa-bg-embers {
    pointer-events: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   PROFESSIONAL POLISH v2 — dividers, toned glow, cross-browser
   ═══════════════════════════════════════════════════════════ */

/* Section dividers removed */

/* Tone down global red glows */
.sa-features .sa-feat:hover,
.sa-fb-card:hover,
.sa-vouch:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.35) !important;
  border-color: rgba(255,255,255,0.14) !important;
}

/* Cross-browser: backdrop-filter fallback for Firefox <103 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sa-nav,
  .sa-card__stock-pill,
  .sa-card__group-tag {
    background-color: rgba(10,10,10,0.9) !important;
  }
}

/* iOS/Safari tap-highlight cleanup */
a, button, .sa-card, .sa-hero__btn-primary, .sa-hero__btn-secondary {
  -webkit-tap-highlight-color: transparent;
}

/* Prevent 16px iOS zoom on form inputs */
input, select, textarea {
  font-size: 16px;
}

/* Safer viewport on mobile — avoid iOS 100vh URL-bar jump */
@supports (height: 100dvh) {
  .sa-hero { min-height: 88dvh; }
}

/* iPad / tablet product grid tightening */
@media (min-width: 640px) and (max-width: 1023px) {
  .sa-products__grid,
  .sa-features__grid--auto {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 1rem !important;
  }
}

/* Mobile product grid: 2 columns for modern app-like shopping */
@media (max-width: 639px) {
  .sa-products__grid,
  .sa-social__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }
}
@media (max-width: 330px) {
  .sa-products__grid,
  .sa-social__grid {
    grid-template-columns: 1fr !important;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .sa-hero__wrap,
  .sa-products__wrap,
  .sa-features__wrap { padding-left: 14px; padding-right: 14px; }
}

/* ─── Red glow accents — bright flare, clearly visible ────────── */

/* Eyebrow tags — sharp bright flare spike on the dot, repeating */
.sa-eyebrow {
  box-shadow: 0 0 16px rgba(var(--cl-primary-rgb,220,38,38),0.18);
}
.sa-eyebrow::before {
  animation: saEyebrowFlare 2.6s ease-in-out infinite;
}
@keyframes saEyebrowFlare {
  0%, 65%, 100% {
    transform: scale(1);
    box-shadow: 0 0 6px 1.5px rgba(var(--cl-primary-rgb,220,38,38),0.9);
  }
  12% {
    transform: scale(1.7);
    box-shadow: 0 0 18px 6px rgba(var(--cl-primary-rgb,220,38,38),1);
  }
}

/* Primary CTA buttons — bright flare spike in the glow + a sweeping light streak */
.sa-hero__btn-primary,
.pc-card__add-btn,
.pf-btn--primary {
  position: relative;
  overflow: hidden;
  animation: saGlowFlare 3.6s ease-in-out infinite;
}
.sa-hero__btn-primary::after,
.pc-card__add-btn::after,
.pf-btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.65), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: saShineSweep 3.6s ease-in-out infinite;
}
.sa-hero__btn-primary:hover,
.pc-card__add-btn:hover,
.pf-btn--primary:hover {
  animation: none;
}
.sa-hero__btn-primary:hover::after,
.pc-card__add-btn:hover::after,
.pf-btn--primary:hover::after {
  animation: none;
  left: -60%;
}
@keyframes saGlowFlare {
  0%, 60%, 100% { box-shadow: 0 4px 20px rgba(var(--cl-primary-rgb,220,38,38),0.35); }
  15% { box-shadow: 0 4px 38px 6px rgba(var(--cl-primary-rgb,220,38,38),0.85); }
}
@keyframes saShineSweep {
  0% { left: -60%; }
  35%, 100% { left: 130%; }
}

/* Section title underlines removed */
.sa-section-title::after {
  display: none !important;
  content: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .sa-eyebrow::before,
  .sa-hero__btn-primary,
  .pc-card__add-btn,
  .pf-btn--primary,
  .sa-hero__btn-primary::after,
  .pc-card__add-btn::after,
  .pf-btn--primary::after,
  .sa-section-title::after {
    animation: none !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   MOBILE CLEANUP — tighter, clearer, no clipped categories
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Safer horizontal padding everywhere */
  .sa-hero__wrap,
  .sa-products__wrap,
  .sa-social__wrap,
  .sa-socials__wrap,
  .sa-features__wrap,
  .sa-reviews__wrap,
  .sa-footer__wrap,
  .cmp2-wrap,
  .sa-faq,
  .sa-cta__wrap {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* Tighter section rhythm */
  section.component,
  .component {
    padding-top: clamp(2.5rem, 7vw, 4rem);
    padding-bottom: clamp(2.5rem, 7vw, 4rem);
  }

  /* Dedicated category pages need room under chips + back btn */
  body.sa-has-back-home .sa-products,
  body.sa-has-back-home .sa-social,
  body:has(#sa-back-home.sa-back-home--visible) .sa-products,
  body:has(#sa-back-home.sa-back-home--visible) .sa-social {
    padding-top: 4.5rem !important;
  }

  /* Product cards — cleaner, proportional on mobile */
  .sa-card {
    border-radius: 13px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .sa-card__media {
    aspect-ratio: 16/9 !important;
    padding: 0 !important;
  }
  .sa-card__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Socials cards full width */
  .sa-socials__grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  /* Platform chips — no overflow */
  .sa-social__platforms {
    justify-content: center;
    padding: 0 2px;
  }

  /* Scale logo pattern & architectural grid gracefully on phone screens */
  .sa-brand-pattern {
    background-size: 160px 160px;
    opacity: 0.011;
  }
  .sa-bg-grid {
    background-size: 72px 72px, 36px 36px, 36px 36px;
    opacity: 0.72;
  }

  /* Footer tighter */
  .sa-footer {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  /* Comparison / features: single column feel */
  .sa-features__grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
}


/* ─── No decorative accent bars / hairlines ───────────────────
   Consolidated from several older passes — kept as one rule so
   no stray divider line can ever reappear under the fixed nav
   or between sections. */
.sa-section-title::after,
main > section + section::before,
main > .component + .component::before,
body > section + section::before,
.sa-vouches::before,
.sa-feat::after,
.sa-socials__header::after,
.sa-reviews__header::after,
.sa-nav::after,
.sa-nav::before,
.sa-nav__inner::after,
.sa-nav__inner::before {
  display: none !important;
  content: none !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
.sa-nav,
.sa-nav__cats,
.sa-nav__mobile {
  border-bottom: none !important;
  border-bottom-color: transparent !important;
}
body > .sa-nav + *,
main > *:first-child {
  border-top: none !important;
  box-shadow: none !important;
}

/* ─── Seamless section blending ─────────────────────
   Sections must never paint an opaque dark base that ends in a hard edge
   against the page's red ambience. */
section, .section, main, main > * {
  background-color: transparent;
}

/* ─── Cross-device pass (phone / tablet / desktop) ─── */

/* Nothing may push the page sideways on small screens. */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video, canvas, iframe { max-width: 100%; height: auto; }
button svg, .btn svg, a.btn svg { max-width: initial; }
iframe { border: 0; }
pre, code { white-space: pre-wrap; word-break: break-word; }
h1, h2, h3, h4, p, a, span, li { overflow-wrap: anywhere; }

/* Wide tables scroll instead of stretching the layout */
.table-responsive, .sa-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { max-width: 100%; }

/* Tablet */
@media (max-width: 1024px) {
  section:not(.sa-hero), .section:not(.sa-hero) { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
  .container, .sa-container { padding-left: 20px; padding-right: 20px; }
}

/* Phone */
@media (max-width: 768px) {
  :root { --fs-h1: clamp(1.75rem, 7.5vw, 2.25rem); --fs-h2: clamp(1.3rem, 5.5vw, 1.7rem); }
  section:not(.sa-hero), .section:not(.sa-hero) { padding-top: 2.25rem; padding-bottom: 2.25rem; }
  .container, .sa-container { padding-left: 16px; padding-right: 16px; }
  /* Any 2+ column grid collapses to a single readable column unless a
     component explicitly opts out with .sa-keep-cols */
  [class*="__grid"]:not(.sa-keep-cols) { gap: 0.9rem; }
  /* Comfortable tap targets */
  a, button, .btn, [role="button"], input[type="submit"] { min-height: 40px; }
  input, select, textarea { font-size: 16px; } /* stops iOS zoom-on-focus */
  /* Sleek, proportional hero action buttons on mobile */
  .sa-hero__btns { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.6rem; width: 100%; }
  .sa-hero__btns > * { flex: 1 1 auto; max-width: 220px; width: auto; justify-content: center; }
}

/* Landscape phones: don't lock sections to viewport height */
@media (max-height: 520px) and (orientation: landscape) {
  .sa-hero, section, .section { min-height: auto !important; }
}

/* ─── Legal pages (Terms, Privacy, Refund, Shipping, Cookies, Impressum,
       Right of Withdrawal) ───────────────────────────────────────────────
   The content is raw HTML coming from SellAuth's legal editor, so it arrives
   as plain h2/h3/p/ul/ol/strong/table tags without the .e-* editor classes
   that pro.css styles. These rules make that raw markup readable and keep it
   on-theme (dark glass panel, red accents). */
.legal-page .section-title h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.legal-page__content {
  background: var(--glass-bg, rgba(255,255,255,0.025)) !important;
  border: 1px solid var(--glass-border, rgba(255,255,255,0.08));
  border-radius: var(--radius-lg, 22px);
  color: rgba(255,255,255,0.82);
  font-size: 0.975rem;
  line-height: 1.75;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
}
.legal-page__content > *:first-child { margin-top: 0; }
.legal-page__content > *:last-child { margin-bottom: 0; }
.legal-page__content h1,
.legal-page__content h2,
.legal-page__content h3,
.legal-page__content h4,
.legal-page__content h5,
.legal-page__content h6 {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 2rem 0 0.75rem;
}
.legal-page__content h1 { font-size: clamp(1.35rem, 4vw, 1.75rem); }
.legal-page__content h2 { font-size: clamp(1.2rem, 3.4vw, 1.45rem); }
.legal-page__content h3 { font-size: clamp(1.05rem, 3vw, 1.2rem); }
.legal-page__content h4,
.legal-page__content h5,
.legal-page__content h6 { font-size: 1.02rem; }
.legal-page__content p { margin: 0 0 1rem; }
.legal-page__content br { line-height: inherit; }
.legal-page__content strong,
.legal-page__content b { color: #fff; font-weight: 700; }
.legal-page__content em, .legal-page__content i { font-style: italic; }
.legal-page__content u { text-decoration: underline; }
.legal-page__content ul,
.legal-page__content ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
.legal-page__content ul { list-style: disc outside; }
.legal-page__content ol { list-style: decimal outside; }
.legal-page__content ul ul { list-style: circle outside; }
.legal-page__content ol ol { list-style: lower-alpha outside; }
.legal-page__content li { margin: 0.35rem 0; padding-left: 0.15rem; }
.legal-page__content li::marker { color: var(--cl-primary, #dc2626); }
.legal-page__content li > ul,
.legal-page__content li > ol { margin: 0.35rem 0 0.35rem; }
.legal-page__content a {
  color: var(--cl-primary, #dc2626);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page__content a:hover { color: #fff; }
.legal-page__content blockquote {
  margin: 0 0 1rem;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid var(--cl-primary, #dc2626);
  color: rgba(255,255,255,0.72);
}
.legal-page__content hr {
  border: 0;
  border-top: 1px solid var(--glass-border, rgba(255,255,255,0.1)) !important;
  margin: 1.75rem 0;
  opacity: 1;
}
.legal-page__content code,
.legal-page__content pre {
  background: rgba(0,0,0,0.45);
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
}
.legal-page__content code { padding: 0.1rem 0.35rem; }
.legal-page__content pre { padding: 0.85rem 1rem; overflow-x: auto; }
.legal-page__content img { max-width: 100%; height: auto; border-radius: 12px; }
.legal-page__content table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 0 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.legal-page__content th,
.legal-page__content td {
  border: 1px solid var(--glass-border, rgba(255,255,255,0.1));
  padding: 0.55rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.legal-page__content th { color: #fff; font-weight: 700; background: rgba(255,255,255,0.03); }
.legal-page__empty { color: rgba(255,255,255,0.55); margin: 0; }

/* Tablet */
@media (max-width: 1024px) {
  .legal-page__content { font-size: 0.95rem; }
}
/* Phone */
@media (max-width: 768px) {
  .legal-page__content {
    padding: 1.15rem !important;
    border-radius: var(--radius-md, 16px);
    font-size: 0.93rem;
    line-height: 1.7;
  }
  .legal-page__content h1,
  .legal-page__content h2,
  .legal-page__content h3 { margin-top: 1.5rem; }
  .legal-page__content ul,
  .legal-page__content ol { padding-left: 1.25rem; }
}

/* ─── Reseller Section Global Centering & Optimization ─────── */
.sa-products--reseller .sa-products__grid,
.sa-products[id="reseller"] .sa-products__grid,
[data-component-id="products-reseller"] .sa-products__grid,
.sa-products__grid--reseller {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: stretch !important;
  flex-wrap: wrap !important;
  max-width: 680px !important;
  margin: 0 auto !important;
  gap: 1.5rem !important;
}
.sa-products--reseller .sa-products__grid > *,
.sa-products[id="reseller"] .sa-products__grid > *,
[data-component-id="products-reseller"] .sa-products__grid > *,
.sa-products__grid--reseller > * {
  flex: 0 1 290px !important;
  max-width: 320px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
@media (max-width: 640px) {
  .sa-products--reseller .sa-products__grid,
  .sa-products[id="reseller"] .sa-products__grid,
  [data-component-id="products-reseller"] .sa-products__grid,
  .sa-products__grid--reseller {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: center !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    gap: 0.65rem !important;
    padding: 0 2px !important;
  }
  .sa-products--reseller .sa-products__grid > *,
  .sa-products[id="reseller"] .sa-products__grid > *,
  [data-component-id="products-reseller"] .sa-products__grid > *,
  .sa-products__grid--reseller > * {
    flex: initial !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}
@media (max-width: 380px) {
  .sa-products--reseller .sa-products__grid,
  .sa-products[id="reseller"] .sa-products__grid,
  [data-component-id="products-reseller"] .sa-products__grid,
  .sa-products__grid--reseller {
    grid-template-columns: 1fr !important;
    max-width: 290px !important;
    margin: 0 auto !important;
  }
}

/* Hard suppression of comparison component and review strip */
.cmp2-section,
.cmp2-vouches-strip,
.cmp2-wrap,
[data-component-id*="comparison"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Scroll-Triggered Smooth Entrance Animations
   ========================================================================== */
.sa-scroll-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.sa-scroll-item.sa-is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Stagger wave timing */
.sa-cat-grid .sa-scroll-item:nth-child(1) { transition-delay: 0.04s; }
.sa-cat-grid .sa-scroll-item:nth-child(2) { transition-delay: 0.12s; }
.sa-cat-grid .sa-scroll-item:nth-child(3) { transition-delay: 0.20s; }
.sa-cat-grid .sa-scroll-item:nth-child(4) { transition-delay: 0.28s; }

.sa-hiw__grid .sa-scroll-item:nth-child(1) { transition-delay: 0.05s; }
.sa-hiw__grid .sa-scroll-item:nth-child(2) { transition-delay: 0.15s; }
.sa-hiw__grid .sa-scroll-item:nth-child(3) { transition-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
  .sa-scroll-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* Ensure modals never leak content while closed */
.modal:not(.show) { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
