body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: #fff; color: #000; margin: 0; line-height: 1.6; }

/* Grille de produits - Carré parfait */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 40px;
    border: 1px solid black;
    /* Taches dorées minimalistes (Effet peinture) */
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(212, 175, 55, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 75%, rgba(212, 175, 55, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 40%);
    background-attachment: fixed;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.luxury-card {
    background: transparent;
    border: 1px solid #D4AF37;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    animation: fadeUp 0.6s ease-out both; /* Animation d'entrée */
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
featured-section
.luxury-card:hover {
    transform: translateY(-5px);
}

.image-wrapper {
    overflow: hidden;
    margin-bottom: 15px;
    position: relative; /* Nécessaire pour le positionnement absolu de l'image hover */
}

.luxury-card .product-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background-color: #f9f9f9;
    transition: transform 0.5s ease;
}

/* Image Hover Effect */
.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.6s ease-in-out, transform 0.5s ease; /* Transition douce et luxueuse */
}

.luxury-card:hover .hover-img {
    opacity: 1;
}

.luxury-card:hover .product-image {
    transform: scale(1.05);
}

.luxury-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin: 10px 0 5px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.price { font-weight: 400; color: #666; font-size: 1rem; margin-top: 5px; display: block; }

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 8px;
}

.discount-badge {
    background-color: #D4AF37;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
    vertical-align: middle;
    font-weight: bold;
}

.view-btn {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    opacity: 0;
    transition: opacity 0.3s;
}

.luxury-card:hover .view-btn {
    opacity: 1;
}

.btn {
    display: inline-block;
    background: #000; /* Noir Luxe */
    color: #fff; /* Blanc */
    padding: 10px 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    border: none;
    margin-top: 10px;
    text-decoration: none;
    transition: background 0.3s;
}

/* Bouton "Ajouter au panier" style luxe (outline) */
.luxury-card .btn {
    background: black;
    color: white;
    /*border: 1px solid #000;*/
}

.luxury-card .btn:hover {
    background: white;
    color: #000;
}

.btn:hover { background: #f1c40f; color: #000; } /* Survol Or */

/* --- LOGIN PAGE --- */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    background: #fff;
    border: 1px solid #ddd;
    text-align: center;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
}

/* --- CARROUSEL PRODUIT --- */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Flèches de navigation (visuelles, nécessitent JS pour interaction complète ou ancres HTML) */
.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-btn {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    pointer-events: auto;
    font-size: 1.5rem;
}

/* --- BANNER LUXURY UPDATE --- */
.banner-overlay h1 {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
}

/* --- ADMIN DASHBOARD --- */
.admin-container {
    max-width: 95%; /* Largeur augmentée pour remplir l'écran */
    margin: 40px auto;
    padding: 0 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 3px solid #f1c40f; /* Soulignement Jaune */
    padding-bottom: 20px;
}

.admin-header h1 {
    font-size: 2.2rem;
    margin: 0;
    color: #000;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    background: #000;
    color: #fff;
    padding: 30px;
    border-radius: 0; /* Carré style brut */
    box-shadow: 10px 10px 0px #f1c40f; /* Ombre Jaune décalée */
    transition: transform 0.3s ease;
    border: 1px solid #000;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #f1c40f;
    margin: 10px 0 0;
    line-height: 1;
}

/* --- NOUVEAU LAYOUT DASHBOARD --- */
.dashboard-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr; /* La gauche est 2.5x plus large que la droite */
    gap: 30px;
    align-items: start;
    margin-bottom: 40px;
}

.dashboard-column {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Espace vertical entre les boites d'une même colonne */
}

.admin-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 1100px) {
    .dashboard-layout {
        grid-template-columns: 1fr; /* Passe en une seule colonne sur tablette/mobile */
    }
}

.admin-section {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.admin-section h3 {
    margin-top: 0;
    border-left: 5px solid #27ae60; /* Accent Vert */
    padding-left: 15px;
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: #000;
    text-transform: uppercase;
}

.admin-form input, .admin-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #eee;
    background: #fdfdfd;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.admin-form input:focus, .admin-form textarea:focus {
    border-color: #27ae60;
    outline: none;
}

.click-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.click-list li {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.click-list li:hover {
    background: #f9f9f9;
}

.click-list li strong {
    color: #000;
    font-size: 1.1rem;
}

.click-list li span {
    background: #000;
    color: #f1c40f;
    padding: 4px 10px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- GESTION PRODUITS & PREVIEW --- */
.full-width {
    grid-column: 1 / -1;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.product-table th {
    background: #000;
    color: #fff;
    padding: 18px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.product-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
    background: #fff;
}

.product-table tr:hover td {
    background-color: #fcfcfc;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.8rem;
    text-decoration: none;
    color: #000;
    background: #f1c40f; /* Jaune */
    margin-right: 5px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.2s;
    border: 1px solid #f1c40f;
}

.btn-small:hover {
    background: #000;
    color: #f1c40f;
    border-color: #000;
}

.btn-small.delete {
    background: transparent;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.btn-small.delete:hover {
    background: #e74c3c;
    color: #fff;
}

.image-preview-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border: 2px dashed #ddd;
}

/* --- CROPPER CONTROLS (Rotation) --- */
.cropper-controls {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: center;
    background: #fff;
    padding: 10px;
    border: 1px solid #eee;
}

.btn-rotate {
    background: #fff;
    border: 1px solid #000;
    color: #000;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-rotate:hover {
    background: #000;
    color: #D4AF37;
}

.preview-img {
    width: 160px;
    height: 90px;
    object-fit: cover;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- FLASH MODAL ALERT --- */
.flash-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.flash-box {
    background: #fff;
    padding: 40px;
    border: 3px solid #000;
    box-shadow: 15px 15px 0 #f1c40f; /* Ombre Jaune style brut */
    text-align: center;
    min-width: 350px;
}

.flash-message {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 25px;
    display: block;
}

.flash-success { color: #27ae60; }
.flash-error { color: #e74c3c; }

/* --- FEATURED SECTION (PRODUIT A LA UNE) --- */
.featured-section {
    background-color: #fff;
    color: #000;
    padding: 80px 0;
    border: 6px solid #D4AF37;
    /* Taches dorées minimalistes (Effet peinture) */
    background-image: 
        radial-gradient(circle at 90% 10%, rgba(212, 175, 55, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 10% 90%, rgba(212, 175, 55, 0.1) 0%, transparent 25%);
    background-attachment: fixed;
}


.featured-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 40px;
}

.featured-image {
    flex: 1;
}

.featured-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 1px solid #333;
    box-shadow: 20px 20px 0 #1a1a1a; /* Ombre subtile sur fond noir */
    display: block;
    margin: 0 auto;
}

.featured-content {
    flex: 1;
}

.featured-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #D4AF37;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.featured-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #333;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .featured-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .featured-image img {
        box-shadow: 10px 10px 0 #1a1a1a;
    }
}

/* --- FEATURED PRICE --- */
.featured-price {
    font-size: 2rem;
    color: #D4AF37;
    font-weight: bold;
    margin: -10px 0 20px 0;
}

/* --- PRODUCT DETAIL PAGE --- */
.product-detail-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Image plus large que le texte */
    gap: 60px;
    padding: 40px 0;
    align-items: start;
}

/* Wrapper pour le slider mobile et la grille desktop */
.product-media-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Cache les contrôles slider sur Desktop */
.slider-arrow, .slider-dots { display: none; }

.product-detail-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch; /* Prend toute la largeur */
}

.main-image-container {
    width: 100%;
    max-width: none; /* Plus de limite de taille sur PC */
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    margin-bottom: 20px; /* Espacement vertical sur PC */
}

.main-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid #eee;
    aspect-ratio: 16/9;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.thumbnail-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumbnail {
    width: 80px;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #ddd;
    opacity: 0.6;
    transition: all 0.3s;
}

.thumbnail:hover {
    opacity: 1;
    border-color: #000;
}

.product-detail-info {
    position: sticky;
    top: 120px; /* Reste fixe au scroll */
    height: fit-content;
}

.product-detail-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
    font-weight: 400;
}

.detail-price {
    font-size: 2rem;
    color: #000; /* Noir pour l'élégance, ou garder or si préféré */
    font-weight: bold;
    margin-bottom: 30px;
    display: block;
}

.detail-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-right: 10px;
}

.detail-description {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
    white-space: pre-line; /* Conserve les sauts de ligne */
}

.btn-large {
    padding: 18px 50px;
    font-size: 1rem;
    letter-spacing: 2px;
    width: 100%;
    text-align: center;
    background: #000;
    border: 1px solid #000;
}

.btn-large:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 900px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Transformation en Slider sur Mobile */
    .product-media-wrapper {
        width: 100%;
        overflow: hidden; /* Contient les flèches */
    }
    .product-detail-images {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding-bottom: 10px; /* Espace pour le scroll tactile */
        scrollbar-width: none; /* Cache scrollbar Firefox */
    }
    .product-detail-images::-webkit-scrollbar { display: none; } /* Cache scrollbar Chrome/Safari */

    .main-image-container, .product-video-container {
        min-width: 100%; /* Prend toute la largeur de l'écran */
        max-width: 100%;
        margin: 0;
        scroll-snap-align: center; /* L'image se cale au centre */
        flex-shrink: 0;
    }

    /* Contrôles Slider Mobile */
    .slider-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 45%; /* Centré verticalement sur l'image */
        transform: translateY(-50%);
        background-color: rgba(255, 255, 255, 0.8);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        color: #000;
    }
    .slider-arrow.prev { left: 10px; }
    .slider-arrow.next { right: 10px; }

    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 15px;
    }
    .slider-dot {
        width: 10px;
        height: 10px;
        background-color: #ddd;
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    .slider-dot.active {
        background-color: #000;
        transform: scale(1.2);
    }

    .product-detail-info {
        position: static;
    }
    .product-detail-info h1 {
        font-size: 1.8rem; /* Taille réduite sur mobile */
    }
}

/* --- VALUES SECTION (ATTRACTION) --- */
.values-section {
    background-color: #fff;
    color: #000;
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid #f5f5f5;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
}

.values-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #000;
    letter-spacing: 1px;
    position: relative;
}

.values-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: #D4AF37;
    margin: 20px auto 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-item {
    padding: 30px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: #D4AF37;
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    color: #D4AF37;
    margin-bottom: 20px;
}

.value-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.value-item p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* --- FAQ SECTION --- */
.faq-section {
    background-color: #f9f9f9; /* Gris très clair pour contraste */
    color: #000;
    padding: 100px 20px;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.faq-grid {
    display: grid;
    gap: 30px;
}

.faq-item {
    background: #fff;
    padding: 35px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: #f1c40f;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #000;
    font-weight: bold;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}

/* --- VIDEO BRAND SECTION --- */
.video-brand-section {
    position: relative;
    width: 100%;
    height: 600px; /* Hauteur imposante */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.bg-video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    z-index: 1;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); /* Assombrir pour lire le texte */
    z-index: 2;
}

.video-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.video-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.video-content p {
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* --- PRODUCT VIDEO --- */
.product-video-container {
    margin-top: 30px;
    width: 100%;
    border: 1px solid #eee;
}































/* FOOTER */
footer {
    margin-top: auto;
    background-color: #000;
    color: #fff;
    padding: 80px 20px 40px;
    text-align: center;
    border-top: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-logo img {
    height: 60px;
    width: auto;

}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f1c40f;
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    text-align: left;
}

.copyright p {
    margin: 0;
    color: #666;
    font-size: 0.8rem;
}

.payment-methods {
    display: flex;
    gap: 15px;
    align-items: center;
}

.payment-icon {
    height: 30px;
    width: auto;
    background: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.payment-icon:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 5px;
        margin-left: -10px;
        margin-right: -10px;
    }
    .luxury-card {
        padding: 5px;
    }
    .luxury-card h3 {
        font-size: 0.85rem;
        margin: 5px 0 2px;
    }
    .luxury-card .btn {
        font-size: 0.7rem;
        padding: 8px 0;
    }
}

/* --- CART PAGE STYLES --- */
.cart-page-container {
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.cart-item {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    align-items: center;
    justify-content: space-between;
}

.cart-item-info {
    display: flex;
    align-items: center;
}

.cart-item-image {
    width: 160px;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    margin-right: 20px;
}

.cart-item-title {
    margin: 0 0 5px 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

.cart-item-unit-price {
    color: #666;
    margin: 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cart-update-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-qty-input {
    width: 50px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ccc;
}

.cart-refresh-btn {
    padding: 8px 12px;
    margin: 0;
    font-size: 0.8rem;
}

.cart-price-block {
    text-align: right;
    min-width: 100px;
}

.cart-subtotal-price {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 0 5px 0;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 5px;
}

.cart-total-section {
    text-align: right;
    margin-top: 20px;
}

.cart-checkout-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 40px;
    cursor: pointer;
    text-transform: uppercase;
}

/* Responsive Cart */
@media (max-width: 768px) {
    .cart-page-container {
        padding: 20px;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .cart-item-info {
        width: 100%;
    }
    
    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
        gap: 0;
    }
    
    .cart-item-image {
        width: 120px;
        height: auto;
        aspect-ratio: 16/9;
    }
    
    .cart-price-block {
        text-align: right;
    }
}

/* --- GOOGLE TRANSLATE --- */
/* Cache la barre du haut Google de manière plus agressive */
.goog-te-banner-frame { display: none !important; }
iframe.goog-te-banner-frame { display: none !important; }
/* Cache la barre spécifique identifiée via l'inspecteur */
.VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
iframe.skiptranslate { display: none !important; }
body { top: 0px !important; }

/* Cache le widget sélecteur par défaut (car on utilise tes boutons custom) */
#google_translate_element { display: none; }

/* --- LANGUAGE MODAL --- */
.lang-modal {
    display: none; /* Caché par défaut, activé par JS */
    position: fixed;
    z-index: 99999; /* Au-dessus de tout */
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: #fff; /* Fond blanc opaque */
    justify-content: center;
    align-items: center;
}

.lang-modal-content {
    background-color: #fff;
    padding: 50px;
    text-align: center;
    border: none;
    max-width: none;
    width: 100%;
    height: 100%;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lang-logo {
    height: 150px;
    margin-bottom: 30px;
    background: #000;
    padding: 15px;
    border-radius: 5px;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin-top: 50px;
}

/* Option de langue individuelle */
.lang-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-right: 1px solid #eee; /* Séparateur vertical */
}

.lang-option:last-child {
    border-right: none;
}

.lang-option h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 10px;
    color: #000;
}

.lang-option p {
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.lang-option button {
    padding: 15px 30px;
    font-size: 1rem;
    cursor: pointer;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    text-transform: uppercase;
    transition: all 0.3s;
    width: 100%;
    max-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lang-option button:hover {
    background: #D4AF37;
    color: #000;
    border-color: #D4AF37;
}

.fi {
    font-size: 1.5rem;
    margin-right: 10px;
}

@media (max-width: 900px) {
    .lang-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }
    
    .lang-option {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 15px;
        padding-bottom: 15px;
    }
    
    .lang-option:last-child {
        border-bottom: none;
    }

    .lang-modal-content {
        padding: 80px 20px 40px;
        width: 100%;
        max-height: 100vh;
        overflow-y: auto;
        justify-content: flex-start;
    }
}

/* --- SEO PREVIEW (Google Snippet) --- */
.seo-preview-container {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.seo-preview-label {
    font-size: 0.85rem;
    font-weight: bold;
    color: #5f6368;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

.google-snippet {
    font-family: arial, sans-serif;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    max-width: 600px;
}

.google-title {
    color: #1a0dab;
    font-size: 20px;
    line-height: 1.3;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.google-title:hover {
    text-decoration: underline;
}

.google-url {
    color: #202124;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 2px;
}

.google-desc {
    color: #4d5156;
    font-size: 14px;
    line-height: 1.58;
    word-wrap: break-word;
}

/* --- PRODUCT LOADER --- */
.product-loader {
    grid-column: 1 / -1; /* Prend toute la largeur de la grille */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    min-height: 300px;
    border-radius: 4px;
}

.loading-logo {
    width: 120px;
    height: auto;
    animation: luxuryPulse 2s infinite ease-in-out;

}

@keyframes luxuryPulse {
    0% { transform: scale(1); opacity: 0.5; filter: invert(1) drop-shadow(0 0 0 rgba(212, 175, 55, 0)); }
    50% { transform: scale(1.1); opacity: 1; filter: invert(1) drop-shadow(0 0 20px rgba(212, 175, 55, 0.8)); }
    100% { transform: scale(1); opacity: 0.5; filter: invert(1) drop-shadow(0 0 0 rgba(212, 175, 55, 0)); }
}

/* --- BUTTON LOADER --- */
.btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    vertical-align: middle;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- WISHLIST --- */
/* Bouton Coeur sur la carte produit */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #ccc; /* Gris par défaut */
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.wishlist-btn:hover {
    transform: scale(1.1);
    color: #e74c3c;
}
.wishlist-btn.active {
    color: #e74c3c; /* Rouge si actif */
}

/* Bouton Flottant Wishlist (PC & Mobile) */
.floating-wishlist {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #fff;
    color: #000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 999;
    border: 2px solid #D4AF37;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
}
.floating-wishlist:hover {
    transform: scale(1.1);
}
.wishlist-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: #fff;
    font-size: 0.8rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid #fff;
}

@media (max-width: 768px) {
    .floating-wishlist {
        bottom: 90px; /* Un peu plus haut sur mobile pour éviter les barres de nav */
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
