.grid-sale-approved-logos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.grid-sale-approved-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.grid-sale-logo-item {
    aspect-ratio: 1;
    position: relative;
}

.grid-sale-logo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-sale-logo-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.grid-sale-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.grid-sale-logo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.grid-sale-logo-wrapper:hover .grid-sale-logo-overlay {
    transform: translateY(0);
}

.grid-sale-logo-coordinate {
    font-size: 14px;
    font-weight: 500;
}

.grid-sale-logo-name {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: block;
    padding: 4px 0;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .grid-sale-approved-logos-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .grid-sale-approved-logos-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
}

/* Lightbox Styles */
.grid-sale-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.grid-sale-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.grid-sale-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.grid-sale-lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.grid-sale-lightbox-close:hover {
    transform: scale(1.1);
}

.grid-sale-lightbox-coordinate {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
} 