/* =====================================================================
   v6 : menu mobile premium, fiche produit centrée achat, commande courte.
   Chargé en dernier.
   ===================================================================== */
:root {
	--v6-encre: #1d2b45;
	--v6-encre-2: #4a5876;
	--v6-encre-3: #7a849a;
	--v6-fond: #f7f5f0;
	--v6-carte: #ffffff;
	--v6-trait: rgba(29, 43, 69, .10);
	--v6-bleu: #2f6fd0;
	--v6-ressort: cubic-bezier(.32, .72, 0, 1);
	--v6-police: "Inter Tight Ondea", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 1. Menu mobile ---------- */
body .menu-mobile.v6-menu {
	position: fixed; inset: 0; right: 0; left: 0; width: 100%; max-width: 440px; height: 100dvh;
	display: flex; flex-direction: column; padding: 0 !important;
	background: var(--v6-fond) !important; -webkit-backdrop-filter: none; backdrop-filter: none;
	box-shadow: 0 0 60px rgba(13, 20, 33, .18); border: 0; border-radius: 0;
	transform: translateX(-100%); transition: transform .48s var(--v6-ressort), visibility 0s linear .48s;
	font-family: var(--v6-police); color: var(--v6-encre); overflow: hidden; touch-action: pan-y;
}
body .menu-mobile.v6-menu.ouvert { transform: translateX(var(--v6-glisse, 0px)); transition: transform .48s var(--v6-ressort), visibility 0s; }
body .menu-mobile.v6-menu.v6-glisse { transition: none; }
.v6m-tete { display: flex; align-items: center; justify-content: space-between; padding: calc(10px + env(safe-area-inset-top)) 16px 10px 24px; min-height: 64px; }
.v6m-logo { font-weight: 750; letter-spacing: .14em; font-size: .95rem; }
body .v6-menu .v6m-fermer { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(29, 43, 69, .06) !important; color: var(--v6-encre); }
.v6m-corps { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 24px; }
.v6m-liste, .v6m-liste ul, .v6m-second, .v6m-reassurance { list-style: none; margin: 0; padding: 0; }
.v6m-liste > li { border-bottom: 1px solid var(--v6-trait); }
.v6m-lien {
	display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 64px;
	padding: 0; background: none; border: 0; cursor: pointer; text-align: left; text-decoration: none;
	font: 650 1.65rem/1.1 var(--v6-police); letter-spacing: -.025em; color: var(--v6-encre) !important;
	-webkit-tap-highlight-color: transparent;
}
.v6m-lien:active { opacity: .6; }
.v6m-chev { color: var(--v6-encre-3); transition: transform .35s var(--v6-ressort); }
.v6m-acc[aria-expanded="true"] .v6m-chev { transform: rotate(180deg); }
.v6m-sous { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--v6-ressort); }
.v6m-sous > ul { overflow: hidden; min-height: 0; }
.v6m-sous.v6-ouvert { grid-template-rows: 1fr; }
.v6m-sous[hidden] { display: none; }
.v6m-sous li:last-child { padding-bottom: 14px; }
.v6m-sous a { display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 6px 0 6px 2px; text-decoration: none; font-size: 1.06rem; font-weight: 550; color: var(--v6-encre) !important; }
.v6m-sous a span { font-size: .84rem; font-weight: 400; color: var(--v6-encre-2); margin-top: 1px; }
.v6m-second { margin-top: 22px; display: grid; gap: 8px; }
.v6m-second a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--v6-carte); text-decoration: none; color: var(--v6-encre) !important; box-shadow: 0 1px 2px rgba(29, 43, 69, .05); }
.v6m-second a strong { display: block; font-size: .98rem; font-weight: 650; }
.v6m-second a span span, .v6m-second a > span:last-child { font-size: .82rem; color: var(--v6-encre-2); }
.v6m-pastille { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(47, 111, 208, .1); color: var(--v6-bleu); }
.v6m-pied { border-top: 1px solid var(--v6-trait); padding: 14px 24px calc(16px + env(safe-area-inset-bottom)); background: var(--v6-fond); }
.v6m-reassurance { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 12px; font-size: .76rem; color: var(--v6-encre-2); }
.v6m-reassurance li { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.v6m-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v6m-bouton { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; border: 1px solid var(--v6-trait); background: var(--v6-carte); color: var(--v6-encre) !important; font-weight: 600; font-size: .95rem; text-decoration: none; }
.v6m-bouton-plein { background: var(--v6-encre); border-color: var(--v6-encre); color: #fff !important; }
.v6m-nb { min-width: 22px; height: 22px; border-radius: 11px; background: #fff; color: var(--v6-encre); font-size: .75rem; display: inline-grid; place-items: center; padding: 0 6px; }
@media (prefers-reduced-motion: reduce) {
	body .menu-mobile.v6-menu, .v6m-sous, .v6m-chev { transition-duration: .01s !important; }
}

/* ---------- 2. Fiche produit ---------- */
.single-product .fiche-achat { display: flex; flex-direction: column; }
.single-product .fiche-achat .fiche-prix { margin: 6px 0 0; }
.single-product .v6-accroche { margin: 10px 0 0; font-size: 1rem; line-height: 1.45; color: var(--v6-encre-2); }
.single-product .v6-formulaire { margin-top: 18px; }
.single-product .v6-formulaire .single_add_to_cart_button { min-height: 56px; width: 100%; border-radius: 999px; font-size: 1.05rem; font-weight: 650; }
.single-product .v6-formulaire #wc-stripe-express-checkout-element,
.single-product .v6-formulaire .wc-stripe-product-checkout-container { margin-top: 10px; }
.single-product #wc-stripe-express-checkout-button-separator { margin: 8px 0 !important; font-size: .8rem; color: var(--v6-encre-3); }

.v6-offert { margin-top: 14px; border-radius: 14px; background: rgba(138, 106, 58, .08); }
.v6-offert summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; cursor: pointer; font-size: .92rem; color: var(--v6-encre); }
.v6-offert summary::-webkit-details-marker { display: none; }
.v6-offert-ic { flex: none; color: #8a6a3a; display: grid; }
.v6-offert-txt { flex: 1; min-width: 0; }
.v6-offert-val { color: var(--v6-encre-2); white-space: nowrap; }
.v6-offert-val .woocommerce-Price-amount { white-space: nowrap; }
.v6-plus { flex: none; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .25s; opacity: .55; }
.v6-offert[open] .v6-plus { transform: rotate(-135deg) translateY(-3px); }
.v6-offert-corps { padding: 0 8px 8px; }
.v6-offert-corps .bloc-offert { margin: 0 !important; box-shadow: none !important; }
.v6-offert-corps .bloc-offert-tete { display: none !important; }

.v6-reassurance { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.v6-reassurance li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; text-align: center; border-radius: 14px; background: var(--v6-carte); font-size: .78rem; font-weight: 550; line-height: 1.2; color: var(--v6-encre); }
.v6-reassurance svg { color: var(--v6-bleu); }

.single-product .v6-volets { margin-top: 26px; border-top: 1px solid var(--v6-trait); background: none; box-shadow: none; padding: 0; }
.single-product .v6-volets .fiche-volet summary { min-height: 56px; padding: 14px 2px; font-weight: 600; font-size: 1.02rem; color: var(--v6-encre); }
.single-product .v6-volets .fiche-volet-corps { padding: 0 2px 18px; }
.single-product .v6-volets .extrait, .single-product .v6-volets .pourquoi, .single-product .v6-volets .inclus { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.single-product .v6-volets .extrait-titre, .single-product .v6-volets .inclus-titre { display: none; }
.single-product .v6-volets .pourquoi-titre { display: none; }
.single-product .v6-volets audio { width: 100%; }
.single-product .v6-volets .fiche-pourqui { margin-top: 14px; }
.single-product .fiche-achat .jeu { margin-top: 28px; }

/* Barre d'achat collante */
.single-product .barre-achat { gap: 10px; }
.single-product .barre-achat .bouton { min-height: 48px; padding: 0 22px; white-space: nowrap; font-weight: 650; }
.single-product .barre-achat-prix del { display: none; }

@media (max-width: 899px) {
	.single-product .fiche-achat .woocommerce-breadcrumb { display: none; }
	.single-product .fiche-achat .surtitre { margin-bottom: 4px; font-size: .72rem; }
	.single-product .fiche-titre { font-size: clamp(2.1rem, 9vw, 2.6rem); margin: 0; }
	.single-product .fiche-note { margin-top: 6px; }
	.single-product .fiche-galerie .galerie-jouer, .single-product .fiche-galerie .galerie-3d { font-size: .86rem; min-height: 40px; padding: 0 14px; }
	.single-product .fiche-galerie .galerie-3d { top: auto; bottom: 14px; left: 14px; right: auto; }
	.single-product .barre-achat { display: flex; }
	.single-product .barre-achat.visible { transform: none; }
	.single-product .contenu { padding-bottom: 84px; }
}
@media (min-width: 900px) {
	.single-product .barre-achat { display: none !important; }
	.single-product .fiche-achat { position: sticky; top: 96px; align-self: start; }
}

/* ---------- 4. Commande ---------- */
.woocommerce-checkout #wc-stripe-express-checkout-element { margin: 0 0 6px; }
.woocommerce-checkout .wc-block-components-express-payment, .woocommerce-checkout #wc-stripe-express-checkout-element { order: -1; }

/* Options compactes : 3 colonnes, une pression par choix */
@media (max-width: 899px) {
	body.single-product .fiche-formulaire .choix-groupe { margin-bottom: 14px !important; }
	body.single-product .fiche-formulaire .choix-tete { margin-bottom: 8px !important; }
	body.single-product .fiche-formulaire .choix-options { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px !important; }
	body.single-product .fiche-formulaire .choix-options button { min-height: 48px !important; padding: 6px 10px !important; border-radius: 12px !important; font-size: .86rem !important; line-height: 1.2 !important; white-space: normal !important; align-items: flex-start !important; }
	body.single-product .fiche-formulaire .choix-options button small { font-size: .72rem !important; }
	body.single-product .fiche-formulaire .choix-aide { display: none !important; }
	body.single-product .fiche-formulaire .choix-couleurs { display: flex !important; }
}

/* Structure de conversion v6.1 : atouts 2x2, extrait visible, cadeaux au-dessus du bouton */
.single-product .v6-atouts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--v6-trait); }
.single-product .v6-atouts li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 8px 12px 0; border-bottom: 1px solid var(--v6-trait); font-size: .78rem; line-height: 1.3; color: var(--v6-encre-2); }
.single-product .v6-atouts li:nth-child(odd) { border-right: 1px solid var(--v6-trait); }
.single-product .v6-atouts li:nth-child(even) { padding-left: 12px; }
.single-product .v6-atouts strong { display: block; font-size: .86rem; font-weight: 650; color: var(--v6-encre); }
.single-product .v6-atout-ic { flex: none; color: var(--v6-bleu); display: grid; margin-top: 1px; }
.single-product .v6-atouts .woocommerce-Price-amount { white-space: nowrap; }
.single-product .fiche-achat > .extrait { margin: 16px 0 0; }
.single-product .v6-formulaire .v6-offert { margin: 6px 0 14px; background: none; border-radius: 0; }
.single-product .v6-formulaire .v6-offert .bloc-offert { margin: 0 !important; }
.v6-aide-choix { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(47, 111, 208, .07); color: var(--v6-encre) !important; text-decoration: none; font-size: .9rem; }
.v6-aide-choix strong { color: var(--v6-bleu); font-weight: 650; }
.single-product .fiche > *, .single-product .fiche-achat, .single-product .fiche-achat > * { min-width: 0; }

/* Cadeaux : liste en lignes, prix barré + Offert (au-dessus du bouton) */
.single-product .v6-offert { width: 100%; flex-basis: 100%; }
.single-product .v6-offert .bloc-offert { padding: 14px !important; border-radius: 16px !important; }
.single-product .v6-offert .bloc-offert-tete { display: flex !important; align-items: center; gap: 10px; margin-bottom: 10px; }
.single-product .v6-offert .bloc-offert-sur { display: none; }
.single-product .v6-offert .bloc-offert-titre { font-size: 1rem !important; margin: 0 !important; }
.single-product .v6-offert .bloc-offert-valeur { margin-left: auto; font-size: .8rem; }
.single-product .v6-offert .bloc-offert-ic { width: 34px !important; height: 34px !important; }
.single-product .v6-offert .cadeaux-cartes { display: grid !important; grid-template-columns: 1fr !important; gap: 6px !important; margin: 0; padding: 0; list-style: none; }
.single-product .v6-offert .cadeaux-cartes li { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 12px; padding: 8px 10px !important; min-height: 0 !important; border-radius: 12px; }
.single-product .v6-offert .cadeau-visuel { flex: none; width: 44px !important; height: 44px !important; aspect-ratio: 1; margin: 0 !important; }
.single-product .v6-offert .cadeau-visuel img { width: 44px !important; height: 44px !important; object-fit: contain; }
.single-product .v6-offert .cadeau-texte { flex: 1; min-width: 0; }
.single-product .v6-offert .cadeau-texte strong { font-size: .9rem; }
.single-product .v6-offert .cadeau-texte span { display: none; }
.single-product .v6-offert .prix-offert { flex: none; margin: 0 !important; font-size: .85rem; white-space: nowrap; }
.single-product .v6-offert .bloc-offert-pied { font-size: .76rem; margin: 8px 0 0; }
.single-product .fiche-achat .woocommerce-breadcrumb { display: none !important; }

/* Menu mobile : icône du bouton Panier visible, pastilles sans carré bleu */
.v6m-bouton-plein svg, .v6m-bouton-plein svg * { stroke: #fff !important; color: #fff !important; }
.v6m-pastille { background: none !important; border: 1px solid rgba(168,134,74,.35) !important; border-radius: 50% !important; }
.v6m-pastille svg, .v6m-pastille svg * { stroke: #a8864a !important; }
