/* Reifen Schweiz - site styles */

/* ============================================================
   1. Top announcement bar (red accent)
   ============================================================ */
.announcement-bar {
  background: #0B0B0B;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 9px 0;
  letter-spacing: 0.01em;
}
.announcement-bar .container { display: flex; justify-content: center; }

/* ============================================================
   2. TopBar (dark thin strip)
   ============================================================ */
.topbar {
  background: #000;
  color: #C9CDD4;
  font-size: 12px;
  height: 36px;
  display: flex;
  align-items: center;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 16px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.topbar-left > span,
.topbar-right > span,
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: inherit;
  line-height: 1;
}
.topbar svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.topbar .ch-flag { flex-shrink: 0; }
.topbar .dot { opacity: 0.4; }
.topbar a:hover { color: #fff; text-decoration: none; }

.ch-flag {
  width: 16px; height: 11px;
  background: #E30613;
  position: relative;
  display: inline-block;
  border-radius: 1px;
}
.ch-flag::before {
  content: ""; position: absolute; inset: 0;
  background: #fff;
  clip-path: polygon(40% 10%, 60% 10%, 60% 40%, 90% 40%, 90% 60%, 60% 60%, 60% 90%, 40% 90%, 40% 60%, 10% 60%, 10% 40%, 40% 40%);
}

/* ============================================================
   3. Header (dark)
   ============================================================ */
.header.header-dark {
  background: var(--c-ink);
  min-height: 100px;
  position: sticky; top: 0; z-index: 50;
  color: #fff;
  border-bottom: 1px solid #000;
}
.header .container {
  display: flex; align-items: center;
  gap: var(--s-7); min-height: 100px; padding-top: 12px; padding-bottom: 12px;
  flex-wrap: nowrap;
}
.header .logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.header .logo img {
  height: auto;
  width: auto;
  max-height: 76px;
  max-width: 200px;
  display: block;
  object-fit: contain;
}

.search-bar {
  flex: 1;
  display: flex; align-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-md);
  padding: 0 var(--s-4);
  height: 44px;
  max-width: 580px;
  gap: var(--s-3);
}
.search-bar svg { color: rgba(255,255,255,.7); }
.search-bar input {
  flex: 1; border: 0; background: transparent; outline: none; font: inherit; color: #fff;
}
.search-bar input::placeholder { color: rgba(255,255,255,.5); }
.search-bar .badge {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.15);
}

.header-actions {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 4px; align-items: center;
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}
.header-actions .icon-btn { vertical-align: middle; }
.header-actions svg { display: block; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  background: transparent; border: 0; color: #fff; position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.icon-btn:hover { background: rgba(255,255,255,.08); text-decoration: none; }
/* Burger button is mobile-only — Tailwind's lg:hidden can lose specificity
   against .icon-btn{display:inline-flex}; explicit override per viewport. */
@media (min-width: 1024px) {
  [data-mobile-nav-trigger] { display: none !important; }
  [data-mobile-search-trigger] { display: none !important; }
}
.icon-btn .count {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--c-accent); color: var(--c-accent-ink);
  border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   4. Subnav (white, centered)
   ============================================================ */
.subnav {
  border-bottom: 1px solid var(--c-border);
  background: #fff;
}
.subnav .container {
  display: flex; gap: var(--s-6); align-items: center;
  height: 52px; font-size: 14px; overflow-x: auto;
}
.subnav-spacer { flex: 1; min-width: 16px; }
.subnav a {
  color: var(--c-muted); white-space: nowrap; padding: 6px 0;
  font-weight: 500;
}
.subnav a:hover { color: var(--c-ink); text-decoration: none; }
.subnav a.accent { color: var(--c-accent); font-weight: 700; }
.subnav a.accent:hover { color: var(--c-accent); }

/* ============================================================
   HERO with wheel illustration
   ============================================================ */
.hero {
  background:
    linear-gradient(180deg, rgba(247,247,245,.93) 0%, rgba(239,238,234,.96) 100%),
    url('/assets/img/banners/cat-winter.jpg') center / cover no-repeat;
  padding: var(--s-10) 0 var(--s-9);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% 30%, rgba(11,18,32,.05), transparent 60%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-9);
  align-items: center;
}
.hero h1 {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 16px 0 var(--s-5);
  line-height: 1.04;
}
.hero p.lead {
  font-size: 17px;
  color: var(--c-muted);
  margin-bottom: var(--s-7);
  max-width: 540px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: var(--s-7); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-border);
}
.hero-stats .stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hero-stats .num { font-family: var(--ff-mono); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--c-ink); white-space: nowrap; }
.hero-stats .lbl { font-size: 12px; color: var(--c-muted); }

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  max-width: 480px;
  margin-left: auto;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle at 50% 50%, rgba(11,18,32,.08), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.wheel-graphic { width: 100%; height: auto; max-width: 420px; position: relative; z-index: 1; }
.hero-photo {
  width: 100%; height: auto; max-width: 480px;
  object-fit: contain; position: relative; z-index: 1;
  filter: drop-shadow(0 18px 32px rgba(11,18,32,.18));
}
.hero-spec {
  position: absolute;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-family: var(--ff-mono);
  font-size: 12px;
  box-shadow: var(--sh-md);
  display: flex; flex-direction: column; gap: 2px;
  z-index: 2;
}
.hero-spec .l { color: var(--c-muted); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-spec .v { font-size: 16px; font-weight: 600; color: var(--c-ink); display: inline-flex; align-items: center; gap: 6px; }
.hero-spec .eu { background: #16A34A; color: #fff; padding: 2px 7px; border-radius: 3px; font-size: 11px; font-family: var(--ff-mono); font-weight: 600; }
.hero-spec .eu-a { background: #16A34A; }
.hero-spec .eu-b { background: #65A30D; }
.hero-spec .db { font-size: 12px; color: var(--c-muted); font-weight: 500; }
.spec-1 { top: 8%; right: 4%; }
.spec-2 { bottom: 20%; left: 0%; }
.spec-3 { bottom: 4%; right: 8%; }

/* ============================================================
   FINDER (Konfigurator) - tinted, wider, overlapping hero
   ============================================================ */
.finder {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 8px;
  box-shadow: var(--sh-lg);
  margin-top: -56px;
  position: relative;
  z-index: 5;
}
.finder-head {
  padding: 16px 20px 0;
  display: flex; align-items: center; gap: 10px;
}
.finder-head h3 { font-size: 16px; font-weight: 600; }
.finder-head .ex {
  margin-left: auto;
  font-size: 12px;
  color: var(--c-muted);
  font-family: var(--ff-mono);
}
.finder-grid {
  padding: 16px 20px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr 1fr 1.2fr auto;
  gap: 12px;
  align-items: end;
}
.finder-grid .field-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-muted);
  margin-bottom: 6px;
  display: block;
}
.finder-grid .select { width: 100%; }
.finder-grid .field-saison .select { min-width: 150px; }
.finder-grid .finder-btn { height: 44px; white-space: nowrap; }

/* ============================================================
   Section base
   ============================================================ */
.section { padding: var(--s-10) 0; }
.section-thin { padding: var(--s-6) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: var(--s-7); gap: var(--s-5); flex-wrap: wrap; }
.section-head h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.025em; margin-top: 8px; }
.section-link { font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; color: var(--c-ink); }
.section-link:hover { color: var(--c-accent); text-decoration: none; }

/* ============================================================
   Categories
   ============================================================ */
.cat-grid { display: grid; gap: 16px; }
.cat-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
  text-decoration: none;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--c-accent);
  text-decoration: none;
}
.cat-card .cat-icon {
  width: 48px; height: 48px;
  background: var(--c-bg-alt);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-ink);
  transition: background 200ms ease, color 200ms ease;
}
.cat-card:hover .cat-icon { background: var(--c-accent); color: var(--c-accent-ink); }
.cat-card .cat-name {
  font-weight: 700; font-size: 17px; color: var(--c-ink);
  transition: color 200ms ease;
}
.cat-card:hover .cat-name { color: var(--c-accent); }
.cat-card .cat-desc { font-size: 13px; color: var(--c-muted); line-height: 1.5; }
.cat-card.accent .cat-icon { background: var(--c-accent); color: var(--c-accent-ink); }
.cat-card.accent .cat-name { color: var(--c-accent); }
.cat-card.accent:hover { border-color: var(--c-ink); }
.cat-card.accent:hover .cat-icon { background: var(--c-ink); color: #fff; }
.cat-card.accent:hover .cat-name { color: var(--c-ink); }

/* ============================================================
   Promo banners
   ============================================================ */
.promo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo {
  border-radius: var(--r-xl);
  padding: var(--s-8);
  color: #fff;
  position: relative; overflow: hidden;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  text-decoration: none;
}
.promo:hover { text-decoration: none; }
.promo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.promo::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(0,0,0,.2), transparent 60%);
  pointer-events: none;
}
.promo > * { position: relative; z-index: 1; }
.promo-summer { background-color: #92400E; }
.promo-winter { background-color: #1E3A8A; }
.promo h3 { font-size: 30px; color: #fff; line-height: 1.15; }
.promo .promo-sub { font-size: 14px; opacity: 0.92; max-width: 380px; line-height: 1.55; }
.promo-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  padding: 10px 16px; border-radius: var(--r-md);
  margin-top: 12px; font-weight: 500;
}

/* ============================================================
   Product cards
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative; text-decoration: none; color: var(--c-ink);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.product-card:hover { box-shadow: var(--sh-md); border-color: var(--c-border-strong); text-decoration: none; }
.product-card .badge-area { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 2; }
/* Wishlist button pinned top-RIGHT so it never overlaps the badges (top-left).
   Built Tailwind utilities for absolute positioning are unreliable here; this
   hand-written rule guarantees it in grid and list cards. Scoped to .product-card
   so the PDP wishlist button (inline) is unaffected. */
.product-card .aw-wishlist-btn { position: absolute; top: 12px; right: 12px; left: auto; z-index: 3; }
.product-card .badge.badge-pill { width: fit-content; }
.product-card .badge.badge-pill {
  color: #fff;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 0;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(0,0,0,.12);
}
.badge.badge-bestseller { background: #E30613; }
.badge.badge-new        { background: #16A34A; }
.badge.badge-sale       { background: #F59E0B; color: #1f1300; text-shadow: none; }
.badge.badge-discount {
  background: #DC2626;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  letter-spacing: 0;
  text-shadow: none;
}
.product-card .product-img { aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; }
.product-card .product-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-card .img-ph { aspect-ratio: 1; border-radius: var(--r-md); }
.product-card .brand { font-size: 11px; color: var(--c-muted); font-family: var(--ff-mono); letter-spacing: 0.06em; margin-top: 6px; }
.product-card .model { font-weight: 600; font-size: 14px; line-height: 1.3; min-height: 36px; }
.product-card .specs { font-family: var(--ff-mono); font-size: 13px; color: var(--c-ink-2); }
.product-card .specs .li { color: var(--c-muted); margin-left: 6px; }
.product-card .eu-label { display: inline-flex; gap: 4px; align-items: center; font-size: 11px; }
.product-card .eu-label .db { color: var(--c-muted); margin-left: 4px; }
/* EU chip colors (.e/.e-*/.ew-*) and black glyph (.eu-ic) now live in
   build/src/styles/main.css (vite), shared with the filter via grade tokens. */

/* ============================================================
   Wishlist heart - plain icon, three states.
   Default: muted outline. Hover: light pink. Active (in wishlist):
   filled red, persistent across reloads via the JS state source.
   Used on product cards and the PDP buy box alike.
   ============================================================ */
.aw-wishlist-btn {
  color: var(--c-muted);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 140ms ease;
}
.aw-wishlist-btn:hover { color: #f7a8c4; background: transparent; }
.aw-wishlist-btn .aw-icon { fill: none; transition: fill 140ms ease; }
.aw-wishlist-btn.is-active { color: var(--c-accent); }
.aw-wishlist-btn.is-active:hover { color: var(--c-accent); }
.aw-wishlist-btn.is-active .aw-icon { fill: currentColor; }

.product-card .price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--c-border); }
.product-card .price { font-size: 22px; font-weight: 700; font-family: var(--ff-mono); color: var(--c-ink); }
.product-card .price-sale { color: var(--c-accent); }
.product-card .was { font-size: 12px; text-decoration: line-through; color: var(--c-muted); font-family: var(--ff-mono); }
.product-card .cart-btn {
  width: 36px; height: 36px;
  background: var(--c-ink); color: #fff;
  border: 0; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.product-card .cart-btn:hover { background: var(--c-accent); }
.product-card .stock { font-size: 11px; color: var(--c-success); margin-top: 4px; }
.product-card .stock-low { color: var(--c-warn); }

/* ============================================================
   Trust band
   ============================================================ */
.trust-band { background: var(--c-ink); color: #fff; padding: var(--s-9) 0; }
.trust-head { margin-bottom: var(--s-7); text-align: center; }
.trust-head h2 { color: #fff; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-7); }
.trust-grid-3 { grid-template-columns: repeat(3, 1fr); }
.trust-cell {
  display: flex; flex-direction: column; gap: 8px;
  padding-right: var(--s-5);
  border-right: 1px solid rgba(255,255,255,.1);
}
.trust-cell:last-child { border-right: 0; }
.trust-cell .ic { color: var(--c-accent); margin-bottom: 8px; }
.trust-cell h4 { font-size: 16px; color: #fff; font-family: var(--ff-sans); text-transform: none; letter-spacing: 0; font-weight: 600; }
.trust-cell p { font-size: 13px; color: #9CA3AF; line-height: 1.55; }
/* Trust band 3-cell variant: center-align cells under the centered heading */
.trust-grid-3 .trust-cell { align-items: center; text-align: center; padding-right: 0; border-right: 0; }
.trust-grid-3 .trust-cell .ic { display: inline-flex; }

/* ------------------------------------------------------------
   Trust strip - thin band below subnav (rating + delivery time)
   ------------------------------------------------------------ */
.trust-strip {
  background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-border);
  font-size: 13px;
  color: var(--c-muted);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.trust-strip::-webkit-scrollbar { display: none; }
.trust-strip .container {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; padding-top: 8px; padding-bottom: 8px;
  flex-wrap: nowrap;
}
.trust-strip svg { vertical-align: middle; }
.trust-strip .dot { opacity: 0.4; }
.trust-strip-stars { color: var(--c-gold); letter-spacing: 1px; }
@media (max-width: 640px) {
  .trust-strip { font-size: 12px; }
  .trust-strip .container { gap: 8px; justify-content: flex-start; padding-left: var(--s-4); padding-right: var(--s-4); }
}

/* ============================================================
   Reviews
   ============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.review-card blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-ink-2); flex: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--c-gold); }
.review-meta {
  display: flex; gap: 12px; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--c-border);
}
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.review-name { font-weight: 600; font-size: 14px; }
.review-context { font-size: 12px; color: var(--c-muted); }

/* ============================================================
   News & Ratgeber
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: var(--c-ink);
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.news-card:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: var(--c-border-strong); text-decoration: none; }
.news-card .news-tag {
  align-self: flex-start;
  font-family: var(--ff-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--c-bg-alt);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  color: var(--c-ink-2);
}
.news-card h3 { font-size: 18px; line-height: 1.3; font-weight: 700; }
.news-card p { font-size: 14px; color: var(--c-muted); line-height: 1.55; flex: 1; }
.news-card .news-link { font-weight: 500; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; color: var(--c-accent); margin-top: 4px; }

/* ============================================================
   FAQ Accordion (chevron icons) + image
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-8);
  align-items: start;
}
.faq-figure {
  margin: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 28px;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.faq-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
}
.faq-figure figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.55;
  text-align: center;
}
.faq-accordion-wrap { display: flex; flex-direction: column; gap: 0; }
.accordion-list { display: flex; flex-direction: column; gap: 8px; }
.accordion-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 200ms ease;
}
.accordion-item[open] { border-color: var(--c-border-strong); }
.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-weight: 600; font-size: 16px;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::marker { content: ''; }
.accordion-item .acc-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-ink-2);
  background: #fff;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.accordion-item:hover .acc-icon { background: var(--c-bg-alt); }
.accordion-item[open] .acc-icon {
  transform: rotate(180deg);
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}
.accordion-item .acc-a { padding: 0 22px 20px; font-size: 15px; line-height: 1.7; color: var(--c-ink-2); }
.accordion-item .acc-a code { font-family: var(--ff-mono); background: var(--c-bg-alt); padding: 1px 6px; border-radius: 3px; font-size: 13px; }
.accordion-item .acc-a p { margin: 0 0 12px; }
.accordion-item .acc-a p:last-child { margin-bottom: 0; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--c-ink);
  color: #C9CDD4;
  padding: var(--s-10) 0 var(--s-7);
  margin-top: 0;
}
.footer h4 {
  color: #fff;
  font-size: 13px;
  font-family: var(--ff-mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: var(--s-7);
  margin-bottom: var(--s-7);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-logo {
  height: auto;
  width: auto;
  max-height: 80px;
  max-width: 200px;
  display: block;
  object-fit: contain;
}
.footer-about { font-size: 13px; line-height: 1.6; color: #9CA3AF; margin: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a { color: #C9CDD4; }
.footer ul a:hover { color: #fff; }

.ig { display: inline-flex; align-items: center; gap: 8px; color: #C9CDD4; font-size: 13px; }
.ig .ig-icon { display: inline-flex; align-items: center; }
.ig svg { display: block; }
.ig:hover { color: #fff; text-decoration: none; }

.contact-h4 { margin-top: 24px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.contact-list .ci { display: inline-flex; align-items: center; flex-shrink: 0; color: #9CA3AF; }
.contact-list .ci svg { display: block; }

.newsletter-lead { font-size: 13px; color: #9CA3AF; margin: 0 0 10px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form .input {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  height: 40px;
  flex: 1;
  min-width: 0;
}
.newsletter-form .input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form .btn { height: 40px; }

.footer-payments {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,.1);
  margin: var(--s-7) 0 0;
  overflow-x: auto;
}
.footer-payments .pay-icon { display: inline-flex; flex-shrink: 0; }
.footer-payments svg { display: block; width: 38px; height: 24px; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #8B92A0;
  flex-wrap: wrap; gap: var(--s-4);
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-legal { display: inline-flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: #9CA3AF; }
.footer-legal a:hover { color: #fff; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
   Breadcrumbs
   ============================================================ */
.breadcrumbs { font-size: 13px; color: var(--c-muted); display: flex; gap: 6px; align-items: center; margin: 24px 0; }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs .sep { opacity: .5; }
.breadcrumbs .current { color: var(--c-ink); }

/* ============================================================
   Static page layout
   ============================================================ */
.static-wrap { padding: var(--s-7) 0 var(--s-9); }
.static-grid { display: grid; grid-template-columns: 240px 1fr; gap: var(--s-8); align-items: start; }
.static-nav {
  position: sticky; top: 16px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 10px;
}
.static-nav-section { font-family: var(--ff-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-muted); padding: 12px 12px 4px; }
.static-nav a { padding: 8px 12px; border-radius: var(--r-md); font-size: 14px; color: var(--c-ink-2); }
.static-nav a:hover { background: var(--c-bg-alt); text-decoration: none; }
.static-nav a.active { background: var(--c-bg-alt); font-weight: 600; color: var(--c-ink); }
.static-content {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-xl); padding: 48px; max-width: 800px;
}
.static-content h1 { font-size: 36px; margin-bottom: 12px; }
.static-content .lead { font-size: 17px; color: var(--c-muted); margin-bottom: 32px; line-height: 1.55; }
.static-content h2 { font-size: 22px; margin: 40px 0 12px; }
.static-content h3 { font-size: 17px; margin: 24px 0 8px; }
.static-content p, .static-content li { font-size: 15px; line-height: 1.7; color: var(--c-ink-2); margin-bottom: 12px; }
.static-content ul, .static-content ol { padding-left: 20px; }
.static-meta { display: flex; gap: 12px; font-size: 13px; color: var(--c-muted); padding-bottom: 24px; border-bottom: 1px solid var(--c-border); margin-bottom: 32px; }

/* Cart placeholder layout */
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: var(--s-7); align-items: start; padding: var(--s-7) 0 var(--s-9); }

/* ============================================================
   Catalog page
   ============================================================ */
.catalog-wrap { padding: var(--s-6) 0 var(--s-9); }

.catalog-head {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--c-border);
}
.catalog-head h1 { font-size: 36px; }
.catalog-head .count {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--c-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 8px;
}
.catalog-head p { color: var(--c-muted); font-size: 14px; line-height: 1.6; max-width: 56ch; margin-top: 12px; }
.catalog-head-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.catalog-head-meta .stat { background: var(--c-bg-alt); padding: 12px 14px; border-radius: var(--r-md); }
.catalog-head-meta .stat .num { font-family: var(--ff-mono); font-size: 18px; font-weight: 600; }
.catalog-head-meta .stat .lbl { font-size: 11px; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.catalog-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--s-7);
  align-items: start;
}

.filters {
  position: sticky;
  top: calc(var(--topbar-h) + 100px + 16px);
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.filter-group { padding: 16px; }
.filter-group + .filter-group { border-top: 1px solid var(--c-border); }
.filter-group h3 {
  font-size: 12px;
  font-family: var(--ff-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filter-group h3 .clr { font-family: var(--ff-sans); font-size: 11px; color: var(--c-muted); text-transform: none; letter-spacing: 0; font-weight: 400; }

.season-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
  background: var(--c-bg-alt);
  border-radius: var(--r-md);
  padding: 3px;
}
.season-toggle a {
  border: 0;
  background: transparent;
  padding: 8px 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms, color 120ms;
}
.season-toggle a:hover { color: var(--c-ink); text-decoration: none; }
.season-toggle a.active { background: var(--c-surface); color: var(--c-ink); box-shadow: var(--sh-sm); }

.size-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.size-grid .field-label { font-size: 11px; font-family: var(--ff-mono); text-transform: uppercase; color: var(--c-muted); margin-bottom: 4px; display: block; }
.size-grid .select { height: 36px; padding: 0 8px; font-size: 12px; }

.check-list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.check-list label { display: flex; gap: 10px; align-items: center; color: var(--c-ink-2); cursor: pointer; }
.check-list label .ct { margin-left: auto; font-family: var(--ff-mono); font-size: 11px; color: var(--c-muted); }

.range-row { display: flex; gap: 8px; align-items: center; }
.range-row .input { height: 32px; padding: 0 8px; font-size: 12px; font-family: var(--ff-mono); }
.price-track {
  position: relative; height: 4px; background: var(--c-bg-alt); border-radius: 2px; margin-top: 14px;
}
.price-track-fill { position: absolute; left: 10%; right: 30%; top: 0; bottom: 0; background: var(--c-ink); border-radius: 2px; }

.eu-grade-row { display: flex; gap: 4px; }
.eu-grade {
  padding: 4px 10px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: 3px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-ink-2);
  cursor: pointer;
}
.eu-grade.on { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

.results { display: flex; flex-direction: column; gap: 16px; }
.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 8px 12px;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.results-toolbar .t-left { display: flex; gap: 10px; align-items: center; color: var(--c-muted); }
.results-toolbar .t-right { display: flex; gap: 8px; align-items: center; }
.layout-toggle { display: inline-flex; border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 2px; }
.layout-toggle a {
  padding: 5px 7px;
  border-radius: 3px;
  color: var(--c-muted);
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.layout-toggle a.active { background: var(--c-bg-alt); color: var(--c-ink); }
.layout-toggle a:hover { color: var(--c-ink); text-decoration: none; }

.applied-filters { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px 0; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--c-surface); border: 1px solid var(--c-border-strong);
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 12px; color: var(--c-ink-2);
}

.results-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.results-list { display: flex; flex-direction: column; gap: 12px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: var(--s-5); }
.pagination a, .pagination span {
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  border-radius: var(--r-md);
  font-size: 13px; font-family: var(--ff-mono);
  color: var(--c-ink-2);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.pagination a.active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.pagination a:hover { background: var(--c-bg-alt); text-decoration: none; }
.pagination span { opacity: 0.4; }

.seo-block {
  margin-top: var(--s-9);
  padding: 32px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}
.seo-block h2 { font-size: 22px; margin-bottom: 16px; }
.seo-block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; font-size: 14px; line-height: 1.7; color: var(--c-ink-2); }
.seo-block-grid h3 { font-size: 16px; margin-bottom: 8px; color: var(--c-ink); }
.seo-block-grid p { color: var(--c-muted); }

/* ============================================================
   Product detail page
   ============================================================ */
.pd-wrap { padding: var(--s-6) 0 var(--s-9); }

.pd-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-8);
  align-items: start;
  margin-top: var(--s-5);
}

.pd-gallery {
  position: sticky;
  top: calc(var(--topbar-h) + 100px + 16px);
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: start;
}
.pd-thumbs { display: flex; flex-direction: column; gap: 8px; }
.pd-thumb {
  width: 76px; height: 76px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
  cursor: pointer;
}
.pd-thumb.active { border-color: var(--c-ink); border-width: 2px; }
.pd-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

.pd-main {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: var(--s-5);
  overflow: hidden;
}
.pd-main img { max-width: 80%; max-height: 80%; object-fit: contain; }
.pd-badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.pd-zoom { position: absolute; bottom: 16px; right: 16px; font-size: 11px; }

.pd-info { display: flex; flex-direction: column; gap: var(--s-5); }
.pd-brand { font-size: 14px; color: var(--c-muted); font-weight: 500; }
.pd-title { font-size: 32px; letter-spacing: -0.02em; }
.pd-meta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.pd-sku { font-family: var(--ff-mono); font-size: 12px; color: var(--c-muted); }

.season-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500;
  background: var(--c-bg-alt); color: var(--c-ink-2);
  border: 1px solid var(--c-border);
}
.season-pill.summer { background: rgba(217,119,6,.1); color: #92400E; border-color: rgba(217,119,6,.2); }
.season-pill.winter { background: rgba(30,64,175,.1); color: #1E3A8A; border-color: rgba(30,64,175,.2); }
.season-pill.all-season { background: rgba(22,163,74,.1); color: #15803D; border-color: rgba(22,163,74,.2); }

.pd-stars { display: inline-flex; gap: 3px; align-items: center; }
.pd-rating-val { font-family: var(--ff-mono); font-size: 14px; font-weight: 600; }
.pd-rating-ct { font-size: 13px; color: var(--c-muted); }

.pd-spec-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex; flex-direction: column; gap: 16px;
}
.pd-spec-card-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-family: var(--ff-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.pd-spec-card-head a { color: var(--c-muted); text-transform: none; letter-spacing: 0; font-family: var(--ff-sans); }
.pd-spec-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pd-spec-cell { display: flex; flex-direction: column; gap: 2px; }
.pd-spec-cell .lbl { font-family: var(--ff-mono); font-size: 10px; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.pd-spec-cell .val { font-family: var(--ff-mono); font-size: 16px; font-weight: 600; }

.pd-variants-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.pd-variants-head .title { font-size: 12px; font-family: var(--ff-mono); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.pd-variants-head a { font-size: 12px; color: var(--c-muted); }
.pd-variants { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-variant {
  padding: 8px 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink-2);
  background: var(--c-surface);
  cursor: pointer;
}
.pd-variant.active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

.pd-buy {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.pd-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd-price { font-family: var(--ff-mono); font-size: 40px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.pd-price.sale { color: var(--c-accent); }
.pd-was { font-size: 16px; color: var(--c-muted); text-decoration: line-through; font-family: var(--ff-mono); }
.pd-save { background: var(--c-accent); color: var(--c-accent-ink); padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.pd-perset { font-size: 13px; color: var(--c-muted); }

.pd-qty-wrap { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.pd-qty-label { font-size: 13px; color: var(--c-muted); margin-bottom: 6px; }
/* .qty visual properties live in tokens.css.
   Only cursor and hover/focus interaction rules remain. */
.qty button { cursor: pointer; }
.qty button:hover { background: var(--c-bg-alt); }
.qty input:focus { outline: none; }
.qty-presets { display: flex; gap: 6px; }
.qty-preset {
  padding: 6px 12px;
  background: var(--c-bg-alt); border: 1px solid transparent;
  border-radius: var(--r-md); font-size: 12px; font-family: var(--ff-mono);
  color: var(--c-ink-2); cursor: pointer;
}
.qty-preset.active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

.pd-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 14px; color: var(--c-muted); }
.pd-total-price { font-family: var(--ff-mono); font-size: 24px; font-weight: 700; color: var(--c-accent); }
.pd-buy-buttons { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

.pd-stock {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--c-success);
  padding: 12px 14px;
  background: rgba(31,138,91,.08);
  border-radius: var(--r-md);
}

.pd-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13px; color: var(--c-ink-2); }
.pd-feats div { display: flex; gap: 8px; align-items: flex-start; }
.pd-feats .ic { color: var(--c-ink); flex-shrink: 0; margin-top: 1px; }

.pd-mounting {
  background: var(--c-bg-alt);
  padding: 16px;
  border-radius: var(--r-lg);
  display: flex; gap: 12px; align-items: center;
}
.pd-mounting-icon {
  width: 40px; height: 40px;
  background: var(--c-ink); color: #fff;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pd-mounting-text { flex: 1; }
.pd-mounting-text strong { font-size: 14px; display: block; margin-bottom: 2px; }
.pd-mounting-text span { font-size: 13px; color: var(--c-muted); }

.pd-tabs { margin-top: var(--s-9); border-top: 1px solid var(--c-border); }
.pd-tab-list { display: flex; gap: 0; border-bottom: 1px solid var(--c-border); overflow-x: auto; overflow-y: hidden; }
.pd-tab-list a {
  background: transparent; border: 0;
  padding: 16px 24px; font-size: 14px; font-weight: 500;
  color: var(--c-muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap; text-decoration: none;
}
.pd-tab-list a:hover { color: var(--c-ink); text-decoration: none; }
.pd-tab-list a.active { color: var(--c-ink); border-bottom-color: var(--c-ink); font-weight: 600; }
.pd-tab-content { padding: var(--s-7) 0; }
.pd-tab-pane { display: none; }
.pd-tab-pane.active { display: block; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--c-border); }
.spec-table td { padding: 14px 0; font-size: 14px; }
.spec-table td:first-child { color: var(--c-muted); width: 40%; }
.spec-table td:last-child { font-family: var(--ff-mono); color: var(--c-ink); font-weight: 500; }

.pd-desc { max-width: 720px; font-size: 15px; line-height: 1.7; color: var(--c-ink-2); }
.pd-desc h2 { font-size: 22px; margin-bottom: 12px; margin-top: 0; color: var(--c-ink); }
.pd-desc h3 { font-size: 17px; margin: 24px 0 8px; color: var(--c-ink); }
.pd-desc p { margin-bottom: 16px; }
.pd-desc ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.pd-delivery-html { max-width: 640px; font-size: 15px; line-height: 1.7; color: var(--c-ink-2); }
.pd-delivery-html h1 { font-size: 24px; margin: 0 0 12px; color: var(--c-ink); }
.pd-delivery-html h2 { font-size: 22px; margin: 0 0 12px; color: var(--c-ink); }
.pd-delivery-html h3 { font-size: 17px; margin: 24px 0 8px; color: var(--c-ink); }
.pd-delivery-html h4 { font-size: 15px; margin: 20px 0 6px; color: var(--c-ink); font-weight: 600; }
.pd-delivery-html p { margin: 0 0 16px; }
.pd-delivery-html ul,
.pd-delivery-html ol { padding-left: 20px; margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.pd-delivery-html a { color: var(--c-ink); text-decoration: underline; }
.pd-delivery-html a:hover { text-decoration: none; }
.pd-delivery-html strong { color: var(--c-ink); }

.review-summary {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px;
  padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--c-border);
}
.review-big { font-size: 64px; font-weight: 700; line-height: 1; font-family: var(--ff-mono); }
.review-bars { display: flex; flex-direction: column; gap: 6px; }
.review-bar { display: grid; grid-template-columns: 40px 1fr 40px; gap: 12px; align-items: center; }
.review-bar .track { height: 6px; background: var(--c-bg-alt); border-radius: 3px; overflow: hidden; }
.review-bar .fill { height: 100%; background: var(--c-gold); border-radius: 3px; }
.pd-review-item { padding-bottom: 24px; border-bottom: 1px solid var(--c-border); margin-bottom: 24px; }
.pd-review-item:last-child { border-bottom: 0; margin-bottom: 0; }
.pd-review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pd-review-date { font-size: 12px; color: var(--c-muted); }
.pd-review-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.pd-review-text { font-size: 14px; color: var(--c-ink-2); line-height: 1.6; margin-bottom: 8px; }
.pd-review-meta { font-size: 12px; color: var(--c-muted); display: flex; gap: 8px; align-items: center; }
.pd-review-meta strong { color: var(--c-ink-2); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
  .finder-grid { grid-template-columns: repeat(3, 1fr) auto; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero-visual { display: none; }
  .hero h1 { font-size: 40px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .promo-row { grid-template-columns: 1fr; }
  .reviews-grid, .news-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-figure { position: static; padding: 16px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-cell { border-right: 0; padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .static-grid { grid-template-columns: 1fr; }
  .static-nav { position: static; }
  .static-content { padding: 24px; }
  .cart-grid { grid-template-columns: 1fr; }
  .header.header-dark { height: 72px; }
  .header .logo img { height: 44px; }
  .finder-grid { grid-template-columns: repeat(2, 1fr); }
  .finder-grid .finder-btn { grid-column: 1 / -1; }
  .topbar { font-size: 11px; }
  .topbar-left { gap: 10px; }
  .topbar-left span:nth-child(n+5) { display: none; }
  /* catalog */
  .catalog-body { grid-template-columns: 1fr; }
  .filters { position: static; }
  .results-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .catalog-head { grid-template-columns: 1fr; }
  /* product */
  .pd-grid { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .review-summary { grid-template-columns: 1fr; }
  .pd-spec-row { grid-template-columns: 1fr 1fr; }
  .seo-block-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .product-grid, .cat-grid-4 { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
  .section-head h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: var(--s-5); }
  .hero-stats .stat { flex: 1; min-width: 40%; }
}

/* ============================================================
   Green tonal accents - subtle positive/trust signals
   (secondary to red brand accent; spotted on second look)
   ============================================================ */

/* Topbar icons that signal positive guarantees (delivery, payment).
   Brighter green chosen for sufficient contrast on the black topbar. */
.topbar-ic-ok { color: #34C77B; display: inline-flex; align-items: center; }

/* Trust-strip clock icon - delivery time speaks "good news" */
.trust-strip-ic-ok { color: var(--c-success-dk); display: inline-flex; align-items: center; vertical-align: middle; }

/* Product card stock indicator - replace the bullet glyph with a
   crisp green dot for in-stock state. Stronger green than the
   previous tonal text dot; low-stock keeps the amber warn color. */
.product-card .stock { display: inline-flex; align-items: center; gap: 6px; color: var(--c-success-dk); font-weight: 500; }
.product-card .stock::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 0 3px rgba(31, 138, 91, 0.12);
  flex-shrink: 0;
}
.product-card .stock-low { color: var(--c-warn); }
.product-card .stock-low::before { background: var(--c-warn); box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12); }

/* EU label "best class" highlight - subtle green ring around the
   chip when the grade is A. Catches the eye without changing
   the chip's own background color. */
.product-card .eu-label .e-a,
.pd-spec-card .eu-label .e-a {
  box-shadow: 0 0 0 2px var(--c-success-ring);
}

/* Product detail features list (Gratis Versand, Garantie etc.) -
   shift icon color from neutral ink to green-dk so the row reads
   as "guarantees / positive promises" at a glance. */
.pd-feats .ic { color: var(--c-success-dk); }

/* Footer secure-payment microcopy (above the payments row) */
.footer-secure-line {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px; color: #9CA3AF;
  margin: var(--s-6) 0 0;
}
.footer-secure-line .ic { color: var(--c-success); display: inline-flex; }

/* ============================================================
   SEO long-form copy block (home page, after FAQ)
   - Collapsed by default to ~200px with a gradient fade.
   - Click toggle (data-seo-toggle) flips the --expanded modifier.
   - Readable column width, prose spacing, brand-consistent links.
   ============================================================ */
.section-seo {
  padding-top: var(--s-7);
  padding-bottom: var(--s-9);
}
/* Span full container width like the other home sections. */

.seo-copy {
  position: relative;
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
  color: var(--c-ink-2);
  /* Smooth open/close. We swap a large explicit max-height because
     CSS cannot animate to/from auto. 4000px covers the full copy
     comfortably without clamping it on wide layouts. */
  max-height: 4000px;
  overflow: hidden;
  transition: max-height 380ms ease;
}
.seo-copy .eyebrow { display: block; margin-bottom: var(--s-3); }
.seo-copy h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--s-5);
}
.seo-copy h3 {
  font-size: var(--fs-xl);
  margin-top: var(--s-7);
  margin-bottom: var(--s-3);
  color: var(--c-ink);
}
.seo-copy p {
  margin: 0 0 var(--s-4);
  color: var(--c-ink-2);
}
.seo-copy p:last-child { margin-bottom: 0; }
.seo-copy a {
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-color: var(--c-border-strong);
  text-underline-offset: 3px;
  transition: color 140ms ease, text-decoration-color 140ms ease;
}
.seo-copy a:hover {
  color: var(--c-accent);
  text-decoration-color: var(--c-accent);
}
.seo-copy strong { color: var(--c-ink); font-weight: 600; }

/* Collapsed state: clamp to ~200px and overlay a fade-out so
   the cut feels intentional, not abrupt. */
.seo-copy--collapsed {
  max-height: 200px;
}
.seo-copy--collapsed::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(247, 247, 245, 0) 0%,
    var(--c-bg) 80%,
    var(--c-bg) 100%
  );
}

.seo-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--s-5);
}
.seo-toggle {
  /* Inherits .btn.btn-secondary; tweak only the icon rotation
     so the chevron points down when collapsed and up when open. */
  min-width: 200px;
}
.seo-toggle svg {
  transform: rotate(90deg);
  transition: transform 220ms ease;
}
.seo-toggle[aria-expanded="true"] svg {
  transform: rotate(-90deg);
}

@media (max-width: 768px) {
  .section-seo .container { max-width: none; }
  .seo-copy { font-size: var(--fs-base); }
  .seo-copy h2 { font-size: var(--fs-2xl); }
  .seo-copy h3 { font-size: var(--fs-lg); }
  .seo-copy--collapsed { max-height: 220px; }
}

/* === Error pages === */

/* Shared shell */
.error-page {
  padding: var(--s-11) 0 var(--s-10);
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
}
.error-page .container { width: 100%; }
.error-page__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-6);
}

/* Large code badge */
.error-page__badge {
  font-family: var(--ff-mono);
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--c-accent);
  /* Subtle tint behind the number */
  background: rgba(227, 6, 19, 0.06);
  border-radius: var(--r-xl);
  padding: var(--s-4) var(--s-7);
  border: 1px solid rgba(227, 6, 19, 0.12);
}
.error-page__badge--warn {
  color: var(--c-warn);
  background: rgba(217, 119, 6, 0.07);
  border-color: rgba(217, 119, 6, 0.15);
}

/* Heading + lead */
.error-page__title {
  font-size: var(--fs-3xl);
  letter-spacing: -0.025em;
  margin: 0;
}
.error-page__lead {
  font-size: var(--fs-md);
  color: var(--c-muted);
  line-height: var(--lh-loose);
  max-width: 50ch;
}

/* Search bar (404 only) */
.error-page__search { width: 100%; max-width: 520px; }
.error-search-bar {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  padding: 0 var(--s-2) 0 var(--s-4);
  height: 52px;
  box-shadow: var(--sh-sm);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.error-search-bar:focus-within {
  border-color: var(--c-ink);
  box-shadow: 0 0 0 3px rgba(11, 18, 32, 0.08);
}
.error-search-bar__icon { color: var(--c-muted); display: inline-flex; flex-shrink: 0; }
.error-search-bar__input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: var(--fs-base);
  color: var(--c-ink);
}
.error-search-bar__input::placeholder { color: var(--c-muted-2); }

/* Category chips (404 only) */
.error-cats { width: 100%; }
.error-cats__label {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  margin-bottom: var(--s-3);
}
.error-cats__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  justify-content: center;
}
.error-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink-2);
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.error-cat-chip:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: rgba(227, 6, 19, 0.04);
  text-decoration: none;
}
.error-cat-chip__icon { display: inline-flex; }

/* Status info box (500 only) */
.error-status-box {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  text-align: left;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-6);
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  line-height: var(--lh-loose);
  max-width: 520px;
  width: 100%;
}
.error-status-box__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--c-muted);
  margin-top: 2px;
}

/* CTA row */
.error-page__actions {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--s-3);
}
.error-page__actions .btn { min-width: 220px; }

/* Responsive */
@media (max-width: 640px) {
  .error-page {
    padding: var(--s-10) 0 var(--s-9);
    align-items: flex-start;
  }
  .error-page__badge {
    font-size: 72px;
    padding: var(--s-3) var(--s-6);
  }
  .error-page__title { font-size: var(--fs-2xl); }
  .error-page__actions { flex-direction: column; width: 100%; }
  .error-page__actions .btn { width: 100%; justify-content: center; }
  .error-search-bar { height: 48px; }
}

/* === Dropdown + Tooltip === */

/* ---- Dropdown ---- */
.dropdown {
  position: relative;
  display: inline-flex;
}

/* The trigger is an .icon-btn; no extra sizing needed */
.dropdown-trigger {
  cursor: pointer;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: var(--s-2) 0;
  list-style: none;
  margin: 0;
  z-index: 200;
  /* Entrance animation */
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

/* JS-driven open state */
.dropdown-panel:not([hidden]) {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Remove the browser default hidden-attribute display:none so our
   CSS animation can play.  Panel is hidden via opacity + pointer-events. */
.dropdown-panel[hidden] {
  display: block !important;
}

/* Reset inherited colors from dark header context. The panel is always on a
   light surface, so force ink-2 here and let .dropdown-item rules win for items. */
.dropdown-panel {
  background: var(--c-surface, #FFFFFF);
  color: var(--c-ink-2);
}

.dropdown-item,
.dropdown-item * {
  color: var(--c-ink-2);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  font-size: var(--fs-sm);
  white-space: nowrap;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}

.dropdown-item:hover,
.dropdown-item:focus-visible,
.dropdown-item:hover *,
.dropdown-item:focus-visible * {
  color: var(--c-ink);
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
  background: var(--c-bg-alt);
  text-decoration: none;
  outline: none;
}

/* Keyboard-focus ring inside the panel */
.dropdown-item:focus-visible {
  box-shadow: inset 0 0 0 2px var(--c-accent);
  border-radius: var(--r-sm);
}

.dropdown-item-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--c-muted);
}

.dropdown-divider {
  height: 1px;
  background: var(--c-border);
  margin: var(--s-1) 0;
}

/* On the dark header the panel should keep light surface colors */
.header .dropdown-panel {
  background: var(--c-surface);
  color: var(--c-ink);
}

/* ---- Tooltip ---- */
/* Applied via data-tooltip="..." data-tooltip-pos="top|bottom|left|right" */

[data-tooltip] {
  position: relative;
}

/* Tooltip bubble */
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 8px);
  background: var(--c-ink);
  color: #fff;
  font-size: var(--fs-xs);
  font-family: var(--ff-sans);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  padding: 5px 9px;
  border-radius: var(--r-sm);
  pointer-events: none;
  z-index: 300;
  opacity: 0;
  transition: opacity 140ms ease, transform 140ms ease;
  transform: translateX(-50%) translateY(4px);
}

/* Arrow pointing down (tooltip above element) */
[data-tooltip]::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 2px);
  border: 5px solid transparent;
  border-top-color: var(--c-ink);
  pointer-events: none;
  z-index: 300;
  opacity: 0;
  transition: opacity 140ms ease;
}

/* Show on hover and focus-visible */
[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
[data-tooltip]:hover::before,
[data-tooltip]:focus-visible::before {
  opacity: 1;
}

/* Position variant: bottom */
[data-tooltip][data-tooltip-pos="bottom"]::after {
  bottom: auto;
  top: calc(100% + 8px);
  transform: translateX(-50%) translateY(-4px);
}
[data-tooltip][data-tooltip-pos="bottom"]:hover::after,
[data-tooltip][data-tooltip-pos="bottom"]:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}
[data-tooltip][data-tooltip-pos="bottom"]::before {
  bottom: auto;
  top: calc(100% + 2px);
  border-top-color: transparent;
  border-bottom-color: var(--c-ink);
}

/* Position variant: left */
[data-tooltip][data-tooltip-pos="left"]::after {
  bottom: auto;
  top: 50%;
  left: auto;
  right: calc(100% + 10px);
  transform: translateY(-50%) translateX(4px);
}
[data-tooltip][data-tooltip-pos="left"]:hover::after,
[data-tooltip][data-tooltip-pos="left"]:focus-visible::after {
  transform: translateY(-50%) translateX(0);
}
[data-tooltip][data-tooltip-pos="left"]::before {
  bottom: auto;
  top: 50%;
  left: auto;
  right: calc(100% + 0px);
  transform: translateY(-50%);
  border-top-color: transparent;
  border-left-color: var(--c-ink);
}

/* Position variant: right */
[data-tooltip][data-tooltip-pos="right"]::after {
  bottom: auto;
  top: 50%;
  left: calc(100% + 10px);
  transform: translateY(-50%) translateX(-4px);
}
[data-tooltip][data-tooltip-pos="right"]:hover::after,
[data-tooltip][data-tooltip-pos="right"]:focus-visible::after {
  transform: translateY(-50%) translateX(0);
}
[data-tooltip][data-tooltip-pos="right"]::before {
  bottom: auto;
  top: 50%;
  left: calc(100% + 0px);
  transform: translateY(-50%);
  border-top-color: transparent;
  border-right-color: var(--c-ink);
}

/* Suppress tooltips on touch-only devices (no hover) */
@media (hover: none) {
  [data-tooltip]::after,
  [data-tooltip]::before { display: none; }
}

/* === Search suggestions panel === */

.search-wrap {
  flex: 1;
  max-width: 580px;
  position: relative;
  display: flex;
  align-items: center;
}

/* Allow the form to fill the wrapper */
.search-wrap .search-bar {
  flex: 1;
  max-width: none;
}

.search-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  z-index: 150;
  overflow: hidden;
  display: none;
}

.search-panel.is-open {
  display: block;
}

.search-panel-section {
  padding: var(--s-2) 0;
}

.search-panel-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-xxs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  padding: var(--s-1) var(--s-4) var(--s-1);
  margin: 0;
}

.search-panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-panel-item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2) var(--s-4);
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  text-decoration: none;
  transition: background 100ms ease, color 100ms ease;
}

.search-panel-item:hover {
  background: var(--c-bg-alt);
  color: var(--c-ink);
  text-decoration: none;
}

.search-panel-item svg { flex-shrink: 0; color: var(--c-muted); }

.search-panel-divider {
  height: 1px;
  background: var(--c-border);
  margin: var(--s-1) 0;
}

/* === EU Reifenlabel panel === */

/* "Mehr Informationen" text link on product card - small, unobtrusive */
.card-mehr-info {
  padding: 6px 0 2px;
  border-top: 1px solid var(--c-border);
  margin-top: 4px;
}
.card-mehr-info-link {
  font-size: 11px;
  color: var(--c-muted);
  text-decoration: underline;
  text-decoration-color: var(--c-border-strong);
  text-underline-offset: 2px;
  transition: color 120ms ease;
}
.card-mehr-info-link:hover {
  color: var(--c-accent);
  text-decoration-color: var(--c-accent);
  text-decoration: underline;
}

/* Full EU info panel on the product detail page */
.eu-info-panel {
  margin-top: var(--s-9);
  padding-top: var(--s-7);
  border-top: 1px solid var(--c-border);
}

.eu-info-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
  flex-wrap: wrap;
}
.eu-info-head .eyebrow { display: block; margin-bottom: var(--s-2); }
.eu-info-title { font-size: var(--fs-2xl); margin-top: 0; }

/* Three category boxes */
.eu-info-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-6);
}

.eu-info-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.eu-info-box-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-xxs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

/* Grade chip reuses .e .e-* color rules; add sizing override */
.eu-info-box-chip {
  display: inline-flex;
  align-items: baseline;
  padding: 6px 18px;
  border-radius: var(--r-sm);
  font-family: var(--ff-mono);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  align-self: flex-start;
}

/* Noise chip is neutral (no A-E color mapping) */
.eu-info-noise-chip {
  background: var(--c-ink-2);
  gap: 4px;
}
.eu-info-noise-unit {
  font-size: 14px;
  font-weight: 400;
}

.eu-info-box-desc {
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  line-height: var(--lh-normal);
}

/* Data rows table */
.eu-info-table {
  width: 100%;
  max-width: 720px;
  border-collapse: collapse;
}
.eu-info-table tr { border-bottom: 1px solid var(--c-border); }
.eu-info-table td { padding: 12px 0; font-size: var(--fs-base); }
.eu-info-table td:first-child {
  color: var(--c-muted);
  width: 42%;
  padding-right: var(--s-5);
}
.eu-info-table td:last-child {
  font-family: var(--ff-mono);
  color: var(--c-ink);
  font-weight: 500;
  font-size: var(--fs-sm);
}
.eu-info-table td:last-child a {
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.eu-info-table td:last-child a:hover { color: var(--c-accent); }

@media (max-width: 1024px) {
  .eu-info-boxes { grid-template-columns: 1fr; }
  .eu-info-head { align-items: flex-start; flex-direction: column; }
}

.search-panel-configurator {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  color: var(--c-ink);
  text-decoration: none;
  transition: background 100ms ease;
}

.search-panel-configurator:hover {
  background: var(--c-bg-alt);
  text-decoration: none;
}

.search-panel-configurator svg:first-child { flex-shrink: 0; color: var(--c-accent); }
.search-panel-configurator svg:last-child { margin-left: auto; color: var(--c-muted); }

.search-panel-configurator span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}

.search-panel-configurator strong { font-size: var(--fs-sm); font-weight: 600; }
.search-panel-configurator small { font-size: var(--fs-xs); color: var(--c-muted); }

/* === Cart popup (drawer) === */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 96vw);
  background: var(--c-surface);
  z-index: 310;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(0,0,0,.18);
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(.4,0,.2,1);
}

.cart-popup.is-open {
  transform: translateX(0);
}

/* Header */
.cart-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-5) var(--s-5) var(--s-4);
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}

.cart-popup-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.cart-popup-count {
  color: var(--c-muted);
  font-weight: 500;
}

/* Body */
.cart-popup-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--s-4) var(--s-5);
}

/* Empty state */
.cart-popup-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  padding: var(--s-9) 0;
  text-align: center;
}

.cart-popup-empty-icon { color: var(--c-muted-2); display: inline-flex; }
.cart-popup-empty-text { font-size: var(--fs-md); color: var(--c-muted); margin: 0; }

/* Item list */
.cart-popup-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.cart-popup-item {
  display: flex;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-border);
}

.cart-popup-item:last-child { border-bottom: 0; }

.cart-popup-img {
  width: 72px;
  height: 72px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg-alt);
}

.cart-popup-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-popup-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cart-popup-brand {
  font-size: var(--fs-xxs);
  font-family: var(--ff-mono);
  letter-spacing: 0.06em;
  color: var(--c-muted);
}

.cart-popup-model {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-popup-size {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  font-family: var(--ff-mono);
}

.cart-popup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--s-2);
}

/* Qty control */
.cart-popup-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  height: 30px;
}

.cart-popup-qty .qty-btn {
  width: 28px;
  height: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--c-ink);
}

.cart-popup-qty .qty-btn:hover { background: var(--c-bg-alt); }
.cart-popup-qty .qty-val { font-family: var(--ff-mono); font-size: 13px; font-weight: 600; padding: 0 6px; min-width: 24px; text-align: center; }

.cart-popup-line {
  font-family: var(--ff-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-ink);
}

/* Footer */
.cart-popup-foot {
  padding: var(--s-4) var(--s-5) var(--s-5);
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex-shrink: 0;
}

.cart-popup-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.cart-popup-subtotal-val {
  font-family: var(--ff-mono);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--c-ink);
}

.cart-popup-delivery {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--c-success-dk);
  font-weight: 500;
  background: var(--c-success-soft);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-md);
}

/* === Wishlist === */

.wishlist-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-5);
  padding: var(--s-10) 0 var(--s-9);
  text-align: center;
}

.wishlist-empty-icon {
  display: inline-flex;
  color: var(--c-muted-2);
}

.wishlist-empty h2 {
  font-size: var(--fs-2xl);
  margin: 0;
}

.wishlist-empty p {
  font-size: var(--fs-md);
  color: var(--c-muted);
  max-width: 42ch;
  line-height: var(--lh-normal);
}


/* === Auth pages === */

.auth-page {
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--s-8) var(--s-4);
  gap: var(--s-5);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
.auth-card--wide { max-width: 520px; }

.auth-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  text-align: center;
}
.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 700;
  font-size: var(--fs-lg);
  letter-spacing: -0.02em;
  color: var(--c-ink);
  text-decoration: none;
  margin-bottom: var(--s-2);
}
.auth-logo:hover { text-decoration: none; }
.auth-card__title { font-size: var(--fs-2xl); letter-spacing: -0.025em; margin: 0; }
.auth-card__sub { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }

.auth-form { display: flex; flex-direction: column; gap: var(--s-5); }

.auth-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }

.auth-required { color: var(--c-accent); }

.auth-hint { font-size: var(--fs-xs); color: var(--c-muted); line-height: 1.4; }

.auth-pw-wrap { position: relative; }
.auth-pw-wrap .input { padding-right: 44px; }
.auth-pw-toggle {
  position: absolute; right: 0; top: 0;
  height: 44px; width: 44px;
  background: transparent; border: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-muted); cursor: pointer;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.auth-pw-toggle:hover { color: var(--c-ink); }

.auth-row-apart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.auth-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  cursor: pointer;
  line-height: 1.5;
}
.auth-checkbox-label .checkbox { margin-top: 2px; flex-shrink: 0; }

.auth-checks {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}

/* .input--error / .select--error live in tokens.css.
   .auth-field-error is an alias of .field-error (also in tokens.css). */
.auth-field-error {
  font-size: var(--fs-xs);
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

.auth-submit { margin-top: var(--s-1); }

.auth-link { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.auth-link:hover { color: var(--c-accent); }
.auth-link--strong { font-weight: 600; }

.auth-alt { text-align: center; font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }

.auth-trust {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  flex-wrap: wrap;
  justify-content: center;
}
.auth-trust__item { display: inline-flex; align-items: center; gap: 5px; }
.auth-trust__item svg { flex-shrink: 0; }
.auth-trust__dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--c-muted-2);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .auth-card { padding: var(--s-6); }
  .auth-name-row { grid-template-columns: 1fr; }
  .auth-row-apart { flex-direction: column; align-items: flex-start; }
}


/* === Checkout 1-page === */

.co-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--s-8);
  align-items: start;
  padding-top: var(--s-5);
  padding-bottom: var(--s-9);
}

.co-main { display: flex; flex-direction: column; gap: var(--s-5); }

.co-section {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.co-section__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-5) var(--s-6);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg-alt);
}

.co-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-ink);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  flex-shrink: 0;
}

.co-section__title { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.01em; margin: 0; }

.co-section__body { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); }

.co-name-row,
.co-city-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }

.co-street-row { display: grid; grid-template-columns: 1fr 100px; gap: var(--s-4); }

.co-req { color: var(--c-accent); }

.co-radio-group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }

.co-radio-card { display: block; cursor: pointer; }
.co-radio-card input[type=radio] { position: absolute; opacity: 0; width: 0; height: 0; }

.co-radio-card__inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border: 1.5px solid var(--c-border-strong);
  border-radius: var(--r-md);
  background: var(--c-surface);
  transition: border-color 120ms ease, background 120ms ease;
}
.co-radio-card:hover .co-radio-card__inner { border-color: var(--c-ink); background: var(--c-bg-alt); }
.co-radio-card--selected .co-radio-card__inner {
  border-color: var(--c-ink);
  background: var(--c-bg-alt);
  box-shadow: 0 0 0 2px rgba(11, 18, 32, 0.08);
}
.co-radio-card input[type=radio]:focus-visible + .co-radio-card__inner {
  outline: 2px solid var(--c-ink);
  outline-offset: 2px;
}

.co-radio-card__icon {
  display: inline-flex; flex-shrink: 0;
  color: var(--c-muted);
  width: 24px; justify-content: center;
}
.co-radio-card__icon--pay svg,
.co-radio-card__icon--pay img { width: 40px; height: 26px; object-fit: contain; }

.co-radio-card__content { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-base); }
.co-radio-card__detail { font-size: var(--fs-xs); color: var(--c-muted); }
.co-radio-card__price { margin-left: auto; flex-shrink: 0; }

.co-agb-block {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.co-consent-text { font-size: var(--fs-xs); color: var(--c-muted); line-height: 1.6; margin: 0; }

.co-submit-mobile { display: none; }

.co-aside {
  position: sticky;
  top: calc(var(--topbar-h) + 100px + var(--s-4));
}

.co-summary { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); }

.co-summary__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-border);
  margin: 0;
}

.co-summary__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-4); }
.co-item { display: flex; align-items: center; gap: var(--s-3); }
.co-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.co-item__name { font-size: var(--fs-sm); font-weight: 500; color: var(--c-ink); line-height: 1.35; }
.co-item__meta { font-size: var(--fs-xs); color: var(--c-muted); font-family: var(--ff-mono); }
.co-item__price { font-family: var(--ff-mono); font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); white-space: nowrap; flex-shrink: 0; }

.co-summary__totals { border-top: 1px solid var(--c-border); padding-top: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); }
.co-total-row { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-sm); color: var(--c-muted); gap: var(--s-2); }
.co-total-row--main { font-size: var(--fs-base); color: var(--c-ink); margin-top: var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--c-border-strong); }
.co-mwst { display: block; font-size: var(--fs-xxs); font-family: var(--ff-mono); color: var(--c-muted); letter-spacing: 0.03em; }
.co-free { color: var(--c-success-dk); }
.co-grand-total { font-size: var(--fs-xl); letter-spacing: -0.02em; }

.co-buy-btn { margin-top: var(--s-1); }
.co-secure-note { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: var(--fs-xs); color: var(--c-muted); text-align: center; margin: 0; }
.co-secure-note svg { flex-shrink: 0; }

.co-pay-icons { display: flex; align-items: center; justify-content: center; gap: var(--s-2); flex-wrap: wrap; padding-top: var(--s-4); border-top: 1px solid var(--c-border); }
.co-pay-icon { display: inline-flex; flex-shrink: 0; }
.co-pay-icon svg { width: 36px; height: 23px; display: block; }

@media (max-width: 1024px) {
  .co-wrap { grid-template-columns: 1fr; }
  .co-aside { position: static; order: -1; }
}

@media (max-width: 768px) {
  .co-section__body { padding: var(--s-4); }
  .co-name-row,
  .co-city-row { grid-template-columns: 1fr; }
  .co-street-row { grid-template-columns: 1fr 80px; }
  .co-aside { order: 1; }
  .co-buy-btn { display: none; }
  .co-submit-mobile { display: block; }
  .co-wrap { padding-top: var(--s-3); gap: var(--s-4); }
}

/* === Stretched link for product-card (fixes nested-anchor HTML breakage) === */
.product-card { position: relative; }
.product-card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; text-decoration: none; }
.product-card-link:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; }
.product-card .cart-btn,
.product-card .card-mehr-info-link { position: relative; z-index: 2; }

/* === Universal interactive states audit === */

/* ---- 1. Links ---- */

/* Breadcrumb links: shift to accent on hover for clearer affordance.
   Global a:hover gives underline already; we only need the color. */
.breadcrumbs a:hover { color: var(--c-accent); text-decoration: none; }
.breadcrumbs a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 2px; }

/* Breadcrumb links in catalog.css override hover to var(--c-ink) (line 16).
   The rule above overrides that with accent. No conflict - specificity identical,
   this block is appended later so it wins. */

/* FAQ figure caption link: missing hover entirely. */
.faq-figure figcaption a:hover { color: var(--c-accent); text-decoration: none; }
.faq-figure figcaption a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 2px; }

/* Product spec card "Was bedeutet das?" link */
.pd-spec-card-head a:hover { color: var(--c-accent); text-decoration: none; }
.pd-spec-card-head a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 2px; }

/* Product variants "Alle Varianten" link */
.pd-variants-head a:hover { color: var(--c-accent); text-decoration: none; }
.pd-variants-head a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 2px; }

/* Catalog empty-state fallback link (inline, no class) */
.results a:not([class]):hover { color: var(--c-accent); }

/* Static-nav: focus ring was missing */
.static-nav a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* ---- 2. Buttons ---- */

/* lang-switch buttons (footer): hover = white bg, ink text */
.lang-switch button { cursor: pointer; transition: background 140ms ease, color 140ms ease, border-color 140ms ease; }
.lang-switch button:not(.active):hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.lang-switch button:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* qty-preset buttons on product page: missing hover */
.qty-preset { cursor: pointer; transition: background 140ms ease, border-color 140ms ease, color 140ms ease; }
.qty-preset:not(.active):hover { background: var(--c-border); border-color: var(--c-border-strong); color: var(--c-ink); }
.qty-preset:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* qty +/- buttons (product.css): missing cursor + hover */
.qty button { cursor: pointer; transition: background 120ms ease; }
/* .qty button:hover already in site.css line 1069; product.css overrides without hover.
   This rule re-adds it for product.css context (later in cascade wins). */
.qty button:hover { background: var(--c-bg-alt); }
.qty button:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; }

/* accordion summary: hover background signal */
.accordion-item summary:hover { background: var(--c-bg-alt); }
.accordion-item summary:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; border-radius: var(--r-md); }

/* seo-toggle inherits .btn.btn-secondary which already has hover; just ensure focus ring */
.seo-toggle:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* cart-popup-close is .icon-btn - already handled; add active press feedback */
.cart-popup-close:active { transform: scale(0.92); }

/* pd-tab-list <a> tabs: already have hover in site.css (line 1126). Add focus ring. */
.pd-tab-list a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; border-radius: 2px; }

/* pd-tab-list <button> tabs (product.css): missing cursor + hover entirely */
.pd-tab-list button { cursor: pointer; transition: color 140ms ease, border-color 140ms ease; }
.pd-tab-list button:not(.active):hover { color: var(--c-ink); }
.pd-tab-list button:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; border-radius: 2px; }

/* ---- 3. Form controls ---- */

/* .input, .select, .textarea hover: border shifts to a stronger tone */
.input:hover, .select:hover, .textarea:hover { border-color: var(--c-ink); }
/* focus already defined in tokens.css; hover must not fight it */
.input:focus:hover, .select:focus:hover, .textarea:focus:hover { border-color: var(--c-ink); }

/* .checkbox and .radio: missing cursor */
.checkbox, .radio { cursor: pointer; }

/* size-grid selects in catalog sidebar (bare <select>, not .select class) */
.size-grid select { cursor: pointer; }
.size-grid select:hover { border-color: var(--c-ink); }

/* ---- 4. Clickable card-like surfaces ---- */

/* .promo banners: only had text-decoration:none on hover; add lift + brightness */
.promo { transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease; }
.promo:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); filter: brightness(1.04); text-decoration: none; }
.promo:focus-visible { outline: 2px solid rgba(255,255,255,.8); outline-offset: 3px; border-radius: var(--r-xl); }

/* .news-card: has lift+shadow already; add focus ring */
.news-card:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: var(--r-lg); }

/* .review-card: purely display (not a link); no hover needed - intentional. */

/* ---- 5. Tabs (already covered in section 2 above) ---- */

/* ---- 6. Filter / chip elements ---- */

/* .eu-grade chips: had cursor:pointer but no visual hover */
.eu-grade { transition: background 120ms ease, color 120ms ease, border-color 120ms ease; }
.eu-grade:not(.on):hover { background: var(--c-border-strong); color: var(--c-ink); border-color: var(--c-ink); cursor: pointer; }
.eu-grade:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* .chip (applied filters): no cursor or hover currently */
.chip { cursor: default; }
.chip button { cursor: pointer; transition: color 120ms ease, background 120ms ease; color: var(--c-muted-2); border-radius: var(--r-sm); }
.chip button:hover { color: var(--c-accent); background: rgba(227,6,19,.08); }
.chip button:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 1px; }

/* .season-toggle <a> links (catalog page): has hover for color, add focus ring */
.season-toggle a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; border-radius: 4px; }

/* .season-toggle <button> elements (catalog.css, no hover): add hover + cursor */
.season-toggle button { cursor: pointer; transition: background 120ms ease, color 120ms ease; }
.season-toggle button:not(.active):hover { background: rgba(255,255,255,.6); color: var(--c-ink); }
.season-toggle button:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; border-radius: 4px; }

/* .layout-toggle <a> (site.css): has hover for color; add focus ring */
.layout-toggle a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; border-radius: 3px; }

/* .layout-toggle <button> (catalog.css): missing cursor + hover */
.layout-toggle button { cursor: pointer; transition: background 120ms ease, color 120ms ease; }
.layout-toggle button:not(.active):hover { background: var(--c-bg-alt); color: var(--c-ink); }
.layout-toggle button:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; border-radius: 3px; }

/* .pagination <button> (catalog.css): missing cursor + hover */
.pagination button { cursor: pointer; transition: background 120ms ease, color 120ms ease, border-color 120ms ease; }
.pagination button:not(.active):not(:disabled):hover { background: var(--c-bg-alt); color: var(--c-ink); }
.pagination button:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.pagination button:disabled { cursor: not-allowed; }

/* .cart-qty buttons (cart.css): missing cursor */
.cart-qty button { cursor: pointer; transition: background 120ms ease; }
.cart-qty button:hover { background: var(--c-bg-alt); }
.cart-qty button:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; }

/* ---- 7. Dropdown / popup (already complete) ---- */
/* .dropdown-item: has hover + focus-visible already (site.css lines 1585-1597). */
/* .cart-popup-qty .qty-btn: has hover already (site.css line 2147). */

/* ---- 8. Subnav (mostly done) ---- */
/* .subnav a.accent:hover keeps accent color - intentional (site.css line 2373).
   Add focus ring for keyboard a11y. */
.subnav a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 2px; }

/* ---- 9. Icon-only triggers (already complete) ---- */
/* .icon-btn: has hover + cursor already (site.css lines 124, 2345). */
/* .search-bar .badge: not clickable; no treatment needed. */

/* ---- 10. data-* interaction hooks ---- */
/* [data-cart-trigger]: is .icon-btn - covered. */
/* [data-tab]: is .pd-tab-list a - covered in section 5. */
/* [data-dropdown]: is .icon-btn - covered. */
/* [data-seo-toggle]: is .btn.btn-secondary - covered by .btn hover. */
/* [data-tooltip]: purely presentational; the element behind it handles cursor. */

/* ---- Global focus ring for .btn (was missing explicit :focus-visible) ---- */
.btn:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* ---- Disabled form controls ---- */
.input:disabled, .select:disabled, .textarea:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* ---- cart-popup close icon-btn: already .icon-btn, focus-visible via .icon-btn rules in tokens.
   Tokens.css does not define focus-visible for .icon-btn; add it here. ---- */
.icon-btn:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* === Review form (product page) === */
.review-form {
  margin: var(--s-7) 0 var(--s-9);
  padding: var(--s-7);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  scroll-margin-top: 100px;
}
.review-form[hidden] { display: none; }
.review-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: var(--s-4);
}
.review-form-head h3 { margin: 0; font-size: var(--fs-xl); }
.review-form-close { color: var(--c-muted); }
.review-form-close:hover { color: var(--c-ink); background: var(--c-bg-alt); }
.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
@media (max-width: 640px) {
  .review-form { padding: var(--s-5); }
  .review-form-grid { grid-template-columns: 1fr; }
}
.review-form-actions {
  display: flex;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-border);
}

/* Star-rating radio group */
.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}
.star-rating input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.star-rating label {
  cursor: pointer;
  color: var(--c-border-strong);
  transition: color 120ms ease, transform 120ms ease;
  display: inline-flex;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: var(--c-gold);
}
.star-rating label:hover { transform: scale(1.1); }
.star-rating input:focus-visible + label { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }

/* Home - reviews slider (Swiper) */
.aw-reviews-slider .swiper { overflow: hidden; }
.aw-reviews-slider .swiper-wrapper { display: flex; align-items: stretch; }
.aw-reviews-slider .swiper-slide { height: auto; display: flex; }
.aw-reviews-slider .swiper-slide > article { width: 100%; }
.aw-reviews-pagination .swiper-pagination-bullet {
    width: 8px; height: 8px; border-radius: 999px;
    background: var(--c-border-strong); opacity: 1;
    transition: all 200ms ease; cursor: pointer;
    display: inline-block;
}
.aw-reviews-pagination .swiper-pagination-bullet-active {
    background: var(--c-accent); width: 24px; border-radius: 4px;
}
/* Footer column heading: restore mb-4 (tokens.css :where(h4) margin:0 wins over Tailwind utility because tokens is unlayered and main.css mb-4 lives in @layer utilities). */
footer h4.mb-4 { margin-bottom: 1rem; }

.aw-reviews-prev,
.aw-reviews-next {
    color: var(--c-ink);
    box-shadow: 0 4px 12px rgba(11, 18, 32, 0.10), 0 1px 3px rgba(11, 18, 32, 0.08);
}
.aw-reviews-prev:hover,
.aw-reviews-next:hover {
    box-shadow: 0 6px 16px rgba(11, 18, 32, 0.14), 0 2px 4px rgba(11, 18, 32, 0.10);
}
.aw-reviews-prev:disabled,
.aw-reviews-next:disabled,
.aw-reviews-prev.swiper-button-disabled,
.aw-reviews-next.swiper-button-disabled {
    opacity: 0.55; cursor: not-allowed; pointer-events: none;
}

#pd-tab-list a {
    color: var(--c-muted);
    border-bottom-color: transparent;
    transition: color .15s, border-color .15s;
}
#pd-tab-list a.active {
    color: var(--c-ink);
    font-weight: 700;
    border-bottom-color: var(--c-accent);
}

/* ============================================================
   Mobile chrome fixes (task-0278)
   ============================================================ */
/* Kill horizontal-scroll leaks from off-canvas drawers (cart/nav) and swiper
   carousels. overflow-x: clip (not hidden) so the sticky header is unaffected.
   html clips the viewport scroll incl. position:fixed off-canvas drawers;
   body clips in-flow overflow (carousels). */
html { overflow-x: clip; }
body { overflow-x: clip; }

/* Sticky footer: short pages (e.g. success / contact confirmation) keep the
   footer pinned to the bottom of the viewport instead of leaving the body
   background (and the floating GDPR widget) showing below it. */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main { flex: 1 0 auto; }
body > footer { flex-shrink: 0; }

/* Larger, well-spaced footer link tap targets on phone/tablet */
@media (max-width: 1023px) {
  footer li > a { display: inline-block; padding: 7px 0; }
}

/* ============================================================
   PDP mobile fixes (task-0280)
   ============================================================ */
/* Tab strip (#pd-tab-list already scrolls): smaller tabs on phone so more fit */
@media (max-width: 640px) {
  #pd-tab-list a { padding: 12px 12px; font-size: 13px; }
}
/* Quantity preset buttons: meet 40px tap target on phone/tablet */
@media (max-width: 1023px) {
  .qty-preset { min-height: 40px; }
}

/* ============================================================
   Mobile tap targets (task-0284 / task-0282)
   ============================================================ */
@media (max-width: 1023px) {
  .select, .ts-control { min-height: 40px; }
  .error-cat-chip { min-height: 40px; display: inline-flex; align-items: center; }
}
