﻿:root {
    --primary: #D83B1C;
    --primary-light: #FF5E3D;
    --bg-dark: #212529;
    --text-light: #F8F9FA;
    --secondary: #0070E0;
}

/* RESET DE BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY GÉNÉRAL */
body {
    font-family: 'Inter', system-ui, sans-serif;
   /* background: var(--bg-dark);*/
    color: var(--text-light);
    line-height: 1.6;
}

/* HEADER / NAVBAR */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 1rem;
    background: #dddde8;
    color: var(--text-light);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Marque + logo (version “brand”) */
.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-light);
}

.brand-logo {
    width: 200px; /* Ajustez selon vos besoins */
    height: auto;
    object-fit: cover;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 700;
}

/* NAV LINKS (menu principal) */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

    .nav-links a {
        text-decoration: none;
        color: var(--text-light);
        transition: color 0.3s ease;
    }

        .nav-links a:hover {
            color: var(--primary-light);
        }

/* BOUTON HAMBURGER */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

/* Mini-panier (icône) */
.mini-cart {
    position: relative;
}

.cart-icon {
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    animation: popIn 0.3s ease;
}

/* MENU RESPONSIVE */
@media (max-width: 868px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        gap: 1rem;
        z-index: 2000;
    }

        .nav-links.active {
            right: 0 !important;
            display: flex !important;
            opacity: 1 !important;
            visibility: visible !important;
            transform: none !important;
            transition: right 0.3s ease !important; /* Fait glisser la nav depuis la droite */
        }

    /* Animation du bouton hamburger en croix */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Ajustement du mini-panier sur mobile */
    .mini-cart-content {
        position: fixed;
        top: 60px;
        right: 0;
        width: 100%;
        max-width: none;
        transform: none;
    }
}

/* SOUS-MENUS */
.menu-item {
    position: relative;
    padding: 0.5rem 0;
}

    .menu-item > a {
        color: var(--text-light);
        text-decoration: none;
        font-weight: 500;
        padding: 0.5rem 1rem;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

        .menu-item > a:hover {
            background: rgba(255,255,255,0.1);
        }

        .menu-item > a::after {
            content: '▼';
            margin-left: 0.5rem;
            font-size: 0.7rem;
            transition: transform 0.3s ease;
        }

    /* Quand on “hover” ou qu’on active le parent .menu-item, on affiche le sous-menu */
    .menu-item.active .submenu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .menu-item.active > a::after {
        transform: rotate(180deg);
    }

/* Sous-menu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

    .submenu:before {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid var(--bg-dark);
    }

.menu-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-content {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

    .submenu-content a {
        color: #fff;
        padding: 12px 20px;
        border-radius: 4px;
        font-weight: 500;
    }

        .submenu-content a:hover {
            background: var(--primary);
            color: #fff;
        }

/* Bouton de déconnexion dans le sous-menu */
.logout-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    color: #dc3545;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

    .logout-btn:hover {
        background: #fff5f5;
    }

/* HERO SECTION */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
}

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

.highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* BOUTONS GÉNÉRIQUES */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-light);
}

/* SECTIONS */
.content-section {
    padding: 4rem 2rem;
}

/* EXEMPLE : feature-section */
.feature-section {
    max-width: 800px;
    margin: 0 auto 3rem;
}

    .feature-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

/* CATÉGORIES (grille) */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ajustement sur tablettes */
@media (max-width: 768px) {
    .categories-grid {
        display: table;
        grid-template-columns: repeat(2, 1fr);
    }
}



@keyframes feedback {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.feedback-animation {
    animation: feedback 0.3s ease;
    background-color: rgba(216, 59, 28, 0.1);
    border-radius: 8px;
}

/* Carte catégorie */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 3/4; /* Maintient un ratio d'image constant */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: #cedbe1d9;
   
    transition: transform 0.3s ease;
}

    .category-card:hover {
        transform: translateY(-5px);
    }

    .category-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 37, 41, 0.85); /* Fond foncé semi-transparent */
    color: #fff;
    padding: 15px;
}

    .category-info h2 {
        margin: 0;
        font-size: 1.2rem;
    }

    .category-info p {
        margin: 5px 0 0;
        font-size: 0.9rem;
        opacity: 0.9;
    }

/* PRODUITS (similaire à category-card) */
.product-card {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
    }

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

/* PRIX PRODUIT */
.price {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
}

/* ADMIN (exemple) */
.admin-panel,
.admin-container {
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

    .table th, .table td {
        padding: 0.75rem;
        border-bottom: 1px solid #ddd;
    }

    .table th {
        background: #f8f9fa;
        font-weight: 600;
    }

/* FORMULAIRES */
.form-group {
    margin-bottom: 1rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.text-danger {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* BOUTONS SPÉCIFIQUES */
.btn-danger {
    background: #dc3545;
    color: #fff;
}

.btn-info {
    background: #17a2b8;
    color: #fff;
}

/* MB-3 UTILE */
.mb-3 {
    margin-bottom: 1rem;
}

/* PANIER (page cart) */
.cart-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    color:black;
}

    .cart-table th,
    .cart-table td {
        padding: 1rem;
        border-bottom: 1px solid #ddd;
        text-align: left;
    }

    .cart-table th {
        background-color: #f8f9fa;
        font-weight: 600;
    }

.cart-item-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 1rem;
} 

.quantity-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.fa-shopping-cart{
    color:white;
}
.cart-header {
    color: black;
}

.quantity-input {
    width: 60px;
    padding: 0.25rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.empty-cart {
    text-align: center;
    padding: 3rem;
}

    .empty-cart p {
        margin-bottom: 1rem;
        font-size: 1.2rem;
        color: #666;
    }

/* MINI-PANIER (contenu) */
.mini-cart-content {
    position: absolute;
    right: 0;
    top: 100%;
    width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1rem;
    display: none;
    z-index: 1000;
    transform-origin: top right;
    animation: slideIn 0.3s ease;
}

.mini-cart-items {
    max-height: 300px;
    overflow-y: auto;
}

.mini-cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    animation: fadeIn 0.3s ease;
}

.mini-cart-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.mini-cart-total {
    margin-bottom: 1rem;
}

.item-total
{
    color:black;
}

.mini-cart-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* ANIMATIONS */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Animation ajout au panier */
.product-card.adding {
    animation: addToCart 0.5s ease;
}

@keyframes addToCart {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}
/* Styles pour le fil d'Ariane */
.breadcrumb-container {
    background-color: transparent;
    padding: 10px 0;
    margin-bottom: 20px; 
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

    .breadcrumb-item a {
        color: var(--primary);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .breadcrumb-item a:hover {
            color: var(--primary-light);
            text-decoration: underline;
        }

    .breadcrumb-item + .breadcrumb-item {
        padding-left: 0.5rem;
    }

        .breadcrumb-item + .breadcrumb-item::before {
            display: inline-block;
            padding-right: 0.5rem;
            color: #6c757d;
            content: "/";
        }

    .breadcrumb-item.active {
        color: #6c757d;
    }

/*@media (max-width: 768px) {
    .breadcrumb-container {
        padding: 5px 10px;
        margin-top: 60px;
    }

    .breadcrumb-item {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 868px), screen and (max-device-width: 868px), screen and (-webkit-min-device-pixel-ratio: 2) {
    .mobile-menu-toggle {
        display: flex !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
         autres styles... 
    }
}

.is-mobile .mobile-menu-toggle {
    display: flex !important;
}

@media (max-width: 868px) {
     Styles existants... 

    .nav-links a {
        color: #ffffff;  Blanc pour contraster avec le fond sombre 
        padding: 10px 15px;
        display: block;  Rend toute la surface cliquable 
        font-size: 16px;  Taille plus grande pour faciliter le clic 
    }

    .menu-item {
        width: 100%;  Prend toute la largeur 
    }

        .menu-item > a {
            color: #ffffff;  S'assure que les liens principaux sont bien visibles 
        }

    .nav-links.active {
        right: 0 !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: right 0.3s ease !important;
        z-index: 2000;  Ajouté 
    }
}

@media (max-width: 768px) {
    .shop-layout {
        display: flex;
        flex-direction: row;  garder la structure horizontale même sur mobile 
        position: relative;
    }

    .sidebar {
        position: sticky;
        top: 80px;  Ajuste selon la hauteur de ton header 
        left: 0;
        z-index: 50;
        width: 96px;  Largeur réduite sur mobile pour ne pas trop cacher le contenu 
        height: fit-content;
    }

    .filter-box {
        background-color: #ffffff;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .filter-options {
        display: flex;
        flex-direction: column;
    }

    .category-details {
        flex: 1;
        overflow-x: hidden;
        overflow-y: auto;
        padding-left: 10px;  éviter que les filtres recouvrent les produits 
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-image-container {
        height: 200px;  réduire la hauteur des images pour éviter les débordements 
    }
}*/

@media (max-width: 768px) {
    .product-detail-container {
        padding: 1rem;
        max-width: 100%;
    }

    .filter-options
    {
        position:fixed;
    }
 
    .product-detail {
        display: flex;
        flex-direction: column;
    }

    .product-gallery {
        width: 100%;
        order: -1; /* Force l'image en haut */
        margin-bottom: 1rem;
    }

    .product-image {
        width: 100%;
        margin: 0 auto;
        box-shadow: none;
    }

    .main-image {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .product-thumbnails {
        justify-content: center;
        gap: 8px;
    }

    .thumbnail {
        width: 50px;
        height: 50px;
    }

    .product-info {
        padding: 0;
        text-align: center;
    }

        .product-info h1,
        .description,
        .product-meta,
        .product-price-section,
        .size-selection,
        .quantity-control,

        .add-to-cart-form {
            text-align: center;
        }

    .price {
        font-size: 2rem;
        text-align: center;
    }

    .quantity-control {
        justify-content: center;
    }

    .add-to-cart {
        margin: auto;
    }
}
@media (max-width: 768px) {
    .cart-table,
    .cart-table thead,
    .cart-table tbody,
    .cart-table th,
    .cart-table td,
    .cart-table tr {
        display: block;
    }

        .cart-table thead {
            display: none; /* Cache l'en-tête pour une meilleure lisibilité sur mobile */
        }

        .cart-table tr {
            margin-bottom: 15px;
            border: 1px solid #ddd;
            padding: 10px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .cart-table td {
            display: flex;
            justify-content: space-between;
            padding-left: 10px;
            padding-right: 10px;
            align-items: center;
            position: relative;
        }

            .cart-table td::before {
                content: attr(data-label);
                font-weight: bold;
                flex-basis: 50%;
                text-align: left;
                color: #333;
            }

    .product-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

        .product-info img {
            width: 100px;
            height: 100px;
            border-radius: 8px;
        }

    .cart-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        width: 100%;
    }

        .cart-actions .btn {
            width: 100%;
            text-align: center;
        }

    .cart-total-row td {
        text-align: center !important;
    }

    .quantity-form {
        flex-direction: column;
        gap: 5px;
        width: 100%;
        align-items: center;
    }

    .quantity-control {
        width: 100px;
        justify-content: center;
    }

    .update-btn, .remove-btn {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
}
.payment-logo {
    max-width: 200px; /* Ajustez selon vos besoins */
    max-height: 50px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {

    .brand-logo {
        width: 86px;
        height: auto;
        object-fit: cover;
    }

    .payment-logo {
        max-width: 169px;
        max-height: 43px;
        object-fit: contain;
        margin-bottom: 0.5rem;
    }


    .payment-option {
        padding: 0.5rem;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    .payment-option-contacterQuelqun
    {
        visibility:hidden;
    }
}
@media (max-width: 768px) {
    .payment-info-page {
        padding: 1rem;
    }

    .payment-logo {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-subheadline {
        font-size: 1.2rem;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 87, 87, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(255, 87, 87, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 87, 87, 0);
    }
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary)
    }
}


/* AJOUTEZ CES STYLES CSS POUR LA MODAL SIMPLIFIÉE */

/* Styles pour le bouton principal */
#openInBrowserBtn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    #openInBrowserBtn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
    }

    #openInBrowserBtn:hover::before {
        width: 300px;
        height: 300px;
    }

    #openInBrowserBtn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(255, 87, 87, 0.3);
    }

    #openInBrowserBtn:disabled {
        opacity: 0.8;
        cursor: not-allowed;
        transform: none;
    }

/* Styles pour le bouton secondaire */
#continueAnywayBtn {
    transition: all 0.3s ease;
}

    #continueAnywayBtn:hover {
        background-color: #6c757d;
        border-color: #6c757d;
        color: white;
        transform: translateY(-2px);
    }

/* Animation pour la modal */
.modal-content {
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Effet de pulsation pour attirer l'attention */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Animation de rotation pour le spinner */
.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Styles responsive */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }

    .modal-body {
        padding: 2rem 1.5rem !important;
    }

    #openInBrowserBtn {
        font-size: 1rem;
        padding: 15px;
    }

    #browserMessage {
        font-size: 0.9rem;
    }

    .modal-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-body {
        padding: 1.5rem 1rem !important;
    }

    #openInBrowserBtn {
        font-size: 0.9rem;
        padding: 12px;
    }

    #continueAnywayBtn {
        font-size: 0.9rem;
        padding: 10px;
    }
}

/* Amélioration visuelle */
.modal-header {
    background: var(--gradient-primary) !important;
}

.modal-title i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* Style pour les toasts */
.toast-simple {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    font-weight: 500;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 15px 20px;
    transition: all 0.3s ease;
    max-width: 350px;
    line-height: 1.4;
}

/* Animation d'entrée pour la modal */
.modal.show .modal-content {
    animation: modalZoomIn 0.3s ease-out;
}

@keyframes modalZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Amélioration du backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6);
}
#tuto-open-browser {
    position: fixed;
    top: 5px;
    right: 60px;
    z-index: 9999;
    text-align: center;
    font-size: 12px;
    color: #fff;
}

    #tuto-open-browser .arrow {
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 14px solid #ff5757;
        animation: bounce 1s infinite;
        margin: 0 auto 4px;
    }

@keyframes bounce {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(4px)
    }
}

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: .8rem 1rem;
    box-shadow: 0 -2px 12px rgba(0,0,0,.15);
    z-index: 9999;
    text-align: center;
}

    .sticky-cta .btn-buy {
        background: var(--gradient-primary);
        color: #fff;
        padding: .9rem 1.2rem;
        border-radius: 12px;
        font-weight: 600;
        display: inline-block;
        text-decoration: none;
    }

@media(min-width:768px) {
    .sticky-cta {
        display: none;
    }
}
/* FIN DES STYLES CSS POUR LA MODAL SIMPLIFIÉE */

.contact-banner {
    background-color: #D83B1C;
    color: white;
    font-size: 0.95rem;
    padding: 8px 15px;
    text-align: center;
    z-index: 9999;
}

    /* lien email dans la bannière */
    .contact-banner a {
        color: white;
        text-decoration: underline;
    }

    /* option : sticky en haut de page */
    .contact-banner.sticky {
        position: sticky;
        top: 0;
    }

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: #D83B1C;
    color: white;
    border-radius: 50%;
    padding: 12px 14px;
    font-size: 20px;
    z-index: 9999;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: opacity 0.3s ease;
}

    .back-to-top:hover {
        background-color: #a62811;
        color: white;
    }
