/* =========================
   BASE
========================= */
* {
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
    user-select: none !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
    background: #f5f6f8;
    color: #000000;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ð•Ð´Ð¸Ð½Ð°Ñ Ð»Ð¸Ð½Ð¸Ñ ÐºÑ€Ð°Ñ‘Ð²: ÑˆÐ°Ð¿ÐºÐ° Ð¸ Ð¼ÐµÐ½ÑŽ Ð±Ñ‹ÑÑ‚Ñ€Ñ‹Ñ… ÑÑÑ‹Ð»Ð¾Ðº */
.header-top-inner.container,
.quick-links-carousel > .container {
    padding-left: 20px;
    padding-right: 20px;
}

/* =========================
   HEADER â€” ÐÐžÐ’ÐÐ¯ ÐÐ”ÐÐŸÐ¢Ð˜Ð’ÐÐÐ¯ Ð¨ÐÐŸÐšÐ
========================= */

.header {
    position: relative;
    z-index: 1000;
    background: #f3f7f8;
    /* border-bottom: 1px solid #c1c1c1; */
    /* box-shadow: 0 16px 16px rgba(2, 56, 35, 0.08); */
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    gap: 16px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.header-contacts {
    display: none;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

/* LOGO */
.header-logo-link {
    display: inline-flex;
    align-items: center;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.header-logo-link:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.header-logo-img {
    display: block;
    height: 20px;
    width: auto;
}

/* NAV */
.header-nav {
    display: none;
}

.header-calculator-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #dbe3e2;
    color: #023823;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.header-calculator-btn:hover {
    background: #cfdad8;
    transform: translateY(-1px);
}

.header-calculator-icon svg {
    display: block;
}

.header-calculator-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%) translateY(4px);
    opacity: 0;
    pointer-events: none;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 7px 10px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 30;
}

.header-calculator-btn::before {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(100% + 4px);
    transform: translateX(-50%) translateY(4px);
    opacity: 0;
    pointer-events: none;
    border: 6px solid transparent;
    border-bottom-color: #0f172a;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 29;
}

@media (hover: hover) and (pointer: fine) {
    .header-calculator-btn:hover::after,
    .header-calculator-btn:hover::before {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.header-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu li {
    position: relative;
}

.header-menu a {
    font-size: 14px;
    font-weight: 500;
    color: #023823;
    padding: 6px 0;
    display: inline-block;
}

.header-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #023823;
    transition: width 0.2s ease;
}

.header-menu a:hover::after {
    width: 100%;
}

/* RATES */
.header-rates {
    display: none;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Ð§Ð¸Ð¿Ñ‹ ÐºÑƒÑ€ÑÐ¾Ð²: ÑÐ²ÐµÑ‚Ð»Ñ‹Ð¹ Ñ„Ð¾Ð½, Ñ‚Ñ‘Ð¼Ð½Ð¾-Ð·ÐµÐ»Ñ‘Ð½Ñ‹Ð¹ Â«Ð»ÐµÐ¹Ð±Ð»Â», Ñ‡Ñ‘Ñ€Ð½Ñ‹Ðµ Ñ†Ð¸Ñ„Ñ€Ñ‹ (ÐºÐ°Ðº Ð½Ð° Ð¼Ð°ÐºÐµÑ‚Ðµ) */
.header-rates .rate {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #dee4e4;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.2;
    transition: background 0.2s ease;
}

.header-rates .rate:hover {
    background: #d4dcda;
}

.header-rates .label {
    color: #0c2d27;
    font-weight: 600;
}

.header-rates .value {
    font-weight: 700;
    color: #000000;
}

/* Ð¢ÐµÐ»ÐµÑ„Ð¾Ð½ Ð¸ WhatsApp â€” Ñ‚Ðµ Ð¶Ðµ Ñ‡Ð¸Ð¿Ñ‹ */
.header-phone,
.header-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #dbe3e2;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    color: #000000;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    border-radius: 8px;
}

.header-phone:hover,
.header-whatsapp:hover {
    background: #d4dcda;
    color: #000000;
}

.header-phone .header-phone-number {
    font-weight: 700;
    color: #000000;
}

.header-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0c2d27;
}

.header-contact-icon svg {
    display: block;
    width: 15px;
    height: 15px;
}

/* BURGER */
.burger {
    display: inline-flex;
    width: 26px;
    height: 18px;
    margin-left: 8px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #0f172a;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* DESKTOP â‰¥ 1024px */
@media (min-width: 1024px) {
    .header-top-inner {
        /* height: 21px; */
        gap: 24px;
    }
    .header-left {
        gap: 24px;
        margin-left: 3px;
    }
    .header-logo-img {
        height: 22px;
    }
    .header-nav {
        display: block;
    }
    .burger {
        display: none;
    }
    .header-rates {
        display: flex;
    }
    .header-contacts {
        display: flex;
    }
}

/* TABLET â‰¥ 768px */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .header-top-inner {
        height: 64px;
        gap: 20px;
    }
    .header-logo-img {
        height: 20px;
    }
    .header-rates {
        display: flex;
    }
}

/* SMALL PHONES */
@media (max-width: 480px) {
    .header-top-inner {
        height: 52px;
        gap: 20px;
    }
    .header-logo-img {
        height: 18px;
    }
}

/* MOBILE < 768px â€” Ð»Ð¾Ð³Ð¾Ñ‚Ð¸Ð¿ Ð¸ ÐºÑƒÑ€ÑÑ‹ Ð¿Ð¾ Ñ†ÐµÐ½Ñ‚Ñ€Ñƒ Ð² Ð´Ð²Ðµ ÑÑ‚Ñ€Ð¾ÐºÐ¸ */
@media (max-width: 767.98px) {
    .header-top-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        padding: 30px 20px;
        gap: 20px;
    }
    .header-left {
        position: relative;
        width: 100%;
        justify-content: center;
    }
    .header-logo-link {
        margin: 0 auto;
    }
    .header-logo-img {
        height: 18px;
    }
    .header-calculator-btn {
        position: absolute;
        right: 42px;
        top: 50%;
        transform: translateY(-50%);
    }
    .header-calculator-btn:hover {
        transform: translateY(-50%);
        background: #cfdad8;
    }
    .burger {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .header-rates {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        flex-shrink: 0;
        width: 100%;
    }
    .header-contacts {
        display: none;
    }
}

.calculator-page {
    padding: 32px 0 56px;
}

.calculator-shell {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
}

/* =========================
   MOBILE MENU
========================= */

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: flex-end;
    padding: 0 12px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-panel {
    width: min(360px, 100%);
    max-width: 360px;
    background: #ffffff;
    padding: 20px 20px 24px;
    border-radius: 18px 0 0 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mobile-menu-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.mobile-menu-close {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: none;
    background: #f1f5f9;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mobile-menu-close span {
    position: absolute;
    width: 14px;
    height: 2px;
    background: #0f172a;
    border-radius: 999px;
}

.mobile-menu-close span:first-child {
    transform: rotate(45deg);
}

.mobile-menu-close span:last-child {
    transform: rotate(-45deg);
}

.mobile-menu-nav {
    margin: 12px 0 20px;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list li {
    margin-bottom: 18px;
}

.mobile-menu-list a {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.mobile-contacts {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-contacts a {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

@media (max-width: 480px) {
    .mobile-menu-panel {
        width: 100%;
        border-radius: 0;
    }
}

/* ÐšÑƒÑ€ÑÑ‹ Ð²Ð°Ð»ÑŽÑ‚ â€” Ð¿Ð¾ Ñ†ÐµÐ½Ñ‚Ñ€Ñƒ, Ð¾Ð´Ð¸Ð½Ð°ÐºÐ¾Ð²Ñ‹Ðµ Ð¾Ñ‚ÑÑ‚ÑƒÐ¿Ñ‹ Ñ Ð±Ð»Ð¾ÐºÐ°Ð¼Ð¸ Ð¿Ð¾ Ð±Ð¾ÐºÐ°Ð¼ */
.header-rates {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.header-rates-title {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 4px;
}

.header-rates .rate {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #0238231a;
    border-radius: 8px;
    font-size: 13px;
}

.header-rates .label {
    color: #023823;
    font-weight: 600;
}

.header-rates .value {
    font-weight: 700;
    color: #000000;
}
/* =========================
   CATALOG LAYOUT
========================= */

.catalog {
    /* padding: 32px 0 60px; */
    background: #f5f6f8;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 12px;
}

/* =========================
   FILTERS
========================= */

.catalog-filters {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    height: fit-content;
}

.filter-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #475569;
}

.filter-select-wrap {
    position: relative;
    display: block;
    width: 100%;
}

/* ÐšÐ°ÑÑ‚Ð¾Ð¼Ð½Ð°Ñ ÑÑ‚Ñ€ÐµÐ»ÐºÐ° Ð²Ð¼ÐµÑÑ‚Ð¾ ÑÐ¸ÑÑ‚ÐµÐ¼Ð½Ð¾Ð¹ */
.filter-select-wrap::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9.5 12 15.5 18 9.5' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / 22px 22px no-repeat;
    opacity: 0.92;
}

.filter-select-wrap:has(select:disabled)::after {
    opacity: 0.38;
}

.filter-group select {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
}

.filter-select-wrap select {
    width: 100%;
    padding-right: 44px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    cursor: pointer;
}
.filter-group input {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
}

/* Ð¤Ð¾ÐºÑƒÑ: Ñ‚Ñ‘Ð¼Ð½Ð¾-Ð·ÐµÐ»Ñ‘Ð½Ñ‹Ð¹ Ð²Ð¼ÐµÑÑ‚Ð¾ ÑÐ¸ÑÑ‚ÐµÐ¼Ð½Ð¾Ð³Ð¾ Ð³Ð¾Ð»ÑƒÐ±Ð¾Ð³Ð¾ (Chrome / Safari / Ð¼Ð¾Ð±.) */
.filter-group select:focus,
.filter-group select:focus-visible,
.filter-group input:focus,
.filter-group input:focus-visible {
    outline: none;
    border-color: #023823;
    box-shadow: 0 0 0 3px rgba(2, 56, 35, 0.22);
}

.filter-btn {
    width: 100%;
    height: 44px;
    margin-top: 12px;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* ÐšÐ°ÑÑ‚Ð¾Ð¼Ð½Ñ‹Ð¹ dropdown Ñ„Ð¸Ð»ÑŒÑ‚Ñ€Ð°: Ð·ÐµÐ»Ñ‘Ð½Ð¾Ðµ Ð²Ñ‹Ð´ÐµÐ»ÐµÐ½Ð¸Ðµ Ð²Ð¼ÐµÑÑ‚Ð¾ ÑÐ¸ÑÑ‚ÐµÐ¼Ð½Ð¾Ð³Ð¾ Ð³Ð¾Ð»ÑƒÐ±Ð¾Ð³Ð¾ */
.filter-select-wrap.bers-cs::after {
    display: none;
}

.filter-select-wrap.bers-cs select.bers-cs-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    pointer-events: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.filter-select-wrap.bers-cs .bers-cs-ui {
    position: relative;
    display: block;
    width: 100%;
}

.filter-select-wrap.bers-cs .bers-cs-trigger {
    width: 100%;
    height: 40px;
    padding: 0 44px 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    text-align: left;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    position: relative;
    font-family: inherit;
}

.filter-select-wrap.bers-cs .bers-cs-trigger::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9.5 12 15.5 18 9.5' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / 22px 22px no-repeat;
    opacity: 0.92;
}

.filter-select-wrap.bers-cs .bers-cs-trigger:focus,
.filter-select-wrap.bers-cs .bers-cs-trigger:focus-visible {
    outline: none;
    border-color: #023823;
    /* box-shadow: 0 0 0 3px rgba(2, 56, 35, 0.22); */
}

.filter-select-wrap.bers-cs.is-disabled .bers-cs-trigger {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f8fafc;
    color: #94a3b8;
}

.filter-select-wrap.bers-cs .bers-cs-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 200;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    max-height: min(50vh, 320px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
}

.filter-select-wrap.bers-cs .bers-cs-panel li[role="option"] {
    padding: 10px 14px;
    font-size: 14px;
    cursor: pointer;
    color: #0f172a;
}

.filter-select-wrap.bers-cs .bers-cs-panel li[role="option"]:hover {
    background: rgba(2, 56, 35, 0.1);
}

.filter-select-wrap.bers-cs .bers-cs-panel li[role="option"][aria-selected="true"] {
    background: #023823;
    color: #fff;
}

.filter-select-wrap.bers-cs .bers-cs-panel li[role="option"][aria-selected="true"]:hover {
    background: #034a2e;
    color: #fff;
}

/* =========================
   CARS GRID
========================= */

.catalog-grid {
    display: grid;
    align-items: start;  
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.catalog-vehicle-count {
    grid-column: 1 / -1;
    margin: 0 0 0px;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.35;
    color: #0f172a;
}

.catalog-vehicle-count strong {
    font-weight: 700;
    color: #000000;
}

.catalog-vehicle-count__hint {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-filters {
        order: 2;
    }

    .catalog-content {
        order: 1;
    }
}
/* =========================
   CAR CARD (PAN-AUTO STYLE)
========================= */

.car-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.car-card:hover {
    /* Ð»Ñ‘Ð³ÐºÐ¸Ð¹ Ð°ÐºÑ†ÐµÐ½Ñ‚ Ð±ÐµÐ· Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ Ð³ÐµÐ¾Ð¼ÐµÑ‚Ñ€Ð¸Ð¸ */
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.car-card-link {
    display: block;
    height: 100%;
}

/* IMAGE */
.car-card-image {
    position: relative;
    width: 100%;
    background: #f1f5f9;
}

.car-card-image img {
    width: 100%;
    object-fit: cover;
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 14px;
    color: #64748b;
}

/* BODY */
.car-card-body {
    padding: 16px 16px 18px;
}

/* TITLE */
.car-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 6px;
    color: #0f172a;
}

/* META */
.car-card-meta {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}

/* SPECS (deprecated block removed; see updated styles below) */

/* PRICE */
.car-card-price {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

/* =========================
   SINGLE CAR (PAN-AUTO)
========================= */

.car-single {
    padding: 0px 0 12px;
}

.car-single-header {
    margin-bottom: 24px;
}

.car-single-title {
    font-size: 20px;
    font-weight: 800;
    color: #333333;
}

/* LAYOUT */
.car-single-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 12px;
    align-items: start;
}

/* GALLERY */
.car-single-gallery {
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.car-single-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.no-image {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

/* SIDEBAR */
.car-single-sidebar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
    position: sticky;
    top: 100px;
}

/* PRICE */
.car-single-price {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #001c11;
}

.car-single-updated {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 0;
}

.car-single-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    gap: 12px;
}

.car-single-actions {
    display: inline-flex;
    gap: 6px;
}

.car-single-action {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.car-single-action:hover {
    background: #023823;
    border-color: #023823;
    color: #ffffff;
}

.car-single-action--fav.is-active {
    background: #023823;
    border-color: #023823;
    color: #ffffff;
}

/* BUTTON */
.car-single-btn {
    display: block;
    text-align: center;
    background: #023823;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 24px;
}

/* SPECS */
.car-single-specs h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

.car-single-specs ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.car-single-specs li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #e5e7eb;
    font-size: 14px;
}

.car-single-specs span {
    color: #64748b;
}

.car-single-specs strong {
    font-weight: 600;
    text-align: right;
}

/* DESCRIPTION */
.car-single-description {
    margin-top: 48px;
}

.car-single-description h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .car-single-layout {
        grid-template-columns: 1fr;
    }

    .car-single-sidebar {
        position: static;
    }
}
.car-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.car-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
}

.car-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.car-slider-main img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 10px;
}

.car-slider-thumbs {
    margin-top: 12px;
}

.car-slider-thumbs img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: .6;
}

.car-slider-thumbs .swiper-slide-thumb-active img {
    opacity: 1;
    outline: 2px solid #0f172a;
}

@media (max-width: 768px) {
    .car-slider-main img {
        height: 320px;
    }

    .car-slider-thumbs {
        display: none;
    }
}

/* MAIN */
.car-slider-main {
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}

.car-slider-main img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

/* THUMBS */
.car-slider-thumbs {
    margin-top: 12px;
}

.car-slider-thumbs .swiper-slide {
    opacity: .6;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.car-slider-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    outline: 2px solid #0f172a;
}

.car-slider-thumbs img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

/* NAV */
.swiper-button-prev,
.swiper-button-next {
    color: #ffffff;
    width: 42px;
    height: 42px;
}

/* MOBILE */
@media (max-width: 768px) {
    .car-slider-main img {
        height: 320px;
    }

    .car-slider-thumbs {
        display: none;
    }
}
.car-slider-main,
.car-slider-main .swiper-wrapper,
.car-slider-main .swiper-slide {
    width: 100%;
}

.car-slider-main .swiper-slide {
    flex-shrink: 0;
}
.swiper-wrapper {
    display: flex !important;
}

.swiper-slide {
    flex-shrink: 0;
}
.swiper {
    width: 100%;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    display: block;
}
/* Ð£Ð±Ð¸Ñ€Ð°ÐµÐ¼ ÑÐ¸Ð½ÑŽÑŽ Ð¿Ð¾Ð´ÑÐ²ÐµÑ‚ÐºÑƒ Ð¿Ñ€Ð¸ ÐºÐ»Ð¸ÐºÐµ */
.swiper-button-prev,
.swiper-button-next,
.swiper {
    -webkit-tap-highlight-color: transparent; /* iOS / Chrome */
    outline: none;
    color: #ffffff;
}

/* Ð£Ð±Ð¸Ñ€Ð°ÐµÐ¼ focus-Ð¾Ð±Ð²Ð¾Ð´ÐºÑƒ */
.swiper-button-prev:focus,
.swiper-button-next:focus,
.swiper:focus {
    outline: none;
    box-shadow: none;
}
.swiper,
.swiper * {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    outline: none !important;
}
.car-slider-main .swiper-button-prev,
.car-slider-main .swiper-button-next {
    width: 42px;
    height: 42px;
    border-radius: 34px;
    background-color: rgb(2 56 35);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35px 36px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.car-slider-main .swiper-button-prev::after,
.car-slider-main .swiper-button-next::after {
    content: "";
}

.car-slider-main .swiper-button-prev {
    background-image: url('../Bersimport/svg/left.svg');
}

.car-slider-main .swiper-button-next {
    background-image: url('../Bersimport/svg/right.svg');
}

.car-slider-main .swiper-button-prev:hover,
.car-slider-main .swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
    /* transform: scale(1.03); */
}

.site-footer {
    /* margin-top: 56px; */
    /* padding: 30px 0 26px; */
    background: #f5f6f8;
    color: #0f172a;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 30px;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid #dbe5e1;
    border-radius: 18px;
    backdrop-filter: blur(2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.site-footer-title {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.site-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-list li + li {
    margin-top: 10px;
}

.site-footer-list a {
    color: #0f172a;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer-icon {
    width: 18px;
    height: 18px;
    color: #023823;
    opacity: 0.85;
    flex-shrink: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-footer-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.site-footer-list a:hover {
    color: #023823;
    transform: translateX(3px);
}

.site-footer-list a:hover .site-footer-icon {
    opacity: 1;
    transform: scale(1.08);
}

.site-footer-copy {
    margin: 18px 0 18px;
    padding-top: 16px;
    border-top: 1px solid #dbe5e1;
    font-size: 13px;
    color: #64748b;
    text-align: center;
}

@media (max-width: 767.98px) {
    .site-footer {
        margin-top: 42px;
        padding: 22px 0 18px;
    }
    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        border-radius: 14px;
        padding: 16px;
    }
}

/* Ð‘Ñ‹ÑÑ‚Ñ€Ñ‹Ðµ Ñ„Ð¸Ð»ÑŒÑ‚Ñ€Ñ‹ ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ð° (ÐºÐ¾Ð¼Ð¿Ð°ÐºÑ‚Ð½Ð¾ Ð½Ð°Ð´ ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ°Ð¼Ð¸ Ð°Ð²Ñ‚Ð¾Ð¼Ð¾Ð±Ð¸Ð»ÐµÐ¹) */
.catalog-quick-filter-bar {
    margin: 0 0 14px;
    padding: 0;
    background: transparent;
}

.catalog-quick-filter-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border: 1px solid rgba(2, 56, 35, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
}

.catalog-quick-filter-inner::-webkit-scrollbar {
    display: none;
}

.catalog-quick-filter-group {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
    padding: 3px;
    border-radius: 14px;
    background: #f3f7f5;
}

.catalog-quick-filter-label {
    flex: 0 0 auto;
    padding: 0 5px 0 7px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #5c7268;
    white-space: nowrap;
}

.catalog-quick-filter-list-label,
.catalog-quick-filter-chips {
    display: contents;
}

a.catalog-quick-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #10241c;
    background: transparent;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}

a.catalog-quick-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(2, 56, 35, 0.16);
    color: #023823;
    background: #fff;
    box-shadow: 0 6px 16px rgba(2, 56, 35, 0.08);
}

a.catalog-quick-chip.is-active {
    color: #f0fdf8;
    background: linear-gradient(135deg, #023823 0%, #03653f 100%);
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(2, 56, 35, 0.22);
}

@media (max-width: 640px) {
    .catalog-quick-filter-bar {
        margin-bottom: 12px;
    }

    .catalog-quick-filter-inner {
        margin: 0 -1px;
        border-radius: 16px;
    }

    .catalog-quick-filter-label {
        font-size: 10px;
    }

    a.catalog-quick-chip {
        min-height: 32px;
        padding: 0 11px;
        font-size: 12px;
    }
}

.quick-links-carousel {
    padding: 0px 0 -1px;
    /* background: #ffffff; */
}

.quick-links-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(112px, 112px);
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #b8c9c2 #eef3f1;
}

.quick-link-card {
    scroll-snap-align: start;
    min-height: 98px;
    border-radius: 14px;
    border: 1px solid #dbe5e1;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 10px;
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.quick-link-card:hover {
    transform: translateY(-2px);
    border-color: #8fb8a7;
    color: #023823;
    box-shadow: 0 14px 24px rgba(2, 56, 35, 0.14);
}

.quick-link-icon {
    width: 21px;
    height: 21px;
    color: #023823;
    opacity: 0.9;
}

.quick-link-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.quick-link-text {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .quick-links-track {
        display: flex;
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 12px;
    }
    .quick-link-card {
        flex: 1 1 0;
        min-width: 0;
        min-height: 106px;
    }
}
/* =========================================================
   SWIPER / CAR SLIDER (MAIN)
   ÐžÑÐ½Ð¾Ð²Ð½Ð¾Ð¹ ÑÐ»Ð°Ð¹Ð´ÐµÑ€ Ð°Ð²Ñ‚Ð¾Ð¼Ð¾Ð±Ð¸Ð»Ñ
========================================================= */

/* ÐšÐ¾Ð½Ñ‚ÐµÐ¹Ð½ÐµÑ€ Ð¾ÑÐ½Ð¾Ð²Ð½Ð¾Ð³Ð¾ ÑÐ»Ð°Ð¹Ð´ÐµÑ€Ð° */
.car-slider-main {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}

/* Ð‘Ð°Ð·Ð¾Ð²Ð°Ñ ÑÑ‚Ñ€ÑƒÐºÑ‚ÑƒÑ€Ð° Swiper */
.swiper {
    width: 100%;
    overflow: hidden;
}

/* ÐšÐ¾Ð½Ñ‚ÐµÐ¹Ð½ÐµÑ€ ÑÐ»Ð°Ð¹Ð´Ð¾Ð² */
.swiper-wrapper {
    display: flex;
}

/* ÐžÑ‚Ð´ÐµÐ»ÑŒÐ½Ñ‹Ð¹ ÑÐ»Ð°Ð¹Ð´ */
.swiper-slide {
    width: 100%;
    flex-shrink: 0;
}

/* Ð˜Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ Ð² Ð¾ÑÐ½Ð¾Ð²Ð½Ð¾Ð¼ ÑÐ»Ð°Ð¹Ð´ÐµÑ€Ðµ */
.car-slider-main img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

/* =========================================================
   SWIPER NAVIGATION (ARROWS)
   Ð¡Ñ‚Ñ€ÐµÐ»ÐºÐ¸ Ð½Ð°Ð²Ð¸Ð³Ð°Ñ†Ð¸Ð¸
========================================================= */

.swiper-button-prev,
.swiper-button-next {
    width: 42px;
    height: 42px;
    color: #ffffff;
}

/* Ð£Ð±Ð¸Ñ€Ð°ÐµÐ¼ Ð¿Ð¾Ð´ÑÐ²ÐµÑ‚ÐºÑƒ Ð¿Ñ€Ð¸ ÐºÐ»Ð¸ÐºÐµ (mobile) */
.swiper,
.swiper-button-prev,
.swiper-button-next {
    -webkit-tap-highlight-color: transparent;
}

/* Ð£Ð±Ð¸Ñ€Ð°ÐµÐ¼ focus-Ð¾Ð±Ð²Ð¾Ð´ÐºÑƒ */
.swiper-button-prev:focus,
.swiper-button-next:focus,
.swiper:focus {
    outline: none;
    box-shadow: none;
}

/* =========================================================
   THUMBNAILS (PREVIEW SLIDER)
   ÐŸÑ€ÐµÐ²ÑŒÑŽ-ÐºÐ°Ñ€Ñ‚Ð¸Ð½ÐºÐ¸ (ÐµÑÐ»Ð¸ Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÐµÑˆÑŒ)
========================================================= */

.car-slider-thumbs {
    margin-top: 12px;
}

/* Ð¡Ð»Ð°Ð¹Ð´Ñ‹ Ð¿Ñ€ÐµÐ²ÑŒÑŽ */
.car-slider-thumbs .swiper-slide {
    opacity: 0.6;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

/* ÐÐºÑ‚Ð¸Ð²Ð½Ñ‹Ð¹ Ð¿Ñ€ÐµÐ²ÑŒÑŽ-ÑÐ»Ð°Ð¹Ð´ */
.car-slider-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    outline: 2px solid #0f172a;
}

/* ÐšÐ°Ñ€Ñ‚Ð¸Ð½ÐºÐ¸ Ð¿Ñ€ÐµÐ²ÑŒÑŽ */
.car-slider-thumbs img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}



/* =========================================================
   MOBILE ADAPTIVE
   ÐÐ´Ð°Ð¿Ñ‚Ð°Ñ†Ð¸Ñ Ð¿Ð¾Ð´ Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ñ‹Ðµ ÑƒÑÑ‚Ñ€Ð¾Ð¹ÑÑ‚Ð²Ð°
========================================================= */

@media (max-width: 768px) {
    .car-slider-main img {
        height: 305px;
    }

    /* ÐŸÑ€ÐµÐ²ÑŒÑŽ ÑÐºÑ€Ñ‹Ð²Ð°ÐµÐ¼ Ð½Ð° Ð¼Ð¾Ð±Ð¸Ð»ÐºÐ°Ñ… */
    .car-slider-thumbs {
        display: none;
    }
}
/* GRID â€” Ð¾Ð´Ð½Ð° ÐºÐ¾Ð»Ð¾Ð½ÐºÐ°, ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ¸ ÑÐ²ÐµÑ€Ñ…Ñƒ Ð²Ð½Ð¸Ð· */
.catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* CARD â€” Ð³Ð¾Ñ€Ð¸Ð·Ð¾Ð½Ñ‚Ð°Ð»ÑŒÐ½Ð°Ñ ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ°: ÑÐ»ÐµÐ²Ð° Ñ„Ð¾Ñ‚Ð¾, ÑÐ¿Ñ€Ð°Ð²Ð° Ð¾Ð¿Ð¸ÑÐ°Ð½Ð¸Ðµ */
.car-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border: 1px solid rgba(0,0,0,.06);
    /* min-height: 172px; */
    /* max-height: 178px; */
    height: 180px;
}

.car-card:hover {
    /* ÑƒÐ±Ñ€Ð°Ð»Ð¸ translate, Ð¾ÑÑ‚Ð°Ð²Ð¸Ð»Ð¸ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ñ‚ÐµÐ½ÑŒ */
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

.car-card:hover .car-card-cta {
    background: #023823;
    color: #fff;
}

.catalog-grid .no-photo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #94a3b8;
    background: #f1f5f9;
}

/* IMAGE â€” ÑÐ»ÐµÐ²Ð°, Ñ„Ð¸ÐºÑÐ¸Ñ€Ð¾Ð²Ð°Ð½Ð½Ð°Ñ ÑˆÐ¸Ñ€Ð¸Ð½Ð° */
.car-card-image {
    position: relative;
    background: #f1f5f9;
    width: 320px;
    min-width: 280px;
    aspect-ratio: 4 / 3;     /* Ñ„Ð¸ÐºÑÐ¸Ñ€Ð¾Ð²Ð°Ð½Ð½Ð¾Ðµ ÑÐ¾Ð¾Ñ‚Ð½Ð¾ÑˆÐµÐ½Ð¸Ðµ ÑÑ‚Ð¾Ñ€Ð¾Ð½ Ð²Ð¼ÐµÑÑ‚Ð¾ Ð¶ÐµÑÑ‚ÐºÐ¾Ð¹ Ð²Ñ‹ÑÐ¾Ñ‚Ñ‹ */
    flex-shrink: 0;
    overflow: hidden;
}

.car-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

/* Ð¡Ð»Ð°Ð¹Ð´ÐµÑ€ Ð² ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐµ ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ð° */
.car-card-image--slider {
    position: relative;
    overflow: hidden;
}

.car-card-image-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

@media (min-width: 1024px) {
    .car-card-image-track {
        transition: none;
    }
}

.car-card-image-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ñ‚Ð¾Ñ‡ÐºÐ¸ ÑÐ»Ð°Ð¹Ð´ÐµÑ€Ð° Ð² ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ðµ Ð±Ð¾Ð»ÑŒÑˆÐµ Ð½Ðµ Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑŽÑ‚ÑÑ */

/* Ð¡Ñ‚Ñ€ÐµÐ»ÐºÐ¸ ÑƒÐ¿Ñ€Ð°Ð²Ð»ÐµÐ½Ð¸Ñ ÑÐ»Ð°Ð¹Ð´ÐµÑ€Ð¾Ð¼ Ð² ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐµ (Ð´ÐµÐ»Ð°ÐµÐ¼ ÐºÐ°Ðº Ð½Ð° single-detail.php) */
.car-card-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 34px;
    border: none;
    background-color: rgb(2 56 35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35px 36px;
    transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.car-card-slider-arrow img {
    width: 36px;
    height: 36px;
    display: block;
    /* SVG ÑÑ‚Ñ€ÐµÐ»ÐºÐ¸ ÑƒÐ¶Ðµ Ð±ÐµÐ»Ñ‹Ðµ; Ð¸Ð½Ð²ÐµÑ€ÑÐ¸Ñ Ð´ÐµÐ»Ð°ÐµÑ‚ Ð¸Ñ… Ñ‚Ñ‘Ð¼Ð½Ñ‹Ð¼Ð¸ */
    filter: none;
}

.car-card-slider-arrow--prev {
    left: 10px;
}

.car-card-slider-arrow--next {
    right: 10px;
}

.car-card-slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.02);
}

.car-card-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid #dbe5e1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    z-index: 6;
}

.car-card-favorite:hover {
    border-color: #b8cfc5;
    color: #023823;
}

.car-card-favorite.is-active {
    color: #dc2626;
    border-color: #fecaca;
    background: #fff5f5;
}

@media (min-width: 1024px) {
    .car-card-slider-arrow {
        display: none;
    }
}

/* ÑÑ„Ñ„ÐµÐºÑ‚ ÑƒÐ²ÐµÐ»Ð¸Ñ‡ÐµÐ½Ð¸Ñ ÐºÐ°Ñ€Ñ‚Ð¸Ð½ÐºÐ¸ Ð¿Ñ€Ð¸ hover Ð¾Ñ‚ÐºÐ»ÑŽÑ‡Ñ‘Ð½ */
/* Ð‘ÐµÐ¹Ð´Ð¶ Ð³Ð¾Ð´Ð° Ð½Ð° Ñ„Ð¾Ñ‚Ð¾ */
.car-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
}

.car-card-year {
    background: rgba(15, 23, 42, .85);
    color: #fff;
}

/* BODY â€” ÑÐ¿Ñ€Ð°Ð²Ð°, Ñ€Ð°ÑÑ‚ÑÐ³Ð¸Ð²Ð°ÐµÑ‚ÑÑ */
.car-card-body {
    padding: 24px 28px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

/* TITLE */
.car-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #0f172a;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Ð¡Ð¿Ð¸ÑÐ¾Ðº Ñ…Ð°Ñ€Ð°ÐºÑ‚ÐµÑ€Ð¸ÑÑ‚Ð¸Ðº Ñ Ð¸ÐºÐ¾Ð½ÐºÐ°Ð¼Ð¸ */
.car-card-specs {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    font-size: 13px;
    color: #475569;
    /* line-height: 1.5; */
    display: flex;
    flex-wrap: wrap;
    gap: 14px 0px;
    justify-content: space-between;
}

.car-card-specs li {
    display: flex;
    align-items: center;
    gap: 4px;
}

.car-spec-icon {
    opacity: .8;
    font-size: 12px;
}

.car-spec-label {
    font-weight: 600;
    color: #334155;
}

/* Ð‘Ð»Ð¾Ðº Ñ†ÐµÐ½Ñ‹ â€” Ð°ÐºÑ†ÐµÐ½Ñ‚ */
.car-card-bottom {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 16px;
}

.car-price-block {
    flex: 1 1 auto;
}

.car-price {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    display: block;
    line-height: 1.2;
}

.car-price-note {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.car-price-request {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
}

@media (max-width: 767.98px) {
    .car-card-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    .car-price-block {
        flex: 0 0 auto;
        width: 100%;
    }
    .car-price,
    .car-price-note,
    .car-price-request {
        display: block;
        width: 100%;
    }
    .car-card-cta {
        width: 100%;
        justify-content: center;
    }
}

/* CTA ÐºÐ½Ð¾Ð¿ÐºÐ° */
.car-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #023823;
    background: #dbe3e2;
    border-radius: 10px;
    transition: background .2s ease, color .2s ease;
}

/* ÐÐ° ÑƒÐ·ÐºÐ¸Ñ… ÑÐºÑ€Ð°Ð½Ð°Ñ… â€” ÑƒÐ¿Ñ€Ð¾Ñ‰Ñ‘Ð½Ð½Ð°Ñ Ð²ÐµÑ€Ñ‚Ð¸ÐºÐ°Ð»ÑŒÐ½Ð°Ñ ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ°:
   Ð²Ñ‹ÐºÐ»ÑŽÑ‡Ð°ÐµÐ¼ flex Ð¸ Ñ„Ð¸ÐºÑÐ¸Ñ€Ð¾Ð²Ð°Ð½Ð½ÑƒÑŽ Ð²Ñ‹ÑÐ¾Ñ‚Ñƒ, Ñ‡Ñ‚Ð¾Ð±Ñ‹ Ñ‚ÐµÐºÑÑ‚ (Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ðµ, Ñ…Ð°Ñ€Ð°ÐºÑ‚ÐµÑ€Ð¸ÑÑ‚Ð¸ÐºÐ¸, Ñ†ÐµÐ½Ð°) Ð±Ñ‹Ð» Ð²Ð¸Ð´ÐµÐ½ */
@media (max-width: 768px) {
    .car-card {
        display: block;
        height: auto;
        min-height: 0;
    }
    .car-card-image {
        width: 100%;
        min-width: 0;
        aspect-ratio: 4/3;
    }
    .car-card-image img {
        /* width: 100%; */
        /* height: 100%; */
        min-height: 0;
        object-fit: cover;
    }
    .car-card-body {
        display: block;
        padding: 16px 16px 20px;
    }
    .car-card-specs {
        gap: 14px 10px;
        justify-content: center;
    }
    .car-title {
        font-size: 16px;
    }
    .car-price {
        font-size: 19px;
    }
    .car-card-cta {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* =========================
   PAGINATION (PAN-AUTO STYLE)
========================= */

.pagination {
    margin: 12px 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    width: 100%;
}

.pagination-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #dbe5e1;
    border-radius: 16px;
    padding: 8px 10px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    margin: 0 auto;
}

.pagination-arrow {
    min-width: 44px;
    height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e5e7eb;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.pagination-arrow:hover {
    background: #023823;
    color: #ffffff;
    border-color: #023823;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(2, 56, 35, 0.25);
}

.pagination-arrow:focus-visible {
    outline: none;
    border-color: #023823;
    box-shadow: 0 0 0 3px rgba(2, 56, 35, 0.22);
}

.pagination-arrow.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

.pagination-jump {
    margin: 0;
}

.pagination-input {
    width: 78px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    padding: 0 10px;
    font-family: inherit;
    appearance: textfield;
    -moz-appearance: textfield;
}

.pagination-input::-webkit-outer-spin-button,
.pagination-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pagination-input:focus,
.pagination-input:focus-visible {
    outline: none;
    border-color: #023823;
    box-shadow: 0 0 0 3px rgba(2, 56, 35, 0.2);
}

.pagination-total {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    width: 100%;
}

.pagination-total strong {
    color: #0f172a;
}

@media (max-width: 767.98px) {
    .pagination {
        margin: 26px 0 34px;
        padding: 0 12px;
        gap: 8px;
        width: 100%;
    }

    .pagination-row {
        width: 100%;
        max-width: 340px;
        gap: 8px;
        padding: 6px 8px;
        border-radius: 14px;
    }

    .pagination-arrow {
        min-width: 40px;
        height: 38px;
        padding: 0 9px;
        font-size: 18px;
        border-radius: 10px;
    }

    .pagination-input {
        width: 68px;
        height: 38px;
        font-size: 14px;
        border-radius: 10px;
    }

    .pagination-total {
        font-size: 12px;
    }
}

/* ===== Mobile filter toggle ===== */
.mobile-filter-bar {
  display: none;
  margin-bottom: 28px;
}

.mobile-filter-toggle {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 0px solid rgba(0,0,0,.08);
  background: #dbe3e2;
  color: #012a1a;
  font-weight: 700;
  font-size: 16px;
}

/* âœ… Ð”Ð•Ð¡ÐšÐ¢ÐžÐŸ: Ð½Ð¸Ñ‡ÐµÐ³Ð¾ Ð½Ðµ Ð»Ð¾Ð¼Ð°ÐµÐ¼ */
@media (min-width: 901px) {
  .mobile-filter-bar { display: none !important; }
  .catalog-filters { display: block !important; } /* Ñ„Ð¸Ð»ÑŒÑ‚Ñ€ ÑÐ»ÐµÐ²Ð° ÐºÐ°Ðº Ñ€Ð°Ð½ÑŒÑˆÐµ */
}

/* âœ… ÐœÐžÐ‘Ð˜Ð›ÐšÐ: Ñ„Ð¸Ð»ÑŒÑ‚Ñ€ ÑÐºÑ€Ñ‹Ñ‚, Ð¾Ñ‚ÐºÑ€Ñ‹Ð²Ð°ÐµÑ‚ÑÑ Ð¿Ð¾ ÐºÐ½Ð¾Ð¿ÐºÐµ */
@media (max-width: 900px) {

  .mobile-filter-bar { display: block; }

  /* layout Ð² ÐºÐ¾Ð»Ð¾Ð½ÐºÑƒ (Ñ„Ð¸Ð»ÑŒÑ‚Ñ€ Ð±ÑƒÐ´ÐµÑ‚ ÑÐ²ÐµÑ€Ñ…Ñƒ) */
  .catalog-layout { display: block; }

  /* Ñ„Ð¸Ð»ÑŒÑ‚Ñ€ Ð¿Ñ€ÑÑ‡ÐµÐ¼ Ð´Ð¾ ÐºÐ»Ð¸ÐºÐ° */
  .catalog-filters {
    display: none;
    margin-bottom: 12px;
  }

  .catalog-filters.is-open {
    display: block;
  }
}

/* =========================
   ABOUT PAGE
========================= */
.about-page {
  padding: 0px 0px 0px;
}

.about-page .container {
  background: #f5f6f8;
  /* border: 1px solid #e5e7eb; */
  border-radius: 20px;
  /* box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06); */
  padding: 0px 18px 12px;
}

.about-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
  border: 1px solid #dbe5e1;
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 12px;
}

.about-title {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.2;
  color: #0f172a;
}

.about-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #334155;
  max-width: 860px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 12px;
}

.about-card {
  background: #ffffff;
  border: 1px solid #dbe5e1;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-card:hover {
  transform: translateY(-2px);
  border-color: #b8cfc5;
  box-shadow: 0 14px 24px rgba(2, 56, 35, 0.12);
}

.about-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #0f172a;
}

.about-card p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.about-section {
  background: #ffffff;
  border: 1px solid #dbe5e1;
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 0px;
}

.about-section h2 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #0f172a;
}

.about-steps {
  margin: 0;
  padding-left: 22px;
  color: #334155;
  line-height: 1.65;
}

.about-contact p {
  margin: 0 0 8px;
  color: #334155;
}

.about-contact p:last-child {
  margin-bottom: 0;
}

.about-contact a {
  color: #023823;
  font-weight: 700;
  border-bottom: 1px dashed rgba(2, 56, 35, 0.35);
}

.about-contact a:hover {
  color: #034a2e;
  border-bottom-color: rgba(3, 74, 46, 0.65);
}

@media (max-width: 900px) {
  .about-page {
    padding: 16px 0 30px;
  }

  .about-page .container {
    border-radius: 16px;
    padding: 12px;
  }

  .about-title {
    font-size: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-section,
  .about-hero,
  .about-card {
    padding: 16px;
    border-radius: 12px;
  }
}

/* =========================
   CONTACTS PAGE
========================= */
.contacts-page .about-card a {
  color: #023823;
  font-weight: 700;
  border-bottom: 1px dashed rgba(2, 56, 35, 0.35);
}

.contacts-page .about-card a:hover {
  color: #034a2e;
  border-bottom-color: rgba(3, 74, 46, 0.65);
}

.contacts-map-wrap {
  margin-bottom: 0;
}

.contacts-map {
  margin-top: 10px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dbe5e1;
  background: #f8fbfa;
}

.contacts-map iframe {
  width: 100%;
  height: 430px;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .contacts-map iframe {
    height: 320px;
  }
}

/* =========================
   NEWS PAGE
========================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.news-card {
  background: #ffffff;
  border: 1px solid #dbe5e1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.news-card-image {
  display: block;
  background: #f1f5f9;
}

.news-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.news-card-date {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.news-card-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  color: #0f172a;
}

.news-card-title a {
  color: inherit;
}

.news-card-excerpt {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.news-card-link {
  margin-top: auto;
  color: #023823;
  font-weight: 700;
}

.news-single {
  margin-bottom: 0;
}

.news-single-header .about-title {
  margin-top: 6px;
  margin-bottom: 0;
}

.news-single-image {
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dbe5e1;
}

.news-single-image img {
  width: 100%;
  height: auto;
  display: block;
}

.news-single-content {
  margin-top: 16px;
  color: #334155;
  line-height: 1.7;
}

.news-single-content h2,
.news-single-content h3 {
  color: #0f172a;
}

.news-single-content a {
  color: #023823;
}

@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card-title {
    font-size: 18px;
  }

  .news-card-image img {
    height: 190px;
  }
}

/* =========================
   PROFILE PAGE
========================= */
.profile-auth h2 {
  margin: 0 0 14px;
  color: #0f172a;
}

.profile-auth-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
  max-width: 420px;
  width: 100%;
}

.profile-auth-switch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #dbe5e1;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.profile-auth-switch-link:hover {
  transform: translateY(-1px);
  border-color: #8fb8a7;
  color: #023823;
  box-shadow: 0 10px 18px rgba(2, 56, 35, 0.12);
}

.profile-auth-switch-link.is-active {
  background: linear-gradient(180deg, #034a2e 0%, #023823 100%);
  color: #ffffff;
  border-color: #023823;
  box-shadow: 0 10px 18px rgba(2, 56, 35, 0.22);
  transform: none;
}

.profile-login-form {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-field span {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.profile-field input {
  height: 42px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 0 12px;
  font-size: 14px;
}

.profile-field input:focus,
.profile-field input:focus-visible {
  outline: none;
  border-color: #023823;
  box-shadow: 0 0 0 3px rgba(2, 56, 35, 0.2);
}

.profile-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 14px;
}

.profile-submit {
  height: 44px;
  border: none;
  border-radius: 10px;
  background: #023823;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.profile-submit:hover {
  background: #034a2e;
}

.profile-lost-link {
  width: fit-content;
  color: #023823;
  font-weight: 700;
}

.profile-error {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.profile-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 0;
  padding: 8px;
  background: #f5f6f8;
  width: 100%;
}

.profile-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  min-height: 96px;
  padding: 12px 14px;
  border: 1px solid #dbe5e1;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  color: #0f172a;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.profile-nav-icon {
  width: 20px;
  height: 20px;
  color: #023823;
  opacity: 0.9;
}

.profile-nav-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.profile-nav-text {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.profile-nav-link:hover {
  transform: translateY(-2px);
  border-color: #8fb8a7;
  color: #023823;
  box-shadow: 0 14px 24px rgba(2, 56, 35, 0.14);
}

.profile-nav-link:hover .profile-nav-icon {
  opacity: 1;
}

.profile-nav-link.is-active {
  background: linear-gradient(180deg, #034a2e 0%, #023823 100%);
  color: #ffffff;
  border-color: #023823;
  box-shadow: 0 12px 22px rgba(2, 56, 35, 0.24);
  transform: none;
}

.profile-nav-link.is-active .profile-nav-icon {
  color: #ffffff;
}

.profile-nav-link-logout {
  color: #0f172a;
}

.profile-content h2 {
  margin: 0 0 10px;
}

.profile-content {
  width: 100%;
}

.profile-content p {
  margin: 0 0 8px;
  color: #334155;
}

.profile-favorites-cards {
  margin-top: 12px;
}

.profile-favorites-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.profile-favorite-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #dbe5e1;
  border-radius: 12px;
  background: #ffffff;
}

.profile-favorite-thumb {
  width: 74px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
}

.profile-favorite-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-favorite-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.profile-favorite-meta strong {
  color: #0f172a;
  font-size: 14px;
}

.profile-favorite-meta span {
  color: #64748b;
  font-size: 12px;
}

@media (max-width: 900px) {
  .profile-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-nav-link {
    min-height: 88px;
  }

  .profile-favorites-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Layout polish: ÐµÐ´Ð¸Ð½Ð°Ñ Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ð°Ñ ÑÐµÑ‚ÐºÐ° Ð¸ Ð°ÐºÐºÑƒÑ€Ð°Ñ‚Ð½Ñ‹Ðµ Ð¾Ñ‚ÑÑ‚ÑƒÐ¿Ñ‹
========================================================= */
:root {
    --bers-page-gutter: clamp(20px, 5.1vw, 24px);
    --bers-mobile-gap: 14px;
    --bers-card-radius: 16px;
    --bers-soft-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    --bers-border-soft: 1px solid rgba(2, 56, 35, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

@media (max-width: 767.98px) {
    body { background: #f5f6f8; }

    .container,
    .header-top-inner.container,
    .quick-links-carousel > .container {
        width: 100%;
        padding-left: var(--bers-page-gutter);
        padding-right: var(--bers-page-gutter);
    }

    .header-top-inner {
        padding-top: 30px;
        padding-bottom: 22px;
        gap: 16px;
    }

    .header-logo-img { height: clamp(20px, 5.3vw, 24px); }

    .header-rates {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .header-rates .rate {
        min-height: 32px;
        padding: 0 11px;
        border-radius: 9px;
        font-size: 13px;
        line-height: 1;
    }

    .quick-links-carousel { padding: 14px 0 var(--bers-mobile-gap); }

    .quick-links-track {
        display: grid;
        grid-auto-flow: initial;
        grid-auto-columns: initial;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
        scrollbar-width: none;
    }

    .quick-links-track::-webkit-scrollbar { display: none; }

    .quick-link-card {
        min-width: 0;
        min-height: 114px;
        border-radius: var(--bers-card-radius);
        padding: 14px 8px;
        box-shadow: var(--bers-soft-shadow);
    }

    .quick-link-text {
        font-size: 13px;
        line-height: 1.22;
    }

    .mobile-filter-bar { margin: 0 0 var(--bers-mobile-gap); }

    .mobile-filter-toggle {
        min-height: 52px;
        padding: 0 16px;
        border-radius: var(--bers-card-radius);
        background: linear-gradient(180deg, #e2ebe8 0%, #d6e1de 100%);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
        letter-spacing: -0.01em;
    }

    .catalog { padding-bottom: 44px; }
    .catalog-layout { display: block; }

    .catalog-content {
        display: flex;
        flex-direction: column;
        gap: var(--bers-mobile-gap);
        width: 100%;
        min-width: 0;
    }

    .catalog-quick-filter-bar {
        margin: 0;
        width: 100%;
    }

    .catalog-quick-filter-inner {
        width: 100%;
        max-width: 100%;
        gap: 6px;
        padding: 6px;
        border-radius: 18px;
        border: var(--bers-border-soft);
        box-shadow: var(--bers-soft-shadow);
        scroll-padding-inline: 6px;
    }

    .catalog-quick-filter-group {
        gap: 4px;
        padding: 3px;
        border-radius: 14px;
    }

    .catalog-quick-filter-label {
        padding: 0 4px 0 6px;
        font-size: 10px;
        letter-spacing: 0.035em;
    }

    a.catalog-quick-chip {
        min-height: 32px;
        padding: 0 10px;
        border-radius: 11px;
        font-size: 12px;
        letter-spacing: -0.01em;
    }

    .catalog-vehicle-count {
        width: 100%;
        margin: 0;
        padding: 16px 24px;
        border-radius: var(--bers-card-radius);
        border: var(--bers-border-soft);
        box-shadow: var(--bers-soft-shadow);
        font-size: 15px;
    }

    .catalog-vehicle-count__hint { margin-top: 6px; }

    .catalog-grid {
        width: 100%;
        gap: var(--bers-mobile-gap);
    }

    .car-card {
        width: 100%;
        border-radius: var(--bers-card-radius);
        border: var(--bers-border-soft);
        box-shadow: var(--bers-soft-shadow);
    }

    .car-card-image { border-radius: var(--bers-card-radius) var(--bers-card-radius) 0 0; }
    .car-card-body { padding: 16px 18px 20px; }
}

@media (max-width: 380px) {
    :root { --bers-page-gutter: 16px; }
    .quick-links-track { gap: 10px; }
    .quick-link-card { min-height: 104px; }
    .quick-link-text { font-size: 12px; }
    .catalog-quick-filter-label { display: none; }
}

/* Filter range fields */
.filter-range {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.filter-range input {
    width: 100%;
}

.filter-range input::placeholder {
    color: #94a3b8;
}

@media (max-width: 900px) {
    .filter-range {
        gap: 10px;
    }
}

