/* ═══════════════════════════════════════════════════════════════
   WIPER VEHICLE PAGE — Premium automotive styling
   Accent: #0078d4 (automotive blue)
   ═══════════════════════════════════════════════════════════════ */

:root {
    --accent: #0078d4;
    --accent-dark: #005a9e;
    --accent-glow: rgba(0, 120, 212, .15);
    --driver-color: #22c55e;
    --passenger-color: #3b82f6;
    --rear-color: #8b5cf6;
}

/* ── Size Cards ──────────────────────────────────────────────── */
.wv-size-cards {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 860px;
    width: 100%;
}

.wv-size-card {
    flex: 1;
    min-width: 160px;
    max-width: 240px;
    background: #fff;
    border: 2px solid #e8ecf1;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.wv-size-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
}

.wv-driver::before { background: linear-gradient(90deg, #22c55e, #16a34a); }
.wv-passenger::before { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.wv-rear::before { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }

.wv-size-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
    border-color: var(--accent);
}

.wv-card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 8px;
}

.wv-card-size {
    font-size: 48px;
    font-weight: 800;
    color: #1a202c;
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Inter', system-ui, sans-serif;
}

.wv-driver .wv-card-size { color: #16a34a; }
.wv-passenger .wv-card-size { color: #2563eb; }
.wv-rear .wv-card-size { color: #7c3aed; }
.wv-no-rear .wv-card-size { color: #9ca3af; font-size: 36px; }

.wv-card-icon {
    font-size: 20px;
}

/* ── Unit label (inches) ─────────────────────────────────────── */
.wv-card-unit {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* ── Make logos ───────────────────────────────────────────────── */
.wv-make-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.wv-make-hero-logo {
    display: block;
    margin: 0 auto 12px;
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    background: #fff;
    padding: 6px;
    border: 1px solid #e2e8f0;
}

/* ── Connector Badge ─────────────────────────────────────────── */
.wv-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f0f7ff, #e8f4fd);
    border: 1px solid #c8e1f8;
    border-radius: 999px;
    max-width: 400px;
    margin: 0 auto;
}

.wv-connector-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.wv-connector-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
}

/* ── Snippet ─────────────────────────────────────────────────── */
.wv-snippet {
    font-size: 16px !important;
    color: #475569 !important;
    max-width: 680px;
}

/* ── Shop Section ────────────────────────────────────────────── */
.wv-shop-section {
    max-width: 860px;
    margin: 32px auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.wv-shop-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin: 0 0 4px 0;
    border: none;
    padding-top: 0;
}

.wv-shop-subtitle {
    font-size: 14px;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 28px;
}

.wv-shop-group {
    margin-bottom: 24px;
}

.wv-shop-group:last-of-type {
    margin-bottom: 16px;
}

.wv-shop-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.wv-shop-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.wv-dot-driver { background: var(--driver-color); }
.wv-dot-passenger { background: var(--passenger-color); }
.wv-dot-rear { background: var(--rear-color); }

.wv-shop-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wv-shop-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #1a202c;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
}

.wv-shop-link::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--retailer-color, #0078d4);
    border-radius: 12px 0 0 12px;
}

.wv-shop-link:hover {
    background: #fff;
    border-color: var(--retailer-color, #0078d4);
    box-shadow: 0 4px 16px rgba(0, 120, 212, .12);
    transform: translateX(4px);
}

.wv-shop-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.wv-shop-name {
    font-weight: 600;
    font-size: 15px;
    flex: 1;
}

.wv-shop-cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--retailer-color, #0078d4);
    white-space: nowrap;
    padding: 6px 16px;
    background: rgba(0, 120, 212, .08);
    border-radius: 8px;
    transition: all .2s;
}

.wv-shop-link:hover .wv-shop-cta {
    background: var(--retailer-color, #0078d4);
    color: #fff;
}

.wv-affiliate-disclosure {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

/* ── All Years Table ─────────────────────────────────────────── */
.wv-all-years-table thead tr {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
}

.wv-current-year {
    background: #f0f7ff !important;
    font-weight: 700;
}

.wv-current-year td {
    color: var(--accent) !important;
}

/* ── Makes Grid (hub page) ───────────────────────────────────── */
.wv-makes-section {
    max-width: 860px;
    margin: 32px auto;
}

.wv-makes-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a202c;
}

.wv-makes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.wv-make-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #1a202c;
    transition: all .25s ease;
}

.wv-make-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px var(--accent-glow);
    transform: translateY(-2px);
}

.wv-make-icon { font-size: 22px; }
.wv-make-name { font-weight: 600; font-size: 15px; flex: 1; }
.wv-make-arrow { color: #94a3b8; font-size: 18px; transition: transform .2s; }
.wv-make-card:hover .wv-make-arrow { transform: translateX(4px); color: var(--accent); }

/* ── Models Grid (make hub page) ─────────────────────────────── */
.wv-models-section {
    max-width: 860px;
    margin: 32px auto;
}

.wv-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.wv-model-card {
    display: flex;
    flex-direction: column;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    color: #1a202c;
    transition: all .25s ease;
    position: relative;
}

.wv-model-card:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 20px var(--accent-glow);
    transform: translateY(-3px);
}

.wv-model-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 6px;
}

.wv-model-years {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 4px;
}

.wv-model-count {
    font-size: 12px;
    color: #94a3b8;
}

.wv-model-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #cbd5e1;
    transition: all .2s;
}

.wv-model-card:hover .wv-model-arrow {
    color: var(--accent);
    transform: translateY(-50%) translateX(4px);
}

/* ── Accent overrides for page-common styles ─────────────────── */
.breadcrumb a:hover, .content-article a, .faq-question .faq-icon { color: var(--accent); }
.tool-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.data-table thead tr { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.related-card:hover { border-color: var(--accent); box-shadow: 0 4px 12px var(--accent-glow); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
    .wv-size-cards {
        flex-direction: column;
        align-items: stretch;
    }
    .wv-size-card {
        max-width: 100%;
        min-width: auto;
    }
    .wv-card-size {
        font-size: 40px;
    }
    .wv-shop-section {
        padding: 20px 16px;
        border-radius: 12px;
    }
    .wv-shop-link {
        padding: 12px 14px;
    }
    .wv-makes-grid {
        grid-template-columns: 1fr;
    }
    .wv-models-grid {
        grid-template-columns: 1fr;
    }
}
