:root {
    --primary-color: #e67e22;
    --primary-dark: #d35400;
    --secondary-color: #f39c12;
    --accent-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #3498db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Correction globale pour la navbar fixe */
body {
    padding-top: 76px;
}

.navbar.fixed-top {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Ajustements responsive */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f8f9fa;
}

/* Navigation */
.custom-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.custom-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%), 
                url('https://images.unsplash.com/photo-1605723517506-6d66731f7d70?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    margin-right: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.hero-stats {
    margin-top: 3rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Slider */
.hero-slider-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.slider-title {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.slider-controls {
    display: flex;
    gap: 0.5rem;
}

.slider-btn {
    width: 35px;
    height: 35px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-btn:disabled:hover {
    background: transparent;
    color: var(--primary-color);
}

.products-slider {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 0;
}

.product-slide {
    min-width: 100%;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.product-slide:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

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

.product-image i {
    font-size: 3rem;
}

.product-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.product-artisan {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.slider-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Badges */
.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.rating {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: center;
}

/* Categories */
.categories-section {
    background: white;
}

.category-card {
    padding: 2rem 1rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f8f9fa;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.category-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Products */
.products-section {
    background: white;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f8f9fa;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card .product-image {
    position: relative;
    height: 200px;
    margin-bottom: 0;
}

.product-card .product-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.btn-wishlist {
    width: 35px;
    height: 35px;
    border: none;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-wishlist:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.btn-wishlist .fas {
    color: var(--accent-color);
}

.product-card .product-info {
    padding: 1.5rem;
}

.product-card .product-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-card .product-artisan {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-actions-buttons {
    display: flex;
    gap: 0.5rem;
}

.product-actions-buttons .btn {
    flex: 1;
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    color: var(--text-light);
}

.no-image i {
    font-size: 3rem;
}

/* Artisans */
.artisans-section {
    background: white;
}

.artisan-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f8f9fa;
    height: 100%;
}

.artisan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.artisan-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.artisan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artisan-info {
    padding: 1.5rem;
}

.artisan-country {
    display: inline-block;
    background: var(--light-color);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.artisan-rating {
    color: var(--secondary-color);
}

/* How it Works */
.how-it-works {
    background: white;
}

.step-card {
    padding: 2rem 1rem;
    position: relative;
    text-align: center;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-light);
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.newsletter-section h3 {
    color: white;
}

.newsletter-section .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.newsletter-form .input-group {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border: none;
    padding: 0.75rem 1rem;
}

.newsletter-form .btn {
    border: none;
    padding: 0.75rem 1.5rem;
}

/* Footer */
.footer {
    background: var(--dark-color) !important;
    color: white;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 0.8rem 2rem;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Modals */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

/* Account Type Cards */
.account-type-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-type-card .card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.account-type-card:hover .card,
.account-type-card.selected .card {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.account-type-card.selected .account-icon {
    color: var(--primary-color) !important;
}

.account-icon {
    transition: color 0.3s ease;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider-text {
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.875rem;
}

/* Form Controls */
.form-control, .form-select {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
}

.input-group-text {
    border-radius: 10px 0 0 10px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-right: none;
}

.toggle-password {
    border-left: 0;
    border-radius: 0 10px 10px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .hero-slider-container {
        margin-top: 2rem;
        padding: 1rem;
    }
    
    .slider-title {
        font-size: 1.1rem;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-info h4 {
        font-size: 1rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-card, .product-card, .artisan-card {
        margin-bottom: 1rem;
    }
}

/* Loading animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation pour le slide actif */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-slide.active {
    animation: slideIn 0.5s ease-out;
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5rem 0.75rem;
}

/* Utilities */
.text-primary { color: var(--primary-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-info { color: var(--info-color) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-danger { background-color: var(--danger-color) !important; }
.bg-info { background-color: var(--info-color) !important; }

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
/* Correctif temporaire pour les dropdowns */
.navbar .dropdown-menu {
    z-index: 9999 !important;
}

.navbar .dropdown-toggle::after {
    display: inline-block !important;
}

/* Assurer que les dropdowns sont visibles */
.dropdown-menu.show {
    display: block !important;
}
/* Styles pour le sélecteur de langue */
.language-simple.active {
    background-color: #e9ecef;
    font-weight: 600;
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.language-simple {
    transition: all 0.2s ease;
}

.language-simple:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}
/* Icône Panier Flottante */
.floating-cart {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.cart-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    transition: all 0.3s ease;
}

.cart-icon-link:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.cart-icon-link i {
    font-size: 1.5rem;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-55%); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .floating-cart {
        right: 15px;
        bottom: 80px;
        top: auto;
        transform: none;
    }
    
    .cart-icon-link {
        width: 50px;
        height: 50px;
    }
    
    .cart-icon-link i {
        font-size: 1.2rem;
    }
    
    .cart-count {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
}
/* Styles pour le menu utilisateur */
.user-menu-trigger {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: var(--primary-color) !important; /* Texte orange par défaut */
}

.user-menu-trigger:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important; /* Texte blanc au survol */
}

.user-menu-trigger:hover .user-icon,
.user-menu-trigger:hover .user-name {
    opacity: 0;
    transform: translateX(-10px);
    color: white !important; /* Assurer que le texte est blanc */
}

.user-icon, .user-name {
    transition: all 0.3s ease;
    color: inherit; /* Hériter la couleur du parent */
}

/* Badge dans le menu utilisateur */
.user-menu-trigger .badge {
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 2;
    color: white !important; /* Texte blanc pour le badge */
}

.user-menu-trigger:hover .badge {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    color: white !important; /* Texte blanc pour le badge au survol */
}

/* Animation fluide pour le changement d'état */
.user-menu-trigger {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* S'assurer que l'icône a la bonne couleur */
.user-menu-trigger .user-icon {
    color: inherit;
}

.user-menu-trigger:hover .user-icon {
    color: white !important;
}
/* Styles améliorés pour la navbar */
.custom-navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(230, 126, 34, 0.1);
}

/* Liens de navigation */
.navbar-nav .nav-link {
    font-weight: 600;
    margin: 0 0.5rem;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(230, 126, 34, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(230, 126, 34, 0.15);
    font-weight: 700;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}
/* Menu utilisateur */
.user-menu-trigger {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white !important;
    border: 2px solid var(--primary-dark) !important;
    border-radius: 50px !important;
    padding: 0.6rem 1.2rem !important;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu-trigger:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color)) !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* Éléments toujours visibles */
.user-icon, .user-name {
    transition: all 0.3s ease;
    color: white !important;
    opacity: 1 !important;
}

/* Pas de disparition au survol */
.user-menu-trigger:hover .user-icon,
.user-menu-trigger:hover .user-name {
    opacity: 1 !important;
    transform: none;
    color: white !important;
}

/* Badge toujours visible à côté du texte */
.user-badge {
    transition: all 0.3s ease;
    color: white !important;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    opacity: 1 !important;
    transform: none;
    position: static;
}

/* Pas besoin de repositionnement au survol */
.user-menu-trigger:hover .user-badge {
    opacity: 1 !important;
    transform: none;
    position: static;
}
/* Styles pour la section pays */
.countries-section {
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.countries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.countries-section .container {
    position: relative;
    z-index: 2;
}

.countries-section .text-center {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.countries-section .section-title {
    color: #2d3748;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countries-section .section-subtitle {
    color: #718096;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.country-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    position: relative;
}

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.country-card:hover {
    transform: translateY(-8px);
}

.country-card:hover::before {
    transform: scaleX(1);
}

.country-card .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.country-card:hover .card {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #667eea;
}

.country-card .card-body {
    padding: 1.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flag-container {
    position: relative;
    margin-bottom: 1rem;
}

.flag-img {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.country-card:hover .flag-img {
    transform: scale(1.1);
    border-color: #667eea;
    box-shadow: 0 8px 15px -3px rgba(102, 126, 234, 0.3);
}

.flag-placeholder {
    width: 64px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.country-name {
    font-weight: 700;
    color: #2d3748;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.artisans-count {
    font-size: 0.9rem;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.artisans-count i {
    color: #667eea;
}

/* Bouton "Voir tous les pays" */
.countries-section .btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.countries-section .btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .countries-section .section-title {
        font-size: 1.75rem;
    }
    
    .countries-section .section-subtitle {
        font-size: 1rem;
    }
    
    .flag-img,
    .flag-placeholder {
        width: 56px;
        height: 42px;
    }
    
    .country-card .card-body {
        padding: 1.25rem 0.75rem;
    }
    
    .country-name {
        font-size: 1rem;
    }
}

/* Animation d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.country-card {
    animation: fadeInUp 0.6s ease forwards;
}

.country-card:nth-child(1) { animation-delay: 0.1s; }
.country-card:nth-child(2) { animation-delay: 0.2s; }
.country-card:nth-child(3) { animation-delay: 0.3s; }
.country-card:nth-child(4) { animation-delay: 0.4s; }
.country-card:nth-child(5) { animation-delay: 0.5s; }
.country-card:nth-child(6) { animation-delay: 0.6s; }
