/* Homepage on a phone (up to 650 px wide): a shorter way to a price and to us.
   1. The dates form comes right under the headline; the three hero buttons and the car slider follow it.
   2. A fixed bar at the bottom: WhatsApp, Call, Book online (the offer pages have the same idea in .wa-bar).
   The compact car cards for phones are in cards.css, so every page with car cards gets them. */
.m-bar{display:none}
/* The Google rating under the headline, on every screen size: opens the reviews further down the page. */
.hero-rating{display:inline-flex;align-items:center;gap:8px;margin:14px 0 4px;padding:7px 14px 7px 10px;border:1px solid #ffffff2b;border-radius:999px;
  background:#ffffff14;color:#fff;font-size:14px;line-height:1.3;text-decoration:none;white-space:nowrap;width:fit-content}
.hero-rating svg{width:18px;height:18px;flex:none}
.hero-rating strong{font-size:16px;font-weight:800}
.hero-rating .hr-stars{color:#fbbc04;letter-spacing:1px;font-size:14px}
.hero-rating [data-hr-count]{color:#d9dcdf}
.hero-rating:hover{background:#ffffff24}
@media(max-width:650px){
  /* 1. order inside the hero: text, form, buttons, car slider, bottom line */
  .hero.showroom{display:flex;flex-direction:column;padding-top:44px}   /* the text block's own top space is gone with display:contents */
  .hero.showroom>.showroom-grid,.hero.showroom .hero-copy{display:contents}
  .hero.showroom .hero-copy>*{order:1;margin-inline:24px;position:relative;z-index:1}   /* above the National Day fireworks, which are drawn behind the text */
  .hero.showroom>.hero-search{order:2;margin-top:18px}
  .hero.showroom .hero-copy>.hero-actions{order:3;margin-top:22px}
  .hero.showroom .showcase{order:4;position:relative;z-index:1}
  .hero.showroom .showcase .showcase-bottom{padding-inline:24px}   /* the grid's side margins are gone with display:contents */
  .hero.showroom>.hero-bottom{order:5}
  /* 2. the bar */
  .m-bar{position:fixed;left:0;right:0;bottom:0;z-index:9;display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:8px;
    padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fffffff2;border-top:1px solid #e3e4e6;
    box-shadow:0 -6px 24px #0b101414;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
  .m-bar a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;border-radius:10px;font-size:14.5px;font-weight:700;
    text-decoration:none;color:#141719;background:#f1f2f4;white-space:nowrap}
  .m-bar a svg{width:19px;height:19px;flex:none}
  .m-bar .m-wa{background:#1faa53;color:#fff}.m-bar .m-wa svg{fill:#fff}
  .m-bar .m-call svg{fill:none;stroke:#141719;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .m-bar .m-book{background:#ff751f}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  /* the chat button sits above the bar, smaller and closer to the corner so it covers less of the page */
  .floating-whatsapp{bottom:calc(72px + env(safe-area-inset-bottom))!important;right:10px!important;width:46px!important;height:46px!important}
  .floating-whatsapp svg{width:26px!important;height:26px!important}
}
