/* ===== Shop Page Specific Styles ===== */

/* Filter Sidebar */
.shop-sidebar {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 10px;
}
.shop-sidebar::-webkit-scrollbar { width: 4px; }
.shop-sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.filter-section {
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    padding: 18px 16px;
    margin-bottom: 16px;
}
.filter-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}
.filter-section-title .toggle-icon {
    font-size: 12px;
    transition: transform 0.2s;
}
.filter-section-title.collapsed .toggle-icon {
    transform: rotate(-90deg);
}
.filter-section-body {
    max-height: 260px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
}
.filter-section-body::-webkit-scrollbar { width: 3px; }
.filter-section-body::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 3px; }
.filter-section-body.collapsed { max-height: 0; overflow: hidden; }

/* Category & Brand Checkboxes */
.filter-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
}
.filter-check-item:hover { color: #2563EB; }
.filter-check-item input[type="checkbox"],
.filter-check-item input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #2563EB;
    cursor: pointer;
    flex-shrink: 0;
}
.filter-check-item .count {
    color: #9ca3af;
    font-size: 12px;
    margin-left: auto;
}

/* Highlight Links */
.highlight-link {
    display: block;
    padding: 5px 0;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}
.highlight-link:hover { color: #2563EB; }
.highlight-link.active { color: #2563EB; font-weight: 600; }

/* Price Range Links */
.price-range-link {
    display: block;
    padding: 5px 0;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}
.price-range-link:hover { color: #2563EB; }
.price-range-link.active { color: #2563EB; font-weight: 600; }

/* Top Bar */
.shop-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 16px;
    gap: 12px;
    flex-wrap: wrap;
}
.shop-top-bar .results-text {
    font-size: 13px;
    color: #6b7280;
}
.shop-top-bar .sort-select {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 13px;
    color: #374151;
    background: #fff;
    outline: none;
    cursor: pointer;
    min-width: 170px;
}
.shop-top-bar .sort-select:focus {
    border-color: #2563EB;
}

/* Mobile Filter Button */
.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: #2563EB;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.mobile-filter-btn i { font-size: 13px; }

/* Mobile Filter Overlay */
.filter-overlay-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1040;
}
.filter-overlay-backdrop.show { display: block; }

.filter-overlay-panel {
    position: fixed;
    top: 0;
    left: -340px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 1050;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 20px;
    box-shadow: 5px 0 25px rgba(0,0,0,0.1);
}
.filter-overlay-panel.show { left: 0; }
.filter-overlay-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    color: #374151;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.filter-overlay-close:hover { color: #111; }

/* Active filter tags */
.active-filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EFF6FF;
    color: #2563EB;
    border: 1px solid #BFDBFE;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
}
.active-filter-tag .remove-tag {
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    opacity: 0.7;
}
.active-filter-tag .remove-tag:hover { opacity: 1; }
.clear-all-filters {
    font-size: 12px;
    color: #EF4444;
    cursor: pointer;
    border: none;
    background: none;
    font-weight: 500;
    padding: 4px 8px;
}
.clear-all-filters:hover { text-decoration: underline; }

/* Ultra Modern Glassmorphic Circular Pagination */
.pagination { 
    gap: 12px; 
    align-items: center; 
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 50px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.01);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
}
.pagination .page-item .page-link { 
    border: none; 
    border-radius: 50%; 
    width: 42px; 
    height: 42px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 700; 
    font-size: 15px;
    color: #475569; 
    background-color: transparent; 
    padding: 0; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pagination .page-item .page-link:hover { 
    background-color: #f1f5f9; 
    color: #1d4ed8; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.1);
}
.pagination .page-item.active .page-link { 
    background: linear-gradient(135deg, #1d4ed8, #3b82f6); 
    color: #ffffff; 
    box-shadow: 0 8px 20px rgba(37,99,235,0.35); 
    transform: translateY(-3px) scale(1.05); 
}
.pagination .page-item.disabled .page-link { 
    color: #cbd5e1; 
    background-color: transparent; 
    pointer-events: none; 
}

/* ============================================================
   VIN Not Found — Contact Banner
   ============================================================ */
.vin-banner {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 6px 28px rgba(15, 60, 140, 0.25);
}
.vin-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: right center;
}
.vin-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        rgba(8, 22, 58, 0.95) 0%,
        rgba(10, 35, 85, 0.90) 45%,
        rgba(5, 50, 120, 0.70) 100%);
    z-index: 1;
}
.vin-banner-body {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 36px 40px;
}
.vin-banner-left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}

/* Animated icon ring */
.vin-banner-icon-ring {
    width: 56px; height: 56px;
    min-width: 56px;
    background: rgba(56, 182, 255, 0.15);
    border: 2px solid rgba(56, 182, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: vinPulse 2.5s ease-in-out infinite;
    margin-top: 2px;
}
.vin-banner-icon-ring i {
    font-size: 22px;
    color: #38b6ff;
}
@keyframes vinPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(56, 182, 255, 0.3); }
    50% { box-shadow: 0 0 0 12px rgba(56, 182, 255, 0); }
}

/* Text content */
.vin-banner-heading {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.vin-banner-desc {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 14px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.vin-banner-desc strong {
    color: #38b6ff;
}

/* Trust badges */
.vin-banner-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.vin-banner-badges span {
    color: rgba(255,255,255,0.85);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.vin-banner-badges i {
    color: #68b87a;
    margin-right: 4px;
    font-size: 0.7rem;
}

/* Call CTA */
.vin-banner-right {
    text-align: center;
    flex-shrink: 0;
}
.vin-banner-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #e0f0ff 100%);
    color: #0a1e46;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(56, 182, 255, 0.35);
    white-space: nowrap;
}
.vin-banner-call-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(56, 182, 255, 0.5);
    color: #0a1e46;
    text-decoration: none;
}
.vin-banner-phone-icon {
    font-size: 18px;
    transform: scaleX(-1);
}
.vin-banner-call-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}
.vin-banner-call-num {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.3px;
}
.vin-banner-hours {
    color: rgba(255,255,255,0.5);
    font-size: 0.72rem;
    margin: 10px 0 0;
}
.vin-banner-hours i {
    margin-right: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .vin-banner-body {
        flex-direction: column;
        padding: 28px 22px;
        text-align: center;
    }
    .vin-banner-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .vin-banner-badges { justify-content: center; }
    .vin-banner-overlay {
        background: linear-gradient(180deg,
            rgba(10, 30, 70, 0.92) 0%,
            rgba(0, 50, 120, 0.82) 100%);
    }
    .vin-banner-call-btn { padding: 12px 26px; }
    .vin-banner-call-num { font-size: 1.05rem; }
}

