/* =====================================================================================
   Armurerie Loisir — fiche produit v2 (theme "al", gabarit themes/al/product.tpl).
   Charge uniquement sur la fiche produit quand l'interrupteur al est actif (apres base.css et layout.css).
   Mise en page : en-tete (marque, titre, avis), galerie, bloc d'achat, infos ; puis sections empilees
   (description, caracteristiques, avis...) avec sommaire en pastilles. Mobile : barre d'achat collante en bas.
   Les ids / classes d'origine sont conserves : on habille, on ne retire rien.
   ===================================================================================== */

/* ---------------- Cadre de page : colonnes laterales retirees ---------------- */
@media screen and (min-width: 551px) {
	body#product #left_column, body#product #right_column { display: none !important; }
	body#product #center_column { float: none !important; width: 100% !important; min-width: 0 !important; max-width: 1240px !important; margin: 0 auto !important; padding: 0 24px !important; box-sizing: border-box; }
}
@media screen and (max-width: 550px) {
	/* la colonne de gauche porte le tiroir du menu mobile : on ne la touche pas ; le panier est deplace hors colonne droite par resp7.js */
	body#product #right_column { display: none !important; }
	body#product #center_column { float: none !important; width: auto !important; margin: 0 !important; padding: 0 16px !important; box-sizing: border-box; }
	body#product.al-has-buybar { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* Fil d'Ariane : rendu commun (base.css) ; seul l'espacement au-dessus du titre est propre a la fiche.
   Mobile : clear (le fil, en flex, evitait #left_column flottant de 390 px x 0 et partait hors ecran) ; maison en gris
   (smallscreen5.css la met en blanc). */
body#product #center_column > .breadcrumb { clear: both; margin: 0; padding: 16px 0 12px; }
@media screen and (max-width: 550px) {
	body#product #center_column > .breadcrumb { padding: 12px 0 8px; }
	body#product #center_column > .breadcrumb .glyphicon-home { color: var(--al-muted) !important; }
}

/* ---------------- Base ---------------- */
/* clear : sur mobile, #left_column (tiroir du menu) flotte avec une hauteur nulle ; sans fil d'Ariane au-dessus (fiche sans categorie),
   la grille (contexte de formatage autonome) l'evitait et tombait a 0 px de large -> page blanche */
#al-pp { clear: both; color: var(--al-text); font: 400 15px/1.5 var(--al-font); }
#al-pp, #al-pp *, #al-pp *:before, #al-pp *:after { box-sizing: border-box; }
#al-pp img { max-width: 100%; }
#al-pp a { color: var(--al-link); }
#al-pp a:hover { color: #c45226; }
#al-pp a:focus-visible, #al-pp button:focus-visible, #al-pp input:focus-visible { outline: 3px solid #24619c; outline-offset: 2px; }
#al-pp .hidden { display: none !important; }

/* ---------------- Haut de fiche : grille ---------------- */
#al-pp #primary_block {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "head" "media" "buy" "info";
	gap: 0;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}
#al-pp #primary_block:before, #al-pp #primary_block:after { content: none; display: none; }
#al-pp .al-pp__head { grid-area: head; min-width: 0; }
#al-pp .al-pp__media { grid-area: media; min-width: 0; }
#al-pp .al-pp__buy { grid-area: buy; min-width: 0; }
#al-pp .al-pp__info { grid-area: info; min-width: 0; }
#al-pp #admin-action, #al-pp #primary_block > .confirmation { grid-column: 1 / -1; }
/* le theme d'origine fixe largeurs / flottants des colonnes (product.css, responsive-al.css : max-width 50 % / 45 %) */
body#product #al-pp #pb-right-column, body#product #al-pp #pb-left-column, body#product #al-pp .al-pp__info, body#product #al-pp .al-pp__head,
body#product #al-pp #short_description_block, body#product #al-pp #image-block, body#product #al-pp #buy_block {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
}

@media screen and (min-width: 551px) {
	#al-pp #primary_block {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas: "media head" "media buy" "media info" "media .";
		grid-template-rows: auto auto auto 1fr;
		column-gap: 28px;
		padding-top: 6px;
	}
}
@media screen and (min-width: 992px) {
	#al-pp #primary_block {
		grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr) 300px;
		grid-template-areas: "media head buy" "media info buy" "media . buy";
		grid-template-rows: auto auto 1fr;
		column-gap: 32px;
	}
}

/* ---------------- En-tete : marque, titre, avis ---------------- */
#al-pp .al-pp__brand { display: inline-block; margin: 0 0 4px; color: var(--al-link); font-size: 14px; font-weight: 600; text-decoration: none; }
#al-pp .al-pp__brand:hover { color: #c45226; text-decoration: underline; }
body#product #al-pp h1 {
	position: static;
	height: auto !important;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: visible !important;
	border: 0;
	background: none;
	color: var(--al-ink);
	font: 700 22px/1.25 var(--al-font);
	letter-spacing: -.01em;
	text-align: left;
	text-transform: none;
	text-wrap: balance;
}
body#product #al-pp h1:before, body#product #al-pp h1:after { content: none !important; display: none !important; }
@media screen and (min-width: 992px) { body#product #al-pp h1 { font-size: 24px; } }

/* Widget d'avis du module steavisgarantis (#agWidgetH) : etoiles + note + nombre d'avis, en lien vers la section avis */
body#product #al-pp #agWidgetH {
	display: block;
	width: auto;
	max-width: none;
	margin: 8px 0 0 !important;
	padding: 0;
	border: 0;
	background: none !important;
	box-shadow: none !important;
	line-height: 1.2;
	text-align: left;
	filter: none;
}
body#product #al-pp #agWidgetH .inner { padding: 0 !important; background: none !important; }
body#product #al-pp #agWidgetH .reviewGlobal { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 8px; width: auto; text-align: left; cursor: pointer; }
body#product #al-pp #agWidgetH .reviewGlobal > a:first-child { display: inline-flex; line-height: 0; }
body#product #al-pp #agWidgetH .reviewGlobal > a:first-child img { width: 16px !important; height: auto; margin: 0 !important; vertical-align: middle !important; }
body#product #al-pp #agWidgetH .steavisgarantisStar { display: inline-block !important; width: 94px; max-width: 94px; height: 25px; margin: 0 !important; }
body#product #al-pp #agWidgetH .steavisgarantisStar span { height: 25px; background-size: 94px 25px; }
body#product #al-pp #agWidgetH .al-pp__note { color: var(--al-ink); font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
body#product #al-pp #agWidgetH .agBt {
	display: inline;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	color: var(--al-link) !important;
	font: 400 14.5px/1.2 var(--al-font) !important;
	letter-spacing: 0;
	text-transform: none;
	vertical-align: baseline !important;
}
body#product #al-pp #agWidgetH .reviewGlobal:hover .agBt { color: #c45226 !important; text-decoration: underline !important; }
body#product #al-pp #agWidgetH .logoAg { display: none; }

/* ---------------- Galerie ---------------- */
#al-pp .al-pp__media { position: relative; float: none; width: auto; margin: 14px 0 0; padding: 0; }
#al-pp #image-block {
	position: relative;
	float: none;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 18px;
	background: var(--al-media);
	box-shadow: none !important;
	overflow: hidden;
}
#al-pp #view_full_size { position: relative; display: block; aspect-ratio: 1 / 1; padding: 6%; cursor: zoom-in; }
#al-pp #bigpic {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0 !important;
	padding: 0;
	border: 0 !important;
	object-fit: contain;
	mix-blend-mode: multiply;
}
/* Ruban promo d'origine (bandeau BLACK WEEK du theme, image 110 px) */
/* etiquette d'operation (texte et fond donnes par le bloc <style> de product.tpl) : pastille en haut a gauche, comme les listes */
#al-pp .view_full_size_prom:before {
	position: absolute;
	top: 14px !important;
	right: auto !important;
	bottom: auto !important;
	left: 14px !important;
	z-index: 6;
	width: auto !important;
	height: 26px !important;
	margin: 0 !important;
	padding: 0 11px;
	border-radius: 7px;
	background-image: none !important;
	color: #fff;
	font: 700 11.5px/26px var(--al-font);
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: 1 !important;
	pointer-events: none;
}
#al-pp .al-pp__zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 2px 8px rgba(18, 25, 29, .14);
	color: var(--al-ink);
	opacity: 0;
	transition: opacity .2s ease;
	pointer-events: none;
}
#al-pp .al-pp__zoom svg { width: 20px; height: 20px; }
#al-pp #image-block:hover .al-pp__zoom { opacity: 1; }
#al-pp .resetimg { margin: 6px 0 0; font-size: 13px; }
#al-pp .resetimg img { display: none; }
#al-pp #usefull_link_block { margin: 8px 0 0; padding: 0; list-style: none; border: 0; }
#al-pp #usefull_link_block:empty { display: none; }
#al-pp #usefull_link_block li { float: none; margin: 0 0 6px; padding: 0; background: none; font-size: 14px; }

/* Vignettes (product.js : survol = changement d'image, clic = zoom fancybox) */
#al-pp #views_block { float: none; width: auto; height: auto; margin: 12px 0 0; padding: 0; border: 0; }
#al-pp #view_scroll_left, #al-pp #view_scroll_right, #al-pp .view_scroll_spacer { display: none !important; }
#al-pp #thumbs_list { float: none; width: auto !important; height: auto; margin: 0; overflow: auto; scrollbar-width: thin; }
#al-pp #thumbs_list ul#thumbs_list_frame { display: flex; gap: 8px; width: auto !important; height: auto; margin: 0; padding: 2px; list-style: none; }
#al-pp #thumbs_list li {
	flex: 0 0 64px;
	float: none;
	width: 64px;
	height: 64px;
	margin: 0 !important;
	padding: 0;
	border: 0 !important;
	background: none;
}
#al-pp #thumbs_list li a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 5px;
	border: 1px solid var(--al-line);
	border-radius: 12px;
	background: var(--al-media);
	transition: border-color .15s ease, box-shadow .15s ease;
}
#al-pp #thumbs_list li a img { display: block; width: 100% !important; height: 100% !important; border: 0; object-fit: contain; mix-blend-mode: multiply; }
#al-pp #thumbs_list li a:hover { border-color: #9aa6ab; }
#al-pp #thumbs_list li a.shown { border-color: var(--al-ink); box-shadow: inset 0 0 0 1px var(--al-ink); }

@media screen and (min-width: 551px) {
	#al-pp .al-pp__media { margin-top: 0; }
}

/* Mobile : galerie pleine largeur, balayage + points (js/pages/product.js), vignettes masquees */
#al-pp .al-dots { display: none; }
@media screen and (max-width: 550px) {
	#al-pp .al-pp__media { margin: 12px -16px 0; }
	#al-pp #image-block { border-radius: 0; touch-action: pan-y; }
	#al-pp #view_full_size { padding: 7%; }
	#al-pp .view_full_size_prom:before { top: 12px !important; left: 23px !important; height: 24px !important; padding: 0 9px; font-size: 10.5px; line-height: 24px; }
	#al-pp .al-pp__zoom { opacity: .9; right: 14px; bottom: 14px; width: 36px; height: 36px; }
	#al-pp #views_block { display: none !important; }
	#al-pp .al-dots { display: flex; justify-content: center; gap: 7px; position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; pointer-events: none; }
	#al-pp .al-dots i { display: block; width: 7px; height: 7px; border-radius: 999px; background: rgba(18, 25, 29, .22); transition: background-color .2s ease, transform .2s ease; }
	#al-pp .al-dots i.is-on { background: var(--al-ink); transform: scale(1.25); }
	#al-pp .resetimg, #al-pp #usefull_link_block { padding: 0 16px; }
}

/* ---------------- Infos : description courte, pack, legislation ---------------- */
#al-pp .al-pp__info { margin-top: 18px; }
#al-pp .al-pp__short, #al-pp .al-pp__short * { text-align: left !important; }
#al-pp .al-pp__short { margin: 0; padding: 0; color: var(--al-text); font-size: 15px; line-height: 1.6; }
#al-pp .al-pp__short h2 { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit !important; font-size: 15px !important; line-height: 1.6 !important; text-transform: none; height: auto; }
#al-pp .al-pp__short h2 *, #al-pp .al-pp__short p, #al-pp .al-pp__short li { line-height: 1.6 !important; }
#al-pp .al-pp__short h2:before, #al-pp .al-pp__short h2:after { content: none !important; display: none !important; }
#al-pp .al-pp__short p { margin: 0 0 8px; padding: 0; font-size: 15px; line-height: 1.6; color: inherit; }
#al-pp .al-pp__short ul { margin: 0 0 8px 18px; padding: 0; list-style: disc; }
#al-pp .al-pp__more { margin: 4px 0 0; padding: 0; text-align: left !important; }
#al-pp .al-pp__more a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; color: var(--al-link); font-size: 14.5px; font-weight: 600; text-decoration: none; }
#al-pp .al-pp__more a:hover { color: #c45226; text-decoration: underline; }
#al-pp .al-pp__more svg { width: 16px; height: 16px; }

#al-pp .al-pp__pack { margin: 20px 0 0; padding: 16px; border: 1px solid var(--al-line); border-radius: 16px; background: #fff; }
#al-pp .al-pp__pack, #al-pp .al-pp__pack * { text-align: left !important; }
body#product #al-pp h2.al-pp__pack-title { display: flex; align-items: baseline; gap: 8px; height: auto; margin: 0 0 12px; padding: 0; border: 0; background: none; color: var(--al-ink); font: 700 16px/1.3 var(--al-font); letter-spacing: 0; text-transform: none; }
body#product #al-pp h2.al-pp__pack-title:before, body#product #al-pp h2.al-pp__pack-title:after { content: none; display: none; }
body#product #al-pp .al-pp__pack-title span { margin: 0; padding: 0; color: var(--al-muted); font-size: 13.5px; font-style: normal; font-weight: 400; }
#al-pp .al-pack { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
#al-pp .al-pack__i { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; margin: 0; padding: 0; background: none; border: 0; }
#al-pp .al-pack__media { flex: 0 0 64px; width: 64px; height: 64px; padding: 4px; border-radius: 12px; background: var(--al-media); }
#al-pp .al-pack__media img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
#al-pp .al-pack__q { position: absolute; left: 44px; top: -4px; min-width: 26px; height: 22px; padding: 0 6px; border: 2px solid #fff; border-radius: 999px; background: var(--al-ink); color: #fff; font: 700 11.5px/18px var(--al-font); text-align: center !important; font-variant-numeric: tabular-nums; }
#al-pp .al-pack__name { flex: 1 1 auto; min-width: 0; color: var(--al-ink); font-size: 14.5px; line-height: 1.4; text-decoration: none; white-space: pre-line; }
#al-pp a.al-pack__name:hover { color: #c45226; text-decoration: underline; }

/* Encart legislation repliable (piste A, 24/11) : ferme = une ligne bien visible ; ouvert = texte + pieces numerotees */
#al-pp .categoryMsg.al-legal { --lg-tint: #eaf4f6; --lg-line: #c7e0e5; --lg-ico: #284753; --lg-pill: #e61e27;
	position: relative; margin: 0 0 16px; padding: 0; border: 1px solid var(--lg-line); border-radius: 16px; background: var(--lg-tint); color: var(--al-text); font-size: 14px; line-height: 1.5; text-align: left; overflow: hidden; transition: background-color .25s ease, box-shadow .25s ease; }
#al-pp .categoryMsg.al-legal:before { content: none; display: none; }
#al-pp .categoryMsg.al-legal.al-legal--libre { --lg-tint: #ecf7ef; --lg-line: #cbe6d3; --lg-ico: #1e7a3c; --lg-pill: #1e7a3c; }
#al-pp .al-legal.is-open { background: #fff; box-shadow: 0 1px 2px rgba(18, 25, 29, .06), 0 6px 18px rgba(18, 25, 29, .07); }
#al-pp .al-legal__bar { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; margin: 0; padding: 12px 14px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#al-pp .al-legal__bar:focus-visible { outline: 3px solid #24619c; outline-offset: -3px; border-radius: 16px; }
/* lettre de categorie dans le carre (C, C3, C12, D), petit « Cat. » au-dessus */
#al-pp .al-legal__ico { display: inline-flex; flex: 0 0 44px; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lg-ico); color: #fff; font: 800 22px/1 var(--al-font); letter-spacing: -.02em; }
#al-pp .al-legal__ico small { margin-bottom: 1px; color: rgba(255, 255, 255, .72); font: 700 8.5px/1 var(--al-font); letter-spacing: .1em; text-transform: uppercase; }
#al-pp .al-legal__ico--long { font-size: 17px; }
#al-pp .al-legal__t { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
#al-pp .al-legal__l1 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
#al-pp .al-legal__l1 b { color: var(--al-ink); font-size: 15.5px; font-weight: 700; line-height: 1.3; }
#al-pp .al-legal__pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--lg-pill); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
#al-pp .al-legal__l2 { color: #3d5a63; font-size: 13px; font-weight: 600; }
#al-pp .al-legal__btn { display: inline-flex; flex: 0 0 36px; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(18, 25, 29, .12); color: var(--al-ink); transition: transform .3s cubic-bezier(.22, .8, .24, 1), background-color .2s; }
#al-pp .al-legal__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
#al-pp .al-legal__bar:hover .al-legal__btn { background: var(--al-yellow); }
#al-pp .al-legal--libre .al-legal__bar:hover .al-legal__btn { background: #c2e3cb; } /* vente libre : vert (comme les categories) */
#al-pp .al-legal.is-open .al-legal__btn { transform: rotate(180deg); background: var(--al-bg); box-shadow: none; }
#al-pp .al-legal__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.22, .8, .24, 1); }
#al-pp .al-legal.is-open .al-legal__body { grid-template-rows: 1fr; }
#al-pp .al-legal__in { min-height: 0; overflow: hidden; padding: 0 16px; opacity: 0; transition: opacity .25s ease, padding .35s; }
#al-pp .al-legal.is-open .al-legal__in { padding: 0 16px 16px; opacity: 1; }
#al-pp .al-legal__p { margin: 0 0 12px; padding: 0; color: var(--al-text); font-size: 14px; line-height: 1.55; }
#al-pp .al-legal #docList { display: block !important; margin: 0; padding: 0; border: 0; }
#al-pp .al-legal__lt { margin: 0 0 8px; padding: 0; color: var(--al-muted); font: 700 11.5px/1.3 var(--al-font); letter-spacing: .12em; text-transform: uppercase; }
#al-pp .al-legal__docs ul { margin: 4px 0 0 18px; padding: 0; list-style: disc; }
#al-pp .al-legal__docs li { margin: 0 0 2px; padding: 0; background: none; }
#al-pp .al-legal a { color: var(--al-link); font-weight: 600; }
#al-pp ol.al-legal__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
#al-pp ol.al-legal__steps > li { position: relative; display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 14px 12px 12px; border: 1px solid var(--al-line); border-radius: 12px; background: #fff; }
#al-pp ol.al-legal__steps > li.is-choice { grid-column: 1 / -1; }
#al-pp ol.al-legal__steps .n { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #eef0f1; color: var(--al-ink); font-size: 11px; font-weight: 800; }
#al-pp ol.al-legal__steps svg { width: 26px; height: 26px; margin-bottom: 4px; fill: none; stroke: #284753; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
#al-pp ol.al-legal__steps b { padding-right: 24px; color: var(--al-ink); font-size: 13.5px; line-height: 1.3; }
#al-pp ol.al-legal__steps small { color: var(--al-muted); font-size: 12.5px; line-height: 1.4; }
#al-pp ul.al-legal__or { display: grid; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
#al-pp ul.al-legal__or li { position: relative; margin: 0; padding: 8px 10px 8px 30px; border-radius: 10px; background: var(--al-bg); color: var(--al-text); font-size: 13px; line-height: 1.45; }
#al-pp ul.al-legal__or li:before { content: ""; position: absolute; left: 11px; top: 14px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid #284753; }
#al-pp .al-legal__help { margin: 12px 0 0; padding: 0; color: var(--al-muted); font-size: 12.5px; line-height: 1.5; }
#al-pp .categoryMsg.al-legal.is-flash { animation: al-pp-flash 1.2s ease; }
@keyframes al-pp-flash { 0%, 60% { box-shadow: 0 0 0 4px rgba(0, 113, 133, .25); } 100% { box-shadow: 0 0 0 0 rgba(0, 113, 133, 0); } }
@media screen and (max-width: 550px) {
	#al-pp .al-legal__bar { min-height: 60px; padding: 10px 12px; gap: 10px; }
	#al-pp .al-legal__ico { flex-basis: 42px; width: 42px; height: 42px; }
	#al-pp ol.al-legal__steps { grid-template-columns: minmax(0, 1fr); }
	#al-pp ol.al-legal__steps > li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 12px; }
	#al-pp ol.al-legal__steps > li svg { grid-row: 1 / span 2; margin: 0; }
	#al-pp ol.al-legal__steps > li.is-choice { align-items: start; }
	#al-pp ol.al-legal__steps > li.is-choice svg { grid-row: 1; }
	#al-pp ol.al-legal__steps > li.is-choice > ul { grid-column: 1 / -1; }
	#al-pp ol.al-legal__steps > li > small, #al-pp ol.al-legal__steps > li > ul { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { #al-pp .al-legal, #al-pp .al-legal__btn, #al-pp .al-legal__body, #al-pp .al-legal__in { transition: none; } }

/* ---------------- Bloc d'achat ---------------- */
#al-pp #pb-left-column { float: none; width: auto; margin: 0; padding: 0; }
#al-pp #short_description_block { float: none; width: auto; height: auto; margin: 0; padding: 0; border: 0; background: none; }
body#product #al-pp #buy_block.al-buy { float: none; width: auto; margin: 18px 0 0 !important; padding: 0; border: 0; background: none; box-shadow: none; text-align: left; }
@media screen and (min-width: 551px) {
	body#product #al-pp #buy_block.al-buy { margin-top: 18px !important; padding: 20px !important; border: 1px solid var(--al-line) !important; border-radius: 16px; background: #fff !important; box-shadow: var(--al-shadow-card) !important; }
}
@media screen and (min-width: 992px) {
	body#product #al-pp #buy_block.al-buy { margin-top: 0 !important; }
}
#al-pp #buy_block p { margin: 0; padding: 0; text-align: left; }
#al-pp #buy_block label { float: none; width: auto; margin: 0; padding: 0; color: var(--al-ink); font: 600 13.5px/1.3 var(--al-font); text-align: left; }

/* Prix */
#al-pp .al-buy__prices { display: flow-root; margin: 0; padding: 0; border: 0; background: none; text-align: left; }
body#product #al-pp .al-buy__prices > *, body#product #al-pp .al-buy__price > *, body#product #al-pp #buy_block .al-buy__stock > * { float: none !important; }
body#product #al-pp .al-buy__attrs, body#product #al-pp .al-buy__stock { display: flow-root; }
#al-pp .al-buy__prices:before, #al-pp .al-buy__prices:after { content: none; display: none; }
#al-pp .al-buy__price { float: none; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; padding: 0; border: 0; background: none; text-align: left; }
#al-pp .al-buy__price .discount { display: none; }
#al-pp .al-buy__price .on_sale { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--al-red); color: #fff; font: 700 12px/1 var(--al-font); }
#al-pp .al-buy__now { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
#al-pp .al-buy__pct[hidden] { display: none !important; }
#al-pp .al-buy__pct { height: 28px; padding: 0 11px; font-size: 14px; font-variant-numeric: tabular-nums; }
body#product #al-pp p.our_price_display { float: none; margin: 0; padding: 0; border: 0; background: none; line-height: 1.1; text-align: left; }
body#product #al-pp #our_price_display {
	display: inline;
	margin: 0;
	padding: 0;
	background: none;
	color: var(--al-ink) !important;
	font: 700 32px/1.1 var(--al-font) !important;
	letter-spacing: -.01em;
	font-variant-numeric: tabular-nums;
	text-shadow: none;
}
body#product #al-pp p.our_price_display .al-ttc { margin: 0 0 0 6px; color: var(--al-ink); font: 700 15px/1 var(--al-font); letter-spacing: 0; }
body#product #al-pp #our_price_display span:not(.al-ttc) { margin-top: 2px; color: var(--al-muted); font-size: 13.5px !important; font-weight: 600; }
#al-pp #pretaxe_price { color: var(--al-muted); font-size: 13px; }
body#product #al-pp #buy_block p#old_price { display: block; margin: 6px 0 0 !important; padding: 0; color: var(--al-muted); font: 400 13.5px/1.35 var(--al-font) !important; text-align: left; text-decoration: none !important; }
body#product #al-pp #old_price .bold { font-weight: 400; }
body#product #al-pp #old_price_display { color: var(--al-muted); font-size: 13.5px; text-decoration: line-through; font-variant-numeric: tabular-nums; }
#al-pp .al-buy__was-label { margin-right: 2px; }
/* montant de remise (-x,xx EUR) : redondant avec la pastille -x % (meme info) */
body#product #al-pp #reduction_amount { display: none !important; }
#al-pp #reduction_amount_display, #al-pp #reduction_percent_display { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--al-red); color: #fff; font: 700 12.5px/1 var(--al-font); }
#al-pp #reduction_percent { margin: 6px 0 0 !important; }
#al-pp .price-ecotax, #al-pp .unit-price, #al-pp .online_only { margin: 6px 0 0 !important; color: var(--al-muted); font-size: 13px; }
#al-pp .online_only { color: var(--al-red-deep); font-weight: 700; }

/* Disponibilite */
#al-pp .al-buy__stock { margin: 10px 0 0; }
html body#product #al-pp div.availability[style*="1883ff"] { justify-content: flex-start; margin: 0; padding: 4px 0 !important; font-size: 17px !important; letter-spacing: -.01em !important; text-align: left !important; }
#al-pp #availability_statut { margin: 4px 0 0 !important; font-size: 14.5px; line-height: 1.4; }
#al-pp #availability_label { color: var(--al-muted); }
#al-pp #availability_value { color: var(--al-ink); font-weight: 700; background: none; border: 0; padding: 0; }
#al-pp #availability_value.warning_inline { color: var(--al-red-deep); }
#al-pp #availability_date { margin: 4px 0 0 !important; font-size: 14px; color: var(--al-muted); }
#al-pp #availability_date_value { color: var(--al-ink); font-weight: 700; }
#al-pp #pQuantityAvailable { margin: 4px 0 0 !important; color: var(--al-muted); font-size: 13.5px; }
body#product #al-pp #last_quantities { margin: 8px 0 0 !important; padding: 6px 10px !important; border: 0; border-radius: 10px; background: #fff6dc; color: #6b4a00; font-size: 13px; font-weight: 700; line-height: 1.35; }
#al-pp .al-buy__replace { margin: 12px 0 0; padding: 14px 16px; border: 1px solid #c98a00; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 4px #fffaf0; color: var(--al-ink); font-size: 14.5px; line-height: 1.5; }
#al-pp .al-buy__replace a { color: var(--al-ink); font-weight: 700; text-decoration: underline; }

/* Rupture : alerte de disponibilite (mailalerts) et precommande (bestkit_preorder) */
#al-pp #oosHook { margin: 12px 0 0; }
#al-pp #oosHook:empty { display: none !important; }
body#product #al-pp #oosHook input#oos_customer_email {
	display: block;
	width: 100%;
	max-width: none;
	height: 48px;
	min-height: 48px;
	margin: 0 0 8px;
	padding: 0 14px;
	border: 1px solid #c9d1d5;
	border-radius: 10px;
	background: #fff;
	color: var(--al-ink);
	font: 400 15px/1.2 var(--al-font);
}
#al-pp #oosHook br { display: none; }
body#product #al-pp #oosHook a#mailalert_link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin: 0;
	padding: 8px 18px;
	border: 1px solid var(--al-night);
	border-radius: 999px;
	background: var(--al-night);
	color: #fff !important;
	font: 700 14.5px/1.25 var(--al-font);
	text-align: center;
	text-decoration: none !important;
}
body#product #al-pp #oosHook a#mailalert_link:hover { background: var(--al-night-2); }
#al-pp #oos_customer_email_result { display: block; margin: 8px 0 0; font-size: 14px; font-weight: 600; }
#al-pp .precoMsg { display: block; margin: 0 0 10px; padding: 12px 14px; border: 1px solid #c98a00; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 4px #fffaf0; color: var(--al-ink); font-size: 14px; }
#al-pp .defaultCountdown { width: auto; height: auto; }

/* Declinaisons : pastilles (construites par js/pages/product.js a partir du <select> d'origine, qui reste la source) */
#al-pp .al-buy__attrs { margin: 0; padding: 0; }
#al-pp .al-buy__attrs:empty { display: none; }
#al-pp #attributes { margin: 14px 0 0 !important; padding: 0; }
#al-pp #degressive { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--al-bg); color: var(--al-ink); font-size: 13.5px; font-weight: 700; }
#al-pp #degressive #attributes { margin: 8px 0 0 !important; }
#al-pp .attribute_fieldset { margin: 0 0 12px; padding: 0; border: 0; }
#al-pp .attribute_fieldset:last-child { margin-bottom: 0; }
body#product #al-pp #buy_block .attribute_label { display: block; margin: 0 0 8px !important; color: var(--al-muted); font-size: 13.5px; font-weight: 600; }
#al-pp .attribute_label .al-attr-val { color: var(--al-ink); font-weight: 700; }
#al-pp .attribute_list { float: none; width: auto; margin: 0; padding: 0; }
body#product #al-pp .attribute_list select { width: 100%; }
#al-pp .attribute_list select.al-sr-select { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
#al-pp .al-opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
#al-pp .al-opt {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid #c9d1d5;
	border-radius: 999px;
	background: #fff;
	color: var(--al-ink);
	font: 600 14px/1.2 var(--al-font);
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
	-webkit-tap-highlight-color: transparent;
}
#al-pp .al-opt:hover { border-color: #9aa6ab; }
#al-pp .al-opt.is-on { border-color: var(--al-ink); box-shadow: inset 0 0 0 1px var(--al-ink); background: #fffbe0; }
#al-pp .al-opt.is-out { border-color: #dfe4e7; background: #f7f8f9; color: #8a969c; }
#al-pp .al-opt.is-out span { text-decoration: line-through; text-decoration-color: rgba(95, 108, 115, .6); }
#al-pp .al-opt.is-out.is-on { border-color: var(--al-muted); box-shadow: inset 0 0 0 1px var(--al-muted); background: #f2f4f5; color: var(--al-text); }
#al-pp #color_to_pick_list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
#al-pp #color_to_pick_list li { float: none; margin: 0; padding: 2px; border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--al-line); }
#al-pp #color_to_pick_list li.selected { box-shadow: inset 0 0 0 2px var(--al-ink); }
#al-pp #color_to_pick_list a.color_pick { display: block; width: 36px; height: 36px; margin: 0; border: 2px solid #fff; border-radius: 999px; overflow: hidden; cursor: pointer; }
#al-pp #color_to_pick_list a.color_pick img { width: 100%; height: 100%; object-fit: cover; }
#al-pp .attribute_list input.attribute_radio { margin: 0 6px 0 0; accent-color: var(--al-ink); vertical-align: middle; }
#al-pp .attribute_list input.attribute_radio + span { display: inline-block; margin: 0 14px 8px 0; color: var(--al-ink); font-size: 14.5px; vertical-align: middle; }
#al-pp .attribute_list input.attribute_radio + span + br { display: none; }
#al-pp #minimal_quantity_wanted_p { margin: 12px 0 0 !important; padding: 10px 12px !important; border-radius: 10px; background: var(--al-bg); color: var(--al-text); font-size: 13.5px; }

/* Quantite + Ajouter au panier */
#al-pp .al-buy__cta { display: flex; align-items: stretch; gap: 10px; margin: 16px 0 0; }
/* colonne d'achat etroite (PC) : quantite au-dessus, bouton pleine largeur */
@media screen and (min-width: 551px) {
	#al-pp .al-buy__cta { flex-direction: column; gap: 12px; }
	body#product #al-pp #buy_block #quantity_wanted_p { align-self: flex-start; gap: 10px; }
	body#product #al-pp #buy_block #quantity_wanted_p > label { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; color: var(--al-muted); font-weight: 600; }
}
body#product #al-pp #buy_block #quantity_wanted_p { display: flex; flex: 0 0 auto; align-items: center; margin: 0 !important; padding: 0 !important; border: 0; background: none; }
body#product #al-pp #buy_block #quantity_wanted_p > label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#al-pp .al-qty { display: inline-flex; align-items: center; height: 52px; border: 1px solid #c9d1d5; border-radius: 999px; background: #fff; overflow: hidden; }
#al-pp .al-qty__b {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--al-ink);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
#al-pp .al-qty__b svg { width: 18px; height: 18px; }
#al-pp .al-qty__b:active { background: var(--al-bg); }
#al-pp .al-qty__b[disabled] { color: #b8c1c5; cursor: default; }
body#product #al-pp .al-qty input#quantity_wanted {
	width: 36px !important;
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: var(--al-ink);
	font: 700 17px/1 var(--al-font) !important;
	text-align: center;
	font-variant-numeric: tabular-nums;
	-moz-appearance: textfield;
}
#al-pp .al-qty input#quantity_wanted::-webkit-outer-spin-button,
#al-pp .al-qty input#quantity_wanted::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
body#product #al-pp #buy_block p#add_to_cart { flex: 1 1 auto; display: block; min-width: 0; margin: 0 !important; padding: 0 !important; border: 0; background: none; }
#al-pp #add_to_cart > span { display: none; }
body#product #al-pp #add_to_cart input.addtocartbutton,
body#product #al-pp #add_to_cart input.addtocartbutton_disabled {
	display: block;
	width: 100% !important;
	height: 52px !important;
	min-height: 52px;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 1px solid var(--al-yellow) !important;
	border-radius: 999px !important;
	background: var(--al-yellow) !important;
	box-shadow: 0 2px 5px rgba(213, 180, 0, .35) !important;
	color: var(--al-ink) !important;
	font: 700 16.5px/1 var(--al-font) !important;
	text-align: center;
	text-shadow: none !important;
	text-transform: none !important;
	cursor: pointer;
	-webkit-appearance: none;
	transition: background-color .15s ease, transform .15s ease;
}
body#product #al-pp #add_to_cart input.addtocartbutton:hover { background: var(--al-yellow-hover) !important; border-color: var(--al-yellow-hover) !important; }
body#product #al-pp #add_to_cart input.addtocartbutton:active { transform: translateY(1px); }
body#product #al-pp #add_to_cart input.addtocartbutton_disabled { opacity: .6; cursor: progress; }
body#product #al-pp #add_to_cart.al-added input { background: var(--al-yellow) !important; border-color: #f9d10c !important; color: var(--al-ink) !important; } /* reste jaune (demande Nicolas 24/11) */
body#product #al-pp #buy_block span.exclusive.al-buy__off {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	height: 52px;
	margin: 0;
	padding: 0 18px;
	border: 1px dashed #c9d1d5;
	border-radius: 999px;
	background: var(--al-bg) !important;
	box-shadow: none !important;
	color: var(--al-muted) !important;
	font: 700 15px/1 var(--al-font);
	text-shadow: none;
	cursor: default;
}
#al-pp .al-buy__off > span { display: none; }

/* Reassurance (hook productActions : nkmdeliverydate + Paiement securise) */
body#product #al-pp ul#reassuranceProduit.al-rea { display: flex; flex-direction: column; gap: 10px; float: none; width: auto; margin: 16px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--al-line); background: none; list-style: none; text-align: left; }
body#product #al-pp ul#reassuranceProduit.al-rea li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--al-text);
	font: 400 14px/1.4 var(--al-font);
	text-align: left;
	list-style: none;
}
body#product #al-pp ul#reassuranceProduit.al-rea li:before { content: none; display: none; }
#al-pp .al-rea__i svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 0; color: var(--al-muted); }
#al-pp .al-rea__i--ship { color: var(--al-success) !important; font-size: 15px !important; font-weight: 700 !important; } /* ligne de livraison entierement verte (demande Nicolas) */
#al-pp .al-rea__i--ship svg { color: var(--al-success); }
#al-pp .al-rea__i--ship .estimated_delivery_date_value { color: var(--al-success); font-weight: 700; }
body#product #al-pp #reassuranceProduit #productSatisfait { display: block; margin: 2px 0 0 !important; padding: 0; color: var(--al-muted); font-size: 13px; font-weight: 400; }

#al-pp #product_reference { margin: 12px 0 0 !important; color: var(--al-muted); font-size: 12.5px; }
body#product #al-pp #buy_block #product_reference label { color: var(--al-muted); font-size: 12.5px; font-weight: 400; }

/* ---------------- Sections sous la fiche ---------------- */
#al-pp .al-sec-title {
	position: static;
	height: auto;
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--al-ink);
	font: 700 22px/1.25 var(--al-font);
	letter-spacing: -.01em;
	text-align: left;
	text-transform: none;
}
#al-pp .al-sec-title:before, #al-pp .al-sec-title:after { content: none !important; display: none !important; }
#al-pp .al-pp__sec, #al-pp .al-pp__footer, #al-pp #more_info_block { margin: 40px 0 0; padding: 0; border: 0; background: none; }
#al-pp .al-pp__footer:empty { display: none; }
@media screen and (max-width: 550px) {
	#al-pp .al-sec-title { font-size: 20px; }
	#al-pp .al-pp__sec, #al-pp .al-pp__footer, #al-pp #more_info_block { margin-top: 32px; }
}

/* Prix degressifs */
#al-pp .al-pp__qd > .idTabs { margin: 0 0 10px; padding: 0; border: 0; list-style: none; }
#al-pp .al-pp__qd > .idTabs li { float: none; margin: 0; padding: 0; border: 0; background: none; }
#al-pp .al-pp__qd > .idTabs a { display: block; padding: 0; border: 0 !important; background: none !important; color: var(--al-ink) !important; font: 700 20px/1.25 var(--al-font); text-decoration: none; }
#al-pp #quantityDiscount { display: block !important; overflow-x: auto; }

/* Cartes produit (achetes ensemble, accessoires) : meme langage que l'accueil (sans cadre, visuel sur gris) */
#al-pp .al-pp-rowwrap { position: relative; }
#al-pp .al-pp-row {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 2px 2px 12px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 2px;
	scrollbar-width: thin;
	list-style: none;
	-webkit-overflow-scrolling: touch;
}
#al-pp .al-pp-card {
	position: relative;
	display: flex;
	flex: 0 0 196px;
	flex-direction: column;
	float: none;
	width: auto;
	height: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	scroll-snap-align: start;
	text-align: left;
}
#al-pp .al-pp-card__media { display: block; aspect-ratio: 1 / 1; padding: 12px; border-radius: 14px; background: var(--al-media); overflow: hidden; }
#al-pp .al-pp-card__media img { display: block; width: 100% !important; height: 100% !important; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
#al-pp .al-pp-card:hover .al-pp-card__media img { transform: scale(1.035); }
#al-pp .al-pp-card__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; padding: 10px 2px 4px; }
#al-pp .al-pp-card__title {
	display: -webkit-box;
	min-height: 2.7em;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin: 0;
	padding: 0;
	color: var(--al-ink) !important;
	font: 400 14px/1.35 var(--al-font);
	text-align: left;
	text-decoration: none;
}
#al-pp .al-pp-card__title:hover { color: #c45226 !important; text-decoration: underline; }
#al-pp .al-pp-card .price_display { display: block; margin: 0; padding: 0; }
body#product #al-pp .al-pp-card__price { display: block; margin: 0; padding: 0 !important; color: var(--al-ink) !important; font: 700 18px/1.2 var(--al-font) !important; font-variant-numeric: tabular-nums; text-align: left; }
#al-pp .al-pp-card__cta { margin: auto 0 0 !important; padding: 8px 0 0 !important; }
body#product #al-pp .al-pp-card__cta a.ajax_add_to_cart_button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 38px !important;
	height: 38px;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1px solid var(--al-yellow) !important;
	border-radius: 999px !important;
	background: var(--al-yellow) !important;
	box-shadow: none !important;
	color: var(--al-ink) !important;
	font: 600 14px/1 var(--al-font) !important;
	text-decoration: none !important;
}
body#product #al-pp .al-pp-card__cta a.ajax_add_to_cart_button:hover { background: var(--al-yellow-hover) !important; }
#al-pp .al-pp-arrow {
	position: absolute;
	top: calc((196px - 44px) / 2);
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--al-line);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(18, 25, 29, .12);
	color: var(--al-ink);
	cursor: pointer;
}
#al-pp .al-pp-arrow svg { width: 20px; height: 20px; }
#al-pp .al-pp-arrow--prev { left: -14px; }
#al-pp .al-pp-arrow--next { right: -14px; }
#al-pp .al-pp-arrow[disabled] { opacity: 0; pointer-events: none; }
@media (hover: hover) and (min-width: 551px) { #al-pp .al-pp-rowwrap.is-scrollable .al-pp-arrow { display: flex; } }
@media screen and (max-width: 550px) {
	#al-pp .al-pp-row { gap: 10px; margin: 0 -16px; padding: 2px 16px 12px; scroll-padding: 0 16px; }
	#al-pp .al-pp-card { flex-basis: 44%; }
	#al-pp .al-pp-card__media { padding: 8px; }
	#al-pp .al-pp-card__title { font-size: 13.5px; }
	#al-pp .al-pp-card__price { font-size: 17px !important; }
}
/* Module crossselling : neutralise l'habillage d'origine */
body#product #al-pp #crossselling { float: none; width: auto; height: auto; margin-left: 0; margin-right: 0; padding: 0; border: 0; background: none; text-align: left; }
body#product #al-pp #crossselling_list { float: none; width: auto !important; height: auto; margin: 0; padding: 0; overflow: visible; }

/* Sommaire : onglets d'origine (idTabs, resp7.js, steavisgarantis) conserves mais masques ; remplaces par .al-pp-toc
   (construit par js/pages/product.js, libelles stables, aligne sur la grille, affiche s'il y a au moins 3 sections) */
body#product #al-pp #more_info_block.al-toc-done ul#more_info_tabs { display: none !important; }
body#product #al-pp ul#more_info_tabs { display: flex; flex-wrap: wrap; gap: 8px; height: auto !important; margin: 0 0 24px !important; padding: 0 !important; border: 0 !important; background: none !important; list-style: none; }
body#product #al-pp ul#more_info_tabs li { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
body#product #al-pp ul#more_info_tabs li a .glyphicon { display: none; }
#al-pp .al-pp-toc { display: flex; gap: 8px; margin: 0 0 28px; padding: 0; overflow-x: auto; scrollbar-width: none; }
#al-pp .al-pp-toc::-webkit-scrollbar { display: none; }
#al-pp .al-pp-toc a {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	height: 40px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid #c9d1d5;
	border-radius: 999px;
	background: #fff;
	color: var(--al-ink);
	font: 600 14px/1 var(--al-font);
	text-decoration: none;
	white-space: nowrap;
	transition: border-color .15s ease, background-color .15s ease;
}
#al-pp .al-pp-toc a:hover { border-color: #9aa6ab; background: var(--al-bg); color: var(--al-ink); }
#al-pp .al-pp-toc a span { color: var(--al-muted); font-weight: 400; font-variant-numeric: tabular-nums; }
@media screen and (max-width: 550px) {
	#al-pp .al-pp-toc { margin: 0 -16px 24px; padding: 0 16px; scroll-padding: 0 16px; }
}

/* Sections du sommaire : toujours affichees (idTabs pose block_hidden_only_for_screen sur les autres onglets) */
body#product #al-pp #more_info_sheets { margin: 0; padding: 0; border: 0; background: none; text-align: left; }
body#product #al-pp #more_info_sheets > .block_hidden_only_for_screen,
body#product #al-pp #more_info_sheets > #ag-s { display: block !important; }
body#product #al-pp #more_info_sheets > * + .al-sec-title { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--al-line); }
body#product #al-pp #more_info_sheets > br { display: none; }

/* Description complete */
#al-pp .al-pp__desc { position: relative; max-width: 860px; margin: 0; padding: 0; color: var(--al-text); font-size: 15.5px; line-height: 1.65; text-align: left; }
#al-pp .al-pp__desc, #al-pp .al-pp__desc p, #al-pp .al-pp__desc div, #al-pp .al-pp__desc li { text-align: left !important; }
#al-pp .al-pp__desc p, #al-pp .al-pp__desc div { margin: 0 0 10px; padding: 0; font-size: 15.5px !important; line-height: 1.65 !important; color: inherit; }
#al-pp .al-pp__desc li, #al-pp .al-pp__desc span { font-size: 15.5px !important; }
#al-pp .al-pp__desc ul, #al-pp .al-pp__desc ol { margin: 0 0 14px 20px; padding: 0; list-style: disc; }
#al-pp .al-pp__desc ol { list-style: decimal; }
#al-pp .al-pp__desc li { margin: 0 0 4px; padding: 0; background: none; font-size: inherit; line-height: 1.5; border: 0; }
#al-pp .al-pp__desc strong { color: var(--al-ink); }
#al-pp .al-pp__desc img { height: auto; border-radius: 10px; }
#al-pp .al-pp__desc iframe { display: block; width: 100% !important; max-width: 100%; height: auto !important; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
#al-pp .al-pp__desc table { max-width: 100%; }
#al-pp .al-pp__desc .productDesc { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--al-bg); }
#al-pp .al-pp__desc .productDesc ul.pack_content { margin: 0; list-style: none; }
#al-pp .al-pp__desc.is-clamped { max-height: 420px; overflow: hidden; }
#al-pp .al-pp__desc.is-clamped:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
#al-pp .al-more-btn { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; }
#al-pp .al-more-btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
#al-pp .al-more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Caracteristiques */
body#product #al-pp ul#idTab2.al-pp__feat { max-width: 860px; margin: 0; padding: 0; border: 1px solid var(--al-line); border-radius: 14px; list-style: none; overflow: hidden; }
body#product #al-pp ul#idTab2.al-pp__feat li {
	display: grid;
	grid-template-columns: minmax(120px, 38%) minmax(0, 1fr);
	gap: 12px;
	margin: 0;
	padding: 12px 16px;
	border: 0;
	background: none;
	color: var(--al-ink);
	font-size: 14.5px;
	line-height: 1.45;
}
body#product #al-pp ul#idTab2.al-pp__feat li:nth-child(odd) { background: #f7f8f9; }
body#product #al-pp ul#idTab2.al-pp__feat li span { color: var(--al-muted); font-weight: 600; }

/* Documents a telecharger */
body#product #al-pp ul#idTab9.al-pp__files { display: grid; gap: 8px; max-width: 860px; margin: 0; padding: 0; list-style: none; }
body#product #al-pp ul#idTab9.al-pp__files li { margin: 0; padding: 12px 14px; border: 1px solid var(--al-line); border-radius: 12px; background: #fff; color: var(--al-muted); font-size: 13.5px; }
body#product #al-pp ul#idTab9.al-pp__files li br { display: block; content: ""; margin: 2px 0; }
body#product #al-pp ul#idTab9.al-pp__files a { display: inline-flex; align-items: center; gap: 8px; color: var(--al-link); font-size: 15px; font-weight: 600; }
body#product #al-pp ul#idTab9.al-pp__files a svg { width: 20px; height: 20px; flex: 0 0 20px; }

/* Accessoires */
body#product #al-pp #idTab4 { margin: 0; padding: 0; list-style: none; }
body#product #al-pp #idTab4 .accessories_block { float: none; width: auto; margin: 0; padding: 0; border: 0; background: none; }
body#product #al-pp #idTab4 .block_content { margin: 0; padding: 0; border: 0; background: none; }

/* Personnalisation */
#al-pp #idTab10 { max-width: 860px; }
#al-pp #idTab10 .customizationUploadLine { margin: 0 0 12px; padding: 0; background: none; border: 0; }

/* Avis clients (module steavisgarantis : #ag-s) — synthese (note, repartition des etoiles, certificat) + liste */
body#product #al-pp #ag-s { margin: 0; padding: 0; }
body#product #al-pp #agWidgetMain { width: auto; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; line-height: 1.4; text-align: left; overflow: visible; }
body#product #al-pp #agWidgetMain .topBar { display: none; }
body#product #al-pp #agWidgetMain > .inner, body#product #al-pp #ag-s #agWidgetMain .inner.bgGrey1 {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas: "note stats" "logo logo";
	align-items: center;
	gap: 16px 24px;
	margin: 0 0 8px;
	padding: 20px !important;
	border: 0;
	border-radius: 16px;
	background: var(--al-bg) !important;
	box-sizing: border-box !important;
	height: auto !important;
	overflow: visible !important;
}
body#product #al-pp #agWidgetMain .logoCont, body#product #al-pp #agWidgetMain .statCont, body#product #al-pp #agWidgetMain .reviewCont { float: none; width: auto !important; min-width: 0; height: auto; margin: 0; padding: 0; text-align: left; }
body#product #al-pp #agWidgetMain .reviewCont { grid-area: note; }
body#product #al-pp #agWidgetMain .statCont { grid-area: stats; display: block !important; }
body#product #al-pp #agWidgetMain .logoCont { grid-area: logo; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 16px; border-top: 1px solid #dfe4e7; }
body#product #al-pp #agWidgetMain .reviewCont .reviewGlobal { padding: 0 !important; text-align: left !important; }
body#product #al-pp #agWidgetMain .largeNote { width: auto; color: var(--al-ink); font: 700 18px/1.1 var(--al-font) !important; letter-spacing: 0; white-space: nowrap; }
body#product #al-pp #agWidgetMain .largeNote big { color: var(--al-ink); font-size: 44px !important; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
body#product #al-pp #agWidgetMain .largeNote p { margin: 4px 0 0; color: var(--al-muted); font: 400 13.5px/1.3 var(--al-font) !important; white-space: normal; }
body#product #al-pp #agWidgetMain .largeNote p br { display: none; }
body#product #al-pp #agWidgetMain .logoCont .logoAg { display: block; width: 132px; max-width: 132px; height: auto; margin: 0; }
/* Repartition des notes : barres horizontales (largeurs posees par js/pages/product.js) */
body#product #al-pp #agWidgetMain .steavisgarantisStats { display: flex; flex-direction: column-reverse; gap: 5px; width: 100%; }
body#product #al-pp #agWidgetMain .steavisgarantisStats .item { display: grid; grid-template-columns: 28px minmax(0, 1fr) 30px; align-items: center; gap: 8px; width: auto; height: auto; margin: 0; }
body#product #al-pp #agWidgetMain .steavisgarantisStats .item .name { order: -1; display: block; width: auto; height: auto; color: var(--al-muted); font: 600 12.5px/1.2 var(--al-font); text-align: left; white-space: nowrap; }
body#product #al-pp #agWidgetMain .steavisgarantisStats .item .stat { position: relative; display: block; width: auto; height: 8px; border-radius: 999px; background: #dde2e5; overflow: hidden; }
body#product #al-pp #agWidgetMain .steavisgarantisStats .item .stat .note { position: absolute; left: 0; top: 0; bottom: 0; width: 0; height: 100% !important; border-radius: 999px; background: #f5b400; }
body#product #al-pp #agWidgetMain .steavisgarantisStats .item .stat .note .value { display: none; }
body#product #al-pp #agWidgetMain .steavisgarantisStats .al-rv-n { color: var(--al-muted); font: 400 12.5px/1.2 var(--al-font); text-align: right; font-variant-numeric: tabular-nums; }
body#product #al-pp #agWidgetMain .agBt {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1px solid #c9d1d5;
	border-radius: 999px;
	background: #fff;
	color: var(--al-ink) !important;
	font: 600 13px/1 var(--al-font) !important;
	letter-spacing: 0;
	text-decoration: none !important;
	text-transform: none;
}
body#product #al-pp #agWidgetMain .agBt:hover { border-color: #9aa6ab; background: var(--al-bg); }
/* Liste */
body#product #al-pp #agWidgetMain .reviewList { margin: 0; padding: 0; line-height: 1.4; list-style: none; }
body#product #al-pp #agWidgetMain .reviewList li { position: relative; margin: 0; padding: 18px 0 !important; border: 0; border-bottom: 1px solid var(--al-line); background: none !important; }
body#product #al-pp #agWidgetMain .reviewList .author { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; align-items: center; color: var(--al-ink); font: 700 14.5px/1.35 var(--al-font); letter-spacing: 0; }
body#product #al-pp #agWidgetMain .reviewList .author > img { grid-row: 1 / span 2; float: none; width: 32px; height: 32px; margin: 0; border-radius: 999px; }
body#product #al-pp #agWidgetMain .reviewList .author > .al-rv-av { grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: #e6eef0; color: #0b4651; font: 700 15px/1 var(--al-font); text-transform: uppercase; }
body#product #al-pp #agWidgetMain .reviewList .author br { display: none; }
body#product #al-pp #agWidgetMain .reviewList .author > span:not(.time):not(.al-rv-av) { grid-column: 2; min-width: 0; }
body#product #al-pp #agWidgetMain .reviewList .time { grid-column: 2; display: block; margin: 1px 0 0 !important; padding: 0 !important; color: var(--al-muted); font: 400 12.5px/1.35 var(--al-font); text-indent: 0; }
body#product #al-pp #agWidgetMain .reviewList .time .published { font-weight: 400; }
body#product #al-pp #agWidgetMain .reviewList .al-rv-cmd { white-space: nowrap; }
body#product #al-pp #agWidgetMain .reviewList .al-rv-cmd:before { content: "\00b7"; margin: 0 6px; }
body#product #al-pp #agWidgetMain .reviewList .steavisgarantisStar { position: relative !important; top: auto !important; right: auto !important; display: block !important; width: 88px; max-width: 88px; height: 24px; margin: 10px 0 2px; }
body#product #al-pp #agWidgetMain .reviewList .steavisgarantisStar span { height: 24px; background-size: 88px 24px; }
body#product #al-pp #agWidgetMain .reviewTxt { margin: 0; padding: 0; }
body#product #al-pp #agWidgetMain .reviewTxt p { margin: 4px 0 0; color: var(--al-text); font-size: 15px; font-weight: 400; line-height: 1.55; letter-spacing: 0; }
body#product #al-pp #agWidgetMain .reponse { margin: 12px 0 0; padding: 12px 14px; border-left: 3px solid #c9d1d5; border-radius: 0 12px 12px 0; background: var(--al-bg); }
body#product #al-pp #agWidgetMain .reponse > span { display: block; color: var(--al-ink); font: 700 13px/1.3 var(--al-font); }
body#product #al-pp #agWidgetMain .reponse > span img { display: none; }
body#product #al-pp #agWidgetMain .reponse p { margin: 4px 0 0; color: var(--al-text); font-size: 14px; font-style: normal; line-height: 1.5; white-space: pre-line; }
body#product #al-pp #agWidgetMain .inner2 { margin: 16px 0 0; padding: 0; text-align: left; }
body#product #al-pp #agWidgetMain .agBtBig { min-height: 44px; padding: 0 22px !important; font-size: 14.5px !important; }
body#product #al-pp #agWidgetMain .reviewList.al-rv-short > li:nth-child(n+5) { display: none; }
@media screen and (max-width: 550px) {
	body#product #al-pp #agWidgetMain > .inner, body#product #al-pp #ag-s #agWidgetMain .inner.bgGrey1 { gap: 14px 18px; padding: 16px !important; }
	body#product #al-pp #agWidgetMain .largeNote big { font-size: 38px !important; }
	body#product #al-pp #agWidgetMain .logoCont .logoAg { width: 116px; max-width: 116px; }
}
/* PC : synthese a gauche (collante), avis a droite */
@media screen and (min-width: 992px) {
	body#product #al-pp #agWidgetMain { display: grid; grid-template-columns: 272px minmax(0, 1fr); column-gap: 40px; align-items: start; }
	body#product #al-pp #agWidgetMain > .inner, body#product #al-pp #ag-s #agWidgetMain .inner.bgGrey1 { grid-column: 1; grid-row: 1 / span 3; grid-template-columns: minmax(0, 1fr); grid-template-areas: "note" "stats" "logo"; position: sticky; top: var(--al-pp-top, 96px); margin: 0; }
	body#product #al-pp #agWidgetMain .reviewList, body#product #al-pp #agWidgetMain .inner2 { grid-column: 2; }
	body#product #al-pp #agWidgetMain .reviewList li:first-child { padding-top: 0 !important; }
}

/* ---------------- Barre d'achat collante (mobile et tablette) ---------------- */
.al-buybar { display: none; }
@media screen and (max-width: 991px) {
	.al-buybar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: var(--al-cookie-h, 0px);
		z-index: 9000;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		box-shadow: 0 -8px 24px rgba(18, 25, 29, .1);
		font-family: var(--al-font);
		transform: translate3d(0, 110%, 0);
		visibility: hidden;
		transition: transform .25s cubic-bezier(.22, .8, .24, 1), visibility 0s linear .25s;
	}
	.al-buybar.is-on { transform: none; visibility: visible; transition: transform .25s cubic-bezier(.22, .8, .24, 1), visibility 0s; }
	html.al-locked .al-buybar { display: none; }
	.al-buybar__price { display: flex; flex-direction: column; flex: 0 1 auto; min-width: 0; line-height: 1.15; }
	.al-buybar__now { color: var(--al-ink); font-size: 19px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
	.al-buybar__was { color: var(--al-muted); font-size: 12px; white-space: nowrap; }
	.al-buybar__was s { text-decoration: line-through; }
	.al-buybar__was b { margin-right: 4px; color: var(--al-red); font-weight: 700; }
	.al-buybar__btn {
		display: flex;
		flex: 1 1 auto;
		align-items: center;
		justify-content: center;
		height: 48px;
		margin: 0;
		padding: 0 16px;
		border: 1px solid var(--al-yellow);
		border-radius: 999px;
		background: var(--al-yellow);
		box-shadow: 0 2px 5px rgba(213, 180, 0, .35);
		color: var(--al-ink);
		font: 700 16px/1 var(--al-font);
		cursor: pointer;
		-webkit-appearance: none;
		-webkit-tap-highlight-color: transparent;
	}
	.al-buybar__btn:active { background: var(--al-yellow-hover); transform: translateY(1px); }
	.al-buybar__btn[disabled] { opacity: .6; }
}

/* ---------------- Notification d'ajout au panier : composant commun .al-toast (base.css) ----------------
   tant que la barre d'achat est affichee, la notification passe au-dessus d'elle */
body.al-buybar-on .al-toast { bottom: calc(88px + env(safe-area-inset-bottom, 0px) + var(--al-cookie-h, 0px)); }
@media screen and (min-width: 551px) and (max-width: 991px) {
	body#product.al-has-buybar { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
	.al-buybar { padding-left: max(24px, calc((100vw - 1192px) / 2)); padding-right: max(24px, calc((100vw - 1192px) / 2)); }
	.al-buybar__btn { flex: 0 0 auto; min-width: 280px; margin-left: auto; }
}

/* ---------------- Vignettes PC/tablette : grille (plus de vignette coupee au bord) ---------------- */
@media screen and (min-width: 551px) {
	#al-pp #thumbs_list { overflow: visible; }
	#al-pp #thumbs_list ul#thumbs_list_frame { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding: 0; }
	#al-pp #thumbs_list li { flex: none; width: auto; height: auto; aspect-ratio: 1 / 1; }
	#al-pp #thumbs_list li a { padding: 4px; border-radius: 10px; cursor: pointer; }
}

/* ---------------- Justificatifs (categorie d'arme) rappeles dans le bloc d'achat ---------------- */
#al-pp .al-buy__docs { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0 !important; padding: 10px 12px !important; border-radius: 12px; background: #e6f3f5; color: #0b4651; font-size: 13.5px; line-height: 1.45; }
#al-pp .al-buy__docs svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--al-link); }
#al-pp .al-buy__docs a { color: var(--al-link); font-weight: 700; text-decoration: underline; white-space: nowrap; }

/* ---------------- Rupture : alerte e-mail regroupee, plus de faux bouton « Indisponible » en double ---------------- */
#al-pp .al-oos-title { margin: 0 0 8px !important; color: var(--al-ink); font: 600 14px/1.4 var(--al-font); }
/* rupture : « Indisponible » en tete (deplace par product.js), puis l'alerte ; ligne « Disponibilite : ... » masquee */
body#product #al-pp #buy_block.al-oos-off #availability_statut { display: none !important; }
body#product #al-pp #buy_block.al-oos-off span.exclusive.al-buy__off { display: flex; width: 100%; margin: 14px 0 0; }
body#product #al-pp #buy_block.al-oos-off #oosHook { margin-top: 10px; }
body#product #al-pp #buy_block.al-oos-off .al-buy__cta:empty { display: none; }

/* ---------------- Description : intertitres saisis dans le back-office (soulignes) en vrais intertitres ---------------- */
#al-pp .al-pp__desc span[style*="underline"], #al-pp .al-pp__desc u { display: inline-block; margin: 6px 0 2px; color: var(--al-ink); font-size: 17px !important; font-weight: 700; text-decoration: none !important; }
#al-pp .al-pp__desc span[style*="underline"] strong, #al-pp .al-pp__desc u strong { font-size: inherit !important; }
#al-pp .al-pp__desc p:empty, #al-pp .al-pp__desc .al-pp-void { display: none !important; }

/* ---------------- PC : sections a gauche, rappel d'achat collant a droite ---------------- */
.al-pp-rail { display: none; }
@media screen and (min-width: 992px) {
	/* position: sticky : #columns { overflow: hidden } herite l'empeche (charte 9) */
	body#product #columns { overflow: visible !important; display: flow-root; }
	body#product #al-pp #more_info_block.al-has-rail { display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: 48px; align-items: start; }
	body#product #al-pp #more_info_block.al-has-rail > * { grid-column: 1; min-width: 0; }
	body#product #al-pp #more_info_block.al-has-rail > .al-pp-rail { display: block; grid-column: 2; grid-row: 1 / span 9; position: sticky; top: var(--al-pp-top, 96px); }
	body#product #al-pp #more_info_block.al-has-rail .al-pp__desc, body#product #al-pp #more_info_block.al-has-rail ul#idTab2.al-pp__feat,
	body#product #al-pp #more_info_block.al-has-rail ul#idTab9.al-pp__files, body#product #al-pp #more_info_block.al-has-rail #ag-s { max-width: none; }
	body#product #al-pp #more_info_block.al-has-rail #agWidgetMain { grid-template-columns: 248px minmax(0, 1fr); column-gap: 32px; }
}
/* PC etroit (992-1199) avec rappel d'achat : la colonne de contenu est trop etroite pour synthese + avis cote a cote -> empiles */
@media screen and (min-width: 992px) and (max-width: 1199px) {
	body#product #al-pp #more_info_block.al-has-rail #agWidgetMain { display: block; }
	body#product #al-pp #more_info_block.al-has-rail #agWidgetMain > .inner, body#product #al-pp #more_info_block.al-has-rail #ag-s #agWidgetMain .inner.bgGrey1 {
		position: static; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "note stats" "logo logo"; margin: 0 0 8px;
	}
	body#product #al-pp #more_info_block.al-has-rail #agWidgetMain .reviewList li:first-child { padding-top: 18px !important; }
}
#al-pp .al-pp-rail__card { padding: 18px; border: 1px solid var(--al-line); border-radius: 16px; background: #fff; box-shadow: var(--al-shadow-card); }
#al-pp .al-pp-rail__head { display: flex; align-items: center; gap: 12px; }
#al-pp .al-pp-rail__media { flex: 0 0 56px; width: 56px; height: 56px; padding: 4px; border-radius: 12px; background: var(--al-media); }
#al-pp .al-pp-rail__media img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
#al-pp .al-pp-rail__name { display: -webkit-box; margin: 0; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; color: var(--al-ink); font: 600 14px/1.35 var(--al-font); text-align: left; }
#al-pp .al-pp-rail__price { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 14px 0 0; text-align: left; }
#al-pp .al-pp-rail__now { color: var(--al-ink); font: 700 24px/1.1 var(--al-font); font-variant-numeric: tabular-nums; }
#al-pp .al-pp-rail__pct { height: 24px; padding: 0 9px; font-size: 13px; }
#al-pp .al-pp-rail__pct[hidden], #al-pp .al-pp-rail__was[hidden], #al-pp .al-pp-rail__opt[hidden] { display: none !important; }
#al-pp .al-pp-rail__was { margin: 4px 0 0; color: var(--al-muted); font-size: 13px; text-align: left; }
#al-pp .al-pp-rail__was s { font-variant-numeric: tabular-nums; }
#al-pp .al-pp-rail__opt { margin: 8px 0 0; color: var(--al-muted); font-size: 13.5px; text-align: left; }
#al-pp .al-pp-rail__opt b { color: var(--al-ink); }
#al-pp .al-pp-rail__btn { width: 100%; height: 48px; margin: 14px 0 0; font-size: 15.5px; }
#al-pp .al-pp-rail__btn.is-added { border-color: #f9d10c; background: var(--al-yellow); color: var(--al-ink); }

@media (prefers-reduced-motion: reduce) {
	#al-pp *, .al-buybar { transition: none !important; animation: none !important; }
}
#al-pp ul.al-legal__or li::first-letter { text-transform: uppercase; }

/* ---------- Visionneuse photos plein ecran (js/pages/product.js, remplace fancybox en v2) ---------- */
html.al-lb-open, html.al-lb-open body { overflow: hidden !important; }
#fancybox-wrap, #fancybox-overlay { display: none !important; }
.al-lb {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: none;
	grid-template-rows: auto minmax(0, 1fr) auto;
	grid-template-columns: minmax(0, 1fr);
	background: #fff;
	color: var(--al-ink, #12191d);
	font-family: var(--al-font, 'Open Sans', Helvetica, Arial, sans-serif);
	opacity: 0;
	transition: opacity .2s ease;
	overscroll-behavior: contain;
	-webkit-tap-highlight-color: transparent;
}
.al-lb.is-open { display: grid; }
.al-lb.is-in { opacity: 1; }
.al-lb button { -webkit-appearance: none; appearance: none; margin: 0; font: inherit; cursor: pointer; }
.al-lb svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* barre du haut */
.al-lb__bar {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 72px;
	align-items: center;
	gap: 12px;
	min-height: 60px;
	padding: env(safe-area-inset-top, 0px) max(12px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
	border-bottom: 1px solid #eef0f1;
}
.al-lb__count { color: var(--al-muted, #5f6c73); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.al-lb__title { margin: 0; overflow: hidden; color: var(--al-ink, #12191d); font-size: 14.5px; font-weight: 600; line-height: 1.3; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.al-lb__close {
	justify-self: end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f1f3f4;
	color: var(--al-ink, #12191d);
	transition: background-color .15s ease;
}
.al-lb__close:hover { background: #e3e7e9; }

/* scene : diapositives en defilement natif */
.al-lb__stage { position: relative; min-height: 0; }
.al-lb__track {
	display: flex;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	touch-action: pan-x;
	outline: 0;
}
.al-lb__track::-webkit-scrollbar { display: none; }
.al-lb.is-zoomed .al-lb__track { overflow: hidden; touch-action: none; }
.al-lb__slide {
	position: relative;
	display: flex;
	flex: 0 0 100%;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 24px 88px;
	overflow: hidden;
	scroll-snap-align: center;
	scroll-snap-stop: always;
}
.al-lb__slide img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	opacity: 0;
	transition: opacity .25s ease;
	user-select: none;
	-webkit-user-drag: none;
	will-change: transform;
	cursor: zoom-in;
}
.al-lb__slide.is-loaded img { opacity: 1; }
.al-lb__slide:not(.is-loaded):after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
	border: 2.5px solid #e3e7e9;
	border-top-color: var(--al-ink, #12191d);
	border-radius: 50%;
	animation: al-lb-spin .7s linear infinite;
}
@keyframes al-lb-spin { to { transform: rotate(360deg); } }
.al-lb__slide.is-zoomed img { cursor: zoom-out; }

/* fleches (PC) */
.al-lb__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-top: -26px;
	padding: 0;
	border: 1px solid #e3e7e9;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 10px rgba(18, 25, 29, .10);
	color: var(--al-ink, #12191d);
	transition: background-color .15s ease, opacity .2s ease, box-shadow .15s ease;
}
.al-lb__nav:hover { background: var(--al-yellow, #fed51a); border-color: var(--al-yellow, #fed51a); }
.al-lb__nav:disabled { opacity: 0; pointer-events: none; }
.al-lb__nav--prev { left: 20px; }
.al-lb__nav--next { right: 20px; }
.al-lb.is-single .al-lb__nav, .al-lb.is-zoomed .al-lb__nav { opacity: 0; pointer-events: none; }

/* aide zoom, discrete */
.al-lb__hint {
	position: absolute;
	left: 50%;
	bottom: 14px;
	z-index: 2;
	margin: 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(18, 25, 29, .72);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	transform: translateX(-50%);
	pointer-events: none;
	white-space: nowrap;
	transition: opacity .2s ease;
}
.al-lb.is-zoomed .al-lb__hint, .al-lb.hint-off .al-lb__hint { opacity: 0; }

/* vignettes */
.al-lb__thumbs {
	display: flex;
	gap: 8px;
	padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
	border-top: 1px solid #eef0f1;
	overflow-x: auto;
	scrollbar-width: none;
}
.al-lb__thumbs::-webkit-scrollbar { display: none; }
.al-lb__thumbs:empty { display: none; }
.al-lb__thumb {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	padding: 5px;
	border: 1px solid #e3e7e9;
	border-radius: 12px;
	background: var(--al-media, #f3f4f5);
	opacity: .7;
	transition: border-color .15s ease, opacity .15s ease, box-shadow .15s ease;
}
.al-lb__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.al-lb__thumb:hover { opacity: 1; border-color: #9aa6ab; }
.al-lb__thumb.is-on { opacity: 1; border-color: var(--al-ink, #12191d); box-shadow: inset 0 0 0 1px var(--al-ink, #12191d); }
.al-lb button:focus-visible { outline: 3px solid #24619c; outline-offset: 2px; }
.al-lb__thumb:first-child { margin-left: auto; }
.al-lb__thumb:last-child { margin-right: auto; }

@media screen and (max-width: 767px) {
	.al-lb__bar { grid-template-columns: 56px minmax(0, 1fr) 56px; min-height: 56px; }
	.al-lb__slide { padding: 12px; }
	.al-lb__nav { display: none; }
	.al-lb__thumb { flex-basis: 52px; width: 52px; height: 52px; padding: 4px; border-radius: 10px; }
	.al-lb__thumbs { gap: 6px; padding-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.al-lb, .al-lb__slide img, .al-lb__nav, .al-lb__thumb { transition: none !important; }
}

/* PC : bouton « Ajouter au panier » et selecteur de quantite ramenes de 52px a 42px (demande Nicolas 24/11 : trop hauts). Mobile inchange. */
@media screen and (min-width: 551px) {
	#al-pp .al-qty { height: 42px; }
	#al-pp .al-qty__b { width: 36px; }
	#al-pp .al-qty__b svg { width: 16px; height: 16px; }
	body#product #al-pp .al-qty input#quantity_wanted { width: 32px !important; font-size: 15.5px !important; }
	body#product #al-pp #add_to_cart input.addtocartbutton,
	body#product #al-pp #add_to_cart input.addtocartbutton_disabled { height: 42px !important; min-height: 42px; font-size: 15.5px !important; }
	body#product #al-pp #buy_block span.exclusive.al-buy__off { height: 42px; }
}

/* Mobile : la barre d'achat collante (prix + « Ajouter au panier ») ne s'empile plus au-dessus du bandeau cookies a l'arrivee
   sur la fiche (retour Nicolas 24/11) : masquee tant que le bandeau est affiche (classe posee par layout.js), elle apparait
   des que les cookies sont acceptes. Le bouton « Ajouter au panier » de la fiche reste disponible. */
html.al-has-cookiebar .al-buybar { display: none !important; }

/* Marque au-dessus du titre : alignee a gauche sur le titre (heritait d'un « text-align: center » d'origine : centree sur mobile, retour Nicolas 24/11) */
#al-pp .al-pp__brand { display: table; margin-left: 0; margin-right: auto; text-align: left; }
