.shop-header {
    padding-top: 120px;
    text-align: center;
    margin-bottom: 3rem;
    background-color: var(--secondary-color);
    padding: 120px 2rem 3rem;
}

.shop-header h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.categories {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 var(--spacing-unit);
    display: flex;
    justify-content: center;
}

.category-header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    width: fit-content;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    background: var(--primary-color);
    color: var(--text-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: var(--secondary-color);
}

.category-btn.active {
    background: var(--accent-color);
    color: var(--primary-color);
}

.category-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: var(--accent-color);
    opacity: 0.9;
}

/* Ajout d'un effet de soulignement au survol */
.category-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.category-btn:hover::after {
    width: 100%;
}

.category-btn.active::after {
    display: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 var(--spacing-unit);
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ajustements pour le mode sombre */
[data-theme="dark"] .product-card {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
}

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

[data-theme="dark"] .product-card:hover {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    width: 100%;
}

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

/* Effet de zoom au survol de la carte ou de l'image */
.product-card:hover .product-image img,
.product-card:hover .image-gallery .main-image {
    transform: scale(1.05);
}

/* S'assurer que le curseur pointer reste sur l'image */
.product-image .main-image {
    cursor: pointer;
}

.product-info {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-info h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.product-info .price {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.product-info .price-details {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    opacity: 0.8;
}

.product-info .price-details p {
    margin: 0.2rem 0;
}

.product-info .description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.product-info .btn {
    margin-top: auto;
    width: 100%;
}

.custom-order {
    text-align: center;
    padding: 4rem var(--spacing-unit);
    background-color: var(--secondary-color);
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.custom-order h2 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.custom-order p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Ajout des styles pour le bouton */
.custom-order .btn {
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.custom-order .btn-primary::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: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.custom-order .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.custom-order .btn-primary:hover::before {
    width: 800px;
    height: 800px;
}

/* Mode sombre pour les boutons primaires */
[data-theme="dark"] .custom-order .btn-primary::before {
    background: rgba(0, 0, 0, 0.2);
}

.product-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

/* Suppression des icônes précédentes */
.dimensions-tag::before,
.material-tag::before {
    content: none;
}

@media (max-width: 950px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 660px) {
    .products-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .categories {
        margin: 0 auto 1rem;
        padding: 0 1rem;
    }

    .category-header {
        flex-direction: row;
        justify-content: center;
        gap: 0.8rem;
    }

    .category-filters {
        gap: 0.8rem;
    }

    .category-btn,
    .search-toggle {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem;
    }
}

.image-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pagination-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.3);
}

.pagination-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.pagination-dots .dot.active {
    width: 8px;
    height: 8px;
    background-color: white;
    transform: scale(1.2);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.gallery-nav svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* Ajustements pour le mode sombre */
[data-theme="dark"] .gallery-nav {
    background: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .gallery-nav svg {
    color: black;
}

/* Afficher les flèches au survol sur desktop */
@media (hover: hover) {
    .product-card:hover .gallery-nav {
        opacity: 1;
    }
}

/* Toujours afficher les flèches sur mobile */
@media (max-width: 768px) {
    .gallery-nav {
        opacity: 1;
    }
}

/* Animation de transition */
.main-image {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.main-image.changing {
    opacity: 0;
}

/* Ajout des variables RGB pour l'opacité */
:root {
    --primary-color-rgb: 255, 255, 255;
}

[data-theme="dark"] {
    --primary-color-rgb: 26, 26, 26;
}

/* Styles pour le popup-overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Styles pour le popup de produit */
.product-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.product-popup .popup-content {
    background: var(--primary-color);
    max-width: 1200px;
    width: 90%;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    padding: 2rem;
    margin: 20px auto;
    max-height: 90vh;
    overflow-y: auto;
}

.popup-logo {
    width: 150px;
    height: auto;
    margin-bottom: 1.5rem;
}

.popup-title {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.popup-message {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.popup-close {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.popup-close::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: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.popup-close:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.popup-close:hover::before {
    width: 800px;
    height: 800px;
}

/* Mode sombre pour le bouton */
[data-theme="dark"] .popup-close {
    background: var(--accent-color);
    color: var(--primary-color);
}

[data-theme="dark"] .popup-close::before {
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .popup-logo {
    filter: invert(1);
}

.popup-gallery {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.popup-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.popup-main-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    position: relative;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.popup-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    padding: 10px;
    background: var(--secondary-color);
    border-radius: 8px;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 100%;
}

.popup-thumbnail {
    width: 70px;
    height: 70px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
}

.popup-thumbnail:hover {
    opacity: 0.8;
}

.popup-thumbnail.active {
    opacity: 1;
    border-color: var(--accent-color);
}

.popup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
}

.popup-nav.prev { 
    left: 10px;
}

.popup-nav.next { 
    right: 10px;
}

.popup-nav svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* Ajustements pour le mode sombre */
[data-theme="dark"] .popup-nav {
    background: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .popup-nav svg {
    color: black;
}

/* Afficher les flèches au survol sur desktop */
@media (hover: hover) {
    .popup-content:hover .popup-nav {
        opacity: 1;
    }
}

/* Toujours afficher les flèches sur mobile */
@media (max-width: 768px) {
    .popup-nav {
        opacity: 1;
    }
    
    /* Masquer les flèches de navigation sur mobile dans les popups */
    .product-popup .popup-nav {
        display: none;
    }
}

/* Masquer les boutons de navigation sur les appareils tactiles */
@media (hover: none) and (pointer: coarse) {
    .popup-nav {
        display: none;
    }
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 2;
}

.popup-info {
    padding: 2rem 0 0;
}

.popup-info h2 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.8rem;
}

.popup-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.popup-price-option {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.popup-price-details {
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    opacity: 0.8;
}

.popup-price-details p {
    margin: 0.2rem 0;
}

.popup-description {
    margin: 1rem 0;
    line-height: 1.6;
}

.popup-details {
    margin: 1rem 0;
}

.popup-features {
    margin: 1rem 0;
}

.popup-features ul {
    list-style: none;
    padding: 0;
}

.popup-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.popup-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: var(--primary-color);
    color: var(--text-color);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--secondary-color);
}

.pagination-btn.active {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.pagination-btn.prev,
.pagination-btn.next {
    padding: 0.5rem 1rem;
}

@media (max-width: 768px) {
    .pagination {
        gap: 0.25rem;
    }

    .pagination-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Styles du popup produit identiques au popup projet sur mobile */
    .product-popup {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        padding: 20px;
        overflow-y: auto;
    }

    .product-popup .popup-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 1rem;
    }

    .product-popup .popup-info {
        padding: 0;
    }

    .product-popup .popup-image-container {
        width: 100%;
        aspect-ratio: 1 / 1;
        margin-bottom: 1rem;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .product-popup .popup-info h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .product-popup .popup-price {
        font-size: 1.3rem;
    }

    .product-popup .popup-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Amélioration du popup produit sur mobile pour correspondre au popup projet */
    .product-popup .close-popup {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: rgba(255, 255, 255, 0.6);
        border: none;
        font-size: 1.5rem;
        color: black;
        cursor: pointer;
        z-index: 2;
        width: 2rem;
        height: 2rem;
        border-radius: 50%;
        backdrop-filter: blur(5px);
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
        line-height: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mode sombre pour le bouton de fermeture */
    [data-theme="dark"] .product-popup .close-popup {
        background: rgba(50, 50, 50, 0.8);
        color: white;
    }

    /* Amélioration des vignettes sur mobile */
    .product-popup .popup-thumbnails {
        gap: 8px;
        padding: 8px;
    }

    .product-popup .popup-thumbnail {
        width: 60px;
        height: 60px;
    }

    /* Amélioration des boutons de navigation sur mobile */
    .product-popup .popup-nav {
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
        z-index: 5;
    }

    .product-popup .popup-nav svg {
        stroke: #333;
        width: 24px;
        height: 24px;
    }

    .product-popup .popup-nav.prev {
        left: 10px;
    }

    .product-popup .popup-nav.next {
        right: 10px;
    }

    /* Ajustement pour le mode sombre */
    @media (prefers-color-scheme: dark) {
        .product-popup .popup-nav {
            background: rgba(50, 50, 50, 0.8);
        }
        
        .product-popup .popup-nav svg {
            stroke: #fff;
        }
    }
}

/* Pour les très petits écrans mobiles */
@media (max-width: 375px) {
    .product-popup .popup-content {
        padding: 1.2rem;
    }

    .product-popup .popup-info h2 {
        font-size: 1.5rem;
    }

    .product-popup .popup-price {
        font-size: 1.2rem;
    }

    .product-popup .popup-description {
        font-size: 0.9rem;
    }

    .product-popup .popup-thumbnails {
        gap: 6px;
        padding: 6px;
    }
    
    .product-popup .popup-thumbnail {
        width: 50px;
        height: 50px;
    }
}

/* Ajouter cette classe pour le body */
body.popup-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Styles pour le popup de commande */
.order-popup .popup-content {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    background: var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.order-form-content h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-form .form-group label {
    color: var(--accent-color);
    font-weight: 500;
}

.order-form .form-group input,
.order-form .form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--primary-color);
    color: var(--text-color);
}

.order-form .form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.order-form .form-group input[readonly] {
    background-color: var(--secondary-color);
    cursor: not-allowed;
    opacity: 0.8;
}

.order-form .form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.order-form select {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    width: 100%;
}

.order-form .address-group {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.order-form .address-group .form-group-row {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
}

.order-form .address-group h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.order-form .checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.order-form .checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

.order-form .checkbox-group label {
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
    color: var(--text-color);
    font-weight: normal;
    margin-bottom: 0;
    padding-top: 1px;
}

.order-form .form-required-notice {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
    text-align: right;
}
.form-mod-paiement {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
    text-align: left;
}
/* Styles pour le champ de date */
.order-form .date-group {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: var(--secondary-color);
    border-radius: 8px;
}

.order-form .field-info {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-top: 0.5rem;
    font-style: italic;
}

.order-form input[type="date"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

/* Ajustements pour le mode sombre */
[data-theme="dark"] .order-form input[type="date"] {
    color: var(--text-color);
    background-color: var(--primary-color);
}

/* Style pour l'icône du calendrier */
[data-theme="dark"] .order-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Style au focus */
.order-form input[type="date"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* Styles pour le champ de pièces jointes */
.order-form .file-upload {
    margin-bottom: 1.5rem;
}

.order-form .file-upload label {
    display: block;
    margin-bottom: 0.5rem;
}

.order-form .file-info {
    display: block;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 0.25rem;
}

.order-form .file-input {
        display: none;
    }

.order-form .file-drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--secondary-color);
}

.order-form .file-drop-zone:hover {
    border-color: var(--accent-color);
    background-color: var(--secondary-color);
}

.order-form .file-drop-zone.dragover {
    border-color: var(--accent-color);
    background-color: var(--secondary-color);
}

.order-form .upload-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.order-form .file-list {
    margin-top: 10px;
    max-height: 150px;
    overflow-y: auto;
}

.order-form .file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--secondary-color);
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.order-form .file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 30px);
}

.order-form .file-remove {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.order-form .file-remove:hover {
    opacity: 1;
    color: var(--accent-color);
}

[data-theme="dark"] .order-form .file-item {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Styles pour le mode sombre */
[data-theme="dark"] .order-form select,
[data-theme="dark"] .order-form input,
[data-theme="dark"] .order-form textarea {
    background-color: var(--primary-color);
    color: var(--text-color);
    border-color: var(--border-color);
}

.form-required-notice {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
}

/* Styles responsifs */
@media (max-width: 768px) {
    .order-popup .popup-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .order-form-content h2 {
        font-size: 1.5rem;
    }
    
    .order-form .form-group-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .order-form .file-item {
        padding: 8px 10px;
    }
    
    .order-form .file-name {
        font-size: 0.85rem;
    }
    
    .order-form .checkbox-group {
        align-items: flex-start;
    }
    
    .order-form .checkbox-group input[type="checkbox"] {
        margin-top: 3px;
    }
    
    /* Styles spécifiques pour les cases à cocher en mode sombre sur mobile */
    [data-theme="dark"] .order-form .checkbox-group input[type="checkbox"] {
        position: relative;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-color: var(--background-color);
        border: 2px solid var(--text-color);
        border-radius: 3px;
    }
    
    [data-theme="dark"] .order-form .checkbox-group input[type="checkbox"]:checked {
        background-color: var(--accent-color);
        border-color: var(--accent-color);
    }
    
    [data-theme="dark"] .order-form .checkbox-group input[type="checkbox"]:checked::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: var(--primary-color);
        font-size: 12px;
        font-weight: bold;
    }
}

/* Styles pour le popup de confirmation */
.confirmation-popup .popup-content {
    background: var(--primary-color);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.confirmation-popup.active .popup-content {
    transform: translateY(0);
    opacity: 1;
}

.confirmation-popup .logo-container {
    text-align: center;
    width: 100%;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.confirmation-popup .popup-logo {
    width: 280px;
    max-width: 80%;
    height: auto;
    filter: invert(0);
    animation: popupLogoAnimation 1s ease;
    transition: all 0.3s ease;
    margin: 0;
    display: block;
}

.confirmation-popup .popup-logo:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.confirmation-popup .popup-title {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.confirmation-popup .popup-message {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.confirmation-popup .popup-close {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease 0.5s both;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.confirmation-popup .popup-close::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: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.confirmation-popup .popup-close:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.confirmation-popup .popup-close:hover::before {
    width: 800px;
    height: 800px;
}

/* Mode sombre pour le popup de confirmation */
[data-theme="dark"] .confirmation-popup .popup-close {
    background: var(--accent-color);
    color: var(--primary-color);
    border: 1px solid var(--accent-color);
}

[data-theme="dark"] .confirmation-popup .popup-close:hover {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .confirmation-popup .popup-close::before {
    background: rgba(0, 0, 0, 0.2);
}

/* Animations pour le popup de confirmation */
@keyframes popupLogoAnimation {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

/* Styles responsifs pour le popup de confirmation */
@media (max-width: 768px) {
    .confirmation-popup .popup-content {
        padding: 1.5rem;
        width: 85%;
        max-width: 320px;
    }
    
    .confirmation-popup .logo-container {
        margin-bottom: 1rem;
    }
    
    .confirmation-popup .popup-logo {
        width: 200px;
        max-width: 90%;
    }
    
    .confirmation-popup .popup-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .confirmation-popup .popup-message {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
    }
    
    .confirmation-popup .popup-close {
        padding: 0.7rem 2rem;
        font-size: 0.95rem;
    }
}

/* Pour les très petits écrans mobiles */
@media (max-width: 375px) {
    .confirmation-popup .popup-content {
        padding: 1.2rem;
        width: 90%;
    }
    
    .confirmation-popup .logo-container {
        margin-bottom: 0.8rem;
    }
    
    .confirmation-popup .popup-logo {
        width: 180px;
    }
    
    .confirmation-popup .popup-title {
        font-size: 1.2rem;
    }
    
    .confirmation-popup .popup-message {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .confirmation-popup .popup-close {
        padding: 0.6rem 1.8rem;
    }
}

/* Style du bouton de fermeture pour le popup de commande */
.order-popup .close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    transition: all 0.3s ease;
}

.order-popup .close-popup:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

[data-theme="dark"] .order-popup .close-popup {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

[data-theme="dark"] .order-popup .close-popup:hover {
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .confirmation-popup .popup-logo {
    filter: invert(1);
}

/* Masquer les boutons de navigation sur les appareils tactiles */
@media (hover: none) and (pointer: coarse) {
    .gallery-nav {
        display: none;
    }
}

/* Masquer les boutons de navigation sur mobile */
@media (max-width: 768px) {
    .gallery-nav-container {
        display: none;
    }
}

.no-products {
    width: 100%;
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    color: var(--text-color);
    background-color: var(--secondary-color);
    border-radius: 8px;
    margin: 2rem 0;
}

[data-theme="dark"] .no-products {
    background-color: var(--secondary-dark);
}

/* Style pour que le bouton Commander prenne toute la largeur */
.popup-info .btn-primary {
    width: 100%;
    margin-top: 1rem;
    display: block;
    text-align: center;
}

/* Style spécifique pour le bouton d'envoi du formulaire */
.contact-form .btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Style pour le lien des conditions générales dans le formulaire de commande */
.order-form .checkbox-group label a {
    color: var(--accent-color);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.order-form .checkbox-group label a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 50%;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.order-form .checkbox-group label a:hover {
    opacity: 0.8;
}

.order-form .checkbox-group label a:hover::after {
    width: 100%;
}

/* Style du bouton de fermeture pour le popup de commande */
.order-popup .close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    transition: all 0.3s ease;
}

.order-popup .close-popup:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

[data-theme="dark"] .order-popup .close-popup {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

[data-theme="dark"] .order-popup .close-popup:hover {
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .confirmation-popup .popup-logo {
    filter: invert(1);
}

/* Masquer les boutons de navigation sur les appareils tactiles */
@media (hover: none) and (pointer: coarse) {
    .gallery-nav {
        display: none;
    }
}

/* Masquer les boutons de navigation sur mobile */
@media (max-width: 768px) {
    .gallery-nav-container {
        display: none;
    }
}

.no-products {
    width: 100%;
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    color: var(--text-color);
    background-color: var(--secondary-color);
    border-radius: 8px;
    margin: 2rem 0;
}

[data-theme="dark"] .no-products {
    background-color: var(--secondary-dark);
}

/* Style pour que le bouton Commander prenne toute la largeur */
.popup-info .btn-primary {
    width: 100%;
    margin-top: 1rem;
    display: block;
    text-align: center;
}

/* Styles pour le bouton loupe */
.search-toggle {
    padding: 0.8rem 1.5rem !important;
    border: none;
    background: var(--primary-color) !important;
    color: var(--text-color) !important;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: auto !important;
}

.search-toggle svg {
    width: 18px;
    height: 18px;
}

/* Ajouter l'effet de soulignement comme les autres boutons */
.search-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.search-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: var(--secondary-color) !important;
}

.search-toggle:hover::after {
    width: 100%;
}

/* Styles pour le popup de recherche */
.search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-popup.active {
    opacity: 1;
    visibility: visible;
}

.search-popup-content {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.search-popup.active .search-popup-content {
    transform: translateY(0);
}

.search-popup h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.search-container input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    background: var(--primary-color);
    color: var(--text-color);
}

.search-container input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.search-button {
    background: var(--accent-color);
    border: none;
    padding: 0 20px;
    border-radius: 4px;
    cursor: pointer;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-button svg {
    width: 20px;
    height: 20px;
}

.search-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.close-search {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-search:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.results-count {
    margin: 0 0 1rem;
    padding: 0.5rem;
    background: var(--secondary-color);
    border-radius: 4px;
    text-align: center;
    color: var(--text-color);
    font-size: 0.9rem;
}

.search-result-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.search-result-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.search-result-info {
    flex: 1;
    overflow: hidden;
}

.search-result-info h3 {
    margin: 0 0 0.5rem;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.search-result-info .price {
    font-weight: bold;
    margin: 0 0 0.5rem;
    color: var(--accent-color);
}

.search-result-info .description {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.4;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: var(--text-color);
    font-style: italic;
    opacity: 0.8;
}

/* Amélioration du responsive */
@media (max-width: 768px) {
    .search-result-item {
        padding: 0.8rem;
    }

    .search-result-image {
        width: 60px;
        height: 60px;
    }

    .search-result-info h3 {
        font-size: 1rem;
    }

    .search-result-info .description {
        font-size: 0.85rem;
    }
} 