/* =================================================================
   PUBLIC STYLES - Maison Marti
   Design minimaliste pour toutes les pages publiques
   Requires: global.css
   ================================================================= */

:root {
    --animation-speed: 0.125s;
    --animation-easing: cubic-bezier(0.4, 0, 0.2, 1);
    --logo-fade-speed: 0.5s;
}

/* =================================================================
   BLOC FLOTTANT VENTE PRIVÉE
   ================================================================= */

.vente-privee-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--cream);
    color: #3d2617;
    transition: all var(--animation-speed) var(--animation-easing);
    cursor: default;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* État initial (étendu) */
.vente-privee-float:not(.scrolled) {
    width: 240px;
    padding: 10px 10px;
}

/* État scroll (compact - carré) */
.vente-privee-float.scrolled {
    width: 60px;
    height: 60px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* État hover sur le carré - réexpansion */
.vente-privee-float.scrolled.hover-expanded {
    width: 240px;
    height: auto;
    padding: 10px 10px;
    justify-content: flex-start;
}

.vente-privee-float.scrolled.hover-expanded .float-content {
    gap: 12px;
}

.vente-privee-float.scrolled.hover-expanded .float-text {
    opacity: 1;
    transform: scale(1);
    width: auto;
}

.vente-privee-float.scrolled.hover-expanded .float-close {
    opacity: 0.6;
    pointer-events: auto;
}

/* Contenu du bloc */
.float-content {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--animation-speed) var(--animation-easing);
}

.vente-privee-float.scrolled .float-content {
    gap: 0;
}

/* Logo */
.float-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all var(--animation-speed) var(--animation-easing);
    border: 1px solid rgba(61, 38, 23, 0.1);
}

.float-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Texte */
.float-text {
    flex: 1;
    min-width: 0;
    transition: opacity var(--animation-speed) var(--animation-easing),
        transform var(--animation-speed) var(--animation-easing);
}

.vente-privee-float.scrolled .float-text {
    opacity: 0;
    transform: scale(0);
    width: 0;
    overflow: hidden;
}

.float-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    font-weight: 500;
    margin: 0 0 4px 0;
    line-height: 1;
}

.float-name {
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Indira K', serif;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bouton fermer */
.float-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    background: transparent;
    color: #3d2617;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: all var(--animation-speed) var(--animation-easing);
    opacity: 0.6;
    padding: 0;
}

.vente-privee-float.scrolled .float-close {
    opacity: 0;
    pointer-events: none;
}

.float-close:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Responsive mobile */
@media (max-width: 768px) {
    .vente-privee-float {
        bottom: 15px;
        right: 15px;
    }

    .vente-privee-float:not(.scrolled) {
        width: 240px;
        padding: 8px 8px;
    }

    .float-logo {
        width: 40px;
        height: 40px;
    }

    .vente-privee-float.scrolled {
        width: 50px;
        height: 50px;
    }

    /* État hover sur mobile */
    .vente-privee-float.scrolled.hover-expanded {
        width: 240px;
        height: auto;
        padding: 8px 8px;
    }

    .float-label {
        font-size: 0.65rem;
    }

    .float-name {
        font-size: 0.9rem;
    }
}

/* =================================================================
   HEADER MODERNE - Transparent avec apparition au scroll/hover
   ================================================================= */

/* Conteneur sticky EXACTEMENT */
.header-section {
    position: sticky;
    top: -1px;
    z-index: 100;
}

.header-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* Par défaut : fond crème (pour les autres pages) */
    background: var(--cream);
    box-shadow: none;
    border-bottom: none;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.25s ease,
        box-shadow 0.25s ease;
    /* IMPORTANT: Ne pas utiliser will-change: transform car ça casse le position: fixed des enfants */
}

/* Sur la page d'accueil : transparent par défaut */
body[data-page-type="home"] .header-modern {
    background: transparent;
    box-shadow: none;
}

/* État actif : header avec fond crème (quand on scroll vers le haut) */
body[data-page-type="home"] .header-modern[data-state="active"] {
    background: var(--cream);
    box-shadow: none;
    transform: translateY(0);
}

/* Couleurs marron foncé quand fond crème (état actif) */
body[data-page-type="home"] .header-modern[data-state="active"] .logo-text {
    color: #3d2617;
    text-shadow: none;
}

body[data-page-type="home"] .header-modern[data-state="active"] .burger-line {
    background: #3d2617;
}

body[data-page-type="home"] .header-modern[data-state="active"] .cart-icon {
    color: #3d2617;
}

/* État caché : header disparaît vers le haut (quand on scroll vers le bas) */
.header-modern[data-state="hidden"] {
    transform: translateY(-100%);
}

/* État inactif : header visible et transparent */
.header-modern[data-state="inactive"] {
    transform: translateY(0);
}

/* Autres pages : header toujours avec fond crème */
body[data-page-type="other"] .header-modern {
    background: var(--cream);
    box-shadow: none;
}

/* Sur les autres pages, tous les états gardent le fond crème */
body[data-page-type="other"] .header-modern[data-state="inactive"],
body[data-page-type="other"] .header-modern[data-state="active"],
body[data-page-type="other"] .header-modern[data-state="hidden"] {
    background: var(--cream);
    box-shadow: none;
}

/* Couleurs marron foncé sur les autres pages (toujours fond crème) */
body[data-page-type="other"] .logo-text {
    color: #3d2617;
    text-shadow: none;
}

body[data-page-type="other"] .burger-line {
    background: #3d2617;
}

body[data-page-type="other"] .cart-icon {
    color: #3d2617;
}

/* Hover sur page d'accueil uniquement */
body[data-page-type="home"] .header-modern:hover {
    background: var(--cream);
    box-shadow: none;
}

body[data-page-type="home"] .header-modern:hover .logo-text {
    color: #3d2617;
    text-shadow: none;
}

body[data-page-type="home"] .header-modern:hover .burger-line {
    background: #3d2617;
}

body[data-page-type="home"] .header-modern:hover .cart-icon {
    color: #3d2617;
}


.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Menu Burger - À gauche */
.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 102;
    transition: all 0.3s ease;
    order: 1;
    /* Fix iOS Safari - rendre le bouton tactile "clickable" */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    transition: background-color var(--animation-speed) var(--animation-easing),
        transform 0.3s ease;
}

/* Burger en marron quand header scrollé */
.header-modern.header-scrolled .burger-line {
    background: #3d2617;
}


/* Logo - Au centre */
.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 101;
    /* z-index plus bas que les boutons (102) pour ne pas les bloquer */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    order: 2;
    pointer-events: auto;
    /* Le logo est cliquable */
}

.logo-text {
    font-family: 'Indira K', serif;
    font-size: 2rem;
    color: var(--cream);
    letter-spacing: -0.5px;
    transition: color var(--logo-fade-speed) var(--animation-easing),
        text-shadow var(--logo-fade-speed) var(--animation-easing);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Logo en marron quand header scrollé */
.header-modern.header-scrolled .logo-text {
    color: #3d2617;
    text-shadow: none;
}

/* Bouton Panier - À droite */
.cart-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    order: 3;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 102;
    /* Même z-index que le burger menu pour être cliquable */
    /* Fix iOS Safari - rendre l'élément tactile "clickable" */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}


.cart-icon {
    width: 32px;
    height: 32px;
    color: var(--cream);
    transition: color var(--animation-speed) var(--animation-easing);
    stroke-width: 1.5;
}

/* Panier en marron quand header scrollé */
.header-modern.header-scrolled .cart-icon {
    color: #3d2617;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* =================================================================
   MENU NAVIGATION LATÉRAL
   ================================================================= */

.mobile-nav {
    /* Positionnement fixe - couvre tout l'écran y compris safe-area */
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 25%;
    z-index: 9999;

    /* Apparence */
    background: var(--cream);
    box-shadow: none;

    /* Scroll */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;

    /* État fermé par défaut */
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;

    /* Transitions */
    transition: transform 0.2s ease,
        visibility 0.2s ease,
        opacity 0.2s ease;

    /* Fix iOS Safari */
    -webkit-transform: translateX(-100%);
    will-change: transform, opacity, visibility;

    /* Zone de sécurité iOS - padding pour le contenu */
    padding-bottom: env(safe-area-inset-bottom);
}

/* État ouvert */
.mobile-nav.active {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    visibility: visible;
    opacity: 1;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

/* Overlay sombre quand menu ouvert */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 9998;
    /* En dessous des menus (9999) mais au-dessus du header (100) */
    /* Fix iOS Safari - rendre l'overlay tactile */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    touch-action: manipulation;
    cursor: pointer;
}

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

/* Sur mobile, pas besoin d'overlay car le menu prend tout l'écran */
@media (max-width: 599px) {
    .mobile-nav-overlay {
        display: none;
    }
}

/* Bloquer le scroll quand le menu est ouvert */
html.menu-locked,
body.menu-locked {
    overflow: hidden !important;
    overscroll-behavior: none;
}

html.menu-locked body {
    touch-action: none;
}

.mobile-nav-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

/* Bouton fermer */
.mobile-nav-close {
    padding: 2rem 2rem 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.close-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3d2617;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    /* Fix iOS Safari - rendre le bouton tactile "clickable" */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.close-icon {
    width: 24px;
    height: 24px;
}

/* Liens principaux */
.mobile-nav-main {
    flex: 1;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    overflow-y: auto;
    min-height: 0;
}

.mobile-link {
    color: #3d2617;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Liens secondaires en bas */
.mobile-nav-secondary {
    padding: 1.5rem 2rem 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border-top: 1px solid rgba(61, 38, 23, 0.15);
    flex-shrink: 0;
}

.mobile-link-secondary {
    color: #3d2617;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    opacity: 0.8;
}

.nav-exit {
    color: #c62828 !important;
    font-weight: 500;
}


/* =================================================================
   PANIER LATÉRAL
   ================================================================= */

.cart-sidebar {
    /* Positionnement fixe - couvre tout l'écran y compris safe-area */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 35%;
    z-index: 9999;

    /* Apparence */
    background: var(--cream);
    box-shadow: none;

    /* Scroll */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;

    /* État fermé par défaut */
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;

    /* Transitions */
    transition: transform 0.2s ease,
        visibility 0.2s ease,
        opacity 0.2s ease;

    /* Fix iOS Safari */
    -webkit-transform: translateX(100%);
    will-change: transform, opacity, visibility;

    /* Zone de sécurité iOS - padding pour le contenu */
    padding-bottom: env(safe-area-inset-bottom);
}

/* État ouvert */
.cart-sidebar.active {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    visibility: visible;
    opacity: 1;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

/* Overlay pour le panier */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 9998;
    /* En dessous des menus (9999) mais au-dessus du header (100) */
    /* Fix iOS Safari - rendre l'overlay tactile */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    touch-action: manipulation;
    cursor: pointer;
}

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

/* Sur mobile, pas besoin d'overlay car le panier prend tout l'écran */
@media (max-width: 599px) {
    .cart-overlay {
        display: none;
    }
}

/* Contenu du panier */
.cart-sidebar-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

/* En-tête du panier */
.cart-sidebar-header {
    padding: 2rem 2rem 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-sidebar-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-brown);
    margin: 0;
}

.cart-count-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #c9a66b;
    font-weight: 600;
}

.cart-sidebar-header .close-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3d2617;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Zone des articles */
.cart-sidebar-items {
    flex: 1;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    overflow-y: auto;
    min-height: 0;
}

.cart-empty-message {
    text-align: center;
    color: #3d2617;
    opacity: 0.6;
    padding: 3rem 1rem;
    font-size: 1rem;
}

/* Article du panier */
.cart-sidebar-item {
    padding: 0;
    /*border: 1px solid var(--primary-brown);*/
    border-radius: 0;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0;
    align-items: stretch;
    min-height: 120px;
}

/* Image du produit - à gauche, toute la hauteur */
.cart-sidebar-item-image {
    flex-shrink: 0;
    width: 100px;
    border-radius: 0;
    overflow: hidden;
    background: var(--cream);
}

.cart-sidebar-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Container des détails - prend tout l'espace restant */
.cart-sidebar-item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}

/* Header: Nom/Poids à gauche, Prix à droite */
.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.cart-item-left {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--primary-brown);
    margin: 0 0 0.15rem 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* Variante (poids) - directement sous le nom */
.cart-item-variant {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--primary-brown);
    margin: 0;
    line-height: 1.2;
}

.cart-item-price {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--primary-brown);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    white-space: nowrap;
    align-self: flex-start;
}

/* Footer: Quantité + Bouton supprimer alignés */
.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Contrôles de quantité */
.cart-item-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--primary-brown);
    border-radius: 0;
    padding: 0.4rem 0.6rem;
}

.cart-qty-btn {
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    color: var(--primary-brown);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cart-qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.cart-qty-value {
    min-width: 28px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--primary-brown);
    font-weight: 500;
    padding: 0 0.3rem;
}

/* Bouton supprimer */
.cart-item-remove {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer du panier - Mêmes marges que le menu burger */
.cart-sidebar-footer {
    padding: 1.5rem 2rem 4rem 2rem;
    border-top: 1px solid rgba(61, 38, 23, 0.15);
    flex-shrink: 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(61, 38, 23, 0.1);
}

.cart-total-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-brown);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-total-price {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-brown);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cart-checkout {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    color: var(--primary-brown);
    border: 1px solid var(--primary-brown);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-cart-checkout:hover {
    background: var(--primary-brown);
    color: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 38, 23, 0.3);
}

/* Responsive */
@media (max-width: 968px) {
    .header-container {
        padding: 0 1.5rem;
        height: 70px;
    }

    .product-main {
        padding-top: 70px;
    }

    .logo-text {
        font-size: 1.75rem;
    }

    /* Menu pleine largeur sur tablette */
    .mobile-nav {
        width: 40%;
        /* Transform déjà défini dans les styles de base */
    }

    /* Panier sur tablette */
    .cart-sidebar {
        width: 50%;
        /* Transform déjà défini dans les styles de base */
    }
}

/* iPad et tablettes en mode paysage (hauteur limitée) */
@media (max-height: 600px) and (min-width: 768px) {
    .mobile-nav-close {
        padding: 1rem 2rem 0.5rem 2rem;
    }

    .mobile-nav-main {
        padding: 0.5rem 2rem;
        gap: 0.25rem;
    }

    .mobile-link {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }

    .mobile-nav-secondary {
        padding: 1rem 2rem 1.5rem 2rem;
        gap: 0.25rem;
    }

    .mobile-link-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .close-button {
        font-size: 0.85rem;
    }

    .close-icon {
        width: 20px;
        height: 20px;
    }
}

/* Tablettes et iPads - Panier à 60% */
@media (min-width: 769px) and (max-width: 1024px) {
    .cart-sidebar {
        width: 60%;
    }
}

/* Petites tablettes - Panier à 70% */
@media (min-width: 600px) and (max-width: 768px) {
    .cart-sidebar {
        width: 70%;
    }
}

/* Mobile - Panier plein écran */
@media (max-width: 599px) {

    /* Menu plein écran sur mobile */
    .mobile-nav {
        width: 100%;
    }

    /* Panier plein écran sur mobile */
    .cart-sidebar {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
        height: 65px;
    }

    .product-main {
        padding-top: 65px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .cart-icon {
        width: 28px;
        height: 28px;
    }
}

/* =================================================================
   HERO SECTION
   ================================================================= */

.hero-new {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5A2E1A 0%, var(--primary-brown) 50%, #201E14 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: radial-gradient(circle at center, rgba(201, 166, 107, 0.1) 0%, transparent 70%);*/
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(239, 227, 211, 0.85);
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: var(--terracotta);
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    border-radius: 24px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--terracotta);
}

.hero-cta:hover {
    background: transparent;
    border-color: var(--cream);
    /* transform: translateY(-3px); */
}

/* =================================================================
   SECTIONS PRODUITS
   ================================================================= */

.produits-new {
    padding: 5rem 0;
    background: var(--white);
}

.container-new {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title-new {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    color: var(--primary-brown);
    margin-bottom: 3rem;
    letter-spacing: 0.3px;
}

.produits-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Lien englobant la carte produit */
.produit-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.produit-card-new {
    position: relative;
    overflow: hidden;
    /* border-radius: 8px; */
    background: white;
    border: 1px solid var(--border-light);
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
}

.card-image-new {
    position: relative;
    width: 100%;
    aspect-ratio: 4/4;
    overflow: hidden;
    background: var(--cream);
}

.card-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge-new {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-brown);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-badge-new.badge-produit {
    background: rgba(201, 166, 107, 0.95);
    color: white;
}

.card-badge-new.badge-experience {
    background: rgba(61, 38, 23, 0.95);
    color: white;
}

.card-content-new {
    padding: 1rem 1.5rem 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Ligne 1: Nom + Poids */
.card-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.card-title-new {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--primary-brown);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    font-weight: 500;
    flex: 1;
}

/* Sélecteur de poids inline */
.card-weight-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.weight-radio {
    display: none;
}

.weight-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--primary-brown);
    font-weight: 500;
    padding: 0.25rem 0.50rem;
    border: 1px solid var(--primary-brown);
    background: transparent;
    cursor: pointer;
    border-radius: 0;
}

.weight-label:hover:not(.disabled) {
    border-width: 2px;
}

.weight-radio:checked+.weight-label {
    border-width: 2px;
}

.weight-label.disabled {
    background: #f5f5f5;
    color: #999;
    border-color: #ccc;
    cursor: not-allowed;
}

.weight-radio:disabled+.weight-label {
    background: #f5f5f5;
    color: #999;
    border-color: #ccc;
    cursor: not-allowed;
}

.weight-separator {
    font-family: 'Inter', sans-serif;
    color: var(--primary-brown);
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Ligne 2: Prix + Bouton */
.card-row-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.card-price-new {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--primary-brown);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.btn-add-to-cart-simple {
    width: 100%;
    padding: 0.75rem 0.5rem;
    background: var(--primary-brown);
    color: var(--cream);
    border: 1px solid var(--primary-brown);
    border-radius: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-add-to-cart-simple:hover:not(:disabled) {
    background: transparent;
    color: var(--primary-brown);
}

.btn-add-to-cart-simple:hover:not(:disabled) .cart-icon-simple {
    color: var(--primary-brown);
}

.btn-add-to-cart-simple:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-icon-simple {
    width: 16px;
    height: 16px;
    color: var(--cream);
    stroke-width: 2;
}

.card-dates-new {
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.card-description-new {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.btn-new {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: var(--accent-gold);
    color: white;
    text-decoration: none;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-new:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 166, 107, 0.3);
}

.no-produits-new {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* =================================================================
   SECTION INSTAGRAM
   ================================================================= */

.instagram-section-new {
    padding: 5rem 0;
    background: var(--cream);
    text-align: center;
}

.instagram-subtitle-new {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.instagram-cta-new {
    margin-top: 1.5rem;
}

.btn-instagram-new {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 24px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(188, 24, 136, 0.3);
}

.btn-instagram-new:hover {
    transform: translateY(-1px);
    /* border: 2px solid var(--terracotta); */
    /* color: var(--terracotta); */
}

/* =================================================================
   FOOTER
   ================================================================= */

.footer {
    background-color: var(--primary-brown);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(201, 166, 107, 0.4));
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.footer-legal-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.footer-legal-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.footer-separator {
    opacity: 0.4;
}

.footer-copyright {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-dev {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    font-size: 0.7rem;
    transition: opacity 0.3s ease;
}

.footer-dev:hover {
    opacity: 0.7;
}

.footer-dev .admin-link img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* =================================================================
   PANIER (CART)
   ================================================================= */

.cart-page {
    min-height: 80vh;
    padding: 3rem 0;
}

.cart-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-header h1 {
    color: var(--dark-coffee);
    margin-bottom: 0.5rem;
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 4px var(--shadow);
}

.cart-empty h2 {
    color: var(--smoky-gray);
    margin-bottom: 2rem;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: 0 1px 4px var(--shadow);
}

.cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e8e8e8;
    align-items: center;
}

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

.item-image {
    width: 80px;
    height: 80px;
    background: #f4f4f4;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--smoky-gray);
}

.item-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.item-variant {
    color: var(--smoky-gray);
    font-size: 0.9rem;
}

.item-reference {
    color: var(--smoky-gray);
    font-size: 0.85rem;
}

.item-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn-small {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-gold);
    background: white;
    color: var(--accent-gold);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.qty-btn-small:hover {
    background: var(--accent-gold);
    color: white;
}

.qty-btn-small:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.qty-input-small {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 0.5rem;
    border-radius: 5px;
}

.item-remove {
    color: #dc3545;
    cursor: pointer;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.item-remove:hover {
    color: #a71d2a;
}

.cart-summary {
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: 0 1px 4px var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 1rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-top: 2px solid var(--accent-gold);
    margin-top: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-btn:not(:disabled):hover {
    background: var(--accent-gold-hover);
}

.continue-shopping {
    text-align: center;
    margin-top: 1rem;
}

.continue-shopping a {
    color: var(--accent-gold);
    text-decoration: none;
}

.continue-shopping a:hover {
    text-decoration: underline;
}

/* =================================================================
   PRODUIT DETAIL
   ================================================================= */

.detail-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(201, 166, 107, 0.9), transparent);
    padding: 2rem;
    color: var(--white);
}

.detail-hero-overlay h1 {
    color: var(--cream);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.detail-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 4rem;
}

.detail-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--smoky-gray);
}

.meta-item strong {
    color: var(--dark-coffee);
}

.detail-description {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--smoky-gray);
    margin-bottom: 2rem;
}

.detail-price {
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin: 2rem 0;
}

.detail-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--accent-gold-hover);
}

.prestashop-product {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 1px 4px var(--shadow);
    padding: 2rem;
    margin: 2rem 0;
}

.prestashop-product h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-label {
    font-weight: 600;
    color: var(--smoky-gray);
}

.price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.product-stock {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    display: inline-block;
    width: fit-content;
}

.product-stock.in-stock {
    background: #e8f5e9;
    color: #2e7d32;
}

.product-stock.out-of-stock {
    background: #ffebee;
    color: #c62828;
}

.product-combinations {
    margin-bottom: 2rem;
}

.combinations-label {
    display: block;
    font-weight: 600;
    color: var(--dark-coffee);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.combinations-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.combination-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.combination-option:hover {
    border-color: var(--accent-gold);
    background: #fefbf7;
}

.combination-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f4f4f4;
}

.combination-option input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    accent-color: var(--accent-gold);
}

.combination-option:has(input:checked) {
    border-color: var(--accent-gold);
    background: #fefbf7;
    border-width: 2px;
    box-shadow: 0 0 0 1px var(--accent-gold);
}

.option-label {
    flex: 1;
    font-size: 1rem;
}

.option-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-right: 0.5rem;
}

.option-stock-label {
    font-size: 0.9rem;
    color: #721c24;
}

.quantity-selector {
    margin: 1.5rem 0;
}

.quantity-selector label {
    display: block;
    font-weight: 600;
    color: var(--dark-coffee);
    margin-bottom: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--accent-gold);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-1px);
}

.quantity-input {
    width: 80px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

/* =================================================================
   COMMANDE (CHECKOUT)
   ================================================================= */

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.checkout-form {
    background: white;
    /*border: 1px solid var(--border);*/
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 1px 4px var(--shadow);
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.delivery-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.delivery-option {
    flex: 1;
    padding: 1.5rem;
    border: 2px solid var(--cream);
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.delivery-option:hover {
    border-color: var(--accent-gold);
    background: #fef8f5;
}

.delivery-option input[type="radio"] {
    display: none;
}

.delivery-option:has(input:checked) {
    border-color: var(--accent-gold);
    background: #fef8f5;
    border-width: 3px;
}

.delivery-option .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.delivery-option label {
    cursor: pointer;
    margin: 0;
}

.delivery-option .price {
    color: var(--smoky-gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.delivery-section {
    display: none;
}

.delivery-section.active {
    display: block;
}

.order-summary {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 1px 4px var(--shadow);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--cream);
}

.summary-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0px;
}

.summary-item-info {
    flex: 1;
}

.summary-item-name {
    font-weight: 500;
    color: var(--text-dark);
}

.summary-item-variant {
    font-size: 0.9rem;
    color: var(--smoky-gray);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.time-slot {
    padding: 0.75rem;
    border: 2px solid var(--cream);
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.time-slot:hover {
    border-color: var(--accent-gold);
    background: #fef8f5;
}

.time-slot input[type="radio"] {
    display: none;
}

.time-slot:has(input:checked) {
    border-color: var(--accent-gold);
    background: #fef8f5;
    border-width: 3px;
}

.time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =================================================================
   PAIEMENT & CONFIRMATION
   ================================================================= */

.payment-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
}

.payment-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px var(--shadow);
    text-align: center;
}

.payment-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.payment-card h1 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.order-number {
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 2rem;
}

.payment-info {
    background: var(--cream);
    padding: 2rem;
    border-radius: 6px;
    margin: 2rem 0;
    text-align: left;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.info-row:last-child {
    border-bottom: none;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
    padding-top: 1.5rem;
}

.payment-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
}

/* =================================================================
   ORDER PROGRESS BAR
   ================================================================= */

.order-progress {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-progress--segments {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

.order-progress-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

.order-progress-segment {
    height: 14px;
    border-radius: 999px;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.order-progress-segment.is-active {
    background: linear-gradient(135deg, rgba(199, 85, 26, 0.95), rgba(163, 79, 47, 0.95));
}

.order-progress-segment.is-complete {
    background: linear-gradient(135deg, rgba(73, 173, 100, 1), rgba(56, 148, 79, 1));
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.order-progress-labels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    text-align: center;
}

.order-progress-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(58, 42, 31, 0.5);
    font-weight: 500;
    line-height: 1.4;
}

.order-progress-label.is-active {
    color: var(--terracotta);
    font-weight: 650;
}

.order-progress-label.is-complete {
    color: #4CAF50;
    font-weight: 650;
}

/* =================================================================
   SUIVI COMMANDE
   ================================================================= */

.tracking-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tracking-form h2 {
    text-align: center;
    color: var(--chocolate);
    margin-bottom: 1.5rem;
}

.order-details {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.order-header {
    text-align: center;
    margin-bottom: 2rem;
}

.order-header h1 {
    color: var(--chocolate);
    margin-bottom: 0.5rem;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--terracotta);
}

.info-card h3 {
    margin: 0 0 1rem 0;
    color: var(--chocolate);
    font-size: 1rem;
}

.info-card p {
    margin: 0.5rem 0;
    color: var(--smoky-gray);
}

.info-card strong {
    color: var(--chocolate);
}

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

@media (max-width: 1200px) {
    .produits-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Hero mobile */
    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 3rem;
    }

    /* Sections */
    .produits-new,
    .instagram-section-new {
        padding: 3rem 0;
    }

    .produits-grid-new {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-image-new {
        aspect-ratio: 8/4;
    }

    /* Cart mobile */
    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }

    .item-quantity {
        grid-column: 1 / -1;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .cart-summary {
        position: static;
    }

    /* Produit mobile */
    .detail-hero {
        height: 300px;
    }

    .detail-hero-overlay h1 {
        font-size: 2rem;
    }

    .combination-option {
        flex-wrap: wrap;
    }

    .detail-actions {
        flex-direction: column;
    }

    /* Checkout mobile */
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .delivery-options {
        flex-direction: column;
    }

    .order-summary {
        position: static;
    }

    /* Order progress mobile */
    .order-progress-track {
        gap: 6px;
    }

    .order-progress-segment {
        height: 12px;
    }

    .order-progress-label {
        font-size: 0.62rem;
    }

    /* Footer mobile */
    .footer {
        padding: 2rem 0 1.5rem;
        margin-top: 4rem;
    }

    .footer-legal-links {
        flex-direction: column;
    }

    .footer-separator {
        display: none;
    }
}

@media (max-width: 480px) {

    /* Hero small */
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .card-image-new {
        aspect-ratio: 6/4;
    }
}

/* =================================================================
   STYLES DE LA PAGE DE MAINTENANCE
   ================================================================= */

/* Conteneur principal de la page de login */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5A2E1A 0%, var(--primary-brown) 50%, #201E14 100%);
    padding: 2rem;
}

/* Carte de connexion */
.login-box {
    background: #ffffff;
    border-radius: 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    padding: 3rem 3.5rem;
    width: 100%;
    max-width: 380px;
    /*animation: loginBoxFadeIn 0.6s ease-out;*/
}

@keyframes loginBoxFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Titre principal (Maison Marti) */
.login-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--primary-brown);
    text-align: center;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

/* Sous-titre (Nous avons hâte de vous retrouver) */
.login-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #757575;
    text-align: center;
    margin: 0 0 2rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Formulaire de connexion */
.login-form {
    margin-top: 2rem;
}

.login-form .form-group {
    margin-bottom: 0.5rem;
}

.login-form label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 0px;
    font-size: 0.95rem;
    transition: all 0.1s ease;
    background: var(--off-white);
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: var(--terracotta);
}

.login-form .btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Footer de la page de connexion */
.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.login-footer a {
    color: #757575;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #c9a66b;
}

/* Alerte d'erreur dans la page de login */
.login-box .alert {
    font-size: 0.9rem;
}

/* Responsive pour la page de login */
@media (max-width: 768px) {
    .login-container {
        padding: 12rem;
    }

    .login-box {
        padding: 3rem 3.5rem;
        max-width: 100%;
    }

    .login-title {
        font-size: 2.5rem;
    }

    .login-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 2rem;
    }

    .login-box {
        padding: 3rem 3.5rem;
        border-radius: 40px;
    }

    .login-title {
        font-size: 2.5rem;
    }

    .login-subtitle {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }

    .login-form input[type="text"],
    .login-form input[type="password"] {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }

    .login-form .btn-block {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
}

/* =================================================================
   SUIVI COMMANDE - LAYOUT SPECIFIQUE
   ================================================================= */

body.suivi-commande-login .vp-login-shell {
    width: 100%;
    max-width: 880px;
}

body.suivi-commande-login .vp-login-box {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

body.suivi-commande-login .suivi-panel-header {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

body.suivi-commande-login .suivi-panel-title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--primary-brown);
    margin: 0;
}

body.suivi-commande-login .suivi-panel-subtitle {
    margin: 0;
    font-size: 1rem;
    color: var(--smoky-gray);
    line-height: 1.6;
}

body.suivi-commande-login .tracking-form .form-group {
    margin-bottom: 1.75rem;
}

body.suivi-commande-login .tracking-field-hint {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.85rem;
    color: var(--smoky-gray);
}

body.suivi-commande-login .tracking-layout {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}

body.suivi-commande-login .tracking-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 2.8rem 3rem;
    border-radius: 30px;
    background: linear-gradient(140deg, rgba(241, 232, 221, 0.96) 0%, rgba(255, 248, 239, 0.85) 45%, rgba(255, 243, 227, 0.9) 100%);
    box-shadow: 0 24px 45px rgba(33, 18, 2, 0.12);
}

body.suivi-commande-login .tracking-hero__content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 520px;
}

body.suivi-commande-login .tracking-hero__order {
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(58, 42, 31, 0.55);
}

body.suivi-commande-login .tracking-hero__title {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-family: var(--font-title);
    font-size: 2.6rem;
    line-height: 1.2;
    margin: 0;
    color: var(--primary-brown);
}

body.suivi-commande-login .tracking-hero__subtitle {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(58, 42, 31, 0.7);
}

body.suivi-commande-login .tracking-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    align-items: flex-end;
}

body.suivi-commande-login .tracking-hero__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--terracotta);
    font-weight: 500;
    text-decoration: none;
}

body.suivi-commande-login .tracking-hero__link:hover {
    text-decoration: underline;
}

body.suivi-commande-login .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: rgba(58, 42, 31, 0.08);
    color: rgba(58, 42, 31, 0.8);
}

body.suivi-commande-login .status-badge__icon {
    font-size: 1.05rem;
}

body.suivi-commande-login .status-badge--pending {
    background: rgba(255, 210, 170, 0.35);
    color: #b45b16;
}

body.suivi-commande-login .status-badge--paid {
    background: rgba(115, 178, 128, 0.3);
    color: #2f7d3a;
}

body.suivi-commande-login .status-badge--progress {
    background: rgba(199, 85, 26, 0.22);
    color: #c7551a;
}

body.suivi-commande-login .status-badge--ready {
    background: rgba(76, 175, 80, 0.25);
    color: #2f7d3a;
}

body.suivi-commande-login .status-badge--alert {
    background: rgba(225, 102, 78, 0.2);
    color: #a73218;
}

body.suivi-commande-login .status-badge--info {
    background: rgba(58, 42, 31, 0.12);
    color: rgba(58, 42, 31, 0.8);
}

body.suivi-commande-login .tracking-progress-block {
    background: #ffffff;
    border-radius: 26px;
    border: 1px solid rgba(194, 140, 87, 0.18);
    padding: 2.4rem 2.8rem;
    box-shadow: 0 20px 44px rgba(33, 18, 2, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

body.suivi-commande-login .tracking-progress-block__header {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

body.suivi-commande-login .tracking-progress-block__header h3 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--primary-brown);
}

body.suivi-commande-login .tracking-progress-block__header p {
    margin: 0;
    font-size: 0.98rem;
    color: rgba(58, 42, 31, 0.7);
    line-height: 1.6;
}

body.suivi-commande-login .tracking-progress-block__bar {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.35rem;
}

body.suivi-commande-login .tracking-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 2.5rem;
}

body.suivi-commande-login .tracking-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

body.suivi-commande-login .tracking-panel {
    background: #ffffff;
    border-radius: 26px;
    border: 1px solid rgba(194, 140, 87, 0.22);
    padding: 2.35rem 2.5rem;
    box-shadow: 0 22px 42px rgba(33, 18, 2, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

body.suivi-commande-login .tracking-panel--info {
    background: linear-gradient(135deg, rgba(255, 248, 239, 0.95), rgba(241, 232, 221, 0.9));
    border-color: rgba(194, 140, 87, 0.3);
}

body.suivi-commande-login .tracking-panel__title {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary-brown);
}

body.suivi-commande-login .tracking-panel__text {
    margin: 0;
    font-size: 1rem;
    color: rgba(58, 42, 31, 0.7);
    line-height: 1.7;
}

body.suivi-commande-login .tracking-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.9rem;
}

body.suivi-commande-login .tracking-timeline__step {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(194, 140, 87, 0.16);
    padding: 1.75rem;
    box-shadow: 0 18px 36px rgba(33, 18, 2, 0.08);
    display: flex;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

body.suivi-commande-login .tracking-timeline__step::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(135deg, rgba(199, 85, 26, 0.08), rgba(199, 85, 26, 0));
}

body.suivi-commande-login .tracking-timeline__step.is-active::after {
    opacity: 1;
}

body.suivi-commande-login .tracking-timeline__marker {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: rgba(58, 42, 31, 0.6);
    background: rgba(241, 232, 221, 0.7);
    position: relative;
    flex-shrink: 0;
}

body.suivi-commande-login .tracking-timeline__marker::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: calc(100% + 22px);
    background: rgba(194, 140, 87, 0.25);
    transform: translateX(-50%);
}

body.suivi-commande-login .tracking-timeline__step:last-child .tracking-timeline__marker::after {
    display: none;
}

body.suivi-commande-login .tracking-timeline__step.is-complete .tracking-timeline__marker {
    background: linear-gradient(135deg, rgba(73, 173, 100, 1), rgba(56, 148, 79, 1));
    color: #ffffff;
}

body.suivi-commande-login .tracking-timeline__step.is-active .tracking-timeline__marker {
    background: linear-gradient(135deg, rgba(199, 85, 26, 1), rgba(163, 79, 47, 1));
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(199, 85, 26, 0.25);
}

body.suivi-commande-login .tracking-timeline__body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

body.suivi-commande-login .tracking-timeline__meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

body.suivi-commande-login .tracking-timeline__state {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(58, 42, 31, 0.48);
}

body.suivi-commande-login .tracking-timeline__step.is-active .tracking-timeline__state {
    color: var(--terracotta);
    font-weight: 600;
}

body.suivi-commande-login .tracking-timeline__step.is-complete .tracking-timeline__state {
    color: #4CAF50;
    font-weight: 600;
}

body.suivi-commande-login .tracking-timeline__title {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-brown);
}

body.suivi-commande-login .tracking-timeline__description {
    margin: 0;
    font-size: 0.98rem;
    color: rgba(58, 42, 31, 0.72);
    line-height: 1.6;
}

body.suivi-commande-login .tracking-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(194, 140, 87, 0.2);
    padding: 2.1rem 2.25rem;
    box-shadow: 0 18px 32px rgba(33, 18, 2, 0.09);
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

body.suivi-commande-login .tracking-card--highlight {
    background: linear-gradient(135deg, rgba(241, 232, 221, 0.92), rgba(255, 248, 239, 0.95));
    border-color: rgba(194, 140, 87, 0.28);
    box-shadow: 0 22px 36px rgba(33, 18, 2, 0.12);
}

body.suivi-commande-login .tracking-card--support {
    background: rgba(241, 232, 221, 0.4);
    border-style: dashed;
    border-color: rgba(194, 140, 87, 0.4);
}

body.suivi-commande-login .tracking-card__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-brown);
}

body.suivi-commande-login .tracking-card__list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 0;
}

body.suivi-commande-login .tracking-card__row {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

body.suivi-commande-login .tracking-card__label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(58, 42, 31, 0.55);
    font-weight: 600;
}

body.suivi-commande-login .tracking-card__value {
    font-size: 1.05rem;
    color: #3a2a1f;
    font-weight: 500;
    line-height: 1.45;
}

body.suivi-commande-login .tracking-card__row--muted .tracking-card__value {
    font-size: 0.95rem;
    color: var(--smoky-gray);
    font-weight: 400;
}

body.suivi-commande-login .tracking-card__link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(194, 140, 87, 0.45);
    padding-bottom: 0.05rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

body.suivi-commande-login .tracking-card__link:hover {
    color: var(--terracotta);
    border-color: var(--terracotta);
}

body.suivi-commande-login .tracking-total {
    margin-top: 0.25rem;
    padding: 1.35rem 1.5rem;
    border-radius: 14px;
    background: rgba(241, 232, 221, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 600;
    color: var(--primary-brown);
}

body.suivi-commande-login .tracking-total-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

body.suivi-commande-login .tracking-total-value {
    font-size: 1.35rem;
}

body.suivi-commande-login .tracking-total-note {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(58, 42, 31, 0.75);
}

body.suivi-commande-login .tracking-card__note {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(58, 42, 31, 0.65);
    line-height: 1.45;
}

body.suivi-commande-login .tracking-card__text {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(58, 42, 31, 0.7);
    line-height: 1.6;
}

.tracking-support-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--terracotta);
    font-weight: 600;
    text-decoration: none;
}

.tracking-support-link:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    body.suivi-commande-login .vp-login-shell {
        max-width: 100%;
    }

    body.suivi-commande-login .vp-login-box {
        padding: 3rem 2.5rem;
    }

    body.suivi-commande-login .tracking-hero {
        padding: 2.4rem 2.5rem;
        gap: 2rem;
    }

    body.suivi-commande-login .tracking-progress-block {
        padding: 2.1rem 2.3rem;
    }

    body.suivi-commande-login .tracking-columns {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    body.suivi-commande-login .vp-login-box {
        padding: 2.25rem 1.75rem;
    }

    body.suivi-commande-login .tracking-hero {
        flex-direction: column;
        padding: 2.3rem 2.15rem;
    }

    body.suivi-commande-login .tracking-hero__actions {
        align-items: flex-start;
    }

    body.suivi-commande-login .tracking-columns {
        grid-template-columns: 1fr;
    }

    body.suivi-commande-login .tracking-progress-block {
        padding: 1.95rem 2rem;
    }

    body.suivi-commande-login .tracking-total {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 540px) {
    body.suivi-commande-login .tracking-hero__title {
        font-size: 2.1rem;
    }

    body.suivi-commande-login .tracking-panel,
    body.suivi-commande-login .tracking-card {
        padding: 1.85rem 1.8rem;
    }

    body.suivi-commande-login .tracking-timeline__step {
        flex-direction: column;
    }

    body.suivi-commande-login .tracking-timeline__marker::after {
        display: none;
    }
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 420px) {
    body.suivi-commande-login .vp-login-box {
        padding: 1.9rem 1.5rem;
    }

    body.suivi-commande-login .suivi-panel-title {
        font-size: 1.9rem;
    }

    body.suivi-commande-login .tracking-card__value {
        font-size: 1rem;
    }
}

/* =================================================================
   VENTE PRIVEE - LAYOUT SPECIFIQUE
   ================================================================= */

body.vente-privee-login {
    background: #f6f1ea;
}

body.vente-privee-login .login-container {
    padding: 3rem 1.5rem;
    background: transparent;
}

body.vente-privee-login .vp-login-shell {
    width: 100%;
    max-width: 800px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    background: #fffdf8;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(33, 24, 18, 0.18);
    overflow: hidden;
    border: 1px solid rgba(138, 107, 79, 0.08);
}

body.vente-privee-login .vp-login-visual {
    position: relative;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    color: #f8f3ec;
    background: linear-gradient(135deg, #5A2E1A 0%, var(--primary-brown) 50%, #201E14 100%);
}

body.vente-privee-login .vp-login-visual-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

body.vente-privee-login .vp-login-visual-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

body.vente-privee-login .vp-login-badge {
    align-self: flex-start;
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

body.vente-privee-login .vp-login-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

body.vente-privee-login .vp-login-logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

body.vente-privee-login .vp-login-title {
    font-family: var(--font-title);
    font-size: 2.4rem;
    letter-spacing: 0.5px;
    color: var(--cream);
    margin-bottom: 0.5rem;
    position: relative;
}

body.vente-privee-login .vp-login-message {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--cream);
    /* margin-top: 1.75rem; */
}

body.vente-privee-login .vp-login-message p {
    margin: 0;
}

body.vente-privee-login .vp-login-support {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--terracotta);
}

body.vente-privee-login .vp-login-support span {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--primary-brown);
}

body.vente-privee-login .vp-login-support a {
    color: var(--primary-brown);
    text-decoration: underline;
    width: fit-content;
    transition: color 0.3s ease;
}

body.vente-privee-login .vp-login-support a:hover {
    color: var(--terracotta);
}

body.vente-privee-login .vp-login-box {
    border-radius: 0;
    box-shadow: none;
    padding: 3.5rem;
    max-width: unset;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

body.vente-privee-login.suivi-commande-login .vp-login-box {
    justify-content: flex-start;
    gap: 2.5rem;
    background: transparent;
    border: none;
}

body.vente-privee-login .vp-form-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

body.vente-privee-login .vp-form-badge {
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary-brown);
    background: rgba(198, 150, 96, 0.12);
}

body.vente-privee-login .vp-login-box .login-title {
    font-size: 2.4rem;
    color: var(--primary-brown);
    text-align: left;
}

body.vente-privee-login .vp-login-box .login-subtitle {
    margin: 0;
    color: #80756a;
    text-align: left;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

body.vente-privee-login .vp-login-box .login-form {
    margin-top: 0;
}

body.vente-privee-login .vp-login-box .btn-primary {
    font-size: 0.95rem;
    letter-spacing: 0.4px;
    padding: 0.95rem;
}

body.vente-privee-login .vp-login-footer {
    text-align: left;
}

body.vente-privee-login .vp-login-footer a {
    color: var(--primary-brown);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

body.vente-privee-login .vp-login-footer a:hover {
    color: var(--accent-gold);
    border-color: rgba(201, 166, 107, 0.4);
}

body.vente-privee-login .vp-alert-title {
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

body.vente-privee-login .vp-alert-subtitle {
    font-size: 0.8rem;
}

body.vente-privee-login .vp-alert-countdown {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0.5rem 0.9rem;
    border-radius: 26px;
    background: rgba(74, 59, 45, 0.1);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', monospace;
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    body.vente-privee-login .vp-login-shell {
        grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    }
}

@media (max-width: 900px) {
    body.vente-privee-login .vp-login-shell {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    body.vente-privee-login .vp-login-visual {
        border-radius: 30px 30px 0 0;
        padding: 2.5rem 4rem;
        align-items: center;
    }

    body.vente-privee-login .vp-login-box {
        padding: 2.5rem 4rem;
    }

    body.vente-privee-login .vp-login-footer {
        text-align: center;
    }

    body.vente-privee-login .vp-login-box .login-title {
        text-align: center;
    }

    body.vente-privee-login .vp-login-box .login-subtitle,
    body.vente-privee-login .vp-form-badge {
        align-self: center;
        text-align: center;
    }

    body.vente-privee-login .vp-login-visual-top {
        width: 100%;
        justify-content: center;
        gap: 1.25rem;
    }

    body.vente-privee-login .vp-login-title {
        text-align: center;
        font-size: 2.4rem;
    }

    body.vente-privee-login .vp-login-message {
        text-align: center;
        align-items: center;
        font-size: 0.95rem;
    }

    body.vente-privee-login .vp-login-support {
        align-items: center;
    }

    body.vente-privee-login.suivi-commande-login .vp-login-box {
        justify-content: flex-start;
        gap: 2.5rem;
        padding: 3rem 2.5rem;
    }
}

@media (max-width: 520px) {
    body.vente-privee-login .login-container {
        padding: 1.75rem 1rem 2.5rem;
    }

    body.vente-privee-login .vp-login-shell {
        border-radius: 24px;
        box-shadow: 0 24px 45px rgba(24, 11, 5, 0.22);
    }

    body.vente-privee-login .vp-login-visual {
        padding: 2rem 2rem;
        background: linear-gradient(135deg, #3f2719 0%, #6b3f25 100%);
    }

    body.vente-privee-login .vp-login-visual-inner {
        gap: 1rem;
        align-items: center;
    }

    body.vente-privee-login .vp-login-logo {
        width: 68px;
        height: 68px;
    }

    body.vente-privee-login .vp-login-logo img {
        width: 52px;
        height: 52px;
    }

    body.vente-privee-login .vp-login-badge {
        padding: 0.4rem 0.9rem;
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    body.vente-privee-login .vp-login-title {
        font-size: 2rem;
    }

    body.vente-privee-login .vp-login-message {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    body.vente-privee-login .vp-login-box {
        padding: 2rem 4rem;
        gap: 1rem;
    }

    body.vente-privee-login .vp-login-box .login-title {
        font-size: 2rem;
    }

    body.vente-privee-login .vp-login-box .login-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    body.vente-privee-login .vp-login-box .btn-primary {
        font-size: 0.9rem;
        padding: 0.9rem;
    }

    body.vente-privee-login .vp-login-footer {
        font-size: 0.85rem;
        text-align: center;
    }

    body.vente-privee-login.suivi-commande-login .vp-login-box {
        justify-content: flex-start;
        gap: 2rem;
        padding: 2.25rem 1.75rem;
    }
}

/* =================================================================
   PAGE PRODUIT DÉTAIL - Style inspiré de Cédric & la Chocolaterie
   ================================================================= */

/* Supprimer tous les espaces sur la page produit */
.product-page {
    margin: 0;
    padding: 0;
    background: var(--cream);
}

.product-main {
    margin: 0;
    /* Reserve vertical space so the sticky header never overlaps the hero image */
    padding: 65px 0 0 0;
    min-height: 100vh;
}

.product-detail-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    /* Pas de padding, comme chez CG */
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
    /* Important pour que sticky fonctionne */
}

/* === COLONNE IMAGE === */
.product-detail-image {
    position: sticky;
    top: 80px;
    /* L'image commence juste sous le header (hauteur 80px) */
    width: 100%;
    height: calc(100vh - 80px);
    /* Hauteur = viewport - header */
    overflow: hidden;
    background: #fafafa;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-brown);
    opacity: 0.15;
}

.product-detail-image .card-badge-new {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

/* Badge de stock sur l'image */
.product-stock-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
    z-index: 10;
}

.product-stock-badge.in-stock {
    background: #4CAF50;
    color: white;
}

.product-stock-badge.out-of-stock {
    background: #F44336;
    color: white;
}

/* === COLONNE DÉTAILS === */
.product-detail-info {
    display: flex;
    flex-direction: column;
    padding: 4rem 6rem 4rem 6rem;
    /* Padding normal, pas besoin de compenser */
    justify-content: flex-end;
}

/* 1. Titre */
.product-detail-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    letter-spacing: 1px;
}

/* 2. Description courte */
.product-short-description {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

/* Label de sélection (Poids) */
.product-selection-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-brown);
    margin: 0 0 1.5rem 0;
    display: block;
}

/* 3. Sélecteur de variantes (Format) - Style index avec séparateur | */
.product-variants {
    display: flex;
    gap: 0;
    align-items: center;
    margin-bottom: 1.5rem;
}

.variant-option {
    position: relative;
    display: flex;
    align-items: center;
}

.variant-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.variant-option span {
    display: block;
    padding: 0.5rem 1rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-brown);
    background: transparent;
    border: 1px solid var(--primary-brown);
    cursor: pointer;
    white-space: nowrap;
    transition: border 0.2s ease;
}

.variant-option:hover:not(.disabled) span {
    border-width: 2px;
}

.variant-option.active span {
    border-width: 2px;
}

.variant-option.disabled span {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* Séparateur entre les variantes */
.variant-separator {
    font-family: 'Inter', sans-serif;
    color: var(--primary-brown);
    font-size: 0.9rem;
    opacity: 0.5;
    padding: 0 0.5rem;
}

/* 4. Prix */
.product-price-display {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-brown);
    font-family: 'Inter', sans-serif;
}

/* 5. Disponibilité */
.product-availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-availability svg {
    flex-shrink: 0;
}

.product-availability.available {
    background: #e8f5e9;
    color: #2e7d32;
}

.product-availability.unavailable {
    background: #ffebee;
    color: #c62828;
}

/* 6. Quantité */
.product-quantity {
    margin-bottom: 1.5rem;
}

.product-quantity label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.quantity-controls {
    display: inline-flex;
    align-items: stretch;
    border: 2px solid #e0e0e0;
}

.qty-btn {
    width: 40px;
    height: 48px;
    background: white;
    border: none;
    color: var(--primary-brown);
    font-size: 1.25rem;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #f5f5f5;
}

.qty-input {
    width: 70px;
    height: 48px;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-brown);
    appearance: textfield;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 7. Bouton Ajouter au panier */
.btn-add-to-cart {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-brown);
    color: var(--cream);
    border: 1px solid var(--primary-brown);
    border-radius: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-add-to-cart .btn-price {
    font-weight: 600;
    margin-left: 0.5rem;
}

.btn-add-to-cart:hover {
    background: transparent;
    color: var(--primary-brown);
}

.btn-add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Animation swipe up au clic - Compatible tous supports */
.btn-add-to-cart.swipe-up>span,
.btn-add-to-cart-simple.swipe-up>span {
    display: inline-block;
    animation: swipeUpText 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes swipeUpText {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    40% {
        transform: translateY(-15px);
        opacity: 0;
    }

    60% {
        transform: translateY(15px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Message panier */
.cart-message {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cart-message svg {
    flex-shrink: 0;
}

.cart-message.success {
    display: flex;
    background: #e8f5e9;
    color: #2e7d32;
}

.cart-message.error {
    display: flex;
    background: #ffebee;
    color: #c62828;
}

/* Infos supplémentaires */
.product-extra-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid #e0e0e0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.info-item svg {
    flex-shrink: 0;
    color: var(--primary-brown);
}

/* 8. Onglets d'informations (Informations / Ingrédients / Disponibilités) */
.product-tabs {
    margin-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.product-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e0e0e0;
}

.product-tab-button {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.product-tab-button:hover {
    color: var(--primary-brown);
}

.product-tab-button.active {
    color: var(--primary-brown);
    border-bottom-color: var(--primary-brown);
}

.product-tab-content {
    display: none;
    padding: 1.5rem 0;
}

.product-tab-content.active {
    display: block;
}

.product-tab-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin: 0 0 1rem 0;
}

.product-tab-content p,
.product-tab-content .description-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

/* Compatibilité avec l'ancien système */
.product-description-full {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.product-description-full h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin: 0 0 1rem 0;
}

.description-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

/* Dates */
.product-dates {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.875rem;
    background: #fef7e6;
    border-left: 3px solid var(--primary-brown);
    font-size: 0.875rem;
    color: var(--primary-brown);
}

.product-dates svg {
    flex-shrink: 0;
}

/* Disponibilités avec calendrier */
.product-availability-dates {
    margin-top: 1rem;
}

.availability-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem;
    background: #fef7e6;
    border-left: 3px solid var(--primary-brown);
    font-size: 0.875rem;
    color: var(--primary-brown);
    margin-bottom: 1.5rem;
}

.availability-text svg {
    flex-shrink: 0;
}

.availability-calendar-container {
    margin-top: 1.5rem;
}

.availability-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.calendar-month {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-month-header {
    background: var(--primary-brown);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
}

.calendar-day-name {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e0e0e0;
    padding: 0;
}

.calendar-day {
    background: white;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.85rem;
    color: #ccc;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day.empty {
    background: #f8f8f8;
}

.calendar-day.available {
    color: var(--primary-brown);
    font-weight: 600;
    background: #fef7e6;
}

/* Responsive pour le calendrier */
@media (max-width: 768px) {
    .availability-calendar {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-image {
        position: relative;
        /* Plus sticky sur tablette */
        top: 0;
        aspect-ratio: 4/3;
        height: auto;
    }

    .product-detail-info {
        padding: 3rem 3rem 3rem 3rem;
    }
}

@media (max-width: 768px) {
    .product-detail-container {
        padding: 0;
    }

    .product-detail-grid {
        gap: 0;
    }

    .product-detail-image {
        position: relative;
        aspect-ratio: 1/1;
        height: auto;
        margin-top: 0;
    }

    /* Garder object-fit: cover comme sur web */
    .product-detail-image img {
        object-fit: cover;
        object-position: center center;
    }

    .product-detail-info {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .product-detail-title {
        font-size: 1.3rem;
    }

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

    .product-selection-label {
        font-size: 0.85rem;
    }

    .product-variants {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .variant-option span {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    .variant-separator {
        display: none;
    }

    .btn-add-to-cart-simple {
        font-size: 0.85rem;
        padding: 0.8rem 1.5rem;
    }

    .btn-add-to-cart {
        font-size: 0.85rem;
        padding: 0.9rem 1.5rem;
    }

    .product-tabs-nav {
        gap: 0;
    }

    .product-tab-button {
        font-size: 0.75rem;
        padding: 0.8rem 0.5rem;
    }

    .product-tab-content {
        padding: 1rem 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .product-detail-image {
        position: relative;
        margin-top: 0;
    }

    .product-detail-info {
        padding: 1.5rem 1rem;
    }

    .product-detail-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .product-short-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .btn-add-to-cart-simple,
    .product-selection-label,
    .product-variants,
    .btn-add-to-cart {
        margin-bottom: 1rem;
    }

    .btn-add-to-cart {
        font-size: 0.8rem;
        padding: 0.85rem 1.2rem;
    }

    .btn-add-to-cart .btn-price {
        font-size: 0.9rem;
    }
}

/* =================================================================
   PAGE DE MAINTENANCE
   ================================================================= */

body.maintenance-page {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #5A2E1A 0%, var(--primary-brown) 50%, #201E14 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maintenance-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.maintenance-logo-text {
    font-family: 'Indira K', serif;
    font-size: 6rem;
    color: var(--cream);
    letter-spacing: -0.5px;
    transition: color var(--logo-fade-speed) var(--animation-easing),
        text-shadow var(--logo-fade-speed) var(--animation-easing);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.maintenance-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--cream);
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

.access-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(239, 227, 211, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.access-link:hover {
    color: rgba(239, 227, 211, 0.7);
}

/* Modal de login pour la maintenance */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.login-modal.active {
    display: flex;
}

.login-modal .login-box {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    position: relative;
}

.login-modal .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.login-modal .close-btn:hover {
    color: var(--primary-brown);
}

.login-modal .login-title {
    font-family: 'Indira K', serif;
    font-size: 3rem;
    letter-spacing: -0.5px;
    font-weight: normal;
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
    text-align: center;
}

.login-modal .login-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--primary-brown);
    margin-bottom: 2rem;
    text-align: center;
}

/* Responsive maintenance */
@media (max-width: 768px) {
    .maintenance-logo-text {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }

    .maintenance-subtitle {
        font-size: 1rem;
    }

    .countdown {
        gap: 1.5rem;
    }

    .countdown-value {
        font-size: 3rem;
        min-width: 70px;
    }

    .countdown-unit {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {

    .maintenance-logo-text {
        font-size: 2.8rem;
    }

    .maintenance-subtitle {
        font-size: 1.15rem;
    }
}
/* --- ORDER PAGE COMPONENTS --- */

.order-item-list {
    display: flex;
    flex-direction: column;
}

.order-item {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(61, 38, 23, 0.08);
}

.order-item:first-child {
    padding-top: 0;
}

.order-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.order-item-image {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 18px;
    background: #f7eee3;
    box-shadow: 0 12px 25px rgba(61, 38, 23, 0.12);
    flex-shrink: 0;
}

.order-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.order-item-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2f2118;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.order-item-meta {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem;
    color: #7a6a5c;
}

.order-item-foot {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem;
    color: #7a6a5c;
    gap: 1rem;
}

.order-item-price {
    font-weight: 600;
    font-size: 0.95rem;
    color: #3d2617;
}

.order-totals {
    margin-top: 1.75rem;
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    background: #f9f3eb;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-family: 'Inter', sans-serif !important;
}

.order-totals .total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #5f4f43;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.order-totals .total-row.final {
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(61, 38, 23, 0.15);
}

.order-totals .total-row .total-amount {
    font-size: 1.15rem;
    font-weight: 700;
    color: #3d2617;
}

.product-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(61, 38, 23, 0.08);
}

.product-item:first-child {
    padding-top: 0;
}

.product-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    background: #f0f0f0;
    flex-shrink: 0;
}

.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.product-name {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem;
    font-weight: 500;
    color: #3d2617;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-meta {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem;
    color: #666;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.product-quantity {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem;
    color: #666;
}

.product-total {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3d2617;
    white-space: nowrap;
}

.order-info-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
}

.order-info-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8rem;
    font-weight: 600;
    color: #7a6a5c;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.order-info-value {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3d2617;
    text-align: right;
}

.order-info-value--multiline {
    white-space: normal;
    line-height: 1.5;
}

.order-section + .order-section {
    margin-top: 1.8rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(61, 38, 23, 0.08);
}

.order-section h3 {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.05rem;
    font-weight: 600;
    color: #3d2617;
    margin-bottom: 0.75rem;
}

.order-note {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem;
    color: #736358;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.order-payment-method {
    margin-top: 1.75rem;
    padding: 1.1rem 1.25rem;
    border-radius: 16px;
    background: #f7eee3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #5f4f43;
    font-family: 'Inter', sans-serif !important;
}

.order-payment-method span:last-child {
    font-weight: 600;
    color: #3d2617;
}

.order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.order-actions form {
    margin: 0;
}

.order-actions .btn {
    min-width: 220px;
    text-align: center;
}

.order-alert {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.order-support {
    margin-top: 1.5rem;
    padding: 1.1rem 1.25rem;
    border-radius: 16px;
    background: #f9f3eb;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem;
    color: #5f4f43;
}

.order-support a {
    color: var(--primary-brown);
    font-weight: 600;
    text-decoration: none;
}

.order-support a:hover {
    text-decoration: underline;
}

/* --- ORDER PAGES --- */

body.order-page {
    background: linear-gradient(135deg, #fdf8f3 0%, #f1e7db 100%);
}

.order-main {
    padding: 7.5rem 1.5rem 5rem;
}

.order-container {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.order-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.75rem 3rem;
    border-radius: 28px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(61, 38, 23, 0.22);
}

.order-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.35), transparent 60%);
    pointer-events: none;
}

.order-hero.success {
    background: linear-gradient(135deg, #1f8f5b 0%, #155d3c 100%);
}

.order-hero.warning {
    background: linear-gradient(135deg, #d97706 0%, #9f4a0f 100%);
}

.order-hero-icon {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.order-hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 580px;
    position: relative;
    z-index: 1;
}

.order-status {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    opacity: 0.8;
}

.order-hero-content h1 {
    font-family: 'Inter', sans-serif !important;
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
}

.order-context {
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem;
    line-height: 1.65;
    opacity: 0.95;
    max-width: 540px;
}

.order-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.order-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.order-meta-date {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem;
    opacity: 0.85;
}

.order-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: 2rem;
}

.order-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 20px 45px rgba(61, 38, 23, 0.08);
}

.order-card h2 {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.3rem;
    font-weight: 600;
    color: #3d2617;
    margin: 0 0 1.5rem 0;
}

.order-card h3 {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.05rem;
    font-weight: 600;
    color: #3d2617;
    margin: 0 0 0.75rem 0;
}

.order-card p {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem;
    color: #6a5b4f;
    line-height: 1.6;
}

@media (max-width: 1080px) {
    .order-grid {
        grid-template-columns: 1fr;
    }

    .order-card {
        padding: 2rem;
    }
}

@media (max-width: 840px) {
    .order-main {
        padding: 3rem 1.25rem 4.5rem;
    }

    .order-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 2.25rem;
        margin-top: 4rem;
    }

    .order-hero-content {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .order-main {
        padding: 2.5rem 1rem 4rem;
    }

    .order-card {
        padding: 1.75rem;
    }

    .order-item {
        align-items: flex-start;
    }

    .order-item-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .order-hero-icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
        font-size: 1.6rem;
    }

    .order-hero-content h1 {
        font-size: 1.9rem;
    }

    .order-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .order-info-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-info-value {
        text-align: left;
    }

    .order-hero-content h1 {
        font-size: 1.7rem;
    }

    .order-pill {
        font-size: 0.78rem;
    }

    .order-hero {
        padding: 2rem 1.75rem;
    }
}
