/* Vehicle Information Widget - aef9b81b */

.vi-aef9b81b-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Specs Card */
.vi-aef9b81b-specs {
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
}

.vi-aef9b81b-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.vi-aef9b81b-spec-row:last-child {
    border-bottom: none;
}

.vi-aef9b81b-label {
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vi-aef9b81b-value {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
}

/* Section Titles */
.vi-aef9b81b-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 12px 0;
    padding: 0;
}

/* Description */
.vi-aef9b81b-description {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
}

.vi-aef9b81b-description p {
    margin: 0 0 10px 0;
}

.vi-aef9b81b-description p:last-child {
    margin-bottom: 0;
}

/* Summary */
.vi-aef9b81b-summary-text {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
    margin: 0;
}

/* Gallery */
.vi-aef9b81b-gallery {
    display: grid;
    gap: 10px;
}

.vi-aef9b81b-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.vi-aef9b81b-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.vi-aef9b81b-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.vi-aef9b81b-gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vi-aef9b81b-gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Lightbox Overlay */
.vi-aef9b81b-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vi-aef9b81b-lightbox-overlay.vi-aef9b81b-active {
    opacity: 1;
}

.vi-aef9b81b-lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
    cursor: default;
}

.vi-aef9b81b-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    font-weight: 300;
    transition: opacity 0.2s ease;
}

.vi-aef9b81b-lightbox-close:hover {
    opacity: 0.7;
}

/* Notice */
.vi-aef9b81b-notice {
    padding: 16px 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 767px) {
    .vi-aef9b81b-cols-3,
    .vi-aef9b81b-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .vi-aef9b81b-gallery-img {
        height: 150px;
    }

    .vi-aef9b81b-spec-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
