/* Ski Lachance – ajustements téléphone/tablette (le bureau ne change pas) */
@media (max-width: 980px) {
	/* À propos : le texte avait un retour à la ligne forcé à chaque ligne ; on laisse le texte couler (la signature garde le sien) */
	.page-id-17 .et_pb_text_inner > br,
	.page-id-17 .et_pb_text_inner p:not(:last-child) br { display: none; }

	/* Langue : le bouton flottant ne cache plus le pied de page */
	.et-l--footer .et_pb_section:last-child { padding-bottom: 64px !important; }
}
@media (max-width: 767px) {
	/* Grands titres (police Bangers 73px) : tiennent sur une ligne */
	.et_pb_text h1 { font-size: 46px !important; line-height: 1.1em !important; }

	/* Location : tableaux de prix en pleine largeur + invitation à toucher pour agrandir */
	.page-id-92 .et_pb_row { width: 94% !important; }
	.page-id-92 .et_pb_image .et_pb_image_wrap, .page-id-92 .et_pb_image .et_pb_image_wrap img { width: 100% !important; }
	.page-id-92 .et_pb_image a.et_pb_lightbox_image::after { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; text-align: center; color: #666; }
	.translatepress-fr_CA.page-id-92 .et_pb_image a.et_pb_lightbox_image::after { content: "Touchez le tableau pour l’agrandir"; }
	.translatepress-en_US.page-id-92 .et_pb_image a.et_pb_lightbox_image::after { content: "Tap the table to enlarge it"; }
}
@media (max-width: 980px) {
	/* Marques : les hauteurs/largeurs fixes du tableau empilaient les noms les uns sur les autres */
	.page-id-159 table, .page-id-159 table tbody, .page-id-159 table tr { height: auto !important; width: 100% !important; }
	.page-id-159 table { border: 0 !important; }
	.page-id-159 table, .page-id-159 table tbody { display: block !important; }
	.page-id-159 table thead { display: none !important; }
	.page-id-159 table tbody.category-group { padding: 12px 6px; margin-bottom: 0; }
	.page-id-159 table tr { display: flex !important; flex-wrap: wrap; justify-content: center; }
	.page-id-159 table td { display: block !important; height: auto !important; width: 50% !important; padding: 6px 4px !important; border: 0 !important; line-height: 1.3; text-align: center !important; }
	.page-id-159 table td:empty { display: none !important; }
	/* les noms de catégorie (SKIS, BOTTES...) sont dans la 1re cellule : on les montre comme titres */
	.page-id-159 table td:first-child:not(:empty) { display: block !important; width: 100% !important; margin-top: 10px; padding-top: 12px !important; border-top: 1px solid #ddd !important; font-size: 18px; }
	.page-id-159 table tr:first-child td:first-child { margin-top: 0; border-top: 0 !important; }
	/* toutes les marques sont dans le 1er groupe : les titres automatiques et les groupes vides faisaient des cases vides */
	.page-id-159 table tbody.category-group::before { display: none !important; }
	.page-id-159 table tbody.category-group:not(:has(tr)) { display: none !important; }
}
