#wrap {
	background-color: #fff;
}

/* Bloc de choix */
:root {
	--color-borderColor: #c7c7c8;
	--color-white: #fff;
	--color-blue: #218838;
	--color-grey_60: #aaaaab;
	--color-blue_100: #f7fff6;
	--color-grey_70: #6e6e6e;
}
.ChoiceOption {
	font-size: 1.2rem;
	border: 1px solid var(--color-grey_60);
	border-radius: 5px;
	cursor: pointer;
	text-align: left;
	width: 100%;
	padding: 5px 90px 5px 50px;
	line-height: 2;
	position: relative;
	overflow: hidden;
}
.ChoiceOption .product_note_origine{
	padding: 5px 0;
	zoom: 85%;
}
.ChoiceOption button {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background: 0 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    line-height: 1;
}
.ChoiceOption button:enabled:hover {
    cursor: pointer;
}

.Choiceprix_avis {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.ChoiceOption .prix{
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0 20px 0 0;
}
.ChoiceOption .remise_prix {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    background-color: #e10915;
    border-radius: .4rem;
    padding: 0 .4rem;
    margin-right: 10px;
}
.remise_prix .pourcent{
	font-size: inherit;
	vertical-align: unset;
	position: unset;
	top: unset;
	font-weight: inherit;
	margin: 0;
}

.product_price .prix_bas {
	font-size: 0.9rem;
	font-weight: 200;
	width: 100%;
	margin: 4px 0 0 0;
}
.product_price .affiche_origine {
	flex-direction: column;
}

.ChoiceOption del{
    font-weight: 300;
}
.ChoiceOption .a-offscreen{
    position: unset;
    left: unset;
    bottom: unset;
    z-index: unset;
    opacity: unset;
}
.ChoiceOption .a-price-whole, .ChoiceOption .a-price-fraction, .ChoiceOption .a-price-symbol{
    display: none;
}
.ChoiceOption_Selected {
    background-color: var(--color-blue_100);
    border-color: var(--color-blue);
}
.ChoiceOption:hover .ChoiceOptionRadioButton:before {
    background-color: var(--color-borderColor);
}
.ChoiceOptionRadioButton {
    background-color: var(--color-white);
    border: 1px solid var(--color-borderColor);
    border-radius: 50%;
    width: 17px;
    height: 17px;
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
}
.ChoiceOption_Selected .ChoiceOptionRadioButton {
    border-color: var(--color-blue);
}

.ChoiceOption:first-of-type {
    margin-bottom: 8px;
}
.ChoiceOption_Selected:before {
    border-left: 2px solid var(--color-blue);
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.ChoiceOption_Selected .ChoiceOptionRadioButton:before, .ChoiceOption_Selected:hover .ChoiceOptionRadioButton:before {
    background-color: var(--color-blue);
}
.ChoiceOptionRadioButton:before {
    content: "";
    border-radius: 50%;
    width: 11px;
    height: 11px;
    display: inline-block;
    position: absolute;
    top: 2px;
    left: 2px;
}
.ChoiceOptionTitle {
	display: block;
	line-height: 1.4;
	margin: 5px 0 10px 0;
}
.ChoiceOptionSousTitle{
	display: block;
	font-size: 1.0rem;
	font-weight: 200;
	line-height: 1;
	margin-top: 2px;
}
.tva {
	color: #666;
	font-size: 1.2rem;
	font-weight: 200;
	line-height: 1;
	margin: 0 0 0 6px;
}


.text-strong, strong {
    font-weight: 700;
}
.ProductCapacities {
	  display: block;
}
.ProductPrice__Vat {
    color: var(--color-grey_70);
    font-weight: 400;
    font-size: 12px;
}
.ChoiceOptionRibbon {
    width: 133px;
    color: var(--color-white);
    font-weight: 600;
    text-align: center;
    background-color: var(--color-blue);
    font-size: 11px;
    position: absolute;
    top: 26px;
    right: -33px;
    transform: rotate(45deg);
	  display: block;
}

.sticky_origine{
	display: inline;
}
.sticky_compatible{
	display: none;
}


























/* Gallerie d'images */
.affiche_images_orig{
	display: block;
}
.affiche_images_comp{
	display: none;
}


.gallery-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
.thumbnails {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  margin-bottom: 20px;
}
.thumbnail {
	cursor: pointer;
	filter: opacity(0.85);
	border: 1px solid #ddd;
}
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 14000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-image-container {
	display: flex;
	background-color: #fff;
	position: relative;
}
.modal-image {
  max-width: 100%;
  max-height: calc(100vh - 40px);
  object-fit: contain;
}
.close, .prev, .next {
  position: absolute;
  cursor: pointer;
  user-select: none;
  outline: none;
  background: none;
  border: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.close {
  top: 20px;
  right: 20px;
}
.prev, .next {
  top: 50%;
  transform: translateY(-50%);
}
.prev {
  left: 20px;
  transform: translateY(-50%) rotate(180deg);
}
.next {
  right: 20px;
}
.pswp__icn {
  fill: white;
  stroke: black;
  stroke-width: 1px;
}
.close, .prev, .next {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}




#specification {
	align-self: flex-start;
	display: flex;
	flex-basis: 40%;
	flex-wrap: wrap;
	max-width: 100%;
	position: sticky;
	flex-direction: column;
	background-color: #f6f6f6;
}

/* Le conteneur remplace le comportement du .spec-row */
.spec-list {
    display: grid;
    grid-template-columns: 180px 1fr; /* Votre ancienne largeur dt fixe */
    width: 100%;
    margin: 0;
}

/* Style commun pour simuler le padding et la bordure de ligne */
.spec-list dt, .spec-list dd {
    padding: 3px 0;
    border-bottom: 1px solid #eee;
    display: flex;
}

/* Style spécifique aux titres (Ancien .spec-row dt) */
.spec-list dt {
    font-weight: 500;
    color: #333;
    grid-column: 1;
    padding-right: 10px;
}

/* Style spécifique aux valeurs (Ancien .spec-row dd) */
.spec-list dd {
    color: #666;
    grid-column: 2;
}

/* --- Cas particuliers : Poids (JS affiche_origine / affiche_compatible) --- */
/* On s'assure que si un dt est caché, son dd correspondant l'est aussi */
.spec-list dt[style*="display: none"],
.spec-list dt[style*="display: none"] + dd {
    display: none;
}

.spec-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.spec-list ul li {
    font-weight: 400;
    color: #666;
    padding-right: 10px;
    margin: 0;
}






.affiche_origine{
	display: flex;
	flex-wrap: wrap;
	/*flex-direction: column;*/
}
.affiche_originex2, .affiche_originex5{
	display: none;
}
.affiche_compatible{
	display: none;
	flex-wrap: wrap;
	align-items: baseline;
}

.piece-reste{
	margin: 3px 0 4px 0;
}
.piece-reste.affiche_origine{
	color: #ff862d;
}
.piece-reste.affiche_compatible{
	color: #e00011;
}

.trigger-link {
	color: #007185;
	text-decoration: none;
	cursor: pointer;
	position: relative;
}

.trigger-link:hover {
	color: #C7511F;
	text-decoration: underline;
}
.popover {
	display: none;
	position: absolute;
	background: #fff;
	border: 1px solid #888c8c;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	padding: 16px 30px;
	width: 350px;
	max-width:93%;
	z-index: 1000;
	font-size: 13px;
	color: #0F1111;
}

.popover.active {
	display: block;
}

/* Flèche du popover */
.popover::before {
	content: '';
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
}

/* Flèche pointant vers le haut (popover en-dessous) */
.popover.bottom::before {
	top: -8px;
	left: 20px;
	border-width: 0 8px 8px 8px;
	border-color: transparent transparent #fff transparent;
}

.popover.bottom::after {
	content: '';
	position: absolute;
	top: -9px;
	left: 19px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 9px 9px 9px;
	border-color: transparent transparent #888c8c transparent;
}

/* Bouton de fermeture */
.popover-close {
	position: absolute;
	top: 0px;
	right: 8px;
	background: none;
	border: none;
	font-size: 20px;
	color: #565959;
	cursor: pointer;
	padding: 4px;
	line-height: 1;
	border-radius: 4px;
}

.popover-close:hover {
	background-color: #e7e9ec;
}

/* Contenu du popover */
.popover-content {
	margin-top: 8px;
	line-height: 1.6;
}

.popover-content p {
	margin: 0 0 10px 0;
}

.popover-content strong {
	font-weight: 700;
}

.retour{
    font-weight: 400;
}
.retour svg {
    width: 15px;
    height: auto;
    position: relative;
    top: 2px;
}
.info_achat{
	display:flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 25px 0 0 0;
}
.info_achat .remise_lot{
	flex-direction: column;
	background: #fdf3f5;
	padding: 10px;
	color: #dc1a24;
}
.info_achat .remise_lot .remise_lot_titre{
    line-height: 1.0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0 6px;
    font-weight: 600;
    font-size: 2.0rem;
}
.info_achat .remise_lot_titre p{
	font-size: 1.4rem;
	border-radius: 6px;
	padding: 5px 8px;
	background: #dc1a24;
	color: #fff;
	margin: 0 0 10px 0;
}
.info_achat .remise_lot .prix{
    font-size:85%;
}
.info_achat .remise_lot img{
    width: auto;
    height: 36px;
}
 .info_achat .remise_lot .affiche_origine{
    display: flex;
}
.info_achat .info_stock {
}
.lien_compatibilite {
	align-content: flex-start;
	align-items: center;
	background-color: #f4f7ff;
	cursor: pointer;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	line-height: 1;
}
.lien_compatibilite svg {
	height: 44px;
	width: auto;
	padding: 8px 12px 8px 8px;
}
.redac_txt h2{
	margin:0 0 12px 0;
}
.piece_petites_img::-webkit-scrollbar{ width: 10px; }
.piece_petites_img::-webkit-scrollbar-track{ background: transparent; }
.piece_petites_img::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.28);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}
.piece_petites_img::-webkit-scrollbar-thumb:hover{ background: rgba(0,0,0,.42); }





.prices-tier {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    list-style: none none;
    margin: 10px 0 0 0;
    padding: 0;
    justify-content: space-between;
}
.prices-tier .item {
	cursor: pointer;
	margin: 0;
	width: calc(50% - 6px);
}
.prices-tier .tier-button {
    display: flex;
    flex-direction: column;
    position: relative;
}

.prices-tier .tier-info {
    border: .1rem solid #ff1e3c;
    border-radius: .5rem;
    padding: .4rem;
    text-align: center;
    transition: all .3s ease-in-out;
}
.prices-tier .tier-info>span {
    display: block;
}
.tier-button .discount {
	position: absolute;
	top: -20px;
	right: 10px;
	padding: 5px 12px;
	line-height: 1;
	background-color: #ffff00;
	color: #212121;
	border-radius: 4px;
	display: block !important;
}
.prices-tier .discount, .prices-tier .price-tier {
    font-size: 1.4rem;
    font-weight: 600;
}

/* Sommaire des marques en ancres */
#catmod_sommaire_marques {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 30px;
	padding: 16px;
	background: #f7f7f7;
	border-radius: 6px;
}

#catmod_sommaire_marques a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 14px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 20px;
	color: #333;
	text-decoration: none;
	font-size: 0.9rem;
	transition: background 0.15s, border-color 0.15s;
}

#catmod_sommaire_marques a:hover,
#catmod_sommaire_marques a:focus {
	background: #eee;
	border-color: #bbb;
}

#catmod_sommaire_marques .catmod_compteur {
	color: #888;
	font-size: 0.85em;
}

/* Bloc par marque */
.catmod_bloc_marque {
	margin-bottom: 36px;
	scroll-margin-top: 90px; /* évite que le header sticky cache le titre lors du scroll par ancre */
}

.catmod_bloc_marque h3 {
	font-size: 1.15rem;
	margin: 0 0 12px;
	padding-bottom: 6px;
	border-bottom: 2px solid #e0e0e0;
}

/* Tableau par marque (remplace le style de l'ancien tab_catmod_table) */
.tab_catmod_table_marque {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.tab_catmod_table_marque thead th {
	text-align: left;
	padding: 8px 12px;
	background: #fafafa;
	border-bottom: 1px solid #ddd;
	font-weight: 600;
}

.tab_catmod_table_marque tbody td {
	padding: 6px 12px;
	border-bottom: 1px solid #f0f0f0;
}

.tab_catmod_table_marque tbody tr:hover {
	background: #fafafa;
}

.tab_catmod_table_marque td:last-child {
	text-align: center;
	width: 60px;
	color: #2e7d32; /* vert pour le ✔ */
}

#tab_catmod_liste{
	width: 100%;
}
	

@media (max-width: 767px) {
    .ChoiceOption {
		padding: 0 30px 0 42px;
    }
		.ChoiceOption:first-of-type {
			 margin-bottom: 12px;
		}
	.ChoiceOptionTitle {
		padding: 0 60px 0 0;
		line-height: 1.2;
		margin: 5px 0 5px 0;
		font-size: 1.4rem;
	}
	
	 .ChoiceOption .star-rating {
        font-size: 1.3rem;
        top: 0px;
    }
    .ChoiceOption .nb_avis {
        font-size: 1.3rem;
        padding: 0px 0 0 8px;
        line-height: 1;
    }
	
    .ProductCapacities {
        flex-flow: wrap;
        display: flex;
    }
    .ProductPrice {
        display: block;
    }
	.close {
    top: 10px;
    right: 10px;
  }
  .prev {
    left: 10px;
  }
  .next {
    right: 10px;
  }
  .prev svg, .next svg {
    width: 40px;
    height: 40px;
  }
	
	.ChoiceOption .product_note_origine {
		padding: 10px 0;
	}
	.info_achat {
		 flex-direction: column;
	}
	.info_achat .remise_lot {
		 width: 100%;
		 order: 4;
	}	
	.box_prix .bouton_achat {
		 margin: 20px 0 0 0;
	}	
	.prices-tier .item {
		 width: calc(50% - 12px);
	}
	.box_prix .bouton {
		font-size: 1.4rem;
		height: 50px;
		letter-spacing: 0.3px;
		line-height: 50px;
	}	
	.lien_compatibilite {
		margin: 0;
	}
	.redac_txt h2 {
		 margin: 0 0 12px 0;
	}	

	
/* Liste catmod */

	#tab_catmod_liste td {
        font-size: 1.2rem;
        padding-left: 10px;
    }
    #tab_catmod_titre th {
        font-size: 1.6rem;
        padding-left: 10px;
    }
/* Fin Liste catmod */

	
	.spec-list {
        grid-template-columns: 1fr; /* On passe sur une seule colonne */
        gap: 0;
    }

    .spec-list dt {
    }

    .spec-list dd {
    }
	
	
	#catmod_sommaire_marques {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	#catmod_sommaire_marques a {
		flex-shrink: 0;
	}

}

