/* =========================================
   POLYBAUER AUTOMOTIVE GMBH
   Static Shop - Main Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; }

:root {
  --red:        #b00000;
  --red-hover:  #660000;
  --red-light:  #b00000;
  --dark:       #000000;
  --header-bg:  #1f1f1f;
  --dark-blue:  #1f1f1f;
  --gray-dark:  #222222;
  --gray:       #333333;
  --gray-mid:   #555555;
  --gray-light: #cccccc;
  --bg-light:   #f5f5f5;
  --white:      #ffffff;
  --border:     #dddddd;
  --font:       'Inter', 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--gray);
  background: var(--white);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }

/* Links in Fließtext/Inhalten sollen als Links erkennbar sein (überschreibt den
   globalen a-Reset). Gilt für Produktbeschreibungen, Kategorie-Texte, Inhalte. */
.rich-text a,
.cat-page-content a,
.cat-desc a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rich-text a:hover,
.cat-page-content a:hover,
.cat-desc a:hover { color: var(--red-dark, #8a0000); }

/* Links im Fließtext (Absätze) shopweit als Link erkennbar machen – greift für
   Rechtstexte, Page-Builder-Inhalte und Produkttexte, ohne Navigation,
   Buttons oder Produktkarten (die keine <p><a>-Struktur nutzen) zu berühren. */
.container p a:not(.btn):not(.button):not([class*="btn-"]) {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.container p a:not(.btn):not(.button):not([class*="btn-"]):hover {
  color: var(--red-dark, #8a0000);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font); }

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
  background: var(--header-bg);
  color: var(--white);
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-contact a {
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}
.top-bar-contact a:hover { color: var(--white); }
.top-bar-contact .icon { width: 14px; height: 14px; fill: currentColor; }
.top-bar-hours {
  color: var(--gray-light);
  font-size: 11px;
}
.top-bar-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-bar-social a {
  color: var(--gray-light);
  display: flex;
  align-items: center;
  transition: color .2s;
}
.top-bar-social a:hover { color: var(--white); }
.top-bar-social svg { width: 16px; height: 16px; fill: currentColor; }

/* =========================================
   HEADER
   ========================================= */
.site-header {
  background: var(--header-bg);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo img {
  height: 52px;
  width: auto;
}
.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.header-search form {
  display: flex;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,.07);
  transition: border-color .2s;
}
.header-search form:focus-within {
  border-color: rgba(255,255,255,.35);
}
.header-search input {
  flex: 1;
  padding: 9px 14px;
  border: none;
  outline: none;
  font-size: 13px;
  background: transparent;
  color: var(--white);
}
.header-search input::placeholder { color: rgba(255,255,255,.4); }
.header-search button {
  background: var(--red);
  border: none;
  padding: 0 16px;
  color: var(--white);
  transition: background .2s;
  border-radius: 0 5px 5px 0;
}
.header-search button:hover { background: var(--red-hover); }
.header-search button svg { width: 16px; height: 16px; fill: currentColor; }

/* Search suggestions dropdown */
.search-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  display: none;
  z-index: 200;
  max-height: 360px;
  overflow-y: auto;
}
.search-suggestions.active { display: block; }
.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background .15s;
  font-size: 13px;
}
.search-suggestion-item:hover { background: var(--bg-light); }
.search-suggestion-item img { width: 40px; height: 40px; object-fit: cover; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-action-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  position: relative;
  transition: color .2s, background .2s;
  padding: 6px 10px;
  border-radius: 6px;
}
.header-action-btn:hover { color: var(--white); background: rgba(255,255,255,.08); }
.header-action-btn svg { width: 20px; height: 20px; fill: currentColor; }
.header-action-btn .badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* =========================================
   MAIN NAVIGATION
   ========================================= */
.main-nav {
  background: #1f1f1f;
}
.main-nav .container { position: relative; }
.nav-list {
  display: flex;
  align-items: stretch;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--red-light);
  border-bottom-color: var(--red-light);
  background: none;
}
.nav-link .arrow {
  width: 10px; height: 10px;
  fill: currentColor;
  transition: transform .2s;
}
.nav-item:hover .arrow,
.nav-item.open > .nav-link .arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  z-index: 500;
  display: none;
  border-radius: 0 0 4px 4px;
}
/* Öffnen per Hover NUR auf Hover-fähigen Geräten (Desktop) – sonst bleibt das
   Untermenü auf Touch „hängen"/unerreichbar. */
@media (hover: hover) {
  .nav-item:hover .nav-dropdown { display: block; }
}
/* Öffnen per Tap (Touch/Mobile) über .open-Klasse */
.nav-item.open > .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  color: var(--gray);
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s, color .15s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: var(--bg-light); color: var(--red); }
.nav-dropdown .nav-all { font-weight: 700; }
/* „Alle anzeigen" nur auf Touch/Mobile – auf Desktop führt der Parent-Link dorthin */
@media (hover: hover) { .nav-dropdown .nav-all { display: none; } }

/* Mega-Menü: mehrspaltig statt einer schmalen Liste (opt-in je Hauptmenüpunkt,
   siehe admin/navigation.php „Dropdown-Stil"). */
.nav-dropdown-mega {
  display: flex;
  align-items: flex-start;
  min-width: 640px;
  max-width: 90vw;
  padding: 24px 8px;
  gap: 8px;
}
.nav-dropdown-mega .mega-col {
  flex: 1 1 0;
  min-width: 150px;
  padding: 0 16px;
  border-right: 1px solid #f0f0f0;
}
.nav-dropdown-mega .mega-col:last-child { border-right: none; }
.nav-dropdown-mega .mega-col-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--dark);
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.nav-dropdown-mega .mega-col a {
  padding: 6px 0;
  border-bottom: none;
  white-space: normal;
}
.nav-dropdown-mega .mega-col a:hover { background: none; }

@media (max-width: 992px) {
  .nav-dropdown-mega { display: block; min-width: 0; max-width: none; padding: 0; }
  .nav-dropdown-mega .mega-col { border-right: none; padding: 8px 0 8px 16px; }
  .nav-dropdown-mega .mega-col-title { color: rgba(255,255,255,.5); border-bottom-color: rgba(255,255,255,.15); }
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  padding: 8px;
}
.nav-toggle svg { width: 24px; height: 24px; fill: currentColor; }

/* =========================================
   HERO / BANNER
   ========================================= */
.hero {
  background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 60%, #1f1f1f 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://polybauer.shop/wp-content/uploads/2024/10/large_63f4c22d48fe994dd4aa545d_f617bcc6491bbaf709a3c9520f358437361038c768eb1535b83bf55adf22b770_63f4c274-1.png') center/cover no-repeat;
  opacity: .08;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero h1 span { color: var(--red-light); }
.hero p {
  font-size: 16px;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto 28px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background .2s, transform .15s;
}
.hero-cta:hover { background: var(--red-hover); color: var(--white); transform: translateY(-2px); }

/* =========================================
   NOTICE BANNER
   ========================================= */
.notice-banner {
  background: var(--dark-blue);
  color: var(--white);
  padding: 14px 20px;
  text-align: center;
  font-size: 13px;
}
.notice-banner strong { color: #f0d060; }

/* =========================================
   CATEGORY GRID (Homepage)
   ========================================= */
.section-heading {
  text-align: center;
  padding: 48px 0 28px;
}
.section-heading h2 {
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--red);
}
.section-heading p {
  color: var(--gray-mid);
  margin-top: 10px;
  font-size: 14px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding-bottom: 48px;
}
.category-card {
  background: var(--dark);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.category-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  opacity: .7;
  transition: opacity .2s;
}
.category-card:hover .category-card-img { opacity: .9; }
.category-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, transparent 100%);
  padding: 30px 14px 14px;
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* =========================================
   PRODUCT GRID
   ========================================= */
.products-section { padding: 0 0 48px; }

.shop-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Sidebar Filter */
.filter-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.filter-sidebar-close { display: none !important; }
.mobile-filter-btn    { display: none; }
.filter-sidebar-header {
  background: #b00000;
  color: var(--white);
  padding: 12px 16px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-group {
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
}
.filter-group:last-child { border-bottom: none; }
.filter-group-title {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray-dark);
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.filter-group-title svg { width: 12px; height: 12px; fill: currentColor; transition: transform .2s; }
.filter-group.collapsed .filter-group-title svg { transform: rotate(-90deg); }
.filter-group.collapsed .filter-options { display: none; }
.filter-options { display: flex; flex-direction: column; gap: 6px; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
  cursor: pointer;
  padding: 2px 0;
}
.filter-option input[type=checkbox] { accent-color: var(--red); }
.filter-option:hover { color: var(--red); }

/* Price Range */
.price-range-inputs { display: flex; gap: 8px; align-items: center; }
.price-range-inputs input {
  width: 80px;
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 12px;
}
.price-range-inputs span { color: var(--gray-mid); font-size: 12px; }
.filter-apply-btn {
  margin-top: 10px;
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 7px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background .2s;
}
.filter-apply-btn:hover { background: var(--red-hover); }

/* Products Frame */
.products-frame { flex: 1; min-width: 0; }

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}
.products-count { font-size: 13px; color: var(--gray-mid); }
.products-sort select {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  background: var(--white);
  cursor: pointer;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* ---- Product Card ---- */
.product-card {
  background: var(--white);
  border: 1px solid #ebebeb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: box-shadow .3s, transform .3s, border-color .3s;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
  transform: translateY(-3px);
  border-color: #d8d8d8;
}

/* Image area */
.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 1;
  border-bottom: 1px solid #f2f2f2;
}
.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .4s ease;
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.05); }

/* Wishlist button (appears on hover) */
.product-card-wish {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s, transform .2s, background .15s;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.product-card-wish svg { width: 15px; height: 15px; fill: #aaa; transition: fill .15s; }
.product-card:hover .product-card-wish { opacity: 1; transform: translateY(0); }
.product-card-wish:hover { background: var(--white); }
.product-card-wish:hover svg { fill: var(--red); }

/* Badge */
.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
  z-index: 1;
}
.product-badge.sale { background: #e65c00; }

/* Card body */
.product-card-body {
  padding: 14px 16px 6px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
}

/* Tire size pill */
.product-tire-size {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: .4px;
  font-family: 'Inter', monospace;
  align-self: flex-start;
}

.product-card-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
  letter-spacing: .1px;
}
.product-card:hover .product-card-title { color: var(--red); }

.product-card-brand {
  font-size: 10.5px;
  font-weight: 500;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.product-card-meta {
  font-size: 11px;
  color: #bbb;
}

/* Stock badge on listing card */
.product-card-stock {
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
}
.product-card-stock.in-stock { color: #16a34a; }
.product-card-stock.oos      { color: #dc2626; }

/* Price row */
.product-card-price {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}
.product-price {
  font-size: 19px;
  font-weight: 700;
  color: #111;
  line-height: 1;
  letter-spacing: -.3px;
}
.product-price-old {
  font-size: 12px;
  color: #ccc;
  text-decoration: line-through;
}
.product-price-save {
  font-size: 10px;
  font-weight: 600;
  color: #c0392b;
  background: #fdf0ef;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Add to cart button */
.product-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: calc(100% - 32px);
  margin: 12px 16px 16px;
  background: #b00000;
  color: var(--white);
  border: none;
  padding: 10px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  border-radius: 8px;
  transition: background .2s;
}
.product-card-btn svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.product-card-btn:hover { background: var(--red); color: var(--white); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 32px 0 16px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--gray);
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.page-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.page-btn.active { background: var(--red); color: var(--white); border-color: var(--red); font-weight: 700; }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--white);
  border: 2px solid var(--red);
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s, color .15s;
  letter-spacing: .02em;
}
.btn-load-more:hover { background: var(--red); color: #fff; }
.btn-load-more:disabled { opacity: .5; cursor: not-allowed; }

/* =========================================
   CATEGORY HERO HEADER
   ========================================= */
.cat-header {
  background: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--dark);
  padding: 36px 0 28px;
  margin-bottom: 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.cat-header[style*="background-image"] h1,
.cat-header[style*="background-image"] .cat-desc { color: #fff; }
.cat-header[style*="background-image"] h1 .accent { color: var(--red); }
.cat-header::after,
.cat-header::before { display: none; }
.cat-header .container { position: relative; z-index: 1; }

/* hide breadcrumb & chips in cat-header */
.cat-header .breadcrumb,
.cat-header .cat-stats { display: none; }

.cat-header h1 {
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  line-height: 1.05;
  color: var(--dark);
}
.cat-header h1 .accent { color: var(--red); }
/* red underline accent */
.cat-header h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 14px auto 0;
  border-radius: 2px;
}
.cat-header .cat-desc {
  color: var(--gray-mid);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
/* hide chips (kept in markup but not shown) */
.cat-stats { display: none; }
.cat-stat-chip { display: none; }

/* =========================================
   TRACKDAYS PAGE
   ========================================= */
.trackdays-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding-bottom: 48px;
}
.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.event-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); transform: translateY(-4px); }
.event-card-header {
  background: var(--dark);
  padding: 20px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 16px;
}
.event-date-badge {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 10px 14px;
  border-radius: 6px;
  min-width: 60px;
  flex-shrink: 0;
}
.event-date-badge .day { font-size: 24px; font-weight: 800; line-height: 1; }
.event-date-badge .month { font-size: 11px; text-transform: uppercase; margin-top: 2px; }
.event-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.event-info .location { font-size: 13px; color: #aaa; display: flex; align-items: center; gap: 5px; }
.event-card-body { padding: 20px; flex: 1; }
.event-tickets { display: flex; flex-direction: column; gap: 10px; }
.ticket-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-light);
  border-radius: 4px;
  font-size: 13px;
}
.ticket-item-name { font-weight: 600; color: var(--gray-dark); }
.ticket-item-price { font-weight: 800; color: var(--red); font-size: 15px; }
.ticket-item-btn {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s;
}
.ticket-item-btn:hover { background: var(--red-hover); }

/* =========================================
   INFO BOXES / USPs
   ========================================= */
.usp-bar {
  background: #1f1f1f;
  color: var(--white);
  padding: 24px 0;
  border-top: 2px solid var(--red);
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.usp-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.usp-item:first-child { padding-left: 0; }
.usp-item:last-child  { border-right: none; }
.usp-icon {
  width: 48px; height: 48px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.usp-icon svg { width: 22px; height: 22px; fill: var(--white); }
.usp-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; color: #fff; }
.usp-text p  { font-size: 12px; color: rgba(255,255,255,.55); }

/* =========================================
   ABOUT / CONTACT STRIP
   ========================================= */
.about-strip {
  background: var(--bg-light);
  padding: 40px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-text h2 {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 12px;
}
.about-text h2 span { color: var(--red); }
.about-text p { color: var(--gray-mid); font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
.about-img img { border-radius: 8px; width: 100%; height: 300px; object-fit: cover; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #111;
  color: #bbb;
  padding: 48px 0 0;
  width: 100%;
}
.site-footer > .container,
.usp-bar > .container {
  max-width: 100%;
  padding: 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 50px; filter: brightness(0) invert(1); }
.footer-col p { font-size: 13px; line-height: 1.8; margin-bottom: 6px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: #bbb; font-size: 13px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 10px;
}
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--red); margin-top: 1px; flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.footer-social a:hover { background: var(--red); }
.footer-social svg { width: 18px; height: 18px; fill: #bbb; }
.footer-social a:hover svg { fill: var(--white); }

.footer-bottom {
  background: #0a0a0a;
  padding: 16px 20px;
  text-align: center;
  font-size: 12px;
  color: #666;
}
.footer-bottom a { color: #888; margin: 0 8px; transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }

/* =========================================
   CART DRAWER
   ========================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 9998;
  display: none;
}
.cart-overlay.active { display: block; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 380px;
  height: 100%;
  z-index: 10000;
  background: #1a1a1a;
  color: #e0e0e0;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(0,0,0,.6);
}
.cart-drawer.active { transform: translateX(0); }
.cart-drawer-header {
  padding: 18px 20px;
  background: #111;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cart-drawer-header h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; }
.cart-close-btn {
  background: none;
  border: none;
  color: var(--white);
  padding: 4px;
}
.cart-close-btn svg { width: 20px; height: 20px; fill: currentColor; }
.cart-drawer-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 16px 20px; }
.cart-empty { text-align: center; color: #666; padding: 40px 20px; font-size: 14px; }
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 28px 12px 0; /* rechts Platz fürs Entfernen-X */
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 64px; height: 64px; object-fit: contain; background: #2a2a2a; border-radius: 4px; padding: 4px; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: 13px; font-weight: 600; color: #e8e8e8; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 14px; font-weight: 700; color: var(--red); }
.cart-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-qty button { width: 24px; height: 24px; border: 1px solid rgba(255,255,255,.2); background: none; border-radius: 3px; font-size: 14px; line-height: 1; color: #ccc; }
.cart-qty button:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.cart-qty span { font-size: 13px; font-weight: 600; min-width: 20px; text-align: center; color: #e0e0e0; }
.cart-remove-btn {
  position: absolute;
  top: 10px; right: 0;
  color: #888; background: none; border: none;
  font-size: 18px; line-height: 1; padding: 4px;
  flex-shrink: 0; cursor: pointer; z-index: 1;
}
.cart-remove-btn:hover { color: var(--red); }

/* „Weitere Tickets buchen" – unter dem letzten Trackday-Ticket im Warenkorb */
.cart-trackday-more {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 6px 0 14px;
  padding: 10px 14px;
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 8px;
  color: #f0c0c0; background: rgba(204,0,0,.08);
  font-size: 13px; font-weight: 700; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.cart-trackday-more:hover { background: rgba(204,0,0,.18); border-color: var(--red); color: #fff; }
.cart-drawer-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.08); background: #111; }
.cart-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-bottom: 14px; color: #fff; }
.cart-checkout-btn {
  display: block;
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: background .2s;
  text-align: center;
}
.cart-checkout-btn:hover { background: var(--red-hover); }

/* =========================================
   PRODUCT DETAIL PAGE
   ========================================= */
.product-detail { padding: 32px 0 48px; }
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 40px;
  align-items: flex-start;
}
.product-actions-outer,
.product-tabs-outer {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 40px;
  align-items: flex-start;
}
.product-actions-outer { margin-top: 24px; }
.product-tabs-outer    { margin-top: 0; }
.product-gallery { position: sticky; top: 110px; }
.product-main-img {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #ffffff;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
}
.product-main-img img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 20px; pointer-events: none; }

/* ── Zoom Lens ── */
#img-zoom-lens {
  position: absolute;
  border: 2px solid rgba(255,255,255,.7);
  background: rgba(200,220,255,.18);
  pointer-events: none;
  display: none;
  z-index: 5;
  border-radius: 3px;
}

/* ── Zoom Result Panel ── */
#img-zoom-result {
  display: none;
  position: fixed;
  width: 420px;
  height: 420px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff no-repeat;
  z-index: 9100;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  pointer-events: none;
  overflow: hidden;
}

/* ── Lightbox ── */
#img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#img-lightbox.open { display: flex; }
#img-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 32px rgba(0,0,0,.5);
  user-select: none;
}
#img-lightbox-close {
  position: absolute;
  top: 20px; right: 28px;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  transition: background .15s;
}
#img-lightbox-close:hover { background: rgba(255,255,255,.25); }
#img-lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  display: flex; justify-content: space-between;
  width: 100%; padding: 0 16px; box-sizing: border-box;
  pointer-events: none;
}
#img-lightbox-nav button {
  pointer-events: all;
  background: rgba(255,255,255,.15);
  border: none; color: #fff;
  font-size: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
#img-lightbox-nav button:hover { background: rgba(255,255,255,.3); }
/* ── Thumbnail Carousel ── */
.thumb-carousel {
  display: flex;
  align-items: center;
  gap: 4px;
}
.thumb-nav {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  color: var(--gray-dark);
  transition: background .15s, border-color .15s;
  user-select: none;
}
.thumb-nav:hover:not(:disabled) { background: var(--bg-light); border-color: var(--red); }
.thumb-nav:disabled { opacity: 0.25; cursor: default; }
.product-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: scroll;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.product-thumbnails::-webkit-scrollbar { display: none; }
.product-thumb {
  width: 72px; height: 72px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  padding: 4px;
}
.product-thumb.active { border-color: var(--red); }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info h1 { font-size: 22px; font-weight: 800; text-transform: uppercase; color: var(--gray-dark); margin-bottom: 12px; overflow-wrap: break-word; word-break: break-word; }
.product-info .product-sku { font-size: 12px; color: var(--gray-mid); margin-bottom: 8px; }
.product-info .product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.star { color: #f5a623; font-size: 16px; }
.product-info .price-block { margin-bottom: 16px; }
.product-info .price-main { font-size: 32px; font-weight: 800; color: var(--red); }
.product-info .price-vat { font-size: 12px; color: var(--gray-mid); }
.product-atc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  width: 100%;
  transition: background .2s;
  margin-bottom: 12px;
}
.product-atc-btn:hover { background: var(--red-hover); }
.product-atc-btn svg { width: 20px; height: 20px; fill: currentColor; }
.product-qty-row { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.qty-input { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.qty-input button { width: 36px; height: 42px; border: none; background: var(--bg-light); font-size: 18px; transition: background .15s; }
.qty-input button:hover { background: var(--red); color: var(--white); }
.qty-input input { width: 52px; height: 42px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 15px; font-weight: 600; }
.product-tabs { margin-top: 32px; }
.tab-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 20px; }
.tab-btn {
  padding: 10px 20px;
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gray-mid);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .2s;
}
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.tab-content { display: none; font-size: 14px; color: var(--gray); line-height: 1.8; }
.tab-content.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr:nth-child(even) td { background: var(--bg-light); }
.spec-table td { padding: 8px 14px; font-size: 13px; border-bottom: 1px solid var(--border); }
.spec-table td:first-child { font-weight: 600; color: var(--gray-dark); width: 40%; }

/* =========================================
   SONDERPOSTEN INFO BOXES
   ========================================= */
.info-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.info-box { background: var(--bg-light); border-left: 4px solid var(--red); padding: 16px 20px; border-radius: 0 4px 4px 0; }
.info-box h4 { font-size: 14px; font-weight: 700; color: var(--gray-dark); margin-bottom: 6px; text-transform: uppercase; }
.info-box p { font-size: 13px; color: var(--gray-mid); line-height: 1.6; }

/* =========================================
   IMPRESSUM / DATENSCHUTZ
   ========================================= */
.legal-page { padding: 40px 0 60px; max-width: 860px; margin: 0 auto; }
.legal-page h1 { font-size: 28px; font-weight: 800; text-transform: uppercase; margin-bottom: 28px; color: var(--gray-dark); }
.legal-page h2 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; color: var(--gray-dark); }
.legal-page p { font-size: 14px; color: var(--gray); line-height: 1.8; margin-bottom: 10px; }
.legal-page ul { padding-left: 20px; list-style: disc; margin-bottom: 10px; }
.legal-page ul li { font-size: 14px; color: var(--gray); line-height: 1.8; }

/* =========================================
   TOAST NOTIFICATION
   ========================================= */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--dark);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  animation: slideIn .3s ease;
  min-width: 260px;
}
.toast.success { border-left: 4px solid #27ae60; }
.toast.error { border-left: 4px solid var(--red); }
.toast svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(120%); opacity: 0; } }
.toast.leaving { animation: slideOut .3s ease forwards; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1400px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .nav-list { display: none; }
  .nav-toggle { display: flex; }
  .main-nav { position: relative; }
  .nav-list.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--header-bg);
    z-index: 400;
    max-height: 80vh;
    overflow-y: auto;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-list.mobile-open .nav-link {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.06);
    border-bottom-color: transparent;
    padding: 14px 20px;
  }
  .nav-list.mobile-open .nav-link:hover,
  .nav-list.mobile-open .nav-item.active > .nav-link {
    background: rgba(255,255,255,.06);
  }
  .nav-dropdown { position: static; box-shadow: none; border: none; background: rgba(0,0,0,.2); }
  .nav-dropdown a { color: rgba(255,255,255,.75); background: transparent; padding-left: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { order: -1; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  /* ── Shop-Layout: Filter als Drawer ── */
  .shop-layout { flex-direction: column; }
  .filter-sidebar {
    width: 100%;
    position: fixed !important;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 8000;
    max-height: 100dvh !important;
    overflow-y: auto !important;
    transform: translateX(-100%);
    transition: transform .28s ease;
    border-radius: 0;
    display: block !important;
  }
  .filter-sidebar.mobile-open {
    transform: translateX(0);
  }
  .filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 7999;
  }
  .filter-overlay.active { display: block; }
  .mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 16px;
  }
  .filter-sidebar-close {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-dark);
    gap: 6px;
  }

  /* ── Produkt-Detail ── */
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-grid > * { min-width: 0; max-width: 100%; }
  .product-gallery { position: static; min-width: 0; max-width: 100%; }
  .product-main-img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: unset;
    height: 52vw;
    max-height: 260px;
    margin: 0 0 10px;
    cursor: zoom-in;
    box-sizing: border-box;
  }
  .product-actions-outer,
  .product-tabs-outer { grid-template-columns: 1fr; }
  .product-actions-outer > :first-child,
  .product-tabs-outer   > :first-child { display: none; }
  #img-zoom-result { display: none !important; }
  #img-zoom-lens   { display: none !important; }
  /* Amazon-style thumb strip */
  .thumb-nav { display: none !important; }
  .thumb-carousel { gap: 0; }
  .product-thumbnails { padding: 2px 0; gap: 6px; flex: 1; }
  .product-thumb { width: 60px; height: 60px; padding: 3px; }
  .cat-header h1 { font-size: 30px; letter-spacing: 2px; }
}
@media (max-width: 768px) {
  .top-bar-hours { display: none; }
  .top-bar-contact a:last-of-type { display: none; } /* hide email on mobile */
  .hero h1 { font-size: 24px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .info-boxes { grid-template-columns: 1fr; }
  .cart-drawer { width: 100%; right: 0; }
  .header-search { display: none; }
  .product-detail-grid,
  .product-actions-outer,
  .product-tabs-outer { grid-template-columns: 1fr !important; gap: 16px; }
  .product-gallery { position: static; }
  .product-main-img { height: 48vw; max-height: 240px; }
  .product-thumb { width: 56px; height: 56px; }
  /* Produkt-Info verkleinern */
  .product-info h1 { font-size: 17px; margin-bottom: 8px; }
  .product-info .price-main { font-size: 24px; }
  .product-info .price-block { margin-bottom: 12px; }
  .product-atc-btn { padding: 13px 20px; font-size: 14px; }
  .product-qty-row { gap: 8px; margin-bottom: 12px; }
  .qty-input button { width: 32px; height: 38px; font-size: 16px; }
  .qty-input input  { width: 44px; height: 38px; font-size: 14px; }
  .variant-btn { padding: 6px 10px !important; font-size: 12px !important; }
  .header-action-btn { padding: 4px 8px; font-size: 9px; }
  .header-action-btn svg { width: 18px; height: 18px; }
}
@media (max-width: 600px) {
  .cat-header { padding: 36px 0 30px; }
  .cat-header h1 { font-size: 24px; letter-spacing: 1.5px; }
  .container { padding: 0 14px; }
  .order-row { grid-template-columns: 1fr 1fr; }
  .order-row > a.btn { display: none; }
}
@media (max-width: 480px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 2px; }
  .header-action-btn span { display: none; } /* hide text labels, icons only */
  .header-action-btn { padding: 6px; }
  .hero { padding: 40px 0; }
  .site-logo img { height: 40px; }
  .products-grid { gap: 10px; }
  .product-card-btn { font-size: 10px; padding: 9px 6px; }
  .product-main-img { height: 44vw; max-height: 220px; }
  .product-thumb { width: 52px; height: 52px; }
}

/* ── Touch-Geräte: Hover-Effekte deaktivieren (verhindert Doppel-Tap) ── */
@media (hover: none) {
  .product-card:hover {
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    transform: none;
    border-color: #ebebeb;
  }
  .product-card:hover .product-card-img-wrap img { transform: none; }
  .product-card:hover .product-card-wish { opacity: 0; }
  .product-card:hover .product-card-title { color: inherit; }
}

/* =========================================
   TIRE SIZE PICKER (filter)
   ========================================= */
.tire-size-picker {
  background: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px;
}
.tire-size-picker-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #999;
  margin-bottom: 10px;
}
.tire-size-inputs {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .2s;
}
.tire-size-inputs:focus-within { border-color: var(--red); }

.tire-size-inputs input[type=number] {
  width: 52px;
  border: none;
  outline: none;
  padding: 8px 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  color: var(--gray-dark);
  background: transparent;
  -moz-appearance: textfield;
}
.tire-size-inputs input[type=number]::-webkit-inner-spin-button,
.tire-size-inputs input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; }
.tire-size-sep {
  font-size: 14px;
  font-weight: 700;
  color: #bbb;
  padding: 0 2px;
  flex-shrink: 0;
}
.tire-size-sep.r-sep {
  padding: 0 4px 0 2px;
  color: var(--red);
  font-size: 13px;
}
.tire-size-hint {
  font-size: 10px;
  color: #aaa;
  margin-top: 6px;
  text-align: center;
}
.tire-size-hint span { color: var(--gray-mid); font-weight: 600; }

/* =========================================
   MULTI-SELECT DROPDOWN (filter)
   ========================================= */
.ms-dropdown {
  position: relative;
}
.ms-dropdown-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--gray);
  cursor: pointer;
  transition: border-color .2s;
  text-align: left;
}
.ms-dropdown-btn:hover,
.ms-dropdown.open .ms-dropdown-btn { border-color: var(--red); }
.ms-dropdown-btn-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-dropdown-count {
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  display: none;
}
.ms-dropdown-count.visible { display: inline-block; }
.ms-dropdown-arrow {
  width: 14px; height: 14px;
  fill: #aaa;
  flex-shrink: 0;
  transition: transform .2s;
}
.ms-dropdown.open .ms-dropdown-arrow { transform: rotate(180deg); fill: var(--red); }

.ms-dropdown-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  z-index: 100;
  display: none;
  max-height: 210px;
  overflow-y: auto;
}
.ms-dropdown.open .ms-dropdown-panel { display: block; }
.ms-dropdown-search {
  position: sticky;
  top: 0;
  background: var(--white);
  padding: 6px 10px;
  border-bottom: 1px solid #f0f0f0;
}
.ms-dropdown-search input {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  outline: none;
}
.ms-dropdown-search input:focus { border-color: var(--red); }
.ms-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  font-size: 12px;
  color: var(--gray);
  cursor: pointer;
  transition: background .1s;
  border-bottom: 1px solid #f8f8f8;
}
.ms-option:last-child { border-bottom: none; }
.ms-option:hover { background: #fafafa; }
.ms-option input[type=checkbox] { accent-color: var(--red); flex-shrink: 0; }
.ms-option.selected { background: #fff6f6; color: var(--gray-dark); font-weight: 600; }

/* Filter apply bar (sticky at bottom of sidebar) */
.filter-apply-bar {
  position: sticky;
  bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  gap: 8px;
}
.filter-apply-bar .filter-apply-btn {
  flex: 1;
  margin-top: 0;
  padding: 9px;
  font-size: 12px;
}
.filter-reset-btn {
  padding: 9px 14px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 12px;
  color: var(--gray-mid);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.filter-reset-btn:hover { border-color: var(--red); color: var(--red); }

/* =========================================
   FORMS & BUTTONS (global)
   ========================================= */
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 5px;
  letter-spacing: .1px;
}
.form-control {
  width: 100%;
  padding: 9px 12px;
  font-size: 13px;
  font-family: var(--font);
  border: 1px solid #d8d8d8;
  border-radius: 7px;
  background: var(--white);
  color: var(--gray-dark);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: auto;
}
.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(139,0,0,.07);
}
.form-group { margin-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-sm { padding: 7px 14px; font-size: 12px; border-radius: 6px; }
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-hover); border-color: var(--red-hover); color: var(--white); }
.btn-secondary { background: var(--bg-light); color: var(--gray); border-color: #e0e0e0; }
.btn-secondary:hover { background: #e8e8e8; color: var(--gray-dark); }
.btn-danger { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.btn-danger:hover { background: #dc2626; color: var(--white); border-color: #dc2626; }

.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid;
}
.alert-success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
