/* ============================================================
 * SmartMobilier — Custom CSS Global
 * Version : 1.0
 * Emplacement : Elementor → Site Settings → Custom CSS
 * ============================================================ */

:root {
    --smt-blue: #2A3469;
    --smt-blue-hover: #3A4479;
    --smt-beige: #F5F0E8;
    --smt-beige-dark: #E8DFD1;
    --smt-text: #1A1A1A;
    --smt-muted: #666666;
    --smt-border: #E5E5E5;
    --smt-success: #2E7D32;
}

/* ============================================================
 * BADGE COLLECTION
 * ============================================================ */
.smt-collection-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--smt-blue);
    color: #FFFFFF !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
}

/* Overlay sur l'image (colonne gauche du hero) */
.smt-hero-image-wrap {
    position: relative;
}
.smt-hero-image-wrap .smt-collection-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

/* Version mini (au-dessus du H1 dans le panneau achat) */
.smt-buy-panel .smt-collection-badge {
    padding: 4px 12px;
    font-size: 11px;
}

/* ============================================================
 * PILLS RÉASSURANCE (template global)
 * ============================================================ */
.smt-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #FFFFFF;
    border: 1px solid var(--smt-border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--smt-text);
    line-height: 1.2;
}

.smt-pill i,
.smt-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.smt-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}

/* ============================================================
 * PANNEAU ACHAT (colonne droite du hero)
 * ============================================================ */
.smt-buy-panel {
    background: var(--smt-beige);
    padding: 32px;
    border-radius: 8px;
    height: fit-content;
}

.smt-buy-panel .product_title,
.smt-buy-panel h1 {
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: var(--smt-text) !important;
    margin: 8px 0 4px 0 !important;
}

/* ============================================================
 * TAGLINE ÉDITORIALE (ACF)
 * ============================================================ */
.smt-tagline {
    font-style: italic;
    color: var(--smt-muted);
    font-size: 16px;
    margin: 4px 0 16px 0;
    line-height: 1.4;
}

/* ============================================================
 * NUMÉROTATION DES ÉTAPES
 * ============================================================ */
.smt-step-heading {
    display: flex !important;
    align-items: center;
    gap: 12px;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--smt-text) !important;
    margin: 24px 0 8px !important;
}

.smt-step-heading::before {
    content: attr(data-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--smt-blue);
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.smt-step-hint {
    font-size: 13px;
    color: var(--smt-muted);
    margin: 4px 0 12px 40px;
}

/* ============================================================
 * VARIATIONS WOOCOMMERCE (surcharges style)
 * ============================================================ */
.smt-buy-panel .variations {
    margin: 0;
}
.smt-buy-panel .variations td {
    padding: 6px 0;
}
.smt-buy-panel .variations label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--smt-muted);
    padding: 0;
}

/* ============================================================
 * LIEN "DEMANDER DES ÉCHANTILLONS"
 * ============================================================ */
.smt-sample-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: var(--smt-blue) !important;
    text-decoration: underline;
    font-size: 14px;
    margin: 8px 0 16px 40px;
}
.smt-sample-link::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid var(--smt-blue);
    border-radius: 50%;
    flex-shrink: 0;
}
.smt-sample-link:hover {
    color: var(--smt-blue-hover) !important;
}

/* ============================================================
 * BOUTON "AJOUTER AU DEVIS"
 * ============================================================ */
.smt-buy-panel .single_add_to_cart_button,
.smt-buy-panel button[type="submit"] {
    background: var(--smt-blue) !important;
    color: #FFFFFF !important;
    padding: 16px 32px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    width: 100% !important;
    margin-top: 16px !important;
    border: none !important;
    cursor: pointer;
    transition: background 0.2s;
}
.smt-buy-panel .single_add_to_cart_button:hover {
    background: var(--smt-blue-hover) !important;
}

/* Champ quantité */
.smt-buy-panel .quantity input {
    padding: 12px !important;
    border: 1px solid var(--smt-border) !important;
    border-radius: 4px !important;
}

/* Fine print sous le bouton */
.smt-fine-print {
    text-align: center;
    font-size: 12px;
    color: var(--smt-muted);
    margin-top: 12px;
}

/* ============================================================
 * DIVIDER
 * ============================================================ */
.smt-buy-panel .elementor-divider-separator,
.smt-buy-panel hr {
    border-color: var(--smt-border);
    margin: 16px 0;
}

/* ============================================================
 * SECTION 2 — AUTRES MODÈLES
 * ============================================================ */
.smt-related-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--smt-text);
    margin-bottom: 24px;
}

.smt-related-section .products .product .woocommerce-loop-product__title {
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
}

.smt-related-section .products .product .product-type {
    font-size: 12px;
    color: var(--smt-muted);
}

/* ============================================================
 * SECTION 3 — SPEC CONTRACT
 * ============================================================ */
.smt-spec-contract {
    background: #FAFAFA;
    padding: 32px 20px;
    border-top: 1px solid var(--smt-border);
    border-bottom: 1px solid var(--smt-border);
}
.smt-spec-contract .smt-pills-wrap {
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}
.smt-spec-contract .smt-pill {
    background: #FFFFFF;
    border-color: var(--smt-border);
    padding: 8px 16px;
}

/* ============================================================
 * SECTION 4 — FOOTER EXPERTS
 * ============================================================ */

.smt-footer-data-grid, .smt-footer-experts {
    background: var(--smt-blue);
    color: #FFFFFF;
    padding: 80px 40px;
}

.smt-footer-experts h2 {
    color: #FFFFFF !important;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

.smt-footer-experts p {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    line-height: 1.6;
}

.smt-footer-experts .smt-data-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.smt-footer-experts .smt-data-item .smt-icon-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.smt-footer-experts .smt-data-item h4 , 
.smt-footer-data-grid .smt-data-item h4 {
    color: #FFFFFF !important;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px 0;
}
.smt-footer-experts .smt-data-item p {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

.smt-footer-experts .smt-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    color: var(--smt-blue) !important;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    margin-top: 24px;
    transition: background 0.2s;
}
.smt-footer-experts .smt-cta-button:hover {
    background: var(--smt-beige);
}

/* ============================================================
 * RESPONSIVE MOBILE
 * ============================================================ */
@media (max-width: 767px) {
    .smt-buy-panel {
        padding: 20px;
        border-radius: 0;
    }
    .smt-buy-panel .product_title {
        font-size: 24px !important;
    }
    .smt-tagline {
        font-size: 14px;
    }
    .smt-step-heading {
        font-size: 16px !important;
    }
    .smt-footer-experts {
        padding: 40px 20px;
    }
    .smt-footer-experts h2 {
        font-size: 24px;
    }
    .smt-pills-wrap {
        gap: 6px;
    }
    .smt-pill {
        font-size: 12px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .smt-spec-contract .smt-pills-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* === Sub-container image du hero (position relative pour badge overlay) === */
.smt-hero-image-inner {
    position: relative;
}
.smt-hero-image-inner .smt-collection-badge--overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

/* === Description longue sous le visuel === */
.smt-product-description {
    background: #FFFFFF;
    padding: 40px !important;
}
.smt-product-description h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--smt-text);
    margin: 24px 0 12px;
}
.smt-product-description h3:first-child {
    margin-top: 0;
}
.smt-product-description ul {
    padding-left: 20px;
    margin: 12px 0;
}
.smt-product-description ul li {
    margin-bottom: 6px;
    line-height: 1.5;
}
.smt-product-description p {
    margin: 12px 0;
    line-height: 1.7;
}

/* === IMPORTANT : si tu avais déjà ajouté le CSS delta v2, ===
 * === retire ces 2 blocs qui étaient liés au sticky abandonné :
 *
 *   .smt-buy-panel {
 *       top: 100px !important;
 *   }
 *   @media (max-width: 900px) {
 *       .smt-buy-panel {
 *           position: static !important;
 *       }
 *   }
 *
 * === Sinon le panneau descend de 100px inutilement.
 * ============================================================ */