/*
 * Autocar redesign, Direction C ("Console").
 *
 * The design system the site is being rebuilt on, one page at a time
 * (docs/redesign/README.md). It loads after the old stylesheets, which stay in
 * place until the last page has moved over; everything here is scoped to the
 * new components' own classes, so it never restyles an old page by accident.
 *
 * Fonts: IBM Plex Sans (Greek-capable) for all text, JetBrains Mono for codes and
 * plates; the logo is vector shapes (no font). Colour: dark panels for controls, white
 * work surfaces, red only for the one main action in a view.
 */

:root {
    --ink: #161616;
    --canvas: #FFFFFF;
    --surface: #F4F4F4;
    --line: #E2E2E2;
    --muted: #5E5E5E;
    --red: #E0161E;
    --red-press: #C4121A;
    --red-tint: #FDECEC;
    --error: #B3121A;
    --positive: #1E7F4F;
    --panel: #161616;
    --panel-2: #212121;
    --panel-line: #333333;
    --on-panel: #FFFFFF;
    --on-panel-muted: #BBBBBB;
    --font: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
    --r: 4px;
    --hd-util: 35px;
}

/* =====================================================================
   Base. The old template (bootstrap, global.css, style.css …) is gone;
   these are the element defaults the redesign was built on top of, kept
   so nothing moves. Old fonts and blanket outline removal are not kept.
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; border: 0; }
html, body { max-width: 100%; overflow-x: hidden; }
/* Body values carried over from the old template so nothing moves: the faint
   paper grain on #FAFAFA, and the 20/32 text that unstyled wrappers inherit. */
body {
    background-color: #FAFAFA;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
    color: #6A6A6A; font-family: var(--font); font-size: 20px; line-height: 32px;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility; font-feature-settings: "kern", "liga", "calt";
}
::selection { background: rgba(224, 22, 30, .18); color: var(--ink); }
a { color: inherit; text-decoration: none; }
ul, li { list-style: none; }
p { font-size: 16px; line-height: 24px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 700; color: #111; }
/* The old template's heading scale: components that set no size or line height of their own keep the look they were approved with. */
h1 { font-size: 64px; line-height: 74px; }
h2 { font-size: 48px; line-height: 56px; }
h3 { font-size: 32px; line-height: 42px; }
h4 { font-size: 24px; line-height: 30px; }
h5 { font-size: 20px; line-height: 30px; font-weight: 500; }
h6 { font-size: 16px; line-height: 28px; font-weight: 500; }
b, strong { font-weight: bolder; }
small { font-size: .875em; }
img, svg { vertical-align: middle; }
img { max-width: 100%; height: auto; }
table { border-collapse: collapse; }
hr { color: inherit; border: 0; border-top: 1px solid; opacity: .25; }
label { display: inline-block; }
input, button, select, textarea { font-family: inherit; font-size: 14px; font-weight: 400; line-height: inherit; background: transparent; }
/* iPhones zoom the page into any field under 16px when it is tapped (and stay zoomed);
   touch screens get 16px text in every field. Pinch-zoom still works. */
@media (pointer: coarse) {
    input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px !important; }
}
button, [role="button"], summary { cursor: pointer; }
button:disabled { cursor: default; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.babyseats-block { margin: 8px 0 16px; }
.extras-note { line-height: 1.5; }

/* Desktop scrollbar, as before the redesign. */
@media (min-width: 992px) {
    ::-webkit-scrollbar { width: 11px; }
    ::-webkit-scrollbar-track { background: #f1f1f1; }
    ::-webkit-scrollbar-thumb { background: #cfcfcf; border-radius: 10px; border: 3px solid #f1f1f1; }
    ::-webkit-scrollbar-thumb:hover { background: var(--red); }
}

/* The header's cart chip, as the old header styles had it. */
.cart-nav { align-items: center; }

/* Back to the top, bottom right, once the page has scrolled (console.js). */
.scroll-top { position: fixed; right: 15px; bottom: -80px; z-index: 99; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--ink); border-radius: 50%; background: var(--canvas); color: var(--ink); cursor: pointer; transition: bottom .6s ease, background-color .2s ease, color .2s ease; }
.scroll-top.open { bottom: 15px; }
.scroll-top:hover { background: var(--ink); color: #fff; }
.scroll-top svg { width: 18px; height: 18px; }

/* The floating cart button, above the back-to-top button. */
.cart-fab { position: fixed; right: 15px; bottom: 80px; z-index: 99; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font); font-size: 14px; line-height: 1; text-decoration: none; box-shadow: rgba(0, 0, 0, .3) 0 0 20px 0; transition: transform .3s ease, box-shadow .3s ease; }
.cart-fab:hover { color: #fff; transform: translateY(-2px); box-shadow: rgba(0, 0, 0, .4) 0 6px 24px 0; }
.cart-fab__icon { position: relative; display: inline-flex; }
.cart-fab__count { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #fff; color: var(--red); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.cart-fab__label strong { margin-left: 6px; }
@media (max-width: 575px) { .cart-fab__label { display: none; } .cart-fab { padding: 14px; } }

/* The old wrapper hides horizontal overflow, which would stop the sticky header
   from sticking; clip does the same job without creating a scroll container. */
.boxed_wrapper { overflow-x: clip; }

.brand-logo { display: block; width: 164px; height: auto; }

/* ================= Header ================= */
.hd {
    position: sticky;
    top: calc(-1 * var(--hd-util));
    z-index: 990;
    background: var(--panel);
    color: var(--on-panel);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.4;
}
.hd *, .msheet *, .ft * { box-sizing: border-box; }
/* The old stylesheets set fonts and sizes on bare elements (p, h2, li); inside the new chrome they inherit. */
.hd :is(p, li, span, b, h2), .msheet :is(p, li, span, b), .ft :is(p, li, span, b, h2) { font-family: inherit; }
.hd a, .hd button { color: inherit; text-decoration: none; font-family: inherit; }
.hd a:hover { color: var(--on-panel); }
.hd :focus-visible, .msheet :focus-visible, .ft :focus-visible { outline: 2px solid var(--on-panel); outline-offset: 2px; }

.hd__util {
    display: flex;
    align-items: center;
    gap: 22px;
    height: var(--hd-util);
    padding: 0 24px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 13px;
    color: var(--on-panel-muted);
    border-bottom: 1px solid var(--panel-line);
}
.hd__util a { color: var(--on-panel-muted); }
.hd__hours { margin-right: auto; overflow: hidden; text-overflow: ellipsis; }
.hd__wa { display: inline-flex; gap: 6px; align-items: center; }
.hd__wa::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #25D366; }
.hd__util .hd__rating { color: var(--on-panel); font-weight: 600; }

.hd__bar { display: flex; align-items: center; gap: 28px; max-width: 1440px; margin: 0 auto; padding: 14px 24px; }
.hd__home { display: block; flex: none; }
.hd__nav { display: flex; gap: 22px; }
.hd__nav a { padding-block: 4px; border-bottom: 2px solid transparent; color: var(--on-panel-muted); }
.hd__nav a.is-current { color: var(--on-panel); border-bottom-color: var(--red); }
.hd__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hd__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #4a4a4a;
    border-radius: var(--r);
    font-size: 14px;
    white-space: nowrap;
}
.hd__btn:hover { border-color: var(--on-panel-muted); }
.hd .hd__btn--solid { background: var(--on-panel); border-color: var(--on-panel); color: var(--ink); font-weight: 600; }
.hd__btn svg, .cart-chip svg { width: 16px; height: 16px; flex: none; }

.hd-lang { position: relative; }
.hd-lang summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: var(--r);
    color: var(--on-panel-muted);
    font-size: 14px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}
.hd-lang summary::-webkit-details-marker { display: none; }
.hd-lang summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.hd-lang[open] summary, .hd-lang summary:hover { color: var(--on-panel); border-color: #4a4a4a; }
.hd-lang ul {
    position: absolute;
    top: 44px;
    right: 0;
    z-index: 5;
    min-width: 190px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--canvas);
    border-radius: var(--r);
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45);
}
.hd-lang li { margin: 0; }
.hd .hd-lang a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 3px; color: var(--ink); font-size: 14px; }
.hd .hd-lang a:hover { background: var(--surface); color: var(--ink); }
.hd-lang a span { color: var(--muted); font-size: 12px; }
.hd .hd-lang a.is-on { background: var(--surface); font-weight: 600; }

.cart-nav { display: contents; }
.cart-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 12px;
    background: var(--panel-2);
    border: 1px solid var(--panel-line);
    border-radius: var(--r);
    font-size: 14px;
}
.cart-chip__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }
.cart-chip__amt { font-weight: 600; font-variant-numeric: tabular-nums; }

.hd__burger {
    display: none;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #4a4a4a;
    border-radius: var(--r);
    background: none;
    font-size: 14px;
    cursor: pointer;
}
.hd__burger i { display: grid; gap: 3px; width: 16px; }
.hd__burger i::before, .hd__burger i::after, .hd__burger i b { content: ""; display: block; height: 2px; background: currentColor; }

.hd__biz {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 22px;
    padding: 9px 24px;
    background: var(--panel-2);
    border-top: 1px solid var(--panel-line);
    box-shadow: inset 4px 0 0 var(--red);
    font-size: 13px;
    color: var(--on-panel-muted);
}
.hd__biz b { color: var(--on-panel); font-weight: 600; }
.hd__pts { font-variant-numeric: tabular-nums; }
.hd__biz nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.hd__biz nav a, .hd__biz nav button { color: var(--on-panel-muted); }
.hd__biz form { margin: 0; }
.hd__biz button { padding: 0; border: 0; background: none; font-size: 13px; cursor: pointer; }
.hd__biz button:hover { color: var(--on-panel); }

/* ================= Phone menu ================= */
.msheet {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    align-content: start;
    gap: 22px;
    padding: 14px 18px 26px;
    overflow-y: auto;
    background: var(--panel);
    color: var(--on-panel);
    font-family: var(--font);
}
.msheet[hidden] { display: none; }
.msheet a, .msheet button { color: inherit; text-decoration: none; font-family: inherit; }
.msheet__top { display: flex; align-items: center; justify-content: space-between; }
.msheet__top .brand-logo { width: 134px; }
.msheet__close { height: 38px; padding: 0 12px; border: 1px solid #4a4a4a; border-radius: var(--r); background: none; font-size: 14px; cursor: pointer; }
.msheet__nav { display: grid; border-top: 1px solid var(--panel-line); }
.msheet__nav a { display: flex; justify-content: space-between; align-items: center; padding: 15px 2px; border-bottom: 1px solid var(--panel-line); font-size: 20px; font-weight: 600; }
.msheet__nav a::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--on-panel-muted); border-top: 2px solid var(--on-panel-muted); transform: rotate(45deg); }
.msheet__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.msheet__actions a { display: grid; place-items: center; height: 48px; border: 1px solid #4a4a4a; border-radius: var(--r); font-size: 15px; font-weight: 600; }
.msheet .msheet__actions a.is-solid { background: var(--on-panel); border-color: var(--on-panel); color: var(--ink); }
.msheet__label { margin: 0 0 8px; font-size: 12px; color: var(--on-panel-muted); font-variation-settings: "wdth" 85; letter-spacing: .03em; }
.msheet__langs { display: flex; flex-wrap: wrap; gap: 6px; }
.msheet__langs a { display: grid; place-items: center; height: 36px; min-width: 52px; padding: 0 10px; border: 1px solid #4a4a4a; border-radius: var(--r); font-size: 14px; font-weight: 600; }
.msheet .msheet__langs a.is-on { background: var(--on-panel); border-color: var(--on-panel); color: var(--ink); }
.msheet__contact { display: grid; gap: 6px; font-size: 15px; color: var(--on-panel-muted); }
.msheet__contact b { color: var(--on-panel); font-weight: 600; }
.msheet .msheet__wa { justify-self: start; display: inline-flex; align-items: center; height: 40px; margin-top: 4px; padding: 0 14px; background: #25D366; color: #0b2b16; border-radius: var(--r); font-size: 14px; font-weight: 700; }
body.menu-open { overflow: hidden; }

/* ================= Footer ================= */
.ft { background: var(--panel); color: var(--on-panel-muted); font-family: var(--font); font-size: 14px; line-height: 1.5; }
.ft a { color: var(--on-panel-muted); text-decoration: none; }
.ft a:hover { color: var(--on-panel); }
.ft__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; max-width: 1440px; margin: 0 auto; padding: 44px 32px 36px; }
.ft__brand { display: grid; gap: 14px; align-content: start; }
.ft__brand p { margin: 0; max-width: 30ch; color: var(--on-panel-muted); }
.ft__socials { display: flex; gap: 8px; }
.ft .ft__socials a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #4a4a4a; border-radius: var(--r); color: var(--on-panel); font-size: 12px; font-weight: 700; }
.ft__col { display: grid; gap: 9px; align-content: start; }
.ft__col h2, .ft__pay h2 { margin: 0 0 4px; font-family: var(--font); font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--on-panel); font-variation-settings: "wdth" 85; letter-spacing: .04em; }
.ft .ft__col .is-strong { color: var(--on-panel); font-weight: 600; }
.ft__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; max-width: 1440px; margin: 0 auto; padding: 20px 32px; border-top: 1px solid var(--panel-line); }
.ft__pay h2 { margin: 0; }
.ft__marks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ft__marks li { display: grid; place-items: center; height: 34px; padding: 6px 10px; background: #fff; border-radius: 3px; }
.ft__marks img { display: block; width: auto; max-width: 100%; height: 22px; }
.ft__pay p { flex: 1 1 280px; margin: 0; font-size: 13px; color: var(--on-panel-muted); }
.ft__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; max-width: 1440px; margin: 0 auto; padding: 16px 32px 22px; border-top: 1px solid var(--panel-line); font-size: 12.5px; }
.ft__langs { display: flex; gap: 10px; margin-left: auto; }
.ft .ft__langs a.is-on { color: var(--on-panel); font-weight: 700; }

/* ================= Narrow screens ================= */
@media (max-width: 1100px) {
    .hd__nav, .hd-lang, .hd__btn { display: none; }
    .hd__burger { display: inline-flex; }
    .hd__bar { gap: 14px; }
}

@media (max-width: 760px) {
    :root { --hd-util: 0px; }
    .hd__util { display: none; }
    .hd__bar { padding: 12px 14px; gap: 10px; }
    .hd .brand-logo { width: 134px; }
    .cart-chip { padding: 0 9px; }
    .cart-chip__amt { display: none; }
    .hd__biz { padding: 8px 14px; gap: 2px 14px; }
    .hd__biz nav { display: none; }
    .ft__top { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding: 30px 18px 24px; }
    .ft__brand { grid-column: 1 / -1; }
    .ft__pay, .ft__legal { padding-inline: 18px; }
    .ft__langs { margin-left: 0; }
}

/* =====================================================================
   Page body base: every rebuilt page wraps its content in .cpage
   (the old stylesheets set fonts, sizes and capitalisation on bare
   elements; inside a rebuilt page they inherit the new system instead).
   ===================================================================== */
.cpage { background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.55; }
.cpage :is(h1, h2, h3, h4, p, li, span, b, small, em, blockquote, figcaption, button, a, label, select) { font-family: inherit; letter-spacing: normal; text-transform: none; }
.cpage :is(h1, h2, h3, h4) { color: inherit; }
/* The old global.css colours bare p/li/span; inside a rebuilt page they inherit.
   One class beats the bare old selectors; component rules come later in this file and win. */
.cpage :where(p, li, span, small, b, strong, label, legend, dt, dd, figcaption, blockquote) { color: inherit; }
.cpage *, .cpage *::before, .cpage *::after { box-sizing: border-box; }
.cpage a { color: inherit; }
.cpage button { color: inherit; }
.cpage :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cpage .console__panel :focus-visible, .cpage .bizband :focus-visible { outline-color: var(--on-panel); }

/* ================= Trip fields (dark panel) ================= */
.tf {
    display: grid;
    gap: 3px;
    width: 100%;
    padding: 10px 12px;
    background: var(--panel-2);
    border: 1px solid var(--panel-line);
    border-radius: var(--r);
    color: var(--on-panel);
    text-align: left;
    cursor: pointer;
    list-style: none;
}
.tf::-webkit-details-marker { display: none; }
.tf:hover { border-color: #555; }
.tf__l { font-size: 12px; color: var(--on-panel-muted); font-variation-settings: "wdth" 85; letter-spacing: .02em; }
.tf__v { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tf__v em { font-style: normal; font-weight: 400; color: var(--on-panel-muted); }
.tf[aria-expanded="true"], .place[open] > .tf { border-color: var(--on-panel); }
.tf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tf-link { justify-self: start; padding: 0; background: none; border: 0; color: var(--on-panel-muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cpage .tf-link { color: var(--on-panel-muted); }
.tf-link:hover { color: var(--on-panel); }

.place { position: relative; }
.place__menu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none; background: var(--canvas); color: var(--ink); border-radius: var(--r); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6); }
.place__menu li { margin: 0; }
.place__menu button { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 10px; background: none; border: 0; border-radius: 3px; color: var(--ink); text-align: left; font-size: 15px; cursor: pointer; }
.place__menu button:hover, .place__menu button.is-on { background: var(--surface); }
.place__menu button.is-on { font-weight: 600; }
.place__menu small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.place__menu em { align-self: center; font-style: normal; font-size: 12px; font-weight: 600; color: #8A3B00; font-family: var(--mono); }
/* A station closed on the trip's dates (StationClosure): listed, greyed, not choosable. */
.place__menu button.is-closed { color: var(--muted); cursor: not-allowed; }
.place__menu button.is-closed:hover { background: none; }
.place__menu button.is-closed small { color: #8A3B00; }
/* Why a place was changed for the customer (EditsTrip::keepStationsOpen). */
.trip-notice { margin: 0; padding: 10px 12px; border-left: 3px solid #B25E00; border-radius: var(--r); background: #FFF4E5; color: var(--ink); font-size: 14px; line-height: 1.45; }
/* Under a trip bar (results, booking form) it is a band joined to the bar, on the bar's 24px gutter. */
.cpage > .trip-notice, .bf > .trip-notice { padding: 10px 24px; border-left: 0; border-bottom: 1px solid #F0D2A8; border-radius: 0; }
@media (max-width: 760px) { .cpage > .trip-notice, .bf > .trip-notice { padding: 10px 16px; } }

/* Date sheet: calendar drawn by console.js */
.trip-dates { position: relative; }
.datesheet { position: absolute; left: 0; top: calc(100% + 8px); z-index: 20; display: grid; gap: 14px; width: min(640px, calc(100vw - 32px)); padding: 18px; background: var(--canvas); color: var(--ink); border-radius: var(--r); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6); }
.datesheet[hidden] { display: none; }
.ds-hint { margin: 0; font-size: 15px; font-weight: 700; }
.cal { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cal__nav { position: absolute; top: -4px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; background: none; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); cursor: pointer; }
.cal__nav--prev { left: 0; }
.cal__nav--next { right: 0; }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal-month h4 { margin: 0 0 8px; font-size: 15px; font-weight: 700; text-align: center; text-transform: capitalize; }
.cal-month table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.cal-month th { padding-bottom: 4px; font-size: 11px; font-weight: 600; color: var(--muted); font-variation-settings: "wdth" 85; text-align: center; }
.cal-month td { height: 36px; padding: 0; text-align: center; }
.cal-month td button { display: grid; place-items: center; width: 100%; height: 34px; padding: 0; background: none; border: 0; border-radius: 3px; color: var(--ink); font-size: 14px; cursor: pointer; }
.cal-month td button:hover { background: var(--surface); }
.cal-month td button:disabled { color: #b9b9b9; text-decoration: line-through; cursor: default; background: none; }
.cal-month td.is-today button { box-shadow: inset 0 0 0 1px var(--ink); }
.cal-month td.is-in button { background: var(--surface); border-radius: 0; }
.cal-month td.is-start button, .cal-month td.is-end button { background: var(--ink); color: #fff; font-weight: 700; }
.cal-month td.is-start button { border-radius: 3px 0 0 3px; }
.cal-month td.is-end button { border-radius: 0 3px 3px 0; }
.cal-month td.is-start.is-end button { border-radius: 3px; }
.ds-times { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; padding-top: 12px; border-top: 1px solid var(--line); }
.ds-times label { display: grid; gap: 4px; margin: 0; font-size: 12px; font-weight: 600; font-variation-settings: "wdth" 85; }
.ds-times select { height: 42px; padding: 0 10px; border: 1px solid #8a8a8a; border-radius: var(--r); background: var(--canvas); color: var(--ink); font-weight: 600; }
.ds-apply { height: 42px; padding: 0 18px; border: 0; border-radius: var(--r); background: var(--ink); color: #fff !important; font-weight: 700; cursor: pointer; }
.ds-note { margin: 0; font-size: 13px; color: var(--muted); }

/* ================= Homepage console ================= */
.console { display: grid; grid-template-columns: 360px minmax(0, 1fr); max-width: 1280px; margin: 0 auto; background: var(--canvas); }
.console__panel { position: relative; display: grid; gap: 12px; align-content: start; padding: 26px 24px 28px; background: var(--panel); color: var(--on-panel); }
.console__panel h1 { margin: 0 0 4px; font-size: 28px; line-height: 1.15; font-weight: 700; }
.console__lead { margin: 0 0 6px; font-size: 14px; color: var(--on-panel-muted); }
.console__go { height: 50px; margin-top: 4px; border: 0; border-radius: var(--r); background: var(--red); color: #fff !important; font-size: 16px; font-weight: 700; cursor: pointer; }
.console__go:hover { background: var(--red-press); }
.console__trip { display: grid; gap: 6px; margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--panel-line); font-size: 13px; color: var(--on-panel-muted); }
.console__trip b { color: var(--on-panel); }

.console__live { display: grid; gap: 12px; align-content: start; min-width: 0; padding: 24px 28px; }
.live__head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.live__head p { margin: 0; font-size: 14px; color: var(--muted); }
.live__head p b { color: var(--ink); font-size: 16px; }
.lchips { display: flex; flex-wrap: wrap; gap: 6px; }
.lchip { height: 32px; padding: 0 12px; border: 1px solid #c9c9c9; border-radius: var(--r); background: var(--canvas); font-size: 13px; cursor: pointer; }
.lchip.is-on { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.ltable { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); transition: opacity .15s; }
.ltable.is-loading { opacity: .55; }
.lrow { display: grid; grid-template-columns: 96px minmax(0, 1fr) 96px 130px 96px; gap: 16px; align-items: center; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lrow img { width: 96px; height: auto; }
.lrow__name { font-size: 15px; font-weight: 600; }
.lrow__name small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.lrow__gear { font-size: 13px; font-weight: 600; }
.lrow__total { font-size: 20px; font-weight: 700; line-height: 1.1; text-align: right; font-variant-numeric: tabular-nums; }
.lrow__total small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.lrow__go { display: grid; place-items: center; height: 36px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--canvas); font-size: 14px; font-weight: 600; text-decoration: none; }
.cpage .lrow__go:hover { background: var(--ink); color: #fff; }
.lrow--off, .lrow--off .lrow__name { color: var(--muted); }
.lrow--off img { opacity: .45; filter: grayscale(1); }
.lrow__off { grid-column: 4 / -1; font-size: 13px; text-align: right; }
.live__more { margin: 0; padding: 12px 14px; background: var(--surface); border-radius: var(--r); font-size: 14px; color: var(--muted); }
.live__more b { color: var(--ink); }
.live__foot { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
.live__trust { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: 13px; color: var(--muted); }
.live__trust b { color: var(--ink); }
.live__all { height: 40px; padding: 0 18px; background: var(--canvas); border: 1px solid var(--ink); border-radius: var(--r); font-size: 14px; font-weight: 600; cursor: pointer; }
.cpage .live__all:hover { background: var(--ink); color: #fff; }

/* ================= Homepage sections ================= */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1280px; margin: 0 auto; border-top: 1px solid var(--line); }
.fact { display: grid; gap: 4px; align-content: start; padding: 22px 24px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b { font-size: 26px; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.fact span { font-size: 14px; color: var(--muted); }

.hsec { display: grid; gap: 24px; max-width: 1280px; margin: 0 auto; padding: 52px 28px; border-top: 1px solid var(--line); }
.hsec__head { display: grid; gap: 4px; max-width: 64ch; }
.hsec__head h2 { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 700; }
.hsec__head p { margin: 0; color: var(--muted); }

.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--r); counter-reset: howto; }
.howto li { counter-increment: howto; display: grid; gap: 6px; align-content: start; padding: 22px; border-right: 1px solid var(--line); }
.howto li:last-child { border-right: 0; }
.howto li::before { content: counter(howto); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.howto h3 { margin: 6px 0 0; font-size: 17px; }
.howto p { margin: 0; font-size: 14px; color: var(--muted); }

.reviews { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.reviews--norating { grid-template-columns: minmax(0, 1fr); }
.rsum { display: grid; gap: 6px; padding: 22px; background: var(--surface); border-radius: var(--r); }
.rsum__n { font-size: 48px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.rsum p { margin: 0; font-size: 14px; color: var(--muted); }
.stars { letter-spacing: 2px; }
.rlist { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.rcard { display: grid; gap: 10px; align-content: start; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); scroll-snap-align: start; }
.rcard blockquote { margin: 0; padding: 0; border: 0; font-size: 15px; }
.rcard figcaption { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.rcard figcaption b { color: var(--ink); }

.bizband { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 40px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 40px 28px; background: var(--panel); color: var(--on-panel); box-shadow: inset 6px 0 0 var(--red); }
.bizband h2 { margin: 0 0 8px; font-size: 30px; line-height: 1.15; font-weight: 700; }
.bizband p { margin: 0; max-width: 54ch; color: var(--on-panel-muted); }
.bizband ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bizband li { display: flex; gap: 10px; font-size: 15px; }
.bizband li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; background: var(--red); }
.bizband__cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.cpage .bizband__btn { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; background: var(--on-panel); color: var(--ink); border-radius: var(--r); font-weight: 700; text-decoration: none; }
.cpage .bizband__link { color: var(--on-panel); text-decoration: underline; text-underline-offset: 3px; }

.guide { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.gfeat { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas); }
.gfeat__media { position: relative; }
.gfeat__img { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gfeat__tag { position: absolute; top: 14px; left: 14px; padding: 4px 10px; background: var(--panel); color: var(--on-panel); border-radius: var(--r); font-size: 12px; font-weight: 600; font-variation-settings: "wdth" 85; letter-spacing: .03em; }
.gfeat__tag[hidden] { display: none; }
.gfeat__body { display: grid; gap: 8px; padding: 20px 22px 22px; }
.gfeat__name { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 700; }
.gfeat__meta { margin: 0; font-size: 14px; color: var(--muted); }
.gfeat__meta b { color: var(--ink); font-variant-numeric: tabular-nums; }
.gfeat__desc { margin: 0; max-width: 60ch; font-size: 15px; }
.gfeat__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.gbtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid var(--ink); border-radius: var(--r); font-size: 14px; font-weight: 600; text-decoration: none; }
.gbtn[hidden] { display: none; }
.cpage .gbtn:hover { background: var(--surface); }
.gbtn svg { width: 16px; height: 16px; }
.cpage .gbtn--drive { background: var(--ink); color: #fff; }
.cpage .gbtn--drive:hover { background: #333; }
.gside { display: grid; gap: 18px; align-content: start; }
.glist { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.glist li { margin: 0; }
.gitem { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 10px 10px 10px 12px; background: none; border: 0; border-bottom: 1px solid var(--line); box-shadow: inset 3px 0 0 transparent; text-align: left; cursor: pointer; }
.gitem:hover { background: var(--surface); }
.gitem.is-on { background: var(--surface); box-shadow: inset 3px 0 0 var(--red); }
.gitem img { display: block; width: 64px; height: 48px; object-fit: cover; border-radius: 3px; }
.gitem__txt b { display: block; font-size: 15px; }
.gitem__txt small { display: block; font-size: 13px; color: var(--muted); }
.gitem__km { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gscale { padding: 14px 14px 10px; background: var(--surface); border-radius: var(--r); }
.gscale__label { margin: 0 0 18px; font-size: 12px; color: var(--muted); font-variation-settings: "wdth" 85; letter-spacing: .02em; }
.gscale__track { position: relative; height: 2px; margin: 0 4px 0 34px; background: #c9c9c9; }
.gscale__origin { position: absolute; left: -34px; top: -9px; font-family: var(--mono); font-size: 11px; font-weight: 700; }
.gscale__dot { position: absolute; top: -5px; left: calc(var(--pos, 0%) - 6px); width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--canvas); }
.gscale__dot.is-on { background: var(--red); border-color: var(--red); transform: scale(1.25); }
.gscale__ticks { display: flex; justify-content: space-between; margin: 10px 4px 0 34px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
    .console { grid-template-columns: 320px minmax(0, 1fr); }
    .lrow { grid-template-columns: 80px minmax(0, 1fr) 120px 90px; }
    .lrow img { width: 80px; }
    .lrow__gear { display: none; }
    .lrow__off { grid-column: 3 / -1; }
}

@media (max-width: 760px) {
    .console { grid-template-columns: minmax(0, 1fr); }
    .console__panel { padding: 20px 16px; }
    .console__panel h1 { font-size: 24px; }
    .console__trip { display: none; }
    .console__live { padding: 18px 16px; }
    .lrow { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px; }
    .lrow img { width: 72px; }
    .lrow__go { grid-column: 2 / -1; }
    .lrow__off { grid-column: 2 / -1; text-align: left; }
    .datesheet { left: 0; width: 100%; }
    .cal { grid-template-columns: 1fr; }
    .cal-month + .cal-month { display: none; }
    .ds-times { grid-template-columns: 1fr 1fr; }
    .ds-apply { grid-column: 1 / -1; }
    .facts { grid-template-columns: 1fr 1fr; }
    .fact { padding: 16px; border-bottom: 1px solid var(--line); }
    .fact:nth-child(2n) { border-right: 0; }
    .fact b { font-size: 20px; }
    .hsec { padding: 36px 16px; }
    .hsec__head h2 { font-size: 23px; }
    .howto { grid-template-columns: 1fr; }
    .howto li { border-right: 0; border-bottom: 1px solid var(--line); }
    .reviews { grid-template-columns: 1fr; }
    .rlist { grid-auto-columns: 82%; }
    .bizband { grid-template-columns: 1fr; padding: 30px 16px; }
    .bizband h2 { font-size: 24px; }
    .guide { grid-template-columns: 1fr; }
    .gfeat__name { font-size: 21px; }
}

/* =====================================================================
   Search results (BookingPage)
   ===================================================================== */
.tripbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 14px 24px; background: var(--panel-2); color: var(--on-panel); border-top: 1px solid var(--panel-line); }
.tripbar__seg { display: grid; gap: 1px; }
.tripbar__seg small { font-size: 11px; color: var(--on-panel-muted); font-variation-settings: "wdth" 85; letter-spacing: .03em; }
.tripbar__seg b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tripbar__seg b em { margin-left: 6px; font-style: normal; font-size: 12px; color: #FFB27A; font-family: var(--mono); }
.tripbar__arrow { position: relative; width: 18px; height: 1.5px; background: var(--on-panel-muted); }
.tripbar__arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-right: 1.5px solid var(--on-panel-muted); border-top: 1.5px solid var(--on-panel-muted); transform: rotate(45deg); }
.tripbar__days { padding: 3px 9px; border: 1px solid var(--panel-line); border-radius: var(--r); font-size: 13px; color: var(--on-panel-muted); }
.tripbar__edit { margin-left: auto; height: 38px; padding: 0 16px; border: 1px solid var(--on-panel); border-radius: var(--r); background: none; color: var(--on-panel) !important; font-weight: 600; cursor: pointer; }
.tripbar__edit:hover, .tripbar__edit[aria-expanded="true"] { background: var(--on-panel); color: var(--ink) !important; }

.tripedit { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 16px 24px 20px; background: var(--panel); color: var(--on-panel); border-top: 1px solid var(--panel-line); }
.tripedit__places { display: grid; gap: 8px; }
.tripedit__go { height: 54px; padding: 0 24px; border: 0; border-radius: var(--r); background: var(--red); color: #fff !important; font-size: 15px; font-weight: 700; cursor: pointer; }
.tripedit__go:hover { background: var(--red-press); }

.results { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; max-width: 1280px; margin: 0 auto; padding: 26px 24px 40px; }
.filters { position: sticky; top: 80px; align-self: start; }
.filters__toggle { display: none; }
.filters__body { display: grid; gap: 22px; }
.fgroup { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.fgroup legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; font-size: 12px; font-weight: 600; color: var(--muted); font-variation-settings: "wdth" 85; letter-spacing: .04em; }
.fopt { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; cursor: pointer; }
.fopt input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.fopt span { flex: 1; }
.fopt small { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fopt.is-off { color: #a0a0a0; cursor: default; }
.fclear { justify-self: start; padding: 0; background: none; border: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fhelp { display: grid; gap: 6px; padding: 14px; background: var(--surface); border-radius: var(--r); font-size: 13px; color: var(--muted); }
.fhelp b { font-size: 14px; color: var(--ink); }
.cpage .fhelp a { color: var(--ink); font-weight: 600; }

.list { display: grid; gap: 14px; align-content: start; min-width: 0; }
.list__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }
.list__head h1 { margin: 0; font-size: 22px; font-weight: 700; }
.list__head h1 span { font-size: 15px; font-weight: 400; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.sort select { height: 36px; padding: 0 10px; border: 1px solid #c4c4c4; border-radius: var(--r); background: var(--canvas); color: var(--ink); font-weight: 600; }
.applied { display: flex; flex-wrap: wrap; gap: 6px; }
.applied button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: var(--r); background: var(--ink); color: #fff !important; font-size: 13px; cursor: pointer; }
.applied button::after { content: "×"; opacity: .7; }

.rrows { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); transition: opacity .15s; }
.rrows.is-loading { opacity: .55; }
.rrow { display: grid; grid-template-columns: 170px minmax(0, 1fr) 220px; gap: 6px 24px; align-items: center; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rrow img { width: 100%; max-width: 170px; height: auto; }
.rrow__main { display: grid; gap: 7px; min-width: 0; }
.rrow h2 { margin: 0; font-size: 19px; font-weight: 700; }
.rrow h2 span { font-size: 14px; font-weight: 400; color: var(--muted); }
.rspecs { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: #444; }
.rspecs li { margin: 0; }
.rspecs__gear { font-weight: 700; color: var(--ink); }
.rrow__desc { display: -webkit-box; margin: 0; overflow: hidden; font-size: 13px; color: var(--muted); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rbadge { justify-self: start; margin: 0; padding: 2px 6px; border: 1px solid var(--ink); border-radius: var(--r); font-size: 11px; font-weight: 700; font-variation-settings: "wdth" 85; letter-spacing: .03em; }
.rbadge--biz { background: var(--ink); color: #fff; }
.rbadge--late { border-color: #B54708; color: #B54708; }

.cover { width: 100%; max-width: 480px; margin-top: 4px; border-collapse: collapse; font-size: 13px; }
.cover th, .cover td { padding: 6px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.cover th { width: 74px; padding-left: 9px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cover td { color: var(--muted); }
.cover td b { color: var(--ink); font-weight: 600; }
.cover small { display: block; font-size: 12px; color: var(--muted); }
.cover .cover__p { padding-left: 12px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cover--full th { box-shadow: inset 3px 0 0 var(--red); }
.cover--full td { color: var(--ink); }
.cover--full .cover__p { font-weight: 700; }

.rprice { display: grid; gap: 4px; justify-items: end; text-align: right; }
.rprice p { margin: 0; }
.rprice__total { font-size: 28px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.rprice__note { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cpage .rprice__go { display: grid; place-items: center; width: 100%; height: 42px; margin-top: 4px; border-radius: var(--r); background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.cpage .rprice__go:hover { background: #333; color: #fff; }

.list__more { margin: 2px 0 0; padding: 12px 14px; background: var(--surface); border-radius: var(--r); font-size: 14px; color: var(--muted); }
.list__more button { margin-left: 4px; padding: 0; border: 0; background: none; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bizline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; padding: 12px 14px; border: 1px solid var(--ink); border-radius: var(--r); font-size: 14px; }
.bizline__mark { width: 14px; height: 14px; border-top: 3px solid var(--red); border-bottom: 3px solid var(--ink); }
.bizline > span:nth-child(2) { flex: 1; min-width: 0; color: var(--muted); }
.bizline b { color: var(--ink); font-weight: 600; }
.cpage .bizline a { font-weight: 700; color: var(--ink); }
.noresult { display: grid; gap: 10px; justify-items: center; padding: 34px 24px; border: 1px dashed #c4c4c4; border-radius: var(--r); text-align: center; }
.noresult h2 { margin: 0; font-size: 19px; }
.noresult p { margin: 0; max-width: 46ch; color: var(--muted); }
.noresult button { height: 42px; padding: 0 18px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--canvas); font-weight: 700; cursor: pointer; }

.rsec { display: grid; gap: 20px; max-width: 1280px; margin: 0 auto; padding: 44px 24px; border-top: 1px solid var(--line); }
.rsec h2 { margin: 0; font-size: 24px; font-weight: 700; }
.rsec__lead { margin: -12px 0 0; color: var(--muted); }
.rpoints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); }
.rpoints > div { display: grid; gap: 6px; align-content: start; padding: 18px 20px; border-right: 1px solid var(--line); }
.rpoints > div:last-child { border-right: 0; }
.rpoints h3 { margin: 0; font-size: 16px; }
.rpoints p { margin: 0; font-size: 14px; color: var(--muted); }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 15px 2px; font-size: 16px; font-weight: 600; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 70ch; margin: 0 2px 16px; color: #444; }

@media (max-width: 1100px) {
    .tripedit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .tripedit__go { grid-column: 1 / -1; }
    .rrow { grid-template-columns: 130px minmax(0, 1fr) 190px; }
}

@media (max-width: 760px) {
    .tripbar { gap: 6px 12px; padding: 12px 16px; }
    .tripbar__seg--place { display: none; }
    .tripbar__seg b { font-size: 14px; }
    .tripbar__edit { height: 34px; padding: 0 12px; }
    .tripedit { grid-template-columns: minmax(0, 1fr); padding: 12px 16px 16px; }
    .results { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; }
    .filters { position: static; }
    .filters__toggle { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--canvas); font-weight: 600; cursor: pointer; }
    .filters__toggle span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; }
    .filters__body { display: none; margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); }
    .filters.is-open .filters__body { display: grid; }
    .list__head h1 { font-size: 19px; }
    .rrow { grid-template-columns: 104px minmax(0, 1fr); gap: 4px 14px; align-items: start; }
    .rrow img { grid-row: 1 / span 4; align-self: center; }
    .rrow__main { display: contents; }
    .rrow__main > * { grid-column: 2; }
    .rrow__main > .cover { grid-column: 1 / -1; max-width: none; margin-top: 8px; }
    .rrow__main > .rrow__desc { grid-column: 1 / -1; }
    .rprice { grid-column: 1 / -1; grid-template-columns: 1fr auto; justify-items: start; align-items: center; gap: 2px 12px; text-align: left; }
    .rprice p { grid-column: 1; }
    .cpage .rprice__go { grid-column: 2; grid-row: 1 / span 6; width: auto; height: 46px; margin: 0; padding: 0 26px; }
    .rsec { padding: 32px 16px; }
    .rpoints { grid-template-columns: minmax(0, 1fr); }
    .rpoints > div { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* =====================================================================
   Booking form (BookingItemForm on checkout, and inside each cart car)
   ===================================================================== */
.bf { background: var(--canvas); }
.bf-crumb { display: flex; flex-wrap: wrap; gap: 6px; max-width: 1280px; margin: 0 auto; padding: 16px 24px 0; font-size: 13px; color: var(--muted); }
.cpage .bf-crumb a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.bf__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; max-width: 1280px; margin: 0 auto; padding: 12px 24px 48px; }
.bf__main { display: grid; min-width: 0; }

.bf-car { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 4px 20px; align-items: center; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.bf-car img { grid-row: 1 / span 2; width: 100%; height: auto; }
.bf-car h1 { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 700; }
.bf-car h1 span { font-size: 15px; font-weight: 400; color: var(--muted); }
.cpage .bf-car__change { grid-column: 3; grid-row: 1; font-size: 13px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.bf-sect { display: grid; gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.bf-sect { scroll-margin-top: 84px; }
.bf-sect:last-child { border-bottom: 0; }
.bf-sect__head { display: grid; gap: 2px; }
.bf-sect h2 { margin: 0; font-size: 19px; font-weight: 700; }
.bf-sect__head p { margin: 0; font-size: 14px; color: var(--muted); }

.bf-tiers { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 12px; align-items: stretch; }
.bf-tier { position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 16px 16px 16px 46px; border: 1px solid #c4c4c4; border-radius: var(--r); background: var(--canvas); cursor: pointer; }
.bf-tier input { position: absolute; left: 16px; top: 19px; width: 20px; height: 20px; margin: 0; border: 2px solid currentColor; border-radius: 50%; appearance: none; -webkit-appearance: none; cursor: pointer; }
.bf-tier input:checked { background: var(--ink); box-shadow: inset 0 0 0 4px var(--canvas); }
.bf-tier__ex { font-size: 26px; line-height: 1.05; font-weight: 700; font-variant-numeric: tabular-nums; }
.bf-tier__ex small { font-size: 14px; font-weight: 400; color: var(--muted); }
.bf-tier b { font-size: 16px; line-height: 1.3; }
.bf-tier__cov { font-size: 13px; color: var(--muted); }
.bf-tier__p { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bf-tier__p small { font-size: 13px; font-weight: 400; color: var(--muted); }
/* A discounted price: the original crossed out, the new one beside it. */
.cpage s.bf-was { font-weight: 400; opacity: .6; text-decoration-thickness: 1.5px; }
.cpage .bf-now { font-weight: 700; color: #15803D; }
.bf-tier--full .bf-now, .bf-tier--custom.is-priority .bf-now { color: #6EE7A0; }
.bf-tier.is-on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--canvas), 0 0 0 4px var(--ink); }
.bf-tier__no { display: grid; margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.bf-tier__no li { margin: 0; padding: 4px 0; border-top: 1px solid var(--line); }
.bf-tier--full { background: var(--panel); border-color: var(--panel); border-top: 3px solid var(--red); color: var(--on-panel); }
.bf-tier--full.is-on { border-color: var(--panel); border-top-color: var(--red); }
/* An input keeps the browser's black text colour, so currentColor would draw the circle black on the dark box. */
.bf-tier--full input { border-color: var(--on-panel); }
.bf-tier--full input:checked { background: #fff; box-shadow: inset 0 0 0 4px var(--panel); }
.bf-tier--full .bf-tier__ex small, .bf-tier--full .bf-tier__cov, .bf-tier--full .bf-tier__p small { color: var(--on-panel-muted); }
.bf-tier__tag { position: absolute; top: 12px; right: 12px; padding: 1px 7px; border: 1px solid var(--on-panel-muted); border-radius: var(--r); font-size: 11px; font-weight: 600; font-variation-settings: "wdth" 85; letter-spacing: .03em; }
.bf-tier__incl { display: grid; gap: 2px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; }
.bf-tier__incl li { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 4px 0; border-top: 1px solid var(--panel-line); }
.bf-tier__incl li span:last-child { color: var(--on-panel-muted); font-variant-numeric: tabular-nums; }
.bf-tier__prio { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; padding: 8px 10px; background: var(--panel-2); border-radius: var(--r); font-size: 13px; }
.bf-tier__prio strong { padding: 1px 7px; background: #fff; color: var(--ink); border-radius: 3px; font-size: 12px; }
.bf-proterr { margin: 0; padding: 10px 12px; border-left: 3px solid var(--error); background: var(--red-tint); color: var(--error); font-size: 14px; font-weight: 600; }

.bf-prot__to { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.bf-prot__to span { font-size: 20px; font-weight: 400; line-height: 1; color: var(--muted); }
.bf-prot__to:hover { border-color: var(--ink); }
.bf-prot__back { justify-self: start; padding: 4px 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Packages <-> Custom Coverage. Both panes stay in the page; the hidden one folds
   to zero height (grid row 0fr) while the other opens, so the two package boxes
   visibly close into the one custom box and back. */
.bf-prot { --fold: .48s cubic-bezier(.2, .7, .2, 1); display: grid; }
.bf-prot__pane { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows var(--fold), opacity .3s ease .14s; }
.bf-prot__inner { display: grid; gap: 12px; min-height: 0; overflow: hidden; margin: -5px; padding: 5px; transition: transform var(--fold); }
.bf-prot.is-custom .bf-prot__pane--packages,
.bf-prot:not(.is-custom) .bf-prot__pane--custom { grid-template-rows: 0fr; opacity: 0; pointer-events: none; transition: grid-template-rows var(--fold), opacity .2s ease; }
.bf-prot.is-custom .bf-prot__pane--packages .bf-prot__inner { transform: translateY(-10px) scale(.98); }
.bf-prot:not(.is-custom) .bf-prot__pane--custom .bf-prot__inner { transform: translateY(14px); }
.bf-tiers .bf-tier { transition: transform var(--fold); }
@media (min-width: 1101px) {
    /* Side by side, the two packages slide together as they close. */
    .bf-prot.is-custom .bf-tiers .bf-tier:first-child { transform: translateX(14%); }
    .bf-prot.is-custom .bf-tiers .bf-tier--full { transform: translateX(-12%); }
}

/* The custom box reads like a package; with all three covers it turns into the dark Full Cover look. */
.bf-tier--custom { padding-left: 16px; border-color: var(--ink); border-top: 3px solid var(--ink); cursor: default; transition: background-color .35s ease, color .35s ease, border-color .35s ease; }
.bf-tier--custom .bf-tier__incl li { border-top-color: var(--line); }
.bf-tier--custom .bf-tier__incl li span:last-child { color: var(--muted); }
.bf-tier--custom .bf-tier__prio { animation: bf-prio-in .4s ease both; }
.bf-tier--custom.is-priority { background: var(--panel); border-color: var(--panel); border-top-color: var(--red); color: var(--on-panel); }
.bf-tier--custom.is-priority .bf-tier__ex small, .bf-tier--custom.is-priority .bf-tier__cov, .bf-tier--custom.is-priority .bf-tier__p small,
.bf-tier--custom.is-priority .bf-tier__incl li span:last-child { color: var(--on-panel-muted); }
.bf-tier--custom.is-priority .bf-tier__incl li { border-top-color: var(--panel-line); }
@keyframes bf-prio-in { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) {
    .bf-prot__pane, .bf-prot__inner, .bf-tiers .bf-tier, .bf-tier--custom, .bf-tier--custom .bf-tier__prio { transition-duration: .01ms !important; animation: none !important; }
}
.bf-items { display: grid; padding: 0 14px 12px; }
.bf-items--flat { padding: 0; }
.bf-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; margin: 0; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 400; cursor: pointer; }
.bf-item small { display: block; font-size: 12px; color: var(--muted); }
.bf-item__p { font-size: 14px; font-variant-numeric: tabular-nums; }
.bf-sw { position: relative; width: 42px; height: 24px; margin: 0; border-radius: 12px; background: #c4c4c4; appearance: none; -webkit-appearance: none; cursor: pointer; }
.bf-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.bf-sw:checked { background: var(--ink); }
.bf-sw:checked::after { transform: translateX(18px); }
.bf-prionote { margin: 0; padding: 10px 12px; background: var(--surface); border-radius: var(--r); font-size: 13px; }
.bf-prionote button { margin-left: 6px; padding: 0; border: 0; background: none; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.bf-incl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: 16px; background: var(--panel); color: var(--on-panel); border-top: 3px solid var(--red); border-radius: var(--r); }
.bf-incl__ex { grid-row: span 2; font-size: 26px; line-height: 1.05; font-weight: 700; }
.bf-incl__ex small { display: block; font-size: 13px; font-weight: 400; color: var(--on-panel-muted); }
.bf-incl p { margin: 0; font-size: 13px; color: var(--on-panel-muted); }
.bf-incl__p { grid-column: 2; margin-top: 4px; font-size: 13px; color: var(--on-panel-muted); font-variant-numeric: tabular-nums; }
.bf-incl .bf-now { color: #6EE7A0; }
.bf-keys { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--ink); border-radius: var(--r); }
.bf-keys b { font-size: 15px; }
.bf-keys p { margin: 0; font-size: 14px; color: #444; }

.bf-seats { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }
.bf-seats__l { font-size: 15px; }
.bf-seats__l small { display: block; font-size: 12px; color: var(--muted); }
.bf-seg { display: inline-flex; overflow: hidden; border: 1px solid #bdbdbd; border-radius: var(--r); }
.bf-seg input { position: absolute; opacity: 0; pointer-events: none; }
.bf-seg label { display: grid; place-items: center; min-width: 48px; height: 40px; margin: 0; padding: 0 12px; border-left: 1px solid #bdbdbd; font-size: 15px; font-weight: 400; cursor: pointer; font-variant-numeric: tabular-nums; }
.bf-seg input:first-child + label { border-left: 0; }
.bf-seg input:checked + label { background: var(--ink); color: #fff; font-weight: 700; }
.bf-seg input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: -4px; }
.bf-seattypes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.bf-note { margin: 0; font-size: 13px; color: var(--muted); }

.bf-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.bf-fld { display: grid; gap: 5px; align-content: start; min-width: 0; }
.bf-fld--wide { grid-column: 1 / -1; }
.bf-fld label { margin: 0; font-size: 13px; font-weight: 600; }
.bf-fld input, .bf-fld select { width: 100%; height: 46px; padding: 0 12px; border: 1px solid #bdbdbd; border-radius: var(--r); background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 16px; }
.bf-fld input[readonly] { background: var(--surface); color: #444; }
.bf-fld small { font-size: 12px; color: var(--muted); }
.bf-fld.is-err input, .bf-fld.is-err select { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.bf-err { font-size: 13px; font-weight: 600; color: var(--error); }

.bf-fix { display: grid; gap: 4px; margin: 18px 0 0; padding: 12px 14px; border-left: 3px solid var(--error); background: var(--red-tint); font-size: 14px; }
.bf-fix b { color: var(--error); }
.bf-fix ul { margin: 0; padding-left: 18px; }
.bf-unavail { display: grid; gap: 4px; margin: 18px 0 0; padding: 14px; border-left: 3px solid var(--error); background: var(--red-tint); }
.bf-unavail b { color: var(--error); }
.bf-unavail p { margin: 0; font-size: 14px; }
.cpage .bf-unavail a { color: var(--ink); font-weight: 600; text-decoration: underline; }

.bf-sum { position: sticky; top: 80px; display: grid; gap: 14px; padding: 20px; background: var(--panel); color: var(--on-panel); border-radius: var(--r); }
.bf-sum h2 { margin: 0; font-size: 13px; font-weight: 600; color: var(--on-panel-muted); font-variation-settings: "wdth" 85; letter-spacing: .03em; }
.bf-sum__car { margin: -8px 0 0; font-size: 16px; font-weight: 600; }
.bf-sum__car small { display: block; font-size: 13px; font-weight: 400; color: var(--on-panel-muted); }
.bf-lines { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.bf-lines li { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 7px 0; border-bottom: 1px solid var(--panel-line); }
.bf-lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.bf-lines__disc { color: #86DDB0; }
.bf-lines__prio > span:first-child { padding: 0 6px; background: #fff; color: var(--ink); border-radius: 3px; font-size: 12px; font-weight: 700; }
.bf-lines__prio > span:last-child { color: var(--on-panel-muted); }
.bf-bizrate { justify-self: start; padding: 2px 8px; background: #fff; color: var(--ink); border-radius: var(--r); font-size: 12px; font-weight: 700; }
.bf-coupon { display: flex; gap: 6px; margin: 0; }
.bf-coupon input { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid var(--panel-line); border-radius: var(--r); background: var(--panel-2); color: var(--on-panel); font-family: var(--font); font-size: 15px; }
.bf-coupon button { height: 40px; padding: 0 14px; border: 1px solid var(--on-panel); border-radius: var(--r); background: none; color: var(--on-panel) !important; font-weight: 600; cursor: pointer; }
.bf-coupon__msg { margin: -8px 0 0; font-size: 13px; color: #86DDB0; }
.bf-coupon__msg.is-bad { color: #FF9AA0; }
.bf-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bf-total span { font-size: 15px; font-weight: 600; }
.bf-total b { font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.bf-today { margin: -8px 0 0; font-size: 13px; color: var(--on-panel-muted); text-align: right; }
.bf-cta { width: 100%; height: 52px; border: 0; border-radius: var(--r); background: var(--red); color: #fff !important; font-size: 16px; font-weight: 700; cursor: pointer; }
.bf-cta:hover { background: var(--red-press); }
.bf-cta:disabled { background: #3a3a3a; color: #9a9a9a !important; cursor: not-allowed; }
.bf-cartacts { display: grid; gap: 8px; }
.bf-remove { padding: 0; border: 0; background: none; color: var(--on-panel-muted) !important; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bf-next { margin: -6px 0 0; font-size: 12px; color: var(--on-panel-muted); }
.bf-trust { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--panel-line); font-size: 12px; color: var(--on-panel-muted); }
.bf-trust__marks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bf-trust__marks img { width: auto; height: 20px; }
.bf-paybar { display: none; }

@media (max-width: 1100px) {
    .bf__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
    .bf-tiers { grid-template-columns: minmax(0, 1fr); }
    .bf-tier--full { order: -1; }
}

@media (max-width: 760px) {
    .bf-crumb { padding: 12px 16px 0; }
    .bf__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 8px 16px 28px; }
    .bf-car { grid-template-columns: 96px minmax(0, 1fr); gap: 2px 14px; }
    .bf-car img { grid-row: 1 / span 3; }
    .bf-car h1 { font-size: 20px; }
    .cpage .bf-car__change { grid-column: 2; grid-row: 3; }
    .bf-fields { grid-template-columns: minmax(0, 1fr); }
    .bf-sum { position: static; }
    .bf-paybar { position: sticky; bottom: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--panel); color: var(--on-panel); border-top: 1px solid var(--panel-line); }
    .bf-paybar b { font-size: 21px; font-variant-numeric: tabular-nums; }
    .bf-paybar small { display: block; font-size: 12px; color: var(--on-panel-muted); }
    .bf-paybar .bf-cta { width: auto; height: 46px; padding: 0 22px; }

    /* The paybar sits at the bottom of the screen: back to top (right) and the
       cookie badge (left) would cover its price and its button, so on these
       pages they float just above it. console.js sets --paybar-lift to the
       bar's measured height + 12px; this fallback is a one-line bar. */
    body:has(.bf-paybar) .scroll-top.open { bottom: var(--paybar-lift, calc(78px + env(safe-area-inset-bottom, 0px))); }
    body:has(.bf-paybar) #cookiescript_badge { bottom: var(--paybar-lift, calc(78px + env(safe-area-inset-bottom, 0px))) !important; }
}

/* The floating cart button would sit on the price summary and the phone paybar;
   on the booking form the header's cart button does the same job. */
body:has(.cpage.bf) .cart-fab { display: none; }

/* ===================================================================
   Cart and payment (redesign phase 5). The cars are tabs in a dark bar;
   the chosen tab is white and joins its white panel. The tab strip is NOT
   a scroll container (no overflow on it, ever), and tabs and panels share
   one .cbox wrapper with no gap, so they can never come apart.
   =================================================================== */
[x-cloak] { display: none !important; }
.cart-page { position: relative; }
.ccart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; max-width: 1280px; margin: 0 auto; padding: 24px 24px 56px; }
.ccart__main { display: grid; gap: 34px; min-width: 0; }
.ccart__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 12px; }
.ccart__head h1 { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 700; }
.ccart__head span { font-size: 14px; color: var(--muted); }
.cblk { display: grid; gap: 12px; }
.cblk > h2 { margin: 0; font-size: 19px; font-weight: 700; }
.cblk__lead { margin: -6px 0 0; font-size: 14px; color: var(--muted); }
.cfill { justify-self: start; padding: 0; border: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ccontact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* .cpage button / a { color: inherit } (above) outranks a single class, so the
   cart's own buttons and links name their colour with two classes. */
.ctabs > .ctab { color: var(--on-panel); }
.ctabs > .ctab.is-on { color: var(--ink); }
.cpage .rmlink { color: var(--muted); }
.cpage .cfill, .cpage .cbtn, .cpage .cbanner button { color: var(--ink); }
.cpage .cbtn--ink { color: #fff; }


.cbanner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 16px; border-left: 3px solid var(--error); background: var(--red-tint); }
.cbanner p { grid-column: 1; margin: 0; font-size: 15px; }
.cbanner p:first-child { font-weight: 600; color: var(--error); }
.cbanner--warn { border-left-color: #B25E00; background: #FFF4E5; }
.cbanner--warn p:first-child { color: var(--ink); }
.cbanner__ref { font-family: var(--mono); font-size: 13px !important; }
.cbanner button { grid-column: 2; grid-row: 1 / span 2; align-self: start; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }

.cbox { display: grid; gap: 0; }
.ctabs { display: grid; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)) auto; background: var(--panel); border-radius: var(--r) var(--r) 0 0; }
.ctab { position: relative; display: grid; gap: 2px; align-content: start; min-width: 0; margin: 0; padding: 12px 16px 13px; border: 0; border-left: 1px solid var(--panel-line); border-radius: 0; background: transparent; color: var(--on-panel); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.ctab:first-child { border-left: 0; border-top-left-radius: var(--r); }
.ctab:hover { background: var(--panel-2); }
.ctab:focus-visible { outline: 2px solid var(--on-panel); outline-offset: -3px; }
.ctab__n { font-size: 11px; font-weight: 600; color: var(--on-panel-muted); font-variation-settings: "wdth" 85; letter-spacing: .03em; }
.ctab b { overflow: hidden; font-size: 15px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.ctab__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 10px; }
.ctab__p { font-size: 14px; font-variant-numeric: tabular-nums; }
.ctab.is-on, .ctab.is-on:hover { background: var(--canvas); color: var(--ink); border-left-color: var(--canvas); }
.ctab.is-on + .ctab { border-left-color: transparent; }
.ctab.is-on::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); }
.ctab.is-on:first-child::before { border-top-left-radius: var(--r); }
.ctab.is-on .ctab__n { color: var(--muted); }
.ctab--add { display: flex; align-items: center; align-self: center; gap: 8px; margin: 0 10px; padding: 8px 14px; border: 1px dashed #5a5a5a; border-radius: var(--r); white-space: nowrap; }
.ctab--add:first-child { border-left: 1px dashed #5a5a5a; }
.ctab--add b { font-size: 14px; }
.ctab--add small { font-size: 12px; color: var(--on-panel-muted); }
.cst { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.cst::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cst--ok { color: #86DDB0; }
.cst--warn { color: #FFB27A; }
.cst--bad { color: #FF9AA0; }
.cst--edit { color: var(--on-panel); }
.ctab.is-on .cst--ok { color: var(--positive); }
.ctab.is-on .cst--warn { color: #B54708; }
.ctab.is-on .cst--bad { color: var(--error); }
.ctab.is-on .cst--edit { color: var(--ink); }

.cpanel { display: grid; gap: 16px; padding: 18px 18px 20px; border: 1px solid var(--panel); border-top: 0; border-radius: 0 0 var(--r) var(--r); background: var(--canvas); min-width: 0; }
.cpanel > .cart-item-form { display: grid; gap: 16px; min-width: 0; }
.cpanel__top { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.cpanel__top img { width: 100%; height: auto; }
.cpanel__top h3 { margin: 0; font-size: 20px; font-weight: 700; }
.cpanel__top h3 span { font-size: 14px; font-weight: 400; color: var(--muted); }
.cpanel__price { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cnotice { margin: 0; padding: 8px 10px; border-left: 3px solid #B54708; background: #FFF4E5; font-size: 14px; }
.cnotice--bad { border-left-color: var(--error); background: var(--red-tint); color: var(--error); font-weight: 600; }
.cpanel__body { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; align-items: start; }
.ledger { display: grid; margin: 0; border-top: 1px solid var(--line); }
.ledger > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ledger dt { font-weight: 400; color: var(--muted); }
.ledger dd { min-width: 0; margin: 0; }
.ledger .dim { font-size: 13px; color: var(--muted); }
.ctag { display: inline-block; padding: 1px 7px; border: 1px solid #bdbdbd; border-radius: var(--r); font-size: 12px; }
.ctag--full { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.cprice { display: grid; gap: 8px; padding: 12px 14px; background: var(--surface); border-radius: var(--r); }
.clines { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.clines li { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 4px 0; }
.clines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.clines .bf-lines__disc { color: var(--positive); }
.clines .bf-lines__prio > span:first-child { padding: 0 6px; background: var(--ink); color: #fff; border-radius: 3px; font-size: 11px; font-weight: 700; }
.cprice__t { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; border-top: 1px solid #d6d6d6; font-weight: 600; }
.cprice__t b { font-size: 18px; font-variant-numeric: tabular-nums; }
.cpanel__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cbtn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--canvas); color: var(--ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.cbtn--ink { background: var(--ink); color: #fff !important; }
.rmlink { padding: 0; border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Editing a car inside its tab: the booking form, one column, its price block light. */
.bf--incart { border-top: 2px solid var(--ink); }
.bf--incart .bf__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0; }
.bf--incart .bf-car { display: none; }
.bf--incart .bf-sum { position: static; background: var(--surface); color: var(--ink); }
.bf--incart .bf-sum h2, .bf--incart .bf-sum__car small, .bf--incart .bf-today, .bf--incart .bf-next { color: var(--muted); }
.bf--incart .bf-lines li { border-bottom-color: var(--line); }
.bf--incart .bf-lines__disc { color: var(--positive); }
.bf--incart .bf-lines__prio > span:first-child { background: var(--ink); color: #fff; }
.bf--incart .bf-lines__prio > span:last-child { color: var(--muted); }
.bf--incart .bf-coupon input { border-color: #bdbdbd; background: var(--canvas); color: var(--ink); }
.bf--incart .bf-coupon button { border-color: var(--ink); color: var(--ink) !important; }
.bf--incart .bf-coupon__msg { color: var(--positive); }
.bf--incart .bf-coupon__msg.is-bad { color: var(--error); }
.bf--incart .bf-bizrate { background: var(--ink); color: #fff; }
.bf--incart .bf-trust { display: none; }
.bf--incart .bf-cartacts { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.bf--incart .bf-cartacts .bf-next { grid-column: 1 / -1; margin: 0; }
.bf--incart .tripbar { border-radius: var(--r); }

/* The order panel: the booking form's dark summary, with what is due now. */
.cpay { gap: 14px; }
.cpay .bf-lines li span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpay__today { display: grid; gap: 2px; padding: 14px; background: var(--panel-2); border-radius: var(--r); }
.cpay__today span { font-size: 13px; color: var(--on-panel-muted); }
.cpay__today b { font-size: 34px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cpay__balance { margin: -4px 0 0; font-size: 13px; color: var(--on-panel-muted); }
.cterms { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 14px; font-weight: 400; cursor: pointer; }
.cterms input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #fff; }
.cterms a { color: var(--on-panel); text-decoration: underline; }
.cpay__err { display: grid; gap: 4px; padding: 10px 12px; border-left: 3px solid var(--red); background: #3a1214; font-size: 13px; color: #FFD5D7; }
.cpay__err p { margin: 0; }
.cfix { margin: 0; padding: 10px 12px 10px 28px; border-left: 3px solid #5a5a5a; background: var(--panel-2); font-size: 13px; color: var(--on-panel-muted); }
.cfix li + li { margin-top: 3px; }
.cpoints { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--panel-line); border-radius: var(--r); }
.cpoints label { margin: 0; font-size: 13px; font-weight: 600; }
.cpoints input { width: 140px; height: 40px; padding: 0 10px; border: 1px solid var(--panel-line); border-radius: var(--r); background: var(--panel-2); color: var(--on-panel); font-size: 16px; font-variant-numeric: tabular-nums; }
.cpoints b { font-size: 14px; color: #86DDB0; }
.cpoints small { font-size: 12px; color: var(--on-panel-muted); }

/* "Taking you to our bank", while the bank's page loads. */
.cbank { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(22, 22, 22, .82); }
.cbank__box { display: grid; justify-items: center; gap: 10px; max-width: 360px; padding: 26px; background: var(--canvas); color: var(--ink); border-radius: var(--r); text-align: center; }
.cbank__box small { font-size: 14px; color: var(--muted); }
.cbank__spin { width: 30px; height: 30px; border: 3px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: cbank-spin .9s linear infinite; }
@keyframes cbank-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cbank__spin { animation: none; } }

.ccart-empty { display: grid; justify-items: start; gap: 12px; max-width: 1280px; margin: 0 auto; padding: 48px 24px 64px; }
.ccart-empty h1 { margin: 0; font-size: 26px; }
.ccart-empty p { margin: 0; color: var(--muted); }

@media (max-width: 1100px) {
    .ccart { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
    .cpanel__body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .ccart { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 16px 16px 0; }
    .ccontact { grid-template-columns: minmax(0, 1fr); }
    .ctab { padding: 10px 10px 11px; }
    .ctab b { font-size: 14px; white-space: normal; }
    .ctab--add { margin: 0 6px; padding: 8px 10px; }
    .ctab--add small { display: none; }
    .cpanel { padding: 14px; }
    .cpanel__top { grid-template-columns: 80px minmax(0, 1fr); gap: 4px 12px; }
    .cpanel__top img { grid-row: 1 / span 2; }
    .cpanel__price { grid-column: 2; font-size: 20px; }
    .ledger > div { grid-template-columns: 92px minmax(0, 1fr); }
    .cpaybar { margin: 0 -16px; }
}

/* ===================================================================
   After booking (redesign phase 6): confirmation and My Booking.
   Reuses the cart's .ledger, .clines, .ctag and .cbtn.
   =================================================================== */
.done__wrap { display: grid; gap: 28px; max-width: 1080px; margin: 0 auto; padding: 28px 24px 56px; }
.done__head { display: grid; gap: 10px; padding: 30px 28px 26px; background: var(--panel); color: var(--on-panel); border-top: 3px solid var(--red); border-radius: var(--r); }
.done__mark { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--on-panel); border-radius: var(--r); }
.done__mark svg { width: 22px; height: 22px; }
.done__head h1 { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 700; text-wrap: balance; }
.done__head p { max-width: 62ch; margin: 0; color: var(--on-panel-muted); }
.done__head p b { color: var(--on-panel); font-weight: 600; }
.done__paid { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--panel-line); }
.done__paid div { display: grid; }
.done__paid small { font-size: 12px; color: var(--on-panel-muted); }
.done__paid b { font-size: 22px; font-variant-numeric: tabular-nums; }
.done__paid .done__mono { padding-top: 6px; font-size: 15px; }
.done__mono, .mb-mono { font-family: var(--mono); font-weight: 700; letter-spacing: .02em; }
.done__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.done__grid h2 { margin: 0 0 4px; font-size: 19px; font-weight: 700; }
.done__lead { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.done__codes { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.done__codes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.done__codes .done__mono { font-size: 18px; }
.done__codes small { display: block; font-size: 13px; color: var(--muted); }
.cpage .done__copy { height: 34px; padding: 0 12px; border: 1px solid #bdbdbd; border-radius: var(--r); background: var(--canvas); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.done__steps { margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 2px solid var(--ink); }
.done__steps li { position: relative; display: grid; gap: 2px; margin: 0; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--line); counter-increment: step; }
.done__steps li::before { content: counter(step); position: absolute; top: 12px; left: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: var(--r); font-size: 14px; font-weight: 700; }
.done__steps li.is-now::before { background: var(--ink); color: #fff; }
.done__steps small { font-size: 12px; font-weight: 600; color: var(--muted); font-variation-settings: "wdth" 85; letter-spacing: .03em; }
.done__steps b { font-size: 15px; }
.done__steps span { font-size: 14px; color: #444; }
.done__acts { display: flex; flex-wrap: wrap; gap: 12px; }

.mb { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; max-width: 1180px; margin: 0 auto; padding: 28px 24px 56px; }
.mb-find { display: grid; gap: 12px; margin: 0; padding: 20px; background: var(--panel); color: var(--on-panel); border-radius: var(--r); }
.mb-find h1 { margin: 0; font-size: 22px; font-weight: 700; }
.mb-find > p { margin: 0; font-size: 13px; color: var(--on-panel-muted); }
.mb-find__fld { display: grid; gap: 5px; }
.mb-find__fld label { margin: 0; font-size: 13px; font-weight: 600; }
.mb-find__fld input { height: 46px; padding: 0 12px; border: 1px solid var(--panel-line); border-radius: var(--r); background: var(--panel-2); color: var(--on-panel); font-family: var(--font); font-size: 16px; }
.mb-find__fld input.mb-mono { font-family: var(--mono); }
.mb-find__fld.is-err input { border-color: #FF9AA0; }
.mb-find__err { font-size: 13px; font-weight: 600; color: #FF9AA0; }
.mb-find__none { margin: 0; padding: 10px 12px; border-left: 3px solid var(--red); background: #3a1214; font-size: 13px; color: #FFD5D7; }
.cpage .mb-find__go { width: 100%; border-color: #fff; background: #fff; color: var(--ink); }
.mb-empty { display: grid; gap: 8px; align-content: start; padding: 22px; border: 1px dashed #c4c4c4; border-radius: var(--r); font-size: 14px; color: var(--muted); }
.mb-empty b { font-size: 16px; color: var(--ink); }
.mb-res { display: grid; gap: 18px; min-width: 0; }
.mb-res__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.mb-res__top .mb-mono { font-size: 24px; }
.mb-res__top small { width: 100%; font-size: 13px; color: var(--muted); }
.mb-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 3px; font-size: 13px; font-weight: 700; }
.mb-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mb-pill--ok { background: #E3F4EA; color: var(--positive); }
.mb-pill--wait { background: #FFF4E5; color: #B54708; }
.mb-pill--off { background: var(--surface); color: var(--muted); }
.mb-pill--bad { background: var(--red-tint); color: var(--error); }
.mb-prio { display: inline-flex; padding: 1px 8px; background: var(--ink); color: #fff; border-radius: 3px; font-size: 12px; font-weight: 700; }
.mb-msg { margin: 0; padding: 10px 12px; border-left: 3px solid var(--ink); background: var(--surface); font-size: 14px; }
.mb-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: center; padding: 16px 18px; border-radius: var(--r); }
.mb-next b { font-size: 17px; }
.mb-next p { margin: 0; font-size: 14px; }
.mb-next--dark { background: var(--panel); color: var(--on-panel); border-top: 3px solid var(--red); }
.mb-next--dark p { color: var(--on-panel-muted); }
.mb-next--ok { background: #E3F4EA; color: #14532D; }
.mb-next--wait { background: #FFF4E5; color: #7A3306; }
.mb-next--off { background: var(--surface); }
.mb-next .mb-next__go { grid-column: 2; grid-row: 1 / span 2; width: auto; padding: 0 22px; }
.mb-res__cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.mb-res h2 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.mb-lines { font-size: 14px; }
.mb-lines li { border-bottom: 1px solid var(--line); }
.mb-lines .mb-lines__t { font-weight: 700; border-bottom: 2px solid var(--ink); }
.mb-due { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 10px 12px; background: var(--panel); color: var(--on-panel); border-radius: var(--r); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mb-res__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-top: 4px; }
.cpage .mb-link { padding: 0; border: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cpage .mb-link--bad { color: var(--error); font-weight: 400; }
.mb-confirm { display: grid; gap: 10px; padding: 16px 18px; border: 2px solid var(--error); border-radius: var(--r); }
.mb-confirm b { font-size: 17px; }
.mb-confirm p { margin: 0; font-size: 14px; color: #444; }
.mb-confirm__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.cpage .mb-confirm__yes { border-color: var(--error); background: var(--error); color: #fff; }

@media (max-width: 900px) {
    .mb { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .done__wrap, .mb { padding: 16px 16px 40px; gap: 20px; }
    .done__head { padding: 22px 18px; }
    .done__head h1 { font-size: 24px; }
    .done__grid, .mb-res__cols { grid-template-columns: minmax(0, 1fr); }
    .mb-next { grid-template-columns: minmax(0, 1fr); }
    .mb-next .mb-next__go { grid-column: auto; grid-row: auto; width: 100%; }
}

/* ===================================================================
   City and destination pages (redesign phase 7). Words first, the tool
   beside them; the destination page is the one where photos lead.
   =================================================================== */
.ccrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.cpage .ccrumb a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.chead { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; max-width: 1280px; margin: 0 auto; padding: 26px 24px 36px; }
.chead__text { display: grid; gap: 14px; min-width: 0; }
.chead h1, .dhead h1 { margin: 0; font-size: 44px; line-height: 1.05; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.chead__intro { max-width: 60ch; margin: 0; font-size: 17px; color: #333; }
.chead__note { margin: 0; padding: 10px 12px; border-left: 3px solid var(--ink); background: var(--surface); font-size: 14px; }
.chead__console { border-top: 3px solid var(--red); border-radius: var(--r); }
.chead__console h2 { margin: 0 0 2px; font-size: 16px; font-weight: 700; }
.cfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.cfacts > div { display: grid; gap: 2px; align-content: start; min-width: 0; padding: 12px 14px 4px 0; }
.cfacts small { font-size: 12px; color: var(--muted); }
.cfacts b { font-size: 16px; line-height: 1.25; }
.cfacts .cfacts__big { font-size: 26px; font-variant-numeric: tabular-nums; }

.csec { display: grid; gap: 18px; max-width: 1280px; margin: 0 auto; padding: 40px 24px; border-top: 1px solid var(--line); }
.csec > h2 { margin: 0; font-size: 24px; font-weight: 700; text-wrap: balance; }
.csec__lead { max-width: 70ch; margin: -10px 0 0; color: var(--muted); }
.crows { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.crows.is-loading { opacity: .5; }
.crow { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 6px 22px; align-items: center; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.crow img { width: 100%; height: auto; }
.crow h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.crow h3 span { font-size: 14px; font-weight: 400; color: var(--muted); }
.crow__price { display: grid; grid-template-columns: auto auto; gap: 2px 16px; align-items: center; justify-items: end; text-align: right; }
.crow__price b { font-size: 22px; font-variant-numeric: tabular-nums; }
.crow__price b span { margin-left: 4px; font-size: 13px; font-weight: 400; color: var(--muted); }
.crow__price small { grid-column: 1; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.crow__price .cbtn { grid-column: 2; grid-row: 1 / span 2; height: 42px; }
.csec__more { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--muted); }

.cinfo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); }
.cinfo > div { display: grid; gap: 6px; align-content: start; padding: 18px 20px; border-right: 1px solid var(--line); }
.cinfo > div:last-child { border-right: 0; }
.cinfo h3 { margin: 0; font-size: 16px; font-weight: 700; }
.cinfo p { margin: 0; font-size: 14px; color: var(--muted); }

.carticle { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.carticle__text { display: grid; gap: 14px; max-width: 68ch; font-size: 17px; line-height: 1.65; color: #2a2a2a; }
.carticle__text > * { margin: 0; }
.carticle__text :is(h2, h3) { margin-top: 14px; font-size: 21px; line-height: 1.25; }
.carticle__text img { max-width: 100%; height: auto; border-radius: var(--r); }
.cgood { position: sticky; top: 84px; display: grid; gap: 10px; padding: 16px; border: 1px solid var(--ink); border-radius: var(--r); }
.cgood h3 { margin: 0; font-size: 15px; font-weight: 700; }
.cgood dl { display: grid; margin: 0; }
.cgood dl > div { display: grid; gap: 1px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cgood dt { font-size: 12px; font-weight: 400; color: var(--muted); }
.cgood dd { margin: 0; }
.cgood dd span { color: var(--muted); }

.cdcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cpage .cdcard { display: grid; gap: 8px; align-content: start; color: var(--ink); text-decoration: none; }
.cdcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.cdcard__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.cdcard b { font-size: 17px; }
.cdcard p { margin: 0; font-size: 14px; color: #444; }

.cfaq { border-top: 2px solid var(--ink); }
.cfaq details { border-bottom: 1px solid var(--line); }
.cfaq summary { display: flex; justify-content: space-between; gap: 16px; padding: 15px 2px; font-size: 16px; font-weight: 600; list-style: none; cursor: pointer; }
.cfaq summary::-webkit-details-marker { display: none; }
.cfaq summary::after { content: "+"; font-size: 22px; font-weight: 400; line-height: 1; color: var(--muted); }
.cfaq details[open] summary::after { content: "−"; }
.cfaq details p { max-width: 70ch; margin: 0 2px 16px; color: #444; }

.ccities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.ccities > * { display: grid; gap: 2px; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); }
.cpage .ccities a { color: var(--ink); text-decoration: none; }
.ccities a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.ccities b { font-size: 16px; }
.ccities small { font-size: 13px; color: var(--muted); }
.ccities .is-here { color: var(--muted); }

.dhead { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 22px 24px 28px; }
.dhead__text { display: grid; gap: 14px; min-width: 0; }
.dhead__text > p { margin: 0; font-size: 17px; color: #333; }
.dhead__km { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding-top: 12px; border-top: 2px solid var(--ink); }
.dhead__km b { font-size: 28px; font-variant-numeric: tabular-nums; }
.dhead__km span { font-size: 14px; color: var(--muted); }
.dhead__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.dhead__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.dgallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1280px; margin: 0 auto; padding: 0 24px 32px; }
.dgallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.dtrip { position: sticky; top: 84px; display: grid; gap: 12px; padding: 18px; background: var(--panel); color: var(--on-panel); border-top: 3px solid var(--red); border-radius: var(--r); }
.dtrip h3 { margin: 0; font-size: 17px; font-weight: 700; }
.dtrip p { margin: 0; font-size: 14px; color: var(--on-panel-muted); }
.dtrip p b { color: var(--on-panel); }
.cpage .dtrip__go { display: grid; place-items: center; height: auto; min-height: 50px; padding: 10px 16px; text-align: center; text-decoration: none; }
.dtrip__map { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--panel-2); }
.dtrip__map iframe { width: 100%; height: 100%; border: 0; }
.cpage .dtrip__link { color: var(--on-panel); font-size: 14px; font-weight: 600; }
.dlist { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.dlist li { margin: 0; }
.cpage .dlist a { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.dlist img { grid-row: span 2; width: 96px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.dlist b { align-self: end; font-size: 16px; }
.dlist small { align-self: start; font-size: 13px; color: var(--muted); }
.dlist__km { grid-column: 3; grid-row: 1 / span 2; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
    .chead { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
    .carticle { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
}
@media (max-width: 860px) {
    .chead, .dhead, .carticle { grid-template-columns: minmax(0, 1fr); }
    .cgood, .dtrip { position: static; }
}
@media (max-width: 760px) {
    .chead, .dhead { gap: 20px; padding: 16px; }
    .chead h1, .dhead h1 { font-size: 30px; }
    .cfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .csec { padding: 28px 16px; }
    .crow { grid-template-columns: 96px minmax(0, 1fr); }
    .crow__price { grid-column: 1 / -1; grid-template-columns: 1fr auto; justify-items: start; text-align: left; }
    .crow__price .cbtn { justify-self: end; }
    .cinfo, .cdcards { grid-template-columns: minmax(0, 1fr); }
    .cinfo > div { border-right: 0; border-bottom: 1px solid var(--line); }
    .ccities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dgallery { gap: 6px; padding: 0 16px 20px; }
    .dhead__img { order: -1; }
}

/* ===================================================================
   Autocar Business (redesign phase 8): the same system set as a
   workspace. Grey surfaces, a dark account bar with light large
   numbers, a side menu with a red marker, plates and codes in mono.
   =================================================================== */
.biz { --b-bg: #F7F7F7; background: var(--b-bg); }
.cpage .biz-ghost { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1px solid #5a5a5a; border-radius: var(--r); background: transparent; color: var(--on-panel); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.cpage .biz-link { justify-self: start; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cpage .biz-link--muted { color: var(--muted); font-weight: 400; }
.biz-hint { margin: 0; font-size: 13px; color: var(--muted); }
.biz-ok { margin: 0; padding: 10px 14px; border-left: 3px solid var(--positive); background: #E3F4EA; color: #14532D; font-size: 14px; }
.biz-err { margin: 0; padding: 10px 14px; border-left: 3px solid var(--error); background: var(--red-tint); color: var(--error); font-size: 14px; }
.biz-check { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 14px; font-weight: 400; }
.biz-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.cpage .biz-check a { color: var(--ink); text-decoration: underline; }

.biz-acct { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: end; padding: 26px 28px 22px; background: var(--panel); color: var(--on-panel); }
.biz-acct__who small { display: block; font-size: 12px; color: var(--on-panel-muted); font-variation-settings: "wdth" 85; letter-spacing: .04em; }
.biz-acct__who h1 { margin: 2px 0; font-size: 40px; font-weight: 300; line-height: 1.1; letter-spacing: -.01em; }
.biz-acct__who span { font-size: 14px; color: var(--on-panel-muted); }
.biz-acct__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.biz-acct__acts form { margin: 0; }
.cpage .biz-acct__book { display: inline-flex; align-items: center; height: 44px; margin: 0; padding: 0 20px; text-decoration: none; }
.biz-acct__stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--panel-line); }
.biz-acct__stats > div { display: grid; gap: 2px; padding: 14px 16px 0 0; }
.biz-acct__stats > div + div { padding-left: 16px; border-left: 1px solid var(--panel-line); }
.biz-acct__stats small { font-size: 12px; color: var(--on-panel-muted); }
.biz-acct__stats b { font-size: 26px; font-weight: 300; font-variant-numeric: tabular-nums; }
.biz-acct__stats em { font-size: 13px; font-style: normal; color: var(--on-panel-muted); }
.biz-notice { margin: 0; padding: 12px 28px; border-bottom: 1px solid #F3D9B5; background: #FFF4E5; color: #7A3306; font-size: 14px; }

.biz-ws { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 520px; }
.biz-side { padding: 18px 0; border-right: 1px solid var(--line); background: var(--canvas); }
.biz-side nav { display: grid; }
.cpage .biz-side button { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 24px; border: 0; border-left: 3px solid transparent; background: none; color: #333; font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.cpage .biz-side button:hover { background: var(--b-bg); }
.cpage .biz-side button.is-on { border-left-color: var(--red); background: var(--b-bg); color: var(--ink); font-weight: 700; }
.biz-side button small { font-size: 12px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.biz-side hr { margin: 10px 24px; border: 0; border-top: 1px solid var(--line); }
/* Things that need the company's attention: a red dot and warning sign on the
   menu item (alert), a lighter amber one when it is optional (soft). */
.biz-warn-icon { width: 16px; height: 16px; flex: none; }
.cpage .biz-side button.has-att { position: relative; }
.cpage .biz-side button.has-att::before { content: ""; position: absolute; left: 10px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--red); }
.cpage .biz-side button.has-att--soft::before { background: #E0A100; }
.biz-att { display: inline-flex; align-items: center; margin-left: auto; }
.biz-att--alert { color: var(--red); }
.biz-att--soft { color: #E0A100; }
.biz-setup { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 28px; border-bottom: 1px solid #F5C2C2; background: #FDECEC; color: #7F1D1D; }
.biz-setup > .biz-warn-icon { width: 26px; height: 26px; color: var(--red); }
.biz-setup b { display: block; font-size: 15px; }
.biz-setup p { margin: 2px 0 0; font-size: 14px; line-height: 1.45; }
.cpage .biz-setup .cbtn { margin-left: auto; flex: none; }
.biz-drv { display: inline-flex; align-items: flex-start; gap: 5px; font-size: 13px; font-weight: 600; }
.biz-drv .biz-warn-icon { width: 15px; height: 15px; margin-top: 1px; }
.biz-drv--ok { color: #15803D; }
.biz-drv--bad { color: #B42318; }
.cpage .biz-tbl tr.is-click { cursor: pointer; }
.cpage form.biz-card { scroll-margin-top: 130px; } /* clear of the sticky header when it scrolls into view */
.cpage .biz-tbl tr.is-click:hover td, .cpage .biz-tbl tr.is-click:focus-visible td { background: var(--b-bg); }
.cpage .biz-tbl tr.is-click:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.biz-main { display: grid; gap: 18px; align-content: start; min-width: 0; padding: 24px 28px 40px; }
.biz-ph { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.biz-ph h2 { margin: 0; font-size: 22px; font-weight: 600; }
.biz-ph p { width: 100%; margin: 0; font-size: 14px; color: var(--muted); }
.biz-empty { margin: 0; padding: 22px; border: 1px dashed #c4c4c4; border-radius: var(--r); background: var(--canvas); font-size: 14px; color: var(--muted); }
.biz-card { display: grid; gap: 14px; margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas); }
.biz-card h3 { margin: 0; font-size: 16px; font-weight: 700; }
.biz-sub { margin: 4px 0 -8px; font-size: 14px; font-weight: 700; }
.biz-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.biz-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.biz-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin: 0; }
.biz-dl { display: grid; margin: 0; }
.biz-dl > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.biz-dl dt { font-weight: 400; color: var(--muted); }
.biz-dl dd { margin: 0; min-width: 0; }

.biz-rent { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 4px 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas); }
.biz-rent__date { grid-row: span 3; display: grid; justify-items: center; align-content: start; padding: 8px 0; border: 1px solid var(--ink); border-radius: var(--r); text-transform: uppercase; }
.biz-rent__date b { font-size: 26px; font-weight: 300; line-height: 1; }
.biz-rent__date small { font-size: 12px; font-weight: 700; }
.biz-rent__date span { font-size: 11px; color: var(--muted); text-transform: none; }
.biz-rent h3 { margin: 0; font-size: 17px; font-weight: 700; }
.biz-rent h3 .mb-mono { margin-left: 8px; font-size: 14px; color: var(--muted); }
.biz-rent__meta { margin: 0; font-size: 14px; color: #444; }
.biz-rent__meta b { font-weight: 600; color: var(--ink); }
.biz-rent__side { grid-column: 3; grid-row: 1 / span 3; display: grid; gap: 4px; justify-items: end; align-content: start; }
.biz-rent__side b { font-size: 20px; font-variant-numeric: tabular-nums; }
.biz-rent__side small { font-size: 12px; font-weight: 600; color: var(--positive); }
.biz-rent__wait { grid-column: 2 / -1; margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.biz-ready { grid-column: 2 / -1; display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 8px 18px; align-items: center; margin-top: 8px; padding: 12px 14px; border-radius: var(--r); background: var(--panel); color: var(--on-panel); }
.biz-ready strong { font-size: 14px; }
.biz-ready > div { display: grid; gap: 1px; }
.biz-ready small { font-size: 11px; color: var(--on-panel-muted); }
.biz-plate { justify-self: start; padding: 2px 8px; border: 2px solid var(--on-panel); border-radius: 3px; font-family: var(--mono); font-weight: 700; letter-spacing: .06em; }
.biz-docs { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 16px; margin-top: 6px; font-size: 14px; }
.cpage .biz-docs a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; }
.biz-docs a::before { content: "PDF"; padding: 0 4px; border: 1px solid currentColor; border-radius: 2px; font-size: 10px; font-weight: 700; }

.biz-tblwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas); }
.biz-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.biz-tbl th { padding: 9px 12px; border-bottom: 2px solid var(--ink); font-size: 12px; font-weight: 600; text-align: left; color: var(--muted); font-variation-settings: "wdth" 85; letter-spacing: .03em; }
.biz-tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.biz-tbl td small { display: block; font-size: 13px; color: var(--muted); }
.biz-tbl .biz-tbl__num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.biz-tbl__acts { text-align: right; white-space: nowrap; }
.biz-tbl__acts .biz-link + .biz-link { margin-left: 14px; }
.biz-warn { font-weight: 600; color: #B54708; }

.biz-bal { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 28px; align-items: end; padding: 22px 24px; border-top: 3px solid var(--red); border-radius: var(--r); background: var(--panel); color: var(--on-panel); }
.biz-bal b { grid-row: span 2; font-size: 56px; font-weight: 300; line-height: .95; font-variant-numeric: tabular-nums; }
.biz-bal span { font-size: 18px; }
.biz-bal small { font-size: 13px; color: var(--on-panel-muted); }

.biz-reach { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.biz-reach > div { display: grid; gap: 4px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas); }
.biz-reach small { font-size: 12px; color: var(--muted); }
.biz-reach b { font-size: 18px; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cpage .biz-reach b a { color: inherit; text-decoration: none; }
.biz-reach .cbtn { justify-self: start; height: 40px; margin-top: 8px; }
.biz-reach > .biz-reach__wa { border-color: var(--panel); background: var(--panel); color: var(--on-panel); }
.biz-reach__wa small { color: var(--on-panel-muted); }
.cpage .biz-wa { border-color: #1E7F4F; background: #1E7F4F; color: #fff; }
.biz-shops { display: grid; gap: 12px; }
.biz-pchips { display: flex; flex-wrap: wrap; gap: 6px; }
.cpage .biz-pchip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid #bdbdbd; border-radius: var(--r); background: var(--canvas); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.biz-pchip small { font-size: 12px; font-weight: 400; color: var(--muted); }
.cpage .biz-pchip.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.biz-pchip.is-on small { color: #bbb; }
.biz-shoplist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.biz-shoplist .biz-empty { grid-column: 1 / -1; }
.biz-shop { display: grid; gap: 3px; align-content: start; padding: 16px; border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: var(--r); background: var(--canvas); font-size: 14px; }
.biz-shop b { font-size: 16px; }
.biz-shop small { color: var(--muted); }
.biz-shop__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.biz-shop__acts .cbtn { height: 38px; padding: 0 14px; font-size: 14px; }

/* Public: apply, login, forgot, reset */
.biz-hero { display: grid; grid-template-columns: minmax(0, 1fr) 440px; max-width: 1280px; margin: 0 auto; background: var(--panel); color: var(--on-panel); }
.biz-hero__text { display: grid; gap: 18px; align-content: start; padding: 40px 32px 36px; }
.biz-hero__text > small { font-size: 13px; color: var(--on-panel-muted); }
.biz-hero__text h1 { margin: 0; font-size: 52px; font-weight: 300; line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; }
.biz-hero__text > p { max-width: 54ch; margin: 0; font-size: 17px; color: #d6d6d6; }
.biz-bens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--panel-line); }
.biz-bens li { display: grid; gap: 3px; margin: 0; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--panel-line); }
.biz-bens li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--panel-line); }
.biz-bens b { font-size: 15px; }
.biz-bens span { font-size: 14px; color: var(--on-panel-muted); }
.biz-hero__login { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14px; color: var(--on-panel-muted); }
.biz-applyform { display: grid; gap: 14px; align-content: start; margin: 0; padding: 26px 26px 30px; border-top: 3px solid var(--red); background: var(--canvas); color: var(--ink); }
.biz-applyform h2 { margin: 0; font-size: 20px; font-weight: 700; }
.cpage .biz-applyform__go, .cpage .biz-auth__go { width: 100%; margin: 0; }
.biz-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; max-width: 1280px; margin: 0 auto; }
.biz-auth__brand { display: grid; align-content: space-between; gap: 24px; padding: 36px 32px; background: var(--panel); color: var(--on-panel); }
.biz-auth__logo { width: 170px; height: auto; }
.biz-auth__brand small { font-size: 13px; color: var(--on-panel-muted); }
.biz-auth__brand h2 { margin: 6px 0 0; font-size: 34px; font-weight: 300; line-height: 1.1; text-wrap: balance; }
.biz-auth__brand ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: #d6d6d6; }
.biz-auth__brand li { margin: 0; padding-top: 8px; border-top: 1px solid var(--panel-line); }
.biz-auth__form { display: grid; align-content: center; justify-self: center; width: 100%; max-width: 460px; padding: 36px 40px; background: var(--canvas); }
.biz-auth__form form { display: grid; gap: 14px; margin: 0; }
.biz-auth__form h1 { margin: 0; font-size: 26px; font-weight: 600; }
.biz-auth__lead { margin: -6px 0 4px; font-size: 14px; color: var(--muted); }
.biz-auth__foot { margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.cpage .biz-auth__foot a { color: var(--ink); font-weight: 600; }

@media (max-width: 1000px) {
    .biz-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .biz-acct { grid-template-columns: minmax(0, 1fr); padding: 20px 16px; }
    .biz-acct__who h1 { font-size: 30px; }
    .biz-acct__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .biz-acct__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .biz-notice { padding: 12px 16px; }
    .biz-ws { grid-template-columns: minmax(0, 1fr); }
    .biz-side { padding: 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .biz-side nav { display: flex; flex-wrap: wrap; padding: 6px 10px; }
    .cpage .biz-side button { padding: 8px 10px; border-left: 0; border-bottom: 3px solid transparent; font-size: 14px; }
    .cpage .biz-side button.is-on { border-bottom-color: var(--red); background: none; }
    .biz-side button small, .biz-side hr { display: none; }
    .cpage .biz-side button.has-att::before { left: 2px; top: 8px; margin-top: 0; }
    .biz-setup { flex-wrap: wrap; padding: 12px 16px; }
    .cpage .biz-setup .cbtn { margin-left: 0; }
    .biz-main { padding: 16px 16px 32px; }
    .biz-rent { grid-template-columns: 60px minmax(0, 1fr); padding: 14px; }
    .biz-rent__side { grid-column: 1 / -1; grid-row: auto; grid-auto-flow: column; justify-content: start; justify-items: start; align-items: center; gap: 12px; }
    .biz-ready { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
    .biz-ready strong { grid-column: 1 / -1; }
    .biz-docs, .biz-rent__wait { grid-column: 1 / -1; }
    .biz-two, .biz-shoplist, .biz-inline { grid-template-columns: minmax(0, 1fr); }
    .biz-dl > div { grid-template-columns: 120px minmax(0, 1fr); }
    .biz-bal b { font-size: 44px; }
    .biz-hero__text { padding: 26px 16px; }
    .biz-hero__text h1 { font-size: 34px; }
    .biz-bens { grid-template-columns: minmax(0, 1fr); }
    .biz-bens li:nth-child(even) { padding-left: 0; border-left: 0; }
    .biz-applyform { padding: 20px 16px; }
    .biz-auth { grid-template-columns: minmax(0, 1fr); }
    .biz-auth__brand { padding: 24px 16px; }
    .biz-auth__form { padding: 24px 16px; }
}

/* ===================================================================
   Attention surfaces (from the booking form on). What asks for the
   customer's input or decision sits on a faintly tinted surface,
   lifted by a soft shadow, so it stands out from the plain page;
   white fields and choice boxes inside it stand out in turn.
   =================================================================== */
:root {
    --attn: #F6F7F9;
    --attn-line: #DCDFE4;
    --lift: 0 1px 2px rgba(22, 22, 22, .06), 0 10px 26px -14px rgba(22, 22, 22, .28);
    --lift-dark: 0 2px 4px rgba(22, 22, 22, .12), 0 16px 34px -16px rgba(22, 22, 22, .55);
}

/* Booking form: each step a lifted card. In the cart the form already sits inside a framed panel, so it keeps its plain dividers. */
.bf:not(.bf--incart) .bf__main { gap: 16px; }
.bf:not(.bf--incart) .bf-sect { padding: 22px; border: 1px solid var(--attn-line); border-radius: var(--r); background: var(--attn); box-shadow: var(--lift); }
.bf:not(.bf--incart) .bf-sect:last-child { border-bottom: 1px solid var(--attn-line); }
.bf:not(.bf--incart) .bf-car { padding-bottom: 14px; }
.bf-sum, .cpay { box-shadow: var(--lift-dark); }

/* Cart: tabs and panels framed as one box, so the first tab never loses its edge. */
.cbox { border: 1px solid var(--panel); border-radius: var(--r); background: var(--attn); box-shadow: var(--lift); }
.ctabs { border-radius: 3px 3px 0 0; }
.ctabs > .ctab:first-child { border-top-left-radius: 3px; }
.ctabs > .ctab.is-on, .ctabs > .ctab.is-on:hover { background: var(--attn); border-left-color: var(--panel-line); }
.ctabs > .ctab.is-on:first-child { border-left: 0; }
.ctabs > .ctab.is-on + .ctab { border-left-color: var(--panel-line); }
.cpanel { border: 0; border-radius: 0 0 3px 3px; background: var(--attn); }
.cpanel .cprice { background: var(--canvas); border: 1px solid var(--attn-line); }
.cblk--attn { padding: 20px 22px; border: 1px solid var(--attn-line); border-radius: var(--r); background: var(--attn); box-shadow: var(--lift); }

/* After booking and the business area */
.mb-find, .biz-acct__book, .mb-next--dark { box-shadow: var(--lift-dark); }
.mb-next--ok, .mb-next--wait, .mb-next--off { border: 1px solid var(--attn-line); box-shadow: var(--lift); }
.mb-res__cols > section { padding: 18px 20px; border: 1px solid var(--attn-line); border-radius: var(--r); background: var(--attn); box-shadow: var(--lift); }
.biz-card, .biz-rent, .biz-reach > div, .biz-shop, .biz-tblwrap { box-shadow: var(--lift); }
form.biz-card { background: var(--attn); }
.biz-applyform, .biz-auth__form { box-shadow: var(--lift); }
.dtrip, .chead__console { box-shadow: var(--lift-dark); }

@media (max-width: 760px) {
    .bf:not(.bf--incart) .bf-sect { padding: 18px 16px; }
    .cblk--attn { padding: 16px; }
}

/* ===================================================================
   Info pages (redesign phase 9): About, Contact, Terms, Review. No
   banner photos; each opens on its heading and gets to the point.
   =================================================================== */
.cpage .info-go { display: inline-flex; align-items: center; justify-content: center; height: 50px; margin: 0; padding: 0 24px; text-decoration: none; }

.ahead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 26px 24px 40px; }
.ahead__text { display: grid; gap: 14px; }
.ahead h1, .info-head h1, .tc__text h1, .rv__card h1 { margin: 0; font-size: 44px; line-height: 1.05; font-weight: 700; text-wrap: balance; }
.ahead__text > p, .info-head p { max-width: 58ch; margin: 0; font-size: 17px; color: #333; }
.ahead img { width: 100%; height: auto; aspect-ratio: 755 / 610; object-fit: cover; border-radius: var(--r); }
.ahead__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.ahead__facts > div { display: grid; gap: 2px; align-content: start; padding: 12px 12px 0 0; }
.ahead__facts small { font-size: 12px; color: var(--muted); }
.ahead__facts b { font-size: 20px; }
.apair { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); }
.apair > div { display: grid; gap: 6px; align-content: start; padding: 20px; }
.apair > div + div { border-left: 1px solid var(--line); }
.apair h3 { margin: 0; font-size: 17px; font-weight: 700; }
.apair p { margin: 0; color: var(--muted); }
.asteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: astep; border-top: 2px solid var(--ink); }
.asteps li { display: grid; gap: 8px; margin: 0; padding: 16px 16px 0 0; font-size: 16px; font-weight: 600; counter-increment: astep; }
.asteps li::before { content: counter(astep); display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--ink); border-radius: var(--r); font-weight: 700; }
.asteps li:last-child::before { background: var(--ink); color: #fff; }

.info-head { display: grid; gap: 12px; max-width: 1280px; margin: 0 auto; padding: 26px 24px 30px; }
.cgrid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; max-width: 1280px; margin: 0 auto; padding: 0 24px 48px; }
.ways { display: grid; margin: 0; border-top: 2px solid var(--ink); }
.ways > div { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ways dt { font-size: 13px; font-weight: 400; color: var(--muted); }
.ways dd { display: grid; gap: 2px; min-width: 0; margin: 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.cpage .ways dd a { color: var(--ink); text-decoration: none; }
.ways dd small { font-size: 13px; font-weight: 400; color: var(--muted); }
.cpage .ways__act { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cfind { display: grid; gap: 12px; padding: 20px; border-top: 3px solid var(--red); border-radius: var(--r); background: var(--panel); color: var(--on-panel); box-shadow: var(--lift-dark); }
.cfind h2 { margin: 0; font-size: 18px; font-weight: 700; }
.cfind p { margin: 0; font-size: 14px; line-height: 1.6; color: #d6d6d6; }
.cfind__acts { display: flex; flex-wrap: wrap; gap: 10px; }

.tcp { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; max-width: 1280px; margin: 0 auto; padding: 26px 24px 56px; }
.tc__toc { position: sticky; top: 84px; display: grid; gap: 2px; font-size: 14px; }
.tc__toc b { margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.cpage .tc__toc a { display: grid; grid-template-columns: 26px 1fr; padding: 5px 0 5px 10px; border-left: 2px solid var(--line); color: #333; text-decoration: none; }
.tc__toc a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.cpage .tc__toc a.is-on { border-left-color: var(--red); color: var(--ink); font-weight: 700; }
.tc__text { display: grid; gap: 14px; max-width: 72ch; font-size: 16px; line-height: 1.7; color: #2a2a2a; }
.tc__text p, .tc__text ul { margin: 0; }
.tc__text section { display: grid; gap: 12px; }
.tc__lead { font-size: 17px; color: var(--muted); }
.tc__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.tc__text h2 { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 0; font-size: 19px; font-weight: 700; color: var(--ink); scroll-margin-top: 90px; }
.tc__text h2 span { min-width: 26px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.tc__text h3 { margin: 6px 0 0; font-size: 16px; font-weight: 700; color: var(--ink); }
.tc__text ul { display: grid; gap: 6px; padding-left: 22px; }
.cpage .tc__text ul li { display: list-item; margin: 0; list-style: disc; }

.rv { display: grid; justify-items: center; padding: 34px 24px 56px; background: var(--surface); }
.rv__card { display: grid; gap: 22px; width: 100%; max-width: 640px; margin: 0; padding: 28px; border-top: 3px solid var(--red); border-radius: var(--r); background: var(--canvas); box-shadow: var(--lift); }
.rv__card h1 { font-size: 28px; }
.rv__card > p { margin: -12px 0 0; color: var(--muted); }
.rv__q { display: grid; gap: 10px; }
.rv__q > span, .rv__q label { margin: 0; font-size: 15px; font-weight: 600; }
.rv__q small { font-size: 13px; color: var(--muted); }
.rv__stars { justify-self: start; display: grid; grid-template-columns: repeat(5, 56px); gap: 8px; }
.cpage .rv__stars button { height: 56px; border: 1px solid #bdbdbd; border-radius: var(--r); background: var(--canvas); color: #c9c9c9; font-size: 26px; cursor: pointer; }
.cpage .rv__stars button.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.rv__yn { justify-self: start; display: inline-grid; grid-template-columns: 110px 110px; overflow: hidden; border: 1px solid #bdbdbd; border-radius: var(--r); }
.cpage .rv__yn button { height: 44px; border: 0; background: var(--canvas); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.rv__yn button + button { border-left: 1px solid #bdbdbd; }
.cpage .rv__yn button.is-on { background: var(--ink); color: #fff; }
.rv__q textarea { min-height: 96px; padding: 10px 12px; border: 1px solid #bdbdbd; border-radius: var(--r); background: var(--canvas); color: var(--ink); font: inherit; font-size: 16px; resize: vertical; }
.cpage .rv__go { width: 100%; }
.rv__done { justify-items: center; text-align: center; }
.rv__done > p { margin: 0; }
.rv__mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--ink); color: #fff; }
.rv__mark svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
    .tcp { grid-template-columns: minmax(0, 1fr); }
    .tc__toc { display: none; }
}
@media (max-width: 760px) {
    .ahead, .cgrid, .tcp { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-inline: 16px; }
    .ahead img { order: -1; }
    .ahead h1, .info-head h1, .tc__text h1 { font-size: 30px; }
    .apair, .asteps { grid-template-columns: minmax(0, 1fr); }
    .apair > div + div { border-top: 1px solid var(--line); border-left: 0; }
    .asteps li { grid-template-columns: 30px 1fr; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .info-head { padding-inline: 16px; }
    .ways > div { grid-template-columns: minmax(0, 1fr) auto; }
    .ways dt { grid-column: 1 / -1; }
    .rv { padding: 16px; }
    .rv__card { padding: 20px 16px; }
    .rv__stars { grid-template-columns: repeat(5, minmax(0, 1fr)); justify-self: stretch; }
}

@keyframes biz-snake { to { stroke-dashoffset: -100; } }
.biz-acct__menu { display: none !important; }

/* ================= Business area: the menu on phones =================
   Desktop keeps the side menu. On a phone it gives way to a menu button (the
   app icon, bottom left, red dot when something needs attention) that opens a
   panel with a grid of the sections, Back to top and the cookie settings.
   The site's own back-to-top button and the cookie badge are hidden on these
   pages so nothing covers the menu button; both live in the panel instead. */
.biz-ticon { display: none; }
.biz-fab, .biz-sheet { display: none; }
@media (max-width: 760px) {
    .biz-ws { min-height: 0; align-content: start; } /* the desktop minimum height left a white gap */
    .biz-side { display: none; }
    body:has(.cpage.biz) .scroll-top,
    body:has(.cpage.biz) #cookiescript_badge { display: none !important; }

    .biz-ticon { display: block; flex: none; }
    .cpage .biz-acct__menu { display: inline-flex !important; }
    .biz-fab { display: block; position: fixed; left: 15px; bottom: calc(15px + env(safe-area-inset-bottom, 0px)); z-index: 98; width: 58px; height: 58px; padding: 0; border: 3px solid #4A4A4A; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px -6px rgba(0, 0, 0, .55); }
    .biz-fab > svg:first-of-type { display: block; width: 100%; height: 100%; border-radius: 13px; }
    /* The snake: a red stretch of stroke drawn over the grey border, moving round it. */
    .biz-fab__ring { position: absolute; top: -3px; left: -3px; width: 58px; height: 58px; overflow: visible; pointer-events: none; }
    .biz-fab__ring rect { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 24 76; animation: biz-snake 2.6s linear infinite; }
    @media (prefers-reduced-motion: reduce) { .biz-fab__ring rect { animation: none; } }
    .biz-acct__menu svg { width: 18px; height: 18px; margin-right: 8px; }
    .biz-fab__dot { position: absolute; top: -7px; right: -7px; width: 16px; height: 16px; border: 2px solid #fff; border-radius: 50%; background: var(--red); }

    .biz-sheet { display: block; position: fixed; inset: 0; z-index: 200; }
    .biz-sheet__bg { position: absolute; inset: 0; background: rgba(22, 22, 22, .6); }
    .biz-sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: calc(100dvh - 40px); overflow-y: auto; padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: 16px 16px 0 0; background: var(--canvas); }
    .biz-sheet__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
    .biz-sheet__head b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
    .cpage .biz-sheet__close { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 44px; padding: 0 14px 0 12px; border: 0; border-radius: 22px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
    .biz-sheet__close svg { width: 18px; height: 18px; }
    .biz-sheet__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .cpage .biz-sheet__grid button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 88px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); color: var(--ink); font-size: 13px; line-height: 1.2; text-align: center; }
    .cpage .biz-sheet__grid button .biz-ticon { width: 28px; height: 28px; }
    .cpage .biz-sheet__grid button.is-on { border: 2px solid var(--red); font-weight: 700; }
    .cpage .biz-sheet__grid button.is-on .biz-ticon { color: var(--red); }
    .biz-sheet__grid .biz-att { position: absolute; top: 8px; right: 8px; margin: 0; }
    .biz-sheet__extra { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
    .cpage .biz-sheet__extra button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 10px; background: var(--b-bg); color: var(--ink); font-size: 13px; font-weight: 600; }
    .biz-sheet__extra svg { width: 18px; height: 18px; flex: none; }
}
