/* =============================================
   DYNAPARTS — FICHE PRODUIT, COLONNE D'ACHAT (2026-09-29)
   Titre, fiche d'identité (marque, référence, avis), prix + alternatives de paiement
   (« ou » PayPal, « ou » Alma), stock / livraison estimée, quantité + Ajouter au panier,
   message livraison gratuite, simulation des frais de port.
   Chargé par header.tpl sur la page produit, hors CCC : changer ?v= à chaque modification.
   ============================================= */

/* Saira italique (Omnibus-Type, OFL), auto-hébergée : prix et « ou », en écho au logo */
@font-face {
	font-family: 'DP Saira';
	font-style: italic;
	font-weight: 700 800;
	font-display: swap;
	src: url(../fonts/saira/saira-italic-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

body#product .pb-center-column {
	/* « sans serif » du thème n'est pas un générique valide : sans Verdana (Android, Linux) le texte passait en Times */
	font-family: Verdana, Geneva, "DejaVu Sans", sans-serif;
	color: #282b2f;
}

/* ---------- Titre et description ---------- */
body#product .pb-center-column h1 {
	margin: 4px 0 10px;
	color: #282b2f;
	font-family: Verdana, Geneva, "DejaVu Sans", sans-serif;
	font-size: 24px;
	line-height: 1.25;
}
body#product .pb-center-column #short_description_block {
	max-width: 68ch;
	margin: 0 0 16px;
	color: #5c6168;
	font-size: 13px;
	line-height: 1.55;
}
body#product .pb-center-column #short_description_block p {
	margin: 0;
}

/* ---------- Fiche d'identité : marque, fabricant, référence, avis ---------- */
body#product .pb-center-column .product-boxinfo.dp-meta {
	display: flex;
	float: none;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 26px;
	width: auto;
	margin: 0 0 20px;
	padding: 12px 0;
	border: 0;
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
}
body#product .pb-center-column .dp-meta p,
body#product .pb-center-column .dp-meta p:last-child {
	margin: 0;
}
body#product .pb-center-column .dp-meta__logo img {
	display: block;
	width: auto;
	max-width: 120px;
	height: 26px;
	object-fit: contain;
}
body#product .pb-center-column .dp-meta__item label,
body#product .pb-center-column .dp-product-rating .comments-note > span:first-child {
	display: block;
	margin: 0 0 2px;
	color: #8a8f96;
	font-size: 11px;
	font-weight: normal;
	line-height: 1.2;
}
body#product .pb-center-column .dp-meta__item span {
	color: #282b2f;
	font-size: 13px;
	font-weight: bold;
}
body#product .pb-center-column .dp-meta__item a,
body#product .pb-center-column .dp-meta__item a:hover {
	color: inherit;
	text-decoration: none;
}
body#product .pb-center-column .dp-meta__item a:hover span {
	color: #e9271a;
}
body#product .pb-center-column .dp-product-rating {
	margin: 0;
}
body#product .pb-center-column .dp-product-rating:empty {
	display: none;
}
body#product .pb-center-column .dp-product-rating .ets-rv-product-comments-additional-info {
	margin: 0;
	padding: 0;
}
body#product .pb-center-column .dp-product-rating .comments-note {
	display: block;
	margin: 0;
}
body#product .pb-center-column .dp-product-rating a,
body#product .pb-center-column .dp-product-rating a:hover {
	text-decoration: none;
}

/* ---------- Prix + alternatives de paiement ---------- */
body#product .pb-center-column .dp-price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 30px;
	margin: 0 0 20px;
}
body#product .pb-center-column .dp-price-row > .content_prices {
	flex: 0 0 auto;
	min-width: 0;
	padding: 0;
}
body#product .pb-center-column .dp-price-row > .content_prices > .clear {
	display: none;
}
body#product .pb-center-column .content_prices .price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}
body#product .pb-center-column .content_prices p.our_price_display {
	display: flex;
	flex: 1 0 100%;
	align-items: baseline;
	gap: 8px;
	margin: 0;
	color: #282b2f;
	font-size: 14px;
	font-weight: bold;
}
body#product .pb-center-column #our_price_display {
	color: #e9271a;
	font-family: 'DP Saira', Verdana, Geneva, sans-serif;
	font-size: 44px;
	font-style: italic;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
body#product .pb-center-column #old_price {
	margin: 0;
	color: #8a8f96;
	font-size: 15px;
	line-height: 1.3;
}
body#product .pb-center-column #reduction_percent,
body#product .pb-center-column #reduction_amount {
	margin: 0;
	padding: 2px 8px;
	border: 0;
	border-radius: 4px;
	background: #e9271a;
	font-size: 12px;
	font-weight: bold;
	line-height: 1.5;
}

/* Alternatives : chacune introduite par un grand « ou » */
body#product .pb-center-column .dp-pay-options {
	flex: 1 1 300px;
	min-width: 0;
}
body#product .pb-center-column .dp-pay-opt {
	display: flex;
	align-items: center;
	gap: 14px;
}
body#product .pb-center-column .dp-pay-opt + .dp-pay-opt {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed #dfe2e6;
}
body#product .pb-center-column .dp-or {
	flex: 0 0 34px;
	color: #282b2f;
	font-family: 'DP Saira', Verdana, Geneva, sans-serif;
	font-size: 28px;
	font-style: italic;
	font-weight: 800;
	line-height: 1;
	text-align: center;
}
body#product .pb-center-column .dp-pay-opt .paypal-pay-later-message,
body#product .pb-center-column .dp-pay-opt__body {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}
/* PayPal : présent pour être rendu, visible une fois son message affiché */
body#product .pb-center-column .dp-pay-opt--paypal {
	height: 0;
	overflow: hidden;
	visibility: hidden;
}
body#product .pb-center-column .dp-pay-options.is-paypal-ready .dp-pay-opt--paypal {
	height: auto;
	overflow: visible;
	visibility: visible;
}
body#product .pb-center-column .dp-pay-options:not(.is-paypal-ready) .dp-pay-opt--alma {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}
/* (--v2 : balisage actuel uniquement ; une page encore en cache avec l'ancien balisage n'est pas masquée) */
body#product .pb-center-column .dp-pay-options--v2:not(.dp-pay-options--alma):not(.is-paypal-ready) {
	height: 0;
	overflow: hidden;
}
/* Alma allégé (sans cadre, aligné à gauche), comme sur hubshop */
body#product .pb-center-column .dp-pay-opt--alma .alma-pp-container {
	float: none;
	margin: 0;
	text-align: left;
}
body#product .pb-center-column .dp-pay-opt--alma .alma-payment-plans-eligibility-line {
	flex-wrap: wrap;
	justify-content: flex-start !important;
	gap: 4px 8px;
}
body#product .pb-center-column .dp-pay-opt--alma [class*="_paymentPlans_"] {
	flex: 0 1 auto !important;
	justify-content: flex-start !important;
	gap: 4px;
}
body#product .pb-center-column .dp-pay-opt--alma [class*="_infoContainer_"],
body#product .pb-center-column .dp-pay-opt--alma .alma-payment-plans-payment-info,
body#product .pb-center-column .dp-pay-opt--alma .alma-payment-plans-payment-info p {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	text-align: left !important;
}
body#product .pb-center-column .dp-pay-opt--alma .alma-payment-plans-container {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* ---------- Stock / livraison estimée ---------- */
body#product .pb-center-column > .ez-delivery {
	margin: 0 0 18px;
	border-radius: 10px;
}

/* ---------- Déclinaisons ---------- */
body#product .pb-center-column #attributes .attribute_fieldset {
	margin: 0 0 14px;
}
body#product .pb-center-column #attributes .attribute_label {
	display: block;
	margin: 0 0 6px;
	color: #5c6168;
	font-size: 12px;
	font-weight: bold;
	text-align: left;
}
body#product .pb-center-column #attributes select.attribute_select {
	max-width: 100%;
	height: 44px;
	border: 1px solid #cfd3d8;
	border-radius: 8px;
	font-size: 14px;
}

/* ---------- Quantité + Ajouter au panier ---------- */
body#product .pb-center-column .SectionBoutonProduit {
	float: none;
	padding: 0 !important;
}
body#product .pb-center-column #buy_block {
	margin-top: 0;
}
body#product .pb-center-column .box-info-product > .row {
	display: flex;
	align-items: stretch;
	gap: 10px;
	margin: 0;
}
body#product .pb-center-column .box-info-product > .row::before,
body#product .pb-center-column .box-info-product > .row::after {
	display: none;
}
body#product .pb-center-column .box-info-product > .row > .boutonsProduit {
	float: none;
	width: auto;
	padding: 0;
}
body#product .pb-center-column .box-info-product > .row > .boutonsProduit:first-child {
	flex: 0 0 auto;
}
body#product .pb-center-column .box-info-product > .row > .boutonsProduit:last-child {
	flex: 1 1 auto;
	min-width: 0;
}
/* Sélecteur de quantité : − 1 + */
body#product .pb-center-column #quantity_wanted_p {
	display: flex;
	align-items: stretch;
	height: 52px;
	overflow: hidden;
	border: 1px solid #cfd3d8;
	border-radius: 8px;
	background: #fff;
}
body#product .pb-center-column #quantity_wanted_p input {
	order: 2;
	float: none;
	width: 46px;
	height: 50px;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: #282b2f;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}
body#product .pb-center-column #quantity_wanted_p .btn {
	display: flex;
	position: static;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 50px;
	border: 0 !important;
	border-radius: 0;
	background: #f4f5f6;
	color: #282b2f;
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
}
body#product .pb-center-column #quantity_wanted_p .btn:hover,
body#product .pb-center-column #quantity_wanted_p .btn:focus {
	background: #e9eaec;
}
body#product .pb-center-column #quantity_wanted_p .button-minus {
	order: 1;
}
body#product .pb-center-column #quantity_wanted_p .button-plus {
	order: 3;
}
body#product .pb-center-column #quantity_wanted_p .btn i,
body#product .pb-center-column #quantity_wanted_p .clearfix {
	display: none;
}
body#product .pb-center-column #quantity_wanted_p .button-minus span::before {
	content: "\2212";
}
body#product .pb-center-column #quantity_wanted_p .button-plus span::before {
	content: "+";
}
body#product .pb-center-column #minimal_quantity_wanted_p {
	margin: 6px 0 0;
	color: #5c6168;
	font-size: 12px;
}
/* Bouton d'achat pleine largeur */
body#product .pb-center-column .box-cart-bottom {
	display: flex;
	align-items: stretch;
	gap: 10px;
	padding: 0;
}
body#product .pb-center-column .box-cart-bottom > div:first-child {
	display: flex;
	float: none;
	flex: 1 1 auto;
	margin: 0;
}
body#product .pb-center-column #add_to_cart.BoutonAjouter {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 52px;
	padding: 0 18px;
	border: 0;
	border-radius: 8px;
	background: #e9271a;
	box-shadow: 0 2px 0 #b51d12;
	color: #fff;
	transition: background-color .15s;
}
body#product .pb-center-column #add_to_cart.BoutonAjouter:hover {
	background: #cf2216;
}
body#product .pb-center-column #add_to_cart.BoutonAjouter:focus-visible {
	outline: 3px solid #57a6b9;
	outline-offset: 2px;
}
body#product .pb-center-column #add_to_cart .fa {
	font-size: 17px;
}
body#product .pb-center-column #add_to_cart .AjouterPanier {
	margin: 0;
	font-size: 16px;
	font-weight: bold;
}
body#product .pb-center-column #add_to_compare {
	float: none;
	margin: 0;
}
body#product .pb-center-column #add_to_compare .add_to_compare {
	width: 52px;
	height: 52px;
	border-radius: 8px;
	background: #f1f2f4;
	color: #6b7078;
	line-height: 52px;
}

/* ---------- Message livraison gratuite sous le bouton ---------- */
body#product .pb-center-column .dp-fsm-under-cart {
	clear: both;
}
body#product .pb-center-column .dp-fsm-under-cart .st-fsm-product .alert {
	margin: 12px 0 0;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.45;
}
body#product .pb-center-column .dp-fsm-under-cart .st-fsm-product .alert.st-fsm-highlight {
	font-size: 14px;
}

/* ---------- Simulation des frais de port, en bas ---------- */
body#product .pb-center-column .dp-shipping-estimate .dpse {
	margin: 18px 0 0;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	body#product .pb-center-column h1 {
		font-size: 20px;
	}
	/* Fiche d'identité en grille : logo | fabricant, référence | avis */
	body#product .pb-center-column .product-boxinfo.dp-meta {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 18px;
	}
	body#product .pb-center-column .dp-meta__item span {
		overflow-wrap: anywhere;
	}
	body#product .pb-center-column .dp-meta > p[style*="display: none"],
	body#product .pb-center-column .dp-meta > p[style*="display:none"] {
		display: none;
	}
	body#product .pb-center-column #our_price_display {
		font-size: 38px;
	}
	body#product .pb-center-column .dp-pay-options {
		flex: 1 1 100%;
	}
	body#product .pb-center-column .dp-or {
		flex-basis: 28px;
		font-size: 24px;
	}
	/* Ligne d'achat : sélecteur compact, bouton pleine largeur, comparatif masqué */
	body#product .pb-center-column #quantity_wanted_p .btn {
		width: 30px;
	}
	body#product .pb-center-column #quantity_wanted_p input {
		width: 38px;
	}
	body#product .pb-center-column #add_to_cart.BoutonAjouter {
		padding: 0 12px;
	}
	body#product .pb-center-column #add_to_compare {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	body#product .pb-center-column #add_to_cart.BoutonAjouter {
		transition: none;
	}
}

/* =============================================
   Bulle compatibilité véhicule (vehiclecompatibility16) — 2026-09-29
   ============================================= */
body#product .pb-center-column .dp-fit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0 0 14px;
	padding: 10px 12px;
	border: 1px solid #e3e6ea;
	border-radius: 10px;
	background: #f7f8f9;
	color: #3d4247;
	font-size: 13px;
	line-height: 1.4;
}
body#product .pb-center-column .dp-fit__icon {
	display: flex;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #e9ecef;
}
body#product .pb-center-column .dp-fit__text {
	flex: 1 1 220px;
	min-width: 0;
}
body#product .pb-center-column .dp-fit__car {
	font-weight: bold;
}
body#product .pb-center-column .dp-fit__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin-left: auto;
}
body#product .pb-center-column .dp-fit__link,
body#product .pb-center-column .dp-fit__link:hover {
	color: inherit;
	font-weight: bold;
	text-decoration: underline;
	white-space: nowrap;
}
body#product .pb-center-column .dp-fit__link--main,
body#product .pb-center-column .dp-fit__link--main:hover {
	padding: 6px 12px;
	border-radius: 6px;
	background: #282b2f;
	color: #fff;
	text-decoration: none;
}
body#product .pb-center-column .dp-fit__link--main:hover {
	background: #e9271a;
}
body#product .pb-center-column .dp-fit__link:focus-visible {
	outline: 3px solid #57a6b9;
	outline-offset: 2px;
}
body#product .pb-center-column .dp-fit--ok {
	border-color: #cfe9d8;
	background: #eff8f2;
	color: #1d6b3c;
}
body#product .pb-center-column .dp-fit--ok .dp-fit__icon {
	background: #d3ecdc;
}
body#product .pb-center-column .dp-fit--no {
	border-color: #f3cfcb;
	background: #fdf1ef;
	color: #a8261c;
}
body#product .pb-center-column .dp-fit--no .dp-fit__icon {
	background: #f9dcd8;
}
body#product .pb-center-column .dp-fit--universal {
	border-color: #d6e6ec;
	background: #f1f7f9;
	color: #2f6474;
}
body#product .pb-center-column .dp-fit--universal .dp-fit__icon {
	background: #dcebf0;
}

/* =============================================
   Carte stock : frise Commande → étape → Livraison (surcharge deliverydelayclient) — 2026-09-29
   ============================================= */
body#product .ez-delivery .dp-stock-steps {
	display: flex;
	position: relative;
	margin: 12px 0 10px;
	padding: 0;
	list-style: none;
}
/* Piste continue d'un point à l'autre */
body#product .ez-delivery .dp-stock-steps::before {
	content: "";
	position: absolute;
	top: 5px;
	right: 6px;
	left: 6px;
	height: 2px;
	background: currentColor;
	opacity: .2;
}
body#product .ez-delivery .dp-stock-steps__step {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	padding: 18px 8px 0 0;
	font-size: 12px;
	line-height: 1.3;
}
/* Segment déjà parcouru (commande → étape suivante) */
body#product .ez-delivery .dp-stock-steps__step.is-done::before {
	content: "";
	position: absolute;
	top: 5px;
	right: 0;
	left: 6px;
	height: 2px;
	background: currentColor;
	opacity: .7;
}
body#product .ez-delivery .dp-stock-steps__step--end {
	padding-right: 0;
	text-align: right;
}
body#product .ez-delivery .dp-stock-steps__dot {
	position: absolute;
	top: 0;
	left: 0;
	width: 12px;
	height: 12px;
	box-sizing: border-box;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: #fff;
}
body#product .ez-delivery .dp-stock-steps__step.is-done .dp-stock-steps__dot {
	background: currentColor;
}
body#product .ez-delivery .dp-stock-steps__step--end .dp-stock-steps__dot {
	right: 0;
	left: auto;
}
body#product .ez-delivery .dp-stock-steps__label {
	display: block;
	font-weight: bold;
}
body#product .ez-delivery .dp-stock-steps__when {
	display: block;
	opacity: .8;
}
body#product .ez-delivery .dp-stock-steps__when--date {
	font-size: 14px;
	font-weight: bold;
	opacity: 1;
}

@media (max-width: 767px) {
	body#product .pb-center-column .dp-fit__actions {
		margin-left: 42px;
	}
	body#product .ez-delivery .dp-stock-steps__step {
		font-size: 11px;
	}
}
