/* Fiche produit v2 — blocs [bt_product_*] et onglets générés par inc/product-page.php.
   Charte de l'accueil : Lora (titres), Mulish (texte), vert forêt, ivoire, or. */
:root {
	--bt-forest: #15362D;
	--bt-ivory: #F3EBDD;
	--bt-paper: #FFFDF8;
	--bt-gold: #D9A321;
	--bt-gold-ink: #8A6410;
	--bt-ink: #202622;
	--bt-muted: #59645F;
	--bt-line: #D8D2C4;
	--bt-warm: #FBF3E4;
	--bt-display: "Lora", Georgia, serif;
	--bt-body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.bt-ico { width: 22px; height: 22px; flex: none; }

/* ---------- Bloc d'achat ---------- */
.bt-highlights { list-style: none; margin: 18px 0 14px; padding: 0; display: grid; gap: 10px; }
.bt-highlights li { display: flex; gap: 10px; align-items: flex-start; font: 600 16px/1.45 var(--bt-body); color: var(--bt-ink); }
.bt-highlights .bt-ico { width: 20px; height: 20px; margin-top: 1px; color: var(--bt-paper); background: var(--bt-forest); border-radius: 50%; padding: 3px; stroke-width: 2.4; }
.bt-chips { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bt-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--bt-line); border-radius: 999px; background: var(--bt-paper); font: 700 13px/1.2 var(--bt-body); color: var(--bt-forest); cursor: default; }
.bt-chips .bt-ico { width: 16px; height: 16px; color: var(--bt-gold-ink); }
.bt-reassure { list-style: none; margin: 22px 0 6px; padding: 18px 0 0; border-top: 1px solid var(--bt-line); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.bt-reassure li { display: flex; gap: 10px; align-items: flex-start; font: 400 13.5px/1.4 var(--bt-body); color: var(--bt-muted); }
.bt-reassure strong { display: block; font-weight: 700; font-size: 14px; color: var(--bt-ink); }
.bt-reassure .bt-ico { width: 26px; height: 26px; color: var(--bt-forest); }

/* ---------- Bienfaits en un coup d'œil ---------- */
.bt-benefits { padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 48px); background: var(--bt-ivory); border-radius: 8px; }
.bt-benefits h2, .bt-trust h2, .bt-routine h2 { margin: 0 0 24px; font: 700 clamp(24px, 3vw, 30px)/1.15 var(--bt-display); color: var(--bt-forest); letter-spacing: -.01em; text-wrap: balance; }
.bt-benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.bt-benefit h3 { margin: 14px 0 6px; font: 700 19px/1.25 var(--bt-display); color: var(--bt-forest); }
.bt-benefit p { margin: 0; font: 400 15px/1.6 var(--bt-body); color: var(--bt-muted); }
.bt-benefit .bt-ico { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--bt-paper); color: var(--bt-forest); }

/* ---------- Onglets (onglets WooCommerce rendus par Porto) ---------- */
/* Porto swaps the tab bar for accordions on small screens: only restyle the bar where it is shown. */
@media (min-width: 768px) {
	body.bt-pp-v2 .woocommerce-tabs .resp-tabs-list { display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid var(--bt-line); margin: 0 0 8px; padding: 0; }
}
body.bt-pp-v2 .woocommerce-tabs .resp-tabs-list li.resp-tab-item { background: none !important; border: 0 !important; margin: 0 !important; padding: 14px 0 12px !important; font: 700 15px/1.2 var(--bt-body) !important; color: var(--bt-muted) !important; text-transform: none !important; letter-spacing: 0 !important; border-bottom: 2px solid transparent !important; }
body.bt-pp-v2 .woocommerce-tabs .resp-tabs-list li.resp-tab-item:hover { color: var(--bt-forest) !important; }
body.bt-pp-v2 .woocommerce-tabs .resp-tabs-list li.resp-tab-active { color: var(--bt-forest) !important; border-bottom-color: var(--bt-gold) !important; }
body.bt-pp-v2 .woocommerce-tabs .resp-tabs-container { border: 0 !important; padding: 0 !important; background: none !important; }
body.bt-pp-v2 .woocommerce-tabs .tab-content { padding: 26px 0 8px !important; border: 0 !important; }
body.bt-pp-v2 .woocommerce-tabs h2.resp-accordion { font: 700 16px/1.3 var(--bt-body) !important; color: var(--bt-forest) !important; background: none !important; border: 0 !important; border-bottom: 1px solid var(--bt-line) !important; padding: 16px 28px 16px 0 !important; margin: 0 !important; text-transform: none !important; }

/* Porto forces ".woocommerce div.product .price" green with !important; html + body outranks it. */
html body.bt-pp-v2 .product-summary-wrap .price,
html body.bt-pp-v2 .product-summary-wrap .price ins,
html body.bt-pp-v2 .product-summary-wrap .price .amount { color: var(--bt-forest) !important; }
html body.bt-pp-v2 .product-summary-wrap .price del .amount { color: var(--bt-muted) !important; font-weight: 400; }
body.bt-pp-v2 .bt-tab p, body.bt-pp-v2 .bt-tab li { font-size: 16px; line-height: 1.75; }
.bt-tab::after { content: ""; display: block; clear: both; }
.bt-prose { max-width: 760px; font: 400 16px/1.75 var(--bt-body); color: var(--bt-ink); }
.bt-prose p { margin: 0 0 14px; }
.bt-prose strong { color: var(--bt-forest); font-weight: 700; }
.bt-sub { margin: 28px 0 10px !important; font: 700 20px/1.3 var(--bt-display) !important; color: var(--bt-forest) !important; text-transform: none !important; letter-spacing: 0 !important; }
.bt-prose > .bt-sub:first-child { margin-top: 0 !important; }
.bt-list { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 8px; }
.bt-list li::marker { color: var(--bt-gold); }
.bt-star { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--bt-forest); color: var(--bt-paper); font: 700 11px/1.5 var(--bt-body); letter-spacing: .02em; vertical-align: 2px; }
.bt-tab-visual { float: right; width: min(34%, 320px); margin: 0 0 20px 40px; }
.bt-tab-visual img { width: 100%; height: auto; max-height: 380px; object-fit: contain; border-radius: 8px; background: #fff; }

.bt-steps { list-style: none; counter-reset: bt-step; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.bt-steps li { counter-increment: bt-step; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.bt-steps li::before { content: counter(bt-step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bt-forest); color: var(--bt-paper); font: 700 14px/1 var(--bt-body); }
.bt-note { margin-top: 22px; padding: 18px 22px; background: var(--bt-warm); border-left: 3px solid var(--bt-gold); border-radius: 0 8px 8px 0; }
.bt-note .bt-sub { margin-top: 0 !important; font-size: 17px !important; }

.bt-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 18px; }
.bt-why-item { padding: 20px 22px; border: 1px solid var(--bt-line); border-radius: 8px; background: var(--bt-paper); }
.bt-why-item .bt-ico { width: 28px; height: 28px; color: var(--bt-forest); }
.bt-why-item h3 { margin: 10px 0 6px !important; font: 700 18px/1.3 var(--bt-display) !important; color: var(--bt-forest) !important; text-transform: none !important; }
.bt-why-item p { margin: 0; font: 400 15px/1.6 var(--bt-body); color: var(--bt-muted); }

.bt-inci { margin-top: 18px; border-top: 1px solid var(--bt-line); padding-top: 14px; }
.bt-inci summary { cursor: pointer; font: 700 15px/1.4 var(--bt-body); color: var(--bt-forest); min-height: 44px; display: flex; align-items: center; }
.bt-inci p, .bt-inci li { font-size: 14px; color: var(--bt-muted); }

.bt-faq { max-width: 820px; }
.bt-faq details { border-bottom: 1px solid var(--bt-line); }
.bt-faq summary { cursor: pointer; list-style: none; position: relative; padding: 16px 40px 16px 0; min-height: 44px; font: 700 16px/1.45 var(--bt-body); color: var(--bt-ink); }
.bt-faq summary::-webkit-details-marker { display: none; }
.bt-faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 24px/1 var(--bt-body); color: var(--bt-gold-ink); }
.bt-faq details[open] summary::after { content: "–"; }
.bt-faq details p { margin: 0 0 18px; font: 400 15.5px/1.7 var(--bt-body); color: var(--bt-muted); }
.bt-faq summary:focus-visible, .bt-inci summary:focus-visible { outline: 3px solid var(--bt-gold); outline-offset: 3px; }

.bt-rtl, .bt-review[dir="rtl"] { font-family: Tahoma, "Segoe UI", "Noto Sans Arabic", Arial, sans-serif; text-align: right; }
.bt-rtl { font-size: 17px; line-height: 1.9; }
.bt-rtl .bt-list { padding-left: 0; padding-right: 20px; }

.bt-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.bt-review { margin: 0; padding: 22px 24px; background: var(--bt-ivory); border-radius: 8px; display: flex; flex-direction: column; gap: 10px; }
.bt-review blockquote { margin: 0; padding: 0; border: 0; font: 400 15.5px/1.7 var(--bt-body); color: var(--bt-ink); font-style: normal; }
.bt-review[dir="rtl"] blockquote { font-family: inherit; font-size: 16px; line-height: 1.85; }
.bt-review blockquote p { margin: 0 0 8px; }
.bt-review-title { margin: 0; font: 700 18px/1.3 var(--bt-display); color: var(--bt-forest); }
.bt-review figcaption { margin-top: auto; font: 700 13px/1.4 var(--bt-body); color: var(--bt-forest); }

/* ---------- Certifications & engagements ---------- */
.bt-trust { padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--bt-line); border-bottom: 1px solid var(--bt-line); }
.bt-trust-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.bt-cert { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border: 1px solid var(--bt-gold); background: var(--bt-warm); border-radius: 8px; font: 400 13px/1.4 var(--bt-body); color: var(--bt-muted); }
.bt-cert strong { display: block; font-size: 15px; color: var(--bt-ink); }
.bt-cert .bt-ico { width: 32px; height: 32px; color: var(--bt-gold-ink); }
.bt-chips--lg { margin: 0; }
.bt-chips--lg li { padding: 9px 14px; font-size: 14px; }
.bt-guarantees { margin-top: 20px; }
.bt-guarantees .bt-list { columns: 2 280px; display: block; font: 400 15px/1.6 var(--bt-body); color: var(--bt-muted); }
.bt-guarantees .bt-list li { break-inside: avoid; margin-bottom: 6px; }

/* ---------- Offres du moment / routine ---------- */
.bt-routine { padding-top: clamp(32px, 4vw, 48px); }

/* =========================================================
   Mise en page « fiche éditoriale » (modèle v2 #5914)
   ========================================================= */
.bt-bleed { width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }

/* Bloc d'achat : galerie sur panneau | fiche express */
.bt-buy { margin-bottom: 0 !important; }
.bt-gallery-panel { background: #F4F0E7; padding: clamp(24px, 4vw, 56px) !important; justify-content: center; }
.bt-gallery-panel .elementor-widget-porto_cp_image { width: 100%; max-width: 680px; margin-left: auto; }
/* White packshot backgrounds melt into the panel. The carousel's transforms isolate blending,
   so its own layers carry the panel colour for multiply to blend against. */
.bt-gallery-panel img { mix-blend-mode: multiply; }
/* Tall packshots (essential oils, serums) stay within a near-square frame. */
.bt-gallery-panel .product-image-slider img, .bt-gallery-panel .product-images > .product-image-slider img { height: min(72vh, 640px) !important; width: 100% !important; object-fit: contain; }
.bt-gallery-panel .product-images, .bt-gallery-panel .owl-stage-outer, .bt-gallery-panel .owl-stage, .bt-gallery-panel .owl-item,
.bt-gallery-panel .img-thumbnail, .bt-gallery-panel .inner, .bt-gallery-panel .product-image-slider { background-color: #F4F0E7 !important; }
.bt-gallery-panel .img-thumbnail { border-color: transparent !important; }
.bt-gallery-panel .product-thumbs-slider .owl-item.selected .img-thumbnail { border-color: var(--bt-forest) !important; }
.bt-summary { padding: clamp(28px, 4vw, 64px) clamp(20px, 4.5vw, 80px) !important; }
.bt-summary > .elementor-element, .bt-summary > .e-con { max-width: 560px; }
.bt-facts { margin: 18px 0 16px; padding: 0; }
.bt-facts > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-top: 1px solid var(--bt-line); }
.bt-facts > div:last-child { border-bottom: 1px solid var(--bt-line); }
.bt-facts dt { font: 700 13.5px/1.5 var(--bt-body); color: var(--bt-forest); }
.bt-facts dd { margin: 0; font: 400 14.5px/1.55 var(--bt-body); color: var(--bt-ink); }
.bt-summary .bt-chips { margin-bottom: 8px; }
.bt-summary form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.bt-summary form.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; gap: 10px; width: 100%; }
html body.bt-pp-v2 .bt-summary .single_add_to_cart_button { flex: 1 1 auto; min-height: 52px; border-radius: 8px !important; background: var(--bt-forest) !important; border-color: var(--bt-forest) !important; color: var(--bt-paper) !important; font: 700 15px/1 var(--bt-body) !important; letter-spacing: .01em; text-transform: none !important; }
html body.bt-pp-v2 .bt-summary .single_add_to_cart_button:hover { background: var(--bt-gold) !important; border-color: var(--bt-gold) !important; color: var(--bt-forest) !important; }
.bt-reassure-inline { list-style: none; margin: 14px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.bt-reassure-inline li { display: inline-flex; align-items: center; gap: 8px; font: 600 13.5px/1.3 var(--bt-body); color: var(--bt-muted); }
.bt-reassure-inline .bt-ico { width: 20px; height: 20px; color: var(--bt-forest); }

.bt-tagline { margin: 6px 0 4px; font: 600 16px/1.4 var(--bt-body); color: var(--bt-gold-ink); }
.bt-stars { margin: 0; font-size: 17px; letter-spacing: 2px; color: var(--bt-gold); line-height: 1; }
.bt-stars span { color: var(--bt-line); }

/* Offres du moment */
.bt-offers { padding-top: clamp(36px, 4vw, 56px); }
.bt-offers h2 { margin: 0 0 20px; font: 600 clamp(24px, 3vw, 30px)/1.15 var(--bt-display); color: var(--bt-forest); }
.bt-offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.bt-offer { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1px solid var(--bt-line); border-top: 3px solid var(--bt-gold); border-radius: 8px; background: var(--bt-paper); }
.bt-offer-kind { margin: 0; font: 700 12.5px/1.3 var(--bt-body); color: var(--bt-gold-ink); }
.bt-offer h3 { margin: 0 !important; font: 600 20px/1.25 var(--bt-display) !important; color: var(--bt-forest) !important; text-transform: none !important; }
.bt-offer p { margin: 0; font: 400 15px/1.6 var(--bt-body); color: var(--bt-muted); }
html body.bt-pp-v2 .bt-offer .bt-offer-price, html body.bt-pp-v2 .bt-offer .bt-offer-price .amount { font: 700 20px/1.3 var(--bt-body); color: var(--bt-forest) !important; }
html body.bt-pp-v2 .bt-offer .bt-offer-price del .amount { font-weight: 400; font-size: 15px; color: var(--bt-muted) !important; }
.bt-offer-actions { margin-top: auto !important; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.bt-offer-actions a { font: 700 14px/1.2 var(--bt-body); color: var(--bt-forest); }
.bt-offer-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 8px; background: var(--bt-forest); color: var(--bt-paper) !important; text-decoration: none; }
.bt-offer-btn:hover { background: var(--bt-gold); color: var(--bt-forest) !important; }
.bt-offer-code { margin-top: auto !important; padding-top: 6px; color: var(--bt-ink) !important; }
.bt-offer-code strong { display: inline-block; margin: 0 4px; padding: 4px 10px; border: 1px dashed var(--bt-forest); border-radius: 6px; font-size: 15px; letter-spacing: .06em; color: var(--bt-forest); user-select: all; }

/* Panneau d'accordéons + visuel */
.bt-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; margin-top: clamp(32px, 4vw, 56px); }
.bt-details-panel { background: #E5EADC; padding: clamp(32px, 5vw, 80px) clamp(20px, 5vw, 80px); }
.bt-acc { border-bottom: 1px solid rgba(21, 54, 45, .2); }
.bt-acc > summary { list-style: none; cursor: pointer; position: relative; padding: 22px 44px 22px 0; min-height: 44px; font: 600 clamp(19px, 2vw, 23px)/1.25 var(--bt-display); color: var(--bt-forest); }
.bt-acc > summary::-webkit-details-marker { display: none; }
.bt-acc > summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.bt-acc[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.bt-acc > summary:focus-visible { outline: 3px solid var(--bt-gold); outline-offset: 4px; }
.bt-acc-body { padding: 0 0 26px; }
.bt-acc-body .bt-prose { max-width: none; }
.bt-acc-body .bt-tab p, .bt-acc-body .bt-tab li { font-size: 15.5px; }
.bt-acc-body .bt-why-item { background: rgba(255, 253, 248, .7); }
.bt-acc-body table.shop_attributes { margin: 0; }
.bt-details-visual { margin: 0; position: relative; background: #F4F0E7; }
.bt-details-visual img { position: sticky; top: 110px; width: 100%; height: min(82vh, 780px); object-fit: cover; display: block; }

/* Bande FAQ */
.bt-faq-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); padding: clamp(48px, 6vw, 96px) max(20px, calc((100vw - 1200px) / 2)); background: var(--bt-forest); color: #E9E1D1; margin-top: clamp(32px, 4vw, 56px); }
.bt-faq-band h2 { margin: 0 0 18px; font: 600 clamp(28px, 3.4vw, 42px)/1.12 var(--bt-display); color: var(--bt-paper); text-wrap: balance; }
.bt-faq-band p { font: 400 15.5px/1.65 var(--bt-body); color: #E9E1D1; max-width: 46ch; }
.bt-faq-band a { color: var(--bt-gold); text-decoration: underline; text-underline-offset: 3px; }
.bt-faq-list details { background: var(--bt-paper); border-radius: 8px; margin-bottom: 10px; }
.bt-faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 16px 48px 16px 20px; min-height: 44px; font: 700 15px/1.45 var(--bt-body); color: var(--bt-ink); }
.bt-faq-list summary::-webkit-details-marker { display: none; }
.bt-faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font: 400 24px/1 var(--bt-body); color: var(--bt-gold-ink); }
.bt-faq-list details[open] summary::after { content: "–"; }
.bt-faq-list summary:focus-visible { outline: 3px solid var(--bt-gold); outline-offset: 2px; }
.bt-faq-list details p { margin: 0; padding: 0 20px 18px; font: 400 15px/1.7 var(--bt-body); color: var(--bt-muted); max-width: none; }

/* Bande avis */
.bt-reviews-band { padding: clamp(48px, 6vw, 88px) max(20px, calc((100vw - 1100px) / 2)); background: #F5E9EB; text-align: center; }
.bt-reviews-band h2 { margin: 0 0 6px; font: 600 clamp(26px, 3vw, 36px)/1.15 var(--bt-display); color: var(--bt-forest); }
.bt-reviews-count { margin: 0 0 28px; font: 400 15px/1.5 var(--bt-body); color: var(--bt-muted); }
.bt-reviews-band .bt-tab { text-align: left; }
.bt-reviews-band .bt-reviews { grid-template-columns: repeat(auto-fit, minmax(280px, 340px)); justify-content: center; }
.bt-reviews-band .bt-review { background: var(--bt-paper); }

/* Réassurance */
.bt-reassure-row { list-style: none; margin: 0; padding: clamp(40px, 5vw, 64px) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.bt-reassure-row li { display: grid; justify-items: center; gap: 6px; }
.bt-reassure-row .bt-ico { width: 32px; height: 32px; color: var(--bt-forest); margin-bottom: 4px; }
.bt-reassure-row strong { font: 600 18px/1.25 var(--bt-display); color: var(--bt-forest); }
.bt-reassure-row span { font: 400 14px/1.5 var(--bt-body); color: var(--bt-muted); }

@media (max-width: 991px) {
	.bt-summary > .elementor-element, .bt-summary > .e-con { max-width: none; }
	.bt-details { grid-template-columns: 1fr; }
	.bt-details-visual img { position: static; height: 360px; }
	.bt-faq-band { grid-template-columns: 1fr; }
	.bt-reassure-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
	.bt-tab-visual { display: none; }
	.bt-gallery-panel { padding: 16px !important; }
	.bt-facts > div { grid-template-columns: 92px minmax(0, 1fr); }
	.bt-details-visual img { height: 280px; }
	.bt-reassure { grid-template-columns: 1fr; }
	.bt-benefits-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
	.bt-benefit h3 { font-size: 17px; }
	.bt-reviews { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .bt-benefits-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .bt-faq summary::after { transition: none; } }
