.ol-fleet {
    max-width: 1200px;
    margin: auto;
    font-size: 15px;
    line-height: 1.5;
}

.ol-fleet__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.ol-fleet__header h2 {
    margin: 5px 0 6px;
    color: var(--ol-brand-ink);
    font-size: clamp(2rem,5vw,3.25rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.ol-fleet__header p {
    margin: 0;
    color: var(--ol-brand-muted);
}

.ol-fleet__views {
    display: flex;
    padding: 5px;
    background: var(--ol-brand-surface-soft);
    border: 1px solid var(--ol-brand-line);
    border-radius: 12px;
}

.ol-fleet__views button {
    min-width: 76px;
    padding: 9px 14px;
    color: var(--ol-brand-muted);
    background: transparent;
    border: 0;
    border-radius: 9px;
    font: inherit;
    font-size: .82rem;
    font-weight: 750;
    cursor: pointer;
}

.ol-fleet__views button[aria-pressed=true] {
    color: #fff;
    background: var(--ol-brand-button);
    box-shadow: 0 6px 15px rgba(5,27,48,.18);
}

.ol-fleet__items {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
}

.ol-fleet__content {
    display: block;
}

.ol-fleet-filter {
    width: fit-content;
    max-width: 100%;
    margin-bottom: 22px;
    padding: 5px;
    overflow-x: auto;
    background: var(--ol-brand-surface-soft);
    border: 1px solid var(--ol-brand-line);
    border-radius: 12px;
    scrollbar-width: thin;
}

.ol-fleet-filter>p:empty {
    display: none !important;
    margin: 0 !important;
}

.ol-fleet-filter__options {
    display: flex;
    gap: 2px;
    width: max-content;
}

.ol-fleet-filter__options button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 9px 14px;
    color: var(--ol-brand-muted);
    background: transparent;
    border: 0;
    border-radius: 9px;
    font: inherit;
    font-size: .82rem;
    text-align: center;
    cursor: pointer;
}

.ol-fleet-filter__options button:hover {
    color: var(--ol-brand-blue);
    background: var(--ol-brand-blue-soft);
}

.ol-fleet-filter__options button[aria-pressed=true] {
    color: #fff;
    background: var(--ol-brand-button);
    box-shadow: 0 6px 15px rgba(5,27,48,.16);
}

.ol-fleet-card[hidden] {
    display: none !important;
}

.ol-fleet-card {
    min-width: 0;
}

.ol-fleet-card__image {
    position: relative;
    min-height: 230px;
    background-color: var(--ol-brand-surface-soft);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.ol-fleet-card__image:after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 42%;
    background: linear-gradient(transparent,rgba(10,24,43,.12));
    content: "";
    pointer-events: none;
}

.ol-fleet-card__image .ol-brand-pill {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
}

.ol-fleet-card__image .ol-icon-car {
    width: 17px;
    height: 17px;
    background: var(--ol-brand-blue);
}

.ol-fleet-card__body {
    padding: 24px;
}

.ol-fleet-card h3 {
    margin: 0 0 8px;
    color: var(--ol-brand-ink);
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: -.025em;
}

.ol-fleet-card__body>div>p {
    margin: 0;
    color: var(--ol-brand-muted);
    font-size: .86rem;
}

.ol-fleet-card__action {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--ol-brand-line);
}

.ol-fleet-card__action p {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.ol-fleet-card__action strong {
    color: var(--ol-brand-blue);
    font-size: 21px;
    font-weight: 700;
}

.ol-fleet-card__action small {
    color: var(--ol-brand-muted);
    font-size: .72rem;
}

.ol-fleet-card__action .ol-brand-button {
    white-space: nowrap;
}

.ol-fleet[data-view=list] .ol-fleet__items {
    grid-template-columns: 1fr;
}

.ol-fleet[data-view=list] .ol-fleet-card {
    display: grid;
    grid-template-columns: minmax(260px,38%) 1fr;
    min-height: 250px;
}

.ol-fleet[data-view=list] .ol-fleet-card__image {
    min-height: 250px;
}

.ol-fleet[data-view=list] .ol-fleet-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px;
}

.ol-fleet[data-view=list] .ol-fleet-card__action {
    min-width: 285px;
    margin: 0;
    padding: 0 0 0 28px;
    border-top: 0;
    border-left: 1px solid var(--ol-brand-line);
}

.ol-fleet-drawer {
    position: fixed;
    z-index: 99999;
    inset: 0;
}

.ol-fleet-drawer__backdrop {
    position: absolute;
    width: 100%;
    background: rgba(6,24,43,.68);
    border: 0;
    backdrop-filter: blur(4px);
    cursor: pointer;
    inset: 0;
}

.ol-fleet-drawer__panel {
    position: absolute;
    container-type: inline-size;
    container-name: oosy-booking-drawer;
    width: min(780px,75vw);
    overflow: auto;
    background: var(--ol-brand-surface);
    box-shadow: -20px 0 60px rgba(2,6,23,.25);
    inset: 0 0 0 auto;
}

@container oosy-booking-drawer (min-width: 700px) {
    .ol-fleet-drawer .ol-grid--two {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ol-fleet-drawer .ol-field--full {
        grid-column: 1/-1;
    }

    .ol-fleet-drawer .ol-trip-type {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ol-fleet-drawer .ol-vehicle-card {
        grid-template-columns: minmax(260px,42%) minmax(0,1fr);
        min-height: 260px;
    }

    .ol-fleet-drawer .ol-vehicle-image {
        min-height: 260px;
    }

    .ol-fleet-drawer .ol-vehicle-price {
        grid-template-columns: 1fr auto;
    }

    .ol-fleet-drawer .ol-vehicle-price em {
        grid-row: 1/3;
        grid-column: 2;
        margin-top: 0;
    }
}

.ol-fleet-drawer__close {
    position: sticky;
    z-index: 5;
    top: 12px;
    float: right;
    width: 42px;
    height: 42px;
    margin: 12px 16px -58px 0;
    color: var(--ol-brand-ink);
    background: #fff;
    border: 1px solid var(--ol-brand-line);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(24,36,58,.12);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

html.ol-fleet-booking-open {
    overflow: hidden;
}

.ol-fleet-drawer .oosy-limo {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ol-fleet-drawer .ol-form p:empty {
    display: none !important;
}

.ol-fleet-drawer__panel>p:empty {
    display: none !important;
    margin: 0 !important;
}

.ol-fleet-drawer .ol-grid>p:has(>.ol-field),
.ol-fleet-drawer .ol-trip-type>p:has(>label) {
    display: contents;
}

.ol-fleet__empty {
    padding: 24px;
    color: #813a22;
    background: #fff2ea;
    border: 1px solid #f2c7b5;
    border-radius: 12px;
}

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

    .ol-fleet-drawer__panel {
        width: min(780px,88vw);
    }
}

@media(max-width:640px) {
    .ol-fleet {
        font-size: 14px;
    }

    .ol-fleet-filter {
        box-sizing: border-box;
        width: 100%;
    }

    .ol-fleet-filter__options {
        width: 100%;
    }

    .ol-fleet-filter__options button {
        flex: 1 1 0;
        min-width: 0;
        padding-right: 8px;
        padding-left: 8px;
    }

    .ol-fleet__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ol-fleet__views {
        align-self: flex-end;
    }

    .ol-fleet__items {
        grid-template-columns: 1fr;
    }

    .ol-fleet[data-view=list] .ol-fleet-card {
        display: grid;
        grid-template-columns: 120px minmax(0,1fr);
        min-height: 190px;
    }

    .ol-fleet[data-view=list] .ol-fleet-card__image {
        min-height: 190px;
    }

    .ol-fleet[data-view=list] .ol-fleet-card__image .ol-brand-pill {
        top: 10px;
        left: 10px;
        padding: 6px 8px;
        font-size: 9px;
    }

    .ol-fleet[data-view=list] .ol-fleet-card__body {
        display: block;
        padding: 14px;
    }

    .ol-fleet[data-view=list] .ol-fleet-card h3 {
        margin-bottom: 10px;
        font-size: 1rem;
        line-height: 1.25;
    }

    .ol-fleet[data-view=list] .ol-vehicle-specs {
        gap: 7px 10px;
        padding: 10px 0;
    }

    .ol-fleet[data-view=list] .ol-spec {
        gap: 5px;
        font-size: 10px;
    }

    .ol-fleet[data-view=list] .ol-spec i {
        width: 12px;
        height: 12px;
    }

    .ol-fleet[data-view=list] .ol-fleet-card__action {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        min-width: 0;
        margin-top: 12px;
        padding: 10px 0 0;
        border-top: 1px solid var(--ol-brand-line);
        border-left: 0;
    }

    .ol-fleet[data-view=list] .ol-fleet-card__action strong {
        font-size: 16px;
    }

    .ol-fleet[data-view=list] .ol-fleet-card__action .ol-brand-button {
        width: 100%;
        min-height: 40px;
        padding: 8px 10px;
        font-size: 11px;
    }

    .ol-fleet-drawer__panel {
        width: 100%;
        max-width: none;
        height: 100%;
        inset: 0;
    }

    .ol-fleet-drawer__backdrop {
        display: none;
    }

    .ol-fleet-drawer__close {
        top: 8px;
        margin-right: 10px;
    }

    .ol-fleet-drawer .ol-header {
        padding-top: 60px;
    }
}
