/* BMT ONE — 10 Nov 2026 verified audit repairs.
   Loaded last to neutralize historical mobile overrides without touching the shop backend.
   Keep these rules together; consolidate old styles after live QA. */
:root { --bmt-mobile-bar-height: 72px; }
.bmt-service-number { display:grid;place-items:center;flex:0 0 auto; }
.bmt-action-row { min-width:0; }
.bmt-action-row > div { min-width:0; }
.bmt-action-row h3, .bmt-action-row p { overflow-wrap:break-word; }
.bmt-service-arrow { flex:0 0 28px; text-align:center; font-family:Arial,sans-serif; font-variant-emoji:text; }
/* Use text presentation for glyphs in all browsers that support it. */
.bmt-action-bar, .bmt-action-row, .bmt-lux-footer-links, .bmt-locator-action { font-variant-emoji:text; }
@media (max-width:760px) {
  /* Footer must remain in document flow. Do not let scroll reveal transforms
     or touch hover states turn its navigation into a floating overlay. */
  body footer .bmt-lux-footer-main,
  body footer .bmt-lux-footer-links,
  body footer .bmt-lux-footer-links a {
    position:static !important;
    transform:none !important;
    translate:none !important;
    filter:none !important;
    opacity:1 !important;
    visibility:visible !important;
  }
  body footer .bmt-lux-footer-links {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    width:100% !important;
    max-width:100% !important;
    inset:auto !important;
    margin:0 !important;
    padding:0 !important;
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    background:transparent !important;
    box-shadow:none !important;
    z-index:auto !important;
  }
  body footer .bmt-lux-footer-links a { min-height:44px !important; padding:10px 12px !important; }
  body footer .bmt-lux-footer-contacts a { padding:9px 10px !important; }
  body footer { padding-bottom:24px !important; }
  body.bmt-public-page { padding-bottom:calc(var(--bmt-mobile-bar-height) + env(safe-area-inset-bottom,0px)) !important; }
  body .bmt-action-bar { min-height:var(--bmt-mobile-bar-height) !important; }
  body .bmt-action-bar a { min-width:0; font-variant-emoji:text; }
  body .bmt-back-top { right:14px !important; bottom:calc(var(--bmt-mobile-bar-height) + env(safe-area-inset-bottom,0px) + 12px) !important; }
  /* Navigation belongs to the header, not to the footer. */
  body header.nav.glass #navlinks:not(.open) { display:none !important; }
  body header.nav.glass #navlinks.open {
    position:absolute !important;
    top:calc(100% + 8px) !important;
    left:8px !important;
    right:8px !important;
    width:calc(100% - 16px) !important;
    max-height:calc(100dvh - 175px) !important;
    overflow-y:auto !important;
    box-sizing:border-box !important;
  }
  /* Give mobile links room to breathe. */
  .service-intro a[href*="wa.me"],
  a[href*="maps.apple.com"], a[href*="waze.com"] {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:44px !important;
    padding:8px 16px !important;
    box-sizing:border-box !important;
    line-height:1.35 !important;
  }
  .bmt-action-row { align-items:center !important; }
}
@media (max-width:360px) {
  #themeToggle { font-size:0 !important; min-width:40px !important; }
  #themeToggle::first-letter { font-size:16px; }
  body footer .bmt-lux-footer-links a { font-size:12px !important; }
}
@media (prefers-reduced-motion:reduce) {
  body footer .bmt-lux-footer-main > * { transition:none !important; animation:none !important; }
}
