/* ==========================================================================
   SEASON TOGGLE BUTTON
   ========================================================================== */
.season-toggle-btn {
  position: relative;
}

.season-toggle-btn svg {
  transition: transform 0.3s ease;
}

.season-toggle-btn:hover svg {
  transform: rotate(30deg);
}

/* ==========================================================================
   HIGH CONTRAST MODE
   ========================================================================== */
html.high-contrast {
  filter: contrast(1.35) brightness(1.1);
}

html.high-contrast body {
  --color-gray-400: #b0b0b0;
  --color-gray-500: #999;
  --color-gray-600: #888;
}

/* ==========================================================================
   HERO WINTER OVERLAY
   ========================================================================== */
.hero-winter-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none; /* hidden by default */
}

.hero-winter-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  mix-blend-mode: screen;
}

body.is-winter .hero-winter-overlay {
  display: block;
}

/* ==========================================================================
   HERO BADGE DOT – season-dependent color
   ========================================================================== */
body.is-winter .hero-badge-dot {
  background: #60a5fa; /* blue-400 */
  box-shadow: 0 0 8px 2px rgba(96,165,250,0.4);
}

body.is-summer .hero-badge-dot {
  background: #eab308; /* yellow-500 */
  box-shadow: 0 0 8px 2px rgba(234,179,8,0.4);
}

/* ==========================================================================
   KONFIGURATOR PARTICLES / SNOWFLAKES
   ========================================================================== */
.konfigurator-particles {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.konfigurator-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation-fill-mode: forwards;
}

/* Summer: warm floating particles */
.konfigurator-particle--summer {
  background: rgba(234, 179, 8, 0.35);
  animation-name: floatParticle;
  animation-timing-function: ease-in-out;
}

/* Winter: snowflakes */
.konfigurator-particle--winter {
  background: rgba(255, 255, 255, 0.5);
  animation-name: fallSnowflake;
  animation-timing-function: linear;
}

@keyframes floatParticle {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(0.5);
  }
  20% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.4;
    transform: translateY(-60px) translateX(20px) scale(1);
  }
  80% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
    transform: translateY(-120px) translateX(-10px) scale(0.3);
  }
}

@keyframes fallSnowflake {
  0% {
    opacity: 0;
    transform: translateY(-20px) translateX(0) rotate(0deg);
  }
  10% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.5;
    transform: translateY(50vh) translateX(30px) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) translateX(-20px) rotate(360deg);
  }
}

/* ==========================================================================
   PAGE: KONTAKT
   ========================================================================== */
/* ==========================================================================
   VERSAND & ZAHLUNGSBEDINGUNGEN PAGE
   ========================================================================== */
.page-versand {
  background: var(--brand-dark);
  min-height: 100vh;
  padding: 10rem 0 5rem;
}

.versand-header {
  margin-bottom: 3rem;
  max-width: 44rem;
}

.versand-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.versand-title span {
  color: var(--brand-accent, #d1d5db);
}

.versand-subtitle {
  font-size: 1rem;
  color: var(--color-gray-400);
  line-height: 1.7;
  max-width: 36rem;
}

/* Highlight Badges */
.versand-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .versand-highlights {
    grid-template-columns: repeat(3, 1fr);
  }
}

.versand-highlight-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.versand-highlight-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.versand-highlight-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.versand-highlight-icon--green {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  color: #22c55e;
}

.versand-highlight-icon--blue {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  color: #3b82f6;
}

.versand-highlight-icon--accent {
  background: rgba(209,213,219,0.08);
  border: 1px solid rgba(209,213,219,0.15);
  color: var(--brand-accent, #d1d5db);
}

.versand-highlight-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.125rem;
}

.versand-highlight-desc {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

/* Main Grid */
.versand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .versand-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Section Cards */
.versand-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.25rem;
  padding: 2rem;
}

.versand-section-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}

.versand-section-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent, #d1d5db);
  flex-shrink: 0;
}

.versand-section-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
}

.versand-section-desc {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Payment Method Cards */
.versand-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.versand-method-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.875rem;
  transition: all 0.25s ease;
}

.versand-method-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

.versand-method-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-300);
  flex-shrink: 0;
}

.versand-method-content h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.versand-method-content p {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  line-height: 1.6;
}

/* Payment Logos */
.versand-payment-logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.75rem;
}

.versand-payment-logos img {
  height: 0.875rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.versand-payment-logos:hover img {
  opacity: 0.7;
}

/* Shipping Cards */
.versand-shipping-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .versand-shipping-grid {
    grid-template-columns: 1fr;
  }
}

.versand-shipping-card {
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.versand-shipping-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.versand-shipping-card--highlight {
  border-color: rgba(209,213,219,0.15);
  background: rgba(209,213,219,0.04);
}

.versand-shipping-card--highlight:hover {
  border-color: rgba(209,213,219,0.25);
}

.versand-shipping-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gray-400);
  background: rgba(255,255,255,0.06);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.versand-shipping-time {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.versand-shipping-card--highlight .versand-shipping-time {
  color: var(--brand-accent, #d1d5db);
}

.versand-shipping-unit {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-500);
  margin-bottom: 1rem;
}

.versand-shipping-note {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.versand-shipping-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.versand-shipping-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gray-300);
}

.versand-shipping-features li svg {
  width: 14px;
  height: 14px;
  color: #22c55e;
  flex-shrink: 0;
}

/* EU Info */
.versand-eu-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(59,130,246,0.05);
  border: 1px solid rgba(59,130,246,0.12);
  border-radius: 0.875rem;
}

.versand-eu-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: rgba(59,130,246,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  flex-shrink: 0;
}

.versand-eu-info strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  display: block;
  margin-bottom: 0.25rem;
}

.versand-eu-info p {
  font-size: 0.8125rem;
  color: var(--color-gray-400);
  line-height: 1.6;
}

/* Bottom Note */
.versand-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
}

.versand-note-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-500);
  flex-shrink: 0;
}

.versand-note p {
  font-size: 0.8125rem;
  color: var(--color-gray-400);
  line-height: 1.7;
}

.versand-note a {
  color: var(--brand-accent, #d1d5db);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.versand-note a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   PRODUCT CARDS – FF Style (matches Next.js ProductCard)
   ========================================================================== */

/* Grid Layout */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 1200px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

/* Card Base */
.ff-product-card {
  background: var(--brand-gray);
  border-radius: 1rem;
  border: 1px solid var(--color-white-5);
  overflow: hidden;
  transition: all 0.3s;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.ff-product-card:hover {
  border-color: var(--color-white-10);
}

.ff-card-link {
  display: flex;
  flex-direction: column;
  min-height: 475px;
  text-decoration: none !important;
  color: inherit !important;
}

/* Image Container */
.ff-card-image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #151515;
  margin: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-white-5);
  flex-shrink: 0;
  transition: border-color 0.3s;
}

.ff-product-card:hover .ff-card-image-wrap {
  border-color: var(--color-white-10);
}

.ff-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.ff-product-card:hover .ff-card-image {
  transform: scale(1.05);
}

/* Sale Badge */
.ff-card-sale-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Season Icon */
.ff-card-season-icon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  border: 1px solid var(--color-white-10);
}
.ff-card-season-icon .material-symbols-rounded {
  font-size: 18px;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
  line-height: 1;
  color: rgba(255,255,255,0.85);
}

/* ── Saison Modal ─────────────────────────────────────────────────────── */
.ff-saison-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.ff-saison-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.ff-saison-modal {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.25rem;
  padding: 2rem 2rem 2.5rem;
  max-width: 680px;
  width: calc(100% - 2rem);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.ff-saison-modal-overlay.is-open .ff-saison-modal {
  transform: translateY(0);
}
.ff-saison-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-gray-400);
  transition: background 0.2s;
}
.ff-saison-modal-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

.ff-saison-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}
.ff-saison-modal-sub {
  font-size: 0.8125rem;
  color: var(--color-gray-400);
  margin: 0 0 1.5rem;
}
.ff-saison-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.ff-saison-tile {
  border-radius: 0.875rem;
  border: 1.5px solid rgba(255,255,255,0.07);
  padding: 1.25rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  background: rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ff-saison-tile:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}
.ff-saison-tile.is-active {
  border-color: currentColor;
  background: rgba(255,255,255,0.06);
}
.ff-saison-tile--summer { color: #f5c842; }
.ff-saison-tile--summer.is-active { border-color: #f5c842; background: rgba(245,200,66,0.08); }
.ff-saison-tile--winter { color: #7ecfff; }
.ff-saison-tile--winter.is-active { border-color: #7ecfff; background: rgba(126,207,255,0.08); }
.ff-saison-tile--allwetter { color: #5bdb9a; }
.ff-saison-tile--allwetter.is-active { border-color: #5bdb9a; background: rgba(91,219,154,0.08); }

.ff-saison-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.ff-saison-tile-icon .material-symbols-rounded {
  font-size: 28px;
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}
.ff-saison-tile-body strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}
.ff-saison-tile-body > span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-gray-400);
  margin-bottom: 0.5rem;
}
.ff-saison-tile-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.ff-saison-tile-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 0.15rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.15s;
}
.ff-saison-tile-links a:hover { color: #fff; }
/* Header season icon MS sizing */
#season-toggle-btn .material-symbols-rounded {
  font-size: 20px;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
  vertical-align: middle;
}
@media (max-width: 600px) {
  .ff-saison-tiles { grid-template-columns: 1fr; }
  .ff-saison-tile { flex-direction: row; align-items: flex-start; }
  .ff-saison-tile-icon { flex-shrink: 0; }
}

/* Content */
.ff-card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
}

/* Category Meta */
.ff-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}

.ff-card-category {
  font-size: 0.625rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Title */
.ff-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  transition: color 0.3s;
}

.ff-product-card:hover .ff-card-title {
  color: rgba(255,255,255,0.8);
}
.ff-card-spec {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  background: var(--color-white-5);
  border: 1px solid var(--color-white-5);
  border-radius: 0.5rem;
  padding: 0.375rem 0.625rem;
}
/* Footer: Price + Cart */
.ff-card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-white-5);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.ff-card-price-wrap {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ff-card-price-old {
  font-size: 0.55rem;
  color: var(--color-gray-500);
  text-decoration: line-through;
  font-weight: 700;
  order: 2;
}

.ff-card-price-old .woocommerce-Price-amount {
  color: var(--color-gray-500);
}

.ff-card-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
  order: 1;
}

.ff-card-price .woocommerce-Price-amount {
  color: var(--color-white);
}

.ff-card-price .woocommerce-Price-currencySymbol {
  font-size: 0.875rem;
}

/* VAT line under price */
.ff-card-vat {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 0.125rem;
  font-weight: 500;
  order: 3;
  flex-basis: 100%;
}

/* Spec Badges (FELGE / REIFEN) — matches original: bg-white/5 border-white/5 rounded-lg px-2.5 py-1.5 text-[8px] */
.ff-card-specs {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.ff-card-spec-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.375rem 0.625rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  overflow: hidden;
  max-width: 100%;
}

.ff-spec-badge-label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.08em;
}

.ff-spec-badge-value {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.28);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.06em;
}

/* Fitment Badge — status variants */
.ff-card-fitment-badge {
  position: absolute;
  top: auto;
  bottom: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Eintragungsfrei = grün */
.ff-card-fitment-badge--passend {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
}

.ff-card-fitment-badge--passend svg {
  color: #34d399;
}

/* Mit Eintragung = orange */
.ff-card-fitment-badge--eintragung {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

/* Fitment Debug Panel (visible with ?ff_debug) */
.ff-fitment-debug {
  padding: 0.5rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 8px;
  font-family: monospace;
  color: rgba(255, 255, 255, 0.4);
}

.ff-fitment-debug-verdict {
  display: inline-block;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-weight: 700;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.ff-fitment-debug--passend {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.ff-fitment-debug--nicht_passend {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.ff-fitment-debug--unbekannt {
  background: rgba(234, 179, 8, 0.2);
  color: #fde68a;
}

.ff-fitment-debug--mit_eintragung {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.ff-fitment-debug-specs {
  margin-top: 0.125rem;
  line-height: 1.4;
}

/* Cart Button */
.ff-card-cart-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-white-5);
  border: 1px solid var(--color-white-5);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.ff-product-card:hover .ff-card-cart-btn {
  background: var(--color-white);
  color: #000;
  border-color: var(--color-white);
}

/* ── Infinite Scroll ── */
.ff-scroll-sentinel {
  padding: 2rem 0;
  text-align: center;
}

.ff-scroll-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.ff-scroll-spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: ff-spin 0.7s linear infinite;
}

@keyframes ff-spin {
  to { transform: rotate(360deg); }
}

.ff-scroll-end {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ── WooCommerce Shop Page Overrides ── */
.woocommerce .woocommerce-result-count {
  color: var(--color-gray-500);
  font-size: 0.75rem;
}

.woocommerce .woocommerce-ordering select {
  background: var(--brand-gray);
  border: 1px solid var(--color-white-10);
  border-radius: 0.75rem;
  color: var(--color-white);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 0.5rem;
  border: none;
  justify-content: center;
  margin-top: 3rem;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: var(--brand-gray);
  border: 1px solid var(--color-white-5);
  border-radius: 0.5rem;
  color: var(--color-white);
  padding: 0.5rem 0.875rem;
  min-width: 2.25rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--color-white-10);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #000;
}

/* Hide default WooCommerce stuff we don't need */
.woocommerce ul.products li.product > .star-rating,
.woocommerce ul.products li.product > .price,
.woocommerce ul.products li.product > .button,
.woocommerce ul.products li.product > a:not(.ff-card-link) > img,
.woocommerce ul.products li.product > h2.woocommerce-loop-product__title {
  display: none !important;
}

/* Ensure WooCommerce doesn't add its own image/title/button  */
.woocommerce ul.products li.product > a:not(.ff-card-link),
.woocommerce ul.products li.product > .price,
.woocommerce ul.products li.product > .button,
.woocommerce ul.products li.product > .star-rating {
  display: none !important;
}

/* Homepage products grid (non-WooCommerce context) */
.ff-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1200px) {
  .ff-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .ff-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .ff-products-grid {
    grid-template-columns: 1fr;
  }
}

/* WooCommerce list item wrapper — transparent, just passes through */
.ff-product-card-wrap {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  list-style: none;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */
.ff-single-product {
  background: var(--brand-dark);
  min-height: 100vh;
  padding: 5.5rem 0 4rem;
}

/* Breadcrumbs */
.ff-single-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gray-500);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  white-space: nowrap;
  padding: 1rem 0;
}

.ff-single-breadcrumbs a {
  color: var(--color-gray-500);
  text-decoration: none;
  transition: color 0.3s;
}

.ff-single-breadcrumbs a:hover {
  color: var(--color-white);
}

.ff-bc-sep {
  color: var(--color-gray-700, #333);
}

.ff-bc-current {
  color: var(--color-gray-400);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Grid */
.ff-single-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Gallery */
.ff-single-gallery {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ff-single-main-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--brand-gray);
  border-radius: 1rem;
  border: 1px solid var(--color-white-5);
  overflow: hidden;
}

.ff-single-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ff-single-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.ff-single-thumb {
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--color-white-5);
  background: var(--brand-gray);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.ff-single-thumb:hover {
  border-color: rgba(255,255,255,0.2);
}

.ff-single-thumb.active {
  border-color: var(--color-white);
  background: var(--color-white-5);
}

.ff-single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info Column */
.ff-single-info {
  display: flex;
  flex-direction: column;
}

.ff-single-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.ff-single-category {
  font-size: 0.6875rem;
  color: var(--color-gray-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.ff-single-sku {
  font-size: 0.625rem;
  color: var(--color-gray-600, #555);
  font-weight: 500;
}

.ff-single-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

/* Rating + Stock Row */
.ff-single-rating-stock-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.ff-single-stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ff-stars-icons {
  display: flex;
  color: var(--color-gray-700, #374151);
}

.ff-stars-icons svg {
  width: 16px;
  height: 16px;
}

.ff-stars-count {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  font-weight: 700;
}

.ff-single-stock-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.ff-single-stock-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.ff-stock-green {
  color: #22c55e;
}
.ff-stock-green.ff-single-stock-dot {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.ff-stock-red {
  color: #ef4444;
}
.ff-stock-red.ff-single-stock-dot {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.ff-single-stock-text {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Price */
.ff-single-price-block {
  margin-bottom: 2rem;
}

.ff-single-price-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.375rem;
}

.ff-single-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
}

.ff-single-price .woocommerce-Price-amount {
  color: var(--color-white);
}

.ff-single-price-old {
  font-size: 1.125rem;
  color: var(--color-gray-600, #555);
  text-decoration: line-through;
  font-weight: 700;
}

.ff-single-price-old .woocommerce-Price-amount {
  color: var(--color-gray-600, #555);
}

.ff-single-tax-note {
  font-size: 0.5625rem;
  color: var(--color-gray-600, #555);
  font-weight: 500;
}

/* Short desc */
.ff-single-short-desc {
  color: var(--color-gray-400);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.ff-single-short-desc p {
  margin: 0 0 0.5rem;
}

/* Spec Badges */
.ff-single-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.ff-single-spec-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  transition: background 0.2s;
}

.ff-single-spec-badge:hover {
  background: rgba(255,255,255,0.1);
}

.ff-spec-icon {
  background: rgba(255,255,255,0.1);
  padding: 0.375rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ff-circle-color-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
}

.ff-spec-text {
  display: flex;
  flex-direction: column;
}

.ff-spec-label {
  font-size: 0.5625rem; /* text-[9px] */
  color: #6b7280; /* text-gray-500 */
  font-weight: 700; /* font-bold */
  text-transform: uppercase;
  letter-spacing: 0.05em; /* tracking-wider */
  margin-bottom: 0.1rem;
}

.ff-spec-value {
  font-size: 0.75rem; /* text-xs */
  color: #ffffff; /* text-white */
  font-weight: 700; /* font-bold */
}

/* Cart Area */
.ff-single-cart-area {
  margin-bottom: 2rem;
}

.ff-single-qty-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ff-single-wishlist-btn {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  background: #111;
  border: 1px solid #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.ff-single-wishlist-btn:hover {
  background: #222;
  border-color: #333;
}

.ff-express-checkout-area {
  margin-top: 1.5rem;
  border-top: 1px solid #222;
  padding-top: 1.5rem;
}

.ff-express-label {
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ff-express-buttons {
  display: flex;
  gap: 0.75rem;
}

.ff-express-btn {
  flex: 1;
  height: 3rem;
  border-radius: 0.5rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ff-express-btn:hover {
  opacity: 0.8;
}

.ff-gpay { background: #fff; }
.ff-paypal { background: #ffc439; }
.ff-klarna { background: #ffb3c7; }
.ff-applepay { background: #000; border: 1px solid #333; }
.ff-applepay img { filter: invert(1); }

.ff-single-qty-wrap {
  display: flex;
  align-items: center;
  background: var(--brand-gray);
  border: 1px solid var(--color-white-10);
  border-radius: 1rem;
  overflow: hidden;
}

.ff-qty-btn {
  width: 2.75rem;
  height: 3.25rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ff-qty-btn:hover {
  background: var(--color-white-5);
}

.ff-qty-input {
  width: 3rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}

.ff-qty-input::-webkit-outer-spin-button,
.ff-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.ff-single-add-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  height: 3.25rem;
  background: var(--color-white);
  color: #000;
  border: none;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.ff-single-add-btn:hover {
  background: var(--brand-accent);
  transform: translateY(-1px);
}

/* Unavailable */
.ff-single-unavailable {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 0.75rem;
  color: #ef4444;
  margin-bottom: 2rem;
}

.ff-unavail-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
}

.ff-unavail-sub {
  font-size: 0.75rem;
  color: #fca5a5;
  margin: 0.25rem 0 0;
}

/* Trust Features (Card Grid) */
.ff-single-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.ff-trust-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--color-white-5);
  border: 1px solid var(--color-white-5);
}

.ff-trust-card svg {
  color: var(--color-gray-400);
  flex-shrink: 0;
}

.ff-trust-card-text {
  display: flex;
  flex-direction: column;
}

.ff-trust-card-title {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
}

.ff-trust-card-sub {
  font-size: 0.5625rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ff-trust-card-delivery {
  font-weight: 600;
  color: #34d399;
}

/* Description + Specs Side-by-Side */
.ff-single-details {
  margin-top: 8rem;
  padding-top: 6rem;
  border-top: 1px solid var(--color-white-10);
}

.ff-single-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.ff-details-heading {
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.ff-details-description {
  /* Left 2/3 column */
}

.ff-desc-content {
  color: var(--color-gray-400);
  font-size: 0.875rem;
  line-height: 1.8;
}

.ff-desc-content p {
  margin-bottom: 1rem;
}

.ff-desc-content h3 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
}

.ff-desc-content ul,
.ff-desc-content ol {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.ff-desc-content li {
  margin-bottom: 0.25rem;
}

/* Specs Card (right column, sticky) */
.ff-details-specs-col {
  /* Right 1/3 column */
}

.ff-specs-card {
  background: var(--brand-gray);
  border: 1px solid var(--color-white-5);
  border-radius: 1.5rem;
  padding: 2rem;
  position: sticky;
  top: 8rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.ff-specs-card-heading {
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ff-specs-card-heading svg {
  color: var(--color-gray-500);
}

.ff-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.ff-specs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0.5rem;
  border-bottom: 1px solid var(--color-white-5);
  border-radius: 0.5rem;
  margin: 0 -0.5rem;
  transition: background 0.2s;
}

.ff-specs-row:last-child {
  border-bottom: none;
}

.ff-specs-row:hover {
  background: rgba(255,255,255,0.02);
}

.ff-specs-row-label {
  font-size: 0.625rem;
  color: var(--color-gray-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.ff-specs-row-value {
  font-size: 0.875rem;
  color: var(--color-gray-400, #9CA3AF);
  font-weight: 500;
  text-align: right;
}

.ff-specs-empty {
  color: var(--color-gray-600);
  font-size: 0.625rem;
  padding: 1rem 0;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* WhatsApp Consultation */
.ff-specs-whatsapp {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--color-white-5);
  border-radius: 1rem;
  border: 1px solid var(--color-white-5);
}

.ff-specs-whatsapp-label {
  font-size: 0.5625rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  text-align: center;
}

.ff-specs-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 0.75rem;
  color: #22c55e;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.3s;
  text-decoration: none;
}

.ff-specs-whatsapp-btn:hover {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

/* Related Products */
.ff-related-section {
  margin-top: 5rem;
  border-top: 1px solid var(--color-white-5);
  padding-top: 3rem;
}

.ff-related-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Responsive */
@media (max-width: 1024px) {
  .ff-single-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ff-single-gallery {
    position: static;
  }
  .ff-single-title {
    font-size: 1.5rem;
  }
  .ff-single-details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ff-specs-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .ff-single-product {
    padding: 4.25rem 0 2rem;
  }
  .ff-single-breadcrumbs {
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
  }
  .ff-single-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
  .ff-single-price {
    font-size: 1.75rem;
  }
  .ff-single-trust {
    grid-template-columns: 1fr;
  }
  .ff-single-rating-stock-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .ff-single-qty-row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }
  .ff-single-qty-wrap {
    justify-content: center;
    flex-shrink: 0;
  }
  .ff-qty-btn {
    width: 2.25rem;
    height: 2.75rem;
    font-size: 1.125rem;
  }
  .ff-qty-input {
    width: 2rem;
    font-size: 0.875rem;
  }
  .ff-single-add-btn {
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0 0.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
  }
  .ff-single-add-btn .ff-cart-text-full { display: none; }
  .ff-single-add-btn .ff-cart-text-short { display: inline; }
  .ff-single-wishlist-btn {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
  }
}

