/* =========================================================================
 * meinrollgeruest.de — Single-Product-Layout (Standard für alle Produkte)
 * Klassen-Prefix:  .str-* (kollisionsfrei mit Enfold + WooCommerce)
 * Akzentfarbe:     Orange (#e8601a — Brand: /fahrzeugausstattung/) — kein Gelb (Brand-Vorgabe)
 * Hauptaktion:     Grün (#16a34a)  — wie Bauhaus-Standard
 * ======================================================================= */

:root{
  --str-blue:        #1f3a8a;
  --str-blue-d:      #162d6b;
  --str-green:       #16a34a;
  --str-green-d:     #15803d;
  --str-orange:      #e8601a;
  --str-orange-soft: #fff7ed;
  --str-orange-line: #fed7aa;
  --str-red:         #dc2626;
  --str-ink:         #0f172a;
  --str-gray:        #64748b;
  --str-gray-l:      #94a3b8;
  --str-line:        #e2e8f0;
  --str-bg:          #ffffff;
  --str-bg-soft:     #f8fafc;
  --str-shadow:      0 4px 12px rgba(15,23,42,.08);
  --str-radius:      8px;
  --str-radius-lg:   12px;
}

/* ---- WC-Defaults im neuen Layout abklemmen ---------------------------- */
/* WC-Galerie wird per Custom-Galerie ersetzt. Variations-Form wird NUR
 * versteckt, wenn der Pill-Konfigurator tatsächlich Pills gerendert hat
 * (`body.str-cfg-rendered` setzt das JS dann). Bei >30 Variants oder JS-Fehler
 * bleibt die WC-Form sichtbar — kein Doppelzustand. */
.str-product-wrap .woocommerce-product-gallery__wrapper{display:none!important}
/* Doppel-Variantenauswahl-Fix: WC-Standard-Selects verstecken NUR wenn Pills da sind */
body.str-cfg-rendered .str-product-wrap form.variations_form > table.variations{display:none !important}
body.str-cfg-rendered .str-product-wrap form.variations_form .reset_variations{display:none !important}

/* Variation-Description Toggle — Button INNERHALB .single_variation_wrap,
 * direkt nach .single_variation, mit orangenem Akzent. */
.str-product-wrap .single_variation_wrap{position:relative}
.str-product-wrap .single_variation.is-shortened{
  max-height:110px; overflow:hidden; position:relative;
}
.str-product-wrap .single_variation.is-shortened::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:48px;
  background:linear-gradient(rgba(255,255,255,0), #fff 85%);
  pointer-events:none;
}
.str-product-wrap .single_variation.is-shortened.is-expanded{max-height:none}
.str-product-wrap .single_variation.is-shortened.is-expanded::after{display:none}
.str-variation-toggle{
  display:inline-block; margin:-2px 0 12px; padding:4px 0;
  font-weight:700; color:var(--str-orange) !important;
  background:transparent; border:0; cursor:pointer;
  font-family:inherit; font-size:13px;
}
.str-variation-toggle:hover{color:#cc4f15 !important; text-decoration:underline}
.str-variation-toggle::after{content:" ▾"}
.str-variation-toggle.is-expanded::after{content:" ▴"}

/* Trust-Pills Toggle — JS-basiert (NICHT <details>). Bei .is-collapsible werden
 * Pills mit .is-extra initial versteckt, durch +X mehr eingeblendet. */
.str-product-wrap .str-pills.is-collapsible{position:relative}
.str-product-wrap .str-pills.is-collapsible .str-pill.is-extra{display:none}
.str-product-wrap .str-pills.is-collapsible .str-pill--less{display:none}
.str-product-wrap .str-pills.is-collapsible.is-expanded .str-pill.is-extra{display:inline-flex}
.str-product-wrap .str-pills.is-collapsible.is-expanded .str-pill--more{display:none}
.str-product-wrap .str-pills.is-collapsible.is-expanded .str-pill--less{display:inline-flex}
.str-product-wrap .str-pill--more,
.str-product-wrap .str-pill--less{
  background:#fff5ec !important; border:1px solid var(--str-orange) !important;
  color:var(--str-orange) !important; cursor:pointer !important;
  font-weight:700 !important; font-family:inherit !important;
  font-size:11px !important; padding:5px 10px !important;
  border-radius:4px !important; line-height:1.3 !important;
}
.str-product-wrap .str-pill--more:hover,
.str-product-wrap .str-pill--less:hover{
  background:var(--str-orange) !important; color:#fff !important;
}

/* Cart-Form: Simple-Produkte = quantity+button nebeneinander.
 * Variable-Produkte = Variations-Tabelle obenauf, dann variations_button-Block.
 * Beide getrennt steuern, sonst zerlegen Tabellen das Flex-Layout. */
.str-product-wrap form.cart{margin:0}
.str-product-wrap form.cart:not(.variations_form){display:flex;gap:10px;align-items:stretch;flex-wrap:nowrap}
.str-product-wrap form.variations_form{display:block}
.str-product-wrap form.variations_form table.variations{margin:0 0 14px;width:100%;background:transparent}
.str-product-wrap form.variations_form table.variations th,
.str-product-wrap form.variations_form table.variations td{padding:6px 8px 6px 0}
.str-product-wrap form.variations_form table.variations label{font-weight:600;color:var(--str-ink);font-size:14px;margin:0}
.str-product-wrap form.variations_form table.variations select{
  width:100%;max-width:360px;height:44px;padding:0 36px 0 12px;
  border:2px solid var(--str-line);border-radius:8px;background:#fff;font-size:15px;
  appearance:none;-webkit-appearance:none;-moz-appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2336609c' stroke-width='2'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat:no-repeat;background-position:right 12px center;background-size:12px;
}
.str-product-wrap form.variations_form .single_variation_wrap .single_variation{margin:0 0 12px}
.str-product-wrap form.variations_form .reset_variations{font-size:13px;color:var(--str-gray)}
.str-product-wrap form.variations_form .variations_button{display:flex;gap:10px;align-items:stretch;flex-wrap:nowrap;flex:1 1 auto;min-width:0;margin-top:6px}
.str-product-wrap form .quantity{flex:0 0 auto}
/* Quantity-Box: WC-Original belassen — keine str-Overrides */
.str-product-wrap form button.single_add_to_cart_button,
.str-product-wrap form button.alt{flex:1 1 180px;min-width:0;background:var(--str-green);color:#fff;border:0;border-radius:8px;font-size:14px;font-weight:800;cursor:pointer;padding:10px 14px;letter-spacing:0;min-height:54px;height:auto;line-height:1.2;box-shadow:0 4px 0 var(--str-green-d);text-transform:none;font-family:inherit;white-space:normal;word-break:normal;text-align:center;overflow:visible;display:inline-flex;align-items:center;justify-content:center}
.str-product-wrap form button.single_add_to_cart_button:hover{background:var(--str-green-d)}
/* Cart-Wrap: Button darf nicht beschnitten werden */
.str-product-wrap .str-cta-wrap, .str-product-wrap form.cart{overflow:visible}

/* =========================================================================
 *  PRODUKT-WRAPPER & GRID
 *  (Header / Top-Bar bleiben Enfold-global — hier nicht angefasst)
 * ======================================================================= */
.str-product-wrap{max-width:1400px; margin:0 auto; padding:24px}

.str-breadcrumb{
  padding:12px 0; font-size:13px; color:var(--str-gray);
  border-bottom:1px solid var(--str-line); margin-bottom:24px;
}
.str-breadcrumb a{color:var(--str-blue);text-decoration:none}
.str-breadcrumb strong{color:var(--str-ink)}

.str-product-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:40px;
}
@media(max-width:980px){
  .str-product-grid{grid-template-columns:1fr;gap:24px}
}

/* =========================================================================
 *  GALERIE
 * ======================================================================= */
.str-gallery{position:relative}
.str-gallery-main{
  position:relative; aspect-ratio:1/1;
  background:#f1f5f9;
  border-radius:var(--str-radius); overflow:hidden;
  border:1px solid var(--str-line);
  display:flex; align-items:center; justify-content:center;
}
.str-gallery-main img{width:100%;height:100%;object-fit:contain}

.str-badge-stack{
  position:absolute; top:16px; left:16px;
  display:flex; flex-direction:column; gap:8px; z-index:2;
}
.str-badge{
  padding:6px 12px; border-radius:4px;
  font-size:12px; font-weight:800; letter-spacing:.3px;
}
.str-badge--brand{background:var(--str-blue);color:#fff}
.str-badge--norm{background:#fff;color:var(--str-blue);border:1px solid var(--str-blue)}

.str-save-circle{
  position:absolute; top:16px; right:16px;
  background:var(--str-red); color:#fff;
  width:96px; height:96px; border-radius:50%;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center; font-weight:800;
  box-shadow:0 6px 20px rgba(220,38,38,.4);
  transform:rotate(-8deg); z-index:2;
}
.str-save-circle .small{font-size:10px;opacity:.95}
.str-save-circle .big{font-size:24px;line-height:1;margin:2px 0}

.str-video-tag{
  position:absolute; bottom:14px; right:14px;
  background:rgba(15,23,42,.9); color:#fff;
  padding:8px 14px; border-radius:6px;
  font-size:12px; font-weight:600; z-index:2;
  display:flex; align-items:center; gap:6px;
  text-decoration:none;
}

.str-thumbs{
  display:flex; flex-wrap:nowrap;
  gap:8px; margin-top:10px;
  overflow-x:auto; overflow-y:hidden;
  scroll-behavior:smooth; scrollbar-width:thin;
  scrollbar-color:var(--str-orange) #fff5ec;
  -webkit-overflow-scrolling:touch;
  padding-bottom:6px;
}
.str-thumbs::-webkit-scrollbar{height:10px}
.str-thumbs::-webkit-scrollbar-track{background:#fff5ec; border-radius:4px}
.str-thumbs::-webkit-scrollbar-thumb{background:var(--str-orange); border-radius:4px; min-width:30px}
.str-thumbs::-webkit-scrollbar-thumb:hover{background:#cc4f15}
.str-thumb{
  flex:0 0 calc((100% - 5*8px) / 6); /* 6 sichtbar bei 8px gap, weitere via Scroll */
  max-width:90px; min-width:60px;
  aspect-ratio:1/1; background:#f1f5f9;
  border:2px solid var(--str-line); border-radius:6px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:border-color .15s; overflow:hidden;
}
.str-thumb img{width:100%;height:100%;object-fit:cover}
.str-thumb.is-active,.str-thumb:hover{border-color:var(--str-blue)}
.str-thumb--video{background:var(--str-ink);color:#fff;font-size:18px}
.str-thumb--pdf{background:#fee2e2;color:#991b1b;font-size:11px;font-weight:700}

/* =========================================================================
 *  INFO-SPALTE
 * ======================================================================= */
.str-info{min-width:0}

.str-brand-row{
  display:flex; align-items:center; gap:10px;
  margin-bottom:8px; flex-wrap:wrap;
}
.str-brand-logo{
  background:var(--str-blue); color:#fff;
  font-weight:800; font-size:11px;
  padding:4px 10px; border-radius:4px;
  letter-spacing:.5px; white-space:nowrap;
}
.str-article-no{font-size:12px;color:var(--str-gray)}

/* Meta-Block (Art.-Nr. + EAN nebeneinander) */
.str-meta-block{display:inline-flex; gap:14px; flex-wrap:wrap; align-items:baseline}
.str-meta-item{font-size:12px; color:var(--str-gray); white-space:nowrap}
.str-meta-item small{font-weight:400; margin-right:3px; font-size:12px}
.str-meta-item strong{color:var(--str-ink); font-weight:600}

.str-info h1.product_title,
.str-info .str-title{
  font-size:28px; line-height:1.25;
  margin:0 0 6px; font-weight:800; color:var(--str-ink);
}
.str-lead{font-size:15px;color:var(--str-gray);margin:0 0 14px}

/* Lead-Toggle bei langer Beschreibung — pure CSS, native <details> */
.str-product-wrap .str-lead-toggle{margin:0 0 14px}
.str-product-wrap .str-lead-toggle summary.str-lead{
  margin:0; cursor:pointer; list-style:none; display:block;
}
.str-product-wrap .str-lead-toggle summary.str-lead::-webkit-details-marker{display:none}
.str-product-wrap .str-lead-toggle .str-lead-full{display:none}
.str-product-wrap .str-lead-toggle[open] .str-lead-short{display:none}
.str-product-wrap .str-lead-toggle[open] .str-lead-full{display:inline}
.str-product-wrap .str-lead-toggle-label{
  color:var(--str-blue); font-weight:600; margin-left:6px; white-space:nowrap;
}
.str-product-wrap .str-lead-toggle-label::before{content:"mehr anzeigen ▾"; font-size:14px}
.str-product-wrap .str-lead-toggle[open] .str-lead-toggle-label::before{content:"weniger anzeigen ▴"}

.str-stars-row{
  display:flex; align-items:center; gap:12px;
  margin-bottom:18px; font-size:14px; flex-wrap:wrap;
}
.str-stars{color:var(--str-orange);font-size:22px;letter-spacing:2px;line-height:1}
.str-stars-row strong{font-size:15px;color:var(--str-ink)}
.str-stars-row a{color:var(--str-blue);text-decoration:none;font-size:13px}
.str-stars-row a:hover{text-decoration:underline}

/* ---- Trust-Pillen (hellblau, dezent — Manu: nicht das dunkle Theme-Blau) --- */
.str-product-wrap .str-pills{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px}
.str-product-wrap .str-pill{
  background:#e0f2fe !important;
  border:1px solid #7dd3fc !important;
  color:#075985 !important;
  font-size:11px !important; font-weight:700 !important;
  padding:5px 10px !important;
  border-radius:4px !important;
  letter-spacing:.2px !important;
  line-height:1.3 !important;
  text-transform:none !important;
}

/* =========================================================================
 *  PREIS-BLOCK
 * ======================================================================= */
.str-price-block{
  padding:18px 0; margin-bottom:20px;
  border-top:2px solid var(--str-line);
  border-bottom:2px solid var(--str-line);
}
.str-uvp{font-size:13px;color:var(--str-gray);margin-bottom:4px}
.str-uvp s{margin-right:6px}
.str-price-row{display:flex;align-items:flex-end;gap:26px;flex-wrap:wrap}
.str-price-col{display:flex;flex-direction:column}
.str-price-col--netto{border-left:2px solid var(--str-line);padding-left:26px}
.str-price-headrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.str-price-now{
  font-size:46px; font-weight:900;
  color:#003b6f; line-height:1;
  letter-spacing:-0.5px;
}
.str-price-now--small{font-size:40px}
/* Variation-price_html (JS-injiziert) erbt Groesse/Farbe, Suffix+Label raus */
.str-price-now .price,.str-price-now .amount,.str-price-now bdi,
.str-price-now ins,.str-price-now ins .amount,.str-price-now ins bdi,
.str-price-now .woocommerce-Price-currencySymbol{
  font-size:inherit !important; color:inherit !important;
  font-weight:inherit !important; line-height:inherit !important;
}
.str-price-now .woocommerce-price-suffix,
.str-price-now .wc-gzd-sale-price-label{display:none !important}
.str-price-now del,.str-price-now del .amount,.str-price-now del bdi{
  font-size:16px !important; color:var(--str-gray) !important; font-weight:400 !important;
}
.str-price-now ins{text-decoration:none;background:none}
.str-price-netto{
  font-size:30px; font-weight:800;
  color:var(--str-orange); line-height:1;
}
.str-price-sub{font-size:12px;color:var(--str-gray);margin-top:5px}
.str-save-tag{
  background:var(--str-orange); color:#fff;
  font-weight:800; font-size:13px;
  padding:4px 10px; border-radius:4px;
}
.str-price-meta{font-size:12px;color:var(--str-gray);margin-top:6px}
.str-price-from{font-size:14px;color:var(--str-gray);margin-bottom:4px}

.str-vorkasse{
  margin-top:10px; padding:10px 14px;
  background:var(--str-orange-soft);
  border:1px solid var(--str-orange-line);
  border-radius:6px; font-size:13px;
  color:#9a3412;
}
.str-vorkasse strong{color:var(--str-ink)}

/* =========================================================================
 *  KONFIGURATOR (3-Schritt — nur bei variablen Produkten sichtbar)
 * ======================================================================= */
.str-config{margin-bottom:18px}
.str-config__label{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:8px; font-size:13px; font-weight:700;
}
.str-config__label small{font-weight:400;color:var(--str-gray)}

.str-config-pills{display:flex;flex-wrap:wrap;gap:8px}
.str-config-pill{
  background:#fff;
  border:2px solid var(--str-line);
  padding:10px 12px; border-radius:8px;
  font-size:13px; font-weight:700;
  cursor:pointer; text-align:left;
  flex:1 1 calc(33.333% - 8px);
  min-width:0; max-width:calc(33.333% - 8px);
  line-height:1.2;
  transition:all .15s;
  font-family:inherit; color:var(--str-ink);
  box-sizing:border-box;
  overflow:hidden;
}
.str-config-pill .str-config-pill__lbl{
  display:block; white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis;
}
.str-config-pill small{
  display:block; font-size:11px;
  color:var(--str-gray); font-weight:400; margin-top:3px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
@media(max-width:520px){
  .str-config-pill{flex:1 1 calc(50% - 8px); max-width:calc(50% - 8px)}
}
.str-config-pill:hover{border-color:var(--str-blue-d)}
.str-config-pill.is-active{
  border-color:var(--str-blue);
  background:#eff6ff; color:var(--str-blue);
}
.str-config-pill[disabled]{opacity:.4;cursor:not-allowed}

.str-hobby-warn{
  margin-top:10px; padding:10px 14px;
  background:var(--str-orange-soft);
  border-left:4px solid var(--str-orange);
  border-radius:6px; font-size:12px; color:#9a3412;
}

/* =========================================================================
 *  LIEFERUNG  (immer Spedition für Gerüste, Express auf Anfrage)
 * ======================================================================= */
.str-delivery{
  display:grid; grid-template-columns:1fr; gap:10px; margin:18px 0;
}
.str-delivery-card{
  border:2px solid var(--str-line); border-radius:8px;
  padding:12px; transition:all .15s;
}
.str-delivery-card.is-primary{border-color:var(--str-green);background:#f0fdf4}
.str-delivery-card__head{
  display:flex; align-items:center; gap:8px;
  font-weight:700; font-size:14px; margin-bottom:4px;
}
.str-delivery-card__head .icon{font-size:22px}
.str-delivery-card__when{font-size:12px;color:var(--str-green-d);font-weight:700}
.str-delivery-card__meta{font-size:11px;color:var(--str-gray);margin-top:2px}

/* =========================================================================
 *  CTA / WARENKORB
 * ======================================================================= */
.str-cta-row{display:flex;gap:10px;margin-bottom:8px;align-items:stretch}

.str-qty{
  display:flex; align-items:center;
  border:2px solid var(--str-line);
  border-radius:8px; overflow:hidden; background:#fff;
}
.str-qty button{
  border:0; background:#fff;
  width:42px; height:54px;
  font-size:20px; cursor:pointer; color:var(--str-ink);
}
.str-qty input{
  width:46px; text-align:center;
  border:0; font-size:16px; outline:none;
  height:54px; font-weight:700;
}

.str-add-cart{
  flex:1; background:var(--str-green); color:#fff;
  border:0; border-radius:8px;
  font-size:17px; font-weight:800; cursor:pointer;
  padding:0 20px; letter-spacing:.3px;
  transition:all .15s; height:54px;
  display:flex; align-items:center; justify-content:center; gap:8px;
  box-shadow:0 4px 0 var(--str-green-d);
  font-family:inherit;
}
.str-add-cart:hover{background:var(--str-green-d)}
.str-add-cart:active{transform:translateY(2px);box-shadow:0 2px 0 var(--str-green-d)}
.str-add-cart[disabled]{
  background:var(--str-gray-l); box-shadow:0 4px 0 var(--str-gray);
  cursor:not-allowed;
}

.str-icon-btn{
  background:#fff; border:2px solid var(--str-line);
  border-radius:8px; height:54px; width:54px;
  cursor:pointer; font-size:22px;
  display:flex; align-items:center; justify-content:center;
  color:var(--str-ink); transition:border-color .15s;
}
.str-icon-btn:hover{border-color:var(--str-blue)}

/* PayPal-Express  (PayPal-CI #ffc439 — nicht ändern!) */
.str-paypal-btn{
  width:100%;
  background:#ffc439; border:0; border-radius:8px;
  height:48px; font-weight:700; cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:10px;
  font-size:14px; color:#003087; margin-top:10px;
  font-family:inherit; transition:background .15s;
}
.str-paypal-btn:hover{background:#f0b125}

/* Zahlungsarten */
.str-pay-icons{
  display:flex; gap:6px; margin:12px 0;
  flex-wrap:wrap; align-items:center;
}
.str-pay-icons > span:first-child{
  font-size:11px; color:var(--str-gray); margin-right:4px;
}
.str-pay{
  background:#fff; border:1px solid var(--str-line);
  border-radius:4px; padding:4px 8px;
  font-size:11px; font-weight:600; color:#475569;
}

/* =========================================================================
 *  BERATER-BOX  (Theme-Blau Background, alle Texte weiss)
 * ======================================================================= */
.str-product-wrap .str-berater{
  display:flex !important; gap:14px !important; align-items:center !important;
  background:linear-gradient(135deg,#36609c,#244878) !important;
  color:#fff !important; border-radius:10px !important; padding:14px !important;
  margin:16px 0 !important;
}
.str-product-wrap .str-berater *{color:#fff !important}
.str-product-wrap .str-berater__avatar{
  width:54px !important; height:54px !important; border-radius:50% !important;
  background:#fff !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  font-size:28px !important; flex-shrink:0 !important; overflow:hidden !important;
  color:var(--str-blue) !important;
}
.str-product-wrap .str-berater__avatar img{width:100% !important;height:100% !important;object-fit:cover !important}
.str-product-wrap .str-berater__text{flex:1 !important;font-size:13px !important;color:#fff !important}
.str-product-wrap .str-berater__text strong{display:block !important;font-size:14px !important;margin-bottom:3px !important;color:#fff !important}
.str-product-wrap .str-berater a{
  color:#fff !important; font-weight:700 !important;
  text-decoration:underline !important; text-underline-offset:2px !important;
}

/* =========================================================================
 *  PRODUKTHIGHLIGHTS  (4er-Grid mit Icon + Text)
 * ======================================================================= */
.str-highlights{
  margin-top:48px; background:var(--str-bg-soft);
  border-radius:var(--str-radius-lg);
  padding:32px; border:1px solid var(--str-line);
}
.str-highlights h2{margin:0 0 6px;font-size:24px;font-weight:800}
.str-highlights__sub{color:var(--str-gray);margin-bottom:24px;font-size:14px}
.str-hl-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
@media(max-width:900px){.str-hl-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.str-hl-grid{grid-template-columns:1fr}}
.str-hl{
  background:#fff; border-radius:10px;
  padding:20px; border:1px solid var(--str-line);
}
.str-hl__icon{font-size:34px;margin-bottom:10px;display:block}
.str-hl strong{
  display:block; margin-bottom:6px;
  font-size:15px; color:var(--str-blue);
}
.str-hl p{margin:0;font-size:13px;color:var(--str-gray);line-height:1.5}

/* =========================================================================
 *  TABS  (WC-Default-Tabs neu gestylt)
 * ======================================================================= */
/* Tabs: flach — minimaler Reset (Manus Vorgabe „wie vorher original flach").
   Theme-/Plugin-Stil mit dunkelblauem voluminösen Tab-Bar wird auf
   simple Underline-Tabs zurückgebogen. */
.woocommerce-tabs ul.tabs.wc-tabs{
  background:transparent !important; border:0 !important; border-bottom:1px solid var(--str-line) !important;
  display:flex !important; flex-wrap:wrap !important; gap:0 !important;
  padding:0 !important; margin:0 0 18px !important; list-style:none !important;
}
.woocommerce-tabs ul.tabs.wc-tabs li{
  background:transparent !important; border:0 !important; box-shadow:none !important;
  margin:0 !important; padding:0 !important; border-radius:0 !important;
}
.woocommerce-tabs ul.tabs.wc-tabs li::before,
.woocommerce-tabs ul.tabs.wc-tabs li::after{display:none !important}
.woocommerce-tabs ul.tabs.wc-tabs li a{
  background:transparent !important; color:var(--str-ink) !important;
  border:0 !important; border-bottom:3px solid transparent !important;
  padding:12px 18px !important; font-weight:600 !important; font-size:14px !important;
  text-shadow:none !important; box-shadow:none !important; text-transform:none !important;
  border-radius:0 !important;
}
.woocommerce-tabs ul.tabs.wc-tabs li.active a,
.woocommerce-tabs ul.tabs.wc-tabs li.active{
  border-bottom-color:var(--str-blue) !important;
  color:var(--str-blue) !important;
  background:transparent !important;
}
/* Tab-INHALT (.wc-tab / .panel) NICHT überschreiben — Theme-/WC-JS steuert
 * display:none/block beim Switching. Eigene Overrides hier brechen die Sicht. */

/* Eckdaten-Liste */
.str-facts{
  display:grid; grid-template-columns:repeat(2,1fr);
  gap:0 32px; list-style:none; padding:0; margin:0;
}
@media(max-width:700px){.str-facts{grid-template-columns:1fr}}
.str-facts li{
  padding:10px 0; border-bottom:1px solid var(--str-line);
  display:flex; justify-content:space-between;
  font-size:14px; gap:12px;
}
.str-facts li span:first-child{color:var(--str-gray)}
.str-facts li span:last-child{font-weight:700;text-align:right}

/* Downloads */
.str-downloads{
  display:grid; grid-template-columns:repeat(2,1fr);
  gap:12px; margin-top:14px;
}
@media(max-width:700px){.str-downloads{grid-template-columns:1fr}}
.str-dl{
  display:flex; align-items:center; gap:14px;
  padding:14px; border:1px solid var(--str-line);
  border-radius:8px; background:var(--str-bg-soft);
  text-decoration:none; color:var(--str-ink);
  transition:all .15s;
}
.str-dl:hover{border-color:var(--str-blue);background:#eff6ff}
.str-dl__icon{
  width:42px; height:42px;
  background:#fee2e2; color:#991b1b;
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:11px; flex-shrink:0;
}
.str-dl__text strong{display:block;font-size:14px}
.str-dl__text small{color:var(--str-gray);font-size:12px}

/* Norm-Hinweis */
.str-norm-hint{
  background:var(--str-orange-soft);
  border-left:4px solid var(--str-orange);
  padding:14px 18px; border-radius:6px;
  margin-top:18px; font-size:13px;
}
.str-norm-hint strong{display:block;margin-bottom:4px}

/* FAQ-Akkordeon */
.str-faq details{
  background:var(--str-bg-soft);
  border:1px solid var(--str-line);
  border-radius:8px; padding:14px 18px;
  margin-bottom:8px; font-size:14px;
}
.str-faq details summary{
  cursor:pointer; font-weight:700;
  list-style:none;
  display:flex; justify-content:space-between; align-items:center;
}
.str-faq details summary::after{
  content:"+"; font-size:22px; color:var(--str-blue);
  transition:transform .2s;
}
.str-faq details[open] summary::after{content:"−"}
.str-faq details p{margin:10px 0 0;color:#334155}

/* =========================================================================
 *  BEWERTUNGEN
 * ======================================================================= */
.str-reviews-head{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:18px; flex-wrap:wrap; gap:14px;
}
.str-review-score{
  display:flex; align-items:center; gap:14px;
  background:var(--str-bg-soft);
  padding:14px 20px; border-radius:8px;
  border:1px solid var(--str-line);
}
.str-review-score .num{font-size:36px;font-weight:900;color:var(--str-ink);line-height:1}
.str-review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:800px){.str-review-grid{grid-template-columns:1fr}}
.str-review{
  background:var(--str-bg-soft);
  border:1px solid var(--str-line);
  border-radius:8px; padding:16px; font-size:13px;
}
.str-review__author{
  color:var(--str-gray); font-size:11px;
  margin-top:8px;
  display:flex; justify-content:space-between;
}
.str-review__author .verified{color:var(--str-green-d);font-weight:700}

/* =========================================================================
 *  CROSS-SELL + BUNDLE
 * ======================================================================= */
.str-cross-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
@media(max-width:800px){.str-cross-grid{grid-template-columns:repeat(2,1fr)}}
.str-cross-item{
  border:1px solid var(--str-line);
  border-radius:8px; padding:14px;
  display:flex; flex-direction:column; gap:8px;
  background:#fff; transition:all .15s;
}
.str-cross-item:hover{
  border-color:var(--str-blue);
  box-shadow:0 4px 12px rgba(31,58,138,.08);
}
.str-cross-item__img{
  aspect-ratio:1/1; background:var(--str-bg-soft);
  border-radius:6px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.str-cross-item__img img{width:100%;height:100%;object-fit:cover}
.str-cross-item__name{font-size:13px;font-weight:600;min-height:36px;line-height:1.3}
.str-cross-item__price{font-weight:800;color:var(--str-ink);font-size:16px}
.str-cross-item__btn{
  background:#fff; border:2px solid var(--str-green);
  color:var(--str-green-d); font-weight:700;
  padding:8px; border-radius:6px;
  cursor:pointer; font-size:13px;
  font-family:inherit; transition:all .15s;
}
.str-cross-item__btn:hover{background:var(--str-green);color:#fff}

.str-bundle{
  margin-top:28px;
  background:var(--str-orange-soft);
  border:1px solid var(--str-orange-line);
  border-radius:var(--str-radius-lg); padding:22px;
}
.str-bundle h3{margin:0 0 12px;font-size:18px}
.str-bundle__row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.str-bundle__item{
  background:#fff; border:1px solid var(--str-line);
  border-radius:6px; padding:8px 12px;
  font-size:13px; display:flex; align-items:center; gap:6px;
}
.str-bundle__plus{font-size:22px;color:var(--str-gray)}
.str-bundle__cta{margin-left:auto;display:flex;align-items:center;gap:14px}
.str-bundle__total{text-align:right}
.str-bundle__total s{color:var(--str-gray);display:block;font-size:12px}
.str-bundle__total strong{font-size:20px;color:var(--str-red)}
.str-bundle__btn{
  background:var(--str-green); color:#fff; border:0;
  padding:12px 22px; border-radius:6px;
  font-weight:800; cursor:pointer; font-size:14px;
  font-family:inherit;
}

/* =========================================================================
 *  STICKY ADD-TO-CART  (mobil + Desktop bei langem Scroll)
 * ======================================================================= */
.str-sticky{
  position:fixed; bottom:0; left:0; right:0;
  background:#fff; border-top:1px solid var(--str-line);
  padding:10px 16px;
  display:flex; align-items:center; gap:14px;
  z-index:30;
  box-shadow:0 -6px 18px rgba(0,0,0,.08);
  transform:translateY(100%); transition:transform .25s;
}
.str-sticky.is-visible{transform:translateY(0)}
.str-sticky__thumb{
  width:46px; height:46px;
  background:var(--str-bg-soft); border-radius:6px;
  border:1px solid var(--str-line); flex-shrink:0;
  overflow:hidden;
}
.str-sticky__thumb img{width:100%;height:100%;object-fit:cover}
.str-sticky__info{flex:1;font-size:13px;line-height:1.3;min-width:0}
.str-sticky__info .title{
  font-weight:700; font-size:13px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.str-sticky__info .price-line{
  display:flex; align-items:baseline; gap:8px; flex-wrap:wrap;
}
.str-sticky__info .price-line strong{font-size:18px;color:var(--str-red)}
.str-sticky__info .price-line s{color:var(--str-gray);font-size:12px}
.str-sticky__btn{
  background:var(--str-green); color:#fff; border:0;
  padding:12px 24px; border-radius:6px;
  font-weight:800; cursor:pointer; font-size:14px;
  display:flex; align-items:center; gap:6px; flex-shrink:0;
  font-family:inherit;
}

/* Beim mobilen Scroll: Platz für Sticky reservieren */
@media(max-width:980px){
  body.single-product{padding-bottom:80px}
}

/* PayPal-Smart-Buttons-Mount (Plugin „WooCommerce PayPal Payments" v4.x sucht #ppc-button-ppcp-gateway) */
.str-paypal-mount{margin-top:12px;min-height:0}
.str-paypal-mount #ppc-button-ppcp-gateway:empty,
.str-paypal-mount #ppc-button-ppcp-card-button-gateway:empty{margin:0}
.str-paypal-mount #ppc-button-ppcp-gateway{margin-top:8px}
.str-paypal-mount #ppc-button-ppcp-card-button-gateway{margin-top:8px}
.str-berater__line{display:block;margin-top:2px}

/* PDF-Datenblatt-Karte im Hero (zwischen Versand und Cart) */
.str-downloads-hero{margin:14px 0;display:grid;gap:10px}
.str-downloads-hero .str-dl{
  background:linear-gradient(135deg,#fff,var(--str-bg-soft));
  border:2px solid var(--str-line);
  padding:14px 16px; border-radius:10px;
  display:flex; align-items:center; gap:14px;
  text-decoration:none; color:var(--str-ink);
  transition:all .15s; box-shadow:var(--str-shadow);
}
.str-downloads-hero .str-dl:hover{
  border-color:var(--str-orange);
  background:linear-gradient(135deg,#fff,var(--str-orange-soft));
  transform:translateY(-1px);
}
.str-downloads-hero .str-dl__icon{
  width:46px; height:54px;
  background:#dc2626; color:#fff;
  border-radius:6px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:13px; flex-shrink:0;
  letter-spacing:.5px;
  box-shadow:0 2px 6px rgba(220,38,38,.3);
}
.str-downloads-hero .str-dl__text{flex:1;min-width:0}
.str-downloads-hero .str-dl__text strong{
  display:block;font-size:14px;color:var(--str-ink);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.str-downloads-hero .str-dl__text small{
  display:block;font-size:12px;color:var(--str-gray);margin-top:2px;
}
.str-downloads-hero .str-dl__arrow{
  font-size:22px;color:var(--str-orange);font-weight:700;flex-shrink:0;
}

/* Galerie-Extras (PDF + Berater unter Thumbs) — Mobile: ans Ende verschieben */
.str-gallery-extras{margin-top:14px}
@media(max-width:980px){
  .str-product-grid{display:flex;flex-direction:column;gap:14px}
  .str-gallery{display:flex;flex-direction:column}
  .str-gallery .str-gallery-main{order:0}
  .str-gallery .str-thumbs{order:1}
  .str-gallery .str-gallery-extras{order:99}
  .str-info{order:5}
}

/* Mobile (Phones, ≤720px) — kompakteres Stacking, weniger Leerraum */
@media(max-width:720px){
  .str-product-wrap{padding:0}
  .str-product-grid{gap:12px !important}

  /* Galerie kompakter */
  .str-gallery-main{max-height:55vh; overflow:hidden; border-radius:8px}
  .str-gallery-main img{width:100%; height:auto; object-fit:contain; max-height:55vh}
  .str-thumbs{margin-top:6px; padding-bottom:4px}
  .str-thumb{flex:0 0 56px !important; max-width:56px !important; min-width:48px !important}

  /* Galerie-Extras: Karten kompakter, einheitliche Höhen, weniger Margin */
  .str-gallery-extras{margin-top:8px !important}
  .str-delivery-card{padding:10px 12px}
  .str-delivery-card__head{font-size:14px}
  .str-delivery-card__when{font-size:12px}
  .str-delivery-card__meta{font-size:12px; line-height:1.4}
  .str-product-wrap .str-berater{padding:10px 12px !important; margin:0 !important}
  .str-product-wrap .str-berater__avatar{width:42px !important; height:42px !important; font-size:20px !important}
  .str-product-wrap .str-berater__text{font-size:12px !important}
  .str-product-wrap .str-berater__text strong{font-size:13px !important}
  .str-downloads-hero{padding:8px 10px; gap:8px}
  .str-dl{padding:8px 10px}
  .str-dl__icon{width:36px !important; height:36px !important; font-size:11px !important}

  /* Info-Spalte: Title kompakter, Pillen kleiner */
  .str-title{font-size:20px !important; line-height:1.2; margin-bottom:6px}
  .str-lead{font-size:13px}
  .str-product-wrap .str-pill{font-size:11px !important; padding:4px 8px !important}
  .str-stars-row{margin-bottom:12px}
  .str-stars{font-size:18px !important}

  /* Preis-Block kompakter */
  .str-price-block{padding:12px 0; margin-bottom:14px}
  .str-price-row{gap:14px}
  .str-price-now{font-size:34px}
  .str-price-now--small{font-size:30px}
  .str-price-netto{font-size:22px}
  .str-price-col--netto{padding-left:14px}

  /* Konfigurator-Pillen: 2-spaltig statt 3 (mehr Platz fuer Text) */
  .str-config-pill{flex:1 1 calc(50% - 8px) !important; max-width:calc(50% - 8px) !important}

  /* Cart-Form Mobile: Quantity OBEN, Cart-Button DARUNTER auf voller Breite.
   * Beide Cases — simple (form.cart) und variable (form.variations_form .variations_button). */
  .str-product-wrap form.cart:not(.variations_form){
    display:flex !important; flex-direction:column !important; align-items:stretch !important;
    gap:10px !important;
  }
  .str-product-wrap form.variations_form .variations_button{
    display:flex !important; flex-direction:column !important; align-items:stretch !important;
    flex-wrap:wrap !important; gap:10px !important;
  }
  .str-product-wrap form .quantity{
    flex:0 0 auto !important; align-self:flex-start !important;
    width:auto !important; max-width:160px !important;
  }
  .str-product-wrap form button.single_add_to_cart_button,
  .str-product-wrap form button.alt{
    width:100% !important; flex:none !important; min-width:0 !important;
    font-size:16px !important; font-weight:800 !important;
    padding:14px 18px !important; min-height:54px !important; height:auto !important;
    background:var(--str-green) !important; color:#fff !important;
    border:0 !important; border-radius:8px !important;
    box-shadow:0 4px 0 var(--str-green-d) !important;
    letter-spacing:.4px !important; line-height:1.2 !important;
    white-space:normal !important; text-align:center !important;
    display:inline-flex !important; align-items:center !important; justify-content:center !important;
  }
}

/* =========================================================================
 *  RELATED PRODUCTS — 4 in einer Reihe
 * ======================================================================= */
.related.products ul.products,
.related.products .products,
.upsells.products ul.products,
.upsells.products .products{
  display:grid !important;
  grid-template-columns:repeat(4, 1fr) !important;
  gap:20px !important;
  margin:0 !important; padding:0 !important;
  list-style:none !important;
}
.related.products ul.products li.product,
.related.products .products li.product,
.upsells.products ul.products li.product,
.upsells.products .products li.product{
  width:auto !important; max-width:none !important;
  margin:0 !important; padding:0 !important; float:none !important;
  clear:none !important;
}
@media(max-width:980px){
  .related.products ul.products,
  .related.products .products,
  .upsells.products ul.products,
  .upsells.products .products{grid-template-columns:repeat(3, 1fr) !important}
}
@media(max-width:720px){
  .related.products ul.products,
  .related.products .products,
  .upsells.products ul.products,
  .upsells.products .products{grid-template-columns:repeat(2, 1fr) !important}
}
@media(max-width:420px){
  .related.products ul.products,
  .related.products .products,
  .upsells.products ul.products,
  .upsells.products .products{grid-template-columns:1fr !important}
}
