/* assets/css/pdp-standard.css — 1:1 Mockup-CSS aus traumbetten-produkt-jenva (1).html (kein Filter) */

/* ============================================================
   JENVA CORE 2.0 — DESIGN TOKENS (identisch zu allen Mockups)
   ============================================================ */
:root{
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  --color-bg:        #f5f6f8;
  --color-bg-alt:    #ffffff;
  --color-surface:   #ffffff;
  --color-surface-2: #eef0f3;
  --color-text:      #0b0d12;
  --color-text-soft: #3d4350;
  --color-text-muted:#6b7280;
  --color-border:    #e1e4ea;
  --color-border-soft:#eef0f3;

  --color-accent:        #1e5baa;
  --color-accent-hover:  #1d4ed8;
  --color-accent-deep:   #1e3a8a;
  --color-accent-soft:   #e8efff;
  --color-accent-text:   #ffffff;
  --color-accent-on-dark:#7aa2ff;

  --color-text-link:       var(--color-accent-hover);
  --color-text-link-hover: var(--color-accent-deep);

  --color-success:      #15803d;
  --color-success-soft: #dcfce7;
  --color-warning:      #b45309;
  --color-warning-soft: #fef3c7;
  --color-error:        #c0392b;
  --color-sale:         #c0392b;
  --color-star:         #fbbf24;

  --color-btn-bg:        var(--color-accent);
  --color-btn-text:      var(--color-accent-text);
  --color-btn-bg-hover:  var(--color-accent-hover);
  --color-btn-text-hover:var(--color-accent-text);
  --color-btn-ghost-border: var(--color-border);

  --space-1:.25rem; --space-2:.5rem; --space-3:.75rem; --space-4:1rem;
  --space-5:1.25rem; --space-6:1.5rem; --space-8:2rem; --space-10:2.5rem;
  --space-12:3rem; --space-16:4rem; --space-20:5rem; --space-24:6rem;
  --space-32:8rem;

  --text-xs:   .8125rem;
  --text-sm:   .9375rem;
  --text-base: 1rem;
  --text-md:   1.0625rem;
  --text-lg:   clamp(1.125rem, 1rem + .4vw, 1.25rem);
  --text-xl:   clamp(1.375rem, 1.2rem + .8vw, 1.625rem);
  --text-2xl:  clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
  --text-3xl:  clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --text-hero: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);

  --lh-tight: 1.15;
  --lh-snug:  1.35;
  --lh-base:  1.6;

  --container: 1400px;
  --container-narrow: 760px;
  --container-prose: 720px;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --header-h:  76px;

  --shadow-1: 0 1px 2px rgb(11 13 18 / .04), 0 2px 6px rgb(11 13 18 / .04);
  --shadow:   0 4px 12px rgb(11 13 18 / .07), 0 1px 3px rgb(11 13 18 / .05);
  --shadow-3: 0 14px 36px rgb(11 13 18 / .12);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ============================================================
   RESET / BASIS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; max-width: 100% }
body{
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}
img, svg { display: block; max-width: 100%; height: auto }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer }
h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -.015em;
  margin: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
p, li, span, dd, dt{
  overflow-wrap: break-word;
  word-wrap: break-word;
}
/* Lange E-Mail-Adressen und URLs umbrechbar */
a[href^="mailto:"], a[href^="tel:"]{
  overflow-wrap: anywhere;
  word-break: break-word;
}
p { margin: 0 }
ul { margin: 0; padding: 0; list-style: none }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 4px }

.skip-link{
  position: absolute; left: -9999px; top: 0;
  background: var(--color-text); color: #fff;
  padding: var(--space-3) var(--space-4); z-index: 999;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus-visible { left: 0 }

.container{ max-width: var(--container); margin-inline: auto; padding-inline: var(--space-5) }
@media (min-width: 768px){ .container{ padding-inline: var(--space-8) } }

/* Mobile-Schutz: kein Section oder Container darf breiter als Viewport werden */
main, section, header, footer{
  max-width: 100%;
}
.container, .container > *{
  max-width: 100%;
}

.section{ padding-block: clamp(3rem, 6vw, 5rem) }
.section-bg{ background: var(--color-bg-alt) }
.section-sm{ padding-block: var(--space-12) }

.eyebrow{
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-accent-hover);
  margin-bottom: var(--space-3);
}

.section-header{ text-align: center; max-width: 680px; margin: 0 auto var(--space-12) }
.section-header-text > * + *{ margin-top: var(--space-3) }
.section-title{ font-size: var(--text-3xl) }
.section-lede{ color: var(--color-text-soft); font-size: var(--text-md) }

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-weight: 600; font-size: var(--text-md);
  border-radius: var(--radius);
  transition: all .2s var(--ease);
  white-space: nowrap;
  min-height: 48px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn svg{ width: 18px; height: 18px }
.btn-primary{ background: var(--color-btn-bg); color: var(--color-btn-text) }
.btn-primary:hover{ background: var(--color-btn-bg-hover); transform: translateY(-1px); box-shadow: var(--shadow) }
.btn-ghost{ background: var(--color-surface); color: var(--color-text); border-color: var(--color-btn-ghost-border) }
.btn-ghost:hover{ background: var(--color-surface-2); border-color: var(--color-text) }
.btn-text{ background: transparent; color: var(--color-accent-hover); padding-inline: 0 }
.btn-text:hover{ color: var(--color-accent-deep) }
.btn-lg{ padding: var(--space-5) var(--space-8); font-size: var(--text-lg); min-height: 56px }
.btn-sm{ padding: var(--space-2) var(--space-4); font-size: var(--text-sm); min-height: 38px }
.btn-block{ width: 100% }

/* ============================================================
   TOPBAR / HEADER / MOBILE-NAV (identisch zu allen Mockups)
   ============================================================ */
.child-topbar{ background: var(--color-text); color: var(--color-text-on-dark); font-size: var(--text-xs) }
.child-topbar-inner{ display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 40px; flex-wrap: wrap }
.child-topbar-items{ display: flex; gap: var(--space-6); flex-wrap: wrap; align-items: center }
.child-topbar-item{ display: inline-flex; align-items: center; gap: var(--space-2) }
.child-topbar-item svg{ width: 14px; height: 14px; color: var(--color-accent-on-dark); flex-shrink: 0 }
.child-topbar-track{ display: contents; }
.child-topbar-track[aria-hidden="true"]{ display: none; }
.child-topbar-rating{ display: inline-flex; align-items: center; gap: var(--space-2) }
.child-topbar-rating strong{ color: #fff; font-weight: 600 }
.child-topbar-rating .stars{ color: var(--color-star); letter-spacing: 1px }
@media (max-width: 720px){
  .child-topbar-rating{ display: none }
  .child-topbar-items{ display: flex; flex-wrap: nowrap; overflow: hidden; width: 100%; gap: 0 }
  .child-topbar-track{ display: flex; flex-shrink: 0; align-items: center; gap: var(--space-6); padding-right: var(--space-6); animation: tbb-topbar-marquee 20s linear infinite }
  .child-topbar-track[aria-hidden="true"]{ display: flex }
  @keyframes tbb-topbar-marquee{ from{ transform: translateX(0) } to{ transform: translateX(-100%) } }
}
@media (prefers-reduced-motion: reduce){
  .child-topbar-track{ animation: none !important; }
}

.site-header{
  position: sticky; top: 0; z-index: 50;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled{ box-shadow: var(--shadow) }
.header-inner{ display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-6); min-height: var(--header-h) }
@media (min-width: 1024px){ .header-inner{ min-height: 88px; gap: var(--space-10) } }
.logo{ display: inline-flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--color-text); letter-spacing: -.02em }
.logo-mark{ display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--color-accent); color: #fff; flex-shrink: 0 }
.logo-mark svg{ width: 22px; height: 22px }
.logo-text{ line-height: 1 }
.logo-text small{ display: block; font-family: var(--font-sans); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); margin-top: 2px }

.nav-primary{ display: none }
@media (min-width: 1350px){ .nav-primary{ display: flex; gap: var(--space-8); justify-self: center } }
.nav-item{ position: relative }
.nav-link{ display: inline-flex; align-items: center; gap: var(--space-1); font-weight: 500; font-size: var(--text-md); padding: var(--space-3) 0; color: var(--color-text); border-bottom: 2px solid transparent; transition: color .15s ease }
.nav-link:hover, .nav-item:hover .nav-link{ color: var(--color-accent-hover) }
.nav-link svg{ width: 14px; height: 14px; transition: transform .2s var(--ease) }
.nav-item:hover .nav-link svg{ transform: rotate(180deg) }
.nav-link.is-sale{ color: var(--color-sale) }
.nav-link.is-active{ color: var(--color-accent-hover); border-bottom-color: var(--color-accent) }

.header-actions{ display: flex; align-items: center; gap: var(--space-1) }
@media (min-width: 480px){ .header-actions{ gap: var(--space-2) } }
.header-icon-btn{ position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); color: var(--color-text); transition: background .15s ease }
.header-icon-btn:hover{ background: var(--color-surface-2) }
.header-icon-btn svg{ width: 20px; height: 20px }
/* Mobile: Suche + Wishlist + Account in den Burger verlegen — Cart bleibt sichtbar */
.header-icon-btn.is-desktop-only{ display: none }
@media (min-width: 768px){ .header-icon-btn.is-desktop-only{ display: inline-grid } }
.header-cart-count{ position: absolute; top: 5px; right: 5px; min-width: 18px; height: 18px; padding: 0 5px; background: var(--color-accent); color: #fff; font-size: 11px; font-weight: 600; border-radius: 9px; display: grid; place-items: center; line-height: 1 }
.header-phone{ display: none; align-items: center; gap: var(--space-2); font-weight: 600; color: var(--color-accent-hover); padding: var(--space-2) var(--space-3); border-radius: var(--radius); font-size: var(--text-sm) }
.header-phone:hover{ background: var(--color-accent-soft) }
.header-phone svg{ width: 16px; height: 16px }
@media (min-width: 1350px){ .header-phone{ display: inline-flex } }
.nav-toggle{ display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius) }
.nav-toggle:hover{ background: var(--color-surface-2) }
.nav-toggle svg{ width: 24px; height: 24px }
@media (min-width: 1350px){ .nav-toggle{ display: none } }

.mobile-nav-backdrop{ position: fixed; inset: 0; background: rgb(11 13 18 / .5); z-index: 99; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease }
.mobile-nav-backdrop.is-visible{ opacity: 1; visibility: visible }
.mobile-nav-panel{ position: fixed; inset: 0 0 0 auto; width: min(380px, 100%); background: var(--color-surface); z-index: 100; transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-3) }
.mobile-nav-panel.is-open{ transform: translateX(0) }
.mobile-nav-header{ display: flex; align-items: center; justify-content: space-between; padding: var(--space-5); border-bottom: 1px solid var(--color-border) }
.mobile-nav-body{ padding: var(--space-5); overflow-y: auto; flex: 1 }
.mobile-nav-group{ margin-bottom: var(--space-6) }
.mobile-nav-label{ font-size: var(--text-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-3) }
.mobile-nav-link{ display: block; padding: var(--space-3) 0; font-size: var(--text-md); border-bottom: 1px solid var(--color-border-soft) }
.mobile-nav-link:last-child{ border: 0 }

/* ============================================================
   BREADCRUMB (identisch)
   ============================================================ */
.child-breadcrumb{
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border-soft);
  padding-block: var(--space-3);
  font-size: var(--text-xs);
}
.child-breadcrumb-list{ display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); color: var(--color-text-muted) }
.child-breadcrumb-list a{ color: var(--color-text-muted); transition: color .15s ease }
.child-breadcrumb-list a:hover{ color: var(--color-accent-hover) }
.child-breadcrumb-sep{ color: var(--color-text-muted); opacity: .5 }
.child-breadcrumb-current{ color: var(--color-text); font-weight: 500 }

/* ============================================================
   CUSTOM: PRODUCT-HERO (2-spaltig auf Desktop)
   Linke Spalte: Galerie · Rechte Spalte: Info-Stack
   ============================================================ */
.child-product-hero{
  padding-block: var(--space-8) var(--space-12);
}
.child-product-hero-grid{
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
.child-product-hero-grid > *{
  min-width: 0; /* verhindert dass Grid-Items aus dem Container überlaufen */
}
@media (min-width: 900px){
  .child-product-hero-grid{
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-10);
  }
}
@media (min-width: 1200px){
  .child-product-hero-grid{
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-12);
  }
}

/* Produktgalerie → assets/css/pdp-gallery.css */

/* ============================================================
   CUSTOM: PRODUCT-INFO (rechte Spalte)
   ============================================================ */
.product-info{ display: flex; flex-direction: column; gap: var(--space-5) }

.product-info-vendor{
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-text-muted);
}
.product-info-vendor svg{ width: 14px; height: 14px; color: var(--color-accent) }

.product-info-title{
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  letter-spacing: -.02em;
  margin: 0;
}

.product-info-hook{
  font-size: var(--text-md);
  color: var(--color-text-soft);
  line-height: 1.5;
  margin: 0;
}

.product-info-rating{
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm);
}
.product-info-rating .stars{
  color: var(--color-star);
  letter-spacing: 1px;
  font-size: var(--text-md);
}
.product-info-rating-value{ font-weight: 600 }
.product-info-rating-count{ color: var(--color-text-muted) }
.product-info-rating a{
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  margin-left: var(--space-2);
}

/* Price-Block (live updating) */
.product-info-price-block{
  display: flex; flex-direction: column;
  gap: var(--space-2);
  padding-block: var(--space-3);
  border-block: 1px solid var(--color-border-soft);
}
.product-info-price-row{
  display: flex; align-items: baseline; gap: var(--space-3);
  flex-wrap: wrap;
}
.product-info-price{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.5rem);
  color: var(--color-text);
  line-height: 1;
  transition: color .25s ease;
}
.product-info-price.is-pulse{
  animation: priceJump .35s var(--ease);
}
@keyframes priceJump{
  0%   { transform: scale(1); color: var(--color-text) }
  40%  { transform: scale(1.06); color: var(--color-accent) }
  100% { transform: scale(1); color: var(--color-text) }
}
/* Sale-Preis rot: WooCommerce rendert bei Reduzierung <del>(alt)</del> <ins>(neu)</ins>. */
.product-info-price del,
.product-sticky-price del{
  color: var(--color-text-muted);
  font-size: .62em;
  font-weight: 500;
  text-decoration: line-through;
  margin-right: .4em;
}
.product-info-price ins,
.product-sticky-price ins{
  color: var(--color-sale);
  text-decoration: none;
}
.product-info-price-base{
  font-family: var(--font-sans);
  font-size: var(--text-sm); font-weight: 500;
  color: var(--color-text-muted);
}
.product-info-price-breakdown{
  display: none;
  font-size: var(--text-xs);
  color: var(--color-text-soft);
  line-height: 1.5;
  padding: var(--space-2) var(--space-3);
  background: var(--color-accent-soft);
  border-radius: var(--radius-sm);
}
.product-info-price-breakdown.is-visible{ display: block }
.product-info-price-breakdown ul{
  display: flex; flex-direction: column;
  gap: 2px;
}
.product-info-price-breakdown li{
  display: flex; justify-content: space-between;
  gap: var(--space-3);
}
.product-info-price-breakdown li strong{ font-weight: 600 }

.product-info-price-meta{
  display: flex; flex-wrap: wrap;
  align-items: center; gap: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.product-info-price-meta a{
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.product-info-stock-row{
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}
.product-info-stock-row .dot{
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 0 rgb(34 197 94 / .5);
  animation: pulse 2s var(--ease) infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(34 197 94 / .5) }
  50% { box-shadow: 0 0 0 6px rgb(34 197 94 / 0) }
}
.product-info-stock-row strong{ color: var(--color-success); font-weight: 600 }
.product-info-stock-row .sep{ color: var(--color-text-muted) }

/* Trust-Bar 4 Icons */
.product-info-trust{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 600px){
  .product-info-trust{ grid-template-columns: repeat(4, 1fr) }
}
.product-info-trust-item{
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: var(--space-2);
}
.product-info-trust-icon{
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent-hover);
}
.product-info-trust-icon svg{ width: 18px; height: 18px }
.product-info-trust-label{
  font-size: 11px;
  color: var(--color-text-soft);
  line-height: 1.3;
  font-weight: 500;
}
@media (min-width: 500px){
  .product-info-trust-label{ font-size: var(--text-xs) }
}

/* Lieferumfangs-Hinweis (Alex' Priorität) */
.product-info-scope{
  display: flex; align-items: flex-start; gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-warning-soft);
  border: 1px solid var(--color-warning);
  border-left-width: 4px;
  border-radius: var(--radius);
}
.product-info-scope-icon{
  display: grid; place-items: center;
  width: 24px; height: 24px;
  flex-shrink: 0;
  color: var(--color-warning);
}
.product-info-scope-icon svg{ width: 20px; height: 20px }
.product-info-scope-content{
  font-size: var(--text-sm);
  line-height: 1.5;
}
.product-info-scope-content strong{
  display: block;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}
.product-info-scope-content a{
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ============================================================
   CUSTOM: PRODUCT-OPTIONS (visuelle Cards mit Aufpreis)
   ============================================================ */
.product-options{
  display: flex; flex-direction: column;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  border: 0;
}
.product-options-legend{
  display: block;
  font-size: var(--text-md); font-weight: 600;
  font-family: var(--font-display);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.product-options-legend small{
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0;
  margin-top: 2px;
}
.product-option-card{
  display: flex; align-items: stretch;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all .2s var(--ease);
  position: relative;
}
.product-option-card:hover{
  border-color: var(--color-accent);
  box-shadow: var(--shadow-1);
}
.product-option-card.is-active{
  border-color: var(--color-accent);
  background: linear-gradient(90deg, var(--color-accent-soft) 0%, var(--color-surface) 30%);
  box-shadow: 0 0 0 1px var(--color-accent);
}
.product-option-card input{
  position: absolute; opacity: 0;
  width: 1px; height: 1px;
}
.product-option-visual{
  flex-shrink: 0;
  width: 88px;
  background: linear-gradient(135deg, #e8efff 0%, #dde3ee 100%);
  position: relative;
}
.product-option-visual::after{
  content: "";
  position: absolute;
  inset: auto 16% 22% 16%;
  height: 32%;
  background: linear-gradient(180deg, #fefefe 0%, #e0e6ee 100%);
  border-radius: 3px;
}
.product-option-card[data-option="bank"] .product-option-visual::after{
  height: 18%;
  inset: auto 10% 38% 10%;
}
.product-option-content{
  flex: 1;
  min-width: 0;
  padding: var(--space-4);
  display: flex; flex-direction: column;
  gap: var(--space-1);
}
.product-option-header{
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.product-option-name{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--color-text);
  line-height: 1.3;
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: break-word;
}
.product-option-price{
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--color-accent-hover);
  white-space: nowrap;
}
.product-option-desc{
  font-size: var(--text-xs);
  color: var(--color-text-soft);
  line-height: 1.45;
}
.product-option-check{
  flex-shrink: 0;
  align-self: center;
  margin-right: var(--space-4);
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  transition: all .15s ease;
}
.product-option-check svg{
  width: 14px; height: 14px;
  color: #fff;
  opacity: 0;
  transition: opacity .15s ease;
}
.product-option-card.is-active .product-option-check{
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.product-option-card.is-active .product-option-check svg{ opacity: 1 }
.product-option-card input:focus-visible ~ .product-option-check{
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ============================================================
   CUSTOM: PRODUCT-CTA
   Konfigurator/Preis: volle Breite · Kaufzeile: 3 Spalten (klein | breit | klein)
   ============================================================ */
.product-cta-wrap{
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  max-width: 100%;
}
.product-cta-wrap form.variations_form.cart{
  display: flex !important;
  flex-direction: column !important;
  gap: var(--space-4) !important;
  width: 100% !important;
  max-width: 100% !important;
}
/* Jenva-Konfigurator: kein Wizard-2-Spalten-Grid auf der Standard-PDP */
.product-info .product-cta-wrap .jcfg,
.product-info .product-cta-wrap .jcfg.jcfg--wizard,
.product-info .product-cta-wrap .jcfg.jcfg--inline{
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: var(--space-4) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}
.product-info .product-cta-wrap .jcfg-progress,
.product-info .product-cta-wrap .jcfg-accordion,
.product-info .product-cta-wrap .jcfg-inline-block,
.product-info .product-cta-wrap .jcfg-step,
.product-info .product-cta-wrap .jcfg-price-side,
.product-info .product-cta-wrap .jcfg-price-card{
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
}
.product-info .product-cta-wrap .jcfg-progress{
  max-width: none !important;
}
.product-info .product-cta-wrap .jcfg-price-side{
  position: static !important;
  top: auto !important;
}
.product-cta-wrap .single_variation_wrap{
  width: 100% !important;
  max-width: 100% !important;
}
/* Kaufzeile: Menge (schmal) | Warenkorb (breit) | Favorit (schmal) */
.product-cta-wrap .woocommerce-variation-add-to-cart.variations_button{
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) 56px !important;
  gap: var(--space-3) !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
}
.product-cta-wrap .woocommerce-variation-add-to-cart .quantity{
  grid-column: 1;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
.product-cta-wrap .woocommerce-variation-add-to-cart .quantity .qty,
.product-cta-wrap .woocommerce-variation-add-to-cart .quantity input.qty{
  width: 50px;
  min-height: 56px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.product-cta-wrap .single_add_to_cart_button,
.product-cta-wrap form.variations_form .button.alt{
  grid-column: 2;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 56px;
  margin: 0 !important;
  justify-self: stretch;
  background: var(--color-accent);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-lg);
}
.product-cta-wrap .single_add_to_cart_button:hover,
.product-cta-wrap form.variations_form .button.alt:hover{
  background: var(--color-accent-hover);
}
.product-cta-wrap .woocommerce-variation-add-to-cart .product-wishlist-btn{
  grid-column: 3;
  width: 56px !important;
  min-width: 56px !important;
  height: 56px !important;
  margin: 0 !important;
  justify-self: end;
}
@media (max-width: 479px){
  .product-cta-wrap .woocommerce-variation-add-to-cart.variations_button{
    grid-template-columns: 1fr !important;
  }
  .product-cta-wrap .woocommerce-variation-add-to-cart .quantity,
  .product-cta-wrap .single_add_to_cart_button,
  .product-cta-wrap .woocommerce-variation-add-to-cart .product-wishlist-btn{
    grid-column: 1 !important;
    width: 100% !important;
  }
  .product-cta-wrap .woocommerce-variation-add-to-cart .product-wishlist-btn{
    width: 56px !important;
    justify-self: end;
  }
}
/* Einfaches Produkt: gleiche 3-Spalten-Kaufzeile */
.product-cta{
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) 56px !important;
  gap: var(--space-3) !important;
  align-items: stretch !important;
  width: 100% !important;
}
.product-cta .product-qty{
  grid-column: 1;
}
.product-cta-actions{
  display: contents;
}
.product-cta .product-cart-btn{
  grid-column: 2;
  width: 100% !important;
  min-width: 0;
}
.product-cta .product-wishlist-btn{
  grid-column: 3;
  width: 56px !important;
  min-width: 56px;
  height: 56px;
  justify-self: end;
}
@media (max-width: 479px){
  .product-cta{
    grid-template-columns: 1fr !important;
  }
  .product-cta .product-qty,
  .product-cta .product-cart-btn,
  .product-cta .product-wishlist-btn{
    grid-column: 1 !important;
    width: 100% !important;
  }
  .product-cta .product-wishlist-btn{
    width: 56px !important;
    justify-self: end;
  }
}
.product-qty{
  display: flex; align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-qty button{
  width: 44px; height: 56px;
  display: grid; place-items: center;
  color: var(--color-text);
  transition: background .15s ease;
}
.product-qty button:hover{ background: var(--color-surface-2) }
.product-qty button:disabled{ opacity: .4; cursor: not-allowed }
.product-qty button svg{ width: 14px; height: 14px }
.product-qty-input{
  width: 50px; height: 56px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--color-text);
  background: transparent;
  border: 0;
  -moz-appearance: textfield;
}
.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button{
  -webkit-appearance: none; margin: 0;
}
.product-qty-input:focus-visible{ outline: 0; background: var(--color-surface-2) }

.product-cart-btn{
  flex: 1;
  min-height: 56px;
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-lg);
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-3);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.product-cart-btn:hover{
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.product-cart-btn svg{ width: 22px; height: 22px }
.product-cart-btn-price{
  font-weight: 700;
  border-left: 1px solid rgb(255 255 255 / .25);
  padding-left: var(--space-3);
  margin-left: var(--space-2);
}

.product-wishlist-btn{
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  transition: all .15s ease;
  cursor: pointer;
}
.product-wishlist-btn:hover{
  border-color: var(--color-sale);
  color: var(--color-sale);
}
.product-wishlist-btn[aria-pressed="true"]{
  color: var(--color-sale);
  background: rgb(192 57 43 / .05);
  border-color: var(--color-sale);
}
.product-wishlist-btn[aria-pressed="true"] svg{ fill: var(--color-sale) }
.product-wishlist-btn svg{ width: 24px; height: 24px }

/* Mini-Beratungs-CTA */
.product-mini-consult{
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface-2);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  line-height: 1.4;
}
.product-mini-consult-avatar{
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.product-mini-consult-text{ flex: 1; color: var(--color-text-soft) }
.product-mini-consult-text strong{ color: var(--color-text); display: block; font-weight: 600; margin-bottom: 2px }
.product-mini-consult-cta{
  flex-shrink: 0;
  font-size: var(--text-sm); font-weight: 600;
  color: var(--color-accent-hover);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: var(--space-1);
}
.product-mini-consult-cta:hover{ color: var(--color-accent-deep) }
.product-mini-consult-cta svg{ width: 14px; height: 14px }

@media (max-width: 440px){
  /* Alles untereinander: Überschrift, Text, dann Beratungs-Button in voller
     Breite. */
  .product-mini-consult{
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }
  .product-mini-consult h3{ margin: 0; }
  .product-mini-consult p{ margin: 0; }
  .product-mini-consult .btn{ width: 100%; }
}

/* Payment-Strip */
.product-payments{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-soft);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.product-payments-label{
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.product-payments-badges{
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}
@media (max-width: 479px){
  .product-payments-badges{
    flex-basis: 100%;
  }
}
.product-payment-badge{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: .02em;
  white-space: nowrap;
}
/* Echte Zahlungs-Logos (Inline-SVG aus tbb_payment_icon, wie im Footer) statt
   grauer Text-Kästchen. Jedes SVG bringt Hintergrund + Rahmen selbst mit. */
.product-payment-icon{
  display: inline-flex;
  line-height: 0;
}
.product-payment-icon .tbb-pay-icon{
  height: 28px;
  width: auto;
  display: block;
}

/* ============================================================
   CUSTOM: MOBILE-STICKY-BAR
   Erscheint, wenn die Haupt-CTA aus dem Viewport ist
   ============================================================ */
.product-sticky{
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 24px rgb(11 13 18 / .08);
  padding: var(--space-3) var(--space-4);
  display: flex; align-items: center; gap: var(--space-3);
  transform: translateY(100%);
  transition: transform .25s var(--ease);
}
.product-sticky.is-visible{ transform: translateY(0) }
@media (min-width: 900px){
  .product-sticky{ display: none }
}
.product-sticky-thumb[style*="background-image"]{
  background-size: cover;
  background-position: center;
}
.product-sticky-thumb{
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #e8efff 0%, #dde3ee 100%);
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.product-sticky-thumb::after{
  content: "";
  position: absolute;
  inset: auto 14% 14% 14%;
  height: 40%;
  background: linear-gradient(180deg, #fefefe 0%, #fefefe 40%, #b8966a 40%, #a08458 100%);
  border-radius: 2px;
}
.product-sticky-info{
  flex: 1;
  min-width: 0;
  display: flex; flex-direction: column;
  gap: 2px;
}
.product-sticky-name{
  font-size: var(--text-sm); font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-sticky-price{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--color-text);
}
.product-sticky-btn{
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  font-size: var(--text-sm);
  min-height: 44px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  max-width: 50%;
}
.product-sticky-btn:hover{ background: var(--color-accent-hover) }

/* ============================================================
   CUSTOM: PRODUCT-BUNDLE „Häufig zusammen gekauft"
   ============================================================ */
.child-product-bundle{
  padding-block: var(--space-12);
  background: var(--color-bg-alt);
  border-block: 1px solid var(--color-border-soft);
}
.child-product-bundle-inner{
  max-width: 980px; margin-inline: auto;
}
.bundle-grid{
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 700px){
  .bundle-grid{
    grid-template-columns: 1fr auto 1fr auto 1fr;
  }
}
.bundle-item{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-5);
  display: flex; flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  position: relative;
  transition: border-color .15s ease;
}
.bundle-item.is-active{
  border-color: var(--color-accent);
}
.bundle-item.is-disabled{
  opacity: .5;
}
.bundle-item-check{
  position: absolute; top: var(--space-3); right: var(--space-3);
  width: 22px; height: 22px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .15s ease;
}
.bundle-item-check svg{ width: 14px; height: 14px; color: #fff; opacity: 0; transition: opacity .15s ease }
.bundle-item.is-active .bundle-item-check{
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.bundle-item.is-active .bundle-item-check svg{ opacity: 1 }
.bundle-item-thumb:has(img)::after{
  display: none;
}
.bundle-item-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.bundle-item-thumb{
  width: 96px; height: 96px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #e8efff 0%, #dde3ee 100%);
  overflow: hidden;
  display: block;
  position: relative;
  overflow: hidden;
}
.bundle-item-thumb::after{
  content: "";
  position: absolute;
  inset: auto 14% 16% 14%;
  height: 40%;
  background: linear-gradient(180deg, #fefefe 0%, #fefefe 40%, #b8966a 40%, #a08458 100%);
  border-radius: 3px;
}
.bundle-item[data-id="2"] .bundle-item-thumb::after{
  /* Lattenrost */
  height: 18%;
  background:
    repeating-linear-gradient(90deg, #b8966a 0, #b8966a 6px, #a08458 6px, #a08458 8px);
  inset: auto 10% 42% 10%;
  border-radius: 1px;
}
.bundle-item[data-id="3"] .bundle-item-thumb::after{
  /* Matratze */
  height: 30%;
  background: linear-gradient(180deg, #f5e6d0 0%, #e6d4ba 100%);
  inset: auto 14% 30% 14%;
  border-radius: 4px;
}
.bundle-item-name{
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  margin: 0;
}
.bundle-item-vendor{
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.bundle-item-price{
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.bundle-item-price-old{
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.bundle-item-price-new{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--color-text);
}
.bundle-plus{
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-muted);
  padding: var(--space-2);
}
@media (max-width: 699px){
  .bundle-plus{ display: none }
}

.bundle-summary{
  margin-top: var(--space-8);
  padding: var(--space-5);
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-lg);
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  align-items: center;
  min-width: 0;
}
@media (min-width: 700px){
  .bundle-summary{
    grid-template-columns: 1fr auto;
    padding: var(--space-6);
  }
}
.bundle-summary > *{
  min-width: 0;
}
/* Bundle-Button auf Mobile voll breit + darf wrappen */
.bundle-summary > button{
  width: 100%;
  white-space: normal;
  line-height: 1.3;
  padding: var(--space-4) var(--space-5);
}
@media (min-width: 700px){
  .bundle-summary > button{ width: auto; white-space: nowrap }
}
.bundle-summary-info{
  display: flex; flex-direction: column; gap: var(--space-1);
  min-width: 0;
  max-width: 100%;
}
.bundle-summary-label{
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-accent-deep);
}
.bundle-summary-prices{
  display: flex; align-items: baseline; gap: var(--space-2) var(--space-3);
  flex-wrap: wrap;
  min-width: 0;
}
.bundle-summary-total{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
  color: var(--color-text);
  white-space: nowrap;
}
.bundle-summary-old{
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.bundle-summary-save{
  display: inline-block;
  padding: 2px var(--space-2);
  background: var(--color-success);
  color: #fff;
  border-radius: 4px;
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .04em;
}

/* ============================================================
   CUSTOM: PRODUCT-TABS (Desktop) / AKKORDEON (Mobile)
   ============================================================ */
.child-product-tabs{
  padding-block: var(--space-12);
}
.product-tabs-nav{
  display: none;
  border-bottom: 2px solid var(--color-border);
  gap: var(--space-1);
}
@media (min-width: 768px){
  .product-tabs-nav{ display: flex }
}
.product-tabs-nav-item{
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.product-tabs-nav-item:hover{ color: var(--color-text) }
.product-tabs-nav-item.is-active{
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
}

.product-tabs-panels{
  margin-top: var(--space-8);
}
@media (max-width: 767px){
  .product-tabs-panels{ margin-top: 0 }
}

.product-tab-panel{
  display: none;
}
@media (min-width: 768px){
  .product-tab-panel.is-active{ display: block }
}

/* Mobile: alle Panels als Akkordeon */
@media (max-width: 767px){
  .product-tab-panel{
    display: block;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: var(--space-3);
    overflow: hidden;
  }
  .product-tab-panel-title{
    list-style: none;
    cursor: pointer;
    padding: var(--space-5) var(--space-6);
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-4);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-md);
    color: var(--color-text);
  }
  .product-tab-panel-title::-webkit-details-marker{ display: none }
  .product-tab-panel-icon{
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--color-surface-2);
    display: grid; place-items: center;
    transition: transform .25s var(--ease), background .15s ease, color .15s ease;
  }
  .product-tab-panel[open] .product-tab-panel-icon{
    background: var(--color-accent);
    color: #fff;
    transform: rotate(45deg);
  }
  .product-tab-panel-icon svg{ width: 14px; height: 14px }
  .product-tab-panel-content{
    padding: 0 var(--space-6) var(--space-6);
  }
}
@media (min-width: 768px){
  .product-tab-panel-title{ display: none }
  .product-tab-panel-content{ padding: 0 }
}

.product-prose{
  --product-prose-icon-max: 56px;
  max-width: var(--container-prose);
  font-size: var(--text-md);
  color: var(--color-text-soft);
  line-height: 1.7;
}
.product-prose > * + *{ margin-top: var(--space-4) }
.product-prose p{
  margin: 0 0 var(--space-4);
}
.product-prose p:last-child{
  margin-bottom: 0;
}
.product-prose h2,
.product-prose h3,
.product-prose h4{
  margin: var(--space-6) 0 var(--space-3);
  color: var(--color-text);
  font-family: var(--font-display);
  line-height: var(--lh-tight);
}
.product-prose h2:first-child,
.product-prose h3:first-child,
.product-prose h4:first-child{
  margin-top: 0;
}
.product-prose ul,
.product-prose ol{
  margin: 0 0 var(--space-4);
  padding-left: 1.35em;
  list-style: revert;
}
.product-prose li{
  margin-bottom: var(--space-2);
}
.product-prose li:last-child{
  margin-bottom: 0;
}
/* Bilder in Beschreibung: nicht hochskalieren (Icons ~50px), große Bilder unverändert */
.product-prose img{
  display: inline-block;
  vertical-align: top;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.product-prose img.size-thumbnail,
.product-prose .size-thumbnail img{
  max-width: var(--product-prose-icon-max);
}
.product-prose > img:only-child{
  display: block;
  width: auto;
  max-width: 100%;
}
/* Klassischer Editor: je ein Bild pro <p> — nebeneinander wenn mehrere Bild-Absätze hintereinander */
.product-prose p:has(> img:only-child):has(+ p > img:only-child),
.product-prose p:has(> img:only-child) + p:has(> img:only-child),
.product-prose p:has(> a:only-child > img:only-child):has(+ p > a:only-child > img:only-child),
.product-prose p:has(> a:only-child > img:only-child) + p:has(> a:only-child > img:only-child),
.product-prose p:has(> figure:only-child):has(+ p > figure:only-child),
.product-prose p:has(> figure:only-child) + p:has(> figure:only-child){
  display: inline-block;
  width: auto;
  max-width: var(--product-prose-icon-max);
  vertical-align: top;
  margin: 0 var(--space-2) var(--space-3) 0;
}
.product-prose p:has(> img:only-child):has(+ p > img:only-child) img,
.product-prose p:has(> img:only-child) + p:has(> img:only-child) img,
.product-prose p:has(> a:only-child > img:only-child) img,
.product-prose p:has(> figure:only-child) img{
  display: block;
  width: auto;
  max-width: var(--product-prose-icon-max);
  height: auto;
}
.product-prose figure img,
.product-prose .wp-block-image img{
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}
.product-prose .gallery img{
  display: block;
  width: 100%;
  max-width: 100%;
}
/* Mehrere Icons/Bilder als direkte Geschwister → nebeneinander */
.product-prose > figure:not(.size-full):not(.alignwide),
.product-prose > .wp-block-image:not(.size-full):not(.alignwide):not(.alignfull){
  display: inline-block;
  vertical-align: top;
  width: auto;
  max-width: var(--product-prose-icon-max);
  margin: 0 var(--space-2) var(--space-3) 0;
}
.product-prose > figure:not(.size-full):not(.alignwide) img,
.product-prose > .wp-block-image:not(.size-full):not(.alignwide):not(.alignfull) img{
  max-width: var(--product-prose-icon-max);
}
.product-prose > figure:only-of-type,
.product-prose > figure.aligncenter,
.product-prose > figure.size-full,
.product-prose > .wp-block-image.size-full,
.product-prose > .wp-block-image.alignwide{
  display: block;
  max-width: 100%;
  width: 100%;
  margin-right: 0;
}
.product-prose figure{
  margin: var(--space-4) 0;
}
.product-prose figcaption{
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
/* Gutenberg: verschachtelte Bild-Blöcke (nicht nur direkte Kinder) */
.product-prose .wp-block-image:not(.size-full):not(.alignwide):not(.alignfull):not(.size-large):not(.size-medium),
.product-prose figure.wp-block-image:not(.size-full):not(.alignwide):not(.size-large):not(.size-medium){
  display: inline-block;
  vertical-align: top;
  width: auto;
  max-width: var(--product-prose-icon-max);
  margin: 0 var(--space-2) var(--space-3) 0;
}
.product-prose .wp-block-image:not(.size-full):not(.alignwide) img,
.product-prose figure.wp-block-image:not(.size-full):not(.alignwide) img{
  max-width: var(--product-prose-icon-max);
}
.product-prose .wp-block-group__inner-container,
.product-prose .wp-block-group .wp-block-group__inner-container{
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: flex-start;
}
.product-prose .wp-block-group__inner-container > .wp-block-image,
.product-prose .wp-block-group__inner-container > figure{
  flex: 0 0 auto;
  max-width: var(--product-prose-icon-max);
  margin: 0 !important;
}
.product-prose .wp-block-group__inner-container img{
  max-width: var(--product-prose-icon-max);
}
/* Trust-Badges (Made in Germany, 5-Jahres-Garantie, Textiles Vertrauen …):
   Kundenwunsch — mehrere Bilder in EINEM Absatz sollen nebeneinander stehen,
   nicht untereinander. Classic-Editor liefert sie als <p><img> <img></p>;
   ohne Flex brechen sie auf schmaleren Spalten um. Einheitliche Hoehe bringt
   unterschiedlich grosse Siegel in eine saubere Reihe. */
.product-prose p:has(img + img){
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-5) 0;
}
.product-prose p:has(img + img) img{
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 90px;
  margin: 0;
  border-radius: 0;
}
/* Gutenberg Flex-Gruppen (Icons nebeneinander) */
.product-prose .is-layout-flex,
.product-prose [class*="is-layout-flex"],
.product-prose .wp-block-group.is-nowrap{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: var(--space-3) !important;
  align-items: flex-start;
  margin: var(--space-4) 0;
}
.product-prose .is-layout-flex > figure,
.product-prose .is-layout-flex > .wp-block-image,
.product-prose [class*="is-layout-flex"] > figure{
  display: block !important;
  flex: 0 0 auto;
  max-width: var(--product-prose-icon-max);
  margin: 0 !important;
}
.product-prose .is-layout-flex img,
.product-prose [class*="is-layout-flex"] img{
  width: auto;
  max-width: var(--product-prose-icon-max);
  height: auto;
}
/* Gutenberg-Galerie / Spalten */
.product-prose .wp-block-gallery,
.product-prose .blocks-gallery-grid,
.product-prose .wp-block-columns{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: var(--space-4) !important;
  align-items: flex-start;
  margin: var(--space-5) 0;
}
.product-prose .wp-block-gallery .wp-block-image,
.product-prose .blocks-gallery-item,
.product-prose .wp-block-column{
  flex: 1 1 140px;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
}
.product-prose .wp-block-gallery .wp-block-image{
  display: block;
  max-width: none;
}
.product-prose .wp-block-column{
  flex: 1 1 200px;
}
/* Klassische WP-[gallery] */
.product-prose .gallery{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-4);
  margin: var(--space-5) 0;
}
.product-prose .gallery .gallery-item{
  margin: 0 !important;
  text-align: center;
}
.product-prose .gallery-item img{
  display: block;
  width: 100%;
  max-width: 100%;
}
/* Absatz mit mehreren Bildern inline */
.product-prose p:has(img + img){
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: flex-start;
}
.product-prose p:has(img + img) img{
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: var(--product-prose-icon-max);
  margin: 0;
}
.product-prose .alignleft{
  float: left;
  margin: 0 var(--space-4) var(--space-3) 0;
  max-width: 48%;
}
.product-prose .alignright{
  float: right;
  margin: 0 0 var(--space-3) var(--space-4);
  max-width: 48%;
}
.product-prose::after{
  content: "";
  display: table;
  clear: both;
}
.product-prose blockquote{
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--color-accent);
  background: var(--color-surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.product-prose table{
  width: 100%;
  margin: var(--space-5) 0;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.product-prose th,
.product-prose td{
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  text-align: left;
}
.product-prose .wp-block-image,
.product-prose .alignwide,
.product-prose .alignfull{
  max-width: 100%;
}
.product-prose strong{ color: var(--color-text); font-weight: 600 }
.product-prose a{
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Spec-Tabelle als <dl> */
.product-specs{
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 760px;
}
@media (min-width: 500px){
  .product-specs{ grid-template-columns: minmax(160px, 30%) 1fr }
}
.product-specs dt,
.product-specs dd{
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border-soft);
  margin: 0;
}
.product-specs dt:last-of-type,
.product-specs dd:last-of-type{ border-bottom: 0 }
.product-specs dt{
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface-2);
}
.product-specs dd{ color: var(--color-text-soft) }
@media (max-width: 499px){
  .product-specs dt{ padding-bottom: 0 }
  .product-specs dd{ padding-top: var(--space-2); border-bottom: 1px solid var(--color-border-soft); margin-bottom: 0 }
}

/* Lieferumfang-Liste */
.product-scope-list{
  display: flex; flex-direction: column;
  gap: var(--space-3);
  max-width: 720px;
}
.product-scope-item{
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  line-height: 1.5;
}
.product-scope-item svg{
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.product-scope-item.is-included svg{ color: var(--color-success) }
.product-scope-item.is-excluded svg{ color: var(--color-error) }
.product-scope-item strong{ color: var(--color-text); font-weight: 600 }
.product-scope-item-meta{
  display: block;
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

/* Produktsicherheit-Block */
.product-safety{
  max-width: 720px;
  display: flex; flex-direction: column;
  gap: var(--space-5);
}
.product-safety-block h4{
  font-size: var(--text-md);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.product-safety-block p{
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  line-height: 1.6;
}
.product-safety-block a{
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ============================================================
   CUSTOM: FAQ (identisch)
   ============================================================ */
.child-faq-list{
  max-width: 780px; margin: 0 auto;
  display: flex; flex-direction: column;
  gap: var(--space-3);
}
.child-faq-item{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.child-faq-item[open]{ border-color: var(--color-accent) }
.child-faq-summary{
  list-style: none;
  cursor: pointer;
  width: 100%;
  padding: var(--space-5) var(--space-6);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--color-text);
  font-family: var(--font-display);
}
.child-faq-summary::-webkit-details-marker{ display: none }
.child-faq-icon{
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-surface-2);
  display: grid; place-items: center;
  transition: transform .25s var(--ease), background .15s ease, color .15s ease;
}
.child-faq-item[open] .child-faq-icon{
  background: var(--color-accent);
  color: #fff;
  transform: rotate(45deg);
}
.child-faq-icon svg{ width: 14px; height: 14px }
.child-faq-answer{
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-text-soft);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.child-faq-answer a{
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ============================================================
   CUSTOM: PRODUCT-REVIEWS
   ============================================================ */
.child-product-reviews{
  padding-block: var(--space-12);
  background: var(--color-bg-alt);
  border-block: 1px solid var(--color-border-soft);
}
.product-reviews-grid{
  display: grid; gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .product-reviews-grid{ grid-template-columns: 1fr 2fr; gap: var(--space-10) }
}
.product-reviews-average{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  align-self: start;
}
.product-reviews-average-value{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  color: var(--color-text);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.product-reviews-average .stars{
  color: var(--color-star);
  font-size: var(--text-lg);
  letter-spacing: 2px;
  margin-bottom: var(--space-2);
}
.product-reviews-average-meta{
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.product-reviews-bar-list{
  display: flex; flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-soft);
  text-align: left;
}
.product-reviews-bar-row{
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-soft);
}
.product-reviews-bar-row-label{ flex-shrink: 0; width: 32px; font-weight: 500 }
.product-reviews-bar-track{
  flex: 1;
  height: 6px;
  background: var(--color-surface-2);
  border-radius: 3px;
  overflow: hidden;
}
.product-reviews-bar-fill{
  height: 100%;
  background: var(--color-star);
  border-radius: 3px;
}
.product-reviews-bar-row-count{ flex-shrink: 0; width: 32px; text-align: right; font-variant-numeric: tabular-nums }

.product-reviews-list{
  display: flex; flex-direction: column;
  gap: var(--space-4);
}
.product-review{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-5);
}
.product-review-header{
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.product-review-avatar{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.product-review-meta{
  flex: 1;
  display: flex; flex-direction: column; gap: 2px;
}
.product-review-name{
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.product-review-verified{
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px;
  color: var(--color-success);
  font-weight: 500;
}
.product-review-verified svg{ width: 12px; height: 12px }
.product-review-stars{
  color: var(--color-star);
  letter-spacing: 1px;
  font-size: var(--text-sm);
}
.product-review-date{
  margin-left: auto;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.product-review-text{
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  line-height: 1.6;
}

/* ============================================================
   CROSS-SELL (.product-grid + .product-card identisch zur Startseite)
   ============================================================ */
.product-grid{ display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)) }
.product-card{ background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all .2s var(--ease); position: relative }
.product-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--color-accent) }
.product-card-thumb{ display: block; position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #e8efff 0%, #dde3ee 100%); overflow: hidden }
.product-card-thumb::after{
  content: "";
  position: absolute;
  inset: auto 18% 18% 18%;
  height: 38%;
  background: linear-gradient(180deg, #fefefe 0%, #fefefe 35%, #b8966a 35%, #a08458 100%);
  border-radius: 6px 6px 0 0;
  filter: drop-shadow(0 8px 16px rgb(11 13 18 / .15));
}
.product-card-thumb[data-mattress="true"]::after{
  background: linear-gradient(180deg, #f5e6d0 0%, #e6d4ba 100%);
  height: 28%;
  inset: auto 18% 24% 18%;
  border-radius: 8px;
}
.product-card-thumb[data-lattenrost="true"]::after{
  background: repeating-linear-gradient(90deg, #b8966a 0, #b8966a 10px, #a08458 10px, #a08458 12px);
  height: 16%;
  inset: auto 16% 36% 16%;
  border-radius: 2px;
}
.product-card-body{ padding: var(--space-5); display: flex; flex-direction: column; flex: 1 }
.product-card-vendor{ font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-2) }
.product-card-name{ font-family: var(--font-sans); font-weight: 600; font-size: var(--text-md); margin-bottom: var(--space-2); line-height: 1.3 }
.product-card-rating{ display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--color-text-soft); margin-bottom: var(--space-3) }
.product-card-rating .stars{ color: var(--color-star) }
.product-card-price{ display: flex; align-items: baseline; gap: var(--space-2); margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--color-border-soft); font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600 }

/* ============================================================
   ADVICE-BANNER (identisch)
   ============================================================ */
.child-advice{
  background: linear-gradient(135deg, var(--color-accent-deep) 0%, var(--color-accent-hover) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  margin-block: var(--space-8);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px){
  .child-advice{ padding: var(--space-16) var(--space-12) }
}
.child-advice::before{
  content: "";
  position: absolute;
  inset: auto -10% -50% auto;
  width: 60%; aspect-ratio: 1;
  background: rgb(255 255 255 / .05);
  border-radius: 50%;
}
.child-advice-inner{ position: relative; z-index: 1; max-width: 640px; margin: 0 auto }
.child-advice-eyebrow{ color: var(--color-accent-on-dark) }
.child-advice-title{ font-size: var(--text-3xl); color: #fff; margin-bottom: var(--space-3) }
.child-advice-title em{ font-style: italic; font-weight: 500 }
.child-advice-text{ font-size: var(--text-md); margin-bottom: var(--space-8); color: var(--color-text-on-dark) }
.child-advice-contacts{ display: flex; gap: var(--space-4); flex-wrap: wrap; justify-content: center }
.child-advice-btn{ background: #fff; color: var(--color-accent-deep); border-radius: var(--radius); padding: var(--space-4) var(--space-6); font-weight: 600; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 52px; font-size: var(--text-md); transition: all .2s var(--ease) }
.child-advice-btn:hover{ transform: translateY(-2px); box-shadow: var(--shadow-3) }
.child-advice-btn--ghost{ background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / .3) }
.child-advice-btn--ghost:hover{ background: rgb(255 255 255 / .1) }
.child-advice-btn svg{ width: 18px; height: 18px }
.child-advice-hours{ margin-top: var(--space-6); font-size: var(--text-xs); color: rgb(255 255 255 / .7); letter-spacing: .05em }

/* ============================================================
   SITE-FOOTER (identisch)
   ============================================================ */
.site-footer{ background: var(--color-text); color: var(--color-text-on-dark-soft); padding-block: var(--space-16) var(--space-8) }
.footer-grid{ display: grid; gap: var(--space-10); grid-template-columns: 1fr }
@media (min-width: 768px){ .footer-grid{ grid-template-columns: 1.5fr 1fr 1fr 1fr } }
.footer-brand .logo{ color: #fff }
.footer-brand .logo-text small{ color: var(--color-text-on-dark-muted) }
.footer-about{ margin-top: var(--space-5); font-size: var(--text-sm); max-width: 340px; line-height: 1.7 }
.footer-contact{ margin-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3) }
.footer-contact-item{ display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm) }
.footer-contact-item svg{ width: 16px; height: 16px; color: var(--color-accent-on-dark) }
.footer-title{ color: #fff; font-size: var(--text-sm); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--space-5); font-family: var(--font-sans) }
.footer-list{ display: flex; flex-direction: column; gap: var(--space-3) }
.footer-list a{ font-size: var(--text-sm); color: var(--color-text-on-dark-soft); transition: color .15s ease }
.footer-list a:hover{ color: #fff }
.footer-bottom{ margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--color-dark-border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-xs) }
.footer-legal{ display: flex; gap: var(--space-5); flex-wrap: wrap }
.footer-payments{ display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center }
.footer-payment{ background: #fff; color: var(--color-text); padding: 6px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: .02em }

/* Animations */
@media (prefers-reduced-motion: no-preference){
  .reveal{ opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease) }
  .reveal.is-visible{ opacity: 1; transform: none }
}
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .01ms !important; transition-duration: .01ms !important }
}

/* Padding-Bottom auf Mobile, damit Sticky-Bar nichts überlagert */
@media (max-width: 899px){
  body{ padding-bottom: 80px }
}


/* Anlieferungs-Hinweis (Paket vs. Spedition). Eigene Zeile unter der
   Preis-Meta, bewusst ruhig — er informiert, er wirbt nicht. */
.product-info-delivery-note{
  display: flex; align-items: center; gap: var(--space-2, 8px);
  margin-top: var(--space-2, 8px);
  font-size: var(--text-sm, .875rem);
  color: var(--color-text-muted, #6b7280);
}

.product-info-delivery-note svg{
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--color-accent, #1e5baa);
}