body {
    margin: 0;
    background: #2F2619;
    color: #fff;
    font-family: Arial, sans-serif; }

a { color: #d4af37;
    text-decoration: none; }

.page {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px; }

h1 { text-align: center;
     font-size: 24px;
     margin-top: 40px;
     margin-bottom: 40px; }

h2 { text-align: center;
     font-size: 18px;
     color: #d4af37;
     margin-bottom: 15px; }

h3 { text-align: center;
     font-size: 18px;
     color: #FFF1BF;
     margin-top: 10px;
     margin-bottom: 30px; }


	.logos-accueil {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 20px;
		flex-wrap: wrap;
		text-align: center;
		margin: 20px auto; }

	.logos-accueil img {
		max-width: 45%;
		height: auto;
		object-fit: contain; }

	.logos-accueil img:first-child { max-height: 100px; }
	.logos-accueil img:last-child { max-height: 120px; }
	@media (max-width: 500px) {
		.logos-accueil { gap: 12px; }
		.logos-accueil img { max-width: 80%; }
		.logos-accueil img:first-child { max-height: 80px; }
		.logos-accueil img:last-child { max-height: 95px; } }
		

.bloc {
    border: 1px solid #d4af37;
    background: rgba(255,255,255,0.08);
    padding: 25px;
    border-radius: 8px;
    line-height: 1.6; }


/*----------- BANDEAU DE NAVIGATION / HEADER -----------*/

.bandeau {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.12);
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 8px; }

		.bandeau a.boutonbandeau {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			height: 38px;
			padding: 0 16px;
			box-sizing: border-box;
			border: 1px solid #d4af37;
			background: transparent;
			color: #d4af37;
			border-radius: 5px;
			cursor: pointer;
			text-decoration: none;
			font-size: 14px;
			transition: 0.2s; }

		.bandeau a.boutonbandeau:hover {
			background: #d4af37;
			color: #000; }

				.btn-bandeau:disabled {
					opacity: 0.4;
					cursor: not-allowed; }

				.btn-bandeau:disabled:hover {
					background: transparent;
					color: #d4af37; }
		
		.icone-bandeau {
			border: none !important;
			background: transparent !important;
			padding: 0 !important; }
		
				.icone-bandeau img { height: 45px; }
		
		.logo-bandeau {
			display: flex;
			align-items: center;
			line-height: 0; }
			
		.logo-bandeau img { display: block; }  

			.icone-bandeau:hover { background: transparent !important; }
			.icone-bandeau img { display: block; }		

#bandeauNavigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box; }

#bandeauNavigation .nav-logos,
#bandeauNavigation .nav-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; }

		#bandeauNavigation .nav-logos img { height: 80px; }

		#bandeauNavigation .nav-logos {
			justify-content: flex-start;
			gap: 10px;
			flex: 0 0 auto; }

		#bandeauNavigation .nav-actions {
			justify-content: flex-end;
			gap: 15px;
			margin-left: auto;
			flex: 0 0 auto; }

#bandeauNavigationmobile { display: none; }


/* ------- HEADER SUR TEL ------- */
@media screen and (max-width: 900px) {
    #bandeauNavigation { display: none; }

    #bandeauNavigationmobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        flex-wrap: nowrap; }

    #bandeauNavigationmobile .nav-logos-mobile,
    #bandeauNavigationmobile .nav-icones-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        width: 100%; }

    #bandeauNavigationmobile .nav-logos-mobile { gap: 12px; }
    #bandeauNavigationmobile .nav-icones-mobile { gap: 10px; }

    #bandeauNavigationmobile .icone-bandeau,
    #bandeauNavigationmobile .logo-bandeau { flex: 0 0 auto; }

    #bandeauNavigationmobile .icone-bandeau img { height: 60px; }
    #bandeauNavigationmobile .nav-logos-mobile img { height: 80px; width: auto; }
}


.lien-desactive {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed; }


/* ------- PANIER ------- */

.table-panier {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.06); }
	
		.table-panier th,
		.table-panier td {
			padding: 12px;
			border-bottom: 1px solid rgba(255,255,255,0.15);
			text-align: left; }

		.table-panier th { background: rgba(255,255,255,0.12); }

.miniature {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px; }

.titre-article { color: #d4af37;
				 cursor: pointer; }

.table-panier td.titresstotaux{
	text-align:right;
	font-size:16px;
	white-space: nowrap; }

	.table-panier td.soustotaux{
		text-align:right;
		padding-right: 45px;
		font-size:16px;
		white-space: nowrap; }

	.table-panier td.texte-infos{
		color: white;
		text-align:right;
		font-size:12px;
		font-style: italic; }

.texte-attention {
    color: #40C947;
    font-weight: bold;
    font-size: 16px;
	text-align: right; }

.message {
    color: #F5B427;
    font-weight: bold;
    font-size: 20px;
	text-align: center; }

.qte-box {
    display: inline-flex;
    align-items: center;
    gap: 5px; }

		.qte-box button {
			width: 28px;
			height: 28px;
			background: #d4af37;
			color: #000;
			border: none;
			cursor: pointer;
			font-weight: bold; }

		.qte-box input {
			width: 45px;
			text-align: center;
			background: #111;
			color: #fff;
			border: 1px solid #555;
			height: 26px; }

.btn-supprimer{
	display:inline-block;
	padding:4px 10px;
	background:#b00000;
	color:#fff;
	text-decoration:none;
	border-radius:4px;
	cursor:pointer; }

.ligne-total td {
    font-weight: bold;
    font-size: 1.1em;
    background: rgba(255,255,255,0.1); }

.ligne-reduction td,
.ligne-envoi td,
.ligne-paiement td,
.ligne-email-numerique td { background: rgba(255,255,255,0.04); }

.table-panier select,
.code-promo-box input,
#emailNumerique,
.form-validation input,
.form-validation textarea {
    background: #111;
    color: #fff;
    border: 1px solid #d4af37;
    padding: 8px;
    border-radius: 5px;
    box-sizing: border-box; }

.table-panier select:disabled {
    opacity: 0.4;
    cursor: not-allowed; }

.code-promo-box {
    display: flex;
	white-space: nowrap;
    gap: 5px;
    justify-content: center; }

		.code-promo-box input { width: 95px; }

#emailNumerique { width: 100%; }

#btnCodePromo,
#btnCodePromoSupp {
    color: #fff;
    border: none;
    padding: 7px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold; }

		#btnCodePromo { background: #008000; }
		#btnCodePromoSupp { background: #b00000; }

#btnCodePromo:hover { background: #00a000; }

#info-envoi {
    font-size: 0.85em;
    color: #d4af37; }

.btn-valider-payer {
    white-space: nowrap;
    min-width: 150px;
    text-align: center; }

.mention {
    margin-top: 20px;
    font-size: 0.9em;
    color: #ccc;
    text-align: left; }

.form-validation {
    max-width: 600px;
    margin: 30px auto;
    display: grid;
    gap: 10px; }

		.form-validation label { color: #d4af37; }
		.form-validation input,
		.form-validation textarea { width: 100%; }
		.form-validation textarea { min-height: 90px; }
		.form-row { display: flex; gap: 15px; }
		.form-row > div { flex: 1; }
		

#recapFinal {
    max-width: 800px;
    margin: 30px auto;
    background: rgba(255,255,255,0.08);
    border: 1px solid #d4af37;
    padding: 20px;
    border-radius: 8px;
    line-height: 1.6; }

.btn-payer-final {
    display: inline-block;
    margin-top: 15px;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none; }
	
		.btn-payer-final:hover {
			background: #d4af37;
			color: #000; }

	/* ------- POPUP GALERIE PRODUIT ------- */
	.popup-cache { display: none; }

	.popup-visible {
		display: flex;
		position: fixed;
		inset: 0;
		background: rgba(0,0,0,0.85);
		z-index: 9999;
		align-items: center;
		justify-content: center; }

	.popup-contenu {
		background: #111;
		color: #fff;
		width: 90%;
		max-width: 1000px;
		max-height: 90vh;
		overflow: auto;
		padding: 25px;
		border: 1px solid #d4af37;
		border-radius: 8px; }

	.popup-header {
		display: flex;
		justify-content: space-between;
		align-items: center; }

	.popup-header h2 {
		margin: 0;
		color: #d4af37; }

	.btn-fermer {
		background: #b00000;
		color: #fff;
		border: none;
		padding: 8px 14px;
		cursor: pointer; }

	.popup-description {
		margin: 20px 0;
		line-height: 1.5; }

	.galerie-popup {
		display: flex;
		gap: 20px; }

	.vignettes-verticales {
		width: 130px;
		display: flex;
		flex-direction: column;
		gap: 10px; }

			.vignettes-verticales img {
				width: 120px;
				height: 90px;
				object-fit: cover;
				cursor: pointer;
				border: 2px solid transparent; }

			.vignettes-verticales img:hover { border-color: #d4af37; }

			.photo-grande { flex: 1; }

				.photo-grande img {
					max-width: 100%;
					max-height: 500px;
					object-fit: contain; }

		/* ------- RÉCAPITULATIF ------- */

		.actions-recap {
			display: flex;
			justify-content: center;
			gap: 15px;
			flex-wrap: wrap;
			margin-top: 20px; }

		.acceptations-recap {
			margin-top: 25px;
			padding: 15px;
			border: 1px solid rgba(212,175,55,0.45);
			background: rgba(255,255,255,0.05);
			border-radius: 8px; }

		.acceptations-recap label {
			display: flex;
			align-items: flex-start;
			gap: 10px;
			margin: 10px 0;
			color: #fff;
			line-height: 1.4; }

		.acceptations-recap input[type="checkbox"] {
			margin-top: 3px;
			flex: 0 0 auto; }

		.acceptations-recap a {
			color: #d4af37;
			text-decoration: underline;
			cursor: pointer; }


.btn-bandeau:disabled {
    opacity: 0.4;
    cursor: not-allowed; }

.btn-bandeau:disabled:hover {
    background: transparent;
    color: #d4af37; }

.popup-texte-scrollable {
    max-height: 60vh;
    overflow-y: auto;
    margin: 20px 0;
    padding-right: 12px;
    line-height: 1.6;
    border-top: 1px solid rgba(212,175,55,0.35);
    border-bottom: 1px solid rgba(212,175,55,0.35); }

.lien-annulation-panier {
    font-size: 12px;
    font-weight: normal; }


		/* FORMULAIRE CLIENT PANIER */

		.form-validation input[type="checkbox"] { width: auto; }
		.form-validation .acceptations-recap label { color: #fff; }
		.form-validation .actions-recap .btn-bandeau { width: auto; }
		
		
		/* ------- AVANTAGES ------- */

		.table-avantages {
			width: 100%;
			border-collapse: collapse;
			margin-top: 20px; }
		.table-avantages th {
			color: #d4af37;
			text-align: left;
			padding: 8px;
			border-bottom: 1px solid rgba(212,175,55,0.4); }
		.table-avantages td { padding: 8px; }
		.table-avantages .coche {
			width: 40px;
			text-align: center;
			color: #F5B427;
			font-size: 18px;
			font-weight: bold; }

	.ligne-titre-article-mobile { display: none; }
	
	
	/* ------- AFFICHAGES MOBILE ------- */

	@media screen and (max-width:700px){		

		h1 { font-size: 18px; }
		h2 { font-size: 16px; }
		
		.table-panier td.soustotaux { padding-right: 10px; font-size:14px; }
		.table-panier td.titresstotaux { font-size:14px; }
		.texte-attention { font-size: 14px; }
		.table-panier td#infoscode { display: none; }

		.page{ padding:15px 4px; }
		
		.table-panier{
			display:block;
			width:100%;
			font-size:12px; }

			.table-panier thead{ display:none; }
			.table-panier tbody{ display:block; width:100%; }

		/* Une ligne d'article ne fonctionne plus comme une ligne de tableau */
		.ligne-article-panier{
			display:grid;
			grid-template-columns:46px 58px minmax(80px, 1fr) 58px 34px;
			align-items:center;
			width:100%;
			box-sizing:border-box; }

		.ligne-article-panier td{
			display:block;
			width:auto;
			min-width:0;
			padding:6px 3px;
			box-sizing:border-box;
			vertical-align:middle; }

		.ligne-article-panier td:nth-child(1){ grid-column:1; }
		.ligne-article-panier td:nth-child(2){ display:none; }
		.ligne-article-panier td:nth-child(3){ grid-column:2; text-align:right; white-space:nowrap; }
		.ligne-article-panier td:nth-child(4){ grid-column:3; text-align:center; }
		.ligne-article-panier td:nth-child(5){ grid-column:4; text-align:right; white-space:nowrap; }
		.ligne-article-panier td:nth-child(6){ grid-column:5; text-align:center; }

		.ligne-titre-article-mobile{
			display:block;
			width:100%;
			box-sizing:border-box; }

				.ligne-titre-article-mobile td{
					display:block;
					width:100%;
					box-sizing:border-box;
					padding:20px 10px 20px 10px;
					line-height: 0.8;
					text-align:left;
					background:rgba(255,255,255,.04); }

				.ligne-titre-article-mobile .titre-article{
					display:block;
					font-size:13px; }

				.couleur-panier { font-size: 9px; }
			

		.miniature{
			width:42px;
			height:42px;
			border-radius:4px; }

		.qte-box{
			display:flex;
			gap:2px;
			justify-content:center;
			align-items:center; }

				.qte-box button{
					width:22px;
					height:24px;
					padding:0; }

				.qte-box input{
					width:28px;
					height:22px;
					padding:0;
					font-size:12px; }

		.btn-supprimer{ padding:2px 7px; }

		/* Les autres lignes occupent toute la largeur */
		.ligne-reduction,
		.ligne-envoi,
		.ligne-paiement,
		.ligne-total{
			display:table;
			width:100%;
			table-layout:auto; }

		.ligne-reduction td,
		.ligne-envoi td,
		.ligne-paiement td,
		.ligne-total td{ font-size:12px; }

		.code-promo-box form{
			display:flex;
			justify-content:center;
			gap:4px;
			flex-wrap:wrap; }

		.code-promo-box input{ width:80px; }

		.table-panier select{
			width:100%;
			max-width:160px;
			font-size:12px;
			padding:5px; }

		.btn-valider-payer{
			min-width:0;
			max-width:170px;
			white-space:normal;
			font-size:12px;
			padding:7px 8px; }

		.lien-annulation-panier{
			font-size:11px; }

		.mention{
			text-align:center;
			font-size:12px; }

		.popup-contenu{
			width:94%;
			padding:15px;
			max-height:92vh; }

		.popup-header{
			flex-direction:column;
			gap:12px; }

		.galerie-popup{ flex-direction:column; }

		.vignettes-verticales{
			width:100%;
			flex-direction:row;
			overflow-x:auto; }

				.vignettes-verticales img{
					width:90px;
					height:70px;
					flex:0 0 auto; }

		.photo-grande img{
			max-height:55vh;
			display:block;
			margin:auto; }

		.bloc{ padding:15px; }
		.acceptations-recap label{ font-size:13px; }
		.form-row{ display:block; }

	} /* fin affichage mobiles */


/* Choix de couleur ou taille article */
.choix-couleur-article { margin: 12px 0; }

.choix-couleur-article label {
    color: #d4af37;
    font-weight: bold;
    margin-right: 8px; }

.choix-couleur-article select,
.stock-coloris-zone select,
.stock-coloris-zone input {
    background: #111;
    color: #fff;
    border: 1px solid #d4af37;
    padding: 8px;
    border-radius: 5px;
    box-sizing: border-box; }

		/* Affichage dans le panier */
		.couleur-panier {
			color: #fff;
			font-style: italic;
			font-size: 1em; }
	

.admin-checkbox-ligne {
    display: block;
    margin: 8px 0 14px 0;
    color: #d4af37;
    font-weight: bold; }


/* Confirmation "AJOUTÉ" visuelle sur miniature après ajout direct au panier */
.ajout-zone-photo { position: relative; }

.ajout-feedback-ajoute {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    color: #40C947;
    background: rgba(0,0,0,0.78);
    border: 1px solid #40C947;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: bold;
    font-size: 22px;
    letter-spacing: 2px;
    pointer-events: none; }

/* Choix de taille article / panier */
.choix-taille-article {
    margin: 12px 0;
    color: #fff;
    font-style: italic; }

.choix-taille-article select {
    background: #111;
    color: #fff;
    border: 1px solid #d4af37;
    padding: 8px;
    border-radius: 5px;
    box-sizing: border-box; }

.taille-panier {
    color: #fff;
    font-style: italic;
    font-size: 1em; }

.article-tag-sans-lien { cursor: default; }


/* ------- BOUTONS AJOUTER AU PANIER : ASPECT INVERSÉ ------- */

.btn-bandeau.ajout-panier,
.btn-bandeau.article-panier {
    background: #d4af37;
    color: #000;
    border-color: #d4af37;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 0.4px;
    text-transform: uppercase; }

		.btn-bandeau.ajout-panier:hover,
		.btn-bandeau.article-panier:hover {
			background: transparent;
			color: #d4af37;
			border-color: #d4af37; }

		.btn-bandeau.ajout-panier:disabled,
		.btn-bandeau.article-panier:disabled,
		.btn-bandeau.ajout-panier:disabled:hover,
		.btn-bandeau.article-panier:disabled:hover {
			background: #d4af37;
			color: #000;
			border-color: #d4af37;
			opacity: 0.45;
			cursor: not-allowed; }

/* ------- INSCRIPTION AUX NEWS ------- */

.popup-nouveautes {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px;
    background: rgba(0, 0, 0, 0.82); }

.popup-nouveautes.visible { display: flex; }

.popup-nouveautes-contenu {
    position: relative;
    width: 100%;
    max-width: 430px;
    box-sizing: border-box;
    padding: 25px;
    color: #fff;
    background: #111;
    border: 1px solid #d4af37;
    border-radius: 8px; }

.popup-nouveautes-contenu h2 {
    margin: 0 35px 20px 0;
    color: #d4af37; }

.popup-nouveautes-fermer {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0;
    color: #fff;
    font-size: 24px;
    background: transparent;
    cursor: pointer; }

.form-nouveautes label {
    display: block;
    margin-top: 12px; }

.form-nouveautes input {
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px;
    padding: 10px;
    color: #fff;
    background: #000;
    border: 1px solid #d4af37;
    border-radius: 6px; }

.form-nouveautes button { margin-top: 20px; }

