/* Theme "Meteor Plus" (2026-11-29): small, reversible refinements on top of theme "Meteor" (meteor.css loads first;
   the body carries both tm-meteor and tm-meteorplus). Same markup, prices and booking flow; only the look changes.
   Switch back: Panel › Genel ayarlar › Site teması = Meteor. */

/* ---------- type: balanced headings, steadier numbers ---------- */
body.tm-meteorplus h1, body.tm-meteorplus h2, body.tm-meteorplus h3, body.tm-meteorplus .cd-title { text-wrap: balance; }
body.tm-meteorplus p { text-wrap: pretty; }
body.tm-meteorplus .hm-price, body.tm-meteorplus .cd-date, body.tm-meteorplus .rl-price, body.tm-meteorplus .rl-total,
body.tm-meteorplus .lp-card, body.tm-meteorplus .cd-sum, body.tm-meteorplus .cd-mbar, body.tm-meteorplus table { font-variant-numeric: tabular-nums; }

/* ---------- focus: one visible, on-brand ring for keyboard users on links and buttons ----------
   Not on form fields or the pickers of the booking form: they have their own focus look, and their boxes clip an outline
   (a red line was left at the edge of the date field, 2026-11-29). */
body.tm-meteorplus a:focus-visible, body.tm-meteorplus button:not(.ln-pk-b):focus-visible,
body.tm-meteorplus .btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--ln-accent) 70%, #fff) !important; outline-offset: 2px; }

/* ---------- touch ---------- */
body.tm-meteorplus a, body.tm-meteorplus button, body.tm-meteorplus .btn, body.tm-meteorplus label { touch-action: manipulation; }

/* ---------- WhatsApp green: white text was below the contrast minimum (#25d366 / #1fae54 ≈ 2:1 / 2.9:1) ---------- */
body.tm-meteorplus .socialbottom .ic-whatsapp, body.tm-meteorplus .ln-help-wa, body.tm-meteorplus .ct-wa, body.tm-meteorplus .ar-wa,
body.tm-meteorplus header a.ln-wa, body.tm-meteorplus .cd-mbar-wa { background: #15803d !important; }
body.tm-meteorplus .socialbottom .ic-whatsapp:hover, body.tm-meteorplus .ln-help-wa:hover, body.tm-meteorplus .ct-wa:hover,
body.tm-meteorplus .ar-wa:hover, body.tm-meteorplus .cd-mbar-wa:hover { background: #166534 !important; }

/* ---------- header: show the phone number from 1200 px (it was only an icon below 1500 px) ---------- */
@media (min-width: 1200px) and (max-width: 1499px) {
    body.tm-meteorplus .ln-hd-act .ln-hd-call > span { display: block; }
    body.tm-meteorplus .ln-hd-act .ln-hd-call { padding: 8px 14px 8px 12px !important; gap: 10px; }
}

/* ---------- search sidebar: the long button label no longer runs into the edge ---------- */
body.tm-meteorplus .ln-rf-foot .btn-rent { white-space: normal; text-wrap: balance; line-height: 1.3; }

/* ---------- vehicle photos: one calm backdrop so photos of any shape line up ---------- */
body.tm-meteorplus .rl-img { background: linear-gradient(180deg, #f4f6f9 0%, #fff 100%); border-radius: 12px; }

/* ---------- content pages (terms, blog, city pages): easier to read ---------- */
body.tm-meteorplus .ar-body { font-size: 16px; line-height: 1.75; color: var(--ln-text); }
body.tm-meteorplus .ar-body p, body.tm-meteorplus .ar-body li { font-size: 16px; line-height: 1.75; }
body.tm-meteorplus .ar-body p { margin: 0 0 1em; }
body.tm-meteorplus .ar-body h2, body.tm-meteorplus .ar-body h3 { margin: 1.6em 0 .5em; line-height: 1.3; }
body.tm-meteorplus .ar-body li { margin-bottom: .35em; }

/* ---------- phones ---------- */
@media (max-width: 767px) {
    /* "how it works": the dashed connector of Klasik ran through the text inside Meteor's cards */
    body.tm-meteorplus .hm-steps li:not(:last-child)::after { display: none !important; }
    body.tm-meteorplus .hm-steps { gap: 12px; }
    /* number beside the title instead of above it: the three steps fit in about one screen */
    body.tm-meteorplus .hm-steps li { flex-direction: row !important; align-items: flex-start; gap: 14px !important; padding: 16px !important; }
    body.tm-meteorplus .hm-steps li > span { width: 38px !important; height: 38px !important; font-size: 16px !important; border-radius: 10px !important; }
    body.tm-meteorplus .hm-steps b { padding-right: 0 !important; margin-top: 6px !important; }

    /* trip summary on the results / vehicle pages: pick-up and return side by side (≈270 → ≈150 px tall) */
    body.tm-meteorplus .cd-route { display: grid !important; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 10px; padding: 16px !important; }
    body.tm-meteorplus .cd-route .cd-stop { min-width: 0; }
    body.tm-meteorplus .cd-route .cd-stop-end { text-align: right; }
    body.tm-meteorplus .cd-route .cd-date { font-size: 17px; line-height: 1.25; }
    body.tm-meteorplus .cd-route .cd-date span { display: block; margin-left: 0 !important; padding-left: 0 !important; font-size: 14px; }
    body.tm-meteorplus .cd-route .cd-place { font-size: 14px; line-height: 1.3; margin-top: 4px; }
    body.tm-meteorplus .cd-route .cd-place small { display: block; font-size: 12.5px; }
    body.tm-meteorplus .cd-route .cd-mid { display: flex !important; flex-direction: column; align-items: center; margin: 22px 0 0 !important; padding: 0 !important; width: auto !important; }
    body.tm-meteorplus .cd-route .cd-line { display: none !important; }
    body.tm-meteorplus .cd-route .cd-days { white-space: nowrap; }
}
