:root {
            --gold: #C9A86C;
            --gold-light: #E8D5B7;
            --gold-dark: #A68B4B;
            --cream: #FAF7F2;
            --cream-dark: #F0EAE0;
            --charcoal: #2D2A26;
            --charcoal-light: #4A4540;
            --terracotta: #C67B5C;
            --sage: #8B9A7D;
            --blush: #E8C4B8;
            --christmas-red: #A63D40;
            --christmas-green: #3D5A47;
            --font-body: 'Josefin Slab', serif;
            --font-headings: 'Cormorant', serif;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            font-family: var(--font-body);
            background-color: var(--cream);
            color: var(--charcoal);
            line-height: 1.7;
            overflow-x: clip;
        }
        
        h1, h2, h3, h4 {
            font-family: var(--font-headings);
            font-weight: 400;
        }

        /* Cormorant pour titres, labels, boutons, tags, menus */
        label,
        .btn, button,
        nav a,
        .nav-link,
        .product-badge, .product-badge-head, .product-perso-tag,
        .order-status,
        .section-title, .section-subtitle,
        .hero-title, .hero-cta,
        .footer-heading,
        .perso-section-title,
        .perso-option-libelle,
        .perso-option-prix,
        .perso-option-more,
        .account-nav-link,
        .count-badge,
        .btn-perso-link {
            font-family: var(--font-headings);
        }

        /* Enfants des éléments headings héritent de la police parente */
        .btn span, .btn svg + span,
        button span,
        nav a span,
        .btn-perso-link span,
        label span {
            font-family: inherit;
        }

        /* Inputs héritent du parent */
        input, textarea, select {
            font-family: inherit;
        }
        
        /* Styles pour le contenu riche HTML (généré par WYSIWYG) */
        .rich-content p,
        .hero-subtitle p,
        .section-subtitle p,
        .about-text p,
        .custom-intro p,
        .process-intro p,
        .newsletter-description p,
        .christmas-banner p {
            margin-bottom: 0.75rem;
        }
        
        .rich-content p:last-child,
        .hero-subtitle p:last-child,
        .section-subtitle p:last-child,
        .about-text p:last-child,
        .custom-intro p:last-child,
        .process-intro p:last-child,
        .newsletter-description p:last-child,
        .christmas-banner p:last-child {
            margin-bottom: 0;
        }
        
        .rich-content ul, .rich-content ol {
            margin: 0.75rem 0;
            padding-left: 1.5rem;
        }
        
        .rich-content li {
            margin-bottom: 0.5rem;
        }
        
        .rich-content a {
            color: var(--gold-dark);
            text-decoration: underline;
        }
        
        .rich-content strong, .hero-subtitle strong, .section-subtitle strong {
            font-weight: 600;
        }
        
        .rich-content em, .hero-subtitle em, .section-subtitle em {
            font-style: italic;
        }
        
        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 100;
            background: var(--cream);
            transition: padding 0.3s ease, box-shadow 0.3s ease;
        }
        
        nav.scrolled {
            box-shadow: 0 2px 20px rgba(0,0,0,0.05);
            padding: 0.75rem 5%;
        }
        
        .logo img {
            height: var(--lbp-logo-h, 50px);
            width: auto;
            transition: height 0.3s ease;
        }
        
        nav.scrolled .logo img {
            height: calc(var(--lbp-logo-h, 50px) * 0.8);
        }

        @media (max-width: 768px) {
            .logo img {
                height: var(--lbp-logo-h-mobile, var(--lbp-logo-h, 40px));
            }
            nav.scrolled .logo img {
                height: calc(var(--lbp-logo-h-mobile, var(--lbp-logo-h, 40px)) * 0.8);
            }
        }
        
        .nav-links {
            display: flex;
            gap: 2.5rem;
            list-style: none;
        }
        
        .nav-links a {
            text-decoration: none;
            color: var(--charcoal);
            font-size: 0.85rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            position: relative;
            font-weight: 400;
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--gold);
            transition: width 0.3s ease;
        }
        
        .nav-links a:hover::after {
            width: 100%;
        }
        
        /* Hero Section */
        .hero {
            min-height: calc(100vh - 80px);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 4rem 5% 6rem;
        }
        
        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            background: 
                radial-gradient(ellipse at 20% 80%, var(--blush) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, var(--gold-light) 0%, transparent 40%),
                radial-gradient(ellipse at 60% 60%, var(--sage) 0%, transparent 60%);
            opacity: 0.15;
        }
        
        .hero-content {
            text-align: center;
            position: relative;
            z-index: 2;
            max-width: 900px;
        }
        
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--gold);
            color: var(--cream);
            padding: 0.5rem 1.5rem;
            font-size: 0.75rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            margin-bottom: 2rem;
            animation: fadeInDown 0.8s ease;
        }
        
        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .hero h1 {
            font-size: clamp(3rem, 8vw, 6rem);
            line-height: 1.1;
            margin-bottom: 1.5rem;
            animation: fadeInUp 0.8s ease 0.2s both;
        }
        
        .hero h1 em {
            font-style: italic;
            color: var(--gold-dark);
        }
        
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .hero-subtitle {
            font-size: 1.1rem;
            color: var(--charcoal-light);
            max-width: 600px;
            margin: 0 auto 2.5rem;
            letter-spacing: 0.05em;
            animation: fadeInUp 0.8s ease 0.4s both;
        }
        
        .hero-cta {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeInUp 0.8s ease 0.6s both;
        }
        
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 2.5rem;
            font-family: var(--font-body);
            font-size: 0.85rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
        }
        
        .btn-primary {
            background: var(--charcoal);
            color: var(--cream);
        }
        
        .btn-primary:hover {
            background: var(--gold-dark);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(166, 139, 75, 0.3);
        }
        
        .btn-secondary {
            background: transparent;
            color: var(--charcoal);
            border: 1px solid var(--charcoal);
        }
        
        .btn-secondary:hover {
            background: var(--charcoal);
            color: var(--cream);
        }

        /* Flèches et icônes dans les boutons : plus fines et raffinées que les icônes globales.
           svg_icon() rend en stroke-width=2 par défaut (cohérent avec les icônes type pin de
           localisation, étoile de badge, etc.) ; pour les flèches dans des boutons en uppercase
           letterspacé, c'est trop appuyé : on amincit le trait et on réduit la taille. */
        .btn svg,
        .event-link svg,
        .btn-perso-link svg {
            width: 16px;
            height: 16px;
            stroke-width: 1.25;
            transition: transform 0.25s ease;
            flex-shrink: 0;
        }
        .btn:hover svg,
        .btn-perso-link:hover svg {
            transform: translateX(3px);
        }
        /* event-link gère déjà le déplacement via le 'gap' qui s'agrandit au hover,
           pas besoin de translater l'icône en plus */
        .event-link svg {
            transition: none;
        }
        
        .location-highlight {
            margin-top: 3rem;
            padding: 1rem 2rem;
            background: var(--cream-dark);
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            animation: fadeInUp 0.8s ease 0.8s both;
        }
        
        .location-highlight svg {
            width: 20px;
            height: 20px;
            color: var(--terracotta);
        }
        
        .location-highlight span {
            font-size: 0.9rem;
            color: var(--charcoal-light);
        }
        
        .location-highlight strong {
            color: var(--charcoal);
            font-weight: 500;
        }
        
        /* Badge Avis CSS - bas à droite du hero */
        .hero-reviews-badge {
            position: absolute;
            bottom: 2rem;
            right: 2rem;
            z-index: 10;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            background: white;
            padding: 0.75rem 1.25rem;
            border-radius: 50px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            text-decoration: none;
            color: var(--charcoal);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: fadeInUp 0.8s ease 1s both;
        }
        
        .hero-reviews-badge:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
        }
        
        .badge-sources {
            display: flex;
            gap: 0.35rem;
            align-items: center;
        }
        .badge-sources .brand-logo {
            width: 18px;
            height: 18px;
            display: block;
            flex-shrink: 0;
        }
        
        .badge-rating {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        
        .badge-score {
            font-weight: 700;
            font-size: 1.1rem;
        }
        
        .badge-stars {
            color: #FBBC05;
            font-size: 1rem;
            letter-spacing: -1px;
        }
        
        .badge-count {
            font-size: 0.85rem;
            color: var(--charcoal-light);
        }
        
        @media (max-width: 768px) {
            .hero-reviews-badge {
                position: relative;
                bottom: auto;
                right: auto;
                margin: 2rem auto 0;
                justify-content: center;
            }
        }
        
        /* Section Styles */
        section {
            padding: 6rem 5%;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }
        
        .section-label {
            display: inline-block;
            font-size: 0.75rem;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: var(--gold-dark);
            margin-bottom: 1rem;
        }
        
        .section-label::before,
        .section-label::after {
            content: '—';
            margin: 0 1rem;
            opacity: 0.5;
        }
        
        .section-title {
            font-size: clamp(2rem, 5vw, 3.5rem);
            margin-bottom: 1rem;
        }
        
        .section-subtitle {
            font-size: 1rem;
            color: var(--charcoal-light);
            max-width: 600px;
            margin: 0 auto;
        }
        
        /* Christmas Banner */
        .christmas-banner {
            background: linear-gradient(135deg, var(--christmas-green) 0%, #2a4233 100%);
            color: var(--cream);
            padding: 3rem 5%;
            position: relative;
            overflow: hidden;
        }
        
        .christmas-banner::before {
            content: '❄';
            position: absolute;
            font-size: 15rem;
            opacity: 0.05;
            top: -3rem;
            right: -2rem;
        }
        
        .christmas-content {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
            position: relative;
            z-index: 2;
        }
        
        .christmas-text h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--gold-light);
        }
        
        .christmas-text h2 em {
            color: var(--cream);
            font-style: italic;
        }
        
        .christmas-text p {
            opacity: 0.9;
            margin-bottom: 1.5rem;
        }
        
        .christmas-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--christmas-red);
            padding: 0.5rem 1rem;
            font-size: 0.75rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }
        
        .christmas-details {
            background: rgba(255,255,255,0.1);
            padding: 2rem;
            backdrop-filter: blur(10px);
        }
        
        .christmas-details h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--gold-light);
        }
        
        .christmas-info {
            list-style: none;
        }
        
        .christmas-info li {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            font-size: 0.9rem;
        }
        
        .christmas-info li svg {
            width: 18px;
            height: 18px;
            color: var(--gold);
            flex-shrink: 0;
            margin-top: 2px;
        }
        
        .christmas-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--gold-light);
            text-decoration: none;
            font-size: 0.85rem;
            margin-top: 1rem;
            transition: gap 0.3s ease;
        }
        
        .christmas-link:hover {
            gap: 1rem;
        }
        
        /* Store Locations Section */
        .stores {
            background: var(--cream-dark);
        }
        
        .stores-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            max-width: 1000px;
            margin: 0 auto;
        }
        
        .store-card {
            background: white;
            padding: 2.5rem;
            position: relative;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .store-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.1);
        }
        
        .store-card.featured {
            border: 2px solid var(--gold);
        }
        
        .store-badge {
            position: absolute;
            top: -12px;
            left: 2rem;
            background: var(--gold);
            color: var(--cream);
            padding: 0.4rem 1rem;
            font-size: 0.7rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }
        
        .store-icon {
            width: 60px;
            height: 60px;
            background: var(--cream-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
        }
        
        .store-icon svg {
            width: 28px;
            height: 28px;
            color: var(--gold-dark);
        }
        
        .store-card h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }
        
        .store-card .store-type {
            font-size: 0.8rem;
            color: var(--gold-dark);
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }
        
        .store-card p {
            color: var(--charcoal-light);
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }
        
        .store-info {
            border-top: 1px solid var(--cream-dark);
            padding-top: 1.5rem;
            margin-top: 1.5rem;
        }
        
        .store-info-item {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            font-size: 0.9rem;
        }
        
        .store-info-item svg {
            width: 16px;
            height: 16px;
            color: var(--gold);
            flex-shrink: 0;
            margin-top: 3px;
        }
        
        .store-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--gold-dark);
            text-decoration: none;
            font-size: 0.85rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-top: 1rem;
            transition: gap 0.3s ease;
        }
        
        .store-link:hover {
            gap: 1rem;
        }
        
        /* About Section */
        .about {
            background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
        }
        
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .about-video {
            position: relative;
        }
        
        .video-frame {
            position: relative;
            background: linear-gradient(135deg, var(--gold-light), var(--blush));
            padding: 1rem;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
        }
        
        .video-frame::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 20px;
            right: -20px;
            bottom: -20px;
            border: 1px solid var(--gold);
            z-index: -1;
        }
        
        .video-frame video {
            width: 100%;
            height: auto;
            display: block;
            max-height: 500px;
            object-fit: cover;
        }
        
        .about-text h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
        }
        
        .about-text h2 em {
            color: var(--gold-dark);
            font-style: italic;
        }
        
        .about-text p {
            margin-bottom: 1.5rem;
            color: var(--charcoal-light);
        }
        
        .about-stats {
            display: flex;
            gap: 3rem;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--gold-light);
        }
        
        .stat {
            text-align: center;
        }
        
        .stat-number {
            font-family: var(--font-headings);
            font-size: 2.5rem;
            color: var(--gold-dark);
            font-weight: 500;
        }
        
        .stat-label {
            font-size: 0.75rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--charcoal-light);
        }
        
        /* Collections Section */
        .collections {
            background: var(--charcoal);
            color: var(--cream);
        }
        
        .collections .section-label {
            color: var(--gold);
        }
        
        .collections .section-subtitle {
            color: var(--cream);
            opacity: 0.7;
        }
        
        .collections-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .collection-card {
            background: var(--charcoal-light);
            padding: 2.5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
        }
        
        .collection-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }
        
        .collection-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--gold), var(--terracotta));
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }
        
        .collection-card:hover::before {
            transform: scaleX(1);
        }
        
        .collection-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 1.5rem;
            border: 1px solid var(--gold);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .collection-icon svg {
            width: 32px;
            height: 32px;
            stroke: var(--gold);
        }

        /* Image de la categorie : cachee par defaut, utilisee par certains themes (ex: joy) */
        .collection-image {
            display: none;
        }
        
        .collection-card h3 {
            font-size: 1.5rem;
            margin-bottom: 0.75rem;
        }
        
        .collection-card p {
            font-size: 0.9rem;
            opacity: 0.7;
            margin-bottom: 1.5rem;
        }
        
        .collection-link {
            color: var(--gold);
            text-decoration: none;
            font-size: 0.8rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: gap 0.3s ease;
        }
        
        .collection-link:hover {
            gap: 1rem;
        }
        
        /* Custom Orders Section */
        .custom-orders {
            position: relative;
            overflow: hidden;
        }
        
        .custom-orders-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at 0% 50%, var(--gold-light) 0%, transparent 50%);
            opacity: 0.2;
        }
        
        .custom-content {
            max-width: 1000px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }
        
        .custom-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }
        
        .custom-text h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
        }
        
        .custom-text h2 em {
            color: var(--terracotta);
            font-style: italic;
        }
        
        .custom-features {
            list-style: none;
            margin: 2rem 0;
        }
        
        .custom-features li {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1.25rem;
            padding-left: 1rem;
            border-left: 2px solid var(--gold-light);
        }
        
        .custom-features li strong {
            display: block;
            color: var(--charcoal);
            margin-bottom: 0.25rem;
        }
        
        .custom-features li span {
            font-size: 0.9rem;
            color: var(--charcoal-light);
        }
        
        .custom-card {
            background: white;
            padding: 3rem;
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            position: relative;
        }
        
        .custom-card::before {
            content: '"';
            font-family: var(--font-headings);
            font-size: 8rem;
            color: var(--gold-light);
            position: absolute;
            top: 0;
            left: 1rem;
            line-height: 1;
        }
        
        .custom-card blockquote {
            font-family: var(--font-headings);
            font-size: 1.3rem;
            font-style: italic;
            color: var(--charcoal);
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 2;
        }
        
        .custom-card cite {
            font-size: 0.85rem;
            color: var(--charcoal-light);
            font-style: normal;
        }
        
        /* CTA Section */
        .cta {
            background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
            color: var(--cream);
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .cta-content {
            position: relative;
            z-index: 2;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .cta h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            margin-bottom: 1.5rem;
        }
        
        .cta p {
            opacity: 0.8;
            margin-bottom: 2rem;
        }
        
        .cta .btn-primary {
            background: var(--gold);
            color: var(--charcoal);
        }
        
        .cta .btn-primary:hover {
            background: var(--gold-light);
        }
        
        /* Footer */
        footer {
            background: var(--charcoal);
            color: var(--cream);
            padding: 4rem 5% 2rem;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            max-width: 1200px;
            margin: 0 auto 3rem;
        }
        
        .footer-brand .footer-logo img {
            /* hauteur geree par style inline depuis admin */
            filter: brightness(0) invert(1);
            margin-bottom: 1rem;
        }
        
        .footer-brand p {
            font-size: 0.9rem;
            opacity: 0.7;
            margin-bottom: 1.5rem;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
        }
        
        .social-links a {
            width: 40px;
            height: 40px;
            border: 1px solid var(--gold);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gold);
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background: var(--gold);
            color: var(--charcoal);
        }
        
        .footer-column h4 {
            font-size: 0.85rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            margin-bottom: 1.5rem;
            color: var(--gold);
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column li {
            margin-bottom: 0.75rem;
        }
        
        .footer-column a {
            color: var(--cream);
            text-decoration: none;
            font-size: 0.9rem;
            opacity: 0.7;
            transition: opacity 0.3s ease;
        }
        
        .footer-column a:hover {
            opacity: 1;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            font-size: 0.85rem;
            opacity: 0.6;
        }

        .footer-legal-links {
            font-size: 0.78rem;
            letter-spacing: 0.02em;
            margin: 0;
        }
        .footer-legal-links a {
            color: inherit;
            text-decoration: none;
            transition: opacity 0.18s ease, text-decoration-color 0.18s ease;
        }
        .footer-legal-links a:hover {
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 3px;
            opacity: 1;
        }
        .footer-legal-sep {
            margin: 0 0.5rem;
            opacity: 0.6;
        }
        
        /* Mobile Responsive */
        @media (max-width: 968px) {
            .nav-links { display: none; }
            .about-grid, .custom-grid, .christmas-content { grid-template-columns: 1fr; gap: 2rem; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .stores-grid { grid-template-columns: 1fr; }
        }
        
        @media (max-width: 600px) {
            section { padding: 4rem 5%; }
            .about-stats { flex-direction: column; gap: 1.5rem; }
            .footer-grid { grid-template-columns: 1fr; }
            .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
        }
        
        /* Scroll animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        /* Univers créatifs - grille des deux domaines */
.custom-universes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.universe-card {
    background: white;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.universe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.universe-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--cream-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.universe-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--icon-color, var(--gold-dark));
    color: var(--icon-color, var(--gold-dark));
}

.universe-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.universe-card p {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    margin-bottom: 1.5rem;
}

.universe-list {
    list-style: none;
    text-align: left;
    padding-left: 1rem;
}

.universe-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--charcoal-light);
}

.universe-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.7rem;
}

/* Tags des créations */
.custom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.tag {
    background: var(--cream-dark);
    color: var(--charcoal-light);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--gold);
    color: var(--cream);
}

/* Instagram Feed Section */
.instagram-feed {
    padding: 6rem 5%;
    background: var(--cream-dark);
    text-align: center;
}

.instagram-grid {
    max-width: 1200px;
    margin: 0 auto 3rem;
    min-height: 300px;
}

.instagram-cta {
    margin-top: 2rem;
}

.instagram-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
/* ============================================
   E-COMMERCE & CMS ADDITIONS
   ============================================ */

/* Event Banner - Configurable Colors */
.event-banner {
    background: linear-gradient(135deg, var(--event-color, #1a472a) 0%, var(--event-accent, #2d5a3d) 100%);
    color: var(--cream);
    padding: 3rem 5%;
    position: relative;
    overflow: hidden;
}

.event-banner::before {
    content: '✦';
    position: absolute;
    font-size: 15rem;
    opacity: 0.05;
    top: -3rem;
    right: -2rem;
}

.event-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0rem 3rem;
    align-items: start;
    position: relative;
    z-index: 2;
    justify-content: start;
    align-content: start;
}

.event-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

.event-text h2 em {
    color: var(--cream);
    font-style: italic;
}

.event-text p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.event-details {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.event-details h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

.event-info {
    list-style: none;
}

.event-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.event-info li svg {
    width: 18px;
    height: 18px;
    color: var(--icon-color, var(--gold));
    flex-shrink: 0;
    margin-top: 2px;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-light);
    text-decoration: none;
    font-size: 0.85rem;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.event-link:hover {
    gap: 1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Cart Link */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--terracotta);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

/* E-commerce Boutique Page */
.boutique-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.boutique-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section h4 {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--cream-dark);
}

.filter-section ul {
    list-style: none;
}

.filter-section li {
    margin-bottom: 0.5rem;
}

.filter-section a {
    color: var(--charcoal-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.filter-section a:hover,
.filter-section a.active {
    color: var(--gold-dark);
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--cream-dark);
    background: white;
    font-family: inherit;
    font-size: 0.9rem;
}

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

/* ==============================================================
   THEME LA BOHEME UNIQUEMENT - Boutique-sidebar en pills modernes
   Style inspire Lapeyre : barre horizontale, pills compacts,
   hover gris clair, actif noir+blanc
   ============================================================== */
body:not(.lbp-themed) .boutique-layout {
    display: block;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}
body:not(.lbp-themed) .boutique-sidebar {
    position: static;
    top: auto;
    height: auto;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--cream-dark);
    border-radius: 0;
    padding: 0 0 1.5rem;
    margin: 0 0 2.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    box-shadow: none;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section {
    margin: 0;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 auto;
    position: relative;
    gap: 0.5rem;
    background: var(--cream);
}
body:not(.lbp-themed) .boutique-sidebar .filter-section form {
    width: 100%;
}
/* Search en premier - input pill */
body:not(.lbp-themed) .boutique-sidebar .filter-section:first-child {
    flex: 1 1 280px;
    max-width: 380px;
    margin-right: 0.4rem;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section:first-child h3,
body:not(.lbp-themed) .boutique-sidebar .filter-section:first-child h4 {
    display: none;
}
body:not(.lbp-themed) .boutique-sidebar input[type="text"],
body:not(.lbp-themed) .boutique-sidebar .search-box input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid var(--cream-dark);
    border-radius: 999px;
    background: var(--cream, #faf6ef) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a08043' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") no-repeat 14px center;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--charcoal);
    transition: all 0.2s ease;
}
body:not(.lbp-themed) .boutique-sidebar input[type="text"]:focus {
    outline: none;
    border-color: var(--gold-dark);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(160, 128, 67, 0.12);
}
body:not(.lbp-themed) .boutique-sidebar input[type="text"]::placeholder {
    color: var(--charcoal-light);
    opacity: 0.7;
}

/* Categories + Tri : titre devient un pill cliquable qui toggle un dropdown */
body:not(.lbp-themed) .boutique-sidebar .filter-section:not(:first-child) {
    cursor: pointer;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section:not(:first-child) > h3,
body:not(.lbp-themed) .boutique-sidebar .filter-section:not(:first-child) > h4 {
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.55rem 1.1rem 0.55rem 1.1rem;
    background: var(--cream, #faf6ef);
    border: 1px solid var(--cream-dark);
    border-radius: 999px;
    color: var(--charcoal);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: 1px solid var(--cream-dark);
    padding-bottom: 0.55rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section:not(:first-child) > h3:hover,
body:not(.lbp-themed) .boutique-sidebar .filter-section:not(:first-child) > h4:hover {
    background: var(--cream-dark);
    border-color: var(--gold);
    color: var(--charcoal);
}
/* Pill avec filtre actif : bordure gold-dark + texte gold-dark + indicateur point */
body:not(.lbp-themed) .boutique-sidebar .filter-section.has-active-filter > h3,
body:not(.lbp-themed) .boutique-sidebar .filter-section.has-active-filter > h4 {
    background: var(--cream-dark, #f5e2ce);
    border-color: var(--gold-dark);
    color: var(--gold-dark);
    font-weight: 600;
    padding-right: 1.4rem;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section.has-active-filter > h3::before,
body:not(.lbp-themed) .boutique-sidebar .filter-section.has-active-filter > h4::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-dark);
    flex-shrink: 0;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section.has-active-filter.is-open > h3,
body:not(.lbp-themed) .boutique-sidebar .filter-section.has-active-filter.is-open > h4 {
    background: var(--charcoal);
    color: white;
    border-color: var(--charcoal);
}
body:not(.lbp-themed) .boutique-sidebar .filter-section.has-active-filter.is-open > h3::before,
body:not(.lbp-themed) .boutique-sidebar .filter-section.has-active-filter.is-open > h4::before {
    background: white;
}

/* Bouton "Reinitialiser" : pill discret avec icone X */
body:not(.lbp-themed) .boutique-sidebar .filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.55rem 1rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--charcoal-light);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
    align-self: center;
}
body:not(.lbp-themed) .boutique-sidebar .filter-reset:hover {
    background: var(--cream-dark);
    color: var(--charcoal);
    border-color: var(--gold);
}
body:not(.lbp-themed) .boutique-sidebar .filter-reset svg {
    flex-shrink: 0;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section:not(:first-child) > h3::after,
body:not(.lbp-themed) .boutique-sidebar .filter-section:not(:first-child) > h4::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 4px;
    margin-top: -4px;
    transition: transform 0.25s ease;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section.is-open > h3,
body:not(.lbp-themed) .boutique-sidebar .filter-section.is-open > h4 {
    background: var(--charcoal);
    color: white;
    border-color: var(--charcoal);
}
body:not(.lbp-themed) .boutique-sidebar .filter-section.is-open > h3::after,
body:not(.lbp-themed) .boutique-sidebar .filter-section.is-open > h4::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}
/* Apres le label, on affiche un mini compteur "(X)" si filtre actif - 
   Ici le JS injecte .filter-value avec le texte de l'option active */
body:not(.lbp-themed) .boutique-sidebar .filter-section .filter-value {
    display: none;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section:not(:first-child) > h3 .filter-section-label,
body:not(.lbp-themed) .boutique-sidebar .filter-section:not(:first-child) > h4 .filter-section-label {
    /* placeholder si on rajoute un span dans le HTML, on garde compatible */
}

/* Dropdown menu */
body:not(.lbp-themed) .boutique-sidebar .filter-section ul {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section:not(:first-child) ul {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: white;
    border: 1px solid var(--cream-dark);
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
    z-index: 50;
    max-height: 360px;
    overflow-y: auto;
    padding: 0.4rem 0;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section.is-open ul {
    display: block;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section li {
    margin: 0;
    padding: 0;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section a {
    display: block;
    padding: 0.55rem 1.2rem;
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.15s ease;
    border-radius: 0;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section a:hover {
    background: var(--cream, #faf6ef);
    color: var(--gold-dark);
}
body:not(.lbp-themed) .boutique-sidebar .filter-section a.active {
    background: var(--cream-dark, #f5e2ce);
    color: var(--gold-dark);
    font-weight: 600;
}
body:not(.lbp-themed) .boutique-sidebar .filter-section a.active::before {
    content: "✓";
    margin-right: 8px;
    color: var(--gold-dark);
    font-weight: 700;
}

/* boutique-main : compteur de produits "X creations" */
body:not(.lbp-themed) .boutique-main > p:first-of-type {
    color: var(--charcoal-light);
    font-size: 0.85rem;
    margin: 0 0 1.5rem;
    font-weight: 500;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--cream-dark);
}

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

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

.product-badge {
    background: var(--gold-dark, #a08043);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 14px;
    width: fit-content;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.75rem;
    color: var(--gold-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-info h3 a {
    color: var(--charcoal);
    text-decoration: none;
}

.product-info h3 a:hover {
    color: var(--gold-dark);
}

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

.price {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    color: var(--charcoal);
}

.price-old {
    font-size: 1rem;
    color: var(--charcoal-light);
    text-decoration: line-through;
}

/* Product Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.product-gallery {
    position: sticky;
    top: 0;
    height: fit-content;
}

.gallery-main {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--cream-dark);
    margin-bottom: 1rem;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--gold);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-content .product-price {
    margin-bottom: 1.5rem;
}

.product-content .price {
    font-size: 2rem;
}

.product-description {
    margin-bottom: 2rem;
    color: var(--charcoal-light);
    line-height: 1.8;
}

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

.option-group {
    margin-bottom: 1.5rem;
}

.option-group label {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.option-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--cream-dark);
    background: white;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

.option-group select:focus {
    outline: none;
    border-color: var(--gold);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--cream-dark);
    background: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    border-color: var(--gold);
    background: var(--cream);
}

.qty-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--cream-dark);
    font-family: inherit;
    font-size: 1rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    margin-top: 1rem;
}

/* Cart Page */
.cart-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.cart-items {
    margin-bottom: 2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--cream-dark);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    background: var(--cream-dark);
}

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

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

.cart-item-info h3 a {
    color: var(--charcoal);
    text-decoration: none;
}

.cart-item-variant {
    font-size: 0.85rem;
    color: var(--charcoal-light);
}

.cart-item-price {
    font-family: var(--font-headings);
    font-size: 1.2rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--charcoal-light);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: var(--terracotta);
}

.cart-summary {
    background: var(--cream-dark);
    padding: 2rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gold-light);
}

.cart-total span {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cart-total .total-amount {
    font-family: var(--font-headings);
    font-size: 2rem;
    color: var(--charcoal);
}

/* Checkout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.checkout-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--cream-dark);
    background: white;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.order-summary {
    background: var(--cream-dark);
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.order-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gold-light);
}

.order-items {
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    padding: 8rem 5% 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--charcoal-light);
}

.breadcrumb a {
    color: var(--gold-dark);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    color: var(--cream-dark);
    margin-bottom: 1.5rem;
}

.empty-state h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--charcoal-light);
    margin-bottom: 2rem;
}

/* Confirmation Page */
.confirmation-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.confirmation-icon {
    width: 100px;
    height: 100px;
    background: var(--sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.confirmation-icon svg {
    width: 50px;
    height: 50px;
    color: white;
}

.confirmation-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.confirmation-content p {
    color: var(--charcoal-light);
    margin-bottom: 1.5rem;
}

.order-number {
    background: var(--cream-dark);
    padding: 1rem 2rem;
    display: inline-block;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Events Page */
.events-grid {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    background: white;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
}

.event-date {
    text-align: center;
    padding: 1rem;
    background: var(--gold);
    color: white;
    height: fit-content;
}

.event-date .day {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.event-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.event-details p {
    color: var(--charcoal-light);
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--charcoal-light);
    flex-direction: column;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-meta svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

/* Responsive Additions */
@media (max-width: 968px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .event-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .boutique-layout {
        grid-template-columns: 1fr;
    }
    
    .boutique-sidebar {
        position: static;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        position: static;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .cart-item-price,
    .cart-item-remove {
        grid-column: 2;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        grid-template-columns: 1fr;
    }
    
    .event-date {
        display: flex;
        gap: 0.5rem;
        align-items: baseline;
        justify-content: center;
        padding: 0.75rem 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-info h3 {
        font-size: 1rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
}

/* ============================================
   NEWSLETTER SECTION (RGPD)
   ============================================ */

.newsletter {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
    color: var(--cream);
    text-align: center;
    padding: 5rem 5%;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-icon {
    width: 70px;
    height: 70px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.newsletter-icon svg {
    width: 32px;
    height: 32px;
    color: var(--charcoal);
}

.newsletter h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.newsletter p {
    opacity: 0.8;
    margin-bottom: 2rem;
}

.newsletter-form {
    margin-bottom: 1.5rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-input-group input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    background: white;
    color: var(--charcoal);
}

.newsletter-input-group input[type="email"]:focus {
    outline: 2px solid var(--gold);
}

.newsletter-input-group .btn {
    white-space: nowrap;
}

.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    font-size: 0.85rem;
    opacity: 0.8;
    cursor: pointer;
}

.newsletter-consent input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
}

.newsletter-consent a {
    color: var(--gold);
    text-decoration: underline;
}

.newsletter-reassurance {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

.newsletter-reassurance span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-reassurance svg {
    width: 16px;
    height: 16px;
    color: var(--sage);
}

/* ============================================
   STORES WITH MAP
   ============================================ */

.stores-grid-map {
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
}

.store-map {
    background: var(--cream-dark);
    min-height: 400px;
    overflow: hidden;
}

.store-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: block;
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */

.featured-products {
    padding: 6rem 5%;
    background: var(--cream-dark);
}

.featured-products .section-header {
    margin-bottom: 3rem;
}

.featured-products .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

@media (max-width: 1024px) {
    .featured-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stores-grid-map {
        grid-template-columns: 1fr;
    }
    
    .store-map {
        min-height: 300px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input-group .btn {
        width: 100%;
        justify-content: center;
    }
    
    .newsletter-reassurance {
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .featured-products .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    padding: 6rem 5%;
    background: var(--cream);
}

.testimonials .section-header {
    margin-bottom: 3rem;
}

.rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.rating-summary .stars {
    display: inline-flex;
    gap: 2px;
    color: var(--gold);
}

.rating-summary .stars svg {
    width: 18px;
    height: 18px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.testimonial-quote {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.testimonial-quote svg {
    width: 40px;
    height: 40px;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--gold);
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--cream-dark);
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--charcoal);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--charcoal-light);
}

.testimonial-source {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--charcoal-light);
}

.testimonial-source svg {
    width: 20px;
    height: 20px;
}

/* Widget Elfsight - Centrage */
.testimonials-widget {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-widget [class^="elfsight-app-"] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Bouton Itinéraire Google Maps */
.map-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: white;
    color: var(--charcoal);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
}
.map-directions-btn:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.store-map {
    position: relative;
}
.store-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
    border-radius: 12px;
}

/* ============================================
   BLOG ARTICLE - Typographie magazine + blocs Pell
   ============================================ */

/* Article container */
.article-content,
.article-body {
    max-width: 760px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--charcoal, #2c2c2c);
}

.article-content > p,
.article-body > p {
    margin: 1.4em 0;
}

/* Première lettre stylée (drop cap optionnel) */
.article-content > p:first-of-type::first-letter,
.article-body > p:first-of-type::first-letter {
    font-family: var(--font-headings);
    font-size: 4em;
    font-weight: 700;
    color: var(--gold-dark, #a08043);
    float: left;
    line-height: 0.85;
    margin: 0.05em 0.1em 0 0;
    padding: 0;
}

/* Titres internes */
.article-content h2,
.article-body h2 {
    font-family: var(--font-headings);
    font-size: 1.9rem;
    margin: 2.5rem 0 1rem 0;
    color: var(--charcoal, #2c2c2c);
    line-height: 1.2;
}
.article-content h3,
.article-body h3 {
    font-family: var(--font-headings);
    font-size: 1.45rem;
    margin: 2rem 0 0.75rem 0;
    color: var(--charcoal, #2c2c2c);
}

/* Listes */
.article-content ul,
.article-content ol,
.article-body ul,
.article-body ol {
    margin: 1.4em 0;
    padding-left: 1.5em;
}
.article-content li,
.article-body li {
    margin: 0.5em 0;
}

/* Liens */
.article-content a,
.article-body a {
    color: var(--gold-dark, #a08043);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.article-content a:hover,
.article-body a:hover {
    color: var(--charcoal);
}

/* Bloc Citation (cms-quote) */
.cms-quote,
.article-content blockquote,
.article-body blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--gold-dark, #a08043);
    background: var(--cream-dark, #f5ebd6);
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--charcoal, #2c2c2c);
    border-radius: 0 8px 8px 0;
    position: relative;
}
.cms-quote::before {
    content: '"';
    position: absolute;
    top: -0.2em;
    left: 0.4em;
    font-size: 4em;
    color: var(--gold-dark, #a08043);
    opacity: 0.25;
    font-family: serif;
    line-height: 1;
}

/* Bloc Encadré / Callout (cms-callout) */
.cms-callout {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: #fefce8;
    border: 1px solid #fde68a;
    border-left: 4px solid #eab308;
    border-radius: 8px;
    font-family: var(--font-body);
    color: #713f12;
    line-height: 1.6;
}
.cms-callout strong {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: #854d0e;
    margin-bottom: 0.5rem;
}

/* Séparateur ornemental (cms-separator) */
.cms-separator,
.article-content hr,
.article-body hr {
    border: none;
    text-align: center;
    margin: 3rem auto;
    height: 30px;
    position: relative;
}
.cms-separator::after,
.article-content hr::after,
.article-body hr::after {
    content: "✦ ✦ ✦";
    color: var(--gold-dark, #a08043);
    font-size: 1.2rem;
    letter-spacing: 1.5em;
    margin-left: 1.5em;
}

/* Images insérées (cms-image) */
.cms-image,
.article-content figure,
.article-body figure {
    margin: 2.5rem auto;
    max-width: 100%;
}
.cms-image img,
.article-content figure img,
.article-body figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.cms-image-left {
    float: left;
    max-width: 45%;
    margin: 0.5rem 1.5rem 1rem 0;
}
.cms-image-right {
    float: right;
    max-width: 45%;
    margin: 0.5rem 0 1rem 1.5rem;
}
.cms-image-center {
    margin-left: auto;
    margin-right: auto;
}
.cms-image figcaption,
.article-content figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--charcoal-light, #595959);
    margin-top: 0.75rem;
    font-style: italic;
}

/* Vidéos insérées dans le contenu (cms-video) */
.cms-video,
.article-content .cms-video,
.article-body .cms-video,
.product-description .cms-video {
    margin: 2rem 0;
    position: relative;
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.cms-video iframe,
.cms-video video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    display: block;
    background: #000;
}

/* Tableau de caractéristiques (cms-specs) */
.cms-specs,
.article-content .cms-specs,
.article-body .cms-specs,
.product-description .cms-specs {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    border: 1px solid var(--cream-dark, #f5ebd6);
    border-radius: 10px;
    overflow: hidden;
    font-size: 0.95rem;
}
.cms-specs th,
.cms-specs td {
    padding: 0.85rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--cream-dark, #f5ebd6);
    vertical-align: top;
}
.cms-specs tr:last-child th,
.cms-specs tr:last-child td { border-bottom: none; }
.cms-specs th {
    background: var(--cream, #faf6ef);
    color: var(--charcoal, #2c2c2c);
    font-weight: 600;
    width: 40%;
    font-family: inherit;
}
.cms-specs td {
    background: white;
    color: var(--charcoal-light, #595959);
}
.cms-specs tr:hover th { background: var(--cream-dark, #f5ebd6); }

/* Listes à puces et numérotées dans descriptions */
.product-description ul,
.article-body ul,
.article-content ul {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}
.product-description ul li,
.article-body ul li,
.article-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    list-style: none;
    position: relative;
    padding-left: 1.2rem;
}
.product-description ul li::before,
.article-body ul li::before,
.article-content ul li::before {
    content: '✦';
    color: var(--gold-dark, #a08043);
    position: absolute;
    left: 0;
    font-size: 0.85em;
    top: 0.3em;
}
.product-description ol,
.article-body ol,
.article-content ol {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}
.product-description ol li,
.article-body ol li,
.article-content ol li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Mises en valeur dans le texte */
.article-content em,
.article-body em {
    color: var(--charcoal, #2c2c2c);
    font-style: italic;
}
.article-content strong,
.article-body strong {
    color: var(--charcoal, #2c2c2c);
    font-weight: 700;
}

@media (max-width: 700px) {
    .article-content,
    .article-body { font-size: 1.05rem; padding: 0 1.25rem; }
    .cms-image-left, .cms-image-right {
        float: none;
        max-width: 100%;
        margin: 1.5rem 0;
    }
    .cms-quote { font-size: 1.2rem; padding: 1.25rem 1.5rem; }
    .article-content > p:first-of-type::first-letter,
    .article-body > p:first-of-type::first-letter { font-size: 3.5em; }
}

/* ============================================
   PRODUCT VARIANT SELECTOR (intelligent)
   ============================================ */
.variant-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.variant-option-btn {
    background: white;
    border: 2px solid var(--cream-dark, #e8d8c0);
    color: var(--charcoal, #2c2c2c);
    padding: 8px 18px;
    font-size: 0.95rem;
    font-family: inherit;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 50px;
    font-weight: 500;
}
.variant-option-btn:hover:not(.disabled) {
    border-color: var(--gold-dark, #a08043);
    color: var(--gold-dark, #a08043);
}
.variant-option-btn.selected {
    background: var(--charcoal, #2c2c2c);
    color: white;
    border-color: var(--charcoal, #2c2c2c);
}
.variant-option-btn.disabled {
    background: #f5f5f5;
    color: #c0c0c0;
    border-color: #e8e8e8;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.6;
}
.option-group {
    margin-bottom: 1.25rem;
}
.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--charcoal, #2c2c2c);
}

/* ============================================
   VARIANT COLOR SWATCHES (couleurs_meta)
   ============================================ */
/* Pastille couleur ronde */
.variant-color-swatch {
    border: 2px solid rgba(0,0,0,0.1) !important;
    box-shadow: inset 0 0 0 2px white;
    transition: all 0.2s ease;
    position: relative;
    padding: 0 !important;
    min-width: auto;
}
.variant-color-swatch:hover:not(.disabled) {
    transform: scale(1.08);
    border-color: var(--gold-dark, #a08043) !important;
}
.variant-color-swatch.selected {
    border-color: var(--charcoal, #2c2c2c) !important;
    box-shadow: inset 0 0 0 3px white, 0 0 0 2px var(--gold-dark, #a08043);
    transform: scale(1.05);
}
.variant-color-swatch.selected::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 18px; height: 18px;
    /* fill='none' est INDISPENSABLE : sans lui le polyline herite du fill du <svg>
       et le navigateur dessine un triangle blanc plein au lieu d'un trait de coche.
       < et > encodes en %3C / %3E pour un data-URI valide dans tous les navigateurs. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.65));
}
.variant-color-swatch.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: none !important;
}
.variant-color-swatch.disabled::before {
    content: '';
    position: absolute;
    top: 50%; left: -2px; right: -2px;
    height: 2px;
    background: rgba(0,0,0,0.4);
    transform: rotate(-45deg);
}

/* Image variant button */
.variant-color-image {
    border: 2px solid var(--cream-dark, #e8d8c0) !important;
    transition: all 0.2s ease;
    cursor: pointer;
}
.variant-color-image:hover:not(.disabled) {
    border-color: var(--gold-dark, #a08043) !important;
    transform: translateY(-2px);
}
.variant-color-image.selected {
    border-color: var(--charcoal, #2c2c2c) !important;
    box-shadow: 0 0 0 2px var(--gold-dark, #a08043);
}
.variant-color-image.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.6);
}

/* ============================================================
   FRONT - REFONTE CSS (header logo, prix promo, panier, hero)
   ============================================================ */

/* --- Logo header (image SVG) --- */
nav#mainNav .logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
}
nav#mainNav .logo:hover { opacity: 0.85; }
/* === MODE HEADER ON DARK : logo et liens en blanc quand le hero est sombre ===
   La classe body.header-on-dark est posee automatiquement sur les pages article/event
   dont la couleur joy est foncee. */

/* Par defaut : logo dark cache, logo light visible. Note : il faut !important 
   car la regle nav#mainNav .logo img { display:block } est plus specifique. */
nav#mainNav .logo .logo-dark,
nav#mainNav .logo picture.logo-dark { display: none !important; }
nav#mainNav .logo .logo-light,
nav#mainNav .logo picture.logo-light { display: block !important; }

/* Mode dark non-scrolled : on swap les logos */
body.header-on-dark nav#mainNav:not(.scrolled) .logo .logo-light,
body.header-on-dark nav#mainNav:not(.scrolled) .logo picture.logo-light { display: none !important; }
body.header-on-dark nav#mainNav:not(.scrolled) .logo .logo-dark { display: block !important; }

/* Si pas de logo dark fourni, on applique un filtre CSS qui inverse les couleurs sombres
   (fonctionne bien pour les logos noirs simples sur transparent) */
body.header-on-dark nav#mainNav:not(.scrolled) .logo:not(:has(.logo-dark)) .logo-light {
    display: block !important;
    filter: brightness(0) invert(1);
}

/* Liens du menu en blanc */
body.header-on-dark nav#mainNav:not(.scrolled) .nav-center > li > a,
body.header-on-dark nav#mainNav:not(.scrolled) .nav-right .nav-icon,
body.header-on-dark nav#mainNav:not(.scrolled) .nav-right a {
    color: #fff !important;
}
/* Bouton burger mobile */
body.header-on-dark nav#mainNav:not(.scrolled) .menu-toggle span,
body.header-on-dark nav#mainNav:not(.scrolled) .mobile-menu-btn span {
    background: #fff !important;
}

nav#mainNav .logo img,
nav#mainNav .logo picture img {
    height: var(--lbp-logo-h, 50px);
    width: auto;
    transition: height 0.3s ease;
}
nav#mainNav.scrolled .logo img {
    height: calc(var(--lbp-logo-h, 50px) * 0.8);
}

@media (max-width: 768px) {
    nav#mainNav .logo img {
        height: var(--lbp-logo-h-mobile, var(--lbp-logo-h, 40px));
    }
    nav#mainNav.scrolled .logo img {
        height: calc(var(--lbp-logo-h-mobile, var(--lbp-logo-h, 40px)) * 0.8);
    }
}

/* Cart icon polish */
nav#mainNav .cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--charcoal, #2c2c2c);
    padding: 6px;
    transition: color 0.2s;
}
nav#mainNav .cart-link:hover { color: var(--gold-dark, #a08043); }
nav#mainNav .cart-link .cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--gold-dark, #a08043);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* --- PRIX PROMO (boutique grid + détail produit) --- */
/* Le HTML utilise .old-price et .current-price : on définit ces deux classes */
.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    flex-wrap: wrap;
    font-family: var(--font-headings);
}
.product-price .old-price,
.price-old {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    text-decoration-color: rgba(0,0,0,0.4);
    font-weight: 400;
}
.product-price .current-price,
.price-current {
    font-size: 1.4rem;
    color: var(--gold-dark, #a08043);
    font-weight: 600;
}

/* Badge promo automatique sur la card si prix promo présent */
.product-card.has-promo .product-image::after {
    content: 'Promo';
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--terracotta, #c66b4a);
    color: white;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    z-index: 2;
}

/* --- PAGE HERO (panier, faq, etc.) --- */
.page-hero {
    background: linear-gradient(135deg, var(--cream, #faf6ef) 0%, var(--cream-dark, #f5ebd6) 100%);
    padding: 5rem 5% 3rem;
    text-align: center;
    margin-top: 80px;
}
.page-hero .breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--charcoal-light, #595959);
    letter-spacing: 0.05em;
}
.page-hero .breadcrumb a {
    color: var(--gold-dark, #a08043);
    text-decoration: none;
    transition: color 0.2s;
}
.page-hero .breadcrumb a:hover { color: var(--charcoal, #2c2c2c); }
.page-hero h1 {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--charcoal, #2c2c2c);
    margin: 0;
}
.page-hero p {
    color: var(--charcoal-light, #595959);
    margin-top: 0.5rem;
    font-size: 1.05rem;
}

/* --- PANIER --- */
.cart-page {
    max-width: 1176px;
    margin: 0 auto;
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 900px) {
    .cart-page { grid-template-columns: 1fr; gap: 2rem; }
}

/* Panier vide */
.cart-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--cream-dark, #f5ebd6);
}
.cart-empty svg { color: var(--cream-dark, #f5ebd6); margin-bottom: 1.5rem; }
.cart-empty h2 {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--charcoal, #2c2c2c);
    margin: 0 0 0.5rem;
}

/* Liste articles */
.cart-items {
    background: white;
    border-radius: 16px;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--cream-dark, #f5ebd6);
}
.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr 110px 110px 40px;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--cream-dark, #f5ebd6);
    margin: 0;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-image {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--cream, #faf6ef);
    border: 1px solid var(--cream-dark, #f5ebd6);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cart-item-info h3 {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0 0 4px;
}
.cart-item-info h3 a {
    color: var(--charcoal, #2c2c2c);
    text-decoration: none;
    transition: color 0.2s;
}
.cart-item-info h3 a:hover { color: var(--gold-dark, #a08043); }
.cart-item-info .variants {
    font-size: 0.85rem;
    color: var(--charcoal-light, #595959);
    background: var(--cream, #faf6ef);
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
}
.cart-item-quantity input[type=number] {
    width: 70px;
    padding: 8px 10px;
    border: 1px solid var(--cream-dark, #f5ebd6);
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
    background: white;
    transition: border-color 0.2s;
}
.cart-item-quantity input[type=number]:focus {
    outline: none;
    border-color: var(--gold-dark, #a08043);
}
.cart-item-price {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--charcoal, #2c2c2c);
    text-align: right;
}
.cart-item-remove {
    background: transparent;
    border: none;
    color: #b0b0b0;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.cart-item-remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Récap panier */
.cart-summary {
    background: white;
    border: 1px solid var(--cream-dark, #f5ebd6);
    border-radius: 16px;
    padding: 1.75rem;
    position: sticky;
    top: 100px;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    color: var(--charcoal, #2c2c2c);
    font-size: 0.95rem;
}
.cart-summary-row small { color: var(--success, #16a34a); font-weight: 600; }
.cart-summary-row.total {
    border-top: 2px solid var(--charcoal, #2c2c2c);
    margin-top: 0.75rem;
    padding-top: 1rem;
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-weight: 600;
}
.cart-summary-row.total span:last-child { color: var(--gold-dark, #a08043); }
.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.5rem;
}
.cart-actions .btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 0.95rem;
}

/* Mobile : cart-item compact */
@media (max-width: 700px) {
    .cart-item {
        grid-template-columns: 70px 1fr 40px;
        grid-template-rows: auto auto;
        gap: 0.75rem;
        row-gap: 0.5rem;
    }
    .cart-item-image { width: 70px; height: 70px; }
    .cart-item-info { grid-column: 2 / 3; grid-row: 1; }
    .cart-item-remove { grid-column: 3; grid-row: 1; align-self: start; }
    .cart-item-quantity { grid-column: 2 / 3; grid-row: 2; }
    .cart-item-price { grid-column: 3 / 4; grid-row: 2; text-align: right; font-size: 1.1rem; }
}

.cart-clear-btn {
    background: none;
    border: none;
    color: var(--charcoal-light, #595959);
    cursor: pointer;
    font-size: 0.82rem;
    text-decoration: underline;
    transition: color 0.2s;
}
.cart-clear-btn:hover { color: #dc2626; }

/* Bouton .btn-gold pour CTA Commander */
.btn-gold {
    background: var(--gold-dark, #a08043);
    color: white;
    border: 1px solid var(--gold-dark, #a08043);
    transition: all 0.2s;
}
.btn-gold:hover {
    background: #7d6435;
    border-color: #7d6435;
    color: white;
}

/* ============================================================
   FIX BOUTIQUE - cards (titres + prix non bleus/soulignés)
   ============================================================ */
.product-card a,
.product-card a:hover,
.product-card a:visited {
    text-decoration: none;
    color: inherit;
    display: block;
}
body:not(.lbp-themed) .product-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.25s ease;
    border: none;
    position: relative;
}
body:not(.lbp-themed) .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.product-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
    border: none;
    position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.product-card .product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--cream, #faf6ef);
}
.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.product-card:hover .product-image img { transform: scale(1.06); }
.product-card .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gold, #C9A86C);
}
.product-card .product-info {
    padding: 1.1rem 1.25rem 1.4rem;
    text-align: center;
}
.product-card .product-info h3 {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--charcoal, #2c2c2c) !important;
    text-decoration: none !important;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
.product-card .product-price {
    justify-content: center;
    margin: 0;
}

/* Badge "Coup de cœur" / "Nouveau" */
.product-card .product-badges-wrap {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: none;
}
.product-card .product-badge {
    background: var(--gold-dark, #a08043);
    color: white;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    pointer-events: auto;
    width: fit-content;
}

/* ============================================================
   PAGE PRODUIT - sélecteur quantité + bouton + réassurance
   ============================================================ */
.qty-and-cart {
    display: flex;
    gap: 12px;
    margin: 1.5rem 0 1rem;
    align-items: stretch;
}

/* Sélecteur quantité moderne */
.qty-selector {
    display: inline-flex;
    align-items: center;
    background: white;
    border: 1px solid var(--cream-dark, #f5ebd6);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    flex-shrink: 0;
}
.qty-selector .qty-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--gold-dark, #a08043);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    padding: 0;
}
.qty-selector .qty-btn:hover {
    background: var(--cream, #faf6ef);
    color: #7d6435;
}
.qty-selector .qty-btn:active { transform: scale(0.92); }
.qty-selector input[type=number] {
    width: 50px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--charcoal, #2c2c2c);
    font-family: var(--font-headings);
    -moz-appearance: textfield;
    appearance: textfield;
    padding: 8px 0;
}
.qty-selector input[type=number]::-webkit-inner-spin-button,
.qty-selector input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-selector input[type=number]:focus { outline: none; }

/* Ajouter au panier - amélioré */
.add-to-cart {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 50px;
    background: var(--charcoal, #2c2c2c);
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
    cursor: pointer;
}
.add-to-cart:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.add-to-cart:active { transform: translateY(0); }

/* Réassurance (sous le bouton) */
.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--cream, #faf6ef);
    border-radius: 12px;
    border: 1px solid var(--cream-dark, #f5ebd6);
}
.reassurance-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.reassurance-item svg {
    flex-shrink: 0;
    color: var(--gold-dark, #a08043);
}
.reassurance-item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--charcoal, #2c2c2c);
    font-weight: 600;
    line-height: 1.2;
}
.reassurance-item small {
    display: block;
    font-size: 0.75rem;
    color: var(--charcoal-light, #595959);
    margin-top: 2px;
}

/* Product meta - meilleur design */
.product-meta {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--cream-dark, #f5ebd6);
    font-size: 0.9rem;
    color: var(--charcoal-light, #595959);
}
.product-meta p { margin: 6px 0; }
.product-meta .meta-value {
    color: var(--charcoal, #2c2c2c);
    font-family: monospace;
    font-size: 0.9em;
    background: var(--cream, #faf6ef);
    padding: 2px 8px;
    border-radius: 4px;
}

/* ============================================================
   "Vous aimerez également" - même style que boutique
   ============================================================ */
.related-products {
    padding: 4rem 5%;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent 0%, var(--cream, #faf6ef) 100%);
    overflow: hidden;
}
.related-products .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.related-products .section-title {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--charcoal, #2c2c2c);
    margin: 0 0 0.5rem;
}
.related-products .section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--gold-dark, #a08043);
    margin: 0.75rem auto 0;
}
.related-products .section-subtitle {
    color: var(--charcoal-light, #595959);
    text-align: center;
}
/* Slider wrap pour positionner les fleches en absolute */
.related-products .related-slider-wrap {
    position: relative;
    margin: 0 auto;
}
/* Fleches paprika gold-dark */
.related-products .related-arrow {
    position: absolute;
    top: 35%;
    z-index: 5;
    width: 48px;
    height: 48px;
    background: var(--gold-dark, #a08043);
    color: white;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    transition: all 0.25s ease;
    padding: 0;
}
.related-products .related-arrow:hover {
    background: var(--charcoal, #2c2c2c);
    transform: translateY(-2px);
}
.related-products .related-arrow svg {
    color: white;
    stroke: white;
}
.related-products .related-arrow.related-prev {
    left: -8px;
}
.related-products .related-arrow.related-next {
    right: -8px;
}
@media (max-width: 720px) {
    .related-products .related-arrow.related-prev { left: 4px; }
    .related-products .related-arrow.related-next { right: 4px; }
}
/* Slider scroll horizontal (override de .products-grid) */
.related-products .products-grid {
    display: flex;
    grid-template-columns: none;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x proximity;
    scroll-padding: 1rem;
    padding: 1rem 0.5rem 2rem;
    margin: 0;
    max-width: none;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark, #a08043) var(--cream-dark, #f5e2ce);
    scroll-behavior: smooth;
}
.related-products .products-grid::-webkit-scrollbar {
    height: 8px;
}
.related-products .products-grid::-webkit-scrollbar-track {
    background: var(--cream-dark, #f5e2ce);
    border-radius: 4px;
}
.related-products .products-grid::-webkit-scrollbar-thumb {
    background: var(--gold-dark, #a08043);
    border-radius: 4px;
}
.related-products .products-grid > .product-card {
    flex: 0 0 300px;
    width: 300px;
    scroll-snap-align: start;
}
/* Masquer les fleches quand le slider n'a pas d'overflow (toutes les cards visibles).
   Le JS ajoute .is-not-overflowing au wrap. Aussi, on cache automatiquement si la
   scrollbar n'est pas necessaire via une regle CSS pure (fallback) */
.related-products .related-slider-wrap.is-not-overflowing .related-arrow {
    display: none !important;
}
.related-products .related-slider-wrap.is-not-overflowing .products-grid {
    justify-content: center;
    overflow-x: visible;
}

@media (max-width: 600px) {
    .reassurance-grid { grid-template-columns: 1fr; }
    .qty-and-cart { flex-direction: column; }
    .qty-selector { align-self: flex-start; }
}

/* ============================================================
   RUPTURE DE STOCK - cards boutique + fiche produit
   ============================================================ */
.product-card.out-of-stock .product-image img {
    filter: grayscale(0.6) opacity(0.65);
    transition: filter 0.3s;
}
.product-card.out-of-stock:hover .product-image img {
    filter: grayscale(0.35) opacity(0.8);
}
.product-card .product-badge.badge-rupture {
    background: var(--sage, #9CAF88);
    color: white;
    font-size: 0.68rem;
}
.product-card.out-of-stock .current-price {
    color: var(--charcoal);
    opacity: 0.85;
}
.product-card.out-of-stock::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 50%, rgba(255,255,255,0.15) 100%);
}

/* Fiche produit en rupture - bouton désactivé */
/* Bouton "Me prévenir" (rupture de stock) */
.btn-notify {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-headings);
    border-radius: 50px;
    background: var(--charcoal, #2c2c2c);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    letter-spacing: 0.02em;
}
.btn-notify:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.2);
}
.btn-notify:active { transform: translateY(0); }
.btn-notify span { font-family: inherit; }

/* Bouton "Demande enregistrée" (confirmé) */
.btn-notify-done {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-headings);
    border-radius: 50px;
    background: #dcfce7;
    color: #166534;
    border: none;
    cursor: default;
    letter-spacing: 0.02em;
}
.btn-notify-done span { font-family: inherit; }

/* Badge rupture sur fiche produit (haut de page) */
.product-detail .product-badge-head.badge-rupture {
    background: var(--sage, #9CAF88);
}

/* ============================================================
   CAROUSEL - Page d'accueil "Nos créations vedettes"
   ============================================================ */
.carousel-wrapper {
    position: relative;
    padding: 0 50px;
}
.carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 4px 24px;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: thin;
    scrollbar-color: var(--cream-dark, #f5ebd6) transparent;
}
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-track { background: transparent; }
.carousel-track::-webkit-scrollbar-thumb {
    background: var(--cream-dark, #f5ebd6);
    border-radius: 3px;
}
.carousel-track::-webkit-scrollbar-thumb:hover { background: var(--gold, #C9A86C); }

.carousel-card {
    flex: 0 0 calc(25% - 18px);
    min-width: 240px;
    max-width: 320px;
    scroll-snap-align: start;
}
@media (max-width: 1024px) {
    .carousel-card { flex: 0 0 calc(33.333% - 16px); }
}
@media (max-width: 768px) {
    .carousel-card { flex: 0 0 calc(50% - 12px); }
    .carousel-wrapper { padding: 0 30px; }
}
@media (max-width: 540px) {
    .carousel-card { flex: 0 0 calc(85% - 12px); }
    .carousel-wrapper { padding: 0 12px; }
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--cream-dark, #f5ebd6);
    color: var(--charcoal, #2c2c2c);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: all 0.2s;
    padding: 0;
}
.carousel-arrow:hover {
    background: var(--gold-dark, #a08043);
    color: white;
    border-color: var(--gold-dark, #a08043);
    box-shadow: 0 6px 20px rgba(160,128,67,0.3);
    transform: translateY(-50%) scale(1.05);
}
.carousel-arrow:active { transform: translateY(-50%) scale(0.95); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

@media (max-width: 540px) {
    .carousel-arrow { width: 36px; height: 36px; }
    .carousel-prev { left: -8px; }
    .carousel-next { right: -8px; }
}

/* ============================================================
   BADGE PROMO HTML (rendu serveur, plus le pseudo CSS)
   ============================================================ */
.product-card .product-badge.badge-promo {
    background: var(--terracotta, #c66b4a);
    color: white;
    top: 12px;
    left: auto;
    right: 12px;
}
/* On désactive le pseudo ::after qui faisait double-emploi */
.product-card.has-promo .product-image::after { content: none; }

/* ============================================================
   PAGE PRODUIT - layout 60/40 + photo plus grande + prix gros
   ============================================================ */
.product-detail {
    grid-template-columns: 1.5fr 1fr !important;
    max-width: none !important;
    gap: 3rem !important;
    padding: 2rem 0 !important;
    align-items: start !important;
}
@media (max-width: 1100px) {
    .product-detail { grid-template-columns: 1.3fr 1fr !important; gap: 2.5rem !important; }
}
@media (max-width: 900px) {
    .product-detail { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .product-main-media { aspect-ratio: 1 / 1 !important; height: auto !important; min-height: 0 !important; max-height: none !important; }
}

/* Prix gros sur fiche produit */
.product-content .product-price-big,
.product-detail .product-price-big {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 2rem !important;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--cream-dark, #f5ebd6);
    font-family: var(--font-headings);
}
.product-price-big .current-price {
    font-size: 2.6rem !important;
    font-weight: 600;
    color: var(--gold-dark, #a08043);
    line-height: 1;
}
.product-price-big .old-price {
    font-size: 1.4rem !important;
    color: #999;
    text-decoration: line-through;
    text-decoration-color: rgba(0,0,0,0.4);
    font-weight: 400;
    line-height: 1;
}
.product-price-big .promo-badge-inline {
    background: var(--terracotta, #c66b4a);
    color: white;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    align-self: center;
}

/* Espace + style entre prix et form */
.product-form {
    margin-top: 0;
}
.product-form .product-options,
.product-form .variant-block,
.product-form .variants-wrap {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

/* ============================================================
   STICKY CART BAR (apparaît au scroll)
   ============================================================ */
.sticky-cart-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-top: 1px solid var(--cream-dark, #f5ebd6);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    padding: 12px 0;
}
.sticky-cart-bar.visible { transform: translateY(0); }

.sticky-cart-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    gap: 16px;
}
.sticky-cart-product {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.sticky-cart-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--cream-dark, #f5ebd6);
    flex-shrink: 0;
}
.sticky-cart-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sticky-cart-info strong {
    font-family: var(--font-headings);
    font-size: 1.05rem;
    color: var(--charcoal, #2c2c2c);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sticky-cart-price {
    font-size: 0.95rem;
    color: var(--gold-dark, #a08043);
    font-weight: 600;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.sticky-cart-price .old-price {
    font-size: 0.82rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}
.sticky-cart-price .current-price {
    color: var(--gold-dark, #a08043);
    font-weight: 600;
}
.sticky-cart-btn {
    padding: 12px 22px !important;
    font-size: 0.92rem !important;
    border-radius: 50px !important;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 600px) {
    .sticky-cart-inner { gap: 10px; padding: 0 12px; }
    .sticky-cart-thumb { width: 42px; height: 42px; }
    .sticky-cart-info strong { font-size: 0.92rem; }
    .sticky-cart-price { font-size: 0.85rem; }
    .sticky-cart-btn { padding: 10px 14px !important; font-size: 0.85rem !important; }
    .sticky-cart-btn span { display: none; }
}

/* ============================================================
   FIX - Grille produits centrée (accueil + boutique)
   auto-fit au lieu d'auto-fill : les colonnes vides sont collapsées,
   les cards existantes s'étalent pour remplir => 3 cards sont centrées
   ============================================================ */
.featured-products .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 320px)) !important;
    justify-content: center !important;
}
body:not(.lbp-themed) .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    justify-content: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* "En savoir plus" dans la description courte */
.tagline-more,
.product-tagline .tagline-more {
    color: var(--gold-dark, #a08043) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s;
}
.tagline-more:hover,
.product-tagline .tagline-more:hover {
    color: #7d6435 !important;
    text-decoration: none;
}

/* Bouton CTA "Voir tous les articles" en bas de related */
.related-products .related-cta {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--charcoal, #2c2c2c);
    background: white;
    border: 1px solid var(--gold-dark, #a08043);
    text-decoration: none;
    transition: all 0.2s;
}
.related-products .related-cta:hover {
    background: var(--gold-dark, #a08043);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(160,128,67,0.25);
}
.related-products .related-cta:hover svg { transform: translateX(3px); }
.related-products .related-cta svg { transition: transform 0.2s; }

/* ============================================================
   ALERTES - styles unifiés front + auto-hide
   ============================================================ */
.alert {
    position: relative;
    padding: 14px 44px 14px 50px;
    border-radius: 10px;
    margin: 1.25rem auto;
    max-width: 720px;
    font-size: 0.95rem;
    line-height: 1.5;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    animation: alertSlideIn 0.3s ease-out;
    transition: opacity 0.3s, transform 0.3s, max-height 0.3s, margin 0.3s, padding 0.3s;
    border: 1px solid;
    overflow: hidden;
    max-height: 200px;
}
.alert::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.alert.alert-hide {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
    margin: 0 auto;
    padding: 0 44px 0 50px;
    border-color: transparent !important;
}
@keyframes alertSlideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}
.alert .alert-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s;
}
.alert .alert-close:hover { opacity: 1; }
.alert a { color: inherit; text-decoration: underline; font-weight: 600; }

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}
.alert-success::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23065f46' stroke-width='2.5'%3E%3Cpath d='M22 11.08V12a10 10 0 11-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
}
.alert-error,
.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}
.alert-error::before,
.alert-danger::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23991b1b' stroke-width='2.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E");
}
.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}
.alert-warning::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2392400e' stroke-width='2.5'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}
.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border-color: #bfdbfe;
}
.alert-info::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e40af' stroke-width='2.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
}

/* ============================================================
   CHECKOUT - layout + sections + récap
   ============================================================ */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 5% 4rem;
    align-items: start;
}
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }

.checkout-section {
    background: white;
    border-radius: 14px;
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--cream-dark, #f5ebd6);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.checkout-section h2 {
    margin: 0 0 1.25rem;
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--charcoal, #2c2c2c);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--cream-dark, #f5ebd6);
}
.checkout-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.checkout-section .form-group { margin-bottom: 1rem; }
.checkout-section .form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--charcoal, #2c2c2c);
}
.checkout-section input[type=text],
.checkout-section input[type=email],
.checkout-section input[type=tel],
.checkout-section select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--cream-dark, #f5ebd6);
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.checkout-section input:focus,
.checkout-section select:focus {
    outline: none;
    border-color: var(--gold-dark, #a08043);
    box-shadow: 0 0 0 3px rgba(160,128,67,0.12);
}

.checkout-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--cream, #faf6ef);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.92rem;
    color: var(--charcoal, #2c2c2c);
    margin-top: 8px;
}
.checkout-checkbox input { width: 18px; height: 18px; accent-color: var(--gold-dark, #a08043); }

.checkout-help {
    color: var(--charcoal-light, #595959);
    font-size: 0.92rem;
    margin: 0 0 1.25rem;
    padding: 12px 14px;
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
    border-radius: 6px;
}
.checkout-loading {
    text-align: center;
    padding: 2rem;
    color: var(--charcoal-light, #595959);
}

.checkout-summary { position: sticky; top: 100px; }
.checkout-recap h2 { font-size: 1.3rem; }
.recap-items { list-style: none; padding: 0; margin: 0 0 1rem; }
.recap-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--cream-dark, #f5ebd6);
    align-items: center;
}
.recap-item:last-child { border-bottom: none; }
.recap-thumb {
    width: 56px; height: 56px;
    background: var(--cream, #faf6ef);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--cream-dark, #f5ebd6);
}
.recap-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recap-info strong {
    display: block;
    font-size: 0.92rem;
    color: var(--charcoal, #2c2c2c);
    line-height: 1.2;
    margin-bottom: 4px;
}
.recap-info small {
    display: block;
    font-size: 0.78rem;
    color: var(--charcoal-light, #595959);
}
.recap-price {
    font-family: var(--font-headings);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gold-dark, #a08043);
    text-align: right;
}

/* ============================================================
   CART DRAWER - panier slide-in
   ============================================================ */
.cart-drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(3px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.cart-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
    position: fixed;
    top: 0; right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: white;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}
.cart-drawer.open {
    transform: translateX(0);
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
}
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--cream-dark, #f5ebd6);
}
.cart-drawer-header h3 {
    margin: 0;
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--charcoal, #2c2c2c);
}
.cart-drawer-close {
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--charcoal-light, #595959);
    border-radius: 50%;
    transition: background 0.15s;
}
.cart-drawer-close:hover { background: var(--cream, #faf6ef); color: var(--charcoal, #2c2c2c); }
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}
.cart-drawer-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--charcoal-light, #595959);
}
.cart-drawer-empty svg { color: var(--cream-dark, #f5ebd6); margin-bottom: 1rem; }
.cart-drawer-empty p {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--charcoal, #2c2c2c);
}
.cart-drawer-items { list-style: none; padding: 0; margin: 0; }
.cart-drawer-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-dark, #f5ebd6);
    align-items: flex-start;
}
.cart-drawer-item:last-child { border-bottom: none; }
.cart-drawer-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--cream-dark, #f5ebd6);
    flex-shrink: 0;
}
.cart-drawer-thumb-placeholder {
    background: var(--cream, #faf6ef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold, #C9A86C);
    font-size: 1.5rem;
}
.cart-drawer-info { flex: 1; min-width: 0; }
.cart-drawer-info strong {
    display: block;
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal, #2c2c2c);
    line-height: 1.3;
    margin-bottom: 4px;
}
.cart-drawer-variant {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--charcoal-light, #595959);
    background: var(--cream, #faf6ef);
    padding: 2px 8px;
    border-radius: 8px;
    margin-bottom: 6px;
}
.cart-drawer-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 4px;
}
.cart-drawer-qty { font-size: 0.85rem; color: var(--charcoal-light, #595959); }
.cart-drawer-price {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-dark, #a08043);
}
.cart-drawer-footer {
    border-top: 1px solid var(--cream-dark, #f5ebd6);
    padding: 1.25rem 1.5rem 1.5rem;
    background: var(--cream, #faf6ef);
}
/* Vignette du panneau lateral enveloppee dans <picture>.
   Le filtre WebP enveloppe les <img> du front dans <picture>, or Joy applique
   "body.lbp-themed.lbp-themed picture { width:100%; height:100% }". Le <picture>
   prenait donc toute la largeur de la ligne, poussait le nom du produit hors du
   cadre et provoquait un defilement horizontal.
   La classe .cart-drawer-thumb est portee par l'<img>, pas par le <picture> :
   il faut donc contraindre le <picture> lui-meme, avec une specificite
   superieure a celle de Joy (0,3,1 contre 0,2,1). */
body.lbp-themed.lbp-themed .cart-drawer-item > picture,
.cart-drawer-item > picture {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    display: block;
    overflow: hidden;
    border-radius: 8px;
}
body.lbp-themed.lbp-themed .cart-drawer-item > picture img,
.cart-drawer-item > picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* L'<img> nue (sans <picture>) ne doit pas s'etirer non plus */
.cart-drawer-thumb { flex: 0 0 64px; }

/* Ligne "Remise quantite" du panneau lateral : meme mise en page que le total,
   pour que le montant economise soit lisible d'un coup d'oeil. */
.cart-drawer-economie {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: #b91c6b;
}
.cart-drawer-economie strong { font-weight: 700; }

/* Prix barre : le tarif plein, avant remise quantite */
.cart-drawer-price-plein {
    color: var(--gray-500, #888);
    font-weight: 400;
    margin-right: 4px;
    font-size: 0.85em;
}

.cart-drawer-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cream-dark, #f5ebd6);
}
.cart-drawer-total span {
    font-size: 0.9rem;
    color: var(--charcoal, #2c2c2c);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.cart-drawer-total strong {
    font-family: var(--font-headings);
    font-size: 1.6rem;
    color: var(--gold-dark, #a08043);
    font-weight: 600;
}
.cart-drawer-btn { width: 100%; text-align: center; margin-bottom: 8px; padding: 12px 20px; }
.cart-drawer-btn:last-child { margin-bottom: 0; }
@media (max-width: 480px) { .cart-drawer { width: 100vw; } }
body.cart-drawer-open { overflow: hidden; }

/* ============================================================
   FIX - Centrer le sous-titre de "Vous aimerez également"
   ============================================================ */
.related-products .section-header {
    text-align: center;
}
.related-products .section-subtitle {
    text-align: center;
}

/* ============================================================
   CART DRAWER - controls (qty + remove buttons)
   ============================================================ */
.cart-drawer-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    /* Sur ecran etroit le panneau fait 100vw : sans retour a la ligne, le prix
       et le bouton de suppression sortaient du cadre et le nom du produit se
       retrouvait tronque. */
    flex-wrap: wrap;
}
.cart-drawer-qty-ctrl {
    display: inline-flex;
    align-items: center;
    background: var(--cream, #faf6ef);
    border: 1px solid var(--cream-dark, #f5ebd6);
    border-radius: 50px;
    overflow: hidden;
}
.cart-drawer-qty-ctrl .qty-btn-small {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: var(--gold-dark, #a08043);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.cart-drawer-qty-ctrl .qty-btn-small:hover { background: white; color: #7d6435; }
.cart-drawer-qty-ctrl .qty-val {
    min-width: 26px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--charcoal, #2c2c2c);
    padding: 0 4px;
}
.cart-drawer-controls .cart-drawer-price {
    flex: 1;
    text-align: right;
    font-size: 1rem;
}
.cart-drawer-remove {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #b0b0b0;
    padding: 6px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
}
.cart-drawer-remove:hover { background: #fee2e2; color: #dc2626; }

/* ============================================================
   CHECKOUT recap - controls (qty + remove)
   ============================================================ */
.recap-item .recap-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.recap-item .recap-qty-ctrl {
    display: inline-flex;
    align-items: center;
    background: var(--cream, #faf6ef);
    border: 1px solid var(--cream-dark, #f5ebd6);
    border-radius: 6px;
    overflow: hidden;
}
.recap-item .recap-qty-ctrl button {
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    color: var(--gold-dark, #a08043);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
}
.recap-item .recap-qty-ctrl button:hover { background: white; }
.recap-item .recap-qty-ctrl span {
    min-width: 22px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
}
.recap-item .recap-remove {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #b0b0b0;
    padding: 4px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.recap-item .recap-remove:hover { background: #fee2e2; color: #dc2626; }

/* ============================================================
   CHECKOUT - Modale connexion client existant
   ============================================================ */
.checkout-login-modal {
    position: fixed;
    inset: 0;
    background: rgba(44, 44, 44, 0.55);
    backdrop-filter: blur(3px);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.checkout-login-card {
    background: white;
    border-radius: 14px;
    max-width: 460px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: modalSlide 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalSlide {
    from { opacity: 0; transform: translateY(-10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.checkout-login-header {
    padding: 28px 28px 18px;
    border-bottom: 1px solid var(--cream-dark, #f5ebd6);
    text-align: center;
}
.checkout-login-header h3 {
    margin: 0 0 6px;
    font-family: var(--font-headings);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--charcoal, #2c2c2c);
}
.checkout-login-header p {
    margin: 0;
    color: var(--charcoal-light, #595959);
    font-size: 0.95rem;
}

.checkout-login-body {
    padding: 20px 28px;
}
.checkout-login-body .form-group { margin-bottom: 16px; }
.checkout-login-body .form-group:last-child { margin-bottom: 0; }
.checkout-login-body label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--charcoal, #2c2c2c);
}
.checkout-login-body input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--cream-dark, #f5ebd6);
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    font-family: inherit;
    transition: border-color 0.15s;
    box-sizing: border-box;
}
.checkout-login-body input:focus {
    outline: none;
    border-color: var(--gold-dark, #a08043);
    box-shadow: 0 0 0 3px rgba(160,128,67,0.12);
}
.checkout-login-body input[readonly] {
    background: var(--cream, #faf6ef);
    color: var(--charcoal-light, #595959);
}

.checkout-login-footer {
    padding: 18px 28px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background: var(--cream, #faf6ef);
    border-top: 1px solid var(--cream-dark, #f5ebd6);
    flex-wrap: wrap;
}
.checkout-login-other {
    color: var(--charcoal-light, #595959);
    font-size: 0.85rem;
    text-decoration: underline;
    flex: 1;
}
.checkout-login-other:hover { color: var(--gold-dark, #a08043); }
.checkout-login-footer .btn {
    padding: 11px 24px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* ============================================================
   CHECKOUT - Cartes d'adresses sauvegardées
   ============================================================ */
.address-card {
    position: relative;
    display: block;
    background: white;
    border: 2px solid var(--cream-dark, #f5ebd6);
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 0.92rem;
}
.address-card:hover {
    border-color: var(--gold-dark, #a08043);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.address-card.selected {
    border-color: var(--gold-dark, #a08043);
    background: var(--cream, #faf6ef);
}
.address-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 12px;
    width: 22px;
    height: 22px;
    background: var(--gold-dark, #a08043);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}
.address-card strong {
    display: block;
    color: var(--charcoal, #2c2c2c);
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2px;
}
.address-card-new {
    border-style: dashed;
    border-color: var(--gold-dark, #a08043);
    text-align: center;
    background: transparent;
}
.address-card-new:hover {
    background: var(--cream, #faf6ef);
}

/* ============================================================
   PANIER - contrôles quantité +/-
   ============================================================ */
.cart-item-quantity .qty-form { margin: 0; }
.qty-ctrl {
    display: inline-flex;
    align-items: center;
    background: var(--cream, #faf6ef);
    border: 1px solid var(--cream-dark, #f5ebd6);
    border-radius: 50px;
    overflow: hidden;
    height: 38px;
}
.qty-ctrl .qty-btn {
    width: 32px;
    height: 38px;
    border: none;
    background: transparent;
    color: var(--gold-dark, #a08043);
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.15s;
}
.qty-ctrl .qty-btn:hover:not(:disabled) {
    background: white;
    color: #7d6435;
}
.qty-ctrl .qty-btn:disabled {
    color: #c0b4a0;
    cursor: not-allowed;
}
.qty-ctrl .qty-input {
    width: 40px;
    height: 36px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--charcoal, #2c2c2c);
    padding: 0;
    -moz-appearance: textfield;
}
.qty-ctrl .qty-input::-webkit-outer-spin-button,
.qty-ctrl .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-ctrl .qty-input:focus { outline: none; background: white; }

/* Bouton désactivé (choix de variante manquant) */
.btn.btn-disabled,
.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: auto;
    filter: grayscale(30%);
}
.btn.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ============================================================
   CHECKOUT - Cartes de choix d'adresse + bouton Ajouter
   ============================================================ */
.btn-add-address {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--gold-dark, #a08043);
    color: var(--gold-dark, #a08043);
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.btn-add-address:hover {
    background: var(--gold-dark, #a08043);
    color: white;
}

.address-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    margin-top: 8px;
}
.address-option {
    position: relative;
    display: block;
    background: white;
    border: 2px solid var(--cream-dark, #f5ebd6);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 0.88rem;
}
.address-option:hover {
    border-color: var(--gold-dark, #a08043);
}
.address-option.selected {
    border-color: var(--gold-dark, #a08043);
    background: var(--cream, #faf6ef);
}
.address-option.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: var(--gold-dark, #a08043);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}
.address-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.address-option-body strong {
    display: block;
    color: var(--charcoal, #2c2c2c);
    font-family: var(--font-headings);
    font-size: 0.98rem;
    font-weight: 500;
    margin-bottom: 3px;
}
.address-option-body div {
    color: var(--charcoal-light, #595959);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ============================================================
   CONFIRMATION DE COMMANDE - Page dédiée
   ============================================================ */
.confirmation-inner {
    max-width: 780px;
    margin: 0 auto;
}

/* HERO */
.confirmation-hero {
    background: linear-gradient(180deg, var(--cream, #faf6ef) 0%, white 100%);
    padding: 5.5rem 5% 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.confirmation-hero::before,
.confirmation-hero::after {
    content: '\2726'; /* ✦ */
    position: absolute;
    color: rgba(160, 128, 67, 0.12);
    font-size: 4rem;
    pointer-events: none;
}
.confirmation-hero::before { top: 18%; left: 12%; transform: rotate(-18deg); }
.confirmation-hero::after { bottom: 22%; right: 12%; transform: rotate(14deg); }

.confirmation-hero-inner {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.confirmation-check-circle {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #a8c89e 0%, #7ab36a 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(122, 179, 106, 0.28);
    animation: checkPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes checkPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); }
}

.confirmation-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--gold-dark, #a08043);
    font-weight: 600;
    margin: 0 0 0.6rem;
}
.confirmation-title {
    font-family: var(--font-headings);
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 2.9rem);
    color: var(--charcoal, #2c2c2c);
    margin: 0 0 1rem;
    line-height: 1.15;
}
.confirmation-subtitle {
    color: var(--charcoal-light, #595959);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

/* Sections suivantes */
.confirmation-steps,
.confirmation-recap,
.confirmation-contact {
    padding: 3rem 5%;
}
.confirmation-recap { background: var(--cream, #faf6ef); }
.confirmation-h2 {
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--charcoal, #2c2c2c);
    text-align: center;
    margin: 0 0 2rem;
}

/* Steps */
.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}
.step-item {
    display: flex;
    gap: 18px;
    padding: 18px 22px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--cream-dark, #f5ebd6);
    transition: transform 0.15s;
}
.step-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}
.step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--cream, #faf6ef);
    color: var(--gold-dark, #a08043);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1.1rem;
}
.step-item.step-current .step-num {
    background: var(--gold-dark, #a08043);
    color: white;
    box-shadow: 0 4px 12px rgba(160, 128, 67, 0.3);
}
.step-item.step-current {
    border-color: var(--gold-dark, #a08043);
    background: linear-gradient(to right, rgba(160, 128, 67, 0.04), white);
}
.step-content h3 {
    margin: 0 0 4px;
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--charcoal, #2c2c2c);
}
.step-content p {
    margin: 0;
    color: var(--charcoal-light, #595959);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Recap card */
.recap-card {
    background: white;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.recap-items-confirm { padding: 14px 22px; }
.recap-item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-dark, #f5ebd6);
}
.recap-item-row:last-child { border-bottom: none; }
.recap-item-img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--cream, #faf6ef);
    flex-shrink: 0;
}
.recap-item-placeholder {
    width: 68px;
    height: 68px;
    background: var(--cream, #faf6ef);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark, #a08043);
    font-size: 1.6rem;
    flex-shrink: 0;
}
.recap-item-info { flex: 1; min-width: 0; }
.recap-item-name {
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 1rem;
    color: var(--charcoal, #2c2c2c);
    line-height: 1.3;
}
.recap-item-variant {
    font-size: 0.82rem;
    color: var(--gold-dark, #a08043);
    margin-top: 2px;
}
.recap-item-qty {
    font-size: 0.82rem;
    color: var(--charcoal-light, #595959);
    margin-top: 2px;
}
.recap-item-total {
    font-weight: 600;
    color: var(--charcoal, #2c2c2c);
    font-size: 1.02rem;
    white-space: nowrap;
}

.recap-totals {
    padding: 18px 22px;
    background: var(--cream, #faf6ef);
    border-top: 1px solid var(--cream-dark, #f5ebd6);
}
.recap-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.95rem;
    color: var(--charcoal-light, #595959);
}
.recap-row.recap-total-row {
    margin-top: 8px;
    padding: 12px 0 4px;
    border-top: 2px solid var(--charcoal, #2c2c2c);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal, #2c2c2c);
    font-family: var(--font-headings);
}
.recap-row.recap-total-row span:last-child { color: var(--gold-dark, #a08043); }

/* Addresses */
.confirmation-addresses {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 1.5rem;
}
.confirmation-addresses-split {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.address-block {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    border: 1px solid var(--cream-dark, #f5ebd6);
}
.address-block h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--gold-dark, #a08043);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 10px;
}
.address-block p {
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
    color: var(--charcoal, #2c2c2c);
}

/* Contact */
.confirmation-contact {
    background: linear-gradient(180deg, white 0%, var(--cream, #faf6ef) 100%);
}
.contact-links {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: white;
    border: 1.5px solid var(--cream-dark, #f5ebd6);
    border-radius: 10px;
    color: var(--charcoal, #2c2c2c);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.93rem;
    transition: all 0.18s;
}
.contact-link:hover {
    border-color: var(--gold-dark, #a08043);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    color: var(--gold-dark, #a08043);
}
.contact-link-insta:hover {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    color: white;
    border-color: transparent;
}
.contact-link-fb:hover {
    background: #1877f2;
    color: white;
    border-color: transparent;
}

/* Mobile */
@media (max-width: 640px) {
    .confirmation-hero { padding: 3rem 5% 2rem; }
    .confirmation-steps, .confirmation-recap, .confirmation-contact { padding: 2.2rem 5%; }
    .step-item { padding: 14px 16px; gap: 14px; }
    .step-num { width: 34px; height: 34px; font-size: 0.95rem; }
    .recap-item-img, .recap-item-placeholder { width: 56px; height: 56px; }
    .recap-items-confirm, .recap-totals { padding: 14px 16px; }
    .contact-link { padding: 10px 16px; font-size: 0.88rem; }
}

/* ============================================================
   PAGE CONFIRMATION - Design élégant "atelier artisanal"
   ============================================================ */

/* HERO */
.cf-hero {
    background: linear-gradient(135deg, #faf6ef 0%, #fff 55%, #faf6ef 100%);
    padding: 80px 5% 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--cream-dark, #f5ebd6);
}
.cf-hero::before,
.cf-hero::after {
    content: '✦';
    position: absolute;
    color: var(--gold-dark, #a08043);
    opacity: 0.12;
    font-size: 120px;
    font-family: Georgia, serif;
    pointer-events: none;
}
.cf-hero::before { top: 10%; left: 8%; transform: rotate(-15deg); }
.cf-hero::after { bottom: 15%; right: 8%; transform: rotate(18deg); }

.cf-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.cf-check-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a08043 0%, #c9a970 100%);
    color: white;
    margin-bottom: 22px;
    box-shadow: 0 8px 24px rgba(160, 128, 67, 0.25);
    animation: cfPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes cfPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.cf-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-dark, #a08043);
    margin: 0 0 12px;
}

.cf-title {
    font-family: var(--font-headings);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 500;
    color: var(--charcoal, #2c2c2c);
    margin: 0 0 18px;
    line-height: 1.15;
}

.cf-subtitle {
    font-size: 1.05rem;
    color: var(--charcoal-light, #595959);
    line-height: 1.7;
    margin: 0;
}
.cf-subtitle strong { color: var(--charcoal, #2c2c2c); }

/* Sections génériques */
.cf-section {
    padding: 64px 5%;
}
.cf-section-alt {
    background: var(--cream, #faf6ef);
}
.cf-inner {
    max-width: 960px;
    margin: 0 auto;
}
.cf-h2 {
    font-family: var(--font-headings);
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--charcoal, #2c2c2c);
    text-align: center;
    margin: 0 0 40px;
    position: relative;
}
.cf-h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--gold-dark, #a08043);
    margin: 14px auto 0;
}

/* PROCHAINES ÉTAPES */
.cf-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    counter-reset: cf-step;
}
.cf-step {
    position: relative;
    background: white;
    border-radius: 14px;
    padding: 28px 22px 22px;
    text-align: center;
    border: 1px solid var(--cream-dark, #f5ebd6);
    transition: all 0.25s;
    counter-increment: cf-step;
}
.cf-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(160, 128, 67, 0.08);
    border-color: var(--gold-light, #d4bc8b);
}
.cf-step::before {
    content: counter(cf-step);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--charcoal, #2c2c2c);
    color: white;
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
}
.cf-step-current {
    border-color: var(--gold-dark, #a08043);
    background: linear-gradient(180deg, #fff 0%, #faf6ef 100%);
}
.cf-step-current::before {
    background: var(--gold-dark, #a08043);
    box-shadow: 0 0 0 4px rgba(160, 128, 67, 0.15);
}

.cf-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--cream, #faf6ef);
    color: var(--gold-dark, #a08043);
    margin-bottom: 14px;
}
.cf-step-current .cf-step-icon {
    background: var(--gold-dark, #a08043);
    color: white;
}

.cf-step h3 {
    font-family: var(--font-headings);
    font-size: 1.08rem;
    font-weight: 500;
    margin: 0 0 8px;
    color: var(--charcoal, #2c2c2c);
}
.cf-step p {
    font-size: 0.88rem;
    color: var(--charcoal-light, #595959);
    line-height: 1.55;
    margin: 0;
}

/* RÉCAPITULATIF */
.cf-recap-card {
    background: white;
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid var(--cream-dark, #f5ebd6);
}

.cf-items {
    padding: 8px 28px;
}
.cf-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--cream-dark, #f5ebd6);
}
.cf-item:last-child {
    border-bottom: none;
}

.cf-item-media {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--cream, #faf6ef);
    position: relative;
}
.cf-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cf-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark, #a08043);
    font-size: 1.8rem;
    font-family: Georgia, serif;
    background: var(--cream, #faf6ef);
}

.cf-item-body {
    min-width: 0;
}
.cf-item-name {
    font-family: var(--font-headings);
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--charcoal, #2c2c2c);
    margin-bottom: 4px;
}
.cf-item-variant {
    font-size: 0.85rem;
    color: var(--gold-dark, #a08043);
    margin-bottom: 6px;
    font-style: italic;
}
.cf-item-qty {
    font-size: 0.85rem;
    color: var(--charcoal-light, #595959);
}

.cf-item-price {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal, #2c2c2c);
    white-space: nowrap;
}

/* Totals */
.cf-totals {
    background: var(--cream, #faf6ef);
    padding: 20px 28px;
    border-top: 2px solid var(--cream-dark, #f5ebd6);
}
.cf-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.95rem;
    color: var(--charcoal-light, #595959);
}
.cf-total-row span:last-child {
    color: var(--charcoal, #2c2c2c);
    font-weight: 500;
}
.cf-total-final {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--cream-dark, #f5ebd6);
    font-size: 1.2rem;
    font-weight: 600;
}
.cf-total-final span:first-child {
    font-family: var(--font-headings);
    color: var(--charcoal, #2c2c2c);
}
.cf-total-final span:last-child {
    color: var(--gold-dark, #a08043);
    font-size: 1.35rem;
}

/* ADRESSES */
.cf-addresses {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
}
.cf-addresses-split {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.cf-address {
    background: white;
    border: 1px solid var(--cream-dark, #f5ebd6);
    border-radius: 12px;
    padding: 20px 24px;
}
.cf-address h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark, #a08043);
    margin: 0 0 12px;
}
.cf-address p {
    margin: 0;
    line-height: 1.7;
    color: var(--charcoal, #2c2c2c);
    font-size: 0.95rem;
}
.cf-address p strong {
    color: var(--charcoal, #2c2c2c);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 4px;
}

/* CONTACTS */
.cf-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.cf-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 50px;
    background: white;
    border: 1.5px solid var(--cream-dark, #f5ebd6);
    text-decoration: none;
    color: var(--charcoal, #2c2c2c);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.cf-contact:hover {
    border-color: var(--gold-dark, #a08043);
    color: var(--gold-dark, #a08043);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(160, 128, 67, 0.12);
}
.cf-contact-email:hover { color: var(--gold-dark, #a08043); }
.cf-contact-insta:hover { color: #c13584; border-color: #c13584; box-shadow: 0 8px 20px rgba(193, 53, 132, 0.15); }
.cf-contact-fb:hover { color: #1877f2; border-color: #1877f2; box-shadow: 0 8px 20px rgba(24, 119, 242, 0.15); }

/* RESPONSIVE */
@media (max-width: 600px) {
    .cf-hero { padding: 60px 5% 50px; }
    .cf-section { padding: 48px 5%; }
    .cf-item { grid-template-columns: 70px 1fr; gap: 14px; }
    .cf-item-media { width: 70px; height: 70px; }
    .cf-item-price { grid-column: 1 / -1; text-align: right; }
    .cf-items { padding: 8px 20px; }
    .cf-totals { padding: 18px 20px; }
}

/* Lien "Déplacer vers mes préférés" dans le panier */
.link-wishlist {
    background: none;
    border: none;
    color: var(--charcoal-light, #595959);
    font-size: 0.82rem;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s;
}
.link-wishlist:hover {
    color: var(--gold-dark, #a08043);
}

/* ============================================================
   WISHLIST (préférés) - page client
   ============================================================ */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.wishlist-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.wishlist-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
.wishlist-card-link { display: block; }
.wishlist-card-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.wishlist-card-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--cream, #faf6ef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark, #a08043);
    font-size: 3rem;
}
.wishlist-card-body { padding: 16px 18px 18px; }
.wishlist-card-body h3 {
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 1.05rem;
    margin: 0 0 8px;
    line-height: 1.3;
}
.wishlist-card-body h3 a { color: var(--charcoal, #2c2c2c); text-decoration: none; }
.wishlist-card-body h3 a:hover { color: var(--gold-dark, #a08043); }
.wishlist-card-price {
    font-weight: 600;
    color: var(--gold-dark, #a08043);
    margin-bottom: 14px;
    font-size: 1.05rem;
}
.wishlist-card-price .old-price { color: var(--charcoal-light); text-decoration: line-through; font-weight: 400; font-size: 0.85rem; margin-right: 6px; }
.wishlist-card-actions {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.wishlist-remove-btn {
    background: var(--cream, #faf6ef);
    border: none;
    width: 40px;
    color: var(--charcoal-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wishlist-remove-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Icône cœur dans le header si présent */
.wishlist-header-link {
    position: relative;
}
.wishlist-header-link .wishlist-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--gold-dark, #a08043);
    color: white;
    border-radius: 50%;
    font-size: 0.68rem;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-weight: 600;
}

/* ============================================================
   MON COMPTE - espace client
   ============================================================ */
.account-section { padding: 48px 5% 80px; min-height: 60vh; background: #f8f7f4; }

/* === Décalage sous le header fixed === */
/* Le header est position:fixed (~80px). On applique un padding-top sur le body
   de TOUTES les pages pour que le contenu commence sous le header, garantissant
   que le header a partout la même couleur cream uniforme. */
body {
    padding-top: 80px;
}
/* Les pages qui ont leur propre .page-hero gèrent déjà le margin-top : on retire
   alors le margin-top redondant sur le hero (sinon double décalage). */
body:not(.page-mon-compte):not(.page-confirmation):not(.page-paiement-perso):not(.page-mes-preferes):not(.page-newsletter):not(.page-connexion):not(.page-404) .page-hero {
    margin-top: 0;
}
.account-container { max-width: 1280px; margin: 0 auto; }

.account-header {
    text-align: left;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.account-header h1 {
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 2rem;
    margin: 0;
    color: var(--charcoal);
}
.account-header p {
    margin: 0;
    color: var(--charcoal-light);
    font-size: 0.9rem;
}

.account-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 900px) {
    .account-layout { grid-template-columns: 1fr; }
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: white;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 90px;
    align-items: flex-start;
}
@media (max-width: 900px) {
    .account-nav {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 8px;
        gap: 4px;
    }
    .account-nav-link { flex: 1 1 auto; min-width: 120px; justify-content: center; font-size: 0.85rem; }
}
.account-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    color: var(--charcoal-light);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.15s;
    font-size: 0.9rem;
    font-weight: 500;
}
.account-nav-link:hover {
    background: #f8f7f4;
    color: var(--charcoal);
}
.account-nav-link.active {
    background: var(--gold-dark, #a08043);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(160, 128, 67, 0.25);
}
.account-nav-link.active svg { stroke: white; }
.account-nav-link svg { flex-shrink: 0; width: 17px; height: 17px; }
.count-badge {
    margin-left: auto;
    background: rgba(0,0,0,0.06);
    color: var(--charcoal-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.73rem;
    font-weight: 600;
}
.account-nav-link.active .count-badge {
    background: rgba(255,255,255,0.25);
    color: white;
}

.account-content {
    background: white;
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    min-height: 400px;
}
.account-content h2 {
    font-family: var(--font-headings);
    font-weight: 500;
    margin: 0 0 1.2rem;
    font-size: 1.35rem;
    color: var(--charcoal);
    padding-bottom: 12px;
    border-bottom: 2px solid #f2f0ed;
}
.account-content .form-group { margin-bottom: 1rem; }
.account-content label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--charcoal);
}
.account-content input:not([type="checkbox"]):not([type="radio"]),
.account-content select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--cream-dark, #f5ebd6);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
    background: white;
}
.account-content input[type="checkbox"],
.account-content input[type="radio"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.account-content input:not([type="checkbox"]):not([type="radio"]):focus,
.account-content select:focus {
    outline: none;
    border-color: var(--gold-dark, #a08043);
    box-shadow: 0 0 0 3px rgba(160,128,67,0.1);
}
.account-content .form-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--cream);
    border-radius: 10px;
}
.empty-state p {
    color: var(--charcoal-light);
    margin-bottom: 1.5rem;
}

/* Liste des commandes */
.mc-orders { display:flex; flex-direction:column; gap:10px; }
.mc-order-card {
    display: grid;
    grid-template-columns: 72px 1fr 20px;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #eeece8;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.mc-order-card:hover {
    border-color: var(--gold-dark);
    box-shadow: 0 4px 16px rgba(160,128,67,0.08);
}
.mc-order-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f7f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 1.4rem;
    flex-shrink: 0;
}
.mc-order-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.mc-order-info { min-width:0; }
.mc-order-row1 {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
}
.mc-order-num { font-weight:700; font-size:0.88rem; color:var(--charcoal); }
.mc-order-prix { font-weight:700; font-size:1.05rem; color:var(--gold-dark); white-space:nowrap; }
.mc-order-row2 {
    font-size: 0.85rem;
    color: var(--charcoal-light);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mc-order-more { opacity:0.5; }
.mc-order-row3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.mc-order-tags { display:flex; gap:5px; flex-wrap:wrap; }
.mc-tag {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-block;
}
.mc-tag-perso { background:#fef3c7; color:#92400e; }

/* Order detail redesign */
.mc-detail-header {
    background: white;
    border-radius: 14px;
    padding: 24px 28px;
    border: 1px solid #eeece8;
    margin-bottom: 20px;
}
.mc-detail-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--charcoal-light);
}
.mc-detail-meta div {
    display: flex;
    align-items: center;
    gap: 6px;
}
.mc-detail-meta strong {
    color: var(--charcoal);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mc-detail-article {
    display: flex;
    gap: 18px;
    padding: 20px 24px;
    border-bottom: 1px solid #f5f3f0;
    align-items: flex-start;
}
.mc-detail-article:last-of-type { border-bottom: none; }
.mc-detail-art-img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f7f4;
    flex-shrink: 0;
}
.mc-detail-art-img img { width:100%; height:100%; object-fit:cover; display:block; }
.mc-detail-art-img span { display:flex; width:100%; height:100%; align-items:center; justify-content:center; color:var(--gold-dark); font-size:1.4rem; }
.mc-detail-art-body { flex:1; min-width:0; }
.mc-detail-art-name {
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--charcoal);
    margin-bottom: 2px;
}
.mc-detail-art-variant { font-size: 0.84rem; color: var(--charcoal-light); margin-bottom: 6px; }
.mc-detail-perso {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mc-detail-perso-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-dark);
    font-weight: 700;
    margin-bottom: 6px;
    font-family: var(--font-headings);
}
.mc-detail-perso-opt {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--charcoal);
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.mc-detail-perso-opt:last-of-type { border-bottom: none; }
.mc-detail-perso-val {
    margin: -4px 0 4px 0;
    padding: 4px 12px;
    background: #f8f7f4;
    border-radius: 6px;
    display: inline-block;
    font-size: 0.84rem;
    color: var(--charcoal);
}
.mc-detail-perso-file {
    font-size: 0.82rem;
    color: var(--gold-dark);
    text-decoration: none;
}
.mc-detail-perso-file:hover { text-decoration: underline; }
.mc-detail-perso-msg {
    margin-top: 10px;
    padding: 10px 14px;
    background: #faf8f4;
    border-radius: 8px;
    font-style: italic;
    font-size: 0.86rem;
    color: var(--charcoal-light);
    line-height: 1.5;
}
.mc-detail-totals {
    padding: 18px 24px;
    background: #faf8f4;
}
.mc-detail-total-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 0.88rem;
    color: var(--charcoal-light);
}
.mc-detail-total-final {
    display: flex;
    justify-content: space-between;
    padding: 12px 0 0;
    margin-top: 8px;
    border-top: 2px solid var(--charcoal);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-headings);
}
    font-size: 0.88rem;
    color: var(--charcoal-light);
}
.mc-detail-total-final {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 2px;
    border-top: 1.5px solid #eeece8;
    margin-top: 6px;
    font-weight: 700;
    font-size: 1.05rem;
}

/* Adresses */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.address-saved {
    background: white;
    border: 1px solid #eeece8;
    border-radius: 14px;
    padding: 20px 22px;
    font-size: 0.92rem;
    transition: border-color 0.2s;
}
.address-saved:hover { border-color: var(--gold-dark); }
.address-saved-label {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
    font-size: 1.05rem;
}
.address-saved-body {
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 14px;
    font-size: 0.9rem;
}
.address-saved-actions {
    display: flex;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid #f5f3f0;
}
.link-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--gold-dark);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-headings);
    font-weight: 500;
    transition: opacity 0.15s;
}
.link-btn:hover { opacity: 0.7; }
.link-btn-danger { color: #dc2626; }
.link-btn-danger:hover { color: #991b1b; opacity: 1; }

.profile-form { max-width: 520px; }
.profile-form .form-group { margin-bottom: 18px; }
.profile-form .form-group label {
    font-family: var(--font-headings);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 6px;
    display: block;
}
.profile-form .form-group input,
.profile-form .form-group select,
.profile-form .form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #eeece8;
    border-radius: 10px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--charcoal);
    background: white;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.profile-form .form-group input:focus,
.profile-form .form-group select:focus {
    border-color: var(--gold-dark);
    outline: none;
    box-shadow: 0 0 0 3px rgba(160,128,67,0.08);
}

/* Account tab content cards */
.mc-card {
    background: white;
    border-radius: 14px;
    border: 1px solid #eeece8;
    padding: 28px;
    margin-bottom: 16px;
}
.mc-card h2 {
    font-size: 1.3rem;
    margin: 0 0 6px;
}
.mc-card-subtitle {
    font-size: 0.88rem;
    color: var(--charcoal-light);
    margin: 0 0 24px;
}
.mc-section-title {
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0 0 16px;
    color: var(--charcoal);
}
.mc-info-box {
    padding: 18px 22px;
    background: #faf8f4;
    border-radius: 12px;
    font-size: 0.92rem;
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: 24px;
}
.mc-checkbox-card {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: white;
    border: 1.5px solid #eeece8;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s;
}
.mc-checkbox-card:hover { border-color: var(--gold-dark); }
.mc-checkbox-card input[type="checkbox"] {
    accent-color: var(--gold-dark);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}
.mc-right-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #f5f3f0;
}
.mc-right-item:last-child { border-bottom: none; }
.mc-right-item strong { color: var(--charcoal); font-size: 0.92rem; }
.mc-right-item span { color: var(--charcoal-light); font-size: 0.86rem; line-height: 1.5; }
.mc-rgpd-badge {
    margin-top: 24px;
    padding: 14px 18px;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: #166534;
}

/* Lien "Vous avez déjà un compte ?" au-dessus du checkout */
.checkout-already-account {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(to right, var(--cream, #faf6ef), white);
    border: 1px solid var(--cream-dark, #f5ebd6);
    border-left: 3px solid var(--gold-dark, #a08043);
    border-radius: 8px;
    margin-bottom: 1.2rem;
    font-size: 0.92rem;
    color: var(--charcoal);
    flex-wrap: wrap;
}
.checkout-already-account a {
    color: var(--gold-dark, #a08043);
    font-weight: 600;
    text-decoration: underline;
    margin-left: auto;
}
.checkout-already-account a:hover { color: #7d6435; }

/* Bouton fermer de la modale login checkout */
.checkout-login-card { position: relative; }
.checkout-login-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: var(--cream, #faf6ef);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal-light, #595959);
    transition: all 0.15s;
    z-index: 2;
}
.checkout-login-close:hover {
    background: var(--cream-dark, #f5ebd6);
    color: var(--charcoal, #2c2c2c);
    transform: scale(1.05);
}

/* Icône cœur favori à côté du titre produit */
.product-title-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 8px;
}
.product-title-row h1 { margin: 0; flex: 1; }
.fav-heart-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--cream-dark, #f5ebd6);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal-light, #595959);
    transition: all 0.2s;
    margin-top: 4px;
}
.fav-heart-btn:hover {
    border-color: var(--gold-dark, #a08043);
    color: var(--gold-dark, #a08043);
    transform: scale(1.05);
}
.fav-heart-btn.is-fav {
    border-color: var(--gold-dark, #a08043);
    background: var(--gold-dark, #a08043);
    color: white;
}
.fav-heart-btn.is-fav svg { fill: white; }
.fav-heart-btn.is-fav svg path { fill: white !important; }
/* Etat par defaut : coeur outline (force fill: none meme si attribut HTML est override par CSS) */
.fav-heart-btn:not(.is-fav) svg,
.fav-heart-btn:not(.is-fav) svg path { fill: none !important; }
.fav-heart-btn .heart-pulse {
    animation: heartPulse 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ============================================================
   PERSONNALISATION - Lien + modale
   ============================================================ */
.btn-perso-link {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: white;
    border: 1.5px dashed var(--gold-dark, #a08043);
    color: var(--gold-dark, #a08043);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    margin: 14px 0 20px;
    transition: all 0.18s;
    box-sizing: border-box;
}
.btn-perso-link:hover {
    background: var(--cream, #faf6ef);
    border-style: solid;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(160, 128, 67, 0.15);
}

/* CTA Personnalisation - bouton doré arrondi */
.btn-perso-cta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    background: var(--gold-dark, #a08043);
    border: none;
    color: white;
    border-radius: 50px;
    font-family: var(--font-headings);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    margin: 10px 0 20px;
    transition: all 0.2s;
    box-sizing: border-box;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(160, 128, 67, 0.25);
}
.btn-perso-cta:hover {
    background: #8a6d35;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(160, 128, 67, 0.4);
}
.btn-perso-cta:active { transform: translateY(0); }
.btn-perso-cta span { font-family: inherit; }

.perso-modal {
    position: fixed;
    inset: 0;
    background: rgba(44, 44, 44, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease-out;
}
.perso-modal-card {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 580px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: modalSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px 36px 32px;
}
.perso-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: var(--cream, #faf6ef);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal-light, #595959);
    transition: all 0.15s;
    z-index: 2;
}
.perso-modal-close:hover {
    background: var(--cream-dark, #f5ebd6);
    color: var(--charcoal);
    transform: scale(1.05);
}

.perso-modal-title {
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 1.55rem;
    color: var(--charcoal);
    margin: 0 0 18px;
    padding-right: 36px;
    line-height: 1.25;
}

.perso-intro {
    background: var(--cream, #faf6ef);
    padding: 14px 18px;
    border-radius: 10px;
    border-left: 3px solid var(--gold-dark);
    color: var(--charcoal-light);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 22px;
}

.perso-section-title {
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 1rem;
    color: var(--charcoal);
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.perso-options-list { display: flex; flex-direction: column; gap: 8px; }
.perso-option-wrap {
    border: 1.5px solid var(--cream-dark, #f5ebd6);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}
.perso-option-wrap:has(input:checked) {
    border-color: var(--gold-dark, #a08043);
    box-shadow: 0 0 0 1px var(--gold-dark, #a08043);
}
.perso-option {
    display: block;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.15s;
}
.perso-option:hover { background: rgba(160,128,67,0.03); }
.perso-option-row {
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: flex-start;
}
.perso-option input[type="checkbox"],
.perso-option input[type="radio"] {
    accent-color: var(--gold-dark, #a08043);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}
.perso-option-libelle { flex: 1; color: var(--charcoal); font-size: 0.95rem; }
.perso-option-prix {
    font-weight: 600;
    color: var(--gold-dark, #a08043);
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.perso-option-prix-free { color: var(--gold-dark, #a08043); font-weight: 500; }

/* Input field integrated in option block */
.perso-opt-input {
    display: none;
    padding: 0 16px 14px 46px;
    animation: persoDescFade 0.2s ease-out;
}
.perso-field {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--cream-dark, #f5ebd6);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    box-sizing: border-box;
    background: white;
    transition: border-color 0.15s;
}
.perso-field:focus {
    outline: none;
    border-color: var(--gold-dark, #a08043);
    box-shadow: 0 0 0 3px rgba(160,128,67,0.1);
}
.perso-field-number { width: 140px; }
.perso-file-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1.5px dashed var(--cream-dark, #f5ebd6);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.86rem;
    color: var(--charcoal-light);
    transition: border-color 0.15s;
}
.perso-file-label:hover { border-color: var(--gold-dark, #a08043); }

.perso-contact-block .form-row {
    display: flex;
    gap: 10px;
}

.perso-summary {
    background: var(--cream, #faf6ef);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0 16px;
}
.perso-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.92rem;
    color: var(--charcoal-light);
}
.perso-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 4px;
    margin-top: 6px;
    border-top: 1.5px solid var(--cream-dark);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--charcoal);
}
.perso-summary-total span:last-child { color: var(--gold-dark); font-weight: 700; }
.perso-delai {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--charcoal-light);
    font-style: italic;
}

.perso-modal-footer {
    border-top: 1px solid var(--cream-dark);
    padding-top: 18px;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.perso-legal {
    font-size: 0.82rem;
    color: var(--charcoal-light);
    margin: 0;
    text-align: center;
    line-height: 1.5;
}
.perso-modal-footer .btn {
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    min-width: 240px;
}

@media (max-width: 540px) {
    .perso-modal-card { padding: 30px 22px 22px; }
    .perso-modal-title { font-size: 1.3rem; }
    .perso-contact-block .form-row { flex-direction: column; gap: 10px; }
}

/* Badge "Personnalisable" sur les product-cards (front) */

/* Badge "Personnalisable" - dégradé or distinct */
/* Tag "Personnaliser" entre titre et prix (texte simple) */
.product-perso-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--charcoal, #2c2c2c);
    letter-spacing: 0.02em;
    margin: 2px 0;
}
.product-perso-tag svg {
    color: var(--charcoal, #2c2c2c);
    flex-shrink: 0;
}

/* Options perso - description inline */
.perso-option .perso-option-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.perso-option-wrap {
    display: flex;
    flex-direction: column;
}
.perso-option-more {
    background: none;
    border: none;
    color: var(--gold-dark, #a08043);
    font-size: 0.78rem;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
    text-decoration: underline;
    text-underline-offset: 2px;
    align-self: flex-start;
    transition: color 0.15s;
}
.perso-option-more:hover { color: #7d6435; }
.perso-option-desc {
    margin: 4px 0 6px 32px;
    padding: 0;
    font-size: 0.84rem;
    color: var(--charcoal, #2c2c2c);
    line-height: 1.5;
    animation: persoDescFade 0.2s ease-out;
}
@keyframes persoDescFade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header avatar avec initiales */
.header-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gold-dark, #a08043);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    font-family: inherit;
}
.header-avatar-link:hover .header-avatar {
    background: #7d6435;
    transform: scale(1.06);
    transition: all 0.15s;
}

/* Badges sur la fiche produit (au-dessus du titre) */
.product-badge-head {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 20px;
    background: var(--gold-dark, #a08043);
    color: white;
}
.product-badge-head.badge-promo { background: #dc2626; }
.product-badge-head.badge-rupture { background: var(--sage, #9CAF88); }
.product-badge-head.badge-perso-head {
    background: none;
    color: var(--charcoal, #2c2c2c);
    padding: 5px 0;
    font-weight: 500;
}

/* Layout détail commande : 2 colonnes avec chat à droite */
@media (max-width: 900px) {
    .account-content [style*="grid-template-columns: 1fr 360px"] {
        grid-template-columns: 1fr !important;
    }
    .account-content [style*="position:sticky;top:90px"] {
        position: static !important;
    }
}

/* ============================================
   Onglets de méthode de paiement (Stripe + PayPal)
   ============================================ */
.payment-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 4px;
    background: var(--cream);
    border-radius: 10px;
}
.payment-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--charcoal-light);
    transition: all 0.15s ease;
}
.payment-tab:hover {
    color: var(--charcoal);
    background: rgba(160, 128, 67, 0.08);
}
.payment-tab.active {
    background: var(--white, #fff);
    color: var(--gold-dark);
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.payment-tab svg {
    flex-shrink: 0;
}

/* Panneau Stripe */
#stripe-payment-element {
    padding: 14px;
    background: var(--white, #fff);
    border: 1px solid var(--cream-dark);
    border-radius: 10px;
    min-height: 60px;
}
#stripe-pay-button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   Affichage promo dans panier et checkout
   ============================================ */
.price-original-strike {
    display: inline-block;
    color: var(--charcoal-light);
    font-size: 0.85em;
    text-decoration: line-through;
    margin-right: 6px;
    font-weight: 400;
    opacity: 0.75;
}
.price-promo {
    display: inline-block;
    color: var(--gold-dark);
    font-weight: 600;
}
/* Dans le récap checkout, vertical si espace limité */
.recap-price .price-original-strike + .price-promo {
    display: inline-block;
}

/* === BOUTIQUE TABS : wrapper + flèches scroll horizontal === */
.boutique-tabs-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

/* La barre tabs : pas de bg, scrolle horizontalement, scrollbar invisible */
.boutique-tabs-wrap .boutique-tabs {
    background: transparent !important;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
.boutique-tabs-wrap .boutique-tabs::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* Flèches : cachées par défaut, apparaissent via classes JS */
.boutique-tabs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}
.boutique-tabs-arrow-left { left: -4px; }
.boutique-tabs-arrow-right { right: -4px; }

.boutique-tabs-wrap.can-scroll-left .boutique-tabs-arrow-left,
.boutique-tabs-wrap.can-scroll-right .boutique-tabs-arrow-right {
    opacity: 1;
    pointer-events: auto;
}
.boutique-tabs-arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

/* Petits gradients latéraux pour suggérer le scroll (overlay sur les premiers/derniers tabs) */
.boutique-tabs-wrap::before,
.boutique-tabs-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.boutique-tabs-wrap::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}
.boutique-tabs-wrap::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}
.boutique-tabs-wrap.can-scroll-left::before { opacity: 1; }
.boutique-tabs-wrap.can-scroll-right::after { opacity: 1; }

/* Padding interne pour ne pas que le premier/dernier tab soit collé aux flèches */
.boutique-tabs-wrap.can-scroll-left .boutique-tabs { padding-left: 24px; }
.boutique-tabs-wrap.can-scroll-right .boutique-tabs { padding-right: 24px; }

/* ============================================================
   BLOC SEO REPLIABLE (bas des pages categorie, produit et editoriales)
   Le texte est toujours present dans le HTML : seule sa hauteur est
   contrainte. Les moteurs de recherche le lisent donc en entier.
   ============================================================ */
.seo-bloc {
    padding: 3rem 0 3.5rem;
    border-top: 1px solid var(--cream-dark, #f5ebd6);
    margin-top: 2.5rem;
}
/* Largeur de LECTURE. Sans cela le texte courait sur toute la largeur de
   l'ecran, ce qui rend la lecture penible : l'oeil perd sa ligne au retour
   chariot. On vise environ 75 caracteres par ligne. */
.seo-bloc > .container,
.seo-bloc-corps,
.seo-bloc-titre {
    /* 66ch donne environ 78 caracteres reels par ligne : l'unite ch se base sur
       la largeur du zero, plus large que la moyenne des lettres. Mesure faite
       dans un navigateur, 78ch donnait 93 caracteres, c'etait trop long. */
    max-width: 66ch;
    margin-left: auto;
    margin-right: auto;
}
.seo-bloc-titre {
    font-size: 1.45rem;
    line-height: 1.3;
    margin: 0 0 1.25rem;
    color: var(--charcoal, #2c2c2c);
}
.seo-bloc-corps {
    position: relative;
    /* 210px laisse voir le chapeau ET quelques lignes du texte : a 170px, un
       chapeau de 3 lignes occupait presque tout et l appercu perdait son interet. */
    max-height: 210px;
    overflow: hidden;
    transition: max-height 0.35s ease;
    color: var(--gray-700, #4b5563);
    line-height: 1.75;
    font-size: 1rem;
}
.seo-bloc-corps.est-ouvert { max-height: 6000px; }

/* Chapeau : la description de la categorie, mise en avant sans etre criarde */
.seo-bloc-intro {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--charcoal, #2c2c2c);
    padding-left: 1rem;
    border-left: 3px solid var(--gold-dark, #a08043);
    margin-bottom: 1.75rem;
}
.seo-bloc-intro p { margin: 0 0 0.6rem; }
.seo-bloc-intro p:last-child { margin-bottom: 0; }

/* Rythme du texte : c'est l'espacement qui rend un pave lisible */
.seo-bloc-texte p { margin: 0 0 1.15rem; }
.seo-bloc-texte p:last-child { margin-bottom: 0; }

.seo-bloc-texte h2,
.seo-bloc-texte h3,
.seo-bloc-texte h4 {
    color: var(--charcoal, #2c2c2c);
    line-height: 1.3;
    margin: 2.25rem 0 0.75rem;   /* beaucoup d'air AVANT, peu apres : le titre
                                    doit adherer a son paragraphe */
}
.seo-bloc-texte h2:first-child,
.seo-bloc-texte h3:first-child,
.seo-bloc-texte h4:first-child { margin-top: 0; }
.seo-bloc-texte h2 { font-size: 1.3rem; }
.seo-bloc-texte h3 { font-size: 1.12rem; }
.seo-bloc-texte h4 { font-size: 1rem; }

/* Un <strong> seul sur sa ligne sert souvent de sous-titre (questions d'une FAQ
   collee depuis un autre outil) : on lui donne l'air d'un titre. */
.seo-bloc-texte p > strong:only-child {
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 0.2rem;
    color: var(--charcoal, #2c2c2c);
    font-size: 1.05rem;
}

.seo-bloc-texte ul,
.seo-bloc-texte ol { margin: 0 0 1.15rem; padding-left: 1.5rem; }
.seo-bloc-texte li { margin-bottom: 0.45rem; }
.seo-bloc-texte li:last-child { margin-bottom: 0; }

.seo-bloc-texte a {
    color: var(--gold-dark, #a08043);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.seo-bloc-texte blockquote {
    margin: 1.5rem 0;
    padding-left: 1rem;
    border-left: 3px solid var(--cream-dark, #f5ebd6);
    font-style: italic;
}

/* Degrade de fondu : masque la coupure du texte replie */
.seo-bloc-degrade {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 90px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(250, 240, 224, 0), var(--cream, #faf0e0));
    transition: opacity 0.25s ease;
}
.seo-bloc-corps.est-ouvert .seo-bloc-degrade { opacity: 0; }

.seo-bloc-plus {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1.25rem;
    padding: 9px 18px;
    background: none;
    border: 1px solid var(--gray-300, #d1d5db);
    border-radius: 99px;
    color: var(--charcoal, #2c2c2c);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}
.seo-bloc-plus:hover {
    border-color: var(--gold-dark, #a08043);
    color: var(--gold-dark, #a08043);
}
.seo-bloc-plus svg { transition: transform 0.25s ease; }
.seo-bloc-plus[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Le bouton suit la meme largeur de lecture que le texte */
.seo-bloc > .container { display: block; }

@media (max-width: 640px) {
    .seo-bloc { padding: 2rem 0 2.5rem; }
    .seo-bloc-titre { font-size: 1.25rem; }
    .seo-bloc-corps { font-size: 0.95rem; }
}

/* Sans JavaScript, le texte doit rester entierement lisible */
.no-js .seo-bloc-corps { max-height: none; }
.no-js .seo-bloc-degrade,
.no-js .seo-bloc-plus { display: none; }
