/* ShowCar page – Modern layout styles */

/* Page header background */
.sc-page-header {
    background-color: #f5f6fa;
    padding-bottom: 2rem;
}

/* Hero Section */
.sc-hero {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.sc-hero-header {
    margin-bottom: 0.75rem;
}

.sc-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
}

.sc-hero-version {
    display: inline-block;
    font-size: 1rem;
    color: #6c757d;
    font-weight: 400;
    margin-top: 0.25rem;
}

.sc-hero-price-row {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.sc-hero-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #27ae60;
    line-height: 1;
}

.sc-hero-views {
    font-size: 0.9rem;
    color: #999;
}

.sc-hero-views i {
    margin-right: 4px;
}

/* Key highlights bar */
.sc-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sc-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f0f4f8;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
    white-space: nowrap;
}

.sc-highlight i {
    color: #3498db;
    font-size: 0.85rem;
}

/* Description */
.sc-description {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    border-left: 4px solid #2c3e50;
}

.sc-description p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* Section styling */
.sc-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.sc-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f4f8;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sc-section-title i {
    color: #3498db;
    font-size: 1.1rem;
}

/* Specs grid */
.sc-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.875rem;
}

.sc-spec-item {
    display: flex;
    flex-direction: column;
    padding: 0.875rem 1rem;
    background: #f8f9fb;
    border-radius: 8px;
    border: 1px solid #eef1f5;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.sc-spec-item:hover {
    background: #eef3f8;
    border-color: #d0dde8;
}

.sc-spec-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.sc-spec-value {
    font-size: 1rem;
    color: #1a1a2e;
    font-weight: 600;
}

/* Equipment chips grid */
.sc-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.sc-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f0f9f4;
    border: 1px solid #d4edda;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #2d6a4f;
    font-weight: 500;
    transition: background 0.2s ease;
}

.sc-chip:hover {
    background: #d4edda;
}

.sc-chip i {
    color: #27ae60;
    font-size: 0.85rem;
}

/* Safety chip variant */
.sc-chip-safety {
    background: #fff3e0;
    border-color: #ffe0b2;
    color: #e65100;
}

.sc-chip-safety:hover {
    background: #ffe0b2;
}

.sc-chip-safety i {
    color: #e65100;
}

/* Connectivity chip variant */
.sc-chip-connectivity {
    background: #e3f2fd;
    border-color: #bbdefb;
    color: #1565c0;
}

.sc-chip-connectivity:hover {
    background: #bbdefb;
}

.sc-chip-connectivity i {
    color: #1565c0;
}

/* Condition grid */
.sc-condition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.sc-condition-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #f8f9fb;
    border-radius: 8px;
    border: 1px solid #eef1f5;
}

.sc-condition-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sc-condition-value {
    font-size: 1rem;
    color: #1a1a2e;
    font-weight: 500;
    line-height: 1.5;
}

/* Contact section */
.sc-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.sc-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fb;
    border-radius: 8px;
    border: 1px solid #eef1f5;
    transition: background 0.2s ease;
}

.sc-contact-item:hover {
    background: #eef1f5;
}

.sc-contact-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f4fd;
    border-radius: 50%;
    flex-shrink: 0;
}

.sc-contact-icon i {
    color: #3498db;
    font-size: 1rem;
}

.sc-contact-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sc-contact-label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sc-contact-value {
    font-size: 0.95rem;
    color: #1a1a2e;
    font-weight: 500;
    word-break: break-word;
}

/* Footer buttons */
.sc-footer {
    margin-bottom: 1rem;
}

.sc-footer .btn {
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sc-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 767px) {
    .sc-hero {
        padding: 1.25rem;
    }

    .sc-hero-title {
        font-size: 1.35rem;
    }

    .sc-hero-price {
        font-size: 2rem;
    }

    .sc-highlights {
        gap: 0.375rem;
    }

    .sc-highlight {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .sc-section {
        padding: 1.25rem;
    }

    .sc-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .sc-spec-item {
        padding: 0.625rem 0.75rem;
    }

    .sc-spec-label {
        font-size: 0.65rem;
    }

    .sc-spec-value {
        font-size: 0.9rem;
    }

    .sc-contact-card {
        padding: 1.25rem;
    }

    .sc-contact-grid {
        grid-template-columns: 1fr;
    }

    .sc-description {
        padding: 1rem 1.25rem;
    }

    .sc-condition-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sc-specs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Print styles */
@media print {
    .sc-page-header {
        background: #fff;
    }

    .sc-hero,
    .sc-section {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .sc-contact-card {
        background: #fff;
        color: #333;
        border: 1px solid #ddd;
        box-shadow: none;
    }

    .sc-contact-card .sc-section-title,
    .sc-contact-card .sc-contact-value {
        color: #333;
    }

    .sc-contact-card .sc-contact-label {
        color: #666;
    }

    .sc-contact-card .sc-contact-icon i {
        color: #333;
    }

    .sc-footer {
        display: none;
    }
}
