/* V86: only phone landscape. Preserve desktop and portrait rotation gate. */
@media screen and (orientation:landscape) and (max-width:1100px) and (max-height:650px) and (pointer:coarse) {
  /* The A/C page uses a separate 3:2 image stage, not screen-fit.js. */
  html:has(body.approved-ac), body.approved-ac {width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;}
  body.approved-ac {display:block!important;}
  body.approved-ac .ac-approved-stage {position:relative!important;width:100vw!important;height:100dvh!important;aspect-ratio:auto!important;margin:0!important;max-width:none!important;}
  body.approved-ac .ac-approved-art {display:block!important;width:100%!important;height:100%!important;object-fit:fill!important;}
  body.approved-ac .ac-social {bottom:2%!important;}

  /* The sales/about/contact frame was previously desktop-scaled or switched
     at 850px, leaving parts off-screen on wider landscape phones. */
  html:has(body.sales-page-fit), body.sales-page-fit {height:auto!important;min-height:100dvh!important;overflow-x:hidden!important;overflow-y:auto!important;}
  body.sales-page-fit .sales-fit-stage {position:relative!important;top:auto!important;left:auto!important;transform:none!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:100dvh!important;overflow:visible!important;display:block!important;}
  body.sales-page-fit .sales-fit-stage > .functional-header {position:relative!important;width:100%!important;height:auto!important;max-width:100%!important;}
  body.sales-page-fit .sales-fit-stage .functional-header__top {width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;padding:7px 12px!important;display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:8px!important;}
  body.sales-page-fit .sales-fit-stage .functional-header__logo {width:min(27vw,190px)!important;max-width:190px!important;}
  body.sales-page-fit .sales-fit-stage .functional-header__logo img {height:auto!important;max-height:48px!important;width:100%!important;object-fit:contain!important;}
  body.sales-page-fit .sales-fit-stage .functional-header__contact {font-size:clamp(10px,1.6vw,13px)!important;gap:7px!important;flex-wrap:wrap!important;}
  body.sales-page-fit .sales-fit-stage .functional-header__hours {display:none!important;}
  body.sales-page-fit .sales-fit-stage .functional-header__nav {width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:4px!important;padding:4px 8px 7px!important;}
  body.sales-page-fit .sales-fit-stage .functional-header__nav a {font-size:clamp(10px,1.35vw,13px)!important;padding:5px 7px!important;}
  body.sales-page-fit .sales-fit-stage > main.simple {width:100%!important;max-width:100%!important;margin:0 auto!important;padding:14px 20px 55px!important;zoom:1!important;}
  body.sales-page-fit .sales-fit-stage > main.v15-sales {width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0 10px 40px!important;zoom:1!important;}
  body.sales-page-fit .sales-fit-stage .v15-hero {height:auto!important;aspect-ratio: 1536/254!important;min-height:110px!important;}
  body.sales-page-fit .sales-fit-stage .v15-categories {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:10px!important;}
  body.sales-page-fit .sales-fit-stage .v15-category img {width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;}
  body.sales-page-fit .sales-fit-stage .v15-tagline {margin:5px 0!important;padding:8px!important;}
  body.sales-page-fit .marios-social {position:fixed!important;top:6px!important;right:6px!important;}
}
