/* Vos Motor Overzicht - Frontend stijl */

.vosmo-wrapper,
.vosmo-detail {
    --vosmo-accent: #d40000;
    --vosmo-accent-dark: #a30000;
    --vosmo-text: #1a1a1a;
    --vosmo-muted: #6b6b6b;
    --vosmo-bg: #ffffff;
    --vosmo-page-bg: #f5f5f5;
    --vosmo-border: #e5e5e5;
    --vosmo-header-bg: #0d0d0d;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--vosmo-text);
}

.vosmo-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px 48px;
}

/* GLAS / MAT — overzicht + detail (donker thema, zoals homepage) */
.vosmo-wrapper--glass,
.vosmo-detail--glass,
.vosmo-featured {
    --vosmo-glass-bg: rgba(255, 255, 255, 0.07);
    --vosmo-glass-bg-hover: rgba(255, 255, 255, 0.11);
    --vosmo-glass-border: rgba(255, 255, 255, 0.16);
    --vosmo-glass-border-hover: rgba(255, 255, 255, 0.26);
    --vosmo-glass-text: #f4f4f4;
    --vosmo-glass-muted: rgba(255, 255, 255, 0.62);
    --vosmo-glass-image-bg: rgba(255, 255, 255, 0.04);
    --vosmo-glass-pricebox-bg: rgba(0, 0, 0, 0.22);
    --vosmo-glass-panel-bg: rgba(255, 255, 255, 0.06);
    color: var(--vosmo-glass-text);
}

.vosmo-wrapper--glass .vosmo-overview-panel {
    background: var(--vosmo-glass-panel-bg);
    border: 1px solid var(--vosmo-glass-border);
    border-radius: 12px;
    padding: 24px 28px 28px;
    margin-bottom: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
}
.vosmo-wrapper--glass .vosmo-overview-title {
    color: var(--vosmo-glass-text);
}
.vosmo-wrapper--glass .vosmo-filter-field-label {
    color: var(--vosmo-glass-muted);
}
.vosmo-wrapper--glass .vosmo-filter-search input,
.vosmo-wrapper--glass .vosmo-filter-range input {
    background-color: rgba(0, 0, 0, 0.25);
    border-color: var(--vosmo-glass-border);
    color: var(--vosmo-glass-text);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.vosmo-wrapper--glass .vosmo-filter-range input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.vosmo-wrapper--glass .vosmo-filter-search input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.vosmo-wrapper--glass .vosmo-filter-select select {
    background-color: rgba(0, 0, 0, 0.25);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23cccccc' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    border-color: var(--vosmo-glass-border);
    color: var(--vosmo-glass-text);
    color-scheme: dark;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.vosmo-wrapper--glass .vosmo-filter-select select:focus {
    border-color: var(--vosmo-accent);
    outline: none;
}
.vosmo-wrapper--glass .vosmo-empty {
    background: var(--vosmo-glass-bg);
    border-color: var(--vosmo-glass-border);
    color: var(--vosmo-glass-muted);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.vosmo-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    margin-top: 36px;
    padding: 8px 0 16px;
}
.vosmo-pagination[hidden] {
    display: none !important;
}
.vosmo-pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 8px;
    border: 1px solid var(--vosmo-glass-border, var(--vosmo-border));
    background: var(--vosmo-glass-bg, #fff);
    color: var(--vosmo-glass-text, var(--vosmo-text));
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.vosmo-pagination__btn:hover:not(:disabled) {
    background: var(--vosmo-glass-bg-hover, #f7f7f7);
    border-color: var(--vosmo-glass-border-hover, var(--vosmo-text));
}
.vosmo-pagination__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.vosmo-pagination__status {
    font-size: 0.95rem;
    color: var(--vosmo-glass-muted, var(--vosmo-muted));
    min-width: 8rem;
    text-align: center;
}

/* OVERZICHT */
.vosmo-overview-panel {
    background: #fff;
    border: 1px solid var(--vosmo-border);
    border-radius: 12px;
    padding: 24px 28px 28px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.vosmo-overview-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--vosmo-text);
    line-height: 1.2;
}
.vosmo-filters {
    background: transparent;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    align-items: start;
}
.vosmo-filter-search {
    grid-column: span 2;
}
.vosmo-filter-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.vosmo-filter-field-label {
    display: flex;
    align-items: flex-end;
    min-height: 2.64em;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    color: var(--vosmo-text);
}
.vosmo-filter-search input,
.vosmo-filter-select select,
.vosmo-filter-range input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--vosmo-border);
    border-radius: 8px;
    background: #fff;
    font-size: 0.95rem;
    line-height: 1.25;
    color: var(--vosmo-text);
    box-sizing: border-box;
    min-height: 44px;
    transition: border-color 0.15s ease;
}
.vosmo-filter-search input[type="search"] {
    -webkit-appearance: none;
    appearance: none;
}
.vosmo-filter-search input::-webkit-search-decoration,
.vosmo-filter-search input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}
.vosmo-filter-search input:focus,
.vosmo-filter-select select:focus,
.vosmo-filter-range input:focus {
    outline: none;
    border-color: var(--vosmo-accent);
}
.vosmo-filter-select {
    position: relative;
}
.vosmo-filter-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333333' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    padding-right: 40px;
    cursor: pointer;
}
.vosmo-grid {
    background: transparent;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.vosmo-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--vosmo-border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.vosmo-card:focus-visible {
    outline: 2px solid var(--vosmo-accent);
    outline-offset: 3px;
}
.vosmo-card-image,
.vosmo-card-body {
    position: relative;
}
.vosmo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}
.vosmo-card-image {
    aspect-ratio: 4 / 3;
    background: #1a1a1a;
    position: relative;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    border-bottom: 1px solid var(--vosmo-border);
}
.vosmo-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
}
.vosmo-card-image-placeholder { color: var(--vosmo-muted); font-size: 0.9rem; }
.vosmo-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.vosmo-card-brand {
    font-size: 0.8rem;
    color: var(--vosmo-muted);
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 2px;
}
.vosmo-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--vosmo-text);
    line-height: 1.15;
}
.vosmo-card-class { font-size: 0.92rem; color: var(--vosmo-text); margin-top: 2px; }
.vosmo-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 10px;
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--vosmo-muted);
}
.vosmo-card-meta-item { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.35em; }
.vosmo-card-meta-label { font-weight: 600; color: var(--vosmo-text); }
.vosmo-card .vosmo-detail-pricebox {
    margin-top: 14px;
    margin-bottom: 0;
    padding: 12px 14px;
    gap: 12px;
}
.vosmo-card .vosmo-detail-price-amount { font-size: 1.2rem; }
.vosmo-card .vosmo-detail-price-monthly { font-size: 1.05rem; }
.vosmo-card .vosmo-detail-finance-sub { font-size: 0.72rem; }
.vosmo-card-disclaimer {
    font-size: 0.72rem;
    color: var(--vosmo-muted);
    margin: 8px 0 0;
    line-height: 1.4;
}
.vosmo-empty {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
    color: var(--vosmo-muted);
    background: var(--vosmo-page-bg);
    border-radius: 12px;
    border: 1px solid var(--vosmo-border);
}
.vosmo-wrapper.is-loading .vosmo-grid {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* DETAILPAGINA */
body.vosmo-motor-detail-page .site-main,
body.single-motor .site-main,
.site-main.site-main--motor-single {
    width: min(1400px, calc(100% - 3rem)) !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body.vosmo-motor-detail-page .site-main--narrow {
    width: min(1400px, calc(100% - 3rem)) !important;
    max-width: 1400px !important;
}
/* Thema toont titel/datum boven plugin — verbergen */
body.vosmo-motor-detail-page .entry-header,
body.single-motor .entry-header {
    display: none !important;
}
body.vosmo-motor-detail-page article.tv-panel,
body.vosmo-motor-detail-page .tv-panel--padded {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
}
.site-main--motor-single,
.site-main--motor-single .entry-content,
.site-main--motor-single .vosmo-motor-article {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}
.site-main--motor-single .tv-elementor-entry {
    max-width: none;
    width: 100%;
}
.vosmo-detail {
    --vosmo-detail-row-gap: 28px;
    --vosmo-detail-col-gap: 48px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(16px, 2vw, 32px) 64px;
    width: 100%;
    box-sizing: border-box;
}
.vosmo-detail--glass .vosmo-detail-crumb,
.vosmo-detail--glass .vosmo-detail-crumb a {
    color: var(--vosmo-glass-muted);
}
.vosmo-detail--glass .vosmo-detail-crumb a:hover {
    color: var(--vosmo-glass-text);
}
.vosmo-detail--glass .vosmo-crumb-sep {
    color: rgba(255, 255, 255, 0.35);
}
.vosmo-detail--glass .vosmo-detail-photo,
.vosmo-detail--glass .vosmo-detail-card,
.vosmo-detail--glass .vosmo-detail-trust,
.vosmo-detail--glass .vosmo-detail-location-inner,
.vosmo-detail--glass .vosmo-spec,
.vosmo-detail--glass .vosmo-detail-description {
    background: var(--vosmo-glass-bg);
    border: 1px solid var(--vosmo-glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    color: var(--vosmo-glass-text);
}
.vosmo-detail--glass .vosmo-detail-photo {
    background: var(--vosmo-glass-image-bg);
}
.vosmo-detail--glass .vosmo-detail-brand,
.vosmo-detail--glass .vosmo-detail-price-block:first-child .vosmo-detail-price-label,
.vosmo-detail--glass .vosmo-detail-disclaimer,
.vosmo-detail--glass .vosmo-spec-label,
.vosmo-detail--glass .vosmo-detail-location-address {
    color: var(--vosmo-glass-muted);
}
.vosmo-detail--glass .vosmo-detail-title,
.vosmo-detail--glass .vosmo-detail-section-title,
.vosmo-detail--glass .vosmo-spec-value,
.vosmo-detail--glass .vosmo-detail-price-amount,
.vosmo-detail--glass .vosmo-detail-location-heading {
    color: var(--vosmo-glass-text);
}
.vosmo-detail--glass .vosmo-detail-price-monthly {
    color: var(--vosmo-accent);
}
.vosmo-detail--glass .vosmo-detail-price-block:last-child .vosmo-detail-price-label {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}
.vosmo-detail--glass .vosmo-detail-finance-sub,
.vosmo-detail--glass .vosmo-detail-per {
    color: var(--vosmo-accent, #d40000);
    font-weight: 600;
}
.vosmo-detail--glass .vosmo-detail-finance-sub {
    font-size: 0.85rem;
    line-height: 1.45;
}
/* Witte modals binnen glass-detail: donkere tekst op wit paneel */
.vosmo-detail--glass .vosmo-modal-panel {
    color: #1a1a1a;
}
.vosmo-detail--glass .vosmo-modal-panel h2,
.vosmo-detail--glass .vosmo-modal-panel label,
.vosmo-detail--glass .vosmo-modal-panel .vosmo-form-row label,
.vosmo-detail--glass .vosmo-modal-panel .vosmo-tab,
.vosmo-detail--glass .vosmo-calc-form label {
    color: #1a1a1a !important;
}
.vosmo-detail--glass .vosmo-modal-panel .vosmo-form-hint {
    color: #5c5c5c !important;
}
.vosmo-detail--glass .vosmo-modal-panel .vosmo-modal-disclaimer {
    color: #5c5c5c !important;
}
.vosmo-detail--glass .vosmo-modal-panel .vosmo-tab.is-active {
    color: #1a1a1a !important;
}
.vosmo-detail--glass .vosmo-detail-pricebox {
    background: var(--vosmo-glass-pricebox-bg);
    border-color: var(--vosmo-glass-border);
}
.vosmo-detail--glass .vosmo-btn-finance {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--vosmo-glass-border);
    color: var(--vosmo-glass-text);
}
.vosmo-detail--glass .vosmo-btn-finance:hover {
    background: rgba(255, 255, 255, 0.14);
}
.vosmo-detail--glass .vosmo-btn-primary {
    background: var(--vosmo-accent);
    color: #fff;
}
.vosmo-detail--glass .vosmo-btn-primary:hover {
    background: var(--vosmo-accent-dark);
}
.vosmo-detail--glass .vosmo-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--vosmo-glass-border);
    color: var(--vosmo-glass-text);
}
.vosmo-detail--glass .vosmo-btn-secondary:hover {
    border-color: var(--vosmo-glass-border-hover);
    background: rgba(255, 255, 255, 0.12);
}
.vosmo-detail--glass .vosmo-detail-trust h3 {
    color: var(--vosmo-accent);
}
.vosmo-detail--glass .vosmo-detail-trust li {
    color: var(--vosmo-glass-muted);
}
.vosmo-detail--glass .vosmo-detail-photo-placeholder {
    color: var(--vosmo-glass-muted);
}
.vosmo-detail-right.REMOVE_ME {
    display: none !important;
}
.vosmo-detail-crumb {
    color: var(--vosmo-muted);
    font-size: 0.9rem;
    padding: 16px 0 24px;
    margin: 0;
}
.vosmo-detail-crumb a { color: var(--vosmo-muted); text-decoration: none; }
.vosmo-detail-crumb a:hover { color: var(--vosmo-accent); }
.vosmo-crumb-sep { margin: 0 8px; color: #ccc; }

.vosmo-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    grid-template-areas:
        "photo commerce"
        "location commerce"
        "specs commerce"
        "description commerce";
    column-gap: var(--vosmo-detail-col-gap);
    row-gap: var(--vosmo-detail-row-gap);
    align-items: start;
    width: 100%;
}

.vosmo-detail-cell--photo { grid-area: photo; }
.vosmo-detail-cell--commerce {
    grid-area: commerce;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--tv-header-height, 80px) + 16px);
    align-self: start;
}
.vosmo-detail-cell--location { grid-area: location; }
.vosmo-detail-cell--specs { grid-area: specs; }
.vosmo-detail-cell--description { grid-area: description; }

.vosmo-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.vosmo-detail-photo {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
    min-height: 280px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin: 0;
    border: 1px solid var(--vosmo-border);
    width: 100%;
    box-sizing: border-box;
}
.vosmo-detail-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.vosmo-detail-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.vosmo-detail-thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 54px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0.72;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}
.vosmo-detail-thumb:hover,
.vosmo-detail-thumb.is-active {
    opacity: 1;
    border-color: var(--vosmo-accent, #d40000);
}
.vosmo-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.vosmo-detail-photo-placeholder { color: var(--vosmo-muted); }

.vosmo-detail-location {
    margin: 0;
}
.vosmo-detail-location-inner {
    background: var(--vosmo-page-bg);
    border: 1px solid var(--vosmo-border);
    border-radius: 12px;
    padding: 18px 20px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.vosmo-detail-location-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--vosmo-text);
}
.vosmo-detail-location-icon {
    display: flex;
    color: var(--vosmo-text);
    flex-shrink: 0;
}
.vosmo-detail-location-address {
    margin: 0 0 12px;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--vosmo-text);
}
.vosmo-detail-location-linkwrap { margin: 0 0 8px; }
.vosmo-detail-location-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--vosmo-accent);
    text-decoration: none;
}
.vosmo-detail-location-link:hover { text-decoration: underline; }
.vosmo-detail-location-map {
    margin-top: 4px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--vosmo-border);
    background: #e8e8e8;
}
.vosmo-detail-location-map iframe {
    display: block;
    width: 100%;
    height: 150px !important;
    vertical-align: top;
}

.vosmo-detail-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--vosmo-text);
}
.vosmo-detail-cell--specs,
.vosmo-detail-cell--description {
    background: transparent;
}
.vosmo-detail-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.vosmo-spec {
    background: #fff;
    border: 1px solid var(--vosmo-border);
    border-radius: 8px;
    padding: 14px 18px;
}
.vosmo-spec-label {
    font-size: 0.8rem;
    color: var(--vosmo-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.vosmo-spec-value { font-size: 1.05rem; font-weight: 600; color: var(--vosmo-text); }
.vosmo-detail-description {
    background: #fff;
    padding: 20px 24px;
    border-radius: 8px;
    border: 1px solid var(--vosmo-border);
    line-height: 1.6;
}

.vosmo-detail-card {
    background: #fff;
    border: 1px solid var(--vosmo-border);
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.vosmo-detail-brand {
    font-size: 0.8rem;
    color: var(--vosmo-muted);
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 6px;
}
.vosmo-detail-title {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.15;
}
.vosmo-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0 0 18px;
    font-size: 0.95rem;
    line-height: 1.35;
}
.vosmo-detail-meta-item {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35em;
}
.vosmo-detail-meta-label {
    font-weight: 600;
    color: var(--vosmo-muted);
}
.vosmo-detail--glass .vosmo-detail-meta-label {
    color: rgba(255, 255, 255, 0.72);
}
.vosmo-detail--glass .vosmo-detail-meta-item {
    color: var(--vosmo-glass-text);
}
.vosmo-detail-pricebox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border: 1px solid var(--vosmo-border);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}
.vosmo-detail-price-label {
    font-size: 0.8rem;
    color: var(--vosmo-muted);
    margin-bottom: 4px;
}
.vosmo-info-asterisk { color: var(--vosmo-accent); }
.vosmo-detail-price-amount { font-size: 1.5rem; font-weight: 800; color: var(--vosmo-text); }
.vosmo-detail-price-monthly { font-size: 1.2rem; font-weight: 700; color: var(--vosmo-accent); }
.vosmo-detail-per { font-size: 0.85rem; color: var(--vosmo-muted); font-weight: 500; }
.vosmo-detail-finance-sub { font-size: 0.78rem; color: var(--vosmo-muted); margin-top: 2px; }

.vosmo-btn {
    display: block;
    width: 100%;
    border: 0;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s ease, transform 0.1s ease;
    box-sizing: border-box;
    font-family: inherit;
}
.vosmo-btn:active { transform: translateY(1px); }
.vosmo-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.vosmo-btn-finance {
    background: #fff;
    border: 1px solid var(--vosmo-text);
    color: var(--vosmo-text);
    margin-bottom: 14px;
}
.vosmo-btn-finance:hover { background: #f7f7f7; }
.vosmo-detail-actions { display: grid; gap: 10px; }
.vosmo-btn-primary { background: var(--vosmo-text); color: #fff; }
.vosmo-btn-primary:hover { background: #000; }
.vosmo-btn-secondary { background: #fff; border: 1px solid var(--vosmo-border); color: var(--vosmo-text); }
.vosmo-btn-secondary:hover { border-color: var(--vosmo-text); }
.vosmo-detail-disclaimer { font-size: 0.75rem; color: var(--vosmo-muted); margin: 14px 0 0; line-height: 1.5; }

.vosmo-detail-trust {
    margin: 0;
    background: #fff;
    border: 1px solid var(--vosmo-border);
    border-radius: 12px;
    padding: 20px 24px;
}
.vosmo-detail-trust h3 {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--vosmo-accent);
}
.vosmo-detail-trust ul { margin: 0; padding-left: 18px; font-size: 0.9rem; }
.vosmo-detail-trust li { margin-bottom: 6px; }

/* MODAL */
.vosmo-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.vosmo-modal[hidden] { display: none; }
.vosmo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    cursor: pointer;
}
.vosmo-modal-panel {
    position: relative;
    background: #fff;
    border-radius: 14px;
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.vosmo-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: 0;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: var(--vosmo-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
}
.vosmo-modal-close:hover { background: #f0f0f0; color: var(--vosmo-text); }
.vosmo-modal-panel h2 {
    margin: 0 0 4px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
}
.vosmo-modal-panel label,
.vosmo-calc-form label {
    color: #1a1a1a;
}
.vosmo-modal-sub { color: var(--vosmo-muted); margin: 0 0 24px; font-size: 0.95rem; }
.vosmo-modal-disclaimer {
    margin-top: 20px;
    font-size: 0.75rem;
    color: var(--vosmo-muted);
    line-height: 1.5;
    padding-top: 16px;
    border-top: 1px solid var(--vosmo-border);
}

.vosmo-tabs {
    display: flex;
    gap: 4px;
    margin: 20px 0;
    background: var(--vosmo-page-bg);
    padding: 4px;
    border-radius: 8px;
}
.vosmo-tab {
    flex: 1;
    background: transparent;
    border: 0;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: var(--vosmo-muted);
    font-size: 0.9rem;
    transition: background 0.15s, color 0.15s;
}
.vosmo-tab.is-active {
    background: #fff;
    color: var(--vosmo-text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.vosmo-form-row { margin-bottom: 16px; }
.vosmo-form-row-double { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vosmo-form-row label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.vosmo-form-hint {
    font-weight: 400;
    color: var(--vosmo-muted);
    font-size: 0.8rem;
    margin-left: 6px;
}
.vosmo-required { color: var(--vosmo-accent); }

.vosmo-form-row input[type=text],
.vosmo-form-row input[type=email],
.vosmo-form-row input[type=tel],
.vosmo-form-row input[type=number],
.vosmo-form-row input[type=date],
.vosmo-form-row select,
.vosmo-form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--vosmo-border);
    border-radius: 6px;
    font-size: 0.95rem;
    box-sizing: border-box;
    font-family: inherit;
    background: #fff;
}
.vosmo-form-row input:focus,
.vosmo-form-row select:focus,
.vosmo-form-row textarea:focus {
    outline: none;
    border-color: var(--vosmo-accent);
}

.vosmo-form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
    font-size: 0.88rem;
    line-height: 1.4;
    cursor: pointer;
}
.vosmo-form-checkbox input { margin-top: 3px; }

.vosmo-form-section {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--vosmo-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 20px 0 12px;
    border-bottom: 1px solid var(--vosmo-border);
    padding-bottom: 8px;
}

.vosmo-form-feedback {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}
.vosmo-form-feedback.is-success {
    display: block;
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #c8e6c9;
}
.vosmo-form-feedback.is-error {
    display: block;
    background: #ffebee;
    color: #b71c1c;
    border: 1px solid #ffcdd2;
}

/* Calculator result */
.vosmo-calc-result {
    background: var(--vosmo-page-bg);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}
.vosmo-calc-monthly {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--vosmo-border);
    margin-bottom: 14px;
}
.vosmo-calc-monthly-label { font-size: 0.95rem; font-weight: 600; }
.vosmo-calc-monthly-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--vosmo-accent);
}
.vosmo-calc-details { display: grid; gap: 6px; font-size: 0.88rem; }
.vosmo-calc-details > div { display: flex; justify-content: space-between; }
.vosmo-calc-details span:first-child { color: #3d3d3d; }
.vosmo-calc-details span:last-child { font-weight: 600; color: #1a1a1a; }
.vosmo-calc-monthly-label { color: #1a1a1a; }
.vosmo-calc-provisie-row { display: none !important; }
.vosmo-calc-result.is-zakelijk .vosmo-calc-provisie-row { display: flex !important; }
.vosmo-calc-error {
    color: var(--vosmo-accent);
    font-size: 0.85rem;
    margin-top: 10px;
    display: none;
}
.vosmo-calc-error.is-visible { display: block; }

/* RESPONSIVE */
@media (min-width: 1025px) {
    .vosmo-detail-grid {
        grid-template-columns: minmax(0, 1fr) 380px;
        column-gap: 48px;
        row-gap: 28px;
    }
    .vosmo-detail-photo {
        aspect-ratio: 16 / 10;
        min-height: 420px;
    }
    .vosmo-detail-cell--commerce {
        width: 380px;
        max-width: 380px;
    }
}

@media (max-width: 1024px) {
    .vosmo-grid { grid-template-columns: repeat(3, 1fr); }
    .site-main.site-main--motor-single {
        width: calc(100% - 1.25rem) !important;
        max-width: none !important;
    }
    .vosmo-detail {
        --vosmo-detail-row-gap: 24px;
        padding-left: clamp(10px, 3.5vw, 20px);
        padding-right: clamp(10px, 3.5vw, 20px);
    }
    .vosmo-detail-grid {
        display: flex;
        flex-direction: column;
        gap: var(--vosmo-detail-row-gap);
    }
    .vosmo-detail-cell--photo { order: 1; width: 100%; }
    .vosmo-detail-cell--commerce { order: 2; width: 100%; gap: 16px; }
    .vosmo-detail-cell--specs { order: 3; width: 100%; }
    .vosmo-detail-cell--description { order: 4; width: 100%; }
    .vosmo-detail-cell--location { order: 5; width: 100%; }
    .vosmo-detail-cell--commerce {
        position: static;
        top: auto;
    }
    .vosmo-detail-photo {
        min-height: clamp(260px, 58vw, 400px);
    }
    .vosmo-detail-crumb {
        padding-bottom: 16px;
    }
    .vosmo-detail-cell--specs .vosmo-detail-section-title,
    .vosmo-detail-cell--description .vosmo-detail-section-title {
        margin-top: 0;
    }
}
@media (max-width: 1024px) {
    .vosmo-filters {
        grid-template-columns: repeat(2, 1fr);
    }
    .vosmo-filter-search {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .vosmo-filters { grid-template-columns: 1fr; }
    .vosmo-filter-search { grid-column: span 1; }
    .vosmo-grid { grid-template-columns: repeat(2, 1fr); }
    .vosmo-overview-panel {
        padding-left: 18px;
        padding-right: 18px;
    }
    .site-main.site-main--motor-single {
        width: calc(100% - 0.75rem) !important;
    }
    .vosmo-detail {
        padding-left: 12px;
        padding-right: 12px;
    }
    .vosmo-detail-specs { grid-template-columns: 1fr; }
    .vosmo-form-row-double { grid-template-columns: 1fr; }
    .vosmo-modal-panel { padding: 24px 20px; }
    .vosmo-detail-pricebox { grid-template-columns: 1fr; }
    .vosmo-card .vosmo-detail-pricebox { grid-template-columns: 1fr; }
    .vosmo-detail-photo {
        min-height: clamp(220px, 62vw, 360px);
    }
}
@media (max-width: 480px) {
    .vosmo-grid { grid-template-columns: 1fr; }
    .vosmo-detail-title { font-size: 1.4rem; }
    .vosmo-detail {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* UITGELICHT — homepage [vos_nieuwste_motoren] */
.vosmo-featured {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 16px 40px;
    color: var(--vosmo-glass-text);
}

.vosmo-featured-title {
    margin: 0 0 28px;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: inherit;
    letter-spacing: -0.02em;
}

.vosmo-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    background: transparent;
    padding: 0;
}

.vosmo-featured-empty {
    margin: 0;
    padding: 40px 20px;
    text-align: center;
    color: var(--vosmo-glass-muted);
    background: var(--vosmo-glass-bg);
    border: 1px solid var(--vosmo-glass-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.vosmo-featured-cta {
    margin: 32px 0 0;
    text-align: center;
}

.vosmo-featured-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 8px;
    background: var(--vosmo-accent, #d40000);
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 16px rgba(212, 0, 0, 0.35);
}

.vosmo-featured-btn:hover {
    background: var(--vosmo-accent-dark, #a30000);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 0, 0, 0.45);
}

.vosmo-card.vosmo-card--glass {
    background: var(--vosmo-glass-bg);
    border: 1px solid var(--vosmo-glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    color: var(--vosmo-glass-text);
}

.vosmo-card.vosmo-card--glass:hover {
    background: var(--vosmo-glass-bg-hover);
    border-color: var(--vosmo-glass-border-hover);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.38);
    transform: translateY(-3px);
}

.vosmo-card.vosmo-card--glass .vosmo-card-image {
    background: var(--vosmo-glass-image-bg);
    border-bottom-color: var(--vosmo-glass-border);
}

.vosmo-card.vosmo-card--glass .vosmo-card-brand,
.vosmo-card.vosmo-card--glass .vosmo-card-meta,
.vosmo-card.vosmo-card--glass .vosmo-card-disclaimer,
.vosmo-card.vosmo-card--glass .vosmo-detail-price-block:first-child .vosmo-detail-price-label,
.vosmo-card.vosmo-card--glass .vosmo-card-class {
    color: var(--vosmo-glass-muted);
}
.vosmo-card.vosmo-card--glass .vosmo-detail-price-block:last-child .vosmo-detail-price-label {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}
.vosmo-card.vosmo-card--glass .vosmo-detail-finance-sub,
.vosmo-card.vosmo-card--glass .vosmo-detail-per {
    color: var(--vosmo-accent, #d40000);
    font-weight: 600;
}
.vosmo-card.vosmo-card--glass .vosmo-detail-finance-sub {
    font-size: 0.8rem;
    line-height: 1.4;
}

.vosmo-card.vosmo-card--glass .vosmo-card-title,
.vosmo-card.vosmo-card--glass .vosmo-card-meta-label,
.vosmo-card.vosmo-card--glass .vosmo-detail-price-amount {
    color: var(--vosmo-glass-text);
}

.vosmo-card.vosmo-card--glass .vosmo-detail-price-monthly {
    color: var(--vosmo-accent, #d40000);
}

.vosmo-card.vosmo-card--glass .vosmo-detail-pricebox {
    background: var(--vosmo-glass-pricebox-bg);
    border-color: var(--vosmo-glass-border);
}

.vosmo-card.vosmo-card--glass .vosmo-card-image-placeholder {
    color: var(--vosmo-glass-muted);
}

@media (max-width: 1024px) {
    .vosmo-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    /* Breek uit smalle Elementor-kolom: kaarten gebruiken vrijwel volle schermbreedte */
    .vosmo-featured {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding-left: max(14px, env(safe-area-inset-left, 0px));
        padding-right: max(14px, env(safe-area-inset-right, 0px));
        box-sizing: border-box;
    }
    .vosmo-featured-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .vosmo-featured-grid .vosmo-card {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 600px) {
    .vosmo-featured {
        padding-left: max(12px, env(safe-area-inset-left, 0px));
        padding-right: max(12px, env(safe-area-inset-right, 0px));
        padding-bottom: 32px;
    }
    .vosmo-featured-grid {
        gap: 14px;
    }
    .vosmo-filter-search { grid-column: span 1; }
}
