/*
Theme Name:  GVVT Child
Template:    inspiro
Description: Child theme for the Glasgow Vintage Vehicle Trust. Vehicle
             collection post type, destination-blind status badges, lightbox
             gallery, history timeline, vehicle category taxonomy.
Version:     9.2
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   --gvvt-header-h is set dynamically by inline JS in functions.php
   to match the actual Inspiro header height at runtime.
   ============================================================ */
:root {
    --gvvt-black:        #0f0d09;
    --gvvt-housing:      #2a2218;
    --gvvt-brass:        #c8b98a;
    --gvvt-brass-dim:    #7a6e5a;
    --gvvt-amber:        #c8b98a;
    --gvvt-blue:         #7eb8e8;
    --gvvt-green:        #8fcf7a;
    --gvvt-white:        #f5f0e6;
    --gvvt-gap:          2em;
    --gvvt-radius:       4px;
    --gvvt-header-h:     197px; /* Inspiro Premium header height (desktop) */
}

/* ============================================================
   HEADER OFFSET
   The Inspiro Premium header is fixed/sticky. Every full-width
   section that sits directly below it needs this offset so
   content is not hidden beneath the header bar.
   ============================================================ */
.gvvt-hero,
.gvvt-archive-wrap {
    padding-top: var(--gvvt-header-h);
}

/* Inspiro header is shorter on mobile – adjust offset accordingly */
@media (max-width: 782px) {
    :root { --gvvt-header-h: 60px; }
}

/* Inspiro sometimes adds its own offset class – remove conflict */
.gvvt-vehicle-single .entry-content {
    margin-top: 0;
}

/* ============================================================
   VEHICLE SINGLE PAGE – LAYOUT
   Inspiro Premium sets html { font-size: 62.5% } making 1rem = 10px.
   Reset to 16px here so all text on vehicle pages matches the
   site-wide body size and meets accessibility requirements.
   ============================================================ */
.gvvt-vehicle-single,
.gvvt-archive-wrap {
    font-size: 16px;
}

.gvvt-vehicle-single {
    margin: 0;
    padding: 0;
}

.gvvt-vehicle-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--gvvt-gap);
    max-width: 1200px;
    margin: 2.5em auto;
    padding: 0 1.5em;
    align-items: start;
}

@media (max-width: 900px) {
    .gvvt-vehicle-content {
        grid-template-columns: 1fr;
    }
    .gvvt-vehicle-sidebar {
        order: -1;
    }
}

/* ============================================================
   HERO IMAGE
   ============================================================ */
.gvvt-hero {
    position: relative;
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    background: var(--gvvt-housing);
}

.gvvt-hero img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.gvvt-hero-credit {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(15, 13, 9, 0.75);
    color: var(--gvvt-brass-dim);
    font-size: 11px;
    letter-spacing: 0.06em;
    padding: 5px 10px;
    font-family: 'Courier New', Courier, monospace;
}

.gvvt-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
}

.gvvt-hero-placeholder-inner {
    color: var(--gvvt-brass-dim);
    font-size: 1.2em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================================
   VEHICLE HEADER – TITLE + BADGE
   ============================================================ */
.gvvt-vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5em;
    margin-bottom: 1.5em;
}

.gvvt-title-area h1 {
    margin: 0 0 0.3em;
}

.gvvt-registration {
    font-size: 1em;
    letter-spacing: 0.1em;
    color: #888;
    margin: 0 0 0.5em;
    text-transform: uppercase;
}

/* ============================================================
   VEHICLE CATEGORY BADGE
   Sits below the registration number in the title area.
   ============================================================ */
.gvvt-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f2edd8;
    border: 1px solid var(--gvvt-brass);
    border-radius: var(--gvvt-radius);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gvvt-housing);
    text-decoration: none;
}

.gvvt-category-badge:hover {
    background: var(--gvvt-brass);
}

/* ============================================================
   RESTORATION STATUS BADGE – DESTINATION BLIND STYLE
   ============================================================ */
.gvvt-status-badge {
    flex-shrink: 0;
}

.gvvt-status-housing {
    display: inline-flex;
    align-items: stretch;
    background: var(--gvvt-housing);
    border: 3px solid var(--gvvt-brass);
    border-radius: var(--gvvt-radius);
    padding: 4px;
    box-shadow: inset 0 0 0 1.5px #1a1510;
}

.gvvt-status-spool {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 0 6px;
    background: var(--gvvt-housing);
}

.gvvt-status-spool span {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gvvt-brass);
    opacity: 0.45;
}

.gvvt-status-panel {
    background: var(--gvvt-black);
    padding: 9px 16px;
    min-width: 200px;
}

.gvvt-status-eyebrow {
    font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gvvt-brass-dim);
    margin-bottom: 4px;
}

.gvvt-status-divider {
    height: 1px;
    background: var(--gvvt-brass);
    opacity: 0.2;
    margin-bottom: 5px;
}

.gvvt-status-text {
    font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.1;
}

.gvvt-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    align-self: center;
    margin: 0 12px;
    flex-shrink: 0;
}

.gvvt-status-awaiting_restoration .gvvt-status-text { color: var(--gvvt-amber); }
.gvvt-status-awaiting_restoration .gvvt-status-dot  { background: var(--gvvt-amber); }

.gvvt-status-restoration_in_progress .gvvt-status-text { color: var(--gvvt-blue); }
.gvvt-status-restoration_in_progress .gvvt-status-dot  { background: var(--gvvt-blue); }
.gvvt-status-restoration_in_progress .gvvt-status-panel { background: #0a0e14; }

.gvvt-status-fully_restored .gvvt-status-text { color: var(--gvvt-green); }
.gvvt-status-fully_restored .gvvt-status-dot  { background: var(--gvvt-green); }
.gvvt-status-fully_restored .gvvt-status-panel { background: #090e09; }

.gvvt-status-operational .gvvt-status-text { color: var(--gvvt-white); }
.gvvt-status-operational .gvvt-status-dot  { background: var(--gvvt-white); }

.gvvt-status-notes {
    background: var(--gvvt-black);
    border-top: 1px solid var(--gvvt-housing);
    padding: 5px 14px 7px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gvvt-brass-dim);
}

/* ============================================================
   NARRATIVE
   ============================================================ */
.gvvt-narrative {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 2.5em;
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.gvvt-gallery-section { margin-bottom: 2.5em; }
.gvvt-gallery-section h2 { margin-bottom: 1em; }

.gvvt-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.gvvt-gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--gvvt-radius);
    aspect-ratio: 4/3;
    background: #111;
    cursor: pointer;
}

.gvvt-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gvvt-gallery-item:hover img {
    transform: scale(1.04);
    opacity: 0.85;
}

.gvvt-gallery-credit {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 13, 9, 0.8);
    color: var(--gvvt-brass-dim);
    font-size: 10px;
    font-family: 'Courier New', Courier, monospace;
    padding: 4px 8px;
    letter-spacing: 0.04em;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gvvt-gallery-item:hover .gvvt-gallery-credit { opacity: 1; }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.gvvt-video-section { margin-bottom: 2.5em; }
.gvvt-video-section h2 { margin-bottom: 1em; }

.gvvt-video-wrap { margin-bottom: 1.5em; }

.gvvt-video-wrap iframe,
.gvvt-video-wrap video {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: var(--gvvt-radius);
    display: block;
}

.gvvt-video-caption {
    font-size: 0.9em;
    color: #888;
    margin: 0.5em 0 0;
    font-style: italic;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.gvvt-timeline-section { margin-bottom: 2.5em; }
.gvvt-timeline-section h2 { margin-bottom: 1.5em; }

.gvvt-timeline { position: relative; }

.gvvt-timeline-entry {
    display: grid;
    grid-template-columns: 72px 28px 1fr;
    gap: 0 0.75em;
    margin-bottom: 0;
}

.gvvt-timeline-year {
    font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--gvvt-brass);
    background: var(--gvvt-housing);
    border: 2px solid var(--gvvt-brass);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 6px 4px;
    line-height: 1.2;
    align-self: flex-start;
    border-radius: 2px;
    min-height: 36px;
}

.gvvt-timeline-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gvvt-timeline-node {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gvvt-brass);
    flex-shrink: 0;
    margin-top: 12px;
    border: 2px solid var(--gvvt-housing);
    outline: 2px solid var(--gvvt-brass);
}

.gvvt-timeline-line {
    width: 2px;
    flex: 1;
    background: var(--gvvt-brass);
    opacity: 0.25;
    margin-top: 4px;
}

.gvvt-timeline-entry:last-child .gvvt-timeline-line { display: none; }

.gvvt-timeline-content { padding: 6px 0 2em; }
.gvvt-timeline-content h4 { margin: 0 0 0.4em; font-size: 1em; }
.gvvt-timeline-content p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.65;
    color: #666;
}

/* ============================================================
   ADOPT THIS VEHICLE
   ============================================================ */
.gvvt-adopt-section { margin-bottom: 2.5em; }

.gvvt-adopt-inner {
    border: 2px solid var(--gvvt-brass);
    border-radius: var(--gvvt-radius);
    padding: 1.75em;
    background: var(--gvvt-housing);
    color: var(--gvvt-white);
}

.gvvt-adopt-inner h3 {
    color: var(--gvvt-brass);
    margin: 0 0 0.75em;
    font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 1em;
}

.gvvt-adopt-inner p {
    font-size: 0.95em;
    line-height: 1.7;
    color: #bbb;
    margin: 0 0 1.25em;
}

.gvvt-adopt-btn {
    display: inline-block;
    background: var(--gvvt-brass);
    color: var(--gvvt-housing) !important;
    font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: var(--gvvt-radius);
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.gvvt-adopt-btn:hover { background: var(--gvvt-white); }

/* ============================================================
   SHARE YOUR MEMORIES
   ============================================================ */
.gvvt-memories-section { margin-bottom: 2em; }

.gvvt-memories-inner {
    background: #f7f4ef;
    border-left: 4px solid var(--gvvt-brass);
    padding: 1.5em 1.75em;
    border-radius: 0 var(--gvvt-radius) var(--gvvt-radius) 0;
}

.gvvt-memories-inner h3 { margin: 0 0 0.6em; font-size: 1.1em; }
.gvvt-memories-inner p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.7;
    color: #555;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.gvvt-comments-section { margin-top: 1.5em; }

/* ============================================================
   SIDEBAR – VEHICLE DATA PANEL
   ============================================================ */
.gvvt-vehicle-sidebar {
    position: sticky;
    top: calc(var(--gvvt-header-h) + 1em);
}

.gvvt-data-panel,
.gvvt-related-section {
    border: 1px solid #e2e0db;
    border-radius: var(--gvvt-radius);
    padding: 1.25em;
    margin-bottom: 1.75em;
    background: #faf9f7;
}

.gvvt-data-panel h3,
.gvvt-related-section h3 {
    font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gvvt-brass-dim);
    margin: 0 0 1em;
    padding-bottom: 0.75em;
    border-bottom: 1px solid #e2e0db;
}

.gvvt-data-list { margin: 0; display: flex; flex-direction: column; gap: 0; }

.gvvt-data-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25em 0.75em;
    padding: 0.6em 0;
    border-bottom: 1px solid #eeecea;
    align-items: baseline;
}

.gvvt-data-row:last-child { border-bottom: none; }
.gvvt-data-row dt { font-size: 0.78em; font-weight: 600; color: #999; text-transform: uppercase; letter-spacing: 0.06em; }
.gvvt-data-row dd { font-size: 0.88em; color: #333; margin: 0; font-weight: 500; }

/* ============================================================
   SIDEBAR – RELATED VEHICLES
   ============================================================ */
.gvvt-related-list { display: flex; flex-direction: column; gap: 0.75em; }

.gvvt-related-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0.75em;
    text-decoration: none !important;
    color: inherit !important;
    align-items: center;
}

.gvvt-related-thumb {
    width: 64px;
    height: 48px;
    background-size: cover;
    background-position: center;
    border-radius: var(--gvvt-radius);
    background-color: #ddd;
    flex-shrink: 0;
}

.gvvt-related-info strong { display: block; font-size: 0.88em; color: #222; line-height: 1.3; }
.gvvt-related-info span   { font-size: 0.78em; color: #999; letter-spacing: 0.05em; }
.gvvt-related-item:hover .gvvt-related-info strong { text-decoration: underline; }

/* ============================================================
   ARCHIVE – HEADER, FILTER BAR AND GRID
   ============================================================ */
.gvvt-archive-header {
    text-align: center;
    padding: 3em 1.5em 1.5em;
    max-width: 680px;
    margin: 0 auto;
}

.gvvt-archive-header p { color: #777; font-size: 1.05em; }

.gvvt-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    justify-content: center;
    padding: 0 1.5em 0.75em;
    max-width: 1100px;
    margin: 0 auto;
}

.gvvt-filter-divider {
    width: 100%;
    height: 1px;
    background: #e2e0db;
    margin: 0.5em 0;
}

.gvvt-filter-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
    display: flex;
    align-items: center;
    padding: 0 4px;
}

.gvvt-filter-btn {
    background: var(--gvvt-housing);
    border: 2px solid var(--gvvt-brass);
    color: var(--gvvt-brass);
    font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: var(--gvvt-radius);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.gvvt-filter-btn:hover,
.gvvt-filter-btn.active {
    background: var(--gvvt-brass);
    color: var(--gvvt-housing);
}

.gvvt-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5em;
    max-width: 1200px;
    margin: 1.5em auto 0;
    padding: 0 1.5em 3em;
}

.gvvt-vehicle-card {
    border: 1px solid #e2e0db;
    border-radius: var(--gvvt-radius);
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.gvvt-vehicle-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.gvvt-card-link { text-decoration: none !important; color: inherit !important; display: block; }

.gvvt-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--gvvt-housing);
    background-size: cover;
    background-position: center;
}

.gvvt-card-body { padding: 1em 1.1em 1.25em; }
.gvvt-card-body h3 { font-size: 1em; margin: 0.6em 0 0.3em; line-height: 1.3; }
.gvvt-card-reg  { font-size: 0.82em; letter-spacing: 0.1em; color: #999; text-transform: uppercase; margin: 0 0 0.5em; }
.gvvt-card-meta { display: flex; flex-direction: column; gap: 0.15em; }
.gvvt-card-meta span { font-size: 0.82em; color: #777; }

.gvvt-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.5em;
}

/* ============================================================
   MINI STATUS BADGE (archive cards)
   ============================================================ */
.gvvt-mini-blind {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gvvt-housing);
    border: 2px solid var(--gvvt-brass);
    border-radius: 3px;
    padding: 3px 10px 3px 8px;
}

.gvvt-mini-dot   { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.gvvt-mini-label { font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif; font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }

.gvvt-mini-blind.gvvt-status-awaiting_restoration .gvvt-mini-dot    { background: var(--gvvt-amber); }
.gvvt-mini-blind.gvvt-status-awaiting_restoration .gvvt-mini-label  { color: var(--gvvt-amber); }
.gvvt-mini-blind.gvvt-status-restoration_in_progress .gvvt-mini-dot   { background: var(--gvvt-blue); }
.gvvt-mini-blind.gvvt-status-restoration_in_progress .gvvt-mini-label { color: var(--gvvt-blue); }
.gvvt-mini-blind.gvvt-status-fully_restored .gvvt-mini-dot   { background: var(--gvvt-green); }
.gvvt-mini-blind.gvvt-status-fully_restored .gvvt-mini-label { color: var(--gvvt-green); }
.gvvt-mini-blind.gvvt-status-operational .gvvt-mini-dot   { background: var(--gvvt-white); }
.gvvt-mini-blind.gvvt-status-operational .gvvt-mini-label { color: var(--gvvt-white); }

/* ============================================================
   FILTER + SORT TOOLBAR  (archive-vehicle.php v3)
   ============================================================ */

.gvvt-toolbar {
    max-width: 1200px;
    margin: 0 auto 0.5em;
    padding: 0 1.5em;
}

.gvvt-toolbar-inner {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.75em 0;
    border-bottom: 1px solid #e2e0db;
}

/* Toolbar buttons – destination blind style */
.gvvt-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background: var(--gvvt-housing);
    border: 2px solid var(--gvvt-brass);
    color: var(--gvvt-brass);
    font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: var(--gvvt-radius);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.gvvt-toolbar-btn:hover,
.gvvt-toolbar-btn--active {
    background: var(--gvvt-brass);
    color: var(--gvvt-housing);
}

.gvvt-toolbar-btn--active {
    border-color: var(--gvvt-brass);
}

/* Active filter count badge */
.gvvt-toolbar-count {
    background: var(--gvvt-brass);
    color: var(--gvvt-housing);
    font-size: 10px;
    font-weight: 900;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
}

.gvvt-toolbar-btn--active .gvvt-toolbar-count {
    background: var(--gvvt-housing);
    color: var(--gvvt-brass);
}

/* Current sort label */
.gvvt-sort-current {
    color: var(--gvvt-brass-dim);
    font-family: 'Arial', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
    margin-left: 2px;
}

.gvvt-toolbar-btn:hover .gvvt-sort-current,
.gvvt-toolbar-btn[aria-expanded="true"] .gvvt-sort-current {
    color: var(--gvvt-housing);
}

/* Results count */
.gvvt-results-count {
    margin-left: auto;
    font-size: 12px;
    color: #999;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.03em;
}

/* Dropdown wrapper */
.gvvt-dropdown {
    position: relative;
}

/* Dropdown panel */
.gvvt-dropdown-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 200;
    background: #fff;
    border: 2px solid var(--gvvt-brass);
    border-radius: var(--gvvt-radius);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    min-width: 200px;
    overflow: hidden;
}

/* Panel section */
.gvvt-dropdown-section {
    padding: 0.75em 0;
    border-bottom: 1px solid #eeecea;
}

.gvvt-dropdown-section:last-of-type {
    border-bottom: none;
}

.gvvt-dropdown-heading {
    font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gvvt-brass-dim);
    padding: 0 1em 0.4em;
}

.gvvt-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.4em 1em;
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: background 0.1s ease;
}

.gvvt-dropdown-item:hover {
    background: #f7f4ef;
}

.gvvt-dropdown-item input[type="radio"] {
    accent-color: var(--gvvt-housing);
    flex-shrink: 0;
}

/* Footer with clear button */
.gvvt-dropdown-footer {
    padding: 0.6em 1em;
    border-top: 1px solid #eeecea;
    background: #faf9f7;
}

.gvvt-dropdown-clear {
    background: none;
    border: none;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    color: var(--gvvt-brass-dim);
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.gvvt-dropdown-clear:hover {
    color: var(--gvvt-housing);
}

/* No results message */
.gvvt-no-results {
    text-align: center;
    padding: 3em 1.5em;
    color: #999;
    font-size: 15px;
    grid-column: 1 / -1;
}

/* Mobile – keep toolbar compact */
@media (max-width: 600px) {
    .gvvt-toolbar-btn {
        padding: 8px 10px;
        font-size: 10px;
    }
    .gvvt-sort-current {
        display: none;
    }
    .gvvt-results-count {
        font-size: 11px;
    }
    .gvvt-dropdown-panel {
        min-width: 180px;
    }
}
