/*
Theme Name:   Direct Livres (Astra)
Description:  Thème enfant Astra pour direct-livres.fr — refonte 2026 (remplace Novakom/Divi).
Template:     astra
Version:      1.12.4
Text Domain:  direct-livres-astra
*/

/* ===== En-tête / pied de page (maquette accueil v4) ===== */
/* En-tête fixe au défilement (Elementor gratuit na pas loption « sticky ») */
/* .ehf-header : HFE impose « position: relative » avec un sélecteur plus fort (sinon décalage de 32 px quand on est connecté) */
#masthead, .ehf-header #masthead { position: sticky; top: 0; z-index: 99; }
.admin-bar #masthead, .admin-bar.ehf-header #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar #masthead, .admin-bar.ehf-header #masthead { top: 0; } }

/* Bloc Compte + Panier : largeur selon le contenu (sinon 100 % et poussé hors écran) */
.dl-hact.e-con { --width: auto; width: auto !important; max-width: none; }
.dl-hact .hfe-menu-cart__toggle .elementor-button { padding: 4px 6px !important; }
.dl-hact .hfe-menu-cart__toggle .elementor-button-icon { font-size: 22px; }
.dl-hact .hfe-menu-cart__toggle .elementor-button-text { font-size: 14px; font-weight: 600; color: #2b2b2b; }

/* Ligne basse du pied de page */
.dl-fb { margin: 0; }
.dl-fb a { color: #bbb; text-decoration: none; }
.dl-fb a:hover, .dl-fb .cn-revoke-cookie:hover { color: #fff; }
.dl-fb .cn-revoke-cookie { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important;
	color: #bbb !important; font: inherit !important; text-decoration: none; cursor: pointer; box-shadow: none !important; }

/* Champ de recherche façon maquette (Ajax Search Lite, thème « simple-red » : cadre orangé, texte blanc).
   Le plugin cible #ajaxsearchlite1 avec !important : il faut un identifiant dans nos sélecteurs. */
.dl-recherche.elementor-widget { max-width: 560px !important; }
.dl-recherche div.asl_w, .dl-recherche #ajaxsearchlite1 { background: none !important; border: 0 !important; border-radius: 8px !important; box-shadow: none !important; }
.dl-recherche #ajaxsearchlite1 .probox { box-sizing: border-box !important; height: 48px !important; border: 2px solid #e3dfd8 !important; border-radius: 8px !important; box-shadow: none !important; background: #fff !important; transition: border-color .2s; }
.dl-recherche #ajaxsearchlite1 .probox:focus-within { border-color: #a10055 !important; }
.dl-recherche #ajaxsearchlite1 .probox .proinput { padding: 0 6px 0 14px !important; color: #2b2b2b !important; }
.dl-recherche #ajaxsearchlite1 .probox .proinput input.orig { height: 44px !important; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; font-size: 15px !important; color: #2b2b2b !important; }
.dl-recherche #ajaxsearchlite1 .probox .proinput input.orig::placeholder { color: #999 !important; opacity: 1 !important; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; }
.dl-recherche #ajaxsearchlite1 .probox .proinput, .dl-recherche #ajaxsearchlite1 .probox .proinput form { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; }
.dl-recherche #ajaxsearchlite1 .probox .proinput input.autocomplete { height: 44px !important; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; font-size: 15px !important; color: #bbb !important; }
.dl-recherche #ajaxsearchlite1 .probox .promagnifier { width: 48px !important; height: 44px !important; background: #a10055 !important; background-image: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.dl-recherche #ajaxsearchlite1 .probox .promagnifier:hover { background: #7a0040 !important; }
.dl-recherche #ajaxsearchlite1 .probox .promagnifier .innericon svg { fill: #fff !important; }

/* ===== Accueil (maquette v4) ===== */
.dl-reass-item p { margin: 0; font-size: 13px; line-height: 1.5; }
.dl-reass-item strong { display: block; color: #2b2b2b; }
.dl-reass-item span { color: #666; font-size: 12px; }

/* Tuiles « Parcourir nos rayons » (conteneurs Elementor avec la classe dl-tile) */
.dl-tiles.e-con { --gap: 16px; gap: 16px; align-items: stretch; }
.dl-tiles > .dl-tile.e-con { --width: auto; flex: 1 1 0 !important; min-width: 0; }
.dl-tile .elementor-widget-text-editor { color: #2b2b2b; }
a.dl-tile:focus-visible { outline: 2px solid #a10055; outline-offset: 3px; }
a.dl-tile { background: #fff; border: 1px solid #e3dfd8; border-top: 4px solid #a10055; border-radius: 10px; transition: .2s; color: #2b2b2b; text-decoration: none; height: 100%; }
a.dl-tile:hover, a.dl-tile:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.1); color: #2b2b2b; }
.dl-tile h3 { font-family: Georgia, "Times New Roman", serif; font-size: 17px; margin: 0 0 10px; color: #2b2b2b; }
.dl-tile ul { margin: 0; padding: 0; list-style: none; }
.dl-tile li { font-size: 13px; color: #555; padding: 2px 0; }
.dl-tile .more { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; color: #a10055; }
.dl-tile p:last-child { margin: 0; }

/* En-tête des blocs de livres (.shead) : titre + sous-titre à gauche, lien à droite */
.dl-shead.e-con { --flex-direction: row; flex-direction: row !important; flex-wrap: nowrap !important; align-items: flex-end; justify-content: space-between; }
.dl-shead > .e-con { --gap: 4px; gap: 4px; }
.dl-shead p:last-child { margin-bottom: 0; }
.dl-shead > .e-con { --width: auto; width: auto !important; flex: 1 1 auto !important; min-width: 0; }
@media (max-width: 560px) { .dl-shead.e-con { flex-wrap: wrap !important; } }
.dl-shead > .elementor-widget-button { flex: 0 0 auto; }

/* Cartes de livres (.card) */
/* Blocs de livres de l'accueil : 8 livres sur une ligne, défilement horizontal natif (scroll-snap) ; ~5,3 cartes visibles
   pour montrer qu'il y a une suite. Flèches ajoutées par js/dl-defil.js. */
.dl-grille { position: relative; --dl-gap: 18px; --dl-n: 5; --dl-vis: 5.3; }
.dl-grille ul.products { display: flex !important; flex-wrap: nowrap !important; gap: var(--dl-gap); margin: -4px -6px -14px !important; padding: 4px 6px 14px !important;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 6px; scrollbar-width: thin; scrollbar-color: #d8cfc2 transparent; }
.dl-grille ul.products::-webkit-scrollbar { height: 6px; }
.dl-grille ul.products::-webkit-scrollbar-thumb { background: #d8cfc2; border-radius: 3px; }
.dl-grille ul.products li.product { flex: 0 0 calc((100% - var(--dl-gap) * var(--dl-n)) / var(--dl-vis)) !important; scroll-snap-align: start; }
/* Flèches ‹ › : ordinateur uniquement (au doigt, on fait glisser) */
.dl-fl { position: absolute; top: 34%; z-index: 3; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: #fff; color: #a10055; box-shadow: 0 4px 14px rgba(0,0,0,.18); cursor: pointer; transition: opacity .2s, background .2s, color .2s; }
.dl-fl:hover, .dl-fl:focus-visible { background: #a10055; color: #fff; }
.dl-fl:focus-visible { outline: 2px solid #a10055; outline-offset: 2px; }
.dl-fl-prec { left: -14px; } .dl-fl-suiv { right: -14px; }
.dl-fl:disabled { opacity: 0; pointer-events: none; }
@media (hover: none), (max-width: 1000px) { .dl-fl { display: none; } }
.dl-grille ul.products::before, .dl-grille ul.products::after { display: none !important; }
.dl-grille ul.products li.product { width: auto !important; min-width: 0; margin: 0 !important; float: none !important; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); display: flex; flex-direction: column; }
.dl-grille ul.products li.product .astra-shop-thumbnail-wrap { background: #f3ede2; aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; padding: 8% 14%; }
.dl-grille ul.products li.product .astra-shop-thumbnail-wrap img { width: auto; max-height: 100%; object-fit: contain; box-shadow: 3px 3px 8px rgba(0,0,0,.3); margin: 0 !important; }
.dl-grille ul.products li.product .astra-shop-summary-wrap { padding: 14px; display: flex; flex-direction: column; flex: 1; }
/* nom de l'auteur (à la place de la catégorie, voir functions.php) */
.dl-grille .ast-woo-product-category { display: block; font-size: 12px; line-height: 1.35; color: #a10055; font-weight: 600; }
.dl-grille .woocommerce-loop-product__title { font-family: Georgia, "Times New Roman", serif; font-size: 14px !important; margin: 4px 0 !important; color: #2b2b2b; }
.dl-grille .price { font-weight: 700; color: #fa613b !important; margin: 8px 0 !important; }
.dl-grille .button { margin-top: auto !important; width: 100%; text-align: center; background: #2b2b2b !important; color: #fff !important; border-radius: 6px !important; font-size: 12px !important; font-weight: 600; padding: 9px !important; }
.dl-grille .button:hover { background: #a10055 !important; }
@media (max-width: 1000px) { .dl-grille { --dl-n: 3; --dl-vis: 3.3; }
	.dl-tiles.e-con { flex-wrap: wrap !important; }
	.dl-tiles > .dl-tile.e-con { flex: 1 1 calc(50% - 8px) !important; } }
@media (max-width: 560px) { .dl-tiles > .dl-tile.e-con { flex-basis: 100% !important; } }
@media (max-width: 560px)  { .dl-grille { --dl-gap: 12px; --dl-n: 2; --dl-vis: 2.25; } }

/* ===== Formulaire de contact (WPForms) ===== */
.dl-form .wpforms-container { margin: 0 !important; }
.dl-form .wpforms-field input, .dl-form .wpforms-field textarea { border: 2px solid #e3dfd8 !important; border-radius: 8px !important; box-shadow: none !important; }
.dl-form .wpforms-field input:focus, .dl-form .wpforms-field textarea:focus { border-color: #a10055 !important; }
.dl-form .wpforms-field-label { font-weight: 600 !important; color: #2b2b2b !important; }
.dl-form button.wpforms-submit { background: #a10055 !important; color: #fff !important; border: 0 !important; border-radius: 8px !important; padding: 13px 26px !important; font-weight: 600 !important; height: auto !important; }
.dl-form button.wpforms-submit:hover { background: #7a0040 !important; }

/* ---------- Méga menu « Tout le catalogue » (bureau ; en tablette/mobile, menu déroulant HFE) ---------- */
@media (min-width: 1025px) {
	.dl-nav .hfe-nav-menu li.dl-mega > .sub-menu {
		display: grid !important;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 8px 28px;
		width: min(1180px, calc(100vw - 48px)) !important;
		padding: 22px 26px 26px !important;
		left: 0 !important;
		background: #fff;
		border-top: 3px solid #A10055;
		border-radius: 0 0 10px 10px;
		box-shadow: 0 18px 40px rgba(0,0,0,.16);
	}
	.dl-nav .hfe-nav-menu li.dl-mega > .sub-menu > li { border: 0 !important; }
	/* titres de colonnes = les 5 univers */
	.dl-nav .hfe-nav-menu li.dl-mega > .sub-menu > li > .hfe-has-submenu-container > a,
	.dl-nav .hfe-nav-menu li.dl-mega > .sub-menu > li > a {
		font-family: Georgia, serif !important;
		font-size: 16px !important;
		font-weight: 700 !important;
		color: #A10055 !important;
		background: transparent !important;
		padding: 6px 0 8px !important;
		border-bottom: 1px solid #E3DFD8 !important;
		white-space: normal;
	}
	.dl-nav .hfe-nav-menu li.dl-mega .sub-arrow { display: none !important; }
	/* sous-catégories : liste statique, toujours visible dans le panneau */
	.dl-nav .hfe-nav-menu li.dl-mega .sub-menu .sub-menu {
		position: static !important;
		visibility: inherit !important; /* pas « visible » : sinon zone invisible sensible au survol, panneau fermé */
		opacity: 1 !important;
		display: block !important;
		width: auto !important;
		min-width: 0 !important;
		box-shadow: none !important;
		border: 0 !important;
		padding: 6px 0 0 !important;
		background: transparent !important;
		transform: none !important;
	}
	.dl-nav .hfe-nav-menu li.dl-mega .sub-menu .sub-menu li { border: 0 !important; }
	.dl-nav .hfe-nav-menu li.dl-mega .sub-menu .sub-menu a {
		font-size: 13.5px !important;
		font-weight: 400 !important;
		color: #2B2B2B !important;
		background: transparent !important;
		padding: 5px 0 !important;
		white-space: normal;
	}
	.dl-nav .hfe-nav-menu li.dl-mega .sub-menu .sub-menu a:hover { color: #A10055 !important; text-decoration: underline; }
}

/* Réassurance : boîtes d icône (pictogramme rond à gauche) */
.dl-reass-item .elementor-icon-box-title { margin-top: 0; }
.dl-reass-item .elementor-icon-box-description { margin: 0; }

/* ===== Miniatures de livres hors accueil : recherche, catégories, fiche produit (v1.8.0, 12/11/2026) ===== */
/* Grilles : 5 livres par ligne et 15 par page (réglages Astra shop-grids / shop-no-of-products).
   Couverture : ombre très légère + coins arrondis à droite seulement (côté tranche du livre). */
body:not(.home) ul.products li.product .astra-shop-thumbnail-wrap { aspect-ratio: 3 / 4; min-height: 0; margin-bottom: 10px; } /* min-height 0 : sinon une couverture haute agrandit la boîte */
body:not(.home) ul.products li.product .astra-shop-thumbnail-wrap > a.woocommerce-LoopProduct-link { box-sizing: border-box; }
body:not(.home) ul.products li.product .astra-shop-thumbnail-wrap > a.woocommerce-LoopProduct-link { display: flex; height: 100%; align-items: flex-end; justify-content: center; padding: 0 6px 6px 0; }
body:not(.home) ul.products li.product .astra-shop-thumbnail-wrap img { width: auto !important; max-width: 100%; max-height: 100%; object-fit: contain; margin: 0 !important; }
/* WooCommerce met « box-shadow: none » avec un sélecteur plus fort : !important nécessaire */
body:not(.home) ul.products li.product .astra-shop-thumbnail-wrap img,
.single-product div.product .woocommerce-product-gallery__image {
	border-radius: 0 6px 6px 0 !important;
	box-shadow: 2px 3px 8px rgba(0,0,0,.14) !important;
}
/* Fiche produit : le conteneur (overflow hidden, nécessaire au zoom) porte l'arrondi et l'ombre */
.single-product div.product .woocommerce-product-gallery__image img { display: block; }
/* Fiche produit : couverture réduite (environ 340 px au lieu de 600) ; un peu d'air pour que l'ombre ne soit pas coupée */
.single-product div.product .woocommerce-product-gallery { padding: 0 8px 10px 0; }
@media (min-width: 922px) {
	.woocommerce-js.single-product div.product div.images { width: 30% !important; max-width: 340px; }
	.woocommerce-js.single-product div.product div.summary { width: calc(100% - min(30%, 340px) - 48px) !important; }
}
@media (max-width: 921px) {
	.single-product div.product .woocommerce-product-gallery { max-width: 300px; margin-left: auto; margin-right: auto; }
}

/* ===== Cohérence avec l'accueil : fiches produits, recherche, catégories, panier… (v1.9.0, 12/11/2026) =====
   Palette Astra (option astra-color-palettes) alignée sur la maquette : 0 violet #A10055, 1 violet foncé #7A0040,
   2 et 3 texte #2B2B2B, 5 papier #FAF8F5, 7 filet #E3DFD8. Les liens et boutons Astra ne sont donc plus bleus. */
h1, h2, h3, h4, h5, h6, .entry-title, .product_title { font-family: Georgia, "Times New Roman", serif; color: #2b2b2b; }
.woocommerce-products-header__title, .ast-archive-title, .search .page-title { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(26px, 3vw, 34px); color: #2b2b2b; }

/* Boutons (style des boutons de la maquette : coins arrondis, graisse 600) */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce-page a.button, .woocommerce-page button.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt, .wp-element-button, .ast-button {
	border-radius: 8px !important; font-weight: 600 !important; }

/* Fil d'Ariane : un seul sur la fiche produit (celui de WooCommerce, à côté de la couverture) ; celui de Yoast, au-dessus, est masqué */
.single-product .woo-breadcrumbs { display: none; }
.woo-breadcrumbs, .woocommerce-breadcrumb { font-size: 13px !important; color: #777 !important; }
.woo-breadcrumbs a, .woocommerce-breadcrumb a { color: #777 !important; text-decoration: none; }
.woo-breadcrumbs a:hover, .woocommerce-breadcrumb a:hover { color: #a10055 !important; }

/* Cartes de livres des grilles (recherche, catégories, produits apparentés) = cartes de l'accueil */
/* boutons alignés en bas des cartes, quelle que soit la longueur du titre */
body:not(.home) ul.products li.product { display: flex; flex-direction: column; }
body:not(.home) ul.products li.product .astra-shop-summary-wrap { display: flex; flex-direction: column; flex: 1; }
body:not(.home) ul.products li.product .astra-shop-summary-wrap .button { margin-top: auto !important; }
body:not(.home) ul.products li.product .ast-woo-product-category { display: block; font-size: 12px; line-height: 1.35; color: #a10055; font-weight: 600; }
body:not(.home) ul.products li.product .woocommerce-loop-product__title { font-family: Georgia, "Times New Roman", serif; font-size: 15px !important; font-weight: 600; line-height: 1.3; margin: 4px 0 !important; color: #2b2b2b; }
body:not(.home) ul.products li.product .price { font-weight: 700; color: #fa613b !important; margin: 6px 0 10px !important; }
body:not(.home) ul.products li.product .button { width: 100%; text-align: center; background: #2b2b2b !important; color: #fff !important; border-radius: 6px !important;
	font-size: 12px !important; font-weight: 600 !important; padding: 9px !important; line-height: 1.4 !important; }
body:not(.home) ul.products li.product .button:hover { background: #a10055 !important; }
.woocommerce-result-count, .woocommerce-ordering select { font-size: 14px; color: #555; }

/* Fiche produit */
.single-product div.product .summary .product_title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.single-product div.product .summary .single-product-category a { color: #a10055; font-size: 13px; font-weight: 600; }
.single-product div.product .summary p.price, .single-product div.product .summary span.price { color: #fa613b !important; font-size: 26px; font-weight: 700; }
.single-product div.product .summary .woocommerce-product-details__short-description { color: #2b2b2b; }
.single-product div.product .summary .woocommerce-product-details__short-description ul { margin-left: 1.1em; }
.single-product div.product form.cart .quantity .qty { border: 2px solid #e3dfd8; border-radius: 8px; height: 48px; color: #2b2b2b; }
.single-product div.product form.cart .single_add_to_cart_button { background: #a10055 !important; color: #fff !important; border-radius: 8px !important;
	padding: 0 28px !important; height: 48px; font-size: 15px !important; font-weight: 600 !important; }
.single-product div.product form.cart .single_add_to_cart_button:hover { background: #7a0040 !important; }
.single-product div.product .product_meta { font-size: 13px; color: #666; border-top-color: #e3dfd8 !important; }
.single-product div.product .product_meta a { color: #a10055; }
/* Onglets Description / Informations complémentaires */
.woocommerce div.product .woocommerce-tabs ul.tabs { border-top-color: #e3dfd8 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: #666; font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a, .woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: #2b2b2b; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before { background: #a10055 !important; }
.woocommerce div.product .woocommerce-tabs .panel { color: #2b2b2b; }
.single-product .related.products > h2, .single-product .upsells.products > h2 { font-size: 26px; font-weight: 700; margin-bottom: 18px; }

/* ===== Fiche produit : retouches du 12/11/2026 (v1.10.0) ===== */
/* Catégorie affichée par Astra entre le fil d'Ariane et le titre : retirée (elle reste dans « Catégories : » sous le bouton) */
.single-product div.product .summary .single-product-category { display: none !important; }
/* « Également disponible » : 5 livres, miniatures réduites d'environ 1/3 (≈ 190 px au lieu de 285) et plus espacées */
.single-product .related.products ul.products { display: grid !important; grid-template-columns: repeat(5, minmax(0, 190px)); gap: 32px 56px; justify-content: start; margin: 0 !important; }
.single-product .related.products ul.products::before, .single-product .related.products ul.products::after { display: none !important; }
.single-product .related.products ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
@media (max-width: 921px) { .single-product .related.products ul.products { grid-template-columns: repeat(2, minmax(0, 190px)); gap: 28px 32px; justify-content: center; } }

/* ===== v1.11.0 (12/11/2026) ===== */
/* Accueil : carte « Voir tout » en fin de bloc (ajoutée par js/dl-defil.js) */
.dl-grille ul.products li.dl-voir-tout { background: #f3ede2; box-shadow: none; border: 2px dashed #d8cfc2; }
.dl-grille li.dl-voir-tout a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px;
	text-align: center; text-decoration: none; color: #a10055; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 16px; line-height: 1.3; }
.dl-grille li.dl-voir-tout .dl-vt-rond { width: 52px; height: 52px; border-radius: 50%; background: #a10055; color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s; }
.dl-grille li.dl-voir-tout a:hover .dl-vt-rond, .dl-grille li.dl-voir-tout a:focus-visible .dl-vt-rond { background: #7a0040; transform: translateX(4px); }
.dl-grille li.dl-voir-tout a:focus-visible { outline: 2px solid #a10055; outline-offset: -4px; }

/* Accueil : avis de lecteurs */
.dl-avis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dl-avis-item { margin: 0; background: #fff; border: 1px solid #e3dfd8; border-radius: 10px; padding: 26px 24px 20px; display: flex; flex-direction: column; position: relative; }
.dl-avis-item::before { content: "\201C"; font-family: Georgia, "Times New Roman", serif; font-size: 64px; line-height: .8; color: #a10055; height: 34px; display: block; }
.dl-avis-livre { margin: 6px 0 10px; font-size: 13px; color: #666; }
.dl-avis-livre a { color: #a10055; font-weight: 600; text-decoration: none; }
.dl-avis-livre a:hover { text-decoration: underline; }
.dl-avis-item blockquote { margin: 0 0 18px; padding: 0; border: 0; font-size: 15px; line-height: 1.65; color: #2b2b2b; font-style: normal; flex: 1; }
.dl-avis-item blockquote p { margin: 0; }
.dl-avis-item figcaption { border-top: 1px solid #e3dfd8; padding-top: 12px; font-weight: 600; font-size: 14px; color: #2b2b2b; }
@media (max-width: 921px) { .dl-avis { grid-template-columns: 1fr; gap: 14px; } }

/* Accueil : présentation (accroche reprise du pied de page) */
.dl-presentation-accroche p { font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.55; color: #2b2b2b; margin: 0; }

/* Panier et commande : progression vers la livraison à 0,01 € */
.dl-port { background: #fff; border: 1px solid #e3dfd8; border-left: 4px solid #a10055; border-radius: 8px; padding: 14px 18px; margin: 0 0 22px; }
.dl-port-txt { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; }
.dl-port-txt p { margin: 0; font-size: 15px; color: #2b2b2b; }
.dl-port-txt strong { color: #a10055; }
.dl-port-ok { color: #2e7d32; font-weight: 700; }
.dl-port-barre { height: 8px; background: #f3ede2; border-radius: 4px; overflow: hidden; margin-top: 12px; }
.dl-port-barre span { display: block; height: 100%; background: linear-gradient(90deg, #a10055, #fa613b); border-radius: 4px; transition: width .4s; }
.dl-port-complet { border-left-color: #2e7d32; }
.dl-port-complet .dl-port-barre span { background: #2e7d32; }
.woocommerce .dl-port a.button.dl-continuer { background: #2b2b2b !important; color: #fff !important; padding: 10px 18px !important; font-size: 14px !important; line-height: 1.3 !important; white-space: nowrap; }
.woocommerce .dl-port a.button.dl-continuer:hover { background: #a10055 !important; }
.dl-continuer-lien { font-size: 14px; font-weight: 600; color: #a10055; white-space: nowrap; }
.dl-port-commande { margin-bottom: 26px; }

/* Pied de page, ligne basse : liens légaux à gauche, crédit du concepteur à droite (12/11/2026, v1.11.1) */
.dl-fb { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; }
.dl-fb-credit { color: #999; }
@media (max-width: 767px) { .dl-fb { flex-direction: column; align-items: flex-start; } }

/* v1.12.1 (18/11/2026, demande cliente) : étiquettes masquées sur la fiche produit
   (l'étiquette « nouveau » ne sert plus : les Nouveautés sont triées par date de parution). */
.single-product .product_meta .tagged_as { display: none; }

/* v1.12.2 (20/11/2026) : menu mobile (déroulant HFE ≤ 1024 px). Le fond des entrées de 1er niveau y est blanc,
   mais leurs états focus / page courante / sous-menu ouvert gardaient le texte blanc du bandeau de bureau
   → blanc sur blanc. Texte noir, violet au survol / au toucher. */
@media (max-width: 1024px) {
	.dl-nav nav.hfe-dropdown a.hfe-menu-item,
	.dl-nav nav.hfe-dropdown-expandible a.hfe-menu-item {
		color: #2B2B2B !important; background-color: #FFFFFF !important;
	}
	.dl-nav nav.hfe-dropdown a.hfe-menu-item:hover,
	.dl-nav nav.hfe-dropdown a.hfe-menu-item:focus,
	.dl-nav nav.hfe-dropdown a.hfe-menu-item.highlighted,
	.dl-nav nav.hfe-dropdown-expandible a.hfe-menu-item:hover,
	.dl-nav nav.hfe-dropdown-expandible a.hfe-menu-item:focus,
	.dl-nav nav.hfe-dropdown-expandible a.hfe-menu-item.highlighted {
		color: #A10055 !important; background-color: #FAF8F5 !important;
	}
}

/* ===== v1.12.3 (20/11/2026) : fiche produit sans « Étiquette : nouveau » ; page Commander : points relais DPD
   sur toute la largeur du récapitulatif, nom/distance sans chevauchement, logo PayPal réduit de moitié ===== */
.single-product .product_meta .tagged_as { display: none; }

/* Récapitulatif de commande : tableau passé en lignes flex pour que la ligne Expédition occupe toute la largeur */
.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout .woocommerce-checkout-review-order-table thead,
.woocommerce-checkout .woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot { display: block; width: 100%; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr { display: flex; justify-content: space-between; gap: 0; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr > :first-child { flex: 1 1 auto; min-width: 0; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr > :last-child:not(:first-child) { flex: 0 0 auto; text-align: right; padding-left: 12px; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals { flex-wrap: wrap; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td { flex: 1 1 100%; width: 100%; text-align: left; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > th { border-bottom: 0; padding-bottom: 0; }
.woocommerce-checkout #shipping_method { text-align: left; }
.woocommerce-checkout #shipping_method .dpd-pickup-points * { text-indent: 0; }
.woocommerce-checkout #shipping_method li { margin-bottom: 14px; }

/* Liste des points relais */
.woocommerce-checkout .dpd-pickup-points { width: 100%; text-align: left; text-indent: 0; }
.woocommerce-checkout .dpdpp-listing-item { padding: 14px 16px; text-align: left; }
.woocommerce-checkout .dpdpp-listing-top { gap: 12px; align-items: flex-start; }
.woocommerce-checkout .dpdpp-listing-name { flex: 1 1 auto; min-width: 0; margin-right: 0; overflow-wrap: anywhere; }
.woocommerce-checkout .dpdpp-listing-distance { flex: 0 0 auto; white-space: nowrap; }
.woocommerce-checkout .dpdpp-listing-address { margin-top: 4px; }
.woocommerce-checkout .dpdpp-listing-day > div:first-of-type { flex: 0 0 60px; width: 60px; }

/* Logo PayPal : 52 px → 18 px de haut (v1.12.4) */
.woocommerce-checkout #payment .payment_method_paypal label img { max-height: 18px; width: auto; vertical-align: middle; margin-left: 6px; }
