/* ==========================================================================
   FORGE · PRODUKTDETAILSEITE
   ========================================================================== */

body[data-page="1"] #content-wrapper { padding-bottom: 0; }
body[data-page="1"] #content > .container, body[data-page="1"] #content > form { padding-left: 0 !important; padding-right: 0 !important; }

/* ---------- Kaufbereich ---------- */
#product-offer.product-detail {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, 1fr);
    gap: clamp(24px, 4vw, 80px); margin: 18px 0 0; align-items: start;
}
#product-offer > .product-gallery, #product-offer > .product-info { max-width: none; width: auto; flex: none; padding: 0; }
#product-offer > #product-configurator { grid-column: 1 / -1; }

/* Hintergrund oben rechts: erstes Produktbild, Weiß per #fg-knockout entfernt, dezent und weich ausgeblendet
   (Markup: productdetails/index.tpl, nur normale Artikel). Ragt bis zum Viewport-Rand; body hat overflow-x: clip. */
body[data-page="1"] #result-wrapper { position: relative; isolation: isolate; }
.fg-pdp-backdrop {
    position: absolute; z-index: -1; top: -64px; right: calc(50% - 50vw);
    width: min(40vw, 720px); height: min(30vw, 540px); pointer-events: none; user-select: none;
    -webkit-mask-image: radial-gradient(68% 68% at 68% 40%, #000 22%, transparent 74%);
    mask-image: radial-gradient(68% 68% at 68% 40%, #000 22%, transparent 74%);
}
.fg-pdp-backdrop::before {
    content: ""; position: absolute; inset: 10% 6% 14% 26%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(198, 244, 50, .08), rgba(198, 244, 50, .025) 55%, transparent);
    filter: blur(30px);
}
.fg-pdp-backdrop img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 80% 34%;
    filter: url(#fg-knockout) grayscale(.4) brightness(1.3);
    opacity: .12; transform: rotate(-6deg); transform-origin: 75% 40%;
}
@media (max-width: 991.98px) { .fg-pdp-backdrop { display: none; } }
@media (prefers-reduced-transparency: reduce) { .fg-pdp-backdrop { display: none; } }

/* Galerie: Bilder ohne Box und Platte direkt auf dem Seitengrund. Weiß entfernt der SVG-Filter #fg-knockout
   (layout/footer.tpl) – anders als mix-blend-mode wirkt er auch durch Slicks Transform-Ebenen. */
.product-gallery { position: sticky; top: calc(var(--fg-header-h) + 20px); }
#image_wrapper { position: relative; padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
#image_wrapper #gallery_wrapper { position: relative; overflow: hidden; background: none; border-radius: 0; }
#gallery .square-image .inner, #gallery .square .inner { padding: 4%; background: transparent; }
#gallery .product-image { object-fit: contain; mix-blend-mode: normal; filter: url(#fg-knockout); transition: transform .9s var(--fg-ease); }
@media (min-width: 992px) { #gallery .product-image { cursor: zoom-in; } }
/* NOVA zentriert das Bild mit translate(-50%, -50%) (.square-image .inner img) – beim Zoom mitführen, sonst springt es */
#gallery_wrapper:hover #gallery .slick-current .square-image .inner .product-image,
#gallery_wrapper:hover #gallery .slick-current.square-image .inner .product-image { transform: translate(-50%, -50%) scale(1.04); }
.product-actions {
    position: absolute !important; top: 8px; right: 8px; z-index: 5; display: flex; gap: 8px;
}
.product-actions .btn, .product-actions .badge-circle-1 {
    width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 12px !important;
    background: rgba(10,12,12,.72) !important; border: 1px solid var(--fg-line-strong) !important; color: var(--fg-text) !important;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 1rem;
}
.product-actions .btn:hover, .product-actions .btn.on-list { color: var(--fg-lime) !important; border-color: rgba(198,244,50,.5) !important; }
.product-detail-image-topbar { display: none; }
.product-detail-image-preview-bar { padding: 10px 0 0 !important; }
/* Thumbnails: ohne Rahmen/Kasten, inaktiv gedimmt, aktiv mit Lime-Linie unten */
#gallery_preview .slick-slide, #gallery_preview .js-gallery-images { padding: 0 6px; }
#gallery_preview .inner, #gallery_preview .square-image {
    border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; cursor: pointer;
}
#gallery_preview .square-image { opacity: .45; transition: opacity .3s var(--fg-ease); }
#gallery_preview img { mix-blend-mode: normal; filter: url(#fg-knockout); }
#gallery_preview .square-image:hover, #gallery_preview .slick-current .square-image, #gallery_preview .slick-current.square-image { opacity: 1; }
#gallery_preview .slick-current .square-image, #gallery_preview .slick-current.square-image { box-shadow: inset 0 -2px 0 var(--fg-lime); }

/* ---------- Bildansicht ----------
   Desktop: NOVA-Vollbild (#image_wrapper.fullscreen, jtl.article.js). html.fg-gallery-open setzt forge.js
   (initImageViewer) und hebt den Stapelkontext von #result-wrapper über den Header (1030); deckender Hintergrund
   statt NOVA-Grau mit 50 % (sonst schien die Seite durch). */
html.fg-gallery-open, html.fg-gallery-open body { overflow: hidden; }
html.fg-gallery-open #result-wrapper { z-index: 1100; }
html.fg-gallery-open .product-gallery { z-index: 1000; }
#image_wrapper.fullscreen {
    position: fixed; inset: 0; width: auto; height: auto; z-index: 10000;
    display: flex; flex-direction: column; justify-content: center;
    padding: 64px clamp(24px, 6vw, 120px) 24px !important; margin: 0; border: 0; border-radius: 0;
    background: var(--fg-bg, #0a0c0c) !important; overflow: hidden; cursor: zoom-out;
}
#image_wrapper.fullscreen .gallery-with-action-main, #image_wrapper.fullscreen .product-detail-image-preview-bar {
    background: transparent !important; border-radius: 0; width: 100%; max-width: 1180px; margin: 0 auto;
}
#image_wrapper.fullscreen #gallery_wrapper { cursor: default; }
/* Im Vollbild setzt NOVA eine max-height aufs Bild – Quadrat-Platzhalter aus, Bild statisch zentriert */
#image_wrapper.fullscreen #gallery .square::before, #image_wrapper.fullscreen #gallery .square-image::before { content: none; padding: 0 !important; }
#image_wrapper.fullscreen #gallery .square-image .inner { position: static; display: flex; align-items: center; justify-content: center; padding: 0; }
#image_wrapper.fullscreen #gallery .square-image .inner picture { position: static; display: flex; justify-content: center; width: 100%; height: auto; }
#image_wrapper.fullscreen #gallery .product-image { position: static; width: auto; height: auto; max-width: 100%; transform: none !important; }
#image_wrapper.fullscreen .product-detail-image-topbar {
    position: absolute; top: 14px; right: clamp(24px, 6vw, 120px); left: auto; height: auto !important;
    width: auto; max-width: none; flex: none; margin: 0 !important; padding: 0; background: transparent !important; z-index: 3;
}
#image_wrapper.fullscreen .product-detail-image-topbar #image_fullscreen_close {
    position: static; display: inline-flex; align-items: center; justify-content: center; transform: none;
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--fg-line-strong);
    background: var(--fg-surface-2) !important; color: var(--fg-text) !important; opacity: 1; font-size: 1.1rem;
    transition: border-color .25s, color .25s;
}
#image_wrapper.fullscreen .product-detail-image-topbar #image_fullscreen_close:hover { border-color: var(--fg-lime); color: var(--fg-lime) !important; }
#image_wrapper.fullscreen .product-detail-image-preview-bar { padding-top: 16px !important; }
#image_wrapper.fullscreen #gallery .slick-arrow {
    width: 48px; height: 48px; border-radius: 12px; background: var(--fg-surface-2); border: 1px solid var(--fg-line-strong);
}

/* Mobil: NOVA #productImagesModal (alle Bilder untereinander), von forge.js nach <body> verschoben */
#productImagesModal.modal-fullview { background: var(--fg-bg, #0a0c0c); }
#productImagesModal .modal-dialog { max-width: min(1100px, 100%); margin: 0 auto; }
#productImagesModal .modal-content { background: transparent !important; border: 0 !important; box-shadow: none !important; }
#productImagesModal .modal-header { justify-content: flex-end; padding: 0; border: 0; background: transparent; }
#productImagesModal .modal-header .close {
    position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 1060; margin: 0; transform: none;
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
    border-radius: 12px; border: 1px solid var(--fg-line-strong); background: var(--fg-surface-2); color: var(--fg-text);
    opacity: 1; text-shadow: none; font-size: 1.1rem;
}
#productImagesModal .modal-body { display: grid; gap: 20px; padding: 68px 12px 24px; }
#productImagesModal .square-image { background: none; border-radius: 0; }
#productImagesModal .square-image .inner { padding: 2%; background: transparent; }
#productImagesModal .product-image { object-fit: contain; filter: url(#fg-knockout); }

#gallery .slick-dots { bottom: 10px; }
#gallery .slick-arrow { width: 42px; height: 42px; }

/* Info-Spalte */
.product-info-inner { display: flex; flex-direction: column; gap: 14px; }
.fg-pdp-kicker { font-size: .74rem; }
.product-headline { margin: 0; }
.fg-pdp-title, .product-info .product-title {
    font-family: var(--fg-display) !important; font-weight: 700; margin: 8px 0 0;
    font-size: clamp(2rem, 1.2rem + 2.2vw, 3.4rem) !important; line-height: 1.02; letter-spacing: -0.03em; color: var(--fg-text);
}
.info-essential { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: .84rem; color: var(--fg-muted); }
.info-essential li { margin: 0; }
.info-essential strong { font-weight: 500; color: var(--fg-subtle); }
.info-essential a { color: var(--fg-text-2); }
.rating-wrapper a { color: var(--fg-muted); font-size: .85rem; }
.fg-pdp-sub, .product-info .shortdesc { color: var(--fg-text-2); font-size: 1.05rem; line-height: 1.6; margin: 0; }
.fg-pdp-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.fg-pdp-chips li {
    padding: 9px 14px; border-radius: 8px; border: 1px solid var(--fg-line-strong); background: rgba(255,255,255,.025);
    font-size: .84rem; font-weight: 500; color: var(--fg-text); line-height: 1.25;
}
.product-info .product-offer { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--fg-line); }
.product-info .product-offer > .row { margin: 0; gap: 12px 0; }
.product-info .product-offer > .row > .col, .product-info .product-offer > .row > [class*="col-"] { padding: 0; }
.product-info .price_wrapper .price, .product-info .price.h1 {
    font-family: var(--fg-display); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3rem) !important;
    letter-spacing: -0.03em; color: var(--fg-text); line-height: 1; margin: 0 0 8px;
}
.product-info .price-note, .product-info .vat_info { color: var(--fg-muted); font-size: .86rem; }
.product-info .price-note a { color: var(--fg-text-2) !important; text-decoration: underline; text-underline-offset: 3px; }
.product-info .instead-of, .product-info .old-price { font-size: 1.05rem; }
.product-info .discount { color: var(--fg-danger); font-weight: 600; }
.bulk-price, .bulk-prices { color: var(--fg-text-2); }
.bulk-price table td, .bulk-prices td { border-color: var(--fg-line) !important; }

/* Lieferstatus */
.stock-information { align-items: flex-start; padding: 14px 0 4px; }
.stock-information .delivery-status ul { margin: 0; }
.delivery-status .status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.delivery-status .status .status-icon { display: none; }
.delivery-status .status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.delivery-status .status-2 { color: var(--fg-success) !important; }
.delivery-status .status-2::before { animation: fg-pulse-dot 2.4s infinite; }
.delivery-status .status-1 { color: var(--fg-warning) !important; }
.delivery-status .status-0 { color: var(--fg-danger) !important; }
.estimated-delivery { color: var(--fg-muted); font-size: .86rem; margin-top: 2px; padding-left: 19px; }
.estimated-delivery a { color: var(--fg-subtle) !important; }
.question-on-item .btn-link { color: var(--fg-text-2) !important; font-size: .86rem; display: inline-flex; gap: 8px; min-height: 0; }
.question-on-item .btn-link:hover { color: var(--fg-lime) !important; }

/* Variationen */
.variations { margin: 6px 0 4px; }
.variations dt, .variations .variation-label, .variations label { color: var(--fg-text-2); font-weight: 600; }
.swatches .variation, .variation .custom-control-label {
    border-radius: 10px !important; border: 1px solid var(--fg-line-strong) !important; background: var(--fg-surface-2) !important; color: var(--fg-text) !important;
}
.swatches .variation.active, .swatches input:checked + .variation, .swatches .variation:hover { border-color: var(--fg-lime) !important; box-shadow: 0 0 0 1px var(--fg-lime); }

/* Warenkorb-Formular */
#add-to-cart, .product-buy { margin-top: 10px; }
#add-to-cart .basket-form-inline { margin: 0; gap: 10px; flex-wrap: nowrap; }
#add-to-cart .basket-form-inline > [class*="col"] { padding: 0; flex: 0 0 auto; max-width: none; width: auto; }
#add-to-cart .basket-form-inline > [class*="col"]:last-child { flex: 1 1 auto; }
#add-to-cart .form-counter { height: 56px; }
#add-to-cart .form-counter .unit { display: none; }
#add-to-cart .form-counter .btn .fas { font-size: .8rem; }
#add-to-cart button[name="inWarenkorb"] { min-height: 56px; font-size: 1.02rem; font-weight: 700; }
#add-to-cart button[name="inWarenkorb"] .fas { display: none; }
#add-to-cart button[name="inWarenkorb"] .btn-basket-check > span::after {
    content: ""; display: inline-block; width: 20px; height: 20px; margin-left: 10px; vertical-align: -4px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
}
#add-to-cart .btn-basket-check svg { display: none; }
.fg-pdp-secondary .fg-btn { min-height: 52px; }
.fg-pdp-secondary .fg-icon { width: 20px; height: 20px; }
.fg-pdp-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 6px 0 0; padding: 0; color: var(--fg-muted); font-size: .84rem; }
.fg-pdp-trust li { display: inline-flex; align-items: center; gap: 8px; }
.fg-pdp-trust .fg-icon { width: 17px; height: 17px; color: var(--fg-lime); }
.product-info .alert { margin-top: 10px; }
#pushed-success, .pushed-success { border-radius: var(--fg-radius-lg); }

/* ---------- Untere Sektionen ---------- */
.fg-pdp-lower { margin-top: clamp(40px, 5vw, 80px); }
.fg-pdp-nav {
    position: sticky; top: var(--fg-header-h); z-index: 20;
    background: rgba(10,12,12,.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--fg-line); transition: top .6s var(--fg-ease);
}
html.fg-header-hidden .fg-pdp-nav { top: 0; }
.fg-pdp-nav-list { position: relative; display: flex; gap: clamp(16px, 3vw, 40px); overflow-x: auto; scrollbar-width: none; }
.fg-pdp-nav-list::-webkit-scrollbar { display: none; }
.fg-pdp-nav-list button {
    flex: 0 0 auto; background: none; border: 0; padding: 18px 0; cursor: pointer;
    color: var(--fg-muted); font-weight: 500; font-size: .95rem; transition: color .3s var(--fg-ease);
}
.fg-pdp-nav-list button:hover, .fg-pdp-nav-list button.is-active { color: var(--fg-text); }
.fg-pdp-nav-list button.is-active { color: var(--fg-lime); }
.fg-tabs-ind { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--fg-lime); box-shadow: 0 0 12px var(--fg-lime-glow); border-radius: 2px; }

.fg-pdp-sec { padding-top: clamp(40px, 5vw, 72px); scroll-margin-top: calc(var(--fg-header-h) + 70px); }
#fg-specs, #fg-service, #tab-votes { scroll-margin-top: calc(var(--fg-header-h) + 70px); }
.fg-pdp-overview { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.fg-pdp-overview-main { display: grid; gap: 28px; min-width: 0; align-content: start; }
/* Überblick mit Merkmalen: Text links, Merkmal-Karten rechts (beim Scrollen mitlaufend) */
.fg-pdp-overview.has-merkmale { grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.fg-pdp-merkmale { position: sticky; top: calc(var(--fg-header-h) + 76px); }
.fg-mk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.fg-mk-all { color: var(--fg-muted); font-size: .84rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--fg-line-strong); }
.fg-mk-all:hover { color: var(--fg-lime); }
.fg-mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.fg-mk {
    display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: auto auto; gap: 1px 11px; align-items: center;
    padding: 11px 13px; border-radius: var(--fg-radius-sm); border: 1px solid var(--fg-lime-a20); background: var(--fg-lime-a10);
    transition: border-color .25s var(--fg-ease), background .25s var(--fg-ease), transform .25s var(--fg-ease);
}
.fg-mk:hover { border-color: rgba(198,244,50,.45); background: rgba(198,244,50,.14); transform: translateY(-1px); }
.fg-mk.no-icon { grid-template-columns: minmax(0, 1fr); }
.fg-mk-icon {
    grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
    border-radius: 8px; background: var(--fg-lime-a20); color: var(--fg-lime);
}
.fg-mk-icon .fg-icon { width: 17px; height: 17px; }
.fg-mk-icon.is-img { background: #f1f3f1; }
.fg-mk-icon.is-img img { width: 24px; height: 24px; object-fit: contain; }
.fg-mk-name { min-width: 0; color: var(--fg-lime); font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; line-height: 1.25; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.fg-mk-value {
    min-width: 0; color: var(--fg-text); font-size: .9rem; font-weight: 600; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 991.98px) {
    /* einspaltig: Überschrift → Merkmale → Beschreibung */
    .fg-pdp-overview.has-merkmale { grid-template-columns: minmax(0, 1fr); }
    .fg-pdp-overview.has-merkmale .fg-pdp-overview-main { display: contents; }
    .fg-pdp-overview.has-merkmale .fg-pdp-overview-head { order: 0; }
    .fg-pdp-merkmale { position: static; order: 1; }
    .fg-pdp-overview.has-merkmale .fg-pdp-desc { order: 2; }
}
@media (max-width: 767.98px) {
    /* kompakt zweispaltig, Icon über dem Text */
    .fg-mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .fg-mk { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 3px; align-items: start; padding: 10px 11px; }
    .fg-mk-icon { grid-row: auto; width: 26px; height: 26px; border-radius: 7px; margin-bottom: 3px; }
    .fg-mk-icon .fg-icon { width: 14px; height: 14px; }
    .fg-mk-name { font-size: .6rem; letter-spacing: .04em; }
    .fg-mk-value { font-size: .8rem; }
    .fg-mk-head { margin-bottom: 10px; }
    .fg-mk-all { font-size: .78rem; }
}
.fg-pdp-overview-head .fg-lead { margin-top: 12px; }
.fg-pdp-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.fg-hl { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: 6px 16px; padding: 24px; border-radius: var(--fg-radius); border: 1px solid var(--fg-line); background: var(--fg-surface); }
.fg-hl-icon { grid-row: 1 / span 2; color: var(--fg-lime); line-height: 0; }
.fg-hl-icon .fg-icon { width: 34px; height: 34px; }
.fg-hl-title { font-family: var(--fg-display); font-weight: 600; font-size: 1.08rem; color: var(--fg-text); }
.fg-hl-text { color: var(--fg-muted); font-size: .9rem; }
.fg-prose { color: var(--fg-text-2); font-size: 1rem; line-height: 1.75; max-width: 980px; }
.fg-prose h2, .fg-prose h3, .fg-prose h4 { margin: 1.4em 0 .5em; }
.fg-prose ul { padding-left: 1.2em; }
.fg-prose li { margin-bottom: .35em; }
.fg-prose li::marker { color: var(--fg-lime); }
.fg-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.fg-prose td, .fg-prose th { border: 1px solid var(--fg-line); padding: 10px 14px; }
.fg-prose img { border-radius: var(--fg-radius); height: auto; }
.fg-prose a { color: var(--fg-lime); text-decoration: underline; text-underline-offset: 3px; }

.fg-pdp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); }
.fg-pdp-service { padding-left: clamp(0px, 3vw, 56px); }
.fg-pdp-h2 { font-size: clamp(1.4rem, 1.1rem + .9vw, 2rem); margin: 0 0 22px; letter-spacing: -0.02em; }
.fg-spec-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--fg-line); border-radius: var(--fg-radius); overflow: hidden; font-size: .92rem; }
.fg-spec-table th, .fg-spec-table td { padding: 13px 18px; border-bottom: 1px solid var(--fg-line); vertical-align: top; text-align: left; }
.fg-spec-table tr:last-child th, .fg-spec-table tr:last-child td { border-bottom: 0; }
.fg-spec-table th { width: 38%; font-weight: 500; color: var(--fg-muted); background: rgba(255,255,255,.02); }
.fg-spec-table td { color: var(--fg-text); }
.fg-spec-table td a { color: var(--fg-text); text-decoration: underline; text-decoration-color: var(--fg-line-strong); text-underline-offset: 3px; }
.fg-spec-table td a:hover { color: var(--fg-lime); }
.fg-spec-table tr { transition: background-color .3s; }
.fg-spec-table tr:hover { background: rgba(198,244,50,.03); }
.fg-service-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 18px; }
.fg-service-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.fg-service-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--fg-line-strong); color: var(--fg-text); }
.fg-service-icon .fg-icon { width: 22px; height: 22px; }
.fg-service-copy { display: flex; flex-direction: column; line-height: 1.5; }
.fg-service-copy strong { color: var(--fg-text); font-weight: 600; }
.fg-service-copy span { color: var(--fg-muted); font-size: .9rem; }
.fg-pdp-service .fg-acc-btn { font-size: .98rem; padding: 16px 2px; }

/* NOVA-Reiter (Bewertungen etc.) */
.tab-navigation { margin-top: clamp(40px, 5vw, 72px); }
.tab-navigation .nav-tabs { border-bottom: 1px solid var(--fg-line) !important; }
.tab-content { padding-top: 24px; color: var(--fg-text-2); }
#product-tabs .nav-link { font-family: var(--fg-font); }
.product-detail .accordion .card, #tabAccordion .card { background: var(--fg-surface) !important; }
.reviews .card, .review, .reviews-mosthelpful { background: var(--fg-surface) !important; border-color: var(--fg-line) !important; border-radius: var(--fg-radius) !important; }
.rating .fa-star, .rating .fas, .rating .far { color: var(--fg-lime); }

/* Empfehlungen */
.recommendations { padding-top: clamp(48px, 6vw, 96px); }
.fg-reco + .fg-reco { margin-top: clamp(40px, 5vw, 72px); }
.recommendations .hr-sect { display: none; }

/* Mobile Kaufleiste */
.fg-buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1025;
    display: flex; align-items: center; gap: 14px; padding: 12px var(--fg-gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(10,12,12,.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid var(--fg-line-strong);
    transform: translateY(110%); transition: transform .6s var(--fg-ease);
}
.fg-buybar.is-visible { transform: none; }
.fg-buybar-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.fg-buybar-name { font-size: .82rem; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-buybar-price { font-family: var(--fg-display); font-weight: 700; font-size: 1.25rem; color: var(--fg-text); }
.fg-buybar .fg-btn { flex: 0 0 auto; }
@media (min-width: 992px) { .fg-buybar { left: auto; right: 24px; bottom: 24px; width: 460px; border: 1px solid var(--fg-line-strong); border-radius: 16px; padding: 12px 12px 12px 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); transform: translateY(calc(100% + 40px)); } }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    #product-offer.product-detail { grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); }
    .fg-pdp-highlights { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
    /* minmax(0, …) statt 1fr: sonst bläht der Slick-Track die Spalte auf (Galerie/Seite mehrere 1000 px breit) */
    #product-offer.product-detail { grid-template-columns: minmax(0, 1fr); }
    #product-offer > .product-gallery, #product-offer > .product-info { min-width: 0; }
    .product-gallery { position: static; }
    .fg-pdp-split { grid-template-columns: 1fr; }
    .fg-pdp-service { padding-left: 0; border-left: 0; }
    .fg-pdp-nav { top: 0; }
}
@media (max-width: 575.98px) {
    #add-to-cart .basket-form-inline { flex-wrap: wrap; }
    #add-to-cart .basket-form-inline > [class*="col"] { flex: 1 1 100% !important; }
    #add-to-cart .form-counter { width: 100%; justify-content: space-between; }
    .fg-spec-table th { width: 44%; }
}
#gallery .square::before, #gallery .square-image::before { padding-bottom: 80% !important; }
#productImagesModal .square::before { padding-bottom: 75% !important; }
@media (max-width: 991.98px) {
    body.fg-buybar-on #consent-settings-btn, body.fg-buybar-on .fg-totop { bottom: calc(86px + env(safe-area-inset-bottom)); transition: bottom .5s var(--fg-ease); }
}
.stock-information { flex-wrap: wrap; gap: 8px 16px; }
@media (max-width: 575.98px) { .stock-information .question-on-item { flex: 1 1 100%; } .info-essential { flex-direction: column; } }

/* „Kunden kauften auch“ (Plugin technika_konfigurator): Bilder ohne helle Platte wie die Galerie */
.tkk-bundle .tkk-bundle__media { background: none; border-radius: 0; }
.tkk-bundle .tkk-bundle__media img { mix-blend-mode: normal; filter: url(#fg-knockout); }

/* Tabellen in Beschreibung/Datenblatt: nur waagerechte Trennlinien, keine senkrechten Zellränder */
#result-wrapper .table td, #result-wrapper .table th, #result-wrapper .fg-spec-table td, #result-wrapper .fg-spec-table th { border-left: 0 !important; border-right: 0 !important; }

/* Konfigurator (Plugin technika_konfigurator): Der FORGE-Header fährt beim Runterscrollen weg (html.fg-header-hidden,
   js/forge.js) – Schrittleiste und klebende Spalten rücken dann an die Oberkante (top 0), im Takt des Headers. */
html.fg-header-hidden .tkk { --tkk-header-h: 0px; }
.tkk-sticky-steps .tkk-part--steps { transition: top .6s var(--fg-ease); }
