/* Preserve the desktop layout and allow recovered fixed-width blocks to shrink. */
@media screen and (max-width: 479px) {
  .main_hero_title,
  .hero_wrapp,
  .main_hero_wrapp,
  .section,
  .forfait_option_wrapp,
  .forfait_service_ajustement_wrapp,
  .service_cta_off,
  .fidelite_question_content,
  .fidelite_etape_text_2,
  .installation_pneus_offert_heading_wrapp,
  .installation_pneus_offert_heading2,
  .offre_heading,
  .offres_cards_wrapp,
  .offres_cards_content,
  .offres_cards,
  .pneusvr_subtitle,
  .pneus_heading_argument,
  .apropos_histoire_heading,
  .forfait_heading {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .offres_cards_content {
    grid-template-columns: minmax(0, 1fr);
  }
  .reseaux_sociaux_heading {
    max-width: 100%;
    font-size: clamp(36px, 10vw, 48px);
    overflow-wrap: anywhere;
  }
  .main_hero_title {
    font-size: clamp(28px, 8.5vw, 34px);
  }
}
/* Directed contact choices, including keyboard and small-screen use. */
/* Keep the last navigation action reachable on short phone screens. */
@media screen and (max-width: 991px) {
  .nav_menu.w-nav-menu { max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 24px; }
  .nav_menu.w-nav-menu .nav_link_3_mobile { display: block; border-color: #173f42; color: #173f42; padding-top: 16px; padding-bottom: 16px; }
}
.marketing-directed-form [hidden] { display: none !important; }
.contact-choices { border: 0; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.contact-choices legend { font-weight: 700; margin-bottom: 12px; }
.contact-choices label { cursor: pointer; padding: 12px; border: 2px solid #ccc; border-radius: 10px; font-size: 14px; line-height: 1.4; }
.contact-choices label:has(:checked) { background: #fff4e8; border-color: #c34c00; color: #592600; }
.contact-choices label:focus-within { outline: 3px solid #1956a0; outline-offset: 3px; }
.contact-call { display: block; background: #a92717; color: white; padding: 18px; border-radius: 10px; font-weight: 700; text-align: center; margin-bottom: 18px; }
.marketing-directed-form > div { width: 100%; min-width: 0; }
.marketing-directed-form .contact_text_input, .marketing-directed-form textarea { width: 100%; max-width: 100%; }
@media (max-width: 600px) { .contact-choices { grid-template-columns: 1fr; } }
.tire-picker { min-width: 0; margin: 20px 0; padding: 20px; border: 1px solid #b7d5d6; border-radius: 14px; background: #f2f8f8; color: #173f42; }
.tire-picker > legend { font-size: 20px; font-weight: 700; padding: 0 8px; }
.tire-picker-help { font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.tire-picker-help:last-child { margin: 12px 0 0; }
.tire-dimension-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.tire-dimension-grid label { min-width: 0; font-size: 14px; font-weight: 600; }
.tire-picker select { display: block; width: 100%; min-width: 0; min-height: 48px; margin-top: 6px; padding: 10px; border: 1px solid #789b9d; border-radius: 8px; background: white; color: #173f42; font: inherit; }
.tire-picker select:focus-visible, .tire-toggle input:focus-visible { outline: 3px solid #b51a59; outline-offset: 3px; }
.tire-toggle { display: flex; align-items: baseline; gap: 10px; margin: 16px 0; cursor: pointer; font-size: 14px; line-height: 1.5; }
.tire-toggle input { accent-color: #b51a59; flex: 0 0 auto; }
.tire-toggle.tire-toggle-secondary { font-size: 12px; font-weight: 400; margin-top: -6px; }
.tire-picker fieldset { min-width: 0; padding: 12px; border: 1px solid #b7d5d6; border-radius: 8px; margin-bottom: 16px; }
@media (max-width: 479px) { .tire-picker { padding: 14px; } .tire-dimension-grid { gap: 8px; } .tire-picker select { padding: 8px 4px; } }
