/* Consors Elite Rental Agreements — Booking UI v2.1 */
:root{--cer-ui-bg:#f6f7f9;--cer-ui-line:#e7e9ee;--cer-ui-text:#151821;--cer-ui-muted:#707784;--cer-ui-soft:#f8f9fb}
body.cer-hide-booking-title .wp-block-post-title,body.cer-hide-booking-title .entry-title,body.cer-hide-booking-title .page-title{display:none!important}
body.cer-hide-booking-title main{margin-top:0}
body.cer-modal-open{overflow:hidden}
.cer-font-manrope{font-family:"Manrope","Segoe UI",system-ui,-apple-system,sans-serif}.cer-font-inter{font-family:"Inter","Segoe UI",system-ui,-apple-system,sans-serif}.cer-font-dm-sans{font-family:"DM Sans","Segoe UI",system-ui,-apple-system,sans-serif}.cer-font-system{font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif}
.cer-booking-shell{--cer-accent:#f4c430;--cer-dark:#111827;max-width:1050px;margin:34px auto;padding:0 18px;color:var(--cer-ui-text);font-size:15px;line-height:1.55}.cer-booking-shell *{box-sizing:border-box}.cer-booking-shell button,.cer-booking-shell input,.cer-booking-shell select,.cer-booking-shell textarea{font:inherit}.cer-booking-shell button:focus-visible,.cer-booking-shell input:focus-visible,.cer-booking-shell select:focus-visible,.cer-booking-shell textarea:focus-visible,.cer-booking-trigger:focus-visible,.cer-modal-close:focus-visible{outline:3px solid color-mix(in srgb,var(--cer-accent) 50%,transparent);outline-offset:2px}
.cer-dialog-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.72fr);gap:28px;align-items:end;padding:25px 28px 23px;border:1px solid rgba(255,255,255,.08);border-radius:24px 24px 0 0;background:linear-gradient(135deg,#0f172a 0%,var(--cer-dark) 55%,#20293a 100%);color:#fff;overflow:hidden}.cer-dialog-head:before{content:"";position:absolute;inset:auto -70px -100px auto;width:230px;height:230px;border-radius:50%;background:var(--cer-accent);opacity:.11}.cer-dialog-head:after{content:"";position:absolute;width:100px;height:100px;border:1px solid rgba(255,255,255,.08);border-radius:32px;right:80px;top:-42px;transform:rotate(28deg)}
.cer-brand-lockup{position:relative;z-index:1;display:flex;align-items:center;gap:15px;min-width:0}.cer-brand-lockup img{width:50px;height:50px;object-fit:contain;border-radius:14px;background:#fff;padding:6px;box-shadow:0 8px 24px rgba(0,0,0,.18)}.cer-brand-mark{display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px;border-radius:14px;background:var(--cer-accent);color:#111827;font-size:15px;font-weight:900;letter-spacing:.07em;box-shadow:0 8px 24px color-mix(in srgb,var(--cer-accent) 22%,transparent)}.cer-brand-lockup small{display:block;margin-bottom:3px;color:#b9c2d0;font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.cer-brand-lockup h1{margin:0;color:#fff;font-size:clamp(25px,3vw,36px);line-height:1.05;font-weight:700;letter-spacing:-.045em}.cer-dialog-head>p{position:relative;z-index:1;margin:0;color:#cbd2dc;font-size:13px;line-height:1.65;max-width:440px}
.cer-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0;border:1px solid var(--cer-ui-line);border-top:0;background:#fff}.cer-progress-step{position:relative;display:flex;align-items:center;gap:11px;min-height:68px;padding:12px 18px;border:0;border-right:1px solid var(--cer-ui-line);background:#fff;color:#8a909b;text-align:left;cursor:pointer;transition:.2s}.cer-progress-step:last-child{border-right:0}.cer-progress-step>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #e4e7ec;border-radius:50%;background:#f8f9fb;color:#8a909b;font-size:12px;font-weight:800;transition:.2s}.cer-progress-step>div{min-width:0}.cer-progress-step strong,.cer-progress-step small{display:block}.cer-progress-step strong{color:#555d69;font-size:12px;font-weight:800}.cer-progress-step small{margin-top:1px;color:#a0a6af;font-size:10px}.cer-progress-step.is-active{background:linear-gradient(180deg,#fffdf6,#fff)}.cer-progress-step.is-active:after{content:"";position:absolute;left:18px;right:18px;bottom:-1px;height:2px;background:var(--cer-accent)}.cer-progress-step.is-active>span{border-color:var(--cer-accent);background:var(--cer-accent);color:#111827}.cer-progress-step.is-active strong{color:#171a22}.cer-progress-step:disabled{cursor:default}
.cer-step-stage{border:1px solid var(--cer-ui-line);border-top:0;border-radius:0 0 24px 24px;background:#fff;box-shadow:0 22px 65px rgba(15,23,42,.09);overflow:hidden}.cer-book-step{display:none;padding:30px 30px 26px;background:#fff}.cer-book-step.is-active{display:block;animation:cerFade .2s ease-out}.cer-section-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:24px}.cer-eyebrow{display:block;margin-bottom:7px;color:#7c8490;font-size:9px;font-weight:900;letter-spacing:.17em}.cer-section-head h2{margin:0;color:#151821;font-size:clamp(23px,2.8vw,31px);font-weight:700;letter-spacing:-.04em}.cer-section-head p{margin:5px 0 0;color:#838a95;font-size:13px}.cer-section-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #eceef2;border-radius:14px;background:#fafbfc;color:#9aa1ab;font-size:11px;font-weight:900}
.cer-alert{margin:15px 0 0;padding:12px 15px;border-radius:12px;font-size:12px;font-weight:700}.cer-alert-error{border:1px solid #fecaca;background:#fff5f5;color:#991b1b}.cer-alert-success{border:1px solid #bbf7d0;background:#f4fff7;color:#166534}
.cer-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cer-field{display:flex;flex-direction:column;gap:7px;min-width:0}.cer-field>span{color:#3c424c;font-size:11px;font-weight:800}.cer-field em{color:#d14343;font-style:normal}.cer-field input,.cer-field select,.cer-field textarea,.cer-toolbar select{width:100%;min-height:49px;border:1px solid #dfe3e8;border-radius:12px;background:#fff;padding:11px 13px;color:#1f2430;outline:0;box-shadow:0 1px 2px rgba(15,23,42,.02);transition:border-color .16s,box-shadow .16s,background .16s}.cer-field input::placeholder,.cer-field textarea::placeholder{color:#adb3bc}.cer-field textarea{min-height:100px;resize:vertical}.cer-field input:hover,.cer-field select:hover,.cer-field textarea:hover{border-color:#cfd4db}.cer-field input:focus,.cer-field select:focus,.cer-field textarea:focus,.cer-toolbar select:focus{border-color:color-mix(in srgb,var(--cer-accent) 75%,#b3bac4);box-shadow:0 0 0 4px color-mix(in srgb,var(--cer-accent) 14%,transparent);background:#fff}.cer-span-2{grid-column:1/-1}.cer-inline-check{display:flex;align-items:center;gap:10px;min-height:49px;border:1px solid #dfe3e8;border-radius:12px;padding:10px 13px;background:#fff}.cer-inline-check input{width:17px;height:17px;min-height:0;accent-color:var(--cer-accent)}
.cer-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:27px;padding-top:20px;border-top:1px solid #eff1f4}.cer-actions-between{justify-content:space-between}.cer-action-note{margin-right:auto;color:#969ca6;font-size:10px}.cer-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:47px;border:1px solid transparent;border-radius:12px;padding:0 19px;font-size:12px;font-weight:800;letter-spacing:.005em;cursor:pointer;transition:transform .16s,box-shadow .16s,background .16s,border-color .16s}.cer-btn:hover{transform:translateY(-1px)}.cer-btn-primary{background:var(--cer-accent);color:#16181e;box-shadow:0 9px 22px color-mix(in srgb,var(--cer-accent) 22%,transparent)}.cer-btn-primary:hover{box-shadow:0 12px 26px color-mix(in srgb,var(--cer-accent) 30%,transparent)}.cer-btn-secondary{border-color:#e3e6ea;background:#f8f9fb;color:#555d68;box-shadow:none}.cer-btn-secondary:hover{background:#f1f3f6}.cer-btn-large{padding-inline:27px}.cer-btn:disabled{opacity:.52;cursor:not-allowed;transform:none}
.cer-toolbar{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:18px;padding:13px 15px;border:1px solid #eceef2;border-radius:14px;background:#fafbfc}.cer-toolbar label{display:flex;flex-direction:column;gap:5px;min-width:230px}.cer-toolbar label>span{color:#737a85;font-size:10px;font-weight:800}.cer-toolbar select{min-height:42px;padding:8px 11px;background:#fff}.cer-availability-note{display:flex;align-items:center;gap:9px;padding-bottom:4px;color:#59616d}.cer-availability-note strong,.cer-availability-note small{display:block}.cer-availability-note strong{font-size:10px}.cer-availability-note small{margin-top:1px;color:#989ea8;font-size:9px}.cer-live-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.1)}
.cer-vehicle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cer-vehicle-card{position:relative;min-width:0;overflow:hidden;border:1px solid #e4e7eb;border-radius:17px;background:#fff;color:inherit;text-align:left;cursor:pointer;box-shadow:0 4px 16px rgba(15,23,42,.035);transition:transform .18s,box-shadow .18s,border-color .18s}.cer-vehicle-card:hover{transform:translateY(-2px);border-color:#d6dae0;box-shadow:0 14px 32px rgba(15,23,42,.08)}.cer-vehicle-card.is-selected{border-color:var(--cer-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--cer-accent) 75%,transparent),0 15px 34px rgba(15,23,42,.1)}.cer-vehicle-card.is-unavailable{opacity:.48;filter:grayscale(.3);cursor:not-allowed}.cer-car-media{position:relative;display:flex;align-items:center;justify-content:center;height:145px;overflow:hidden;background:linear-gradient(145deg,#fafbfc,#edf0f4)}.cer-car-media img{width:100%;height:100%;object-fit:cover}.cer-car-fallback{display:grid;place-items:center;width:73%;height:51%;border-radius:48% 43% 22% 22%;background:linear-gradient(145deg,#c8ced6,#9ca5b1);color:#fff;font-size:12px;font-weight:900;letter-spacing:.22em;box-shadow:inset 0 -14px 22px rgba(15,23,42,.11)}.cer-card-check{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--cer-accent);color:#16181e;font-size:12px;font-weight:900;opacity:0;transform:scale(.75);transition:.16s}.cer-vehicle-card.is-selected .cer-card-check{opacity:1;transform:scale(1)}.cer-availability-badge{position:absolute;left:10px;bottom:10px;padding:5px 8px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(17,24,39,.82);color:#fff;font-size:8px;font-weight:800;backdrop-filter:blur(5px)}.cer-card-body{padding:14px 14px 15px}.cer-card-category{color:#9097a1;font-size:8px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.cer-card-body h3{margin:4px 0 8px;color:#1c2028;font-size:16px;font-weight:750;letter-spacing:-.02em}.cer-tags{display:flex;flex-wrap:wrap;gap:5px;min-height:22px;margin-bottom:10px}.cer-tags span{padding:4px 7px;border:1px solid #eceef2;border-radius:999px;background:#fafbfc;color:#6f7782;font-size:8px}.cer-specs{display:flex;flex-wrap:wrap;gap:6px 10px;padding:10px 0;border-top:1px solid #f0f1f3;border-bottom:1px solid #f0f1f3;color:#777f8b;font-size:9px}.cer-card-foot{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:11px}.cer-card-foot small{display:block;color:#9ba1aa;font-size:8px}.cer-card-foot strong{display:block;color:#191d25;font-size:17px}.cer-card-foot em{color:#7f8792;font-size:9px;font-style:normal;font-weight:600}.cer-select-label{padding:6px 9px;border-radius:9px;background:#f1f3f5;color:#535b66;font-size:9px;font-weight:900}.cer-vehicle-card.is-selected .cer-select-label{background:var(--cer-accent);color:#16181e}
.cer-payment-layout{display:grid;grid-template-columns:minmax(270px,.78fr) minmax(0,1.35fr);gap:16px;align-items:start}.cer-summary-card,.cer-billing-card{overflow:hidden;border:1px solid #e4e7eb;border-radius:17px;background:#fff}.cer-summary-card{position:sticky;top:12px}.cer-summary-top{padding:16px 17px;background:linear-gradient(135deg,#111827,#232d3e);color:#fff}.cer-summary-top span{display:block;color:#aeb8c7;font-size:8px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.cer-summary-top strong{display:block;margin-top:5px;font-size:14px}.cer-summary-card dl{margin:0;padding:13px 17px}.cer-summary-card dl>div{display:flex;justify-content:space-between;gap:13px;padding:7px 0;border-bottom:1px solid #f0f1f3}.cer-summary-card dt{color:#7e8691;font-size:9px}.cer-summary-card dd{margin:0;color:#424953;font-size:9px;font-weight:750;text-align:right}.cer-summary-card .cer-total{border:0;padding-top:12px}.cer-summary-card .cer-total dt,.cer-summary-card .cer-total dd{color:#161a22;font-size:14px;font-weight:900}.cer-protection-group{display:grid;gap:8px;padding:0 13px 13px}.cer-option{display:flex;gap:9px;padding:10px;border:1px solid #e6e9ed;border-radius:11px;background:#fff;cursor:pointer;transition:.16s}.cer-option:has(input:checked){border-color:var(--cer-accent);background:color-mix(in srgb,var(--cer-accent) 8%,#fff)}.cer-option input{margin-top:2px;accent-color:var(--cer-accent)}.cer-option strong,.cer-option small{display:block}.cer-option strong{color:#343a44;font-size:9px}.cer-option small{margin-top:2px;color:#8b929c;font-size:8px}.cer-billing-card{padding:17px}.cer-card-title{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:15px}.cer-card-title span,.cer-card-title small{display:block}.cer-card-title span{color:#242932;font-size:15px;font-weight:850}.cer-card-title small{margin-top:2px;color:#9299a4;font-size:9px}.cer-card-title b{color:#9ca2ab;font-size:8px;font-weight:700}.cer-test-note{display:flex;gap:10px;margin-top:14px;padding:10px 11px;border:1px solid #f0df9b;border-radius:11px;background:#fffcf1;color:#745f18;font-size:9px}.cer-test-note strong{white-space:nowrap}
.cer-booking-trigger,.cer-trigger-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:0 21px;border:0;border-radius:12px;background:var(--cer-accent,#f4c430);color:#151821!important;font-family:"Manrope","Segoe UI",system-ui,sans-serif;font-size:13px;font-weight:800;text-decoration:none!important;box-shadow:0 10px 24px rgba(15,23,42,.12);cursor:pointer;transition:transform .16s,box-shadow .16s}.cer-booking-trigger:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(15,23,42,.16)}.cer-popup-loader{display:none}
.cer-booking-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:20px}.cer-booking-modal.is-open{display:flex}.cer-booking-modal__backdrop{position:absolute;inset:0;background:rgba(8,13,22,.7);backdrop-filter:blur(8px)}.cer-booking-modal__panel{position:relative;z-index:1;width:min(1080px,100%);max-height:92vh;overflow:auto;border-radius:25px;background:#fff;box-shadow:0 34px 110px rgba(0,0,0,.34);overscroll-behavior:contain}.cer-booking-modal .cer-booking-shell{max-width:none;margin:0;padding:0}.cer-booking-modal .cer-dialog-head{border-radius:24px 24px 0 0;padding-right:72px}.cer-booking-modal .cer-step-stage{border-radius:0 0 24px 24px;box-shadow:none}.cer-modal-close{position:absolute;z-index:4;top:18px;right:18px;display:grid;place-items:center;width:39px;height:39px;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font:400 25px/1 "Segoe UI",sans-serif;cursor:pointer;backdrop-filter:blur(7px);transition:.16s}.cer-modal-close:hover{background:rgba(255,255,255,.18)}
@keyframes cerFade{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:900px){.cer-dialog-head{grid-template-columns:1fr;gap:12px;align-items:start}.cer-dialog-head>p{max-width:680px}.cer-vehicle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cer-payment-layout{grid-template-columns:1fr}.cer-summary-card{position:static}.cer-booking-modal{padding:12px}.cer-booking-modal__panel{max-height:95vh}}
@media(max-width:640px){.cer-booking-shell{margin:18px auto;padding:0 10px}.cer-dialog-head{padding:21px 19px 19px;border-radius:18px 18px 0 0}.cer-brand-lockup{gap:11px}.cer-brand-lockup img,.cer-brand-mark{width:43px;height:43px;flex-basis:43px;border-radius:12px}.cer-brand-lockup h1{font-size:24px}.cer-dialog-head>p{font-size:11px}.cer-progress-step{min-height:57px;padding:9px 8px;gap:7px}.cer-progress-step>span{width:29px;height:29px;flex-basis:29px;font-size:10px}.cer-progress-step strong{font-size:10px}.cer-progress-step small{display:none}.cer-progress-step.is-active:after{left:9px;right:9px}.cer-step-stage{border-radius:0 0 18px 18px}.cer-book-step{padding:21px 17px 18px}.cer-section-head{margin-bottom:18px}.cer-section-head h2{font-size:23px}.cer-section-icon{display:none}.cer-form-grid{grid-template-columns:1fr;gap:13px}.cer-span-2{grid-column:auto}.cer-actions,.cer-actions-between{align-items:stretch;flex-wrap:wrap}.cer-action-note{width:100%;margin:0 0 2px}.cer-actions .cer-btn{flex:1}.cer-toolbar{align-items:stretch;flex-direction:column}.cer-toolbar label{min-width:0}.cer-vehicle-grid{grid-template-columns:1fr}.cer-car-media{height:165px}.cer-card-title{display:block}.cer-card-title b{display:block;margin-top:5px}.cer-payment-layout{gap:12px}.cer-booking-modal{padding:0;align-items:stretch}.cer-booking-modal__panel{width:100%;max-height:none;height:100%;border-radius:0}.cer-booking-modal .cer-dialog-head,.cer-booking-modal .cer-step-stage{border-radius:0}.cer-booking-modal .cer-dialog-head{padding:20px 58px 18px 17px}.cer-modal-close{top:14px;right:13px;width:36px;height:36px}.cer-booking-modal .cer-booking-shell{min-height:100%}}


/* v2.3.0: make every select visually obvious */
.cer-booking-shell select{
  -webkit-appearance:none;
  appearance:none;
  padding-right:40px!important;
  background-color:#fff!important;
  background-image:linear-gradient(45deg,transparent 50%,#667085 50%),linear-gradient(135deg,#667085 50%,transparent 50%)!important;
  background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%!important;
  background-size:5px 5px,5px 5px!important;
  background-repeat:no-repeat!important;
  cursor:pointer;
}
.cer-booking-shell select:disabled{cursor:not-allowed;opacity:.65}


/* ==========================================================
   v3.1.5 — Theme-isolated booking header/progress alignment
   Keeps CER booking UI consistent across WordPress themes.
   ========================================================== */
.cer-booking-shell,
.cer-booking-shell *{
    box-sizing:border-box !important;
}

/* Prevent theme button rules from changing progress geometry. */
.cer-booking-shell .cer-progress{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    align-items:stretch !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    gap:0 !important;
    border:1px solid var(--cer-ui-line) !important;
    border-top:0 !important;
    border-radius:0 !important;
    background:#fff !important;
    overflow:visible !important;
    list-style:none !important;
}

.cer-booking-shell .cer-progress-step,
.cer-booking-shell button.cer-progress-step{
    -webkit-appearance:none !important;
    appearance:none !important;
    position:relative !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:11px !important;
    width:100% !important;
    min-width:0 !important;
    min-height:68px !important;
    margin:0 !important;
    padding:12px 18px !important;
    border:0 !important;
    border-right:1px solid var(--cer-ui-line) !important;
    border-radius:0 !important;
    outline:0 !important;
    background:#fff !important;
    box-shadow:none !important;
    color:#8a909b !important;
    text-align:left !important;
    text-decoration:none !important;
    text-transform:none !important;
    letter-spacing:normal !important;
    line-height:1.2 !important;
    vertical-align:middle !important;
    overflow:visible !important;
    cursor:pointer !important;
}
.cer-booking-shell .cer-progress-step:last-child{
    border-right:0 !important;
}
.cer-booking-shell .cer-progress-step:before{
    content:none !important;
    display:none !important;
}
.cer-booking-shell .cer-progress-step>span{
    display:grid !important;
    place-items:center !important;
    flex:0 0 34px !important;
    width:34px !important;
    min-width:34px !important;
    max-width:34px !important;
    height:34px !important;
    min-height:34px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid #e4e7ec !important;
    border-radius:999px !important;
    background:#f8f9fb !important;
    color:#8a909b !important;
    font-size:12px !important;
    font-weight:800 !important;
    line-height:1 !important;
    text-align:center !important;
}
.cer-booking-shell .cer-progress-step>div{
    display:block !important;
    flex:1 1 auto !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    text-align:left !important;
}
.cer-booking-shell .cer-progress-step strong,
.cer-booking-shell .cer-progress-step small{
    display:block !important;
    width:auto !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    text-align:left !important;
    text-transform:none !important;
    letter-spacing:normal !important;
}
.cer-booking-shell .cer-progress-step strong{
    color:#555d69 !important;
    font-size:12px !important;
    font-weight:800 !important;
    line-height:1.35 !important;
}
.cer-booking-shell .cer-progress-step small{
    margin-top:2px !important;
    color:#a0a6af !important;
    font-size:10px !important;
    font-weight:400 !important;
    line-height:1.35 !important;
}
.cer-booking-shell .cer-progress-step.is-active{
    background:linear-gradient(180deg,#fffdf6,#fff) !important;
}
.cer-booking-shell .cer-progress-step.is-active>span{
    border-color:var(--cer-accent) !important;
    background:var(--cer-accent) !important;
    color:#111827 !important;
}
.cer-booking-shell .cer-progress-step.is-active strong{
    color:#171a22 !important;
}
.cer-booking-shell .cer-progress-step.is-active:after{
    content:"" !important;
    position:absolute !important;
    left:18px !important;
    right:18px !important;
    bottom:-1px !important;
    width:auto !important;
    height:2px !important;
    margin:0 !important;
    background:var(--cer-accent) !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
}
.cer-booking-shell .cer-progress-step:disabled{
    opacity:1 !important;
    cursor:default !important;
}

/* Isolate the dark booking header from theme typography/layout. */
.cer-booking-shell .cer-dialog-head{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(260px,.72fr) !important;
    align-items:end !important;
    gap:28px !important;
    width:100% !important;
    margin:0 !important;
    padding:25px 28px 23px !important;
}
.cer-booking-shell .cer-brand-lockup{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:15px !important;
    margin:0 !important;
}
.cer-booking-shell .cer-brand-lockup>div{
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
}
.cer-booking-shell .cer-brand-lockup small,
.cer-booking-shell .cer-brand-lockup h1,
.cer-booking-shell .cer-dialog-head>p{
    text-align:left !important;
    text-transform:none !important;
}
.cer-booking-shell .cer-brand-lockup small{
    text-transform:uppercase !important;
}

/* Keep modal version identical to inline CER component. */
.cer-booking-modal .cer-booking-shell{
    width:100% !important;
}
.cer-booking-modal .cer-progress{
    width:100% !important;
}

@media(max-width:900px){
    .cer-booking-shell .cer-dialog-head{
        grid-template-columns:1fr !important;
        align-items:start !important;
        gap:12px !important;
    }
}
@media(max-width:640px){
    .cer-booking-shell .cer-progress-step,
    .cer-booking-shell button.cer-progress-step{
        min-height:57px !important;
        padding:9px 8px !important;
        gap:7px !important;
    }
    .cer-booking-shell .cer-progress-step>span{
        flex-basis:29px !important;
        width:29px !important;
        min-width:29px !important;
        max-width:29px !important;
        height:29px !important;
        min-height:29px !important;
        font-size:10px !important;
    }
    .cer-booking-shell .cer-progress-step strong{
        font-size:10px !important;
    }
    .cer-booking-shell .cer-progress-step small{
        display:none !important;
    }
    .cer-booking-shell .cer-progress-step.is-active:after{
        left:9px !important;
        right:9px !important;
    }
    .cer-booking-shell .cer-dialog-head{
        padding:21px 19px 19px !important;
    }
    .cer-booking-modal .cer-dialog-head{
        padding:20px 58px 18px 17px !important;
    }
}


/* =========================================================
   v3.1.7 Cinematic Glass Booking Popup
   Keeps the existing CER form intact while making the global
   popup feel premium and visually separate from any site theme.
   ========================================================= */

body.cer-modal-open{
    overflow:hidden !important;
}

/* Keep the modal mounted so opacity/transform can animate. */
.cer-booking-modal{
    display:flex !important;
    visibility:hidden;
    pointer-events:none;
    opacity:0;
    align-items:center !important;
    justify-content:center !important;
    padding:clamp(12px,2vw,28px) !important;
    transition:opacity .32s cubic-bezier(.2,.8,.2,1), visibility 0s linear .34s;
    isolation:isolate;
}
.cer-booking-modal.is-open{
    visibility:visible;
    pointer-events:auto;
    opacity:1;
    transition:opacity .34s cubic-bezier(.2,.8,.2,1), visibility 0s linear 0s;
}

/* True glassmorphism veil: darken, blur and slightly desaturate homepage. */
.cer-booking-modal__backdrop{
    background:
      radial-gradient(circle at 50% 16%, rgba(244,196,48,.10), transparent 31%),
      linear-gradient(135deg, rgba(3,11,20,.62), rgba(5,17,31,.82)) !important;
    -webkit-backdrop-filter:blur(17px) saturate(118%) brightness(.78) !important;
    backdrop-filter:blur(17px) saturate(118%) brightness(.78) !important;
    opacity:0;
    transition:opacity .34s ease;
}
.cer-booking-modal.is-open .cer-booking-modal__backdrop{
    opacity:1;
}

/* Premium pop-in: scale + lift + clarity. */
.cer-booking-modal__panel{
    width:min(1080px,calc(100% - 2px)) !important;
    max-height:min(92vh,920px) !important;
    border:1px solid rgba(255,255,255,.42) !important;
    border-radius:28px !important;
    background:rgba(255,255,255,.985) !important;
    box-shadow:
      0 42px 120px rgba(0,0,0,.46),
      0 12px 38px rgba(7,18,31,.24),
      0 0 0 1px rgba(255,255,255,.28) inset !important;
    transform:translateY(28px) scale(.93);
    transform-origin:50% 46%;
    filter:blur(7px);
    opacity:0;
    transition:
      transform .48s cubic-bezier(.16,1,.3,1),
      opacity .28s ease,
      filter .38s ease,
      box-shadow .35s ease;
    will-change:transform,opacity,filter;
    overflow:auto !important;
}
.cer-booking-modal.is-open .cer-booking-modal__panel{
    transform:translateY(0) scale(1);
    filter:blur(0);
    opacity:1;
}

/* Subtle gold halo without changing the form's actual colors. */
.cer-booking-modal__panel::before{
    content:"";
    position:absolute;
    z-index:-1;
    inset:-2px;
    border-radius:30px;
    pointer-events:none;
    background:linear-gradient(135deg,rgba(244,196,48,.28),rgba(255,255,255,.03) 34%,rgba(244,196,48,.09) 76%,rgba(255,255,255,.18));
    opacity:0;
    transition:opacity .45s ease .08s;
}
.cer-booking-modal.is-open .cer-booking-modal__panel::before{
    opacity:1;
}

/* Close button becomes a proper frosted glass control. */
.cer-booking-modal .cer-modal-close{
    display:grid !important;
    place-items:center !important;
    width:42px !important;
    height:42px !important;
    top:17px !important;
    right:17px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid rgba(255,255,255,.28) !important;
    border-radius:13px !important;
    background:rgba(255,255,255,.105) !important;
    color:#fff !important;
    box-shadow:0 8px 24px rgba(0,0,0,.14) !important;
    -webkit-backdrop-filter:blur(12px) saturate(140%) !important;
    backdrop-filter:blur(12px) saturate(140%) !important;
    font:500 24px/1 "Segoe UI",sans-serif !important;
    text-decoration:none !important;
    transform:scale(.86) rotate(-5deg);
    opacity:0;
    transition:transform .34s cubic-bezier(.16,1,.3,1) .12s,opacity .25s ease .12s,background .18s ease !important;
}
.cer-booking-modal.is-open .cer-modal-close{
    transform:scale(1) rotate(0);
    opacity:1;
}
.cer-booking-modal .cer-modal-close:hover{
    background:rgba(255,255,255,.19) !important;
    transform:scale(1.045) !important;
}

/* The modal itself should never inherit Elementor/theme transforms. */
#cer-booking-popup,
#cer-booking-popup .cer-booking-modal__panel,
#cer-booking-popup .cer-booking-shell{
    float:none !important;
    clear:none !important;
}

/* Mobile remains immersive, but still gets a short elegant entrance. */
@media(max-width:640px){
    .cer-booking-modal{
        padding:0 !important;
    }
    .cer-booking-modal__backdrop{
        -webkit-backdrop-filter:blur(12px) saturate(112%) brightness(.72) !important;
        backdrop-filter:blur(12px) saturate(112%) brightness(.72) !important;
    }
    .cer-booking-modal__panel{
        width:100% !important;
        height:100% !important;
        max-height:none !important;
        border:0 !important;
        border-radius:0 !important;
        transform:translateY(34px) scale(.985);
    }
    .cer-booking-modal__panel::before{display:none !important;}
    .cer-booking-modal .cer-modal-close{
        top:12px !important;
        right:12px !important;
        width:39px !important;
        height:39px !important;
        border-radius:12px !important;
    }
}

/* Respect accessibility preferences: no dramatic motion when reduced motion is requested. */
@media(prefers-reduced-motion:reduce){
    .cer-booking-modal,
    .cer-booking-modal__backdrop,
    .cer-booking-modal__panel,
    .cer-booking-modal .cer-modal-close{
        transition:none !important;
    }
    .cer-booking-modal__panel,
    .cer-booking-modal.is-open .cer-booking-modal__panel,
    .cer-booking-modal .cer-modal-close,
    .cer-booking-modal.is-open .cer-modal-close{
        transform:none !important;
        filter:none !important;
    }
}


/* =========================================================
   v3.1.8 Glass Popup Scrollbar / Overflow Fix
   The v3.1.7 panel used overflow:auto while its decorative
   ::before halo extended outside the scroll box (inset:-2px).
   Some browsers therefore exposed both X and Y scrollbars.
   ========================================================= */
#cer-booking-popup.cer-booking-modal{
    overflow:hidden !important;
}
#cer-booking-popup .cer-booking-modal__panel{
    box-sizing:border-box !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    overscroll-behavior:contain !important;
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
}
#cer-booking-popup .cer-booking-modal__panel::-webkit-scrollbar{
    width:0 !important;
    height:0 !important;
    display:none !important;
}
/* Keep the decorative halo inside the scroll box so it can never
   manufacture a 1-2px horizontal/vertical overflow. */
#cer-booking-popup .cer-booking-modal__panel::before{
    inset:0 !important;
    border-radius:inherit !important;
}
#cer-booking-popup .cer-booking-shell,
#cer-booking-popup .cer-dialog-head,
#cer-booking-popup .cer-progress,
#cer-booking-popup .cer-step-stage,
#cer-booking-popup .cer-book-step{
    box-sizing:border-box !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
}
#cer-booking-popup .cer-booking-shell,
#cer-booking-popup .cer-step-stage{
    overflow-x:hidden !important;
}
#cer-booking-popup .cer-progress > *,
#cer-booking-popup .cer-form-grid > *,
#cer-booking-popup .cer-payment-layout > *,
#cer-booking-popup .cer-vehicle-grid > *{
    min-width:0 !important;
}
@media(max-width:640px){
    #cer-booking-popup .cer-booking-modal__panel{
        overflow-x:hidden !important;
        overflow-y:auto !important;
    }
}


/* =========================================================
   v3.2.2 Checkout identity layout + popup resilience
   ========================================================= */
#cer-booking-app [data-cer-field="full_name"],
#cer-booking-app [data-cer-field="last_name"],
#cer-booking-app [data-cer-field="email"],
#cer-booking-app [data-cer-field="phone"]{
    min-width:0 !important;
}
#cer-booking-popup.cer-booking-modal.is-open{
    display:flex !important;
    opacity:1 !important;
    visibility:visible !important;
}
html.cer-modal-open,
body.cer-modal-open{
    overflow:hidden !important;
}
@media(min-width:721px){
    #cer-booking-popup .cer-booking-modal__panel{
        width:min(1080px,calc(100vw - 48px)) !important;
        max-height:calc(100vh - 48px) !important;
    }
}

/* =========================================================
   v3.2.5 Vehicle Image Fit + Rate Alignment + Popup Restore
   ========================================================= */

/* Keep every vehicle photo completely visible inside its card. */
.cer-booking-shell .cer-vehicle-card{
    display:flex !important;
    flex-direction:column !important;
    height:100% !important;
}
.cer-booking-shell .cer-car-media{
    height:168px !important;
    min-height:168px !important;
    padding:10px 12px 5px !important;
    overflow:hidden !important;
    background:linear-gradient(145deg,#fbfcfd,#f1f4f7) !important;
}
.cer-booking-shell .cer-car-media img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
    object-position:center center !important;
    margin:0 auto !important;
}

/* Make vehicle card content equal-height and keep pricing pinned/aligned. */
.cer-booking-shell .cer-card-body{
    display:flex !important;
    flex:1 1 auto !important;
    flex-direction:column !important;
    width:100% !important;
    min-height:0 !important;
}
.cer-booking-shell .cer-card-body h3{
    min-height:24px !important;
    line-height:1.3 !important;
}
.cer-booking-shell .cer-tags{
    min-height:28px !important;
}
.cer-booking-shell .cer-specs{
    min-height:44px !important;
    align-content:flex-start !important;
}
.cer-booking-shell .cer-card-foot{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    width:100% !important;
    min-height:52px !important;
    margin-top:auto !important;
    padding-top:12px !important;
}
.cer-booking-shell .cer-card-foot > div:first-child{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    min-width:0 !important;
    line-height:1 !important;
}
.cer-booking-shell .cer-card-foot small{
    display:block !important;
    margin:0 0 6px !important;
    line-height:1 !important;
    text-align:left !important;
}
.cer-booking-shell .cer-card-foot strong{
    display:flex !important;
    align-items:baseline !important;
    flex-wrap:nowrap !important;
    gap:2px !important;
    margin:0 !important;
    line-height:1.05 !important;
    white-space:nowrap !important;
    text-align:left !important;
}
.cer-booking-shell .cer-card-foot em{
    display:inline-block !important;
    margin:0 !important;
    line-height:1 !important;
    vertical-align:baseline !important;
}
.cer-booking-shell .cer-select-label{
    display:inline-flex !important;
    flex:0 0 auto !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:31px !important;
    margin:0 !important;
}

/* Restore and harden the cinematic glass popup against theme/Elementor CSS. */
html.cer-modal-open,
body.cer-modal-open{
    overflow:hidden !important;
}
#cer-booking-popup.cer-booking-modal{
    position:fixed !important;
    inset:0 !important;
    z-index:2147483000 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100vw !important;
    height:100vh !important;
    max-width:none !important;
    max-height:none !important;
    margin:0 !important;
    padding:clamp(12px,2vw,28px) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    background:transparent !important;
    transform:none !important;
    transition:opacity .32s cubic-bezier(.2,.8,.2,1),visibility 0s linear .34s !important;
}
#cer-booking-popup.cer-booking-modal.is-open{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transition:opacity .34s cubic-bezier(.2,.8,.2,1),visibility 0s linear 0s !important;
}
#cer-booking-popup .cer-booking-modal__backdrop{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    background:radial-gradient(circle at 50% 14%,rgba(244,196,48,.11),transparent 32%),linear-gradient(135deg,rgba(2,10,19,.68),rgba(4,17,31,.86)) !important;
    -webkit-backdrop-filter:blur(18px) saturate(120%) brightness(.76) !important;
    backdrop-filter:blur(18px) saturate(120%) brightness(.76) !important;
    opacity:0 !important;
    transition:opacity .34s ease !important;
}
#cer-booking-popup.is-open .cer-booking-modal__backdrop{
    opacity:1 !important;
}
#cer-booking-popup .cer-booking-modal__panel{
    position:relative !important;
    z-index:2 !important;
    width:min(1080px,calc(100vw - 48px)) !important;
    max-width:1080px !important;
    max-height:calc(100vh - 48px) !important;
    margin:0 auto !important;
    border:1px solid rgba(255,255,255,.42) !important;
    border-radius:28px !important;
    background:rgba(255,255,255,.988) !important;
    box-shadow:0 42px 120px rgba(0,0,0,.48),0 12px 38px rgba(7,18,31,.25),0 0 0 1px rgba(255,255,255,.28) inset !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    transform:translateY(28px) scale(.94) !important;
    transform-origin:50% 46% !important;
    filter:blur(6px) !important;
    opacity:0 !important;
    transition:transform .48s cubic-bezier(.16,1,.3,1),opacity .28s ease,filter .38s ease !important;
}
#cer-booking-popup.is-open .cer-booking-modal__panel{
    transform:translateY(0) scale(1) !important;
    filter:blur(0) !important;
    opacity:1 !important;
}

@media(max-width:640px){
    .cer-booking-shell .cer-car-media{
        height:190px !important;
        min-height:190px !important;
        padding:12px !important;
    }
    #cer-booking-popup.cer-booking-modal{
        padding:0 !important;
        align-items:stretch !important;
    }
    #cer-booking-popup .cer-booking-modal__panel{
        width:100% !important;
        max-width:none !important;
        height:100% !important;
        max-height:none !important;
        border:0 !important;
        border-radius:0 !important;
    }
}

/* =========================================================
   v3.2.6 Vehicle Category Filter Fix
   The v3.2.5 equal-height card rule uses display:flex !important,
   so filtered cards need an equally specific display:none rule.
   ========================================================= */
.cer-booking-shell .cer-vehicle-card[hidden],
.cer-booking-shell .cer-vehicle-card.is-filtered-out{
    display:none !important;
}

/* =========================================================
   v3.2.7 Checkout protection alignment + name placeholders
   ========================================================= */
.cer-booking-shell .cer-protection-group{
    gap:10px !important;
}
.cer-booking-shell .cer-option{
    display:grid !important;
    grid-template-columns:18px minmax(0,1fr) !important;
    align-items:center !important;
    column-gap:12px !important;
    min-height:72px !important;
    padding:12px 13px !important;
    text-align:left !important;
}
.cer-booking-shell .cer-option input[type="radio"]{
    -webkit-appearance:auto !important;
    appearance:auto !important;
    display:block !important;
    position:static !important;
    float:none !important;
    width:16px !important;
    height:16px !important;
    min-width:16px !important;
    min-height:16px !important;
    max-width:16px !important;
    max-height:16px !important;
    padding:0 !important;
    margin:0 !important;
    border-radius:50% !important;
    box-shadow:none !important;
    transform:none !important;
    align-self:center !important;
    accent-color:var(--cer-accent) !important;
}
.cer-booking-shell .cer-option > span{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    line-height:1.25 !important;
}
.cer-booking-shell .cer-option strong{
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    font-size:13px !important;
    line-height:1.25 !important;
    font-weight:800 !important;
}
.cer-booking-shell .cer-option small{
    display:block !important;
    margin:3px 0 0 !important;
    padding:0 !important;
    font-size:11px !important;
    line-height:1.3 !important;
}
