/* Theme "Klasik Plus" (2026-11-29, Linie): small, reversible refinements on top of Klasik (klasik.css loads first).
   Same markup, prices and booking flow; colours still come from the brand settings (no colour set here).
   Switch back: Panel › Genel ayarlar › Site teması = Klasik. */

/* any theme other than Klasik gets body.tm, and klasik.css pads .rl-bar for those (body.tm:not(.tm-klasik)): keep
   Klasik's own spacing */
body.tm-klasikplus .rl-bar { padding: 0 !important; }
@media (max-width: 767px) { body.tm-klasikplus .rl-tips { margin: 0 -15px !important; padding: 0 15px 2px !important; } }

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

/* ---------- focus: visible ring for keyboard users on links and buttons (not on form fields: their boxes clip it) ---------- */
body.tm-klasikplus a:focus-visible, body.tm-klasikplus button:not(.ln-pk-b):focus-visible,
body.tm-klasikplus .btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--ln-accent) 70%, #fff) !important; outline-offset: 2px; }

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

/* ---------- WhatsApp green: white text on #25d366 / #22b35a / #1fae54 was below the contrast minimum ---------- */
body.tm-klasikplus .socialbottom .ic-whatsapp, body.tm-klasikplus .ln-help-wa, body.tm-klasikplus .ct-wa, body.tm-klasikplus .ar-wa,
body.tm-klasikplus header a.ln-wa, body.tm-klasikplus .cd-mbar-wa, body.tm-klasikplus .hm-hb-wa { background: #15803d !important; }
body.tm-klasikplus .socialbottom .ic-whatsapp:hover, body.tm-klasikplus .ln-help-wa:hover, body.tm-klasikplus .ct-wa:hover,
body.tm-klasikplus .ar-wa:hover, body.tm-klasikplus .cd-mbar-wa:hover, body.tm-klasikplus .hm-hb-wa:hover { background: #166534 !important; }

/* ---------- labels that were cut off with "…" ---------- */
body.tm-klasikplus .hm-hb small { white-space: normal; overflow: visible; text-overflow: clip; }
body.tm-klasikplus .ln-ft-loc li { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; }

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

/* ---------- content pages (terms, blog, city pages): easier to read; tables use the full width ---------- */
body.tm-klasikplus .ar-body p, body.tm-klasikplus .ar-body li { font-size: 16px; line-height: 1.75; }
body.tm-klasikplus .ar-body table { width: 100% !important; }

/* ---------- phones: trip summary on the results / vehicle pages, pick-up and return side by side ---------- */
@media (max-width: 767px) {
    body.tm-klasikplus .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-klasikplus .cd-route .cd-stop { min-width: 0; }
    body.tm-klasikplus .cd-route .cd-stop-end { text-align: right; }
    body.tm-klasikplus .cd-route .cd-date { font-size: 17px; line-height: 1.25; }
    body.tm-klasikplus .cd-route .cd-date span { display: block; margin-left: 0 !important; padding-left: 0 !important; font-size: 14px; }
    body.tm-klasikplus .cd-route .cd-place { font-size: 14px; line-height: 1.3; margin-top: 4px; }
    body.tm-klasikplus .cd-route .cd-place small { display: block; font-size: 12.5px; }
    body.tm-klasikplus .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-klasikplus .cd-route .cd-line { display: none !important; }
    body.tm-klasikplus .cd-route .cd-days { white-space: nowrap; }
}
