﻿/* ============================================================
 Smart Finder Styles - Clean & Modern
 ============================================================ */

/* ====== Header with Steps ====== */
.smart-finder-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 10px;
}

    .steps::before {
        content: '';
        position: absolute;
        top: 20px;
        right: 50px;
        left: 50px;
        height: 2px;
        background: rgba(255, 255, 255, 0.25);
        z-index: 0;
    }

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.step.active .step-circle {
    background: white;
    color: #059669;
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2);
}

.step.completed .step-circle {
    background: white;
    color: #059669;
}

.step-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.step.active .step-label {
    color: white;
    font-weight: 800;
}

/* ====== Content ====== */
.smart-finder-content {
    padding: 32px 0 60px;
    background: #f9fafb;
    min-height: calc(100vh - 200px);
}

.page-title {
    text-align: center;
    margin-bottom: 28px;
}

    .page-title h1 {
        font-size: 1.6rem;
        font-weight: 900;
        color: #1f2937;
        margin: 0 0 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

        .page-title h1 i {
            color: #10b981;
        }

    .page-title p {
        font-size: 0.9rem;
        color: #6b7280;
        margin: 0;
    }

/* ====== Category Filter (Tabs) ====== */
.category-filter-wrapper {
    margin-bottom: 28px;
    overflow-x: auto;
    padding: 4px 0 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .category-filter-wrapper::-webkit-scrollbar {
        display: none;
    }

.category-filter {
    display: flex;
    gap: 10px;
    justify-content: center;
    min-width: max-content;
    padding: 0 4px;
}

.filter-btn {
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    padding: 12px 22px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

    .filter-btn i {
        font-size: 0.9rem;
    }

    .filter-btn:hover {
        border-color: #10b981;
        color: #10b981;
        transform: translateY(-2px);
    }

    .filter-btn.active {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        border-color: #10b981;
        color: white;
        box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
    }

/* ====== Category Sections ====== */
.category-section {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== Brands Grid ====== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.brand-card {
    background: white;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

    .brand-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, #10b981 0%, #059669 100%);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .brand-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(16, 185, 129, 0.15);
        border-color: #10b981;
        color: inherit;
    }

        .brand-card:hover::before {
            transform: scaleY(1);
        }

.brand-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.brand-card:hover .brand-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    transform: scale(1.05) rotate(-5deg);
}

.brand-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-name {
    font-weight: 800;
    font-size: 1rem;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-count {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
}

.brand-arrow {
    color: #d1d5db;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.brand-card:hover .brand-arrow {
    color: #10b981;
    transform: translateX(-4px);
}

/* ====== Empty State ====== */
.empty-state {
    background: white;
    border-radius: 20px;
    padding: 60px 30px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    max-width: 500px;
    margin: 0 auto;
}

    .empty-state i {
        font-size: 3rem;
        color: #d1d5db;
        margin-bottom: 16px;
        display: block;
    }

    .empty-state h5 {
        font-size: 1.2rem;
        font-weight: 800;
        color: #1f2937;
        margin-bottom: 8px;
    }

    .empty-state p {
        color: #6b7280;
        margin: 0;
    }

/* ============================================================
 Models Grid (صفحه مدل‌ها)
 ============================================================ */
.models-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.model-card {
    background: white;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

    .model-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 24px rgba(16, 185, 129, 0.12);
        border-color: #10b981;
        color: inherit;
    }

.model-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.model-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.model-name {
    font-weight: 800;
    font-size: 1rem;
    color: #1f2937;
}

.model-years {
    font-size: 0.8rem;
    color: #6b7280;
}

.model-batteries {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.model-arrow {
    color: #d1d5db;
    transition: all 0.25s ease;
}

.model-card:hover .model-arrow {
    color: #10b981;
    transform: translateX(-4px);
}

/* ============================================================
 Years Grid (صفحه سال ساخت)
 ============================================================ */
.years-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.year-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

    .year-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 24px rgba(16, 185, 129, 0.12);
        border-color: #10b981;
        color: inherit;
    }

.year-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.year-label {
    font-weight: 800;
    font-size: 0.95rem;
    color: #1f2937;
    flex: 1;
}

.year-arrow {
    color: #d1d5db;
    transition: all 0.25s ease;
}

.year-card:hover .year-arrow {
    color: #10b981;
    transform: translateX(-4px);
}

/* ============================================================
 Responsive
 ============================================================ */
@media (min-width: 576px) {
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .smart-finder-header {
        padding: 32px 0;
    }

    .step-circle {
        width: 52px;
        height: 52px;
        font-size: 1.1rem;
    }

    .step-label {
        font-size: 0.85rem;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 16px;
    }

    .models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (min-width: 992px) {
    .models-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .smart-finder-header {
        padding: 16px 0;
    }

    .steps::before {
        right: 30px;
        left: 30px;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .step-label {
        font-size: 0.65rem;
    }

    .page-title h1 {
        font-size: 1.2rem;
    }

    .category-filter {
        justify-content: flex-start;
        padding: 0 4px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .brands-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .brand-card {
        padding: 14px;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }

    .brand-name {
        font-size: 0.9rem;
    }
}
/* ============================================================
   Year + Delivery Selection
   ============================================================ */
.selection-section {
    background: white;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .section-title i {
        color: #10b981;
    }

/* Years Grid */
.years-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.year-card {
    position: relative;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-align: right;
}

    .year-card:hover {
        border-color: #10b981;
        transform: translateY(-2px);
    }

    .year-card.selected {
        border-color: #10b981;
        background: #f0fdf4;
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    }

    .year-card .check-icon {
        position: absolute;
        top: 8px;
        left: 8px;
        color: #10b981;
        font-size: 1.1rem;
        opacity: 0;
        transition: opacity 0.2s;
    }

    .year-card.selected .check-icon {
        opacity: 1;
    }

.year-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.year-card.selected .year-icon {
    background: #10b981;
    color: white;
}

.year-label {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.9rem;
}

/* Delivery Options */
.delivery-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.delivery-option {
    position: relative;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-align: right;
}

    .delivery-option:hover {
        border-color: #10b981;
        transform: translateY(-2px);
    }

    .delivery-option.selected {
        border-color: #10b981;
        background: #f0fdf4;
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    }

    .delivery-option .check-icon {
        position: absolute;
        top: 12px;
        left: 12px;
        color: #10b981;
        font-size: 1.2rem;
        opacity: 0;
        transition: opacity 0.2s;
    }

    .delivery-option.selected .check-icon {
        opacity: 1;
    }

.delivery-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #d1fae5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.delivery-option.selected .delivery-icon {
    background: #10b981;
    color: white;
}

.delivery-info {
    flex: 1;
}

.delivery-title {
    font-weight: 800;
    color: #1f2937;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.delivery-desc {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Location Section */
.location-section {
    margin-top: 16px;
    padding: 16px;
    background: #f0fdf4;
    border-radius: 14px;
    border: 1px dashed #10b981;
}

.location-notice {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

    .location-notice i {
        color: #10b981;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .location-notice strong {
        display: block;
        font-size: 0.9rem;
        color: #1f2937;
        margin-bottom: 4px;
    }

    .location-notice p {
        font-size: 0.8rem;
        color: #6b7280;
        margin: 0;
    }

.btn-location {
    background: #10b981;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

    .btn-location:hover {
        background: #059669;
        transform: translateY(-2px);
    }

.location-status {
    margin-top: 12px;
}

.status-success {
    color: #059669;
    font-size: 0.85rem;
    font-weight: 700;
}

.status-error {
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Action Section */
.action-section {
    text-align: center;
    padding: 20px 0;
}

.btn-continue {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

    .btn-continue:hover:not(:disabled) {
        transform: translateY(-3px);
        box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
    }

    .btn-continue:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        background: #9ca3af;
        box-shadow: none;
    }

/* ============================================================
   Results: Battery + Vendors Cards
   ============================================================ */
.badge-delivery {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 8px;
}

.alert-no-vendors {
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

    .alert-no-vendors i {
        color: #d97706;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .alert-no-vendors strong {
        display: block;
        color: #92400e;
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .alert-no-vendors p {
        color: #78350f;
        font-size: 0.8rem;
        margin: 0;
    }

.results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    flex-wrap: wrap;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #1f2937;
    font-size: 0.9rem;
}

    .results-count i {
        color: #10b981;
    }

.sort-options {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .sort-options label {
        color: #6b7280;
        font-size: 0.85rem;
    }

    .sort-options select {
        border-radius: 10px;
        border: 2px solid #e5e7eb;
        font-size: 0.85rem;
        font-weight: 600;
        padding: 6px 12px;
        font-family: inherit;
        cursor: pointer;
    }

.results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.battery-vendors-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    border: 2px solid transparent;
}

    .battery-vendors-card:hover {
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
        border-color: #10b981;
    }

    .battery-vendors-card.no-vendors {
        opacity: 0.85;
    }

/* Battery Header */
.battery-header {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.battery-image {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 14px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

    .battery-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        padding: 8px;
    }

    .battery-image > i {
        font-size: 3.5rem;
        color: #d1d5db;
    }

.battery-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.battery-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.battery-brand {
    font-size: 0.7rem;
    font-weight: 800;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.battery-name {
    font-size: 1.2rem;
    font-weight: 900;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
}

.battery-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .battery-specs .spec {
        background: #f0fdf4;
        color: #059669;
        padding: 4px 10px;
        border-radius: 8px;
        font-size: 0.75rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

.battery-reason {
    font-size: 0.8rem;
    color: #6b7280;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .battery-reason i {
        color: #10b981;
    }

.trade-in-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef3c7;
    color: #92400e;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    align-self: flex-start;
}

    .trade-in-badge i {
        color: #d97706;
    }

/* Vendors Section */
.vendors-section {
    padding: 16px 20px;
    background: #f9fafb;
}

.vendors-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #6b7280;
}

    .vendors-header i {
        color: #10b981;
    }

    .vendors-header strong {
        color: #1f2937;
        font-size: 0.9rem;
    }

    .vendors-header .separator {
        color: #d1d5db;
    }

    .vendors-header .lowest-price {
        color: #059669;
        font-weight: 700;
        font-size: 0.9rem;
    }

.vendors-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vendor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background: white;
    border-radius: 14px;
    padding: 14px;
    border: 2px solid transparent;
    transition: all 0.2s;
}

    .vendor-item:hover {
        border-color: #10b981;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
    }

    .vendor-item.out-of-stock {
        opacity: 0.6;
        background: #f9fafb;
    }

.vendor-main {
    display: flex;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.vendor-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.vendor-info {
    flex: 1;
    min-width: 0;
}

.vendor-name {
    font-weight: 800;
    color: #1f2937;
    font-size: 0.95rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vendor-badge {
    background: #10b981;
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.vendor-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78rem;
    color: #6b7280;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

    .meta-item i {
        color: #10b981;
        font-size: 0.75rem;
    }

    .meta-item.meta-delivery {
        background: #dbeafe;
        color: #1d4ed8;
        padding: 2px 8px;
        border-radius: 8px;
        font-weight: 700;
    }

.vendor-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.vendor-price {
    font-size: 1.2rem;
    font-weight: 900;
    color: #059669;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

    .vendor-price small {
        font-size: 0.7rem;
        color: #6b7280;
        font-weight: 600;
    }

.vendor-net-price {
    font-size: 0.75rem;
    color: #d97706;
    font-weight: 700;
}

.btn-select-vendor {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

    .btn-select-vendor:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
        color: white;
    }

    .btn-select-vendor:disabled {
        background: #9ca3af;
        cursor: not-allowed;
        box-shadow: none;
    }

.no-vendors-message {
    padding: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .battery-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .battery-image {
        width: 120px;
        height: 120px;
    }

    .battery-specs {
        justify-content: center;
    }

    .vendor-item {
        flex-direction: column;
        align-items: stretch;
    }

    .vendor-price-section {
        align-items: stretch;
        border-top: 1px solid #f3f4f6;
        padding-top: 10px;
    }

    .btn-select-vendor {
        width: 100%;
        justify-content: center;
    }

    .years-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .delivery-options {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .delivery-options {
        grid-template-columns: repeat(2, 1fr);
    }
}
