/* ENGINEX RESELLX THEME - 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: #e09200;
  --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: #e09200;
  --accent-light: #e09200;
  --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(224,155,0,0.25) 0%,        /* sanftes inneres Glühen */
      rgba(224,155,0,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: 1rem;
  transform: translateX(3rem); /* optical centering */
}

/* Logo */
.hero-logo img {
  width: 100px;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 20px rgba(224,155,0,0.4));
}

/* =========================================
   TITLE & LIGHT SWEEP
   ========================================= */
.hero-title {
  font-size: 4.2rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
  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 {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  color: #fff;
  font-weight: 600;
  padding: 1rem 2.4rem;
  border-radius: 14px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 0 35px var(--accent-light);
  transition: all 0.3s ease;
}
.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 55px var(--accent-light);
}
[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(224,155,0,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.8rem; }
  .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(245, 177, 31, 0.247) 0%,
      rgba(233, 162, 56, 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.4) blur(2px); /* leicht verdunkelt und weichgezeichnet */
  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(224,155,0,0.22) 0%, rgba(224,155,0,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(255,200,80,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: #ff9721; /* dein Accent-Orange */
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.2);
}

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

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #e09200 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:#e09b00;
  --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:#ffa466;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:#ffa466;}
.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: #d28d00;
  background: rgba(224,155,0,0.08);
  border-color: rgba(224,155,0,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,#fff8ec,#f7e7be);
  border-color: rgba(224, 146, 0, 0.671);
  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(224,155,0,0.45);
  box-shadow: 0 0 18px rgba(224,155,0,0.15);
}

[data-theme="light"] .btn {
  color: #222;
  background: linear-gradient(180deg,rgba(224,155,0,0.25),rgba(224,155,0,0.1));
  border-color: rgba(224,155,0,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: #e07f00;
  border-color: rgba(224,155,0,0.4);
}

[data-theme="light"] .badge {
  background: linear-gradient(180deg,rgba(224,155,0,0.2),rgba(224,155,0,0.05));
  border-color: rgba(224,155,0,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 */
}

/* === ENGINEX PRODUCT CARD — CLEAN MINI EDITION === */

/* === CLEAN PRODUCT CARD FIX === */

.card {
  position: relative; /* WICHTIG – damit .badges relativ dazu positioniert wird */
  overflow: hidden;
  border: none !important;
  border-radius: 12px;
  background: none !important;
  box-shadow: none !important;
  aspect-ratio: 3 / 5; /* Dünner, schöner */
  width: 92%;
  margin: 0 auto;
  transition: transform 0.35s ease, filter 0.35s ease;
  cursor: pointer;
  z-index: 1;
}

/* === IMAGE === */
.card-img-top {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.card-img-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.6s ease, filter 0.4s ease;
  border: none !important;
  outline: none !important;
  z-index: 1;
}

/* Hover bleibt */
.card:hover img {
  transform: scale(1.02);
  filter: brightness(1.2);
}

/* === HIDE VIEW DETAILS === */
.overlay {
  display: none !important;
}

/* === BADGES FIX === */
.badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10; /* über Bild */
  pointer-events: none; /* damit Klicks nicht blockiert werden */
}

.badges div {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, filter 0.25s ease;
  color: #fff;
}

/* Gold = GROUP */
.badges div[data-text*="GROUP"],
.badges div.badge-group {
  background: rgba(224, 155, 0, 0.2);
  border: 1px solid rgba(224, 155, 0, 0.4);
  color: #e08600;
}

/* Blau = SINGLE */
.badges div[data-text*="SINGLE"],
.badges div.badge-single {
  background: rgba(0, 115, 255, 0.25);
  border: 1px solid rgba(0, 115, 255, 0.5);
  color: #0094ff;
}

/* === BODY AUSBLENDEN === */
.card-body,
.info,
.price,
.text-primary,
h5 {
  display: none !important;
}

/* === PLACEHOLDER === */
.product-img-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: none;
  z-index: 0;
}
.product-img-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.6;
  color: #e09b00;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .card {
    transform: translateX(15px);
    width: 95%;
  }
}
@media (max-width: 600px) {
  .card {
    transform: none;
    width: 100%;
  }
}

/* === 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(224, 155, 0, 0.5);
  border-radius: 4px;
}

.sellauth-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(224, 155, 0, 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(224,155,0,1) 0%, rgb(252, 158, 18) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 22px rgba(224,155,0,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, rgb(224, 134, 0) 0%, rgba(255, 144, 40, 0.7) 100%);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(224,155,0,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: #e08600;
  text-shadow: 0 0 25px rgba(224,155,0,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(255, 180, 0, 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(255, 180, 0, 0.3);
  box-shadow: 0 0 10px rgba(255, 180, 0, 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, #ff8818, #ff8c20, #ff9214, transparent);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(245, 231, 176, 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(224, 155, 0, 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(224,155,0,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(224,155,0,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, #ff9736, #ff9a02, 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: #ff9e0c;
  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: #f8aa19;
}

.filter-btn.active {
  background: linear-gradient(90deg, #ff9b3d, #ff9900);
  color: #0b0c10;
  box-shadow: 0 0 15px rgba(245, 231, 176, 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: #f78c00;
}

.search-box i {
  color: #fd9902;
  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(255, 215, 128, 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(255, 204, 102, 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(255, 215, 128, 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, #ff9b00, #ff6f00, #ff9b00, 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: #ff9900;
  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, 153, 0, 0.15);
  border-color: #ff8800;
  color: #f59930;
}

.filter-btn.active {
  background: linear-gradient(90deg, #ff8800, #ff8f0e);
  color: #0b0c10;
  box-shadow: 0 0 20px rgba(255, 136, 0, 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: #ff8800;
}

.search-box i {
  color: #ff951b;
  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: #ff8800;
  transform: translateX(3px);
}

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

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




.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: #ff8400;
  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: #ff8400;
  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: #ff8400;
  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: #ff8400;
}



.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: #ff8400;
  color: #fff;
}

.hero-lang-selector select:focus {
  border-color: #ff8400;
  box-shadow: 0 0 10px rgba(255, 132, 0, 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: #ff8400;
  color: #fff;
}

.global-lang-selector select:focus {
  border-color: #ff8400;
  box-shadow: 0 0 10px rgba(255, 132, 0, 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: #ff7a1a40;
  box-shadow: 0 0 0 .1rem #ff7a1a22;
}

/* ========== 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: #ff9900;
  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: #ff7a1a33;
  box-shadow: 0 0 0 .1rem #ff7a1a22, inset 0 0 0 .075rem #ff7a1a22;
}
.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, #ff9900, #ff9900);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 10px 22px rgba(216,150,52,.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(255, 166, 0, 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: #ffae0055;
}

/* ====== 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: #ffae001a; /* leichter Hintergrund */
  border: 1px solid #ffae0033;
  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: #ff9900;
  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: #ffae00;
}


/* 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: #ff9900 !important;
    color: #ff9900 !important;
  }

  .btn-outline-primary.input-group-btn:hover {
    background: #ff9e20 !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;
}