/* ===================== VARIABLES ===================== */




:root {
  --orange: #FF5A00;
  --blue: #2268FF;
  --text: #111;
  --muted: #777;
  --white: #fff;
  --radius-lg: 22px;
  --shadow: 0 18px 40px rgba(0,0,0,0.07);
  --font: system-ui, -apple-system, "SF Pro Text", sans-serif;
}

/* ===================== INSTANT TOOLTIPS ===================== */

/*
 * Tooltips use a portal approach: a single fixed-position element (#tooltip-portal)
 * is appended to <body> and positioned via JavaScript. This ensures tooltips are
 * never clipped by parent containers with overflow:hidden.
 *
 * The [data-tooltip] attribute marks elements that should show tooltips on hover.
 * The optional [data-tooltip-position] attribute controls placement (default: top).
 */

/* Portal tooltip element - created by JS, styled here */
#tooltip-portal {
  position: fixed;
  z-index: 999999;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.88);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.12s ease, transform 0.12s ease;
  font-family: var(--font);
}

#tooltip-portal:empty,
#tooltip-portal:not(.visible) {
  display: none;
}

#tooltip-portal.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hide the old ::after pseudo-element tooltips */
[data-tooltip]::after {
  display: none !important;
}

/* Tooltip to the right */
[data-tooltip-position="right"]::after {
  bottom: auto;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%) scale(0.9);
}

[data-tooltip-position="right"]:hover::after {
  transform: translateY(-50%) scale(1);
}

/* ===================== RESET ===================== */

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

body {
  margin: 0;
  padding: 0;
  background: var(--white);
  font-family: var(--font);
  color: var(--text);
  overflow-x: hidden;
}

/* ===================== NAV SCROLL BEHAVIOR (Landing) ===================== */

.nav.nav--hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.nav.nav--solid {
  background: rgba(255, 255, 255, 0.95) !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(18px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.2) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06) !important;
}

.nav.nav--solid .nav-logo-img {
  filter: brightness(0) !important;
}

.nav.nav--solid .nav-right a {
  color: rgba(11, 12, 16, 0.78) !important;
  text-shadow: none !important;
}

.nav.nav--solid .nav-right a:hover {
  color: rgba(11, 12, 16, 1) !important;
}

.nav.nav--solid .nav-burger {
  color: #111 !important;
}

.nav.nav--scrollable {
  transition: transform 0.28s ease, background 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  z-index: 1000;
}

/* Grid über VOLLEN Viewport */
.nav-inner {
  width: 100%;
  padding: 22px 36px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Logo mathematisch in der Bildschirmmitte */
.nav-logo {
  grid-column: 2;
  justify-self: center;
}

/* ✅ Logo als Bild (otlio.png) */
.nav-logo{
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0; /* verhindert “unsichtbare” Text-Höhe */
}

.nav-logo-img{
  height: 28px;
  width: auto;
  display: block;
}

/* Landing (transparent über Hero) -> leichter Shadow für Lesbarkeit */
.nav:not(.nav--premium) .nav-logo-img{
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.35));
}

/* Premium Nav (hell) -> kein Shadow */
.nav--premium .nav-logo-img{
  filter: none;
}

@media (max-width: 520px){
  .nav-logo-img{ height: 24px; }
}
/* Mobile-only Sport link (left side) */
.nav-sport-mobile {
  display: none;
  grid-column: 1;
  justify-self: start;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: none;
}

.nav-sport-mobile:hover {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 860px) {
  .nav-sport-mobile {
    display: flex;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Shop page (nav--premium): dark text for Sport/Fashion toggle */
.nav--premium .nav-sport-mobile {
  color: rgba(11, 12, 16, 0.78);
  text-shadow: none;
}

.nav--premium .nav-sport-mobile:hover {
  color: rgba(11, 12, 16, 1);
}

/* WIRKLICH ganz rechts */
.nav-right {
  grid-column: 3;
  justify-self: end;

  display: flex;
  gap: 26px;
}


.logo {
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

.logo span {
  color: var(--orange);
}

.nav-right a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

.nav-right a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ===================== HERO ===================== */

.hero {
  position: relative;
  width: 100%;

  /* WICHTIG: echtes Fullscreen inkl. Safari */
  height: 100vh;
  height: 100svh;
  height: 100dvh;

  overflow: hidden;

  /* Safari Safe Area bewusst überziehen */
  padding-bottom: env(safe-area-inset-bottom);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("/static/img/ki_models_bigscreen.PNG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

@media (max-width: 768px) {
  .hero-image {
    background-image: url("/static/img/ki_models_smallscreen.PNG");
  }
}

.hero-image--clickable{
  cursor: pointer;
  border: 0;
  padding: 0;
  background: transparent; /* dein .hero-image Hintergrund bleibt */
  display: block;
}

.hero-image--clickable:focus-visible{
  outline: 2px solid rgba(0,0,0,0.25);
  outline-offset: 6px;
  border-radius: 18px; /* falls dein hero-image rund ist */
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.38) 0%,
    rgba(0,0,0,0.18) 42%,
    rgba(0,0,0,0.06) 100%,
    rgba(255,255,255,0.85) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;            /* war vermutlich 700+ */
  letter-spacing: 0.01em;      /* statt starkem Tracking */
  color: #111827;              /* leicht softer als pures Schwarz */
  margin-bottom: 14px;
}

.hero-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  max-width: 680px;
  width: 100%;
  text-align: center;

  opacity: 0;
  animation: heroFadeUp 1.2s ease-out forwards;
  animation-delay: 0.25s;
}

.hero p{
  font-size: 1.15rem;
  line-height: 1.5;
  max-width: 640px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.hero-center p {
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.8rem;
  margin: 0 0 14px;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 60px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes ctaFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================== CTA BUTTON ===================== */

.button {
  animation: ctaFadeUp 0.9s ease-out forwards;
  animation-delay: 0.45s;
  opacity: 0;
  margin-top: 26px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.button button {
  width: 100%;
  max-width: 420px;
  padding: 18px 0;
  border-radius: 999px;
  border: none;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: center;

  box-shadow: 0 18px 38px rgba(0,0,0,0.22);
  transition: transform 160ms ease, filter 160ms ease;
}

.button button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* ===================== FILTERED PRODUCTS SECTION ===================== */

.filtered-products-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px;
}

.filter-results-header {
  text-align: center;
  margin-bottom: 48px;
}

.filter-results-header h2 {
  font-size: 2.2rem;
  margin: 16px 0;
  color: var(--text);
}

.filter-badge {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--blue), #1a52cc);
  color: white;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(34,104,255,0.25);
}

.change-filters-btn {
  margin-top: 16px;
  padding: 12px 28px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 160ms ease;
}

.change-filters-btn:hover {
  background: rgba(0,0,0,0.10);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

/* ===================== SHOP BLOCKS ===================== */

.shop-block {
  margin-bottom: 80px;
}

.shop-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.shop-header {
  text-align: center;
  margin-bottom: 36px;
}

.shop-header h3 {
  font-size: 2rem;
  margin: 0 0 8px;
  color: var(--text);
}

.shop-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ===================== PRODUCT GRID (fallback) ===================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.12);
}

.card-img {
  width: 100%;
  padding-top: 133%;
  background-size: cover;
  background-position: center;
  background-color: #f5f5f5;
}

.card-body {
  padding: 18px;
}

.card-body h4 {
  font-size: 1rem;
  margin: 0 0 12px;
  line-height: 1.3;
  color: var(--text);
  font-weight: 600;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue);
}

.shop-count {
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(0,0,0,0.05);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ===================== WIZARD (MODAL) ===================== */

body.wizard-open {
  overflow: hidden;
}

.wizard-overlay.hidden {
  display: none;
}

.wizard-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
}

.wizard-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.wizard-card {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: min(720px, calc(100vw - 32px));
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 26px;
  box-shadow: 0 26px 70px rgba(0,0,0,0.28);
  padding: 22px 22px 18px;
}

.wizard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.wizard-progress {
  flex: 1;
  height: 8px;
  background: rgba(0,0,0,0.08);
  border-radius: 999px;
  overflow: hidden;
}

.wizard-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--blue);
  border-radius: 999px;
  transition: width 220ms ease;
}

.wizard-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
  cursor: pointer;
  font-size: 22px;
}

.wizard-title {
  margin: 10px 0 6px;
  font-size: 1.45rem;
  color: #111;
}

.wizard-subtitle {
  margin: 0 0 16px;
  color: rgba(0,0,0,0.62);
  line-height: 1.4;
}

.wizard-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.wizard-option {
  border: 1px solid rgba(0,0,0,0.10);
  background: white;
  border-radius: 18px;
  padding: 14px 14px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.wizard-option:hover {
  transform: translateY(-2px);
  border-color: rgba(34,104,255,0.35);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
}

.wizard-btn {
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
}

.wizard-btn.ghost {
  background: rgba(0,0,0,0.08);
}

.wizard-btn.primary {
  background: var(--blue);
  color: #fff;
}

.wizard-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wizard-summary {
  display: grid;
  gap: 10px;
  padding: 8px 2px 4px;
  color: #111;
}

.wizard-summary button {
  margin-top: 8px;
}

.wizard-option.selected{
  border-color: rgba(34,104,255,0.65);
  box-shadow: 0 16px 40px rgba(34,104,255,0.18);
  transform: translateY(-2px);
}

.wizard-option.selected::after{
  content: "✓";
  float: right;
  font-weight: 900;
}

/* ===================== WIZARD LOADING ===================== */

/* Robust: Loading-Zentrierung ohne :has() */
.wizard-options.is-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.wizard-options:has(.wizard-loading) {
  display: block;
}

.wizard-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  min-height: 260px;
  width: 100%;
  margin: 0 auto;
  gap: 14px;
}

.wizard-spinner {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 4px solid rgba(0,0,0,0.12);
  border-top-color: rgba(34,104,255,0.95);
  animation: wizardSpin 0.9s linear infinite;
}

@keyframes wizardSpin {
  to { transform: rotate(360deg); }
}

.wizard-loading-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111;
}

.wizard-loading-sub {
  font-size: 0.95rem;
  color: rgba(0,0,0,0.6);
}

/* =========================
   GLOBAL LOADER (SHOP)
========================= */
.global-loader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(1100px 600px at 20% 0%, rgba(34,104,255,0.08), transparent 60%),
              radial-gradient(900px 540px at 100% 15%, rgba(255,90,0,0.08), transparent 55%),
              var(--bg);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 0ms linear 180ms;
}

.global-loader-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px;
}

/* Wenn Body "loading" ist -> Loader sichtbar */
body.is-page-loading .global-loader{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 180ms ease;
}

/* Während Loading: ALLES andere weg (sonst flackert’s) */
body.is-page-loading .nav,
body.is-page-loading .shop-shell-premium,
body.is-page-loading .footer--premium,
body.is-page-loading #mobileDrawerOverlay,
body.is-page-loading #mobileDrawer{
  visibility: hidden !important;
}


/* ===================== PREMIUM SHOP THEME ===================== */

:root{
  --bg: #fbfbfc;
  --paper: rgba(255,255,255,0.72);
  --paper2: rgba(255,255,255,0.92);
  --ink: #0b0c10;
  --sub: rgba(11,12,16,0.62);
  --line: rgba(11,12,16,0.10);
  --line2: rgba(11,12,16,0.06);
  --shadow-soft: 0 18px 60px rgba(0,0,0,0.08);
  --shadow-hair: 0 10px 25px rgba(0,0,0,0.06);
  --r-xl: 26px;
  --r-lg: 20px;
  --r-md: 14px;
}

.shop-page--premium{
  background: radial-gradient(1100px 600px at 20% 0%, rgba(34,104,255,0.08), transparent 60%),
              radial-gradient(900px 540px at 100% 15%, rgba(255,90,0,0.08), transparent 55%),
              var(--bg);
  color: var(--ink);

  /* ✅ FIX: Desktop Shop soll NICHT die ganze Seite scrollen */
  height: 100vh;
  overflow: hidden;
}

/* Shop Headline */
.shop-page-head{
  margin-bottom: 18px;
}

.shop-page-title{
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
}

.shop-page-sub{
  margin-top: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(11,12,16,0.6);
}

/* NAV premium */
.nav--premium{
  background: rgba(255,255,255,0.70) !important;
  backdrop-filter: blur(18px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.2) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
}
.logo--premium{ color: var(--ink) !important; text-shadow: none !important; letter-spacing: 0.14em; }
.nav-right--premium a{ color: rgba(11,12,16,0.78) !important; text-shadow:none !important; }
.nav-right--premium a:hover{ color: rgba(11,12,16,1) !important; text-decoration: none !important; }

/* Shell */
.shop-shell-premium{
  max-width: 1480px;
  margin: 0 auto;

  /* padding-top passt zu deiner fixed nav */
  padding: 100px 26px 20px;

  display:grid;
 grid-template-columns: 1fr;
gap: 18px;

  /* ✅ FIX: nimmt den Viewport ein und erlaubt inneres Scrolling */
  height: 100vh;
  min-height: 0;
    grid-template-rows: auto 1fr;
  align-items: stretch;
}

/* Filters */
/* ===== Price slider (premium) ===== */
.price-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  font-weight: 950;
  color: rgba(11,12,16,0.72);
}

.price-hint{
  font-size: 0.86rem;
  font-weight: 850;
  color: rgba(11,12,16,0.58);
}

.range-wrap{
 position: relative;
  height: 34px;
  display:flex;
  align-items:center;
}

/* Range Inputs */
.range-wrap input[type="range"]{
  position:absolute;
  left:0; right:0;
  top: 0;                          /* ✅ nicht mehr 50% + translate */
  width: 100%;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  height: 34px;                    /* ✅ gleiche Höhe wie wrap */
}

/* Track exakt mittig */
.range-wrap input[type="range"]::-webkit-slider-runnable-track{
  height: 6px;
  border-radius: 999px;
  background: rgba(11,12,16,0.10);
}
.range-wrap input[type="range"]::-moz-range-track{
  height: 6px;
  border-radius: 999px;
  background: rgba(11,12,16,0.10);
}

/* Thumb exakt auf Track zentrieren */
.range-wrap input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(34,104,255,0.25);
  pointer-events: auto;
  border: 2px solid rgba(255,255,255,0.95);

  margin-top: -6px;               /* ✅ DAS ist der entscheidende Zentrier-Fix */
}
.range-wrap input[type="range"]::-moz-range-thumb{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--blue);
  border: 2px solid rgba(255,255,255,0.95);
  box-shadow: 0 10px 22px rgba(34,104,255,0.25);
  pointer-events: auto;
}

/* Damit der obere Slider klickbar ist */
#priceRangeMax{ z-index: 2; }
#priceRangeMin{ z-index: 1; }

/* ===== Filters as Modal (Desktop + Mobile) ===== */
.filters-premium{
  position: fixed;
  left: 50%;
  top: 96px; /* unter der fixed nav */
  transform: translate(-50%, 18px) scale(0.985);

  width: min(720px, calc(100vw - 28px));
  height: calc(100vh - 120px);
  height: calc(100dvh - 120px);

  align-self: unset;

  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper2);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 26px 70px rgba(0,0,0,0.22);

  padding: 16px 16px 12px;

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: transform 220ms ease, opacity 220ms ease, visibility 0ms linear 220ms;
  z-index: 70;
}

/* Backdrop wenn Filter offen */
body.filters-open::before{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 69;
}

/* Open state */
body.filters-open .filters-premium{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
  transition: transform 220ms ease, opacity 220ms ease, visibility 0ms;
}

/* Close button immer zeigen (nicht nur mobile) */
.filters-close-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.filters-premium-head{
  display:flex;
  flex-direction: column;         /* ✅ 2 Zeilen */
  align-items: stretch;
  gap: 10px;
  padding: 8px 6px 14px;
  border-bottom: 1px solid var(--line2);
}

/* Row 1: Filter links, X rechts */
.filters-premium-headrow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

/* Row 2: Reset + Sort LINKS unter "Filter" */
.filters-premium-toolbar{
  display:flex;
  align-items:center;
  justify-content:flex-start;     /* ✅ links statt rechts */
  gap: 8px;
  flex-wrap: wrap;
}

.filters-premium-title{
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.filters-premium-actions{
  display:flex;
  gap: 8px;
}


.filters-close-btn{
  display:none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.65);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.btn-quiet{
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.65);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}
.btn-quiet:hover{ transform: translateY(-1px); background: rgba(255,255,255,0.9); }

.filters-premium-block{
  padding: 14px 6px;
  border-bottom: 1px solid var(--line2);
}
.filters-premium-block:last-child{ border-bottom: none; }

.filters-premium-label{
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: rgba(11,12,16,0.72);
  margin-bottom: 10px;
}

.filters-premium-body{
  display:grid;
  gap: 10px;
}

.chk-premium{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 850;
  color: rgba(11,12,16,0.74);
}
.chk-premium input{ accent-color: var(--blue); }

/* ========================= */
/* Collapsible Category Tree */
/* ========================= */
.cat-tree-group{
  border-bottom: 1px solid rgba(11,12,16,0.06);
}
.cat-tree-group:last-child{ border-bottom: none; }

.cat-tree-head{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 8px 4px;
}

.cat-tree-head-check,
.cat-tree-head--check{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 850;
  color: rgba(11,12,16,0.72);
  transition: color 0.15s;
}
.cat-tree-head-check:hover,
.cat-tree-head--check:hover{ color: #0b0c10; }

.cat-tree-head-check input,
.cat-tree-head--check input{
  accent-color: #0b0c10;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.cat-tree-group.is-active .cat-tree-head-check,
.cat-tree-group.is-active .cat-tree-head--check{
  color: #0b0c10;
}

.cat-tree-toggle{
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  flex: 0 0 auto;
}
.cat-tree-toggle:hover{
  background: rgba(11,12,16,0.05);
}

.cat-tree-chev{
  font-size: 12px;
  opacity: 0.45;
  transition: transform 0.2s, opacity 0.15s;
  display: block;
}
.cat-tree-group.is-expanded .cat-tree-chev{
  transform: rotate(0deg);
  opacity: 0.7;
}
.cat-tree-group:not(.is-expanded) .cat-tree-chev{
  transform: rotate(-90deg);
}

.cat-tree-subs{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, padding 0.22s ease;
  padding: 0 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cat-tree-group.is-expanded .cat-tree-subs{
  max-height: 320px;
  padding: 2px 0 10px 24px;
}

.cat-tree-sub-label{
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(11,12,16,0.55);
  padding: 3px 0;
  transition: color 0.15s;
}
.cat-tree-sub-label:hover{ color: rgba(11,12,16,0.85); }

.cat-tree-sub-label input{
  accent-color: #0b0c10;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.price-row-premium{
  display:flex;
  align-items:center;
  gap: 10px;
}

.price-row-premium input{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.85);
  font-weight: 900;
  outline: none;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}
.price-row-premium input:focus{
  border-color: rgba(34,104,255,0.45);
  box-shadow: 0 0 0 6px rgba(34,104,255,0.10);
}

.btn-solid{
  border: none;
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 950;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(11,12,16,1), rgba(11,12,16,0.86));
  color: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
  transition: transform 160ms ease, filter 160ms ease;
}
.btn-solid:hover{ transform: translateY(-1px); filter: brightness(1.05); }

/* Toolbar + Listing */
.listing-premium{
  min-width: 0;
  min-height: 0;

  /* ✅ Box-Layout */
  display: flex;
  flex-direction: column;
  gap: 18px;

  /* ✅ HIER wird gescrollt (rechte Spalte als Panel) */
  overflow: auto;
  padding-bottom: 22px;

  /* optional (sieht premium aus): */
  border-radius: var(--r-xl);
}

.toolbar-premium{
  /* vorher sticky top:88px – wir machen es innerhalb der Box fix */
  position: sticky;
  top: 0;
  z-index: 10;

  border: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  background: #ffffff;
 backdrop-filter: none;
  -webkit-backdrop-filter: none;

  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-radius: var(--r-xl);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);

  padding: 14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;

  margin-bottom: 0;
    display: none !important;
}

.toolbar-premium-title{
  font-size: 1.18rem;
  font-weight: 980;
  letter-spacing: 0.01em;
}
.toolbar-premium-sub{
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--sub);
  font-weight: 800;
}

.toolbar-premium-right{
  display:flex;
  align-items:center;
  gap: 12px;
}

.search-premium input{
  width: min(500px, 42vw);
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.88);
  font-weight: 850;
  outline: none;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}
.search-premium input:focus{
  border-color: rgba(34,104,255,0.45);
  box-shadow: 0 0 0 6px rgba(34,104,255,0.10);
}

.sort-premium{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 950;
  color: rgba(11,12,16,0.70);
}
.sort-premium select{
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 950;
  background: rgba(255,255,255,0.9);
  cursor: pointer;
}

/* Grid (Premium) */
.grid-premium{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;

  /* ✅ kein eigener Scroll -> verhindert “Abschneiden” */
  overflow: visible;
  flex: 0 0 auto;

  padding: 0 0 22px;
}

/* ✅ Desktop: maximal 4 Produkte pro Reihe */
@media (min-width: 1101px){
  .grid-premium{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* Product card (premium) */
.pcard-premium{
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow:hidden;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  cursor:pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.pcard-premium:hover{
  transform: translateY(-5px);
  border-color: rgba(11,12,16,0.14);
  box-shadow: var(--shadow-soft);
}

.pcard-media{
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  background-color: #f1f2f4;
  transform: scale(1.01);
  transition: transform 360ms ease;
}
.pcard-premium:hover .pcard-media{ transform: scale(1.06); }

.pcard-body{
  padding: 14px 14px 16px;
  display:grid;
  gap: 8px;
}

.pcard-kicker{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(11,12,16,0.58);
  min-width: 0;
}

.pcard-kicker > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11,12,16,0.04);
  border: 1px solid rgba(11,12,16,0.07);
  font-weight: 950;
  font-size: 0.78rem;
  color: rgba(11,12,16,0.68);
}

.pcard-title{
  font-weight: 950;
  font-size: 0.98rem;
  line-height: 1.25;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
}

.pcard-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  color: rgba(11,12,16,0.62);
  font-weight: 850;
  font-size: 0.88rem;
}

.pcard-price{
  color: var(--ink);
  font-weight: 980;
  letter-spacing: 0.01em;
}



/* Footer */
.footer--premium{
  background: transparent;
  color: rgba(11,12,16,0.55);
  border-top: 1px solid var(--line2);
}



@media (max-width: 560px){
  .filter-fab{ top: 178px; right: 12px; }
  .gcbar-left{ top: 76px; right: 12px; }
}

.filter-dot{
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--orange);
  display:inline-block;
  margin-left: 10px;
}

/* Responsive */
@media (max-width: 1100px){
  body.filters-open{ overflow: hidden; }

/* ✅ Wichtig: Filterpanel darf weiter vertikal scrollen */
body.filters-open .filters-premium{
  touch-action: pan-y;
  overscroll-behavior: contain;
}
  /* ✅ Mobile: lieber normal scrollen (kein nested scroll) */
  .shop-page--premium{
    height: auto;
    overflow: auto;
  }

  .shop-shell-premium{
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .filters-premium{
  position: fixed;
  top: 72px;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: calc(100vh - 72px);        /* EXPLIZITE HÖHE */
  height: calc(100dvh - 72px);       /* Dynamische Viewport-Höhe für Mobile */
  border-radius: 22px 22px 0 0;

  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: transform 220ms ease, opacity 220ms ease, visibility 0ms linear 220ms;

  z-index: 70;
  max-width: none;
  margin: 0;

  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

body.filters-open .filters-premium{
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 220ms ease, opacity 220ms ease, visibility 0ms;
}


  .filter-fab{ display:block; }
  .filters-close-btn{ display:inline-flex; align-items:center; justify-content:center; }

  /* Mobile: Grid scrollt nicht separat */
  .grid-premium{
    overflow: visible;
    min-height: auto;
  }

  .grid-premium{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px){
  .shop-shell-premium{ padding: 96px 14px 34px; }
  .grid-premium{ grid-template-columns: 1fr; }
}

/* Accessibility helper */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* ===================== PREMIUM FILTER CONTROLS (Add-on) ===================== */

.pills{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

.pillbtn{
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 950;
  cursor: pointer;
  color: rgba(11,12,16,0.76);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.pillbtn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.92);
}
.pillbtn.is-active{
  border-color: rgba(34,104,255,0.55);
  box-shadow: 0 0 0 6px rgba(34,104,255,0.10);
  color: rgba(11,12,16,1);
}

.select-premium{
  display:grid;
  gap: 6px;
}
.select-premium span{
  font-size: 0.82rem;
  font-weight: 900;
  color: rgba(11,12,16,0.58);
}
.select-premium select{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 900;
  background: rgba(255,255,255,0.85);
  outline: none;
  cursor: pointer;
}
.select-premium select:focus{
  border-color: rgba(34,104,255,0.45);
  box-shadow: 0 0 0 6px rgba(34,104,255,0.10);
}

.tiny-hint{
  font-size: 0.84rem;
  font-weight: 850;
  color: rgba(11,12,16,0.52);
}

.btn-expand{
  width: 100%;
  margin-top: 10px;
}

/* ===================== ADDON: PREMIUM FILTER CONTROLS ===================== */

.pills{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

.pillbtn{
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 950;
  cursor: pointer;
  color: rgba(11,12,16,0.76);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.pillbtn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.92);
}
.pillbtn.is-active{
  border-color: rgba(34,104,255,0.55);
  box-shadow: 0 0 0 6px rgba(34,104,255,0.10);
  color: rgba(11,12,16,1);
}

.select-premium{
  display:grid;
  gap: 6px;
}
.select-premium span{
  font-size: 0.82rem;
  font-weight: 900;
  color: rgba(11,12,16,0.58);
}
.select-premium select{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 900;
  background: rgba(255,255,255,0.85);
  outline: none;
  cursor: pointer;
}
.select-premium select:focus{
  border-color: rgba(34,104,255,0.45);
  box-shadow: 0 0 0 6px rgba(34,104,255,0.10);
}

.tiny-hint{
  font-size: 0.84rem;
  font-weight: 850;
  color: rgba(11,12,16,0.52);
}

.btn-expand{
  width: 100%;
  margin-top: 10px;
}

/* ===================== ADDON: ACCORDION + FILTER WIDTH/SCROLL ===================== */


/* ✅ Filterpanel scrollbar (Desktop), bleibt sticky */
@media (min-width: 1101px){
  .filters-premium{
    /* Panel darf nicht “unter” Footer/Cookie-Bar rutschen */
    max-height: calc(100vh - 230px);

    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;

    /* Extra Platz unten, damit letzte Optionen nicht überdeckt werden */
    padding-bottom: 20px;
    scroll-padding-bottom: 20px;
  }
}

/* Mobile/Overlay: ebenfalls unten Luft für Footer/Safe-Area */
@media (max-width: 1100px){
  .filters-premium{
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    scroll-padding-bottom: 120px;
  }
}


/* nicer scroll (optional) */
.filters-premium::-webkit-scrollbar{ width: 10px; }
.filters-premium::-webkit-scrollbar-thumb{
  background: rgba(11,12,16,0.12);
  border-radius: 999px;
}
.filters-premium::-webkit-scrollbar-track{
  background: rgba(11,12,16,0.04);
  border-radius: 999px;
}

/* Accordion blocks */
.filters-acc-block{
  border-bottom: 1px solid var(--line2);
  padding: 10px 6px;
}
.filters-acc-block:last-child{ border-bottom: none; }

.filters-acc-head{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;

  border: none;
  background: transparent;
  cursor: pointer;

  padding: 10px 2px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: rgba(11,12,16,0.72);
}

.filters-acc-chev{
  font-size: 0.95rem;
  opacity: 0.7;
  transition: transform 180ms ease, opacity 180ms ease;
}

.filters-acc-body{
  overflow: hidden;
  max-height: 800px; /* offen */
  transition: max-height 220ms ease;
}

/* Brand-Filter braucht Scrolling bei vielen Brands */
#filterBrandList{
  max-height: 400px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.filters-acc-block.is-collapsed .filters-acc-body{
  max-height: 0;
}

.filters-acc-block.is-collapsed .filters-acc-chev{
  transform: rotate(-90deg);
  opacity: 0.55;
}

/* etwas Abstand wenn offen */
.filters-acc-block:not(.is-collapsed) .filters-acc-body{
  padding-bottom: 10px;
}

/* Mobile: bleibt wie gehabt (Overlay), scrollen sowieso möglich */
@media (max-width: 1100px){
  .shop-shell-premium .filters-premium,
  .shop-shell-premium .listing-premium{
    grid-row: auto;
  }
}

/* =========================
   FILTER: Search + Sort UI
========================= */

/* Actions-Reihe im Filter-Header */
.filters-premium-actions{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap; /* falls es eng wird */
}

/* Sort im Filter-Header kompakter */
.sort-premium--infilters{
  gap: 0;
}
.sort-premium--infilters select{
  padding: 8px 12px;
}

/* Suchblock im Filter: immer sichtbar + full width */
.filters-premium-block--search{
  padding: 12px 6px 14px;
  border-bottom: 1px solid var(--line2);
}

.search-premium--infilters{
  width: 100%;
  display: block;
}
.filters-premium .search-premium--infilters input{
  width: 100% !important;
  max-width: none !important;
}

/* ===================== FIX: Pill Buttons ohne Animation/Glow ===================== */

.pillbtn{
  transition: none !important;
  transform: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.pillbtn:hover{
  transform: none !important;
  box-shadow: none !important;
  background: rgba(255,255,255,0.72) !important;
}

.pillbtn:active{
  transform: none !important;
  box-shadow: none !important;
}

/* Entfernt blaues “Focus Glow” (z.B. Safari/Chrome) */
.pillbtn:focus,
.pillbtn:focus-visible{
  outline: none !important;
  box-shadow: none !important;
}

/* Active State: nur dezenter “selected look”, kein Blau-Glow */
.pillbtn.is-active{
  border-color: rgba(11,12,16,0.18) !important;
  box-shadow: none !important;
  background: rgba(11,12,16,0.06) !important;
  color: rgba(11,12,16,1) !important;
}

/* optional: falls irgendwo noch alte Close-Styles waren */
#filtersToggleBtn { white-space: nowrap; }

/* ===================== PRODUCT COMPARISON PAGE (AI + AMPEL + STICKY CTA) ===================== */


.cmp-shell{
  max-width: 1480px;
  margin: 0 auto;
  padding: 110px 22px 40px; /* ✅ Mehr padding-bottom für Abstand zum Footer */
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 18px;
  /* min-height entfernt - wird jetzt durch flex: 1 auf .cmp-page geregelt */
}

.cmp-left{
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 110px;
}

.cmp-right{
  min-width: 0;
  display: grid;
  gap: 14px;
  align-self: start; /* ✅ FIX: Nimmt nur so viel Platz wie nötig */
}

.cmp-back{
  display: inline-block;
  margin-bottom: 10px;
  text-decoration: none;
  font-weight: 900;
  color: rgba(11,12,16,0.70);
  font-size: 0.95rem;
}
.cmp-back:hover{ color: rgba(11,12,16,1); }

/* ✅ KI-Empfehlung: sichtbarer + Ampel */
.cmp-decision--top{
  margin-bottom: 12px;
  border: 1px solid rgba(11,12,16,0.10);
  border-radius: var(--r-xl);
  background: linear-gradient(
    135deg,
    rgba(34,104,255,0.10),
    rgba(255,90,0,0.08),
    rgba(255,255,255,0.80)
  );
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: var(--shadow-hair);
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}

.cmp-decision-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.cmp-ai-title{
  font-weight: 980;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(11,12,16,0.70);
}

.cmp-traffic{
  display:flex;
  align-items:center;
  gap: 8px;
}

.cmp-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(11,12,16,0.16);
  box-shadow: inset 0 0 0 1px rgba(11,12,16,0.10);
  opacity: 0.55;
}

/* Standard: alles “aus” – wir aktivieren per Klasse am cmpDecision */
.cmp-decision--buy  .cmp-dot--green,
.cmp-decision--neutral .cmp-dot--yellow,
.cmp-decision--wait .cmp-dot--red{
  opacity: 1;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

.cmp-decision--buy .cmp-dot--green{ background: #22c55e; }
.cmp-decision--neutral .cmp-dot--yellow{ background: #f59e0b; }
.cmp-decision--wait .cmp-dot--red{ background: #ef4444; }

/* Badge/Border passend zur Ampel */
.cmp-decision-badge{
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,12,16,0.10);
  background: rgba(255,255,255,0.86);
  font-weight: 980;
  color: rgba(11,12,16,0.86);
  font-size: 0.90rem;
}
.cmp-decision--buy .cmp-decision-badge{
  border-color: rgba(34,197,94,0.35);
}
.cmp-decision--neutral .cmp-decision-badge{
  border-color: rgba(245,158,11,0.35);
}
.cmp-decision--wait .cmp-decision-badge{
  border-color: rgba(239,68,68,0.35);
}

.cmp-decision-row{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}

.cmp-decision-text{
  font-weight: 980;
  color: rgba(11,12,16,0.92);
  font-size: 0.98rem;
}

.cmp-decision-sub{
  font-weight: 850;
  color: rgba(11,12,16,0.60);
  font-size: 0.92rem;
  line-height: 1.35;
}

/* ✅ Produktkarte kompakter (damit Buttons im View bleiben) */
.cmp-product{
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow-hair);
}

.cmp-product-media{
  display: block;
  width: 100%;
  min-height: 280px;
  max-height: 500px;
  object-fit: contain;
  object-position: center;
  background-color: #ffffff;
}

.cmp-product-body{
  padding: 14px 14px 14px;
  display: grid;
  gap: 8px;
}

.cmp-brand{
  font-weight: 950;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: rgba(11,12,16,0.58);
}

.cmp-title{
  font-weight: 980;
  font-size: 1.08rem;
  line-height: 1.22;
  color: var(--ink);
}

.cmp-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Dev-Panel (nur mit ?dev=1 sichtbar) */
.cmp-dev-panel{margin-top:12px;padding:12px;border:2px dashed #ef4444;border-radius:8px;background:#fef2f2;}
.cmp-dev-row{display:flex;align-items:center;gap:8px;margin-bottom:8px;}
.cmp-dev-row label{font-weight:700;min-width:90px;font-size:0.85rem;}
.cmp-dev-row select{padding:4px 8px;border-radius:6px;border:1px solid #d1d5db;font-size:0.85rem;}
.cmp-dev-actions{display:flex;align-items:center;gap:10px;margin-top:4px;}
#devStatus{font-size:0.85rem;font-weight:700;}

/* ✅ CTA sticky im Produkt (immer sichtbar) */
.cmp-cta-row--sticky{
  position: sticky;
  bottom: 12px;
  z-index: 5;

  display:flex;
  gap: 10px;

  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(11,12,16,0.08);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cmp-cta-row .btn-solid{ flex: 1; }
.cmp-cta-row .btn-quiet{ flex: 0 0 auto; }

/* Heart button for comparison page */
.cmp-heart-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 12, 16, 0.12);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cmp-heart-btn:hover {
  border-color: rgba(11, 12, 16, 0.2);
  background: #fafafa;
  transform: scale(1.05);
}

.cmp-heart-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #999;
  stroke-width: 2;
  transition: all 0.2s ease;
}

.cmp-heart-btn:hover svg {
  stroke: #e53935;
}

.cmp-heart-btn.is-liked {
  background: #fff0f0;
  border-color: #e53935;
}

.cmp-heart-btn.is-liked svg {
  fill: #e53935;
  stroke: #e53935;
}

.cmp-heart-btn.is-liked:hover {
  background: #ffe5e5;
}

/* Outfit button for comparison page */
.cmp-outfit-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 12, 16, 0.12);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cmp-outfit-btn:hover {
  border-color: rgba(11, 12, 16, 0.2);
  background: #fafafa;
  transform: scale(1.05);
}

.cmp-outfit-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #999;
  stroke-width: 2;
  transition: all 0.2s ease;
}

.cmp-outfit-btn:hover svg {
  stroke: #4CAF50;
}

.cmp-outfit-btn.in-outfit {
  background: #f0fff0;
  border-color: #4CAF50;
}

.cmp-outfit-btn.in-outfit svg {
  fill: #4CAF50;
  stroke: #4CAF50;
}

.cmp-outfit-btn.in-outfit:hover {
  background: #e5ffe5;
}

/* Right cards */
.cmp-card{
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.74);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: var(--shadow-hair);
  padding: 12px 12px 10px;
}

.cmp-card-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 10px;
  border-bottom: 1px solid var(--line2);
  margin-bottom: 10px;
}

.cmp-card-title{
  font-size: 0.98rem;
  font-weight: 980;
  letter-spacing: 0.01em;
}
.cmp-card-sub{
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--sub);
  font-weight: 850;
}

.cmp-offers{ display: grid; gap: 10px; }

.cmp-offer{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 11px;
  border: 1px solid var(--line2);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.80);
}

.cmp-offer-left{ display: grid; gap: 4px; }
.cmp-offer-shop{ font-weight: 950; color: rgba(11,12,16,0.88); font-size: 0.95rem; }
.cmp-offer-meta{ font-weight: 850; color: rgba(11,12,16,0.55); font-size: 0.88rem; }

.cmp-offer-right{ display:flex; align-items:center; gap: 10px; }
.cmp-offer-price{ font-weight: 980; letter-spacing: 0.01em; }

.cmp-offer-btn{
  border: none;
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 950;
  cursor: pointer;
  background: rgba(11,12,16,0.92);
  color: #fff;
}
.cmp-offer-btn:hover{ filter: brightness(1.05); }

.cmp-chart-wrap{
  width: 100%;
  overflow: hidden;                 /* ✅ bleibt clean in der Card */
  border-radius: var(--r-lg);
  border: 1px solid var(--line2);
  background: rgba(255,255,255,0.82);
}

#cmpChart{
  width: 100%;                      /* ✅ kein rausziehen */
  height: auto;
  display: block;
}

@media (max-width: 560px){
  #cmpChart{ height: 280px; }
}


/* Mobile */
@media (max-width: 1100px){
  .cmp-shell{
    grid-template-columns: 1fr;
    padding: 110px 16px 22px;
  }
  .cmp-left{
    position: static;
    top: auto;
  }
  .cmp-product-media{
    min-height: 350px;
    max-height: 600px;
  }
}

/* Page fix */
.cmp-page{
  height: auto !important;
  min-height: 100vh !important;
  overflow: auto !important;
  background: var(--bg);
  color: var(--ink);

  /* ✅ FIX: Sticky Footer - Flexbox Layout */
  display: flex;
  flex-direction: column;
}

/* ✅ FIX: Footer darf nicht schrumpfen (nur auf cmp-page) */
.cmp-page > .footer,
.cmp-page > .footer--premium{
  flex-shrink: 0;
  background: var(--bg); /* Solider Hintergrund auf Comparison-Seite */
}

/* ===== Comparison chart hover tooltip ===== */
.cmp-chart-wrap{
  position: relative; /* wichtig für Tooltip-Positionierung */
}

.cmp-chart-tip{
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-9999px, -9999px);
  pointer-events: none;

  padding: 8px 10px;
  border-radius: 12px;

  border: 1px solid rgba(11,12,16,0.10);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 16px 30px rgba(0,0,0,0.10);
  font-weight: 900;
  font-size: 0.86rem;
  color: rgba(11,12,16,0.86);
  white-space: nowrap;

  opacity: 0;
  transition: opacity 120ms ease;
}

.cmp-chart-tip.is-visible{
  opacity: 1;
}




/* Falls du auch hier eine fixed nav nutzt: Content darf nicht drunter laufen */
.cmp-page .cmp-shell{
  padding-top: 118px; /* gleiche Höhe wie shop-shell-premium padding-top */
  padding-bottom: 60px; /* ✅ Mehr Abstand zum Footer */
  flex: 1 0 auto; /* ✅ FIX: Wachsen ja, schrumpfen nein */
}

/* ===================== ABOUT SECTION (Index) ===================== */

/* ===================== ABOUT SECTION (Index) ===================== */

.about-section{
  background: radial-gradient(900px 540px at 18% 20%, rgba(34,104,255,0.06), transparent 60%),
              radial-gradient(900px 540px at 100% 15%, rgba(255,90,0,0.06), transparent 55%),
              #ffffff;
  padding: 86px 24px 86px;
  scroll-margin-top: 110px; /* anchor nicht unter fixed nav */
}

/* Desktop: IMMER 2 Spalten (Bild links, Text rechts) */
.about-inner{
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(320px, 520px) 1fr; /* Bild kleiner, Text bekommt Platz */
  gap: 28px;
  align-items: center;
}

/* LINKS: Bild-Card */
.about-image-link{
  position: relative;
  display: block;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(11,12,16,0.10);
  box-shadow: 0 18px 60px rgba(0,0,0,0.08);
  text-decoration: none;
}

.about-image{
  width: 100%;
  height: clamp(360px, 42vw, 520px); /* ✅ skaliert sauber, nicht riesig */
  object-fit: cover;
  object-position: center 82%;
  display: block;
  transform: scale(1.01);
  transition: transform 380ms ease;
}

.about-image-link:hover .about-image{
  transform: scale(1.06);
}

/* CTA auf dem Bild */
.about-image-cta{
  position: absolute;
  left: 16px;
  bottom: 16px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(11,12,16,0.78);
  color: #fff;
  font-weight: 950;
  letter-spacing: 0.02em;

  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transform: translateY(8px);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.about-image-link:hover .about-image-cta{
  opacity: 1;
  transform: translateY(0);
}

/* RECHTS: Text-Block als Card */
.about-card{
  border: 1px solid rgba(11,12,16,0.10);
  background: rgba(255,255,255,0.86);
  border-radius: 26px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  padding: 22px 22px 20px;
}

.about-kicker{
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(11,12,16,0.60);
  margin-bottom: 10px;
}

.about-title{
  margin: 0 0 10px;
  font-size: 1.8rem;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: rgba(11,12,16,0.92);
}

.about-texts{
  display: grid;
  gap: 12px;
}

.about-text{
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(11,12,16,0.70);
  font-weight: 650;
}

.about-note{

  margin: 2px 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(11,12,16,0.52);
  font-weight: 650;
}

.about-note{
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(0,0,0,0.62);
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.about-note-star{
  font-weight: 700;
  margin-right: 6px;
}

.about-actions{
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

.about-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 16px;
  border-radius: 999px;

  background: var(--blue);
  color: #fff;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-decoration: none;

  box-shadow: 0 18px 38px rgba(0,0,0,0.16);
  transition: transform 160ms ease, filter 160ms ease;
}

.about-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Mobile: erst dann stapeln */
@media (max-width: 900px){
  .about-inner{
    grid-template-columns: 1fr;
  }
  .about-image{
    height: 420px;
  }
}



/* ===================== FOOTER ===================== */

.footer{
  padding: 10px 18px;
  line-height: 1.2;
  font-size: 0.85rem;
  text-align: center;
  color: var(--muted);
}

/* iOS Safari Mobile: extra padding so footer extends behind URL pill (~40px) */
@media (max-width: 768px) {
  .footer {
    padding-bottom: max(50px, calc(20px + env(safe-area-inset-bottom, 0px)));
  }
}

/* Footer Links: mehr Abstand + klare Trennung */
.footer .footer-links{
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;             /* Abstand zwischen Items */
}

.footer .footer-links a,
.footer .footer-links span{
  display: inline-flex;
  align-items: center;
  gap: 8px;              /* Abstand Icon ↔ Text */
  color: inherit;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
}

.footer .footer-links a:hover{
  background: rgba(0,0,0,0.05);
}

.footer .footer-links .sep{
  opacity: 0.35;
  padding: 0 4px;
  user-select: none;
}

/* Icon-Größe */
.footer .footer-ico{
  width: 16px;
  height: 16px;
  display: inline-block;
}

.footer .footer-inner{
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 48px;            /* <- größerer Abstand zwischen links & rechts */
}

/* Rechte Link-Leiste: behält euren Abstand */
.footer .footer-links{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;            /* <- “jetziger Abstand” */
}

/* Optional: auf sehr kleinen Screens umbrechen */
@media (max-width: 620px){
  .footer .footer-inner{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
}


/* ===================== MOBILE RESPONSIVE ===================== */

@media (max-width: 520px) {
  .wizard-options {
    grid-template-columns: 1fr;
  }

  .wizard-card {
    transform: translate(-50%, -50%);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-center {
    max-width: 320px;
    animation-delay: 0.15s;
  }

  .hero-center h1 {
    font-size: 2rem;
  }

  .filter-results-header h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 860px) {
  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1rem;
    max-width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (min-width: 1600px) {
  .nav-right {
    right: 64px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

/* ✅ Mobile: Hero-Text mit Abstand zu den Rändern */
@media (max-width: 640px){
  .hero-content{
    padding-left: 10px;
    padding-right: 10px;
  }

  /* optional: Text nicht zu breit */
  .hero-content p{
    max-width: 45ch;
    margin-left: auto;
    margin-right: auto;
  }
}




/* =========================
   NAV DRAWER (All Screens)
========================= */

/* Hide text nav-right on all screens - use burger menu instead */
.nav-right{ display:none !important; }

/* Nav Actions (Search + Burger) - fits into grid column 3 */
.nav-actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  grid-column: 3;
}

/* Search Button */
.nav-search-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-search-btn:hover{
  background: rgba(255,255,255,0.1);
}
.nav-search-btn svg{ width: 22px; height: 22px; display:block; }
.nav--white .nav-search-btn{ color: #fff; }
.nav--white .nav-search-btn:hover{ background: rgba(255,255,255,0.15); }
.nav--premium .nav-search-btn{ color: #111; }
.nav--premium .nav-search-btn:hover{ background: rgba(0,0,0,0.05); }

/* Burger always visible */
.nav-burger{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 12px;
  cursor: pointer;
  z-index: 1101;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-burger:hover{
  background: rgba(255,255,255,0.1);
}
.nav--white .nav-burger:hover{ background: rgba(255,255,255,0.15); }
.nav--premium .nav-burger:hover{ background: rgba(0,0,0,0.05); }
.nav-burger svg{ width: 24px; height: 24px; display:block; }

/* Color tuning per nav variant */
.nav--white .nav-burger{ color: #fff; }
.nav--premium .nav-burger{ color: #111; }

/* Drawer/overlay are fixed and out of layout */
.drawer-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  z-index: 2000;
  transition: opacity .18s ease;
}

.drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(86vw, 360px);
  background: #fff;
  transform: translateX(105%);
  transition: transform .22s ease;
  z-index: 2001;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  pointer-events: none; /* important: no “clickable strip” when closed */
}

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

.drawer-title{
  font-weight: 700;
  font-size: 16px;
}

.drawer-close{
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(0,0,0,0.06);
  cursor:pointer;
  font-size: 22px;
  line-height: 1;
}

.drawer-links{
  display:flex;
  flex-direction: column;
  padding: 10px 18px 20px;
  gap: 10px;
}
.drawer-links a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration:none;
  color: #111;
  font-weight: 600;
  background: rgba(0,0,0,0.03);
}
.drawer-links a:active{ transform: translateY(1px); }

/* Drawer Footer with Settings */
.drawer-footer{
  margin-top: auto;
  padding: 16px 18px 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.drawer-settings{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: #666;
  font-weight: 600;
  background: rgba(0,0,0,0.03);
  transition: background 0.15s ease, color 0.15s ease;
}
.drawer-settings:hover{
  background: rgba(0,0,0,0.06);
  color: #111;
}
.drawer-settings svg{
  width: 20px;
  height: 20px;
}

/* Open state on body */
body.drawer-open .drawer-overlay{
  opacity: 1;
  pointer-events: auto;
}
body.drawer-open .drawer{
  transform: translateX(0);
  pointer-events: auto;
}

/* === FIX: Content unter fixed Nav === */
main,
.page-content,
.legal-page,
.impressum-page,
.datenschutz-page {
  padding-top: 96px; /* Höhe der Nav */
}

/* Mobile etwas weniger Höhe */
@media (max-width: 860px) {
  main,
  .page-content,
  .legal-page,
  .impressum-page,
  .datenschutz-page {
    padding-top: 76px;
  }
}

/* =========================
   SHOP LAYOUT: Listing links, Filter rechts + Page Title
========================= */

.shop-page-title{
  margin: 0 0 6px;
  font-size: 1.65rem;
  font-weight: 980;
  letter-spacing: 0.01em;
  color: rgba(11,12,16,0.92);
}

/* Desktop: 2 Spalten, Listing links (1fr), Filter rechts (fixe Breite) */
@media (min-width: 1101px){
  .shop-shell-premium{
    grid-template-columns: 1fr 420px !important;
  }

  /* Überschrift über beide Spalten */
  .shop-page-title{
  grid-column: 1 / -1;   /* über beide Spalten */
  margin: 0 0 14px;      /* wenig Abstand nach unten */
  line-height: 1.1;
  }

  /* Filter rechts */
  .filters-premium{
    grid-row: 2;
  }

  /* Listing links */
  .listing-premium{
    grid-row: 2;
  }
}

/* =========================
   FIX: Listing links, Filter rechts (Desktop)
   + verhindert riesige erste Zeile wegen H1
========================= */

/* Titel über beide Spalten */
.shop-shell-premium .shop-page-title{
  grid-column: 1 / -1;
  margin: 0 0 14px;
  line-height: 1.1;
}

/* Desktop Layout: links Listing, rechts Filter */
@media (min-width: 1101px){
  .shop-shell-premium{
    grid-template-columns: 1fr 420px !important; /* ✅ umgedreht */
  }

  /* beide Panels in Zeile 2, damit Titel nicht alles “aufbläst” */
  .shop-shell-premium .filters-premium{
    grid-column: 2 !important;  /* ✅ rechts */
    grid-row: 2;
  }

  .shop-shell-premium .listing-premium{
    grid-column: 1 !important;  /* ✅ links */
    grid-row: 2;
  }
}

/* Mobile: wieder normal (Overlay/Stack) */
@media (max-width: 1100px){
  .shop-shell-premium .filters-premium,
  .shop-shell-premium .listing-premium{
    grid-column: auto !important;
    grid-row: auto;
  }
}

/* ✅ Toolbar: "Shop" + Count entfernen, Search links, Sort rechts */
.toolbar-premium-meta{
  display: none !important;
}

/* Der rechte Block soll die komplette Breite nehmen */
.toolbar-premium-right--spread{
  width: 100%;
  flex: 1;
  justify-content: space-between; /* ✅ Search links, Sort rechts */
}

/* Search soll links Platz bekommen */
.toolbar-premium-right--spread .search-premium{
  flex: 1;
  min-width: 220px;
}

/* Sort bleibt kompakt ganz rechts */
.toolbar-premium-right--spread .sort-premium{
  flex: 0 0 auto;
}

/* =========================
   MOBILE: Kein horizontal scroll (Safari Fix)
========================= */
html{
  overflow-x: clip;
}
body, #page{
  overflow-x: hidden;
}

/* Safari: 100vw => kann Overflow erzeugen */
@media (max-width: 1100px){
  .nav{
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  /* Shop-Wrapper darf nicht breiter werden als Viewport */
  .shop-shell-premium{
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* ✅ Filterpanel: inset + margin verursacht Overflow → statt margin: left/right setzen */
  .filters-premium{
  margin: 0 !important;
  left: 10px !important;
  right: 10px !important;
  bottom: 0 !important;                          /* NEU */
  width: auto !important;
  max-width: calc(100% - 20px) !important;
  overflow-y: auto !important;                   /* NEU */
  -webkit-overflow-scrolling: touch !important;  /* NEU */
}

  /* Sicherheit: Grid/Toolbar dürfen nicht "min-width" erzwingen */
  .listing-premium,
  .toolbar-premium,
  .grid-premium{
    min-width: 0 !important;
    max-width: 100% !important;
  }

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

/* =========================
   MOBILE: 1 Card pro Zeile + exakt zentriert
========================= */
@media (max-width: 1100px){

  .shop-shell-premium{
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
  }

  .grid-premium{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)) !important;
    justify-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .pcard-premium{
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box;
  }

  .listing-premium{
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* Tablet/Phablet: 1 Spalte, volle Breite */
@media (max-width: 700px){
  .grid-premium{
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 16px !important;
    justify-items: stretch !important;
  }

  .pcard-premium{
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .listing-premium{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .shop-shell-premium{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ✅ Mobile: 1 Produkt pro Zeile, Cards füllen den Screen */
@media (max-width: 560px){
  .shop-shell-premium{
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box;
  }

  .listing-premium{
    overflow-x: hidden !important;
    overflow-y: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .toolbar-premium{
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  .grid-premium{
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 10px !important;
    justify-items: stretch !important;
    box-sizing: border-box;
  }

  .pcard-premium{
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box;
    border-radius: 12px !important;
  }
}

.filter-fab .filter-dot{
  display: none !important;
}

/* ✅ Filter-FAB: klein, oben rechts, schwarz */
.filter-fab{
  position: fixed !important;
  top: 86px !important;     /* ggf. 76–96px je nach Nav */
  right: 14px !important;
  bottom: auto !important;
  left: auto !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;

  padding: 7px 10px !important;
  gap: 6px !important;

  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;

  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  background: rgba(0,0,0,0.92) !important;
  color: #fff !important;

  box-shadow: 0 10px 28px rgba(0,0,0,0.18) !important;

  transform: none !important;
  writing-mode: horizontal-tb !important;
}

.filter-fab *{
  color: #fff !important;
}

.filter-fab .filter-dot{
  display: none !important;
}

@media (max-width: 560px){
  .filter-fab{
    top: 72px !important;
    right: 10px !important;
    padding: 7px 9px !important;
  }
}

/* ✅ Sort-FAB: same styling as filter-fab, positioned to the left */
.sort-fab{
  position: fixed !important;
  top: 86px !important;
  right: 80px !important;  /* Positioned to the left of filter-fab (14px + ~66px button width) */
  bottom: auto !important;
  left: auto !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;

  padding: 7px 10px !important;
  gap: 6px !important;

  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;

  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  background: rgba(0,0,0,0.92) !important;
  color: #fff !important;

  box-shadow: 0 10px 28px rgba(0,0,0,0.18) !important;

  transform: none !important;
  writing-mode: horizontal-tb !important;
  cursor: pointer !important;
}

.sort-fab *{
  color: #fff !important;
}

.sort-fab svg{
  width: 14px !important;
  height: 14px !important;
}

.sort-fab:hover{
  background: rgba(0,0,0,1) !important;
}

.sort-fab:active{
  transform: scale(0.97) !important;
}

@media (max-width: 560px){
  .sort-fab{
    top: 72px !important;
    right: 76px !important;  /* Adjusted for smaller filter-fab */
    padding: 7px 9px !important;
  }
}

/* ✅ FIX: Footer bleibt unten, auch wenn nur wenig Content (Shop Tablet/Mobile) */
@media (max-width: 1100px){
  body.shop-page--premium{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  body.shop-page--premium .shop-shell-premium{
    flex: 1 0 auto; /* nimmt restliche Höhe ein -> Footer rutscht nach unten */
  }

  body.shop-page--premium .footer--premium{
    flex-shrink: 0;
  }
}

/* Optional aber sinnvoll: Filter-Button nicht über dem Footer */
@media (max-width: 1100px){
  body.shop-page--premium .filter-fab{
    bottom: calc(18px + 72px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
@media (max-width: 620px){
  body.shop-page--premium .filter-fab{
    bottom: max(40px, env(safe-area-inset-bottom, 0px) + 16px) !important;
  }
}

/* Größen-Row unter dem Preis */
.pcard-sizes-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pcard-sizes {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(11, 12, 16, 0.55);
  letter-spacing: 0.01em;
}

/* Hover-Effekt: Größen etwas hervorheben */
.pcard-premium:hover .pcard-sizes {
  color: rgba(11, 12, 16, 0.75);
}

/* =========================
   SHOP: Gender + Category Quick Bar
========================= */

.gcbar{
  display:flex;
  align-items: flex-start;
  gap: 14px;
  margin: 10px 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.gcbar-left{
  display:flex;
  flex-direction: column;
  width: 92px;
  height: 80px;
  border: 1px solid rgba(11,12,16,0.12);
  overflow: hidden;
  background: #fff;
  border-radius: 0;
  flex: 0 0 auto;
  position: static;
}

.gcbar-gbtn{
 background: #fff;
color: #0b0c10;
  width: 100%;
  height: 50%;
  padding: 0;
  border: 0;
  border-radius: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.gcbar-gbtn + .gcbar-gbtn{
  border-top: 1px solid rgba(11,12,16,0.12); /* hauchdünne Trennlinie */
}

.gcbar-gbtn.is-active{
  background: #0b0c10;
  color: #fff;
  box-shadow: none;
}

/* Department Toggle (Sport/Fashion) - Desktop */
.gcbar-department{
  display: none; /* Hidden by default, shown on desktop */
  flex-direction: row;
  width: 92px;
  height: 40px;
  border: 1px solid rgba(11,12,16,0.12);
  border-top: 0;
  overflow: hidden;
  background: #fff;
}

.gcbar-dbtn{
  background: #fff;
  color: #0b0c10;
  width: 50%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  font-size: 10px;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.gcbar-dbtn + .gcbar-dbtn{
  border-left: 1px solid rgba(11,12,16,0.12);
}

.gcbar-dbtn:hover{
  background: #f5f5f5;
  text-decoration: none;
  color: #0b0c10;
}

.gcbar-dbtn.is-active{
  background: #0b0c10;
  color: #fff;
}

.gcbar-dbtn.is-active:hover{
  background: #0b0c10;
  color: #fff;
}

.gcbar-right{
  display:flex;
  gap: 10px;
  align-items:center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1 1 auto;
  padding-bottom: 2px;
}
.gcbar-right::-webkit-scrollbar{ display:none; }

/* =========================================================
   Desktop SORT (rechts neben Kategorien)
   WICHTIG:
   - Standard: AUS, damit bei engeren Breiten nichts verschiebt
   - Nur auf sehr breiten Screens EIN
========================================================= */

/* default: immer verstecken */
.gcbar-sort{ display: none !important; }

/* nur auf wirklich breiten Bildschirmen anzeigen */
@media (min-width: 1801px){
  /* damit SORT exakt auf einer Linie mit der unteren Kante der Kategorie-Bilder sitzt */
  .gcbar{ align-items: flex-end; }

  .gcbar-sort{
    display: block !important;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: 26px;
    margin-bottom: 10px;
  }

  .gcbar-sort-label{
    display: block;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.02em;
    color: #111;
  }

  /* Select bleibt klickbar, aber unsichtbar -> nur "SORT" Text sichtbar */
  .gcbar-sort select{
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }
}


.gcat{
  position: relative;
  flex: 0 0 auto;
  width: 250px;
  height: 350px;
  border-radius: 0px;
  overflow: visible;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateZ(0);
}

.gcat img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  filter: none;
  box-shadow: none !important;
  outline: 0 !important;
  z-index: 0;
}

.gcat::after{
  content: "";
  position:absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  pointer-events:none;
  border-radius: 0px;
  z-index: 1;
}

.gcat .gcat-label{
  position:absolute;
  left: 14px;
  bottom: 12px;
  right: 14px;
  z-index: 2;
  color:#fff;
  font-weight: 950;
  font-size: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 560px){
  .gcat .gcat-label{
    white-space: normal;            /* statt nowrap */
    overflow: hidden;
    text-overflow: clip;

    /* 2-zeilig mit Ellipsis am Ende */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    line-height: 1.15;
    font-size: 14px;               /* etwas kleiner = passt besser */
  }
}

.gcat.is-active{
  outline: 0;
}

.gcat.is-active::before{
  content: "";
  position: absolute;
  inset: 0;
  border: 4px solid #000;
  pointer-events: none;
  z-index: 10;
}

/* Text-only sport category pills (no image) */
.gcat.gcat--text{
  width: auto;
  height: auto;
  padding: 12px 22px;
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 10px;
  position: relative;
}

.gcat.gcat--text::after{
  display: none;
}

.gcat.gcat--text .gcat-label{
  position: static;
  color: #0b0c10;
  font-weight: 800;
  font-size: 14px;
  text-shadow: none;
}

.gcat.gcat--text.is-active{
  background: #0b0c10;
  border-color: #0b0c10;
  box-shadow: none;
}

.gcat.gcat--text.is-active::before{
  display: none;
}

.gcat.gcat--text.is-active .gcat-label{
  color: #fff;
}

@media (max-width: 560px){
  .gcbar{ padding: 10px; gap: 10px; }
  .gcbar-gbtn{ padding: 9px 10px; font-size: 13px; }
  /* Kategorie-Bilder NICHT verkleinern (muss immer gleich bleiben) */
  .gcat{ width: 250px; height: 350px; }
}

/* Alternative: Größen als kleine Pills */
.pcard-sizes-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.pcard-size-pill {
  display: inline-block;
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(11, 12, 16, 0.6);
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
}

/* Responsive: Auf sehr kleinen Karten weniger anzeigen */
@media (max-width: 400px) {
  .pcard-sizes {
    font-size: 0.75rem;
  }
}

/* Versandkosten auf Vergleichsseite */
.cmp-offer-delivery {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(11, 12, 16, 0.5);
  margin-top: 2px;
}

/* ============================================================================
   Deal Score Badges
============================================================================ */

.pcard-media-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.pcard-deal-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pcard-premium:hover .pcard-deal-badge {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.pcard-deal-icon { font-size: 0.7rem; line-height: 1; }
.pcard-deal-text { line-height: 1; }

.pcard-deal--buy { background: rgba(34, 197, 94, 0.92); color: white; }
.pcard-deal--neutral { background: rgba(251, 191, 36, 0.92); color: rgba(0, 0, 0, 0.85); }
.pcard-deal--wait { background: rgba(239, 68, 68, 0.88); color: white; }

@keyframes deal-pulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 2px 16px rgba(34, 197, 94, 0.5); }
}

.pcard-deal--buy { animation: deal-pulse 2s ease-in-out infinite; }
.pcard-premium:hover .pcard-deal--buy { animation: none; }

@media (max-width: 600px) {
  .pcard-deal-badge { padding: 4px 8px; font-size: 0.68rem; top: 8px; left: 8px; }
  .pcard-deal-icon { font-size: 0.6rem; }
}

/* ========================================
   WISHLIST HEART BUTTON
   ======================================== */

.pcard-heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pcard-heart-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.pcard-heart-btn:active {
  transform: scale(0.95);
}

.pcard-heart-btn svg {
  width: 18px;
  height: 18px;
  stroke: #666;
  stroke-width: 2;
  fill: none;
  transition: stroke 0.15s ease, fill 0.15s ease;
}

.pcard-heart-btn.is-liked svg {
  stroke: #e53935;
  fill: #e53935;
}

.pcard-heart-btn:hover svg {
  stroke: #e53935;
}

@media (max-width: 600px) {
  .pcard-heart-btn {
    width: 32px;
    height: 32px;
    top: 8px;
    right: 8px;
  }
  .pcard-heart-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* ========================================
   PRODUCT CARD OUTFIT BUTTON
   ======================================== */

.pcard-outfit-btn {
  position: absolute;
  top: 10px;
  right: 52px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pcard-outfit-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.pcard-outfit-btn:active {
  transform: scale(0.95);
}

.pcard-outfit-btn svg {
  width: 18px;
  height: 18px;
  stroke: #666;
  stroke-width: 2;
  fill: none;
  transition: stroke 0.15s ease, fill 0.15s ease;
}

.pcard-outfit-btn:hover svg {
  stroke: #4CAF50;
}

.pcard-outfit-btn.in-outfit svg {
  stroke: #4CAF50;
  fill: #4CAF50;
}

@media (max-width: 600px) {
  .pcard-outfit-btn {
    width: 32px;
    height: 32px;
    top: 8px;
    right: 46px;
  }
  .pcard-outfit-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* ========================================
   UMKLEIDE NAV COUNTER BADGE
   ======================================== */

.nav-link-umkleide {
  position: relative;
  display: inline-block;
}

.umkleide-counter {
  position: absolute;
  top: -8px;
  right: -12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #FF5A00;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(255, 90, 0, 0.4);
}

.umkleide-counter:empty,
.umkleide-counter[data-count="0"] {
  display: none;
}

.nav-right .umkleide-counter {
  background: #FF5A00;
  box-shadow: 0 2px 6px rgba(255, 90, 0, 0.4);
}

.nav-right--premium .umkleide-counter {
  background: #FF5A00;
}

/* Mobile drawer - keep counter inline for better readability */
.drawer-links .nav-link-umkleide {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-links .umkleide-counter {
  position: static;
  background: #FF5A00;
  min-width: 20px;
  height: 20px;
  font-size: 0.7rem;
}

/* Burger menu badge */
.burger-counter {
  position: absolute;
  top: 2px;
  right: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #FF5A00;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(255, 90, 0, 0.4);
  pointer-events: none;
}

.burger-counter:empty,
.burger-counter[data-count="0"] {
  display: none;
}

/* ===================== HERO PARTNER LOGOS ===================== */

.hero-partners {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;

  /* More solid backdrop for better contrast */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 36px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);

  /* Fade-in Animation */
  opacity: 0;
  animation: heroPartnersIn 1s ease-out forwards;
  animation-delay: 0.8s;
}

@keyframes heroPartnersIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.hero-partners-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.5);
}

.hero-partners-logos {
  display: flex;
  align-items: center;
  gap: 36px;
}

.hero-partner-link {
  display: block;
  transition: transform 0.2s ease;
}

.hero-partner-link:hover {
  transform: translateY(-2px);
}

.hero-partner-link:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 6px;
  border-radius: 4px;
}

.hero-partner-logo {
  height: 30px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
  object-fit: contain;
}

.hero-partner-link:hover .hero-partner-logo {
  transform: scale(1.08);
}

/* Responsive */
@media (max-width: 600px) {
  .hero-partners {
    bottom: 28px;
    gap: 10px;
    padding: 14px 24px 16px;
    border-radius: 14px;
    width: calc(100% - 32px);
    max-width: 400px;
  }

  .hero-partners-label {
    font-size: 0.65rem;
  }

  .hero-partners-logos {
    gap: 24px;
    justify-content: center;
  }

  .hero-partner-logo {
    height: 26px;
  }
}

/* Sehr kleine Screens */
@media (max-width: 380px) {
  .hero-partners {
    bottom: 20px;
    padding: 12px 16px 14px;
    width: calc(100% - 24px);
    max-width: none;
  }

  .hero-partners-logos {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-partner-logo {
    height: 22px;
  }
}

/* ===================== BRAND MARQUEE (SMOKY DARK) ===================== */

/* .brand-marquee{
  position: relative;
  overflow: hidden;
  background: #28282B;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding: 46px 0;
} */

.brand-marquee{
  position: relative;
  overflow: hidden;   /* bleibt hidden */
  overflow-x: hidden; /* wichtig */
  overflow-y: hidden;
  background: #28282B;
  border-top: 1px solid rgba(11,12,16,0.06);
  border-bottom: 1px solid rgba(11,12,16,0.06);
  padding: 0;
}

/* softer Fade-Rand */
.brand-marquee::before,
.brand-marquee::after{
  content:"";
  position:absolute;
  top:0;
  width:72px;
  height:100%;
  z-index:2;
  pointer-events:none;
}

.brand-marquee::before{
  left:0;
  background: linear-gradient(to right, #28282B 0%, rgba(40,40,43,0) 100%);
}
.brand-marquee::after{
  right:0;
  background: linear-gradient(to left, #28282B 0%, rgba(40,40,43,0) 100%);
}

.brand-marquee-track{
  display:flex;
  gap: 96px;
  width: max-content;
  animation: brandMarquee 60s linear infinite;
}

.brand-marquee-track span{
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.35rem;
  white-space: nowrap;

  /* heller, freundlicher */
  color: rgba(255,255,255,0.84);
  text-shadow: 0 10px 26px rgba(0,0,0,0.22);
}

.brand-marquee-viewport{
  display: block;
  width: 100%;
  padding: 46px 0;

  overflow: hidden;

  scrollbar-width: none;
}
.brand-marquee-viewport::-webkit-scrollbar{ height: 0; }


@keyframes brandMarquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-33.333%); }
}

@media (max-width: 640px){
  .brand-marquee{ padding: 10px 0; }
  .brand-marquee-track{
    gap: 56px;
    animation-duration: 45s;
  }
  .brand-marquee-track span{
    font-size: 1.15rem;
    letter-spacing: 0.10em;
  }
}

/* Marquee: no interaction, continuous scroll */
.brand-marquee,
.brand-marquee *{
  pointer-events: none !important;
  cursor: default !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: none !important;
}

.brand-marquee .brand-marquee-track{
  animation-play-state: running !important;
}

.brand-marquee-track span{
  text-decoration: none !important;
}

/* Default (Desktop/Tablet): oben rechts, dunkel */
.filter-fab{
  right: 16px;
  top: auto !important;
  bottom: 16px !important;
  left: auto !important;
  border-color: #28282B !important;
  background: #fff !important;
  color: #0b0c10 !important;
  border: 1px solid rgba(11,12,16,0.12) !important;
  box-shadow: none !important;
  position: fixed !important;
  z-index: 120 !important;
}
.filter-fab *{ color:#fff !important; }

/* Small screens: unten rechts + weiß */
@media (max-width: 560px){
  .filter-fab{
    top: auto !important;
    bottom: 14px !important;
    right: 14px !important;
    left: auto !important;

    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.18) !important;
    color: #28282B !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.16) !important;
  }
  .filter-fab *{ color:#28282B !important; }
}

/* MOBILE: Filter-FAB unten rechts, horizontal, weiss */
@media (max-width: 1100px){
  .filter-fab{
    position: fixed !important;

    /* unten rechts (inkl. iPhone safe-area) */
    top: auto !important;
    left: auto !important;
    right: 14px !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 14px) !important;

    /* verhindert den "langen vertikalen Balken" */
    display: inline-flex !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;

    padding: 10px 12px !important;
    gap: 6px !important;

    writing-mode: horizontal-tb !important;
    transform: none !important;
    rotate: 0deg !important;
    white-space: nowrap !important;

    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.18) !important;
    color: #28282B !important;

    border-radius: 999px !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.16) !important;
    z-index: 999 !important;
  }

  .filter-fab *{
    color: #28282B !important;
  }

  .filter-fab .filter-dot{
    display: none !important;
  }
}

/* ===== Make shop content truly wide (so grid can show 4-6 columns) ===== */

/* 1) Outer wrappers: remove max-width bottlenecks */
.shop-shell-premium,
.shop-content-premium,
.products-area-premium{
  max-width: none !important;
  width: 100% !important;
}

/* optional: keep a nice centered "wide" layout instead of full-bleed */
.shop-content-premium{
  margin: 0 auto !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

/* ============================================================================
   FINAL: Layout exakt wie Screenshot (Desktop)
   - Kategorien bleiben 250x350 (nicht anfassen)
   - SORT ist nur Text rechts, Select bleibt klickbar (unsichtbar)
   - Filter Button sitzt rechts über den Produkten (sticky im Listing)
============================================================================ */

@media (min-width: 1101px){
  /* Kategorien-Reihe: scrollbar mit Pfeilen */
  .gcbar-right{
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 0 !important;
    scroll-behavior: smooth;
  }

  /* SORT: Styling (wird je nach Breite ein-/ausgeblendet) */
  .gcbar-sort{
    position: relative;
    align-self: flex-end; /* gleiche Linie wie Unterkante der Kategorie-Bilder */
    width: fit-content;
    margin-left: 18px;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
  }

  .gcbar-sort-label{
    display:block;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.02em;
    color: #111;
  }
  .gcbar-sort select{
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  /* Filter Button: sticky über den Produkten, rechts */
  .listing-premium{ position: relative; }
  .listing-premium .filter-fab{
    position: sticky !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: 140px !important;

    margin-left: auto !important;
    margin-right: 26px !important;
    margin-top: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 78px !important;
    height: 34px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;

    background: rgba(93,105,112,0.82) !important;
    color: rgba(255,255,255,0.94) !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 20 !important;
  }
  .listing-premium .filter-fab .filter-dot{ display:none !important; }
}

/* =========================================================
   SORT – Logik nach Breite
   - < 1800px: SORT ist im Filter-Menü (damit nichts clipped/verschiebt)
   - >= 1800px: SORT rechts neben Kategorien (wie Screenshot)
========================================================= */


/* 2) Grid: allow more columns by lowering min card width */
.grid-premium{
  width: 100% !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
}

/* If you want even more columns on big screens */
@media (min-width: 1400px){
  .grid-premium{
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  }
}

/* ===== Shop: symmetrisch zentriert über den Screen ===== */

/* Der große Shop-Wrapper soll 100% nutzen */
.shop-shell-premium{
  width: 100% !important;
  max-width: none !important;
}

/* Der eigentliche Content-Container wird mittig zentriert */
.shop-content-premium{
  width: min(1680px, calc(100% - 48px)) !important; /* 24px links + rechts */
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Produkte-Bereich soll volle Breite im Container haben */
.products-area-premium{
  width: 100% !important;
  max-width: none !important;
}

/* Grid soll die komplette Containerbreite nutzen und sauber verteilen */
.grid-premium{
  width: 100% !important;
  max-width: none !important;

  /* gleichmäßig über die ganze Breite */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  justify-content: stretch !important;
}

/* Auf sehr großen Screens ruhig noch etwas mehr Spalten erlauben */
@media (min-width: 1500px){
  .grid-premium{
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  }
}

/* Mobile: symmetrische Seitenränder */
@media (max-width: 560px){
  .shop-content-premium{
    width: calc(100% - 24px) !important; /* 12px links/rechts */
  }
}

/* ===== SHOP: remove left sidebar column -> true centered layout ===== */
body.shop-page--premium .shop-shell-premium{
  max-width: none !important;
  margin: 0 !important;

  /* dein spacing behalten, aber kein 2-spalten-grid mehr */
  padding: 100px 26px 34px !important;

  display: block !important;            /* <- killt das 340px+1fr layout */
  height: auto !important;              /* <- kein 100vh panel layout */
  min-height: unset !important;
}

/* Listing mittig + symmetrische Seitenränder */
body.shop-page--premium .listing-premium{
  width: min(1680px, calc(100% - 52px)) !important; /* 26px + 26px */
  margin-left: auto !important;
  margin-right: auto !important;

  overflow: visible !important;         /* Seite scrollt normal */
  padding-bottom: 22px !important;
}

/* Grid nutzt volle Breite vom Listing und verteilt sich sauber */
body.shop-page--premium .grid-premium{
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  justify-content: stretch !important;
}

/* Mobile: gleiche Symmetrie + etwas kleinere Seitenränder */
@media (max-width: 560px){
  body.shop-page--premium .listing-premium{
    width: calc(100% - 24px) !important; /* 12px + 12px */
  }
}

/* ===== Bigger cards: one column less ===== */

/* Very wide screens: 5 columns instead of 6 */
@media (min-width: 1100px){
  body.shop-page--premium .grid-premium{
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Medium-large: 4 columns */
@media (min-width: 1100px) and (max-width: 1399px){
  body.shop-page--premium .grid-premium{
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Optional: a bit more spacing so it looks premium */
body.shop-page--premium .grid-premium{
  gap: 18px !important;
}

/* ===== Use full page scroll (remove inner scroll box) ===== */

/* 1) Allow the page to scroll (was: height:100vh; overflow:hidden) */
body.shop-page--premium{
  height: auto !important;
  min-height: 100vh !important;
  overflow: auto !important;
}

/* 2) Shop shell must not be locked to viewport height */
body.shop-page--premium .shop-shell-premium{
  height: auto !important;
  min-height: unset !important;
  overflow: visible !important;
}

/* 3) The listing must NOT be its own scrolling container */
body.shop-page--premium .listing-premium{
  overflow: visible !important;   /* <- wichtig */
  border-radius: 0 !important;    /* Box-Look weg */
  padding-bottom: 0 !important;
}

/* 4) Toolbar sticky relative to the page (below nav) */
body.shop-page--premium .toolbar-premium{
  position: sticky !important;
  top: 86px !important;           /* ggf. 76–96px je nach Nav */
}

/* Footer should appear only at the bottom (no fixed footer) */
body.shop-page--premium .footer--premium{
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;

  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: auto !important;
  padding: 80px 18px !important; 
}

body.shop-page--premium .shop-shell-premium{
  padding-bottom: 34px !important; /* kein Platz mehr für fixed footer nötig */
}

/* ===== Remove the "reserved space" above footer ===== */
body.shop-page--premium .shop-shell-premium{
  padding-bottom: 0 !important;   /* <- war oft 90px wegen fixed footer */
}

body.shop-page--premium .listing-premium{
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* ===== Slim footer (actual footer height) ===== */
body.shop-page--premium .footer--premium{
  padding: 4px 12px !important;
  margin-top: 10px !important;    /* kleiner Abstand zum Content */
  min-height: 0 !important;
  border-top: 0 !important;       /* optional: falls die Linie "hoch" wirkt */
  background: transparent !important;
}

body.shop-page--premium .footer--premium *{
  font-size: 11px !important;
  line-height: 1.15 !important;
}

body.shop-page--premium .footer--premium a,
body.shop-page--premium .footer--premium p{
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== SHOP: Footer wirklich 1-zeilig + slim ===== */
body.shop-page--premium .footer--premium{
  padding: 10px 18px !important;   /* killt das 80px padding */
  margin: 0 !important;
  border-top: 1px solid var(--line2) !important;
}

/* alles auf 1 Zeile erzwingen */
body.shop-page--premium .footer--premium .footer-inner{
  max-width: 1680px !important;
  padding: 0 !important;
  margin: 0 auto !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;

  flex-wrap: nowrap !important;    /* <- wichtig */
  gap: 18px !important;
}

/* rechte Links NICHT umbrechen */
body.shop-page--premium .footer--premium .footer-links{
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;    /* <- wichtig */
  gap: 10px !important;
  white-space: nowrap !important;
}

/* linke Copyright-Zeile auch nicht umbrechen */
body.shop-page--premium .footer--premium .footer-inner > div:first-child{
  white-space: nowrap !important;
}

/* Text kompakt */
body.shop-page--premium .footer--premium,
body.shop-page--premium .footer--premium *{
  font-size: 12px !important;
  line-height: 1.1 !important;
}

/* ===== Footer: nur am Seitenende sichtbar (NICHT fixed) ===== */
body.shop-page--premium .footer--premium{
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;

  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  border-top: 1px solid rgba(0,0,0,0.08) !important;
  z-index: auto !important;

  padding: 10px 18px !important;
  margin: 0 !important;
}


/* 1 Zeile erzwingen */
body.shop-page--premium .footer--premium .footer-inner{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  flex-wrap: nowrap !important;        /* <- kein Umbruch */
  max-width: 1680px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Links rechts auch 1 Zeile */
body.shop-page--premium .footer--premium .footer-links{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

/* kompakter Text */
body.shop-page--premium .footer--premium,
body.shop-page--premium .footer--premium *{
  font-size: 12px !important;
  line-height: 1.1 !important;
}

/* ===== Platz für den fixed footer, damit Produkte nicht verdeckt werden ===== */
body.shop-page--premium .shop-shell-premium{
   padding-bottom: 0 !important;
}

/* iPhone safe-area unten */
@supports (padding: max(0px)){
  body.shop-page--premium .shop-shell-premium{
    padding-bottom: max(64px, calc(env(safe-area-inset-bottom, 0px) + 64px)) !important;
  }
}

/* Bigger fixed footer */
body.shop-page--premium .footer--premium{
  padding: 12px 18px !important;   /* höher */
}

body.shop-page--premium .footer--premium,
body.shop-page--premium .footer--premium *{
  font-size: 13px !important;      /* größer */
  line-height: 1.25 !important;
}

/* wichtig: mehr Platz unten, damit nichts verdeckt wird */
body.shop-page--premium .shop-shell-premium{
 padding-bottom: 0 !important;
}

/* === FINAL: Gender + Filter sauber rechts am Container ausrichten === */
body.shop-page--premium .gcbar-left{
  right: max(16px, calc((100vw - 1680px)/2 + 24px)) !important;
}

body.shop-page--premium .filter-fab{
  position: fixed !important;
  right: 70px !important;
top: auto !important;
  left: auto !important;
  width: 92px !important;
  height: 40px !important;
  border-radius: 4 !important;
  padding: 0 !important;
  position: fixed !important;
bottom: 60px !important;
z-index: 120 !important;
}

/* ✅ FINAL OVERRIDE: Filter-FAB glasig in #5D6970 + Hover etwas heller */
body.shop-page--premium .filter-fab{
  /* gleiche Farbe, nur transparent */
  background: rgba(93,105,112,0.82) !important;

  /* Glas-Effekt */
  backdrop-filter: blur(16px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.25) !important;

  border: 0 !important;
  outline: none !important;

  box-shadow: 0 12px 32px rgba(0,0,0,0.22) !important;

  /* Text muss hell sein, sonst kaum lesbar auf dunklem Grau */
  color: rgba(255,255,255,0.92) !important;
}

body.shop-page--premium .filter-fab *{
  color: rgba(255,255,255,0.92) !important;
}

body.shop-page--premium .filter-fab:hover{
  /* gleiche Farbe, nur ein Tick heller (nicht weiß) */
  background: rgba(93,105,112,0.48) !important;
  box-shadow: 0 16px 42px rgba(0,0,0,0.26) !important;
}

@media (max-width: 560px){
  /* Gender oben horizontal, Kategorien darunter */
    .gcbar{
    flex-direction: column;
    align-items: stretch;   /* ✅ statt flex-end */
    width: 100%;            /* ✅ nimmt volle Containerbreite */
    padding: 10px;
    padding-top: 6px;
    margin-top: -6px;
    gap: 8px;
  }

  .gcbar-left{
    flex-direction: row;
    width: 100%;
    height: 44px;
  }

  .gcbar-gbtn{
    width: 50%;
    height: 100%;
    padding: 0;
    font-size: 12px;
    line-height: 1;
  }

  .gcbar-shop-vert{ display: none !important; }
  .gcbar-department-label{ display: none !important; }

  .gcbar-gbtn + .gcbar-gbtn{
    border-top: 0;
    border-left: 1px solid rgba(11,12,16,0.12);
  }

  .gcbar-right{
    width: 100%;
  }

  /* WICHTIG: Kategorien-Bilder NICHT verkleinern auf Mobile */
  .gcat{
    width: 250px;
    height: 350px;
  }
}

/* === FINAL: Shop Footer immer am unteren Viewport-Rand, auch beim Loading === */
body.shop-page--premium{
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}

body.shop-page--premium .shop-shell-premium{
  flex: 1 0 auto !important;      /* nimmt den restlichen Platz ein */
  height: auto !important;        /* keine 100vh-locks */
  min-height: 0 !important;
  padding-bottom: 34px !important; /* normaler Abstand, kein “reserved space” */
}

body.shop-page--premium .footer--premium{
  margin-top: auto !important;    /* Footer wird nach unten gedrückt */
  padding: 10px 18px !important;  /* slim */
}

/* ✅ Mobile: Filter-Button weiter nach rechts */
@media (max-width: 560px){
  body.shop-page--premium .filter-fab{
    right: 10px !important;  /* kleiner = weiter rechts */
    bottom: 45px !important;
  }
}

.filters-premium-head{
  display:flex;
  flex-direction: column;         /* ✅ 2 Zeilen */
  align-items: stretch;
  gap: 15px;
  padding: 8px 6px 14px;
  border-bottom: 1px solid var(--line2);
}

/* Row 1: Filter links, X rechts */
.filters-premium-headrow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

/* Row 2: Reset + Sort LINKS unter "Filter" */
.filters-premium-toolbar{
  display:flex;
  align-items:center;
  justify-content: space-between;  /* ✅ links / rechts */
  width: 100%;
  gap: 12px;
  flex-wrap: nowrap;               /* ✅ bleibt in 1 Zeile */
}

@media (max-width: 360px){
  .filters-premium-toolbar{ flex-wrap: wrap; }
}

/* =========================
   Kategorie-Text: NUR Schrift, aber immer sichtbar
========================= */

.gcat{
  overflow: hidden !important;
  isolation: isolate !important; /* fix gegen z-index/transform bugs */
}

.gcat img{
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* dunklerer Gradient unten = Text immer lesbar */
.gcat::after{
  z-index: 1 !important;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.00) 80%
  ) !important;
}

/* Label: nur Text (kein Kasten), aber “unkaputtbar” sichtbar */
.gcat .gcat-label{
  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 12px !important;

  z-index: 5 !important;
  color: #fff !important;

  /* WICHTIG: alles, was “Box” macht, killen */
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;

  /* Lesbarkeit */
  font-weight: 900 !important;
  letter-spacing: 0.2px !important;
  text-shadow:
    0 2px 12px rgba(0,0,0,0.95),
    0 1px 0 rgba(0,0,0,0.80) !important;
}

/* Mobile: etwas stärker abdunkeln + leicht größere Schrift */
@media (max-width: 560px){
  .gcat::after{
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.40) 55%,
      rgba(0,0,0,0.00) 85%
    ) !important;
  }
  .gcat .gcat-label{
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
  }
}
/* =====================
   GENDER ENTRY BLOCK (FULLSCREEN)
===================== */

.gender-entry{
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.gender-card{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;

  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
}

.gender-bg{
  position: absolute;
  inset: 0;
  background-size: cover;

  /* 👇 Bild höher, damit Köpfe nicht cutten */
  background-position: center 10%;

  transform: scale(1);
  transition: transform 0.6s ease;
}

.gender-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.12),
    rgba(0,0,0,0.55)
  );
}

.gender-label{
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 2;

  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gender-card:hover .gender-bg{
  transform: scale(1.08);
}

/* Mobile: untereinander, je 50% Höhe */
@media (max-width: 820px){
  .gender-entry{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
}

/* ===== Sort: Mobile im Filter, Desktop rechts in der Bar ===== */

/* default: rechter SORT immer aus */
.gcbar-sort{ display: none !important; }

/* bis 1349px: Sort im Filter-Menü EIN */
@media (max-width: 1439px){
   .sort-premium--infilters{ display: inline-flex !important; }

  /* FIX: gleiche Vertical-Alignment-Logik wie im Desktop */
  .gcbar{ align-items: flex-start; }
}

@media (min-width: 1440px){
  .gcbar{ align-items: flex-start; } /* gender bleibt oben */

  .gcbar-sort{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: auto !important;  /* drückt NUR den Sort nach unten */
  }

  .gcbar-sort.sort-premium select{
    position: static !important;
    inset: auto !important;
    opacity: 1 !important;
    cursor: pointer !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
  }
}

/* ===== Desktop: Gender-Box oben + großes, gedrehtes SHOP im freien Raum ===== */
@media (min-width: 561px){
  /* wichtig: linke Spalte muss so hoch werden wie die Kategorien */
  .gcbar{ align-items: stretch; }

  .gcbar-leftcol{
    display: flex;
    flex-direction: column;
    width: 92px;       /* exakt wie deine Gender-Box */
    flex: 0 0 auto;
  }

  /* die Gender-Box: 2 Buttons */
  .gcbar-left{
    width: 92px;
    height: 80px;
  }

  /* Department Toggle (Sport/Fashion) - jetzt in controls-row, hier verstecken */
  .gcbar-department{
    display: none;
  }

  /* SHOP nimmt den Rest bis zur Unterkante der Kategorie-Bilder ein */
  .gcbar-shop-vert{
    flex: 1;
    width: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    background: transparent;
    border: 0;
    overflow: visible;
    pointer-events: none;
    user-select: none;
  }

  .gcbar-shop-vert > span{
    display: inline-block;
    transform: rotate(-90deg); /* 90° gedreht, nicht Buchstaben stapeln */
    transform-origin: center;
    white-space: nowrap;
    letter-spacing: 0.08em;
    font-size: 64px;           /* groß wie in deinem Beispiel */
    opacity: 0.10;            /* “watermark”-mäßig */
    line-height: 1;
    font-weight: 900;  
    color: #3c3c3c;
    transform: translateY(-20px) rotate(-90deg);
  }
}

/* FORCE SHOP watermark color */
@media (min-width: 561px){
  .gcbar-shop-vert,
  .gcbar-shop-vert *{
    opacity: 1 !important; /* killt alle alten opacity-regeln */
    color: rgba(60,60,60,0.8) !important; /* #3c3c3c, aber "wasserzeichen-hell" */
  }

  /* Department Label (Sport/Fashion) - vertical, starting from bottom of categories */
  .gcbar-department-label{
    flex: 1;
    width: 92px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: 10px;
    background: transparent;
    border: 0;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
  }

  .gcbar-department-label > span{
    display: inline-block;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
    letter-spacing: -0.02em;
    font-size: 64px;
    line-height: 1;
    font-weight: 900;
    color: rgba(60,60,60,0.8);
    max-height: calc(100% - 10px);
    overflow: hidden;
  }
}

/* === FORCE: Mobile Gender-Buttons volle Breite === */
@media (max-width: 560px){
  .gcbar{
    align-items: stretch !important;
    width: 100% !important;
  }

  .gcbar-left{
    width: 100% !important;
    flex: 1 1 auto !important;  /* killt das "klein bleiben" */
  }
}

/* =========================
   SHOP: Mini Chat Search in gcbar
========================= */

.gcbar-chat{
  position: absolute;
  top: 0;
  right: 12px;
  z-index: 6;
}

/* Such-Box: größer, ruhiger, "search-like" */
.gcbar-chatbox{
  position: relative;
  width: 500px;                
  border: 1px solid rgba(11,12,16,0.30);  /* dünn + dezent */
  background: rgba(255,255,255,0.92);     /* leicht “premium” */
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  border-radius: 0;
  overflow: hidden;
}

/* Textarea: mehr Luft + besser lesbar */
.gcbar-chat-input{
  width: 100%;
  min-height: 74px;             /* deutlich größer */
  max-height: 74px;
  padding: 14px 56px 14px 14px; /* mehr Innenabstand */
  border: 0;
  outline: none;
  resize: none;
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  color: #0b0c10;
  box-sizing: border-box;
  background: transparent;
}

/* Placeholder: klarer “Suche …” */
.gcbar-chat-input::placeholder{
  color: rgba(11,12,16,0.42);
  font-weight: 650;
}


/* Send-Button: etwas größer, aber weiterhin fein */
.gcbar-chat-send{
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(11,12,16,0.30);
  background: rgb(0,0,255,0.7);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff
}

/* Optional: Hover sehr subtil */
.gcbar-chat-send:hover{
  background: rgb(0,0,255,0.55);
  border-color: rgba(11,12,16,0.14);
}

.gcbar-chat-send svg{
  width: 18px;
  height: 18px;
}

.gcbar-chat-send:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}

.gcbar-chat-title{
  margin: 0 0 6px 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: 0.02em;
  color: rgba(11,12,16,0.62);
  max-width: 420px; /* passend zur Box-Breite */
}

/* Wenn Screen zu klein -> Chat weg */
@media (max-width: 1770px){
  .gcbar-chat{ display: none !important; }
  .gcbar-right{ padding-right: 0 !important; }
}

/* =========================
   SHOP: Sort-Button (gcbar) – quadratisch, transparent, super-dezente Linien
========================= */
.gcbar-sort.sort-premium{
  /* sorgt dafür, dass die Box selbst nicht “komisch” sized */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* der eigentliche "Button" ist das <select> */
#gcbarSortSelect{
  width: 180px;
  height: 50px;                 /* ✅ Quadrat */
  border-radius: 0 !important;  /* ✅ keine Rundung */
  border: 1px solid rgba(11,12,16,0.0) !important; /* ✅ sehr dezent */
  background: transparent !important;

  padding: 0 10px !important;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11,12,16,0.88);

  /* clean look */
  box-shadow: none !important;
  outline: none !important;

  /* native select style neutralisieren + eigener Pfeil */
  -webkit-appearance: none;
  appearance: none;

  text-align: center;
  text-align-last: center; /* wichtig für select */
  cursor: pointer;

  /* mini caret (sehr dezent) */
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(11,12,16,0.55) 50%),
    linear-gradient(135deg, rgba(11,12,16,0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 50%,
    calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

#gcbarSortSelect:hover{
  border-color: rgba(11,12,16,0.10) !important;
}

#gcbarSortSelect:focus-visible{
  border-color: rgba(11,12,16,0.18) !important;
}

/* Umbau Filter-FAB in 2 verbundene Buttons */
.filter-fab{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 !important;
  gap: 0;
}

/* beide Hälften */
.filter-fab .fab-part{
  width: 44px;
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Trennlinie */
.filter-fab .fab-divider{
  width: 1px;
  height: 26px;
  background: rgba(0,0,0,0.25);
}

/* Icons */
.filter-fab img{
  width: 20px;
  height: 20px;
  display:block;
}

/* === FORCE: Filter-FAB auf wirklich WEISS (killt das graue Glas-Override) === */
body.shop-page--premium .filter-fab,
body.shop-page--premium .listing-premium .filter-fab{
  background: #fff !important;
  background-color: #fff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  border: 1px solid rgba(0,0,0,0.18) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.16) !important;

  color: #111 !important;
}

/* falls irgendwo noch "alles weiß färben" aktiv ist */
body.shop-page--premium .filter-fab *,
body.shop-page--premium .listing-premium .filter-fab *{
  color: #111 !important;
}

/* Trennlinie im 2er-Button */
body.shop-page--premium .filter-fab .fab-divider{
  background: rgba(0,0,0,0.25) !important;
}

/* === Prominenter 2er-FAB (Mobile & generell sichtbar) === */
body.shop-page--premium .filter-fab{
  /* Größe */
  height: 54px !important;
  min-height: 54px !important;

  /* Optik */
  background: #fff !important;
  background-color: #fff !important;
  border: 1.5px solid rgba(0,0,0,0.22) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.22) !important;

  /* (optional) kleine Rundung wirkt wertiger */
  border-radius: 14px !important;
}

/* Beide Hälften größer + bessere Klickfläche */
body.shop-page--premium .filter-fab .fab-part{
  width: 54px !important;
  height: 54px !important;
}

/* Trennlinie etwas deutlicher */
body.shop-page--premium .filter-fab .fab-divider{
  height: 32px !important;
  background: rgba(0,0,0,0.30) !important;
}

/* Icons größer und knackiger */
body.shop-page--premium .filter-fab img{
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

/* kleines Feedback beim Tippen (wirkt “lebendig”) */
body.shop-page--premium .filter-fab:active{
  transform: translateY(1px) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18) !important;
}

/* Nur Icons im 2er-FAB prominenter */
body.shop-page--premium .filter-fab img{
  width: 28px !important;
  height: 28px !important;
  display: block !important;
}

/* Optional: wirkt “schärfer/satter”, falls das PNG weich aussieht */
body.shop-page--premium .filter-fab img{
  filter: contrast(1.25) saturate(1.1) !important;
}

/* ===== 2 connected FAB buttons (ohne die bestehende Positionierung zu brechen) ===== */
.filter-fab--duo{
  /* .filter-fab hat bei dir schon position/top/right -> das behalten wir */
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;

  padding: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.18) !important;
  border-radius: 14px !important;
  overflow: hidden !important;

  /* damit es garantiert über allem liegt */
  z-index: 9999 !important;
}

/* echte Buttons innen */
.filter-fab--duo .filter-fab-btn{
  width: 48px;
  height: 48px;
  border: 0;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Trennlinie */
.filter-fab--duo .filter-fab-divider{
  width: 1px;
  height: 28px;
  background: rgba(0,0,0,0.22);
}

/* Icons prominenter */
.filter-fab--duo img{
  width: 28px;
  height: 28px;
  display: block;
}

/* === Hover Expand FAB Buttons === */
.filter-fab--duo{
  display: inline-flex;
  align-items: center;
  overflow: hidden;
}

/* Grundzustand: nur Icon sichtbar */
.filter-fab-btn{
  display: flex;
  align-items: center;
  gap: 8px;

  height: 52px;
  padding: 0 14px;

  background: transparent;
  border: none;
  cursor: pointer;

  width: auto;              /* WICHTIG: keine feste Breite */
  transition: background 160ms ease;
}

/* Label versteckt */
.filter-fab-btn .fab-label{
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
  color: #111;

  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 220ms ease, opacity 160ms ease;
}

/* Hover-Effekt */
.filter-fab-btn:hover{
  background: rgba(0,0,0,0.04);
}

/* Text sichtbar machen */
.filter-fab-btn:hover .fab-label{
  max-width: 120px;   /* nur Limit, echte Breite kommt vom Text */
  opacity: 1;
}

/* Divider bleibt fix */
.filter-fab-divider{
  width: 1px;
  height: 30px;
  background: rgba(0,0,0,0.25);
}

/* Icons */
.filter-fab-btn img{
  width: 26px;
  height: 26px;
  display: block;
}

/* === FIX: Duo-FAB darf NICHT auf 92px/40px fest sein === */
body.shop-page--premium .filter-fab.filter-fab--duo{
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;

  /* damit der Duo-Button “connected” bleibt */
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.18) !important;
  border-radius: 14px !important;
}

/* Text klappt komplett proportional auf */
body.shop-page--premium .filter-fab--duo .filter-fab-btn{
  display:flex;
  align-items:center;
  gap: 8px;
  height: 52px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

body.shop-page--premium .filter-fab--duo .fab-label{
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition: max-width 220ms ease, opacity 160ms ease;
}

/* 999px = “so breit wie nötig” -> proportional zum Text */
body.shop-page--premium .filter-fab--duo .filter-fab-btn:hover .fab-label{
  max-width: 999px;
  opacity: 1;
}

/* ===== Duo-FAB: Label auch auf Mobile (Tap) + echtes Expand ===== */
body.shop-page--premium .filter-fab.filter-fab--duo{
  width: fit-content !important;
  max-width: none !important;
  overflow: visible !important; /* <- wichtig: Text wird nicht abgeschnitten */
  background: #fff !important;
}

/* Buttons dürfen mit Inhalt wachsen */
body.shop-page--premium .filter-fab.filter-fab--duo .filter-fab-btn{
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Label default: eingeklappt */
body.shop-page--premium .filter-fab.filter-fab--duo .fab-label{
  display: inline-block !important;
  white-space: nowrap !important;
  overflow: hidden !important;

  max-width: 0 !important;
  opacity: 0 !important;

  transition: max-width 220ms ease, opacity 160ms ease !important;
}

/* Desktop hover */
body.shop-page--premium .filter-fab.filter-fab--duo .filter-fab-btn:hover .fab-label{
  max-width: 999px !important;
  opacity: 1 !important;
}

/* Mobile / Touch: Tap -> Button bekommt Focus/Active */
body.shop-page--premium .filter-fab.filter-fab--duo .filter-fab-btn:focus .fab-label,
body.shop-page--premium .filter-fab.filter-fab--duo .filter-fab-btn:focus-visible .fab-label,
body.shop-page--premium .filter-fab.filter-fab--duo .filter-fab-btn:active .fab-label{
  max-width: 999px !important;
  opacity: 1 !important;
}

/* =========================
   MOBILE: Filterpanel nicht bis ganz unten ziehen
   ========================= */
@media (max-width: 1100px){
  .filters-premium{
    /* statt bottom:0 -> mit Luft nach unten */
    top: 72px !important;
    bottom: 18px !important;

    /* echte Begrenzung */
    height: auto !important;
    max-height: calc(100dvh - 72px - 18px) !important;
    /* Fallback für Browser ohne dvh */
    max-height: calc(100vh - 72px - 18px) !important;

    border-radius: 22px !important; /* optional: wirkt “Panel”, nicht “Sheet bis unten” */
  }
}

/* =========================
   GLOBAL LOADER (SHOP)
========================= */
.global-loader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Hintergrund wie dein Premium-Background */
  background: radial-gradient(1100px 600px at 20% 0%, rgba(34,104,255,0.08), transparent 60%),
              radial-gradient(900px 540px at 100% 15%, rgba(255,90,0,0.08), transparent 55%),
              var(--bg);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 0ms linear 180ms;
}

.global-loader-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px;
}

/* Wenn Body "loading" ist -> Loader sichtbar */
body.is-page-loading .global-loader{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 180ms ease;
}

/* Während Loading: ALLES andere weg (sonst flackert’s) */
body.is-page-loading .nav,
body.is-page-loading .shop-shell-premium,
body.is-page-loading .footer--premium,
body.is-page-loading #mobileDrawerOverlay,
body.is-page-loading #mobileDrawer{
  visibility: hidden !important;
}

/* Force-collapse (per JS) */
.filter-fab-btn.is-force-collapsed .fab-label{
  max-width: 0 !important;
  opacity: 0 !important;
}

@media (max-width: 560px){
  body.shop-page--premium .filter-fab.filter-fab--duo{
    position: fixed !important;

    top: auto !important;       /* killt alte top-Werte */
    bottom: 20px !important;    /* kleiner = weiter runter */
    right: 42px !important;     /* größer = weiter nach links */
  }
}

/* FAB beim Scrollen ausblenden */
.filter-fab.filter-fab--duo{
  transition: transform 220ms ease, opacity 180ms ease;
}

.filter-fab.filter-fab--duo.fab-hidden{
  transform: translateY(80px);
  opacity: 0;
  pointer-events: none;
}

.filter-fab.filter-fab--duo{
  transition: transform 220ms ease, opacity 180ms ease;
}

.filter-fab.filter-fab--duo.fab-hidden{
  transform: translateY(90px);
  opacity: 0;
  pointer-events: none;
}

/* ===================== HERO VIDEOS ===================== */

.hero--videos{
  position: relative;
  width: 100%;

  /* iOS Safari: lieber "large viewport" statt "dynamic" */
  min-height: 100vh;
  min-height: 100lvh;

  /* wie viel wir unter die Safari-URL-Bar ziehen (mobile) */
  --safari-url-pill: 0px;
}

.hero-videos{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 100%;
  gap: 0;
}

/* iOS Safari Mobile: use lvh (large viewport height) which includes area under URL pill */
@media (max-width: 768px) {
  .hero--videos {
    min-height: 100lvh;
  }

  .hero-videos {
    height: 100lvh;
  }

  /* Beide Videos gleich groß: je 50lvh = 100lvh total */
  .hero-video-card {
    height: 50lvh;
    flex: none;
  }
}

.hero--videos::after {
  display: none; /* kein Gradient-Overlay auf Videos */
}

.hero-video-card:first-child {
  margin-right: -1px;
}

.hero-video-card {
  position: relative;
  flex: 1 1 50%;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.hero-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform: scale(1.05);
  transition: transform 0.6s ease;
}

.hero-video-card:hover .hero-vid {
  transform: scale(1.12);
}

.hero-vid--mobile {
  display: none;
}

.hero-video-label {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 2;
}

/* Subtle darkening so label stays readable */
.hero-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-vid--mobile {
    display: none;
  }

  .hero-videos {
    flex-direction: column;
  }

  .hero-video-label {
    /* Position above Safari URL pill (~50px from bottom) */
    bottom: 60px;
    font-size: 1.4rem;
  }
}

/* ===================== CATEGORY SCROLL ARROWS ===================== */
.gcbar-right-wrap{
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.gcbar-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.gcbar-arrow.visible{
  opacity: 1;
  pointer-events: auto;
}

.gcbar-arrow:hover{
  background: rgba(0, 0, 0, 0.7);
}

.gcbar-arrow svg{
  width: 18px;
  height: 18px;
}

.gcbar-arrow--left{
  left: 6px;
}

.gcbar-arrow--right{
  right: 6px;
}

@media (max-width: 768px){
  .gcbar-arrow{
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.8);
  }

  .gcbar-arrow:active{
    background: rgba(0, 0, 0, 0.4);
  }

  .gcbar-arrow svg{
    width: 16px;
    height: 16px;
  }
}

/* ===================== SHOP CONTROLS ROW (Sort + Filter) ===================== */
.shop-controls-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6px;
  gap: 10px;
}

/* Shop Department Toggle (Sport/Fashion) - hidden everywhere (use nav-sport-mobile on mobile, shop-department-buttons on desktop) */
.shop-department-toggle{
  display: none !important;
}


/* Desktop Department Buttons in controls row */
.shop-department-buttons{
  display: none; /* Hidden on mobile */
}

@media (min-width: 561px){
  .shop-department-buttons{
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    height: 36px;
  }

  .shop-dept-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: #fff;
    color: #1a1a1a;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    height: 100%;
  }

  .shop-dept-btn + .shop-dept-btn{
    border-left: 1px solid rgba(0, 0, 0, 0.15);
  }

  .shop-dept-btn:hover{
    background: #f5f5f5;
    text-decoration: none;
    color: #1a1a1a;
  }

  .shop-dept-btn.is-active{
    background: #0b0c10;
    color: #fff;
  }

  .shop-dept-btn.is-active:hover{
    background: #0b0c10;
    color: #fff;
  }

  /* Rearrange controls row on desktop: Department left, Sort centered, Filter right */
  .shop-controls-row{
    justify-content: center;
    position: relative;
  }

  .shop-controls-row .gcbar-sort{
    /* Sort stays centered */
  }

  .shop-controls-row .shop-department-buttons{
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
  }

  .shop-controls-row .shop-filter-btn{
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
  }
}

.shop-filter-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.shop-filter-btn:hover{
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.25);
}

.shop-filter-btn:active{
  background: #eee;
}

.shop-filter-btn svg{
  flex-shrink: 0;
}

/* Sort inside controls row: always visible */
.shop-controls-row .gcbar-sort{
  display: block !important;
  position: relative;
  width: auto;
  margin: 0;
}

.shop-controls-row .gcbar-sort select,
.shop-controls-row #gcbarSortSelect{
  padding: 8px 28px 8px 14px !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 8px !important;
  background: #fff !important;
  font-family: inherit;
  font-size: 0.82rem !important;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  height: 36px;
  line-height: 1;
  text-align: left !important;
  text-align-last: left !important;
}

.shop-filter-btn{
  height: 36px;
}

@media (max-width: 768px){
  .shop-controls-row{
    gap: 8px;
  }

  /* Label als sichtbarer Button-Container */
  .shop-controls-row .gcbar-sort{
    flex: 1;
    display: flex !important;
    align-items: center;
    position: relative;
    height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Select füllt den Label-Container, eigener Border weg */
  .shop-controls-row .gcbar-sort select,
  .shop-controls-row #gcbarSortSelect{
    width: 100%;
    height: 100%;
    padding: 0 28px 0 12px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-family: inherit;
    font-size: 0.82rem !important;
    font-weight: 600;
    color: #1a1a1a;
    box-sizing: border-box;
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    text-align: left !important;
    text-align-last: left !important;
  }

  .shop-filter-btn{
    flex: 1;
    justify-content: center;
    height: 36px;
    padding: 0 12px !important;
    box-sizing: border-box;
  }

}

/* ===================== DESKTOP FLOATING BUTTONS ===================== */
.scroll-top-desktop,
.filter-float-desktop{
  display: none;
}

@media (min-width: 769px){
  .scroll-top-desktop{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;

    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, background 0.2s ease;
  }

  .scroll-top-desktop.visible{
    opacity: 1;
    pointer-events: auto;
  }

  .scroll-top-desktop svg{
    width: 20px;
    height: 20px;
  }

  .scroll-top-desktop:hover{
    background: rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.8);
  }

  .scroll-top-desktop:active{
    background: rgba(0, 0, 0, 0.35);
  }

  /* Floating Filter Button — pill shape with text */
  .filter-float-desktop{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: fixed;
    top: 72px;
    right: 32px;
    z-index: 999;

    height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, background 0.2s ease, right 0.15s ease;
  }

  .filter-float-desktop.visible{
    opacity: 1;
    pointer-events: auto;
  }

  .filter-float-desktop svg{
    width: 16px;
    height: 16px;
  }

  .filter-float-desktop:hover{
    background: rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.8);
  }

  .filter-float-desktop:active{
    background: rgba(0, 0, 0, 0.35);
  }
}

/* ===================== MOBILE FLOATING BUTTONS (scroll-top + filter) ===================== */
.scroll-top-mobile,
.filter-float-mobile{
  display: none;
}

@media (max-width: 768px){
  .scroll-top-mobile,
  .filter-float-mobile{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    top: auto;
    z-index: 999;

    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, bottom 0.3s ease, top 0.3s ease;
  }

  .scroll-top-mobile{
    left: 50%;
    transform: translateX(-50%);
  }

  /* When filter button is also present, place them side by side */
  .scroll-top-mobile.has-filter{
    left: calc(50% - 22px);
    transform: none;
  }

  .filter-float-mobile{
    left: calc(50% + 22px);
  }

  .scroll-top-mobile.visible,
  .filter-float-mobile.visible{
    opacity: 1;
    pointer-events: auto;
  }

  .scroll-top-mobile svg,
  .filter-float-mobile svg{
    width: 18px;
    height: 18px;
  }

  .scroll-top-mobile:active,
  .filter-float-mobile:active{
    background: rgba(0, 0, 0, 0.3);
  }

  /* Hide buttons when chat panel is open */
  body.chat-open .scroll-top-mobile,
  body.chat-open .filter-float-mobile{
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* ===================== SORT FLOATING BUTTONS (matching filter-float) ===================== */
/* Desktop: hidden by default */
.sort-float-desktop{
  display: none;
}

@media (min-width: 769px){
  /* Desktop Sort floating button - matches filter-float-desktop */
  .sort-float-desktop{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: fixed;
    top: 72px;
    right: 140px; /* Positioned to the left of filter-float-desktop */
    z-index: 999;

    height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, background 0.2s ease;
  }

  .sort-float-desktop.visible{
    opacity: 1;
    pointer-events: auto;
  }

  .sort-float-desktop svg{
    width: 16px;
    height: 16px;
  }

  .sort-float-desktop:hover{
    background: rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.8);
  }

  .sort-float-desktop:active{
    background: rgba(0, 0, 0, 0.35);
  }

  /* Adjust filter button position when sort is visible */
  .sort-float-desktop.visible ~ .filter-float-desktop{
    right: 32px;
  }
}

/* Mobile: hidden by default */
.sort-float-mobile{
  display: none;
}

@media (max-width: 768px){
  /* Mobile Sort floating button - matches filter-float-mobile */
  .sort-float-mobile{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    top: auto;
    z-index: 999;

    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(0, 0, 0, 0.55);
    cursor: pointer;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, bottom 0.3s ease;
  }

  /* Position sort to the right of filter (filter is left of center) */
  .sort-float-mobile{
    right: calc(50% - 58px);
  }

  /* When filter + sort are both visible, adjust positioning */
  .filter-float-mobile.has-sort{
    left: calc(50% - 22px);
  }

  .sort-float-mobile.visible{
    opacity: 1;
    pointer-events: auto;
  }

  .sort-float-mobile svg{
    width: 18px;
    height: 18px;
  }

  .sort-float-mobile:active{
    background: rgba(0, 0, 0, 0.3);
  }

  /* Hide sort button when chat panel is open */
  body.chat-open .sort-float-mobile{
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* ===================== MOBILE SHOP: Edge-to-Edge Cards + No Overflow ===================== */
@media (max-width: 768px){
  body.shop-page--premium .shop-shell-premium{
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.shop-page--premium .listing-premium{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
  }

  body.shop-page--premium .grid-premium{
    gap: 10px !important;
  }

  body.shop-page--premium .pcard-premium{
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }

  /* Gender-Buttons volle Breite */
  body.shop-page--premium .gcbar{
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.shop-page--premium .gcbar-left{
    right: auto !important;
    left: auto !important;
    position: static !important;
    width: 100% !important;
  }

  /* Kategorien volle Breite, intern scrollbar */
  body.shop-page--premium .gcbar-right{
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* FORCE no horizontal scroll on mobile shop */
  html,
  body.shop-page--premium{
    overflow-x: hidden !important;
    overscroll-behavior-x: none !important;
  }

  body.shop-page--premium .shop-shell-premium,
  body.shop-page--premium .listing-premium,
  body.shop-page--premium .grid-premium,
  body.shop-page--premium .pcard-premium,
  body.shop-page--premium .pcard-media,
  body.shop-page--premium .pcard-body{
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.shop-page--premium .pcard-premium img{
    max-width: 100% !important;
  }
}

/* ===================== STYLES/INSPIRATION PAGE ===================== */

/* Page Container */
.styles-page{
  min-height: 100vh;
  background: #fafafa;
  padding-top: 80px; /* Space for fixed nav */
}

/* Hero Section */
.styles-hero{
  text-align: center;
  padding: 48px 24px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(250,250,250,1) 100%);
  border-bottom: 1px solid var(--line);
}

.styles-hero h1{
  font-size: 2.2rem;
  font-weight: 950;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.styles-hero p{
  font-size: 1.05rem;
  color: rgba(11,12,16,0.62);
  font-weight: 500;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Gender Selector Pills */
.styles-gender-selector{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.styles-gender-selector .pillbtn{
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 950;
  font-size: 0.95rem;
  cursor: pointer;
  color: rgba(11,12,16,0.76);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.styles-gender-selector .pillbtn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.92);
}

.styles-gender-selector .pillbtn.is-active{
  border-color: rgba(34,104,255,0.55);
  box-shadow: 0 0 0 6px rgba(34,104,255,0.10);
  color: rgba(11,12,16,1);
  background: #fff;
}

/* Outfit Card Grid */
.styles-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 32px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Individual Outfit Card */
.styles-outfit-card{
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.styles-outfit-card:hover{
  transform: translateY(-5px);
  border-color: rgba(11,12,16,0.14);
  box-shadow: var(--shadow-soft);
}

.styles-outfit-card-image{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background-color: #f1f2f4;
}

.styles-outfit-card-body{
  padding: 16px;
}

.styles-outfit-card-title{
  font-weight: 950;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 4px;
}

.styles-outfit-card-subtitle{
  font-size: 0.88rem;
  color: rgba(11,12,16,0.58);
  font-weight: 600;
  margin: 0 0 12px;
}

.styles-outfit-card-price{
  font-weight: 980;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 16px;
}

.styles-outfit-card-price span{
  font-weight: 600;
  color: rgba(11,12,16,0.52);
  font-size: 0.88rem;
}

/* Horizontal Scroll Product Thumbnails */
.styles-outfit-thumbs{
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.styles-outfit-thumbs::-webkit-scrollbar{
  display: none;
}

.styles-outfit-thumb{
  flex: 0 0 auto;
  width: 64px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease;
}

.styles-outfit-thumb:hover{
  border-color: rgba(11,12,16,0.22);
  transform: translateY(-2px);
}

.styles-outfit-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Outfit Actions (Like + Save) */
.styles-outfit-actions{
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Like Button with Thumbs Up Icon */
.styles-like-btn{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: white;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.styles-like-btn:hover{
  border-color: rgba(0, 0, 0, 0.2);
  color: #1877f2;
}

.styles-like-btn:active{
  transform: scale(0.95);
}

.styles-like-btn svg{
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: stroke 0.15s ease, fill 0.15s ease;
}

.styles-like-btn.is-liked{
  background: #e7f3ff;
  border-color: #1877f2;
  color: #1877f2;
}

.styles-like-btn.is-liked svg{
  fill: #1877f2;
}

.styles-like-btn:hover svg{
  stroke: #1877f2;
}

/* Save to Umkleide Button */
.styles-save-btn{
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 950;
  font-size: 0.92rem;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(11,12,16,1), rgba(11,12,16,0.86));
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.styles-save-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 12px 32px rgba(0,0,0,0.16);
}

.styles-save-btn:active{
  transform: translateY(0);
}

.styles-save-btn svg{
  width: 18px;
  height: 18px;
}

.styles-save-btn.is-saved{
  background: linear-gradient(135deg, rgba(34,104,255,1), rgba(34,104,255,0.88));
}

/* Empty State */
.styles-empty{
  text-align: center;
  padding: 80px 24px;
  max-width: 400px;
  margin: 0 auto;
}

.styles-empty-icon{
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(11,12,16,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.styles-empty-icon svg{
  width: 36px;
  height: 36px;
  stroke: rgba(11,12,16,0.32);
  stroke-width: 1.5;
  fill: none;
}

.styles-empty h3{
  font-size: 1.25rem;
  font-weight: 950;
  color: var(--ink);
  margin: 0 0 8px;
}

.styles-empty p{
  font-size: 0.95rem;
  color: rgba(11,12,16,0.58);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

/* ===================== STYLES PAGE RESPONSIVE ===================== */

@media (max-width: 768px){
  .styles-page{
    padding-top: 70px;
  }

  .styles-hero{
    padding: 32px 16px 24px;
  }

  .styles-hero h1{
    font-size: 1.75rem;
  }

  .styles-hero p{
    font-size: 0.95rem;
  }

  .styles-gender-selector .pillbtn{
    padding: 10px 20px;
    font-size: 0.88rem;
  }

  .styles-grid{
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
  }

  .styles-outfit-card{
    border-radius: 20px;
  }

  .styles-outfit-card-body{
    padding: 14px;
  }

  .styles-outfit-card-title{
    font-size: 1rem;
  }

  .styles-outfit-thumb{
    width: 56px;
    height: 70px;
    border-radius: 10px;
  }

  .styles-like-btn{
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .styles-like-btn svg{
    width: 14px;
    height: 14px;
  }

  .styles-save-btn{
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .styles-empty{
    padding: 60px 20px;
  }

  .styles-empty-icon{
    width: 64px;
    height: 64px;
  }

  .styles-empty-icon svg{
    width: 28px;
    height: 28px;
  }

  .styles-empty h3{
    font-size: 1.1rem;
  }

  .styles-empty p{
    font-size: 0.88rem;
  }
}

@media (max-width: 480px){
  .styles-hero h1{
    font-size: 1.5rem;
  }

  .styles-gender-selector{
    gap: 8px;
  }

  .styles-gender-selector .pillbtn{
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .styles-grid{
    padding: 16px 12px;
    gap: 14px;
  }

  .styles-outfit-card{
    border-radius: 18px;
  }

  .styles-outfit-thumbs{
    gap: 8px;
  }

  .styles-outfit-thumb{
    width: 48px;
    height: 60px;
    border-radius: 8px;
  }
}

/* Tablet: 2-column grid */
@media (min-width: 600px) and (max-width: 1024px){
  .styles-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 28px 20px;
  }
}

/* Large screens: 3-column grid */
@media (min-width: 1200px){
  .styles-grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 40px 32px;
  }

  .styles-hero{
    padding: 56px 32px 40px;
  }

  .styles-hero h1{
    font-size: 2.5rem;
  }
}
