/* Brand Products Page Styles */
.brand-header {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
}

.brand-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

.search-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.search-button {
    width: 100%;
    background-color: #ff6b00;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.search-button:hover {
    background-color: #e65100;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.product-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 1.25rem;
}

.product-category,
.product-reference {
    color: #666;
    font-size: 0.9em;
    margin: 4px 0;
}

.product-category i,
.product-reference i {
    width: 16px;
    margin-right: 4px;
    color: #FA6E14;
}

.product-title {
    display: block;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 8px;
}

.product-title:hover {
    color: #FA6E14;
}

.product-price {
    color: #2c3e50;
    font-weight: 500;
    margin-top: 0.5rem;
}

.product-price i {
    color: #FA6E14;
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brand-title {
        flex-direction: column;
        text-align: center;
    }

    .brand-logo {
        max-height: 50px;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Loading state */
.loading {
    text-align: center;
    padding: 2rem;
}

.loading::after {
    content: "Chargement...";
    color: #6c757d;
    font-style: italic;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.empty-state i {
    color: #FA6E14;
    margin-bottom: 1rem;
}
