/**
 * Vehizo Archive Template Styles
 *
 * @package Vehizo
 * @version 4.1.3
 */

/* Basic styling for archive page */
.vehizo-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.vehizo-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.vehizo-vehicle-card {
    background: var(--vehizo-card-bg, #fff);
    border-radius: var(--vehizo-card-radius, 12px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.vehizo-vehicle-card:hover {
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f5f5f5;
    font-size: 48px;
}

.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--vehizo-primary, #2563eb);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: var(--vehizo-font-size, 14px);
}

.card-content {
    padding: 20px;
}

.card-title {
    margin: 0 0 15px 0;
    font-size: var(--vehizo-heading-size, 18px);
    font-weight: var(--vehizo-title-weight, 700);
}

.card-title a {
    text-decoration: none;
    color: var(--vehizo-title, #1f2937);
}

.specs-list {
    margin-bottom: 20px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    background: var(--vehizo-specs-bg, transparent);
    border-bottom: 1px solid var(--vehizo-card-border-color, #e5e7eb);
}

.spec-label {
    color: var(--vehizo-text, #6b7280);
    font-size: var(--vehizo-font-size, 14px);
}

.spec-value {
    font-weight: 600;
    color: var(--vehizo-text, #1f2937);
    font-size: var(--vehizo-font-size, 14px);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--vehizo-primary, #2563eb);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: 100%;
}

.cta-button:hover {
    background: var(--vehizo-button-hover, #1d4ed8);
    color: white;
}

.vehizo-pagination {
    margin-top: 40px;
    text-align: center;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}