/* Variables CSS */
:root {
    --primary-color: #E4002B; /* Rouge Media Markt */
    --primary-light: #FFE6EB; /* Rouge clair pour fonds */
    --secondary-color: #E4002B; /* Rouge Media Markt aussi */
    --secondary-light: #FFE6EB;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* En-tête */
.main-header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 100px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav a {
    display: block;
    padding: 20px 15px;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://portal-b2b.alwaysdata.net/assets/img/logo/mmbusiness.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #C10022; /* Rouge plus foncé au survol */
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #C10022; /* Rouge plus foncé au survol */
}

/* Conteneur sections */
.home-sections-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* En-tête de section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.see-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.see-all:hover {
    color: var(--secondary-color);
    gap: 8px;
}

/* Grille produits */
.home-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.home-product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.home-product-card.out-of-stock {
    position: relative;
}

.out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #666;
    text-transform: uppercase;
    border-radius: 12px;
}

.home-product-card.out-of-stock .home-product-image {
    filter: grayscale(80%) brightness(1.1);
}

.home-product-card.out-of-stock .home-product-info {
    opacity: 0.7;
}

.home-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white !important;
    z-index: 4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-product-badge.neuf {
    background-color: #4CAF88;
}

.home-product-badge.mod-le-d-exposition {
    background-color: #64B5F6;
}

.home-product-badge.bo-te-ouverte {
    background-color: #FFB74D;
}

.home-product-badge.en-surstock {
    background-color: #E57373;
}

.home-product-badge.derni-re-pi-ce {
    background-color: #9575CD;
}

.home-product-image-container {
    padding: 20px;
    background: white;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.home-product-image {
    max-width: 100%;
    height: 160px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.home-product-info {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
    background: white;
}

.home-product-name {
    font-size: 1rem;
    margin-bottom: 6px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    padding-right: 10px;
}

.home-product-brand {
    color: #6B7280;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.home-product-prices {
    margin-top: 8px;
}

.home-original-price {
    text-decoration: line-through;
    color: #9CA3AF;
    font-size: 0.85rem;
    margin-right: 6px;
}

.home-discount-price {
    color: #EF4444;
    font-weight: bold;
    font-size: 1.1rem;
}

.home-normal-price {
    font-weight: bold;
    font-size: 1.1rem;
    color: #1F2937;
}

.home-product-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Section campagnes */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.campaign-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.campaign-card h3 {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    margin: 0;
    font-size: 1.1rem;
}

.campaign-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.campaign-dates {
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 15px;
    flex-grow: 1;
}

.campaign-actions {
    margin-top: auto;
}

/* Style quand pas de campagnes */
.no-campaigns {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.no-campaigns i {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.no-campaigns p {
    color: #666;
}

/* Pied de page */
.main-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .home-products-grid, .campaigns-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (min-width: 768px) {
    .main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-sections {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

.campaigns-section {
    margin-top: 40px; /* Espace au-dessus de la section Actions Flash */
}
/* ====================== */
/* BANDEAU ALERTE SITE */
/* ====================== */

.site-alert-banner {
    background-color: #d32f2f;
    color: white;
    padding: 12px 0;
    font-size: 15px;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-align: center; /* Centrage horizontal du texte */
}

.site-alert-banner .container {
    display: flex;
    align-items: center;
    justify-content: center; /* Centrage horizontal des éléments flex */
    gap: 12px;
    max-width: 1200px; /* Même largeur max que le reste du site */
    margin: 0 auto; /* Centrage du container */
    padding: 0 15px; /* Padding cohérent avec le reste */
}

.site-alert-banner .alert-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
}

.site-alert-banner .alert-message {
    font-weight: 500;
    max-width: 80%; /* Limite la largeur du message */
}

/* Ajustement du header quand l'alerte est active */
body.has-alert .main-header {
    top: 44px; /* Hauteur du bandeau alerte */
}

/* ====================== */
/* css pour product detail check */
/* ====================== */

/* Styles spécifiques pour product_detail.php */
.product-detail-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 25px;
    margin: 40px auto;
}

.product-main {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start; /* Ajouté pour aligner le haut */
}

.product-gallery {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    display: flex; /* Ajouté */
    flex-direction: column; /* Ajouté */
    height: 100%; /* Ajouté */
}

.main-image-container {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    position: relative;
    flex-grow: 1; /* Ajouté pour prendre toute la hauteur disponible */
    display: flex; /* Ajouté */
    align-items: center; /* Ajouté pour centrer verticalement */
    justify-content: center; /* Ajouté pour centrer horizontalement */
}

.main-image-container img {
    max-width: 100%;
    height: auto;
    max-height: 100%; /* Changé de 350px à 100% */
    object-fit: contain;
    width: auto; /* Ajouté */
}

.product-info {
    flex: 1;
    min-width: 280px;
    padding: 0 15px;
    display: flex; /* Ajouté */
    flex-direction: column; /* Ajouté */
    height: 100%; /* Ajouté */
}

.product-info h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-brand {
    color: #6B7280;
    font-size: 1rem;
    margin-bottom: 20px;
}

.product-prices {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    margin-right: 10px;
}

.discount-price {
    color: var(--danger-color);
    font-weight: bold;
    font-size: 1.4rem;
}

.normal-price {
    font-weight: bold;
    font-size: 1.4rem;
    color: var(--dark-color);
}

.product-stock {
    margin: 20px 0;
    padding: 10px;
    border-radius: 5px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 8px;
}

.in-stock {
    color: var(--success-color);
    font-weight: 500;
}

.out-of-stock {
    color: var(--danger-color);
    font-weight: 500;
}

.product-meta {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.product-meta p {
    margin: 10px 0;
    color: #555;
    font-size: 0.95rem;
}

.product-meta i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
    color: var(--primary-color);
}

.product-description {
    width: 100%;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.product-description h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Produits connexes */
.related-products {
    margin-top: 40px;
}

.related-title {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
}

/* Styles pour les états des produits */
.status-text {
    font-weight: 500;
}

.status-text.neuf {
    color: #4CAF88;
}

.status-text.mod-le-d-exposition {
    color: #64B5F6;
}

.status-text.bo-te-ouverte {
    color: #FFB74D;
}

.status-text.en-surstock {
    color: #E57373;
}

.status-text.derni-re-pi-ce {
    color: #9575CD;
}

/* Responsive pour product_detail */
@media (max-width: 768px) {
    .product-detail-container {
        padding: 15px;
    }
    
    .product-main {
        gap: 20px;
    }
    
    .main-image-container img {
        max-height: 250px;
    }
}
/* ================================== */
/* STYLES CONNEXION - VERSION EPUREE */
/* ================================== */

.auth-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-login-box {
    width: 100%;
    max-width: 28rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

.auth-login-header {
    margin-bottom: 2rem;
    text-align: center;
}

.auth-login-title {
    font-size: 1.5rem;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 1rem;
}

.auth-login-divider {
    height: 3px;
    width: 50px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 3px;
}

.auth-login-alert {
    background-color: #fff5f5;
    color: var(--danger-color);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--danger-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.auth-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.auth-form-label {
    font-size: 0.875rem;
    color: #4a5568;
    font-weight: 500;
}

.auth-form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.9375rem;
}

.auth-form-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.1);
}

.auth-login-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.auth-login-btn:hover {
    background-color: #2b6cb0;
}

@media (max-width: 640px) {
    .auth-login-container {
        padding: 1rem;
    }
    
    .auth-login-box {
        padding: 1.5rem;
    }
}

/* ====================== */
/* STYLES OUTLET */
/* ====================== */

.outlet-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://portal-b2b.alwaysdata.net/assets/img/outlet-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.outlet-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.outlet-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.outlet-subtitle {
    font-size: 1.3rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.outlet-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.outlet-badge {
    background-color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.outlet-badge i {
    font-size: 0.8rem;
}

/* Filtres */
.outlet-filters-section {
    background-color: white;
    padding: 25px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.outlet-filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.filter-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    font-size: 0.95rem;
    width: 100%;
}

.price-range .price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-range input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
}

.price-range span {
    color: #666;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-self: flex-end;
}

.active-filters {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.active-filters p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag {
    background-color: #f0f0f0;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.remove-filter {
    color: #999;
    font-size: 0.8rem;
    text-decoration: none;
}

.remove-filter:hover {
    color: var(--primary-color);
}

/* Grille produits */
.outlet-products-grid1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.outlet-product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.outlet-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.product-badge1 {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-image-container1 {
    padding: 20px;
    background: #f9f9f9;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image1 {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.product-info1 {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    background: white;
}

.product-meta1 {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.product-department1, .product-group1 {
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
    color: #555;
}

.product-name1 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

.product-brand1 {
    color: #6B7280;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-prices1 {
    margin: 15px 0;
    position: relative;
}

.original-price1 {
    text-decoration: line-through;
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-right: 6px;
}

.discount-price1 {
    color: #EF4444;
    font-weight: bold;
    font-size: 1.3rem;
    margin-right: 10px;
}

.discount-percent1 {
    background-color: #FEE2E2;
    color: #EF4444;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.normal-price1 {
    font-weight: bold;
    font-size: 1.3rem;
    color: #1F2937;
}

.product-stock1 {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed

}
/* Services Hero */
.services-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://portal-b2b.alwaysdata.net/assets/img/services-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 40px;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.service-image-container {
    height: 200px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 20px;
}

.service-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    font-size: 3rem;
}

.service-info {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.service-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0;
}

/* No services */
.no-services {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.no-services i {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.no-services p {
    color: #666;
}

/* Service Detail Page */
.service-detail-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.service-detail-hero-content h1 {
    font-size: 2.5rem;
}

.service-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-detail-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.service-gallery {
    flex: 1;
    min-width: 300px;
}

.service-main-image-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-main-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.service-main-image-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    font-size: 5rem;
}

.service-detail-info {
    flex: 1;
    min-width: 300px;
}

.service-description {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.service-description h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-description p {
    line-height: 1.8;
    color: #555;
}

.service-contact {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.service-contact h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-contact p {
    color: #666;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .services-hero {
        padding: 60px 0;
    }
    
    .service-detail-main {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-main-image-container {
        padding: 20px;
    }
}
/* Flash Hero */
.flash-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--primary-color);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 40px;
}

.flash-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.flash-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.flash-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Flash Container */
.flash-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* Flash Grid */
.flash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.flash-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.flash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Flash Image */
.flash-image-container {
    height: 200px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.flash-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 20px;
}

.flash-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    font-size: 3rem;
}

/* Flash Info */
.flash-info {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.flash-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0 0 15px 0;
}

/* Flash Dates */
.flash-dates {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.flash-date-badge {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.flash-date-separator {
    color: #999;
    font-size: 0.9rem;
    padding: 0 5px;
}

/* No Flash */
.no-flash {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.no-flash i {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.no-flash p {
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .flash-hero {
        padding: 60px 0;
    }
    
    .flash-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .flash-dates {
        flex-direction: column;
    }
    
    .flash-date-separator {
        transform: rotate(90deg);
        padding: 5px 0;
    }
}
/* Flash Detail Hero */
.flash-detail-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.flash-detail-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.flash-detail-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Flash Detail Container */
.flash-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* Flash Detail Header */
.flash-detail-header {
    margin-bottom: 30px;
    text-align: center;
}

.flash-detail-dates {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.flash-status-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.flash-status-badge.active {
    background-color: var(--success-color);
    color: white;
}

.flash-status-badge.inactive {
    background-color: #6c757d;
    color: white;
}

/* Flash Detail Content */
.flash-detail-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.flash-detail-section {
    margin-bottom: 40px;
}

.flash-detail-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-detail-text {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    line-height: 1.7;
}

/* No Products */
.no-flash-products {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.no-flash-products i {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.no-flash-products p {
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .flash-detail-hero {
        padding: 60px 0;
    }
    
    .flash-detail-dates {
        flex-direction: column;
    }
    
    .flash-date-separator {
        transform: rotate(90deg);
        padding: 5px 0;
    }
    
    .flash-detail-content {
        padding: 20px;
    }
}
/* Flash Detail Hero with Image */
.flash-detail-hero {
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.flash-detail-hero-content {
    position: relative;
    z-index: 2;
}

.flash-detail-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.flash-detail-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Flash Detail Image */
.flash-detail-image-container {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.flash-detail-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* Flash Detail Layout */
.flash-detail-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.flash-detail-info {
    flex: 1;
    min-width: 300px;
}

.flash-products-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    margin-top: 30px;
}

.flash-products-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .flash-detail-hero {
        padding: 80px 0;
    }
    
    .flash-detail-main {
        flex-direction: column;
        gap: 30px;
    }
    
    .flash-detail-image {
        max-height: 300px;
    }
    
    .flash-products-section {
        padding: 20px;
    }
}
/* Flash Detail Hero (fixe comme avant) */
.flash-detail-hero {
    background: var(--primary-color);
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 40px;
}

.flash-detail-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.flash-detail-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Flash Detail Image */
.flash-detail-image-container {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.flash-detail-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* Interest Button Section */
.flash-interest-container {
    margin: 25px 0;
    text-align: center;
    padding: 20px;
    background-color: var(--primary-light);
    border-radius: 12px;
}

.flash-interest-btn {
    font-size: 1.1rem;
    padding: 12px 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.flash-interest-btn i {
    font-size: 1.2rem;
}

.flash-interest-text {
    margin-top: 10px;
    color: #555;
    font-size: 0.9rem;
}

/* Flash Detail Layout */
.flash-detail-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.flash-detail-info {
    flex: 1;
    min-width: 300px;
}

.flash-products-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    margin-top: 30px;
}

.flash-products-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .flash-detail-hero {
        padding: 80px 0;
    }
    
    .flash-detail-main {
        flex-direction: column;
        gap: 30px;
    }
    
    .flash-detail-image {
        max-height: 300px;
    }
    
    .flash-products-section {
        padding: 20px;
    }
    
    .flash-interest-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ====================== */
/* HERO COMMON STYLE*/
/* ====================== */

/* Hero Common Styles */
.hero, 
.flash-hero, 
.services-hero, 
.outlet-hero,
.flash-detail-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://portal-b2b.alwaysdata.net/assets/img/logo/mmbusiness.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero-content,
.flash-hero-content,
.services-hero-content,
.outlet-hero-content,
.flash-detail-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1,
.flash-hero-content h1,
.services-hero-content h1,
.outlet-hero-content h1,
.flash-detail-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-content p,
.flash-hero-content p,
.services-hero-content p,
.outlet-hero-content p,
.flash-detail-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Badges in Hero */
.outlet-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.outlet-badge {
    background-color: rgba(228, 0, 43, 0.8);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-shadow: none;
}

.outlet-badge i {
    font-size: 0.8rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero,
    .flash-hero,
    .services-hero,
    .outlet-hero,
    .flash-detail-hero {
        padding: 80px 0;
    }
    
    .hero-content h1,
    .flash-hero-content h1,
    .services-hero-content h1,
    .outlet-hero-content h1,
    .flash-detail-hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p,
    .flash-hero-content p,
    .services-hero-content p,
    .outlet-hero-content p,
    .flash-detail-hero-content p {
        font-size: 1rem;
    }
}

/* ====================== */
/* STYLES CAMPAGNES ACCUEIL */
/* ====================== */

.campaign_home_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.campaign_home_card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.campaign_home_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.campaign_home_image-container {
    padding: 20px;
    background: white;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 160px;
}

.campaign_home_image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.campaign_home_info {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
    background: white;
}

.campaign_home_name {
    font-size: 1rem;
    margin-bottom: 6px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    padding-right: 10px;
}

.campaign_home_dates {
    color: #6B7280;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.campaign_home_date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.campaign_home_date i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.campaign_home_link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Badge statut campagne */
.campaign_home_badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white !important;
    z-index: 4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .campaign_home_grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}