/* ============================================
   DC BEAUTY - MOBILE STYLES CONSOLIDÉS
   Version: 2.0
   Date: 2025
   
   Ce fichier consolide TOUS les styles mobiles
   et remplace les fichiers suivants:
   - mobile-responsive.css
   - mobile-touch.css  
   - products-mobile-fix.css
   - Règles mobiles de style.css
   - _OLD_testimonials-carousel-mobile-fix.css
   ============================================ */

/* ============================================
   SECTION 1: VARIABLES ET CONFIGURATION
   ============================================ */

:root {
    /* Variables mobiles globales */
    --mobile-padding: 15px;
    --mobile-header-height: 60px;
    --mobile-font-base: 14px;
    --mobile-button-height: 44px;
    
    /* Breakpoints standardisés */
    --breakpoint-xs: 380px;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
}

/* ============================================
   SECTION 2: RÈGLES GLOBALES MOBILE
   ============================================ */

/* Tablette (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

/* Mobile général (max 767px) */
@media (max-width: 767px) {
    /* Base typography */
    body {
        font-size: var(--mobile-font-base);
        padding-top: var(--mobile-header-height);
    }
    
    .container {
        padding: 0 var(--mobile-padding);
    }
    
    /* Utility classes */
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
    
    /* Typography mobile */
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    h4 { font-size: 16px; }
    h5 { font-size: 14px; }
    h6 { font-size: 13px; }
    
    /* Spacings mobile */
    .mt-5 { margin-top: 2rem !important; }
    .mb-5 { margin-bottom: 2rem !important; }
    .pt-5 { padding-top: 2rem !important; }
    .pb-5 { padding-bottom: 2rem !important; }
    
    /* Colonnes Bootstrap override */
    .col-md-6,
    .col-lg-3,
    .col-lg-4,
    .col-lg-6,
    .col-lg-8,
    .col-lg-9 {
        width: 100%;
        padding: 0 10px;
    }
    
    .row {
        margin: 0 -10px;
    }
}

/* Petit mobile (max 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* Très petit mobile (max 380px) */
@media (max-width: 380px) {
    body {
        font-size: 13px;
    }
    
    .container {
        padding: 0 8px;
    }
    
    .btn {
        font-size: 13px;
        padding: 10px 15px;
    }
}

/* ============================================
   SECTION 3: HEADER & NAVIGATION
   ============================================ */

@media (max-width: 767px) {
    /* Header principal */
    .header {
        height: var(--mobile-header-height);
        padding: 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 999;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    /* Navbar */
    .navbar {
        padding: 0 15px;
        height: var(--mobile-header-height);
    }
    
    /* Logo */
    .navbar-brand .logo-text,
    .logo {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    /* Navigation masquée */
    .header .navbar-nav,
    .nav-main ul {
        display: none !important;
    }
    
    /* Actions utilisateur */
    .navbar-actions,
    .header-actions {
        gap: 8px;
    }
    
    /* Boutons header */
    .cart-button,
    .btn-auth {
        padding: 8px 12px;
        border-radius: 5px;
    }
    
    .cart-button .cart-text,
    .btn-auth span {
        display: none;
    }
    
    /* User dropdown */
    .user-dropdown-toggle {
        padding: 8px;
        border-radius: 5px;
    }
    
    .user-dropdown-toggle .user-name,
    .user-dropdown-toggle .bi-chevron-down {
        display: none;
    }
    
    .user-dropdown-menu {
        right: -10px;
        min-width: 200px;
        max-width: calc(100vw - 30px);
    }
    
    /* Menu burger */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================
   SECTION 4: HERO & BANNIÈRES
   ============================================ */

@media (max-width: 767px) {
    /* Hero section */
    .hero-section {
        height: 400px;
        margin-top: 0;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 24px;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .btn-hero {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* Navigation hero */
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .hero-prev { left: 10px; }
    .hero-next { right: 10px; }
    
    /* Indicateurs */
    .hero-indicators {
        bottom: 20px;
    }
    
    /* Bannières */
    .banner-text {
        padding: 20px;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .banner-subtitle {
        font-size: 1.2rem;
    }
    
    .banner-description {
        font-size: 1rem;
    }
}

/* ============================================
   SECTION 5: PRODUITS & BOUTIQUE
   ============================================ */

@media (max-width: 767px) {
    /* Grille produits globale */
    .products-grid,
    .products-section .products-grid,
    .featured-products .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 5px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Carte produit */
    .product-card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: white !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.08) !important;
        transition: transform 0.2s ease !important;
        box-sizing: border-box !important;
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    /* Image produit */
    .product-image {
        position: relative !important;
        width: 100% !important;
        height: 0 !important;
        padding-bottom: 100% !important;
        background: #f8f8f8 !important;
        overflow: hidden !important;
    }
    
    .product-image img {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        padding: 0;
    }
    
    /* Badges */
    .badge,
    .badge-featured,
    .badge-new,
    .badge-sale {

        top: 5px !important;
        font-size: 9px !important;
        padding: 3px 6px !important;
        border-radius: 3px !important;
        z-index: 10 !important;
    }
    
    .badge-featured { left: 5px !important; background: #c9a961 !important; }
    .badge-new { left: 5px !important; background: #4CAF50 !important; }
    .badge-sale { right: 5px !important; background: #FF5252 !important; width:fit-content; }
    
    /* Info produit */
    .product-info {
        padding: 8px !important;
        flex-grow: 1 !important;
    }
    
    .product-title {
        font-size: 12px !important;
        height: 32px !important;
        line-height: 1.4 !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    /* Prix */
    .product-price {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 4px 0 !important;
    }
    
    .price-current {
        font-size: 14px !important;
        font-weight: bold !important;
        color: #333 !important;
    }
    
    .price-old {
        font-size: 11px !important;
        color: #999 !important;
        text-decoration: line-through !important;
    }
    
    /* Actions produit */
    .product-actions {
        padding: 0 8px 8px 8px !important;
    }
    
    .btn-add-cart,
    .btn-quick-add,
    .btn-quick-view {
        width: 100% !important;
        padding: 8px !important;
        font-size: 11px !important;
        text-transform: uppercase !important;
        background: #333 !important;
        color: white !important;
        border: none !important;
        border-radius: 4px !important;
    }
    
    /* Overlay masqué */
    .product-overlay {
        display: none !important;
    }
    
    /* Header boutique */
    .shop-header {
        padding: 20px 0;
    }
    
    .shop-header h1 {
        font-size: 24px;
    }
    
    /* Sidebar mobile */
    .shop-sidebar {
        position: relative !important;
        top: -20px !important;
        margin-bottom: -35px !important;
        padding: 1px !important;
    }
    
    .filter-section {
        border-bottom: 1px solid #e0e0e0;
        margin-bottom: 0;
    }
    
    .filter-section h3 {
        padding: 15px;
        margin: 0;
        background: #f8f8f8;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
    }
    
    .filter-section h3::after {
        content: '\25BC';
        font-size: 12px;
        transition: transform 0.3s;
    }
    
    .filter-section.active h3::after {
        transform: rotate(180deg);
    }
    
    .filter-content {
        padding: 15px;
        display: none;
    }
    
    .filter-section.active .filter-content {
        display: block;
    }
    
    /* Toolbar mobile */
    .shop-toolbar {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .sort-options {
        width: 100%;
    }
    
    .sort-options select {
        width: 100%;
        padding: 10px;
    }
}

/* Ultra petit pour produits */
@media (max-width: 380px) {
    .products-grid {
        gap: 8px !important;
    }
    
    .product-info {
        padding: 6px !important;
    }
    
    .product-title {
        font-size: 11px !important;
    }
    
    .btn-add-cart {
        font-size: 10px !important;
        padding: 6px !important;
    }
}

/* Option 1 colonne pour très petits écrans */
@media (max-width: 350px) {
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .product-card {
        max-width: 280px !important;
        margin: 0 auto !important;
    }
}

/* ============================================
   SECTION 6: PANIER & CHECKOUT
   ============================================ */

@media (max-width: 767px) {
    /* Panier */
    .cart-section {
        padding: 20px 0;
        background: #fafafa;
    }
    
    .page-title {
        font-size: 22px;
        margin-bottom: 20px;
        text-align: center;
        letter-spacing: 1px;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Table panier convertie en cards */
    .cart-table {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    .cart-table thead {
        display: none !important;
    }
    
    .cart-table tbody {
        display: block;
    }
    
    .cart-table tr.cart-item {
        display: block !important;
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        margin-bottom: 15px;
        padding: 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        position: relative;
    }
    
    .cart-table td {
        display: block !important;
        border: none !important;
        padding: 10px 15px !important;
        text-align: left !important;
        width: 100% !important;
    }
    
    /* Image produit mobile */
    .cart-table td.cart-item-image {
        padding: 15px !important;
        background: #f8f8f8;
        border-bottom: 1px solid #e0e0e0;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }
    
    .cart-table td.cart-item-image::before {
        display: none !important;
    }
    
    .cart-item-image a {
        display: inline-block;
        width: 120px;
        height: 120px;
        margin: 0 auto;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .cart-item-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 10px;
    }
    
    .no-image-small {
        width: 120px;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        color: #999;
        font-size: 11px;
    }
    
    /* Détails produit */
    .cart-table td.cart-item-details {
        padding-top: 15px !important;
    }
    
    .cart-item-details::before {
        display: none !important;
    }
    
    .cart-item-details h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .cart-item-details .sku {
        font-size: 12px;
        color: #999;
    }
    
    .cart-item-details .stock-warning {
        font-size: 12px;
        color: #ff6b6b;
        margin-top: 5px;
    }
    
    /* Ligne prix/quantité/total */
    .cart-item-price,
    .cart-item-quantity, 
    .cart-item-total {
        display: block !important;
        width: 100% !important;
        padding: 8px 15px !important;
        text-align: left !important;
        border: none !important;
    }
    
    .cart-item-price {
        border-top: 1px solid #f0f0f0 !important;
    }
    
    .cart-item-price::before,
    .cart-item-quantity::before,
    .cart-item-total::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 12px;
        color: #666;
        margin-right: 10px;
        display: inline-block;
        min-width: 70px;
    }
    
    /* Quantité spécifique */
    .cart-item-quantity .quantity-controls {
        display: inline-flex;
        vertical-align: middle;
        margin-left: 10px;
    }
    
    /* Bouton supprimer */
    .cart-table td.cart-item-remove {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 0 !important;
        width: auto !important;
    }
    
    .cart-item-remove::before {
        display: none !important;
    }
    
    .btn-remove {
        background: rgba(255,255,255,0.9);
        border: 1px solid #e0e0e0;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    /* Quantité mobile */
    .cart-table .quantity-controls {
        display: inline-flex !important;
        border: 1px solid #ddd !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        background: white !important;
    }
    
    .cart-table .qty-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
        background: #f8f8f8 !important;
        border: none !important;
        cursor: pointer !important;
    }
    
    .cart-table .qty-input {
        width: 40px !important;
        height: 32px !important;
        font-size: 14px !important;
        padding: 0 !important;
        text-align: center !important;
        border: none !important;
        border-left: 1px solid #ddd !important;
        border-right: 1px solid #ddd !important;
    }
    
    /* Actions panier */
    .cart-actions {
        flex-direction: column !important;
        gap: 3px !important;
        margin: 0;
    }
    
    .cart-actions .btn-outline {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
    
    /* Résumé panier */
    .cart-summary {
position: relative !important;
        top: 0 !important;
        padding: 20px !important;
        margin-top: 0px !important;
    }
    
    .cart-summary h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .summary-line {
        font-size: 14px;
        padding: 8px 0;
    }
    
    .summary-total {
        font-size: 16px;
        padding: 12px 0;
    }
    
    /* Code promo mobile */
    .promo-code {
        margin: 15px 0;
    }
    
    .promo-code summary {
        font-size: 14px;
        padding: 10px;
    }
    
    .promo-form {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }
    
    .promo-input {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }
    
    .btn-secondary {
        width: 100%;
        padding: 10px;
        font-size: 13px;
    }
    
    /* Bouton checkout */
    .checkout-button {
        margin-top: 15px;
    }
    
    .btn-large {
        padding: 14px;
        font-size: 15px;
    }
    
    .checkout-info {
        font-size: 13px;
        margin-top: 10px;
    }
    
    /* Méthodes de paiement */
    .payment-methods {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .payment-methods p {
        font-size: 13px;
    }
    
    .payment-icons {
        gap: 8px;
    }
    
    .payment-icon {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    /* Infos livraison */
    .shipping-info-block {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .info-item {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .info-item svg {
        width: 18px;
        height: 18px;
    }
    
    /* Produits recommandés mobile */
    .recommended-products {
        padding: 30px 0;
    }
    
    .recommended-products h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .recommended-products .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding: 0 10px;
    }
    
    .recommended-products .product-card {
        max-width: none !important;
    }
    
    .recommended-products .product-image {
        height: 150px !important;
    }
    
    .recommended-products .product-overlay {
        display: none !important;
    }
    
    .recommended-products .product-info {
        padding: 8px !important;
    }
    
    .recommended-products .product-title {
        font-size: 13px !important;
        height: 30px !important;
    }
    
    .recommended-products .price-current {
        font-size: 14px !important;
    }
    
    .recommended-products .price-old {
        font-size: 12px !important;
    }
}

/* Panier vide mobile */
@media (max-width: 767px) {
    .empty-cart {
        padding: 40px 20px;
        text-align: center;
    }
    
    .empty-cart-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .empty-cart h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .empty-cart p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .empty-cart .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Très petits écrans */
@media (max-width: 380px) {
    .cart-item-image a {
        width: 100px;
        height: 100px;
    }
    
    .no-image-small {
        width: 100px;
        height: 100px;
    }
    
    .cart-table td.cart-item-price,
    .cart-table td.cart-item-quantity,
    .cart-table td.cart-item-total {
        font-size: 12px !important;
    }
    
    .qty-btn {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    
    .qty-input {
        width: 32px;
        height: 26px;
        font-size: 12px;
    }
}

/* ============================================
   SECTION 7: COMPTE CLIENT
   ============================================ */

@media (max-width: 767px) {
    /* Dashboard */
    .account-content {
        padding: 15px;
        border-radius: 8px;
    }
    
    .account-content h1 {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
    
    /* Sidebar compte - Vertical sur mobile */
    .account-sidebar {
        margin-bottom: 20px;
        padding: 15px !important;
        border-radius: 8px !important;
    }
    
    .account-sidebar .user-info {
        display: flex;
        align-items: center;
        gap: 15px;
        padding-bottom: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .account-sidebar .avatar-circle {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
    }
    
    .account-sidebar .user-info h6 {
        font-size: 16px !important;
        margin-bottom: 2px !important;
    }
    
    .account-sidebar .user-info small {
        font-size: 12px !important;
    }
    
    /* Navigation compte - Vertical avec scrollbar */
    .account-nav {
        display: flex;
        flex-direction: column;
        gap: 5px;
        max-height: 300px;
        overflow-y: auto;
        padding-right: 5px;
    }
    
    .account-nav::-webkit-scrollbar {
        width: 4px;
    }
    
    .account-nav::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    
    .account-nav::-webkit-scrollbar-thumb {
        background: #c9a961;
        border-radius: 4px;
    }
    
    .account-nav .nav-link {
        padding: 10px 12px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
        background: transparent !important;
        border: 1px solid #e0e0e0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 0 !important;
    }
    
    .account-nav .nav-link:hover {
        background: #f8f8f8 !important;
        border-color: var(--accent-color) !important;
        padding-left: 15px !important;
    }
    
    .account-nav .nav-link.active {
        background: var(--accent-color) !important;
        color: white !important;
        border-color: var(--accent-color) !important;
    }
    
    .account-nav .nav-link.active i {
        color: white !important;
    }
    
    .account-nav .nav-link i {
        font-size: 16px !important;
        width: 20px !important;
    }
    
    .account-nav .nav-link.text-danger {
        margin-top: 10px !important;
        border-top: 1px solid #e0e0e0 !important;
        padding-top: 15px !important;
    }
    
    /* Tables converties en cards sur mobile */
    .table-responsive {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .account-content .table {
        border: none !important;
        background: transparent !important;
    }
    
    .account-content .table thead {
        display: none !important;
    }
    
    .account-content .table tbody {
        display: block !important;
    }
    
    /* Ligne de commande en card */
    .account-content .table tbody tr.order-row,
    .account-content .table tbody tr.booking-history-row,
    .account-content .table tbody tr.order-item-row {
        display: block !important;
        background: white !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 10px !important;
        margin-bottom: 15px !important;
        padding: 0 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
        position: relative !important;
    }
    
    .account-content .table tbody tr.order-row:hover,
    .account-content .table tbody tr.booking-history-row:hover,
    .account-content .table tbody tr.order-item-row:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
        transform: translateY(-2px);
    }
    
    /* Cellules en mode bloc */  
    .account-content .table tbody td {
        display: block !important;
        border: none !important;
        padding: 10px 15px !important;
        text-align: left !important;
        width: 100% !important;
        position: relative !important;
        min-height: 40px !important;
    }
    
    /* TD du milieu (2 à 5) avec labels */
    .account-content .table tbody td:nth-child(2),
    .account-content .table tbody td:nth-child(3),
    .account-content .table tbody td:nth-child(4),
    .account-content .table tbody td:nth-child(5) {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 10px !important;
    }
    
    /* Première cellule de chaque ligne - En-tête de card */
    .account-content .table tbody td:first-child {
        background: #f8f8f8 !important;
        border-bottom: 1px solid #e0e0e0 !important;
        border-radius: 10px 10px 0 0 !important;
        padding: 12px 15px !important;
        font-size: 15px !important;
        display: block !important;
        text-align: center !important;
    }
    
    /* Masquer les pseudo-elements qui causent des problèmes */
    .account-content .table tbody td::before {
        display: none !important;
    }
    
    /* Styles pour les spans labels mobiles */
    .account-content .table .mobile-label {
        display: inline-block !important;
        font-weight: 600 !important;
        font-size: 12px !important;
        color: #666 !important;
        min-width: 75px !important;
        text-align: left !important;
    }
    
    /* Masquer les labels sur desktop */
    @media (min-width: 768px) {
        .mobile-label {
            display: none !important;
        }
    }
    
    /* Valeurs mobiles */
    .account-content .table .mobile-value {
        font-size: 14px !important;
        color: #333 !important;
        display: inline-block !important;
    }
    
    /* Premier TD (numéro de commande) - Style spécial */
    .account-content .table tbody td:first-child strong {
        display: inline-block !important;
        font-size: 16px !important;
        color: #333 !important;
    }
    
    .account-content .table tbody td:first-child strong::before {
        content: "Commande " !important;
        font-weight: normal !important;
        font-size: 12px !important;
        color: #999 !important;
        display: inline !important;
    }
    
    /* Pour les articles de commande - Style différent pour le produit */
    .account-content .table tbody tr.order-item-row td:first-child {
        font-weight: 600 !important;
        color: #333 !important;
        padding: 15px !important;
        background: #f8f8f8 !important;
        text-align: center !important;
        border-bottom: 1px solid #e0e0e0 !important;
        border-radius: 10px 10px 0 0 !important;
        display: block !important;
    }
    
    .account-content .table tbody tr.order-item-row td:first-child a {
        color: #333 !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        font-size: 15px !important;
    }
    
    .account-content .table tbody tr.order-item-row td:first-child a:hover {
        color: var(--accent-color) !important;
        text-decoration: underline !important;
    }
    
    /* Cellules des articles de commande avec labels */
    .account-content .table tbody tr.order-item-row td:nth-child(2),
    .account-content .table tbody tr.order-item-row td:nth-child(3) {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 15px !important;
    }
    
    /* Dernière cellule du total */
    .account-content .table tbody tr.order-item-row td:nth-child(4) {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 15px !important;
        background: #fff8e6 !important;
        font-weight: 600 !important;
        color: var(--accent-color) !important;
        border-radius: 0 0 10px 10px !important;
    }
    
    .account-content .table tbody tr.order-item-row td:nth-child(4) .mobile-value {
        font-weight: 600 !important;
        color: var(--accent-color) !important;
        font-size: 15px !important;
    }
    
    /* Badges statut et paiement */
    .account-content .table .badge {
        font-size: 11px !important;
        padding: 4px 8px !important;
        display: inline-block !important;
        margin-left: 0 !important;
        position: relative !important;
        z-index: 1 !important;
        width: fit-content !important;
    }
    
    /* Dernière cellule - Footer de card */
    .account-content .table tbody td:last-child {
        background: #f8f8f8 !important;
        border-top: 1px solid #e0e0e0 !important;
        border-radius: 0 0 10px 10px !important;
        padding: 12px 15px !important;
        text-align: center !important;
        display: block !important;
    }
    
    /* Masquer le label de la dernière cellule pour les boutons d'action */
    .account-content .table tbody tr.order-row td:last-child::before,
    .account-content .table tbody tr.booking-history-row td:last-child::before {
        display: none !important;
    }
    
    /* Pour les articles de commande - garder le label Total */
    .account-content .table tr.order-item-row td:last-child {
        text-align: left !important;
        background: white !important;
        border-top: none !important;
        font-weight: 600 !important;
        color: var(--accent-color) !important;
    }
    
    .btn-view-order,
    .btn-view-booking {
        width: 100% !important;
        padding: 10px !important;
        font-size: 14px !important;
        background: #333 !important;
        color: white !important;
        border: none !important;
        border-radius: 6px !important;
        margin-bottom: 5px !important;
    }
    
    .btn-view-order:hover,
    .btn-view-booking:hover {
        background: var(--accent-color) !important;
        color: white !important;
    }
    
    .btn-rebook {
        width: 100% !important;
        padding: 10px !important;
        font-size: 14px !important;
        background: white !important;
        color: #198754 !important;
        border: 1px solid #198754 !important;
        border-radius: 6px !important;
    }
    
    .btn-rebook:hover {
        background: #198754 !important;
        color: white !important;
    }
    
    .btn-view-order span,
    .btn-view-booking span,
    .btn-rebook span {
        margin-left: 5px;
    }
    
    /* Masquer le texte des boutons sur très petit écran */
    @media (max-width: 380px) {
        .btn-view-order span,
        .btn-view-booking span,
        .btn-rebook span {
            display: none;
        }
    }
    
    /* Cards commandes et réservations existantes */
    .order-card,
    .booking-card {
        margin-bottom: 15px;
        border-radius: 10px !important;
        overflow: hidden;
    }
    
    .order-header,
    .booking-header {
        padding: 10px 15px;
        font-size: 12px;
        background: #f8f8f8;
    }
    
    .order-body,
    .booking-body {
        padding: 15px;
    }
    
    /* Pagination mobile */
    .account-content .pagination {
        justify-content: center !important;
        margin-top: 20px !important;
    }
    
    .account-content .page-link {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
    
    /* Boutons d'action mobile */
    .account-content .d-flex.justify-content-between.align-items-center .btn-primary {
        font-size: 13px !important;
        padding: 8px 12px !important;
    }
    
    @media (max-width: 380px) {
        .account-content .d-flex.justify-content-between.align-items-center {
            flex-direction: column !important;
            align-items: stretch !important;
            gap: 10px !important;
        }
        
        .account-content .d-flex.justify-content-between.align-items-center .btn {
            width: 100% !important;
        }
    }
    
    /* Cards de réservations futures sur mobile */
    .booking-card.upcoming {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .booking-card .booking-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 15px !important;
        background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%) !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }
    
    .booking-card .booking-body {
        flex: 1 !important;
        padding: 15px !important;
    }
    
    .booking-card .booking-body h6 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
        color: #333 !important;
    }
    
    .booking-card .booking-body p {
        font-size: 13px !important;
        margin-bottom: 8px !important;
        color: #666 !important;
    }
    
    .booking-card .booking-body i {
        width: 20px !important;
        color: var(--accent-color) !important;
    }
    
    .booking-card .booking-footer {
        padding: 12px 15px !important;
        background: #f8f8f8 !important;
        border-top: 1px solid #e0e0e0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    .booking-card .booking-footer .btn {
        flex: 1 !important;
        min-width: 80px !important;
        font-size: 13px !important;
        padding: 8px 10px !important;
    }
    
    .booking-card .booking-footer .text-muted.small {
        width: 100% !important;
        text-align: center !important;
        margin-top: 5px !important;
        font-size: 11px !important;
    }
    
    /* Footer de table (totaux) sur mobile */
    .order-items .table tfoot {
        display: block !important;
        background: #f8f8f8 !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 10px !important;
        padding: 15px !important;
        margin-top: 20px !important;
    }
    
    .order-items .table tfoot tr {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 0 !important;
        border: none !important;
    }
    
    .order-items .table tfoot tr.table-primary {
        background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%) !important;
        font-size: 18px !important;
        font-weight: bold !important;
        border-top: 2px solid var(--accent-color) !important;
        margin-top: 10px !important;
        padding: 12px 10px !important;
        border-radius: 8px !important;
    }
    
    .order-items .table tfoot td,
    .order-items .table tfoot th {
        display: block !important;
        padding: 0 !important;
        border: none !important;
        text-align: left !important;
        width: auto !important;
    }
    
    .order-items .table tfoot th[colspan] {
        text-align: left !important;
        font-weight: 600 !important;
        color: #666 !important;
        font-size: 14px !important;
    }
    
    .order-items .table tfoot td.text-danger {
        color: #dc3545 !important;
        font-weight: 600 !important;
    }
    
    .order-items .table tfoot tr.table-primary th {
        color: var(--accent-color) !important;
        font-size: 16px !important;
    }
    
    .order-items .table tfoot tr.table-primary th:last-child {
        color: var(--accent-color) !important;
        font-size: 18px !important;
    }
    
    .order-items .table tfoot td::before,
    .order-items .table tfoot th::before {
        display: none !important;
    }
    
    /* Adresses sur mobile */
    .order-info .row,
    .account-content > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .order-info .col-md-6,
    .account-content > .row > .col-md-6 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 20px !important;
    }
    
    /* Section des informations de commande */
    .order-info {
        background: #f8f8f8 !important;
        padding: 15px !important;
        border-radius: 10px !important;
        margin-bottom: 20px !important;
    }
    
    .order-info h5 {
        font-size: 16px !important;
        color: var(--accent-color) !important;
        margin-bottom: 10px !important;
        font-weight: 600 !important;
    }
    
    .order-info p {
        font-size: 14px !important;
        margin-bottom: 8px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .order-info p strong {
        color: #666 !important;
        font-weight: 600 !important;
        font-size: 13px !important;
        min-width: 100px !important;
    }
    
    /* Boîtes d'adresses */
    .account-content .border.rounded {
        background: #f8f8f8 !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 10px !important;
        padding: 15px !important;
    }
    
    .account-content .border.rounded p {
        font-size: 14px !important;
        margin-bottom: 5px !important;
        color: #333 !important;
    }
    
    /* Bouton retour sur mobile */
    .account-content .d-flex.justify-content-between.align-items-center .btn-outline-secondary {
        font-size: 13px !important;
        padding: 8px 15px !important;
    }
    
    @media (max-width: 380px) {
        .account-content h1.h3 {
            font-size: 18px !important;
        }
    }
    
    /* Fix spécifique pour les tables de détails de commande */
    .order-items .table tbody tr.order-item-row td:nth-child(2),
    .order-items .table tbody tr.order-item-row td:nth-child(3),
    .order-items .table tbody tr.order-item-row td:nth-child(4) {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 15px !important;
    }
    
    /* Labels spécifiques pour order-items */
    .order-items .table .mobile-label {
        font-weight: 600 !important;
        font-size: 12px !important;
        color: #666 !important;
        min-width: 80px !important;
        text-align: left !important;
        display: inline-block !important;
    }
    
    .order-items .table .mobile-value {
        font-size: 14px !important;
        color: #333 !important;
        text-align: right !important;
        flex: 1 !important;
    }
    
    /* Total avec style spécial */
    .order-items .table tbody tr.order-item-row td:last-child .mobile-value {
        font-weight: 600 !important;
        color: var(--accent-color) !important;
        font-size: 15px !important;
    }
}

/* ============================================
   SECTION 8: ADMIN PANEL MOBILE
   ============================================ */

@media (max-width: 767px) {
    /* Hamburger button */
    .admin-hamburger {
        position: fixed !important;
        top: 10px !important;
        left: 10px !important;
        z-index: 1001 !important;
        background: #2c3e50 !important;
        color: white !important;
        border: none !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 20px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    }
    
    .admin-hamburger i {
        font-size: 24px !important;
    }
    
    /* Overlay */
    .admin-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0,0,0,0.5) !important;
        z-index: 999 !important;
        display: none !important;
    }
    
    .admin-overlay.active {
        display: block !important;
    }
    
    /* Admin Sidebar Mobile */
    .admin-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 280px !important;
        max-width: 85% !important;
        z-index: 1000 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        overflow-y: auto !important;
        padding: 60px 0 20px 0 !important;
    }
    
    .admin-sidebar.show {
        transform: translateX(0) !important;
    }
    
    .admin-sidebar h4 {
        font-size: 18px !important;
        padding: 0 20px !important;
        margin-bottom: 20px !important;
    }
    
    .admin-sidebar .nav-link {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
    
    .admin-sidebar .nav-link i {
        width: 25px !important;
        font-size: 16px !important;
    }
    
    /* Admin Content Mobile - Ultra compact */
    .admin-content {
        margin-left: 0 !important;
        padding: 55px 8px 15px 8px !important;
        background: #f7fafc !important;
        min-height: 100vh !important;
    }
    
    /* Dashboard principale */
    .admin-content > div:first-child {
        padding: 0 !important;
    }
    
    /* Dashboard Cards Mobile - Grid optimisé */
    .admin-content .row {
        margin: 0 -4px !important;
    }
    
    .admin-content .col-xl-3,
    .admin-content .col-md-6,
    .admin-content .col-12 {
        padding: 0 4px !important;
        margin-bottom: 8px !important;
    }
    
    /* Cards principales du dashboard - Ultra compact */
    .admin-content .card {
        margin-bottom: 8px !important;
        border-radius: 6px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
        border: 1px solid #f0f0f0 !important;
    }
    
    .admin-content .card-body {
        padding: 10px 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    .admin-content .card-body .row {
        width: 100% !important;
        align-items: center !important;
    }
    
    .admin-content .card-title {
        font-size: 11px !important;
        margin-bottom: 2px !important;
        text-transform: uppercase !important;
        color: #888 !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
    }
    
    .admin-content .card h3,
    .admin-content h3 {
        font-size: 20px !important;
        font-weight: 700 !important;
        margin: 0 !important;
        color: #2c3e50 !important;
        line-height: 1.2 !important;
    }
    
    /* Icônes dans les cards */
    .admin-content .card .col-auto {
        padding-right: 0 !important;
        padding-left: 10px !important;
    }
    
    .admin-content .card .fa,
    .admin-content .card .fas,
    .admin-content .card .bi {
        font-size: 24px !important;
        opacity: 0.7 !important;
    }
    
    /* Cards avec bordure colorée */
    .admin-content .card.border-left-primary {
        border-left: 4px solid #007bff !important;
    }
    
    .admin-content .card.border-left-success {
        border-left: 4px solid #28a745 !important;
    }
    
    .admin-content .card.border-left-info {
        border-left: 4px solid #17a2b8 !important;
    }
    
    .admin-content .card.border-left-warning {
        border-left: 4px solid #ffc107 !important;
    }
    
    /* Dashboard Stats Icons */
    .admin-content .fa-2x {
        font-size: 1.5rem !important;
    }
    
    /* Admin Tables Mobile */
    .admin-content .table-responsive {
        margin: 0 -15px !important;
        padding: 0 !important;
        border: none !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .admin-content .table {
        font-size: 12px !important;
        min-width: 600px !important;
    }
    
    .admin-content .table th,
    .admin-content .table td {
        padding: 8px 6px !important;
        white-space: nowrap !important;
        font-size: 11px !important;
    }
    
    .admin-content .table .btn-sm {
        padding: 3px 6px !important;
        font-size: 10px !important;
        margin: 1px !important;
    }
    
    /* Section "Dernières commandes" */
    .admin-content .card-header {
        padding: 12px 15px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
    }
    
    /* Bouton "Toutes les commandes" */
    .admin-content .card-footer {
        padding: 10px 15px !important;
    }
    
    .admin-content .card-footer .btn-sm {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
    
    /* Titre du dashboard et sous-titre */
    .admin-content h1 {
        font-size: 22px !important;
        margin-bottom: 5px !important;
        color: #2c3e50 !important;
    }
    
    .admin-content p.text-muted {
        font-size: 12px !important;
        margin-bottom: 15px !important;
    }
    
    /* Boutons d'action principaux */
    .admin-content .btn-primary {
        padding: 10px 20px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        border-radius: 6px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .admin-content .btn-dark {
        padding: 8px 16px !important;
        font-size: 12px !important;
        background: #2c3e50 !important;
        border-color: #2c3e50 !important;
    }
    
    /* Boutons dans les cards */

    
    /* Section "Dernières commandes" avec icône */
    .admin-content .card h5 {
        font-size: 14px !important;
        margin-bottom: 10px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        color: #495057 !important;
    }
    
    .admin-content .card h5 i {
        font-size: 16px !important;
    }
    
    /* Graph/Chart containers */
    .admin-content canvas {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Fix pour les badges */
    .admin-content .badge {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }
    
    /* Pagination admin mobile - SOLUTION RADICALE */
    @media (max-width: 767px) {
        body .admin-content nav[aria-label="Page navigation"] ul.pagination,
        body .admin-content ul.pagination.justify-content-center,
        body .admin-content .pagination {
            display: inline-block !important;
            padding: 0 !important;
            margin: 0 !important;
            width: auto !important;
            text-align: center !important;
        }
        
        body .admin-content .pagination .page-item {
            display: inline-block !important;
            margin: 0 2px !important;
            float: none !important;
        }
        
        body .admin-content .pagination .page-link {
            display: inline-block !important;
        }
    }
    
    .admin-content .pagination .page-link {
        display: inline-block !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        border-radius: 6px !important;
        margin: 0 !important;
        min-width: 36px !important;
        height: 36px !important;
        line-height: 20px !important;
        text-align: center !important;
        border: 1px solid #dee2e6 !important;
        background: white !important;
        color: #495057 !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        vertical-align: middle !important;
    }
    
    .admin-content .pagination .page-link:hover {
        background-color: #f8f9fa !important;
        border-color: #007bff !important;
        color: #007bff !important;
    }
    
    .admin-content .pagination .page-item.active .page-link {
        background-color: #007bff !important;
        border-color: #007bff !important;
        color: white !important;
        font-weight: 600 !important;
    }
    
    .admin-content .pagination .page-item.disabled .page-link {
        opacity: 0.5 !important;
        cursor: not-allowed !important;
        pointer-events: none !important;
    }
    
    /* Masquer certains numéros sur petits écrans */
    @media (max-width: 480px) {
        /* Garde précédent, suivant, et quelques pages autour de l'active */
        .admin-content .pagination .page-item:not(.active):not(:first-child):not(:last-child):nth-child(n+6) {
            display: none !important;
        }
    }
    
    /* Très petits écrans - pagination compacte */
    @media (max-width: 380px) {
        .admin-content .pagination .page-link {
            padding: 6px 8px !important;
            font-size: 12px !important;
            min-width: 32px !important;
            height: 32px !important;
        }
    }
    
    /* Table container pour orders */
    .admin-content .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Container de pagination - FORCÉ AU CENTRE */
    body .admin-content nav[aria-label="Page navigation"],
    body .admin-content .card-body nav[aria-label="Page navigation"],
    body .admin-content nav.mt-4 {
        display: block !important;
        width: 100% !important;
        margin: 25px 0 10px 0 !important;
        padding: 0 10px !important;
        text-align: center !important;
        clear: both !important;
        position: relative !important;
    }
    
    /* Section "Stock bas" - Compact */
    .admin-content .alert {
        padding: 8px 10px !important;
        margin-bottom: 8px !important;
        font-size: 12px !important;
        border-radius: 5px !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    
    .admin-content .alert i {
        font-size: 14px !important;
    }
    
    .admin-content .alert-warning {
        background: #fff3cd !important;
        border: 1px solid #ffc107 !important;
        color: #856404 !important;
    }
    
    /* Table Stock */
    .admin-content .stock-table {
        font-size: 11px !important;
    }
    
    .admin-content .stock-table th,
    .admin-content .stock-table td {
        padding: 6px !important;
    }
    
    /* Section "Accès rapides" - Grille 2x2 mobile */
    .admin-content .quick-access,
    .quick-access-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        margin-top: 8px !important;
        padding: 0 !important;
    }
    
    .admin-content .quick-access .btn,
    .quick-access-grid .btn {
        padding: 10px 5px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        justify-content: center !important;
        background: #2c3e50 !important;
        border: none !important;
        color: white !important;
        border-radius: 6px !important;
        min-height: 60px !important;
    }
    
    .admin-content .quick-access .btn i {
        font-size: 18px !important;
    }
    
    /* Section "Activité récente" */
    .admin-content .activity-section h5 {
        font-size: 14px !important;
        margin-bottom: 10px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .admin-content .activity-section .activity-item {
        padding: 8px !important;
        margin-bottom: 6px !important;
        font-size: 12px !important;
        background: #f8f9fa !important;
        border-radius: 4px !important;
    }
    
    /* Ajustement global des marges */
    .admin-content > div > .row {
        margin-bottom: 10px !important;
    }
    
    .admin-content .mb-4 {
        margin-bottom: 15px !important;
    }
    
    .admin-content .mt-4 {
        margin-top: 15px !important;
    }
    
    /* Fix pour le bouton "Voir le site" */
    .admin-content .d-flex.justify-content-between.align-items-center {
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin-bottom: 15px !important;
    }
    
    .admin-content .d-flex.justify-content-between.align-items-center h1 {
        flex: 1 !important;
        min-width: 200px !important;
    }
}

/* Tablette */
@media (min-width: 768px) and (max-width: 991px) {
    .admin-sidebar {
        width: 200px !important;
    }
    
    .admin-sidebar h4 {
        font-size: 16px !important;
    }
    
    .admin-sidebar .nav-link {
        padding: 10px 15px !important;
        font-size: 13px !important;
    }
    
    .admin-content {
        margin-left: 200px !important;
        padding: 20px !important;
    }
}

/* ============================================
   SECTION 8.1: CALENDRIER ADMIN MOBILE
   ============================================ */

@media (max-width: 767px) {
    /* Container principal du calendrier */
    .calendar-container {
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        background: transparent !important;
    }
    
    /* Admin header mobile - Plus propre */
    @media (max-width: 767px) {
        .admin-header {
            background: white !important;
            padding: 15px !important;
            margin: -8px -8px 20px -8px !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
            border-radius: 0 0 12px 12px !important;
        }
        
        .admin-header h1 {
            font-size: 20px !important;
            color: #1e293b !important;
            margin-bottom: 10px !important;
        }
        
        .admin-header h1 i {
            color: #8b5cf6 !important;
            margin-right: 8px !important;
        }
        
        .admin-actions {
            display: flex !important;
            gap: 8px !important;
            width: 100% !important;
        }
        
        .admin-actions .btn {
            flex: 1 !important;
            font-size: 12px !important;
            padding: 10px 12px !important;
            border-radius: 8px !important;
            font-weight: 600 !important;
        }
        
        .admin-actions .btn-outline-secondary {
            background: #f1f5f9 !important;
            border: 1px solid #cbd5e1 !important;
            color: #475569 !important;
        }
        
        .admin-actions .btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            border: none !important;
            color: white !important;
            box-shadow: 0 2px 8px rgba(102,126,234,0.3) !important;
        }
    }
    
    /* Navigation du calendrier mobile - Design moderne */
    @media (max-width: 767px) {
        .calendar-navigation {
            background: white !important;
            padding: 12px !important;
            border-radius: 12px !important;
            margin: 0 12px 20px !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
        }
        
        .calendar-navigation .d-flex {
            gap: 8px !important;
            align-items: center !important;
        }
        
        .calendar-navigation h3 {
            font-size: 17px !important;
            font-weight: 700 !important;
            color: #1e293b !important;
            text-align: center !important;
            flex: 1 !important;
            margin: 0 !important;
        }
        
        .calendar-navigation .btn {
            padding: 8px 12px !important;
            font-size: 12px !important;
            border-radius: 8px !important;
            background: #f1f5f9 !important;
            border: 1px solid #cbd5e1 !important;
            color: #475569 !important;
            font-weight: 600 !important;
        }
        
        .calendar-navigation .btn:hover {
            background: #e2e8f0 !important;
        }
        
        /* Boutons précédent/suivant - icônes seules */
        .calendar-navigation .btn i {
            margin: 0 !important;
        }
        
        .calendar-navigation .btn:first-child span,
        .calendar-navigation .btn:last-child span {
            display: none !important;
        }
    }
    
    /* Filtres staff mobile - Design moderne */
    @media (max-width: 767px) {
        .calendar-container .btn-group {
            display: flex !important;
            overflow-x: auto !important;
            -webkit-overflow-scrolling: touch !important;
            gap: 6px !important;
            padding: 4px !important;
            margin: 0 12px 20px !important;
            background: #f1f5f9 !important;
            border-radius: 12px !important;
            scrollbar-width: none !important;
        }
        
        .calendar-container .btn-group::-webkit-scrollbar {
            display: none !important;
        }
        
        .calendar-container .btn-group .btn {
            flex: 0 0 auto !important;
            white-space: nowrap !important;
            padding: 10px 16px !important;
            font-size: 13px !important;
            font-weight: 600 !important;
            border-radius: 8px !important;
            border: none !important;
            background: transparent !important;
            color: #64748b !important;
            transition: all 0.2s !important;
        }
        
        .calendar-container .btn-group .btn:hover {
            background: white !important;
            color: #475569 !important;
        }
        
        .calendar-container .btn-group .btn.active {
            background: white !important;
            color: #8b5cf6 !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
        }
    }
    
    /* Indicateur jours de travail mobile - Plus joli */
    @media (max-width: 767px) {
        #working-days-indicator {
            margin: 0 12px 20px !important;
            padding: 12px 16px !important;
            font-size: 13px !important;
            background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
            border: 1px solid #93c5fd !important;
            border-radius: 10px !important;
            color: #1e3a8a !important;
            font-weight: 500 !important;
        }
        
        #working-days-indicator i {
            color: #3b82f6 !important;
            margin-right: 8px !important;
        }
    }
    
    /* Vue calendrier par défaut - CACHÉE sur mobile */
    .calendar {
        display: none !important;
    }
    
    /* Vue liste mobile - AFFICHÉE par défaut */
    .calendar-mobile-view {
        display: block !important;
        padding: 0 12px 20px !important;
        background: transparent !important;
        min-height: calc(100vh - 300px) !important;
    }
    
    /* Sélecteur de vue mobile - Design moderne */
    .calendar-view-selector {
        display: flex !important;
        gap: 4px !important;
        padding: 4px !important;
        background: #f1f5f9 !important;
        border-radius: 12px !important;
        margin: 0 12px 20px !important;
        box-shadow: inset 0 1px 3px rgba(0,0,0,0.06) !important;
    }
    
    .calendar-view-selector .btn {
        flex: 1 !important;
        padding: 10px 8px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        border: none !important;
        background: transparent !important;
        color: #64748b !important;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
    }
    
    .calendar-view-selector .btn:hover {
        background: rgba(255,255,255,0.5) !important;
        color: #475569 !important;
    }
    
    .calendar-view-selector .btn.active {
        background: white !important;
        color: #8b5cf6 !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06) !important;
        font-weight: 700 !important;
    }
    
    .calendar-view-selector .btn i {
        font-size: 14px !important;
    }
    
    /* Carte de jour mobile */
    .calendar-day-card {
        background: white !important;
        border: 1px solid #e8eaed !important;
        border-radius: 12px !important;
        margin-bottom: 15px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
        transition: all 0.2s ease !important;
    }
    
    .calendar-day-card:active {
        transform: scale(0.98) !important;
        box-shadow: 0 1px 4px rgba(0,0,0,0.12) !important;
    }
    
    .calendar-day-card.is-today {
        border-color: #c9a961 !important;
        box-shadow: 0 0 0 2px rgba(201,169,97,0.15) !important;
    }
    
    /* Header de carte jour - Design moderne */
    .calendar-day-card-header {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
        padding: 14px 16px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-bottom: 1px solid #e8eaed !important;
    }
    
    .calendar-day-card-header.has-exception {
        background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%) !important;
    }
    
    .calendar-day-card-date {
        font-weight: 700 !important;
        font-size: 24px !important;
        color: #2c3e50 !important;
        line-height: 1 !important;
    }
    
    .calendar-day-card-weekday {
        font-size: 14px !important;
        color: #718096 !important;
        margin-left: 10px !important;
        font-weight: 500 !important;
        text-transform: capitalize !important;
    }
    
    .calendar-day-card-badges {
        display: flex !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
    }
    
    .calendar-day-card-badges .badge {
        font-size: 11px !important;
        padding: 4px 8px !important;
        border-radius: 20px !important;
        font-weight: 600 !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    }
    
    .calendar-day-card-badges .badge.bg-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: white !important;
    }
    
    /* Corps de carte jour */
    .calendar-day-card-body {
        padding: 0 !important;
        background: white !important;
    }
    
    .calendar-day-card-body.empty {
        padding: 30px !important;
        text-align: center !important;
        color: #a0aec0 !important;
        font-size: 14px !important;
        font-style: italic !important;
        background: #fafbfc !important;
    }
    
    /* Booking dans la carte */
    .calendar-booking-item {
        padding: 14px 16px !important;
        border-bottom: 1px solid #f0f2f5 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        cursor: pointer !important;
        transition: all 0.2s !important;
        background: white !important;
    }
    
    .calendar-booking-item:hover {
        background: #f8fafb !important;
    }
    
    .calendar-booking-item:last-child {
        border-bottom: none !important;
    }
    
    .calendar-booking-item:active {
        background: #e8f4fd !important;
        transform: scale(0.99) !important;
    }
    
    .calendar-booking-item-time {
        font-weight: 600 !important;
        font-size: 14px !important;
        color: #2d3748 !important;
        min-width: 85px !important;
        font-family: 'SF Mono', 'Monaco', monospace !important;
    }
    
    .calendar-booking-item-info {
        flex: 1 !important;
        margin: 0 10px !important;
        font-size: 13px !important;
    }
    
    .calendar-booking-item-customer {
        font-weight: 500 !important;
        color: #333 !important;
        margin-bottom: 2px !important;
    }
    
    .calendar-booking-item-service {
        font-size: 11px !important;
        color: #666 !important;
    }
    
    .calendar-booking-item-status {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
        box-shadow: 0 0 0 2px rgba(255,255,255,0.8), 0 2px 4px rgba(0,0,0,0.2) !important;
    }
    
    .calendar-booking-item-status.pending { 
        background: linear-gradient(135deg, #ffd93d 0%, #ffb347 100%) !important; 
    }
    .calendar-booking-item-status.confirmed { 
        background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%) !important; 
    }
    .calendar-booking-item-status.completed { 
        background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%) !important; 
    }
    .calendar-booking-item-status.cancelled { 
        background: linear-gradient(135deg, #ff5f6d 0%, #ffc371 100%) !important; 
    }
    
    /* Indisponibilités - Style distinct */
    .calendar-booking-item-unavailable {
        background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%) !important;
        border-left: 3px solid #6b7280 !important;
        position: relative !important;
    }
    
    .calendar-booking-item-unavailable:hover {
        background: linear-gradient(135deg, #eeeeee 0%, #e0e0e0 100%) !important;
    }
    
    .calendar-booking-item-unavailable .calendar-booking-item-time {
        color: #6b7280 !important;
        font-weight: 500 !important;
    }
    
    .calendar-booking-item-unavailable .calendar-booking-item-time i {
        margin-right: 4px !important;
        font-size: 12px !important;
    }
    
    .calendar-booking-item-unavailable-label {
        font-weight: 600 !important;
        color: #4b5563 !important;
        font-size: 12px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 2px !important;
    }
    
    .calendar-booking-item-unavailable-reason {
        font-size: 12px !important;
        color: #6b7280 !important;
        font-style: italic !important;
    }
    
    .calendar-booking-item-status.unavailable {
        background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%) !important;
    }
    
    /* Overlay hachuré pour les indisponibilités */
    .calendar-booking-item-unavailable::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background-image: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(107, 114, 128, 0.05) 10px,
            rgba(107, 114, 128, 0.05) 20px
        ) !important;
        pointer-events: none !important;
    }
    
    /* Note dans la carte */
    .calendar-day-card-note {
        background: linear-gradient(135deg, #fff9c4 0%, #ffeb3b 100%) !important;
        padding: 12px 16px !important;
        border-top: 2px solid #ffd54f !important;
        font-size: 13px !important;
        color: #5d4e37 !important;
        font-weight: 500 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .calendar-day-card-note i {
        font-size: 16px !important;
        color: #f9a825 !important;
    }
    
    .calendar-day-card-note i {
        margin-right: 5px !important;
    }
    
    /* Vue grille mensuelle - Design moderne OPTIMISÉ */
    .calendar-month-grid {
        display: none !important;
        background: white !important;
        border-radius: 8px !important;
        margin: 0 !important; /* SUPPRIMÉ les marges latérales */
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .calendar-month-grid.active {
        display: grid !important;
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important; /* minmax pour forcer la largeur égale */
        gap: 1px !important; /* Réduit de 3px à 1px */
        background: #e2e8f0 !important; /* Background pour voir les gaps */
        padding: 2px !important; /* Réduit de 8px à 2px */
        border-radius: 8px !important;
        overflow: hidden !important;
    }
    
    /* Headers des jours de la semaine - COMPACT */
    .calendar-month-day-header {
        font-size: 10px !important; /* Réduit de 12px */
        font-weight: 600 !important;
        color: #64748b !important;
        text-align: center !important;
        padding: 6px 0 !important; /* Réduit de 10px */
        text-transform: uppercase !important;
        letter-spacing: 0 !important; /* Supprimé pour gagner de l'espace */
        background: white !important;
        border-radius: 0 !important; /* Supprimé pour économiser l'espace */
        min-width: 0 !important;
        overflow: hidden !important;
    }
    
    .calendar-month-day {
        aspect-ratio: unset !important; /* IMPORTANT: Ne plus forcer le carré */
        width: 100% !important;
        height: calc((100vw - 16px) / 7) !important; /* Calcul dynamique basé sur la largeur */
        min-height: 38px !important; /* Réduit de 48px */
        max-height: 52px !important; /* Limiter la hauteur max */
        background: white !important;
        border: none !important; /* Supprimé pour économiser l'espace */
        border-radius: 0 !important; /* Supprimé pour économiser l'espace */
        padding: 2px !important; /* Réduit de 4px */
        font-size: 11px !important;
        text-align: center !important;
        position: relative !important;
        cursor: pointer !important;
        transition: all 0.2s !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .calendar-month-day:hover:not(.empty) {
        transform: scale(1.05) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
        z-index: 10 !important;
    }
    
    .calendar-month-day:active:not(.empty) {
        transform: scale(0.98) !important;
    }
    
    .calendar-month-day.empty {
        background: transparent !important;
        cursor: default !important;
        pointer-events: none !important;
    }
    
    /* Jour normal - COMPACT */
    .calendar-month-day-number {
        font-weight: 600 !important;
        font-size: 13px !important; /* Réduit de 15px */
        color: #475569 !important;
        line-height: 1 !important;
        margin: 0 !important;
    }
    
    /* Compteur de réservations - COMPACT */
    .calendar-month-day-count {
        position: absolute !important;
        bottom: 1px !important;
        right: 1px !important;
        font-size: 8px !important; /* Réduit de 10px */
        color: white !important;
        background: #10b981 !important;
        min-width: 14px !important; /* Réduit de 18px */
        height: 14px !important; /* Réduit de 18px */
        padding: 0 2px !important;
        border-radius: 7px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 1px 2px rgba(0,0,0,0.15) !important;
    }
    
    /* Jour actuel (aujourd'hui) - OPTIMISÉ */
    .calendar-month-day.today {
        background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%) !important;
        box-shadow: inset 0 0 0 2px #8b5cf6 !important; /* Utiliser inset pour ne pas déborder */
        position: relative !important;
        z-index: 2 !important;
    }
    
    .calendar-month-day.today .calendar-month-day-number {
        color: #6d28d9 !important;
        font-weight: 800 !important;
    }
    
    /* Jour avec réservations */
    .calendar-month-day.has-bookings {
        background: #f0fdf4 !important;
        border: 1px solid #86efac !important;
    }
    
    .calendar-month-day.has-bookings .calendar-month-day-number {
        color: #166534 !important;
    }
    
    /* Weekends */
    .calendar-month-day.weekend {
        background: #fef3c7 !important;
        border: 1px solid #fde68a !important;
    }
    
    .calendar-month-day.weekend .calendar-month-day-number {
        color: #92400e !important;
    }
    
    .calendar-month-day.weekend.has-bookings {
        background: linear-gradient(135deg, #fef3c7 0%, #f0fdf4 100%) !important;
        border: 1px solid #a3e635 !important;
    }
    
    /* Jour avec exception */
    .calendar-month-day.has-exception {
        background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%) !important;
        border: 1px solid #f87171 !important;
    }
    
    .calendar-month-day.has-exception .calendar-month-day-number {
        color: #991b1b !important;
        text-decoration: line-through !important;
        opacity: 0.7 !important;
    }
    
    .calendar-month-day.has-exception .calendar-month-day-count {
        display: none !important;
    }
    
    /* Optimisations supplémentaires pour très petits écrans */
    @media (max-width: 380px) {
        .calendar-month-grid.active {
            gap: 0 !important; /* Supprimer complètement le gap */
            padding: 0 !important;
            background: white !important;
        }
        
        .calendar-month-day-header {
            font-size: 9px !important; /* Encore plus petit */
            padding: 4px 0 !important;
            border-right: 0.5px solid #f1f5f9 !important;
        }
        
        .calendar-month-day-header:last-child {
            border-right: none !important;
        }
        
        .calendar-month-day {
            height: calc((100vw - 7px) / 7) !important; /* Ajusté pour zéro gap */
            min-height: 32px !important;
            max-height: 45px !important;
            border-right: 0.5px solid #f1f5f9 !important;
            border-bottom: 0.5px solid #f1f5f9 !important;
        }
        
        /* Supprimer les bordures pour la dernière colonne */
        .calendar-month-day:nth-child(7n) {
            border-right: none !important;
        }
        
        /* Supprimer les bordures pour la dernière rangée */
        .calendar-month-day:nth-last-child(-n+7) {
            border-bottom: none !important;
        }
        
        .calendar-month-day-number {
            font-size: 11px !important;
        }
        
        .calendar-month-day-count {
            font-size: 7px !important;
            min-width: 12px !important;
            height: 12px !important;
            padding: 0 1px !important;
        }
    }
    
    /* Pour iPhone SE et similaires (320px) */
    @media (max-width: 320px) {
        .calendar-month-day {
            height: calc((100vw - 6px) / 7) !important;
            min-height: 28px !important;
            max-height: 40px !important;
        }
        
        .calendar-month-day-number {
            font-size: 10px !important;
        }
    }
    
    /* Légende - Plus compacte */
    .calendar-legend {
        padding: 10px !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
        margin: 15px 10px !important;
    }
    
    .calendar-legend h5 {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }
    
    .calendar-legend .d-flex {
        flex-wrap: wrap !important;
        gap: 8px !important;
        font-size: 11px !important;
    }
    
    .calendar-legend .badge {
        font-size: 8px !important;
        padding: 2px !important;
    }
    
    /* Menu contextuel mobile - Bottom sheet moderne */
    .mobile-action-sheet {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        border-radius: 20px 20px 0 0 !important;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15) !important;
        z-index: 1050 !important;
        transform: translateY(100%) !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        max-height: 75vh !important;
        overflow-y: auto !important;
    }
    
    .mobile-action-sheet.show {
        transform: translateY(0) !important;
    }
    
    .mobile-action-sheet-header {
        padding: 8px 16px 16px !important;
        border-bottom: 1px solid #e8eaed !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
    }
    
    .mobile-action-sheet-header::before {
        content: '' !important;
        position: absolute !important;
        top: 6px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 40px !important;
        height: 4px !important;
        background: #cbd5e0 !important;
        border-radius: 2px !important;
    }
    
    .mobile-action-sheet-title {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #2d3748 !important;
        margin-top: 8px !important;
    }
    
    .mobile-action-sheet-close {
        background: #f7fafc !important;
        border: none !important;
        font-size: 22px !important;
        color: #718096 !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 8px !important;
        transition: all 0.2s !important;
    }
    
    .mobile-action-sheet-close:active {
        background: #e2e8f0 !important;
        transform: scale(0.95) !important;
    }
    
    .mobile-action-sheet-body {
        padding: 10px !important;
    }
    
    .mobile-action-item {
        display: flex !important;
        align-items: center !important;
        padding: 16px 20px !important;
        margin: 4px 12px !important;
        border-radius: 12px !important;
        cursor: pointer !important;
        transition: all 0.2s !important;
        background: white !important;
    }
    
    .mobile-action-item:hover {
        background: #f8fafb !important;
    }
    
    .mobile-action-item:active {
        background: #e8f4fd !important;
        transform: scale(0.98) !important;
    }
    
    .mobile-action-item i {
        font-size: 22px !important;
        margin-right: 16px !important;
        width: 28px !important;
        text-align: center !important;
        color: #c9a961 !important;
    }
    
    .mobile-action-item-text {
        font-size: 15px !important;
        color: #2d3748 !important;
        font-weight: 500 !important;
    }
    
    .mobile-action-item.danger i {
        color: #f56565 !important;
    }
    
    .mobile-action-item.danger .mobile-action-item-text {
        color: #e53e3e !important;
    }
    
    .mobile-action-item.danger {
        color: #dc3545 !important;
    }
    
    /* Overlay pour action sheet */
    .mobile-action-sheet-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0,0,0,0.6) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        z-index: 1049 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease !important;
    }
    
    .mobile-action-sheet-overlay.show {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Bouton flottant d'ajout rapide - Design moderne */
    .calendar-fab {
        position: fixed !important;
        bottom: 24px !important;
        right: 24px !important;
        width: 60px !important;
        height: 60px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 6px 20px rgba(102,126,234,0.4) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 28px !important;
        z-index: 1000 !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    .calendar-fab:hover {
        transform: scale(1.05) !important;
        box-shadow: 0 8px 25px rgba(102,126,234,0.5) !important;
    }
    
    .calendar-fab:active {
        transform: scale(0.95) !important;
    }
    
    .calendar-fab i {
        font-weight: 300 !important;
    }
    
    /* Swipe indicators */
    .swipe-hint {
        position: fixed !important;
        bottom: 80px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        background: rgba(0,0,0,0.8) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        color: white !important;
        padding: 8px 16px !important;
        border-radius: 25px !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        pointer-events: none !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
        z-index: 1100 !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    }
    
    .swipe-hint.show {
        opacity: 1 !important;
        animation: pulse 0.5s ease-in-out !important;
    }
    
    @keyframes pulse {
        0%, 100% { transform: translateX(-50%) scale(1); }
        50% { transform: translateX(-50%) scale(1.05); }
    }
    
    /* Modals responsives */
    .modal-dialog {
        margin: 10px !important;
        max-width: calc(100% - 20px) !important;
    }
    
    .modal-content {
        border-radius: 10px !important;
    }
    
    .modal-header {
        padding: 15px !important;
    }
    
    .modal-title {
        font-size: 18px !important;
    }
    
    .modal-body {
        padding: 15px !important;
    }
    
    .modal-footer {
        padding: 15px !important;
        gap: 8px !important;
    }
    
    .modal-footer .btn {
        flex: 1 !important;
    }
    
    /* Forms dans modals */
    .modal-body .form-label {
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }
    
    .modal-body .form-control,
    .modal-body .form-select {
        font-size: 14px !important;
        padding: 10px !important;
    }
    
    .modal-body .row {
        margin: 0 -5px !important;
    }
    
    .modal-body .col-md-6 {
        padding: 0 5px !important;
    }
    
    /* Menu contextuel standard - Caché sur mobile */
    #contextMenu {
        display: none !important;
    }
}

/* Tablette - Calendrier admin */
@media (min-width: 768px) and (max-width: 991px) {
    .calendar-navigation h3 {
        font-size: 18px !important;
    }
    
    .calendar-day {
        min-height: 100px !important;
    }
    
    .calendar-day-number {
        font-size: 14px !important;
    }
    
    .calendar-booking {
        font-size: 11px !important;
        padding: 3px 5px !important;
    }
    
    .calendar-legend {
        font-size: 13px !important;
    }
}

/* Animations pour mobile */
@media (max-width: 767px) {
/* Animation de swipe */
.calendar-mobile-view {
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease !important;
}

.calendar-mobile-view.swiping-left {
transform: translateX(-30px) !important;
opacity: 0.7 !important;
}

.calendar-mobile-view.swiping-right {
transform: translateX(30px) !important;
opacity: 0.7 !important;
}
    
    /* Animation de changement de jour */
    @keyframes slideInFromRight {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    @keyframes slideInFromLeft {
        from {
            transform: translateX(-100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    .calendar-day-card.slide-in-right {
        animation: slideInFromRight 0.3s ease !important;
    }
    
    .calendar-day-card.slide-in-left {
        animation: slideInFromLeft 0.3s ease !important;
    }
}

/* Support pour le toucher */
@media (pointer: coarse) {
    /* Augmenter les zones tactiles */
    .calendar-booking-item {
        min-height: 50px !important;
    }
    
    .mobile-action-item {
        min-height: 50px !important;
    }
    
    .btn {
        min-height: 44px !important;
    }
    
    /* Feedback visuel au toucher */
    .calendar-booking-item:active,
    .mobile-action-item:active,
    .calendar-day-card:active {
        background: #f0f0f0 !important;
    }
}

/* Dark mode support - DÉSACTIVÉ pour éviter les problèmes de couleurs */
/* Pour réactiver le dark mode, décommenter cette section
@media (max-width: 767px) and (prefers-color-scheme: dark) {
    // Styles dark mode ici
}
*/

/* ============================================
   SECTION 9: BOOKING/RÉSERVATION
   ============================================ */

@media (max-width: 767px) {
    /* Container principal booking */
    .booking-page {
        overflow-x: hidden;
    }
    
    .booking-page .container {
        padding: 0 15px !important;
        max-width: 100% !important;
    }
    
    .booking-page .py-5 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    /* Hero mobile optimisé */
    .booking-hero {
        padding: 40px 0 !important;
        margin-bottom: -20px !important;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    }
    
    .booking-hero h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
        padding: 0 15px !important;
    }
    
    .booking-hero p {
        font-size: 14px !important;
        padding: 0 15px !important;
        opacity: 0.9;
    }
    
    /* Steps - Layout HORIZONTAL mobile comme desktop */
    .booking-steps {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 15px 10px !important;
        margin: 20px auto !important;
        gap: 0 !important;
        max-width: 100% !important;
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        position: relative !important;
    }
    
    .step {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        flex: 1 !important;
        position: relative !important;
        z-index: 2 !important;
    }
    
    /* Ligne de connexion horizontale entre les étapes */
    .step:not(:last-child)::before {
        content: '' !important;
        position: absolute !important;
        top: 22px !important;
        left: calc(50% + 20px) !important;
        right: calc(-50% + 20px) !important;
        height: 2px !important;
        background-color: #e0e0e0 !important;
        z-index: -1 !important;
    }
    
    /* Ligne dorée pour étapes complétées */
    .step.completed:not(:last-child)::before {
        background-color: #c9a961 !important;
    }
    
    .step-number {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
        margin: 0 0 5px 0 !important;
        flex-shrink: 0 !important;
        background: white !important;
        border: 2px solid #e0e0e0 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: bold !important;
        transition: all 0.3s ease !important;
        z-index: 3 !important;
    }
    
    .step.active .step-number {
        background: #c9a961 !important;
        color: white !important;
        border-color: #c9a961 !important;
        transform: scale(1.1) !important;
        box-shadow: 0 2px 8px rgba(201, 169, 97, 0.4) !important;
    }
    
    .step.completed .step-number {
        background: #c9a961 !important;
        color: transparent !important;
        border-color: #c9a961 !important;
    }
    
    .step.completed .step-number::before {
        content: '✓' !important;
        position: absolute !important;
        color: white !important;
        font-size: 18px !important;
        font-weight: bold !important;
    }
    
    /* Masquer les titres sur mobile pour gagner de la place */
    .step-title {
        display: none !important;
    }
    
    /* Option: afficher les titres en très petit sur les plus grands mobiles */
    @media (min-width: 400px) and (max-width: 767px) {
        .step-title {
            display: block !important;
            font-size: 10px !important;
            font-weight: 500 !important;
            color: #999 !important;
            margin: 0 !important;
            line-height: 1.2 !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            max-width: 60px !important;
        }
        
        .step.active .step-title {
            color: #c9a961 !important;
            font-weight: 600 !important;
        }
        
        .step.completed .step-title {
            color: #666 !important;
        }
    }
    
    /* Titre des étapes de contenu */
    .booking-step-content h3 {
        font-size: 20px !important;
        margin-bottom: 20px !important;
        padding: 0 5px !important;
        color: #333;
    }
    
    /* Cards services */
    .service-card,
    .staff-card {
        padding: 15px;
    }
    
    .service-icon {
        font-size: 2rem;
    }
    
    .staff-photo {
        width: 80px;
        height: 80px;
    }
    
    /* Time slots */
    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .time-slot {
        padding: 10px 8px;
        font-size: 13px;
    }
    
    /* Navigation */
    .booking-navigation {
        padding: 15px 0;
        flex-direction: column-reverse;
        gap: 10px;
    }
    
    .booking-navigation .btn {
        width: 100%;
    }
}

/* Très petits écrans - Booking */
@media (max-width: 380px) {
    /* Étapes toujours horizontales même sur très petits écrans */
    .booking-steps {
        padding: 10px 5px !important;
        margin: 15px auto !important;
    }
    
    .step-number {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
        border-width: 2px !important;
    }
    
    .step.active .step-number {
        transform: scale(1.05) !important;
    }
    
    /* Ajuster les lignes de connexion */
    .step:not(:last-child)::before {
        left: calc(50% + 16px) !important;
        right: calc(-50% + 16px) !important;
        top: 15px !important;
        height: 1px !important;
    }
    
    /* Forcer la suppression des titres */
    .step-title {
        display: none !important;
    }
    
    /* Ajuster le hero */
    .booking-hero h1 {
        font-size: 20px !important;
    }
    
    .booking-hero p {
        font-size: 13px !important;
    }
}

/* ============================================
   SECTION 9: FORMULAIRES
   ============================================ */

@media (max-width: 767px) {
    /* Inputs */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px; /* Évite le zoom iOS */
        padding: 12px;
        width: 100%;
    }
    
    /* Labels */
    label {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    /* Boutons */
    .btn,
    button[type="submit"] {
        min-height: var(--mobile-button-height);
        padding: 12px 20px;
        font-size: 14px;

    }
    
    /* Groupes */
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-inline {
        flex-direction: column;
    }
    
    .form-inline .form-control {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* ============================================
   SECTION 10: MODALS & NOTIFICATIONS
   ============================================ */

@media (max-width: 767px) {
    /* Modals */
    .modal-content {
        width: calc(100% - 20px);
        max-width: none;
        margin: 10px;
        padding: 20px;
        max-height: calc(100vh - 20px);
    }
    
    .quick-view-product {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quick-view-image img {
        max-height: 250px;
    }
    
    .quick-view-actions {
        flex-direction: column;
    }
    
    .quick-view-actions .btn {
        width: 100%;
    }
    
    /* Notifications */
    .notification {
        right: 10px;
        left: 10px;
        top: 15vh;
        min-width: auto;
        max-width: none;
        font-size: 14px;
        padding: 12px 35px 12px 15px;
    }
    
    .notification-close {
        right: 10px;
        font-size: 20px;
    }
    
    /* Cookie consent */
    .cookie-consent-banner {
        padding: 15px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-consent-actions {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-cookie {
        width: 100%;
        padding: 10px;
    }
    
    /* Cookie modal */
    .cookie-modal-content {
        width: calc(100% - 20px);
        margin: 10px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-switch {
        align-self: flex-start;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================
   SECTION 11: CAROUSEL TESTIMONIALS
   ============================================ */

@media (max-width: 768px) {
    /* Wrapper principal */
    .testimonials-carousel-wrapper {
        overflow-x: scroll !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Track */
    .testimonials-carousel-track {
        display: flex !important;
        gap: 0 !important;
        padding: 0 !important;
        transition: none !important;
    }
    
    /* Cards */
    .testimonials-carousel-container .testimonial-card {
        flex: 0 0 calc(100vw - 30px) !important;
        min-width: calc(100vw - 30px) !important;
        max-width: calc(100vw - 30px) !important;
        margin: 0 15px !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        box-sizing: border-box !important;
        padding: 25px 20px !important;
        height: auto !important;
    }
    
    .testimonials-carousel-container .testimonial-card:first-child {
        margin-left: 15px !important;
    }
    
    .testimonials-carousel-container .testimonial-card:last-child {
        margin-right: 15px !important;
    }
    
    /* Masquer scrollbar */
    .testimonials-carousel-wrapper::-webkit-scrollbar {
        display: none !important;
    }
    
    .testimonials-carousel-wrapper {
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    
    /* Dots navigation */
    .testimonials-dots {
        display: flex !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 20px 0 10px !important;
        margin-top: 20px !important;
    }
    
    .testimonials-dot {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background: #ddd !important;
        border: none !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    .testimonials-dot.active {
        background: #c9a961 !important;
        width: 24px !important;
        border-radius: 4px !important;
    }
    
    /* Bouton avis */
    .testimonials-section .btn-all-reviews {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

/* ============================================
   SECTION 12: FOOTER
   ============================================ */

@media (max-width: 767px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
    
    .footer::before {
        height: 2px;
        animation: gradientShift 4s ease-in-out infinite;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        margin-bottom: 30px;
    }
    
    /* Masquer la section Mon compte en mobile */
    .footer-section:last-child {
        display: none !important;
    }
    
    /* Masquer certains liens dans Informations */
    .footer-section:nth-child(2) ul li:nth-child(1),  /* À propos */
    .footer-section:nth-child(2) ul li:nth-child(2),  /* Contact */
    .footer-section:nth-child(2) ul li:nth-child(3) { /* CGV */
        display: none !important;
    }
    
    /* Réorganiser le footer pour mobile - Plus compact */
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    
    /* Section principale DC Beauty - Plus visible */
    .footer-section:first-child {
        order: 1;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Section Informations (avec liens restants) */
    .footer-section:nth-child(2) {
        order: 2;
    }
    
    /* Titre de section Informations optionnel en mobile */
    .footer-section:nth-child(2) h3 {
        font-size: 0.95rem;
        margin-bottom: 12px;
        opacity: 0.9;
    }
    
    /* Liste des liens restants - Plus compacte */
    .footer-section:nth-child(2) ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0;
    }
    
    .footer-section:nth-child(2) ul li {
        margin-bottom: 0;
    }
    
    /* Liens politiques avec icônes pour mieux les identifier */
    .footer-section:nth-child(2) ul li a::before {
        content: '•';
        margin-right: 8px;
        color: var(--accent-color);
        font-weight: bold;
    }
    
    .footer-section {
        animation: fadeInUp 0.6s ease-out;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
    }
    
    .footer-section:hover h3::after {
        width: 50px;
    }
    
    .footer-section ul {
        padding: 0 20px;
    }
    
    .footer-section ul li {
        margin-bottom: 10px;
    }
    
    .footer-section ul li:hover {
        transform: none;
    }
    
    .footer-section a {
        font-size: 0.9rem;
    }
    
    .footer-contact p {
        margin-bottom: 8px;
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .footer-bottom {
        padding-top: 20px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        margin: 5px 0;
    }
    
    /* Powered by mobile */
    .powered-by {
        font-size: 0.85rem;
        justify-content: center;
    }
    
    .developer-link {
        font-size: 0.9rem;
        padding: 4px 10px;
    }
    
    .code-symbol {
        font-size: 0.9rem;
        margin-left: 3px;
    }
    
    /* Developer Modal Mobile */
    .developer-modal .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .developer-modal .modal-content {
        border-radius: 12px;
    }
    
    .developer-modal .modal-header {
        padding: 15px;
    }
    
    .developer-modal .modal-title {
        font-size: 1.2rem;
    }
    
    .developer-info {
        padding: 15px;
    }
    
    .developer-photo-wrapper {
        width: 120px;
        height: 120px;
        margin: 0 auto 15px;
    }
    
    .developer-photo {
        border-width: 3px;
    }
    
    .developer-badge {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        bottom: 5px;
        right: 5px;
    }
    
    .developer-name {
        font-size: 1.5rem;
    }
    
    .developer-title {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .developer-contact {
        padding: 15px;
        margin: 15px 0;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 5px;
        margin: 12px 0;
    }
    
    .contact-item i {
        font-size: 1rem;
    }
    
    .contact-item a {
        font-size: 0.9rem;
    }
    
    .developer-skills {
        gap: 8px;
        margin: 20px 0;
        padding: 0 10px;
    }
    
    .skill-badge {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .developer-footer {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .developer-motto {
        font-size: 0.9rem;
        padding: 0 10px;
    }
}

/* Très petits écrans - Footer compact */
@media (max-width: 380px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-section a {
        font-size: 0.85rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .powered-by {
        font-size: 0.8rem;
    }
    
    .developer-link {
        font-size: 0.85rem;
    }
    
    /* Modal encore plus compacte */
    .developer-photo-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .developer-name {
        font-size: 1.3rem;
    }
    
    .developer-title {
        font-size: 0.9rem;
    }
    
    .contact-item a {
        font-size: 0.85rem;
    }
    
    .skill-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}

/* ============================================
   SECTION 13: PAGINATION
   ============================================ */

@media (max-width: 767px) {
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 30px;
    }
    
    .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
        padding: 0 10px;
    }
    
    /* Masquer certains numéros */
    .page-link:not(.active):not(:first-child):not(:last-child):nth-child(n+5) {
        display: none;
    }
}

/* ============================================
   SECTION 14: OPTIMISATIONS TACTILES
   ============================================ */

/* Touch feedback */
.touch-active {
    opacity: 0.7 !important;
    transform: scale(0.98) !important;
    transition: all 0.1s ease !important;
}

/* Optimisations scroll */
.is-scrolling * {
    pointer-events: none !important;
}

.is-scrolling {
    -webkit-overflow-scrolling: touch;
}

/* Mode mobile optimisé */
.mobile-optimized .product-card,
.mobile-optimized .category-card {
    transition: box-shadow 0.2s ease;
}

/* Bouton flottant panier */
@media (max-width: 767px) {
    .floating-cart-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        background: var(--accent-color);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        z-index: 100;
        transition: transform 0.3s ease;
    }
    
    .floating-cart-btn:active {
        transform: scale(0.9);
    }
    
    .floating-cart-btn .badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #dc3545;
        color: white;
        border-radius: 10px;
        padding: 2px 6px;
        font-size: 11px;
        min-width: 20px;
        text-align: center;
    }
}

/* ============================================
   SECTION 15: ANIMATIONS MOBILES
   ============================================ */

@media (max-width: 767px) {
    /* Désactiver animations lourdes */
    .product-card:hover,
    .category-card:hover {
        transform: none;
    }
    
    /* Animations légères */
    .btn {
        transition: background-color 0.2s ease;
    }
    
    a {
        transition: color 0.2s ease;
    }
}

/* Animations réduites pour performance */
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   SECTION 16: FIX SPÉCIFIQUES PLATEFORMES
   ============================================ */

/* iOS Safari fixes */
@supports (-webkit-touch-callout: none) {
    /* Fix zoom sur focus input */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }
    
    /* Fix bounce scroll */
    .mobile-menu-panel,
    .modal-content,
    .shop-sidebar,
    .account-nav {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Fix boutons iOS */
    button,
    .btn,
    input[type="submit"],
    input[type="button"] {
        -webkit-appearance: none;
    }
    
    /* Fix transform */
    .product-card {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Android fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    input,
    select,
    textarea {
        -webkit-appearance: none;
        border-radius: 0;
    }
}

/* Gestion du notch (iPhone X+) */
@supports (padding: max(0px)) {
    .header {
        padding-top: max(0px, env(safe-area-inset-top));
    }
    
    .footer {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
    
    .mobile-menu-panel {
        padding-top: max(20px, env(safe-area-inset-top));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
    
    @media (max-width: 768px) {
        .testimonials-carousel-container .testimonial-card {
            flex: 0 0 calc(100vw - max(30px, env(safe-area-inset-left) + env(safe-area-inset-right) + 30px)) !important;
            min-width: calc(100vw - max(30px, env(safe-area-inset-left) + env(safe-area-inset-right) + 30px)) !important;
            max-width: calc(100vw - max(30px, env(safe-area-inset-left) + env(safe-area-inset-right) + 30px)) !important;
        }
    }
}

/* ============================================
   SECTION 17: ORIENTATION PAYSAGE
   ============================================ */

@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        height: 300px;
    }
    
    .header {
        height: 50px;
    }
    
    body {
        padding-top: 50px;
    }
    
    .navbar {
        height: 50px;
        padding: 5px 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 812px) and (orientation: landscape) {
    .testimonials-carousel-container .testimonial-card {
        flex: 0 0 calc(50vw - 20px) !important;
        min-width: calc(50vw - 20px) !important;
        max-width: calc(50vw - 20px) !important;
        scroll-snap-align: start !important;
    }
}

/* ============================================
   SECTION 18: PERFORMANCE & OPTIMISATIONS
   ============================================ */

@media (max-width: 767px) {
    /* Optimisation ombres */
    .card,
    .product-card,
    .category-card {
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .product-card:hover,
    .category-card:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }
    
    /* Images responsives */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Skeleton loading */
    .product-image:not(.loaded) {
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
    }
    
    @keyframes loading {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }
}

/* ============================================
   SECTION 19: TABLES RESPONSIVES
   ============================================ */

@media (max-width: 767px) {
    .mobile-card-row {
        display: block !important;
        background: white;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        margin-bottom: 15px;
        padding: 15px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    
    .mobile-card-row td {
        display: block !important;
        border: none !important;
        padding: 8px 0 !important;
        text-align: left !important;
        position: relative;
        padding-left: 35% !important;
    }
    
    .mobile-card-row td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 30%;
        font-weight: 600;
        color: #495057;
        font-size: 13px;
    }
}

/* ============================================
   SECTION 20: UTILITAIRES MOBILES
   ============================================ */

@media (max-width: 767px) {
    /* Alignements */
    .text-center-mobile { text-align: center !important; }
    .text-left-mobile { text-align: left !important; }
    .text-right-mobile { text-align: right !important; }
    
    /* Affichage */
    .d-none-mobile { display: none !important; }
    .d-block-mobile { display: block !important; }
    .d-flex-mobile { display: flex !important; }
}

/* ============================================
   FIN DU FICHIER MOBILE CONSOLIDÉ
   ============================================ */
