/*
 * lavaspi-core, module PRODUIT : habillage de la boutique et du tunnel (1.3.0).
 *
 * Chargée par includes/produit/tunnel.php sur le panier, la commande (paiement et remerciement
 * compris), Mon compte et la boutique, seulement si la case « tunnel_style » est cochée
 * (Réglages > Lavaspi, section Fiche produit). Portée : body.lvs-tunnel, classe posée par le
 * même fichier, avec lvs-tunnel--panier | --commande | --compte | --boutique.
 *
 * Une seule feuille pour les quatre pages (consigne de Rémy : centraliser le style) : aucune
 * structure n'est changée, seulement la police, les couleurs, les rayons, les champs, les
 * boutons, les tableaux et les avis. Les sélecteurs visent les classes de WooCommerce (tous
 * thèmes) ; ceux d'OceanWP (.page-header, .oceanwp-loginform-wrap, .owp-account-links) restent
 * inertes sous un autre thème.
 *
 * Spécificité : body.lvs-tunnel + classes WooCommerce, pour passer devant woocommerce.min.css
 * d'OceanWP et les règles du Personnaliseur (body .button, form input[type="text"]...) sans
 * !important. Seule exception : la remise à zéro des capitales et de l'interlettrage, qu'OceanWP
 * pose sur une vingtaine de sélecteurs de spécificités variées (en-têtes de tableau, avis,
 * boutons, titres de colonnes, récapitulatif de commande).
 *
 * Jetons du socle (--lvs-*) avec valeurs de repli : la feuille fonctionne aussi seule.
 */

body.lvs-tunnel {
	--t-vert-fonce: var(--lvs-vert-fonce, #2D7C55);
	--t-vert-nuit: var(--lvs-vert-nuit, #276040);
	--t-menthe: var(--lvs-menthe, #E3F1EA);
	--t-encre: var(--lvs-encre, #000);
	--t-titre: var(--lvs-titre, #111);
	--t-texte: var(--lvs-texte, #333);
	--t-texte-2: var(--lvs-texte-2, #6B6B6B);
	--t-fond: var(--lvs-fond, #fff);
	--t-fond-2: var(--lvs-fond-2, #F5F5F5);
	--t-bordure: var(--lvs-bordure, #EAEAEA);
	--t-bordure-champ: var(--lvs-bordure-champ, #6B6B6B);
	--t-police: var(--lvs-police, 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif);
	--t-rayon: var(--lvs-rayon, 16px);
	--t-rayon-champ: var(--lvs-rayon-champ, 10px);
	--t-pilule: var(--lvs-rayon-pilule, 999px);
	--t-ombre: var(--lvs-ombre, 0 8px 22px rgba(0, 0, 0, .10));
	--t-erreur: #B42318;          /* 6,6:1 sur blanc */
	--t-erreur-fond: #FDECEC;
	accent-color: var(--t-vert-fonce); /* cases à cocher et boutons radio natifs */
}

/* ---------- 1. Capitales et interlettrage : aucun texte en capitales forcées ---------- */
body.lvs-tunnel .woocommerce,
body.lvs-tunnel .woocommerce *,
body.lvs-tunnel .page-header *,
body.lvs-tunnel .woocommerce-MyAccount-navigation * {
	text-transform: none !important;
	letter-spacing: normal !important;
}

/* ---------- 2. Barre de titre (OceanWP) : H1 de la page et fil d'Ariane ---------- */
body.lvs-tunnel .page-header {
	background: var(--t-menthe);
	border: 0;
	padding: 40px 0 32px;
}
body.lvs-tunnel .page-header .page-header-title {
	margin: 0;
	font-family: var(--t-police);
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.15;
	font-weight: 700;
	color: var(--t-titre);
}
body.lvs-tunnel .page-header .page-subheading:empty { display: none; }
body.lvs-tunnel .page-header .site-breadcrumbs {
	margin-top: 10px;
	font-family: var(--t-police);
	font-size: 14px;
	color: var(--t-texte-2);
}
body.lvs-tunnel .page-header .site-breadcrumbs a { color: var(--t-vert-fonce); }

/* ---------- 3. Texte, titres et liens du contenu WooCommerce ---------- */
body.lvs-tunnel .woocommerce {
	font-family: var(--t-police);
	font-size: 16px;
	line-height: 1.55;
	color: var(--t-texte);
}
:where(body.lvs-tunnel .woocommerce) :is(h2, h3) {
	font-family: var(--t-police);
	font-weight: 700;
	line-height: 1.25;
	color: var(--t-titre);
}
body.lvs-tunnel .woocommerce a:not([class]):not(.lvs-produits a),
body.lvs-tunnel .woocommerce :is(.woocommerce-privacy-policy-link, .woocommerce-terms-and-conditions-link, .shipping-calculator-button, .showcoupon, .showlogin) {
	color: var(--t-vert-fonce);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.lvs-tunnel .woocommerce a:not([class]):not(.lvs-produits a):hover,
body.lvs-tunnel .woocommerce :is(.woocommerce-privacy-policy-link, .woocommerce-terms-and-conditions-link, .shipping-calculator-button, .showcoupon, .showlogin):hover {
	color: var(--t-vert-nuit);
}
body.lvs-tunnel .woocommerce .cart_totals a.shipping-calculator-button {
	display: inline-block;
	margin-top: 8px;
	padding: 0;
	border: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}
body.lvs-tunnel .woocommerce :is(.woocommerce-Price-amount, .amount) { font-variant-numeric: tabular-nums; }
body.lvs-tunnel .woocommerce del { color: var(--t-texte-2); }
body.lvs-tunnel .woocommerce del .amount { color: var(--t-texte-2); font-weight: 400; }
body.lvs-tunnel .woocommerce ins { text-decoration: none; background: none; }
body.lvs-tunnel .woocommerce :is(.required, abbr.required) { color: var(--t-erreur); text-decoration: none; border: 0; }

/* ---------- 4. Avis WooCommerce (info, succès, erreur) ---------- */
body.lvs-tunnel .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
	display: block;
	width: auto;
	margin: 0 0 24px;
	padding: 14px 18px;
	border: 0;
	border-radius: 12px;
	background: var(--t-fond-2);
	color: var(--t-texte);
	font-family: var(--t-police);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
	list-style: none;
}
/* Icône du thème ou de WooCommerce retirée : placée en absolu, elle chevaucherait le texte avec ces marges. */
body.lvs-tunnel .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::before { display: none; }
body.lvs-tunnel .woocommerce .woocommerce-message { background: var(--t-menthe); color: var(--t-titre); }
body.lvs-tunnel .woocommerce .woocommerce-error { background: var(--t-erreur-fond); color: var(--t-erreur); }
body.lvs-tunnel .woocommerce .woocommerce-error li { margin: 0; }
body.lvs-tunnel .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) a:not(.button) {
	float: none;
	display: inline;
	min-height: 0;
	padding: 0;
	background: none;
	color: var(--t-vert-fonce);
	font-size: inherit;
	font-weight: 600;
	line-height: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.lvs-tunnel .woocommerce .woocommerce-error a:not(.button) { color: inherit; }

/* ---------- 5. Boutons : pilule verte, comme .lvs-btn--principal (le « Se connecter » à angles droits) ---------- */
body.lvs-tunnel .woocommerce :is(a.button, button.button, input.button, button[type="submit"], input[type="submit"]) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 48px;
	padding: 12px 26px;
	border: 2px solid var(--t-vert-fonce);
	border-radius: var(--t-pilule);
	background: var(--t-vert-fonce);
	color: #fff;
	font-family: var(--t-police);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
body.lvs-tunnel .woocommerce :is(a.button, button.button, input.button, button[type="submit"], input[type="submit"]):is(:hover, :focus) {
	background: var(--t-vert-nuit);
	border-color: var(--t-vert-nuit);
	color: #fff;
}
body.lvs-tunnel .woocommerce :is(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--t-encre);
	outline-offset: 2px;
}
body.lvs-tunnel .woocommerce :is(button.button, input.button):is(:disabled, [disabled], .disabled) {
	opacity: .45;
	cursor: not-allowed;
}

/* Boutons secondaires : contour encre (mettre à jour le panier, appliquer un code, retour à la
   boutique, boutons des tableaux de Mon compte). */
body.lvs-tunnel .woocommerce :is(button[name="update_cart"], button[name="apply_coupon"], a.wc-backward, .woocommerce-orders-table .woocommerce-button, .woocommerce-MyAccount-downloads .woocommerce-button, a.button.wc-forward:not(.checkout-button)) {
	background: transparent;
	border-color: var(--t-titre);
	color: var(--t-titre);
}
body.lvs-tunnel .woocommerce :is(button[name="update_cart"], button[name="apply_coupon"], a.wc-backward, .woocommerce-orders-table .woocommerce-button, .woocommerce-MyAccount-downloads .woocommerce-button, a.button.wc-forward:not(.checkout-button)):is(:hover, :focus):not(:disabled) {
	background: var(--t-titre);
	border-color: var(--t-titre);
	color: #fff;
}
body.lvs-tunnel .woocommerce :is(.woocommerce-orders-table, .woocommerce-MyAccount-downloads) .woocommerce-button {
	min-height: 40px;
	padding: 8px 16px;
	font-size: 14px;
}
/* Bouton d'un avis (« Voir le panier ») : à droite sur ordinateur, sous le texte sur mobile. */
body.lvs-tunnel .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) a.button {
	float: right;
	min-height: 40px;
	margin: -4px 0 0 16px;
	padding: 8px 18px;
	font-size: 14px;
}

/* Appels principaux : « Valider la commande » (panier) et « Commander » (commande). */
body.lvs-tunnel .woocommerce .wc-proceed-to-checkout a.checkout-button,
body.lvs-tunnel .woocommerce .woocommerce-checkout-payment button#place_order {
	display: flex;
	width: 100%;
	min-height: 56px;
	margin: 0;
	font-size: 18px;
}

/* ---------- 6. Champs ---------- */
body.lvs-tunnel .woocommerce :is(input.input-text:not(.qty), input[type="text"]:not(.qty), input[type="email"], input[type="tel"], input[type="password"], input[type="search"], select, textarea) {
	box-sizing: border-box;
	min-height: 48px;
	padding: 11px 14px;
	border: 1.5px solid var(--t-bordure-champ);
	border-radius: var(--t-rayon-champ);
	background: var(--t-fond);
	color: var(--t-titre);
	font-family: var(--t-police);
	font-size: 16px; /* 16 px : pas de zoom automatique sur iPhone */
	line-height: 1.3;
	box-shadow: none;
}
body.lvs-tunnel .woocommerce textarea { min-height: 96px; }
body.lvs-tunnel .woocommerce :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], select, textarea):focus {
	border-color: var(--t-vert-fonce);
	outline: 2px solid var(--t-vert-fonce);
	outline-offset: 1px;
}
body.lvs-tunnel .woocommerce form .form-row label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) {
	display: block;
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--t-titre);
}
body.lvs-tunnel .woocommerce :is(label.checkbox, .woocommerce-form__label-for-checkbox) {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 400;
	color: var(--t-texte);
}
/* Cases à cocher carrées (OceanWP les arrondit à 10 px : elles passaient pour des boutons radio). */
body.lvs-tunnel .woocommerce input[type="checkbox"] {
	width: 20px;
	min-width: 20px;
	height: 20px;
	margin: 0 10px 0 0;
	border: 1.5px solid var(--t-bordure-champ);
	border-radius: 5px;
	background-color: var(--t-fond);
	vertical-align: middle;
}
body.lvs-tunnel .woocommerce input[type="checkbox"]:checked { border-color: var(--t-vert-fonce); background-color: var(--t-vert-fonce); }
body.lvs-tunnel .woocommerce input[type="checkbox"]:checked::before { color: #fff; }
body.lvs-tunnel .woocommerce form .form-row.woocommerce-invalid :is(input.input-text, select, .select2-selection) { border-color: var(--t-erreur); }
body.lvs-tunnel .woocommerce form .form-row.woocommerce-validated :is(input.input-text, select) { border-color: var(--t-bordure-champ); }

/* Liste des pays et départements (select2 de WooCommerce). */
body.lvs-tunnel .woocommerce .select2-container .select2-selection--single {
	box-sizing: border-box;
	height: 48px;
	border: 1.5px solid var(--t-bordure-champ);
	border-radius: var(--t-rayon-champ);
	background: var(--t-fond);
}
body.lvs-tunnel .woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 36px 0 14px;
	line-height: 45px;
	font-family: var(--t-police);
	font-size: 16px;
	color: var(--t-titre);
}
body.lvs-tunnel .woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 45px; right: 8px; }
body.lvs-tunnel .woocommerce .select2-container--focus .select2-selection--single,
body.lvs-tunnel .woocommerce .select2-container--open .select2-selection--single { border-color: var(--t-vert-fonce); }
body.lvs-tunnel .select2-dropdown { border-color: var(--t-bordure-champ); font-family: var(--t-police); }
body.lvs-tunnel .select2-results__option--highlighted[aria-selected],
body.lvs-tunnel .select2-results__option--highlighted[data-selected] { background: var(--t-vert-fonce); color: #fff; }

/* ---------- 7. Tableaux (panier, récapitulatif, commandes) ---------- */
body.lvs-tunnel .woocommerce table.shop_table { border-color: var(--t-bordure); }
body.lvs-tunnel .woocommerce table.shop_table :is(th, td) {
	border-color: var(--t-bordure);
	font-family: var(--t-police);
	font-size: 15.5px;
	color: var(--t-texte);
}
body.lvs-tunnel .woocommerce table.shop_table thead th {
	font-size: 14px;
	font-weight: 600;
	color: var(--t-texte-2);
}
body.lvs-tunnel .woocommerce table.shop_table :is(tfoot th, .cart-subtotal th, .order-total th, .shipping th, .woocommerce-shipping-totals th) {
	font-weight: 600;
	color: var(--t-titre);
}
body.lvs-tunnel .woocommerce table.shop_table .order-total :is(th, td, .amount) {
	font-size: 18px;
	font-weight: 700;
	color: var(--t-titre);
}
body.lvs-tunnel .woocommerce table.shop_table td.product-name,
body.lvs-tunnel .woocommerce table.shop_table td.product-name a {
	font-weight: 600;
	color: var(--t-titre);
	text-decoration: none;
}
body.lvs-tunnel .woocommerce table.shop_table td.product-name a:hover { color: var(--t-vert-fonce); text-decoration: underline; }
body.lvs-tunnel .woocommerce table.shop_table td.product-name :is(dl.variation, .wc-item-meta) { font-weight: 400; font-size: 14px; color: var(--t-texte-2); }
/* Montants en encre (le vert de marque du Personnaliseur n'atteint pas le contraste AA), prix barrés en gris. */
body.lvs-tunnel .woocommerce table.shop_table .amount:not(del .amount) { color: var(--t-titre); }
body.lvs-tunnel .woocommerce table.shop_table :is(td.product-price, td.product-subtotal, td.product-total) .amount:not(del .amount) { font-weight: 600; }
body.lvs-tunnel .woocommerce table.shop_table td.product-thumbnail img {
	border-radius: var(--t-rayon-champ);
	background: var(--t-fond-2);
}
body.lvs-tunnel .woocommerce .woocommerce-shipping-destination,
body.lvs-tunnel .woocommerce .woocommerce-shipping-contents {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--t-texte-2);
}
/* Méthode de livraison : alignée à droite comme les montants, sans les marges d'OceanWP (le
   sélecteur avec #order_review passe devant celui d'OceanWP, qui en porte deux). */
body.lvs-tunnel .woocommerce table.shop_table ul#shipping_method,
body.lvs-tunnel .woocommerce #order_review table.shop_table ul#shipping_method {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
}
body.lvs-tunnel .woocommerce table.shop_table ul#shipping_method li,
body.lvs-tunnel .woocommerce #order_review table.shop_table ul#shipping_method li { margin: 0; padding: 0 0 6px; }
body.lvs-tunnel .woocommerce table.shop_table ul#shipping_method li label,
body.lvs-tunnel .woocommerce #order_review table.shop_table ul#shipping_method li label {
	display: inline;
	padding-left: 6px;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--t-titre);
}

/* ---------- 8. Panier ---------- */
body.lvs-tunnel .woocommerce .cart-collaterals .cart_totals {
	box-sizing: border-box;
	padding: 24px;
	border: 1px solid var(--t-bordure);
	border-radius: var(--t-rayon);
	background: var(--t-fond);
	box-shadow: var(--t-ombre);
}
body.lvs-tunnel .woocommerce .cart-collaterals .cart_totals h2 {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 22px;
	font-weight: 700;
	text-align: left;
	color: var(--t-titre);
}
body.lvs-tunnel .woocommerce .cart-collaterals .cart_totals table.shop_table { border: 0; background: none; }
body.lvs-tunnel .woocommerce .cart-collaterals .cart_totals table.shop_table :is(th, td) { background: none; padding-left: 0; padding-right: 0; }
body.lvs-tunnel .woocommerce .cart-collaterals .cart_totals table.shop_table td { text-align: right; }
body.lvs-tunnel .woocommerce .wc-proceed-to-checkout { padding: 8px 0 0; }

/* Suggestion « Ajouter 1 flacon » (lvs-produit.css) : le texte vert d'OceanWP sur fond vert la rendait muette. */
body.lvs-tunnel .woocommerce .lvs-panier-coup__bouton,
body.lvs-tunnel .woocommerce .lvs-panier-coup__bouton:is(:hover, :focus) { color: #fff; text-decoration: none; }

/* Panier vide : message centré, cartes des produits, retour à la boutique en bouton secondaire. */
body.lvs-tunnel--panier .woocommerce .wc-empty-cart-message .cart-empty {
	padding: 22px 18px;
	font-size: 18px;
	font-weight: 500;
	text-align: center;
	color: var(--t-titre);
}
.lvs-tunnel-vide { margin: 8px 0 32px; }
body.lvs-tunnel .woocommerce .lvs-tunnel-vide__titre {
	margin: 0 0 6px;
	font-size: clamp(24px, 2.6vw, 30px);
	text-align: center;
}
.lvs-tunnel-vide__texte { margin: 0 0 24px; text-align: center; color: var(--t-texte-2, #6B6B6B); }
body.lvs-tunnel--panier .woocommerce .return-to-shop { margin: 0; text-align: center; }

/* Réassurance sous le bouton de commande (panier et commande). */
.lvs-tunnel-reassurance { margin: 18px 0 0; }
.lvs-tunnel-reassurance .lvs-reassurance--liste { padding-top: 16px; }
.lvs-tunnel-reassurance .lvs-reassurance__item { text-align: left; }

/* ---------- 9. Commande ---------- */
body.lvs-tunnel .woocommerce-checkout #customer_details h3,
body.lvs-tunnel .woocommerce-checkout h3#order_review_heading,
body.lvs-tunnel .woocommerce-checkout .woocommerce-additional-fields h3 {
	margin: 0 0 18px;
	padding: 0 0 10px;
	border-bottom: 1px solid var(--t-bordure);
	font-family: var(--t-police);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--t-titre);
}
body.lvs-tunnel .woocommerce-checkout #customer_details h3#ship-to-different-address { font-size: 17px; font-weight: 600; }
body.lvs-tunnel .woocommerce-checkout .woocommerce-checkout-review-order-table :is(th, td) { background: none; }
body.lvs-tunnel .woocommerce-checkout #payment {
	border: 0;
	border-radius: var(--t-rayon);
	background: var(--t-fond-2);
}
body.lvs-tunnel .woocommerce-checkout #payment ul.payment_methods { padding: 16px 20px; border-bottom: 1px solid var(--t-bordure); }
body.lvs-tunnel .woocommerce-checkout #payment ul.payment_methods li { font-size: 16px; line-height: 1.5; }
body.lvs-tunnel .woocommerce-checkout #payment ul.payment_methods li > label { font-weight: 600; color: var(--t-titre); }
body.lvs-tunnel .woocommerce-checkout #payment div.payment_box {
	border-radius: var(--t-rayon-champ);
	background: var(--t-fond);
	color: var(--t-texte);
	font-size: 15px;
}
body.lvs-tunnel .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--t-fond); }
body.lvs-tunnel .woocommerce-checkout #payment div.form-row.place-order { padding: 20px; margin: 0; }
body.lvs-tunnel .woocommerce-checkout :is(.woocommerce-terms-and-conditions-wrapper, .woocommerce-privacy-policy-text) {
	font-size: 14px;
	line-height: 1.5;
	color: var(--t-texte-2);
}
body.lvs-tunnel .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox { font-size: 15px; color: var(--t-titre); }

/* Remerciement (commande reçue). */
body.lvs-tunnel .woocommerce .woocommerce-notice--success.woocommerce-thankyou-order-received {
	margin: 0 0 24px;
	padding: 18px 20px;
	border-radius: 12px;
	background: var(--t-menthe);
	font-size: 18px;
	font-weight: 600;
	color: var(--t-vert-nuit);
}
body.lvs-tunnel .woocommerce ul.woocommerce-order-overview { margin: 0 0 32px; padding: 0; }
body.lvs-tunnel .woocommerce ul.woocommerce-order-overview li {
	font-size: 14px;
	color: var(--t-texte-2);
	border-color: var(--t-bordure);
}
body.lvs-tunnel .woocommerce ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	font-size: 16px;
	color: var(--t-titre);
}
body.lvs-tunnel .woocommerce :is(.woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-customer-details h2) { font-size: 22px; }
body.lvs-tunnel .woocommerce .woocommerce-customer-details address {
	padding: 16px 18px;
	border: 1px solid var(--t-bordure);
	border-radius: var(--t-rayon-champ);
	font-style: normal;
	line-height: 1.6;
}

/* ---------- 10. Mon compte ---------- */
/* Connexion : l'onglet seul « Se connecter » d'OceanWP (inscription fermée) cède la place au
   titre H2 de WooCommerce, qu'OceanWP masquait. */
body.lvs-tunnel .woocommerce .owp-account-links.registration-disabled { display: none; }
body.lvs-tunnel--compte:not(.logged-in) .woocommerce :is(.oceanwp-loginform-wrap > h2, #customer_login h2) {
	display: block;
	max-width: 480px;
	margin: 0 auto 16px;
	font-size: 26px;
	text-align: center;
}
body.lvs-tunnel .woocommerce :is(form.woocommerce-form-login, form.woocommerce-form-register, form.woocommerce-ResetPassword, form.lost_reset_password) {
	box-sizing: border-box;
	width: 100%; /* OceanWP impose 560 px */
	max-width: 480px;
	margin: 0 auto 24px;
	padding: 28px;
	border: 1px solid var(--t-bordure);
	border-radius: var(--t-rayon);
	background: var(--t-fond);
	box-shadow: var(--t-ombre);
	text-align: left;
}
body.lvs-tunnel .woocommerce form.woocommerce-form-login .form-row { float: none; width: 100%; }
body.lvs-tunnel .woocommerce form.woocommerce-form-login .woocommerce-form-login__rememberme { margin: 0 0 14px; }
body.lvs-tunnel .woocommerce :is(form.woocommerce-form-login, form.woocommerce-form-register, form.woocommerce-ResetPassword, form.lost_reset_password) :is(button[type="submit"], input[type="submit"]) {
	width: 100%;
	margin: 0;
}
/* OceanWP met ce bouton à 70 % avec un sélecteur très spécifique : même largeur que les champs. */
body.lvs-tunnel .woocommerce form.woocommerce-form-login .form-row button.woocommerce-form-login__submit.button {
	display: flex;
	width: 100%;
	margin: 0;
	padding-top: 12px;
}
body.lvs-tunnel .woocommerce form.woocommerce-form-login .lost_password { margin: 16px 0 0; text-align: center; font-size: 15px; }

/* Espace client connecté : menu à gauche, contenu à droite (mise en page du thème conservée). */
body.lvs-tunnel .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--t-bordure);
	border-radius: var(--t-rayon);
	overflow: hidden;
	background: var(--t-fond);
}
body.lvs-tunnel .woocommerce-MyAccount-navigation ul li { margin: 0; border: 0; border-bottom: 1px solid var(--t-bordure); }
body.lvs-tunnel .woocommerce-MyAccount-navigation ul li:last-child { border-bottom: 0; }
body.lvs-tunnel .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 12px 16px;
	font-family: var(--t-police);
	font-size: 15.5px;
	font-weight: 500;
	color: var(--t-titre);
	text-decoration: none;
}
body.lvs-tunnel .woocommerce-MyAccount-navigation ul li a:hover { background: var(--t-fond-2); color: var(--t-vert-fonce); }
body.lvs-tunnel .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--t-menthe); color: var(--t-vert-nuit); font-weight: 600; }
body.lvs-tunnel .woocommerce .woocommerce-MyAccount-content { font-size: 16px; }
body.lvs-tunnel .woocommerce .woocommerce-Addresses .woocommerce-Address {
	box-sizing: border-box;
	padding: 20px;
	border: 1px solid var(--t-bordure);
	border-radius: var(--t-rayon);
}
body.lvs-tunnel .woocommerce .woocommerce-Address address { font-style: normal; line-height: 1.6; }
body.lvs-tunnel .woocommerce .woocommerce-Address-title :is(h2, h3) { font-size: 20px; }

/* ---------- 11. Boutique : cartes des listes WooCommerce (style « default » d'OceanWP) ---------- */
/* Image, titre, prix et bouton toujours visibles, cartes de même hauteur, bouton calé en bas. */
body.lvs-tunnel--boutique .woocommerce ul.products { display: flex; flex-wrap: wrap; row-gap: 24px; }
body.lvs-tunnel--boutique .woocommerce ul.products::before,
body.lvs-tunnel--boutique .woocommerce ul.products::after { display: none; }
body.lvs-tunnel--boutique .woocommerce ul.products li.product { display: flex; float: none; margin-bottom: 0; }
body.lvs-tunnel--boutique .woocommerce ul.products li.product .product-inner {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 0 0 20px;
	border: 1px solid var(--t-bordure);
	border-radius: 20px;
	background: var(--t-fond);
	overflow: hidden;
	text-align: left;
}
body.lvs-tunnel--boutique .woocommerce ul.products li.product .woo-entry-inner { display: flex; flex: 1; flex-direction: column; margin: 0; padding: 0; list-style: none; }
body.lvs-tunnel--boutique .woocommerce ul.products li.product .woo-entry-inner > li { padding: 0 20px; }
body.lvs-tunnel--boutique .woocommerce ul.products li.product .woo-entry-inner > li.image-wrap { padding: 0; margin-bottom: 16px; background: var(--t-fond-2); }
body.lvs-tunnel--boutique .woocommerce ul.products li.product .woo-entry-inner > li.btn-wrap { margin-top: auto; padding-top: 12px; }
body.lvs-tunnel--boutique .woocommerce ul.products li.product :is(.woocommerce-loop-product__title, h2, h3) { font-size: 20px; line-height: 1.25; }
body.lvs-tunnel--boutique .woocommerce ul.products li.product :is(.woocommerce-loop-product__title, h2, h3) a { color: var(--t-titre); }
body.lvs-tunnel--boutique .woocommerce ul.products li.product .price { color: var(--t-titre); font-size: 18px; font-weight: 600; }
body.lvs-tunnel--boutique .woocommerce ul.products li.product :is(.button, .add_to_cart_button) { display: flex; width: 100%; opacity: 1; visibility: visible; transform: none; }

/* ---------- 12. Mobile ---------- */
@media (max-width: 767px) {
	body.lvs-tunnel .page-header { padding: 24px 0 20px; }
	body.lvs-tunnel .woocommerce .cart-collaterals .cart_totals { padding: 18px 16px; box-shadow: none; }
	body.lvs-tunnel .woocommerce :is(form.woocommerce-form-login, form.woocommerce-form-register, form.woocommerce-ResetPassword, form.lost_reset_password) { padding: 20px 16px; box-shadow: none; }
	body.lvs-tunnel .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) a.button { float: none; display: flex; width: 100%; margin: 12px 0 0; }
	body.lvs-tunnel .woocommerce-checkout #payment ul.payment_methods { padding: 14px 16px; }
	body.lvs-tunnel .woocommerce-checkout #payment div.form-row.place-order { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	body.lvs-tunnel .woocommerce :is(a.button, button.button, input.button, button[type="submit"], input[type="submit"]) { transition: none; }
}
