/* =========================================================
   Maxx Car Rental - Clean Common CSS
   Includes: header, mobile menu, hero, booking iframe fix,
   content blocks, footer, call modal and responsive rules.
   ========================================================= */

:root {
  --maxx-blue: #016db8;
  --maxx-blue-dark: #0f5da9;
  --maxx-dark: #242935;
  --maxx-text: #0d1b2a;
  --maxx-muted: #667085;
  --maxx-border: #e6eaf0;
  --maxx-white: #ffffff;
  --maxx-radius: 18px;
  --maxx-shadow: 0 18px 45px rgba(7, 24, 47, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--maxx-text);
  background: #ffffff;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; transition: .25s ease; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }

/* =========================================================
   Header / Desktop Navigation
   ========================================================= */

.maxx-header {
  background: #ffffff;
  border-bottom: 1px solid #d9dee7;
  position: sticky;
  top: 0;
  z-index: 9999999;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}

.maxx-nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.maxx-logo img { width: 300px; height: auto; }

.maxx-nav nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.maxx-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
}

.maxx-menu li { position: relative; }

.maxx-menu a {
  display: flex;
  align-items: center;
  padding: 29px 0 21px;
  position: relative;
  color: #000000;
}

.maxx-menu li.active > a,
.maxx-menu a:hover,
.maxx-menu a:focus { color: var(--maxx-blue-dark); }

.maxx-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 13px;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--maxx-blue-dark);
  opacity: 0;
  transform: scaleX(0);
  transition: .25s ease;
}

.maxx-menu > li.active > a::after,
.maxx-menu > li > a:hover::after,
.maxx-menu > li > a:focus::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Desktop locations dropdown */
.maxx-menu .has-dropdown { position: relative; }
.maxx-menu .has-dropdown > a { display: flex; align-items: center; gap: 6px; }
.maxx-menu .dropdown-arrow { font-size: .72em; line-height: 1; transition: transform .2s ease; }
.maxx-menu .has-dropdown:hover .dropdown-arrow,
.maxx-menu .has-dropdown:focus-within .dropdown-arrow { transform: rotate(180deg); }

.maxx-menu .location-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10000000;
  min-width: 260px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #ffffff;
  border: none !important;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.maxx-menu .has-dropdown:hover > .location-dropdown,
.maxx-menu .has-dropdown:focus-within > .location-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.maxx-menu .location-dropdown li { margin: 0; padding: 0; border: none !important; }

.maxx-menu .location-dropdown a {
  display: block;
  padding: 9px 18px;
  color: #0f5499;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  white-space: normal;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  text-transform: capitalize;
}

.maxx-menu .location-dropdown a:hover,
.maxx-menu .location-dropdown a:focus { background: #eef4ff; color: #0f5da9; outline: none; }

.maxx-menu .location-dropdown a::before,
.maxx-menu .location-dropdown a::after,
.maxx-menu .location-dropdown li::before,
.maxx-menu .location-dropdown li::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

/* Hamburger is shown on desktop and mobile */
.menu-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 80px !important;
  padding: 0 !important;
  margin-left: 4px !important;
  background: transparent !important;
  border: 0 !important;
  color: #000000 !important;
  cursor: pointer !important;
  font-size: 30px !important;
  line-height: 1 !important;
}

.menu-toggle span { display: inline-block !important; line-height: 1 !important; color: #000000 !important; }

/* =========================================================
   Offcanvas Mobile Menu
   ========================================================= */

.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 30, .58);
  opacity: 0;
  visibility: hidden;
  z-index: 10000001;
  transition: .25s;
}

.mobile-offcanvas {
  position: fixed;
  right: -340px;
  top: 0;
  width: min(330px, 86vw);
  height: 100vh;
  background: #111827;
  color: #ffffff;
  z-index: 10000002;
  padding: 28px 24px;
  transition: .3s;
  overflow: auto;
}

.offcanvas-open .offcanvas-backdrop { opacity: 1; visibility: visible; }
.offcanvas-open .mobile-offcanvas { right: 0; }

.offcanvas-close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.offcanvas-search h3 { margin: 28px 0 10px; font-size: 16px; text-transform: uppercase; }
.offcanvas-search input {
  width: 100%;
  height: 44px;
  border: 1px solid #344054;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  padding: 0 12px;
}

.offcanvas-menu { list-style: none; margin: 26px 0 0; padding: 0; }
.offcanvas-menu li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.offcanvas-menu a { display: block; color: #ffffff; padding: 14px 0; text-transform: uppercase; font-weight: 700; }
.offcanvas-menu li.active > a,
.offcanvas-menu a:hover,
.offcanvas-menu a:focus { color: #9ed0ff; }

/* Mobile offcanvas locations dropdown */
.offcanvas-menu .mobile-location-group { padding: 0; }
.offcanvas-menu .mobile-location-group > details { margin: 0; }

.offcanvas-menu .mobile-location-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
  color: inherit;
  font-weight: 700;
  text-transform: uppercase;
}

.offcanvas-menu .mobile-location-group summary::-webkit-details-marker { display: none; }
.offcanvas-menu .mobile-location-group summary::after { content: "⌄"; font-size: 16px; transition: transform .2s ease; }
.offcanvas-menu .mobile-location-group details[open] summary::after { transform: rotate(180deg); }

.offcanvas-location-submenu {
  list-style: none;
  margin: 0 0 8px 12px;
  padding: 6px 0 6px 12px;
  border-left: none !important;
}

.offcanvas-location-submenu li { border-bottom: 0; }
.offcanvas-location-submenu li a { display: block; padding: 9px 0; font-size: 14px; line-height: 1.3; border-bottom: none !important; text-transform: none; }

/* =========================================================
   Hero
   ========================================================= */

.hero-split {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 342px;
  background: #ffffff;
}

.hero-image {
  height: 342px;
  min-height: 342px;
  background: #ffffff;
  overflow: hidden;
}

.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }

.hero-heading {
  min-height: 342px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 38px 48px;
}

.hero-kicker { margin: 0 0 10px; color: var(--maxx-blue-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .13em; font-size: 14px; }
.hero h1 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.18; margin: 0; font-weight: 800; color: #202638; letter-spacing: -.02em; }
.hero h1 span { color: var(--maxx-blue); }
.hero-text { margin: 14px 0 0; color: #536174; max-width: 620px; font-size: 17px; }

/* Diagonal hero image style */
.hero-diagonal {
  display: grid;
  grid-template-columns: minmax(420px, 52%) 1fr;
  min-height: 342px;
  background: #ffffff;
  overflow: hidden;
}

.hero-diagonal .hero-image {
  position: relative;
  height: 342px;
  min-height: 342px;
  overflow: hidden;
  background: #ffffff;
  clip-path: polygon(0 0, calc(100% - 110px) 0, 100% 100%, 0 100%);
}

.hero-diagonal .hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

.hero-diagonal .hero-heading {
  min-height: 342px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 38px 48px;
  background: #ffffff;
}

.hero-diagonal .hero-heading h1 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.25;
  font-weight: 800;
  color: #202638;
  letter-spacing: -.02em;
}

.hero-diagonal .hero-heading h1 span { display: block; color: var(--maxx-blue); }
.hero-diagonal.hero-focus-left .hero-image img { object-position: left center; }
.hero-diagonal.hero-focus-center .hero-image img { object-position: center center; }
.hero-diagonal.hero-focus-right .hero-image img { object-position: right center; }

/* =========================================================
   Content Sections
   ========================================================= */

.section { padding: 78px 0; background: #f7f9fc; }
.section.white { background: #ffffff; }
.section-head { text-align: center; max-width: 940px; margin: 0 auto 38px; }
.section-head h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.25; margin: 0 0 14px; font-weight: 800; color: #121928; }
.section-head h2 span { color: var(--maxx-blue); }
.section-head p { margin: 0; color: var(--maxx-muted); font-size: 17px; }

.seo-text { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.seo-text h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.25; margin: 0 0 14px; font-weight: 800; }
.seo-text h2 span { color: var(--maxx-blue); }
.seo-text p { color: #536174; margin: 0 0 14px; font-size: 16px; }

.feature-boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-box { background: #ffffff; border: 1px solid var(--maxx-border); border-radius: 18px; padding: 22px; box-shadow: 0 12px 28px rgba(12, 28, 48, .07); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--maxx-blue); font-size: 28px; margin-bottom: 12px; font-weight: 800; line-height: 1; }
.feature-box h3 { margin: 0 0 7px; font-size: 20px; }
.feature-box p { margin: 0; color: #667085; font-size: 14px; }

.fleet-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fleet-card { background: #ffffff; border: 1px solid var(--maxx-border); border-radius: 18px; padding: 24px 18px; text-align: center; box-shadow: 0 12px 28px rgba(12, 28, 48, .07); }
.fleet-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 34px; color: var(--maxx-blue); margin-bottom: 10px; line-height: 1; }
.fleet-card h3 { margin: 0 0 7px; font-size: 19px; }
.fleet-card p { margin: 0 0 15px; color: #667085; font-size: 14px; }
.fleet-card a { font-weight: 800; color: var(--maxx-blue); }

/* =========================================================
   Buttons / CTA / FAQ
   ========================================================= */

.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 13px 17px; font-weight: 800; font-size: 14px; border: 2px solid transparent; min-height: 48px; }
.btn-primary,
.btn-gold { background: var(--maxx-blue-dark); color: #ffffff; }
.btn-primary:hover,
.btn-primary:focus,
.btn-gold:hover,
.btn-gold:focus { background: #084b8e; color: #ffffff; }
.btn-outline { background: #ffffff; color: var(--maxx-blue-dark); border-color: var(--maxx-blue-dark); }
.btn-outline:hover,
.btn-outline:focus { background: var(--maxx-blue-dark); color: #ffffff; }
.btn-icon { line-height: 1; }

.cta { background: #242935; color: #ffffff; padding: 70px 0; text-align: center; }
.cta h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.25; margin: 0 0 14px; font-weight: 800; }
.cta h2 span { color: #8ec7ff; }
.cta p { max-width: 780px; margin: 0 auto 26px; color: #d8dee8; font-size: 17px; }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 1050px; margin: 0 auto; }
.faq-item { background: #ffffff; border: 1px solid var(--maxx-border); border-radius: 18px; padding: 22px; box-shadow: 0 12px 28px rgba(12, 28, 48, .07); }
.faq-item h3 { margin: 0 0 8px; font-size: 19px; }
.faq-item p { margin: 0; color: #667085; font-size: 15px; }

/* =========================================================
   Footer
   ========================================================= */

.footer-top { background: url('/assets/images/bg2.jpg') center / cover fixed no-repeat; color: #ecebeb; padding: 60px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col h3 { font-size: 18px; text-transform: uppercase; margin: 0 0 16px; color: #ffffff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #c8c8c8; font-size: 15px; }
.footer-col a:hover,
.footer-col a:focus { color: #ffffff; }
.footer-bottom { background: #0a0a0a; color: #f7f7f7; padding: 18px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.social-icons,
.maxx-social-icons { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.maxx-social-icons { gap: 18px; }
.social-icons a,
.maxx-social-icons a { display: inline-flex; align-items: center; justify-content: center; color: #e3e3e3; text-decoration: none; text-transform: none !important; transition: color .2s ease, transform .2s ease; }
.maxx-social-icons a { width: 30px; height: 30px; color: #ffffff; border-radius: 50%; }
.social-icons a:hover,
.social-icons a:focus,
.maxx-social-icons a:hover,
.maxx-social-icons a:focus { color: #ffffff; transform: translateY(-2px); outline: none; }
.social-icons a span { font-weight: 800; text-transform: uppercase; font-size: 13px; line-height: 1; }
.maxx-social-icons svg { width: 18px; height: 18px; display: block; fill: currentColor; }
.maxx-social-icons a[aria-label*="LinkedIn"] svg { width: 20px; height: 20px; }

/* =========================================================
   Floating Call Modal
   ========================================================= */

#premiumCallBtn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: linear-gradient(135deg, #0f5da9, #083b78);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(8, 59, 120, .28);
  z-index: 9999998;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #0f5da9;
}

#premiumCallBtn:hover,
#premiumCallBtn:focus { transform: scale(1.04); background: linear-gradient(135deg, #084b8e, #0f5da9); color: #ffffff; }

#premiumOverlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 19, 38, .68);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 10000003;
}

#premiumModal {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 430px;
  background: #f7f9fc;
  border-radius: 18px 18px 0 0;
  padding: 20px;
  box-shadow: 0 -8px 35px rgba(0, 0, 0, .25);
  transition: .4s ease;
  z-index: 10000004;
  border-top: 5px solid #0f5da9;
}

#premiumOverlay.active { opacity: 1; visibility: visible; }
#premiumModal.active { bottom: 0; }
.modal-header { display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { margin: 0; font-size: 22px; color: #0f5da9; font-weight: 800; }
.close-btn { cursor: pointer; font-size: 28px; color: #0f5da9; line-height: 1; }
.subtitle { color: #4f5d73; margin: 10px 0 18px; }
#premiumModal .location-card { box-shadow: 0 4px 12px rgba(15, 93, 169, .06); padding: 14px; margin-bottom: 12px; border-left: 4px solid #0f5da9; border-radius: 12px; background: #ffffff; }
.modal-location-title { font-weight: 800; margin-bottom: 10px; color: #0b2341; }
.location-actions { display: flex; gap: 10px; }
.action-btn { flex: 1; text-align: center; padding: 10px 12px; border-radius: 8px; font-weight: 800; }
.call-btn,
.whatsapp-btn { background: #e8f1fb; color: #0f5da9; border: 1px solid #bdd3ee; }
.trust { font-size: 13px; color: #5f6c7b; margin-top: 10px; text-align: center; }

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1100px) {
  .maxx-nav { height: 90px; }
  .maxx-logo img { width: 250px; }
  .maxx-nav nav { gap: 18px !important; }
  .maxx-menu { gap: 18px; font-size: 13px; }
  .maxx-menu a { padding: 34px 0 25px; }
  .menu-toggle { height: 90px !important; font-size: 29px !important; }

  .hero-split,
  .hero-diagonal { grid-template-columns: 1fr 1fr; min-height: 320px; }

  .hero-image,
  .hero-heading,
  .hero-diagonal .hero-image,
  .hero-diagonal .hero-heading { height: 320px; min-height: 320px; }

  .hero-heading,
  .hero-diagonal .hero-heading { padding: 32px 30px; }

  .hero h1,
  .hero-diagonal .hero-heading h1 { font-size: clamp(32px, 4vw, 46px); }

  .booking-wrap { height: 320px !important; min-height: 320px !important; }

  .booking-wrap iframe,
  .booking-wrap iframe[src*="quickrates-inline"] { height: 320px !important; min-height: 320px !important; }

  .booking-wrap:hover iframe,
  .booking-wrap:focus-within iframe { height: 720px !important; min-height: 720px !important; }

  .quick-note { grid-template-columns: repeat(2, 1fr); }
  .seo-text { grid-template-columns: 1fr; }
  .fleet-links { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 991px) {
  .maxx-menu .location-dropdown { display: none !important; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), 1320px); }
  .maxx-header { z-index: 9999999 !important; }
  .maxx-nav { height: 78px; }
  .maxx-logo img { width: 215px; }
  .maxx-menu { display: none; }
  .menu-toggle { height: 78px !important; width: 42px !important; font-size: 28px !important; margin-left: 0 !important; }
  .maxx-nav nav { gap: 0 !important; }

  .hero-split,
  .hero-diagonal { display: block; min-height: 0; }

  .hero-image,
  .hero-diagonal .hero-image {
    height: 225px;
    min-height: 225px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    background: #ffffff;
    clip-path: none;
  }

  .hero-heading,
  .hero-diagonal .hero-heading { min-height: 180px; height: auto; padding: 34px 22px; text-align: center; }
  .hero h1,
  .hero-diagonal .hero-heading h1 { font-size: 32px; }

  /* Mobile booking final */
  .booking-band {
    padding: 0 0 52px;
    margin-top: -28px;
    z-index: 20 !important;
    overflow: visible !important;
  }

  .booking-wrap {
    width: calc(100% - 26px);
    top: 0;
    padding: 8px;
    height: auto !important;
    min-height: 620px !important;
    z-index: 21 !important;
    overflow: visible !important;
  }

  .booking-wrap iframe,
  .booking-wrap iframe[src*="quickrates-inline"] {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    z-index: 22 !important;
    width: 100% !important;
    height: 320px !important;
    min-height: 320px !important;
    display: block !important;
  }

  .booking-wrap:hover iframe,
  .booking-wrap:focus-within iframe,
  .booking-wrap iframe:focus {
    height: 860px !important;
    min-height: 860px !important;
    z-index: 22 !important;
  }

  .booking-frame { height: 320px; }
  .quick-note { grid-template-columns: 1fr; margin-top: 26px; padding: 24px 18px; }
  .section { padding: 56px 0; }
  .actions .btn { width: 100%; }

  .feature-boxes,
  .fleet-links,
  .footer-grid,
  .faq-grid { grid-template-columns: 1fr; }

  .footer-bottom-inner { display: block; text-align: center; }

  .social-icons,
  .maxx-social-icons { justify-content: center; margin-top: 12px; }

  #premiumCallBtn { right: 12px; bottom: 72px; padding: 12px 16px; }
}

/* Very small mobile */
@media (max-width: 420px) {
  .maxx-logo img { width: 190px; }

  .booking-wrap { width: calc(100% - 18px); min-height: 650px !important; }

  .booking-wrap iframe,
  .booking-wrap iframe[src*="quickrates-inline"] { height: 650px !important; min-height: 650px !important; }

  .booking-wrap:hover iframe,
  .booking-wrap:focus-within iframe,
  .booking-wrap iframe:focus { height: 900px !important; min-height: 900px !important; }
}
/* =========================================================
   FINAL MAXX BOOKING IFRAME FIX
   Date picker / time picker hidden issue on custom pages
   ========================================================= */

/* Parent layers must not cut iframe dropdowns */
.location-hero,
.page-hero,
.hero-section,
.booking-band,
.booking-wrap,
.maxx-booking-section,
main {
  overflow: visible !important;
}

/* Booking section stays normal height */
.booking-band {
  position: relative !important;
  z-index: 99990 !important;
  overflow: visible !important;
}

/* This is the visible booking bar height */
.booking-wrap {
  position: relative !important;
  z-index: 99991 !important;
  height: 85px !important;
  min-height: 85px !important;
  overflow: visible !important;
}

/* Closed iframe height */
.booking-wrap iframe,
.booking-wrap iframe[src*="quickrates-inline"] {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 154px !important;
  min-height: 154px !important;
  border: 0 !important;
  display: block !important;
  z-index: 99992 !important;
  background: transparent !important;
}

/* Open enough height when user is on booking bar */
.booking-wrap:hover iframe,
.booking-wrap:focus-within iframe,
.booking-wrap iframe:focus {
  height: 620px !important;
  min-height: 620px !important;
  z-index: 999999 !important;
}

/* Prevent next sections from covering date/time popup */
.booking-band + *,
.booking-wrap + * {
  position: relative;
  z-index: 1;
}

/* Tablet */
@media (max-width: 1024px) {
  .booking-wrap {
    height: 320px !important;
    min-height: 320px !important;
  }

  .booking-wrap iframe,
  .booking-wrap iframe[src*="quickrates-inline"] {
    height: 320px !important;
    min-height: 320px !important;
  }

  .booking-wrap:hover iframe,
  .booking-wrap:focus-within iframe {
    height: 720px !important;
    min-height: 720px !important;
  }
}

/* Mobile: keep iframe tall because mobile touch cannot hover */
@media (max-width: 767px) {
  .booking-wrap {
    height: 320px !important;
    min-height: 320px !important;
  }

  .booking-wrap iframe,
  .booking-wrap iframe[src*="quickrates-inline"] {
    position: relative !important;
    height: 900px !important;
    min-height: 900px !important;
  }
}