/* Masquer la section de confirmation de commande par défaut */
#order-confirmation {
    display: none;
}
/* Masquer le loader du bouton de commande par défaut */
.btn-loading {
    display: none;
}
/* Masquer le formulaire Carte Bancaire par défaut */
#card-payment-form {
    display: none;
}
/* Masquer le formulaire Orange Money par défaut */
#orange-payment-form {
    display: none;
}
/* Masquer le formulaire Wave par défaut */
#wave-payment-form {
    display: none;
}
/* Masquer le formulaire de commande par défaut */
#checkout-form {
    display: none;
}
/* Masquer le résumé du panier par défaut */
#cart-summary {
    display: none;
}
/* Masquer la liste des articles du panier par défaut */
#cart-items-list {
    display: none;
}
/* Masquer la section du nouveau panier par défaut */
#new-cart {
    display: none;
}
/* Masquer la section produits filtrés par défaut */
#filtered-products-section {
    display: none;
}
/* Style pour le texte d'indication '⬅ Cliquez ici' dans la section catégories */
.accordion-click-hint {
    display: inline-block;
    margin-left: 12px;
    animation: arrowBlink 4s infinite;
    font-size: 1.2em;
    color: #ff8000;
}
/* Style pour le texte d'indication '⬅ Cliquez ici' dans l'accordéon */
.accordion-click-hint {
    display: inline-block;
    margin-left: 12px;
    animation: arrowBlink 4s infinite;
    font-size: 1.2em;
    color: #ff8000;
}
/* Hide menu content by default */
#menuContent {
    display: none;
}
.cart-confirm-overlay {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    /* ...existing code... */
}
/* =============================
   MODALE DE CONFIRMATION PANIER
   ============================= */
.cart-confirm-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(30,30,30,0.55);
    /* Fallback for browsers that do not support backdrop-filter */
    background: rgba(30,30,30,0.85);
    /* Safari/iOS support */
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInCartConfirm 0.2s;
}

.cart-confirm-box {
    background: #232323;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    padding: 32px 22px 22px 22px;
    min-width: 270px;
    max-width: 90vw;
    text-align: center;
    position: relative;
    animation: popCartConfirm 0.25s;
}
.cart-confirm-icon {
    font-size: 2.5em;
    color: #ff8000;
    margin-bottom: 10px;
    display: block;
}
.cart-confirm-title {
    font-size: 1.15em;
    font-weight: bold;
    margin-bottom: 10px;
}
.cart-confirm-text {
    font-size: 1em;
    margin-bottom: 22px;
    color: #ffb366;
}
.cart-confirm-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 10px;
}
.cart-confirm-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.cart-confirm-btn.confirm {
    background: #ff8000;
    color: #fff;
}
.cart-confirm-btn.confirm:hover {
    background: #ff9900;
    transform: scale(1.04);
}
.cart-confirm-btn.cancel {
    background: #333;
    color: #ff8000;
    border: 1.5px solid #ff8000;
}
.cart-confirm-btn.cancel:hover {
    background: #232323;
    color: #fff;
    transform: scale(1.04);
}
@keyframes fadeInCartConfirm {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes popCartConfirm {
    0% { transform: scale(0.85); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}
@media (max-width: 480px) {
    #panier {
        max-width: 100vw;
        width: 100vw;
        padding: 2px 0.5vw;
        margin: 2px auto;
        font-size: 0.85em;
        border-radius: 4px;
    }
    #cart-items li {
        padding: 2px;
        margin: 2px 0;
        font-size: 0.85em;
    }
    #cart-items li img {
        width: 22px;
        height: 22px;
        border-radius: 2px;
    }
    #checkout-btn, #pay-now-btn {
        padding: 5px 2px;
        font-size: 0.92em;
        border-radius: 3px;
        min-width: 0;
        width: 100%;
    }
    #total-price {
        font-size: 0.92em;
    }
    .cart-qty-btn, .cart-remove-btn, .cart-qty {
        font-size: 0.9em !important;
        padding: 2px 6px !important;
        min-width: 0 !important;
        margin: 0 1px !important;
    }
    .cart-remove-btn {
        padding: 2px 8px !important;
        font-size: 0.85em !important;
    }
    .cart-item-title, .cart-item-price {
        font-size: 0.95em !important;
    }
    .cart-summary, .cart-total {
        font-size: 0.95em !important;
    }
}
@media (max-width: 900px) {
    #panier {
        max-width: 98vw;
        width: 98vw;
        padding: 10px 2vw;
        margin: 10px auto;
        font-size: 0.98em;
    }
    #cart-items li {
        padding: 6px;
        margin: 6px 0;
        font-size: 0.98em;
    }
    #cart-items li img {
        width: 38px;
        height: 38px;
    }
    #checkout-btn, #pay-now-btn {
        padding: 8px 10px;
        font-size: 1em;
    }
    #total-price {
        font-size: 1em;
    }
}

@media (max-width: 600px) {
    #panier {
        max-width: 99vw;
        width: 99vw;
        padding: 6px 1vw;
        margin: 6px auto;
        font-size: 0.93em;
        border-radius: 7px;
    }
    #cart-items li {
        padding: 4px;
        margin: 4px 0;
        font-size: 0.93em;
    }
    #cart-items li img {
        width: 28px;
        height: 28px;
        border-radius: 3px;
    }
    #checkout-btn, #pay-now-btn {
        padding: 7px 6px;
        font-size: 0.98em;
        border-radius: 4px;
    }
    #total-price {
        font-size: 0.98em;
    }
}
@media (max-width: 600px) {
    .filtered-header-centered {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    #filtered-section-title {
        width: 100%;
        max-width: 100vw;
        white-space: normal !important;
        overflow: visible;
        text-overflow: unset;
        margin-bottom: 8px;
    }
    .filtered-header-centered .arrow-blink {
        display: block;
        width: 100% !important;
        max-width: 100vw;
        white-space: normal !important;
        overflow: visible;
        text-overflow: unset;
        text-align: left !important;
        margin-left: 8px;
        font-size: 1em;
        line-height: 1.3;
    }
}
@media (max-width: 600px) {
    .filtered-header-centered {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    #filtered-section-title {
        width: 100%;
        max-width: 100vw;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
    .filtered-header-centered .arrow-blink {
        display: block;
        width: 100%;
        max-width: 100vw;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        text-align: left !important;
        margin-left: 8px;
    }
}
@media (max-width: 600px) {
    .filtered-header-centered .arrow-blink {
        text-align: left !important;
        align-self: flex-start;
        margin-left: 8px;
        max-width: 100vw;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
}
@media (max-width: 600px) {
    #filtered-section-title {
        text-align: left !important;
        margin-left: 8px;
    }
}
@media (max-width: 600px) {
    #filtered-section-title {
        font-size: 0.88em !important;
    }
}
@media (max-width: 600px) {
    .filtered-header-centered {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 10px 2px 10px 2px;
        font-size: 0.98em;
        flex-wrap: nowrap;
    }
    #filtered-section-title {
        font-size: 1em;
        margin-bottom: 0 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 60vw;
    }
    .filtered-header-centered .arrow-blink {
        font-size: 0.98em;
        margin-top: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 35vw;
    }
}
@media (max-width: 600px) {
    #filtered-section-title {
        margin-bottom: 32px !important;
    }
}
@media (max-width: 600px) {
    #filtered-section-title {
        margin-bottom: 18px !important;
    }
}
@media (max-width: 600px) {
    .filtered-header-centered {
        font-size: 1em;
        gap: 22px;
        padding: 12px 2px 10px 2px;
    }
    #filtered-section-title {
        font-size: 1em;
        margin-bottom: 0;
    }
    .filtered-header-centered .arrow-blink {
        font-size: 0.98em;
        margin-top: 0;
    }
}
@media (max-width: 600px) {
    .filtered-header-centered {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 8px;
        padding: 14px 2px 10px 2px;
    }
    #filtered-section-title {
        text-align: left;
        align-self: flex-start;
        width: 100%;
        margin-bottom: 10px;
    }
    .filtered-header-centered .arrow-blink {
        align-self: center;
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }
}
#filtered-section-title {
    /* ...existing code... */
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    #filtered-section-title {
        margin-bottom: 12px;
    }
}

@media (max-width: 600px) {
    #filtered-section-title {
        margin-bottom: 16px;
    }
}
.filtered-header-centered {
    /* ...existing code... */
    gap: 18px;
}

@media (max-width: 900px) {
    .filtered-header-centered {
        /* ...existing code... */
        gap: 12px;
        padding: 16px 4px 12px 4px;
    }
}

@media (max-width: 600px) {
    .filtered-header-centered {
        /* ...existing code... */
        gap: 10px;
        padding: 14px 2px 10px 2px;
    }
}
/* =============================
   TITRE CATÉGORIE FILTRÉE RESPONSIVE
   ============================= */
.filtered-header-centered {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: #333;
    color: #ff8000;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    gap: 12px;
    flex-wrap: wrap;
    min-height: 48px;
    line-height: 1.2;
    word-break: break-word;
    white-space: normal;
}

#filtered-section-title {
    display: inline-block;
    max-width: 90vw;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

@media (max-width: 900px) {
    .filtered-header-centered {
        font-size: 1.15em;
        flex-direction: column;
        gap: 6px;
        padding: 10px 4px;
    }
    #filtered-section-title {
        font-size: 1em;
        max-width: 98vw;
    }
}

@media (max-width: 600px) {
    .filtered-header-centered {
        font-size: 1em;
        padding: 8px 2px;
        min-height: 36px;
    }
    #filtered-section-title {
        font-size: 0.98em;
        max-width: 100vw;
    }
}
/* =============================
   BOUTONS FILTRE CATÉGORIE RESPONSIVE
   ============================= */
.products-filter-controls {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 15px 0 10px 0;
    justify-content: center;
    align-items: center;
}

.filter-btn {
    background: #ff8000;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 24px;
    margin: 0;
    cursor: pointer;
    width: 100%;
    max-width: 320px;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    display: block;
}

.filter-btn.active,
.filter-btn:focus {
    background: #ff9900;
    outline: none;
}

.filter-btn.hidden {
    display: none !important;
}

@media (max-width: 900px) {
    .products-filter-controls {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    .filter-btn {
        font-size: 1em;
        padding: 14px 0;
        border-radius: 22px;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .products-filter-controls {
        width: 100%;
        margin: 10px 0 8px 0;
    }
    .filter-btn {
        font-size: 0.98em;
        padding: 13px 0;
        border-radius: 18px;
        min-width: 0;
        max-width: 100%;
    }
}
html {
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
    color: white;
}

header {
    text-align: center;
    padding: 20px;
    background: #ff8000;
    color: white;
    position: relative;
}

.menu {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000; /* Assurez-vous que le menu est au-dessus des autres éléments */
}

#menuButton {
    background: transparent;
    color: white;
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#menuContent {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    background: rgba(0, 0, 0, 0.92);
    width: 240px;
    border-radius: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 85vh;
    animation: slideDown 0.5s ease;
    z-index: 1001;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

#menuContent a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    flex: 1;
    padding: 4px 0;
}

#menu-links a {
    display: block;
    padding: 10px 14px;
}

#menu-links a:hover,
#menuContent #menu-categories .menu-category-item:hover {
    background: #ff8c00;
}



footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
    margin-top: 20px;
}

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


/* Panier */
#panier {
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin: 20px auto;
    max-width: 600px;
    color: white;
   
}


#cart-container {
    margin-top: 20px;
}

#cart-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

#cart-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    color: white;
   
}

#cart-items li img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

#total-price {
    font-size: 18px;
    margin: 10px 0;
}

#checkout-btn {
    background: #ff8c00;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#checkout-btn:hover {
    background: #e07b00;
}

/* Paiement */
#paiement {
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin: 20px auto;
    max-width: 600px;
    color: white;
}

.payment-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.payment-option {
    background: #222;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.payment-option:hover {
    transform: scale(1.1);
    background: #333;
}

.payment-option img {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

#payment-form {
    margin-top: 20px;
}

#payment-form .form-group {
    margin-bottom: 15px;
}

#payment-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

#payment-form input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #292929;
    color: white;
}

#pay-now-btn {
    background: #ff8c00;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#pay-now-btn:hover {
    background: #e07b00;
}




/* Grille des produits */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

.product-item {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 250px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
   
}

.product-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.7);
}

.product-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.product-item h3 {
    margin: 10px 0;
    font-size: 18px;
    color: #fff;
}

.product-item p {
    margin: 5px 0;
    font-size: 16px;
    color: #ccc;
}

.product-item button {
    background: #ff8c00;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.product-item button:hover {
    background: #e07b00;
}

/* Animation pour agrandir un produit */
.product-item.expanded {
    transform: scale(1.2);
    z-index: 10;
    position: relative;
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.8);
}



/* Barre de navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333;
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 999; /* Inférieur au menu (z-index: 1000) */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

.navbar .logo {
    font-size: 20px;
    font-weight: bold;
}

.navbar .cart-info {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.navbar .cart-info:hover {
    background-color: rgba(255, 140, 0, 0.1);
}

.navbar .cart-info span {
    margin-left: 10px;
    color: #ff8c00;
}




.payment-fields {
    margin-top: 20px;
    padding: 20px;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.payment-fields h3 {
    margin-bottom: 15px;
    color: #ff8c00;
}

.payment-fields .form-group {
    margin-bottom: 15px;
}

.payment-fields label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: white;
}

.payment-fields input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #292929;
    color: white;
}


.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
}



/* Style général pour les sections */
section {
    margin: 20px auto;
    padding: 20px 40px; /* 20px haut/bas, 40px gauche/droite */
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    max-width: 1200px;
    color: white;
}


/* Réduit la taille de la section Produits A LA UNE */
#vendor-products {
    max-width: 1000px;      /* Largeur maximale réduite */
    margin: 30px auto;     /* Centré avec marges */
    padding: 10px 0;       /* Moins d’espace vertical */
    font-size: 0.95em;     /* Texte légèrement plus petit */
}
#vendor-products .product-item img {
    width: 230px;           /* Images plus petites */
   
}
#vendor-products .product-item {
    font-size: 0.95em;     /* Réduit la taille du texte des produits */
    padding: 8px 0;
}
/* Réduit le bouton "Ajouter au panier" uniquement dans la section des vendeurs */
#vendor-products .add-to-cart,
#vendor-products button {
    font-size: 0.95em;
    
  
}




/* Titre des sections */
section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #ff8c00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Liste des produits */
.product-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Style pour chaque produit */
.product-item {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(255, 140, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    width: 250px;
}

.product-item:hover {
    transform: scale(1.05);
}

.product-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.product-item span {
    display: block;
    margin: 10px 0;
    color: white;
    font-size: 18px;
}

.product-item button {
    background: #ff8c00;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.product-item button:hover {
    background: #e07b00;
}



/* Bannière publicitaire */
#publicite {
    background: #ff8000;
    color: white;
    padding: 15px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

#publicite .publicite-content {
    display: inline-block;
    white-space: nowrap;
    animation: defilement 10s linear infinite;
}

#publicite p {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    padding: 0 20px;
}

/* Animation de défilement */
@keyframes defilement {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}



/* Barre de recherche dynamique */
.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    width: 50px; /* Taille initiale */
    transition: width 0.3s ease;
    overflow: hidden;
    background: #222;
    border-radius: 25px;
    padding: 5px 10px;
    cursor: pointer;
}

.search-bar:hover {
    width: 300px; /* Taille agrandie au survol */
}

.search-bar i {
    color: white;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.search-bar:hover i {
    transform: scale(1.2); /* Agrandir l'icône au survol */
}

/* Texte indicatif "Rechercher" */
.search-label {
    color: white;
    font-size: 14px;
    opacity: 0; /* Masquer par défaut */
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.search-bar:hover .search-label {
    opacity: 1; /* Afficher au survol */
}

.search-bar input {
    border: none;
    outline: none;
    background: transparent;
    color: white;
    font-size: 16px;
    width: 0; /* Taille initiale */
    transition: width 0.3s ease;
}

.search-bar:hover input {
    width: 200px; /* Taille agrandie au survol */
    padding-left: 10px;
}

.search-bar input::placeholder {
    color: #ccc; /* Couleur du texte indicatif */
    font-size: 14px;
    font-style: italic;
}

.search-bar button {
    background: #ff8c00;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    display: none; /* Masquer le bouton par défaut */
}

.search-bar:hover button {
    display: block; /* Afficher le bouton au survol */
}

.search-bar button:hover {
    background: #e07b00;
}



/* Styles pour les téléphones (écrans de moins de 768px) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        margin: 0;
        padding: 0;
    }

    .search-bar input {
        width: 80%;
    }

    .search-bar button {
        width: 15%;
    }

 

    header {
        text-align: center;
        padding: 0;
    }

    .logo-container {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        width: 80px;
        margin-bottom: 10px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav ul li {
        margin: 5px 0;
    }

    #animated-text-container {
        font-size: 1.5rem;
        margin: 20px auto;
    }

    .carousel {
        width: 100%;
        margin: 20px auto;
    }

    .carousel-images img {
        width: 100%;
        height: auto;
    }

    .product-item {
        width: 90%;
        margin: 10px auto;
    }

    #promo-banner {
        font-size: 1rem;
        padding: 5px 0;
    }

    .offer-banner {
        max-width: 90%;
        margin: 10px auto;
    }

    #paiement {
        padding: 20px;
        margin: 10px auto;
        max-width: 90%;
    }

    .contact-section {
        padding: 10px;
        text-align: center;
    }

    footer {
        font-size: 12px;
        padding: 10px;
    }
}




/* Styles pour l'accordéon */
.accordion {
    width: 80%;
    margin: 20px auto;
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    padding: 15px;
    background: #333;
    color: #ff8c00;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #444;
}

.accordion-content {
    display: none;
    padding: 15px;
    background: #222;
    color: white;
    border-top: 1px solid #444;
}

@media (max-width: 768px) {
    .accordion-header {
        font-size: 14px;
        padding: 12px 10px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px;
    }
    .accordion-click-hint {
        display: inline;
        font-size: 11px;
        margin-left: 6px;
        opacity: 0.85;
    }
}

.product-item {
    padding: 10px;
    margin: 5px 0;
    background: #333;
    border-radius: 5px;
    color: #ff8c00;
    transition: transform 0.3s ease;

   
}

.product-item:hover {
    transform: scale(1.05);
    background: #444;

   
}





/* Styles pour les MODES */

.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  display: block;
  margin: 5% auto;
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}





/* SECTION POUR LES AUTRE UTILISATEUR */
/* Styles pour la section de publication */
.publish-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, #252525, #3a3a3a);
    border-radius: 10px;
    margin: 20px 0;
}

.publish-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.free-trial, .paid-plan {
    flex: 1;
    min-width: 300px;
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.free-trial h3, .paid-plan h3 {
    color: #ff8c00;
    margin-bottom: 15px;
    font-size: 22px;
}

.pricing-plans {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.plan {
    flex: 1;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.plan.featured {
    background: linear-gradient(135deg, #ff8c0033, #ff6b0033);
    border: 2px solid #ff8c00;
}

.badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff8c00;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.plan h4 {
    color: white;
    font-size: 20px;
    margin-bottom: 10px;
}

.price {
    color: #ff8c00;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.plan li {
    margin-bottom: 8px;
    color: #ddd;
}

.select-plan {
    width: 100%;
    padding: 10px;
    background: #ff8c00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.select-plan:hover {
    background: #e67e00;
}

.registration-form {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.registration-form h3 {
    color: #ff8c00;
    margin-bottom: 20px;
    text-align: center;
    font-size: 22px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ddd;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #555;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #ff8c00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #e67e00;
}

.testimonials {
    text-align: center;
}

.testimonials h3 {
    color: #ff8c00;
    margin-bottom: 20px;
    font-size: 22px;
}

.testimonial-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 8px;
    position: relative;
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 60px;
    opacity: 0.2;
    color: #ff8c00;
}

.quote {
    color: #ddd;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.author {
    color: #ff8c00;
    font-weight: bold;
}

@media (max-width: 768px) {
    .publish-info, .pricing-plans, .testimonial-list {
        flex-direction: column;
    }
    
    .plan {
        margin-bottom: 20px;
    }
}




/* Style pour les notifications */
.trial-notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ff8c00;
    color: white;
    padding: 10px 20px;
    text-align: center;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.trial-notification p {
    margin: 0;
}

.trial-notification a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.close-notification {
    position: absolute;
    right: 20px;
    cursor: pointer;
    font-size: 20px;
}

/* Style pour le tableau de bord éditeur */
.publisher-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .publisher-dashboard {
        grid-template-columns: 1fr;
    }
}

.trial-info {
    grid-column: 1 / -1;
    background: rgba(255, 140, 0, 0.1);
    border-left: 4px solid #ff8c00;
    padding: 15px;
    border-radius: 5px;
}

.product-upload, .published-products {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
}

.published-products {
    max-height: 500px;
    overflow-y: auto;
}




    /* Style pour l'option de paiement sélectionnée */
    .payment-option {
        cursor: pointer;
        border: 2px solid transparent;
        transition: all 0.3s ease;
        padding: 10px;
    }
    
    .payment-option.selected {
        border-color: #ff8c00;
        background-color: rgba(255, 140, 0, 0.1);
    }
    
    /* Style pour le champ d'erreur */
    .error-text {
        color: red;
        font-size: 12px;
        margin-top: 5px;
        display: none;
    }
    
    /* Animation pour les champs invalides */
    .invalid-input {
        border: 1px solid red !important;
        animation: shake 0.5s;
    }
    
    @keyframes shake {
        0%, 100% { transform: translateX(0); }
        20%, 60% { transform: translateX(-5px); }
        40%, 80% { transform: translateX(5px); }
    }





        /* Ajoutez ces styles à votre fichier boutique.css */
    .disabled-btn {
        background-color: #cccccc !important;
        color: #666666 !important;
        cursor: not-allowed !important;
    }
    
    .empty-cart {
        text-align: center;
        padding: 15px;
        color: #888;
        font-style: italic;
    }






    .disabled-btn {
        background-color: #cccccc !important;
        color: #666666 !important;
        cursor: not-allowed !important;
        opacity: 0.7;
    }
    
    .empty-cart-message {
        text-align: center;
        padding: 15px;
        color: #888;
        font-style: italic;
        background-color: #f8f8f8;
        border-radius: 5px;
        margin: 10px 0;
    }
    
    .payment-option {
        cursor: pointer;
        border: 2px solid transparent;
        transition: all 0.3s;
        padding: 10px;
        margin: 5px;
        border-radius: 5px;
    }
    
    .payment-option.selected {
        border-color: #ff8c00;
        background-color: rgba(255, 140, 0, 0.1);
    }
    
    .invalid, .invalid-input {
        border: 1px solid red !important;
        background-color: rgba(255, 0, 0, 0.05);
    }
    
    @keyframes shake {
        0%, 100% { transform: translateX(0); }
        10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
        20%, 40%, 60%, 80% { transform: translateX(5px); }
    }
    
    .shake {
        animation: shake 0.5s;
        border: 1px solid red !important;
    }
    




/* FLECHE ANIMER 3D ABONNEMENT PUBLICITE*/
    
        /* Animation pour devenir vendeur */
        .become-seller-widget {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 200px;
            perspective: 1000px;
            z-index: 999;
            font-family: 'Arial', sans-serif;
            filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
            cursor: pointer;
            transition: transform 0.3s ease;
        }
    
        .become-seller-widget:hover {
            transform: scale(1.05);
        }
    
        .widget-content {
            position: relative;
            width: 100%;
            height: 200px;
            transform-style: preserve-3d;
            animation: rotateWidget 15s infinite linear;
        }
    
        .widget-face {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 15px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 15px;
            box-sizing: border-box;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            background-image: linear-gradient(135deg, #ff8c00, #ff6600);
            color: white;
        }
    
        .widget-face:nth-child(2) {
            transform: rotateY(180deg);
            background-image: linear-gradient(135deg, #ff6600, #ff3300);
        }
    
        .widget-icon {
            font-size: 38px;
            margin-bottom: 10px;
            animation: pulse 2s infinite;
        }
    
        .widget-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 8px;
        }
    
        .widget-text {
            font-size: 14px;
            line-height: 1.4;
        }
    
        .coin-icon {
            position: absolute;
            top: -15px;
            right: -15px;
            background: #ffcc00;
            color: #ff6600;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: bold;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            animation: coinBounce 2s infinite;
        }
    
        .particle-container {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            overflow: hidden;
            pointer-events: none;
        }
    
        .particle {
            position: absolute;
            background-color: rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            width: 6px;
            height: 6px;
            animation: particleFloat 3s infinite;
        }
    
        /* Raccourci */
        .cta-button {
            padding: 8px 15px;
            margin-top: 15px;
            background-color: white;
            color: #ff6600;
            border: none;
            border-radius: 20px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s;
        }
    
        .cta-button:hover {
            background-color: #ffcc00;
            transform: scale(1.1);
        }
    
        /* Animations */
        @keyframes rotateWidget {
            0%, 45% { transform: rotateY(0); }
            50%, 95% { transform: rotateY(180deg); }
            100% { transform: rotateY(360deg); }
        }
    
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.1); opacity: 0.8; }
        }
    
        @keyframes coinBounce {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-10px) rotate(10deg); }
        }
    
        @keyframes particleFloat {
            0% { transform: translate(0, 0); opacity: 0; }
            50% { transform: translate(var(--x), var(--y)); opacity: 0.8; }
            100% { transform: translate(calc(var(--x) * 2), calc(var(--y) * 2)); opacity: 0; }
        }
    
        /* Animation spéciale pour petits écrans */
        @media (max-width: 768px) {
            .become-seller-widget {
                bottom: 20px;
                right: 20px;
                width: 150px;
            }
            
            .widget-content {
                height: 150px;
            }
            
            .widget-title {
                font-size: 16px;
            }
            
            .widget-text {
                font-size: 12px;
            }
        }



                /* Style pour le lien de suivi de commande */
        .tracking-link {
            display: inline-block;
            margin-left: 15px;
        }
        
        .tracking-link a {
            display: flex;
            align-items: center;
            color: #fff;
            text-decoration: none;
            background-color: #4e73df;
            padding: 8px 12px;
            border-radius: 4px;
            font-weight: 500;
            font-size: 14px;
            transition: background-color 0.3s;
        }
        
        .tracking-link a:hover {
            background-color: #375bcc;
        }
        
        .tracking-link .icon {
            margin-right: 6px;
            font-size: 16px;
        }
        
        /* Responsive styles */
        @media (max-width: 768px) {
            .navbar {
                flex-wrap: wrap;
                padding: 8px 10px;
                row-gap: 6px;
                column-gap: 6px;
            }
            /* Ligne 1 : Logo | Panier | Cloche */
            .navbar > .logo          { order: 1; flex: 0 0 auto; }
            .navbar > .cart-info     { order: 2; flex: 1; justify-content: center; }
            .navbar > .subscribe-icon-boutique { order: 3; flex: 0 0 auto; }
            /* Ligne 2 : barre de recherche pleine largeur */
            .navbar > .search-bar    { order: 4; flex: 0 0 100%; width: 100%; box-sizing: border-box; }
            /* Ligne 3 : Suivi de commande pleine largeur */
            .navbar > .tracking-link { order: 5; flex: 0 0 100%; width: 100%; margin: 0; box-sizing: border-box; }
            .navbar > .tracking-link a {
                justify-content: center;
                padding: 8px 12px;
                font-size: 13px;
            }
            .cart-detail { display: none; }
            .navbar .cart-info { white-space: nowrap; font-size: 13px; padding: 6px 10px; }
            #menuContent { width: 80vw; max-width: 320px; max-height: 80vh; }
            #publicite { display: none; }
            #fallback-title { display: none; }
            #header-banners-container { width: 100vw; display: block; }
            .header-banner-container { min-height: 180px !important; width: 100vw !important; }
            .banner-image-full, .banner-product-image { height: 180px !important; }
        }




                /* Style pour la confirmation de commande */
        .order-confirmation {
            text-align: center;
            padding: 30px;
            border-radius: 8px;
            background-color: #1e1e2f;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }
        
        .confirmation-icon {
            font-size: 60px;
            color: #1cc88a;
            margin-bottom: 20px;
        }
        
        .order-confirmation h2 {
            color: #fff;
            margin: 10px 0;
        }
        
        .order-confirmation p {
            color: #ccc;
            margin: 15px 0;
        }
        
        .order-actions {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 25px;
            flex-wrap: wrap;
        }
        
        .tracking-button {
            display: flex;
            align-items: center;
            background-color: #4e73df;
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: 500;
            transition: background-color 0.3s;
        }
        
        .tracking-button:hover {
            background-color: #375bcc;
        }
        
        .continue-shopping {
            background-color: #36b9cc;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .continue-shopping:hover {
            background-color: #2a8c9e;
        }



                .menu-content ul {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }
        
        .menu-content li {
            margin-bottom: 10px;
        }
        
        .menu-content a {
            color: white;
            text-decoration: none;
            display: block;
            padding: 8px 10px;
            transition: background-color 0.3s;
        }
        
        .menu-content a:hover {
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
        }



                /* Styles pour le formulaire client */
        #client-info {
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
            background-color: rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }
        
        #client-info h2 {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            background-color: rgba(0, 0, 0, 0.1);
            color: white;
        }
        
        .form-group textarea {
            height: 80px;
            resize: vertical;
        }
        
        #continue-to-payment-btn {
            display: block;
            width: 100%;
            padding: 12px;
            margin-top: 20px;
            background-color: #4e73df;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            font-weight: bold;
            transition: background-color 0.3s;
        }
        
        #continue-to-payment-btn:hover {
            background-color: #375bcc;
        }


/* Styles pour les produits personnalisés */
#custom-products {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#custom-products h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #ff8c00;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.product-image-container {
    height: 200px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.product-image:hover {
    transform: scale(1.05);
}

.product-content {
    padding: 15px;
}

.product-name {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    color: #ff8c00;
    font-weight: bold;
    margin: 8px 0;
}

.add-to-cart-btn {
    width: 100%;
    background-color: #ff8c00;
    color: white;
    border: none;
    padding: 8px 0;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #e67e00;
}

/* Modal pour afficher l'image en grand */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
}


.vendor-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 140, 0, 0.85);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
}

.product-item {
    position: relative;
}








/* Styles pour les sections de la boutique ACCORDIONNNNN */

.shop-section {
    margin: 30px auto;
    max-width: 962px;
}

.featured-product {
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.featured-product-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.featured-product-image {
    flex: 1;
    min-width: 300px;
}

.featured-product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}

.featured-product-image img:hover {
    transform: scale(1.03);
}

.featured-product-details {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-product-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ff8c00;
}

.product-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-carousel {
    overflow: hidden;
    position: relative;
    margin: 20px 0;
}

.carousel-container {
    overflow-x: auto;
    /* scrollbar-width: none; supprimé pour éviter l'avertissement de compatibilité */
    -ms-overflow-style: none; /* IE and Edge */
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-track {
    display: flex;
    gap: 15px;
    padding: 10px 0;
}

.carousel-item {
    min-width: 250px;
    flex: 0 0 auto;
    background: #222;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.carousel-item:hover {
    transform: translateY(-5px);
}

.carousel-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.section-description {
    text-align: center;
    margin-bottom: 20px;
    color: #ccc;
}

/* Style spécial pour les sections d'accordéon */
.custom-section {
    margin: 20px 0;
}

/* Adaptation mobile */
@media (max-width: 768px) {
    .featured-product-content {
        flex-direction: column;
    }
    
    .carousel-item {
        min-width: 200px;
    }
}




/* Ajoute ce style à ton fichier CSS */
.product-category {
    display: inline-block;
    background: #ff8c00;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    border-radius: 12px;
    padding: 2px 12px;
    margin: 8px 0 4px 0;
    letter-spacing: 1px;
}



/* Limite la taille des images produits dans la grille */
.product-card .product-image {
    width: 100%;
    max-width: 180px;
    height: 120px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}



/* Effet 3D dynamique pour le logo */
.fadidi-logo-3d {
  display: flex;
  align-items: center;
  gap: 10px;
  perspective: 400px;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
  user-select: none; /* Standard */
}

.fadidi-logo-3d img {
  height: 48px;
  vertical-align: middle;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2), 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.4s cubic-bezier(.25,.8,.25,1), box-shadow 0.4s;
  background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
}

.fadidi-logo-3d .logo-text {
  font-family: 'Segoe UI Black', 'Arial Black', Arial, sans-serif;
  font-size: 2em;
  font-weight: bold;
  color: #ff8000;
  letter-spacing: 2px;
  text-shadow:
    0 2px 8px rgba(255,140,0,0.5),
    0 1px 0 #fff,
    2px 4px 12px rgba(0,0,0,0.18);
  transition: transform 0.4s, text-shadow 0.4s;
}

.fadidi-logo-3d:hover img,
.fadidi-logo-3d:focus img {
  transform: rotateY(15deg) skewY(-2deg);
  box-shadow: 0 16px 40px rgba(255,140,0,0.35), 0 4px 16px rgba(0,0,0,0.22);
}

.fadidi-logo-3d:hover .logo-text,
.fadidi-logo-3d:focus .logo-text {
  transform: rotateY(10deg) scale(1.07);
  text-shadow:
    0 4px 16px #ffb300,
    0 2px 0 #fff,
    4px 8px 24px rgba(0,0,0,0.22);
  color: #ff8000;
}

/* ========================================
   STYLES POUR LA RECHERCHE API
========================================= */

/* Section des résultats de recherche */
.search-results-section {
    margin: 20px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.search-results-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 2px solid #ff8000;
}

.search-results-title {
    color: #ff8000;
    font-size: 1.5em;
    margin: 0;
}

.btn-clear-search {
    background: #333;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-clear-search:hover {
    background: #ff8000;
    transform: translateY(-2px);
}

.btn-clear-search i {
    margin-right: 5px;
}

/* Grille des résultats de recherche */
.search-results-grid {
    margin-top: 20px;
}

.search-result-card {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-card .product-description {
    font-size: 0.85em;
    color: #ccc;
    margin: 8px 0;
    line-height: 1.4;
    max-height: 2.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Ajouté pour compatibilité avec la propriété standard */
    -webkit-box-orient: vertical;
}

/* Message d'absence de résultats */
.no-results-message {
    text-align: center;
    padding: 60px 20px;
    color: #ccc;
}

.no-results-message h3 {
    color: #ff8000;
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

.no-results-message p {
    margin: 0 0 20px 0;
    font-size: 1.1em;
}

/* Indicateur de chargement pour la recherche */
.search-loading {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
    z-index: 1000;
}

.search-loading-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ff8000;
    font-size: 14px;
}

.search-loading-content i {
    font-size: 16px;
}

/* Amélioration de la barre de recherche */
.search-bar {
    position: relative;
}

#search-input {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

#search-input:focus {
    border-color: #ff8000;
    box-shadow: 0 0 10px rgba(255, 128, 0, 0.3);
}

#search-button {
    transition: all 0.3s ease;
}

#search-button:hover {
    background-color: #ff8000;
    transform: scale(1.05);
}

#search-clear-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #888;
    padding: 0 6px;
    line-height: 1;
    transition: color 0.2s;
}

#search-clear-btn:hover {
    color: #ff8c00;
}


.btn-voir-tous {
    display: none !important;
}

/* Responsive pour la recherche */
@media (max-width: 768px) {
    .search-results-section .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .search-results-title {
        font-size: 1.2em;
    }
    
    .no-results-message {
        padding: 40px 15px;
    }
    
    .search-loading {
        margin-top: 10px;
    }
}

/* Animation pour les cartes de résultats */
.search-result-card:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 8px 32px rgba(255, 128, 0, 0.2) !important;
}

/* Surlignage des termes recherchés */
.search-highlight {
    background-color: rgba(255, 128, 0, 0.3);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
}


/* ========== CLOCHE ABONNEMENT BOUTIQUE ========== */
.subscribe-container-boutique {
    display: flex;
    align-items: center;
    margin-left: 8px;
}
.subscribe-icon-boutique {
    color: #ff8c00;
    font-size: 1.5rem;
    background: black;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
}
.subscribe-icon-boutique:hover { background: #ff6600; color: #fff; }

.subscribe-notif-boutique {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    padding: 18px 24px;
    color: #222;
    font-size: 1em;
    font-weight: 500;
    max-width: calc(100vw - 40px);
}

.subscribe-overlay-boutique {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.subscribe-box-boutique {
    background: #1a1919;
    padding: 30px 24px 24px;
    border-radius: 12px;
    text-align: center;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.6);
    position: relative;
    box-sizing: border-box;
}
.subscribe-box-boutique h2 {
    color: #ff8c00;
    margin: 0 0 10px;
    font-size: 1.3em;
}
.subscribe-box-boutique p {
    color: #ccc;
    margin: 0 0 18px;
    font-size: 0.9em;
    line-height: 1.5;
}
#subscribe-form-boutique {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.subscribe-box-boutique input[type="email"],
.subscribe-box-boutique input[type="text"] {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #555;
    border-radius: 6px;
    box-sizing: border-box;
    background: #2a2929;
    color: #fff;
    font-size: 14px;
    outline: none;
}
.subscribe-box-boutique input::placeholder { color: #888; }
.subscribe-submit-boutique {
    background: #ff8c00;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    width: 100%;
    margin-top: 4px;
}
.subscribe-submit-boutique:hover { background: #e07b00; }
.subscribe-close-boutique {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.4em;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.subscribe-close-boutique:hover { color: #fff; }

.cgu-label-boutique {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: #ccc;
    margin: 10px 0 14px;
    cursor: pointer;
    line-height: 1.4;
}
.cgu-label-boutique input[type="checkbox"] {
    width: auto;
    padding: 0;
    margin: 3px 0 0 0;
    border: none;
    accent-color: #ff8c00;
    flex-shrink: 0;
    cursor: pointer;
}
.cgu-label-boutique a {
    color: #ff8c00;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .subscribe-icon-boutique { font-size: 1.2rem; padding: 7px; }
    .subscribe-box-boutique { padding: 28px 18px 20px; }
}

.menu-item-hidden { display: none; }
