/* ==========================================================================
   Autohaus Rifberg - Fahrzeugbestand & Filter Grid Block Styles
   Matches Bolt.new prototype with responsive 2-column sidebar/grid,
   FacetWP integration, hover gallery arrows, and Pkw-EnVKV legal compliance.
   ========================================================================== */

/* Block Wrapper */
.rifberg-vsg-wrap {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    position: relative !important;
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: #000000;
}

/* Background Color Variants */
.rifberg-vsg-wrap.bg-white {
    background-color: #FFFFFF !important;
}

.rifberg-vsg-wrap.bg-grey-50 {
    background-color: #f5f5f5 !important;
}

.rifberg-vsg-wrap.bg-grey-100 {
    background-color: #F4F4F4 !important;
}

/* Vertical Spacing */
.rifberg-vsg-wrap.padding-standard {
    padding: 32px 0;
    margin: 0;
}

.rifberg-vsg-wrap.padding-compact {
    padding: 32px 0 56px;
    margin: 0;
}

.rifberg-vsg-wrap.padding-spacious {
    padding: 64px 0 100px;
    margin: 0;
}

@media (min-width: 1024px) {
    .rifberg-vsg-wrap.padding-standard {
        padding: 48px 0;
    }

    .rifberg-vsg-wrap.padding-compact {
        padding: 40px 0 64px;
    }

    .rifberg-vsg-wrap.padding-spacious {
        padding: 80px 0 120px;
    }
}

/* Container */
.rifberg-vsg-container {
    max-width: 1440px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
}

@media (min-width: 1024px) {
    .rifberg-vsg-container {
        padding: 0 32px !important;
    }
}

/* 2-Column Layout */
.rifberg-vsg-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 1024px) {
    .rifberg-vsg-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
    }
}

/* ==========================================================================
   1. Left Sidebar (Filters)
   ========================================================================== */
.rifberg-vsg-sidebar {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #e5e5e5;
    padding: 24px;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .rifberg-vsg-sidebar {
        width: 260px;
        flex-shrink: 0;
        position: sticky;
        top: 96px;
        z-index: 10;
    }
}

.rifberg-vsg-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0;
    margin-bottom: 16px;
    border-bottom: 0;
}

.rifberg-vsg-sidebar-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .1em !important;
    color: #6b6b6b !important;
    margin: 0 !important;
    line-height: 16px !important;
}

.rifberg-vsg-reset-btn {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: #67B0C4;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s ease;
    line-height: 20px;
}

.rifberg-vsg-reset-btn:hover {
    color: #67B0C4;
    text-decoration: underline;
    box-shadow: none;
}

/* Filter Groups */
.rifberg-vsg-filter-group {
    margin-bottom: 20px;
}

.rifberg-vsg-filter-group:last-child {
    margin-bottom: 0;
}

.rifberg-vsg-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6b6b6b;
    margin-bottom: 6px;
    line-height: 16px;
}

/* Styled Select Dropdowns */
.rifberg-vsg-select-wrap {
    position: relative;
    width: 100%;
}

.rifberg-vsg-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #FFFFFF;
    border: 1px solid #E2E2E2;
    padding: 10px 32px 10px 12px;
    font-size: 13px;
    color: #222222;
    border-radius: 0;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rifberg-vsg-select:focus {
    outline: none;
    border-color: #67B0C4;
    box-shadow: 0 0 0 2px rgba(103, 176, 196, 0.2);
}

.rifberg-vsg-select-chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: #888888;
    pointer-events: none;
}

/* Sliders */
.rifberg-vsg-slider-wrap {
    width: 100%;
}

.rifberg-vsg-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: #E0E0E0;
    outline: none;
    border-radius: 2px;
    margin: 8px 0;
    cursor: pointer;
}

.rifberg-vsg-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #67B0C4;
    border: 2px solid #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.rifberg-vsg-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.rifberg-vsg-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #67B0C4;
    border: 2px solid #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.rifberg-vsg-range {
    accent-color: #67B0C4;
}

.rifberg-vsg-slider-meta {
    display: flex;
    justify-content: flex-start;
    margin-top: 4px;
}

.rifberg-vsg-slider-val {
    font-size: 12px;
    font-weight: 500;
    color: #6b6b6b;
}

/* Month Calendar Input (Erstzulassung ab) */
.rifberg-vsg-month-wrap {
    position: relative;
    width: 100%;
}

.rifberg-vsg-month-input {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E2E2E2;
    padding: 9px 12px;
    font-size: 13px;
    color: #222222;
    border-radius: 0;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rifberg-vsg-month-input:focus {
    outline: none;
    border-color: #67B0C4;
    box-shadow: 0 0 0 2px rgba(103, 176, 196, 0.2);
}

/* Filter Reset Buttons */
.rifberg-vsg-reset-wrap {
    margin-top: 20px;
    padding-top: 8px;
}

.rifberg-vsg-reset-btn {
    background: transparent;
    border: none;
    padding: 4px 0;
    font-size: 13px;
    font-weight: 600;
    color: #67B0C4;
    cursor: pointer;
    text-align: left;
    display: inline-block;
    transition: color 0.15s ease, text-decoration 0.15s ease;
}

.rifberg-vsg-reset-btn:hover {
    color: #4b92a5;
    text-decoration: underline;
}

.rifberg-vsg-reset-btn-inline {
    background: transparent;
    border: 1px solid #67B0C4;
    color: #67B0C4;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.rifberg-vsg-reset-btn-inline:hover {
    background: #67B0C4;
    color: #FFFFFF;
}

/* Mobile Filter Bar & Drawer */
.rifberg-vsg-mobile-bar {
    display: block;
    margin-bottom: 20px;
}

@media (min-width: 1024px) {
    .rifberg-vsg-mobile-bar {
        display: none;
    }
}

.rifberg-vsg-mobile-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    border-radius: 0;
}

.rifberg-vsg-mobile-toggle:focus {
    background: #FFFFFF;
    border: 1px solid #e5e5e5;
    color: #000;
}

.rifberg-vsg-mobile-toggle:hover {
    background: #67B0C4;
    border-color: #67B0C4;
    color: #fff;
}

.rifberg-vsg-icon-filter {
    width: 16px;
    height: 16px;
}

.rifberg-vsg-active-badge {
    background: #67B0C4;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 7px;
    line-height: 1.2;
}

@media (max-width: 1023px) {
    .rifberg-vsg-sidebar {
        display: none;
    }

    .rifberg-vsg-sidebar.is-open {
        display: block;
        animation: rifbergFadeIn 0.2s ease;
    }
}

@keyframes rifbergFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   2. Main Content (Right Column)
   ========================================================================== */
.rifberg-vsg-content {
    flex: 1 1 0%;
    min-width: 0;
}

/* Topbar: Counter & Sort */
.rifberg-vsg-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.rifberg-vsg-count-text {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: #444444;
    margin: 0;
}

.rifberg-vsg-count-num {
    font-weight: 600;
    color: #6b6b6b;
}

.rifberg-vsg-sort-wrap {
    min-width: 213px;
}

.rifberg-vsg-sort-select {
    padding: 8px 32px 8px 12px;
    font-size: 13px;
    background-color: #FFFFFF;
    border-color: #E2E2E2;
}

/* ==========================================================================
   3. Vehicle Cards Grid
   ========================================================================== */
.rifberg-vsg-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 480px;
    contain: layout;
}

@media (min-width: 640px) {
    .rifberg-vsg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1120px) {
    .rifberg-vsg-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Vehicle Card */
.rifberg-vsg-card {
    background: #FFFFFF;
    border: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.rifberg-vsg-card:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
}

/* Card Media (16:10 aspect ratio) */
.rifberg-vsg-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #F4F4F4;
    overflow: hidden;
    flex-shrink: 0;
}

.rifberg-vsg-single-img,
.rifberg-vsg-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: .15s all linear;
}

.rifberg-vsg-card:hover .rifberg-vsg-single-img {
    transform: scale(1.02);
}

.rifberg-vsg-media-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Badge (Top-left) */
.rifberg-vsg-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #67B0C4;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 4px 10px;
    line-height: 15px;
    z-index: 3;
}

/* Multi-image Hover Gallery */
.rifberg-vsg-card-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.rifberg-vsg-slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.rifberg-vsg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1;
}

.rifberg-vsg-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Gallery Arrows removed per client instruction */
.rifberg-vsg-gallery-arrow,
.rifberg-vsg-prev,
.rifberg-vsg-next {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Fallback: "Fahrzeugbilder folgen" placeholder */
.rifberg-vsg-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #EDEDED;
    padding: 16px;
    box-sizing: border-box;
    text-align: center;
}

.rifberg-vsg-placeholder-icon {
    width: 36px;
    height: 36px;
    color: #9CA3AF;
    margin-bottom: 6px;
}

.rifberg-vsg-placeholder-text {
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    margin: 0;
}

/* Card Body */
.rifberg-vsg-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    box-sizing: border-box;
}

.rifberg-vsg-card-brand {
    font-size: 10px !important;
    font-weight: 400 !important;
    color: #6b6b6b !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
    margin: 0 !important;
    line-height: 15px !important;
}

.rifberg-vsg-card-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    line-height: 1.3 !important;
    margin: 0 0 2px 0 !important;
    min-height: calc(2.6em);
}

.rifberg-vsg-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.rifberg-vsg-title-link:hover {
    color: #000;
}

.rifberg-vsg-card-trim {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #6b6b6b !important;
    margin: 0 0 4px 0 !important;
    line-height: 20px !important;
}

.rifberg-vsg-card-specs {
    font-size: 11px !important;
    color: #6b6b6b !important;
    margin: 0 0 12px 0 !important;
    line-height: 17px !important;
}

/* Price Row */
.rifberg-vsg-card-price-row {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin: 0 0 4px 0 !important;
    display: flex;
    align-items: baseline;
    line-height: 28px !important;
}

.rifberg-vsg-card-fn {
    font-size: 11px;
    font-weight: 600;
    color: #67B0C4;
    margin-left: 2px;
}

.rifberg-vsg-card-subnote {
    font-size: 12px !important;
    color: #6b6b6b !important;
    margin: 0 0 8px !important;
    line-height: 1.375 !important;
}

/* Pkw-EnVKV Legal Block */
.rifberg-vsg-card-envkv {
    font-size: 12px;
    line-height: 1.5 !important;
    color: #6b6b6b !important;
    background: transparent;
    border-top: 0;
    padding: 0;
    margin: 0;
}

.rifberg-vsg-card-envkv sub {
    font-size: 7.5px;
    line-height: 0;
    vertical-align: sub;
}

/* Action Link */
.rifberg-vsg-card-action {
    margin-top: 12px;
    padding-top: 0;
}

.rifberg-vsg-card-cta {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #67B0C4;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
    line-height: 20px;
}

.rifberg-vsg-card-cta:hover {
    color: #67B0C4;
    text-decoration: underline;
}

/* Empty State */
.rifberg-vsg-empty {
    width: 100%;
    padding: 80px 0;
    text-align: center;
    background: transparent;
    border: 0;
    box-sizing: border-box;
}

.rifberg-vsg-empty-inner {
    max-width: 400px;
    margin: 0 auto;
}

.rifberg-vsg-empty-icon {
    width: 48px;
    height: 48px;
    color: #AAAAAA;
    margin-bottom: 16px;
}

.rifberg-vsg-empty h4 {
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #6b6b6b !important;
    margin: 0 0 8px 0 !important;
    line-height: 28px;
}

.rifberg-vsg-empty p {
    font-size: 14px !important;
    color: #6b6b6b !important;
    margin: 0 auto 24px !important;
    line-height: 20px;
    max-width: 448px;
}

.rifberg-vsg-reset-btn-inline {
    display: inline-block;
    background: #000000;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.rifberg-vsg-reset-btn-inline:hover {
    background: #67B0C4;
}

/* ==========================================================================
   4. FacetWP Specific Overrides
   ========================================================================== */
.rifberg-vsg-facetwp-wrap .facetwp-facet {
    margin-bottom: 0 !important;
}

.rifberg-vsg-facetwp-wrap .facetwp-dropdown {
    width: 100% !important;
    max-width: 100% !important;
    background: #FFFFFF url(/wp-content/uploads/2026/10/svgviewer-png-output6.png) no-repeat center right 8px / 16px !important;
    border: 1px solid #e5e5e5 !important;
    padding: 8px 30px 8px 12px !important;
    font-size: 14px !important;
    color: #222222 !important;
    border-radius: 0 !important;
    line-height: 20px;
    font-family: 'Source Sans 3', sans-serif !important;
    box-sizing: border-box !important;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.rifberg-vsg-facetwp-wrap .facetwp-dropdown:focus {
    border-color: #67B0C4 !important;
    outline: none !important;
}

.rifberg-vsg-facetwp-wrap .facetwp-counter,
.facetwp-counter {
    display: none !important;
}

/* FacetWP Slider Styling - Single Upper Bound Handle Matching Prototype */
.rifberg-vsg-facetwp-wrap .noUi-target {
    background: #3b3b3b !important;
    border: none !important;
    box-shadow: none !important;
    height: 8px !important;
    padding: 0;
}

.rifberg-vsg-facetwp-wrap .noUi-connect {
    background: #67B0C4 !important;
}

.rifberg-vsg-facetwp-wrap .noUi-handle {
    width: 15px !important;
    height: 15px !important;
    border-radius: 50% !important;
    background: #67B0C4 !important;
    border: 0 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    top: -4px !important;
}

.noUi-horizontal .noUi-handle {
    right: -8px !important;
}

.rifberg-vsg-facetwp-wrap .noUi-handle:before,
.rifberg-vsg-facetwp-wrap .noUi-handle:after {
    display: none !important;
}

/* Hide Lower Handle to create Single Upper-Bound Handle */
.rifberg-vsg-facetwp-wrap .noUi-handle-lower,
.rifberg-vsg-facetwp-wrap .noUi-origin:first-of-type,
.rifberg-vsg-facetwp-wrap .noUi-base>.noUi-origin:first-child {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

.rifberg-vsg-facetwp-wrap .noUi-connects .noUi-connect {
    left: 0 !important;
    background: #67B0C4 !important;
}

.rifberg-vsg-count-wrap {
    display: flex;
    gap: 5px;
    color: #6b6b6b;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.rifberg-vsg-topbar .facetwp-sort-select {
    font-size: 14px;
    line-height: 20px;
    background: #FFFFFF url(/wp-content/uploads/2026/10/svgviewer-png-output6.png) no-repeat center right 8px / 16px;
    border: 1px solid #e5e5e5;
    padding: 8px 12px;
    max-width: 213px;
    width: 100%;
    color: #000;
    font-family: "Source Sans 3", Calibri, Arial, sans-serif;
    font-weight: 600;
}

.facetwp-slider-label {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #6b6b6b;
    margin-top: 10px;
    display: block;
}

.facetwp-slider-wrap {
    padding: 0 !important;
}

.rifberg-vsg-facetwp-wrap .facetwp-facet.facetwp-facet-fzg_preis,
.rifberg-vsg-facetwp-wrap .facetwp-facet.facetwp-facet-fzg_kilometer {
    margin: 8px 0 0 !important;
}

/* Custom Cross-Browser Month Calendar Picker */
.rifberg-vsg-month-wrap {
    position: relative;
    width: 100%;
}

.rifberg-vsg-month-input {
    width: 100% !important;
    border: 1px solid #e5e5e5 !important;
    padding: 8px 38px 8px 12px !important;
    font-size: 14px !important;
    color: #222222 !important;
    background-color: #FFFFFF !important;
    border-radius: 0 !important;
    font-family: inherit !important;
    outline: none !important;
    line-height: 20px !important;
    height: 38px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.rifberg-vsg-month-input:focus,
.rifberg-vsg-month-wrap.is-open .rifberg-vsg-month-input {
    border-color: #67B0C4 !important;
    box-shadow: 0 0 0 1px #67B0C4 !important;
}

.rifberg-vsg-calendar-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #6b7280;
    pointer-events: none;
    transition: color 0.15s ease;
}

.rifberg-vsg-month-wrap:hover .rifberg-vsg-calendar-btn,
.rifberg-vsg-month-wrap.is-open .rifberg-vsg-calendar-btn {
    color: #67B0C4;
}

.rifberg-vsg-calendar-icon {
    width: 18px;
    height: 18px;
    display: block;
}

/* Custom Month Picker Dropdown Popup */
.rifberg-vsg-month-picker {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 260px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 999;
    padding: 12px;
    box-sizing: border-box;
    font-family: inherit;
}

.rifberg-vmp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #F3F4F6;
}

.rifberg-vmp-year {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.rifberg-vmp-btn {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #374151;
    line-height: 1;
    transition: all 0.15s ease;
}

.rifberg-vmp-btn:hover {
    background: #EBF7FA;
    border-color: #67B0C4;
    color: #0E7490;
}

.rifberg-vmp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.rifberg-vmp-month {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    padding: 7px 4px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    font-family: inherit;
}

.rifberg-vmp-month:hover {
    background: #EBF7FA;
    border-color: #67B0C4;
    color: #0E7490;
}

.rifberg-vmp-month.is-selected {
    background: #67B0C4 !important;
    border-color: #67B0C4 !important;
    color: #FFFFFF !important;
    font-weight: 600;
}

.rifberg-vmp-footer {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #F3F4F6;
    text-align: center;
}

.rifberg-vmp-clear {
    background: transparent;
    border: none;
    font-size: 11px;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    padding: 4px 8px;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.rifberg-vmp-clear:hover {
    color: #EF4444;
}

/* Strictly hide FacetWP's built-in inline slider reset button - replaced by clean global bottom reset button */
.facetwp-slider-reset,
.facetwp-type-slider .facetwp-slider-reset,
.facetwp-type-slider .facetwp-reset,
.rifberg-vsg-facetwp-wrap .facetwp-slider-reset,
.rifberg-vsg-facetwp-wrap .facetwp-reset {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Bottom Reset Button matching Prototype */
.rifberg-vsg-reset-wrap {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.rifberg-vsg-reset-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #67B0C4 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
    line-height: 20px;
}

.rifberg-vsg-reset-btn:hover {
    color: #67B0C4 !important;
    text-decoration: underline !important;
}

/* Empty State Actions matching Prototype */
.rifberg-vsg-empty-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.rifberg-vsg-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #67b0c4;
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 12px 24px;
    text-decoration: none;
    transition: .15s all linear;
    line-height: 20px;
    border: 0;
}

.rifberg-vsg-btn-whatsapp:hover {
    background-color: #67B0C4;
    color: #FFFFFF !important;
    filter: brightness(1.1);
}

.rifberg-vsg-icon-wa {
    width: 16px;
    height: 16px;
}

/* FacetWP Slider Single-Handle & Styling matching Prototype */
.facetwp-type-slider .noUi-handle-lower,
.facetwp-type-slider .noUi-origin:first-child .noUi-handle {
    display: none !important;
    pointer-events: none !important;
}

.facetwp-type-slider .noUi-target {
    background: #3b3b3b !important;
    border: none !important;
    box-shadow: none !important;
    height: 7px !important;
    border-radius: 9999px !important;
    margin-top: 6px;
    margin-bottom: 6px;
}

.facetwp-type-slider .noUi-connect {
    background: #67B0C4 !important;
}

.facetwp-type-slider .noUi-handle {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: #67B0C4 !important;
    border: 0 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    top: -4px !important;
    right: -9px !important;
    outline: none !important;
}

.facetwp-type-slider .noUi-handle::before,
.facetwp-type-slider .noUi-handle::after {
    display: none !important;
}

/* FacetWP Dropdown styling matching Prototype */
.rifberg-vsg-facetwp-wrap .facetwp-facet.facetwp-type-dropdown select {
    width: 100% !important;
    height: 38px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    color: #000 !important;
    background-color: #FFFFFF !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    outline: none !important;
    transition: border-color 0.15s ease-in-out;
    line-height: 20px;
}

.rifberg-vsg-facetwp-wrap .facetwp-facet.facetwp-type-dropdown select:focus {
    border-color: #67B0C4 !important;
    box-shadow: none;
}

.noUi-connects {
    border-radius: 3px;
    background: #3b3b3b;
}

.rifberg-vsg-pagination {
    margin: 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rifberg-vsg-pagination .facetwp-page {
    width: 35px;
    height: 35px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #000;
    background: #fff;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    line-height: 1;
}

.rifberg-vsg-pagination .facetwp-page:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.10);
}

.rifberg-vsg-pagination .facetwp-page.active {

    background: #67B0C4;
    border-color: #67B0C4;
    color: #fff;
}