
.rvh-floating-purchase-bar {
    position: fixed;
    z-index: 9990;
    top: 0;
    right: 0;
    left: 0;
    display: none;
    padding: 10px 22px;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(148,163,184,.28);
    box-shadow: 0 14px 34px rgba(15,23,42,.13);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    transform: translateY(-115%);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}

.admin-bar .rvh-floating-purchase-bar {
    top: 32px;
}

.rvh-floating-purchase-bar.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.rvh-floating-purchase-inner {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto minmax(540px, auto);
    align-items: center;
    gap: 18px;
    width: min(100%, 1380px);
    margin: 0 auto;
}

.rvh-floating-vehicle {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
}

.rvh-floating-vehicle img {
    flex: 0 0 auto;
    width: 76px;
    height: 54px;
    border-radius: 10px;
    object-fit: cover;
}

.rvh-floating-vehicle-copy {
    min-width: 0;
}

.rvh-floating-vehicle-copy strong,
.rvh-floating-vehicle-copy span {
    display: block;
}

.rvh-floating-vehicle-copy strong {
    overflow: hidden;
    color: var(--rvh-text, #111827);
    font-size: 15px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rvh-floating-vehicle-copy span {
    margin-top: 2px;
    color: var(--rvh-secondary, #0f172a);
    font-size: 20px;
    font-weight: 850;
    line-height: 1.1;
}

.rvh-floating-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.rvh-floating-actions {
    display: grid;
    grid-template-columns: auto auto auto minmax(150px, auto);
    align-items: center;
    gap: 8px;
}

.rvh-floating-actions button,
.rvh-floating-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: var(--rvh-radius, 12px);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.rvh-floating-secondary {
    border: 1px solid var(--rvh-button, #245b91);
    background: #fff;
    color: var(--rvh-button, #245b91);
}

.rvh-floating-secondary[aria-pressed="true"] {
    background: var(--rvh-button, #245b91);
    color: #fff;
}

.rvh-floating-buy {
    border: 1px solid var(--rvh-button, #245b91);
    background: var(--rvh-button, #245b91);
    color: #fff;
}

.rvh-floating-actions button:hover,
.rvh-floating-actions a:hover,
.rvh-floating-actions button:focus-visible,
.rvh-floating-actions a:focus-visible {
    border-color: var(--rvh-button-hover, var(--rvh-primary, #1e40af));
    background: var(--rvh-button-hover, var(--rvh-primary, #1e40af));
    color: #fff;
}

@media (min-width: 1024px) {
    .rvh-floating-purchase-bar {
        display: block;
    }
}

@media (max-width: 1180px) {
    .rvh-floating-purchase-inner {
        grid-template-columns: minmax(220px, 1fr) auto minmax(470px, auto);
        gap: 12px;
    }

    .rvh-floating-compare-link {
        display: none !important;
    }

    .rvh-floating-actions {
        grid-template-columns: auto auto minmax(145px, auto);
    }
}
