.rms-vehicle-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.rms-vehicle,
.rms-vehicle * {
    box-sizing: border-box;
}

.rms-vehicle {
    color: #14213d;
}

.rms-vehicle-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    color: #667085;
    font-size: 14px;
}

.rms-vehicle-breadcrumbs a {
    color: inherit;
}

.rms-vehicle-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 28px;
    align-items: stretch;
}

.rms-vehicle-hero__media,
.rms-vehicle-hero__content,
.rms-vehicle-booking-panel,
.rms-vehicle-section {
    border: 1px solid #d9e0ea;
    border-radius: 8px;
    background: #ffffff;
}

.rms-vehicle-hero__media {
    overflow: hidden;
    min-height: 360px;
}

.rms-vehicle-hero__media > img,
.rms-vehicle-hero__media > picture img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.rms-vehicle-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    background: #f6f8fb;
}

.rms-vehicle-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.rms-vehicle-hero__content {
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.rms-vehicle-status {
    width: fit-content;
    margin: 0 0 14px;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.rms-vehicle h1 {
    margin: 0;
    font-size: 46px;
    line-height: 1.06;
    letter-spacing: 0;
}

.rms-vehicle-location,
.rms-vehicle-summary {
    margin: 16px 0 0;
    color: #475467;
}

.rms-vehicle-summary {
    font-size: 18px;
    line-height: 1.6;
}

.rms-vehicle-highlights,
.rms-vehicle-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 0;
}

.rms-vehicle-highlights div,
.rms-vehicle-spec-grid div {
    min-width: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
    padding: 14px;
}

.rms-vehicle dt {
    margin: 0 0 6px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.rms-vehicle dd {
    margin: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.rms-vehicle-hero__booking {
    margin-top: auto;
    padding-top: 24px;
}

.rms-vehicle-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    margin-top: 28px;
    align-items: start;
}

.rms-vehicle-main {
    display: grid;
    gap: 22px;
}

.rms-vehicle-section {
    padding: 26px;
}

.rms-vehicle h2 {
    margin: 0 0 16px;
    color: #111827;
    font-size: 26px;
    line-height: 1.18;
    letter-spacing: 0;
}

.rms-vehicle-copy {
    color: #344054;
    line-height: 1.7;
}

.rms-vehicle-check-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rms-vehicle-check-list li {
    position: relative;
    padding-left: 24px;
    color: #344054;
}

.rms-vehicle-check-list li::before {
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 6px;
    border-bottom: 2px solid #0f766e;
    border-left: 2px solid #0f766e;
    content: "";
    transform: rotate(-45deg);
}

.rms-vehicle-faq-item {
    border-top: 1px solid #e5e7eb;
    padding: 14px 0;
}

.rms-vehicle-faq-item:first-of-type {
    border-top: 0;
}

.rms-vehicle-faq-item summary {
    cursor: pointer;
    color: #111827;
    font-weight: 800;
}

.rms-vehicle-faq-item p {
    margin: 10px 0 0;
    color: #475467;
}

.rms-vehicle-side {
    position: sticky;
    top: 24px;
}

.rms-vehicle-booking-panel {
    padding: 22px;
    box-shadow: 0 18px 50px rgba(20, 33, 61, 0.08);
}

.rms-vehicle-price {
    margin: 0 0 8px;
    color: #111827;
    font-size: 24px;
    font-weight: 900;
}

.rms-book-button {
    display: inline-flex;
    width: auto;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: #0f766e;
    color: #ffffff !important;
    padding: 0 22px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.rms-vehicle-booking-panel .rms-book-button,
.rms-vehicle-hero__booking .rms-book-button {
    width: 100%;
}

.rms-book-button:hover {
    background: #115e59;
    color: #ffffff !important;
}

.rms-book-button:focus-visible,
.rms-book-fallback:focus-visible,
.rms-book-modal__close:focus-visible,
.rms-vehicle a:focus-visible,
.rms-vehicle summary:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 3px;
}

.rms-book-fallback {
    display: inline-block;
    margin: 12px 0 0;
    color: #0f766e;
    font-weight: 800;
}

.rms-book-note {
    margin: 12px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.45;
}

.rms-book-embed iframe {
    width: 100%;
    min-height: 720px;
    border: 1px solid #d9e0ea;
    border-radius: 8px;
}

.rms-book-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.72);
    padding: 24px;
}

.rms-book-modal[hidden] {
    display: none;
}

.rms-book-modal__dialog {
    position: relative;
    width: min(1100px, 100%);
    height: min(820px, 92vh);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    padding: 54px 16px 16px;
}

.rms-book-modal__dialog iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.rms-book-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    min-height: 34px;
    border: 1px solid #d9e0ea;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
}

.rms-book-modal-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .rms-vehicle-hero,
    .rms-vehicle-content-grid {
        grid-template-columns: 1fr;
    }

    .rms-vehicle-side {
        position: static;
    }
}

@media (max-width: 700px) {
    .rms-vehicle-page {
        padding: 22px 14px 44px;
    }

    .rms-vehicle-hero__content,
    .rms-vehicle-section,
    .rms-vehicle-booking-panel {
        padding: 20px;
    }

    .rms-vehicle-hero__media > img,
    .rms-vehicle-hero__media > picture img {
        height: 300px;
    }

    .rms-vehicle-gallery,
    .rms-vehicle-highlights,
    .rms-vehicle-spec-grid {
        grid-template-columns: 1fr;
    }

    .rms-vehicle h1 {
        font-size: 34px;
    }

    .rms-vehicle h2 {
        font-size: 23px;
    }

    .rms-book-button {
        width: 100%;
    }

    .rms-book-fallback {
        display: block;
        text-align: center;
    }

    .rms-book-modal {
        padding: 8px;
    }

    .rms-book-modal__dialog {
        height: 94vh;
        padding: 50px 8px 8px;
    }

    .rms-book-embed iframe {
        min-height: 640px;
    }
}
