/**
 * VST43° — Fiche produit v2 (lot 1). Portée : .vst-pdp (corps de page « Fiche produit v2 ») et la barre d'achat.
 * Couleurs et dimensions : variables globales Divi 5 (gcid-vst-*, gvid-vst-*), avec repli sur la même valeur.
 * La mise en page (colonnes, marges des modules) vit dans Divi ; ce fichier ne traite que ce que Divi
 * ne règle pas : les pastilles et tailles de Variation Swatches, la quantité, l'état de stock, la barre mobile.
 */
.vst-pdp {
	--vst-rouge: var(--gcid-vst-rouge, #E21F20);
	--vst-rouge-fonce: var(--gcid-vst-rouge-fonce, #C41A1B);
	--vst-corail: var(--gcid-de2da1d0-439d-46e9-990a-e1a6d8120582, #E75736);
	--vst-texte: var(--gcid-vst-texte, #575758);
	--vst-encre: var(--gcid-vst-encre, #232324);
	--vst-blanc: var(--gcid-vst-blanc, #FFFDFC);
	--vst-ligne: var(--gcid-vst-ligne, #E9DED7);
	--vst-epuise: var(--gcid-vst-epuise, #B3AEAB);
	--vst-rayon: var(--gvid-vst-rayon, 4px);
	--vst-cible: var(--gvid-vst-cible-h, 44px);
	--vst-bouton: var(--gvid-vst-bouton-h, 52px);
}

/* Formulaire : couleur d'abord, puis taille (l'ordre des attributs vient de WooCommerce). */
.vst-pdp table.variations,
.vst-pdp table.variations tbody { display: flex; flex-direction: column; gap: 20px; width: 100%; margin: 0 0 20px; border: 0; }
.vst-pdp table.variations tr { display: block; }
.vst-pdp table.variations tr:has([data-attribute_name="attribute_pa_colori"]) { order: -1; }
.vst-pdp table.variations th.label,
.vst-pdp table.variations td.value { display: block; padding: 0; text-align: left; border: 0; background: none; }
.vst-pdp table.variations th.label { margin-bottom: 10px; font: 400 13px/1.3 "Open Sans", sans-serif; color: var(--vst-texte); }
.vst-pdp table.variations th.label label { font-weight: 400; }
.vst-pdp .woo-selected-variation-item-name { font-weight: 600; color: var(--vst-encre); }
.vst-pdp .reset_variations { display: none !important; }

/* Tailles : boutons de 44 px, grille de 7. */
.vst-pdp .button-variable-items-wrapper:not(.vst-pastilles):not([data-attribute_name="attribute_pa_colori"]) { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; }
.vst-pdp .button-variable-items-wrapper:not(.vst-pastilles):not([data-attribute_name="attribute_pa_colori"]) li.variable-item,
body.woo-variation-swatches .vst-pdp .variable-items-wrapper:not(.vst-pastilles):not([data-attribute_name="attribute_pa_colori"]) .variable-item:not(.radio-variable-item) {
	position: relative; margin: 0 !important; width: auto !important; min-width: 0 !important; height: var(--vst-cible) !important; padding: 0 !important;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--vst-ligne) !important; border-radius: var(--vst-rayon) !important; background-color: var(--vst-blanc); box-shadow: none !important;
	font: 400 13px/1 "Open Sans", sans-serif; color: var(--vst-encre);
}
.vst-pdp .button-variable-items-wrapper:not(.vst-pastilles):not([data-attribute_name="attribute_pa_colori"]) li.variable-item:hover { border-color: var(--vst-texte); box-shadow: none; }
.vst-pdp .button-variable-items-wrapper:not(.vst-pastilles):not([data-attribute_name="attribute_pa_colori"]) li.variable-item.selected,
body.woo-variation-swatches .vst-pdp .variable-items-wrapper:not(.vst-pastilles):not([data-attribute_name="attribute_pa_colori"]) .variable-item.selected:not(.radio-variable-item) { border: 1.5px solid var(--vst-encre) !important; font-weight: 600; box-shadow: none !important; }
.vst-pdp li.variable-item.vst-indispo {
	color: var(--vst-epuise); background: transparent;
	background-image: linear-gradient(to top right, transparent calc(50% - .5px), var(--vst-epuise) 50%, transparent calc(50% + .5px));
}
.vst-pdp li.variable-item.vst-stock-bas::after { content: ""; position: absolute; top: 5px; right: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--vst-corail); }
.vst-pdp .vst-etat-taille { min-height: 20px; margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--vst-texte); }
.vst-pdp .vst-etat-taille.vst-erreur { color: var(--gcid-vst-erreur, #9F1C1C); font-weight: 600; } /* état d'erreur, distinct du rouge d'action (DA §couleurs : 7,79:1) */
.vst-pdp .vst-point { display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--vst-corail); vertical-align: 2px; }

/* Couleurs : pastilles rondes de 32 px, photo du coloris ou hachures « photo à fournir ». */
.vst-pdp :is(.vst-pastilles, [data-attribute_name="attribute_pa_colori"]) { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.vst-pdp :is(.vst-pastilles, [data-attribute_name="attribute_pa_colori"]) li.variable-item,
body.woo-variation-swatches .vst-pdp :is(.vst-pastilles, [data-attribute_name="attribute_pa_colori"]) .variable-item:not(.radio-variable-item) {
	width: 32px !important; height: 32px !important; min-width: 32px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
	background-color: #F4F2F1; box-shadow: inset 0 0 0 1px rgba(35, 35, 36, .15) !important; overflow: visible;
}
.vst-pdp :is(.vst-pastilles, [data-attribute_name="attribute_pa_colori"]) li.variable-item .variable-item-contents { width: 100%; height: 100%; border-radius: 50%; }
.vst-pdp :is(.vst-pastilles, [data-attribute_name="attribute_pa_colori"]) li.variable-item .variable-item-span {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.vst-pdp :is(.vst-pastilles, [data-attribute_name="attribute_pa_colori"]) li.vst-pastille-photo { background: var(--vst-photo) 50% 46% / 340% auto no-repeat, #F4F2F1; }
.vst-pdp :is(.vst-pastilles, [data-attribute_name="attribute_pa_colori"]) li.vst-pastille-sans-photo { background: repeating-linear-gradient(135deg, #fff 0 4px, #D9D4D1 4px 5px); }
.vst-pdp :is(.vst-pastilles, [data-attribute_name="attribute_pa_colori"]) li.vst-pastille-sans-photo::before {
	content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font: 600 12px/1 "Open Sans", sans-serif; color: var(--vst-texte);
}
body.woo-variation-swatches .vst-pdp :is(.vst-pastilles, [data-attribute_name="attribute_pa_colori"]) .variable-item.selected:not(.radio-variable-item), .vst-pdp :is(.vst-pastilles, [data-attribute_name="attribute_pa_colori"]) li.variable-item.selected { box-shadow: inset 0 0 0 1px rgba(35, 35, 36, .15), 0 0 0 2px var(--vst-blanc), 0 0 0 3px var(--vst-encre) !important; }

/* Quantité + bouton : ligne dédiée à la quantité sur mobile, en ligne sur desktop. */
.vst-pdp .woocommerce-variation-add-to-cart,
.vst-pdp form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 12px 8px; align-items: stretch; }
.vst-pdp .quantity { flex: 0 0 100%; margin: 0 !important; }
.vst-pdp .quantity input.qty {
	width: 128px; height: var(--vst-cible); padding: 0; border: 1px solid var(--vst-ligne); border-radius: var(--vst-rayon);
	background: var(--vst-blanc); font: 600 14px/1 "Open Sans", sans-serif; color: var(--vst-encre); text-align: center;
}
.vst-pdp .single_add_to_cart_button.button {
	flex: 1 1 auto; height: var(--vst-bouton); margin: 0 !important; padding: 0 20px !important; border: 0 !important; border-radius: var(--vst-rayon) !important;
	background: var(--vst-rouge) !important; color: #fff !important; font: 600 13px/1 "Work Sans", sans-serif !important;
	text-transform: uppercase; letter-spacing: .14em;
}
.vst-pdp .single_add_to_cart_button.button:hover { background: var(--vst-rouge-fonce) !important; }
.vst-pdp .single_add_to_cart_button.button::after { display: none !important; } /* icône Divi */
.vst-pdp .single_add_to_cart_button.disabled { opacity: 1 !important; cursor: pointer; }
@media (min-width: 981px) {
	.vst-pdp .quantity { flex: 0 0 auto; }
	.vst-pdp .quantity input.qty { height: var(--vst-bouton); }
}

/* Barre d'achat mobile (hors .vst-pdp : ajoutée au body). */
.vst-barre-achat {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
	display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px;
	padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px));
	background: var(--gcid-vst-blanc, #FFFDFC); border-top: 1px solid var(--gcid-vst-ligne, #E9DED7);
	transform: translateY(110%); transition: transform .25s ease;
}
.vst-barre-achat.vst-visible { transform: none; }
.vst-barre-resume { min-width: 0; font: 400 12px/1.35 "Open Sans", sans-serif; color: var(--gcid-vst-texte, #575758); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vst-barre-resume b { display: block; font-size: 16px; font-weight: 400; color: var(--gcid-vst-encre, #232324); }
.vst-barre-btn {
	height: 46px; padding: 0 20px; border: 0; border-radius: 4px; background: var(--gcid-vst-rouge, #E21F20); color: #fff;
	font: 600 12px/1 "Work Sans", sans-serif; text-transform: uppercase; letter-spacing: .14em; cursor: pointer;
}
@media (min-width: 981px) { .vst-barre-achat { display: none; } }
@media (prefers-reduced-motion: reduce) { .vst-barre-achat { transition: none; } }

/* ---------------------------------------------------------------------------------------------
 * Mise en page du corps « Fiche produit v2 » (sections Divi .vst-pdp-*)
 * ------------------------------------------------------------------------------------------- */
.vst-pdp.et_pb_section { padding: 0; background: var(--gcid-vst-fond, #FFF8F4); }
.vst-pdp .et_pb_row { padding: 0 20px; }
.vst-pdp-ariane .et_pb_row { padding-top: 12px; padding-bottom: 10px; }
.vst-pdp .woocommerce-breadcrumb { margin: 0; font: 400 12px/1.3 "Open Sans", sans-serif; color: var(--vst-texte); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vst-pdp .woocommerce-breadcrumb a { color: var(--vst-texte); text-decoration: none; }
.vst-pdp-produit .et_pb_row { align-items: flex-start; }
.vst-pdp .vst-colonne-achat { padding-top: 20px; }
.vst-pdp .vst-colonne-achat .et_pb_module { margin-bottom: 20px; }
.vst-pdp .et_pb_wc_title h1, .vst-pdp .product_title {
	margin: 0; padding: 0; font: 600 24px/1.15 "Work Sans", sans-serif !important; color: var(--vst-encre) !important;
	text-transform: uppercase; letter-spacing: .05em; text-wrap: balance;
}
.vst-pdp .et_pb_wc_price .price, .vst-pdp .et_pb_wc_price .price span { font: 400 20px/1 "Open Sans", sans-serif !important; color: var(--vst-encre) !important; }
.vst-pdp .et_pb_wc_price .price del, .vst-pdp .et_pb_wc_price .price del span { color: var(--vst-texte) !important; font-size: 16px !important; }
.vst-pdp .woocommerce-variation-price { display: none; } /* le prix reste celui du module Prix */
.vst-pdp .woocommerce-variation-availability { display: none; } /* remplacé par la ligne d'état sous les tailles */
.vst-pdp .vst-reassurance { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font: 400 13px/1.45 "Open Sans", sans-serif; color: var(--vst-texte); }
.vst-pdp .vst-reassurance li { padding: 0 0 0 26px; position: relative; }
.vst-pdp .vst-reassurance li::before { content: ""; position: absolute; left: 0; top: 5px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--vst-texte); }
.vst-pdp .vst-reassurance strong { font-weight: 600; color: var(--vst-encre); }
.vst-pdp .vst-guide { margin: 14px 0 0; font-size: 13px; }
.vst-pdp .vst-guide a, .vst-pdp-details a { color: var(--vst-encre); text-decoration: underline; text-underline-offset: 3px; }
.vst-pdp-details .et_pb_row, .vst-pdp-tenue .et_pb_row { padding-top: 56px; }
.vst-pdp .vst-titre-section h2 { margin: 0 0 20px; padding: 0; font: 600 13px/1.2 "Work Sans", sans-serif; color: var(--vst-encre); text-transform: uppercase; letter-spacing: .14em; }
.vst-pdp .et_pb_wc_description { max-width: 65ch; font: 300 15px/1.75 "Open Sans", sans-serif !important; color: var(--vst-texte); }
.vst-pdp .et_pb_wc_description * { font-family: "Open Sans", sans-serif !important; } /* IBM Plex Sans retirée (brandbook §5) */
.vst-pdp .vst-infos .et_pb_toggle { margin: 0; padding: 0; border: 0; border-top: 1px solid var(--vst-ligne); background: transparent; }
.vst-pdp .vst-infos .et_pb_toggle:last-child { border-bottom: 1px solid var(--vst-ligne); }
.vst-pdp .vst-infos .et_pb_toggle_title { padding: 18px 32px 18px 0; font: 600 13px/1.2 "Work Sans", sans-serif !important; color: var(--vst-encre) !important; text-transform: uppercase; letter-spacing: .12em; }
.vst-pdp .vst-infos .et_pb_toggle_content { padding: 0 0 20px; font: 400 14px/1.65 "Open Sans", sans-serif; color: var(--vst-texte); }
.vst-pdp .vst-tarifs { width: 100%; max-width: 560px; border-collapse: collapse; margin: 0 0 16px; font-size: 13px; font-variant-numeric: tabular-nums; }
.vst-pdp .vst-tarifs th, .vst-pdp .vst-tarifs td { padding: 7px 0; border-bottom: 1px solid var(--vst-ligne); text-align: left; font-weight: 400; }
.vst-pdp .vst-tarifs td:last-child, .vst-pdp .vst-tarifs th:last-child { text-align: right; }
.vst-pdp .vst-tarifs thead th { font-weight: 600; color: var(--vst-encre); }
.vst-pdp .vst-tarifs small { font-size: 12px; }
.vst-pdp .vst-delais-note { margin: -8px 0 16px; max-width: 560px; font-size: 12px; line-height: 1.5; }
.vst-pdp-tenue .et_pb_row { padding-bottom: 56px; }
.vst-pdp-tenue section.products > h2 { display: none; } /* titre géré par le module Texte */
.vst-pdp-tenue ul.products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; margin: 0 !important; }
.vst-pdp-tenue ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.vst-pdp-tenue ul.products li.product .woocommerce-loop-product__title { font: 600 12px/1.3 "Work Sans", sans-serif !important; color: var(--vst-encre) !important; text-transform: uppercase; letter-spacing: .06em; padding: 8px 0 4px !important; }
.vst-pdp-tenue ul.products li.product .price { font: 400 13px/1 "Open Sans", sans-serif !important; color: var(--vst-encre) !important; }
.vst-pdp-tenue ul.products li.product .pourcentage { display: none; }
@media (min-width: 981px) {
	.vst-pdp .et_pb_row { padding-left: 40px; padding-right: 40px; }
	.vst-pdp .vst-colonne-achat { position: sticky; top: 100px; padding-top: 8px; }
	.vst-pdp .et_pb_wc_title h1, .vst-pdp .product_title { font-size: 30px !important; }
	.vst-pdp .et_pb_wc_price .price, .vst-pdp .et_pb_wc_price .price span { font-size: 22px !important; }
	.vst-pdp-details .et_pb_row, .vst-pdp-tenue .et_pb_row { padding-top: 120px; }
	.vst-pdp-tenue ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}

/* Rangée photos + achat : pas d'espace vertical entre colonnes empilées (mobile), 56 px entre colonnes (desktop). */
.vst-pdp-produit .et_pb_row { row-gap: 0 !important; column-gap: 56px; }
/* Galerie (Woo Variation Gallery, conservée pour l'instant) : pleine largeur, hauteur bornée sur mobile. */
.vst-pdp .woo-variation-product-gallery,
.vst-pdp .woo-variation-gallery-wrapper { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
.vst-pdp .woo-variation-gallery-slider .wvg-gallery-image img { width: 100%; height: auto; }
.vst-pdp .woo-variation-gallery-thumbnail-wrapper { margin-top: 8px; }
@media (max-width: 980px) {
	.vst-pdp .vst-colonne-photos { margin-left: -20px !important; margin-right: -20px !important; width: calc(100% + 40px) !important; max-width: none !important; }
	.vst-pdp .woo-variation-gallery-slider .wvg-gallery-image img { height: clamp(300px, 46vh, 440px); object-fit: contain; background: #F4F2F1; }
	.vst-pdp .woo-variation-gallery-thumbnail-wrapper { padding: 0 20px; }
	.vst-pdp .vst-colonne-achat { padding-top: 16px; }
	.vst-pdp .vst-colonne-achat .et_pb_module { margin-bottom: 16px; }
}
/* La flèche « suivant » de la galerie est posée hors écran sur mobile : on contient la galerie et on masque les flèches (défilement au doigt). */
.vst-pdp .woo-variation-gallery-wrapper { overflow: hidden; }
@media (max-width: 980px) { .vst-pdp .woo-variation-gallery-slider .slick-arrow { display: none !important; } }
/* Infobulles de Variation Swatches inutiles : le bouton affiche déjà la taille ; la pastille a son nom au-dessus. */
.vst-pdp .variable-items-wrapper [data-wvstooltip]::before, .vst-pdp .variable-items-wrapper [data-wvstooltip]::after { display: none !important; }
.vst-pdp :is(.vst-pastilles, [data-attribute_name="attribute_pa_colori"]) .variable-item { min-height: 32px !important; max-height: 32px !important; }
.vst-pdp .quantity input.qty, .woocommerce .vst-pdp .quantity input.qty, .vst-pdp .et_pb_wc_add_to_cart .quantity input.qty { width: 128px !important; min-width: 128px; }

/* =============================================================================================
 * Conformité à la maquette (relevé comparatif du 07.10)
 * =========================================================================================== */
/* Icônes de réassurance (mêmes tracés que la maquette), une classe par ligne dans le module Texte. */
.vst-pdp .vst-reassurance li { padding-left: 30px; }
.vst-pdp .vst-reassurance li::before { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border: 0; border-radius: 0; background: var(--vst-texte); -webkit-mask: var(--vst-ico) center / contain no-repeat; mask: var(--vst-ico) center / contain no-repeat; }
.vst-pdp .vst-reassurance li.vst-ico-livraison { --vst-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7'/%3E%3Ccircle cx='7' cy='17' r='1.6'/%3E%3Ccircle cx='17' cy='17' r='1.6'/%3E%3C/svg%3E"); }
.vst-pdp .vst-reassurance li.vst-ico-boutique { --vst-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16v10H4zM6 10V4h12v6'/%3E%3C/svg%3E"); }
.vst-pdp .vst-reassurance li.vst-ico-retour { --vst-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 1 0 2.4-5.7'/%3E%3Cpath d='M4 4v4h4'/%3E%3C/svg%3E"); }
.vst-pdp .vst-reassurance li.vst-ico-paiement { --vst-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='10' rx='1'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }

/* Surtitre, titres de section (le style Divi des h2 l'emportait : 26 px centré). */
.vst-pdp .vst-surtitre { margin: 0 !important; padding: 0; font: 600 12px/1.3 "Work Sans", sans-serif; color: var(--gcid-vst-corail-texte, #B5361C); letter-spacing: .14em; text-transform: uppercase; } /* corail-texte : 5,70:1 (le corail #E75736 ne passe qu'en grand texte) */
.vst-pdp h2.vst-titre-section, .vst-pdp .vst-titre-section h2, .vst-pdp .et_pb_text .vst-titre-section {
	margin: 0 0 24px !important; padding: 0 !important; font: 600 13px/1.2 "Work Sans", sans-serif !important; color: var(--vst-encre) !important;
	text-transform: uppercase; letter-spacing: .14em !important; text-align: left !important;
}
/* Rythme vertical de la colonne d'achat (maquette : h1 → prix 38 px, prix → couleurs 40 px). */
.vst-pdp .vst-colonne-achat .et_pb_module { margin-bottom: 20px !important; }
.vst-pdp .vst-colonne-achat .vst-module-surtitre { margin-bottom: 6px !important; }
.vst-pdp .vst-colonne-achat .et_pb_wc_title { margin-bottom: 10px !important; }
.vst-pdp table.variations th.label { display: flex !important; justify-content: space-between; align-items: baseline; gap: 12px; }
.vst-pdp .vst-lib b { font-weight: 600; color: var(--vst-encre); }
.vst-pdp .vst-lib-droite { font-size: 13px; color: var(--vst-texte); }
.vst-pdp .vst-lien-guide { padding: 0; border: 0; background: none; font: 400 13px/1.3 "Open Sans", sans-serif; color: var(--vst-encre); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }

/* Quantité « − 1 + », bouton et wishlist : « qte » sur sa ligne (mobile), puis bouton + cœur. */
.vst-pdp .woocommerce-variation-add-to-cart, .vst-pdp form.cart:not(.variations_form) {
	display: grid !important; grid-template-columns: minmax(0, 1fr) 52px; grid-template-areas: "qte qte" "btn fav"; gap: 12px 8px;
}
.vst-pdp .woocommerce-variation-add-to-cart .quantity, .vst-pdp form.cart .quantity { grid-area: qte; display: flex !important; justify-content: space-between; align-items: center; }
.vst-pdp .woocommerce-variation-add-to-cart .single_add_to_cart_button, .vst-pdp form.cart .single_add_to_cart_button { grid-area: btn; width: 100% !important; }
.vst-pdp .vst-favori { grid-area: fav; }
.vst-pdp .vst-lib-qte { font: 400 13px/1 "Open Sans", sans-serif; color: var(--vst-texte); }
.vst-pdp .vst-pas { display: inline-grid; grid-template-columns: 44px 40px 44px; height: 44px; border: 1px solid var(--vst-ligne); border-radius: var(--vst-rayon); background: var(--vst-blanc); }
.vst-pdp .vst-pas button { border: 0; background: none; padding: 0; font: 300 20px/1 "Open Sans", sans-serif; color: var(--vst-encre); cursor: pointer; }
.vst-pdp .vst-pas button:disabled { color: var(--vst-epuise); cursor: default; }
.vst-pdp .vst-pas input.qty, .woocommerce .vst-pdp .vst-pas input.qty, .vst-pdp .et_pb_wc_add_to_cart .vst-pas input.qty {
	width: 40px !important; min-width: 0 !important; height: 42px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-left: 1px solid var(--vst-ligne) !important; border-right: 1px solid var(--vst-ligne) !important; border-radius: 0 !important;
	background: transparent !important; font: 600 14px/1 "Open Sans", sans-serif !important; text-align: center; -moz-appearance: textfield; appearance: textfield;
}
.vst-pdp .vst-pas input.qty::-webkit-outer-spin-button, .vst-pdp .vst-pas input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vst-pdp .vst-favori .yith-wcwl-add-to-wishlist { margin: 0 !important; height: 52px; }
.vst-pdp .vst-favori a { position: relative; display: block; width: 52px; height: 52px; border: 1px solid var(--vst-ligne); border-radius: var(--vst-rayon); background: var(--vst-blanc); font-size: 0 !important; color: transparent !important; }
.vst-pdp .vst-favori a > * { display: none !important; }
.vst-pdp .vst-favori a::before { content: ""; position: absolute; inset: 15px; background: var(--vst-encre); -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='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10Z'/%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='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.vst-pdp .vst-favori .yith-wcwl-wishlistaddedbrowse a::before, .vst-pdp .vst-favori .yith-wcwl-wishlistexistsbrowse a::before, .vst-pdp .vst-favori a.delete_item::before { background: var(--vst-rouge); }
.vst-pdp .vst-favori .yith-wcwl-add-to-wishlist .feedback, .vst-pdp .vst-favori .yith-wcwl-add-to-wishlist .separator { display: none !important; }
@media (min-width: 981px) {
	.vst-pdp .woocommerce-variation-add-to-cart, .vst-pdp form.cart:not(.variations_form) { grid-template-columns: auto minmax(0, 1fr) 52px; grid-template-areas: "qte btn fav"; }
	.vst-pdp .vst-lib-qte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.vst-pdp .vst-pas { height: 52px; }
	.vst-pdp .vst-pas input.qty { height: 50px !important; }
}

/* Guide des tailles (panneau). */
.vst-guide-tailles { border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: 100%; max-height: 88vh; background: #FFFDFC; color: #575758; border-radius: 12px 12px 0 0; }
.vst-guide-tailles::backdrop { background: rgba(35, 35, 36, .45); }
.vst-guide-int { padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 16px; font: 400 13px/1.5 "Open Sans", sans-serif; }
.vst-guide-tete { display: flex; justify-content: space-between; align-items: center; }
.vst-guide-tete h2 { margin: 0; padding: 0; font: 600 13px/1.2 "Work Sans", sans-serif; text-transform: uppercase; letter-spacing: .14em; color: #232324; }
.vst-guide-fermer { width: 44px; height: 44px; border: 0; background: none; font-size: 26px; color: #232324; cursor: pointer; }
.vst-guide-int p { margin: 0; padding: 0; }
.vst-defile { overflow-x: auto; }
.vst-mesures { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 13px; font-variant-numeric: tabular-nums; }
.vst-mesures th, .vst-mesures td { padding: 10px 8px; border-bottom: 1px solid #E9DED7; text-align: center; white-space: nowrap; }
.vst-mesures th[scope="row"] { text-align: left; font-weight: 400; position: sticky; left: 0; background: #FFFDFC; }
.vst-mesures thead th { font: 600 12px/1 "Work Sans", sans-serif; color: #232324; }
.vst-mesures .vst-actif { background: #FBE6DF; font-weight: 600; color: #232324; }
@media (min-width: 981px) { .vst-guide-tailles { margin: 0 0 0 auto; height: 100vh; max-height: 100vh; width: 560px; border-radius: 0; } .vst-guide-int { padding: 32px 40px; } .vst-mesures { min-width: 0; } }

/* L'essentiel + bloc éditorial (tirés de la description). */
.vst-pdp .vst-essentiel { list-style: none; margin: 0; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.vst-pdp .vst-essentiel li { margin: 0; padding: 12px 0 0 !important; border-top: 1px solid var(--vst-encre); font: 600 14px/1.3 "Work Sans", sans-serif; color: var(--vst-encre); letter-spacing: .02em; }
.vst-pdp .vst-essentiel li::before { display: none; }
.vst-pdp .vst-edito { display: grid; gap: 24px; }
.vst-pdp .vst-edito figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #F4F2F1; }
.vst-pdp .vst-edito figure img { width: 100%; height: 100%; object-fit: cover; }
.vst-pdp .vst-edito-texte { max-width: 60ch; align-self: center; }
.vst-pdp .vst-edito-texte h2 { margin: 0 0 16px !important; padding: 0; font: 500 26px/1.15 "Work Sans", sans-serif !important; color: var(--vst-encre) !important; text-transform: uppercase; letter-spacing: .04em; text-align: left !important; }
.vst-pdp .vst-edito-texte p { margin: 0 0 16px; padding: 0; font: 300 15px/1.75 "Open Sans", sans-serif; color: var(--vst-texte); }
.vst-pdp .et_pb_text:has(> .et_pb_text_inner:empty) { display: none; }
.vst-pdp .vst-infos .et_pb_toggle_content h4 { margin: 0 0 6px; padding: 0; font: 600 12px/1.2 "Work Sans", sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--vst-encre); }
.vst-pdp .vst-infos ul { margin: 0 0 16px; padding: 0 0 0 18px; }
@media (min-width: 981px) {
	.vst-pdp .vst-essentiel { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
	.vst-pdp .vst-edito { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
	.vst-pdp .vst-edito-texte h2 { font-size: 38px !important; }
	/* Informations pratiques : trois colonnes dépliées (Baymard : sections dépliées sur desktop). */
	.vst-pdp .vst-infos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 56px; }
	.vst-pdp .vst-infos .et_pb_toggle { border: 0 !important; border-top: 1px solid var(--vst-encre) !important; }
	.vst-pdp .vst-infos .et_pb_toggle_content { display: block !important; }
	.vst-pdp .vst-infos .et_pb_toggle_title { pointer-events: none; }
	.vst-pdp .vst-infos .et_pb_toggle_title::before { display: none; }
}

/* Complétez la tenue : le pseudo-élément ::before de WooCommerce occupait la 1re case de la grille. */
.vst-pdp-tenue ul.products::before, .vst-pdp-tenue ul.products::after { display: none !important; content: none !important; }
.vst-pdp-tenue .yith-wcwl-add-to-wishlist { display: none !important; }
.vst-pdp-tenue ul.products li.product img { aspect-ratio: 2 / 3; width: 100%; height: auto; object-fit: cover; background: #F4F2F1; }
@media (max-width: 980px) {
	.vst-pdp-tenue ul.products { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px !important; padding: 0 20px !important; scrollbar-width: none; }
	.vst-pdp-tenue ul.products li.product { flex: 0 0 44%; scroll-snap-align: start; }
}

/* Divi 5 : les colonnes flex ajoutent un « gap » entre modules. On le neutralise et on cale les écarts sur la maquette. */
.vst-pdp .et_pb_column { row-gap: 0 !important; gap: 0 !important; }
.vst-pdp .vst-colonne-achat .et_pb_module { margin-bottom: 20px !important; }
.vst-pdp .vst-colonne-achat .vst-module-surtitre { margin-bottom: 6px !important; }
.vst-pdp .vst-colonne-achat .et_pb_wc_title { margin-bottom: 10px !important; }
.vst-pdp .vst-colonne-achat .et_pb_wc_price { margin-bottom: 20px !important; }
.vst-pdp .vst-colonne-achat .et_pb_wc_add_to_cart { margin-bottom: 24px !important; }
.vst-pdp .et_pb_wc_price p.price { margin: 0 !important; padding: 0 !important; }
.vst-pdp .vst-surtitre, .vst-pdp .et_pb_text_inner > p:only-child { padding-bottom: 0 !important; }
.vst-pdp table.variations, .vst-pdp table.variations tbody { gap: 24px; margin-bottom: 20px; }
.vst-pdp table.variations th.label { margin-bottom: 10px !important; line-height: 1.3 !important; }
.vst-pdp .vst-etat-taille { margin-top: 8px; }
.vst-pdp-details .et_pb_row { padding-top: 72px; }
.vst-pdp-details .et_pb_row + .et_pb_row { padding-top: 72px; }
/* Bloc « variation » de WooCommerce : prix et dispo déjà affichés ailleurs ; il ne laissait qu'un vide. */
.vst-pdp .woocommerce-variation.single_variation { display: none !important; }
.vst-pdp table.variations th.label { width: 100% !important; box-sizing: border-box; }
/* Cœur wishlist : le style des boutons Divi (fond rouge, icône) l'emportait. */
.vst-pdp .vst-favori a, .vst-pdp .vst-favori a.button, .vst-pdp .vst-favori a.et_pb_button {
	background: var(--vst-blanc) !important; border: 1px solid var(--vst-ligne) !important; border-radius: var(--vst-rayon) !important;
	padding: 0 !important; margin: 0 !important; width: 52px !important; height: 52px !important; min-width: 0 !important; box-shadow: none !important;
}
.vst-pdp .vst-favori a::after { display: none !important; }
.vst-pdp .vst-favori a:hover { border-color: var(--vst-texte) !important; }
@media (max-width: 980px) { .vst-pdp .woo-variation-gallery-slider .wvg-gallery-image img { height: clamp(280px, 40vh, 400px); } }
.vst-pdp table.variations { margin: 0 0 24px !important; }
.vst-pdp table.variations td.value { padding: 0 !important; margin: 0 !important; }
.vst-pdp table.variations td.value > *:last-child, .vst-pdp .variable-items-wrapper { margin-bottom: 0 !important; }
.vst-pdp table.variations tr { margin: 0 !important; padding: 0 !important; }
.vst-pdp .vst-lib-droite { margin-left: auto; }
.vst-pdp .vst-favori a::before { display: block !important; opacity: 1 !important; visibility: visible !important; }
.vst-pdp-tenue ul.products { scroll-padding-left: 20px; }
/* Vide sous les tailles : marge du tbody (règle précédente) + padding-bottom: 20px de Divi sur td.value. */
.vst-pdp table.variations tbody { margin: 0 !important; }
body .vst-pdp .et_pb_wc_add_to_cart table.variations td, body .vst-pdp .et_pb_wc_add_to_cart table.variations th { padding: 0 !important; }
body .vst-pdp .et_pb_wc_add_to_cart table.variations th.label { padding-bottom: 0 !important; margin-bottom: 10px !important; }

/* Cœur : élément injecté (le ::before restait masqué par une règle tierce). */
.vst-pdp .vst-favori a > .vst-coeur { display: block !important; position: absolute; inset: 15px; background: var(--vst-encre); -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='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10Z'/%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='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.vst-pdp .vst-favori .yith-wcwl-wishlistaddedbrowse a > .vst-coeur, .vst-pdp .vst-favori .yith-wcwl-wishlistexistsbrowse a > .vst-coeur, .vst-pdp .vst-favori a.delete_item > .vst-coeur { background: var(--vst-rouge); }
/* Ligne d'état vide : pas d'espace réservé. */
.vst-pdp .vst-etat-taille:empty { min-height: 0; margin: 0; }
.vst-pdp table.variations { margin-bottom: 20px !important; }
/* Libellé « : Navy Blue » ajouté par Variation Swatches : doublon de notre libellé « Couleur : Navy Blue ». */
.vst-pdp .woo-selected-variation-item-name { display: none !important; }
.vst-pdp table.variations { margin-bottom: 0 !important; }
.vst-pdp table.variations, .vst-pdp table.variations tbody { gap: 20px !important; }
.vst-pdp .single_variation_wrap { margin-top: 20px !important; }

/* Confirmation d'ajout (panier, wishlist) — style de la maquette : bandeau encre, texte blanc. */
#yith-wcwl-popup-message, .woocommerce-notices-wrapper .woocommerce-message:has(.wc-forward) { display: none !important; }
.vst-confirmation {
	position: fixed; z-index: 99999; left: 12px; right: 12px; top: calc(12px + env(safe-area-inset-top, 0px));
	display: grid; gap: 12px; padding: 16px 44px 16px 16px; border-radius: 4px;
	background: var(--gcid-vst-encre, #232324); color: #FFFDFC; box-shadow: 0 12px 32px rgba(35, 35, 36, .28);
	font: 400 13px/1.45 "Open Sans", sans-serif;
	opacity: 0; transform: translateY(-12px); transition: opacity .2s ease, transform .2s ease;
}
.vst-confirmation.vst-visible { opacity: 1; transform: none; }
.vst-confirmation[hidden] { display: none; }
.vst-conf-ligne { display: flex; gap: 12px; align-items: center; min-width: 0; }
.vst-conf-ligne img { width: 48px; height: 72px; object-fit: cover; border-radius: 2px; background: #F4F2F1; flex: none; }
.vst-conf-texte { display: grid; gap: 2px; min-width: 0; }
.vst-conf-texte b { font: 600 13px/1.25 "Work Sans", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #FFFDFC; }
.vst-conf-texte span { color: rgba(255, 253, 252, .78); }
.vst-conf-total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid rgba(255, 253, 252, .18); }
.vst-conf-total b { font-weight: 600; font-variant-numeric: tabular-nums; }
.vst-conf-franco { margin: -4px 0 0; padding: 0; color: rgba(255, 253, 252, .78); font-size: 12px; }
.vst-conf-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.vst-conf-actions a { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 4px;
	font: 600 12px/1 "Work Sans", sans-serif; text-transform: uppercase; letter-spacing: .12em; text-decoration: none; }
.vst-conf-principal { background: var(--gcid-vst-rouge, #E21F20); color: #fff !important; }
.vst-conf-principal:hover { background: var(--gcid-vst-rouge-fonce, #C41A1B); }
.vst-conf-secondaire { border: 1px solid rgba(255, 253, 252, .5); color: #FFFDFC !important; }
.vst-conf-fermer { position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; border: 0; background: none; color: #FFFDFC; font-size: 22px; cursor: pointer; }
.vst-pdp .single_add_to_cart_button.vst-en-cours { opacity: .7 !important; cursor: progress; }
@media (min-width: 981px) { .vst-confirmation { left: auto; right: 24px; top: 96px; width: 380px; } }
@media (prefers-reduced-motion: reduce) { .vst-confirmation { transition: none; } }

/* =============================================================================================
 * Galerie (D-28) — reprise de la maquette : photo suivante visible au bord, miniatures, compteur ; grille sur desktop.
 * =========================================================================================== */
.vst-pdp .vst-galerie { position: relative; min-width: 0; }
.vst-pdp .vst-piste { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px; scroll-padding: 0 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vst-pdp .vst-piste::-webkit-scrollbar { display: none; }
.vst-pdp .vst-photo { margin: 0; flex: 0 0 68%; max-width: 100%; scroll-snap-align: start; aspect-ratio: 2 / 3; background: #F4F2F1; position: relative; overflow: hidden; }
.vst-pdp .vst-photo[hidden] { display: none !important; }
.vst-pdp .vst-photo img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.vst-pdp .vst-manque { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; padding: 24px; text-align: center; background: repeating-linear-gradient(135deg, #F4F2F1 0 10px, #EEEBEA 10px 20px); font: 400 13px/1.45 "Open Sans", sans-serif; color: var(--vst-texte); }
.vst-pdp .vst-manque b { font-weight: 600; color: var(--vst-encre); }
.vst-pdp .vst-manque-pastille { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; border: 1px solid var(--vst-ligne); background: repeating-linear-gradient(135deg, #fff 0 4px, #D9D4D1 4px 5px); }
.vst-pdp .vst-compteur { position: absolute; top: 12px; left: 32px; padding: 6px 9px; border-radius: 999px; background: rgba(255, 253, 252, .92); color: var(--vst-encre); font: 600 11px/1 "Open Sans", sans-serif; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.vst-pdp .vst-compteur[hidden] { display: none; }
.vst-pdp .vst-miniatures { display: flex; gap: 6px; padding: 10px 20px 0; overflow-x: auto; scrollbar-width: none; }
.vst-pdp .vst-mini { flex: 0 0 34px; height: 51px; padding: 0; border: 1px solid transparent; border-radius: 2px; background: #F4F2F1; overflow: hidden; opacity: .7; cursor: pointer; }
.vst-pdp .vst-mini[hidden] { display: none; }
.vst-pdp .vst-mini[aria-current="true"] { border-color: var(--vst-encre); opacity: 1; }
.vst-pdp .vst-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 981px) {
	.vst-pdp .vst-piste { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; overflow: visible; padding: 0; }
	.vst-pdp .vst-photo { flex: none; }
	.vst-pdp .vst-piste > .vst-photo:not([hidden]):first-child,
	.vst-pdp .vst-piste > .vst-photo[hidden] + .vst-photo:not([hidden]) { grid-column: auto; }
	.vst-pdp .vst-galerie .vst-piste > .vst-photo.vst-premiere { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
	.vst-pdp .vst-galerie .vst-piste > .vst-photo.vst-premiere img { object-position: 50% 25%; }
	.vst-pdp .vst-compteur, .vst-pdp .vst-miniatures { display: none !important; }
}

/* Cœur de la wishlist maison (lot 3), au style de la maquette (.favori) : 52 px, filet, cœur rempli en rouge une fois gardé. */
.vst-pdp .vst-favori .vst-coeur-wl { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; margin: 0; border: 1px solid var(--vst-ligne); border-radius: var(--vst-rayon); background: var(--vst-blanc); cursor: pointer; transition: border-color .15s; }
.vst-pdp .vst-favori .vst-coeur-wl:hover { border-color: var(--vst-texte); }
.vst-pdp .vst-favori .vst-coeur-wl:focus-visible { outline: 2px solid var(--vst-encre); outline-offset: 2px; }
.vst-pdp .vst-favori .vst-coeur-wl svg { width: 20px; height: 20px; fill: none; stroke: var(--vst-encre); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vst-pdp .vst-favori .vst-coeur-wl[aria-pressed="true"] svg { fill: var(--vst-rouge); stroke: var(--vst-rouge); }
.vst-pdp .vst-favori .vst-coeur-wl.vst-en-cours { opacity: .6; cursor: progress; }

/* Galerie d'un produit hors habillement (carte cadeau, 19.10) : cadre au ratio réel de la photo (--vst-ratio, posé en PHP). */
.vst-pdp .vst-galerie-libre .vst-photo[style*="--vst-ratio"], .vst-pdp .vst-galerie-libre .vst-piste > .vst-photo.vst-premiere[style*="--vst-ratio"] { aspect-ratio: var(--vst-ratio); }
.vst-pdp .vst-galerie-libre .vst-piste > .vst-photo.vst-premiere img { object-position: 50% 50%; }
/* Une seule photo : toute la largeur sur mobile, ni miniature ni compteur. */
.vst-pdp .vst-galerie[data-nb="1"] .vst-photo { flex-basis: 100%; }
.vst-pdp .vst-galerie[data-nb="1"] .vst-miniatures, .vst-pdp .vst-galerie[data-nb="1"] .vst-compteur { display: none !important; }

/* =============================================================================================
 * Recette du 21.10
 * =========================================================================================== */
/* 1. Galerie : la photo entière, sans déformation (le cadre garde son ratio : pas de saut de mise en page). Seule la grande photo desktop (4/5) reste recadrée. */
.vst-pdp .vst-photo img { object-fit: contain; }
@media (min-width: 981px) { .vst-pdp .vst-galerie .vst-piste > .vst-photo.vst-premiere img { object-fit: cover; } }

/* 2. Outlet : prix et « € » dans le même rouge (le « € » héritait du noir de la règle .price span), prix catalogue barré juste dessous, puis la phrase et un espace avant les couleurs. */
.vst-pdp .et_pb_wc_price .price .vst-prix-outlet .woocommerce-Price-currencySymbol,
.vst-pdp .et_pb_wc_price .price .vst-prix-outlet bdi { color: var(--vst-rouge-fonce) !important; }
.vst-pdp .vst-colonne-achat .et_pb_wc_price:has(+ .vst-prix-ref-fiche) { margin-bottom: 0 !important; }
.vst-pdp .vst-prix-ref-fiche { margin: 6px 0 24px; padding: 0; font: 400 13px/1.45 "Open Sans", sans-serif; color: var(--vst-texte); }
.vst-pdp .vst-prix-ref-fiche .vst-prix-cat { display: block; margin: 0 0 6px; }
.vst-pdp .vst-prix-ref-fiche .vst-prix-cat .lib { margin-right: 6px; }
.vst-pdp .vst-prix-ref-fiche .vst-prix-cat-montant { font-size: 16px; color: var(--vst-texte); text-decoration: none; font-variant-numeric: tabular-nums; }

/* 3. Mobile : plus de vide sous la réassurance (marge du dernier module + 72 px de la rangée suivante). */
@media (max-width: 980px) {
	.vst-pdp-produit .vst-colonne-achat > .et_pb_module:last-child { margin-bottom: 0 !important; }
	.vst-pdp-details .et_pb_row:first-child { padding-top: 32px; }
}

/* 4. Complétez la tenue : cartes de la catégorie (cœur, ajout rapide), grille de 4 sur desktop, défilement horizontal sur mobile. */
:is(.vst-tenue-cartes, #vst-x#vst-y).vst-plp .grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 12px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 980px) {
	:is(.vst-tenue-cartes, #vst-x#vst-y).vst-plp .grille { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; margin: 0 -20px; padding: 0 20px; scrollbar-width: none; }
	:is(.vst-tenue-cartes, #vst-x#vst-y).vst-plp .grille::-webkit-scrollbar { display: none; }
	:is(.vst-tenue-cartes, #vst-x#vst-y).vst-plp .grille > .produit { flex: 0 0 44%; scroll-snap-align: start; }
}
@media (min-width: 981px) { :is(.vst-tenue-cartes, #vst-x#vst-y).vst-plp .grille { gap: 24px; } }

/* 5. Quantité : Divi/WooCommerce posaient « margin-right: 20px !important » (div.product form.cart div.quantity) : colonne trop large, bouton décalé. */
html body .vst-pdp .et_pb_wc_add_to_cart form.cart div.quantity.quantity { margin: 0 !important; }
@media (min-width: 981px) {
	.vst-pdp .woocommerce-variation-add-to-cart, .vst-pdp form.cart:not(.variations_form) { align-items: start; }
	.vst-pdp .woocommerce-variation-add-to-cart .quantity, .vst-pdp form.cart .quantity { align-self: start; height: var(--vst-bouton); }
}

/* 6. Zoom des photos : visionneuse plein écran (dialog natif : Échap, piège du focus), clic ou tap = taille réelle, pincement natif sur mobile. */
.vst-pdp .vst-photo:not(.vst-photo-manque) { cursor: zoom-in; }
.vst-pdp .vst-photo:focus-visible { outline: 2px solid var(--vst-encre); outline-offset: -2px; }
html.vst-zoom-ouvert { overflow: hidden; }
dialog.vst-zoom { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(35, 35, 36, .96); color: #FFFDFC; }
dialog.vst-zoom:not([open]) { display: none; }
.vst-zoom-scene { position: absolute; inset: 0; display: flex; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y pinch-zoom; -webkit-overflow-scrolling: touch; }
.vst-zoom-scene img { flex: none; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
dialog.vst-zoom.vst-zoome .vst-zoom-scene img { max-width: none; max-height: none; cursor: zoom-out; }
.vst-zoom button { position: absolute; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 253, 252, .94); color: #232324; font: 400 24px/1 "Open Sans", sans-serif; cursor: pointer; }
.vst-zoom button:focus-visible { outline: 2px solid #FFFDFC; outline-offset: 2px; }
.vst-zoom .vst-zoom-fermer { top: 12px; right: 12px; }
.vst-zoom .vst-zoom-prec, .vst-zoom .vst-zoom-suiv { top: 50%; margin: 0; transform: translateY(-50%); width: 44px; height: 44px; line-height: 1; padding: 0 0 3px; }
.vst-zoom .vst-zoom-prec { left: 12px; }
.vst-zoom .vst-zoom-suiv { right: 12px; }
.vst-zoom .vst-zoom-prec[hidden], .vst-zoom .vst-zoom-suiv[hidden] { display: none; }
.vst-zoom .vst-zoom-compteur { position: absolute; z-index: 2; left: 50%; top: auto; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); white-space: nowrap; margin: 0; padding: 6px 9px; border-radius: 999px; background: rgba(255, 253, 252, .94); color: #232324; font: 600 11px/1 "Open Sans", sans-serif; font-variant-numeric: tabular-nums; }

/* 7. Taille indisponible : UN SEUL signe sur tout le site, grisée + barrée d'une diagonale de la même teinte, jamais de rouge (mobile et desktop). */
body .vst-pdp .variable-items-wrapper li.variable-item.vst-indispo,
body .vst-pdp .variable-items-wrapper li.variable-item.disabled {
	color: var(--vst-epuise) !important; background-color: transparent;
	background-image: linear-gradient(to top right, transparent calc(50% - .5px), var(--vst-epuise) 50%, transparent calc(50% + .5px));
}
body .vst-pdp .variable-items-wrapper li.variable-item.vst-indispo .variable-item-span { color: inherit !important; text-decoration: none; }
body .vst-pdp .variable-items-wrapper li.variable-item.vst-indispo::after { content: none !important; }

/* Recette du 21.10 : en mobile, pas de grand vide entre la réassurance et le détail produit.
   Rangée « L'essentiel » vide (produit sans liste) masquée ; écart entre rangées et retrait haut ramenés à 32 px. */
@media (max-width: 767px) {
	body.single-product .et-l--body .et_pb_row:has(.et_pb_text_inner):not(:has(.et_pb_text_inner *)) { display: none; }
	body.single-product .et-l--body .et_pb_section_2_tb_body { row-gap: 32px; }
	body.single-product .et-l--body .et_pb_section_2_tb_body > .et_pb_row { padding-top: 32px !important; }
}

/* Recette du 22.10 */
/* 8. Quantité : boîte − / n / + alignée sur le bouton (même haut, même hauteur), enfants à 100 % de la boîte, sans espace dessous. */
html body .vst-pdp .woocommerce-variation-add-to-cart, html body .vst-pdp form.cart:not(.variations_form) { align-items: stretch; row-gap: 12px; }
html body .vst-pdp .woocommerce-variation-add-to-cart .quantity, html body .vst-pdp form.cart .quantity { align-self: stretch; height: var(--vst-bouton); margin: 0 !important; padding: 0; justify-content: flex-start; }
html body .vst-pdp .quantity .vst-lib-qte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html body .vst-pdp .quantity .vst-pas { box-sizing: border-box; height: var(--vst-bouton); align-items: stretch; }
html body .vst-pdp .quantity .vst-pas button { height: 100%; align-self: stretch; }
html body .vst-pdp .et_pb_wc_add_to_cart .quantity .vst-pas input.qty { height: 100% !important; box-sizing: border-box; align-self: stretch; }

/* 9. Taille indisponible : la croix rouge de Variation Swatches (.variable-item-contents::before, --wvs-cross) est supprimée ; reste la diagonale grise. */
body .vst-pdp .variable-items-wrapper .variable-item:is(.disabled, .no-stock, .vst-indispo) .variable-item-contents::before,
body .vst-pdp .variable-items-wrapper .variable-item:is(.disabled, .no-stock, .vst-indispo) .variable-item-contents::after,
body .vst-pdp .variable-items-wrapper .variable-item:is(.disabled, .no-stock, .vst-indispo)::before { content: none !important; display: none !important; background: none !important; background-image: none !important; }
body .vst-pdp .variable-items-wrapper .variable-item:is(.disabled, .no-stock) { color: var(--vst-epuise) !important; opacity: 1; }
