/* =====================================================================
 * Fichier : assets/css/pages/produkt.css
 * Projet  : Brennholz Shop24
 * Rôle    : Styles propres à la fiche produit (produkt.php) : galerie,
 *           visionneuse, bloc d'achat, acompte, zone de livraison,
 *           onglets, données techniques, avis, barre d'achat collante.
 *           La couleur de la catégorie est transmise par --cat-color.
 * ===================================================================== */

.produkt-crumbs { padding: 1rem 0; background: var(--hfk-cream); border-bottom: 1px solid var(--hfk-border); }
.produkt-top { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 4rem); }
.produkt-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-feedback { margin: .6rem 0 0; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form-feedback:empty { display: none; }
.form-feedback.is-success { color: var(--hfk-forest-dark); }
.form-feedback.is-error { color: var(--hfk-ember-dark); }

/* ---------------------------------------------------------------------
 * GALERIE
 * ------------------------------------------------------------------- */
.produkt-gallery { position: sticky; top: calc(var(--hfk-header-h) + 70px); }
.gallery-stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--hfk-placeholder); border: 1px solid var(--hfk-border); cursor: zoom-in; }
.gallery-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity .5s var(--hfk-ease), transform .7s var(--hfk-ease), visibility .5s; background-repeat: no-repeat; background-size: 220%; }
.gallery-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.gallery-slide.is-zooming img { opacity: 0; }
.gallery-slide .img-ph i { font-size: clamp(3rem, 9vw, 6rem); }
.gallery-badges { position: absolute; left: 1rem; top: 1rem; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.gallery-badges .pc-badge { position: static; font-size: .85rem; padding: .35rem .8rem; animation: hfk-bounce-in .6s var(--hfk-ease-bounce) both; }
.gallery-wish, .gallery-zoom, .gallery-arrow { position: absolute; z-index: 3; width: 46px; height: 46px; display: grid; place-items: center; border: 0; background: #fff; color: var(--hfk-charcoal); box-shadow: var(--hfk-shadow-sm); transition: background .3s, color .3s, transform .3s var(--hfk-ease), opacity .3s; }
.gallery-wish { right: 1rem; top: 1rem; font-size: 1.15rem; }
.gallery-wish i { grid-area: 1 / 1; transition: transform .35s var(--hfk-ease-bounce), opacity .25s; }
.gallery-wish .fa-solid { opacity: 0; transform: scale(.3); color: var(--hfk-ember); }
.gallery-wish.is-active .fa-solid { opacity: 1; transform: scale(1); animation: hfk-heart .6s var(--hfk-ease); }
.gallery-wish.is-active .fa-regular { opacity: 0; }
.gallery-wish:hover { transform: scale(1.1); color: var(--hfk-ember); }
.gallery-zoom { right: 1rem; bottom: 1rem; }
.gallery-zoom:hover { background: var(--hfk-charcoal); color: #fff; }
.gallery-arrow { top: 50%; margin-top: -23px; opacity: 0; }
.gallery-prev { left: 1rem; transform: translateX(-10px); }
.gallery-next { right: 1rem; transform: translateX(10px); }
.gallery-stage:hover .gallery-arrow, .gallery-arrow:focus-visible { opacity: 1; transform: none; }
.gallery-arrow:hover { background: var(--hfk-flame); color: #fff; }
.gallery-counter { position: absolute; left: 1rem; bottom: 1rem; z-index: 3; padding: .3rem .7rem; font-family: var(--hfk-font-head); font-weight: 700; font-size: .82rem; color: #fff; background: rgba(20, 30, 40, .75); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .6rem; margin-top: .7rem; }
.gallery-thumb { position: relative; aspect-ratio: 1 / 1; padding: 0; border: 2px solid transparent; background: var(--hfk-placeholder); overflow: hidden; opacity: .65; transition: opacity .3s, border-color .3s, transform .3s var(--hfk-ease); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb .img-ph i { font-size: 1.3rem; }
.gallery-thumb:hover { opacity: 1; transform: translateY(-3px); }
.gallery-thumb.is-active { opacity: 1; border-color: var(--hfk-flame); }
.gallery-usps { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .86rem; color: var(--hfk-muted); }
.gallery-usps i { color: var(--hfk-forest); margin-right: .3rem; }

/* Visionneuse plein écran (créée par produkt.js) */
.lightbox { position: fixed; inset: 0; z-index: 2100; display: grid; grid-template-rows: auto 1fr auto; background: rgba(20, 17, 15, .96); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; color: #fff; font-family: var(--hfk-font-head); }
.lightbox-close { width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; font-size: 1.1rem; transition: background .3s, transform .3s var(--hfk-ease); }
.lightbox-close:hover { background: var(--hfk-ember); border-color: var(--hfk-ember); transform: rotate(90deg); }
.lightbox-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 4.5rem; }
.lightbox-view { width: min(100%, 1100px); height: 100%; display: grid; place-items: center; animation: hfk-fade-up .4s var(--hfk-ease); }
.lightbox-view img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-view .img-ph { width: min(78vh, 100%); aspect-ratio: 1 / 1; height: auto; }
.lightbox-view .img-ph i { font-size: 6rem; }
.lightbox-nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.1rem; transition: background .3s; }
.lightbox-nav:hover { background: var(--hfk-flame); }
.lightbox-nav.is-prev { left: 1rem; } .lightbox-nav.is-next { right: 1rem; }
.lightbox-caption { padding: 1rem; text-align: center; color: #D5DADF; font-size: .9rem; }

/* ---------------------------------------------------------------------
 * BLOC D'ACHAT
 * ------------------------------------------------------------------- */
.buy-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; font-size: .86rem; }
.buy-cat { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .76rem; color: #fff; background: var(--cat-color); transition: transform .3s var(--hfk-ease), box-shadow .3s; }
.buy-cat:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--hfk-shadow-sm); }
.buy-brand { color: var(--hfk-muted); }
.buy-title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 800; margin: .8rem 0 .6rem; line-height: 1.12; }
.buy-sub { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.2rem; font-size: .88rem; color: var(--hfk-muted); }
.buy-rating { display: inline-flex; align-items: center; gap: .5rem; color: var(--hfk-text); }
.buy-rating span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.buy-rating:hover { color: var(--hfk-flame-dark); }
.buy-short { margin: 1rem 0 0; font-size: 1.04rem; color: var(--hfk-text); }
.buy-highlights { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1.2rem; font-size: .9rem; }
.buy-highlights i { color: var(--hfk-forest); margin-right: .35rem; font-size: .8rem; }
.buy-highlights span { color: var(--hfk-muted); }

.buy-price-box { margin-top: 1.4rem; padding: 1.2rem 1.4rem; background: var(--hfk-cream); border-left: 4px solid var(--hfk-flame); }
.buy-price-old { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; font-size: .95rem; }
.buy-price-old del { color: var(--hfk-muted); }
.buy-price-save { padding: .15rem .55rem; font-size: .8rem; font-weight: 700; color: #fff; background: var(--hfk-ember); }
.buy-price { display: flex; align-items: baseline; gap: .5rem; }
.buy-price strong { font-family: var(--hfk-font-head); font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3rem); line-height: 1.1; color: var(--hfk-charcoal); }
.buy-price strong.is-sale { color: var(--hfk-ember-dark); }
.buy-price span { font-size: 1rem; color: var(--hfk-muted); }
.buy-base, .buy-tax { font-size: .84rem; color: var(--hfk-muted); }
.buy-tax a { text-decoration: underline; }

.buy-countdown { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #E2D3C3; }
.buy-countdown-label { font-family: var(--hfk-font-head); font-weight: 700; color: var(--hfk-ember-dark); }
.buy-countdown-label i { animation: hfk-flicker 1.2s ease-in-out infinite; }
.buy-countdown-clock { display: flex; gap: .4rem; }
.buy-countdown-clock span { min-width: 54px; padding: .35rem .3rem; text-align: center; color: #fff; background: var(--hfk-charcoal); }
.buy-countdown-clock b { display: block; font-family: var(--hfk-font-head); font-size: 1.25rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.buy-countdown-clock small { font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: #BFC5CB; }

.buy-status { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .35rem; font-size: .95rem; }
.buy-status li { display: flex; align-items: center; gap: .6rem; }
.buy-status li i { width: 20px; text-align: center; }
.buy-status li:not([class*="stock-"]) i { color: var(--hfk-flame); }
.buy-status li[class*="stock-"] { font-weight: 700; }
.buy-status .stock-in i { animation: hfk-pulse-soft 2.4s ease-in-out infinite; }

.buy-form { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.5rem; align-items: end; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--hfk-border); }
.buy-qty label, .buy-total span { display: block; margin-bottom: .35rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hfk-muted); }
.buy-qty label small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.qty-stepper-lg button { width: 50px; font-size: .95rem; }
.qty-stepper-lg input { width: 76px; height: 54px; font-size: 1.2rem; }
.buy-total { text-align: right; }
.buy-total strong { display: block; font-family: var(--hfk-font-head); font-weight: 800; font-size: 1.7rem; line-height: 54px; color: var(--hfk-charcoal); font-variant-numeric: tabular-nums; transition: color .3s, transform .3s var(--hfk-ease-bounce); }
.buy-total strong.is-bump { color: var(--hfk-flame-dark); transform: scale(1.06); }
.buy-qty-hint { grid-column: 1 / -1; margin: 0; font-size: .86rem; color: var(--hfk-muted); }
.buy-qty-hint i { color: var(--hfk-sky); }
.buy-actions { grid-column: 1 / -1; display: flex; gap: .7rem; }
.buy-cart-btn { flex: 1; padding-block: 1.05rem; font-size: 1.08rem; position: relative; overflow: hidden; }
.buy-cart-btn.is-success { background: var(--hfk-forest); border-color: var(--hfk-forest); }
.buy-wish { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 0 1.2rem; border: 2px solid var(--hfk-border); background: #fff; font-weight: 600; color: var(--hfk-charcoal); transition: border-color .3s, color .3s, transform .3s var(--hfk-ease); }
.buy-wish:hover { border-color: var(--hfk-ember); color: var(--hfk-ember); transform: translateY(-2px); }
.buy-wish i { font-size: 1.1rem; }
.buy-wish .fa-solid { display: none; color: var(--hfk-ember); }
.buy-wish.is-active .fa-solid { display: inline-block; animation: hfk-heart .6s var(--hfk-ease); }
.buy-wish.is-active .fa-regular { display: none; }
.buy-wish.is-active { border-color: var(--hfk-ember); color: var(--hfk-ember-dark); }
.buy-wish-wide { width: 100%; padding: .85rem 1.2rem; margin-top: .8rem; }

/* Alerte de retour en stock */
.buy-alert { margin-top: 1.4rem; padding: 1.3rem; background: #fff; border: 2px solid var(--hfk-amber); }
.buy-alert-head { display: flex; gap: 1rem; }
.buy-alert-head > i { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; font-size: 1.3rem; color: var(--hfk-charcoal); background: var(--hfk-amber); animation: hfk-pulse-soft 2s ease-in-out infinite; }
.buy-alert-head strong { font-family: var(--hfk-font-head); font-size: 1.1rem; color: var(--hfk-charcoal); }
.buy-alert-head p { margin: .2rem 0 0; font-size: .9rem; color: var(--hfk-muted); }
.buy-alert-form { display: grid; grid-template-columns: 1fr auto; gap: .6rem; margin-top: 1rem; }
.buy-alert-form input[type="email"] { min-width: 0; padding: .8rem 1rem; border: 1.5px solid var(--hfk-border); transition: border-color .3s, box-shadow .3s; }
.buy-alert-form input[type="email"]:focus { outline: none; border-color: var(--hfk-flame); box-shadow: 0 0 0 4px rgba(35, 122, 156, .14); }
.buy-alert-form .form-feedback { grid-column: 1 / -1; margin: 0; }

/* Acompte */
.buy-deposit { margin-top: 1.2rem; padding: 1.2rem 1.3rem; color: #E6E9EC; background: var(--hfk-charcoal); position: relative; overflow: hidden; }
.buy-deposit::after { content: ''; position: absolute; right: -70px; top: -70px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 227, 43, .35), transparent 65%); pointer-events: none; }
.buy-deposit-head { position: relative; display: flex; align-items: center; gap: .9rem; }
.buy-deposit-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; font-size: 1.2rem; color: var(--hfk-charcoal); background: var(--hfk-amber); }
.buy-deposit-head strong { display: block; font-family: var(--hfk-font-head); font-size: 1.05rem; color: #fff; }
.buy-deposit-head small { font-size: .84rem; color: #BFC5CB; }
.buy-deposit-body { position: relative; margin-top: 1rem; }
.buy-deposit-bar { height: 10px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.buy-deposit-bar span { display: block; height: 100%; background: var(--hfk-grad-fire-h); transition: width .6s var(--hfk-ease); }
.buy-deposit dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: .9rem 0 0; }
.buy-deposit dt { font-size: .8rem; font-weight: 500; color: #BFC5CB; }
.buy-deposit dt i { font-size: .55rem; color: var(--hfk-flame); vertical-align: middle; margin-right: .3rem; }
.buy-deposit dd { margin: .1rem 0 0; font-family: var(--hfk-font-head); font-weight: 800; font-size: 1.4rem; color: #fff; font-variant-numeric: tabular-nums; }
.buy-deposit dl div:first-child dd { color: var(--hfk-amber); }
.buy-deposit-body p { margin: .8rem 0 0; font-size: .82rem; color: #BFC5CB; }
.buy-deposit-body p:empty { display: none; }
.buy-deposit-hint { position: relative; margin: .9rem 0 0; font-size: .86rem; color: #D5DADF; }
.buy-deposit-hint i { color: var(--hfk-amber); }
.buy-deposit-hint strong { color: #fff; }

/* Zone de livraison */
.buy-zone { margin-top: 1.2rem; padding: 1.1rem 1.3rem; border: 1px solid var(--hfk-border); background: #fff; }
.buy-zone > label { display: block; margin-bottom: .6rem; font-family: var(--hfk-font-head); font-weight: 700; color: var(--hfk-charcoal); }
.buy-zone > label i { color: var(--hfk-flame); margin-right: .3rem; }
.buy-zone-form { display: flex; }
.buy-zone-form input { flex: 1; min-width: 0; padding: .7rem .9rem; border: 1.5px solid var(--hfk-border); border-right: 0; transition: border-color .3s; }
.buy-zone-form input:focus { outline: none; border-color: var(--hfk-flame); }
.buy-zone-result { margin-top: .9rem; padding: .9rem 1rem; background: var(--hfk-cream); border-left: 3px solid var(--hfk-forest); font-size: .92rem; animation: hfk-fade-up .45s var(--hfk-ease); }
.buy-zone-result.is-error { border-left-color: var(--hfk-ember); }
.buy-zone-result strong { color: var(--hfk-charcoal); }
.buy-zone-result ul { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .25rem; }
.buy-zone-result li i { width: 20px; color: var(--hfk-forest); }
.buy-zone-result .is-free { color: var(--hfk-forest-dark); font-weight: 700; }

.buy-trust { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .35rem; font-size: .88rem; color: var(--hfk-muted); }
.buy-trust i { width: 20px; color: var(--hfk-forest); }
.buy-share { display: flex; align-items: center; gap: .4rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--hfk-border); font-size: .86rem; color: var(--hfk-muted); }
.buy-share span { margin-right: .3rem; }
.buy-share a, .buy-share button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--hfk-border); background: #fff; color: var(--hfk-charcoal); transition: background .3s, color .3s, border-color .3s, transform .3s var(--hfk-ease); }
.buy-share a:hover, .buy-share button:hover { background: var(--hfk-flame); border-color: var(--hfk-flame); color: #fff; transform: translateY(-3px); }

/* ---------------------------------------------------------------------
 * ONGLETS
 * ------------------------------------------------------------------- */
.produkt-tabs { padding: 0 0 var(--hfk-section-y); scroll-margin-top: calc(var(--hfk-header-h) + 20px); }
.tabs-nav { position: relative; display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none; border-bottom: 2px solid var(--hfk-border); }
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .55rem; padding: 1rem 1.4rem; border: 0; background: none; font-family: var(--hfk-font-head); font-weight: 600; font-size: 1.02rem; color: var(--hfk-muted); white-space: nowrap; transition: color .3s, background .3s; }
.tab-btn:hover { color: var(--hfk-charcoal); background: var(--hfk-cream); }
.tab-btn.is-active { color: var(--hfk-charcoal); }
.tab-btn.is-active i { color: var(--hfk-flame); }
.tab-count { min-width: 24px; padding: .05rem .4rem; font-size: .76rem; font-weight: 700; color: #fff; background: var(--hfk-charcoal); text-align: center; }
.tabs-indicator { position: absolute; left: 0; bottom: -2px; height: 4px; width: 0; background: var(--hfk-grad-fire-h); transition: transform .5s var(--hfk-ease), width .5s var(--hfk-ease); pointer-events: none; }
.tab-panel { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.tab-panel.is-active { animation: hfk-fade-up .5s var(--hfk-ease); }
.tab-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.tab-aside { display: grid; gap: 1rem; position: sticky; top: calc(var(--hfk-header-h) + 80px); }
.tab-aside-card { padding: 1.4rem; background: var(--hfk-cream); border-top: 4px solid var(--hfk-flame); }
.tab-aside-card h3 { font-size: 1.1rem; }
.tab-aside-card h3 i { color: var(--hfk-flame); margin-right: .3rem; }
.tab-aside-card p { font-size: .92rem; color: var(--hfk-muted); }
.tab-aside-phone { display: block; margin-bottom: .8rem; font-family: var(--hfk-font-head); font-weight: 700; font-size: 1.2rem; color: var(--hfk-charcoal); }
.tab-aside-card.is-dark { background: var(--hfk-charcoal); border-top-color: var(--hfk-amber); }
.tab-aside-card.is-dark h3 { color: #fff; }
.tab-aside-card.is-dark h3 i, .tab-aside-card.is-dark .link-arrow { color: var(--hfk-amber); }
.tab-aside-card.is-dark p { color: #BFC5CB; }

/* Données techniques */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.5rem); align-items: start; }
.spec-block h3 { font-size: 1.1rem; padding-bottom: .6rem; margin-bottom: 0; border-bottom: 3px solid var(--cat-color); display: inline-block; }
.spec-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--hfk-border); }
.spec-table tr { border-bottom: 1px solid var(--hfk-border); transition: background .2s; }
.spec-table tr:nth-child(odd) { background: var(--hfk-cream); }
.spec-table tr:hover { background: var(--hfk-flame-light); }
.spec-table th, .spec-table td { padding: .7rem .9rem; font-size: .94rem; vertical-align: top; }
.spec-table th { width: 46%; font-weight: 500; color: var(--hfk-muted); }
.spec-table td { font-weight: 600; color: var(--hfk-charcoal); }
.spec-note { margin: 1.5rem 0 0; font-size: .86rem; color: var(--hfk-muted); }
.spec-note i { color: var(--hfk-sky); }

/* Livraison & paiement */
.delivery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.delivery-card { padding: clamp(1.3rem, 2.4vw, 1.9rem); border: 1px solid var(--hfk-border); background: #fff; transition: transform .45s var(--hfk-ease), box-shadow .45s, border-color .3s; }
.delivery-card:hover { transform: translateY(-6px); box-shadow: var(--hfk-shadow); border-color: transparent; }
.delivery-icon { width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: var(--hfk-grad-fire); margin-bottom: 1rem; }
.delivery-card h3 { font-size: 1.15rem; }
.delivery-card p { font-size: .94rem; color: var(--hfk-muted); }
.delivery-card ul { list-style: none; margin: 0 0 1rem; padding: 0; font-size: .92rem; }
.delivery-card li { position: relative; padding-left: 1.5rem; margin-bottom: .35rem; }
.delivery-card li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .15rem; font-size: .78rem; color: var(--hfk-forest); }

/* ---------------------------------------------------------------------
 * AVIS
 * ------------------------------------------------------------------- */
.reviews-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.reviews-summary { position: sticky; top: calc(var(--hfk-header-h) + 80px); padding: 1.5rem; background: var(--hfk-cream); }
.reviews-score { text-align: center; padding-bottom: 1.2rem; border-bottom: 1px solid var(--hfk-border); }
.reviews-score strong { display: block; font-family: var(--hfk-font-head); font-weight: 800; font-size: 3.6rem; line-height: 1; background: var(--hfk-grad-fire); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--hfk-flame); }
.reviews-score .hfk-stars { font-size: 1.2rem; margin: .5rem 0 .2rem; justify-content: center; }
.reviews-score > span:last-child { display: block; font-size: .88rem; color: var(--hfk-muted); }
.reviews-bars { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: .5rem; }
.reviews-bars li { display: grid; grid-template-columns: 38px 1fr 26px; align-items: center; gap: .6rem; font-size: .86rem; }
.reviews-bars li > span i { color: var(--hfk-amber); font-size: .75rem; }
.reviews-bar { height: 8px; background: #fff; overflow: hidden; }
.reviews-bar i { display: block; height: 100%; width: 0; background: var(--hfk-grad-fire-h); transition: width 1s var(--hfk-ease); }
.reviews-bars em { font-style: normal; text-align: right; color: var(--hfk-muted); }
.reviews-note { margin: 1rem 0 0; font-size: .78rem; color: var(--hfk-muted); }
.reviews-note i { color: var(--hfk-forest); }

.review { padding: 1.5rem 0; border-bottom: 1px solid var(--hfk-border); }
.review:first-child { padding-top: 0; }
.review header { display: flex; align-items: center; gap: .9rem; margin-bottom: .8rem; }
.review header > div { flex: 1; min-width: 0; }
.review-avatar { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; font-family: var(--hfk-font-head); font-weight: 800; color: #fff; background: var(--hfk-grad-fire); }
.review header strong { display: block; font-family: var(--hfk-font-head); }
.review header small { font-size: .8rem; color: var(--hfk-muted); }
.review-verified { margin-left: .4rem; color: var(--hfk-forest-dark); font-weight: 600; white-space: nowrap; }
.review h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.review p { margin: 0; }
.review-proscons { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .3rem; font-size: .92rem; }
.review-proscons .is-pro i { color: var(--hfk-forest); }
.review-proscons .is-con i { color: var(--hfk-ember); }
.review-reply { margin-top: 1rem; padding: 1rem 1.2rem; background: var(--hfk-cream); border-left: 3px solid var(--hfk-flame); }
.review-reply strong { display: block; margin-bottom: .3rem; font-family: var(--hfk-font-head); font-size: .92rem; }
.review-reply strong i { color: var(--hfk-flame); }
.reviews-empty { padding: 2.5rem 1.5rem; text-align: center; background: var(--hfk-cream); border: 1px dashed var(--hfk-border); }
.reviews-empty > i { font-size: 2.6rem; color: var(--hfk-flame); margin-bottom: .8rem; }
.reviews-empty h3 { font-size: 1.3rem; }
.reviews-empty p { margin: 0; color: var(--hfk-muted); }

.review-form { margin-top: 2rem; padding: clamp(1.3rem, 3vw, 2.2rem); border: 2px solid var(--hfk-charcoal); background: #fff; animation: hfk-fade-up .5s var(--hfk-ease); scroll-margin-top: calc(var(--hfk-header-h) + 30px); }
.review-form > h3 { font-size: 1.3rem; margin-bottom: 1.3rem; }
.review-form > h3 i { color: var(--hfk-flame); }
.star-input { border: 0; margin: 0 0 1.3rem; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }
.star-input legend { float: none; width: 100%; margin-bottom: .4rem; font-size: .9rem; font-weight: 600; color: var(--hfk-charcoal); }
.star-input legend span, .review-form label span, .review-consent em { color: var(--hfk-ember); font-style: normal; }
.star-input-row { display: inline-flex; flex-direction: row-reverse; }
.star-input-row input { position: absolute; opacity: 0; pointer-events: none; }
.star-input-row label { display: inline-block; min-width: 1.15em; min-height: 1em; text-align: center; padding: 0 .12rem; font-size: 2rem; line-height: 1; color: #DDD0C3; cursor: pointer; transition: color .2s, transform .25s var(--hfk-ease-bounce); }
.star-input-row label:hover, .star-input-row label:hover ~ label, .star-input-row input:checked ~ label { color: var(--hfk-amber); }
.star-input-row label:hover { transform: scale(1.25) rotate(-8deg); }
.star-input-row input:focus-visible + label { outline: 3px solid var(--hfk-flame); outline-offset: 2px; }
.star-input-text { font-family: var(--hfk-font-head); font-weight: 700; color: var(--hfk-flame-dark); }
.review-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .3rem; font-size: .9rem; font-weight: 600; color: var(--hfk-charcoal); }
.field label i { font-size: .75rem; color: var(--hfk-forest); }
.field label[for="reviewCons"] i { color: var(--hfk-ember); }
.field input, .field textarea { width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--hfk-border); background: #fff; color: var(--hfk-text); transition: border-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--hfk-flame); box-shadow: 0 0 0 4px rgba(35, 122, 156, .14); }
.field-hint { display: block; margin-top: .25rem; font-size: .78rem; color: var(--hfk-muted); }
.review-consent { display: flex; gap: .7rem; margin: 1.2rem 0; font-size: .88rem; color: var(--hfk-muted); cursor: pointer; }
.review-consent input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: .1rem; accent-color: var(--hfk-flame); }
.review-consent a { text-decoration: underline; }
.review-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.review-form-actions .form-feedback { margin: 0; }

.produkt-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.produkt-missing h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }

/* ---------------------------------------------------------------------
 * BARRE D'ACHAT COLLANTE
 * ------------------------------------------------------------------- */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #fff; border-top: 3px solid var(--hfk-flame); box-shadow: 0 -12px 34px rgba(20, 30, 40, .16); transform: translateY(110%); transition: transform .5s var(--hfk-ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy .container-xxl { display: flex; align-items: center; gap: 1rem; padding-block: .65rem; }
.sticky-buy-media { width: 54px; height: 54px; flex: 0 0 54px; overflow: hidden; background: var(--hfk-placeholder); }
.sticky-buy-media img { width: 100%; height: 100%; object-fit: cover; }
.sticky-buy-media .img-ph i { font-size: 1.2rem; }
.sticky-buy-text { flex: 1; min-width: 0; }
.sticky-buy-text strong { display: block; font-family: var(--hfk-font-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy-text span { font-size: .82rem; font-weight: 600; }
.sticky-buy-price { text-align: right; }
.sticky-buy-price strong { display: block; font-family: var(--hfk-font-head); font-weight: 800; font-size: 1.3rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sticky-buy-price small { font-size: .76rem; color: var(--hfk-muted); }
body.has-sticky-buy { padding-bottom: 84px; }

/* ---------------------------------------------------------------------
 * RESPONSIVE
 * ------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .produkt-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .produkt-grid-4 > :nth-child(4) { display: none; }
    .delivery-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 991.98px) {
    .produkt-layout, .tab-cols, .reviews-layout { grid-template-columns: minmax(0, 1fr); }
    .produkt-gallery, .tab-aside, .reviews-summary { position: static; }
    .tab-aside { grid-template-columns: 1fr 1fr; }
    .gallery-arrow { opacity: 1; transform: none; }
    .spec-grid { grid-template-columns: minmax(0, 1fr); }
    .produkt-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .produkt-grid-4 > :nth-child(4) { display: flex; }
}
@media (max-width: 575.98px) {
    .buy-highlights { grid-template-columns: minmax(0, 1fr); }
    .buy-form { grid-template-columns: 1fr 1fr; }
    .qty-stepper-lg { width: 100%; }
    .qty-stepper-lg input { flex: 1; width: auto; min-width: 0; }
    .buy-wish span { display: none; }
    .buy-wish-wide span { display: inline; }
    .buy-alert-form { grid-template-columns: minmax(0, 1fr); }
    .buy-countdown-clock span { min-width: 46px; }
    .tab-btn { padding: .85rem 1rem; font-size: .94rem; }
    .tab-aside, .review-form-grid { grid-template-columns: minmax(0, 1fr); }
    .review header { flex-wrap: wrap; }
    .review header .hfk-stars { width: 100%; }
    .lightbox-stage { padding: 0 .5rem; }
    .lightbox-nav { top: auto; bottom: .5rem; margin: 0; }
    .sticky-buy-media, .sticky-buy-text span { display: none; }
    .sticky-buy .btn span { display: none; }
    .sticky-buy .btn { padding-inline: 1.1rem; }
    .produkt-grid-4 { gap: .75rem; }
}
@media print {
    .produkt-gallery .gallery-thumbs, .buy-form, .buy-zone, .buy-share, .sticky-buy, .tabs-nav, .produkt-cross, .produkt-related, .produkt-recent { display: none !important; }
    .tab-panel { display: block !important; }
}
/* Lots de palettes : tarif dégressif (Vorteilspakete) */
.buy-packs { margin-top: 1.2rem; border: 1px solid var(--hfk-border); background: #fff; }
.buy-packs-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .6rem; padding: .75rem 1rem; border-bottom: 1px solid var(--hfk-border); font-size: .95rem; }
.buy-packs-head i { color: var(--hfk-flame); }
.buy-packs-head span { font-size: .82rem; color: var(--hfk-muted); }
.buy-packs ul { list-style: none; margin: 0; padding: 0; }
.buy-packs li + li { border-top: 1px dashed var(--hfk-border); }
.buy-pack { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .8rem; padding: .6rem 1rem; color: inherit; text-decoration: none; transition: background .2s; }
.buy-pack:hover, .buy-pack:focus-visible { background: var(--hfk-cream); color: inherit; }
.buy-pack.is-current { background: #FFF4EC; box-shadow: inset 4px 0 0 var(--hfk-flame); }
.buy-pack-qty { font-weight: 700; }
.buy-pack-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; text-align: right; }
.buy-pack-price strong { font-family: var(--hfk-font-head); font-size: 1rem; }
.buy-pack-price small { font-size: .74rem; color: var(--hfk-muted); white-space: nowrap; }
.buy-pack-save { min-width: 4.4rem; text-align: center; padding: .22rem .45rem; font-size: .78rem; font-weight: 700; color: #fff; background: var(--hfk-forest); }
.buy-pack-save.is-base { background: transparent; color: var(--hfk-muted); font-weight: 600; padding: 0; }
.buy-packs-note { margin: 0; padding: .7rem 1rem; font-size: .86rem; border-top: 1px solid var(--hfk-border); background: #F1F8F6; color: var(--hfk-forest-dark); }
.buy-packs-note i { margin-right: .3rem; }
@media (max-width: 575.98px) {
    .buy-pack { grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .6rem; }
    .buy-pack-save { grid-column: 2; grid-row: 1; }
    .buy-pack-price { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline; gap: .5rem; text-align: left; }
    .buy-pack-price small { white-space: normal; text-align: right; }
}

/* =====================================================================
 * THÈME « FRESH GREEN STORE » — fiche produit façon maquette :
 * grande image sur fond clair, miniatures arrondies (cadre vert pour la
 * miniature active), disponibilité en vert, prix net, options pilule.
 * ===================================================================== */
.gallery-stage { border-radius: var(--hfk-radius-lg); background: #F3F4F6; overflow: hidden; box-shadow: var(--hfk-shadow-card); }
.gallery-slide img { mix-blend-mode: multiply; }
.gallery-wish, .gallery-zoom, .gallery-arrow { border-radius: 10px; background: rgba(255, 255, 255, .95); color: #9AA1A8; box-shadow: var(--hfk-shadow-xs); }
.gallery-wish:hover, .gallery-zoom:hover, .gallery-arrow:hover { color: var(--hfk-green); background: #fff; }
.gallery-arrow { border-radius: 50%; }
.gallery-counter { border-radius: var(--hfk-radius-pill); }
.gallery-thumbs { gap: .55rem; }
.gallery-thumb { border-radius: 10px; overflow: hidden; background: #F3F4F6; border: 2px solid transparent; }
.gallery-thumb img { mix-blend-mode: multiply; }
.gallery-thumb:hover { border-color: var(--hfk-green-light); }
.gallery-thumb.is-active { border-color: var(--hfk-green); box-shadow: 0 0 0 3px rgba(35, 122, 156, .15); }
.gallery-usps { border-radius: var(--hfk-radius); background: var(--hfk-green-soft); }
.gallery-usps i { color: var(--hfk-green); }

.buy-cat { color: var(--hfk-green-dark); background: var(--hfk-green-light); border-radius: var(--hfk-radius-pill); letter-spacing: .04em; }
.buy-cat:hover { color: var(--hfk-green-deep); }
.buy-deposit { background: var(--hfk-grad-forest); border-radius: var(--hfk-radius); }
.buy-deposit-icon { background: var(--hfk-yellow); }
.buy-deposit-head small { color: rgba(255, 255, 255, .85); }
.tab-aside-card { border-top-color: var(--hfk-green); }
.tab-count { background: var(--hfk-green); }
.buy-countdown-clock span { background: var(--hfk-green-deep); }
.buy-title { font-weight: 700; }
.buy-price-box { border-radius: var(--hfk-radius); background: #fff; box-shadow: var(--hfk-shadow-card); border: 0; }
.buy-price strong { color: var(--hfk-charcoal); }
.buy-price strong.is-sale { background: var(--hfk-yellow); color: var(--hfk-charcoal); padding: 0 .4rem; border-radius: 8px; }
.buy-price-save { background: var(--hfk-yellow); color: var(--hfk-charcoal); border-radius: var(--hfk-radius-pill); }
.buy-status li[class*="stock-"] { font-weight: 600; }
.buy-status .stock-in, .buy-status .stock-in i { color: var(--hfk-green); }
.buy-highlights i { color: var(--hfk-green); }
.buy-countdown { border-radius: var(--hfk-radius); }
.buy-countdown-clock span { border-radius: 10px; }
.buy-cart-btn { border-radius: var(--hfk-radius-pill); }
.buy-wish { border-radius: 50%; }
.buy-alert, .buy-deposit, .buy-zone, .buy-trust, .buy-packs, .buy-share { border-radius: var(--hfk-radius); }
.buy-pack { border-radius: var(--hfk-radius-pill); border-width: 1.5px; }
.buy-pack:hover, .buy-pack.is-active, .buy-pack:has(input:checked) { border-color: var(--hfk-green); background: var(--hfk-green-soft); }
.buy-deposit-bar { border-radius: 8px; overflow: hidden; }
.buy-deposit-icon { border-radius: 50%; }
.qty-stepper-lg { border-radius: var(--hfk-radius-pill); }

.tabs-nav { border-bottom: 1px solid var(--hfk-border); }
.tab-btn { border-radius: 10px 10px 0 0; font-weight: 500; }
.tabs-indicator { background: var(--hfk-green); border-radius: 3px; }
.tab-count { border-radius: var(--hfk-radius-pill); }
.tab-aside-card, .delivery-card, .spec-block, .reviews-summary, .review, .review-form { border-radius: var(--hfk-radius); }
.spec-table { border-radius: 12px; overflow: hidden; }
.delivery-icon { border-radius: 50%; }
.review-avatar { border-radius: 50%; background: var(--hfk-green); }
.reviews-bar { border-radius: 6px; overflow: hidden; }

.sticky-buy { border-radius: 18px 18px 0 0; box-shadow: 0 -10px 30px rgba(20, 30, 40, .12); }
.sticky-buy-media { border-radius: 10px; overflow: hidden; background: #F3F4F6; }
.lightbox-close, .lightbox-nav { border-radius: 50%; }
