/* Brands Section Styles */
.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-height: 80px;
}

.brand-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.brand-item img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-placeholder {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 2px dashed #ddd;
}

/* Loading spinner for brands */
.brands-loading {
    text-align: center;
    padding: 40px;
}

.brands-loading .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2c7be5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.brands-loading p {
    color: #666;
    font-size: 14px;
}

/* Error message for brands */
.brands-error {
    text-align: center;
    padding: 30px;
    background: #fff5f5;
    border-radius: 8px;
    border: 1px solid #fed7d7;
}

.brands-error p {
    color: #e53e3e;
    margin-bottom: 15px;
}

.brands-error .retry-btn {
    background: #2c7be5;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.brands-error .retry-btn:hover {
    background: #1a68d1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brand-item {
        padding: 10px;
        min-height: 60px;
    }
    
    .brand-item img {
        max-height: 60px;
    }
}
