@media (min-width: 1289px) {
	#alogo-tabsm{display:none;}
	
	/** Blocs responsives **/		
	/** 2 moitiés visuel droit **/
	div.div2moities_visuel_d{display: -webkit-flex;display: flex;width:100%;}	
	div.div2moities_visuel_d div.div2moities_visuel_d_t{-webkit-order: 1;order: 1;width:50%;padding:3rem;}
	div.div2moities_visuel_d div.div2moities_visuel_d_v{-webkit-order: 2;order: 2;width:50%;padding:3rem;}
	div.div2moities_visuel_d div.div2moities_visuel_d_v{background-repeat:no-repeat;background-position: center center;background-size:cover;text-align:center;}
	
	/** 2 moitiés visuel gauche **/
	div.div2moities_visuel_g{display: -webkit-flex;display: flex;width:100%;}	
	div.div2moities_visuel_g div.div2moities_visuel_g_t{-webkit-order: 2;order: 2;width:50%;padding:3rem;}
	div.div2moities_visuel_g div.div2moities_visuel_g_v{-webkit-order: 1;order: 1;width:50%;padding:3rem;}
	div.div2moities_visuel_g div.div2moities_visuel_g_v{background-repeat:no-repeat;background-position: center center;background-size:cover;text-align:center;}

	/** 1 tier 2 tiers **/
	div.div1tier2tiers_visuel_d{display: -webkit-flex;display: flex;width:100%;margin-bottom:3rem;}	
	div.div1tier2tiers_visuel_d div.div1tier2tiers_visuel_d_t{-webkit-order: 2;order: 2;width:33%;padding:3rem;}
	div.div1tier2tiers_visuel_d div.div1tier2tiers_visuel_d_v{-webkit-order: 1;order: 1;width:67%;background-repeat:no-repeat;background-position: center center;background-size:cover;text-align:center;padding:3rem;}
	
	/** 2 tiers 1 tier **/
	div.div1tier2tiers_visuel_g{display: -webkit-flex;display: flex;width:100%;margin-bottom:3rem;}	
	div.div1tier2tiers_visuel_g div.div1tier2tiers_visuel_g_t{-webkit-order: 1;order: 1;width:33%;padding:3rem;}
	div.div1tier2tiers_visuel_g div.div1tier2tiers_visuel_g_v{-webkit-order: 2;order: 2;width:67%;background-repeat:no-repeat;background-position: center center;background-size:cover;text-align:center;padding:3rem;}
	
	/* 1 bloc txt */
	div.div1block_wysi,div.div1block_wysi.div1block_wysi_t,div.div1block_wysi.div1block_wysi_t textarea{width:100%;}
	
	/* 2 moitiés wysi */
	div.div2moities_wysi{display:table;width:100%;}
	div.div2moities_wysi div.div2moities_wysi_t_g,div.div2moities_wysi div.div2moities_wysi_t_d{display:table-cell;width:50%;padding:3rem;vertical-align: middle;}
	
	/** 1 tier 2 tiers wysi **/
	div.div1tier2tiers_wysi{display:table;width:100%;}
	div.div1tier2tiers_wysi div.div1tier2tiers_wysi_t_g{display:table-cell;width:33%;padding:3rem;}
	div.div1tier2tiers_wysi div.div1tier2tiers_wysi_t_d{display:table-cell;width:67%;padding:3rem;}
	
	/** 2 tiers 1 tier wysi **/
	div.div2tiers1tier_wysi{display:table;width:100%;}
	div.div2tiers1tier_wysi div.div2tiers1tier_wysi_t_g{display:table-cell;width:67%;padding:3rem;}
	div.div2tiers1tier_wysi div.div2tiers1tier_wysi_t_d{display:table-cell;width:33%;padding:3rem;}
	
	/** 3 tiers wysi **/
	div.div3tiers_wysi{display:table;width:100%;}
	div.div3tiers_wysi div.div3tiers_wysi_t_1,div.div3tiers_wysi div.div3tiers_wysi_t_2,div.div3tiers_wysi div.div3tiers_wysi_t_3{display:table-cell;width:33%;padding:3rem;}
	
	/** 4 quarts wysi **/
	div.div4quarts_wysi{display:table;width:100%;}
	div.div4quarts_wysi div.div4quarts_wysi_t_1,div.div4quarts_wysi div.div4quarts_wysi_t_2,div.div4quarts_wysi div.div4quarts_wysi_t_3,div.div4quarts_wysi div.div4quarts_wysi_t_4{display:table-cell;width:25%;background-color:#eeeeee;padding:0.5rem;}
	/** Blocs responsives **/
	
	/** Blocs responsives OLD **/
	div.div3tiers_1 div:first-child{float:left;width:31%;padding:1%;margin-top:2rem;}
	div.div3tiers_1 div:nth-child(2){float:left;width:31.4%;padding:1%;margin-top:2rem;}
	div.div3tiers_1 div:nth-child(3){float:left;width:31%;padding:1%;margin-top:2rem;}
	
	div.div3tiers_2 div:first-child{float:right;width:31%;padding:1%;}
	div.div3tiers_2 div:nth-child(2){float:right;width:31.4%;padding:1%;}
	div.div3tiers_2 div:nth-child(3){float:right;width:31%;padding:1%;}
	
	div.div2moities_1{display:table;padding-top:2rem;}
	div.div2moities_1 div{display:table-cell;width:50%;padding:1%;vertical-align:middle;}
	div.div2moities_1 div h2{padding-top:0;}
	div.div2moities_2 div{display:table-cell;width:50%;padding:1%;vertical-align:middle;}
	
	div.div1tier2tiers_1 div:first-child{float:left;width:31.3%;padding:1%;}
	div.div1tier2tiers_1 div:nth-child(2){float:left;width:64.2%;padding:1%;}	
	div.div1tier2tiers_2 div:first-child{float:right;width:64.2%;padding:1%;}
	div.div1tier2tiers_2 div:nth-child(2){float:right;width:31.3%;padding:1%;}
	
	div.div2tiers1tier_1 div:first-child{float:left;width:64.2%;padding:1%;}
	div.div2tiers1tier_1 div:nth-child(2){float:left;width:31.3%;padding:1%;}	
	div.div2tiers1tier_2 div:first-child{float:right;width:31.3%;padding:1%;}
	div.div2tiers1tier_2 div:nth-child(2){float:right;width:64.2%;padding:1%;}
	/** Blocs responsives OLD **/
	
	/*********  Demande de devis  *********/
	.radio-group {
		display: block !important;
	}

	.radio-inline {
		display: flex;
		align-items: center;
		gap: 20px;
		flex-wrap: nowrap;
	}

	.radio-inline input[type="radio"] {
		width: auto;
		margin: 0 5px 0 0;
	}
	
	.checkbox-inline {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap;
		gap: 20px;
		align-items: center;
	}

	.checkbox-inline label {
		display: flex;
		align-items: center;
		gap: 6px;
		margin: 0;
		font-weight: normal;
	}

	.checkbox-inline input[type="checkbox"] {
		width: auto !important;
		margin: 0;
	}
	
	#div_demande_devis_glob p.checkbox-grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 30px;
		margin: 10px 0 0;
		width: 100%;
	}

	#div_demande_devis_glob p.checkbox-grid label {
		display: flex !important;
		flex-direction: row !important;
		align-items: center;
		gap: 8px;
		margin: 0;
		font-weight: normal;
	}

	#div_demande_devis_glob p.checkbox-grid input[type="checkbox"] {
		width: auto !important;
		margin: 0;
		flex: 0 0 auto;
	}
	#h3option{text-align:right;}
	/* Les deux colonnes principales */
	#div_demande_devis_glob {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
		max-width:1200px;
		margin:auto;
	}

	/* Chaque bloc devient une grille */

	#div_demande_devis_glob > div {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px 30px;
		align-content: start;
	}

	/* Titres */

	#div_demande_devis_glob h2 {
		grid-column: 1 / -1;
		margin-bottom: 10px;
	}

	/* Image du cahier des charges */

	.divcaracteristique img {
		grid-column: 1 / -1;
		max-width: 100%;
		height: auto;
		display: block;
	}

	/* Champs */

	#div_demande_devis_glob p {
		margin: 0;
		display: flex;
		flex-direction: column;
	}

	/* Champs pleine largeur */

	.full-width {
		grid-column: 1 / -1;
	}

	/* Labels */

	#div_demande_devis_glob label {
		margin-bottom: 5px;
		font-weight: 600;
	}

	/* Inputs */

	#div_demande_devis_glob input[type="text"],
	#div_demande_devis_glob input[type="email"],
	#div_demande_devis_glob select {
		width: 100%;
		box-sizing: border-box;
		padding: 10px;
	}

	/* Textareas */

	#div_demande_devis_glob textarea {
		width: 100%;
		box-sizing: border-box;
		padding: 10px;
	}

	/* Blocs radio */

	.divformeng {
		grid-column: 1 / -1;
		display: flex;
		align-items: center;
		gap: 20px;
	}

	/* Texte RGPD */

	#div_demande_devis_glob p[style*="text-align:center"] {
		grid-column: 1 / -1;
	}

	/* ==========================================
	   RECAPTCHA ET BOUTONS
	========================================== */

	.divformulaire {
		margin-top: 40px;
		text-align: center;
		margin-bottom:1rem;
	}

	/*********  Demande de devis  *********/
	
	/*********  Formulaire de contact *********/
	#div_contact_glob{max-width:1200px;margin-left:auto;margin-right:auto;}
	#divcontactadresse {
		display: table;
		background-color: #eee;
		padding: 1rem;
		border-radius: 0.25rem;
		font-size: 0.9rem;
		margin-bottom: 3rem;
		width:100%;
	}
	#divcontactadresse_ad_tel,#divcontactadresse_horaires{display:table-cell;width:50%;}
	#divcontactform form {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px 30px;
	}

	#divcontactform form p {
		margin: 0;
		display: flex;
		flex-direction: column;
	}

	#divcontactform form .full-width,
	#divcontactform form .divformulaire,
	#divcontactform form p:last-child {
		grid-column: 1 / -1;
	}

	#divcontactform input,
	#divcontactform select {
		width: 100%;
		box-sizing: border-box;
	}

	#divcontactform textarea {
		width: 100%;
		box-sizing: border-box;
	}	
	/*********  Formulaire de contact *********/
	
	/** Bandeau et module cookies cookies **/
	div#divbandeaucookie{position:fixed;width:600px;height:auto;bottom:20px;left: 20px;z-index:100;padding-left:1.5rem;padding-right:1.5rem;text-align:left !important;padding-bottom:1rem;}	
	div#divbandeaucookie form{text-align:center;padding-top:1rem;}
	div#divbandeaucookie h2{margin-bottom:0;}	
	
	div#divmodulecookies{
		width: auto;
		max-width: 80%;
		max-height: 90%;
		background-color: white;
		text-align: left;
		font-size: 0.9rem;
		overflow: auto;
		box-sizing: border-box;
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		padding:2rem;
		line-height: 1.5rem;
	}	
	
	div#divmodulecookies h3{font-size:1.5rem;margin-top: -0.5rem;;margin-bottom:0.5rem;}
	div#divmodulecookies h4{font-size: 1.1rem;margin-top: 0.2rem;}
	/** Bandeau et module cookies cookies **/
	
	/*****Espace client **********/
	div.dividentification form input[type="text"],div.dividentification form input[type="email"],div.dividentification form input[type="password"]{width:50%;}
	div.div_ec_itemservice:hover{box-shadow: 1px 4px 3px #161616;background-color:#EBEBEB;}
	div.div_ec_itemservice h2{text-align:center;line-height:4rem;}
	a#adeconec{float:right;margin-right:50px;top:50px;}
	div.divbasdetart{min-height:500px;}
	/*****Espace client **********/
}

@media (max-width: 1590px) {
	.divprodliste_btn {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-content: center;
		/* flex-wrap: nowrap; */
		margin-top: auto;
		width: 100%;
		gap: 5px;
	}
}
@media (max-width: 1510px) {
	:root { --sidebar-width: 280px; }
	.product-sidebar {
		padding: 1rem 10px 32px;
	}
}

@media (max-width: 1430px) {
	.phone-link {
		font-size: 15px;
		font-weight: 800;
		color: var(--blue);
		white-space: nowrap;
		position: absolute;
		top: 16px;
		right: 240px;
	}
	
	.language-switcher {
		display: flex;
		gap: 14px;
		font-size: 18px;
		position: absolute;
		right: 240px;
		top: 47px;
	}
}
@media (max-width: 1280px) {

  .product-sidebar { padding: 26px 24px; }
  .top-header { padding-left: 32px; }
  .main-nav ul { gap: 24px; }
  .header-actions { gap: 18px; }

  .footer-grid {
	grid-template-columns: 1fr 1fr;
	gap: 50px;
  }
}
