/* CARRENTAL-R12-MOBILE01 | GPL-2.0-or-later
   One responsive theme, existing palettes and data. No core overrides.
   Desktop enhancement controls hidden; owner custom CSS still loads last. */
.cr-site .cr-mobile-filter-trigger,.cr-site .cr-mobile-footer-toggle,.cr-site .cr-mobile-cell-label{display:none}
.cr-site .cr-mobile-filter-dialog:not([open]){display:none}
.cr-site .cr-mobile-footer-content[hidden]{display:none!important}
@media (max-width:1199px){
  .cr-site .cr-card,.cr-site .cr-panel,.cr-site .cr-filter-grid>*,
  .cr-site .cr-footer-column,.cr-site .cr-hero-copy,.cr-site .cr-hero-consult{min-width:0;overflow-wrap:anywhere}
}
@media (max-width:991px){
  .cr-site .cr-grid-vehicles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cr-site .cr-layout,.cr-site .cr-detail-top,.cr-site .cr-quote-layout{grid-template-columns:minmax(0,1fr)}
  .cr-site .cr-grid-vehicle-types{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cr-site .cr-topbar-inner{flex-wrap:wrap;gap:6px 12px}
  .cr-site #menusite .cr-native-menu .navbar-toggle{min-height:44px;min-width:44px}
  .cr-site .cr-header-tools,.cr-site .cr-brand-text,.cr-site .cr-head-right{min-width:0}
  .cr-site .cr-richtext iframe,.cr-site .cr-richtext video,.cr-site .cr-richtext img{max-width:100%}
}
@media (max-width:767px){
  .cr-site{--cr-section-gap:28px;--cr-card-gap:12px;font-size:15px;line-height:1.6}
  .cr-site .cr-wrap{width:calc(100% - 28px)}
  .cr-site #body.cr-body{padding:20px 0}
  .cr-site .cr-header-inner{min-height:64px;gap:8px;padding-block:8px}
  .cr-site .cr-brand-text strong{font-size:clamp(17px,4.6vw,21px);overflow-wrap:anywhere}
  .cr-site .cr-brand-text small{font-size:11px;max-width:100%;overflow-wrap:anywhere}
  .cr-site .cr-logo{max-width:84px;max-height:44px;object-fit:contain}
  .cr-site .cr-header-tools{flex-wrap:wrap}
  .cr-site .cr-header-tools .cr-search{min-width:0;max-width:100%}
  .cr-site .cr-header-tools .cr-search .form-control{font-size:16px;min-height:44px}
  .cr-site .cr-header-tools .cr-search .btn{min-height:44px}
  .cr-site .cr-hero-content,.cr-site .cr-visual-hero .cr-hero-content{padding:30px 0 26px;gap:18px;min-height:0;align-items:stretch}
  .cr-site .cr-hero-title,.cr-site .cr-visual-hero .cr-hero-title{font-size:clamp(29px,7.5vw,39px);line-height:1.14;margin:8px 0 12px;max-width:100%}
  .cr-site .cr-hero-description,.cr-site .cr-visual-hero .cr-hero-description{font-size:16px;line-height:1.55;max-width:100%}
  .cr-site .cr-hero-actions{display:flex;flex-wrap:wrap;gap:8px}
  .cr-site .cr-hero-actions .cr-button{flex:1 1 130px;min-width:0;text-align:center;white-space:normal}
  .cr-site .cr-hero-consult,.cr-site .cr-visual-hero .cr-hero-consult{padding:16px;max-width:100%}
  .cr-site .cr-hero-consult .cr-button{width:100%}
  .cr-site .cr-carousel-controls button{min-width:44px;min-height:44px}
  .cr-site .cr-inner-title{font-size:clamp(25px,6vw,32px);overflow-wrap:anywhere}
  .cr-site .cr-crumb-list{flex-wrap:wrap;overflow-wrap:anywhere}
  .cr-site .cr-page-head h1{font-size:clamp(26px,6.6vw,34px);line-height:1.2;overflow-wrap:anywhere}
  .cr-site .cr-section-head h2,.cr-site .cr-landing-slot .cr-block-head h2{font-size:24px;line-height:1.25;overflow-wrap:anywhere}
  .cr-site .cr-grid-vehicle-types,.cr-site .cr-home-shortcuts .cr-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cr-site .cr-slot-soft:not(:empty){padding:12px}
  .cr-site .cr-grid,.cr-site .cr-grid-vehicles{gap:12px}
  .cr-site .cr-grid-vehicles,.cr-site .cr-grid-featured-fleet{grid-template-columns:minmax(0,1fr)}
  .cr-site .cr-card-body,.cr-site .cr-landing-slot .cr-card-body{padding:14px}
  .cr-site .cr-card-type .cr-card-body{padding:10px}
  .cr-site .cr-card-vehicle .cr-card-media{aspect-ratio:16/9;background:white}
  .cr-site .cr-grid-vehicles .cr-card-vehicle .cr-card-image,.cr-site .cr-grid-featured-fleet .cr-card-vehicle .cr-card-image{height:100%;width:100%;aspect-ratio:16/9;object-fit:contain}
  .cr-site .cr-card-vehicle .cr-mini-facts,.cr-site .cr-grid-vehicles .cr-mini-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cr-site .cr-card-foot{gap:8px;justify-content:space-between}
  .cr-site .cr-card-foot .cr-text-link,.cr-site .cr-card-quote,.cr-site .cr-block-head .cr-text-link{display:inline-flex;align-items:center;min-height:44px;white-space:normal}
  .cr-site .cr-card-summary,.cr-site .cr-price,.cr-site .cr-card-foot{overflow-wrap:anywhere}
  .cr-site .cr-detail-top,.cr-site .cr-split,.cr-site .cr-quote-layout,.cr-site .cr-form-grid,.cr-site .cr-quote-form .cr-form-grid,.cr-site .cr-contact-layout,.cr-site .cr-editorial .cr-split,.cr-site .cr-slot-faq .cr-faq{grid-template-columns:minmax(0,1fr);gap:14px}
  .cr-site .cr-detail-aside,.cr-site .cr-quote-form-panel,.cr-site .cr-panel{padding:16px}
  .cr-site .cr-detail-vehicle .cr-detail-cover{aspect-ratio:16/9;object-fit:contain;background:white}
  .cr-site .cr-thumbs{flex-wrap:nowrap;max-width:100%;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 3px 10px;overscroll-behavior-inline:contain}
  .cr-site .cr-thumbs button{flex:0 0 82px;min-height:54px;scroll-snap-align:start}
  .cr-site .cr-amenity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .cr-site .cr-filter-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  .cr-site .cr-filter-actions{display:flex;flex-wrap:wrap;gap:8px}
  .cr-site .cr-filter-actions>*{flex:1 1 110px;min-width:0;white-space:normal}
  .cr-site .cr-field input,.cr-site .cr-field select,.cr-site .cr-field textarea,.cr-site .cr-contact-form .form-control,.cr-site .cr-core-seek .form-control{font-size:16px;min-height:46px;max-width:100%;min-width:0}
  .cr-site fieldset{min-width:0}
  .cr-site .cr-quote-form legend{font-size:20px;white-space:normal}
  .cr-site .cr-quote-form button[type="submit"],.cr-site .cr-inline-cta .cr-button,.cr-site .cr-cta-inner .cr-button{width:100%;white-space:normal;text-align:center}
  .cr-site .cr-form-errors,.cr-site .cr-state,.cr-site .cr-note,.cr-site .cr-fare-conditions{overflow-wrap:anywhere}
  .cr-site .cr-pagination ul{display:flex;flex-wrap:wrap;gap:4px}
  .cr-site .cr-table-scroll{max-width:100%;overflow:auto}
  /* JS adds this marker only to validated rectangular tables; no-JS retains native scroll. */
  .cr-site .cr-table[data-cr-mobile-cards]{display:block;width:100%;min-width:0;background:transparent}
  .cr-site .cr-table[data-cr-mobile-cards] caption{display:block;width:100%;white-space:normal}
  .cr-site .cr-table[data-cr-mobile-cards] caption.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .cr-site .cr-table[data-cr-mobile-cards] thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
  .cr-site .cr-table[data-cr-mobile-cards] tbody{display:grid;gap:10px}
  .cr-site .cr-table[data-cr-mobile-cards] tbody tr{display:grid;grid-template-columns:minmax(0,1fr);padding:4px 12px;background:white;border:1px solid var(--cr-border);border-radius:10px;min-width:0}
  .cr-site .cr-table[data-cr-mobile-cards] tbody th,.cr-site .cr-table[data-cr-mobile-cards] tbody td{display:block;text-align:left!important;min-width:0;width:auto;white-space:normal;overflow-wrap:anywhere;padding:10px 0;border-bottom:1px solid var(--cr-border);background:transparent}
  .cr-site .cr-table[data-cr-mobile-cards] tbody tr>:last-child{border-bottom:0}
  .cr-site .cr-table[data-cr-mobile-cards] tbody th{font-size:16px;font-weight:700}
  .cr-site .cr-table[data-cr-mobile-cards] .cr-mobile-cell-label{display:block;color:var(--cr-muted);font-size:12px;font-weight:600;margin-bottom:4px;line-height:1.3}
  .cr-site .cr-table-scroll:has(>.cr-table[data-cr-mobile-cards]){border:0;border-radius:0}
  .cr-site .cr-table[data-cr-mobile-cards] .cr-price{font-size:16px}
  .cr-site .cr-home-fare-table[data-cr-mobile-cards] tbody th small{white-space:normal}
  .cr-site .cr-mobile-filter-trigger{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-bottom:12px;min-height:46px}
  .cr-site .cr-mobile-filter-dialog[open]{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:100%;max-height:85vh;max-height:85dvh;border:0;border-radius:18px 18px 0 0;background:white;color:var(--cr-ink);padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px));overflow:auto;overscroll-behavior:contain;box-shadow:0 -12px 40px #0003}
  .cr-site .cr-mobile-filter-dialog::backdrop{background:rgba(9,37,61,.62)}
  .cr-site .cr-mobile-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
  .cr-site .cr-mobile-filter-heading h2{margin:0;font-size:21px;min-width:0;overflow-wrap:anywhere}
  .cr-site .cr-mobile-filter-close{flex:0 0 auto;min-width:44px;min-height:44px;border:1px solid var(--cr-border);border-radius:8px;background:white;color:var(--cr-navy);font-size:23px}
  .cr-site .cr-mobile-filter-dialog .cr-filter-form{margin:0;padding:0;border:0;box-shadow:none;background:white}
  .cr-site .cr-footer-grid{grid-template-columns:minmax(0,1fr);gap:0}
  .cr-site .cr-footer-column{padding:13px 0;border-bottom:1px solid #ffffff30}
  .cr-site .cr-footer-identity{padding-top:0}
  .cr-site .cr-footer-column[data-cr-mobile-footer] h2{margin:0}
  .cr-site .cr-mobile-footer-title{display:none}
  .cr-site .cr-mobile-footer-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:5px 0;background:transparent;border:0;color:inherit;text-align:left;font:inherit}
  .cr-site .cr-mobile-footer-toggle .fa{transition:transform .16s}
  .cr-site .cr-mobile-footer-toggle[aria-expanded="true"] .fa{transform:rotate(180deg)}
  .cr-site .cr-mobile-footer-content{padding-top:9px}
  .cr-site .cr-mobile-block .cr-contact-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .cr-site .cr-mobile-block .cr-contact-links>.cr-button:only-child{grid-column:1/-1}
  .cr-site .cr-mobile-block .cr-contact-links .cr-button{width:100%;min-width:0;min-height:44px;font-size:14px;line-height:1.35;white-space:normal;text-align:center;padding:8px}
  .cr-site:not([data-cr-mobile="off"]):has(.cr-mobile-block:not(:empty):not([data-cr-empty="true"])){--cr-mobile-reserve:calc(118px + env(safe-area-inset-bottom,0px))}
  .cr-site .cr-core-news-card img,.cr-site .cr-core-page-card img{max-width:100%;height:auto}
  .cr-site .cr-error-card{margin:16px 14px;padding:18px;overflow-wrap:anywhere}
  .cr-site [id]{scroll-margin-top:12px;scroll-margin-bottom:calc(var(--cr-mobile-reserve,0px) + 16px)}
}
@media (min-width:541px) and (max-width:767px){
  .cr-site .cr-grid-vehicles,.cr-site .cr-grid-featured-fleet{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:359px){
  .cr-site .cr-wrap{width:calc(100% - 24px)}
  .cr-site .cr-grid-vehicle-types .cr-card-body{padding:8px}
  .cr-site .cr-card-type .cr-mini-facts{grid-template-columns:minmax(0,1fr)}
  .cr-site .cr-amenity-grid{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.cr-site .cr-mobile-footer-toggle .fa{transition:none}}

/* MOBILE01-HF01: visual refinement against the 390px prototype. Existing data only. */
.cr-site .cr-hero-picture{display:contents}
@media(max-width:767px){
  .cr-site .cr-hero,.cr-site .cr-visual-hero .cr-hero{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;overflow:hidden;background:var(--cr-navy)}
  .cr-site .cr-hero:after,.cr-site .cr-visual-hero .cr-hero:after{display:none}
  .cr-site .cr-hero-content,.cr-site .cr-visual-hero .cr-hero-content{display:contents}
  .cr-site .cr-hero-copy,.cr-site .cr-visual-hero .cr-hero-copy{grid-row:1;min-width:0;width:auto;margin:0 14px;padding:24px 0 12px;color:white}
  .cr-site .cr-hero-title,.cr-site .cr-visual-hero .cr-hero-title{font-size:clamp(28px,7.7vw,38px);margin:8px 0 9px;line-height:1.13}
  .cr-site .cr-hero-description,.cr-site .cr-visual-hero .cr-hero-description{margin:0 0 10px;color:#e0ebf3}
  .cr-site .cr-hero-actions{margin:12px 0 0}
  .cr-site .cr-hero-picture{display:block;grid-row:2;min-width:0}
  .cr-site .cr-hero-image,.cr-site .cr-visual-hero .cr-hero-image{position:static;inset:auto;display:block;width:100%;height:clamp(158px,45vw,280px);object-fit:cover;object-position:64% 65%;opacity:1;z-index:auto}
  .cr-site .cr-hero>.cr-hero-image{grid-row:2}
  .cr-site .cr-hero-consult,.cr-site .cr-visual-hero .cr-hero-consult{grid-row:3;width:auto;margin:12px 14px 14px;padding:16px;align-self:stretch;background:white;border-radius:12px;box-shadow:0 8px 24px #00162e24}
  .cr-site .cr-hero-consult h2{font-size:20px;margin-bottom:8px}
  .cr-site .cr-hero-consult p{margin-bottom:12px}
  .cr-site .cr-hero-consult small{margin-top:8px}
  .cr-site .cr-inner-banner>.cr-wrap{min-height:106px;padding:14px 0}
  .cr-site .cr-page-head{background:var(--cr-bg);padding:16px 12px;margin:0 0 18px;border:1px solid var(--cr-border);border-radius:10px}
  .cr-site .cr-page-head h1{font-size:clamp(24px,6vw,32px);margin:0 0 8px}
  .cr-site .cr-page-head .cr-lead{font-size:14px;line-height:1.55;margin:0}
  .cr-site .cr-section-kicker{font-size:11px;letter-spacing:.07em}
  .cr-site .cr-card,.cr-site .cr-panel{box-shadow:0 2px 8px rgba(var(--cr-navy-rgb,9,37,61),.055)}
  .cr-site .cr-card-vehicle .cr-card-media{background:var(--cr-bg);aspect-ratio:4/3}
  .cr-site .cr-grid-vehicles .cr-card-vehicle .cr-card-image,.cr-site .cr-grid-featured-fleet .cr-card-vehicle .cr-card-image{aspect-ratio:4/3}
  .cr-site .cr-card-vehicle .cr-card-body{display:flex;flex-direction:column;gap:7px;padding:11px}
  .cr-site .cr-card-vehicle .cr-card-body h3{margin:0;font-size:16px;line-height:1.3;overflow-wrap:anywhere}
  .cr-site .cr-card-vehicle .cr-card-summary{font-size:13px;line-height:1.4;margin:0}
  .cr-site .cr-card-vehicle .cr-mini-facts{gap:4px}
  .cr-site .cr-card-vehicle .cr-mini-facts dt{font-size:11px;line-height:1.3}
  .cr-site .cr-card-vehicle .cr-mini-facts dd{font-size:14px}
  .cr-site .cr-card-vehicle .cr-card-foot{margin-top:auto;padding-top:8px;gap:4px;align-items:center}
  .cr-site .cr-card-vehicle .cr-card-foot .cr-price{font-size:14px}
  .cr-site .cr-card-vehicle .cr-card-foot .cr-text-link{font-size:13px}
  .cr-site .cr-card-vehicle .cr-card-quote{flex:1 1 100%;width:100%;min-height:44px;text-align:center;white-space:normal}
  .cr-site .cr-detail-aside .cr-capacity{gap:8px}
  .cr-site .cr-detail-aside .cr-facts>div{padding:9px;border:1px solid var(--cr-border);border-radius:8px;background:var(--cr-bg)}
  .cr-site .cr-table[data-cr-mobile-cards] tbody td{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 8px}
  .cr-site .cr-table[data-cr-mobile-cards] tbody td>.cr-mobile-cell-label{flex:0 1 auto;max-width:55%;margin:0}
  .cr-site .cr-table[data-cr-mobile-cards] tbody td>.cr-price{margin-left:auto;text-align:right;overflow-wrap:anywhere}
  .cr-site .cr-table[data-cr-mobile-cards] tbody td>.cr-fare-conditions{flex:1 1 100%;text-align:left;margin:0}
  .cr-site .cr-filter-form,.cr-site .cr-filter-grid{min-width:0}
  .cr-site .cr-quote-form .cr-field{gap:5px}
  .cr-site .cr-quote-form .cr-form-grid{gap:12px}
  .cr-site .cr-quote-form fieldset+fieldset{margin-top:20px}
  .cr-site .cr-quote-form legend{padding-bottom:8px;border-bottom:1px solid var(--cr-border)}
  .cr-site .cr-quote-form textarea{min-height:100px}
  .cr-site .cr-slot-faq .cr-faq details,.cr-site .cr-faq details{box-shadow:none}
  .cr-site .cr-mobile-block .cr-contact-links .cr-button{justify-content:center}
}
@media(min-width:360px) and (max-width:767px){
  .cr-site .cr-grid-vehicles,.cr-site .cr-grid-featured-fleet{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cr-site .cr-mobile-block .cr-contact-links{grid-template-columns:repeat(auto-fit,minmax(72px,1fr))}
  .cr-site .cr-mobile-block .cr-contact-links .cr-button{display:flex;flex-direction:column;align-items:center;gap:3px;min-height:49px;padding:5px 3px;font-size:12px;line-height:1.25}
  .cr-site .cr-mobile-block .cr-contact-links .cr-channel::before{margin:0;font-size:15px;line-height:1}
}

/* MOBILE01-HF02: respect hidden filter state and preserve true mobile sizing. */
.cr-site form.cr-filter-form[data-cr-mobile-filter-hidden][hidden]{display:none!important}
@media(max-width:767px){
  .cr-site .cr-hero-picture>.cr-hero-image{object-position:center center}
  .cr-site .cr-hero-image{height:clamp(180px,75vw,340px)}
  .cr-site .cr-visual-hero .cr-hero-image{height:clamp(180px,75vw,340px)}
  .cr-site .cr-grid-vehicles .cr-card-media,.cr-site .cr-grid-featured-fleet .cr-card-media{min-width:0}
  .cr-site .cr-grid-vehicles .cr-card-foot,.cr-site .cr-grid-featured-fleet .cr-card-foot{overflow-wrap:anywhere}
  .cr-site .cr-mobile-filter-dialog:focus-visible{outline:2px solid var(--cr-red);outline-offset:-3px}
}
