/* Position controls against the road, preserving both palm-tree rows. */
@layer pbb-company-controls {
 html body footer.company-footer-review{position:relative!important;isolation:isolate!important;display:block!important;width:100%!important;height:max(440px,56.25vw)!important;min-height:0!important;padding:0!important;margin:0!important;box-sizing:border-box!important;background:#101619!important;color:#fff!important;scroll-margin-top:72px!important}
 html body footer.company-footer-review #footer-company-contact{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
 html body footer.company-footer-review .company-contact-scene{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;overflow:visible!important}
 html body footer.company-footer-review .footer-background-video{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center center!important;z-index:0!important}
 html body footer.company-footer-review .company-scene-shade{position:absolute!important;inset:0!important;z-index:1!important;pointer-events:none;background:linear-gradient(180deg,#080d1426,transparent 28%,transparent 68%,#080d1480)!important}
 html body footer.company-footer-review .company-contact-band{display:contents!important}
 html body footer.company-footer-review .footer-contact-title{position:absolute!important;z-index:3!important;top:24px!important;left:4%!important;margin:0!important;padding:0!important;font-size:20px!important;font-weight:400!important;line-height:1.3!important;color:white!important;text-shadow:0 2px 8px #000!important}
 html body footer.company-footer-review .footer-slogan{position:absolute!important;z-index:2!important;top:24%!important;left:15%!important;right:15%!important;bottom:auto!important;text-align:center!important;margin:0!important;font-size:clamp(17px,2vw,26px)!important;line-height:1.4!important;color:#fff!important;text-shadow:0 2px 8px #000!important;pointer-events:none}
 html body footer.company-footer-review .footer-auth-fold{position:absolute!important;z-index:8!important;top:34%!important;left:50%!important;right:auto!important;bottom:auto!important;width:max-content!important;max-width:calc(100% - 32px)!important;transform:translateX(-50%)!important;margin:0!important}
 html body footer.company-footer-review .footer-auth-fold>summary{display:flex!important;align-items:center!important;justify-content:center!important;list-style:none!important;min-height:44px!important;width:max-content!important;margin:0 auto!important;padding:8px 20px!important;box-sizing:border-box!important;font-size:14px!important;background:#10161966!important;border:1px solid #ffffff55!important;border-radius:24px!important;color:white!important;cursor:pointer}
 html body footer.company-footer-review .footer-auth-fold>summary::-webkit-details-marker{display:none!important}
 html body footer.company-footer-review .footer-auth-fold[open]{width:min(360px,calc(100% - 32px))!important}
 html body footer.company-footer-review .footer-auth-fold:not([open])>#footer-login{display:none!important}
 html body footer.company-footer-review #footer-login{width:100%!important;max-width:none!important;max-height:min(420px,60dvh)!important;overflow:auto!important;margin:8px 0 0!important;padding:18px!important;box-sizing:border-box!important;background:#101619f0!important;color:white!important;border-radius:16px!important;box-shadow:0 10px 30px #0008!important}
 html body footer.company-footer-review .footer-directions{position:absolute!important;z-index:4!important;top:51%!important;left:65%!important;right:auto!important;bottom:auto!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;width:max-content!important;max-width:32%!important;min-height:44px!important;box-sizing:border-box!important;padding:8px 16px!important;border:1px solid #f58b3299!important;border-radius:24px!important;background:#10161988!important;color:white!important;font-size:13px!important;line-height:1.3!important;text-decoration:none!important}
 html body footer.company-footer-review .company-qr-grid{position:absolute!important;z-index:4!important;top:63%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;width:max-content!important;max-width:90%!important;margin:0!important;padding:0!important}
 html body footer.company-footer-review .company-qr-grid button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100px!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;filter:none!important;cursor:zoom-in}
 html body footer.company-footer-review .company-qr-grid button::before,html body footer.company-footer-review .company-qr-grid button::after,html body footer.company-footer-review .company-qr-grid button>.pbb-glass-optics{display:none!important;content:none!important}
 html body footer.company-footer-review .company-qr-grid img{display:block!important;width:100px!important;height:100px!important;max-width:100%!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
 html body footer.company-footer-review .company-qr-grid strong{display:block!important;margin:0!important;font-size:10px!important;line-height:1.3!important;color:#fff!important;text-shadow:0 1px 4px #000!important}
 html body footer.company-footer-review .company-qr-grid small{display:none!important}
 html body footer.company-footer-review .footer-contact-details{position:absolute!important;z-index:4!important;left:4%!important;bottom:40px!important;display:flex!important;flex-direction:column!important;gap:5px!important;margin:0!important;font-size:13px!important;line-height:1.4!important;color:white!important;text-shadow:0 1px 5px #000!important}
 html body footer.company-footer-review .footer-contact-details :is(a,p){display:block!important;margin:0!important;padding:0!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;font-size:13px!important;line-height:1.4!important;text-decoration:none!important}
 html body footer.company-footer-review .footer-contact-details .company-phone{font-size:22px!important;letter-spacing:0!important}
 html body footer.company-footer-review>.footer-lower,html body footer.company-footer-review>[data-pbb-submission-notice]{display:none!important}
 html body footer.company-footer-review>small{position:absolute!important;bottom:12px!important;left:4%!important;z-index:3!important;margin:0!important;padding:0!important;font-size:9px!important;color:#ffffff80!important}
 @media(max-width:700px){
  html body footer.company-footer-review{height:560px!important}
  html body footer.company-footer-review .footer-contact-title{top:20px!important;left:16px!important;font-size:17px!important}
  html body footer.company-footer-review .footer-slogan{left:12px!important;right:12px!important;top:24%!important;font-size:18px!important}
  html body footer.company-footer-review .footer-auth-fold{top:35%!important}
  html body footer.company-footer-review .footer-directions{left:65%!important;font-size:11px!important;padding:8px 10px!important}
  html body footer.company-footer-review .company-qr-grid{gap:16px!important;top:61%!important}
  html body footer.company-footer-review .company-qr-grid button{width:82px!important}
  html body footer.company-footer-review .company-qr-grid img{width:82px!important;height:82px!important}
  html body footer.company-footer-review .company-qr-grid strong{font-size:9px!important}
  html body footer.company-footer-review .footer-contact-details{left:16px!important;bottom:34px!important;gap:3px!important}
  html body footer.company-footer-review .footer-contact-details :is(a,p){font-size:11px!important}
  html body footer.company-footer-review .footer-contact-details .company-phone{font-size:20px!important}
 }
}
/* Filtering updates only the inner inventory scroller, never the footer anchor. */
html:has(#inventory.page-current),html body:has(#inventory.page-current),html body #inventory#inventory.page-current,html body #inventory .pbb-showroom-list,html body footer.company-footer-review{overflow-anchor:none!important}
html body #inventory#inventory.page-current{height:100vh!important;height:100dvh!important;min-height:100dvh!important;flex-shrink:0!important}

/* Center the full contact group beneath the QR row. */
@layer pbb-company-controls {
 html body footer.company-footer-review .footer-contact-details{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:max-content!important;max-width:calc(100% - 32px)!important;align-items:center!important;text-align:center!important}
 html body footer.company-footer-review .footer-contact-details :is(a,p){text-align:center!important}
 @media(min-width:701px){html body footer.company-footer-review .company-qr-grid{top:58%!important}}
 @media(min-width:701px) and (max-width:1100px){html body footer.company-footer-review{height:620px!important}}
 @media(max-width:700px){html body footer.company-footer-review .company-qr-grid{top:60%!important}}
}

/* Crop the original scene as a single fixed-size composition. No media zoom. */
@layer pbb-company-controls {
 html body footer.company-footer-review{--footer-scene-height:max(620px,56.25vw);--footer-top-trim:max(112px,10.125vw);--footer-visible-height:calc(var(--footer-scene-height) - var(--footer-top-trim));height:var(--footer-visible-height)!important;min-height:0!important;overflow:hidden!important;overflow:clip!important}
 html body footer.company-footer-review #footer-company-contact{height:var(--footer-scene-height)!important;min-height:var(--footer-scene-height)!important;transform:translateY(calc(0px - var(--footer-top-trim)))!important;transform-origin:top center!important}
 html body footer.company-footer-review .company-contact-scene{height:100%!important}
 html body footer.company-footer-review .footer-film-crop{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:0!important;pointer-events:none}
 html body footer.company-footer-review .footer-background-video{inset:0!important;top:0!important;width:100%!important;height:100%!important;transform:none!important;object-fit:cover!important;object-position:center center!important}
 html body footer.company-footer-review .footer-contact-title{display:none!important}
 html body footer.company-footer-review .footer-slogan{top:24%!important}
 html body footer.company-footer-review .footer-auth-fold{top:34%!important}
 html body footer.company-footer-review .footer-directions{top:51%!important}
 html body footer.company-footer-review .company-qr-grid{top:58%!important}
 html body footer.company-footer-review #footer-login{max-height:min(420px,calc(var(--footer-visible-height) - 180px))!important;overflow:auto!important}
 @media(max-width:700px){
  html body footer.company-footer-review{--footer-scene-height:560px;--footer-top-trim:101px}
  html body footer.company-footer-review .footer-auth-fold{top:35%!important}
  html body footer.company-footer-review .company-qr-grid{top:61%!important}
 }
}
