/* Mobile.de Vehicles Frontend Styles */

.mobilede-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .mobilede-vehicles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.mobilede-vehicle-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobilede-vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mobilede-vehicle-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f5f5f5;
}

.mobilede-vehicle-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.mobilede-vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mobilede-vehicle-card:hover .mobilede-vehicle-image img {
    transform: scale(1.05);
}

.mobilede-image-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobilede-vehicle-content {
    padding: 20px;
}

.mobilede-vehicle-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.mobilede-vehicle-price {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 16px;
}

.mobilede-vehicle-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.mobilede-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.mobilede-spec svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.mobilede-spec span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobilede-vehicle-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease;
}

.mobilede-vehicle-link:hover {
    background: #1d4ed8;
    color: #fff;
}

.mobilede-vehicle-link svg {
    width: 14px;
    height: 14px;
}

.mobilede-no-results {
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
    color: #666;
}

/* GLightbox Anpassungen */
.glightbox-clean .gslide-description {
    background: rgba(0, 0, 0, 0.85);
}

.glightbox-mobile .glightbox-container .gslide-description {
    bottom: 0;
}

/* Responsive */
@media (max-width: 480px) {
    .mobilede-vehicle-image {
        height: 200px;
    }

    .mobilede-vehicle-title {
        font-size: 16px;
    }

    .mobilede-vehicle-price {
        font-size: 20px;
    }

    .mobilede-vehicle-specs {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .mobilede-spec {
        font-size: 13px;
    }
}