
@CHARSET "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

html
{
	overflow-x: hidden;
}

.fond_body {
	position: relative;
}

body {
	font-size: 12px;
	font-family: 'Roboto', system-ui, -apple-system, sans-serif;
	background-color: #FFFFFF;
	color: black;
	line-height: 1.5em;
	margin: 0 auto;
	padding: 0;
}


h1,.texte_grand {
	font-size: 16px;
	font-weight: 500;
	font-family: 'Roboto', system-ui, -apple-system, sans-serif;
	color: black;
	background-color: rgba(0, 0, 0, 0);
	letter-spacing: 0px;
}

#wrap {
  color: black;
  max-width: 1440px;
  width: 100%;
  margin: 0px auto;
  padding: 0;
  }

#header {
  height:  120px;
}

#header #icone_menu {
	float: left;
	width: 10%;
	text-align: left;
	padding-left: 16px;
	box-sizing: border-box;
	height: 120px;		/* Pour centrage vertical du contenu */
}

#header #logo_client {
	float:left;
	display: inline-block; 
	width: 80%;
	text-align:center;
	line-height: 120px;
}

#header #logo_client img {
	vertical-align:middle;
}

#header #icone_panier {
	float: right;
	width: 10%;
	text-align: right;
	padding-right: 16px;
	box-sizing: border-box;
	height: 120px;
}

#fond_popup_panier, #fond_popup_menu {
	display: none;
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: black;
	-moz-opacity: 0.0;
	opacity: .00;
	filter: alpha(opacity=00);
	z-index: 900;
}

#fond_popup_panier a, #fond_popup_menu a {
	display: block;
	width: 100%;
	height: 100%;
}

#popup_panier {
	width: 820px;
	height: 430px;
	overflow: hidden;
	position: absolute;
	top: 1px; left: 1px; /* positionné via JS */
	background-color: #cdcdcd;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
	z-index: 901;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px) scale(0.98);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

#popup_menu {
	min-width: 280px;
	max-height: 80vh;
	overflow-y: auto;
	position: absolute;
	top: 1px; left: 1px; /* positionné via JS */
	background-color: #cdcdcd;
	padding: 10px 18px;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
	font-size: 14px;
	z-index: 901;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px) scale(0.98);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

#popup_panier.popup-visible,
#popup_menu.popup-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

#popup_menu a.lien {
	display: block;
	padding: 7px 10px 7px 10px;
	border-radius: 6px;
	transition: background-color 0.2s ease;
}

#popup_menu a.lien:hover {
	background-color: rgba(0, 0, 0, 0.15);
}

#popup_panier tr:hover td {
	background-color: rgba(0, 0, 0, 0.05);
	transition: background-color 0.2s ease;
}

div.spacer {
	height:3px;
	clear: both;
}

#zone_centrale {
  width: 100%;
  float: left;
  text-align: left;
  padding: 0px 0px 10px 0px;
}

#ariane {
	font-size: 14px;
	background-color: white;
	margin: 15px 0px -10px 0px;
	border: 1px solid #abaca7;
	border-radius: 8px;
	padding: 9px 10px;
	color: #6b7280;
}

#ariane a:link,    
#ariane a:visited,
#ariane a:hover, 
#ariane a:active  {color:black }

.resultats_tissus a:link,    
.resultats_tissus a:visited,
.resultats_tissus a:hover, 
.resultats_tissus a:active {color:black }

a.lien:link,   
a.lien:visited,   
a.lien:hover,   
a.lien:active
{color:black; text-decoration:none; }

a.lien_header:link,   
a.lien_header:visited,   
a.lien_header:hover,   
a.lien_header:active
{color:#000000; text-decoration:none; }

a.lien_pages:link,   
a.lien_pages:visited,   
a.lien_pages:hover,   
a.lien_pages:active
{color:red; text-decoration:underline; }


a.lien_souligne:link,   
a.lien_souligne:visited,   
a.lien_souligne:hover,   
a.lien_souligne:active
{color:black; text-decoration:underline; }

a.lien_accentuation:link,   
a.lien_accentuation:visited,   
a.lien_accentuation:hover,   
a.lien_accentuation:active
{color:red; text-decoration:none; }

label {
    cursor: pointer;
}

b, strong {
	font-weight: 500;
}

#contenu {
	font-size: 14px;
	padding: 20px 0px 10px 0px;
	min-height: 400px;
	position: relative; /* ancrage pour #bouton_suivant et #bouton_precedent */
}

#contenu > p:first-child {
	margin-top: 0;
}

#contenu .titre {
	font-size: 16px;
	font-weight: 400;
	background-color: #cdcdcd;
	padding: 8px 10px;
	margin: 8px 0;
	border-radius: 6px;
}

#contenu table.titre td {
	font-size: 16px;
	font-weight: 400;
	background-color: #cdcdcd;
	padding: 8px 10px;
	margin: 8px 0;
}

#contenu div.titre_accueil {
	font-size: 12px;
	padding:5px 5px 5px 5px;
	margin:5px 0px 5px 0px;
	height:50px;
}

#contenu div, td {
	font-size: 14px;
}

.bouton_bulle, .bouton_bulle_accentuation {
	font-size: 14px;
	font-family: 'Roboto', system-ui, -apple-system, sans-serif;
	font-weight: 400;
	background-color: white;
	margin: 15px 4px 0;
	border: 1px solid #abaca7;
	border-radius: 8px;
	padding: 8px 14px;
	text-align: center;
	cursor: pointer;
	transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.bouton_bulle:hover, .bouton_bulle_accentuation:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	transform: translateY(-1px);
}

.bouton_bulle_dark {
	background-color: #111111;
	border-color: #111111;
	color: #ffffff;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.bouton_bulle.bouton_bulle_dark a:link,
.bouton_bulle.bouton_bulle_dark a:visited,
.bouton_bulle.bouton_bulle_dark a:hover,
.bouton_bulle.bouton_bulle_dark a:active {
	color: #ffffff;
}

.bouton_bulle_dark:hover {
	background-color: #ffffff;
	border-color: #111111;
	color: #111111;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	transform: translateY(-1px);
}

.bouton_bulle.bouton_bulle_dark:hover a:link,
.bouton_bulle.bouton_bulle_dark:hover a:visited,
.bouton_bulle.bouton_bulle_dark:hover a:hover,
.bouton_bulle.bouton_bulle_dark:hover a:active {
	color: #111111;
}

#bouton_suivant {
	position: absolute;
	bottom:-7px;
	right:0;
	transition: box-shadow 0.2s ease, transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

#bouton_suivant a {
	font-weight: 500;
}

#bouton_suivant:hover {
	background-color: #111111;
	border-color: #111111;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

#bouton_suivant:hover a {
	color: #ffffff;
}

#btn_retour_accueil a {
	font-weight: 500;
}

#btn_retour_accueil {
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

#btn_retour_accueil:hover {
	background-color: #111111;
	border-color: #111111;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

#btn_retour_accueil:hover a {
	color: #ffffff;
}

#bouton_precedent {
	position:absolute;
	bottom:-50;
	left:0;
}

.bouton_bulle a:link,    
.bouton_bulle a:visited,
.bouton_bulle a:hover, 
.bouton_bulle a:active  {color:black; font-weight: 400; text-decoration:none; }

.bouton_bulle_accentuation a:link,    
.bouton_bulle_accentuation a:visited,
.bouton_bulle_accentuation a:hover, 
.bouton_bulle_accentuation a:active {color:red; font-weight: 400; text-decoration:none; }

.bouton_bulle a, .bouton_bulle_accentuation a {
	cursor: pointer;
	font-size: 14px;
	font-weight: 400;
}

#footer {
	background-image: url('./images/spacer.png');
	background-repeat: repeat-x;
	clear: both;
	text-align: right;
	margin: 0 auto;
	padding: 0;
	height: 188px;
}

#contenu_footer {
	position: relative;
	width: min(100vw, 1440px);
	margin-left: max(0px, calc((100vw - 1440px) / 2));
	margin-right: 0;
	padding: 0;
	top: 34px; /* sous le séparateur du background footer */
}

/* Textes divers */
span.nom_client {
	font-size: 14px;
	color:red;
}

div.message_erreur {
	color: red;
	padding: 14px 18px;
	border: 1px solid red;
	border-left: 4px solid red;
	background-color: #fff5f5;
	border-radius: 8px;
	text-align: left;
	font-weight: 400;
}

div.message_ok {
	color: #00AA00;
	padding: 14px 18px;
	border: 1px solid #00AA00;
	border-left: 4px solid #00AA00;
	background-color: #f0fdf4;
	border-radius: 8px;
	text-align: left;
	font-weight: 400;
}

.ok {
	color:#00AA00;
}

.nok {
	color:red;
}


/* Icônes d'action header/footer (menu, panier, imprimer) */

.bloc-icone-action {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border-radius: 10px;
	background-color: rgba(0, 0, 0, 0.07);
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	font-family: 'Roboto', system-ui, -apple-system, sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #000000;
	transition: background-color 0.25s ease;
}

.bloc-icone-action:link,
.bloc-icone-action:visited,
.bloc-icone-action:hover,
.bloc-icone-action:active {
	color: #000000;
	text-decoration: none;
}

.bloc-icone-action:hover {
	background-color: rgba(0, 0, 0, 0.25);
}

.bloc-icone-action i {
	font-size: 26px;
}

/* Menu icones */

table.menu {
	border: 0px;
	border-spacing: 16px;
	width: 1440px;
	margin-top: -20px;
}

/* Rangée 2 colonnes : tuile dimension à gauche, tuile finition à droite */
.dim_fin_row {
	display: flex;
	align-items: stretch;	/* les 2 tuiles prennent la même hauteur (la plus grande) */
	gap: 16px;
	width: 100%;
}
.dim_fin_left {
	flex: 0 0 auto;	/* prend sa taille de contenu, ne se réduit pas (image dimension non rognée) */
	display: flex;	/* permet à la tuile dimension de s'étirer en hauteur */
}

/* Tuile titrée enrobant les icones (ex: finitions store bateau) */
.finition_tile {
	flex: 1 1 0;	/* prend tout le reste de la largeur */
	min-width: 0;
	box-sizing: border-box;
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.10);
	padding: 8px;	/* bordure blanche de la tuile */
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.finition_tile_titre {
	font-size: 16px;
	font-weight: 500;
	text-align: center;
}
.finition_tile_body {
	background: #ededed;
	border-radius: 10px;
	padding: 12px;
}

/* Sous-tuiles de finition : réparties sur toute la largeur, passage à la ligne si trop étroit */
.finition_tile_body table.menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	width: 100%;
	margin-top: 0;
	border-spacing: 0;
}
.finition_tile_body table.menu tbody,
.finition_tile_body table.menu tr {
	display: contents;
}
.finition_tile_body table.menu td:empty {
	display: none;	/* masque les cellules d'espacement/remplissage de la table */
}
.finition_tile_body td.icone_simple,
.finition_tile_body td.icone_double {
	flex: 1 1 200px;	/* se répartissent sur la largeur dispo, repli si trop étroit */
}

div.tronque220 {
	width:220px;
	height:220px;
	overflow-x: hidden;
	overflow-y: hidden;
	direction:rtl;
}

div.centre_220 {
	width:220px;
	height:190px;
	background-color:#FCFCFC;
	text-align:center;
	padding-top:30px;
}

div.titre_sous_image {
	margin-top:3px;
	font-weight: 400;
}

div.tronque220 {
	border: 5px solid #FFFFFF;
	box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	-webkit-box-sizing: border-box;
}

img.bordure_blanche {
	border: none;
	border-radius: 12px;
	box-sizing: border-box;
}

/* -------------------------------------------------------
   Images des étapes de module (quantité, etc.)
   Indépendant de accueil.php — dimensions propres aux étapes.
   Fournir les images en 2x (640x480) pour les écrans retina.
   ------------------------------------------------------- */
.img-bloc-etape {
	width: 1000px;
	height: 400px;
	border-radius: 12px;
	overflow: hidden;
	display: block;
	flex-shrink: 0;
}

.img-bloc-etape img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: none;
}

td.icone_simple, td.icone_double {
	position: relative;
	border: none;
	padding: 0px;
	height: 300px;
	background-color: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}

td.icone_simple::after, td.icone_double::after {
	content: '';
	position: absolute;
	inset: 0;
	background-color: #FFFFFF;
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

td.icone_simple:hover::after, td.icone_double:hover::after,
td.icone_simple.icone_selected::after, td.icone_double.icone_selected::after {
	opacity: 1;
}

td.icone_simple a::before, td.icone_double a::before {
	content: '';
	position: absolute;
	top: 8px; left: 8px; right: 8px;
	bottom: 35px;
	background-image: var(--icone-url);
	background-size: cover;
	background-position: center;
	border-radius: 10px;
	pointer-events: none;
}

td.icone_simple:hover div, td.icone_double:hover div,
td.icone_simple:hover a, td.icone_double:hover a,
td.icone_simple.icone_selected div, td.icone_double.icone_selected div,
td.icone_simple.icone_selected a, td.icone_double.icone_selected a {
	color: #ffffff;
}

td.icone_simple_small {
	position: relative;
	border: none;
	padding: 0px;
	width: 220px;
	height: 220px;
	background-color: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}

td.icone_simple_small::after {
	content: '';
	position: absolute;
	inset: 0;
	background-color: #FFFFFF;
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

td.icone_simple_small:hover::after {
	opacity: 1;
}

td.icone_simple_small a::before {
	content: '';
	position: absolute;
	top: 8px; left: 8px; right: 8px;
	bottom: 35px;
	background-image: var(--icone-url);
	background-size: cover;
	background-position: center;
	border-radius: 10px;
	pointer-events: none;
}

td.icone_simple_small:hover div,
td.icone_simple_small:hover a {
	color: #ffffff;
}
td.icone_simple { width: 340px; }
td.icone_double { width: 696px; }	/* 340*2 + 16px border-spacing */

td.icone_simple a, td.icone_double a {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 1;
	color: #000000;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.25s ease;
}


td.icone_simple_small a {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 1;
	color: #000000;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.25s ease;
}

td.icone_simple a:link,    td.icone_double a:link, 		td.icone_simple_small a:link,
td.icone_simple a:visited, td.icone_double a:visited,	td.icone_simple_small a:visited,
td.icone_simple a:hover,   td.icone_double a:hover,		td.icone_simple_small a:hover,
td.icone_simple a:active,  td.icone_double a:active,	td.icone_simple_small a:active {color:black }

td.icone_simple div, td.icone_double div {
	padding: 0 14px;
	width: 100%;
	height: 35px;
	box-sizing: border-box;
	background: transparent;
	font-weight: 500;
	font-size: 14px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	position: relative;
	z-index: 1;
}

td.icone_simple_small div {
	padding: 0 14px;
	width: 100%;
	height: 35px;
	box-sizing: border-box;
	background: transparent;
	font-weight: 500;
	font-size: 14px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	position: relative;
	z-index: 1;
}

/* Tuiles détaillées (ex: fixation store bateau) : reprend la structure des tuiles
   dimension/finition -> cadre blanc extérieur, titre centré en haut, corps gris
   arrondi contenant l'image puis le texte infos (12px). */
td.icone_simple.tuile_detaillee,
td.icone_double.tuile_detaillee {
	background-color: #ffffff;
	padding: 8px;	/* bordure blanche autour du corps gris */
}

td.icone_simple.tuile_detaillee a,
td.icone_double.tuile_detaillee a {
	justify-content: flex-start;
	gap: 8px;
}

td.icone_simple.tuile_detaillee a::before,
td.icone_double.tuile_detaillee a::before {
	display: none;	/* l'image est gérée par .tuile_img */
}

td.icone_simple.tuile_detaillee .tuile_titre,
td.icone_double.tuile_detaillee .tuile_titre {
	height: auto;
	min-height: 0;
	padding: 2px 8px;	/* zone titre réduite de 4px (2px haut + 2px bas) */
	justify-content: center;	/* titre centré en haut */
}

td.icone_simple.tuile_detaillee .tuile_body,
td.icone_double.tuile_detaillee .tuile_body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: auto;
	width: 100%;
	box-sizing: border-box;
	padding: 0;
	background: transparent;	/* plus de fond gris */
}

td.icone_simple.tuile_detaillee .tuile_img,
td.icone_double.tuile_detaillee .tuile_img {
	flex: 1 1 auto;
	display: block;
	height: auto;
	min-height: 0;
	width: 100%;
	padding: 0;
	background-image: var(--icone-url);
	background-size: cover;
	background-position: center;
	border-radius: 8px;
}

/* #contenu pour passer devant la règle ID `#contenu div { font-size:14px }` */
#contenu td.icone_simple.tuile_detaillee .tuile_infos,
#contenu td.icone_double.tuile_detaillee .tuile_infos {
	display: block;
	height: auto;
	min-height: 0;
	padding: 0 2px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
}

/* Bouton fiche technique (footer choix fixation) : aligné à gauche sur la première tuile */
.bouton_fiche_technique {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 12px 0 0 16px;	/* 16px = border-spacing du tableau -> aligné sur la 1re tuile */
	padding: 8px 14px;
	background-color: #ffffff;
	border: 1px solid #abaca7;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
	cursor: pointer;
	transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.bouton_fiche_technique:link,
.bouton_fiche_technique:visited,
.bouton_fiche_technique:active {
	color: black;
	text-decoration: none;
}
.bouton_fiche_technique:hover {
	background-color: #111111;
	border-color: #111111;
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	transform: translateY(-1px);
	text-decoration: none;
}
.bouton_fiche_technique i {
	font-size: 18px;
}

/* Tuiles choix tissu thevenon / fourni */
.tuile_choix {
	position: relative;
	background: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,0.10);
	cursor: pointer;
	display: inline-block;
	width: 340px;
}
.tuile_choix::after {
	content: '';
	position: absolute;
	inset: 0;
	background-color: #FFFFFF;
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}
.tuile_choix:hover::after { opacity: 1; }
.tuile_choix .tuile_choix_img {
	margin: 8px 8px 0 8px;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	z-index: 1;
}
.tuile_choix .tuile_choix_img img {
	width: 100%;
	display: block;
}
.tuile_choix .tuile_choix_label {
	padding: 0 14px;
	height: 35px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	font-size: 14px;
	position: relative;
	z-index: 1;
}
.tuile_choix:hover .tuile_choix_label { color: #ffffff; }

/* Blocs étape options */
.option_wrapper {
	background: #ffffff;
	border-radius: 14px;
	overflow: visible;
	box-shadow: 0 2px 10px rgba(0,0,0,0.10);
	padding-bottom: 1px;
}
.zone_choix_tissu_option {
	background: rgba(0,0,0,0.07);
	border-radius: 8px;
	padding: 6px 8px;
	margin-top: 6px;
	display: inline-block;
	vertical-align: top;
	width: 94%;
}
.option_titre {
	padding: 10px 6px 0px 10px;
	font-size: 14px;
	font-weight: 500;
}
.texte_intro_etape {
	border-left: 3px solid #FFFFFF;
	border-radius: 0 8px 8px 0;
	background: #cce5f8;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 10px;
}
.option_wrapper > table {
	background: rgba(0,0,0,0.07);
	margin: 8px;
	width: calc(100% - 16px);
	border-radius: 10px;
}
/* Variante div de la zone grise ci-dessus, pour les wrappers en flex (l'astuce td height:1px + height:100% ne fonctionne pas dans Firefox) */
.option_wrapper > .option_zone {
	background: rgba(0,0,0,0.07);
	margin: 8px;
	border-radius: 10px;
	flex: 1;
	padding: 10px 8px;
	text-align: center;
	box-sizing: border-box;
}
.largeur_type_tile {
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.10);
	cursor: pointer;
	padding: 10px 9px 14px 9px;
	text-align: center;
	font-size: 13px;
	position: relative;
	flex: 1;
	transition: color 0.25s ease;
	user-select: none;
}
.largeur_type_tile::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 14px;
	background-color: #FFFFFF;
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}
.largeur_type_tile:hover::after,
.largeur_type_tile.selected::after {
	opacity: 1;
}
.largeur_type_tile:hover > span,
.largeur_type_tile.selected > span {
	color: #ffffff;
}
.largeur_type_tile > span {
	position: relative;
	z-index: 1;
	display: block;
	margin-bottom: 2px;
}
.largeur_subzone {
	position: relative;
	z-index: 1;
	background: #ededed;
	border-radius: 8px;
	margin-top: 8px;
	padding: 8px;
	text-align: center;
	color: #000000;
	font-size: 12px;
	display: none;
	min-height: 150px;
	box-sizing: border-box;
	margin-bottom: -5px;
}
.largeur_type_tile.selected .largeur_subzone {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.largeur_tile_image {
	position: relative;
	z-index: 1;
	margin-top: 8px;
	margin-bottom: -5px;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.largeur_tile_image img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 6px;
}
.largeur_type_tile.selected .largeur_tile_image {
	display: none;
}
.option_wrapper input[type="radio"],
.option_wrapper input[type="checkbox"] {
	accent-color: red;
	cursor: pointer;
	width: 15px;
	height: 15px;
	vertical-align: middle;
	flex-shrink: 0;
}
.option_wrapper label {
	cursor: pointer;
}
.nb_rideaux_tile {
	background: #ffffff;
	border-radius: 10px;
	cursor: pointer;
	position: relative;
	user-select: none;
	box-shadow: 0 1px 4px rgba(0,0,0,0.10);
	overflow: hidden;
	transition: color 0.25s ease;
}
.nb_rideaux_tile::after {
	content: '';
	position: absolute;
	inset: 0;
	background-color: #FFFFFF;
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}
.nb_rideaux_tile:hover::after,
.nb_rideaux_tile.selected::after {
	opacity: 1;
}
.nb_rideaux_tile > span {
	position: relative;
	z-index: 1;
	display: block;
	font-size: 12px;
	padding: 6px 8px;
	text-align: center;
}
.nb_rideaux_tile:hover > span,
.nb_rideaux_tile.selected > span {
	color: #ffffff;
}
.nb_rideaux_tile img {
	position: relative;
	z-index: 1;
	width: calc(100% - 16px);
	height: 78px;
	object-fit: cover;
	display: block;
	margin: 0 8px 8px;
	border-radius: 6px;
}
/* Tuile dimensions simple */
.dim_tile {
	flex: 1 1 auto;	/* s'étire en hauteur jusqu'au bas de la tuile finition */
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.10);
	padding: 8px;	/* bordure blanche de la tuile */
	display: inline-flex;
	flex-direction: column;
	gap: 10px;
}
.dim_tile_titre {
	font-size: 16px;
	font-weight: 500;
	text-align: center;
}
.dim_tile_body {
	flex: 1 1 auto;	/* le corps gris remplit la hauteur étirée de la tuile */
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	background: #ededed;
	border-radius: 10px;
	padding: 12px;
}
.dim_tile_fields {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 24px;
}
.dim_tile_field {
	display: block;
	text-align: center;
}
.dim_tile_field label {
	font-size: 14px;
	white-space: nowrap;
}
.dim_tile_image img {
	border-radius: 10px;
	display: block;
	max-width: 580px;
	object-fit: cover;
}

.option_liste_options {
	display: block;
	width: 94%;
	font-size: 12px;
	background: rgba(0,0,0,0.07);
	border-radius: 8px;
	margin-top: 6px;
	padding: 4px 8px 8px 8px;
	}
.option_liste_options > table {
	border-spacing: 0;
}

/* Recherche tissus */
div.resultats_tissus {background-color:#cdcdcd;}
div.resultats_tissus table td {border:0px;}

div.resultats_tissus table td:last-child {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 340px;
}

div.resultats_tissus tr:hover td {
	background-color: rgba(0, 0, 0, 0.15) !important;
	transition: background-color 0.2s ease;
}

div.resultats_tissus tr:hover td:first-child {
	border-radius: 6px 0 0 6px;
}

div.resultats_tissus tr:hover td:last-child {
	border-radius: 0 6px 6px 0;
}

select, input, textarea {
	font-family: 'Roboto', system-ui, -apple-system, sans-serif;
	font-size: 14px;
}

/* Firefox garde le fond gris systeme des <select> tant que background-color n'est pas defini (Chrome les rend blancs des qu'ils sont stylises) */
select {
	background-color: white;
}

/* Firefox : la liste deroulante est un widget a part, les <option> n'heritent pas de la police du <select> (Chrome si) */
option {
	font-family: 'Roboto', system-ui, -apple-system, sans-serif;
	font-size: 14px;
	background-color: white;
}

select.choix_dimension {
	width: 150px;
	border-radius: 8px;
	border: 1px solid #d1d5db;
	padding: 6px 10px;
	box-sizing: border-box;
}

/* Barres horizontales "OU" dans les dimensions */
.strike {
	display: block;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
	font-size: 20px;
}

.strike > span {
	position: relative;
	display: inline-block;
}

.strike > span:before,
.strike > span:after {
	content: "";
	position: absolute;
	top: 50%;
	width: 9999px;
	border-top: 1px solid black;
}

.strike > span:before {
	right: 100%;
	margin-right: 15px;
}

.strike > span:after {
	left: 100%;
	margin-left: 15px;
}

textarea {
    resize: none;
}

@media print
{
	* {
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
	}

	#ariane
	{
	    display:none;
	}
	
	.fond_body {
		width:100%
	}
	
	.masquer_print {
		display:none;
	}
}

 .accueil-bg
 {
  position:fixed;
  top:0px;
  margin:0px;
  padding:0px;
  width:100%;
  height:100%;  
  background:url("./images/_background-accueil.jpg") no-repeat center center;
  background-size:cover;
 }
 
.bouton-connexion {
	min-width: 130px;
	font-size: 14px;
	font-family: 'Roboto', system-ui, -apple-system, sans-serif;
	font-weight: 500;
	background-color: #111111;
	color: #ffffff;
	margin: 10px;
	border: 1px solid #111111;
	cursor: pointer;
	border-radius: 8px;
	padding: 10px 20px;
	text-align: center;
	transition: box-shadow 0.2s ease, transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}

.bouton-connexion:hover {
	background-color: #ffffff;
	color: #111111;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	transform: translateY(-1px);
}

.zdl-langue {
	width: 90px;
	font-size: 13px;
	font-family: 'Roboto', system-ui, -apple-system, sans-serif;
	background-color: #eef2ff;
	margin: 2px;
	border: 1px solid #c7d2fe;
	border-radius: 6px;
	padding: 6px 8px;
	text-align: left;
	transition: border-color 0.2s ease;
}

.zdl-langue:focus {
	outline: none;
	border-color: red;
	box-shadow: 0 0 0 3px red22;
}

.champs-connexion {
	width: 140px;
	font-size: 14px;
	font-family: 'Roboto', system-ui, -apple-system, sans-serif;
	margin: 4px 2px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 9px 12px;
	text-align: left;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.champs-connexion:focus {
	outline: none;
	border-color: red;
	box-shadow: 0 0 0 3px red22;
}

/* --- Groupes de champs avec label au-dessus et icône intégrée --- */

.champ-groupe {
	margin-bottom: 16px;
	text-align: left;
}

.champ-label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: #374151;
	margin-bottom: 6px;
}

.champ-icone-wrapper {
	position: relative;
	display: block;
}

.champ-icone-left {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #9ca3af;
	font-size: 13px;
	pointer-events: none;
	z-index: 1;
}

.champs-avec-icone {
	padding-left: 36px !important;
	width: 100%;
	box-sizing: border-box;
}

.champs-avec-icone-droite {
	padding-right: 38px !important;
}

/* --- Wrapper mot de passe (œil) --- */
.champ-mdp-wrapper {
	position: relative;
	display: block;
}

.champ-mdp-wrapper .champs-connexion {
	padding-right: 38px;
}

.toggle-mdp {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	color: #6b7280;
	display: flex;
	align-items: center;
}

.toggle-mdp:hover {
	color: #111111;
}

.champs-formulaire-mdp {
	width: 350px;
	font-size: 14px;
	font-family: 'Roboto', system-ui, -apple-system, sans-serif;
	margin: 4px 2px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 9px 12px;
	text-align: left;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.champs-formulaire-mdp:focus {
	outline: none;
	border-color: red;
	box-shadow: 0 0 0 3px red22;
}