/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/


/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/

/* CAN 2025 Pop-up Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 792px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s;
}

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

.close-modal-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.modal-image img {
    width: 100%;
    display: block;
    height: auto;
}

.modal-text {
    padding: 20px;
    color: #4a3f35;
}

.btn-promo {
    display: inline-block;
    padding: 12px 30px;
    background-color: #a67c52;
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

/* ============================================================
   MOBILE ONLY (≤ 767px)
   ============================================================ */
@media only screen and (max-width: 767px) {
    /* Fix global pour le glissement horizontal */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
    }

    /* Nettoyage UI mobile */
    .nasa-static-group-btn, .nsa-toggle-side-sidebar, .grecaptcha-badge, .ht-ctc-chat {
        display: none !important;
    }

    /* WhatsApp Mobile */
    .ns-bot-whatsapp .nasa-bot-icon-whatsapp svg { fill: #25D366; }

    /* Header Mobile Icons */
    .header-icons .nasa-icon-mini-cart { display: none !important; }
    .header-icons .nasa-icon-wishlist { display: inline-block !important; margin-right: 15px; }

    /* Logo Mobile */
    #heading-menu-mobile a.logo img.header_logo:not(.logo_mobile),
    .ns-menu-heading a.logo img.header_logo:not(.logo_mobile) {
        display: inline-block !important;
        max-height: 80px !important;
        max-width: 80% !important;
        object-fit: contain;
    }
    
    #heading-menu-mobile a.logo img.logo_mobile,
    .ns-menu-heading a.logo img.logo_mobile {
        display: none !important;
    }

    #nasa-menu-sidebar-content #heading-menu-mobile {
        display: none !important;
    }


    /* Slider Réassurance Mobile */
    .elementor-section:has(.service-block) .elementor-container,
    .elementor-row:has(.service-block),
    .vc_row:has(.service-block) {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth !important;
        padding-bottom: 20px !important;
        gap: 15px;
    }

    .elementor-section:has(.service-block) .elementor-column,
    .vc_row:has(.service-block) .vc_column_container {
        flex: 0 0 280px !important;
        width: 280px !important;
        scroll-snap-align: center;
    }

    /* Typo Outfit Mobile */
    #mobile-navigation li a, .nasa-sidebar-tit, .entry-title, .product-item .info .name, .service-title, .price, .button, button {
        font-family: 'Outfit', sans-serif !important;
    }

    /* Footer Mobile Centered */
    footer, #footer, .nasa-footer-output { text-align: center !important; }
    footer .social-icons, #footer .social-icons {
        display: flex !important;
        justify-content: center !important;
        float: none !important;
        margin-top: 15px !important;
    }

    /* Nos Valeurs Mobile (Icônes uniquement) */
    html body.home .elementor-widget-icon-list .elementor-icon-list-icon i,
    html body.home .elementor-widget-icon-list .elementor-icon-list-icon svg,
    html body.home .service-block .service-icon i {
        filter: sepia(100%) saturate(200%) brightness(90%) !important;
    }

    /* FAQ Mobile (Design Aérien) */
    html body.home .elementor-accordion, html body.home .e-n-accordion {
        --n-accordion-border-color: transparent !important;
		--n-accordion-border-width: 0px !important;
        border: none !important;
        box-shadow: none !important;
    }

    html body.home .elementor-accordion .elementor-accordion-item {
        border-bottom: 1px solid #eee !important;
        border-top: none !important;
        margin-bottom: 0px !important;
    }
}

/* ============================================================
   DESIGN PREMIUM GLOBAL (DESKTOP & MOBILE)
   ============================================================ */

/* Pages Légales : Typo Outfit & Rabat Correction */
.page-id-1004 .entry-content,
.page-id-23826 .entry-content,
.page-id-22712 .entry-content,
.page-id-1004 .entry-content p,
.page-id-23826 .entry-content p,
.page-id-22712 .entry-content p,
.page-id-1004 .entry-content li,
.page-id-23826 .entry-content li {
    font-family: 'Outfit', sans-serif !important;
    line-height: 1.8 !important;
    color: #444 !important;
}

.page-id-1004 .entry-content h1, .page-id-23826 .entry-content h1, 
.page-id-1004 .entry-content h2, .page-id-23826 .entry-content h2 {
    font-weight: 700 !important;
    color: #222 !important;
    margin-top: 30px !important;
}

/* ============================================================
   SECTION NOS VALEURS : STYLE ÉDITORIAL LUXE (VIA SHORTCODE)
   ============================================================ */

/* Conteneur principal Nos Valeurs (Desktop & Mobile) */
.section-nos-valeurs-luxe {
    display: flex !important;
    flex-wrap: wrap !important;
    background: #f9f6f2 !important; /* Fond beige très soyeux */
    overflow: hidden;
    align-items: stretch !important;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Colonne GAUCHE : LE SLIDER GALLERIA (60% Desktop) */
.col-slider-luxe {
    flex: 0 0 60% !important;
    max-width: 60% !important;
    position: relative;
    height: 650px !important; /* Hauteur éditoriale */
    overflow: hidden;
}

.gallery-luxe-wrapper {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch;
}

.gallery-luxe-wrapper::-webkit-scrollbar { display: none; } /* Cacher la barre de défilement */

.gallery-item-luxe {
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 100% !important;
    scroll-snap-align: start;
}

.gallery-item-luxe img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Colonne DROITE : LE TEXTE (40% Desktop) */
.col-text-luxe {
    flex: 0 0 40% !important;
    max-width: 40% !important;
    padding: 60px 50px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f9f6f2 !important;
}

.section-nos-valeurs-luxe h2.title-luxe {
    font-family: 'Playfair Display', serif !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    font-style: italic;
    color: #333 !important;
    margin-bottom: 30px !important;
    position: relative;
    line-height: 1.2;
}

/* Raffinement : Petit trait doré sous le titre */
.section-nos-valeurs-luxe h2.title-luxe::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #a67c52;
    margin-top: 15px;
}

.section-nos-valeurs-luxe .luxe-item {
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

/* Puces minimalistes (Trait vertical fin) */
.section-nos-valeurs-luxe .luxe-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 1px;
    background: rgba(166, 124, 82, 0.4);
}

.section-nos-valeurs-luxe .luxe-item strong {
    display: block;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a67c52 !important;
    margin-bottom: 5px;
}

.section-nos-valeurs-luxe .luxe-item p {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.6;
    color: #555 !important;
    margin: 0 !important;
}

.btn-luxe-link {
    display: inline-block;
    margin-top: 20px;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #333 !important;
    text-decoration: none;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    transition: all 0.3s;
}

.btn-luxe-link:hover {
    color: #a67c52 !important;
    border-bottom-color: #a67c52;
    padding-left: 10px;
}

/* RESPONSIVE : Mobile Adaptation */
@media only screen and (max-width: 991px) {
    .section-nos-valeurs-luxe { flex-direction: column !important; margin-top: 20px; }
    .col-slider-luxe, .col-text-luxe {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .col-slider-luxe { height: 450px !important; }
    .col-text-luxe { padding: 40px 25px !important; }
    .section-nos-valeurs-luxe h2.title-luxe { font-size: 34px !important; }
}

/* ============================================================
   SECTION PARTENAIRES / ARTISANAT DU MAROC
   ============================================================ */
.cb-partners-section {
    background: #f9f6f2; /* Même beige soyeux que "Nos Valeurs" pour une transition douce */
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid rgba(166, 124, 82, 0.2); /* Ligne subtile au-dessus */
}

.cb-partners-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Espace entre le texte et le logo */
}

.cb-partner-text {
    font-family: 'Playfair Display', serif !important;
    font-size: 20px; /* Légèrement plus petit pour plus de délicatesse */
    font-style: italic;
    color: #4a3f35;
    letter-spacing: 0.08em; /* Un peu plus aéré */
    position: relative;
    padding-right: 25px; /* Plus d'espace avant le trait */
    opacity: 0.9;
}

/* Petit trait vertical pour séparer le texte du logo (uniquement sur Desktop) */
.cb-partner-text::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 35px; /* Trait un peu plus court et discret */
    background-color: rgba(166, 124, 82, 0.4);
}

.cb-partner-logo {
    max-height: 100px; /* Limiter la hauteur pour rester discret et élégant */
    width: auto;
    max-width: 100%;
    opacity: 0.85; /* Légère transparence pour mieux s'intégrer */
    transition: opacity 0.3s ease;
    mix-blend-mode: multiply; /* Permet au logo de se fondre parfaitement avec le fond beige s'il a un fond blanc */
}

.cb-partner-logo:hover {
    opacity: 1;
}

@media only screen and (max-width: 768px) {
    .cb-partners-inner {
        flex-direction: column;
        gap: 15px;
    }
    .cb-partner-text {
        font-size: 18px;
        padding-right: 0;
        text-align: center;
    }
    .cb-partner-text::after {
        display: none; /* Masquer la ligne de séparation sur mobile */
    }
    .cb-partners-section {
        padding: 20px 15px;
    }
    .cb-partner-logo {
        max-height: 70px;
    }
}

/* ============================================================
   FOOTER PREMIUM CRAFTBAZART — Style organisé par catégories
   ============================================================ */

/* 1. Masquer l'ancien footer du thème */
#nasa-footer,
.nasa-footer-output,
.nasa-footer-bottom,
.footer-built-in-wrap,
.section-element.padding-top-80.footer-light-1 {
    display: none !important;
}

/* 2. Footer personnalisé global */
#cb-custom-footer {
    background: #1a1612;
    color: #ccc;
    font-family: 'Outfit', sans-serif;
    width: 100%;
    border-top: 3px solid #B8962E;
}

/* 3. Partie haute : grille colonnes */
.cb-footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr 1fr 1.7fr;
    gap: 40px;
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* 4. Titres colonnes */
.cb-footer-heading {
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #B8962E !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(184, 150, 46, 0.3);
}

/* 5. Colonne logo/brand */
.cb-footer-logo {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
}
.cb-footer-logo img {
    max-height: 55px;
    width: auto;
    filter: brightness(0) invert(1);
}
.cb-footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #B8962E;
    letter-spacing: 0.1em;
    display: block;
}
.cb-footer-address,
.cb-footer-contact-info {
    font-size: 13px;
    line-height: 1.8;
    color: #999;
    margin-bottom: 15px;
}
.cb-footer-contact-info a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s;
}
.cb-footer-contact-info a:hover { color: #B8962E; }

/* 6. Icônes réseaux sociaux */
.cb-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}
.cb-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s;
}
.cb-footer-social a:hover {
    border-color: #B8962E;
    color: #B8962E;
    background: rgba(184, 150, 46, 0.1);
}

/* 7. Liens des colonnes */
.cb-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cb-footer-links li {
    margin-bottom: 10px;
}
.cb-footer-links li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}
.cb-footer-links li a:hover {
    color: #B8962E;
    padding-left: 5px;
}

/* 8. Horaires */
.cb-footer-hours {
    margin-top: 20px;
    font-size: 13px;
    color: #999;
    line-height: 1.7;
}
.cb-footer-hours strong { color: #ccc; }
.cb-footer-hours span { color: #B8962E; font-weight: 600; }

/* 9. FAQ Page Premium Design */
.cb-faq-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Outfit', sans-serif;
}
.cb-faq-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1612;
    margin-bottom: 40px;
    text-align: left;
}
.cb-faq-accordion {
    border-top: 1px solid #eee;
}
.cb-faq-item {
    border-bottom: 1px solid #eee;
}
.cb-faq-header {
    padding: 25px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.cb-faq-question {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    padding-right: 30px;
}
.cb-faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
}
.cb-faq-icon::before, .cb-faq-icon::after {
    content: '';
    position: absolute;
    background: #B8962E;
    transition: transform 0.3s ease;
}
/* Horizontal line */
.cb-faq-icon::before {
    width: 100%;
    height: 2px;
    top: 9px;
    left: 0;
}
/* Vertical line */
.cb-faq-icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 9px;
}
.cb-faq-item.active .cb-faq-icon::after {
    transform: rotate(90deg);
}
.cb-faq-item.active .cb-faq-icon::before {
    transform: rotate(180deg);
}
.cb-faq-content {
    display: none;
    padding-bottom: 30px;
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}
.cb-faq-content p {
    margin-bottom: 15px;
}
.cb-faq-content strong { color: #1a1612; }

@media (max-width: 768px) {
    .cb-faq-main-title { font-size: 26px; }
    .cb-faq-question { font-size: 15px; }
}

/* 10. Newsletter */
.cb-footer-newsletter p {
    font-size: 13px;
    color: #999;
    line-height: 1.7;
    margin-bottom: 15px;
}
.cb-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cb-newsletter-form input[type="email"] {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 10px 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}
.cb-newsletter-form input[type="email"]:focus {
    border-color: #B8962E;
}
.cb-newsletter-form input[type="email"]::placeholder { color: #666; }
.cb-newsletter-form button {
    background: #B8962E;
    color: #fff;
    border: none;
    padding: 11px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.cb-newsletter-form button:hover { background: #a07828; }

/* 10. Barre du bas */
.cb-footer-payments {
    display: flex;
    justify-content: center;
    padding: 20px 0 10px;
}
.cb-footer-payments img { 
    max-height: 45px; 
    width: auto; 
    background: #fff; 
    border-radius: 6px; 
    padding: 4px 12px; 
}
.cb-footer-bottom {
    text-align: center;
    padding: 15px 5% 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
    max-width: 1400px;
    margin: 0 auto;
}
.cb-footer-copy {
    font-size: 12px;
    color: #666;
}
.cb-payment-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 3px;
    color: #aaa;
    letter-spacing: 0.05em;
}
.cb-payment-payzone {
    font-size: 11px;
    background: rgba(184,150,46,0.15);
    border-color: rgba(184,150,46,0.4);
    color: #B8962E;
}

/* ============================================================
   RESPONSIVE FOOTER — Mobile (≤ 768px)
   ============================================================ */
@media only screen and (max-width: 768px) {
    .cb-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 40px 20px;
    }
    .cb-footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    .cb-footer-brand .cb-footer-social {
        justify-content: center;
    }
    .cb-footer-newsletter {
        grid-column: 1 / -1;
    }
    .cb-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 18px 20px;
    }
}
@media only screen and (max-width: 480px) {
    .cb-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}


/* Hide SEO category descriptions from visitors while keeping them for SEO bots */
.nasa_shop_description.page-description,
.term-description { display: none !important; } /* === Mega Menu - Images sous catégories "Nos Collections" === */


/* Mega menu custom styling removed to keep base theme style */


/* Masquer le pill nav quand un seul onglet */
.nasa-tabs-content.cb-single-tab .nasa-tabs-wrap,
ul.nasa-tabs > li:first-child:last-child {
    display: none !important;
}

/* Titre Best Sellers — style premium maroquinerie */
h2.cb-bestsellers-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    font-style: italic;
    color: #2c2c2c !important;
    text-align: center;
    margin-bottom: 40px !important;
    position: relative;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

h2.cb-bestsellers-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #a67c52;
    margin: 14px auto 0;
}

/* Category grid - bottom offset on images */
.grid-product-category,
.nasa-category-slider-horizontal .product-category,
.nasa-category-slider-horizontal-5 .product-category,
.nasa-category-slider-horizontal-6 .product-category {
    padding-bottom: 20px;
}

/* Mega menu - bottom offset on category images */
.nav-wrapper .nasa-megamenu > .nav-dropdown,
.nav-wrapper .nasa-megamenu > .nav-dropdown > ul {
    padding-bottom: 45px !important;
}

/* ============================================================
   COFFRETS & CADEAUX PERSONNALISÉS — Page interactive
   ============================================================ */

/* Variables */
#cb-coffrets-page {
    --cb-gold:   #a67c52;
    --cb-or:     #B8962E;
    --cb-dark:   #1a1612;
    --cb-cream:  #f9f6f2;
    --cb-grey:   #666;
    --cb-light:  #f0ece6;
    --cb-border: #e2d9ce;
    font-family: 'Outfit', sans-serif;
    color: var(--cb-dark);
}

.cb-hidden { display: none !important; }

/* ── Hero ── */
.cb-hero {
    background: linear-gradient(135deg, #2c2218 0%, #4a3828 100%);
    color: #fff;
    text-align: center;
    padding: 70px 20px 60px;
}
.cb-hero-sub {
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cb-or);
    margin-bottom: 16px;
}
.cb-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 20px;
}
.cb-hero-title em { color: var(--cb-or); font-style: italic; }
.cb-hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Barre d'étapes ── */
.cb-steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--cb-border);
    padding: 22px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.cb-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: default;
}
.cb-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--cb-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #aaa;
    background: #fff;
    transition: all 0.3s;
}
.cb-step-lbl {
    font-size: 12px;
    color: #aaa;
    letter-spacing: 0.04em;
    transition: color 0.3s;
}
.cb-step-connector {
    width: 60px;
    height: 2px;
    background: var(--cb-border);
    margin: 0 8px;
    margin-bottom: 22px;
}
.cb-step-item.active .cb-step-circle {
    background: var(--cb-gold);
    border-color: var(--cb-gold);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(166,124,82,0.15);
}
.cb-step-item.active .cb-step-lbl { color: var(--cb-gold); font-weight: 600; }
.cb-step-item.completed .cb-step-circle {
    background: var(--cb-cream);
    border-color: var(--cb-gold);
    color: var(--cb-gold);
}
.cb-step-item.completed .cb-step-lbl { color: var(--cb-gold); }

/* ── Conteneur général ── */
.cb-step-panel { padding: 50px 0 60px; }
.cb-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Titre de section ── */
.cb-section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    font-style: italic;
    color: var(--cb-dark);
    text-align: center;
    margin-bottom: 40px;
}
.cb-section-title::after {
    content: '';
    display: block;
    width: 44px;
    height: 2px;
    background: var(--cb-gold);
    margin: 12px auto 0;
}

/* ── Grille produits ── */
.cb-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}
.cb-product-card {
    border: 2px solid var(--cb-border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
    background: #fff;
}
.cb-product-card:hover {
    border-color: var(--cb-gold);
    box-shadow: 0 6px 24px rgba(166,124,82,0.18);
    transform: translateY(-3px);
}
.cb-product-card.cb-selected {
    border-color: var(--cb-gold);
    box-shadow: 0 0 0 4px rgba(166,124,82,0.2);
}
.cb-card-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--cb-cream);
}
.cb-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.cb-product-card:hover .cb-card-img-wrap img { transform: scale(1.06); }
.cb-card-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(166,124,82,0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}
.cb-card-hover-overlay span {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 14px;
}
.cb-product-card:hover .cb-card-hover-overlay { opacity: 1; }
.cb-card-body { padding: 18px; }
.cb-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--cb-dark);
}
.cb-card-desc { font-size: 13px; color: var(--cb-grey); margin: 0 0 10px; line-height: 1.5; }
.cb-card-price { font-size: 18px; font-weight: 700; color: var(--cb-gold); margin-bottom: 14px; }
.cb-btn-choose {
    width: 100%;
    padding: 10px;
    background: var(--cb-dark);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.03em;
}
.cb-btn-choose:hover { background: var(--cb-gold); }

/* ── État vide ── */
.cb-empty-state {
    text-align: center;
    padding: 60px 20px;
    border: 2px dashed var(--cb-border);
    border-radius: 12px;
    background: var(--cb-cream);
}
.cb-empty-state h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin: 20px 0 10px;
}
.cb-empty-state p { color: var(--cb-grey); }
.cb-empty-state a { color: var(--cb-gold); text-decoration: underline; }

/* ── Layout Personnalisation (étape 2) ── */
.cb-perso-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 820px) {
    .cb-perso-layout { grid-template-columns: 1fr; }
}

/* Formulaire */
.cb-form-block { background: #fff; border: 1px solid var(--cb-border); border-radius: 12px; padding: 28px; }
.cb-field { margin-bottom: 22px; }
.cb-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--cb-dark);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.cb-required { color: #c0392b; }
.cb-optional { font-weight: 400; color: var(--cb-grey); font-size: 12px; }
.cb-field input[type="text"],
.cb-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--cb-border);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: var(--cb-dark);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    resize: vertical;
}
.cb-field input[type="text"]:focus,
.cb-field textarea:focus {
    border-color: var(--cb-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(166,124,82,0.12);
}
input.cb-field-error, textarea.cb-field-error {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 3px rgba(192,57,43,0.1) !important;
}
.cb-field-err-msg { color: #c0392b; font-size: 12px; margin: 5px 0 0; }
.cb-char-bar { font-size: 12px; color: var(--cb-grey); text-align: right; margin-top: 4px; }

/* Zone upload logo */
.cb-upload-zone {
    border: 2px dashed var(--cb-border);
    border-radius: 10px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: var(--cb-cream);
    position: relative;
}
.cb-upload-zone:hover,
.cb-upload-zone:focus,
.cb-upload-zone.cb-drag-over {
    border-color: var(--cb-gold);
    background: #f5ede3;
    outline: none;
}
#cb-upload-placeholder p {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--cb-grey);
    line-height: 1.5;
}
#cb-upload-placeholder small { font-size: 11px; }
#cb-upload-preview { text-align: center; }
#cb-logo-thumb { max-height: 80px; max-width: 100%; border-radius: 6px; display: block; margin: 0 auto 10px; }
#cb-logo-remove {
    font-size: 12px;
    color: #c0392b;
    background: none;
    border: 1px solid #c0392b;
    border-radius: 4px;
    padding: 3px 10px;
    cursor: pointer;
    transition: background 0.2s;
}
#cb-logo-remove:hover { background: #fde; }

/* Radios position */
.cb-radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.cb-radio-opt { cursor: pointer; }
.cb-radio-opt input[type="radio"] { display: none; }
.cb-radio-box {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid var(--cb-border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--cb-grey);
    transition: all 0.2s;
    background: #fff;
}
.cb-radio-opt input[type="radio"]:checked + .cb-radio-box {
    border-color: var(--cb-gold);
    color: var(--cb-dark);
    background: #faf5ef;
    font-weight: 600;
}

/* Couleurs texte */
.cb-color-group { display: flex; gap: 16px; align-items: center; }
.cb-color-opt { cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.cb-color-opt input[type="radio"] { display: none; }
.cb-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: block;
    transition: box-shadow 0.2s;
}
.cb-color-opt input[type="radio"]:checked + .cb-color-swatch {
    box-shadow: 0 0 0 3px var(--cb-gold), 0 0 0 5px #fff;
}
.cb-color-lbl { font-size: 11px; color: var(--cb-grey); }

/* Boutons d'action formulaire */
.cb-form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.cb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: var(--cb-gold);
    color: #fff;
    border: 2px solid var(--cb-gold);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.cb-btn-primary:hover { background: #8a6540; border-color: #8a6540; transform: translateY(-1px); color: #fff; }
.cb-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    background: transparent;
    color: var(--cb-dark);
    border: 2px solid var(--cb-border);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s;
    text-decoration: none;
}
.cb-btn-ghost:hover { border-color: var(--cb-gold); color: var(--cb-gold); }

/* ── Éditeur Canvas (Fabric.js) ── */
.cb-editor-container {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--cb-cream);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    aspect-ratio: 4/3;
    width: 100%;
}
.cb-editor-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
.cb-editor-container.readonly {
    pointer-events: none;
}
#cb-editor-loading {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-weight: 600;
    color: var(--cb-gold);
}

/* Palette de couleurs */
.cb-color-palette {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    background: #fff;
    padding: 10px;
    border: 1.5px solid var(--cb-border);
    border-radius: 10px;
}
.cb-color-opt {
    cursor: pointer;
    position: relative;
}
.cb-color-opt input[type="radio"] {
    display: none;
}
.cb-color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}
.cb-color-opt:hover .cb-color-swatch {
    transform: scale(1.1);
}
.cb-color-opt input[type="radio"]:checked + .cb-color-swatch {
    box-shadow: 0 0 0 3px var(--cb-gold);
    transform: scale(1.15);
}

/* Contrôles de l'éditeur */
.cb-editor-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.cb-editor-tool {
    flex: 1;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    background: #fff;
    border: 1.5px solid var(--cb-border);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--cb-dark);
    cursor: pointer;
    transition: all 0.2s;
}
.cb-editor-tool:hover {
    border-color: var(--cb-gold);
    color: var(--cb-gold);
    background: var(--cb-cream);
}
.cb-editor-tool svg {
    flex-shrink: 0;
}
.cb-field-help {
    font-size: 12px;
    color: var(--cb-grey);
    font-style: italic;
    margin-top: 5px;
}

/* ── Aperçu produit ── */
.cb-preview-col, .cb-order-preview-col { position: sticky; top: 90px; }
.cb-preview-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cb-gold);
    margin-bottom: 10px;
}
.cb-preview-note {
    font-size: 11px;
    color: #aaa;
    margin: 10px 0 0;
    font-style: italic;
}

/* ── Layout commande (étape 3) ── */
.cb-order-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 820px) {
    .cb-order-layout { grid-template-columns: 1fr; }
}
.cb-recap-block {
    background: #fff;
    border: 1px solid var(--cb-border);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 20px;
}
.cb-recap-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 18px;
    color: var(--cb-dark);
    border-bottom: 1px solid var(--cb-border);
    padding-bottom: 12px;
}
.cb-recap-product {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--cb-border);
}
.cb-recap-product img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--cb-cream);
}
.cb-recap-info strong { display: block; font-size: 15px; color: var(--cb-dark); margin-bottom: 4px; }
.cb-recap-unit-price { font-size: 13px; color: var(--cb-grey); }
.cb-recap-perso h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cb-grey);
    margin: 0 0 10px;
}
.cb-recap-perso ul { list-style: none; padding: 0; margin: 0 0 18px; }
.cb-recap-perso li {
    font-size: 13px;
    color: var(--cb-dark);
    padding: 4px 0;
    border-bottom: 1px solid var(--cb-cream);
}
.cb-recap-perso li strong { color: var(--cb-grey); font-weight: 600; margin-right: 4px; }

/* Quantité */
.cb-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid var(--cb-border);
}
.cb-qty-row label { font-size: 14px; font-weight: 600; color: var(--cb-dark); }
.cb-qty-ctrl { display: flex; align-items: center; border: 1.5px solid var(--cb-border); border-radius: 8px; overflow: hidden; }
.cb-qty-ctrl button {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--cb-cream);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--cb-dark);
}
.cb-qty-ctrl button:hover { background: #e8ddd4; }
.cb-qty-ctrl input {
    width: 48px;
    height: 36px;
    border: none;
    border-left: 1.5px solid var(--cb-border);
    border-right: 1.5px solid var(--cb-border);
    text-align: center;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--cb-dark);
    background: #fff;
    -moz-appearance: textfield;
}
.cb-qty-ctrl input::-webkit-outer-spin-button,
.cb-qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Total */
.cb-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 0;
    font-size: 15px;
    color: var(--cb-dark);
}
.cb-total-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--cb-gold);
}

/* Bouton panier */
.cb-btn-cart {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
    margin-top: 18px;
    margin-bottom: 12px;
    border-radius: 10px;
}
.cb-btn-cart:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* Erreur panier */
.cb-error-msg {
    background: #fde;
    border: 1px solid #e2a;
    color: #c0392b;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 12px;
}

/* Réassurance */
.cb-order-reassurance {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    background: var(--cb-cream);
    border-radius: 8px;
    padding: 14px 16px;
}
.cb-order-reassurance li {
    font-size: 13px;
    color: var(--cb-dark);
    padding: 4px 0;
    line-height: 1.5;
}
.cb-back-btn { margin-top: 4px; }

/* ── Succès ── */
.cb-success-panel { padding: 80px 20px; }
.cb-success-inner {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}
.cb-success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--cb-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.cb-success-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--cb-dark);
    margin-bottom: 12px;
}
.cb-success-inner p { color: var(--cb-grey); font-size: 15px; margin-bottom: 28px; }
.cb-success-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Mobile ── */
@media (max-width: 767px) {
    .cb-hero { padding: 50px 16px 44px; }
    .cb-steps-bar { padding: 14px 10px; }
    .cb-step-connector { width: 24px; }
    .cb-step-lbl { font-size: 10px; }
    .cb-step-circle { width: 30px; height: 30px; font-size: 13px; }
    .cb-step-panel { padding: 32px 0 40px; }
    .cb-products-grid { grid-template-columns: 1fr; gap: 16px; }
    .cb-form-actions { flex-direction: column; }
    .cb-form-actions .cb-btn-primary,
    .cb-form-actions .cb-btn-ghost { width: 100%; justify-content: center; }
    .cb-success-btns { flex-direction: column; align-items: center; }
}

/* ============================================================
   PERSONNALISATION PANIER — Formulaire inline
   ============================================================ */

.cb-cart-perso-wrap { margin-top: 8px; }

/* Bouton toggle */
.cb-cart-perso-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: transparent;
    border: 1.5px solid #a67c52;
    border-radius: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #a67c52;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.02em;
}
.cb-cart-perso-toggle:hover { background: #a67c52; color: #fff; }
.cb-cart-perso-toggle.cb-toggle-saved {
    background: #e8f5e9;
    border-color: #2e7d32;
    color: #2e7d32;
}

/* Formulaire expansible */
.cb-cpf-hidden { display: none !important; }

.cb-cart-perso-form {
    margin-top: 14px;
    border: 1.5px solid #e2d9ce;
    border-radius: 12px;
    background: #faf8f5;
    overflow: hidden;
}

.cb-cpf-inner {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 0;
}

@media (max-width: 767px) {
    .cb-cpf-inner { grid-template-columns: 1fr; }
}

/* Champs */
.cb-cpf-fields {
    padding: 20px;
    border-right: 1px solid #e2d9ce;
}
@media (max-width: 767px) {
    .cb-cpf-fields { border-right: none; border-bottom: 1px solid #e2d9ce; }
}

.cb-cpf-field { margin-bottom: 14px; }
.cb-cpf-field:last-child { margin-bottom: 0; }

.cb-cpf-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #666;
    margin-bottom: 6px;
}
.cb-cpf-opt { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11px; }

.cb-cpf-field input[type="text"],
.cb-cpf-field textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid #e2d9ce;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: #1a1612;
    background: #fff;
    box-sizing: border-box;
    resize: vertical;
    transition: border-color 0.2s;
}
.cb-cpf-field input[type="text"]:focus,
.cb-cpf-field textarea:focus {
    border-color: #a67c52;
    outline: none;
}
.cb-cpf-char-bar { font-size: 11px; color: #aaa; text-align: right; margin-top: 3px; }

/* Zone upload */
.cb-cpf-upload-zone {
    border: 1.5px dashed #e2d9ce;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    background: #fff;
    text-align: center;
    transition: border-color 0.2s;
    position: relative;
}
.cb-cpf-upload-zone:hover { border-color: #a67c52; }
.cb-cpf-upload-ph {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-size: 12px;
    color: #999;
}
.cb-cpf-logo-thumb {
    max-height: 48px;
    max-width: 100%;
    display: block;
    margin: 0 auto 6px;
    border-radius: 4px;
}
.cb-hidden { display: none !important; }
.cb-cpf-logo-remove {
    font-size: 11px;
    color: #c0392b;
    background: none;
    border: 1px solid #c0392b;
    border-radius: 4px;
    padding: 2px 8px;
    cursor: pointer;
}

/* Ligne position + couleur */
.cb-cpf-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.cb-cpf-radio-group { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.cb-cpf-radio { display: flex; align-items: center; gap: 5px; cursor: pointer; font-size: 12px; color: #444; }
.cb-cpf-radio input { accent-color: #a67c52; }

.cb-cpf-color-group { display: flex; gap: 10px; margin-top: 6px; }
.cb-cpf-color-opt { cursor: pointer; }
.cb-cpf-color-opt input { display: none; }
.cb-cpf-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: block;
    transition: box-shadow 0.2s;
}
.cb-cpf-color-opt input:checked + .cb-cpf-swatch {
    box-shadow: 0 0 0 2px #a67c52, 0 0 0 4px #fff;
}

/* Mini preview */
.cb-cpf-preview {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cb-cpf-preview-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a67c52;
    margin-bottom: 8px;
}
.cb-cpf-preview-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #f0ece6;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.cb-cpf-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cb-cpf-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10%;
}
.cb-cpf-overlay[data-position="center"]       { align-items: center; justify-content: center; }
.cb-cpf-overlay[data-position="top-left"]     { align-items: flex-start; justify-content: flex-start; }
.cb-cpf-overlay[data-position="bottom-right"] { align-items: flex-end; justify-content: flex-end; }

.cb-cpf-prev-logo {
    max-width: 35%;
    max-height: 30%;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}
.cb-cpf-prev-nom {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 11px;
    font-weight: 700;
    color: #B8962E;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    min-height: 1em;
}
.cb-cpf-prev-msg {
    font-size: 9px;
    color: #B8962E;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    line-height: 1.3;
    min-height: 1em;
}
.cb-cpf-preview-note { font-size: 10px; color: #bbb; margin: 8px 0 0; font-style: italic; text-align: center; }

/* Boutons actions */
.cb-cpf-actions {
    display: flex;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid #e2d9ce;
    background: #fff;
}
.cb-cpf-btn-primary {
    padding: 9px 20px;
    background: #a67c52;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.cb-cpf-btn-primary:hover { background: #8a6540; }
.cb-cpf-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.cb-cpf-btn-ghost {
    padding: 9px 16px;
    background: transparent;
    color: #666;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.cb-cpf-btn-ghost:hover { border-color: #a67c52; color: #a67c52; }

/* ── Sélecteur de photos galerie ── */
.cb-gallery-selector {
    margin-top: 12px;
}
.cb-gallery-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a67c52;
    margin-bottom: 8px;
}
.cb-gallery-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.cb-gallery-thumb {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.65;
    transition: opacity 0.2s, border-color 0.2s, transform 0.15s;
}
.cb-gallery-thumb:hover {
    opacity: 0.9;
    transform: scale(1.05);
}
.cb-gallery-thumb-active {
    border-color: #a67c52;
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(166,124,82,0.25);
}

/* Badge récap personnalisation sous le bouton */
.cb-cart-perso-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}
.cb-cart-perso-badge span {
    font-size: 11px;
    background: #f5ede3;
    color: #a67c52;
    border-radius: 4px;
    padding: 2px 7px;
    font-weight: 500;
}
