/* RS1 Drive — linked vehicle detail. Loaded after the shared rental palette. */
body.rs1-drive-offer-page {
    background: #ffffff !important;
    color: #111419 !important;
    color-scheme: light !important;
}

body.rs1-drive-offer-page .rn {
    background: #ffffff !important;
    color: #111419 !important;
}

body.rs1-drive-offer-page .rn-breadcrumb {
    max-width: 1480px;
    margin: 0 auto;
    padding: 22px clamp(22px, 4vw, 68px);
    color: #646a72 !important;
    background: #ffffff !important;
    font-size: 12px;
    letter-spacing: .06em;
}

body.rs1-drive-offer-page .rn-breadcrumb a,
body.rs1-drive-offer-page .rn-breadcrumb span {
    color: inherit !important;
}

.rs1-drive-detail-v2 {
    --drive-black: #101318;
    --drive-muted: #68707a;
    --drive-line: #d9dde1;
    --drive-surface: #fff;
    width: min(1480px, 100%);
    margin: 0 auto;
    padding: 0 clamp(18px, 3vw, 46px) 112px;
    color: var(--drive-black);
    font-family: Montserrat, Arial, sans-serif;
}

.rs1-drive-detail-v2 *,
.rs1-drive-detail-v2 *::before,
.rs1-drive-detail-v2 *::after {
    box-sizing: border-box;
}

.rs1-drive-detail-v2 h1,
.rs1-drive-detail-v2 h2,
.rs1-drive-detail-v2 p,
.rs1-drive-detail-v2 dl,
.rs1-drive-detail-v2 ul {
    margin-top: 0;
}

.rs1-drive-detail-v2 h1,
.rs1-drive-detail-v2 h2,
.rs1-drive-detail-v2 h3 {
    color: var(--drive-black) !important;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
    text-wrap: balance;
}

.rs1-drive-detail-v2 p,
.rs1-drive-detail-v2 li,
.rs1-drive-detail-v2 dd {
    text-wrap: pretty;
}

.drive-eyebrow {
    margin-bottom: 16px;
    color: #566170;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.4;
}

.drive-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(410px, .72fr);
    min-height: min(720px, 76vh);
    overflow: hidden;
    background: var(--drive-surface);
    border: 1px solid var(--drive-line);
    border-radius: 4px;
}

.drive-hero-media {
    min-height: 620px;
    background: #f0f1f2;
}

.drive-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.drive-photo-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: inherit;
    place-items: center;
    color: #9399a0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .25em;
}

.drive-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 3.8vw, 62px);
}

.drive-hero-copy h1 {
    margin-bottom: 12px;
    max-width: 680px;
    font-size: clamp(38px, 3.4vw, 56px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .98;
}

.drive-specification {
    margin-bottom: clamp(32px, 5vh, 58px);
    color: var(--drive-muted);
    font-size: 16px;
    line-height: 1.6;
}

.drive-price {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 4px 12px;
    padding: 0 0 26px;
    border-bottom: 1px solid var(--drive-line);
}

.drive-price > span {
    grid-column: 1 / -1;
    color: var(--drive-muted);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.drive-price strong {
    font-size: clamp(40px, 4vw, 64px);
    font-weight: 550;
    letter-spacing: -.055em;
    line-height: 1;
}

.drive-price small {
    padding-bottom: 7px;
    color: var(--drive-muted);
    font-size: 14px;
}

.drive-hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 25px 0 34px;
}

.drive-hero-facts dt,
.drive-summary dt {
    margin-bottom: 7px;
    color: var(--drive-muted);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.drive-hero-facts dd,
.drive-summary dd {
    margin: 0;
    color: var(--drive-black);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.drive-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.drive-button,
.drive-submit {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 1px solid var(--drive-black);
    border-radius: 2px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .055em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.drive-button-primary,
.drive-submit {
    background: var(--drive-black);
    color: #fff !important;
}

.drive-button-secondary {
    background: transparent;
    color: var(--drive-black) !important;
}

.drive-button:hover,
.drive-button:focus-visible,
.drive-submit:hover,
.drive-submit:focus-visible {
    background: #333942;
    border-color: #333942;
    color: #fff !important;
}

.drive-button:focus-visible,
.drive-submit:focus-visible,
.rs1-drive-detail-v2 input:focus-visible,
.rs1-drive-detail-v2 select:focus-visible,
.rs1-drive-detail-v2 textarea:focus-visible,
.rs1-drive-detail-v2 summary:focus-visible,
.drive-mobile-action a:focus-visible {
    outline: 3px solid #97a9bc;
    outline-offset: 3px;
}

.drive-disclaimer {
    margin: 18px 0 0;
    color: var(--drive-muted);
    font-size: 12px;
    line-height: 1.55;
}

.drive-back-link a {
    width: fit-content;
    color: var(--drive-black) !important;
    border-bottom: 1px solid currentColor;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.7;
    text-decoration: none;
}

.drive-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(380px, .64fr);
    gap: clamp(54px, 6vw, 92px);
    align-items: start;
    padding: clamp(68px, 7vw, 104px) max(0px, 3.5vw) 40px;
}

.drive-information > section {
    padding: 0 0 54px;
    border-bottom: 1px solid var(--drive-line);
}

.drive-information > section + section {
    padding-top: 58px;
}

.drive-information h2,
.drive-request h2 {
    margin-bottom: 22px;
    font-size: clamp(28px, 2.4vw, 38px);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.08;
}

.drive-section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.drive-section-heading h2 {
    margin-bottom: 14px;
}

.drive-section-heading > p:last-child {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--drive-muted);
    font-size: 15px;
    line-height: 1.65;
}

.drive-section-kicker {
    margin-bottom: 11px;
    color: #536b82;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.drive-summary dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 0;
    border-top: 1px solid var(--drive-line);
}

.drive-summary dl > div {
    padding: 22px 20px 22px 0;
    border-bottom: 1px solid var(--drive-line);
}

.drive-summary dl > div:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--drive-line);
}

.drive-services ul,
.drive-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    margin-bottom: 20px;
    list-style: none;
    border: 0;
}

.drive-services {
    margin-top: 0;
}

.drive-services li {
    display: flex;
    min-width: 0;
    min-height: 248px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--drive-line);
    border-radius: 3px;
}

.drive-service-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    color: #455f77;
    background: #f2f4f5;
    border: 0;
    border-radius: 2px;
}

.drive-service-icon svg {
    display: block;
    width: 25px;
    height: 25px;
    background: currentColor;
    -webkit-mask: var(--vehicle-icon) center / contain no-repeat;
    mask: var(--vehicle-icon) center / contain no-repeat;
}

.drive-service-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.drive-service-copy strong {
    color: var(--drive-black);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.35;
}

.drive-service-copy > span {
    max-width: 640px;
    color: var(--drive-muted);
    font-size: 13px;
    font-weight: 450;
    line-height: 1.6;
}

.drive-service-state {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--drive-line);
    width: 100%;
    color: #536b82;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.4;
    text-transform: uppercase;
}

.drive-transparency-note {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding: 20px 0;
    background: transparent;
    border-top: 1px solid var(--drive-line);
    border-left: 0;
    border-bottom: 1px solid var(--drive-line);
}

.drive-transparency-note p {
    margin: 0;
    color: #4f5862;
    font-size: 14px;
    line-height: 1.65;
}

.drive-transparency-note strong {
    color: var(--drive-black);
    font-weight: 700;
}

.drive-transparency-icon,
.drive-process-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #455f77;
}

.drive-transparency-icon .vehicle-detail-svg,
.drive-process-icon .vehicle-detail-svg {
    width: 24px;
    height: 24px;
    background: currentColor;
    -webkit-mask: var(--vehicle-icon) center / contain no-repeat;
    mask: var(--vehicle-icon) center / contain no-repeat;
}

.drive-request > p {
    color: var(--drive-muted);
    font-size: 15px;
    line-height: 1.7;
}

.drive-conditions {
    margin-top: 22px;
    border-top: 1px solid var(--drive-line);
    padding-bottom: 0 !important;
}

.drive-conditions summary,
.drive-preferences summary {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--drive-black) !important;
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}

.drive-conditions summary::-webkit-details-marker,
.drive-preferences summary::-webkit-details-marker {
    display: none;
}

.drive-conditions summary::after,
.drive-preferences summary::after {
    content: "+";
    font-size: 24px;
    font-weight: 350;
}

.drive-conditions[open] summary::after,
.drive-preferences[open] summary::after {
    content: "−";
}

.drive-conditions > div {
    padding: 6px 0 30px;
    color: var(--drive-muted);
    font-size: 15px;
    line-height: 1.75;
}

.drive-process-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.drive-process-list article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding-top: 20px;
    border-top: 1px solid var(--drive-line);
}

.drive-process-list h3 {
    margin: 1px 0 7px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.35;
}

.drive-process-list p {
    margin: 0;
    color: var(--drive-muted);
    font-size: 13px;
    line-height: 1.6;
}

.drive-request {
    position: sticky;
    top: 110px;
    padding: clamp(30px, 3.4vw, 46px);
    background: var(--drive-surface);
    border: 1px solid var(--drive-line);
    border-radius: 3px;
}

.drive-request > p {
    margin-bottom: 30px;
}

.drive-request form {
    display: grid;
    gap: 18px;
}

.drive-request label,
.drive-long-preferences label,
.rn-long-preferences label {
    display: grid;
    gap: 8px;
    color: #333940 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.45;
}

.drive-request input:not([type="checkbox"]),
.drive-request select,
.drive-request textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    background: #fff !important;
    border: 1px solid #cdd2d7 !important;
    border-radius: 2px !important;
    color: var(--drive-black) !important;
    font: inherit;
    font-size: 16px !important;
    box-shadow: none !important;
}

.drive-request textarea {
    min-height: 108px;
    resize: vertical;
}

.drive-field-pair,
.drive-preferences .rn-field-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.drive-preferences {
    margin: 2px 0 0;
    border-top: 1px solid var(--drive-line);
    border-bottom: 1px solid var(--drive-line);
}

.drive-preferences summary {
    padding: 0 !important;
}

.drive-preferences summary span {
    margin-left: auto;
    color: var(--drive-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.drive-preferences-body {
    display: grid;
    gap: 18px;
    padding: 8px 0 24px;
}

body.rs1-drive-offer-page .rn .drive-preferences .rn-long-preferences {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--drive-black) !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.drive-preferences .rn-long-preferences legend {
    display: none;
}

body.rs1-drive-offer-page .rn .drive-preferences .rn-long-preferences > p {
    margin: 10px 0 0;
    color: var(--drive-muted) !important;
    font-size: 12px;
    line-height: 1.55;
}

.drive-consent {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 11px !important;
    color: #4f555d !important;
    font-size: 12px !important;
    font-weight: 450 !important;
}

.drive-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--drive-black);
}

.drive-consent a {
    color: var(--drive-black) !important;
}

.drive-submit {
    width: 100%;
    min-height: 54px;
}

.drive-form-note {
    margin: -6px 0 0;
    color: var(--drive-muted);
    font-size: 11px;
    text-align: center;
}

.drive-form-errors {
    padding: 18px;
    margin-bottom: 22px;
    background: #fff4f3;
    border-left: 3px solid #a33229;
    color: #69231e;
    font-size: 14px;
    line-height: 1.6;
}

.drive-form-errors ul {
    padding-left: 18px;
    margin: 8px 0 0;
}

.drive-back-link {
    padding: 40px max(0px, 5vw) 0;
}

.drive-mobile-action {
    display: none;
}

body.rs1-drive-offer-page .rn-related,
body.rs1-drive-offer-page .rn-mobile-action {
    display: none !important;
}

@media (max-width: 1100px) {
    .drive-hero {
        grid-template-columns: 1fr;
    }

    .drive-hero-media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .drive-hero-copy {
        padding: 46px clamp(28px, 6vw, 64px) 54px;
    }

    .drive-content-grid {
        gap: 45px;
    }

    .drive-services ul,
    .drive-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    body.rs1-drive-offer-page .rn-breadcrumb {
        display: none;
    }

    .rs1-drive-detail-v2 {
        padding: 0 0 110px;
    }

    .drive-hero {
        grid-template-columns: 1fr;
        border-width: 0 0 1px;
        border-radius: 0;
    }

    .drive-hero-media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .drive-hero-copy {
        padding: 44px clamp(22px, 6vw, 50px) 52px;
    }

    .drive-hero-copy h1 {
        font-size: clamp(34px, 9vw, 48px);
        line-height: 1.02;
    }

    .drive-content-grid {
        grid-template-columns: 1fr;
        padding-right: clamp(22px, 6vw, 50px);
        padding-left: clamp(22px, 6vw, 50px);
    }

    .drive-content-grid {
        gap: 30px;
    }

    .drive-request {
        position: static;
        padding: clamp(26px, 6vw, 44px);
    }

    .drive-back-link {
        padding-right: clamp(22px, 6vw, 50px);
        padding-left: clamp(22px, 6vw, 50px);
    }
}

@media (max-width: 600px) {
    .drive-hero-media {
        aspect-ratio: 4 / 3;
    }

    .drive-hero-copy {
        padding: 36px 22px 44px;
    }

    .drive-specification {
        margin-bottom: 30px;
    }

    .drive-price strong {
        font-size: 44px;
    }

    .drive-hero-facts {
        grid-template-columns: 1fr 1fr;
        gap: 20px 12px;
    }

    .drive-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .drive-content-grid {
        padding-top: 56px;
    }

    .drive-summary dl,
    .drive-field-pair,
    .drive-preferences .rn-field-pair {
        grid-template-columns: 1fr;
    }

    .drive-summary dl > div:nth-child(even) {
        padding-left: 0;
        border-left: 0;
    }

    .drive-information > section {
        padding-bottom: 46px;
    }

    .drive-information > section + section {
        padding-top: 48px;
    }

    .drive-section-heading > p:last-child {
        font-size: 15px;
    }

    .drive-services ul,
    .drive-service-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .drive-services li {
        min-height: 0;
        gap: 14px;
        padding: 20px;
    }

    .drive-service-state {
        padding-top: 12px;
    }

    .drive-transparency-note {
        padding: 18px;
    }

    .drive-process-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .drive-request {
        margin-right: -22px;
        margin-left: -22px;
        border-right: 0;
        border-left: 0;
    }

    .drive-mobile-action {
        position: fixed;
        z-index: 2147482000;
        right: 12px;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 12px;
        display: flex;
        min-height: 70px;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 10px 11px 10px 18px;
        background: #101318;
        border: 1px solid #30343a;
        border-radius: 6px;
        color: #fff;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(calc(100% + 20px));
        transition: opacity .2s ease, transform .25s ease, visibility 0s linear .25s;
    }

    .drive-mobile-action.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition-delay: 0s;
    }

    .drive-mobile-action div {
        display: grid;
    }

    .drive-mobile-action small {
        color: #aeb4bb;
        font-size: 10px;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .drive-mobile-action strong {
        font-size: 20px;
        font-weight: 600;
    }

    .drive-mobile-action strong span {
        color: #b9bec4;
        font-size: 11px;
    }

    .drive-mobile-action a {
        display: inline-flex;
        min-height: 47px;
        align-items: center;
        justify-content: center;
        padding: 9px 14px;
        background: #fff;
        border-radius: 2px;
        color: #101318 !important;
        font-size: 11px;
        font-weight: 750;
        letter-spacing: .04em;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs1-drive-detail-v2 *,
    .rs1-drive-detail-v2 *::before,
    .rs1-drive-detail-v2 *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
