/* Booking layout repair. No prices, payment logic or form values are changed. */
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
html body .gr136-google-shell,html body .gr135-live,html body .gr12-live { min-width:0; max-width:100%; box-sizing:border-box; }
/* Prevent intrinsic control/text widths from enlarging the embedded document. */
html body .home-booking-stage,
html body .home-booking-frame-wrap,
html body .home-booking-frame,
html body .b32-wrap,
html body .b32-form,
html body .b32-customer,
html body .b32-calendar,
html body .b71-service-step,
html body .b53-payment {
  min-width:0; max-width:100%; box-sizing:border-box;
}
html body .home-booking-frame { width:100%; }
html body .home-booking-stage { overflow-anchor:none; }
html body .b32-form :is(label,.b32-summary>div,.b32-card-title>div,.b71-service-note,.sms233-choice>span),
html body .b53-payment :is(form,.b53-summary-card,.b53-methods-card,.b113-card-field) {
  min-width:0; box-sizing:border-box; overflow-wrap:anywhere;
}
html body :is(.b32-form,.b53-payment) :is(input,select,textarea) {
  min-width:0; max-width:100%; box-sizing:border-box!important;
}
html body .b32-summary,
html body .b32-fields { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
html body .b71-service-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
html body .b32-card-title :is(h2,p),
html body .b32-summary strong,
html body .sms233-consent :is(label,span,p),
html body .b53-payment :is(h1,h2,p,strong,small) { overflow-wrap:anywhere; }
html body .b32-form img { max-width:100%; }
html body .sms233-choice { min-width:0; }
html body .sms233-choice> :not(input) { min-width:0; flex:1; }
html body .sms233-choice input[type=checkbox] { flex:0 0 20px; max-width:20px; }
/* Do not allow the auto-sized iframe to present a second sticky action bar. */
html body.booking-embed .b32-actions.split { position:static; }
html body .b32-actions { flex-wrap:wrap; }
html body .b32-actions>button { max-width:100%; white-space:normal; }
/* These widgets return as soon as the customer leaves the booking area. */
html body.amx-checkout-visible .amx-contact-tools,
html body.amx-checkout-visible .amx-victoria-panel,
html body.amx-checkout-editing .amx-contact-tools,
html body.amx-checkout-editing .amx-victoria-panel {
  visibility:hidden!important; pointer-events:none!important;
}
/* iPhone and iPad, including landscape. Keep 16px controls to avoid iOS focus zoom. */
@media (max-width:1366px) {
  html body :is(.b32-form,.b53-payment,.db20-booking,.v6-search) :is(input,select,textarea) {
    font-size:16px!important; line-height:1.35!important;
  }
  html body .b32-fields input,
  html body .b71-service-grid select { min-height:46px!important; height:46px!important; }
  html body .b32-fields textarea { min-height:88px!important; }
  html body .b32-card-title p { font-size:14px; }
  html body .b32-fields label>span { font-size:14px; }
  html body .b32-summary strong { font-size:14px; }
  html body .b32-summary small { font-size:10px; letter-spacing:.08em; }
  html body .b32-primary,html body .b32-secondary { min-height:46px; font-size:14px; }
  /* Do not cover the active input with the three-row mobile/tablet header. */
  html body.amx-checkout-visible .v6-header,
  html body.amx-checkout-editing .v6-header { position:relative!important; top:auto!important; }
}
@media (max-width:900px) {
  html body .b71-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html body .b32-calendar-grid,
  html body .b53-pay-grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:680px) {
  /* Five progress stages must shrink with the host, rather than form a 475px row. */
  html body .home-booking-stage .db20-progress {
    width:100%; max-width:100%; min-width:0; box-sizing:border-box;
    display:flex; align-items:center; gap:0; overflow:visible;
    padding:12px!important;
  }
  html body .home-booking-stage .db20-progress .db20-step {
    min-width:0; flex:0 0 auto; gap:0;
  }
  html body .home-booking-stage .db20-progress .db20-step>span { display:none; }
  html body .home-booking-stage .db20-progress>i {
    flex:1 1 0; min-width:0; width:auto; margin:0 5px;
  }
  html body .b32-fields,
  html body .b32-summary,
  html body .b71-service-grid { grid-template-columns:minmax(0,1fr)!important; }
  html body .b32-fields .wide { grid-column:auto; }
  html body .b32-customer,html body .b32-calendar,html body .b71-service-step { padding:16px 12px!important; }
  html body .b32-card-title { gap:10px; margin-bottom:18px; }
  html body .b32-icon { width:36px; height:36px; flex-basis:36px; border-radius:12px; }
  html body .b32-card-title h2 { font-size:23px; line-height:1.18; }
  html body .b32-steps { padding:12px; max-width:100%; overflow:hidden; }
  html body .b32-steps>div { min-width:0; }
  html body .b32-steps>div span { display:none; }
  html body .b32-steps>i { min-width:0; margin:0 4px; }
  html body .b32-calendar-card,html body .b32-time-card { padding:12px; }
  html body .b32-week,html body .b32-days { gap:4px; }
  html body .b32-days .day,html body .b32-days .blank { height:44px; }
  html body .b32-times { grid-template-columns:repeat(3,minmax(0,1fr)); }
  html body .b32-times .time { min-height:44px; font-size:12px; padding:0 3px; }
  html body .b53-summary-card,html body .b53-methods-card { padding:16px 12px; border-radius:20px; }
  html body .b113-card-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html body .b113-card-fields>.b113-card-field:first-child { grid-column:1/-1; }
  html body .b53-summary-row { gap:12px; }
  html body .sms233-consent { padding:12px; font-size:14px; line-height:1.5; }
  html body .sms233-consent p { padding-left:0; }
  html body .v6-main-inner { grid-template-columns:minmax(0,1fr) 44px!important; gap:10px!important; }
  html body .v6-brand { min-width:0!important; max-width:100%; }
  html body .v6-brand-logo { width:148px; max-width:100%; }
  html body .v6-menu { grid-column:2; grid-row:1; justify-self:end; }
  html body .v6-search { min-width:0; width:100%; max-width:100%; grid-column:1/-1!important; grid-row:2; }
  html body .v6-top-inner { gap:8px; }
}
@media (max-width:1200px) {
  /* The package background's negative bleed exceeded the narrow .wrap gutter. */
  html body .pkg9-reference-visual {
    margin-left:0!important; margin-right:0!important;
    width:100%; max-width:100%; box-sizing:border-box;
  }
}

/* Programmatic step focus is not a text-entry control. Preserve input focus rings. */
html body .b32-card-title h2[tabindex="-1"]:focus { outline:none!important; }
