/* Empire Brands Grid Styles */
.eb-brands-display {
    margin: 20px 0;
}

.eb-brands-header {
    text-align: center;
    margin-bottom: 30px;
}

.eb-brands-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.eb-brands-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.eb-brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.eb-brand-item {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eb-brand-item:hover {
    transform: translateY(-5px);
}

.eb-brand-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.eb-brand-link:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.eb-brand-image {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.eb-brand-image img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.eb-brand-image.eb-no-image {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.eb-placeholder {
    font-size: 24px;
    font-weight: bold;
    color: #666;
    text-transform: uppercase;
}

.eb-brand-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-top: 8px;
    line-height: 1.3;
}

/* Responsive Breakpoints */
@media (min-width: 480px) {
    .eb-brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (min-width: 768px) {
    .eb-brands-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .eb-brand-image {
        min-height: 100px;
    }
    
    .eb-brand-image img {
        max-height: 100px;
    }
    
    .eb-brand-image.eb-no-image {
        width: 100px;
        height: 100px;
    }
    
    .eb-placeholder {
        font-size: 32px;
    }
    
    .eb-brand-name {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .eb-brands-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 35px;
    }
}

@media (min-width: 1200px) {
    .eb-brands-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 40px;
    }
    
    .eb-brand-image {
        min-height: 120px;
    }
    
    .eb-brand-image img {
        max-height: 120px;
    }
    
    .eb-brand-image.eb-no-image {
        width: 120px;
        height: 120px;
    }
    
    .eb-placeholder {
        font-size: 36px;
    }
    
    .eb-brand-name {
        font-size: 18px;
    }
}

/* Loading state */
.eb-brands-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Empty state */
.eb-brands-grid:empty::after {
    content: 'No brands found.';
    display: block;
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
} 