/* =========================================================
   Siulykauto365.lt – pagrindinis stilius
   Spalvos ir dydžiai keičiami :root kintamuosiuose.
   ========================================================= */
/* Inter šriftas – laikomas pačioje svetainėje (be Google Fonts) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/inter-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/inter-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/inter-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/inter-cyrillic-800-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
:root {
    --red: #d72323;
    --red-dark: #b71c1c;
    --red-soft: #fdeeee;
    --ink: #121316;
    --dark: #121316;
    --ink-2: #1f2126;
    --text: #2a2c31;
    --muted: #6d717a;
    --line: #e7e8eb;
    --line-2: #f0f1f3;
    --bg: #f5f6f8;
    --card: #fff;
    --input-line: #dcdee2;
    --input-line-hover: #b9bcc3;
    --glass: rgba(255,255,255,.92);
    --soft: #f2f3f5;
    --green: #17804a;
    --green-soft: #e6f5ec;
    --amber: #9a5b00;
    --amber-soft: #fff3dd;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(16,18,24,.05);
    --shadow: 0 1px 2px rgba(16,18,24,.04), 0 8px 28px rgba(16,18,24,.07);
    --shadow-lg: 0 18px 50px rgba(16,18,24,.16);
    --container: 1280px;
    --header-h: 84px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
small { color: var(--muted); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.hidden { display: none !important; }
:focus-visible { outline: 3px solid rgba(215,35,35,.45); outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--dark); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Mygtukai ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.35em; border-radius: 12px; border: 1.5px solid transparent; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s, box-shadow .15s; line-height: 1.2; background: var(--red); color: #fff; white-space: nowrap; }
.btn:hover { background: var(--red-dark); box-shadow: 0 6px 18px rgba(215,35,35,.25); }
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--card); border-color: var(--ink); box-shadow: none; }
.btn--white { background: var(--card); color: var(--ink); }
.btn--white:hover { background: #f3f3f3; box-shadow: none; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; box-shadow: none; }
.btn--sm { padding: .55em .95em; font-size: .9rem; border-radius: 10px; }
.btn--lg { padding: 1em 1.6em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--danger { background: var(--card); color: var(--red); border-color: #f2c9c9; }
.btn--danger:hover { background: var(--red); color: #fff; border-color: var(--red); box-shadow: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--red); cursor: pointer; text-decoration: underline; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--red); text-decoration: none; }
.link-arrow .ico { transition: transform .15s; }
.link-arrow:hover .ico, a:hover > .link-arrow .ico { transform: translateX(3px); }

/* ---------- Antraštė ---------- */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { flex: none; }
.logo img { height: 68px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav a { display: flex; align-items: center; gap: 8px; padding: 10px 13px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); border-radius: 10px; white-space: nowrap; transition: background .15s, color .15s; }
.main-nav a:hover { background: var(--bg); }
.main-nav a.active { color: var(--red); }
.main-nav .nav-cars { background: var(--dark); color: #fff; padding: 10px 14px; }
.main-nav .nav-cars:hover, .main-nav .nav-cars.active { background: var(--red); color: #fff; }
.nav-count { background: rgba(255,255,255,.18); border-radius: 999px; font-size: .75rem; padding: 1px 8px; font-weight: 700; }
.main-nav .has-sub { display: flex; align-items: center; }
.main-nav .sub-toggle { display: none; }
.main-nav .sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; list-style: none; margin: 0; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.main-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav__account .btn { color: #fff; }
.main-nav .main-nav__account .btn:hover { background: var(--red); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 6px 14px 6px 6px; border-radius: 999px; border: 1.5px solid var(--line); transition: border-color .15s; }
.header-phone:hover { border-color: var(--red); }
.header-phone__icon { width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.header-phone__text { display: flex; flex-direction: column; line-height: 1.15; }
.header-phone__text small { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.header-phone__text strong { font-size: .95rem; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); border-radius: 10px; }
.nav-toggle .ico { width: 28px; height: 28px; }
.nav-toggle .ico-close { display: none; }

@media (max-width: 1240px) {
    .header-phone__text { display: none; }
    .header-phone { padding: 4px; border: 0; }
}
@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .site-header__inner { gap: 12px; }
    .header-actions { margin-left: auto; }
    .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--card); flex-direction: column; align-items: stretch; padding: 10px 16px 20px; gap: 10px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - var(--header-h)); overflow: auto; margin: 0; }
    .nav-open .main-nav { display: flex; }
    .nav-open .nav-toggle .ico-open { display: none; }
    .nav-open .nav-toggle .ico-close { display: block; }
    .main-nav > ul { flex-direction: column; gap: 2px; }
    .main-nav a { padding: 14px 12px; font-size: 1.05rem; }
    .main-nav .nav-cars { justify-content: space-between; margin-bottom: 6px; }
    .main-nav .has-sub { flex-wrap: wrap; }
    .main-nav .has-sub > a { flex: 1; }
    .main-nav .sub-toggle { display: block; background: none; border: 0; padding: 12px; cursor: pointer; }
    .main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; width: 100%; }
    .main-nav .has-sub.open .sub { display: block; }
    .main-nav__account .btn { width: 100%; padding: .9em; }
}
@media (max-width: 640px) {
    :root { --header-h: 66px; }
    .logo img { height: 46px; }
}

/* ---------- Pranešimai ---------- */
.alert { margin: 18px 0 0; padding: 14px 18px; border-radius: 12px; border: 1px solid; font-weight: 500; }
.alert--success { background: var(--green-soft); border-color: #bfe3cd; color: #105c33; }
.alert--error { background: var(--red-soft); border-color: #f2c4c4; color: #8f1616; }
.alert--info { background: #eef4fd; border-color: #c9dbf6; color: #1d4380; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

/* ---------- Pagrindinis: hero + paieška ---------- */
.hero { position: relative; color: #fff; background: #0e0f12; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--hero-img, none); background-size: cover; background-position: center 60%; opacity: .5; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(900px 420px at 88% 0%, rgba(215,35,35,.45), transparent 65%),
    linear-gradient(180deg, rgba(14,15,18,.55) 0%, rgba(14,15,18,.85) 70%, #0e0f12 100%); }
.hero__inner { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero__text { max-width: 780px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ff4d4d, #ff8a65); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #c9ccd3; max-width: 620px; margin-bottom: 30px; }
.hero__pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .9rem; color: #e6e7ea; margin-bottom: 22px; }
.hero__pill strong { color: #fff; }
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }

.search-card { background: var(--card); color: var(--text); border-radius: 20px; padding: 22px 22px 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.search-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.search-card__head h2 { font-size: 1.2rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.search-card__head h2 .ico { color: var(--red); }
.search-card__head .link-arrow { font-size: .92rem; }
.search-card__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 14px; }
.search-card .field label, .search-card .field .label { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.search-card select { height: 48px; min-height: 48px; }
.search-card select:disabled { background-color: #f6f7f8; color: #a3a7ae; cursor: not-allowed; }
.search-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.search-card__quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .88rem; }
.search-card__quick a { text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--bg); font-weight: 600; color: var(--ink); transition: background .15s, color .15s; }
.search-card__quick a:hover { background: var(--red-soft); color: var(--red); }
.search-card__actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.search-card__reset { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; }
.search-card__reset:hover { color: var(--ink); }
.search-card__btn { min-width: 260px; height: 54px; }
@media (max-width: 1080px) { .search-card__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .search-card { padding: 16px; }
    .search-card__grid { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
    .search-card .field--range { grid-column: span 2; }
    .search-card__actions { width: 100%; flex-direction: column-reverse; gap: 10px; }
    .search-card__btn { width: 100%; min-width: 0; }
    .search-card__quick { order: 2; }
}

.makes-strip { background: var(--card); border-bottom: 1px solid var(--line); }
.make-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 12px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); background: var(--card); line-height: 1.3; white-space: nowrap; transition: border-color .15s; }
.make-chip span { font-size: .76rem; font-weight: 700; color: var(--muted); background: var(--bg); padding: 1px 8px; border-radius: 999px; }
.make-chip:hover { border-color: var(--ink); }
.makes-strip__row { display: flex; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.makes-strip__label { flex: none; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.makes-strip__list { flex: 1; min-width: 0; display: flex; flex-wrap: nowrap; gap: 8px; overflow: hidden; }
.makes-strip__all { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .92rem; color: var(--red); text-decoration: none; white-space: nowrap; }
.makes-strip__all:hover .ico { transform: translateX(3px); }
.makes-strip__all .ico { transition: transform .15s; }
@media (max-width: 760px) {
    .makes-strip__label { display: none; }
    .make-chip { padding: 7px 11px; font-size: .92rem; }
}

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0 0; }
.section--tight + .section--white { margin-top: clamp(48px, 6vw, 80px); }
.section--white { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--dark); color: #ddd; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }

.body-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.body-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 18px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.body-tile:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow); }
.body-tile:hover .body-ico { color: var(--red); }
.body-ico { width: 72px; height: 34px; color: #8a8e97; margin-bottom: 10px; transition: color .15s; }
.body-tile strong { font-size: .95rem; line-height: 1.25; }
.body-tile span { font-size: .85rem; color: var(--muted); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }
.service { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--bg); text-decoration: none; color: inherit; border: 1.5px solid transparent; transition: border-color .15s, background .15s; }
.service:hover { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.service__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.service__icon .ico { width: 24px; height: 24px; }
.service p { color: var(--muted); flex: 1; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust .ico { color: var(--red); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section--dark .feature { background: var(--ink-2); border-color: #33363d; }
.feature__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 14px; }
.feature__icon .ico { width: 23px; height: 23px; }
.feature p { margin: 0; color: var(--muted); }
.section--dark .feature p { color: #bdbdbd; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--dark); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }

.cta-band { position: relative; overflow: hidden; background: var(--dark); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 60%; height: 220%; background: radial-gradient(closest-side, rgba(215,35,35,.55), transparent); }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #c9ccd3; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Vidinių puslapių antraštė ---------- */
.page-hero { background: #0e0f12; color: #fff; padding: clamp(36px, 5.5vw, 64px) 0; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -140px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(215,35,35,.5), transparent); }
.page-hero h1 { color: #fff; margin-bottom: .3em; font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.page-hero p { color: #c9ccd3; max-width: 720px; margin: 0; font-size: 1.06rem; }
.breadcrumbs { font-size: .85rem; color: #9da1aa; margin-bottom: 12px; }
.breadcrumbs a { color: #d6d8dc; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.prose { max-width: 760px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.checklist .ico { color: var(--green); margin-top: 4px; }

/* ---------- Kortelės / formos ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-sm); }
.card--sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.card h2, .card h3 { margin-top: 0; }

.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .form-row, .form-row--3 { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.field .req { color: var(--red); }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel], .field input[type=number], .field input[type=date], .field input[type=month], .field input[type=search], .field select, .field textarea {
    width: 100%; font: inherit; color: var(--text); background: var(--card); border: 1.5px solid var(--input-line); border-radius: 11px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; min-height: 46px;
}
select.input, .field select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d717a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; cursor: pointer; }
.field textarea { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18,19,22,.07); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field .error { color: var(--red); font-size: .85rem; margin-top: 4px; }
.field .hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex: none; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.file-drop { display: block; border: 2px dashed var(--input-line); border-radius: var(--radius); padding: 22px; text-align: center; cursor: pointer; background: #fbfbfc; transition: .15s; }
.file-drop:hover, .file-drop.drag { border-color: var(--red); background: var(--red-soft); }
.file-drop input { display: none; }
.file-drop strong { display: block; color: var(--ink); }
.file-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin-top: 10px; }
.file-previews img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }

.auth-wrap { max-width: 440px; margin: clamp(32px, 7vw, 80px) auto; }
.auth-wrap .card { padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); }
.auth-wrap h1 { font-size: 1.7rem; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .9rem; margin-top: 16px; }
.auth-links a { color: var(--red); }

/* ---------- Skelbimų sąrašas ---------- */
.listings-page { padding: 28px 0 64px; }
.listings-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 980px) { .listings-layout { grid-template-columns: 1fr; } }

/* Filtrų skydelis – pritvirtintas šone, visada matomas */
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); z-index: 40; }
.filters__head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line-2); }
.filters__head h2 { font-size: 1.05rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.filters__reset { margin-left: auto; font-size: .85rem; font-weight: 600; color: var(--red); text-decoration: none; }
.filters__reset:hover { text-decoration: underline; }
.filters__body { padding: 14px 18px 18px; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 12px; scrollbar-width: thin; }
.filters .field label, .filters .field .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 5px; }
.filters select, .filters input[type=search], .filters input[type=number] { min-height: 42px; height: 42px; padding-top: 8px; padding-bottom: 8px; font-size: .93rem; }
.filters .form-row { gap: 10px; grid-template-columns: 1fr 1fr; }
.filters .range, .search-card .range { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.filters .range > :first-child, .search-card .range > :first-child { border-radius: 11px 0 0 11px; }
.filters .range > :last-child, .search-card .range > :last-child { border-radius: 0 11px 11px 0; margin-left: -1.5px; }
.filters .range > :focus { position: relative; z-index: 1; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg); border-radius: 11px; padding: 3px; }
.segmented label { margin: 0 !important; text-transform: none !important; letter-spacing: 0 !important; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; text-align: center; padding: 8px 4px; border-radius: 9px; font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.segmented input:checked + span { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.segmented input:focus-visible + span { outline: 3px solid rgba(215,35,35,.45); }
.filters__more { border-top: 1px solid var(--line-2); padding-top: 12px; }
.filters__more summary { cursor: pointer; font-weight: 650; font-size: .92rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.filters__more summary::-webkit-details-marker { display: none; }
.filters__more summary .ico { transition: transform .15s; }
.filters__more[open] summary { margin-bottom: 12px; }
.filters__more[open] summary .ico { transform: rotate(180deg); }
.filters__more .field + .field { margin-top: 12px; }
.checks--compact { grid-template-columns: 1fr; gap: 6px; }
.checks--compact .check { font-size: .88rem; }
.filters__foot { display: none; padding: 12px 18px; border-top: 1px solid var(--line-2); }
.filters__close { display: none; background: none; border: 0; cursor: pointer; padding: 4px; margin-left: 4px; }
.filters__close .ico { width: 24px; height: 24px; }
.filters-toggle { display: none; }
@media (max-width: 980px) {
    .filters { position: fixed; inset: 0; top: 0; max-height: none; height: 100%; border-radius: 0; border: 0; transform: translateX(-100%); transition: transform .22s; z-index: 120; }
    .filters-open .filters { transform: none; }
    .filters-open { overflow: hidden; }
    .filters__close, .filters__foot { display: block; }
    .filters-toggle { display: inline-flex; }
}

.results.is-loading { opacity: .5; pointer-events: none; transition: opacity .15s; }
.results__head { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.results__head h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 2px; }
.results__head p { margin: 0; }
.results__head strong { color: var(--ink); }
.toolbar__right { display: flex; gap: 10px; align-items: center; }
.sort-select { font: inherit; font-size: .92rem; font-weight: 600; padding: 9px 38px 9px 12px; border: 1.5px solid var(--input-line); border-radius: 11px; background-color: #fff; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d717a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; cursor: pointer; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.active-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; border-radius: 999px; background: var(--dark); color: #fff; text-decoration: none; font-size: .85rem; font-weight: 600; }
.active-chip .ico { width: 14px; height: 14px; opacity: .7; }
.active-chip:hover { background: var(--red); }
.active-chips__clear { font-size: .85rem; font-weight: 600; color: var(--muted); margin-left: 4px; }

/* ---------- Automobilio kortelė ---------- */
.grid-cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.listings-layout .grid-cars { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid-cars--featured { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.car { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
.car:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.car__img { position: relative; aspect-ratio: 4 / 3; background: #e9eaed; overflow: hidden; }
.car__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.car:hover .car__img img { transform: scale(1.04); }
.car__badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.car__badge { background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.car__badge--sold { background: var(--dark); }
.car__badge--new { background: var(--card); color: var(--ink); }
.car__badge--star { background: #ffb020; color: #3a2600; }
.car__photos { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); color: #fff; font-size: .78rem; padding: 3px 9px; border-radius: 999px; display: inline-flex; gap: 5px; align-items: center; }
.car__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.car__title { font-size: 1.12rem; font-weight: 750; margin: 0; color: var(--ink); }
.car__specs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.car__specs li { font-size: .8rem; font-weight: 500; color: #4a4e57; background: var(--bg); padding: 3px 9px; border-radius: 7px; }
.car__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.car__price { font-size: 1.35rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.car { position: relative; }
.car__leasing { position: absolute; right: 10px; top: 10px; z-index: 2; font-size: 0; line-height: 0; overflow: hidden; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--green); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.car__leasing .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.car--featured { border-color: #ffd894; }
.car.is-sold .car__img img { filter: grayscale(.85); opacity: .75; }
.car.is-sold .car__price { color: var(--muted); text-decoration: line-through; }
.empty { text-align: center; padding: 60px 20px; background: var(--card); border: 1.5px dashed #d4d6da; border-radius: var(--radius); color: var(--muted); }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 11px; text-decoration: none; font-weight: 600; background: var(--card); border: 1px solid var(--line); }
.pagination a:hover { border-color: var(--ink); }
.pagination .current { background: var(--dark); color: #fff; border-color: var(--dark); }
.pagination .dots { border: 0; background: none; }

/* ---------- Skelbimo puslapis ---------- */
.listing-top { padding: 22px 20px 8px; }
.listing-top .breadcrumbs { color: var(--muted); }
.listing-top .breadcrumbs a { color: var(--muted); }
.listing-top .breadcrumbs a:hover { color: var(--ink); }
.listing-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr); gap: 28px; align-items: start; padding-bottom: 64px; }
@media (max-width: 980px) { .listing-layout { grid-template-columns: 1fr; } }
.gallery__main { position: relative; background: #eceef1; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; isolation: isolate; }
/* Jei nuotrauka kitų proporcijų – tuščią vietą užpildo ta pati nuotrauka, tik išplauta (vietoj juodų juostų) */
.gallery__bg { position: absolute; inset: -40px; z-index: -1; background-size: cover; background-position: center; filter: blur(28px) saturate(1.1) brightness(1.02); opacity: .85; transform: scale(1.1); }
.gallery__main img { position: relative; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--prev .ico { transform: rotate(180deg); }
.gallery__nav--next { right: 12px; }
.gallery__counter { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.65); color: #fff; font-size: .85rem; padding: 4px 10px; border-radius: 999px; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 4px; scrollbar-width: thin; }
.gallery__thumbs button { flex: 0 0 96px; aspect-ratio: 4/3; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: #ddd; opacity: .65; transition: opacity .15s; }
.gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs button.active { border-color: var(--red); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.94); z-index: 200; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; }
.lightbox .lb-prev .ico { transform: rotate(180deg); }
.lightbox .lb-next { right: 16px; top: 50%; }
.lightbox .ico { width: 26px; height: 26px; }

.listing-side h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 4px; }
.listing-price { font-size: 2.1rem; font-weight: 800; color: var(--red); margin: 6px 0 16px; letter-spacing: -.02em; }
.listing-meta { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.quick-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.quick-specs div { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.quick-specs small { display: block; font-size: .76rem; }
.quick-specs strong { color: var(--ink); }
.contact-box { display: grid; gap: 10px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 500; width: 46%; }
.spec-table td { color: var(--ink); font-weight: 600; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.feature-tags li { display: inline-flex; gap: 6px; align-items: center; background: var(--green-soft); color: #105c33; padding: 6px 12px; border-radius: 999px; font-size: .9rem; font-weight: 500; }
.listing-section { margin-top: 20px; }
.listing-desc { white-space: pre-line; }

/* ---------- Partneriai, DUK, kontaktai ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.partners div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .15s; flex: none; margin-top: 3px; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: inherit; transition: border-color .15s; }
a.contact-card:hover { border-color: var(--ink); }
.contact-card .feature__icon { margin: 0; flex: none; }
.contact-card strong { display: block; color: var(--ink); font-size: 1.05rem; }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); display: block; }

/* ---------- Paskyra / administravimas ---------- */
.dash { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 32px 20px 64px; align-items: start; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } }
.dash-nav { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; display: grid; gap: 2px; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 900px) { .dash-nav { position: static; display: flex; overflow-x: auto; } .dash-nav a { white-space: nowrap; } .dash-nav hr { display: none; } }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--ink); }
.dash-nav a:hover { background: var(--bg); }
.dash-nav a.active { background: var(--dark); color: #fff; }
.dash-nav .badge { margin-left: auto; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.dash-head h1 { font-size: 1.7rem; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: inherit; transition: border-color .15s; }
.stat:hover { border-color: var(--ink); }
.stat strong { display: block; font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }

.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table th { background: #f8f9fa; font-weight: 600; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table td:nth-child(4), .table .nowrap { white-space: nowrap; }
.table .thumb { width: 84px; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; background: #eee; }
.table .actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.table .actions form { margin: 0; }
.table tr.unread td { background: #fffaf2; }
.badge { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #eee; color: var(--ink); white-space: nowrap; }
.badge--active { background: var(--green-soft); color: #105c33; }
.badge--pending { background: var(--amber-soft); color: var(--amber); }
.badge--sold { background: var(--dark); color: #fff; }
.badge--hidden { background: #eee; color: #666; }
.badge--red { background: var(--red); color: #fff; }
.filters-inline { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filters-inline .input { width: auto; flex: 1 1 200px; }
.chip { display: inline-flex; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 600; font-size: .88rem; }
.chip.active { background: var(--dark); border-color: var(--dark); color: #fff; }

.photo-manager { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.photo-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .85rem; }
.photo-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-item .opts { padding: 8px 10px; display: grid; gap: 4px; }
.photo-item.is-main { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.inquiry-data { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: .9rem; }
.inquiry-data dt { color: var(--muted); }
.inquiry-data dd { margin: 0; white-space: pre-line; }
.inquiry-photos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.inquiry-photos img { width: 90px; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }

/* ---------- Poraštė ---------- */
.site-footer { background: #0e0f12; color: #a9adb6; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; padding-top: 60px; padding-bottom: 44px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #dfe1e5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__logo { display: inline-block; background: var(--card); border-radius: 14px; padding: 8px 14px; margin-bottom: 16px; }
.site-footer__logo img { height: 56px; width: auto; }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__social a { width: 40px; height: 40px; border-radius: 12px; background: #1d1f24; display: grid; place-items: center; }
.site-footer__social a:hover { background: var(--red); text-decoration: none; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .ico { margin-top: 4px; color: var(--red); }
.site-footer__bottom { border-top: 1px solid #1f2126; padding: 18px 0; font-size: .85rem; }
.site-footer__bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.site-footer__links { display: flex; gap: 20px; align-items: center; }
.site-footer .staff-login { display: inline-flex; align-items: center; gap: 6px; color: #6f737c; }
.site-footer .staff-login:hover { color: #dfe1e5; }

.call-fab { display: none; position: fixed; right: 16px; bottom: 16px; width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff; place-items: center; box-shadow: 0 10px 30px rgba(215,35,35,.4); z-index: 60; }
.call-fab .ico { width: 26px; height: 26px; }
@media (max-width: 760px) { .call-fab { display: grid; } }

.cookie { position: fixed; left: 16px; bottom: 16px; max-width: 380px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; z-index: 90; font-size: .9rem; border: 1px solid var(--line); }
.cookie p { margin-bottom: 12px; }
@media (max-width: 760px) { .cookie { right: 86px; bottom: 16px; max-width: none; } }

@media print {
    .site-header, .site-footer, .call-fab, .filters, .contact-box, .cookie { display: none !important; }
}
.filters .field label.check { text-transform: none; letter-spacing: 0; font-size: .88rem; color: var(--text); margin: 0; }
.filters__head h2 { margin-right: auto !important; }
.filters__reset { margin-left: 0; }

/* Datos pasirinkimas: metai / mėnuo / diena */
.date-select { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 10px; max-width: 520px; }

/* Telefone – po 2 automobilius eilėje, kompaktiškos kortelės */
@media (max-width: 640px) {
    .grid-cars, .listings-layout .grid-cars, .grid-cars--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .car { border-radius: 14px; }
    .car:hover { transform: none; }
    .car__body { padding: 10px 10px 12px; gap: 6px; }
    .car__title { font-size: .92rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .car__specs { gap: 4px; }
    .car__specs li { font-size: .7rem; padding: 2px 6px; }
    .car__specs li:nth-child(n+4) { display: none; }
    .car__foot { padding-top: 8px; }
    .car__price { font-size: 1.05rem; }
    .car__badges { left: 6px; top: 6px; gap: 4px; }
    .car__badge { font-size: .62rem; padding: 3px 7px; }
    .car__badge--star { font-size: 0; padding: 3px 6px; }
    .car__badge--star::before { content: "★"; font-size: .7rem; }
    .car__photos { right: 6px; bottom: 6px; font-size: .68rem; padding: 2px 7px; }
    .car__leasing { right: 6px; top: 6px; width: 24px; height: 24px; }
    .car__leasing .ico { width: 13px; height: 13px; }
}

/* =========================================================
   Išskleidžiami meniu (pakeičia naršyklės standartinius)
   ========================================================= */
.cselect-native { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden; }
.cselect { position: relative; width: 100%; min-width: 0; }
.cselect__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 46px; padding: 0 12px 0 13px; font: inherit; font-size: .95rem; color: var(--text); text-align: left; background: var(--card); border: 1.5px solid var(--input-line); border-radius: 11px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.cselect__btn:hover { border-color: var(--input-line-hover); }
.cselect__btn:focus-visible, .cselect.is-open .cselect__btn { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18,19,22,.07); }
.cselect__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect.is-placeholder .cselect__label { color: #7d818a; }
.cselect__chev { width: 16px; height: 16px; flex: none; color: #8a8e97; transition: transform .2s; }
.cselect.is-open .cselect__chev { transform: rotate(180deg); color: var(--ink); }
.cselect.is-disabled .cselect__btn { background: #f6f7f8; cursor: not-allowed; border-color: #e6e7ea; }
.cselect.is-disabled .cselect__label { color: #a9adb4; }
.search-card .cselect__btn { height: 48px; }
.filters .cselect__btn { height: 42px; font-size: .93rem; }
.cselect--sort-select { width: auto; min-width: 190px; }
.cselect--sort-select .cselect__btn { height: 42px; font-weight: 600; font-size: .92rem; }
.field.has-error .cselect__btn { border-color: var(--red); }

/* Sujungti „nuo – iki“ laukai */
.range > .cselect:nth-of-type(1) .cselect__btn { border-radius: 11px 0 0 11px; }
.range > .cselect:nth-of-type(2) .cselect__btn { border-radius: 0 11px 11px 0; margin-left: -1.5px; width: calc(100% + 1.5px); }
.range > .cselect.is-open, .range > .cselect:focus-within { z-index: 1; }

.cselect__panel { position: fixed; z-index: 300; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 48px rgba(16,18,24,.18), 0 2px 6px rgba(16,18,24,.06); padding: 6px; display: flex; flex-direction: column; max-width: calc(100vw - 16px); animation: cselect-in .14s ease-out; }
.cselect__panel.is-up { animation-name: cselect-in-up; }
@keyframes cselect-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes cselect-in-up { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.cselect__search { flex: none; width: 100%; font: inherit; font-size: .92rem; padding: 9px 12px; margin-bottom: 6px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); }
.cselect__search:focus { outline: none; border-color: var(--ink); background: var(--card); }
.cselect__list { list-style: none; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.cselect__opt { display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 34px; border-radius: 9px; cursor: pointer; font-size: .93rem; color: var(--text); position: relative; white-space: nowrap; }
.cselect__opt.is-active { background: var(--bg); }
.cselect__opt.is-selected { font-weight: 650; color: var(--ink); }
.cselect__opt.is-selected::before { content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 7px; margin-top: -5px; border-left: 2.2px solid var(--red); border-bottom: 2.2px solid var(--red); transform: rotate(-45deg); }
.cselect__opt.is-empty .cselect__name { color: var(--muted); }
.cselect__name { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.cselect__count { flex: none; font-size: .74rem; font-weight: 700; color: var(--muted); background: var(--bg); padding: 1px 8px; border-radius: 999px; }
.cselect__opt.is-active .cselect__count { background: var(--card); }
@media (max-width: 640px) {
    .cselect__opt { padding-top: 11px; padding-bottom: 11px; font-size: 1rem; }
}

/* Kelių reikšmių pasirinkimas */
.cselect__badge { flex: none; font-size: .72rem; font-weight: 700; color: #fff; background: var(--red); border-radius: 999px; min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; }
.cselect__badge[hidden] { display: none; }
.cselect__panel--multi .cselect__opt { padding-left: 12px; }
.cselect__panel--multi .cselect__opt.is-selected::before { display: none; }
.cselect__check { flex: none; width: 18px; height: 18px; border: 1.8px solid #c4c7cd; border-radius: 5px; display: grid; place-items: center; transition: background .12s, border-color .12s; }
.cselect__opt.is-selected .cselect__check { background: var(--red); border-color: var(--red); }
.cselect__opt.is-selected .cselect__check::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.cselect__panel--multi .cselect__opt.is-selected { font-weight: 600; }
.cselect__foot { flex: none; display: flex; justify-content: space-between; gap: 8px; padding: 8px 4px 2px; margin-top: 6px; border-top: 1px solid var(--line-2); }
.cselect__foot button { font: inherit; font-size: .88rem; font-weight: 650; border: 0; border-radius: 9px; padding: 8px 14px; cursor: pointer; }
.cselect__clear { background: none; color: var(--muted); }
.cselect__clear:hover { color: var(--ink); }
.cselect__done { background: var(--dark); color: #fff; }
.cselect__done:hover { background: var(--red); }

/* Skaičiaus laukas su pasiūlymais */
input.combo { width: 100%; font: inherit; font-size: .95rem; color: var(--text); background: var(--card); border: 1.5px solid var(--input-line); border-radius: 11px; padding: 0 13px; height: 46px; min-width: 0; -moz-appearance: textfield; appearance: textfield; transition: border-color .15s, box-shadow .15s; }
input.combo::-webkit-outer-spin-button, input.combo::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input.combo::placeholder { color: #7d818a; }
input.combo:hover { border-color: var(--input-line-hover); }
input.combo:focus, input.combo.is-open { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18,19,22,.07); position: relative; z-index: 1; }
.search-card input.combo { height: 48px; }
.filters input.combo { height: 42px; font-size: .93rem; }
.range > input.combo:first-child { border-radius: 11px 0 0 11px; }
.range > input.combo:last-child { border-radius: 0 11px 11px 0; margin-left: -1.5px; width: calc(100% + 1.5px); }
.cselect__panel--combo { padding-top: 4px; }
.cselect__hint { flex: none; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 6px 12px 4px; }
.cselect__panel--combo .cselect__opt { padding-left: 12px; }
.cselect__panel--combo .cselect__opt.is-selected::before { display: none; }
.cselect__panel--combo.is-empty .cselect__hint::after { content: " – spauskite Enter"; text-transform: none; letter-spacing: 0; }

/* =========================================================
   Iššokantys pranešimai („Ačiū! Užklausa išsiųsta“, „Atsijungėte“ ir pan.)
   ========================================================= */
.toasts { position: fixed; z-index: 400; top: calc(var(--header-h) + 14px); right: 20px; display: grid; gap: 10px; width: min(400px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px 16px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(16,18,24,.18), 0 2px 6px rgba(16,18,24,.06); animation: toast-in .35s cubic-bezier(.2,.9,.3,1.2) both; }
.toast.is-leaving { animation: toast-out .25s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px) scale(.97); } }
.toast__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.toast__icon .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.toast--success .toast__icon { background: var(--green-soft); color: var(--green); }
.toast--error .toast__icon { background: var(--red-soft); color: var(--red); }
.toast--info .toast__icon { background: #eef1f6; color: #3a4a66; }
.toast__msg { flex: 1; padding-top: 6px; font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.4; }
.toast__close { flex: none; background: none; border: 0; padding: 6px; margin: -2px -4px 0 0; cursor: pointer; color: var(--muted); border-radius: 8px; }
.toast__close:hover { background: var(--bg); color: var(--ink); }
.toast__close .ico { width: 16px; height: 16px; }
.toast__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; animation: toast-bar 5s linear forwards; }
.toast--success .toast__bar { background: var(--green); }
.toast--error .toast__bar { background: var(--red); }
.toast--info .toast__bar { background: var(--dark); }
.toast:hover .toast__bar { animation-play-state: paused; }
@keyframes toast-bar { to { transform: scaleX(0); } }
@media (max-width: 640px) {
    .toasts { left: 16px; right: 16px; width: auto; top: calc(var(--header-h) + 10px); }
}
@media (prefers-reduced-motion: reduce) { .toast, .toast.is-leaving { animation: none; } .toast__bar { display: none; } }
.two-col--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .two-col--even { grid-template-columns: 1fr; } }

/* Naujų užklausų pranešimas antraštėje */
.main-nav__account { display: flex; align-items: center; gap: 8px; }
.nav-alert { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 10px; border-radius: 10px; background: var(--red-soft); color: var(--red) !important; text-decoration: none; font-weight: 700; font-size: .88rem; }
.nav-alert:hover { background: var(--red) !important; color: #fff !important; }
.nav-alert .ico { width: 18px; height: 18px; }
.nav-alert__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: .75rem; display: inline-grid; place-items: center; }
.nav-alert:hover .nav-alert__n { background: var(--card); color: var(--red); }
.nav-alert::after { content: ""; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(215,35,35,.6); animation: nav-pulse 1.8s infinite; }
@keyframes nav-pulse { 0% { box-shadow: 0 0 0 0 rgba(215,35,35,.55); } 70% { box-shadow: 0 0 0 9px rgba(215,35,35,0); } 100% { box-shadow: 0 0 0 0 rgba(215,35,35,0); } }
.nav-alert__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-toggle { position: relative; }
.nav-toggle__dot { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--card); }
@media (max-width: 1080px) {
    .main-nav__account { flex-direction: column; align-items: stretch; }
    .nav-alert { height: 46px; justify-content: center; }
    .nav-alert__text { position: static; width: auto; height: auto; clip: auto; }
    .nav-alert::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nav-alert::after { animation: none; } }

/* Tinklelio stulpeliai niekada neplatėja už ekrano (pvz. dėl nuotraukų juostos ar ilgų žodžių) */
.listing-layout > *, .listings-layout > *, .two-col > *, .dash > *, .form-row > *, .search-card__grid > * { min-width: 0; }
.listing-desc, .spec-table td, .inquiry-data dd, .prose, .car__title { overflow-wrap: anywhere; }
html, body { overflow-x: clip; }
@media (max-width: 640px) {
    .listing-top { padding: 14px 16px 6px; }
    .listing-layout { gap: 16px; }
    .gallery__main { border-radius: 14px; }
    .gallery__nav { width: 38px; height: 38px; }
    .gallery__thumbs button { flex-basis: 72px; }
    .listing-side h1 { font-size: 1.5rem; }
    .listing-price { font-size: 1.7rem; }
    .spec-table th { width: 44%; font-size: .9rem; }
    .spec-table td { font-size: .92rem; }
    .card { padding: 18px 16px; }
}

/* Telefone ir planšetėje: nuotraukos → pavadinimas, kaina, skambinti → techniniai duomenys */
@media (max-width: 980px) {
    .listing-layout { grid-template-columns: minmax(0, 1fr); }
    .listing-layout > div:first-child { display: contents; }
    .listing-layout .gallery, .listing-layout .listing-section, .listing-layout .listing-side { min-width: 0; }
    .listing-layout .gallery { order: 1; }
    .listing-layout .listing-side { order: 2; }
    .listing-layout .listing-section { order: 3; margin-top: 0; }
    .listing-side .card--sticky { position: static; }
}

/* =========================================================
   Administravimas telefone
   ========================================================= */
.dash-nav__sep { border: 0; border-top: 1px solid var(--line); margin: 6px 0; width: 100%; }
.dash-nav__logout-form { margin: 0; }
.dash-nav__logout { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-weight: 600; color: var(--muted); }
.dash-nav__logout:hover { background: var(--bg); color: var(--ink); }

@media (max-width: 900px) {
    .dash { padding-top: 16px; gap: 18px; }
    /* Meniu – visi punktai matomi iš karto, mygtukų tinklelis su ikonomis */
    .dash-nav { position: static; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 8px; overflow: visible; }
    .dash-nav__sep { display: none; }
    .dash-nav a, .dash-nav__logout { position: relative; flex-direction: column; justify-content: center; gap: 4px; padding: 10px 4px; min-height: 64px; text-align: center; font-size: .72rem; line-height: 1.2; white-space: normal; border-radius: 12px; background: var(--bg); }
    .dash-nav a .ico, .dash-nav__logout .ico { width: 20px; height: 20px; }
    .dash-nav a.active { background: var(--dark); }
    .dash-nav .badge { position: absolute; top: 4px; right: 4px; margin: 0; font-size: .65rem; padding: 1px 6px; }
    .dash-nav__logout-form { display: contents; }
    .dash-head h1 { font-size: 1.4rem; }
    .dash-head .btn { padding: .65em 1em; font-size: .9rem; }
}

/* Lentelės → kortelės */
@media (max-width: 760px) {
    .table-wrap { background: none; border: 0; overflow: visible; }
    .table--inq, .table--listings, .table--users, .table--mylistings { display: block; }
    .table--inq thead, .table--listings thead, .table--users thead, .table--mylistings thead { display: none; }
    .table--inq tbody, .table--listings tbody, .table--users tbody, .table--mylistings tbody { display: grid; gap: 10px; }
    .table--inq tr, .table--listings tr, .table--users tr, .table--mylistings tr { display: grid; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; gap: 6px 12px; }
    .table--inq td, .table--listings td, .table--users td, .table--mylistings td { display: block; padding: 0; border: 0; background: none !important; white-space: normal !important; }
    .table .actions { justify-content: flex-start; padding-top: 8px; border-top: 1px solid var(--line-2); }
    .table tr.unread { border-color: #f3c98b; box-shadow: inset 4px 0 0 #f0a33a; }

    /* Užklausos: data + tipas viršuje, turinys, veiksmai */
    .table--inq tr { grid-template-columns: 1fr auto; }
    .table--inq td:nth-child(1) { grid-column: 2; grid-row: 1; text-align: right; }
    .table--inq td:nth-child(1) br { display: none; }
    .table--inq td:nth-child(1) .badge { margin-left: 6px; }
    .table--inq td:nth-child(2) { grid-column: 1; grid-row: 1; font-size: 1rem; }
    .table--inq td:nth-child(3), .table--inq td:nth-child(4) { grid-column: 1 / -1; }
    .inquiry-data { grid-template-columns: 1fr; gap: 0; }
    .inquiry-data dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; margin-top: 8px; }
    .inquiry-data dd { font-size: .95rem; color: var(--ink); overflow-wrap: anywhere; }

    /* Visi skelbimai: varnelė, nuotrauka, pavadinimas, kaina ir būsena */
    .table--listings tr { grid-template-columns: 20px 96px minmax(0, 1fr); align-items: start; }
    .table--listings td:nth-child(1) { grid-column: 1; grid-row: 1; padding-top: 4px; }
    .table--listings td:nth-child(2) { grid-column: 2; grid-row: 1 / span 3; }
    .table--listings td:nth-child(2) .thumb { width: 96px; }
    .table--listings td:nth-child(3) { grid-column: 3; grid-row: 1; }
    .table--listings td:nth-child(4) { grid-column: 3; grid-row: 2; font-weight: 700; color: var(--ink); }
    .table--listings td:nth-child(5) { grid-column: 3; grid-row: 3; }
    .table--listings td:nth-child(6) { display: none; }
    .table--listings td:nth-child(7) { grid-column: 1 / -1; }

    /* Mano įkelti */
    .table--mylistings tr { grid-template-columns: 96px minmax(0, 1fr); align-items: start; }
    .table--mylistings td:nth-child(1) { grid-row: 1 / span 3; }
    .table--mylistings td:nth-child(1) .thumb { width: 96px; }
    .table--mylistings td:nth-child(3) { font-weight: 700; color: var(--ink); }
    .table--mylistings td:nth-child(5) { display: none; }
    .table--mylistings td:nth-child(6) { grid-column: 1 / -1; }

    /* Vartotojai */
    .table--users tr { grid-template-columns: minmax(0, 1fr) auto; }
    .table--users td:nth-child(1) { grid-column: 1; }
    .table--users td:nth-child(4) { grid-column: 2; grid-row: 1; text-align: right; }
    .table--users td:nth-child(2)::before { content: "Tel.: "; color: var(--muted); }
    .table--users td:nth-child(3)::before { content: "Skelbimų: "; color: var(--muted); }
    .table--users td:nth-child(5) { display: none; }
    .table--users td:nth-child(2), .table--users td:nth-child(3), .table--users td:nth-child(6) { grid-column: 1 / -1; font-size: .9rem; }

    .filters-inline .input { flex-basis: 100%; }
    .filters-inline .btn { flex: 1; }
}
body:has(.dash) .call-fab { display: none; }

/* =========================================================
   Užklausų dėžutė
   ========================================================= */
.inbox-wrap { min-width: 0; }
.inbox-wrap .dash-head h1 { display: flex; align-items: center; gap: 10px; }
.inbox-wrap .dash-head h1 .badge { font-size: .8rem; }
.inbox { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: calc(100vh - var(--header-h) - 150px); }
.inbox__list { display: flex; flex-direction: column; border-right: 1px solid var(--line); min-width: 0; background: #fcfcfd; }
.inbox__search { position: relative; padding: 14px 14px 10px; }
.inbox__search input { width: 100%; font: inherit; font-size: .93rem; height: 44px; padding: 0 38px 0 40px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); }
.inbox__search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18,19,22,.07); }
.inbox__search-ico { position: absolute; left: 28px; top: 50%; transform: translateY(-30%); color: var(--muted); display: flex; }
.inbox__search-clear { position: absolute; right: 24px; top: 50%; transform: translateY(-30%); color: var(--muted); display: flex; padding: 4px; }
.inbox__tabs { display: flex; gap: 2px; padding: 0 10px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.inbox__tabs::-webkit-scrollbar { display: none; }
.inbox__tab { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 10px 11px; font-size: .86rem; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.inbox__tab span { font-size: .72rem; background: var(--bg); color: var(--muted); padding: 1px 7px; border-radius: 999px; }
.inbox__tab:hover { color: var(--ink); }
.inbox__tab.active { color: var(--ink); border-bottom-color: var(--red); }
.inbox__tab.active span { background: var(--dark); color: #fff; }
.inbox__types { display: flex; gap: 6px; padding: 10px 14px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.inbox__types::-webkit-scrollbar { display: none; }
.inbox__types .chip { flex: none; padding: 5px 11px; font-size: .8rem; }
.inbox__items { flex: 1; overflow-y: auto; }
.inbox .pagination { margin: 12px 0; }
.inbox__empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.inbox__empty .ico { width: 34px; height: 34px; }

.inbox-item { position: relative; display: grid; gap: 3px; padding: 13px 16px 13px 22px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: inherit; transition: background .12s; }
.inbox-item:hover { background: #f6f7f9; }
.inbox-item.is-active { background: var(--card); box-shadow: inset 3px 0 0 var(--red); }
.inbox-item.is-unread::before { content: ""; position: absolute; left: 9px; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.inbox-item__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.inbox-item__who { font-size: .95rem; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-item.is-unread .inbox-item__who { font-weight: 800; }
.inbox-item time { flex: none; font-size: .76rem; color: var(--muted); }
.inbox-item.is-unread time { color: var(--red); font-weight: 600; }
.inbox-item__type { font-size: .8rem; font-weight: 600; color: var(--text); }
.inbox-item__snippet { font-size: .84rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.inbox-item__meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.inbox-item__ico { display: inline-flex; align-items: center; gap: 3px; font-size: .76rem; color: var(--muted); }
.inbox-item__ico .ico { width: 13px; height: 13px; }

/* Būsenų ženkliukai */
.st { display: inline-flex; align-items: center; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.st--new { background: var(--red-soft); color: var(--red); }
.st--progress { background: var(--amber-soft); color: var(--amber); }
.st--done { background: var(--green-soft); color: var(--green); }
.st--archived { background: #eceef1; color: #666b74; }
.st--lg { font-size: .78rem; padding: 5px 12px; }

/* Detalės */
.inbox__detail { min-width: 0; padding: 24px 28px 28px; overflow-y: auto; display: grid; gap: 16px; align-content: start; }
.inbox__placeholder { align-self: center; justify-self: center; text-align: center; max-width: 340px; padding: 60px 0; color: var(--muted); }
.inbox__placeholder .ico { width: 46px; height: 46px; color: #c5c8ce; }
.inbox__placeholder h2 { font-size: 1.15rem; margin: 12px 0 6px; }
.inbox__back { display: none; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--ink); }
.inbox__back .ico { transform: rotate(180deg); }
.inq-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.inq-head h2 { font-size: 1.5rem; margin: 2px 0 2px; overflow-wrap: anywhere; }
.inq-head p { margin: 0; font-size: .88rem; }
.inq-head__type { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.inq-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.inq-actions .btn { padding: .65em 1.1em; }
.inq-status .label { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }
.inq-status__btns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; background: var(--bg); padding: 4px; border-radius: 12px; }
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: .86rem; font-weight: 600; color: var(--muted); background: none; border: 0; border-radius: 9px; padding: 9px 6px; cursor: pointer; white-space: nowrap; }
.st-btn .ico { width: 15px; height: 15px; }
.st-btn:hover { color: var(--ink); background: rgba(255,255,255,.7); }
.st-btn.active { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.st-btn--new.active .ico { color: var(--red); }
.st-btn--progress.active .ico { color: var(--amber); }
.st-btn--done.active .ico { color: var(--green); }
.inq-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--card); }
.inq-card h3 { font-size: .95rem; margin: 0 0 12px; }
.inq-card h3 small { font-weight: 500; }
.inq-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; }
.inq-data > div { min-width: 0; }
.inq-data .is-wide { grid-column: 1 / -1; }
.inq-data dt { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 2px; }
.inq-data dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.inq-data a { color: var(--red); }
.inq-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.inq-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; transition: opacity .15s; }
.inq-photos a:hover img { opacity: .85; }
.inq-card textarea { width: 100%; font: inherit; font-size: .93rem; resize: vertical; min-height: 84px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 11px; }
.inq-card textarea:focus { outline: none; border-color: var(--ink); }
.inq-note-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.inq-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 4px; }
.inq-foot form { margin: 0; }
.inq-foot .link-btn { color: var(--muted); font-size: .9rem; }

@media (max-width: 1180px) and (min-width: 901px) {
    .inq-status__btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .inbox { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .inbox__list { border-right: 0; }
    .inbox.has-selection .inbox__list { display: none; }
    .inbox:not(.has-selection) .inbox__detail { display: none; }
    .inbox__back { display: inline-flex; }
    .inbox__detail { padding: 16px; }
    .inq-head h2 { font-size: 1.3rem; }
    .inq-actions .btn { flex: 1; }
    .inq-status__btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .inq-data { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   Antraštė v2 – modernesnė
   ========================================================= */
.site-header { background: rgba(255,255,255,.85); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s, background .25s; }
.site-header.is-scrolled { background: rgba(255,255,255,.94); border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(16,18,24,.06); }
.site-header__inner { height: var(--header-h); transition: height .25s; }
.site-header.is-scrolled .site-header__inner { height: 68px; }
.site-header.is-scrolled .logo img { height: 54px; }
.logo img { transition: height .25s; }

@media (min-width: 1081px) {
    .main-nav { gap: 10px; }
    .main-nav > ul { background: #f2f3f5; padding: 4px; border-radius: 999px; gap: 2px; }
    .main-nav > ul > li > a, .main-nav .has-sub > a { padding: 9px 15px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: #3b3e45; background: transparent; }
    .main-nav > ul > li > a:hover { background: rgba(255,255,255,.75); color: var(--ink); }
    .main-nav > ul > li > a.active { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(16,18,24,.08), 0 2px 8px rgba(16,18,24,.06); }
    .main-nav .nav-cars { background: transparent; color: var(--ink); padding: 9px 12px 9px 15px; }
    .main-nav .nav-cars:hover { background: rgba(255,255,255,.75); color: var(--ink); }
    .main-nav .nav-cars.active { background: var(--card); color: var(--ink); }
    .nav-count { background: var(--red); color: #fff; font-size: .7rem; padding: 1px 7px; }
    .main-nav .has-sub { position: relative; }
    .main-nav .has-sub > a { padding-right: 30px; }
    .main-nav .has-sub > a::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); opacity: .6; }
    .main-nav .sub { top: calc(100% + 10px); border-radius: 16px; padding: 6px; }
    .main-nav .sub a { padding: 10px 12px; border-radius: 10px; }
    .main-nav .sub a:hover { background: var(--bg); }
    .main-nav__contact { display: none; }
    .header-phone { background: var(--red); border: 0; color: #fff; padding: 5px 16px 5px 5px; gap: 8px; box-shadow: 0 6px 18px rgba(215,35,35,.25); }
    .header-phone:hover { background: var(--red-dark); }
    .header-phone__icon { background: rgba(255,255,255,.18); width: 34px; height: 34px; }
    .header-phone__text { font-weight: 700; font-size: .92rem; white-space: nowrap; }
}
@media (min-width: 1081px) and (max-width: 1280px) {
    .main-nav > ul > li > a, .main-nav .has-sub > a { padding: 8px 11px; font-size: .88rem; }
    .main-nav .has-sub > a { padding-right: 26px; }
    .header-phone__text { display: none; }
    .header-phone { padding: 5px; }
}

/* Telefono meniu – per visą ekraną */
@media (max-width: 1080px) {
    .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; max-height: none; height: calc(100dvh - var(--header-h)); padding: 14px 16px 24px; gap: 14px; overflow-y: auto; background: var(--card); border: 0; box-shadow: none; display: flex !important; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
    .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
    .nav-open { overflow: hidden; }
    .site-header.is-scrolled ~ * .main-nav, .site-header.is-scrolled .main-nav { top: 68px; height: calc(100dvh - 68px); }
    .main-nav > ul { gap: 0; }
    .main-nav > ul > li > a, .main-nav .has-sub > a { padding: 16px 6px; font-size: 1.15rem; font-weight: 650; border-bottom: 1px solid var(--line-2); border-radius: 0; color: var(--ink); }
    .main-nav > ul > li > a.active { color: var(--red); background: none; }
    .main-nav .nav-cars { background: var(--dark); color: #fff; border-radius: 16px; padding: 18px 18px; margin-bottom: 8px; border: 0; }
    .main-nav .nav-cars.active { background: var(--red); color: #fff; }
    .main-nav .nav-count { background: rgba(255,255,255,.2); }
    .main-nav .sub a { font-size: 1rem; padding: 12px 6px; border: 0; color: var(--muted); }
    .main-nav__contact { display: grid; gap: 8px; margin-top: 4px; padding-top: 6px; }
    .main-nav__social { display: flex; gap: 8px; justify-content: center; margin-top: 6px; }
    .main-nav__social a { width: 46px; height: 46px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; color: var(--ink); }
    .main-nav__hours { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .85rem; color: var(--muted); margin: 4px 0 0; text-align: center; }
    .header-phone { border: 0; padding: 0; }
    .header-phone__icon { width: 42px; height: 42px; }
    .nav-toggle { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--bg); }
    .nav-toggle .ico { width: 24px; height: 24px; }
}

/* Užklausų filtrai – viskas matosi */
.inbox__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 0 6px; overflow: visible; }
.inbox__tab { flex-direction: column; gap: 3px; padding: 10px 2px 9px; font-size: .78rem; justify-content: center; text-align: center; }
.inbox__tab span { font-size: .7rem; }
.inbox__types { flex-wrap: wrap; overflow: visible; }
.inbox__types .chip { font-size: .78rem; padding: 5px 10px; }
@media (min-width: 1081px) and (max-width: 1500px) {
    .site-header.has-user .header-phone__text { display: none; }
    .site-header.has-user .header-phone { padding: 5px; }
}
@media (max-width: 1080px) {
    .main-nav .has-sub { border-bottom: 1px solid var(--line-2); }
    .main-nav .has-sub > a { border-bottom: 0; }
    .nav-open .call-fab { display: none; }
}

/* Užklausų mygtukas antraštėje (darbuotojams) */
.header-inbox { position: relative; display: none; width: 44px; height: 44px; border-radius: 14px; place-items: center; background: var(--bg); color: var(--ink); text-decoration: none; }
.header-inbox .ico { width: 21px; height: 21px; }
.header-inbox.has-new { background: var(--red-soft); color: var(--red); }
.header-inbox__n { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--card); }
.header-inbox.has-new::after { content: ""; position: absolute; inset: 0; border-radius: 14px; animation: nav-pulse 1.8s infinite; pointer-events: none; }

/* Telefone – kompaktiška antraštė: logotipas | užklausos | skambinti | meniu */
@media (max-width: 1080px) {
    .header-inbox { display: grid; }
    .header-actions { gap: 8px; }
    .header-phone { padding: 0; box-shadow: none; }
    .header-phone__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--red); }
    .nav-toggle { width: 44px; height: 44px; border-radius: 14px; }
    .main-nav__account .nav-alert { display: none; }
}
@media (max-width: 640px) {
    :root { --header-h: 64px; }
    .logo img { height: 44px; }
    .site-header.is-scrolled .site-header__inner { height: 58px; }
    .site-header.is-scrolled .logo img { height: 40px; }
    .site-header.is-scrolled .main-nav { top: 58px; height: calc(100dvh - 58px); }
    .header-inbox, .header-phone__icon, .nav-toggle { width: 42px; height: 42px; border-radius: 13px; }
}

/* Apžvalga – naujausios užklausos */
.recent-inq { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.recent-inq__item { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px 12px 22px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: inherit; transition: background .12s; }
.recent-inq__item:hover { background: #f7f8fa; }
.recent-inq__item.is-unread::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--red); }
.recent-inq__main { min-width: 0; display: grid; }
.recent-inq__main strong { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-inq__main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-inq__side { flex: none; display: grid; justify-items: end; gap: 4px; }
.recent-inq__side time { font-size: .75rem; color: var(--muted); }
.recent-inq__all { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; font-weight: 650; font-size: .9rem; color: var(--red); text-decoration: none; }

/* Užklausų tipas – kompaktiškas pasirinkimas */
.inbox__filter { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.inbox__filter label { flex: none; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.inbox__filter .cselect, .inbox__filter select { flex: 1; min-width: 0; }
.inbox__filter .cselect__btn { height: 38px; font-size: .88rem; border-radius: 10px; }

/* ---------- Įsiminti (♡) ---------- */
.fav-btn { position: absolute; right: 10px; top: 10px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); color: var(--ink); border: 0; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.18); transition: transform .15s, color .15s; }
.fav-btn .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.fav-btn:hover { transform: scale(1.08); color: var(--red); }
.fav-btn.is-on { color: var(--red); }
.fav-btn.is-on .ico { fill: currentColor; }
.fav-btn.is-on { animation: fav-pop .3s; }
@keyframes fav-pop { 50% { transform: scale(1.25); } }
.fav-btn--lg { position: static; width: 46px; height: 46px; flex: none; background: var(--bg); box-shadow: none; }
.fav-btn--lg .ico { width: 22px; height: 22px; }
.fav-btn--lg.is-on { background: var(--red-soft); }
.car__leasing { right: auto; left: 10px; top: auto; bottom: 10px; }
.header-fav { position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); color: var(--red); text-decoration: none; }
.header-fav[hidden] { display: none; }
.header-fav .ico { width: 21px; height: 21px; fill: currentColor; }
.header-fav__n { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--dark); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--card); }
.header-fav.bump { animation: fav-pop .35s; }
@media (max-width: 760px) {
    .fav-btn { right: 6px; top: 6px; width: 30px; height: 30px; }
    .fav-btn .ico { width: 16px; height: 16px; }
    .car__leasing { left: 6px; bottom: 6px; right: auto; top: auto; }
    .header-fav { width: 42px; height: 42px; border-radius: 13px; }
}

/* ---------- Skelbimo kaina, lizingas, dalinimasis ---------- */
.listing-price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.listing-monthly { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 4px; padding: 7px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: .92rem; text-decoration: none; }
.listing-monthly .ico { width: 16px; height: 16px; }
.listing-monthly:hover { background: #d6efe0; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.share__label { font-size: .88rem; color: var(--muted); margin-right: 2px; }
.share__btn { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); color: var(--ink); border: 0; cursor: pointer; text-decoration: none; transition: background .15s, color .15s; }
.share__btn .ico { width: 18px; height: 18px; }
.share__btn:hover { background: var(--dark); color: #fff; }
.share__btn.is-done { background: var(--green); color: #fff; }
.share__btn[hidden] { display: none; }
.copy-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--dark); color: #fff; font-size: .78rem; font-weight: 600; padding: 5px 9px; border-radius: 8px; pointer-events: none; }

/* Lizingo skaičiuoklė */
.calc__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.calc__inputs { display: grid; gap: 10px; align-content: center; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.calc__row label { font-weight: 600; }
.calc__row output { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc input[type=range] { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; margin: 4px 0 14px; background: linear-gradient(90deg, var(--red) var(--p), var(--line) var(--p)); outline: none; cursor: pointer; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 3px solid var(--red); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.calc input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 3px solid var(--red); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.calc input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px solid rgba(215,35,35,.3); }
.calc__result { display: flex; flex-direction: column; gap: 6px; justify-content: center; padding: 20px; border-radius: 16px; background: var(--dark); color: #fff; }
.calc__result small { color: rgba(255,255,255,.7); }
.calc__result strong { font-size: 2.3rem; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc__result .btn { margin-top: 10px; }
.calc__note { margin: 14px 0 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 760px) { .calc__grid { grid-template-columns: 1fr; gap: 12px; } .calc__result strong { font-size: 2rem; } }

/* Panašūs automobiliai */
.similar { margin-top: 40px; margin-bottom: 20px; }

/* Apatinė juosta mobiliesiems */
.listing-bar { display: none; }
@media (max-width: 760px) {
    .listing-bar { display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16,18,24,.08); }
    .listing-bar__price { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
    .listing-bar__price strong { font-size: 1.2rem; color: var(--ink); white-space: nowrap; }
    .listing-bar__price small { color: var(--green); font-weight: 600; font-size: .78rem; }
    .listing-bar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 46px; padding: 0 18px; border-radius: 14px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; }
    .listing-bar__btn .ico { width: 19px; height: 19px; }
    .listing-bar__btn--wa { width: 46px; padding: 0; background: #25d366; }
    body.has-listing-bar .site-footer { padding-bottom: 86px; }
    body.has-listing-bar .call-fab { display: none; }
    body.has-listing-bar .cookie { bottom: 84px; right: 16px; }
}
@media print { .listing-bar, .fav-btn, .share, .calc, .similar { display: none !important; } }
.fav-btn.is-on .ico, .header-fav .ico { fill: var(--red); stroke: var(--red); }
.fav-btn.is-on { color: var(--red); }
.listing-price-row { margin: 4px 0 6px; }
.listing-price-row .listing-price { margin: 0; }
[data-fav-page] .toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.fav-empty-ico { width: 44px; height: 44px; color: var(--red); }

/* ---------- Nuotraukų tvarka (redagavimas) ---------- */
.photo-item { position: relative; cursor: grab; transition: box-shadow .15s, opacity .15s, transform .15s; user-select: none; }
.photo-item:active { cursor: grabbing; }
.photo-item.is-dragging { opacity: .4; transform: scale(.97); }
.photo-item.is-over { box-shadow: 0 0 0 3px var(--ink); }
.photo-item:first-child { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.photo-item__main { display: none; position: absolute; left: 8px; top: 8px; z-index: 2; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.photo-item:first-child .photo-item__main { display: block; }
.photo-item__bar { display: flex; justify-content: space-between; gap: 4px; padding: 6px; }
.photo-item__btn { width: 34px; height: 32px; border-radius: 9px; border: 0; background: var(--bg); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.photo-item__btn .ico { width: 16px; height: 16px; }
.photo-item__btn:hover { background: var(--dark); color: #fff; }
.photo-item__btn[data-photo-move="-1"] .ico { transform: rotate(180deg); }
.photo-item:first-child [data-photo-move="-1"], .photo-item:last-child [data-photo-move="1"], .photo-item:first-child .photo-item__first { visibility: hidden; }
.photo-item__del input { position: absolute; opacity: 0; pointer-events: none; }
.photo-item__del:has(input:checked) { background: var(--red); color: #fff; }
.photo-item:has(.photo-item__del input:checked) img { opacity: .35; filter: grayscale(1); }
.photo-item:has(.photo-item__del input:checked)::after { content: "Bus ištrinta"; position: absolute; left: 0; right: 0; top: 34%; text-align: center; font-weight: 800; color: var(--red); font-size: .85rem; }

/* ---------- Apžvalgos statistika ---------- */
.insights { display: grid; grid-template-columns: 1fr 240px; gap: 14px; margin-bottom: 28px; }
.insights__chart { padding: 20px; }
.insights__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; }
.insights__head h2 { font-size: 1.1rem; margin: 0; }
.insights__head .muted { font-size: .88rem; }
.insights__head strong { color: var(--ink); }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; height: 170px; align-items: end; }
.bars__col { display: grid; grid-template-rows: 18px 1fr auto; height: 100%; text-align: center; min-width: 0; }
.bars__n { font-size: .72rem; font-weight: 700; color: var(--ink); align-self: end; }
.bars__bar { align-self: end; width: 100%; max-width: 28px; justify-self: center; border-radius: 6px 6px 3px 3px; background: #d9dbe0; transition: background .15s; }
.bars__col:hover .bars__bar { background: var(--dark); }
.bars__col.is-today .bars__bar { background: var(--red); }
.bars__d { font-size: .66rem; color: var(--muted); line-height: 1.2; margin-top: 6px; }
.insights__types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.chip-stat { font-size: .8rem; padding: 5px 10px; border-radius: 999px; background: var(--bg); color: var(--text); }
.chip-stat strong { color: var(--ink); margin-left: 3px; }
.insights__kpis { display: grid; gap: 14px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; }
.kpi small { color: var(--muted); font-size: .85rem; }
.kpi strong { font-size: 1.7rem; color: var(--ink); line-height: 1.15; }
@media (max-width: 900px) {
    .insights { grid-template-columns: 1fr; }
    .insights__kpis { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .kpi { padding: 12px; }
    .kpi strong { font-size: 1.3rem; }
    .kpi small { font-size: .74rem; }
    .bars { gap: 3px; height: 140px; }
}
.cookie__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; opacity: .85; }
.footer-link-btn:hover { opacity: 1; text-decoration: underline; }
@media (min-width: 761px) { .table--listings .actions { flex-wrap: nowrap; } .table--listings .actions form { display: contents; } }
.btn-sold:hover { background: var(--dark); color: #fff; border-color: var(--ink); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; } .stat { padding: 12px 14px; } .stat strong { font-size: 1.5rem; } .stat span { font-size: .8rem; } }

/* ---------- Kalbos pasirinkimas ---------- */
.lang-switch { position: relative; }
.lang-switch__btn { height: 44px; min-width: 44px; padding: 0 12px; border-radius: 14px; border: 0; background: var(--bg); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }
.lang-switch__btn .ico { width: 18px; height: 18px; color: var(--muted); }
.lang-switch__btn:hover, .lang-switch.is-open .lang-switch__btn { background: var(--line); }
.lang-switch__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; display: grid; gap: 2px; z-index: 120; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: none; }
.lang-switch__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: .92rem; }
.lang-switch__menu a strong { width: 24px; color: var(--muted); font-size: .78rem; }
.lang-switch__menu a:hover { background: var(--bg); }
.lang-switch__menu a.active { background: var(--red-soft); color: var(--red); font-weight: 600; }
.lang-switch__menu a.active strong { color: var(--red); }
.main-nav__langs { display: none; }
@media (max-width: 1080px) {
    .lang-switch__btn { height: 42px; min-width: 42px; padding: 0 9px; border-radius: 13px; }
    .lang-switch__btn .ico { display: none; }
    .main-nav__langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; background: var(--bg); border-radius: 14px; }
    .main-nav__langs a { text-align: center; padding: 10px 6px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--muted); text-decoration: none; }
    .main-nav__langs a.active { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
}
@media (max-width: 380px) {
    .lang-switch__btn { min-width: 38px; padding: 0 6px; }
}

/* ---------- Lankomumas ---------- */
.stat--visitors { display: flex; flex-direction: column; gap: 2px; border-color: #d9e8df; background: linear-gradient(180deg, #fff, #f6fbf8); }
.stat--visitors:hover { border-color: var(--green); }
.stat__top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.stat--visitors small { font-size: .74rem; color: var(--muted); line-height: 1.35; }
.trend { font-style: normal; font-size: .78rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.trend--up { color: var(--green); background: var(--green-soft); }
.trend--down { color: var(--red); background: var(--red-soft); }
.online-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: 5px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: online-pulse 2s infinite; }
@keyframes online-pulse { 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.online-now { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .9rem; }
.period-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.period-tabs a { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.period-tabs a:hover { border-color: var(--ink); }
.period-tabs a.active { background: var(--dark); border-color: var(--dark); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.kpis .kpi { gap: 2px; }
.kpis .kpi .trend { align-self: flex-start; margin: 2px 0; }
.kpi__cmp { font-size: .76rem; color: var(--muted); }
.stats-chart { padding: 20px; margin-bottom: 16px; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 8px; }
.lg--u { background: var(--red); }
.lg--v { background: #f3c2c2; }
.vbars { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px; height: 220px; align-items: end; }
.vbars--dense { gap: 1px; }
.vbars__col { display: grid; grid-template-rows: 16px 1fr 28px; height: 100%; min-width: 0; text-align: center; }
.vbars__n { font-size: .68rem; font-weight: 700; color: var(--ink); align-self: end; }
.vbars__stack { position: relative; align-self: stretch; }
.vbars__v, .vbars__u { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 30px; border-radius: 5px 5px 2px 2px; }
.vbars__v { background: #f3c2c2; }
.vbars__u { background: var(--red); width: 62%; max-width: 18px; }
.vbars--dense .vbars__u { width: 100%; max-width: none; border-radius: 2px 2px 0 0; }
.vbars--dense .vbars__v { border-radius: 2px 2px 0 0; }
.vbars__col:hover .vbars__u { background: var(--dark); }
.vbars__d { font-size: .64rem; color: var(--muted); line-height: 1.2; margin-top: 5px; white-space: nowrap; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.stats-box { padding: 20px; min-width: 0; }
.stats-box h2 { font-size: 1.05rem; margin: 0 0 12px; }
.stats-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.stats-table th { text-align: right; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 0 0 6px 8px; }
.stats-table th:first-child { text-align: left; padding-left: 0; }
.stats-table td { padding: 3px 0 3px 8px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats-table td:first-child { text-align: left; padding-left: 0; width: 100%; max-width: 0; }
.bar-cell { position: relative; display: block; padding: 6px 8px; border-radius: 7px; color: var(--ink); text-decoration: none; overflow: hidden; }
.bar-cell::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--red-soft); border-radius: 7px; }
.bar-cell span { position: relative; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-cell:hover span { text-decoration: underline; }
.share-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.share-list li { display: grid; grid-template-columns: minmax(90px, 140px) 1fr auto; gap: 10px; align-items: center; font-size: .88rem; }
.share-list__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-list__bar { height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.share-list__bar i { display: block; height: 100%; background: var(--red); border-radius: 99px; }
.share-list__bar--alt i { background: var(--dark); }
.share-list__n { font-weight: 700; font-variant-numeric: tabular-nums; }
.share-list__n small { color: var(--muted); font-weight: 500; margin-left: 2px; }
.hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; height: 110px; align-items: end; }
.hours__col { display: grid; grid-template-rows: 1fr 16px; height: 100%; }
.hours__col span { align-self: end; background: var(--dark); opacity: .8; border-radius: 3px 3px 1px 1px; }
.hours__col:hover span { background: var(--red); opacity: 1; }
.hours__col small { font-size: .62rem; color: var(--muted); text-align: center; }
.journeys { display: grid; }
.journey { border-top: 1px solid var(--line-2); }
.journey:first-child { border-top: 0; }
.journey summary { list-style: none; display: grid; grid-template-columns: 130px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; cursor: pointer; font-size: .88rem; }
.journey summary::-webkit-details-marker { display: none; }
.journey__time { color: var(--ink); font-weight: 600; }
.journey__meta { display: flex; gap: 5px; flex-wrap: wrap; }
.journey__n { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); white-space: nowrap; }
.journey__n .ico { width: 15px; height: 15px; transition: transform .15s; }
.journey[open] .journey__n .ico { transform: rotate(180deg); }
.journey__pages { margin: 0 0 12px; padding: 10px 14px 10px 34px; background: var(--bg); border-radius: 12px; font-size: .86rem; display: grid; gap: 4px; }
.journey__pages time { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 6px; }
.journey__pages a { color: var(--ink); }
.stats-note { font-size: .8rem; margin-top: 16px; }
@media (max-width: 900px) {
    .kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stats-grid { grid-template-columns: 1fr; }
    .vbars { height: 170px; gap: 2px; }
    .vbars__n { font-size: .6rem; }
    .vbars__d { font-size: .58rem; }
    .journey summary { grid-template-columns: 1fr auto; }
    .journey__meta { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 900px) { .vbars--many .vbars__n { display: none; } .vbars--many .vbars__d br, .vbars--many .vbars__d { font-size: .5rem; } .vbars--many .vbars__col:nth-child(even) .vbars__d { visibility: hidden; } }

/* ---------- Parduoti automobiliai ---------- */
.sold-stamp { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%) rotate(-12deg); padding: 6px 18px; border: 3px solid #fff; border-radius: 10px; background: rgba(215,35,35,.92); color: #fff; font-weight: 900; font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(0,0,0,.3); pointer-events: none; white-space: nowrap; }
.sold-stamp--lg { font-size: clamp(1.4rem, 4vw, 2.6rem); padding: 10px 34px; border-width: 4px; border-radius: 14px; }
.car.is-sold .car__img img { filter: grayscale(1); opacity: .6; }
.car.is-sold .car__title { color: var(--muted); }
.car.is-sold .car__price { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.page-listing .gallery__main:has(.sold-stamp) img, .page-listing .gallery__main:has(.sold-stamp) .gallery__bg { filter: grayscale(1); }
.sold-label { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 6px 12px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.sold-label .ico { width: 15px; height: 15px; stroke-width: 3; }
.listing-price--sold { color: var(--muted) !important; text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--red); }
.sold-note { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--red-soft); }
.sold-note p { margin: 0 0 12px; font-size: .92rem; color: var(--ink); }
.spec-table s { color: var(--muted); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
@media (max-width: 760px) { .sold-stamp { font-size: .8rem; padding: 4px 10px; border-width: 2px; letter-spacing: .1em; } .sold-stamp--lg { font-size: 1.5rem; padding: 8px 22px; border-width: 3px; } }

/* ---------- Ramūs pranešimai (vietoje iššokančių) ---------- */
.page-alerts { display: grid; gap: 8px; padding-top: 16px; }
.page-alerts .alert { margin: 0; }
.form-done { text-align: center; padding: 28px 18px; border-radius: 16px; background: var(--green-soft); border: 1px solid #cfe9da; animation: form-done-in .35s ease; }
.form-done__icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(23,128,74,.3); }
.form-done__icon .ico { width: 28px; height: 28px; stroke-width: 3; }
.form-done h3 { margin: 0 0 6px; font-size: 1.25rem; color: var(--ink); }
.form-done p { margin: 0 0 14px; color: var(--text); font-size: .95rem; }
.form-done p a { color: var(--ink); white-space: nowrap; }
.form-done .link-btn { font-size: .88rem; color: var(--green); font-weight: 600; }
@keyframes form-done-in { from { opacity: 0; transform: translateY(6px) scale(.98); } }


/* =========================================================
   TAMSI TEMA (html[data-theme="dark"])
   ========================================================= */
html[data-theme="dark"] {
    color-scheme: dark;
    --ink: #f4f4f5;
    --dark: #2e3036;
    --ink-2: #e7e7ea;
    --text: #d4d4d8;
    --muted: #9b9ca3;
    --line: #313238;
    --line-2: #28292e;
    --bg: #141518;
    --card: #1d1e22;
    --soft: #26272c;
    --red-soft: rgba(239, 68, 68, .15);
    --green: #4ade80;
    --green-soft: rgba(74, 222, 128, .12);
    --amber: #fbbf24;
    --amber-soft: rgba(251, 191, 36, .13);
    --input-line: #3a3b42;
    --input-line-hover: #52535b;
    --glass: rgba(29, 30, 34, .9);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
    --shadow-lg: 0 18px 50px rgba(0,0,0,.6);
}
html[data-theme="dark"] body { background: var(--bg); color: var(--text); }
[data-theme="dark"] .site-header, [data-theme="dark"] .site-header.is-scrolled { background: var(--glass); }
[data-theme="dark"] .site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.4); }
[data-theme="dark"] .main-nav > ul { background: var(--soft); }
[data-theme="dark"] .main-nav > ul > li > a:hover, [data-theme="dark"] .main-nav .nav-cars:hover { background: rgba(255,255,255,.07); color: var(--ink); }
[data-theme="dark"] .main-nav .nav-cars, [data-theme="dark"] .main-nav .nav-cars.active { background: var(--card); color: var(--ink); }
[data-theme="dark"] .main-nav .sub { background: var(--card); border-color: var(--line); }
[data-theme="dark"] .main-nav .sub a:hover { background: var(--soft); }
@media (max-width: 1080px) {
    [data-theme="dark"] .main-nav { background: var(--bg); }
    [data-theme="dark"] .main-nav .nav-cars { background: var(--dark); color: #fff; }
    [data-theme="dark"] .main-nav .nav-cars.active { background: var(--red); }
    [data-theme="dark"] .main-nav__langs a.active { background: var(--card); }
}
[data-theme="dark"] .btn--dark:hover { background: #3a3c43; }
[data-theme="dark"] .btn--ghost { background: transparent; color: var(--ink); border-color: var(--input-line); }
[data-theme="dark"] .btn--ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.04); }
[data-theme="dark"] .btn--white { background: #fff; color: #121316; }
[data-theme="dark"] .fav-btn, [data-theme="dark"] .gallery__nav, [data-theme="dark"] .car__leasing { background: rgba(29,30,34,.88); color: var(--ink); }
[data-theme="dark"] .car__leasing { color: var(--green); }
[data-theme="dark"] .fav-btn--lg { background: var(--soft); }
[data-theme="dark"] .car__img, [data-theme="dark"] .gallery__main, [data-theme="dark"] .gallery__thumbs button, [data-theme="dark"] .table .thumb { background: #1f232b; }
[data-theme="dark"] .car { border-color: var(--line); }
[data-theme="dark"] .car__specs li, [data-theme="dark"] .quick-specs > div, [data-theme="dark"] .chip-stat { background: var(--soft); }
[data-theme="dark"] .file-drop { background: var(--soft); }
[data-theme="dark"] .table th { background: var(--soft); }
[data-theme="dark"] .table tr.unread td { background: rgba(240,180,83,.07); }
[data-theme="dark"] .badge, [data-theme="dark"] .badge--hidden, [data-theme="dark"] .st--archived { background: var(--soft); color: var(--text); }
[data-theme="dark"] .alert--info { background: rgba(80,140,230,.12); border-color: rgba(80,140,230,.3); color: #a9c6f2; }
[data-theme="dark"] .cselect.is-disabled .cselect__btn { background: var(--soft); border-color: var(--line); }
[data-theme="dark"] .cselect__opt:hover, [data-theme="dark"] .cselect__opt.is-active { background: var(--soft); }
[data-theme="dark"] .inbox__list { background: var(--card); }
[data-theme="dark"] .inbox-item:hover, [data-theme="dark"] .recent-inq__item:hover { background: var(--soft); }
[data-theme="dark"] .st-btn:hover { background: rgba(255,255,255,.06); }
[data-theme="dark"] .listing-monthly:hover { background: rgba(63,191,127,.22); }
[data-theme="dark"] .listing-bar { background: rgba(29,30,34,.97); border-top-color: var(--line); }
[data-theme="dark"] .site-footer { background: #0e0f11; border-top: 1px solid var(--line); }
[data-theme="dark"] .hero, [data-theme="dark"] .page-hero { background-color: #08090b; }
[data-theme="dark"] .calc__result { background: #111214; border: 1px solid var(--line); }
[data-theme="dark"] .share__btn:hover, [data-theme="dark"] .bars__col:hover .bars__bar, [data-theme="dark"] .vbars__col:hover .vbars__u { background: #fff; color: #121316; }
[data-theme="dark"] .bars__bar { background: #3a3f4a; }
[data-theme="dark"] .vbars__v { background: rgba(229,57,53,.3); }
[data-theme="dark"] .hours__col span, [data-theme="dark"] .share-list__bar--alt i { background: #c9ccd3; }
[data-theme="dark"] .bar-cell::before { background: rgba(229,57,53,.16); }
[data-theme="dark"] .form-done { border-color: rgba(63,191,127,.3); }
[data-theme="dark"] .sold-note { background: rgba(229,57,53,.12); }
[data-theme="dark"] .photo-item__btn { background: var(--soft); }
[data-theme="dark"] .photo-item__btn:hover { background: #fff; color: #121316; }
[data-theme="dark"] .make-chip span, [data-theme="dark"] .body-tile, [data-theme="dark"] .service { border-color: var(--line); }
[data-theme="dark"] img.map, [data-theme="dark"] iframe.map { filter: invert(.9) hue-rotate(180deg) brightness(.95) contrast(.9); }
[data-theme="dark"] .partners > div { background: var(--card); border-color: var(--line); }
[data-theme="dark"] .segmented { background: var(--soft); }
[data-theme="dark"] .segmented input:checked + span { background: var(--card); color: var(--ink); }

/* Temos jungiklis */
.theme-toggle { width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.theme-toggle:hover { background: var(--line); }
.theme-toggle .ico { width: 20px; height: 20px; }
.theme-toggle .ico-sun { display: none; }
[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
.lang-switch__btn { background: var(--soft); }
[data-theme="dark"] .lang-switch__btn:hover, [data-theme="dark"] .lang-switch.is-open .lang-switch__btn { background: var(--line); }
@media (max-width: 1080px) { .theme-toggle { width: 42px; height: 42px; border-radius: 13px; } }
@media (max-width: 420px) { .header-actions .theme-toggle { display: none; } }
.main-nav__theme { display: none; }
@media (max-width: 1080px) { .main-nav__theme { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; border-radius: 14px; border: 0; background: var(--soft); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; } .main-nav__theme .ico { width: 18px; height: 18px; } }
html.theme-anim, html.theme-anim * { transition: background-color .25s, border-color .25s, color .25s !important; }
[data-theme="dark"] .main-nav > ul > li > a, [data-theme="dark"] .main-nav .has-sub > a { color: #c9ccd3; }
[data-theme="dark"] .main-nav > ul > li > a.active { color: var(--ink); }
[data-theme="dark"] .car__specs li { color: #b4b8c0; }
[data-theme="dark"] .feature-tags li, [data-theme="dark"] .badge--active, [data-theme="dark"] .alert--success { color: #7fdcac; }
[data-theme="dark"] .alert--success { border-color: rgba(63,191,127,.3); }
[data-theme="dark"] .alert--error { color: #ff9c9c; border-color: rgba(229,57,53,.35); }
[data-theme="dark"] .btn--danger { border-color: rgba(229,57,53,.35); }
[data-theme="dark"] .car--featured { border-color: rgba(255,176,32,.45); }
[data-theme="dark"] .stat--visitors { background: linear-gradient(180deg, var(--card), #18231d); border-color: rgba(63,191,127,.25); }
[data-theme="dark"] .toast--info .toast__icon { background: var(--soft); color: var(--text); }
[data-theme="dark"] .inbox__placeholder .ico { color: #3a3f4a; }
[data-theme="dark"] .listing-top .breadcrumbs a, [data-theme="dark"] .breadcrumbs a { color: #d6d8dc; }
@media (min-width: 1081px) and (max-width: 1500px) {
    .site-header.has-user .header-phone { display: none; }
    .site-header.has-user .lang-switch__btn .ico { display: none; }
}
@media (min-width: 1081px) and (max-width: 1300px) {
    .site-header.has-user .main-nav__account .btn { font-size: 0; gap: 0; width: 42px; height: 42px; padding: 0; justify-content: center; }
    .site-header.has-user .main-nav__account .btn .ico { width: 18px; height: 18px; }
}

/* Logotipas: šviesi ir tamsi versija */
.logo-dark { display: none !important; }
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: inline-block !important; }
[data-theme="dark"] .site-footer__logo { background: transparent; padding: 0; }
[data-theme="dark"] .car__img, [data-theme="dark"] .gallery__main, [data-theme="dark"] .gallery__thumbs button, [data-theme="dark"] .table .thumb { background: #26272c; }
[data-theme="dark"] .bars__bar { background: #44454c; }

/* Poraštė visada tamsi – logotipas be balto fono */
.site-footer__logo, [data-theme="dark"] .site-footer__logo { background: transparent; padding: 0; border-radius: 0; }
.site-footer__logo img { height: 80px; margin-left: -6px; }

/* ---------- Apžvalga: populiariausi skelbimai ---------- */
.top-cars { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.top-car { display: grid; grid-template-columns: 22px 84px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.top-car__rank { font-weight: 800; color: var(--muted); text-align: center; font-size: .9rem; }
.top-car:first-child .top-car__rank { color: var(--red); }
.top-car__img img { width: 84px; aspect-ratio: 4/3; object-fit: cover; border-radius: 9px; background: var(--soft); display: block; }
.top-car__main { display: grid; gap: 2px; min-width: 0; }
.top-car__title { font-weight: 700; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-car__title:hover { text-decoration: underline; }
.top-car__main small { color: var(--muted); font-size: .8rem; }
.top-car__stats { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; font-size: .78rem; color: var(--text); }
.top-car__stats span { display: inline-flex; align-items: center; gap: 4px; }
.top-car__stats .ico { width: 13px; height: 13px; color: var(--muted); }
.top-car__stats .is-hot { color: var(--green); font-weight: 700; }
.top-car__edit { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); background: var(--soft); }
.top-car__edit:hover { color: var(--ink); }
.top-car__edit .ico { width: 16px; height: 16px; }
@media (max-width: 760px) { .top-car { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; padding: 10px; } .top-car__rank { display: none; } .top-car__img img { width: 64px; } }

/* =========================================================
   TELEFONO MENIU (iki 1080 px)
   ========================================================= */
.m-menu { display: none; }
@media (max-width: 1080px) {
    .main-nav { display: none !important; }
    .m-menu { display: block; position: fixed; inset: 0; z-index: 400; visibility: hidden; pointer-events: none; }
    .nav-open .m-menu { visibility: visible; pointer-events: auto; }
    .m-menu__backdrop { position: absolute; inset: 0; background: rgba(10,11,13,.45); opacity: 0; transition: opacity .25s; backdrop-filter: blur(2px); }
    .nav-open .m-menu__backdrop { opacity: 1; }
    .m-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 440px); background: var(--bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: -20px 0 50px rgba(0,0,0,.2); }
    .nav-open .m-menu__panel { transform: none; }
    .m-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; height: 66px; background: var(--card); border-bottom: 1px solid var(--line); flex: none; }
    .m-menu__logo img { height: 46px; width: auto; display: block; }
    .m-menu__close { width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
    .m-menu__close .ico { width: 22px; height: 22px; }
    .m-menu__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 14px 16px calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 12px; align-content: start; }

    .m-menu__search { position: relative; }
    .m-menu__search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
    .m-menu__search input { width: 100%; height: 48px; border-radius: 14px; border: 1.5px solid var(--input-line); background: var(--card); color: var(--text); font: inherit; padding: 0 14px 0 42px; }
    .m-menu__search input:focus { outline: none; border-color: var(--ink); }

    .m-menu__cars { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, var(--red), #a51515); color: #fff; text-decoration: none; box-shadow: 0 10px 24px rgba(215,35,35,.28); }
    .m-menu__cars > span:nth-child(2) { flex: 1; display: grid; line-height: 1.25; }
    .m-menu__cars strong { font-size: 1.12rem; }
    .m-menu__cars small { opacity: .85; font-size: .85rem; }
    .m-menu__cars-ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
    .m-menu__cars-ico .ico { width: 26px; height: 26px; }
    .m-menu__cars > .ico { width: 20px; height: 20px; }

    .m-menu__makes { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: -2px -16px 0; padding: 0 16px 2px; }
    .m-menu__makes::-webkit-scrollbar { display: none; }
    .m-menu__makes a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .88rem; text-decoration: none; white-space: nowrap; }
    .m-menu__makes a span { font-size: .72rem; color: var(--muted); font-weight: 700; }

    .m-menu__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .m-tile { display: grid; gap: 2px; align-content: start; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; min-height: 112px; }
    .m-tile__ico { width: 38px; height: 38px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 8px; }
    .m-tile__ico .ico { width: 20px; height: 20px; }
    .m-tile strong { font-size: .95rem; line-height: 1.25; }
    .m-tile small { font-size: .78rem; color: var(--muted); }
    .m-tile.is-current { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
    .m-tile:active, .m-menu__links a:active, .m-act:active { transform: scale(.98); }

    .m-menu__links { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
    .m-menu__links a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--ink); text-decoration: none; font-weight: 600; border-top: 1px solid var(--line-2); }
    .m-menu__links a:first-child { border-top: 0; }
    .m-menu__links a > .ico:first-child { width: 20px; height: 20px; color: var(--muted); }
    .m-menu__links .m-chev { margin-left: auto; width: 18px; height: 18px; color: var(--muted); transform: rotate(-90deg); }
    .m-menu__links a.is-current { color: var(--red); }
    .m-menu__badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--dark); color: #fff; font-size: .74rem; font-weight: 800; display: inline-grid; place-items: center; }
    .m-menu__badge[hidden] { display: none; }
    .m-menu__badge--red { background: var(--red); }

    .m-menu__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .m-act { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; text-decoration: none; color: #fff; font-weight: 700; line-height: 1.2; }
    .m-act .ico { width: 22px; height: 22px; flex: none; }
    .m-act span { display: grid; min-width: 0; }
    .m-act small { font-weight: 500; font-size: .76rem; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .m-act--call { background: var(--red); grid-column: 1 / -1; padding: 14px 16px; }
    .m-act--call .ico { width: 24px; height: 24px; }
    .m-act--wa { background: #1faa55; }
    .m-act--buy { background: var(--dark); }
    .m-menu__hours { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }
    .m-menu__hours .ico { width: 15px; height: 15px; flex: none; }

    .m-menu__prefs { display: flex; gap: 8px; }
    .m-seg { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 14px; background: var(--soft); }
    .m-seg a { text-align: center; padding: 9px 4px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: .88rem; }
    .m-seg a.active { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
    .m-theme { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 0; border: 0; border-radius: 14px; background: var(--soft); cursor: pointer; }
    .m-theme__opt { width: 42px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); }
    .m-theme__opt .ico { width: 18px; height: 18px; }
    .m-theme__light { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
    [data-theme="dark"] .m-theme__light { background: transparent; color: var(--muted); box-shadow: none; }
    [data-theme="dark"] .m-theme__dark { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }

    .m-menu__social { display: flex; justify-content: center; gap: 8px; }
    .m-menu__social a { width: 44px; height: 44px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
    .m-menu__social .ico { width: 19px; height: 19px; }
    .nav-open .call-fab, .nav-open .listing-bar { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .m-menu__panel, .m-menu__backdrop { transition: none; } }
/* Temos mygtuko piktogramos meniu (senoji vieta) */
.main-nav__theme .ico-sun { display: none; }
[data-theme="dark"] .main-nav__theme .ico-sun { display: inline; }
[data-theme="dark"] .main-nav__theme .ico-moon { display: none; }
@media (max-width: 1080px) {
    .m-menu__body { display: flex; flex-direction: column; }
    .m-menu__body > * { flex: none; }
    .m-act small { color: inherit; }
    .m-menu__cars small { color: inherit; }
}

/* ---------- Lankytojų vieta ---------- */
.geo-box { margin-bottom: 18px; }
.geo { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.geo__map { width: 100%; height: auto; display: block; }
.geo__land { fill: var(--soft); stroke: var(--input-line); stroke-width: 1.5; stroke-linejoin: round; }
.geo__dot { fill: rgba(215,35,35,.32); stroke: var(--red); stroke-width: 1.5; transition: fill .15s; }
.geo__dot:hover { fill: rgba(215,35,35,.6); }
.geo__label { font-size: 13px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--card); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.geo__sub { font-size: .8rem; margin: 22px 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.geo__countries { display: flex; flex-wrap: wrap; gap: 6px; }
.geo__unknown { font-size: .82rem; margin: 12px 0 0; }
.geo__note { font-size: .78rem; margin: 14px 0 0; }
.chip-stat .ico { width: 12px; height: 12px; vertical-align: -1px; }
@media (max-width: 900px) { .geo { grid-template-columns: 1fr; } .geo__label { font-size: 16px; } }
.geo__map { overflow: visible; }
.geo__lists .geo__sub { margin: 22px 0 8px; font-size: .78rem; }
.geo__n { fill: var(--red); }

/* ---------- SEO nukreipiamieji puslapiai ---------- */
.landing-intro { margin: -4px 0 18px; color: var(--text); font-size: .95rem; max-width: 820px; }
.landing-links { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.landing-links h2 { font-size: 1rem; margin: 0 0 10px; }
.landing-links div, .city-links { display: flex; flex-wrap: wrap; gap: 8px; }
.landing-links a, .city-links a { padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; }
.landing-links a:hover, .city-links a:hover { border-color: var(--ink); }
.seo-text { margin-top: 28px; max-width: 860px; color: var(--text); font-size: .93rem; }
.seo-text h2 { font-size: 1.15rem; margin: 0 0 8px; }
.seo-text p { margin: 0 0 10px; }
.seo-text a { color: var(--ink); }
.site-footer__seo { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid rgba(255,255,255,.07); font-size: .8rem; color: #6f737c; }
.site-footer__seo a { color: #9a9ea7 !important; }
.site-footer__seo a:hover { color: #fff !important; }

/* Garso pranešimų jungiklis (darbuotojams) */
.dash-nav__sound { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-weight: 600; color: var(--muted); }
.dash-nav__sound:hover { background: var(--bg); color: var(--ink); }
.dash-nav__sound.is-on { color: var(--green); }
.dash-nav__sound.is-on .ico { animation: none; }
@media (max-width: 900px) {
    .dash-nav__sound { position: relative; flex-direction: column; justify-content: center; gap: 4px; padding: 10px 4px; min-height: 64px; text-align: center; font-size: .72rem; line-height: 1.2; white-space: normal; border-radius: 12px; background: var(--bg); }
    .dash-nav__sound .ico { width: 20px; height: 20px; }
}
.header-inbox.ring .ico { animation: inbox-ring .9s ease 2; transform-origin: 50% 10%; }
@keyframes inbox-ring { 0%,100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 80% { transform: rotate(-5deg); } }

/* Modelių sąrašas: grupė (3 serija) ir jos modifikacijos (320d) */
.cselect__opt--group .cselect__name { font-weight: 700; color: var(--ink); }
.cselect__opt--sub { padding-left: 28px !important; }
.cselect__opt--sub .cselect__name { font-size: .92rem; }

/* ---------- Skelbimo forma: įranga ---------- */
.switch-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--green-soft); cursor: pointer; }
.switch-row input { width: 20px; height: 20px; accent-color: var(--green); flex: none; }
.switch-row span { display: grid; line-height: 1.3; }
.switch-row small { color: var(--muted); font-size: .8rem; }
.feat-picker { position: relative; }
.feat-picker__chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 50px; padding: 7px; border: 1.5px solid var(--input-line); border-radius: 12px; background: var(--card); cursor: text; }
.feat-picker__chips:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18,19,22,.07); }
.feat-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 4px 5px 11px; border-radius: 999px; background: var(--dark); color: #fff; font-size: .86rem; font-weight: 600; }
.feat-chip button { all: unset; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 1rem; line-height: 1; opacity: .7; }
.feat-chip button:hover { opacity: 1; background: rgba(255,255,255,.15); }
.feat-picker__input { flex: 1 1 200px; min-width: 160px; border: 0; outline: 0; background: transparent; font: inherit; color: var(--text); padding: 6px 4px; }
.feat-picker__panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; max-height: 320px; overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; }
.feat-picker__group { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px 10px 4px; }
.feat-picker__opt { all: unset; box-sizing: border-box; display: block; width: 100%; padding: 8px 10px; border-radius: 9px; cursor: pointer; font-size: .92rem; color: var(--text); }
.feat-picker__opt:hover, .feat-picker__opt.is-active { background: var(--soft); color: var(--ink); }
.feat-picker__new { padding: 10px; color: var(--muted); font-size: .88rem; }
.feat-quick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.feat-quick .muted { font-size: .82rem; margin-right: 2px; }
.feat-quick__btn { border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px; padding: 5px 11px; font: inherit; font-size: .82rem; cursor: pointer; }
.feat-quick__btn:hover { border-color: var(--ink); }
.feat-quick__btn.is-on { background: var(--green-soft); border-color: var(--green); color: var(--green); font-weight: 600; }
.feat-quick__btn.is-on::before { content: "✓ "; }

.feature-groups { display: grid; gap: 16px; }
.feature-group h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 8px; }
.feat-picker__opt--new { color: var(--green); font-weight: 600; border-top: 1px dashed var(--line); margin-top: 4px; }

/* Filtrai: lizingas ir įranga */
.switch-row--filter { margin: 4px 0 16px; padding: 10px 12px; }
.switch-row--filter strong { font-size: .9rem; color: var(--ink); }
.filters__feat summary .badge-count, .badge-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; margin-left: 6px; }
.feat-filter__search { width: 100%; margin: 10px 0 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: .9rem; }
.feat-filter__search:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(215,35,35,.15); }
.feat-filter__list { max-height: 320px; overflow-y: auto; padding-right: 4px; overscroll-behavior: contain; }
.feat-filter__group { margin-bottom: 10px; }
.feat-filter__group[hidden], .feat-filter__item[hidden] { display: none !important; }
.feat-filter__title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 6px 0 6px; }
.filters .feat-filter__item { align-items: center; padding: 3px 0; margin: 0 0 2px; }
.feat-filter__item input { margin-top: 0; }
.feat-filter__item span { flex: 1; }
.feat-filter__item em { font-style: normal; font-size: .75rem; color: var(--muted); background: var(--bg); border-radius: 99px; padding: 1px 7px; }
.feat-filter__none { font-size: .85rem; margin: 6px 0; }

/* ---------- Mini pokalbis (lankytojams) ---------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 75; font-size: .95rem; }
.chat-fab { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgba(215,35,35,.38); transition: transform .15s, box-shadow .15s; }
.chat-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(215,35,35,.45); }
.chat-fab .ico { width: 24px; height: 24px; }
.chat-fab__close { display: none; }
.chat.is-open .chat-fab__ico, .chat.is-open .chat-fab__label { display: none; }
.chat.is-open .chat-fab { width: 56px; padding: 0; justify-content: center; }
.chat.is-open .chat-fab__close { display: block; }
.chat-fab__dot { position: absolute; left: 36px; top: 12px; width: 11px; height: 11px; border-radius: 50%; background: #9aa0a8; border: 2px solid var(--red); }
.chat.is-online .chat-fab__dot { background: #2fd47a; }
.chat.is-open .chat-fab__dot { display: none; }
.chat-fab__n { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .75rem; display: grid; place-items: center; border: 2px solid var(--card); }
.chat-fab__n[hidden] { display: none; }
.chat-panel { position: absolute; right: 0; bottom: 72px; width: 370px; height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; animation: chat-in .18s ease-out; }
.chat-panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.chat-panel__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: var(--dark, #15171c); color: #fff; }
.chat-panel__avatar { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--red); display: grid; place-items: center; flex: none; }
.chat-panel__avatar .ico { width: 21px; height: 21px; }
.chat-panel__avatar::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: #9aa0a8; border: 2px solid var(--dark, #15171c); }
.chat.is-online .chat-panel__avatar::after { background: #2fd47a; }
.chat-panel__who { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.chat-panel__who small { color: rgba(255,255,255,.72); font-size: .78rem; }
.chat-panel__call, .chat-panel__x { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); border: 0; cursor: pointer; flex: none; }
.chat-panel__call:hover, .chat-panel__x:hover { background: rgba(255,255,255,.2); }
.chat-panel__call .ico, .chat-panel__x .ico { width: 18px; height: 18px; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); overscroll-behavior: contain; }
.chat-msg { max-width: 82%; display: grid; gap: 3px; }
.chat-msg__b { padding: 10px 13px; border-radius: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.chat-msg__b a { color: inherit; }
.chat-msg__t { font-size: .72rem; color: var(--muted); padding: 0 4px; }
.chat-msg--staff { align-self: flex-start; }
.chat-msg--staff .chat-msg__b { background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink); }
.chat-msg--visitor { align-self: flex-end; justify-items: end; }
.chat-msg--visitor .chat-msg__b { background: var(--red); color: #fff; border-bottom-right-radius: 5px; }
.chat-msg--system { align-self: center; max-width: 92%; }
.chat-msg--system .chat-msg__b { background: var(--green-soft); color: var(--green); font-size: .85rem; text-align: center; padding: 8px 12px; }
.chat-msg.is-pending { opacity: .6; }
.chat-msg.is-error .chat-msg__b { background: #a33; }
.chat-msg.is-error .chat-msg__t { color: var(--red); }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; margin-top: 4px; }
.chat-quick button { border: 1px solid var(--red); background: var(--card); color: var(--red); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; text-align: left; }
.chat-quick button:hover { background: var(--red); color: #fff; }
.chat-phone { padding: 12px 14px; border-top: 1px solid var(--line); background: var(--card); }
.chat-phone[hidden] { display: none; }
.chat-phone p { margin: 0 0 8px; font-size: .85rem; color: var(--muted); }
.chat-phone__row { display: flex; gap: 8px; }
.chat-phone__row input { flex: 1; min-width: 0; }
.chat-input { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--card); }
.chat-input textarea { flex: 1; min-width: 0; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font: inherit; font-size: 16px; line-height: 1.35; max-height: 120px; background: var(--bg); color: var(--ink); }
.chat-input textarea:focus { outline: none; border-color: var(--red); background: var(--card); }
.chat-input button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat-input button .ico { width: 20px; height: 20px; }
.chat-panel__foot { margin: 0; padding: 0 12px 10px; background: var(--card); text-align: center; font-size: .78rem; color: var(--muted); }
.chat-panel__foot a { color: var(--ink); font-weight: 600; }
body:has(.dash) .chat, .nav-open .chat { display: none; }
@media (max-width: 760px) {
    .chat { right: 16px; bottom: 16px; }
    .chat-fab { width: 58px; height: 58px; padding: 0; justify-content: center; }
    .chat-fab__label { display: none; }
    .chat-fab__dot { left: auto; right: 9px; top: 9px; }
    body.has-listing-bar .chat-fab { display: none; }
    body.has-listing-bar .chat { bottom: 0; }
    .chat-panel { position: fixed; inset: 0; width: auto; height: auto; height: 100dvh; border-radius: 0; border: 0; bottom: 0; }
    body.chat-open { overflow: hidden; }
    body.chat-open .chat-fab { display: none; }
}
.listing-bar__btn--chat { position: relative; width: 46px; padding: 0 !important; background: var(--dark, #15171c) !important; border: 0; cursor: pointer; }
.listing-bar__dot { position: absolute; top: 6px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: #2fd47a; border: 2px solid var(--dark, #15171c); }
.listing-bar__dot[hidden] { display: none; }
@media print { .chat { display: none !important; } }
@media (max-width: 760px) { .cookie { right: 86px; } }

/* ---------- Pokalbiai (administravimas) ---------- */
.chat-online { margin: 4px 0 0; font-size: .85rem; }
.chat-online::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fd47a; margin-right: 7px; vertical-align: 1px; }
button.inbox__tab { background: none; border: 0; border-bottom: 2px solid transparent; font: inherit; cursor: pointer; }
.chat-detail { padding: 0 !important; gap: 0 !important; display: flex !important; flex-direction: column; overflow: hidden !important; }
.chat-detail .inbox__placeholder { margin: auto; padding: 24px; }
.chat-thread { display: flex; flex-direction: column; flex: 1; min-height: 0; height: calc(100vh - var(--header-h) - 152px); }
.chat-thread[hidden] { display: none; }
.chat-thread .inbox__back { background: none; border: 0; font: inherit; cursor: pointer; padding: 12px 16px 0; }
.chat-thread__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.chat-thread__head h2 { margin: 0; font-size: 1.15rem; }
.chat-thread__head p { margin: 2px 0 0; font-size: .82rem; }
.chat-thread__page { color: var(--muted); }
.chat-thread__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.btn--danger-text { color: var(--red) !important; }
.chat-msgs--admin { flex: 1; min-height: 0; }
.chat-reply { display: flex; gap: 8px; align-items: flex-end; padding: 12px 16px 6px; border-top: 1px solid var(--line); }
.chat-reply textarea { flex: 1; resize: vertical; min-height: 48px; max-height: 200px; }
.chat-reply .btn { height: 48px; width: 52px; padding: 0; }
.chat-detail .chat-quick { justify-content: flex-start; padding: 4px 16px 14px; }
.chat-detail .chat-quick button { font-size: .78rem; padding: 5px 10px; }
.header-chat .ico { width: 21px; height: 21px; }
@media (max-width: 900px) { .chat-thread { height: calc(100dvh - var(--header-h) - 120px); } }
.header-inbox.header-chat { display: none; }
.header-inbox.header-chat.has-new { display: grid; }
[data-chat-badge][hidden], .chat-thread__actions [hidden] { display: none !important; }
.chat-reply textarea { font: inherit; font-size: .95rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
.chat-reply textarea:focus { outline: none; border-color: var(--red); }

/* Pokalbių pasiekiamumas */
.avail-dot { width: 10px; height: 10px; border-radius: 50%; background: #9aa0a8; flex: none; margin: 0 4px; }
.dash-nav__avail.is-on .avail-dot { background: #2fd47a; box-shadow: 0 0 0 3px rgba(47,212,122,.2); }
.dash-nav__avail:not(.is-on) { color: var(--muted); }
.chat-avail-box { display: grid; justify-items: end; gap: 4px; text-align: right; }
.avail-switch { all: unset; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; color: var(--muted); padding: 6px 4px; }
.avail-switch:focus-visible { outline: 3px solid rgba(215,35,35,.4); border-radius: 8px; }
.avail-switch__track { width: 44px; height: 26px; border-radius: 999px; background: var(--line); position: relative; transition: background .15s; flex: none; }
.avail-switch__track span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.avail-switch.is-on { color: var(--green); }
.avail-switch.is-on .avail-switch__track { background: #2fd47a; }
.avail-switch.is-on .avail-switch__track span { transform: translateX(18px); }
.chat-online::before { display: none; }
@media (max-width: 760px) { .chat-avail-box { justify-items: start; text-align: left; } }

/* Pokalbis matomas tik kai yra kas atsako (arba lankytojas jau rašė); kitaip – skambučio mygtukas */
.chat:not(.is-available) { display: none; }
.chat.is-available ~ .call-fab { display: none !important; }
.listing-bar__btn--chat { display: none !important; }
body.chat-avail .listing-bar__btn--chat { display: inline-flex !important; }
/* Vartotojų sąrašas: aktyvumas ir pokalbiai */
.u-activity { min-width: 190px; }
.u-act, .u-chat { display: flex; align-items: center; gap: 7px; font-size: .84rem; color: var(--muted); }
.u-act { font-weight: 600; margin-bottom: 4px; }
.u-act__dot { width: 9px; height: 9px; border-radius: 50%; background: #c3c7ce; flex: none; }
.u-act.is-on { color: var(--ink); }
.u-act.is-on .u-act__dot { background: #2fd47a; box-shadow: 0 0 0 3px rgba(47,212,122,.2); }
.u-chat .ico { width: 15px; height: 15px; }
.u-chat--on { color: var(--green); font-weight: 600; }
.u-chat--idle { color: #b7791f; }
.u-chat__off { margin-top: 4px; }
.u-chat__off .link-btn { font-size: .8rem; }

/* Darbuotojams – kompaktiškas meniu antraštėje: [Admin | užklausos | pokalbiai] */
.staff-pill { display: inline-flex !important; align-items: center; gap: 2px; padding: 3px; border-radius: 14px; background: var(--dark); flex-direction: row !important; }
.staff-pill__a { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 11px; color: rgba(255,255,255,.82) !important; text-decoration: none; font-weight: 700; font-size: .86rem; transition: background .15s, color .15s; }
.staff-pill__a:hover { background: rgba(255,255,255,.12); color: #fff !important; }
.staff-pill__a .ico { width: 18px; height: 18px; }
.staff-pill__admin { color: #fff !important; }
.staff-pill__a.has-new { background: var(--red); color: #fff !important; }
.staff-pill__n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #fff; color: var(--red); font-size: .72rem; display: inline-grid; place-items: center; }
.staff-pill__n[hidden] { display: none; }
.staff-pill__a.ring .ico { animation: inbox-ring .9s ease 2; transform-origin: 50% 10%; }
[data-theme="dark"] .staff-pill { background: var(--soft); }
@media (min-width: 1081px) {
    .site-header.has-user .header-phone { display: none !important; }
    .header-inbox.header-chat.has-new { display: none; }
}
@media (min-width: 1081px) and (max-width: 1300px) {
    .staff-pill__admin span { display: none; }
}
/* staff-pill: stipresni selektoriai, kad nenusileistų bendram .main-nav a:hover (baltas fonas) */
.main-nav .staff-pill .staff-pill__a { height: 36px; padding: 0 10px; gap: 6px; font-size: .86rem; font-weight: 700; color: rgba(255,255,255,.82); background: transparent; }
.main-nav .staff-pill .staff-pill__admin { color: #fff; }
.main-nav .staff-pill .staff-pill__a:hover, .main-nav .staff-pill .staff-pill__a:focus-visible { background: rgba(255,255,255,.14); color: #fff; }
.main-nav .staff-pill .staff-pill__a.has-new { background: var(--red); color: #fff; }
.main-nav .staff-pill .staff-pill__a.has-new:hover { background: #b81d1d; color: #fff; }

.chat-end { all: unset; cursor: pointer; color: var(--muted); text-decoration: underline; }
.chat-end:hover { color: var(--red); }
[data-chat-end-wrap][hidden] { display: none; }

/* ---------- Administravimo meniu (modernesnis) ---------- */
.dash-nav__me, .dash-nav__label { display: none; }
.mini-switch { display: none; }
.dash-nav__ico { display: inline-grid; place-items: center; flex: none; }
.dash-nav__ttext { display: grid; line-height: 1.2; text-align: left; }
.dash-nav__ttext small { font-weight: 500; font-size: .76rem; color: var(--muted); }
.dash-nav__status { display: contents; }
@media (min-width: 901px) {
    .dash { grid-template-columns: 252px 1fr; }
    .dash-nav { padding: 12px; gap: 2px; border-radius: 22px; box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; }
    .dash-nav__me { display: flex; align-items: center; gap: 11px; padding: 6px 6px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
    .dash-nav__avatar { position: relative; width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, var(--red), #8f1212); color: #fff; font-weight: 800; font-size: .95rem; display: grid; place-items: center; flex: none; letter-spacing: .02em; }
    .dash-nav__avatar::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; border-radius: 50%; background: #b8bcc4; border: 2.5px solid var(--card); transition: background .2s; }
    .dash-nav__avatar.is-on::after { background: #2fd47a; }
    .dash-nav__who { display: grid; min-width: 0; line-height: 1.25; }
    .dash-nav__who strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .95rem; }
    .dash-nav__who small { color: var(--muted); font-size: .78rem; }
    .dash-nav a.dash-nav__cta { justify-content: center; background: var(--red); color: #fff; margin: 6px 0 8px; padding: 11px 12px; box-shadow: 0 6px 16px rgba(215,35,35,.25); }
    .dash-nav a.dash-nav__cta:hover { background: #b81d1d; }
    .dash-nav a.dash-nav__cta.active { background: #b81d1d; }
    .dash-nav__label { display: block; padding: 12px 12px 4px; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
    .dash-nav a { position: relative; padding: 9px 12px; font-size: .93rem; color: var(--text, var(--ink)); transition: background .15s, color .15s; }
    .dash-nav a .dash-nav__ico { width: 30px; height: 30px; border-radius: 9px; background: var(--bg); color: var(--muted); transition: background .15s, color .15s; }
    .dash-nav a .dash-nav__ico .ico { width: 17px; height: 17px; }
    .dash-nav a:hover { background: var(--bg); }
    .dash-nav a:hover .dash-nav__ico { background: var(--card); color: var(--ink); }
    .dash-nav a.active { background: var(--red-soft); color: var(--red); }
    .dash-nav a.active .dash-nav__ico { background: var(--red); color: #fff; }
    .dash-nav a.active::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--red); }
    .dash-nav__sep { display: none; }
    .dash-nav__status { display: grid; gap: 6px; margin-top: 12px; padding: 10px; border-radius: 16px; background: var(--bg); }
    .dash-nav__toggle { display: flex !important; align-items: center; gap: 10px; padding: 8px !important; border-radius: 12px !important; color: var(--ink) !important; background: var(--card) !important; border: 1px solid var(--line) !important; }
    .dash-nav__toggle:hover { border-color: #cfd3da !important; }
    .dash-nav__toggle .dash-nav__ico { width: 30px; height: 30px; border-radius: 9px; background: var(--bg); color: var(--muted); }
    .dash-nav__toggle .dash-nav__ico .ico { width: 16px; height: 16px; }
    .dash-nav__toggle.is-on .dash-nav__ico { background: var(--green-soft); color: var(--green); }
    .dash-nav__toggle .dash-nav__ttext { flex: 1; }
    .dash-nav__toggle .dash-nav__ttext b { font-size: .88rem; }
    .dash-nav__toggle.is-on .dash-nav__ttext small { color: var(--green); }
    .dash-nav__toggle .avail-dot { display: none; }
    .mini-switch { display: block; position: relative; width: 36px; height: 21px; border-radius: 999px; background: #cfd3da; flex: none; transition: background .18s; }
    .mini-switch::after { content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s; }
    .dash-nav__toggle.is-on .mini-switch { background: #2fd47a; }
    .dash-nav__toggle.is-on .mini-switch::after { transform: translateX(15px); }
    .dash-nav__logout { margin-top: 6px; padding: 9px 12px !important; font-size: .9rem; }
    .dash-nav__logout .dash-nav__ico { width: 30px; height: 30px; }
    .dash-nav__logout:hover { color: var(--red) !important; background: var(--red-soft) !important; }
    [data-theme="dark"] .dash-nav a .dash-nav__ico, [data-theme="dark"] .dash-nav__toggle .dash-nav__ico { background: var(--soft); }
    [data-theme="dark"] .dash-nav a.active .dash-nav__ico { background: var(--red); }
    [data-theme="dark"] .dash-nav__status { background: rgba(255,255,255,.03); }
    [data-theme="dark"] .mini-switch { background: #3a3d45; }
}
@media (max-width: 900px) {
    .dash-nav__ttext { text-align: center; }
    .dash-nav__ttext small { font-size: .66rem; }
    .dash-nav__toggle.is-on { color: var(--green); }
}
@media (min-width: 901px) {
    .dash-nav a.dash-nav__cta .dash-nav__ico { width: 24px; height: 24px; background: rgba(255,255,255,.2) !important; color: #fff !important; border-radius: 8px; }
    .dash-nav a.dash-nav__cta::before { display: none; }
}

/* ---------- Skelbimų vaizdas: dideli / maži / sąrašas ---------- */
.view-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.view-switch button { all: unset; box-sizing: border-box; width: 34px; height: 32px; display: grid; place-items: center; border-radius: 9px; cursor: pointer; color: var(--muted); }
.view-switch button .ico { width: 17px; height: 17px; }
.view-switch button:hover { color: var(--ink); background: var(--bg); }
.view-switch button:focus-visible { outline: 3px solid rgba(215,35,35,.4); }
body:not(.view-small):not(.view-list) .view-switch [data-view="grid"], body.view-small .view-switch [data-view="small"], body.view-list .view-switch [data-view="list"] { background: var(--dark); color: #fff; }
[data-theme="dark"] body:not(.view-small):not(.view-list) .view-switch [data-view="grid"], [data-theme="dark"] body.view-small .view-switch [data-view="small"], [data-theme="dark"] body.view-list .view-switch [data-view="list"] { background: var(--red); }
.car__more, .car__monthly, .car__more-btn { display: none; }
/* Maži */
body.view-small .listings-layout .grid-cars { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 14px; }
body.view-small .listings-layout .car__body { padding: 11px 12px 13px; gap: 7px; }
body.view-small .listings-layout .car__title { font-size: .95rem; }
body.view-small .listings-layout .car__specs li { font-size: .72rem; padding: 2px 7px; }
body.view-small .listings-layout .car__specs li:nth-child(n+4) { display: none; }
body.view-small .listings-layout .car__price { font-size: 1.1rem; }
body.view-small .listings-layout .car__foot { padding-top: 8px; }
body.view-small .listings-layout .car__badge { font-size: .65rem; padding: 3px 8px; }
/* Sąrašas */
body.view-list .listings-layout .grid-cars { grid-template-columns: 1fr; gap: 14px; }
body.view-list .listings-layout .car { flex-direction: row; }
body.view-list .listings-layout .car__img { width: 300px; flex: none; aspect-ratio: 4 / 3; }
body.view-list .listings-layout .car__body { padding: 16px 20px; gap: 8px; min-width: 0; }
body.view-list .listings-layout .car__title { font-size: 1.2rem; }
body.view-list .listings-layout .car__more { display: grid; gap: 8px; }
body.view-list .listings-layout .car__feats { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .85rem; color: var(--green); font-weight: 600; }
body.view-list .listings-layout .car__feats .ico { width: 15px; height: 15px; flex: none; }
body.view-list .listings-layout .car__desc { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.view-list .listings-layout .car__foot { justify-content: flex-start; gap: 14px; }
body.view-list .listings-layout .car__monthly { display: inline; color: var(--green); font-weight: 700; font-size: .9rem; }
body.view-list .listings-layout .car__more-btn { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 700; color: var(--red); font-size: .92rem; }
body.view-list .listings-layout .car__more-btn .ico { width: 16px; height: 16px; }
@media (max-width: 760px) {
    body.view-small .listings-layout .grid-cars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    body.view-list .listings-layout .car__img { width: 128px; aspect-ratio: auto; }
    body.view-list .listings-layout .car__body { padding: 10px 12px; gap: 6px; }
    body.view-list .listings-layout .car__title { font-size: 1rem; }
    body.view-list .listings-layout .car__desc, body.view-list .listings-layout .car__feats, body.view-list .listings-layout .car__more-btn, body.view-list .listings-layout .car__specs--more { display: none; }
    body.view-list .listings-layout .car__specs li:nth-child(n+4) { display: none; }
    body.view-list .listings-layout .car__specs li { font-size: .72rem; padding: 2px 7px; }
    body.view-list .listings-layout .car__price { font-size: 1.1rem; }
    body.view-list .listings-layout .car__foot { flex-wrap: wrap; gap: 4px 10px; padding-top: 8px; }
    body.view-list .listings-layout .car__monthly { font-size: .78rem; }
    .view-switch button { width: 30px; height: 30px; }
}
body.view-small .listings-layout .car__badge--new { display: none; }

/* Kompaktiškas sąrašas – maža nuotrauka, viena eilutė informacijos */
body.view-compact .listings-layout .grid-cars { grid-template-columns: 1fr; gap: 8px; }
body.view-compact .listings-layout .car { flex-direction: row; align-items: stretch; border-radius: 14px; }
body.view-compact .listings-layout .car:hover { transform: none; }
body.view-compact .listings-layout .car__img { width: 120px; flex: none; aspect-ratio: 4 / 3; }
body.view-compact .listings-layout .car__badges, body.view-compact .listings-layout .car__photos, body.view-compact .listings-layout .car__leasing, body.view-compact .listings-layout .fav-btn { display: none; }
body.view-compact .listings-layout .sold-stamp { transform: translate(-50%, -50%) rotate(-12deg) scale(.55); }
body.view-compact .listings-layout .car__body { padding: 8px 12px; gap: 3px; min-width: 0; justify-content: center; }
body.view-compact .listings-layout .car__title { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.view-compact .listings-layout .car__specs { gap: 0; flex-wrap: nowrap; overflow: hidden; }
body.view-compact .listings-layout .car__specs li { background: none; padding: 0; font-size: .78rem; color: var(--muted); white-space: nowrap; }
body.view-compact .listings-layout .car__specs li + li::before { content: "·"; margin: 0 5px; }
body.view-compact .listings-layout .car__specs li:nth-child(n+5) { display: none; }
body.view-compact .listings-layout .car__more { display: none; }
body.view-compact .listings-layout .car__foot { border: 0; padding: 0; margin-top: 2px; gap: 10px; justify-content: flex-start; }
body.view-compact .listings-layout .car__price { font-size: 1.05rem; }
body.view-compact .listings-layout .car__monthly { display: inline; font-size: .76rem; font-weight: 700; color: var(--green); }
@media (min-width: 761px) {
    body.view-compact .listings-layout .car__img { width: 150px; }
    body.view-compact .listings-layout .car__body { padding: 10px 18px; }
}
/* Telefone: viršuje [Filtrai][Rikiavimas], vaizdo pasirinkimas – prie „Rasta“ */
.view-switch--m { display: none; }
@media (max-width: 900px) {
    .results__head { display: grid; grid-template-columns: 1fr; gap: 10px; }
    .results__head > div:first-child { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; }
    .results__head > div:first-child h1 { grid-column: 1 / -1; }
    .view-switch--m { display: inline-flex; }
    .toolbar__right .view-switch { display: none; }
    .toolbar__right { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
    .toolbar__right .filters-toggle { height: 42px; }
    .toolbar__right .cselect--sort-select, .toolbar__right .sort-select { min-width: 0; width: 100%; }
    .view-switch [data-view="small"] { display: none; }
    body.view-small .view-switch [data-view="grid"] { background: var(--dark); color: #fff; }
}
body.view-compact .view-switch [data-view="grid"] { background: transparent; color: var(--muted); }
body.view-compact .view-switch [data-view="compact"] { background: var(--dark); color: #fff; }
[data-theme="dark"] body.view-compact .view-switch [data-view="compact"] { background: var(--red); }
[data-theme="dark"] body.view-compact .view-switch [data-view="grid"] { background: transparent; }
body.view-compact .view-switch [data-view="grid"] { background: transparent !important; color: var(--muted) !important; }

/* Vartotojų lentelė – kompaktiška */
.table--users td { vertical-align: top; }
.u-main small, .u-role small { display: block; margin-top: 3px; color: var(--muted); font-size: .8rem; }
.u-main strong { display: block; }
.u-main a { color: inherit; }
.u-actions-h { text-align: right; }
.u-btns { display: flex; gap: 6px; justify-content: flex-end; }
.u-btns form { margin: 0; }
.u-btn { all: unset; box-sizing: border-box; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; border: 1px solid var(--line); background: var(--card); color: var(--muted); }
.u-btn .ico { width: 16px; height: 16px; }
.u-btn:hover { color: var(--ink); border-color: #c9cdd4; background: var(--bg); }
.u-btn.is-on { color: var(--green); }
.u-btn--danger:hover { color: #fff; background: var(--red); border-color: var(--red); }
@media (max-width: 900px) {
    .table--users tr { grid-template-columns: minmax(0, 1fr) auto !important; }
    .table--users td.u-main { grid-column: 1 !important; grid-row: 1 !important; min-width: 0; }
    .table--users td.u-role { grid-column: 2 !important; grid-row: 1 !important; text-align: right !important; }
    .table--users td.u-activity { grid-column: 1 / -1 !important; grid-row: 2 !important; display: block !important; }
    .table--users td.u-actions { grid-column: 1 / -1 !important; grid-row: 3 !important; display: block !important; text-align: left !important; }
    .table--users td::before { content: none !important; }
    .u-btns { justify-content: flex-start; }
}


/* =========================================================
   Kompaktiškesnis, ramesnis dizainas (2026-10): mažiau tuščios vietos,
   mažesni tarpai ir antraštės, tvarkingesnės kortelės.
   ========================================================= */
:root { --radius: 14px; --shadow: 0 1px 2px rgba(16,18,24,.04), 0 4px 16px rgba(16,18,24,.06); --shadow-lg: 0 10px 30px rgba(16,18,24,.12); }
h1 { font-size: clamp(1.75rem, 3.6vw, 2.8rem); }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.015em; }
.section { padding: clamp(36px, 5vw, 60px) 0; }
.section--tight { padding: clamp(28px, 4vw, 44px) 0 0; }
.section--tight + .section--white { margin-top: clamp(32px, 4vw, 52px); }
.section-head { margin-bottom: 16px; }
.eyebrow { font-size: .7rem; margin-bottom: 4px; }

/* Automobilių kortelės */
.grid-cars { gap: 16px; }
.listings-layout .grid-cars { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.car:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.car__body { padding: 12px 14px 14px; gap: 8px; }
.car__title { font-size: 1.02rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car__specs { flex-wrap: nowrap; overflow: hidden; gap: 0; }
.car__specs li { background: none; padding: 0; font-size: .8rem; color: var(--muted); white-space: nowrap; border-radius: 0; }
.car__specs li + li::before { content: "·"; margin: 0 6px; color: #b7bbc3; }
.car__specs li:nth-child(n+5) { display: none; }
.car__foot { padding-top: 10px; }
.car__price { font-size: 1.2rem; }
.car__badge { font-size: .66rem; padding: 3px 8px; }
body.view-list .listings-layout .car__specs { flex-wrap: wrap; row-gap: 4px; }
body.view-list .listings-layout .car__specs li:nth-child(n+5) { display: list-item; }
body.view-list .listings-layout .car__specs--more li::before { content: "·"; margin: 0 6px; color: #b7bbc3; }
body.view-list .listings-layout .car__specs--more li:first-child::before { content: none; }

/* Skelbimo puslapis */
.card { padding: clamp(16px, 2.2vw, 22px); }
.card h2, .card > h2 { font-size: 1.15rem; margin-bottom: 12px; }
.spec-table th, .spec-table td { padding: 8px 0; font-size: .92rem; }
@media (min-width: 761px) {
    .spec-table tbody { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
    .spec-table tr { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line-2); }
    .spec-table th, .spec-table td { border: 0; width: auto; }
    .spec-table td { text-align: right; }
}

/* Paslaugos, kategorijos, CTA, poraštė */
.service { padding: 20px; }
.services { gap: 14px; }
.body-tile { padding: 14px; }
.cta-band { border-radius: 18px; padding: clamp(22px, 3.5vw, 36px); }
.site-footer h3, .site-footer h4 { font-size: .9rem; }
.car__specs li:nth-child(n+4) { display: none; }
body.view-small .listings-layout .car__specs li:nth-child(n+3) { display: none; }
@media (max-width: 760px) {
    .car__badge--star { font-size: 0; padding: 3px 6px; }
    .grid-cars:not(.grid-cars--featured) .car__specs li:nth-child(n+3) { display: none; }
    body.view-list .listings-layout .car__specs li:nth-child(n+3), body.view-compact .listings-layout .car__specs li:nth-child(n+3) { display: list-item; }
    body.view-compact .listings-layout .car__specs li:nth-child(n+5) { display: none; }
    .car__title { font-size: .95rem; }
    .car__price { font-size: 1.08rem; }
}
/* Lankomumo grafikas telefone: stulpeliai pakankamo pločio, slenkama į šonus (rodoma nuo naujausios dienos) */
@media (max-width: 760px) {
    .stats-chart { align-self: start; }
    .vbars--many { grid-template-columns: repeat(var(--n), 26px); gap: 4px; height: 200px; overflow-x: auto; overflow-y: hidden; padding-bottom: 6px; scrollbar-width: thin; }
    .vbars--many .vbars__n { display: block; font-size: .6rem; }
    .vbars--many .vbars__d, .vbars--many .vbars__d br { font-size: .6rem; }
    .vbars--many .vbars__col:nth-child(even) .vbars__d { visibility: visible; }
    .vbars--many .vbars__u { width: 70%; }
}

/* ---------- Logotipas (kodu): „SIŪLYKAUTO“ + raudonas „365“ žymuo ---------- */
.logo, .m-menu__logo, .site-footer__brand { text-decoration: none; display: inline-flex; }
.brand { display: inline-flex; align-items: center; gap: 9px; line-height: 1; color: var(--ink); white-space: nowrap; }
.brand__name { font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -.045em; font-size: 26px; }
.brand__tag { display: inline-block; font-weight: 800; font-style: italic; font-size: 20px; letter-spacing: -.02em; color: #fff; background: var(--red); padding: 5px 10px 5px 8px; border-radius: 4px; transform: skewX(-12deg); }
.brand__tag span { display: inline-block; transform: skewX(12deg); }
.site-header.is-scrolled .brand__name { font-size: 23px; }
.site-header.is-scrolled .brand__tag { font-size: 18px; padding: 4px 9px 4px 7px; }
.m-menu__logo .brand__name { font-size: 20px; }
.m-menu__logo .brand__tag { font-size: 15.5px; padding: 4px 8px 4px 6px; }
.site-footer__brand { margin-bottom: 16px; }
.site-footer__brand .brand { color: #fff; }
@media (max-width: 640px) {
    .brand { gap: 7px; }
    .brand__name, .site-header.is-scrolled .brand__name { font-size: 20px; }
    .brand__tag, .site-header.is-scrolled .brand__tag { font-size: 15.5px; padding: 4px 8px 4px 6px; }
}
@media (max-width: 360px) { .brand__name, .site-header.is-scrolled .brand__name { font-size: 17px; } .brand__tag { font-size: 13.5px; } }

/* Telefone paspaudus nebelieka mėlyno naršyklės paryškinimo / rėmelio (klaviatūros fokusas lieka matomas) */
html { -webkit-tap-highlight-color: transparent; }
a, button, input, select, textarea, label, summary, [role="button"], [tabindex] { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }
a:active, button:active, [role="button"]:active { opacity: .85; }

/* ---------- Patarimai (straipsniai) ---------- */
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.article-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.article-card h2 { font-size: 1.15rem; margin: 0; color: var(--ink); }
.article-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.article-card__meta { font-size: .78rem; color: var(--muted); font-weight: 600; }
.article-card__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; font-size: .9rem; }
.article-card__more .ico { width: 16px; height: 16px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.article { max-width: 720px; }
.article h2 { font-size: 1.3rem; margin-top: 1.6em; }
.article li { margin-bottom: 6px; }
.article__meta { margin-top: 0; }
.article-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.article-aside h3 { margin-top: 0; }
.article-aside__list { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.article-aside__list a { color: var(--ink); }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

/* ---------- Veiksmų žurnalas ---------- */
.log-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.log-filter select { min-width: 220px; }
.log { padding: 8px 18px 14px; }
.log__day { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 0 6px; }
.log__row { display: grid; grid-template-columns: 30px 48px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 9px 0; border-top: 1px solid var(--line-2); font-size: .92rem; }
.log__ico { width: 30px; height: 30px; border-radius: 9px; background: var(--bg); color: var(--muted); display: grid; place-items: center; }
.log__ico .ico { width: 15px; height: 15px; }
.log__row.is-danger .log__ico { background: var(--red-soft); color: var(--red); }
.log__time { color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 5px; }
.log__text { padding-top: 5px; line-height: 1.45; }
.log__target { font-weight: 600; }
.log__text small { display: block; color: var(--muted); font-size: .82rem; }
.log__ip { color: var(--muted); font-size: .78rem; padding-top: 7px; }
@media (max-width: 760px) { .log__row { grid-template-columns: 30px minmax(0, 1fr); } .log__time { display: none; } .log__ip { grid-column: 2; padding-top: 0; } }
.log-filter .cselect { width: auto; min-width: 230px; }
@media (max-width: 760px) { .log-filter .cselect { width: 100%; } }
