.swal2-title {
    font-size: 1.8rem !important;  /* plus gros titre */
}

.swal2-html-container {
    font-size: 1.2rem !important;  /* plus gros texte */
}

.swal2-confirm {
    font-size: 1rem !important;     /* bouton plus lisible */
}



.me-3 {
    margin-right: 1rem !important; /* Pour LTR (Left-to-Right) */
    margin-left: 0 !important;
}

/* Header */
.header-bottom .inner-wrap {
    display: flex;
    justify-content: center; /* centre le contenu */
}

.header-bottom .main-nav {
    text-align: center;
}

.header-bottom .menu {
    display: flex;
    justify-content: center; /* centre les <li> */
    gap: 20px; /* espace entre les items */
}


/* Couleurs Bootstrap */
.text-success {
    color: #28a745 !important;   /* vert */
}

.text-info {
    color: #17a2b8 !important;   /* bleu clair / cyan */
}

.text-warning {
    color: #ffc107 !important;   /* jaune / orange */
}

.text-primary {
    color: #0d6efd !important;   /* bleu standard Bootstrap */
}

/* Section "À propos" */
.about .title {
    font-size: 32px;      /* comme .why-choose-us .title */
    font-weight: 700;
    margin-bottom: 20px;
}

.about p.lead,
.about p {
    font-size: 18px;      /* texte lisible */
    line-height: 1.7;
    color: #555;
}

.about .feature-card h5 {
    font-size: 18px;      /* titres des piliers */
    font-weight: 600;
    margin-bottom: 10px;
}

.about .feature-card p {
    font-size: 16px;      /* texte des piliers */
    line-height: 1.7;
    color: #444;
}

.about .btn {
    font-size: 18px;      /* bouton CTA */
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 30px;
}

/* Section "How it works" */
.how-it-works .icon-box-content p {
    font-size: 16px;      /* au lieu de 14px */
    line-height: 1.6;     /* espace entre lignes pour aérer */
    color: #555;          /* gris doux */
}

.how-it-works .icon-box-title {
    font-size: 18px;
    font-weight: 600;
}

.how-it-works .title-center {
    font-size: 28px;    /* plus grand */
    font-weight: 700;   /* gras */
    margin-bottom: 10px;
}

.how-it-works p.text-gray-500 {
    font-size: 18px;    /* au lieu de 14px */
    line-height: 1.6;
    color: #666;        /* un gris lisible */
}

/* Section "Pourquoi nous choisir" */
.why-choose-us .title {
    font-size: 32px;   /* grand titre */
    font-weight: 700;
}

.why-choose-us .text-gray-500 {
    font-size: 18px;   /* slogan */
    line-height: 1.6;
    color: #555;
}

.why-choose-us p {
    font-size: 16px;   /* texte normal */
    line-height: 1.7;
    color: #444;
}

.why-choose-us .list li {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.why-choose-us .list i {
    font-size: 18px;
    margin-right: 8px;
    color: #1a73e8; /* bleu pro */
}

.list-handicap {
    font-size: 14px;   /* taille des textes */
    line-height: 1.8;  /* espace entre lignes */
    max-width: 700px;
    padding-left: 1.5rem;
    margin: 0 auto;
    text-align: center;
    list-style-type: disc;
}


/* Section ordinateurs */
.product-wrapper .product-name a {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.product-wrapper .product-cat a {
    font-size: 14px;
    color: #666;
}

.product-wrapper .rating-reviews {
    font-size: 14px;
    color: #28a745; /* vert pour stock */
    font-weight: 500;
}

.product-wrapper .product-price {
    font-size: 18px;
    font-weight: 700;
    color: #1a73e8; /* bleu pro */
}

.title.justify-content-center {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

/* Footer général */
footer {
    font-size: 16px;       /* texte courant */
    line-height: 1.7;
}

footer .widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

footer .widget-body li a {
    font-size: 16px;
    text-decoration: none;
}

footer .widget-body li a:hover {
    color: #1a73e8;  /* couleur bleue pour hover */
}

footer p {
    font-size: 16px;
}

.footer-bottom p,
.footer-bottom span {
    font-size: 15px;
}

/* Newsletter / CTA dans le footer */
.cta-newsletter h2 {
    font-size: 28px !important;
}

.cta-newsletter p {
    font-size: 18px !important;
}

.cta-newsletter .btn {
    font-size: 16px !important;
}

/* Titres de section */
.title.title-center {
    font-size: 2.5rem; /* augmenter la taille des titres */
}

/* Paragraphes sous les titres */
.text-gray-500 {
    font-size: 1.2rem; /* texte plus grand */
}

/* Noms des membres */
.member-name {
    font-size: 1.5rem; /* plus lisible */
    font-weight: 600;
}

/* Poste des membres */
.member-info p.text-uppercase.text-primary {
    font-size: 1.1rem; /* plus grand */
    letter-spacing: 1px;
}

/* Titres principaux */

.introduce .title {
    font-size: 28px;    /* plus grand */
    font-weight: 700;   /* gras */
    margin-bottom: 10px;
}

/* Paragraphes principaux */
.text-gray-500, p.lead {
    font-size: 1.4rem;
    line-height: 1.7;
    color: #555;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

/* Introduce section */
.introduce figure img {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.5s ease;
}
.introduce figure:hover img {
    transform: scale(1.03);
}

/* Page Inclusion & Handicap */
.handicap-page h1.page-title {
    font-size: 2.5rem;   /* grand titre principal */
    font-weight: 700;
}

.handicap-page p.lead {
    font-size: 1.3rem;   /* sous-titre plus lisible */
    line-height: 1.7;
    color: #555;
}

.handicap-page h2.title {
    font-size: 2rem;     /* titres des sections */
    font-weight: 700;
    margin-bottom: 20px;
}

.handicap-page p {
    font-size: 1.1rem;   /* texte standard */
    line-height: 1.7;
    color: #444;
}

/* Icônes + texte des étapes */
.handicap-page .how-it-works .icon-box-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.handicap-page .how-it-works p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Bannière CTA */
.handicap-page .banner-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.handicap-page .banner-info p {
    font-size: 1.1rem;
    line-height: 1.6;
}



/* Réseaux sociaux */
footer .social-icons .social-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
}


/* Fullscreen loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Loader content */
.loader-content {
    text-align: center;
}

/* Logo */
.loader-logo {
    width: 120px;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

/* Loader text */
.loader-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

/* Spinner */
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #FFC74E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

/* Hide loader when page is loaded */
body.loaded #page-loader {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}


/* Mobile */
@media (max-width: 768px) {
    .intro-section .banner-title {
        font-size: 2.5rem;   /* plus petit écran */
    }

    .intro-section p {
        font-size: 1.5rem;
        padding: 0 15px;
    }

    .intro-section .btn {
        font-size: 1.5rem;
        padding: 10px 18px;
        margin: 5px 0;
    }

    .intro-section .scene-illustration img {
        width: 90%;
        height: auto;
    }

        .title.title-center {
        font-size: 2rem;
    }
    .text-gray-500 {
        font-size: 1rem;
    }
    .member-name {
        font-size: 1.3rem;
    }
    .member-info p.text-uppercase.text-primary {
        font-size: 1rem;
    }
}

/* Tablettes */
@media (min-width: 769px) and (max-width: 1024px) {
    .intro-section .banner-title {
        font-size: 2rem;
    }

    .intro-section p {
        font-size: 1.1rem;
    }
}


/* Styles pour les conditions de crédit */
.credit-conditions-wrapper {
    margin-top: 1rem;
}

.conditions-content {
    line-height: 1.6;
}

.conditions-content strong {
    display: block;
    margin-bottom: 0.5rem;
}

.conditions-content ul,
.conditions-content ol {
    line-height: 1.8;
}

.conditions-content ul li,
.conditions-content ol li {
    margin-bottom: 0.25rem;
}

.text-primary {
    color: #336699 !important;
}

.alert-info {
    background: #e7f3ff;
    color: #004085;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
}

.alert-heading {
    font-weight: 600;
    color: #004085;
}

/* Animation d'apparition */
.card-body {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .condition-item {
        padding: 0.5rem;
    }
    
    .financing-summary {
        padding: 1rem !important;
    }
}



.product-hidden-details {
    display: none;
}

.product:hover .product-hidden-details {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}


    #phone {
        font-family: 'Courier New', monospace;
        letter-spacing: 0.1em;
    }

    #phone:invalid {
        border-color: #dc3545 !important;
    }

    #phone:valid {
        border-color: #28a745 !important;
    }

    #phone-error {
        display: none;
        color: #dc3545;
        font-weight: 500;
        margin-top: 0.5rem;
    }

    .input-group-text {
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        font-weight: 600;
        color: #336699;
    }


        /* Dashboard Cards Enhancement */
    .account-dashboard-card {
        position: relative;
        overflow: hidden;
        transition: all 0.4s ease;
        border: 2px solid transparent;
        height: 100%;
    }

    .account-dashboard-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #336699 0%, #4a90e2 100%);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .account-dashboard-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        border-color: #336699;
    }

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

    .account-dashboard-card .icon-box-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 1.5rem;
        background: linear-gradient(135deg, #336699 0%, #4a90e2 100%);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        color: white;
        transition: all 0.4s ease;
    }

    .account-dashboard-card:hover .icon-box-icon {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 10px 25px rgba(51, 102, 153, 0.4);
    }

    .account-dashboard-card.logout-card {
        background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
        color: white;
    }

    .account-dashboard-card.logout-card .icon-box-icon {
        background: rgba(255,255,255,0.2);
    }

    .account-dashboard-card.logout-card:hover {
        border-color: #c0392b;
    }

    .account-dashboard-card .icon-box-content p {
        font-size: 1.1rem;
        font-weight: 600;
        margin: 0;
    }

    .account-dashboard-card.logout-card .icon-box-content p {
        color: white;
    }

    .account-dashboard-card .card-subtitle {
        font-size: 0.9rem;
        color: #999;
        margin-top: 0.5rem;
    }

    .account-dashboard-card.logout-card .card-subtitle {
        color: rgba(255,255,255,0.9);
    }

    /* Badge for notifications */
    .notification-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
        animation: pulse 2s infinite;
    }

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

    /* Section Headers */
    .account-section-header {
        display: flex;
        align-items: center;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 3px solid #f0f0f0;
    }

    .account-section-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #336699 0%, #4a90e2 100%);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.8rem;
        margin-right: 1.5rem;
        box-shadow: 0 8px 20px rgba(51, 102, 153, 0.3);
    }

    .account-section-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: #333;
        margin: 0;
    }

    /* Enhanced Table */
    .account-orders-table {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }

    .account-orders-table thead {
        background: linear-gradient(135deg, #336699 0%, #4a90e2 100%);
    }

    .account-orders-table thead th {
        color: white;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        padding: 1.2rem 1rem;
        border: none;
    }

    .account-orders-table tbody tr {
        transition: all 0.3s ease;
        border-bottom: 1px solid #f0f0f0;
    }

    .account-orders-table tbody tr:hover {
        background: #f8f9fa;
        transform: scale(1.01);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .account-orders-table tbody td {
        padding: 1.2rem 1rem;
        vertical-align: middle;
    }

    /* Status Badges */
    .status-badge-pending {
        background: #fff3cd;
        color: #856404;
        padding: 6px 14px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.85rem;
        display: inline-block;
    }

    .status-badge-paid {
        background: #d4edda;
        color: #155724;
        padding: 6px 14px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.85rem;
        display: inline-block;
    }

    .status-badge-cancelled {
        background: #f8d7da;
        color: #721c24;
        padding: 6px 14px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.85rem;
        display: inline-block;
    }

    /* Enhanced Buttons */
    .btn-view-order {
        background: linear-gradient(135deg, #336699 0%, #4a90e2 100%);
        color: white;
        padding: 8px 20px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        border: none;
    }

    .btn-view-order:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(51, 102, 153, 0.4);
        color: white;
    }

    .btn-edit-order {
        background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
        color: white;
        padding: 8px 20px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        border: none;
        display: inline-block;
    }

    .btn-edit-order:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
        color: white;
    }

    .btn-cancel-order {
        background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
        color: white;
        padding: 8px 20px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
    }

    .btn-cancel-order:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
        color: white;
    }

    .order-action {
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }

    .order-action .btn {
        width: 100%;
        min-width: 120px;
    }

    /* Form Enhancements */
    .account-form-group {
        margin-bottom: 1.5rem;
    }

    .account-form-group label {
        font-weight: 600;
        color: #333;
        margin-bottom: 0.5rem;
        display: block;
    }

    .account-form-control {
        border: 2px solid #e9ecef;
        border-radius: 10px;
        padding: 12px 15px;
        transition: all 0.3s ease;
        font-size: 1rem;
    }

    .account-form-control:focus {
        border-color: #336699;
        box-shadow: 0 0 0 3px rgba(51, 102, 153, 0.1);
        outline: none;
    }

    .password-change-section {
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 3px solid #f0f0f0;
    }

    .password-change-section h4 {
        color: #333;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    /* Save Button */
    .btn-save-account {
        background: linear-gradient(135deg, #336699 0%, #4a90e2 100%);
        color: white;
        padding: 14px 35px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 1rem;
        border: none;
        transition: all 0.3s ease;
    }

    .btn-save-account:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(51, 102, 153, 0.4);
        color: white;
    }

    /* Empty State */
    .empty-orders-state {
        text-align: center;
        padding: 4rem 2rem;
        background: #f8f9fa;
        border-radius: 12px;
        margin: 2rem 0;
    }

    .empty-orders-state i {
        font-size: 4rem;
        color: #ddd;
        margin-bottom: 1.5rem;
    }

    .empty-orders-state h3 {
        color: #666;
        margin-bottom: 0.5rem;
    }

    .empty-orders-state p {
        color: #999;
        margin-bottom: 2rem;
    }

    /* Alert Enhancements */
    .alert-enhanced {
        border-radius: 12px;
        border: none;
        padding: 1.5rem;
        margin-bottom: 2rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .account-dashboard-card {
            margin-bottom: 1rem;
        }

        .account-section-header {
            flex-direction: column;
            text-align: center;
        }

        .account-section-icon {
            margin-right: 0;
            margin-bottom: 1rem;
        }

        .account-orders-table {
            font-size: 0.85rem;
        }

        .account-orders-table thead th,
        .account-orders-table tbody td {
            padding: 0.8rem 0.5rem;
        }
    }

    @media (max-width: 576px) {
        #phone {
            font-size: 1rem;
        }
    }

/* SUR MOBILE : Afficher le bouton TOUJOURS VISIBLE */
@media (max-width: 767px) {
    .product-hidden-details {
        display: block !important;
        position: static !important;
        background: transparent !important;
        padding: 12px 0;
        margin-top: 10px;
        border-top: 1px solid #eee;
    }
    
    .product-hidden-details .btn-wrap {
        width: 100%;
    }
    
    .product-hidden-details .btn {
        width: 100%;
        padding: 2px 4px;
        font-size: 12px;
        height: auto;
    }
    
    .product-hidden-details .btn i {
        margin-right: 4px;
        font-size: 11px;
    }
    
    .product-hidden-details .btn span {
        font-size: 12px;
    }
}

/* Amélioration : espacement du produit sur mobile */
@media (max-width: 767px) {
    .product {
        padding-bottom: 10px;
    }
}


/* ========================================
   BOOTSTRAP TABLE-RESPONSIVE CSS
   Version: Bootstrap 5.x
   ======================================== */

/* Base responsive table class */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Prevent double border on horizontal scroll */
.table-responsive > .table-bordered {
    border: 0;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
    .table-responsive-sm {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-responsive-sm > .table-bordered {
        border: 0;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 767.98px) {
    .table-responsive-md {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-responsive-md > .table-bordered {
        border: 0;
    }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 991.98px) {
    .table-responsive-lg {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-responsive-lg > .table-bordered {
        border: 0;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1199.98px) {
    .table-responsive-xl {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-responsive-xl > .table-bordered {
        border: 0;
    }
}

/* Extra extra large devices (1400px and up) */
@media (max-width: 1399.98px) {
    .table-responsive-xxl {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-responsive-xxl > .table-bordered {
        border: 0;
    }
}


/* ========================================
   ADDITIONAL STYLING FOR BETTER UX
   ======================================== */

/* Ensure table doesn't shrink below content width */
.table-responsive .table {
    min-width: 100%;
    margin-bottom: 0;
}

/* Custom scrollbar styling (optional) */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #555;
}



/* ===== RESPONSIVE MOBILE - SCROLL AMÉLIORÉ ===== */
    @media (max-width: 767px) {
        /* Conteneur du tableau avec indicateur de scroll */
        .table-responsive {
            position: relative;
            overflow-x: auto;
            overflow-y: visible;
            -webkit-overflow-scrolling: touch;
            margin-bottom: 2rem;
        }

        /* Indicateur visuel de scroll à droite */
        .table-responsive::after {
            content: '← Faites défiler →';
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            background: linear-gradient(90deg, transparent 0%, rgba(51, 102, 153, 0.95) 20%, rgba(51, 102, 153, 0.95) 100%);
            color: white;
            padding: 12px 20px;
            font-size: 0.75rem;
            font-weight: 700;
            border-radius: 8px 0 0 8px;
            box-shadow: -4px 0 15px rgba(0,0,0,0.2);
            pointer-events: none;
            z-index: 10;
            animation: slideHint 2s infinite;
            white-space: nowrap;
            transition: opacity 0.3s ease;
        }

        /* Masquer l'indicateur après le scroll */
        .table-responsive.scrolled::after {
            opacity: 0;
        }

        @keyframes slideHint {
            0%, 100% { transform: translateY(-50%) translateX(0); }
            50% { transform: translateY(-50%) translateX(-10px); }
        }

        /* Forcer la largeur du tableau pour activer le scroll */
        .account-orders-table {
            min-width: 750px;
            margin-bottom: 0;
        }

        /* Optimiser les colonnes pour mobile */
        .account-orders-table thead th {
            padding: 1rem 0.6rem;
            font-size: 0.7rem;
        }

        .account-orders-table tbody td {
            padding: 1rem 0.6rem;
            font-size: 0.85rem;
        }

        /* Colonne ID plus compacte */
        .order-id {
            width: 80px;
        }

        /* Colonne date plus compacte */
        .order-date {
            width: 110px;
            font-size: 0.75rem !important;
        }

        /* Colonne statut */
        .order-status {
            width: 140px;
        }

        .order-status .btn {
            font-size: 0.7rem;
            padding: 4px 8px;
        }

        /* Colonne total */
        .order-total {
            width: 100px;
        }

        /* Colonne actions - PRIORITÉ VISIBILITÉ */
        .order-action {
            width: 180px;
            min-width: 180px;
            background: linear-gradient(90deg, transparent 0%, #f8f9fa 30%, #f8f9fa 100%);
            position: sticky;
            right: 0;
            z-index: 5;
        }

        .order-action .btn {
            font-size: 0.75rem;
            padding: 6px 10px;
            min-width: 70px;
            margin-bottom: 5px;
        }

        /* Section header responsive */
        .account-section-header {
            flex-direction: column;
            text-align: center;
        }

        .account-section-icon {
            margin-right: 0;
            margin-bottom: 1rem;
        }

        .account-section-title {
            font-size: 1.5rem;
        }
    }

    /* Très petits écrans */
    @media (max-width: 375px) {
        .account-orders-table {
            min-width: 700px;
        }

        .table-responsive::after {
            font-size: 0.7rem;
            padding: 10px 15px;
        }
    }
.swal2-title {
    font-size: 1.8rem !important;  /* plus gros titre */
}

.swal2-html-container {
    font-size: 1.2rem !important;  /* plus gros texte */
}

.swal2-confirm {
    font-size: 1rem !important;     /* bouton plus lisible */
}



.me-3 {
    margin-right: 1rem !important; /* Pour LTR (Left-to-Right) */
    margin-left: 0 !important;
}

/* Header */
.header-bottom .inner-wrap {
    display: flex;
    justify-content: center; /* centre le contenu */
}

.header-bottom .main-nav {
    text-align: center;
}

.header-bottom .menu {
    display: flex;
    justify-content: center; /* centre les <li> */
    gap: 20px; /* espace entre les items */
}


/* Couleurs Bootstrap */
.text-success {
    color: #28a745 !important;   /* vert */
}

.text-info {
    color: #17a2b8 !important;   /* bleu clair / cyan */
}

.text-warning {
    color: #ffc107 !important;   /* jaune / orange */
}

.text-primary {
    color: #0d6efd !important;   /* bleu standard Bootstrap */
}

/* Section "À propos" */
.about .title {
    font-size: 32px;      /* comme .why-choose-us .title */
    font-weight: 700;
    margin-bottom: 20px;
}

.about p.lead,
.about p {
    font-size: 18px;      /* texte lisible */
    line-height: 1.7;
    color: #555;
}

.about .feature-card h5 {
    font-size: 18px;      /* titres des piliers */
    font-weight: 600;
    margin-bottom: 10px;
}

.about .feature-card p {
    font-size: 16px;      /* texte des piliers */
    line-height: 1.7;
    color: #444;
}

.about .btn {
    font-size: 18px;      /* bouton CTA */
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 30px;
}

/* Section "How it works" */
.how-it-works .icon-box-content p {
    font-size: 16px;      /* au lieu de 14px */
    line-height: 1.6;     /* espace entre lignes pour aérer */
    color: #555;          /* gris doux */
}

.how-it-works .icon-box-title {
    font-size: 18px;
    font-weight: 600;
}

.how-it-works .title-center {
    font-size: 28px;    /* plus grand */
    font-weight: 700;   /* gras */
    margin-bottom: 10px;
}

.how-it-works p.text-gray-500 {
    font-size: 18px;    /* au lieu de 14px */
    line-height: 1.6;
    color: #666;        /* un gris lisible */
}

/* Section "Pourquoi nous choisir" */
.why-choose-us .title {
    font-size: 32px;   /* grand titre */
    font-weight: 700;
}

.why-choose-us .text-gray-500 {
    font-size: 18px;   /* slogan */
    line-height: 1.6;
    color: #555;
}

.why-choose-us p {
    font-size: 16px;   /* texte normal */
    line-height: 1.7;
    color: #444;
}

.why-choose-us .list li {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.why-choose-us .list i {
    font-size: 18px;
    margin-right: 8px;
    color: #1a73e8; /* bleu pro */
}

.list-handicap {
    font-size: 14px;   /* taille des textes */
    line-height: 1.8;  /* espace entre lignes */
    max-width: 700px;
    padding-left: 1.5rem;
    margin: 0 auto;
    text-align: center;
    list-style-type: disc;
}


/* Section ordinateurs */
.product-wrapper .product-name a {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.product-wrapper .product-cat a {
    font-size: 14px;
    color: #666;
}

.product-wrapper .rating-reviews {
    font-size: 14px;
    color: #28a745; /* vert pour stock */
    font-weight: 500;
}

.product-wrapper .product-price {
    font-size: 18px;
    font-weight: 700;
    color: #1a73e8; /* bleu pro */
}

.title.justify-content-center {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

/* Footer général */
footer {
    font-size: 16px;       /* texte courant */
    line-height: 1.7;
}

footer .widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

footer .widget-body li a {
    font-size: 16px;
    text-decoration: none;
}

footer .widget-body li a:hover {
    color: #1a73e8;  /* couleur bleue pour hover */
}

footer p {
    font-size: 16px;
}

.footer-bottom p,
.footer-bottom span {
    font-size: 15px;
}

/* Newsletter / CTA dans le footer */
.cta-newsletter h2 {
    font-size: 28px !important;
}

.cta-newsletter p {
    font-size: 18px !important;
}

.cta-newsletter .btn {
    font-size: 16px !important;
}

/* Titres de section */
.title.title-center {
    font-size: 2.5rem; /* augmenter la taille des titres */
}

/* Paragraphes sous les titres */
.text-gray-500 {
    font-size: 1.2rem; /* texte plus grand */
}

/* Noms des membres */
.member-name {
    font-size: 1.5rem; /* plus lisible */
    font-weight: 600;
}

/* Poste des membres */
.member-info p.text-uppercase.text-primary {
    font-size: 1.1rem; /* plus grand */
    letter-spacing: 1px;
}

/* Titres principaux */

.introduce .title {
    font-size: 28px;    /* plus grand */
    font-weight: 700;   /* gras */
    margin-bottom: 10px;
}

/* Paragraphes principaux */
.text-gray-500, p.lead {
    font-size: 1.4rem;
    line-height: 1.7;
    color: #555;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

/* Introduce section */
.introduce figure img {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.5s ease;
}
.introduce figure:hover img {
    transform: scale(1.03);
}

/* Page Inclusion & Handicap */
.handicap-page h1.page-title {
    font-size: 2.5rem;   /* grand titre principal */
    font-weight: 700;
}

.handicap-page p.lead {
    font-size: 1.3rem;   /* sous-titre plus lisible */
    line-height: 1.7;
    color: #555;
}

.handicap-page h2.title {
    font-size: 2rem;     /* titres des sections */
    font-weight: 700;
    margin-bottom: 20px;
}

.handicap-page p {
    font-size: 1.1rem;   /* texte standard */
    line-height: 1.7;
    color: #444;
}

/* Icônes + texte des étapes */
.handicap-page .how-it-works .icon-box-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.handicap-page .how-it-works p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Bannière CTA */
.handicap-page .banner-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.handicap-page .banner-info p {
    font-size: 1.1rem;
    line-height: 1.6;
}



/* Réseaux sociaux */
footer .social-icons .social-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
}


/* Fullscreen loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Loader content */
.loader-content {
    text-align: center;
}

/* Logo */
.loader-logo {
    width: 120px;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

/* Loader text */
.loader-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

/* Spinner */
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #FFC74E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

/* Hide loader when page is loaded */
body.loaded #page-loader {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}


/* Mobile */
@media (max-width: 768px) {
    .intro-section .banner-title {
        font-size: 2.5rem;   /* plus petit écran */
    }

    .intro-section p {
        font-size: 1.5rem;
        padding: 0 15px;
    }

    .intro-section .btn {
        font-size: 1.5rem;
        padding: 10px 18px;
        margin: 5px 0;
    }

    .intro-section .scene-illustration img {
        width: 90%;
        height: auto;
    }

        .title.title-center {
        font-size: 2rem;
    }
    .text-gray-500 {
        font-size: 1rem;
    }
    .member-name {
        font-size: 1.3rem;
    }
    .member-info p.text-uppercase.text-primary {
        font-size: 1rem;
    }
}

/* Tablettes */
@media (min-width: 769px) and (max-width: 1024px) {
    .intro-section .banner-title {
        font-size: 2rem;
    }

    .intro-section p {
        font-size: 1.1rem;
    }
}


/* Styles pour les conditions de crédit */
.credit-conditions-wrapper {
    margin-top: 1rem;
}

.conditions-content {
    line-height: 1.6;
}

.conditions-content strong {
    display: block;
    margin-bottom: 0.5rem;
}

.conditions-content ul,
.conditions-content ol {
    line-height: 1.8;
}

.conditions-content ul li,
.conditions-content ol li {
    margin-bottom: 0.25rem;
}

.text-primary {
    color: #336699 !important;
}

.alert-info {
    background: #e7f3ff;
    color: #004085;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
}

.alert-heading {
    font-weight: 600;
    color: #004085;
}

/* Animation d'apparition */
.card-body {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .condition-item {
        padding: 0.5rem;
    }
    
    .financing-summary {
        padding: 1rem !important;
    }
}



.product-hidden-details {
    display: none;
}

.product:hover .product-hidden-details {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}


    #phone {
        font-family: 'Courier New', monospace;
        letter-spacing: 0.1em;
    }

    #phone:invalid {
        border-color: #dc3545 !important;
    }

    #phone:valid {
        border-color: #28a745 !important;
    }

    #phone-error {
        display: none;
        color: #dc3545;
        font-weight: 500;
        margin-top: 0.5rem;
    }

    .input-group-text {
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        font-weight: 600;
        color: #336699;
    }


        /* Dashboard Cards Enhancement */
    .account-dashboard-card {
        position: relative;
        overflow: hidden;
        transition: all 0.4s ease;
        border: 2px solid transparent;
        height: 100%;
    }

    .account-dashboard-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #336699 0%, #4a90e2 100%);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .account-dashboard-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        border-color: #336699;
    }

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

    .account-dashboard-card .icon-box-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 1.5rem;
        background: linear-gradient(135deg, #336699 0%, #4a90e2 100%);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        color: white;
        transition: all 0.4s ease;
    }

    .account-dashboard-card:hover .icon-box-icon {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 10px 25px rgba(51, 102, 153, 0.4);
    }

    .account-dashboard-card.logout-card {
        background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
        color: white;
    }

    .account-dashboard-card.logout-card .icon-box-icon {
        background: rgba(255,255,255,0.2);
    }

    .account-dashboard-card.logout-card:hover {
        border-color: #c0392b;
    }

    .account-dashboard-card .icon-box-content p {
        font-size: 1.1rem;
        font-weight: 600;
        margin: 0;
    }

    .account-dashboard-card.logout-card .icon-box-content p {
        color: white;
    }

    .account-dashboard-card .card-subtitle {
        font-size: 0.9rem;
        color: #999;
        margin-top: 0.5rem;
    }

    .account-dashboard-card.logout-card .card-subtitle {
        color: rgba(255,255,255,0.9);
    }

    /* Badge for notifications */
    .notification-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
        animation: pulse 2s infinite;
    }

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

    /* Section Headers */
    .account-section-header {
        display: flex;
        align-items: center;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 3px solid #f0f0f0;
    }

    .account-section-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #336699 0%, #4a90e2 100%);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.8rem;
        margin-right: 1.5rem;
        box-shadow: 0 8px 20px rgba(51, 102, 153, 0.3);
    }

    .account-section-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: #333;
        margin: 0;
    }

    /* Enhanced Table */
    .account-orders-table {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }

    .account-orders-table thead {
        background: linear-gradient(135deg, #336699 0%, #4a90e2 100%);
    }

    .account-orders-table thead th {
        color: white;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        padding: 1.2rem 1rem;
        border: none;
    }

    .account-orders-table tbody tr {
        transition: all 0.3s ease;
        border-bottom: 1px solid #f0f0f0;
    }

    .account-orders-table tbody tr:hover {
        background: #f8f9fa;
        transform: scale(1.01);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .account-orders-table tbody td {
        padding: 1.2rem 1rem;
        vertical-align: middle;
    }

    /* Status Badges */
    .status-badge-pending {
        background: #fff3cd;
        color: #856404;
        padding: 6px 14px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.85rem;
        display: inline-block;
    }

    .status-badge-paid {
        background: #d4edda;
        color: #155724;
        padding: 6px 14px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.85rem;
        display: inline-block;
    }

    .status-badge-cancelled {
        background: #f8d7da;
        color: #721c24;
        padding: 6px 14px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.85rem;
        display: inline-block;
    }

    /* Enhanced Buttons */
    .btn-view-order {
        background: linear-gradient(135deg, #336699 0%, #4a90e2 100%);
        color: white;
        padding: 8px 20px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        border: none;
    }

    .btn-view-order:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(51, 102, 153, 0.4);
        color: white;
    }

    .btn-edit-order {
        background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
        color: white;
        padding: 8px 20px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        border: none;
        display: inline-block;
    }

    .btn-edit-order:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
        color: white;
    }

    .btn-cancel-order {
        background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
        color: white;
        padding: 8px 20px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
    }

    .btn-cancel-order:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
        color: white;
    }

    .order-action {
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }

    .order-action .btn {
        width: 100%;
        min-width: 120px;
    }

    /* Form Enhancements */
    .account-form-group {
        margin-bottom: 1.5rem;
    }

    .account-form-group label {
        font-weight: 600;
        color: #333;
        margin-bottom: 0.5rem;
        display: block;
    }

    .account-form-control {
        border: 2px solid #e9ecef;
        border-radius: 10px;
        padding: 12px 15px;
        transition: all 0.3s ease;
        font-size: 1rem;
    }

    .account-form-control:focus {
        border-color: #336699;
        box-shadow: 0 0 0 3px rgba(51, 102, 153, 0.1);
        outline: none;
    }

    .password-change-section {
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 3px solid #f0f0f0;
    }

    .password-change-section h4 {
        color: #333;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    /* Save Button */
    .btn-save-account {
        background: linear-gradient(135deg, #336699 0%, #4a90e2 100%);
        color: white;
        padding: 14px 35px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 1rem;
        border: none;
        transition: all 0.3s ease;
    }

    .btn-save-account:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(51, 102, 153, 0.4);
        color: white;
    }

    /* Empty State */
    .empty-orders-state {
        text-align: center;
        padding: 4rem 2rem;
        background: #f8f9fa;
        border-radius: 12px;
        margin: 2rem 0;
    }

    .empty-orders-state i {
        font-size: 4rem;
        color: #ddd;
        margin-bottom: 1.5rem;
    }

    .empty-orders-state h3 {
        color: #666;
        margin-bottom: 0.5rem;
    }

    .empty-orders-state p {
        color: #999;
        margin-bottom: 2rem;
    }

    /* Alert Enhancements */
    .alert-enhanced {
        border-radius: 12px;
        border: none;
        padding: 1.5rem;
        margin-bottom: 2rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }
/* ── Bouton Ajouter au panier ───────────────────────── */
.btn-cart-custom {
    background: #1a1a2e !important;
    color: #fff !important;
    border: 2px solid #1a1a2e !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.15s !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 10px 18px !important;
    min-width: 230px !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    text-align: center !important;
}
.btn-cart-custom:hover {
    background: #fff !important;
    color: #1a1a2e !important;
    border-color: #1a1a2e !important;
    transform: translateY(-2px) !important;
}
.btn-cart-custom i {
    font-size: 1.1rem !important;
}

.product-hidden-details .product-action {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ── Bouton Épuisé ──────────────────────────────────── */
.btn-cart-disabled {
    background: #e0e0e0 !important;
    color: #9e9e9e !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 10px 18px !important;
    min-width: 230px !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    text-align: center !important;
}

/* ── Étiquette stock ────────────────────────────────── */
.product-label[style*="2e7d32"] {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    border-radius: 3px !important;
    padding: 3px 7px !important;
}
    /* Responsive */
    @media (max-width: 768px) {
        .account-dashboard-card {
            margin-bottom: 1rem;
        }

        .account-section-header {
            flex-direction: column;
            text-align: center;
        }

        .account-section-icon {
            margin-right: 0;
            margin-bottom: 1rem;
        }

        .account-orders-table {
            font-size: 0.85rem;
        }

        .account-orders-table thead th,
        .account-orders-table tbody td {
            padding: 0.8rem 0.5rem;
        }
    }

    @media (max-width: 576px) {
        #phone {
            font-size: 1rem;
        }
    }

/* SUR MOBILE : Afficher le bouton TOUJOURS VISIBLE */
@media (max-width: 767px) {
    .product-hidden-details {
        display: block !important;
        position: static !important;
        background: transparent !important;
        padding: 12px 0;
        margin-top: 10px;
        border-top: 1px solid #eee;
    }
    
    .product-hidden-details .btn-wrap {
        width: 100%;
    }
    
    .product-hidden-details .btn {
        width: 100%;
        padding: 2px 4px;
        font-size: 12px;
        height: auto;
    }
    
    .product-hidden-details .btn i {
        margin-right: 4px;
        font-size: 11px;
    }
    
    .product-hidden-details .btn span {
        font-size: 12px;
    }
}

/* Amélioration : espacement du produit sur mobile */
@media (max-width: 767px) {
    .product {
        padding-bottom: 10px;
    }
}


/* ========================================
   BOOTSTRAP TABLE-RESPONSIVE CSS
   Version: Bootstrap 5.x
   ======================================== */

/* Base responsive table class */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Prevent double border on horizontal scroll */
.table-responsive > .table-bordered {
    border: 0;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
    .table-responsive-sm {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-responsive-sm > .table-bordered {
        border: 0;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 767.98px) {
    .table-responsive-md {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-responsive-md > .table-bordered {
        border: 0;
    }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 991.98px) {
    .table-responsive-lg {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-responsive-lg > .table-bordered {
        border: 0;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1199.98px) {
    .table-responsive-xl {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-responsive-xl > .table-bordered {
        border: 0;
    }
}

/* Extra extra large devices (1400px and up) */
@media (max-width: 1399.98px) {
    .table-responsive-xxl {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-responsive-xxl > .table-bordered {
        border: 0;
    }
}


/* ========================================
   ADDITIONAL STYLING FOR BETTER UX
   ======================================== */

/* Ensure table doesn't shrink below content width */
.table-responsive .table {
    min-width: 100%;
    margin-bottom: 0;
}

/* Custom scrollbar styling (optional) */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #555;
}



       /* ==========================================
           OPTIMISATION SLIDER MOBILE - IMAGES UNIQUEMENT
           ========================================== */
        
        /* Réduction de la hauteur des images sur mobile */
        @media (max-width: 767px) {
            .intro-section .swiper-slide.banner {
                min-height: 400px !important;
                height: 400px !important;
            }
        }
        
        /* Très petits écrans (< 400px) */
        @media (max-width: 400px) {
            .intro-section .swiper-slide.banner {
                min-height: 350px !important;
                height: 350px !important;
            }
        }
        
        /* Tablettes (768px - 991px) */
        @media (min-width: 768px) and (max-width: 991px) {
            .intro-section .swiper-slide.banner {
                min-height: 500px !important;
                height: 500px !important;
            }
        }

    /* Styles pour la section partenaires */
.partners-section {
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23336699' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

/* Style des cartes partenaires */
.brand-wrapper {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    position: relative;
}

.brand-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.brand-wrapper img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-wrapper:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .brand-wrapper {
        height: 100px;
        padding: 15px;
    }

    .brand-wrapper img {
        max-height: 50px;
    }
}

/* Animation pour le swiper */
.brands-wrapper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
}