
/* NAV-04E — responsive booking directory and appointment review.
   Layout only; no changes to appointment availability, validation, pricing or submission. */
@media(max-width:1100px){
 body.auto-booking-directory :is(.auto-filter-layout,.auto-filter-results,.auto-service-grid,.auto-path-grid)>*{min-width:0;max-width:100%}
 body.auto-booking-directory :is(.auto-search-sort input,.auto-search-sort select,.auto-mobile-cat select,.auto-system-picker select){min-width:0;min-height:48px;max-width:100%;font-size:16px!important}
 body.auto-booking-directory :is(.auto-cat-btn,.auto-service-link,.auto-service-full){min-height:44px;white-space:normal;overflow-wrap:anywhere}
 body.auto-booking-directory .auto-service-card :is(h3,p){overflow-wrap:anywhere}
 body.auto-booking-directory .auto-filter-side{top:calc(var(--emn-bar-height,0px) + 12px)}
 body.auto-service-detail.sd-reference :is(.sd-grid,.sd-content,.sd-vehicle-fields,.sd-person-fields)>*{min-width:0;max-width:100%}
 body.auto-service-detail.sd-reference :is(.sd-summary,.sd-booking,.sd-detail,.sd-intake,.sd-tab-panel){min-width:0;overflow-wrap:anywhere}
 body.auto-service-detail.sd-reference .sd-crumb{display:flex;flex-wrap:wrap;gap:6px;overflow-wrap:anywhere}
 body.auto-service-detail.sd-reference :is(.sd-booking,.sd-intake) :is(select,input:not([type=checkbox]):not([type=radio])){min-width:0;min-height:48px;width:100%;max-width:100%;box-sizing:border-box;font-size:16px!important}
 body.auto-service-detail.sd-reference .sd-intake fieldset{min-width:0;max-width:100%;box-sizing:border-box}
 body.auto-service-detail.sd-reference :is(.auto-calendar-slot,.sd-book-btn,.sd-specialist,.sd-tabs button){min-height:48px;white-space:normal;overflow-wrap:anywhere}
 body.auto-service-detail.sd-reference .sd-location-row{min-width:0;overflow-wrap:anywhere}
 body.auto-service-detail.sd-reference .sd-detail .auto-operations table{max-width:100%}
 body.auto-service-detail.sd-reference .sd-dialog{max-width:calc(100vw - 24px);max-height:90dvh}
 body.auto-service-detail.sd-reference .sd-dialog img{max-width:100%;max-height:75dvh;object-fit:contain}
}
@media(max-width:850px){
 body.auto-booking-directory .auto-filter-layout{grid-template-columns:minmax(0,1fr)!important;gap:16px;margin-top:16px}
 body.auto-booking-directory .auto-filter-side{display:none}
 body.auto-booking-directory .auto-mobile-cat{display:block;padding:14px}
 body.auto-booking-directory .auto-system-picker{gap:8px;align-items:stretch}
 body.auto-booking-directory .auto-system-picker select{flex:1 1 220px;min-width:0}
 body.auto-booking-directory .auto-search-sort{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
 body.auto-booking-directory .auto-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 body.auto-service-detail.sd-reference .sd-layout{width:100%;max-width:100%;box-sizing:border-box;padding-inline:16px!important}
 body.auto-service-detail.sd-reference .sd-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"summary" "gallery" "booking" "detail" "intake"!important;gap:16px}
 body.auto-service-detail.sd-reference .sd-content{grid-template-columns:minmax(0,1fr)!important}
 body.auto-service-detail.sd-reference .sd-gallery .sd-photo{max-width:100%}
 body.auto-service-detail.sd-reference .sd-gallery .sd-photo img{object-fit:contain;max-width:100%}
 body.auto-service-detail.sd-reference .auto-calendar-times{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,108px),1fr));gap:8px}
 body.auto-service-detail.sd-reference .auto-calendar-slot{width:100%;min-width:0}
 body.auto-service-detail.sd-reference .sd-detail .auto-operations{overflow-x:auto;overscroll-behavior-x:contain}
 body.it-booking-responsive main .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 body.it-booking-responsive main :is(.panel,.item,.notice){min-width:0;overflow-wrap:anywhere}
}
@media(max-width:540px){
 body.auto-booking-directory main{padding-inline:12px!important;min-width:0}
 body.auto-booking-directory :is(.auto-service-grid,.auto-path-grid,.auto-search-sort){grid-template-columns:minmax(0,1fr)!important}
 body.auto-booking-directory .auto-system-picker{flex-direction:column}
 body.auto-booking-directory .auto-system-picker select{width:100%;flex:initial}
 body.auto-booking-directory .auto-service-link{width:100%;text-align:center;box-sizing:border-box}
 body.auto-service-detail.sd-reference .sd-layout{padding-inline:12px!important}
 body.auto-service-detail.sd-reference .sd-summary h1{font-size:clamp(25px,6.8vw,35px)!important;line-height:1.18!important}
 body.auto-service-detail.sd-reference .sd-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.auto-service-detail.sd-reference .sd-intake :is(.sd-vehicle-fields,.sd-person-fields){grid-template-columns:minmax(0,1fr)!important}
 body.auto-service-detail.sd-reference .sd-intake :is(.sd-vehicle-fields,.sd-person-fields) label{grid-column:auto!important}
 body.auto-service-detail.sd-reference #service-booking-calendar{padding:12px;max-width:100%;box-sizing:border-box}
 body.auto-service-detail.sd-reference .sd-book-btn,body.auto-service-detail.sd-reference .sd-specialist{width:100%;box-sizing:border-box;text-align:center}
 body.it-booking-responsive main .grid{grid-template-columns:minmax(0,1fr)}
 body.it-booking-responsive main :is(.panel,.item,.notice){padding:18px}
 body.it-booking-responsive main .btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;white-space:normal}
}