.other-cars-block {
    margin: 26px 0 12px;
}

.other-cars-shell {
    width: min(1200px, calc(100% - 28px));
    margin: 0 auto;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.other-cars-shell::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, rgba(244, 160, 36, .15), rgba(244, 160, 36, .9), rgba(244, 160, 36, .15));
}

.other-cars-header {
    padding: 15px 18px 8px;
}

.other-cars-header h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 800;
    color: #0f172a;
}

.other-cars-header p {
    margin: 6px 0 0;
    font-size: 12.5px;
    color: #64748b;
}

.other-cars-slider {
    padding: 8px 0 14px;
}

.other-cars-viewport {
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    background: transparent;
    padding: 0 18px;
}

.other-cars-track {
    display: flex;
    gap: 14px;
    transform: translate3d(0, 0, 0);
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.other-car-card {
    flex: 0 0 calc((100% - 42px) / 4);
    min-width: 0;
    border: 1px solid #d8e2ee;
    border-radius: 13px;
    background: #11182808;
    box-shadow: none;
    transition: transform .2s ease, border-color .2s ease;
}

.other-car-card:hover {
    transform: translateY(-2px);
    border-color: #c2d0e4;
    box-shadow: none;
}

.other-car-link {
    display: grid;
    grid-template-rows: auto 1fr;
    color: inherit;
    text-decoration: none;
    min-height: 100%;
}

.occ-image {
    position: relative;
    height: 152px;
    margin: 10px;
    border: 1px solid #dce5f1;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.occ-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 8px;
    background: #ffffff;
}

.occ-fallback {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.occ-status {
    position: absolute;
    top: 8px;
    left: 8px;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.occ-status-available {
    color: #166534;
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.occ-status-busy {
    color: #9a3412;
    background: #fff7ed;
    border-color: #fed7aa;
}

.occ-status-service {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.occ-info {
    padding: 0 12px 12px;
    display: grid;
    gap: 10px;
}

.occ-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.occ-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.22;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.occ-km {
    flex: 0 0 auto;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid #d5deea;
    background: #f4f8fc;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.occ-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.occ-price {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.occ-price small {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.occ-cta {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #1f2937;
    background: #111827;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .2s ease;
}

.other-car-link:hover .occ-cta {
    background: #0b1222;
    transform: translateY(-1px);
}

.other-cars-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 10px 0 2px;
}

.ocs-dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 999px;
    background: #c7d2e1;
    cursor: pointer;
    transition: all .2s ease;
}

.ocs-dot.is-active {
    width: 18px;
    background: #0f172a;
}

@media (max-width: 1080px) {
    .other-car-card {
        flex-basis: calc((100% - 28px) / 3);
    }
}

@media (max-width: 760px) {
    .other-cars-shell {
        width: min(1200px, calc(100% - 18px));
        border-radius: 14px;
    }

    .other-cars-header {
        padding: 12px 12px 8px;
    }

    .other-cars-header h3 {
        font-size: 18px;
    }

    .other-cars-header p {
        font-size: 11.5px;
    }

    .other-cars-viewport {
        padding: 0 12px;
    }

    .other-cars-track {
        gap: 10px;
    }

    .other-car-card {
        flex-basis: 100%;
        border-radius: 12px;
    }

    .occ-image {
        height: 148px;
        margin: 9px;
    }

    .occ-info {
        padding: 0 10px 10px;
        gap: 8px;
    }

    .occ-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .occ-km {
        min-height: 20px;
        font-size: 10.5px;
    }

    .other-cars-dots {
        gap: 6px;
        padding: 9px 0 2px;
    }
}

@media (max-width: 520px) {
    .other-car-card {
        flex-basis: 100%;
    }

    .occ-title {
        font-size: 14px;
    }

    .occ-image {
        height: 136px;
    }
}
