/* BLUE WAVE BLUE WAVE - discord.gg/engine / discord.gg/enginex */

/* NAVBAR */

:root {
  --background-color: #0b0b0b;
  --text-color: #ffffff;
}

[data-theme="light"] {
  --background-color: #ffffff;
  --text-color: #000000;
}


:root {
  --bg: #0b0c10f5;
  --bg-hover: rgba(255,255,255,0.08);
  --text-primary: #e5e7eb;
  --text-secondary: #a1a1aa;
  --accent: #005de0;
  --border: rgba(255,255,255,0.1);

}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-hover: rgba(0,0,0,0.05);
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --accent: #4f46e5;
  --border: rgba(0,0,0,0.1);

}

/* Sidebar Base */
.sellauth-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 270px; height: 100vh;
  background: var(--bg-main);
  border-right: 1px solid var(--border);
  color: var(--text-primary);
  display: flex; flex-direction: column;
  justify-content: space-between;
  transition: background 0.3s, color 0.3s, width 0.3s;
}

/* Header */
.sidebar-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem 0.5rem;
}
.sidebar-logo { height: 38px; }
.sidebar-title { font-weight: 700; font-size: 1.2rem; margin-left: .5rem; }

/* Theme Toggle */
.sidebar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}
.theme-toggle {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
}
.theme-toggle:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
  color: var(--accent);
}

/* Section Titles & Dividers */
.section-title {
  font-size: 0.75rem; text-transform: uppercase;
  color: var(--text-muted); letter-spacing: 0.05em;
  padding: 0.5rem 1.5rem 0.25rem;
}
.sidebar-divider {
  width: 100%; height: 1px;
  background: var(--border);
  margin: 0.25rem 0 1rem;
}

/* Menu Links */
.sidebar-menu a {
  display: flex; align-items: center;
  gap: 1rem; color: var(--text-primary);
  padding: .65rem 1.4rem; border-radius: 8px;
  text-decoration: none; transition: all 0.25s ease;
}
.sidebar-menu a:hover {
  background: var(--bg-hover); color: var(--accent);
}
.sidebar-menu a.active {
  background: linear-gradient(90deg, #4f46e5, #6366f1);
  color: #fff; box-shadow: 0 0 18px rgba(99,102,241,0.4);
}

/* Footer */
.sidebar-footer {
  border-top: 1px solid var(--border);
  padding: 1rem; display: flex; flex-direction: column; gap: .6rem;
}

/* Icons */
.icon {
  width: 20px; height: 20px; min-width: 20px;
  stroke: currentColor; stroke-width: 2;
}

/* Collapsed */
.sellauth-sidebar.collapsed {
  width: 100px;
  background: #090a0f;
}
.sellauth-sidebar.collapsed span,
.sellauth-sidebar.collapsed .section-title,
.sellauth-sidebar.collapsed .currency-selector { opacity: 0; transform: translateX(-10px); pointer-events: none; }
.sellauth-sidebar.collapsed a {
  justify-content: center;
  padding: 0.9rem 0;
}

.sellauth-sidebar.collapsed .icon {
  margin: 0 auto;
  display: block;
}


/* Logo vertikal sauber */
.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
}

/* Collapsed – Footer Buttons sauber mittig */
.sellauth-sidebar.collapsed .footer-btn {
  width: 40px; height: 40px;
  padding: 0;
  justify-content: center;
  border-radius: 10px;
}

/* Menü höher beginnen */
.sidebar-menu { flex: 1; padding-top: 0.25rem; }

/* Section spacing feiner */
.section-title { padding-bottom: 0.15rem; margin-bottom: 0.25rem; }
.sidebar-section ul { margin-top: 0.15rem; }

/* Neue Toggle-Icon-Animation */
.sidebar-toggle {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
}
.sidebar-toggle:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
  transform: rotate(-90deg);
}
.toggle-icon { transition: all .3s ease; }

/* Footer Buttons unified */
.footer-btn {
  display:flex; align-items:center; gap:.7rem;
  color:var(--text-primary);
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  border-radius:8px;
  padding:.45rem .8rem;
  transition:all .25s ease;
  text-decoration:none;
}
.footer-btn:hover {
  background:var(--bg-hover);
  border-color:var(--accent);
  color:var(--accent);
}
.footer-btn .icon { width:18px; height:18px; }

/* Cart count reposition */
.cart-count {
  top:4px; right:6px;
  font-size:10px;
  background:var(--accent);
  color:#fff;
  border-radius:999px;
  padding:1px 4px;
}

/* Currency selector visual alignment */
.currency-selector { margin-top:.4rem; }

/* Minor polish for dark/light transition */
[data-theme="light"] .footer-btn { background:rgba(0,0,0,.03); border-color:rgba(0,0,0,.08); }



/* =========================
   COLLAPSED FINAL POLISH
   ========================= */

.sellauth-sidebar.collapsed {
  width: 120px;
  background: #0b0c10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: width 0.35s ease, background 0.3s ease;
}

/* --- Header section --- */
.sellauth-sidebar.collapsed .sidebar-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem .35rem;
}

/* Logo mittig + etwas größer */
.sellauth-sidebar.collapsed .sidebar-logo {
  height: 32px;
  margin-left: .25rem;
}

/* Actions nebeneinander und mittig */
.sellauth-sidebar.collapsed .sidebar-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

/* Einheitliche Buttons */
.sellauth-sidebar.collapsed .theme-toggle,
.sellauth-sidebar.collapsed .sidebar-toggle {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.sellauth-sidebar.collapsed .theme-toggle:hover,
.sellauth-sidebar.collapsed .sidebar-toggle:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Menu alignment --- */
.sellauth-sidebar.collapsed .sidebar-menu {
  width: 100%;
  padding-top: .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sellauth-sidebar.collapsed .sidebar-menu ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}

.sellauth-sidebar.collapsed .sidebar-menu a {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.sellauth-sidebar.collapsed .sidebar-menu a:hover {
  background: rgba(99,102,241,0.1);
}

/* Icons sauber mittig */
.sellauth-sidebar.collapsed .sidebar-menu .icon {
  width: 22px;
  height: 22px;
}

/* Text & Überschriften komplett ausblenden */
.sellauth-sidebar.collapsed span,
.sellauth-sidebar.collapsed .section-title,
.sellauth-sidebar.collapsed .currency-selector {
  display: none !important;
}

/* --- Footer alignment --- */
.sellauth-sidebar.collapsed .sidebar-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding-bottom: 1rem;
}

.sellauth-sidebar.collapsed .footer-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  transition: all .25s ease;
}
.sellauth-sidebar.collapsed .footer-btn:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
  color: var(--accent);
}


.sellauth-sidebar.collapsed {
  width: 170px;
}

/* Sidebar background + text */
.sellauth-sidebar {
  background: var(--bg);
  color: var(--text-primary);
}

/* Cart, Login, Footer Buttons */
.footer-btn {
  color: var(--text-primary);
  border-color: var(--border);
}
.footer-btn:hover {
  color: var(--accent);
}

/* Collapse + Theme buttons */
.sidebar-toggle,
.theme-toggle {
  color: var(--text-primary);
  border-color: var(--border);
  background: var(--bg-hover);
}

/* Hover State */
.sidebar-toggle:hover,
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Icon (SVG) Farben angleichen */
.icon {
  stroke: currentColor;
  color: inherit;
}

/* Logo invertieren bei hellem Theme */
.sidebar-logo {
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

/* === Sidebar Tooltip Hover Labels === */
.sellauth-sidebar.collapsed .sidebar-menu a {
  position: relative;
}

.sellauth-sidebar.collapsed .sidebar-menu a span {
  display: none;
}

.sellauth-sidebar.collapsed .sidebar-menu a::after {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) scale(0.95);
  background: rgba(20, 20, 25, 0.95);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
  z-index: 9999;
  backdrop-filter: blur(8px);
}

[data-theme="light"] .sellauth-sidebar.collapsed .sidebar-menu a::after {
  background: rgba(255,255,255,0.95);
  color: #111;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Small arrow */
.sellauth-sidebar.collapsed .sidebar-menu a::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: rgba(20, 20, 25, 0.95);
  opacity: 0;
  transition: all 0.25s ease;
  z-index: 9998;
}
[data-theme="light"] .sellauth-sidebar.collapsed .sidebar-menu a::before {
  border-right-color: rgba(255,255,255,0.95);
}

/* Show tooltip on hover */
.sellauth-sidebar.collapsed .sidebar-menu a:hover::after,
.sellauth-sidebar.collapsed .sidebar-menu a:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* Smooth appear */
.sellauth-sidebar.collapsed .sidebar-menu a:hover::after {
  transition-delay: 0.15s;
}

/* Make sure the tooltips get text dynamically */
.sellauth-sidebar.collapsed .sidebar-menu a::after {
  content: attr(data-label);
}



/* NAVBAR */





/* HERO */

/* =========================================
   THEME COLOR ADAPTATION (DARK/LIGHT)
   ========================================= */
:root {
  --accent: #005de0;
  --accent-light: #2e85ff;
  --hero-light: rgba(255, 255, 255, 0.6);
  --hero-dark: rgba(0, 0, 0, 0.4);
  --text-color: #fff;
  --bg-dark: #0b0b0d;
}

[data-theme="light"] {
  --accent: #000000;
  --accent-light: #666666;
  --text-color: #111111;
  --bg-dark: #fafafa;
  --hero-light: rgba(0, 0, 0, 0.2);
  --hero-dark: rgba(255, 255, 255, 0.7);
}

/* =========================================
   HERO BASE
   ========================================= */
.hero-cinematic {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--text-color);
  padding-left: 6rem; /* compensate for sidebar */
}

/* =========================================
   BACKGROUND & OVERLAY
   ========================================= */
.hero-cinematic .hero-bg {
  position: absolute;
  inset: 0;
  background: url('{{ properties.background_image | imageUrl }}') center/cover no-repeat;
  filter: brightness(0.4) contrast(1.1);
  z-index: 1;
  transform: scale(1.05);
  animation: zoomIn 15s ease-in-out infinite alternate;
}

@keyframes zoomIn {
  0% { transform: scale(1); }
  100% { transform: scale(1.07); }
}

.hero-cinematic .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 75% 35%,              /* Lichtquelle weiter rechts oben */
      rgba(0, 93, 224, 0.25) 0%,        /* sanftes inneres Glühen */
      rgba(0, 93, 224, 0.08) 25%,
      rgba(0,0,0,0.5) 75%,
      rgba(0,0,0,0.9) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0,0,0,0.4) 0%,
      var(--bg-dark) 100%
    );
  z-index: 2;
  transition: background 0.6s ease;
}

/* =========================================
   HERO CENTER CONTENT
   ========================================= */
.hero-center {
  position: relative;
  z-index: 3;
  max-width: 850px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  transform: none;
}

/* Logo */
.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.hero-logo img {
  width: 142px;
  max-width: 24vw;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 0 18px rgba(0, 93, 224, 0.22));
}

/* =========================================
   TITLE & LIGHT SWEEP
   ========================================= */
.hero-title {
  font-size: 4.4rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.35rem;
  letter-spacing: -0.035em;
  position: relative;
  overflow: hidden;
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .light-sweep {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    var(--hero-dark) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  animation: lightSweep 4s linear infinite;
}

@keyframes lightSweep {
  0% { left: -100%; }
  100% { left: 150%; }
}

/* =========================================
   SUBTEXT
   ========================================= */
.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 650px;
  margin-bottom: 2rem;
}
[data-theme="light"] .hero-sub {
  color: rgba(0,0,0,0.75);
}

/* =========================================
   CTA BUTTON
   ========================================= */
.hero-btn {
  width: 220px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #006aff 0%, #2f8cff 100%);
  color: #fff;
  font-weight: 700;
  padding: 0.95rem 2rem;
  border-radius: 14px;
  border: 1px solid rgba(130, 190, 255, 0.35);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 32px rgba(0, 106, 255, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 106, 255, 0.34);
  filter: brightness(1.08);
}
[data-theme="light"] .hero-btn {
  color: #fff;
}

/* =========================================
   STATS SECTION
   ========================================= */
.hero-stats {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-stats div {
  background: rgba(255,255,255,0.08);
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  color: var(--text-color);
}
.hero-stats div:hover {
  background: rgba(255,255,255,0.15);
}
[data-theme="light"] .hero-stats div {
  background: rgba(0,0,0,0.05);
  color: #222;
}

/* =========================================
   SCROLL INDICATOR
   ========================================= */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: calc(50% + 6rem); /* optical balance with sidebar */
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-color);
  font-size: 0.85rem;
}

.mouse {
  width: 28px;
  height: 45px;
  border: 2px solid var(--text-color);
  border-radius: 20px;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 93, 224, 0.25);
}

.wheel {
  width: 4px;
  height: 10px;
  background: var(--text-color);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheel 2s infinite;
}

@keyframes wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* =========================================
   ANIMATIONS ON LOAD
   ========================================= */
.animate-fade-up {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 1s ease forwards;
}
.animate-fade-down {
  opacity: 0;
  transform: translateY(-25px);
  animation: fadeDown 1s ease forwards;
}
.animate-fade-up.delay-1 { animation-delay: 0.2s; }
.animate-fade-up.delay-2 { animation-delay: 0.4s; }
.animate-fade-up.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  0% { opacity: 0; transform: translateY(-25px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 768px) {
  .hero-cinematic { padding-left: 0; }
  .hero-title { font-size: 2.65rem; }
  .hero-logo img { width: 108px; max-width: 34vw; }
  .hero-btn { width: 200px; min-height: 50px; }
  .hero-sub { font-size: 1rem; }
  .hero-center { transform: none; }
  .scroll-indicator { left: 50%; }
}


[data-theme="light"] .hero-overlay {
  background:
    radial-gradient(
      circle at 70% 30%,
      rgba(31, 120, 245, 0.247) 0%,
      rgba(56, 130, 233, 0.15) 30%,
      rgba(255, 255, 255, 0.05) 60%,
      rgba(255, 255, 255, 0.9) 100%
    ),
    linear-gradient(180deg, rgba(255,255,255,0.2) 0%, #fafafa 100%);
}

.hero-cinematic {
  position: relative;
  overflow: hidden;
}

.hero-cinematic .hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image, url('https://images.unsplash.com/photo-1503264116251-35a269479413?auto=format&fit=crop&w=1920&q=80'));
  background-size: cover;
  background-position: center;
  filter: brightness(0.42) contrast(1.04); /* cleaner, sharper hero background */
  z-index: 1;
  transition: background-image 0.4s ease-in-out;
}

.hero-cinematic .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 75% 35%, rgba(0, 93, 224, 0.22) 0%, rgba(0, 93, 224, 0.08) 30%, rgba(0,0,0,0.7) 85%, rgba(0,0,0,1) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.3) 0%, #000 100%);
  transition: background 0.6s ease;
}


[data-theme="light"] .hero-cinematic .hero-bg {
  filter: brightness(0.8) blur(1.5px);
}

[data-theme="light"] .hero-cinematic .hero-overlay {
  background:
    radial-gradient(circle at 70% 30%, rgba(80, 153, 255, 0.25) 0%, rgba(255,255,255,0.05) 60%, rgba(255,255,255,0.8) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.2) 0%, #fafafa 100%);
}


/* HERO */









/* === GLOBAL FIXES & MOBILE NAVBAR === */

/* 🧩 Sidebar bg variable fix */
.sellauth-sidebar {
  background: var(--bg) !important;
}


/* 🧩 Body Hintergrund angleichen für beide Themes */
body {
  background: var(--bg) !important;
  color: var(--text-primary) !important;
  transition: background 0.3s ease, color 0.3s ease;
}

/* 🧩 Navbar Mobile Toggle Support */
.navbar-toggler {
  border: none !important;
  background: rgba(255,255,255,0.05) !important;
  border-radius: 8px !important;
  transition: background 0.3s ease !important;
}

.navbar-toggler:hover {
  background: var(--bg-hover) !important;
}

.navbar-collapse {
  background: var(--bg) !important;
  z-index: 2000 !important;
}

/* 🧩 Fix Navbar open overlay */
.navbar-collapse.show {
  display: block !important;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: var(--bg) !important;
  padding: 1rem;
  border-top: 1px solid var(--border);
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}




/* CARDS */



/* ===== Scrollbar Styling ===== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
  height: 10px; /* horizontale scrollbar */
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background-color: #005de0; /* dein Accent-Orange */
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background-color: #006aff; /* etwas heller beim Hover */
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #005de0 rgba(255, 255, 255, 0.05);
}

/* ===== Horizontale Scrollbar ausblenden ===== */
html, body {
  overflow-x: hidden; /* verhindert seitliches Scrollen */
}

/* Entfernt die Punkte (Bullets) aus allen Sidebar-Listen */
.sidebar-section ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 10px; /* gleichmäßiger Abstand */
}

.sidebar-footer .footer-btn,
.sidebar-footer button.footer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 0; /* gleiche Höhe */
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  transition: all 0.2s ease;
}

.sidebar-footer .footer-btn:hover {
  background: rgba(255,255,255,0.08);
}

:root{
  --bg:#0a0b0f;
  --accent:#005de0;
  --accent-rgb:224, 155, 0;
  --text:#e7e8ea;
  --muted:#9aa0aa;
  --border:rgba(255,255,255,.08);
  --glass:blur(14px) saturate(140%);
  --radius:16px;
}
*{box-sizing:border-box;margin:0;padding:0;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,sans-serif;
  line-height:1.45;
}
a{text-decoration:none;color:inherit;}
.hero-static{
  width:100%;
  background:rgba(10,11,15,.72);
  backdrop-filter:var(--glass);
  border-bottom:1px solid var(--border);
  text-align:center;
  padding:24px 0 16px;
}
.hero__eyebrow{
  display:inline-flex;align-items:center;gap:.4rem;
  color:#66a6ff;font-weight:600;letter-spacing:.12em;
  text-transform:uppercase;font-size:.8rem;
  border:1px solid var(--border);border-radius:999px;
  padding:.3rem .7rem;background:#ffffff08;
}
.hero__title{margin:.4rem 0 .2rem;font-size:clamp(30px,5vw,44px);font-weight:800;}
.hero__subtitle{color:var(--muted);margin-bottom:12px;font-size:.95rem;}
.hero__controls{display:flex;flex-direction:column;align-items:center;gap:.8rem;}
.search{
  display:flex;align-items:center;gap:.6rem;
  padding:.5rem .9rem;border-radius:14px;
  border:1px solid var(--border);background:#0e1116cc;
  backdrop-filter:var(--glass);
}
.search input{
  background:transparent;border:0;outline:0;
  color:var(--text);width:min(60vw,420px);font-size:.95rem;
}
.btn-ghost{border:0;background:transparent;color:var(--muted);cursor:pointer;}
.filter{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;}
.chip{
  border:1px solid var(--border);
  background:#0e1116b0;color:#cfd1d6;
  padding:.45rem .8rem;border-radius:999px;
  font-weight:600;cursor:pointer;transition:.2s;
}
.chip:hover{background:#11151ccc;}
.chip--active{background:linear-gradient(180deg,#11161d,#0c1016);color:#fff;border-color:#ffffff22;}
.wrapper{width:min(1200px,92vw);margin:0 auto;padding:12px 0 60px;}
.section{
  background:rgba(15,17,22,0.75);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;margin-bottom:18px;
  backdrop-filter:var(--glass);
  box-shadow:0 8px 25px rgba(0,0,0,.35);
}
.section__title{
  text-transform:uppercase;font-weight:700;
  letter-spacing:.08em;font-size:1.05rem;
  display:flex;align-items:center;gap:8px;margin-bottom:10px;
}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;}
.download-card{
  background:rgba(20,22,30,0.8);
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
  transition:.3s;
  backdrop-filter:var(--glass);
}
.download-card:hover{border-color:rgba(var(--accent-rgb),.4);box-shadow:0 0 25px rgba(var(--accent-rgb),.2);}
.download-card__head{display:flex;align-items:center;gap:10px;margin-bottom:8px;}
.badge{
  width:34px;height:34px;display:grid;place-items:center;
  border-radius:10px;
  background:linear-gradient(180deg,rgba(var(--accent-rgb),.15),rgba(var(--accent-rgb),.05));
  border:1px solid rgba(var(--accent-rgb),.4);
}
.download-card__title{font-weight:700;}
.download-card__actions{display:flex;gap:8px;margin-top:10px;}
.btn{
  display:inline-flex;align-items:center;gap:.4rem;
  padding:.55rem .9rem;border-radius:10px;
  border:1px solid rgba(var(--accent-rgb),.4);
  background:linear-gradient(180deg,rgba(var(--accent-rgb),.2),rgba(var(--accent-rgb),.08));
  color:#fff;font-weight:600;cursor:pointer;transition:.25s;
}
.btn:hover{background:rgba(var(--accent-rgb),.25);transform:translateY(-2px);}
.btn--ghost{background:transparent;border:1px solid var(--border);}
.btn--ghost:hover{border-color:rgba(var(--accent-rgb),.3);color:#66a6ff;}
.toast{
  position:fixed;bottom:24px;left:50%;
  transform:translateX(-50%) translateY(20px);
  padding:.7rem 1rem;border-radius:14px;
  border:1px solid var(--border);
  background:#0e1117ee;color:#fff;font-weight:600;
  backdrop-filter:var(--glass);
  opacity:0;pointer-events:none;
  transition:transform .25s,opacity .25s;
}
.toast--show{opacity:1;transform:translateX(-50%) translateY(0);}


/* ====== THEME SYNC FIX + RIGHT OFFSET ====== */

/* Leichte Rechtsverschiebung für Content (wegen Sidebar) */
.hero-static,
.wrapper {
  position: relative;
  left: 60px; /* kannst feintunen: 50–70px ist meist perfekt */
}

/* Light Mode Styles */
[data-theme="light"] body,
body[data-theme="light"] {
  background: #f8f8f9 !important;
  color: #141414 !important;
}

[data-theme="light"] .hero-static {
  background: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(12px) saturate(160%);
}

[data-theme="light"] .hero__eyebrow {
  color: #0057d2;
  background: rgba(0, 93, 224, 0.08);
  border-color: rgba(0, 93, 224, 0.2);
}

[data-theme="light"] .hero__title {
  color: #111;
}

[data-theme="light"] .hero__subtitle {
  color: #5f5f5f;
}

/* Search Bar & Filter Chips */
[data-theme="light"] .search {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .search input {
  color: #111;
}
[data-theme="light"] .btn-ghost {
  color: #777;
}
[data-theme="light"] .chip {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
  color: #333;
}
[data-theme="light"] .chip--active {
  background: linear-gradient(180deg,#ecf4ff,#bed6f7);
  border-color: rgba(0, 93, 224, 0.6);
  color: #000;
}

/* Download Cards */
[data-theme="light"] .section {
  background: rgba(255,255,255,0.9);
  border-color: rgba(0,0,0,0.08);
  color: #1a1a1a;
}
[data-theme="light"] .download-card {
  background: rgba(255,255,255,0.75);
  border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .download-card:hover {
  border-color: rgba(0, 93, 224, 0.45);
  box-shadow: 0 0 18px rgba(0, 93, 224, 0.15);
}

[data-theme="light"] .btn {
  color: #222;
  background: linear-gradient(180deg,rgba(0, 93, 224, 0.25),rgba(0, 93, 224, 0.1));
  border-color: rgba(0, 93, 224, 0.4);
}
[data-theme="light"] .btn--ghost {
  color: #333;
  background: transparent;
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .btn--ghost:hover {
  color: #005de0;
  border-color: rgba(0, 93, 224, 0.4);
}

[data-theme="light"] .badge {
  background: linear-gradient(180deg,rgba(0, 93, 224, 0.2),rgba(0, 93, 224, 0.05));
  border-color: rgba(0, 93, 224, 0.4);
}

[data-theme="light"] .toast {
  background: rgba(255,255,255,0.9);
  color: #111;
  border-color: rgba(0,0,0,0.1);
}



.badge {
  flex: 0 0 auto;            /* verhindert, dass es sich ausdehnt oder schrumpft */
  width: 28px;
  height: 28px;
  min-width: 38px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.15),
    rgba(var(--accent-rgb), 0.05)
  );
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  margin-right: 8px;         /* zusätzlicher Abstand vom Text */
  position: relative;
  z-index: 1;
}



.download-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === FINAL PERFECT ALIGNMENT FOR ICON + TEXT === */
.download-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
  padding-left: 2px; /* minimaler optischer Ausgleich */
}



.download-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === FIX: Prevent button clipping inside cards === */
.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px; /* 👈 sorgt für genug vertikalen Platz */
  padding: 14px 14px 18px; /* etwas mehr unten */
  overflow: visible; /* 👈 verhindert Abschneiden */
  position: relative;
}

.download-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px; /* 👈 schafft Abstand zum Buttonbereich */
  line-height: 1.2;
}

.download-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto; /* 👈 schiebt Buttons schön ans Ende */
}

/* === BLUE WAVE PRODUCT CARD — CLEAN EDITION === */

.card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #081426 !important;
  border: 1px solid rgba(78, 161, 255, 0.18) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28) !important;
  aspect-ratio: 3 / 5;
  width: 94%;
  margin: 0 auto;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
  cursor: pointer;
  z-index: 1;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(78, 161, 255, 0.55) !important;
  box-shadow: 0 18px 38px rgba(0,0,0,.35), 0 0 24px rgba(78,161,255,.12) !important;
}

.card-img-top {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
}

.card-img-top::after {
  display: none !important;
  content: none !important;
}

.card-img-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transition: transform .45s ease, filter .3s ease;
  border: 0 !important;
  outline: 0 !important;
}

.card:hover .card-img-top img {
  transform: scale(1.035);
  filter: brightness(1.06);
}

.overlay {
  display: none !important;
}

.badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  z-index: 5;
  pointer-events: none;
}

.badges div {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  color: #bdddff;
  background: rgba(5, 24, 48, .82) !important;
  border: 1px solid rgba(78,161,255,.38) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
}

.badges div.badge-single,
.badges div.badge-group,
.badges div[data-text*="GROUP"],
.badges div[data-text*="SINGLE"] {
  color: #8cc7ff !important;
}

.card-body {
  display: flex !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  min-height: 56px;
  padding: 12px 16px 14px !important;
  align-items: flex-end;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.card-body .info,
.card-body .price,
.card-body .text-primary {
  display: none !important;
}

.card-body .card-title {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  color: #f4f8ff !important;
  font-size: .98rem !important;
  line-height: 1.25;
  font-weight: 650 !important;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 12px rgba(0,0,0,.75);
}

.product-img-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: linear-gradient(160deg, #09172a, #06101f);
  border-radius: inherit;
}

.product-img-placeholder svg {
  width: 42px;
  height: 42px;
  opacity: .55;
  color: #4ea1ff;
}

@media (max-width: 992px) {
  .card { width: 96%; }
}

@media (max-width: 600px) {
  .card { width: 100%; }
  .card-body { min-height: 52px; padding: 11px 13px 13px !important; }
  .card-body .card-title { font-size: .9rem !important; }
}

/* === SHIFT THE ENTIRE SHOP SECTION === */
section.container.component {
  padding-left: 200px; /* sanfter rechter Shift */
}

@media (max-width: 992px) {
  section.container.component {
    padding-left: 40px;
  }
}

@media (max-width: 600px) {
  section.container.component {
    padding-left: 0;
  }
}

/* === OPTIONAL: Wenn du nur die Cards schieben willst (statt Titel auch) === */
/*
section.container.component .products {
  margin-left: 80px;
}

@media (max-width: 992px) {
  section.container.component .products {
    margin-left: 40px;
  }
}

@media (max-width: 600px) {
  section.container.component .products {
    margin-left: 0;
  }
}
*/

/* === SHIFT MODAL CONTENT TO MATCH SECTION OFFSET === */
.modal-dialog {
  margin-left: 480px !important; /* gleiche Distanz wie Section */
  margin-right: auto !important;
  transition: all 0.3s ease;
}

@media (max-width: 992px) {
  .modal-dialog {
    margin-left: 40px !important;
  }
}

@media (max-width: 600px) {
  .modal-dialog {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}



/* Wenn Sidebar offen ist → Main-Content wird leicht rechts gedrückt */
@media (max-width: 992px) {
  body.sidebar-open {
    overflow: hidden;
  }

  body.sidebar-open main,
  body.sidebar-open section.container {
    pointer-events: none;
    filter: brightness(0.5);
  }
}

/* === REMOVE SIDEBAR ARROW ON MOBILE === */
@media (max-width: 992px) {
  .sellauth-sidebar .sidebar-toggle {
    display: none !important;
  }
}

/* === LOGO FIX ON MOBILE === */
@media (max-width: 992px) {
  .sellauth-sidebar .sidebar-brand {
    display: flex;
    justify-content: flex-start;
    padding-left: 130px; /* Abstand vom linken Rand */
  }

  .sellauth-sidebar .sidebar-logo {
    max-width: 50px;
    height: auto;
  }
}

/* === SCROLLABLE SIDEBAR ON MOBILE === */
@media (max-width: 992px) {
  .sellauth-sidebar {
    overflow-y: auto;       /* Scroll aktivieren */
    -webkit-overflow-scrolling: touch; /* sanftes iOS scrollen */
  }

  /* verhindert, dass Body selbst scrollt, während Sidebar offen ist */
  body.sidebar-open {
    overflow: hidden !important;
    height: 100vh;
    touch-action: none; /* kein Hintergrundscroll auf Touch */
  }
}

/* Optional: Scrollbar etwas stylen */
.sellauth-sidebar::-webkit-scrollbar {
  width: 6px;
}

.sellauth-sidebar::-webkit-scrollbar-thumb {
  background: rgba(0, 93, 224, 0.5);
  border-radius: 4px;
}

.sellauth-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 93, 224, 0.8);
}


@media (max-width: 768px) {
  .scroll-indicator,
  .mouse-scroll,
  .scroll-icon {
    transform: scale(0.7);
    bottom: 20px;
    left: 155px; /* weiter nach links */
    right: auto; /* falls vorher zentriert war */
    position: absolute !important;
  }

  .scroll-indicator svg,
  .mouse-scroll svg,
  .scroll-icon svg {
    width: 20px !important;
    height: 30px !important;
  }
}

/* === SHOP HEADER FIXED CENTER === */
.shop-header {
  text-align: center;
  margin: 60px auto 50px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.shop-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(0, 93, 224, 1) 0%, rgba(140, 188, 255, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 22px rgba(0, 93, 224, 0.2);
  margin-bottom: 10px;
  text-align: center;
}

.shop-subtitle {
  color: #9aa0aa;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.5;
  opacity: 0.85;
  text-align: center;
}

/* goldener Strich unter dem Titel */
.shop-header::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, rgba(0, 93, 224, 1) 0%, rgba(140, 188, 255, 0.7) 100%);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 93, 224, 0.6);
}

/* Responsive Feintuning */
@media (max-width: 768px) {
  .shop-header {
    margin-bottom: 40px;
  }
  .shop-title {
    font-size: clamp(28px, 7vw, 44px);
  }
  .shop-subtitle {
    font-size: 0.95rem;
    max-width: 90%;
  }
}

/* === HERO FADE EFFECT === */
.hero-cinematic {
  position: relative;
  overflow: hidden;
}

.hero-cinematic::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 340px; /* vorher 250px — mehr Reichweite */
  background: linear-gradient(
    to bottom,
    rgba(11, 11, 13, 0) 0%,
    rgba(11, 11, 13, 0.25) 30%,
    rgba(11, 11, 13, 0.55) 60%,
    rgba(11, 11, 13, 0.85) 85%,
    rgba(11, 11, 13, 1) 100%
  );
  pointer-events: none;
  z-index: 5;
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-bottom: 40px;
}

.section-title .live-title {
  font-weight: 800;
  font-size: 2.8rem;
  text-transform: uppercase;
  color: #f2f2f2;
  margin-bottom: 10px;
}

.section-title .accent {
  color: #005de0;
  text-shadow: 0 0 25px rgba(0, 93, 224, 0.9);
}

.section-title .sub {
  color: #aaa;
  font-size: 0.95rem;
  margin-top: 5px;
  margin-bottom: 25px;
  max-width: 700px;
}

/* === LIGHT MODE FIX === */
[data-theme="light"] {
  --text-primary: #111;
  --text-secondary: #444;
  --card-bg: rgba(0, 0, 0, 0.03);
  --card-border: rgba(0, 0, 0, 0.08);
  --status-bg: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .section-title .live-title {
  color: #111;
  text-shadow: 0 0 20px rgba(0, 106, 255, 0.3);
}

[data-theme="light"] .section-title .sub {
  color: var(--text-secondary);
}

[data-theme="light"] .status-group {
  background: var(--card-bg);
  border-color: var(--card-border);
}

[data-theme="light"] .status-card {
  background: var(--status-bg);
  border-color: rgba(0, 0, 0, 0.07);
  color: var(--text-primary);
}

[data-theme="light"] .status-card:hover {
  border-color: rgba(0, 106, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 106, 255, 0.1);
}

/* === STATUS GLOW COLORS (light mode softer) === */
[data-theme="light"] .status .indicator,
[data-theme="light"] .status .pulsating {
  filter: brightness(0.9);
  opacity: 0.8;
}

[data-theme="light"] .status .label {
  font-weight: 700;
  color: var(--status-color);
}

/* === ALIGN PAGE RIGHT === */
.live-status {
  padding-left: 180px; /* verschiebt alles nach rechts */
  padding-right: 40px;
  transition: padding 0.3s ease;
}

/* Mobile etwas kleineres Padding */
@media (max-width: 1024px) {
  .live-status {
    padding-left: 40px;
    padding-right: 20px;
  }
}
@media (max-width: 768px) {
  .live-status {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* === SIDEBAR SPACING FIX === */

/* Entfernt Einfluss vom globalen Padding */
.sellauth-sidebar {
  padding: 0 !important;
  margin: 0 !important;
}

/* Sektionen kompakter machen */
.sellauth-sidebar .sidebar-section {
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
}

/* Titel enger an den Items */
.sellauth-sidebar .section-title {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 6px !important;
  margin-top: 10px !important;
  padding-left: 10px;
}

/* Abstand zwischen Menüeinträgen verkleinern */
.sellauth-sidebar ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.sellauth-sidebar li {
  margin: 0 !important;
  padding: 4px 0 !important;
}

/* Links & Icons gleichmäßig ausrichten */
.sellauth-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 8px;
  color: #ccc;
  text-decoration: none;
  transition: background 0.2s;
}

.sellauth-sidebar a:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

/* Divider subtiler machen */
.sellauth-sidebar .sidebar-divider {
  margin: 8px 0;
  height: 1px;
  background: rgba(255,255,255,0.05);
}

/* Footer Buttons kompakter */
.sellauth-sidebar .sidebar-footer {
  margin-top: auto;
  padding: 10px 12px;
}
.sellauth-sidebar .footer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
  width: 100%;
}

.hero-static {
  padding-top: 1px !important; 
  padding-bottom: 61px;
  margin-top: 0 !important;
}

.hero__inner {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.wrapper {
  margin-top: 20px !important; /* etwas Luft, damit's clean aussieht */
}
.ornament {
  position: relative;
  width: 100px;
  height: 2px;
  margin: 26px auto 42px;
  background: linear-gradient(90deg, transparent, #5b8bcf, #b0cdf5, #5b8bcf, transparent);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(176, 205, 245, 0.5);
  overflow: hidden;
}

.ornament::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  animation: shimmer 3s infinite ease-in-out;
}

@keyframes shimmer {
  0% { left: -40%; opacity: 0; }
  40% { opacity: 1; }
  50% { left: 120%; opacity: 1; }
  100% { left: 120%; opacity: 0; }
}

/* === PRODUCT PANEL WRAPPER === */
.product-panel {
  background: rgba(15, 17, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 40px 36px 55px;
  margin: 30px auto 80px;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 93, 224, 0.05);
  position: relative;
  overflow: hidden;
}

/* Light glow edges */
.product-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(0, 93, 224, 0.1), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

/* Subtle floating animation */
@keyframes floatFade {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-panel {
  animation: floatFade 0.8s ease-out;
}

/* === RESPONSIVE PANEL === */
@media (max-width: 992px) {
  .product-panel {
    padding: 30px 24px 45px;
    margin: 20px auto 60px;
  }
}

.product-panel::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(0, 93, 224, 0.08) 0%, transparent 70%);
  animation: rotateGlow 20s linear infinite;
  z-index: 0;
  opacity: 0.25;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* === FILTER BAR === */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  padding: 14px 22px;
  margin-bottom: 35px;
  box-shadow: 0 4px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

/* Glow line top */
.filter-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #5b8bcf, #b0cdf5, transparent);
  opacity: 0.8;
  animation: shineLine 4s infinite linear;
}
@keyframes shineLine {
  0% { opacity: 0.2; transform: translateX(-100%); }
  50% { opacity: 1; transform: translateX(0%); }
  100% { opacity: 0.2; transform: translateX(100%); }
}

/* === BUTTONS === */
.filters-left {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #b0cdf5;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 8px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #5b8bcf;
}

.filter-btn.active {
  background: linear-gradient(90deg, #5b8bcf, #b0cdf5);
  color: #0b0c10;
  box-shadow: 0 0 15px rgba(176, 205, 245, 0.3);
  transform: translateY(-1px);
}

/* === SEARCH BOX === */
.filters-right {
  display: flex;
  align-items: center;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 6px 14px;
  transition: all 0.3s ease;
}

.search-box:hover {
  border-color: #5b8bcf;
}

.search-box i {
  color: #b0cdf5;
  margin-right: 10px;
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.9rem;
  width: 160px;
  transition: width 0.4s ease;
}

.search-box input:focus {
  width: 220px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .filters-right {
    justify-content: center;
  }
  .search-box input {
    width: 100%;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

.fade-out {
  opacity: 1;
  animation: fadeOut 0.3s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes fadeOut {
  to { opacity: 0; }
}

/* === PRODUCT CARD ANIMATIONS === */

/* Ausgangszustand */
.product-card {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: all 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform, opacity;
}

/* Sichtbar (smooth Fade + leichte Bewegung nach oben) */
.product-card.fade-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: drop-shadow(0 8px 20px rgba(128, 181, 255, 0.08));
}

/* Ausblenden (glow drift effect) */
.product-card.fade-out {
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  filter: drop-shadow(0 0 10px rgba(102, 166, 255, 0.05));
  pointer-events: none;
}

/* Smooth stagger für grid-appearance */
@keyframes staggerFadeIn {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.products.showing .product-card {
  animation: staggerFadeIn 0.5s ease forwards;
  animation-delay: calc(var(--i) * 0.05s);
}


.product-card.fade-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: drop-shadow(0 8px 20px rgba(128, 181, 255, 0.08));
  pointer-events: auto; /* ✅ Fix hier */
}

/* === FILTER BAR (Orange Theme) === */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  padding: 14px 22px;
  margin-bottom: 35px;
  position: relative;
  overflow: hidden;
}

/* Subtle orange top glow */
.filter-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #006aff, #006aff, #006aff, transparent);
  opacity: 0.9;
  animation: shineLine 4s infinite linear;
}
@keyframes shineLine {
  0% { opacity: 0.2; transform: translateX(-100%); }
  50% { opacity: 1; transform: translateX(0%); }
  100% { opacity: 0.2; transform: translateX(100%); }
}

/* === BUTTONS === */
.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #4a95ff;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 8px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  background: rgba(0, 106, 255, 0.15);
  border-color: #006aff;
  color: #70acff;
}

.filter-btn.active {
  background: linear-gradient(90deg, #006aff, #4a95ff);
  color: #0b0c10;
  box-shadow: 0 0 20px rgba(0, 106, 255, 0.4);
  transform: translateY(-1px);
}

/* === SEARCH BOX === */
.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px 14px;
  transition: all 0.3s ease;
}

.search-box:hover {
  border-color: #006aff;
}

.search-box i {
  color: #4a95ff;
  margin-right: 10px;
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.9rem;
  width: 160px;
  transition: width 0.4s ease;
}

.search-box input:focus {
  width: 220px;
}

.sellauth-sidebar .icon {
  width: 20px;
  height: 20px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #b0b0b0;
  transition: stroke 0.25s ease, transform 0.25s ease;
}

.sellauth-sidebar a:hover .icon,
.sellauth-sidebar a.active .icon {
  stroke: #006aff;
  transform: translateX(3px);
}

.sellauth-sidebar a span {
  transition: color 0.25s ease;
}

.sellauth-sidebar a:hover span,
.sellauth-sidebar a.active span {
  color: #006aff;
}




.modern-footer {
  background: #0b0b0c;
  border-top: 1px solid #1a1a1d;
  color: #ccc;
  font-size: 0.95rem;
}
.modern-footer .footer-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}
.modern-footer .footer-logo {
  max-height: 40px;
  filter: brightness(1.1);
}
.modern-footer .footer-tagline {
  color: #888;
  font-size: 0.85rem;
  margin-top: 4px;
}
.modern-footer .footer-heading {
  color: #006aff;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}
.modern-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.modern-footer .footer-links li {
  margin-bottom: 0.4rem;
}
.modern-footer .footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.modern-footer .footer-links a:hover {
  color: #006aff;
  transform: translateX(4px);
}
.modern-footer .footer-socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.modern-footer .footer-socials a {
  font-size: 1.1rem;
  color: #aaa;
  transition: color 0.2s ease, transform 0.2s ease;
}
.modern-footer .footer-socials a:hover {
  color: #006aff;
  transform: scale(1.15);
}
.modern-footer .footer-bottom {
  border-top: 1px solid #1a1a1d;
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #666;
}
.modern-footer .accent {
  color: #006aff;
}



.hero-lang-selector {
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 15;
}

.hero-lang-selector select {
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid #2a2a2a;
  color: #ccc;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 8px;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.hero-lang-selector select:hover {
  border-color: #006aff;
  color: #fff;
}

.hero-lang-selector select:focus {
  border-color: #006aff;
  box-shadow: 0 0 10px rgba(0, 106, 255, 0.4);
}

.hero-lang-selector option {
  background: #111;
  color: #ccc;
}

/* 🌐 Global Language Selector */
.global-lang-selector {
  position: fixed;
  top: 18px;
  right: 28px;
  z-index: 2000;
}

.global-lang-selector select {
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid #222;
  color: #ccc;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 8px;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.global-lang-selector select:hover {
  border-color: #006aff;
  color: #fff;
}

.global-lang-selector select:focus {
  border-color: #006aff;
  box-shadow: 0 0 10px rgba(0, 106, 255, 0.4);
}

.global-lang-selector option {
  background: #111;
  color: #ccc;
}

/* ========== GRID / LAYOUT ========== */
.xph-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
@media (max-width: 992px) {
  .xph-grid { grid-template-columns: 1fr; }
}

/* ========== GALLERY ========== */
.xph-left .xph-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #1c222a;
  background: #0f1317;
}
.xph-left .xph-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.xph-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .6rem;
}
.xph-thumb {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #1c222a;
  background: #0f1317;
}
.xph-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.xph-thumb.is-active {
  border-color: #1a79ff40;
  box-shadow: 0 0 0 .1rem #1a79ff22;
}

/* ========== TITLE / PRICE / SUBTEXT ========== */
.xph-title {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.15;
  margin: 0 0 .35rem;
  color: #e9eef5;
}
.xph-price {
  font-size: clamp(1.125rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  font-weight: 800;
  margin: .35rem 0 .35rem;
  color: #fff;
}
.xph-sub {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8b949e;
  margin-bottom: .6rem;
}

/* ========== META (Status + Live Chips) ========== */
.xph-meta-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin: .25rem 0 1rem;
}
.x-status-pill {
  --c: #207dff;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem .75rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .03em;
  font-size: .75rem;
  color: var(--c);
  background: color-mix(in oklab, var(--c) 18%, #0e1115);
  box-shadow: 0 0 .55rem color-mix(in oklab, var(--c) 35%, transparent),
              inset 0 0 1.1rem color-mix(in oklab, var(--c) 18%, transparent);
  border: 1px solid color-mix(in oklab, var(--c) 55%, transparent);
  text-shadow: 0 0 8px color-mix(in oklab, var(--c) 60%, transparent);
}
.x-status-pill .dot {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 .6rem currentColor, 0 0 .25rem currentColor inset;
}
.x-live-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.x-live-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .32rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  color: #98a2b3;
  background: #12161b;
  border: 1px solid #1c222a;
}
.x-live-chips .chip strong {
  color: #e5e7eb;
  font-weight: 700;
}
.x-live-chips .chip .dot {
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: var(--c,#10d98d);
  box-shadow: 0 0 .45rem var(--c,#10d98d);
}

/* ========== VARIANTS ========== */
.variants { gap: .6rem; }
.variants .variant {
  --border: #232a32;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: .75rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: #0f1317;
  padding: .75rem .9rem;
}
.variants .variant.active {
  border-color: #1a79ff33;
  box-shadow: 0 0 0 .1rem #1a79ff22, inset 0 0 0 .075rem #1a79ff22;
}
.variants .variant .name-stock .name {
  font-weight: 700;
  margin: 0 0 .1rem;
  color: #e5e7eb;
  font-size: .9rem;
}
.variants .variant .name-stock .description {
  margin: 0;
  font-size: .72rem;
}
.variants .variant .stock {
  margin: .2rem 0 0;
  font-size: .72rem;
}
.variants .variant .price {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: .9rem;
}
.variants .variant .price s {
  font-weight: 600;
  opacity: .45;
  font-size: .8rem;
}
.active-indicator { margin-left: .5rem; }

/* ========== FORM INPUTS & BUTTONS ========== */
.buy-buttons .btn { padding: .7rem 1rem; }
.input-group .form-control {
  height: 2.25rem;
  font-size: .9rem;
}
.input-group .btn {
  height: 2.25rem;
  padding: .35rem .6rem;
}

/* ========== ADDONS ========== */
.addon-item {
  background: #0f1317;
  border: 1px solid #1c222a;
}
.addon-image {
  width: 40px;
  height: 40px;
  object-fit: cover;
}
.btn-addon-add, .btn-addon-remove {
  min-width: 80px;
}

/* ========== DESCRIPTION ========== */
.xph-desc-card {
  margin-top: 2rem;
  border: 1px solid #1c222a;
  border-radius: 12px;
  background: #0f1317;
  padding: 1rem 1.25rem;
}
.xph-desc-head .pill {
  background: #12161b;
  color: #e5e7eb;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 999px;
}

/* ========== SALES NOTIFICATION ========== */
.notification-container {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 3000;
}
.notification-popup {
  background: #0f1317;
  border: 1px solid #1c222a;
  border-radius: 12px;
  padding: 10px 12px;
  color: #cdd6e1;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.notification-image {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}
.notification-content {
  display: flex;
  gap: 10px;
  align-items: center;
}
.notification-text-primary,
.notification-text-tertiary {
  font-size: .78rem;
}
.notification-text-secondary {
  font-size: .9rem;
  font-weight: 700;
}

/* ========== SHARED BUTTON STYLE (aus deinem Theme) ========== */
.products .card .card-body .btn-primary,
.products .card .card-body .btn-purchase {
  background: linear-gradient(180deg, #006aff, #006aff);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 10px 22px rgba(52, 120, 216, .35), inset 0 -2px 0 rgba(0,0,0,.25);
}
.products .card .card-body .btn-primary:hover,
.products .card .card-body .btn-purchase:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 106, 255, 0.45);
}

/* ====== PANEL-LAYOUT wie VALEngine ====== */

/* Gesamtseite in der Mitte, Card-ähnlich */
.xph.container {
  max-width: 1050px;
  margin: 0 auto;
}

/* Card um alles herum */
.xph-card {
  background: #0f1317; /* oder dein Theme-Hintergrund */
  border: 1px solid #2a241c;
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* Bild kleiner und links oben */
.xph-left .xph-hero {
  border-radius: 12px;
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
}
.xph-left .xph-hero img {
  border-radius: 12px;
}

/* Grid enger machen */
.xph-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 32px;
}

/* Description unten separiert */
.xph-desc-card {
  margin-top: 32px;
  border: 1px solid #2a241c;
  border-radius: 12px;
  background: #13181f;
  padding: 24px 28px;
}

/* Buttons kompakter, mehr VALEngine-Feeling */
.buy-buttons .btn {
  border-radius: 10px;
  font-weight: 600;
  height: 44px;
}

/* Varianten: volle Breite + schmale Höhe */
.variants .variant {
  border-radius: 10px;
  background: #12161b;
  padding: 14px 16px;
  transition: background .25s, border .25s;
}
.variants .variant.active {
  background: #2a2219;
  border-color: #006aff55;
}

/* ====== DESCRIPTION (VALEngine Style) ====== */

.xph-desc-card {
  margin-top: 2.5rem;
  border-radius: 14px;
  background: #0f1317;
  border: 1px solid #2a241c;
  padding: 1.75rem 2rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}

/* Kopf (Description Pill) */
.xph-desc-head {
  margin-bottom: 1rem;
}
.xph-desc-head .pill {
  display: inline-block;
  background: #006aff1a; /* leichter Hintergrund */
  border: 1px solid #006aff33;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

/* Body-Text */
.xph-desc-body {
  color: #cdd6e1;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Editor-inhaltliche Elemente */
.xph-desc-body.editor h1,
.xph-desc-body.editor h2,
.xph-desc-body.editor h3 {
  margin-top: 1.25rem;
  margin-bottom: .75rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}
.xph-desc-body.editor p {
  margin-bottom: 0.75rem;
}
.xph-desc-body.editor ul {
  margin: 0.75rem 0 0.75rem 1.2rem;
  list-style: disc;
}
.xph-desc-body.editor li {
  margin-bottom: 0.4rem;
}
.xph-desc-body.editor strong {
  color: #fff;
  font-weight: 700;
}
.xph-desc-body.editor a {
  color: #006aff;
  text-decoration: none;
}
.xph-desc-body.editor a:hover {
  text-decoration: underline;
}

/* Für Features mit Icons wie im Screenshot */
.xph-desc-body .feature-list {
  margin-top: 1rem;
}
.xph-desc-body .feature-list .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
}
.xph-desc-body .feature-list .feature-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #006aff;
}


/* Container selbst nach rechts verschieben */
.xph.container {
  max-width: 1050px;
  margin-left: 620px; /* <--- verschiebt alles nach rechts */
  margin-right: auto;
}

@media (max-width: 768px) {
  .filter-bar .filters-left {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .filter-bar .filter-btn {
    flex: 0 1 auto;
  }
}

.section-title {
  text-align: center !important;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-title {
  text-align: center;
  margin-left: 80px;
}

/* 🔹 Für mobile Geräte */
@media (max-width: 768px) {
  .section-title {
    margin-left: 0 !important;
  }
}

/* === GLOBAL SECTION TITLE RESET === */
.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center !important;
  width: 100%;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Falls einzelne Container drumherum was verschieben */
.section-title * {
  text-align: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Responsive bleibt automatisch mittig */
@media (max-width: 768px) {
  .section-title {
    margin: 0 auto !important;
    padding: 0 !important;
  }
}

@media (max-width: 768px) {
  .hero-static {
    padding: 80px 16px 40px;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ⬅️ statt center */
    text-align: left;       /* ⬅️ leicht linksbündig */
    gap: 20px;
    padding-left: -40px;     /* ⬅️ Abstand zum Rand */
  }

  .section-title {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important; /* Titel links */
  }

  .section-title h1 {
    font-size: 1.9rem !important;
    line-height: 1.2;
  }

  .section-title p.sub {
    font-size: 0.95rem;
    margin-top: 10px;
    max-width: 90%;
  }

  .hero__controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ⬅️ alles links */
    gap: 12px;
    padding-left: 20px; /* gleichmäßig zum Titel */
  }

  .search {
    width: 100%;
    display: flex;
    justify-content: flex-start; /* ⬅️ links */
  }

  .search input {
    width: 90%;
    max-width: 400px;
    padding: 10px 14px;
    border-radius: 10px;
  }

  .filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* ⬅️ links statt center */
    gap: 8px;
  }

  .chip {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}


/* === 📱 MOBILE LAYOUT FIX === */
@media (max-width: 768px) {

  /* Hero Section kompakt + nach links leicht eingerückt */
  .hero-static {
    padding: 60px 10px 30px;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    padding-left: 30px;
  }

  .section-title {
    margin: 0;
    padding: 0;
    text-align: left !important;
  }

  .section-title h1 {
    font-size: 1.6rem !important;
    line-height: 1.1;
  }

  .section-title p.sub {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-top: 6px;
    max-width: 95%;
  }

  /* Suchfeld */
  .hero__controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-left: 30px;
  }

  .search {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .search input {
    width: 88%;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 8px;
  }

  .search button {
    font-size: 0.9rem;
    padding: 6px 10px;
  }

  /* Filter Buttons */
  .filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
  }

  .chip {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 8px;
  }

  /* Download-Karten */
  .section__title {
    font-size: 1rem;
    padding: 8px 0;
    margin-left: 4px;
  }

  .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .download-card {
    background: #121212;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 10px 12px;
  }

  .download-card__title {
    font-size: 0.95rem;
  }

  .download-card__actions .btn {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .download-card__actions {
    gap: 6px;
  }

  /* Toast Nachricht kleiner */
  .toast {
    font-size: 0.85rem;
    padding: 8px 14px;
  }
}


/* === 📱 MOBILE REWORK (nur <768px) === */
@media (max-width: 768px) {

  /* Hero Bereich kompakter */
  .hero-static {
    padding: 40px 10px 20px !important;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
    padding-left: 16px;
  }

  /* Titel kleiner + dichter */
  .section-title {
    margin: 0;
    padding: 0;
    text-align: left !important;
  }

  .section-title h1 {
    font-size: 1.4rem !important;
    line-height: 1.1 !important;
    letter-spacing: 0.5px;
  }

  .section-title p.sub {
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    margin-top: 4px !important;
    color: #aaa;
    max-width: 90%;
  }

  /* Suche */
  .hero__controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding-left: 16px;
  }

  .search {
    width: 92%;
  }

  .search input {
    width: 100%;
    font-size: 0.8rem !important;
    padding: 6px 10px !important;
    border-radius: 8px;
  }

  .btn-ghost {
    font-size: 0.8rem !important;
    padding: 6px 8px !important;
  }

  /* Filter Chips */
  .filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
  }

  .chip {
    font-size: 0.75rem !important;
    padding: 6px 10px !important;
    border-radius: 6px;
  }

  /* Download-Karten kleiner */
  .section__title {
    font-size: 0.9rem !important;
    padding-left: 4px !important;
  }

  .download-card {
    padding: 8px 10px !important;
    border-radius: 10px;
    margin-bottom: 6px;
  }

  .download-card__title {
    font-size: 0.85rem !important;
  }

  .download-card__actions {
    gap: 6px;
  }

  .download-card__actions .btn {
    font-size: 0.8rem !important;
    padding: 5px 9px !important;
  }

  /* Toast kleiner */
  .toast {
    font-size: 0.8rem !important;
    padding: 8px 12px !important;
  }
}

/* === 📱 MOBILE FIX: Product Page === */
@media (max-width: 768px) {

  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .product-wrapper,
  .xph,
  .xph-card,
  .xph-grid,
  .xph-left,
  .xph-right {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Layout statt 2 Spalten = untereinander */
  .xph-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
  }

  .xph-left,
  .xph-right {
    padding: 0 16px !important;
  }

  .xph-hero img {
    width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
  }

  .xph-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .xph-thumb img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
  }

  /* Text & Buttons normal sichtbar */
  .xph-title {
    font-size: 1.3rem !important;
    text-align: left !important;
  }

  .xph-meta-row {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .xph-price {
    font-size: 1.1rem !important;
  }

  .variants {
    flex-direction: column !important;
  }

  .variant {
    width: 100% !important;
  }

  .buy-buttons {
    flex-direction: column !important;
  }

  .btn {
    font-size: 0.9rem !important;
    padding: 10px !important;
    width: 100% !important;
  }

  .xph-desc-card {
    margin-top: 25px !important;
    padding: 12px !important;
    width: 100% !important;
  }
}

/* === 🩹 ABSOLUTER MOBILE FIX === */
@media (max-width: 1024px) {
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Alle Container auf Viewport-Breite begrenzen */
  .product-wrapper,
  .xph,
  .xph-card,
  .xph-grid,
  .xph-left,
  .xph-right,
  .container {
    position: relative !important;
    max-width: 100vw !important;
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* Grid auf Mobile untereinander statt nebeneinander */
  .xph-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
  }

  /* Bilder & Textblöcke */
  .xph-hero img {
    width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
    display: block !important;
  }

  .xph-thumbs {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
  }

  /* Rechte Spalte normal lesbar */
  .xph-right {
    width: 100% !important;
    padding: 0 16px !important;
    text-align: left !important;
  }

  /* Falls dein Theme .row / .col hat → reset */
  .row, .col {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  /* Fix Quantity Alignment + Button Sizes */
  .input-group {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 4px !important;
  }

  .input-group-btn {
    flex: 0 0 48px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }

  .input-group .form-control {
    flex: 1 !important;
    text-align: center !important;
    font-size: 1rem !important;
    height: 44px !important;
    border-radius: 8px !important;
    max-width: 100% !important;
  }

  /* kleiner Abstand zu Labels */
  label[for="quantity"] {
    display: block;
    margin-bottom: 6px !important;
    font-weight: 600;
    font-size: 0.95rem;
  }

  /* Buttons einheitlich mit deinem Accent */
  .btn-outline-primary.input-group-btn {
    border-color: #207dff !important;
    color: #207dff !important;
  }

  .btn-outline-primary.input-group-btn:hover {
    background: #207dff !important;
    color: #000 !important;
  }
}

/* === INSTRUCTIONS PAGE RESPONSIVE FIX === */
.wrap {
  max-width: 900px;
  margin: -1rem auto 5rem; /* standard: mittig */
  transform: translateY(-20px);
  padding: 0 24px;
}

/* Desktop → leicht nach rechts versetzen */
@media (min-width: 1024px) {
  .wrap {
    margin-right: 150px !important; /* mehr rechts, aber sichtbar */
  }
}

/* Mobile → perfekt mittig sichtbar */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .wrap {
    margin: 2rem auto !important;
    padding: 0 12px !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .panel {
    border-radius: 16px !important;
  }

  .header {
    padding: 36px 20px 6px !important;
  }

  .title {
    font-size: 1.8rem !important;
    letter-spacing: 0.1em !important;
  }

  .subtitle {
    font-size: 0.8rem !important;
    letter-spacing: 0.15em !important;
  }

  .steps {
    padding: 0 10px 30px !important;
    gap: 12px !important;
  }

  .step {
    padding: 16px 18px !important;
    font-size: 0.9rem !important;
  }

  .tip {
    margin: 0 12px 40px !important;
    font-size: 0.9rem !important;
  }
}

/* --- Login Modal immer zentriert im Viewport --- */
.login-modal, .auth-modal {
  position: fixed !important;
  top: 20% !important;
  left: 66% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 99999 !important;
  margin: 0 !important;
}
/* === BLUE WAVE CARD IMAGE FULL-BLEED FIX ===
   Fills the entire card from the very top; no empty header strip. */
.products .card {
  padding: 0 !important;
}

.products .card .card-img-top {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
  border-radius: inherit !important;
  z-index: 1 !important;
}

.products .card .card-img-top img,
.products .card .card-img-top svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  aspect-ratio: auto !important;
  border-radius: inherit !important;
}

/* keep the badge floating cleanly over the artwork */
.products .card > .badges {
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  margin: 0 !important;
  z-index: 6 !important;
}


/* ===== Footer dark-blue cleanup ===== */
.modern-footer {
  background: linear-gradient(180deg, #07111f 0%, #081322 45%, #09172a 100%) !important;
  border-top: 1px solid rgba(96,165,250,0.16) !important;
  color: #cbd5e1 !important;
  position: relative;
  overflow: hidden;
}
.modern-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(59,130,246,0.08), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(96,165,250,0.05), transparent 24%);
}
.modern-footer .container, .modern-footer .row { position: relative; z-index: 1; }
.modern-footer h5,
.modern-footer .footer-title,
.modern-footer p.fs-5.fw-bold.mb-0 { color: #f8fbff !important; }
.modern-footer .nav-link,
.modern-footer .footer-links a,
.modern-footer .footer-socials a,
.modern-footer .footer-tagline { color: #cbd5e1 !important; }
.modern-footer .nav-link:hover,
.modern-footer .footer-links a:hover,
.modern-footer .footer-socials a:hover,
.modern-footer .footer-heading,
.modern-footer .accent { color: #60a5fa !important; }
.modern-footer .footer-bottom {
  border-top: 1px solid rgba(96,165,250,0.14) !important;
  color: #94a3b8 !important;
}


/* === BLUE WAVE HERO CLEAN SHOWCASE === */
.hero-showcase {
  min-height: 720px;
  display: flex;
  align-items: center;
}

.hero-shell {
  position: relative;
  z-index: 3;
  width: min(1380px, calc(100% - 72px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(380px, 1fr);
  gap: 52px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.hero-logo--center {
  margin-bottom: 0.35rem;
}

.hero-logo--center img {
  width: 156px;
  max-width: 24vw;
  filter:
    drop-shadow(0 0 24px rgba(0, 93, 224, 0.18))
    drop-shadow(0 0 50px rgba(0, 93, 224, 0.10));
}

.hero-title {
  margin: 0;
}

.hero-title--glossy .highlight {
  display: inline-block;
  background:
    linear-gradient(180deg, #f7fbff 0%, #a9cbff 15%, #0d73ff 42%, #005de0 62%, #d6e8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 28px rgba(0, 93, 224, 0.24);
  letter-spacing: 0.02em;
}

.hero-title--glossy .light-sweep {
  width: 34%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 48%, rgba(255,255,255,0) 100%);
  filter: blur(1px);
}

.hero-btn--large {
  margin-top: 0.35rem;
  min-width: 220px;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 1.05rem 2.6rem;
  border-radius: 16px;
}

.hero-video-card {
  position: relative;
  z-index: 3;
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(10,17,31,.92), rgba(7,12,22,.96));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 24px 80px rgba(0,0,0,.45),
    0 0 0 1px rgba(0, 93, 224, .08) inset,
    0 0 60px rgba(0, 93, 224, .10);
  overflow: hidden;
}

.hero-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 18%, transparent 82%, rgba(0, 93, 224, .12));
}

.hero-video-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 12px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
}

.hero-video-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #02060f;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

.hero-video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.16), transparent 20%, transparent 80%, rgba(0,0,0,.18));
}

.hero-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  transform: scale(1.08);
  transform-origin: center center;
  border-radius: 22px;
}

.hero-center {
  transform: none !important;
}

/* hide product title/footer on product cards */
.card-img-top::after {
  display: none !important;
  content: none !important;
}

.card-body {
  display: none !important;
}

.card {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    width: min(100%, calc(100% - 36px));
  }

  .hero-copy {
    order: 1;
  }

  .hero-video-card {
    order: 2;
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-logo--center img {
    width: 132px;
    max-width: 32vw;
  }
}

@media (max-width: 768px) {
  .hero-showcase {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 70px;
  }

  .hero-shell {
    width: calc(100% - 24px);
    gap: 24px;
  }

  .hero-title {
    font-size: 2.9rem !important;
  }

  .hero-logo--center img {
    width: 108px;
    max-width: 42vw;
  }

  .hero-btn--large {
    min-width: 200px;
    font-size: 1.04rem;
    padding: 0.95rem 2rem;
  }

  .hero-video-card {
    border-radius: 22px;
    padding: 10px;
  }

  .hero-video-frame,
  .hero-video-frame iframe {
    border-radius: 16px;
  }
}


/* === BLUE WAVE HERO REWORK FINAL === */
.hero-showcase {
  min-height: 100vh;
  padding-left: 0 !important;
  padding-right: 0 !important;
  align-items: center;
  justify-content: center;
}

.hero-showcase .hero-bg {
  background:
    radial-gradient(circle at 50% 18%, rgba(0,108,255,.18) 0%, rgba(0,108,255,.10) 18%, rgba(0,0,0,0) 44%),
    radial-gradient(circle at 86% 22%, rgba(37,99,235,.10) 0%, rgba(37,99,235,0) 35%),
    linear-gradient(135deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,0) 22%),
    linear-gradient(180deg, #03070f 0%, #040b16 52%, #02050d 100%);
  filter: none !important;
  transform: none !important;
  animation: none !important;
  background-size: cover;
  background-position: center;
}

.hero-showcase .hero-bg::before,
.hero-showcase .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-showcase .hero-bg::before {
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: .11;
  mask-image: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.04));
}

.hero-showcase .hero-bg::after {
  background:
    linear-gradient(128deg, transparent 0%, transparent 56%, rgba(0,105,255,.08) 56.2%, rgba(0,105,255,.02) 70%, transparent 70.2%),
    linear-gradient(128deg, transparent 0%, transparent 72%, rgba(0,105,255,.10) 72.2%, rgba(0,105,255,.02) 86%, transparent 86.2%);
  opacity: .7;
}

.hero-showcase .hero-overlay {
  background:
    radial-gradient(circle at 50% 22%, rgba(0,110,255,.14), rgba(0,110,255,0) 28%),
    linear-gradient(180deg, rgba(1,5,10,.08) 0%, rgba(1,5,10,.20) 40%, rgba(1,5,10,.52) 100%);
}

.hero-shell {
  position: relative;
  z-index: 3;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.hero-logo--center {
  margin: 0;
}

.hero-logo--center img {
  width: 152px;
  max-width: 22vw;
  display: block;
  filter: drop-shadow(0 0 20px rgba(0, 93, 224, .18)) drop-shadow(0 0 42px rgba(0, 93, 224, .08));
}

.hero-title {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 5.6rem) !important;
  line-height: .94;
}

.hero-title--glossy .highlight {
  display: inline-block;
  background: linear-gradient(180deg, #f9fcff 0%, #cfe0ff 12%, #5ba2ff 34%, #0d73ff 53%, #005de0 70%, #dceaff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 28px rgba(0, 93, 224, 0.18);
  letter-spacing: .02em;
}

.hero-title--glossy .light-sweep {
  width: 30%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 48%, rgba(255,255,255,0) 100%);
  filter: blur(1px);
}

.hero-btn--large {
  min-width: 220px;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  font-size: 1.14rem;
  font-weight: 700;
  padding: 1rem 2.45rem;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,93,224,.22);
}

.hero-video-card {
  width: min(860px, 100%);
  display: block;
  border: 0;
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10,17,31,.96), rgba(6,11,20,.98));
  box-shadow: 0 24px 70px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.07), 0 0 48px rgba(0,93,224,.08);
  cursor: pointer;
}

.hero-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background: #02050c;
}

.hero-video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,6,12,.08) 0%, rgba(2,6,12,.02) 34%, rgba(2,6,12,.10) 100%),
    radial-gradient(circle at center, rgba(0,0,0,0) 48%, rgba(0,0,0,.14) 100%);
}

.hero-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-play-icon {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  background: rgba(0,93,224,.82);
  box-shadow: 0 10px 28px rgba(0,93,224,.30), 0 0 0 12px rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  transition: transform .22s ease, box-shadow .22s ease;
}

.hero-video-card:hover .hero-video-play-icon {
  transform: scale(1.06);
  box-shadow: 0 12px 34px rgba(0,93,224,.34), 0 0 0 14px rgba(255,255,255,.09);
}

.bw-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2,6,12,.84);
  backdrop-filter: blur(8px);
}

.bw-video-modal.active {
  display: flex;
}

.bw-video-modal-inner {
  width: min(1280px, calc(100vw - 48px));
  border-radius: 24px;
  overflow: hidden;
  background: #02050c;
  box-shadow: 0 28px 80px rgba(0,0,0,.5);
}

.bw-video-modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.bw-video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bw-video-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(6,12,22,.76);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

body.bw-video-open {
  overflow: hidden;
}

/* Hide product names / lower text on product cards */
.card-img-top::after {
  display: none !important;
  content: none !important;
}

.card-body {
  display: none !important;
}

.card {
  overflow: hidden;
}

@media (max-width: 992px) {
  .hero-logo--center img {
    width: 128px;
    max-width: 32vw;
  }

  .hero-shell {
    width: calc(100% - 28px);
  }
}

@media (max-width: 768px) {
  .hero-showcase {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 10vw, 4rem) !important;
  }

  .hero-logo--center img {
    width: 108px;
    max-width: 38vw;
  }

  .hero-btn--large {
    min-width: 190px;
    font-size: 1.02rem;
    padding: .92rem 2rem;
  }

  .hero-video-card {
    padding: 9px;
    border-radius: 22px;
  }

  .hero-video-frame {
    border-radius: 16px;
  }

  .hero-video-play-icon {
    width: 68px;
    height: 68px;
    font-size: 1.55rem;
  }

  .bw-video-modal {
    padding: 12px;
  }

  .bw-video-modal-inner {
    width: calc(100vw - 24px);
    border-radius: 16px;
  }
}


/* =========================================================
   BLUE WAVE — ULTRA CLEAN CENTERED HERO + MOVING STARS
   ========================================================= */
.hero-showcase {
  min-height: 100vh;
  padding: 88px 24px 64px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: #020610;
}

.hero-showcase .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(0,112,255,.20) 0%, rgba(0,112,255,.08) 24%, transparent 48%),
    radial-gradient(circle at 18% 72%, rgba(0,74,180,.08) 0%, transparent 34%),
    radial-gradient(circle at 82% 64%, rgba(0,93,224,.07) 0%, transparent 36%),
    linear-gradient(180deg, #030711 0%, #050b17 48%, #02050c 100%);
  background-size: cover;
  background-position: center;
  filter: none !important;
  transform: none !important;
  animation: none !important;
}

.hero-showcase .hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 63%, rgba(0,93,224,.035) 63.2% 64.1%, transparent 64.3%),
    linear-gradient(115deg, transparent 0 77%, rgba(0,93,224,.045) 77.2% 78.1%, transparent 78.3%);
  opacity: .8;
}

.hero-showcase .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0%, transparent 42%, rgba(1,4,10,.15) 72%, rgba(1,4,10,.50) 100%),
    linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.18));
}

.hero-stars {
  position: absolute;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  background-repeat: repeat;
  will-change: transform, background-position;
}

.hero-stars-1 {
  opacity: .55;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.92) 0 1px, transparent 1.35px),
    radial-gradient(circle, rgba(76,150,255,.78) 0 1px, transparent 1.4px);
  background-size: 120px 120px, 190px 190px;
  background-position: 0 0, 36px 72px;
  animation: bwStarsDriftOne 36s linear infinite;
}

.hero-stars-2 {
  opacity: .30;
  filter: blur(.15px);
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 0 1.2px, transparent 1.65px),
    radial-gradient(circle, rgba(0,93,224,.72) 0 1.2px, transparent 1.7px);
  background-size: 240px 240px, 310px 310px;
  background-position: 60px 40px, 150px 110px;
  animation: bwStarsDriftTwo 58s linear infinite;
}

.hero-stars-3 {
  opacity: .18;
  background-image: radial-gradient(circle, rgba(145,192,255,.75) 0 1.5px, transparent 2px);
  background-size: 430px 430px;
  background-position: 100px 150px;
  animation: bwStarsPulse 8s ease-in-out infinite alternate, bwStarsDriftThree 78s linear infinite;
}

@keyframes bwStarsDriftOne {
  from { transform: translate3d(0,0,0); background-position: 0 0, 36px 72px; }
  to   { transform: translate3d(-42px,64px,0); background-position: 160px 260px, -110px 330px; }
}

@keyframes bwStarsDriftTwo {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(70px,-90px,0) scale(1.02); }
}

@keyframes bwStarsDriftThree {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-110px,-60px,0); }
}

@keyframes bwStarsPulse {
  from { opacity: .12; }
  to   { opacity: .24; }
}

.hero-shell-centered {
  position: relative;
  z-index: 3;
  width: min(880px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
}

.hero-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.hero-logo--center {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 2px;
}

.hero-logo--center img {
  width: 118px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter:
    drop-shadow(0 0 18px rgba(0,93,224,.20))
    drop-shadow(0 0 40px rgba(0,93,224,.08));
}

.hero-title {
  margin: 0 !important;
  padding: 0;
  text-align: center;
  font-size: clamp(3rem, 5vw, 4.65rem) !important;
  line-height: 1 !important;
  width: 100%;
}

.hero-title--glossy .highlight {
  position: relative;
  display: inline-block;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #d9e8ff 12%,
    #8ebcff 28%,
    #2e86ff 45%,
    #006aff 58%,
    #0050ba 73%,
    #e7f1ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: .015em;
  text-shadow: 0 0 30px rgba(0,93,224,.16);
}

.hero-title--glossy .light-sweep {
  width: 26%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.64) 48%, transparent 100%);
  filter: blur(.6px);
  animation-duration: 5.5s;
}

.hero-btn--large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 194px;
  margin-top: 2px;
  padding: .9rem 2rem;
  border-radius: 15px;
  font-size: 1.04rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0,93,224,.16), 0 0 0 1px rgba(255,255,255,.05) inset;
}

.hero-video-card.hero-video-autoplay {
  width: min(660px, 92vw);
  margin: 2px auto 0;
  padding: 9px;
  border: 1px solid rgba(79,145,255,.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8,16,29,.92), rgba(4,10,18,.96));
  box-shadow:
    0 22px 62px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,255,255,.035) inset,
    0 0 52px rgba(0,93,224,.06);
  overflow: hidden;
  cursor: default;
}

.hero-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 15px;
  background: #01040a;
}

.hero-video-frame iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  border: 0;
  transform: translate(-50%, -50%) scale(1.16);
  transform-origin: center center;
  pointer-events: none;
}

.hero-video-cover {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  pointer-events: none;
}

.hero-video-cover-top {
  top: 0;
  height: 8.5%;
  background: linear-gradient(180deg, rgba(1,4,9,.90) 0%, rgba(1,4,9,.36) 58%, transparent 100%);
}

.hero-video-cover-bottom {
  bottom: 0;
  height: 9.5%;
  background: linear-gradient(0deg, rgba(1,4,9,.92) 0%, rgba(1,4,9,.35) 58%, transparent 100%);
}

/* Product cards stay fully image-only */
.card-img-top::after {
  display: none !important;
  content: none !important;
}
.card-body { display: none !important; }
.card { overflow: hidden; }

@media (max-width: 768px) {
  .hero-showcase {
    min-height: auto;
    padding: 86px 14px 54px !important;
  }

  .hero-shell-centered {
    gap: 20px;
  }

  .hero-logo--center img {
    width: 94px;
  }

  .hero-title {
    font-size: clamp(2.65rem, 12vw, 3.5rem) !important;
  }

  .hero-btn--large {
    min-width: 176px;
    padding: .82rem 1.7rem;
    font-size: .98rem;
  }

  .hero-video-card.hero-video-autoplay {
    width: min(600px, 96vw);
    padding: 7px;
    border-radius: 18px;
  }

  .hero-video-frame {
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stars-1,
  .hero-stars-2,
  .hero-stars-3,
  .hero-title--glossy .light-sweep {
    animation: none !important;
  }
}


/* =========================================================
   BLUE WAVE — PRODUCTS MOVING STARFIELD
   ========================================================= */
.products-star-host {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.products-star-host::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(0,112,255,.10) 0%, rgba(0,112,255,.035) 28%, transparent 54%),
    radial-gradient(circle at 82% 68%, rgba(0,93,224,.045) 0%, transparent 34%),
    linear-gradient(180deg, rgba(3,7,17,.10) 0%, rgba(2,6,14,.20) 100%);
}

.products-star-host > :not(.products-stars) {
  position: relative;
  z-index: 2;
}

.products-stars {
  position: absolute;
  inset: -22%;
  z-index: -2;
  pointer-events: none;
  background-repeat: repeat;
  will-change: transform, background-position, opacity;
}

.products-stars-1 {
  opacity: .42;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.88) 0 1px, transparent 1.35px),
    radial-gradient(circle, rgba(69,145,255,.74) 0 1px, transparent 1.4px);
  background-size: 130px 130px, 205px 205px;
  background-position: 0 0, 44px 76px;
  animation: bwProductsStarsOne 40s linear infinite;
}

.products-stars-2 {
  opacity: .24;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.72) 0 1.15px, transparent 1.6px),
    radial-gradient(circle, rgba(0,93,224,.68) 0 1.2px, transparent 1.75px);
  background-size: 255px 255px, 325px 325px;
  background-position: 80px 55px, 170px 120px;
  animation: bwProductsStarsTwo 64s linear infinite;
}

.products-stars-3 {
  opacity: .13;
  background-image: radial-gradient(circle, rgba(157,201,255,.72) 0 1.45px, transparent 2px);
  background-size: 455px 455px;
  background-position: 120px 170px;
  animation: bwProductsStarsPulse 9s ease-in-out infinite alternate, bwProductsStarsThree 86s linear infinite;
}

@keyframes bwProductsStarsOne {
  from { transform: translate3d(0,0,0); background-position: 0 0, 44px 76px; }
  to   { transform: translate3d(-52px,72px,0); background-position: 180px 280px, -120px 350px; }
}

@keyframes bwProductsStarsTwo {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(78px,-96px,0) scale(1.018); }
}

@keyframes bwProductsStarsThree {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-120px,-70px,0); }
}

@keyframes bwProductsStarsPulse {
  from { opacity: .09; }
  to   { opacity: .18; }
}

@media (prefers-reduced-motion: reduce) {
  .products-stars-1,
  .products-stars-2,
  .products-stars-3 {
    animation: none !important;
  }
}


/* =========================================================
   BLUE WAVE — FINAL CONTINUOUS BACKGROUND + CLEAN VIDEO
   ========================================================= */
html,
body {
  background: #020610 !important;
}

body {
  position: relative;
  overflow-x: hidden;
}

/* One continuous moving star field for the whole storefront. */
.bw-global-stars {
  position: fixed;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background-repeat: repeat;
  will-change: transform, background-position, opacity;
}

.bw-global-stars-1 {
  opacity: .48;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.92) 0 1px, transparent 1.35px),
    radial-gradient(circle, rgba(72,148,255,.78) 0 1px, transparent 1.4px);
  background-size: 122px 122px, 194px 194px;
  background-position: 0 0, 38px 74px;
  animation: bwGlobalStarsOne 42s linear infinite;
}

.bw-global-stars-2 {
  opacity: .27;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.76) 0 1.15px, transparent 1.6px),
    radial-gradient(circle, rgba(0,93,224,.72) 0 1.2px, transparent 1.75px);
  background-size: 248px 248px, 318px 318px;
  background-position: 72px 48px, 158px 116px;
  animation: bwGlobalStarsTwo 68s linear infinite;
}

.bw-global-stars-3 {
  opacity: .14;
  background-image: radial-gradient(circle, rgba(156,201,255,.74) 0 1.45px, transparent 2px);
  background-size: 448px 448px;
  background-position: 118px 168px;
  animation: bwGlobalStarsThree 92s linear infinite, bwGlobalStarsPulse 9s ease-in-out infinite alternate;
}

@keyframes bwGlobalStarsOne {
  from { transform: translate3d(0,0,0); background-position: 0 0, 38px 74px; }
  to   { transform: translate3d(-58px,78px,0); background-position: 188px 288px, -122px 356px; }
}
@keyframes bwGlobalStarsTwo {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(82px,-104px,0) scale(1.018); }
}
@keyframes bwGlobalStarsThree {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-128px,-76px,0); }
}
@keyframes bwGlobalStarsPulse {
  from { opacity: .09; }
  to   { opacity: .18; }
}

#app,
.flex-wrapper {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

/* Make hero and products use exactly the same base tone. */
.hero-showcase,
.products-star-host,
section.container.component.products-star-host,
.container.component.products-star-host {
  background: transparent !important;
}

.hero-showcase .hero-bg {
  background:
    radial-gradient(circle at 50% 18%, rgba(0,112,255,.14) 0%, rgba(0,112,255,.045) 26%, transparent 50%),
    radial-gradient(circle at 82% 66%, rgba(0,93,224,.035) 0%, transparent 34%),
    linear-gradient(180deg, rgba(3,7,17,.22) 0%, rgba(2,6,16,.04) 100%) !important;
}

.hero-showcase .hero-overlay {
  background:
    radial-gradient(circle at center, transparent 0%, transparent 48%, rgba(1,4,10,.08) 76%, rgba(1,4,10,.22) 100%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.08)) !important;
}

/* Disable the old local star systems so there is no visual seam between sections. */
.hero-stars,
.products-stars {
  display: none !important;
}

.products-star-host::before {
  background: transparent !important;
  display: none !important;
}

/* Ensure the entire product region stays transparent and matches the hero. */
.products-star-host,
.products-star-host > div,
.products-star-host .section-title {
  background-color: transparent;
}

/* Clean YouTube embed: crop all player chrome outside the visible frame. */
.hero-video-card.hero-video-autoplay {
  width: min(620px, 90vw) !important;
  background: rgba(5,11,20,.62) !important;
  border-color: rgba(80,145,255,.12) !important;
  box-shadow: 0 20px 58px rgba(0,0,0,.32), 0 0 38px rgba(0,93,224,.045) !important;
}

.hero-video-frame {
  isolation: isolate;
  background: #020610 !important;
}

.hero-video-frame iframe {
  opacity: 0;
  width: 100% !important;
  height: 100% !important;
  transform: translate(-50%, -50%) scale(1.36) !important;
  animation: bwVideoReveal .65s ease 3.2s forwards;
  pointer-events: none !important;
}

.hero-video-start-mask {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  animation: bwVideoMaskAway .65s ease 3.05s forwards;
}

@keyframes bwVideoReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bwVideoMaskAway {
  0%, 72% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

/* Permanent subtle crops where YouTube normally draws title/logo chrome. */
.hero-video-cover-top {
  top: 0 !important;
  height: 11% !important;
  background: linear-gradient(180deg, rgba(2,6,16,.80) 0%, rgba(2,6,16,.24) 55%, transparent 100%) !important;
}
.hero-video-cover-bottom {
  bottom: 0 !important;
  height: 11% !important;
  background: linear-gradient(0deg, rgba(2,6,16,.82) 0%, rgba(2,6,16,.22) 58%, transparent 100%) !important;
}

@media (prefers-reduced-motion: reduce) {
  .bw-global-stars-1,
  .bw-global-stars-2,
  .bw-global-stars-3 {
    animation: none !important;
  }
}


/* FINAL FIX: glossy text only, no moving light block */
.hero-title .light-sweep,
.hero-title--glossy .light-sweep {
  display: none !important;
  content: none !important;
  background: none !important;
  animation: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* =========================================================
   BLUE WAVE — GROUP MODAL CLICK FIX
   The products star host used isolation/z-index rules that put
   Bootstrap's modal underneath its own backdrop, blocking clicks.
   ========================================================= */
.products-star-host {
  isolation: auto !important;
  overflow: visible !important;
}

/* Do not let the generic products stacking rule trap the modal. */
.products-star-host > .modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1060 !important;
  pointer-events: auto !important;
}

.modal-backdrop {
  z-index: 1050 !important;
}

.products-star-host .modal-dialog {
  margin-left: auto !important;
  margin-right: auto !important;
  pointer-events: auto !important;
}

.products-star-host .modal-content,
.products-star-host .modal-header,
.products-star-host .modal-body,
.products-star-host .modal .products,
.products-star-host .modal .row,
.products-star-host .modal [class*="col-"],
.products-star-host .modal a.card,
.products-star-host .modal .btn-close {
  pointer-events: auto !important;
}

/* Let the anchor itself receive the click cleanly. */
.products-star-host .modal a.card {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
}

.products-star-host .modal a.card .card-img-top,
.products-star-host .modal a.card .card-img-top img,
.products-star-host .modal a.card .badges {
  pointer-events: none !important;
}


/* =========================================================
   BLUE WAVE — SELLAUTH LOGIN MODAL FIX
   #app previously created a z-index stacking context. Bootstrap appends its
   backdrop to <body>, so the backdrop could sit above the login modal and
   intercept every click. z-index:auto removes that trapping context while
   keeping the existing layout intact.
   ========================================================= */
#app.flex-wrapper,
#app,
.flex-wrapper {
  z-index: auto !important;
}

.modal-backdrop,
.modal-backdrop.show {
  z-index: 1050 !important;
}

#customer-login-modal {
  z-index: 1055 !important;
  pointer-events: auto !important;
}

#customer-login-modal .modal-dialog {
  margin-left: auto !important;
  margin-right: auto !important;
  pointer-events: auto !important;
}

#customer-login-modal .modal-content,
#customer-login-modal .modal-header,
#customer-login-modal .modal-body,
#customer-login-modal form,
#customer-login-modal input,
#customer-login-modal button {
  pointer-events: auto !important;
}
