/* Milas Car Rental: public site styles. No build step: edit this file directly. */

:root {
    /* Brand: red on white, with charcoal and soft greys. */
    --brand-900: #101828;      /* charcoal: footer, dark buttons, stats band */
    --brand-800: #1d2939;
    --brand-700: #b20621; /* logo red */      /* red: links, icons */
    --brand-600: #d0324a;      /* red: focus rings */
    --brand-100: #fbe9ec;      /* pale red: icon tiles */
    --brand-50: #f6f8fb;       /* light grey: soft sections, hovers */
    --accent-600: #b20621;     /* red: main buttons */
    --accent-500: #c81a35;
    --accent-100: #fbe7ea;
    --red-hero-1: #bd0824;
    --red-hero-2: #7a1027;
    --ink-900: #101828;
    --ink-700: #344054;
    --ink-500: #667085;
    --ink-300: #d0d5dd;
    --ink-200: #e4e7ec;
    --ink-100: #f2f4f7;
    --white: #fff;
    --green-600: #0e8a55;
    --green-100: #def5e9;
    --red-600: #c4321f;
    --red-100: #fde4e0;
    --amber-100: #fff2d6;
    --amber-700: #92580a;
    --whatsapp: #25d366;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(29, 32, 37, .05), 0 8px 24px rgba(29, 32, 37, .06);
    --shadow-lg: 0 18px 50px rgba(29, 32, 37, .14);
    --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; color: var(--ink-900); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--brand-700); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 700; }
h3, h4 { font-weight: 600; }
h1 { font-weight: 800; letter-spacing: -.02em; }
strong, b { font-weight: 600; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.bg-soft { background: var(--brand-50); }
.muted { color: var(--ink-500); }
.small { font-size: .875rem; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-600); margin-bottom: .6em; }
.section-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-600); color: var(--white); box-shadow: 0 6px 16px rgba(178, 6, 33, .25); }
.btn-primary:hover { background: #8e051b; }
.btn-primary[disabled] { background: var(--ink-300); box-shadow: none; cursor: not-allowed; }
.btn-dark { background: var(--brand-800); color: var(--white); }
.btn-dark:hover { background: var(--brand-900); }
.btn-outline { background: transparent; color: var(--brand-800); box-shadow: inset 0 0 0 2px var(--brand-800); }
.btn-outline:hover { background: var(--brand-800); color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: #063; }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--ink-100); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand-900); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-700); display: grid; place-items: center; color: var(--white); }
.brand small { display: block; font-size: .7rem; font-weight: 500; color: var(--ink-500); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { white-space: nowrap; color: var(--ink-700); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a.active { color: var(--brand-800); background: var(--brand-50); }
.nav .btn { margin-left: 8px; padding: 10px 18px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink-900); }
@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .nav { position: absolute; top: 68px; max-height: calc(100vh - 68px); overflow-y: auto; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--white); padding: 12px 20px 20px; border-bottom: 1px solid var(--ink-200); box-shadow: var(--shadow); display: none; }
    .nav.open { display: flex; }
    .nav a { padding: 12px; }
    .nav .btn { margin: 8px 0 0; }
}

/* Alerts */
.alert { padding: 14px 16px; border-radius: var(--radius-sm); margin: 16px 0; font-weight: 500; }
.alert-error { background: var(--red-100); color: var(--red-600); }
.alert-success { background: var(--green-100); color: var(--green-600); }
.alert-info { background: var(--brand-100); color: var(--brand-800); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label { font-size: .8rem; font-weight: 600; color: var(--ink-700); letter-spacing: .01em; }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--ink-200); border-radius: var(--radius-sm); font: inherit; font-size: 16px; color: var(--ink-900); background: var(--white); transition: border-color .15s, box-shadow .15s; }
textarea.input { min-height: 88px; resize: vertical; }
.input:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(178, 6, 33, .12); }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand-700); flex: none; }

/* Search card (mrrholidays style): service tabs, then car, location and date + time boxes */
.search-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink-900); }
.service-tabs { display: flex; border-bottom: 1px solid var(--ink-100); background: var(--brand-50); padding: 0 8px; }
.service-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 10px 14px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink-700); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.service-tab.active { color: var(--brand-900); border-bottom-color: var(--accent-600); background: var(--white); border-radius: 12px 12px 0 0; }
.service-tab[disabled] { cursor: not-allowed; color: var(--ink-500); }
.service-icon { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--brand-700); box-shadow: inset 0 0 0 1.5px var(--ink-200); flex: none; }
.service-tab.active .service-icon { background: var(--accent-600); color: var(--white); box-shadow: none; }
.service-tab[disabled] .service-icon { opacity: .75; }
.soon { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--accent-600); color: var(--white); font-size: 9px; font-weight: 700; letter-spacing: .04em; line-height: 1; padding: 3px 6px; border-radius: 6px; white-space: nowrap; }
.tab-short { display: none; }

.search-form { padding: 18px; display: grid; gap: 10px; }
.combo { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 14px; border: 1.5px solid var(--ink-200); border-radius: 12px; background: var(--white); min-width: 0; transition: border-color .15s, box-shadow .15s; }
.combo:focus-within { border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(178, 6, 33, .12); }
.combo[hidden] { display: none; }
.combo-icon { color: var(--brand-700); display: grid; place-items: center; flex: none; }
.combo-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.combo-text label { font-size: .78rem; font-weight: 500; color: var(--ink-500); }
.combo-text select, .combo-text input { border: 0; padding: 2px 0 0; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink-900); background: transparent; width: 100%; min-width: 0; outline: none; }
.combo-split { padding: 0; gap: 0; }
.combo-part { display: flex; align-items: center; gap: 10px; padding: 8px 14px; flex: 1.3; min-width: 0; }
.combo-part.combo-time { flex: 1; }
.combo-divider { width: 1px; align-self: stretch; margin: 12px 0; background: var(--ink-200); }
.search-row { display: grid; gap: 10px; align-items: stretch; }
.search-row-locations { grid-template-columns: 1fr 1fr; }
.search-row-dates { grid-template-columns: 1fr 1fr auto; }
.search-button { border-radius: 12px; min-height: 60px; padding: 0 26px; }
.odd-notice { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--amber-100); color: var(--amber-700); font-weight: 500; font-size: .85rem; }
.odd-notice[hidden] { display: none; }
@media (max-width: 1060px) {
    .search-row-dates { grid-template-columns: 1fr 1fr; }
    .search-row-dates .search-button { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .search-row-locations, .search-row-dates { grid-template-columns: 1fr; }
    .tab-long { display: none; }
    .tab-short { display: inline; }
    .service-tab { flex-direction: column; gap: 6px; font-size: .82rem; padding: 18px 4px 10px; }
    .search-form { padding: 14px; }
    .combo-time .combo-icon { display: none; }
    .combo-part { padding: 8px 10px; }
}

/* Hero */
.hero { position: relative; color: var(--white); background: radial-gradient(900px 400px at 80% 0%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(135deg, var(--red-hero-1) 0%, var(--red-hero-2) 100%); overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: var(--white); clip-path: ellipse(70% 100% at 50% 100%); }
.hero .container { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 110px; }
.hero h1 { max-width: 760px; }
.hero h1 span { color: #ffdfe3; }
.hero-lead { font-size: 1.15rem; max-width: 620px; color: rgba(255, 255, 255, .86); margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-weight: 500; color: rgba(255, 255, 255, .9); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: #fff; margin-right: 8px; font-weight: 700; }

/* Cards and grids */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.card { background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 22px; }

.feature { padding: 24px; }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-100); color: var(--brand-800); display: grid; place-items: center; margin-bottom: 14px; }
.feature p { color: var(--ink-500); margin: 0; }

/* Car card */
.car-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.car-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.car-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(180deg, var(--brand-50), var(--ink-100)); }
.car-media img { width: 100%; height: 100%; object-fit: cover; }
.car-media img.placeholder { object-fit: contain; padding: 14% 12%; opacity: .55; }
.car-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--white); color: var(--ink-700); }
.badge-sun { background: var(--accent-600); color: var(--white); }
.badge-green { background: var(--green-100); color: var(--green-600); }
.badge-red { background: var(--red-100); color: var(--red-600); }
.badge-amber { background: var(--amber-100); color: var(--amber-700); }
.badge-sea { background: var(--brand-100); color: var(--brand-800); }
.car-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.car-body h3 { margin: 0; font-size: 1.1rem; }
.car-type { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); }
.specs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; color: var(--ink-500); font-size: .85rem; }
.specs li { display: inline-flex; align-items: center; gap: 5px; }
.car-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--ink-200); }
.price { font-size: 1.45rem; font-weight: 700; color: var(--brand-900); letter-spacing: -.02em; }
.price small { font-size: .8rem; font-weight: 500; color: var(--ink-500); }
.price s { display: block; font-size: .8rem; font-weight: 500; color: var(--ink-500); }
.car-foot .btn { padding: 10px 18px; }

/* Chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--ink-200); color: var(--ink-700); text-decoration: none; font-weight: 500; font-size: .9rem; background: var(--white); }
.chip:hover { border-color: var(--brand-600); color: var(--brand-800); }
.chip.active { background: var(--brand-800); border-color: var(--brand-800); color: var(--white); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 24px 24px 24px 76px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 24px; top: 24px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-600); color: var(--white); font-weight: 700; display: grid; place-items: center; }
.step p { margin: 0; color: var(--ink-500); }

/* Page head */
.page-head { background: linear-gradient(135deg, var(--red-hero-1), var(--red-hero-2)); color: var(--white); padding: 36px 0 90px; }
.page-head p { color: rgba(255, 255, 255, .85); margin: 0; }
.page-head + .container, .page-head + .section .container { margin-top: -64px; }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 8px; }
.crumbs a { color: rgba(255, 255, 255, .9); }

/* Car detail */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
@media (max-width: 980px) { .detail { grid-template-columns: minmax(0, 1fr); } }
.gallery-main { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, var(--brand-50), var(--ink-100)); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main img.placeholder { object-fit: contain; padding: 12%; opacity: .5; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: none; width: 84px; height: 60px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--ink-100); }
.thumbs button.active { border-color: var(--accent-600); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.spec { background: var(--brand-50); border-radius: var(--radius-sm); padding: 12px 14px; }
.spec b { display: block; font-size: 1rem; }
.spec span { font-size: .78rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.prose { color: var(--ink-700); }
.prose :first-child { margin-top: 0; }

.form-step { padding: 24px; margin-top: 20px; }
.form-step h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.form-step h2 .num { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-800); color: var(--white); display: grid; place-items: center; font-size: .9rem; flex: none; }

.option { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--ink-100); }
.option:first-of-type { border-top: 0; }
.option-title { font-weight: 600; }
.option-desc { font-size: .87rem; color: var(--ink-500); }
.option select.input { width: 88px; min-height: 42px; }

.plan { display: block; position: relative; padding: 16px 16px 16px 48px; border: 1.5px solid var(--ink-200); border-radius: var(--radius-sm); margin-top: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.plan input { position: absolute; left: 16px; top: 19px; width: 20px; height: 20px; accent-color: var(--brand-700); }
.plan:has(input:checked) { border-color: var(--brand-600); background: var(--brand-50); }
.plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-weight: 600; }
.plan ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .85rem; color: var(--ink-500); }
.plan ul li::before { content: "✓ "; color: var(--green-600); font-weight: 700; }

.summary { position: sticky; top: 88px; padding: 22px; }
.summary h2 { font-size: 1.15rem; }
.summary-car { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--ink-100); margin-bottom: 14px; }
.summary-car img { width: 76px; height: 52px; object-fit: cover; border-radius: 8px; background: var(--ink-100); }
.summary-car img.placeholder { object-fit: contain; padding: 6px; opacity: .55; }
.lines { width: 100%; border-collapse: collapse; font-size: .93rem; }
.lines td { padding: 7px 0; vertical-align: top; }
.lines td:last-child { text-align: right; white-space: nowrap; padding-left: 10px; }
.lines .minus td:last-child { color: var(--green-600); }
.lines .note td { font-size: .8rem; color: var(--ink-500); padding-top: 0; }
.lines .total td { border-top: 2px solid var(--ink-900); padding-top: 12px; font-weight: 700; font-size: 1.15rem; }
.lines .deposit td { color: var(--brand-800); font-weight: 600; }
.upsell { margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--amber-100); color: var(--amber-700); font-size: .85rem; font-weight: 500; }
.pay-options { display: grid; gap: 8px; margin-top: 14px; }
.pay-option { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--ink-200); border-radius: var(--radius-sm); cursor: pointer; font-size: .92rem; }
.pay-option:has(input:checked) { border-color: var(--brand-600); background: var(--brand-50); }
.pay-option input { accent-color: var(--brand-700); width: 18px; height: 18px; margin-top: 2px; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .8rem; color: var(--ink-500); margin-top: 10px; }

.mobile-bar { display: none; }
@media (max-width: 980px) {
    .summary { position: static; }
    .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white); border-top: 1px solid var(--ink-200); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -6px 20px rgba(20, 32, 43, .08); }
    .mobile-bar .price { font-size: 1.25rem; }
    body.has-mobile-bar { padding-bottom: 80px; }
    body.has-mobile-bar .wa-float { display: none; }
}

/* Booking page */
.status-hero { padding: 28px; display: flex; gap: 18px; align-items: center; }
.status-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.status-ok { background: var(--green-100); color: var(--green-600); }
.status-wait { background: var(--amber-100); color: var(--amber-700); }
.status-off { background: var(--ink-100); color: var(--ink-500); }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; margin: 0; }
.kv dt { color: var(--ink-500); font-size: .9rem; }
.kv dd { margin: 0; font-weight: 500; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 10px; } }

/* CTA band */
.cta { background: var(--brand-900); color: var(--white); border-radius: 24px; padding: 40px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: rgba(255, 255, 255, .9); }
.cta .btn-dark { background: var(--brand-900); }

/* Locations */
.loc { display: flex; gap: 14px; padding: 20px; align-items: flex-start; }
.loc .feature-icon { margin: 0; flex: none; }
.loc h3 { margin-bottom: 2px; }
.loc p { margin: 0; color: var(--ink-500); font-size: .92rem; }

/* Footer */
.site-footer { background: var(--brand-900); color: rgba(255, 255, 255, .78); padding: 56px 0 28px; margin-top: 64px; }
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; }
.site-footer .brand { color: var(--white); margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 35; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .4); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }

.empty { padding: 48px 24px; text-align: center; color: var(--ink-500); }

/* Car illustrations (shown until a real photo is uploaded) */
.car-media, .gallery-main { background:
    radial-gradient(120% 80% at 50% 0%, #ffffff 0%, transparent 60%),
    linear-gradient(180deg, #f7f8fa 0%, #eceef1 68%, #e0e3e7 68.5%, #f0f1f3 100%); }
.car-art { display: block; width: 100%; height: 100%; padding: 9% 5% 3%; transition: transform .25s ease; }
.car-card:hover .car-art { transform: translateX(6px); }
.gallery-main .car-art { padding: 8% 6% 4%; }
.summary-car .thumb-art { width: 76px; height: 52px; padding: 4px; border-radius: 8px; background: linear-gradient(180deg, #f7f8fa, #eceef1); flex: none; }

/* Content pages, FAQ and blog */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .content-layout { grid-template-columns: minmax(0, 1fr); } }
.content-aside { position: sticky; top: 88px; display: grid; gap: 16px; }
@media (max-width: 900px) { .content-aside { position: static; } }
.content-body { font-size: 1.02rem; line-height: 1.75; }
.content-body h2 { font-size: 1.35rem; margin: 1.6em 0 .6em; }
.content-body h3 { font-size: 1.1rem; margin: 1.4em 0 .5em; }
.content-body h2:first-child, .content-body h3:first-child { margin-top: 0; }
.content-body ul, .content-body ol { padding-left: 1.3em; }
.content-body li { margin: .3em 0; }
.content-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.content-body th, .content-body td { border: 1px solid var(--ink-200); padding: 8px 10px; text-align: left; }
.content-body th { background: var(--brand-50); font-weight: 500; }
.content-body img { border-radius: var(--radius-sm); margin: 1em 0; }
.post-cover { width: 100%; margin-top: 0 !important; }
.faq-group { margin-bottom: 20px; }
.faq-group h2 { font-size: 1.15rem; margin-bottom: 8px; }
.faq { border-top: 1px solid var(--ink-100); }
.faq summary { cursor: pointer; padding: 14px 28px 14px 0; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.3rem; color: var(--brand-700); }
.faq[open] summary::after { content: "−"; }
.faq .prose { padding: 0 0 16px; color: var(--ink-700); }
.post-media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--red-hero-1), var(--red-hero-2)); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-media-empty { display: grid; place-items: center; height: 100%; color: rgba(255, 255, 255, .85); font-weight: 500; }
.contact-card .kv dd { font-weight: 400; }

/* Accounts */
.auth-form { display: grid; gap: 16px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-700); text-decoration: underline; cursor: pointer; }
.account-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 760px) { .account-layout { grid-template-columns: 1fr; } }
.account-nav { display: flex; flex-direction: column; padding: 8px; position: sticky; top: 88px; }
@media (max-width: 760px) { .account-nav { position: static; flex-direction: row; flex-wrap: wrap; } }
.account-nav a, .account-nav button { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink-700); text-decoration: none; font: inherit; font-weight: 500; text-align: left; background: none; border: 0; cursor: pointer; width: 100%; }
@media (max-width: 760px) { .account-nav a, .account-nav button { width: auto; } }
.account-nav a:hover, .account-nav button:hover, .account-nav a.active { background: var(--brand-50); color: var(--brand-800); }
.booking-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px; margin-bottom: 12px; text-decoration: none; color: inherit; transition: box-shadow .15s; }
.booking-row:hover { box-shadow: var(--shadow-lg); }
.booking-row-art { width: 110px; height: 70px; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #f7f8fa, #eceef1); }
.booking-row-art img { width: 100%; height: 100%; object-fit: cover; }
.booking-row-art .car-art { padding: 6px; }
.booking-row-main { display: grid; gap: 2px; min-width: 0; }
.booking-row-side { text-align: right; display: grid; gap: 4px; justify-items: end; }
@media (max-width: 560px) { .booking-row { grid-template-columns: 80px minmax(0, 1fr); } .booking-row-art { width: 80px; height: 54px; } .booking-row-side { grid-column: 1 / -1; justify-items: start; text-align: left; grid-auto-flow: column; justify-content: space-between; align-items: center; } }

/* Promo banners */
.promo-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.promo { position: relative; overflow: hidden; border-radius: var(--radius); color: var(--white); background: linear-gradient(120deg, var(--promo), color-mix(in srgb, var(--promo) 70%, #000)); min-height: 150px; display: flex; }
.promo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.promo-body { position: relative; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.promo h3 { margin: 0; font-size: 1.25rem; }
.promo p { margin: 0; color: rgba(255, 255, 255, .9); font-size: .95rem; }
.promo-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.promo-code { display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 999px; border: 1.5px dashed rgba(255, 255, 255, .8); background: rgba(0, 0, 0, .12); color: var(--white); font: inherit; cursor: pointer; }
.promo-code span { font-size: .8rem; opacity: .85; }
.promo-code.copied::after { content: "Copied"; font-size: .8rem; }
.btn-light { background: var(--white); color: var(--ink-900); }
.btn-light:hover { background: var(--ink-100); }

/* Stats */
.stats-band { background: var(--brand-900); border-top: 4px solid var(--brand-700); color: var(--white); padding: 40px 0; }
.stats { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats-3 { grid-template-columns: repeat(3, 1fr); }
.stats-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .stats, .stats-3 { grid-template-columns: repeat(2, 1fr); } }
.stat-value { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; color: #fff; }
.stat-label { font-weight: 500; }
.stat-note { font-size: .85rem; color: rgba(255, 255, 255, .65); }

/* Testimonials */
.testimonial { margin: 0; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.stars { color: #f5a623; letter-spacing: 2px; }
.stars span { color: var(--ink-200); }
.testimonial blockquote { margin: 0; color: var(--ink-700); line-height: 1.65; flex: 1; }
.testimonial blockquote::before { content: "“"; }
.testimonial blockquote::after { content: "”"; }
.testimonial figcaption { display: grid; }
.price-sub { display: block; font-size: .78rem; font-weight: 400; color: var(--ink-500); letter-spacing: 0; }
.trust { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--ink-100); display: grid; gap: 6px; font-size: .86rem; color: var(--ink-700); }
.trust li { padding-left: 22px; position: relative; }
.trust li::before { content: "✓"; position: absolute; left: 2px; color: var(--green-600); font-weight: 600; }
.trust-help { display: block; margin-top: 10px; font-size: .86rem; text-align: center; }

/* My booking (several cars) */
.cart-line { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px; margin-bottom: 12px; }
.cart-line-art { width: 120px; height: 76px; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #f7f8fa, #eceef1); }
.cart-line-art img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-art .car-art { padding: 6px; }
.cart-line-main { display: grid; gap: 2px; min-width: 0; }
.cart-line-side { text-align: right; display: grid; gap: 2px; justify-items: end; }
@media (max-width: 560px) { .cart-line { grid-template-columns: 84px minmax(0, 1fr); } .cart-line-art { width: 84px; height: 56px; } .cart-line-side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; } }
.cart-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent-600); color: var(--white); font-size: .75rem; font-weight: 600; margin-left: 4px; }
.cart-bar { position: sticky; bottom: 16px; z-index: 25; margin: 24px auto 0; max-width: 680px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 20px; border-radius: 999px; background: var(--brand-900); color: var(--white); box-shadow: var(--shadow-lg); }
.cart-bar .btn { padding: 10px 18px; }
.btn-add { width: 100%; margin-top: 10px; }
.header-cart { display: none; align-items: center; gap: 2px; margin-left: auto; padding: 8px; color: var(--brand-800); text-decoration: none; }
@media (max-width: 1080px) { .header-cart { display: inline-flex; } }

/* The header button keeps white text (menu link colours must not override it). */
.nav a.btn-primary, .nav a.btn-primary:hover, .nav a.btn-primary.active { color: var(--white); background: var(--accent-600); }
.nav a.btn-primary:hover { background: #8e051b; }
.nav a.btn-primary .cart-pill { background: var(--white); color: var(--accent-600); }

/* Car cards on every device: a squarer, smaller Book button. Phones get the even smaller version below. */
.car-card:not(.post-card) .car-foot .btn { border-radius: 6px; padding: 7px 14px; font-size: .88rem; line-height: 1.3; }

/* Phones: cars two per row, with a more compact card. */
@media (max-width: 640px) {
    .grid-3:has(> .car-card:not(.post-card)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .car-card:not(.post-card) .car-body { padding: 12px; gap: 6px; }
    .car-card:not(.post-card) .car-body h3 { font-size: .95rem; line-height: 1.25; }
    .car-card:not(.post-card) .car-type { font-size: .68rem; }
    .car-card:not(.post-card) .specs { font-size: .75rem; gap: 2px 8px; }
    .car-card:not(.post-card) .specs li:nth-child(n+3) { display: none; }
    .car-card:not(.post-card) .car-foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; }
    .car-card:not(.post-card) .price { font-size: 1.15rem; }
    .car-card:not(.post-card) .price-sub { font-size: .7rem; }
    .car-card:not(.post-card) .car-foot .btn { padding: 9px 10px; width: 100%; }
    .car-card:not(.post-card) .car-badges { top: 8px; left: 8px; }
    .car-card:not(.post-card) .badge { font-size: .65rem; padding: 3px 7px; }
    .car-card:not(.post-card) .car-art { padding: 10% 4% 2%; }
}
@media (max-width: 640px) {
    .cart-bar { border-radius: 14px; padding: 10px 10px 10px 14px; font-size: .85rem; gap: 8px; bottom: 12px; }
    .cart-bar .btn { padding: 9px 12px; font-size: .85rem; }
}
/* Keep the WhatsApp button clear of the "My booking" bar. */
body:has(.cart-bar) .wa-float { bottom: 92px; }
/* Phones: price on the left, a compact Book button on the right, in one row. */
@media (max-width: 640px) {
    .car-card:not(.post-card) .car-foot { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
    .car-card:not(.post-card) .price { font-size: 1.05rem; }
    .car-card:not(.post-card) .price small { font-size: .7rem; }
    .car-card:not(.post-card) .car-foot .btn { width: auto; padding: 7px 14px; font-size: .82rem; }
}
/* Phones: the card's Book button is less rounded and a little smaller. */
@media (max-width: 640px) {
    .car-card:not(.post-card) .car-foot .btn { border-radius: 6px; padding: 5px 11px; font-size: .8rem; line-height: 1.3; }
}

/* Spec icons */
.spec-icons { gap: 6px 12px; }
.spec-icons li { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-700); }
.spec-icon { flex: none; color: var(--brand-700); }
.spec-with-icon { display: flex; align-items: center; gap: 10px; }
.spec-with-icon .spec-icon { width: 22px; height: 22px; }
@media (max-width: 640px) {
    .car-card:not(.post-card) .spec-icons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 6px; }
    .car-card:not(.post-card) .spec-icons li:nth-child(n+3) { display: inline-flex; }
    .car-card:not(.post-card) .spec-icons li:nth-child(n+5) { display: none; }
    .car-card:not(.post-card) .spec-icon { width: 14px; height: 14px; }
}
.spec-grid:has(.spec-with-icon) { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
.spec-with-icon span { font-size: .68rem; letter-spacing: .03em; white-space: nowrap; }
.spec-with-icon b { font-size: .95rem; }

/* Homepage: vehicle categories in one row with icons */
.cat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 18px 10px 16px; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-700); }
.category-icon { width: 58px; height: 29px; color: var(--brand-700); margin-bottom: 8px; }
.cat-name { font-weight: 600; font-size: .98rem; line-height: 1.25; }
.cat-price { font-size: .82rem; color: var(--ink-500); }
.cat-price strong { color: var(--ink-900); font-weight: 600; }
.cat-count { font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); margin-top: 4px; }
@media (max-width: 1080px) {
    /* Swipe sideways on tablets and phones, keeping one row. */
    .cat-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; margin: 0 -2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .cat-row::-webkit-scrollbar { display: none; }
    .cat-tile { flex: 0 0 132px; scroll-snap-align: start; }
}

/* Payment methods ("We accept"), as on mrrholidays */
.pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pay-row-label { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.pay-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pay-logos li { display: grid; place-items: center; height: 28px; padding: 3px 6px; background: var(--white); border-radius: 5px; border: 1px solid var(--ink-200); }
.pay-logos img { height: 20px; width: auto; max-width: 70px; object-fit: contain; }
.pay-logos .pay-text { font-size: .72rem; font-weight: 700; color: #003087; }
.pay-logos .pay-more { background: transparent; border: 0; font-size: .78rem; font-weight: 500; padding: 0 2px; }
.pay-note { font-size: .78rem; opacity: .8; flex-basis: 100%; }
.pay-row-hero { margin-top: 14px; color: rgba(255, 255, 255, .92); }
.pay-row-hero .pay-logos li { border-color: transparent; }
.pay-row-hero .pay-more { color: rgba(255, 255, 255, .9); }
.pay-row-footer { color: rgba(255, 255, 255, .85); }
.pay-row-footer .pay-logos li { border-color: transparent; }

/* Homepage FAQ */
.faq-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; align-items: start; }
.faq-home-intro h2 { margin-bottom: 10px; }
@media (max-width: 860px) { .faq-home { grid-template-columns: 1fr; gap: 20px; } }
.faq-home .faq:first-of-type { border-top: 0; }
.footer-pay { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; }
.footer-pay + .footer-bottom { margin-top: 16px; }
.pay-row-checkout { margin-top: 12px; justify-content: center; color: var(--ink-500); }
.pay-row-checkout .pay-logos li { height: 24px; }
.pay-row-checkout .pay-logos img { height: 16px; }
.site-footer .pay-logos { display: flex; flex-wrap: wrap; gap: 6px; }

/* Footer "We accept" row, centred. */
.footer-pay .pay-row { justify-content: center; text-align: center; }
.footer-pay .pay-logos { justify-content: center; }
.footer-pay .pay-note { text-align: center; }
.footer-bottom { justify-content: center; text-align: center; }

/* Google rating line above the reviews */
.rating-summary { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 14px; border: 1px solid var(--ink-200, #e4e7ec); border-radius: 999px; background: #fff; color: var(--ink-700, #344054); font-size: .95rem; text-decoration: none; }
.rating-summary strong { font-size: 1.05rem; color: var(--ink-900, #101828); }
.rating-summary .stars { color: #fabb05; letter-spacing: 1px; }
a.rating-summary:hover { border-color: var(--brand-700); }
a.rating-summary:hover span:last-child { text-decoration: underline; }

/* Pick-up and drop-off zones on the homepage */
.zone-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.zone { background: #fff; border: 1px solid var(--ink-200); border-top: 3px solid var(--ink-200); border-radius: 10px; padding: 22px 22px 20px; display: flex; flex-direction: column; }
.zone-free { border-top-color: var(--brand-700); }
.zone-head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--ink-200); }
.zone-head h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; min-height: 2.7em; }
.zone-fee { font-size: .9rem; color: var(--ink-500); }
.zone-fee strong { font-size: 1.35rem; color: var(--ink-900, #101828); font-weight: 600; margin-right: 2px; }
.zone-free .zone-fee strong { color: var(--brand-700); }
.zone-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.zone-list li { position: relative; padding-left: 16px; font-size: .92rem; line-height: 1.4; color: var(--ink-700); }
.zone-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-700); opacity: .55; }
.zone-more { margin-top: 10px; }
.zone-more summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--brand-700); list-style: none; }
.zone-more summary::-webkit-details-marker { display: none; }
.zone-more[open] summary { margin-bottom: 8px; }
.zone-note { margin: auto 0 0; padding-top: 14px; font-size: .85rem; color: var(--ink-500); }
@media (max-width: 1080px) { .zone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .zone-grid { grid-template-columns: 1fr; gap: 14px; } .zone-head h3 { min-height: 0; } }

/* Help line under a form field */
.field-help { font-size: .8rem; line-height: 1.4; color: var(--ink-500); }

/* Promo banner buttons: same squarer corners as the Book and Search buttons */
.promo .btn, .promo-code { border-radius: 8px; }

/* Hero: headline, intro, payment row and selling points centred over the search form */
.hero .container > .eyebrow { display: block; text-align: center; }
.hero h1, .hero-lead { margin-left: auto; margin-right: auto; text-align: center; }
.hero h1 { max-width: 860px; }
.hero .pay-row-hero, .hero-points { justify-content: center; }
@media (min-width: 720px) { .hero h1 span { display: block; } }

/* Feature strip overlapping the bottom of the hero */
.feature-strip-wrap { position: relative; z-index: 2; margin-top: -78px; }
.feature-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: 14px; box-shadow: 0 12px 32px rgba(16, 24, 40, .10); overflow: hidden; }
.feature-strip li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.feature-strip li + li { border-left: 1px solid var(--ink-200); }
.fs-icon { flex: none; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); }
.feature-strip strong { display: block; font-size: .98rem; font-weight: 600; color: var(--ink-900, #101828); }
.feature-strip small { display: block; margin-top: 2px; font-size: .82rem; color: var(--ink-500); line-height: 1.35; }
@media (max-width: 900px) {
    .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-strip li + li { border-left: 0; }
    .feature-strip li:nth-child(even) { border-left: 1px solid var(--ink-200); }
    .feature-strip li:nth-child(n+3) { border-top: 1px solid var(--ink-200); }
}
@media (max-width: 480px) {
    .feature-strip li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
}
.nowrap { white-space: nowrap; }
.hero-lead { font-size: clamp(1rem, 2.2vw, 1.15rem); }

/* Out-of-hours charge note under the location zones */
.zone-odd { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin: 24px auto 0; padding: 12px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--ink-200); font-size: .92rem; color: var(--ink-700); }
.zone-odd svg { flex: none; margin-top: 2px; color: var(--brand-700); }
.zone-odd strong { font-weight: 600; color: var(--ink-900, #101828); }

/* Car photos are 3:2 (code badge at top, illustration note at bottom): show them whole */
.car-media, .gallery-main { aspect-ratio: 3 / 2; }
.cart-line-art img { object-fit: contain; background: #fff; }

/* Red Book button on car cards: lighter shadow so the grid stays calm */
.car-card .car-foot .btn-primary { box-shadow: 0 3px 8px rgba(178, 6, 33, .18); }

/* Homepage fleet tabs */
.fleet-tabs { justify-content: center; margin: 0 0 24px; }
.fleet-tabs .chip { cursor: pointer; font-family: inherit; }
@media (max-width: 640px) {
    .fleet-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; }
    .fleet-tabs::-webkit-scrollbar { display: none; }
    .fleet-tabs .chip { flex: none; }
}


/* Search form: car picker with photos */
.combo-car { position: relative; }
.combo-car .combo-icon.has-thumb { width: 54px; height: 36px; border-radius: 6px; overflow: hidden; background: #fff; }
.combo-car .combo-icon.has-thumb img { width: 100%; height: 100%; object-fit: cover; }
.car-pick-btn { border: 0; padding: 2px 22px 0 0; font: inherit; font-size: 15px; color: var(--ink-900); width: 100%; text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; outline: none;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23101828' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center; }
.car-pick-list { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; max-height: min(420px, 60vh); overflow-y: auto; background: #fff; border: 1px solid var(--ink-200); border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 24, 40, .16); padding: 6px; }
.car-pick-list[hidden] { display: none; }
.car-pick-group { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); padding: 12px 10px 4px; }
.car-pick-item { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: transparent; padding: 6px 10px; border-radius: 8px; font: inherit; text-align: left; color: var(--ink-900); cursor: pointer; }
.car-pick-item:hover, .car-pick-item:focus { background: #f7f8fa; outline: none; }
.car-pick-item[aria-selected="true"] { background: var(--brand-100); }
.car-pick-item[disabled] { opacity: .45; cursor: not-allowed; }
.car-pick-item img, .car-pick-noimg { width: 72px; height: 48px; flex: none; border-radius: 6px; object-fit: cover; background: #f2f4f7; }
.car-pick-name { display: flex; flex-direction: column; font-size: .95rem; line-height: 1.3; }
.car-pick-name small { color: var(--ink-500); font-size: .8rem; }
.car-pick-all { padding: 12px 10px; font-weight: 500; }
@media (max-width: 560px) { .car-pick-item img, .car-pick-noimg { width: 60px; height: 40px; } }
/* Let the car list open past the search card and hero (they used to clip it) */
.search-card { overflow: visible; }
.search-card > :first-child { border-radius: 20px 20px 0 0; }
.hero { overflow: visible; overflow-x: clip; }
.hero:has(.car-pick-list:not([hidden]), .dp-pop:not([hidden])) { z-index: 3; } /* only while the car list is open, so it shows over the feature strip */
/* Car photos carry the code badge top-left, so card badges sit top-right */
.car-badges, .car-card:not(.post-card) .car-badges { left: auto; right: 10px; justify-content: flex-end; }

/* Smaller headings on phones (was 30px / 24px at 375px wide); desktop sizes unchanged */
h1 { font-size: clamp(1.5rem, 4.5vw + .3rem, 3rem); }
h2 { font-size: clamp(1.3rem, 3vw + .4rem, 2.1rem); }
@media (max-width: 480px) { h1 { letter-spacing: -.015em; } }
.btn-add { white-space: normal; text-align: center; line-height: 1.3; }

/* Car page specs: one compact inline row of pills instead of big boxes */
.spec-grid:has(.spec-with-icon) { display: flex; flex-wrap: wrap; gap: 8px; }
.spec.spec-with-icon { padding: 7px 12px; border-radius: 999px; gap: 7px; }
.spec-with-icon .spec-icon { width: 17px; height: 17px; }
.spec-with-icon > div { display: flex; align-items: baseline; gap: 5px; }
.spec-with-icon span { font-size: .8rem; text-transform: none; letter-spacing: 0; font-weight: 400; }
.spec-with-icon b { display: inline; font-size: .9rem; font-weight: 600; }
/* Icon + value only; the label stays for screen readers and shows on hover (title) */
.spec-with-icon span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spec.spec-with-icon { position: relative; }

/* Browser-drawn controls (date/time picker, checkboxes, radios) in brand red instead of default blue */
:root { accent-color: #b20621; }
input[type="date"], input[type="datetime-local"], input[type="time"] { accent-color: #b20621; }
/* Highlighted day/month/year (and hour/minute) inside date fields: red, not system blue */
input::-webkit-datetime-edit-day-field:focus,
input::-webkit-datetime-edit-month-field:focus,
input::-webkit-datetime-edit-year-field:focus,
input::-webkit-datetime-edit-hour-field:focus,
input::-webkit-datetime-edit-minute-field:focus,
input::-webkit-datetime-edit-ampm-field:focus { background: #b20621; color: #fff; border-radius: 3px; }
::selection { background: rgba(178, 6, 33, .18); }

/* Brand date picker (public/js/datepicker.js) */
.dp { position: relative; min-width: 0; }
.dp-btn { display: block; width: 100%; text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: inherit; color: var(--ink-900); }
.combo-text .dp-btn { border: 0; padding: 2px 0 0; background: transparent; font-size: 15px; outline: none; }
.dp-btn.input { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b20621' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 40px; }
.dp-empty { color: var(--ink-500); }
.dp-pop { position: absolute; z-index: 50; top: calc(100% + 8px); left: 0; width: 296px; background: #fff; border: 1px solid var(--ink-200); border-radius: 14px; box-shadow: 0 16px 40px rgba(16, 24, 40, .18); padding: 12px; color: var(--ink-900); }
.combo-split .dp-pop { left: -40px; }
.dp-pop[hidden] { display: none; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp-head strong { font-size: .95rem; font-weight: 600; }
.dp-nav { width: 32px; height: 32px; border: 0; border-radius: 8px; background: #f7f8fa; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink-900); }
.dp-nav:hover { background: var(--brand-100); color: #b20621; }
.dp-nav[disabled] { opacity: .3; cursor: default; background: #f7f8fa; color: var(--ink-900); }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-dow { text-align: center; font-size: .72rem; font-weight: 600; color: var(--ink-500); padding: 4px 0; }
.dp-day { height: 36px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: .88rem; cursor: pointer; color: var(--ink-900); }
.dp-day:hover, .dp-day:focus { background: var(--brand-100); color: #8e051b; outline: none; }
.dp-day:focus-visible { box-shadow: 0 0 0 2px #b20621; }
.dp-out { color: var(--ink-500); opacity: .6; }
.dp-today { box-shadow: inset 0 0 0 1.5px #b20621; }
.dp-sel, .dp-sel:hover, .dp-sel:focus { background: #b20621; color: #fff; font-weight: 600; }
.dp-day[disabled] { color: var(--ink-300, #d0d5dd); cursor: not-allowed; background: transparent; text-decoration: line-through; opacity: .7; }
.dp-time { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ink-100, #eaecf0); font-size: .85rem; color: var(--ink-500); }
.dp-time select { flex: 1; padding: 8px 10px; }
.dp-foot { display: flex; justify-content: flex-end; margin-top: 8px; }
.dp-done { border: 0; background: #b20621; color: #fff; font: inherit; font-weight: 600; font-size: .85rem; padding: 7px 16px; border-radius: 8px; cursor: pointer; }
.dp-done:hover { background: #8e051b; }
@media (max-width: 400px) { .dp-pop { width: min(296px, calc(100vw - 32px)); } }

.dp-note { margin: 8px 0 0; font-size: .78rem; line-height: 1.4; color: var(--ink-500); }

/* Phone field: country-code picker + number */
.phone-input { display: grid; grid-template-columns: minmax(0, 172px) minmax(0, 1fr); gap: 8px; }
.phone-input select { padding-right: 28px; }
.field[hidden] { display: none; }

/* Country-code picker with flags (partials/phone-field) */
.cc { position: relative; min-width: 0; }
.cc-btn { display: flex; align-items: center; gap: 8px; width: 100%; cursor: pointer; text-align: left; font: inherit; color: var(--ink-900);
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23101828' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 30px; }
.cc-btn img, .cc-item img { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(16, 24, 40, .1); flex: none; }
.cc-pop { position: absolute; z-index: 45; top: calc(100% + 6px); left: 0; width: 300px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--ink-200); border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 24, 40, .16); padding: 8px; }
.cc-pop[hidden] { display: none; }
.cc-search { width: 100%; margin-bottom: 6px; }
.cc-list { max-height: 260px; overflow-y: auto; }
.cc-item { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent; padding: 8px 10px; border-radius: 8px; font: inherit; font-size: .92rem; text-align: left; cursor: pointer; color: var(--ink-900); }
.cc-item:hover, .cc-item:focus { background: #f7f8fa; outline: none; }
.cc-item[aria-selected="true"] { background: var(--brand-100); }
.cc-name { flex: 1; }
.cc-code { color: var(--ink-500); font-size: .85rem; }
.cc-none { margin: 8px 10px; font-size: .85rem; color: var(--ink-500); }
.phone-input { grid-template-columns: minmax(0, 112px) minmax(0, 1fr); }
.cc select[hidden] { display: none; }

/* Out-of-hours times (+RM50) stand out in red in every time list */
option[data-odd="1"] { background: #b20621; color: #fff; }
select.is-odd { color: #8e051b; font-weight: 600; }
.combo-part:has(select.is-odd), .dp-time:has(select.is-odd) select { background-color: #fbe9ec; }
.odd-notice { justify-self: center; text-align: center; } /* centred under the Search button */

/* Out-of-hours note: highlighted so the +RM50 is not missed */
.zone-odd { background: #fff4e5; border: 1px solid #fcd9a8; border-left: 4px solid #b20621; color: #7a4100; }
.zone-odd svg { color: #b20621; }
.zone-odd strong { color: #8e051b; font-weight: 700; }

/* Floating labels on the booking forms (car page, My booking): the label sits inside an empty
   box and moves up onto its border once the box is in use. Selects, the date picker and the
   phone picker always have a value, so their labels stay up. */
.form-step .field { position: relative; }
.form-step .field > label {
    position: absolute; z-index: 2; left: 11px; top: -8px; padding: 0 5px; max-width: calc(100% - 22px);
    background: #fff; border-radius: 4px; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-size: .74rem; font-weight: 600; line-height: 1.3; color: var(--ink-500); transition: top .15s, font-size .15s, color .15s;
}
.form-step .field:has(> .input:placeholder-shown):not(:focus-within) > label { top: 13px; font-size: 15px; font-weight: 400; color: var(--ink-500); }
.form-step .field:focus-within > label { color: #b20621; }
.form-step .field > .input:not(:focus)::placeholder { color: transparent; }
.form-step .field > .input { padding-top: 13px; }
.form-step .field .muted { color: inherit; }
.form-step .form-grid { row-gap: 22px; margin-top: 18px; } /* room for labels sitting on the box border */

.cc-group { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); padding: 12px 10px 4px; border-top: 1px solid var(--ink-100, #eaecf0); margin-top: 6px; }
.pay-option[hidden] { display: none; }

.badge-rec { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #b20621; color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .02em; vertical-align: 2px; }

.plan-error { margin: 6px 0 0; padding: 8px 12px; border-radius: 8px; background: #fbe9ec; color: #8e051b; font-size: .88rem; font-weight: 600; }
.plan-error[hidden] { display: none; }

/* Booking vs security deposit, explained under "How much to pay now" */
.deposit-explain { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #f7f8fa; font-size: .82rem; line-height: 1.45; color: var(--ink-700); }
.deposit-explain p { margin: 0; }
.deposit-explain p + p { margin-top: 6px; }
.deposit-explain strong { color: var(--ink-900); font-weight: 600; }

/* Responsive fixes (Nov 2026 audit) */
/* Price lines: a note row spans both columns and must wrap (it used to inherit nowrap from the amount column). */
.lines .note td, .lines td[colspan] { white-space: normal; text-align: left; padding-left: 0; }
.lines td:first-child { overflow-wrap: anywhere; }
/* Long words (emails, addresses, references) never push a box wider than the screen. */
.content-aside, .content-aside .card, .prose, .card, .summary { overflow-wrap: anywhere; min-width: 0; }
.content-layout > * { min-width: 0; }

/* Phone polish (Nov 2026 audit) */
/* Room under the footer so the floating WhatsApp button never covers the last line. */
@media (max-width: 768px) { .site-footer { padding-bottom: 96px; } }
/* Stats band on phones: 3 figures sit in one row instead of 2 + 1 left alone. */
@media (max-width: 700px) {
    .stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .stats-3 .stat-value { font-size: 1.6rem; }
    .stats-3 .stat-label { font-size: .8rem; line-height: 1.3; }
    .stats-3 .stat-note { font-size: .72rem; }
}
/* Payment logos in the hero: "+5 more" stays centred with the logos when the row wraps. */
.pay-row-hero .pay-logos { justify-content: center; }
.pay-row-hero { text-align: center; }
/* Protection plans on phones: less inner padding so the text has room. */
@media (max-width: 480px) {
    .form-step { padding: 18px 14px; }
    .plan { padding: 14px 12px 14px 40px; }
    .plan input { left: 12px; top: 16px; }
}
/* Status and label badges never break inside a word ("Confirm-ed"). */
.badge, .badge-rec { white-space: nowrap; flex: none; }
a[href^="tel:"], .nowrap-phone { white-space: nowrap; }

/* Page links (blog) */
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pager-pages { display: flex; gap: 6px; }
.pager-btn, .pager-num { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--ink-200); background: #fff; color: var(--ink-900); text-decoration: none; font-weight: 500; font-size: .92rem; }
.pager-num { padding: 0; }
a.pager-btn:hover, a.pager-num:hover { border-color: #b20621; color: #b20621; }
.pager-num.is-current { background: #b20621; border-color: #b20621; color: #fff; }
.pager-btn.is-disabled { opacity: .4; }
.pager-gap { align-self: center; color: var(--ink-500); }
@media (max-width: 420px) { .pager-btn { padding: 0 12px; } }

/* Blog pictures: cover and pictures inside articles, with captions */
.post-cover-fig, .content-body .blog-fig { margin: 0 0 22px; }
.post-cover-fig img, .content-body .blog-fig img { display: block; width: 100%; height: auto; border-radius: 12px; background: #fff; }
.post-cover-fig figcaption, .content-body .blog-fig figcaption { margin-top: 8px; font-size: .85rem; line-height: 1.45; color: var(--ink-500); }
.content-body .blog-fig { margin: 26px 0; }
.post-media { aspect-ratio: 1200 / 630; background: #fff; } /* same shape as the blog pictures, so nothing is cut */

/* Blog article + sidebar (Popular / Recent / Tags) */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.blog-main { min-width: 0; }
.blog-side { position: sticky; top: 88px; min-width: 0; }
@media (max-width: 1000px) { .blog-layout { grid-template-columns: minmax(0, 1fr); } .blog-side { position: static; } }
.blog-tabs { padding: 0; overflow: hidden; }
.blog-tablist { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ink-200); background: #f7f8fa; }
.blog-tablist button { border: 0; border-right: 1px solid var(--ink-200); background: transparent; padding: 13px 6px; font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink-700); cursor: pointer; }
.blog-tablist button:last-child { border-right: 0; }
.blog-tablist button[aria-selected="true"] { background: #fff; color: #b20621; box-shadow: inset 0 -3px 0 #b20621; }
.blog-tablist button:focus-visible { outline: 2px solid #b20621; outline-offset: -2px; }
.blog-tabpanel { padding: 6px 16px; }
.blog-tabpanel[hidden] { display: none; }
.side-post { display: block; padding: 14px 0; border-bottom: 1px solid var(--ink-100, #eaecf0); color: inherit; text-decoration: none; }
.side-post:last-child { border-bottom: 0; }
.side-post img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 8px; background: #fff; margin-bottom: 10px; }
.side-post strong { display: block; font-size: 1.02rem; line-height: 1.3; color: var(--ink-900); }
.side-post span { display: block; margin-top: 6px; font-size: .85rem; line-height: 1.5; color: var(--ink-500); }
.side-post:hover strong { color: #b20621; }
.side-post[aria-current="page"] strong { color: #b20621; }
.tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 12px 0 16px; }
.tag-cloud a, .post-tags a { display: inline-block; padding: 7px 12px; border-radius: 6px; background: #f2f4f7; color: var(--ink-700); font-size: .85rem; text-decoration: none; }
.tag-cloud a:hover, .post-tags a:hover { background: var(--brand-100); color: #8e051b; }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--ink-100, #eaecf0); }
.post-tags > span { font-weight: 600; font-size: .9rem; margin-right: 4px; }
/* Sidebar on tablets: posts two across so it is not one very long column. */
@media (min-width: 640px) and (max-width: 1000px) {
    .blog-tabpanel:not(#bp-tags) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
    .blog-tabpanel[hidden] { display: none; }
}
.blog-side { position: static; } /* taller than the screen, so it scrolls with the page */
.footer-credit { color: rgba(255, 255, 255, .6); } .footer-bottom { column-gap: 24px; }
.footer-credit { flex-basis: 100%; text-align: center; font-size: .8rem; margin-top: -4px; } /* own line, at the very bottom */
.email-link { overflow-wrap: normal; word-break: normal; } /* breaks only before the @ if it must */
.footer-credit a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 2px; } .footer-credit a:hover { color: #fff; }

/* Milas logo (header and footer) */
.brand-logo { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo img { display: block; height: 40px; width: auto; }
.brand-logo-footer img { height: 44px; margin-bottom: 4px; }
@media (max-width: 480px) { .brand-logo img { height: 32px; } }

/* Promo banners with a picture: photo on the right, the banner colour fading in from the left so the text stays readable */
.promo.has-img { min-height: 190px; }
.promo.has-img .promo-img { z-index: 0; opacity: 1; left: auto; right: 0; width: 70%; object-fit: cover; }
.promo.has-img::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, var(--promo) 0%, var(--promo) 34%, color-mix(in srgb, var(--promo) 75%, transparent) 55%, color-mix(in srgb, var(--promo) 10%, transparent) 100%); }
.promo.has-img .promo-body { z-index: 2; max-width: 62%; }
.promo.has-img h3, .promo.has-img p { text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
@media (max-width: 640px) {
    .promo.has-img .promo-img { width: 100%; }
    .promo.has-img::after { background: linear-gradient(90deg, var(--promo) 0%, color-mix(in srgb, var(--promo) 88%, transparent) 55%, color-mix(in srgb, var(--promo) 45%, transparent) 100%); }
    .promo.has-img .promo-body { max-width: none; }
}
/* Lighter fade on banners: the photo shows more, the text still has colour behind it */
.promo.has-img::after { background: linear-gradient(90deg, var(--promo) 0%, color-mix(in srgb, var(--promo) 85%, transparent) 26%, color-mix(in srgb, var(--promo) 40%, transparent) 50%, transparent 78%); }
.promo.has-img .promo-img { width: 82%; }
.promo.has-img h3, .promo.has-img p { text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
@media (max-width: 640px) {
    .promo.has-img .promo-img { width: 100%; }
    .promo.has-img::after { background: linear-gradient(90deg, color-mix(in srgb, var(--promo) 82%, transparent) 0%, color-mix(in srgb, var(--promo) 55%, transparent) 55%, color-mix(in srgb, var(--promo) 15%, transparent) 100%); }
}

/* Search form car list: Available / Not available for the chosen dates */
.car-pick-name { flex: 1; min-width: 0; }
.car-pick-status { flex: none; padding: 3px 8px; border-radius: 999px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.car-pick-status.is-free { background: var(--green-100); color: var(--green-600); }
.car-pick-status.is-busy { background: #fde4e7; color: #b20621; }
.car-pick-item[disabled] { opacity: 1; }
.car-pick-item[disabled] > :not(.car-pick-status) { opacity: .5; }

/* Units left: 1 = red, 2 = yellow, 3 or more = green */
.car-pick-status.is-last { background: #fde4e7; color: #b20621; }
.car-pick-status.is-few { background: #fef3c7; color: #92400e; }
