/*
Theme Name: Astra Child
Template: astra
*/

/*************************************************
 * LIBRAIRIE BEAUMANOIR — CSS OPTIMISÉ
 * Version propre sans doublons
 *************************************************/

/*************************************************
 * 1) TYPO UNIQUE — PARTOUT
 *************************************************/
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600&display=swap');

:root{
    --lbm-serif: "EB Garamond", Garamond, "Times New Roman", serif;
}

html, body,
button, input, select, textarea{
    font-family: var(--lbm-serif) !important;
}

.site,
.site-content,
.entry-content,
.ast-container,
.woocommerce,
.woocommerce-page{
    font-family: var(--lbm-serif) !important;
}

h1,h2,h3,h4,h5,h6,
.page-title,
.woocommerce-products-header__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.single-product .product_title,
.woocommerce div.product .product_title{
    font-family: var(--lbm-serif) !important;
    text-transform: none !important;
}

.entry-content,
.page p,
.page li,
.woocommerce-page p,
.woocommerce-page li{
    font-size: 18px;
    line-height: 1.7;
}

/*************************************************
 * 2) LOGO (TITRE DU SITE) — ESPACEMENT
 *************************************************/
.site-title,
.site-title a{
    font-family: var(--lbm-serif) !important;
    letter-spacing: 0.35em !important;
    color: #111 !important;
}

/*************************************************
 * 3) ACCUEIL — slogan plus gros sous le logo
 *************************************************/
body.home .site-header .site-description{
    font-size: clamp(14px, 1.15vw, 18px) !important;
    line-height: 1.35 !important;
    margin-top: 10px !important;
    opacity: 0.95;
}

/*************************************************
 * 4) HEADER STICKY (sans écraser les barres)
 *************************************************/
.site-header{
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}
.admin-bar .site-header{
    top: 32px !important;
}

/*************************************************
 * 5) HEADER — COULEURS ASTRA (2 BARRES)
 * haut: blanc / menu: bleu nuit
 *************************************************/
.site-header .ast-primary-header-bar{
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}

.site-header .ast-below-header-bar,
.site-header .ast-below-header-bar-wrap,
.site-header .below-header-bar{
    background: #1f2933 !important;
    border-bottom: 1px solid rgba(0,0,0,0.35) !important;
}

.site-header .ast-below-header-bar a{
    font-family: var(--lbm-serif) !important;
    color: rgba(255,255,255,0.92) !important;
    letter-spacing: 0.02em !important;
    font-weight: 400 !important;
    transition: opacity .2s ease, color .2s ease;
}
.site-header .ast-below-header-bar a:hover{
    opacity: 1;
    color: #ffffff !important;
}

.site-header .ast-below-header-bar .current-menu-item > a,
.site-header .ast-below-header-bar .current_page_item > a{
    text-decoration: underline;
    text-underline-offset: 6px;
}

.site-header .ast-below-header-bar .ast-header-icon,
.site-header .ast-below-header-bar .ast-header-icon svg,
.site-header .ast-below-header-bar .ast-header-woo-cart,
.site-header .ast-below-header-bar .ast-header-woo-cart svg{
    color: #ffffff !important;
    fill: #ffffff !important;
    opacity: 0.95;
}

/*************************************************
 * 6) WOO — MASQUER QUANTITÉ
 *************************************************/
.quantity,
.product-quantity{
    display: none !important;
}

/*************************************************
 * 7) BOUTIQUE — LAYOUT (desktop)
 *************************************************/
@media (min-width: 936px){

    body.post-type-archive-product #content.site-content > .ast-container,
    body.tax-product_cat #content.site-content > .ast-container{
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    body.post-type-archive-product #secondary,
    body.tax-product_cat #secondary,
    body.post-type-archive-product .woocommerce-sidebar,
    body.tax-product_cat .woocommerce-sidebar,
    body.post-type-archive-product .ast-sidebar-primary,
    body.tax-product_cat .ast-sidebar-primary{
        flex: 0 0 260px !important;
        width: 260px !important;
        max-width: 260px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.post-type-archive-product #secondary .sidebar-main,
    body.tax-product_cat #secondary .sidebar-main,
    body.post-type-archive-product #secondary .widget-area,
    body.tax-product_cat #secondary .widget-area{
        padding: 0 !important;
        margin: 0 !important;
    }

    body.post-type-archive-product #primary,
    body.tax-product_cat #primary,
    body.post-type-archive-product .content-area,
    body.tax-product_cat .content-area{
        flex: 1 1 0 !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        max-width: none !important;
    }

    body.post-type-archive-product .woocommerce ul.products,
    body.tax-product_cat .woocommerce ul.products{
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
        gap: 24px !important;
    }

    body.post-type-archive-product .woocommerce ul.products li.product,
    body.tax-product_cat .woocommerce ul.products li.product{
        width: auto !important;
        margin: 0 !important;
    }

    /* Sidebar sticky */
    body.post-type-archive-product #secondary,
    body.tax-product_cat #secondary,
    body.tax-product_tag #secondary{
        position: sticky !important;
        top: 110px !important;
        align-self: flex-start !important;
    }

    body.post-type-archive-product .site-content,
    body.tax-product_cat .site-content,
    body.tax-product_tag .site-content,
    body.post-type-archive-product #primary,
    body.tax-product_cat #primary,
    body.tax-product_tag #primary{
        overflow: visible !important;
    }

    /* Barre "Résultats + Tri" */
    body.post-type-archive-product form.woocommerce-ordering,
    body.tax-product_cat form.woocommerce-ordering{
        float: right !important;
        margin: 0 0 18px 0 !important;
    }

    body.post-type-archive-product .woocommerce ul.products,
    body.tax-product_cat .woocommerce ul.products{
        clear: both !important;
    }
}

body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count{
    margin: 0 14px 18px 0 !important;
    padding: 10px;
}

/*************************************************
 * 8) RECHERCHE SIDEBAR — SANS BOUTON + LOUPE
 *************************************************/
#secondary .widget_product_search,
.woocommerce-sidebar .wp-block-search{
    width: 100% !important;
}

#secondary .widget_product_search form,
#secondary form.woocommerce-product-search{
    position: relative;
    width: 100%;
}

#secondary .widget_product_search input[type="search"],
#secondary form.woocommerce-product-search input[type="search"],
#secondary .widget_product_search input.search-field{
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 12px 44px 12px 14px !important;
    font-size: 15px !important;
    border-radius: 6px !important;
    font-family: var(--lbm-serif) !important;
}

#secondary .widget_product_search button,
#secondary .widget_product_search input[type="submit"],
#secondary form.woocommerce-product-search button,
#secondary form.woocommerce-product-search input[type="submit"]{
    display: none !important;
}

#secondary .widget_product_search form::after,
#secondary form.woocommerce-product-search::after{
    content: "🔍";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    opacity: 0.55;
    pointer-events: none;
}

/*************************************************
 * 9) FILTRES SIDEBAR — style compacté + checkbox
 *************************************************/
#secondary .widget,
#secondary .widget_layered_nav{
    padding: 18px 16px !important;
    margin-bottom: 14px !important;
    background: rgba(0,0,0,0.02) !important;
    border-radius: 6px !important;
}

#secondary .widget .widget-title,
#secondary .widget h2.widgettitle{
    font-size: 16px !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.03em !important;
    color: #111 !important;
}

#secondary .woocommerce-widget-layered-nav-list li,
#secondary .widget ul li{
    list-style: none !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}

#secondary .woocommerce-widget-layered-nav-list li a,
#secondary .widget ul li a{
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 15px !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: color .2s ease;
}

#secondary .woocommerce-widget-layered-nav-list li a:hover,
#secondary .widget ul li a:hover{
    color: #000 !important;
}

#secondary .woocommerce-widget-layered-nav-list li a::before,
#secondary .widget ul li a::before{
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 2px;
    flex-shrink: 0;
}

#secondary .woocommerce-widget-layered-nav-list li.chosen a::before,
#secondary .widget ul li.chosen a::before{
    background: #1f2933;
    border-color: #1f2933;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 10"><path fill="white" d="M4.5 7.5 2 5l1-1 1.5 1.5L8 2l1 1z"/></svg>');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 10px 10px;
}

#secondary .woocommerce-widget-layered-nav-list li .count,
#secondary .widget ul li .count{
    margin-left: auto !important;
    color: #777 !important;
    font-size: 13px !important;
}

/*************************************************
 * 10) GRILLE PRODUITS — hover global (Voir + grayscale)
 *************************************************/
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
    position: relative;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img{
    transition: filter .25s ease, opacity .25s ease, transform .25s ease;
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
}

.woocommerce ul.products li.product:hover a.woocommerce-LoopProduct-link img{
    filter: grayscale(1);
    opacity: 0.72;
    transform: scale(1.01);
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background .25s ease;
    z-index: 2;
    pointer-events: none;
}

.woocommerce ul.products li.product:hover a.woocommerce-LoopProduct-link::before{
    background: rgba(0,0,0,0.10);
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link::after{
    content: "Voir";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 18px;
    border: 1px solid rgba(0,0,0,0.25);
    background: rgba(255,255,255,0.92);
    color: #111;
    font-size: 14px;
    letter-spacing: 0.05em;
    border-radius: 4px;
    opacity: 0;
    transition: opacity .20s ease;
    transition-delay: .10s;
    z-index: 3;
    pointer-events: none;
}

.woocommerce ul.products li.product:hover a.woocommerce-LoopProduct-link::after{
    opacity: 1;
}

@media (hover:hover) and (pointer:fine){
    .woocommerce ul.products li.product .woocommerce-loop-product__title{
        transition: opacity .18s ease;
    }
    .woocommerce ul.products li.product:hover .woocommerce-loop-product__title{
        opacity: .35;
    }
}

/*************************************************
 * 11) BOUTIQUE — supprimer le titre "Boutique"
 *************************************************/
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .page-title,
body.tax-product_cat .page-title{
    display: none !important;
}

body.post-type-archive-product .ast-woocommerce-container,
body.tax-product_cat .ast-woocommerce-container,
body.post-type-archive-product .site-content,
body.tax-product_cat .site-content{
    padding-top: 0 !important;
}

body.lbm-product-search-no-results .ast-breadcrumbs-wrapper,
body.lbm-product-search-no-results .ast-breadcrumb-wrap,
body.lbm-product-search-no-results .ast-breadcrumbs,
body.lbm-product-search-no-results .woocommerce-breadcrumb{
    display: none !important;
}

/*************************************************
 * 12) BOUTONS FICHE PRODUIT : même largeur (Ajout + Contact)
 *************************************************/
.single-product form.cart{
    display: flex !important;
    gap: 14px !important;
    align-items: center !important;
}

.single-product form.cart .single_add_to_cart_button,
.single-product form.cart .lbm-contact-btn{
    flex: 1 1 0 !important;
    width: 50% !important;
    text-align: center !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
}

/*************************************************
 * 13) BOUTIQUE — header compact au scroll (Astra)
 *************************************************/
body.lbm-shop .site-header .ast-primary-header-bar,
body.lbm-shop .site-header .ast-primary-header-bar .ast-container,
body.lbm-shop .site-header .ast-below-header-bar,
body.lbm-shop .site-header .ast-below-header-bar-wrap{
    transition: padding .2s ease, min-height .2s ease, opacity .2s ease, transform .2s ease;
}

body.lbm-shop.lbm-scrolled .site-header .ast-below-header-bar,
body.lbm-shop.lbm-scrolled .site-header .ast-below-header-bar-wrap{
    display: block !important;
}

body.lbm-shop.lbm-scrolled .site-header .site-description{
    display: none !important;
}

body.lbm-shop.lbm-scrolled .site-header .ast-primary-header-bar{
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    min-height: 0 !important;
}

body.lbm-shop.lbm-scrolled .site-header .ast-primary-header-bar .ast-container{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.lbm-shop.lbm-scrolled .site-header .ast-site-identity,
body.lbm-shop.lbm-scrolled .site-header .site-branding{
    margin: 0 !important;
    padding: 0 !important;
}

body.lbm-shop.lbm-scrolled .site-header .custom-logo{
    max-height: 44px !important;
    width: auto !important;
}

body.lbm-shop.lbm-scrolled .site-title a{
    font-size: clamp(20px, 2.2vw, 30px) !important;
    line-height: 1.05 !important;
}

/*************************************************
 * 14) PAGE D'ACCUEIL — HERO SECTION + NEWSLETTER
 *************************************************/

/* Hero Section */
.hero-section {
    position: relative;
    height: 75vh;
    min-height: 500px;
    max-height: 700px;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    max-width: 100vw !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 900px;
}

.hero-content,
.hero-content *,
.hero-title {
    color: #ffffff !important;
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.4;
    margin-bottom: 40px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-button {
    display: inline-block;
    padding: 16px 48px;
    background-color: #8b5e3c;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-button:hover {
    background-color: #b37b51;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Newsletter Section */
.newsletter-section {
    background-color: #f8f6f3;
    display: none;
    padding: 80px 20px;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
}

.lbm-newsletter-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

body.lbm-newsletter-open {
    overflow: hidden;
}

body.lbm-newsletter-open .lbm-newsletter-modal {
    display: flex;
}

.lbm-newsletter-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 16, 0.62);
}

.lbm-newsletter-panel {
    position: relative;
    width: min(100%, 640px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #f8f6f3;
    border: 1px solid rgba(44, 44, 44, 0.12);
    border-radius: 6px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    padding: 52px 38px 40px;
}

.lbm-newsletter-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    min-width: 38px;
    max-width: 38px;
    min-height: 38px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #2c2c2c;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    box-sizing: border-box;
}

.lbm-newsletter-close:hover,
.lbm-newsletter-close:focus {
    background: #1a1a1a;
    color: #ffffff;
}

.lbm-newsletter-panel .newsletter-section {
    display: block;
    width: auto !important;
    margin-left: 0 !important;
    padding: 0 !important;
    background: transparent;
}

.newsletter-container {
    max-width: 700px;
    margin: 0 auto !important;
    text-align: center;
}

.newsletter-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.newsletter-description {
    font-size: 1.1rem;
    color: #5a5a5a;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Contact Form 7 Styling */
.newsletter-form-wrapper {
    max-width: 430px;
    margin: 0 auto;
}

.newsletter-form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.newsletter-form-wrapper label {
    display: block;
    width: 100%;
    text-align: center;
}

.newsletter-form-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-top: 8px;
}

.newsletter-form-wrapper input[type="text"],
.newsletter-form-wrapper input[type="email"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #d4d0ca;
    border-radius: 4px;
    background-color: white;
    transition: border-color 0.3s ease;
}

.newsletter-form-wrapper input[type="text"]:focus,
.newsletter-form-wrapper input[type="email"]:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.newsletter-form-wrapper input[type="submit"] {
    padding: 16px 40px !important;
    background-color: #2c2c2c !important;
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 10px auto 0 !important;
}

.newsletter-form-wrapper input[type="submit"]:hover {
    background-color: #1a1a1a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.newsletter-form-wrapper .wpcf7-not-valid-tip {
    color: #d9534f;
    font-size: 0.9rem;
    margin-top: 5px;
}

.newsletter-form-wrapper .wpcf7-response-output {
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 0.95rem;
}

.newsletter-form-wrapper .wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.newsletter-form-wrapper .wpcf7-validation-errors {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Page Accueil - Reset */
body.home .entry-content {
    padding: 0 !important;
    max-width: none !important;
}

body.home .site-content > .ast-container {
    max-width: none !important;
    padding: 0 !important;
}

body.home .site-content,
body.home .entry-content,
body.home .site-content > .ast-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.home .entry-header {
    display: none !important;
}

body.home #primary {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/*************************************************
 * 15) LOUPE RECHERCHE - STYLE BLANC SUR BLEU
 *************************************************/
.lbm-search-toggle {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.lbm-search-toggle:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.lbm-search-icon {
    color: #ffffff !important;
    fill: currentColor !important;
}

/* POPUP RECHERCHE - CENTRÉ */
.lbm-search-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.lbm-search-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.7) !important;
}

.lbm-search-panel {
    position: relative !important;
    background: white !important;
    border-radius: 12px !important;
    padding: 40px !important;
    max-width: 600px !important;
    width: 90% !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    z-index: 2 !important;
}

.lbm-search-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: transparent !important;
    border: none !important;
    font-size: 30px !important;
    color: #666 !important;
    cursor: pointer !important;
    line-height: 1 !important;
}

.lbm-search-close:hover {
    color: #000 !important;
}

.lbm-search-title {
    font-size: 24px !important;
    font-weight: 400 !important;
    margin-bottom: 30px !important;
    color: #2c2c2c !important;
}

.lbm-search-form {
    display: flex !important;
    gap: 10px !important;
}

.lbm-search-field {
    flex: 1 !important;
    padding: 14px 18px !important;
    font-size: 16px !important;
    border: 1px solid #d4d0ca !important;
    border-radius: 4px !important;
    font-family: var(--lbm-serif) !important;
}

.lbm-search-submit {
    padding: 14px 30px !important;
    background-color: #2c2c2c !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    font-family: var(--lbm-serif) !important;
    transition: background-color 0.2s ease !important;
}

.lbm-search-submit:hover {
    background-color: #1a1a1a !important;
}

.lbm-search-modal[aria-hidden="true"] {
    display: none !important;
}

body.lbm-search-open {
    overflow: hidden !important;
}

/*************************************************
 * 16) RESPONSIVE MOBILE & TABLETTE
 *************************************************/

/* TABLETTES (portrait) */
@media (min-width: 768px) and (max-width: 936px) {
    .woocommerce ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* MOBILE */
@media (max-width: 936px) {

    /* Supprimer sidebar boutique sur mobile */
    body.post-type-archive-product #secondary,
    body.tax-product_cat #secondary {
        display: none !important;
    }

    body.post-type-archive-product #primary,
    body.tax-product_cat #primary {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.post-type-archive-product #content.site-content > .ast-container,
    body.tax-product_cat #content.site-content > .ast-container{
        display: block !important;
    }

    .site-title a {
        font-size: 18px !important;
        letter-spacing: 0.25em !important;
    }

    /* Hero section mobile */
    .hero-section {
        height: 60vh !important;
        min-height: 400px !important;
    }

    .hero-title {
        font-size: 1.3rem !important;
        line-height: 1.5 !important;
        padding: 0 15px !important;
        margin-bottom: 30px !important;
    }

    .hero-button {
        font-size: 0.95rem !important;
        padding: 12px 30px !important;
    }

    /* Newsletter mobile */
    .newsletter-section {
        padding: 50px 15px !important;
    }

    .newsletter-title {
        font-size: 1.4rem !important;
    }

    .newsletter-description {
        font-size: 0.95rem !important;
    }

    /* Boutons WooCommerce mobile - Style sobre */
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button,
    .woocommerce #respond input#submit,
    .woocommerce a.button.alt,
    .woocommerce button.button.alt,
    .woocommerce input.button.alt {
        /*background-color: #2c2c2c !important;*/
        color: #ffffff !important;
        border: none !important;
        border-radius: 999px !important;
        font-size: 14px !important;
        padding: 10px 20px !important;
        text-transform: none !important;
        letter-spacing: 0.02em !important;
    }

    .woocommerce a.button:hover,
    .woocommerce button.button:hover {
        background-color: #1a1a1a !important;
    }

    /* Grille produits mobile/tablette - 2 colonnes */
    .woocommerce ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    .woocommerce ul.products li.product {
        width: auto !important;
        float: none !important;
        margin: 0 !important;
    }

    /* Masquer le bouton "Voir" sur mobile/tablette */
    .woocommerce ul.products li.product a.woocommerce-LoopProduct-link::after{
        content: none !important;
        display: none !important;
    }

    .woocommerce ul.products li.product a.woocommerce-LoopProduct-link::before{
        display: none;
    }

    .woocommerce ul.products li.product:hover a.woocommerce-LoopProduct-link img{
        filter: none;
        opacity: 1;
        transform: none;
    }

    /* Popup recherche mobile */
    .lbm-search-panel {
        width: 95% !important;
        padding: 25px 20px !important;
    }

    .lbm-search-title {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }

    .lbm-search-form {
        flex-direction: column !important;
    }

    .lbm-search-field {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .lbm-search-submit {
        width: 100% !important;
    }

    /* Panier/icônes header mobile */
    .ast-header-woo-cart {
        margin-left: 10px !important;
    }

    /* Boutons fiche produit mobile */
    .single-product .summary form.cart{
        flex-wrap: wrap !important;
    }

    .single-product .summary form.cart .single_add_to_cart_button,
    .single-product .summary a.button[href="#lbm-demande"]{
        flex: 1 1 100% !important;
    }
}

/*************************************************
 * 17) HEADER MOBILE ASTRA
 *************************************************/
@media (max-width: 936.98px) {
    #ast-desktop-header{
        display: none !important;
    }

    #ast-mobile-header{
        display: block !important;
    }

    #ast-mobile-header .ast-above-header-bar{
        min-height: 120px !important;
        background: #ffffff !important;
        border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    }

    #ast-mobile-header .ast-above-header-bar .ast-builder-grid-row{
        min-height: 120px !important;
        display: flex !important;
        justify-content: center !important;
    }

    #ast-mobile-header .ast-above-header-bar .site-title a{
        color: #111 !important;
        font-size: clamp(18px, 5vw, 30px) !important;
        letter-spacing: 0.28em !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    #ast-mobile-header .ast-primary-header-bar{
        min-height: 58px !important;
        padding: 0 12px !important;
        background: #1f2933 !important;
        border-bottom: 1px solid rgba(0,0,0,0.35) !important;
    }

    #ast-mobile-header .ast-primary-header-bar > .ast-builder-grid-row{
        min-height: 58px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        grid-template-columns: none !important;
    }

    #ast-mobile-header .site-header-primary-section-left{
        display: none !important;
    }

    #ast-mobile-header .site-header-primary-section-center,
    #ast-mobile-header .site-header-primary-section-right,
    #ast-mobile-header .ast-main-header-bar-alignment,
    #ast-mobile-header .main-header-bar-navigation,
    #ast-mobile-header .main-navigation{
        display: flex !important;
        align-items: center !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #ast-mobile-header #ast-hf-menu-1-mobile{
        display: flex !important;
        flex-flow: row nowrap !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #ast-mobile-header #ast-hf-menu-1-mobile > .menu-item{
        display: flex !important;
        flex: 0 0 auto !important;
        flex-direction: row !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    #ast-mobile-header #ast-hf-menu-1-mobile > .menu-item > .menu-link{
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 42px !important;
        padding: 0 8px !important;
        border: 0 !important;
        color: rgba(255,255,255,0.92) !important;
        background: transparent !important;
        font-size: 17px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    #ast-mobile-header .lbm-mobile-instagram-menu-item{
        display: flex !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }

    #ast-mobile-header .lbm-mobile-instagram-link{
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        color: #ffffff !important;
    }

    #ast-mobile-header .lbm-mobile-instagram-link svg{
        width: 18px !important;
        height: 18px !important;
        color: #ffffff !important;
        fill: currentColor !important;
    }

    #ast-mobile-header .lbm-mobile-instagram-link .social-item-label{
        display: none !important;
    }

    #ast-mobile-header #ast-hf-menu-1-mobile > .current-menu-item > .menu-link{
        color: #ffffff !important;
        text-decoration: underline !important;
        text-underline-offset: 6px !important;
    }

    #ast-mobile-header .lbm-search-toggle{
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        padding: 0 !important;
    }

    #ast-mobile-header .ast-header-woo-cart{
        flex: 0 0 auto !important;
        margin-left: 0 !important;
        line-height: 1 !important;
        min-height: 0 !important;
    }
}

@media (max-width: 544px) {
    #ast-mobile-header .ast-above-header-bar,
    #ast-mobile-header .ast-above-header-bar .ast-builder-grid-row{
        min-height: 112px !important;
    }

    #ast-mobile-header .ast-above-header-bar .site-title a{
        font-size: 18px !important;
        letter-spacing: 0.2em !important;
    }

    #ast-mobile-header .ast-primary-header-bar{
        padding: 0 8px !important;
    }

    #ast-mobile-header .ast-primary-header-bar > .ast-builder-grid-row{
        gap: 4px !important;
    }

    #ast-mobile-header #ast-hf-menu-1-mobile > .menu-item > .menu-link{
        padding: 0 6px !important;
        font-size: 16px !important;
    }

    #ast-mobile-header .lbm-search-toggle{
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }

    #ast-mobile-header .lbm-mobile-instagram-menu-item,
    #ast-mobile-header .lbm-mobile-instagram-link{
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
    }
}

/*************************************************
 * 18) PAGE CONTACT
 *************************************************/
.post-329.ast-article-single{
    max-width: 1120px !important;
    margin: 46px auto 76px !important;
    padding: 0 24px !important;
}

.post-329 .entry-header{
    margin: 0 0 34px !important;
    text-align: center;
}

.post-329 .entry-title{
    display: inline-block;
    margin: 0 !important;
    color: #1f2933 !important;
    font-size: clamp(2rem, 4vw, 3.2rem) !important;
    line-height: 1.15 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.post-329 .entry-title::after{
    content: "";
    display: block;
    width: 72px;
    height: 1px;
    margin: 18px auto 0;
    background: #8b5e3c;
}

.post-329 .entry-content{
    display: grid;
    grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 18px 34px;
    align-items: start;
    max-width: none !important;
}

.post-329 .entry-content > p{
    margin: 0 !important;
}

.post-329 .entry-content > p:nth-of-type(1),
.post-329 .entry-content > p:nth-of-type(2){
    position: relative;
    min-height: 124px;
    padding: 50px 24px 24px 26px;
    background: #f8f6f3;
    border: 1px solid rgba(139, 94, 60, 0.18);
    border-left: 3px solid #8b5e3c;
    border-radius: 6px;
    color: #1f2933;
    font-size: 1.12rem;
    line-height: 1.45;
    box-shadow: 0 16px 40px rgba(31, 41, 51, 0.06);
}

.post-329 .entry-content > p:nth-of-type(1){
    grid-column: 1;
    grid-row: 1;
}

.post-329 .entry-content > p:nth-of-type(2){
    grid-column: 1;
    grid-row: 2;
}

.post-329 .entry-content > p:nth-of-type(1)::before,
.post-329 .entry-content > p:nth-of-type(2)::before{
    position: absolute;
    top: 22px;
    left: 26px;
    color: #8b5e3c;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.post-329 .entry-content > p:nth-of-type(1)::before{
    content: "E-mail";
}

.post-329 .entry-content > p:nth-of-type(2)::before{
    content: "Telephone";
}

.post-329 .entry-content > .wpcf7{
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    padding: 30px;
    background: #ffffff;
    border: 1px solid rgba(31, 41, 51, 0.12);
    border-radius: 6px;
    box-shadow: 0 22px 55px rgba(31, 41, 51, 0.08);
}

.post-329 .wpcf7-form p{
    margin: 0 0 22px !important;
}

.post-329 .wpcf7-form p:last-of-type{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0 !important;
}

.post-329 .wpcf7-form label{
    display: block;
    color: #1f2933;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.post-329 .wpcf7-form-control-wrap{
    display: block;
    margin-top: 8px;
}

.post-329 .wpcf7 input[type="email"],
.post-329 .wpcf7 textarea{
    width: 100%;
    max-width: 100%;
    padding: 14px 16px !important;
    border: 1px solid #d4d0ca !important;
    border-radius: 4px !important;
    background: #fbfaf8 !important;
    color: #2b2b2b !important;
    box-shadow: inset 0 1px 2px rgba(31, 41, 51, 0.04) !important;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.post-329 .wpcf7 textarea{
    min-height: 250px;
    resize: vertical;
}

.post-329 .wpcf7 input[type="email"]:focus,
.post-329 .wpcf7 textarea:focus{
    background: #ffffff !important;
    border-color: #8b5e3c !important;
    box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12) !important;
    outline: none !important;
}

.post-329 .wpcf7 .wpcf7-not-valid-tip{
    margin-top: 8px;
    color: #a7352f;
    font-size: 0.86rem;
}

.post-329 .wpcf7 input[type="submit"]{
    min-width: 158px;
    padding: 14px 34px !important;
    border: 1px solid #8b5e3c !important;
    border-radius: 4px !important;
    background: #8b5e3c !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 12px 26px rgba(139, 94, 60, 0.2) !important;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.post-329 .wpcf7 input[type="submit"]:hover,
.post-329 .wpcf7 input[type="submit"]:focus{
    background: #b37b51 !important;
    border-color: #b37b51 !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(139, 94, 60, 0.25) !important;
}

.post-329 .wpcf7 form .wpcf7-response-output{
    margin: 22px 0 0 !important;
    padding: 13px 16px !important;
    border-radius: 4px;
    font-size: 0.95rem;
}

@media (max-width: 781px){
    .post-329.ast-article-single{
        margin-top: 34px !important;
        padding: 0 18px 58px !important;
    }

    .post-329 .entry-header{
        margin-bottom: 26px !important;
    }

    .post-329 .entry-title{
        font-size: clamp(1.8rem, 10vw, 2.5rem) !important;
        letter-spacing: 0.06em !important;
    }

    .post-329 .entry-content{
        display: block;
    }

    .post-329 .entry-content > p:nth-of-type(1),
    .post-329 .entry-content > p:nth-of-type(2){
        min-height: 0;
        margin-bottom: 14px !important;
        padding: 46px 20px 20px;
    }

    .post-329 .entry-content > p:nth-of-type(1)::before,
    .post-329 .entry-content > p:nth-of-type(2)::before{
        top: 20px;
        left: 20px;
    }

    .post-329 .entry-content > .wpcf7{
        margin-top: 20px;
        padding: 22px 18px;
    }

    .post-329 .wpcf7 textarea{
        min-height: 220px;
    }

    .post-329 .wpcf7-form p:last-of-type{
        display: block;
    }

    .post-329 .wpcf7 input[type="submit"]{
        width: 100%;
    }
}

/*************************************************
 * 19) PAGE CONFIRMATION DE COMMANDE
 *************************************************/
.post-38.ast-article-single{
    max-width: 1120px !important;
    margin: 46px auto 76px !important;
    padding: 0 24px !important;
}

.post-38 .entry-header{
    margin: 0 0 34px !important;
    text-align: center;
}

.post-38 .entry-title{
    display: inline-block;
    margin: 0 !important;
    color: #1f2933 !important;
    font-size: clamp(2rem, 4vw, 3.2rem) !important;
    line-height: 1.15 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.post-38 .entry-title::after{
    content: "";
    display: block;
    width: 72px;
    height: 1px;
    margin: 18px auto 0;
    background: #8b5e3c;
}

.post-38 .entry-content,
.post-38 .woocommerce,
.post-38 .woocommerce-order{
    max-width: none !important;
}

.post-38 .woocommerce-order{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.post-38 .woocommerce-notice--success{
    position: relative;
    margin: 0 !important;
    padding: 24px 28px 24px 72px !important;
    background: #f8f6f3;
    border: 1px solid rgba(139, 94, 60, 0.18);
    border-left: 3px solid #8b5e3c;
    border-radius: 6px;
    color: #1f2933;
    font-size: 1.22rem;
    line-height: 1.45;
    box-shadow: 0 16px 40px rgba(31, 41, 51, 0.06);
}

.post-38 .woocommerce-notice--success::before{
    content: "";
    position: absolute;
    top: 25px;
    left: 28px;
    width: 26px;
    height: 26px;
    border: 1px solid #8b5e3c;
    border-radius: 50%;
    background: #ffffff;
}

.post-38 .woocommerce-notice--success::after{
    content: "";
    position: absolute;
    top: 30px;
    left: 37px;
    width: 8px;
    height: 13px;
    border-right: 2px solid #8b5e3c;
    border-bottom: 2px solid #8b5e3c;
    transform: rotate(42deg);
}

.woocommerce form.woocommerce-form-login.login{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 32px;
    margin: 0 !important;
    padding: 30px !important;
    background: #ffffff;
    border: 1px solid rgba(31, 41, 51, 0.12) !important;
    border-left: 3px solid #8b5e3c !important;
    border-radius: 6px !important;
    box-shadow: 0 22px 55px rgba(31, 41, 51, 0.08);
}

.woocommerce form.woocommerce-form-login.login::before,
.woocommerce form.woocommerce-form-login.login::after,
.woocommerce form.woocommerce-form-login.login .clear{
    content: none !important;
    display: none !important;
}

.woocommerce form.woocommerce-form-login.login .form-row{
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce form.woocommerce-form-login.login .form-row-first,
.woocommerce form.woocommerce-form-login.login .form-row-last{
    grid-column: auto;
}

.woocommerce form.woocommerce-form-login.login .form-row:not(.form-row-first):not(.form-row-last){
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 4px !important;
}

.woocommerce form.woocommerce-form-login.login label{
    display: block;
    margin: 0 0 8px !important;
    color: #1f2933;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.woocommerce form.woocommerce-form-login.login .required{
    color: #8b5e3c;
    text-decoration: none;
}

.woocommerce form.woocommerce-form-login.login input.input-text,
.woocommerce form.woocommerce-form-login.login .password-input input.input-text{
    width: 100%;
    height: 50px;
    padding: 13px 16px !important;
    border: 1px solid #d4d0ca !important;
    border-radius: 4px !important;
    background: #fbfaf8 !important;
    color: #2b2b2b !important;
    font-size: 1.02rem;
    line-height: 1.2;
    box-shadow: inset 0 1px 2px rgba(31, 41, 51, 0.04) !important;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.woocommerce form.woocommerce-form-login.login input.input-text:focus,
.woocommerce form.woocommerce-form-login.login .password-input input.input-text:focus{
    background: #ffffff !important;
    border-color: #8b5e3c !important;
    box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12) !important;
    outline: none !important;
}

.woocommerce form.woocommerce-form-login.login .password-input{
    position: relative;
    display: block;
}

.woocommerce form.woocommerce-form-login.login .password-input input.input-text{
    padding-right: 52px !important;
}

.woocommerce form.woocommerce-form-login.login .show-password-input{
    position: absolute;
    top: 50%;
    right: 10px;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%);
    border: 1px solid rgba(139, 94, 60, 0.22) !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #8b5e3c !important;
    box-shadow: none !important;
}

.woocommerce form.woocommerce-form-login.login .show-password-input:hover,
.woocommerce form.woocommerce-form-login.login .show-password-input:focus{
    border-color: #8b5e3c !important;
    background: #f8f6f3 !important;
    color: #1f2933 !important;
    outline: none !important;
}

.woocommerce form.woocommerce-form-login.login .show-password-input::before{
    content: "" !important;
    position: absolute !important;
    top: 11px;
    left: 9px;
    display: block !important;
    width: 14px;
    height: 10px;
    margin: 0 !important;
    border: 1.7px solid currentColor;
    border-radius: 50%;
    transform: rotate(-8deg);
}

.woocommerce form.woocommerce-form-login.login .show-password-input::after{
    content: "" !important;
    position: absolute !important;
    top: 17px;
    left: 17px;
    display: block !important;
    width: 4px;
    height: 4px;
    margin: 0 !important;
    border-radius: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.woocommerce form.woocommerce-form-login.login .woocommerce-form-login__rememberme{
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 !important;
    color: #1f2933;
    font-size: 1rem;
    letter-spacing: 0;
    cursor: pointer;
}

.woocommerce form.woocommerce-form-login.login .woocommerce-form-login__rememberme input[type="checkbox"]{
    width: 17px;
    min-width: 17px;
    height: 17px;
    margin: 0 !important;
    border: 1px solid #8b5e3c !important;
    border-radius: 2px;
    background: #ffffff !important;
    accent-color: #8b5e3c;
}

.woocommerce form.woocommerce-form-login.login .woocommerce-form-login__rememberme input[type="checkbox"]:checked{
    background-color: #8b5e3c !important;
}

.woocommerce form.woocommerce-form-login.login .woocommerce-form-login__submit{
    min-width: 176px;
    margin: 0 !important;
    padding: 14px 34px !important;
    border: 1px solid #8b5e3c !important;
    border-radius: 4px !important;
    background: #8b5e3c !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    line-height: 1.2 !important;
    box-shadow: 0 12px 26px rgba(139, 94, 60, 0.2) !important;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.woocommerce form.woocommerce-form-login.login .woocommerce-form-login__submit:hover,
.woocommerce form.woocommerce-form-login.login .woocommerce-form-login__submit:focus{
    background: #b37b51 !important;
    border-color: #b37b51 !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(139, 94, 60, 0.25) !important;
}

.woocommerce form.woocommerce-form-login.login .lost_password{
    grid-column: 1 / -1;
    margin: -6px 0 0 !important;
    padding-top: 16px;
    border-top: 1px solid rgba(31, 41, 51, 0.08);
    font-size: 1rem;
    line-height: 1.4;
}

.woocommerce form.woocommerce-form-login.login .lost_password a{
    color: #8b5e3c !important;
    text-decoration: none;
}

.woocommerce form.woocommerce-form-login.login .lost_password a:hover,
.woocommerce form.woocommerce-form-login.login .lost_password a:focus{
    color: #b37b51 !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/*************************************************
 * 20) PAGE MOT DE PASSE PERDU
 *************************************************/
.post-39.ast-article-single{
    max-width: 1040px !important;
    margin: 46px auto 76px !important;
    padding: 0 24px !important;
}

.post-39 .entry-header{
    margin: 0 0 34px !important;
    text-align: center;
}

.post-39 .entry-title{
    display: inline-block;
    margin: 0 !important;
    color: #1f2933 !important;
    font-size: clamp(2rem, 4vw, 3.2rem) !important;
    line-height: 1.15 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.post-39 .entry-title::after{
    content: "";
    display: block;
    width: 72px;
    height: 1px;
    margin: 18px auto 0;
    background: #8b5e3c;
}

.post-39 .entry-content,
.post-39 .woocommerce{
    max-width: none !important;
}

.post-39 .woocommerce{
    width: min(100%, 760px);
    margin: 0 auto !important;
}

.post-39 form.lost_reset_password{
    position: relative;
    margin: 0 !important;
    padding: 32px !important;
    background: #ffffff;
    border: 1px solid rgba(31, 41, 51, 0.12) !important;
    border-left: 3px solid #8b5e3c !important;
    border-radius: 6px !important;
    box-shadow: 0 22px 55px rgba(31, 41, 51, 0.08);
}

.post-39 form.lost_reset_password::before,
.post-39 form.lost_reset_password::after,
.post-39 form.lost_reset_password .clear{
    content: none !important;
    display: none !important;
}

.post-39 form.lost_reset_password > p:first-of-type{
    position: relative;
    margin: 0 0 26px !important;
    padding: 22px 24px 22px 68px !important;
    background: #f8f6f3;
    border: 1px solid rgba(139, 94, 60, 0.18);
    border-radius: 6px;
    color: #1f2933;
    font-size: 1.14rem;
    line-height: 1.55;
}

.post-39 form.lost_reset_password > p:first-of-type::before{
    content: "";
    position: absolute;
    top: 25px;
    left: 26px;
    width: 26px;
    height: 26px;
    border: 1px solid #8b5e3c;
    border-radius: 50%;
    background: #ffffff;
}

.post-39 form.lost_reset_password > p:first-of-type::after{
    content: "";
    position: absolute;
    top: 32px;
    left: 33px;
    width: 12px;
    height: 9px;
    border: 1.5px solid #8b5e3c;
    border-top: 0;
    border-radius: 0 0 2px 2px;
    box-shadow: 5px -6px 0 -4px #8b5e3c;
}

.post-39 form.lost_reset_password .form-row{
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.post-39 form.lost_reset_password .form-row-first{
    margin-bottom: 22px !important;
}

.post-39 form.lost_reset_password label{
    display: block;
    margin: 0 0 8px !important;
    color: #1f2933;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.post-39 form.lost_reset_password .required{
    color: #8b5e3c;
    text-decoration: none;
}

.post-39 form.lost_reset_password input.input-text{
    width: 100%;
    height: 52px;
    padding: 13px 16px !important;
    border: 1px solid #d4d0ca !important;
    border-radius: 4px !important;
    background: #fbfaf8 !important;
    color: #2b2b2b !important;
    font-size: 1.04rem;
    line-height: 1.2;
    box-shadow: inset 0 1px 2px rgba(31, 41, 51, 0.04) !important;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.post-39 form.lost_reset_password input.input-text:focus{
    background: #ffffff !important;
    border-color: #8b5e3c !important;
    box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12) !important;
    outline: none !important;
}

.post-39 form.lost_reset_password .woocommerce-Button.button{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-width: 300px;
    margin: 2px 0 0 !important;
    padding: 15px 34px !important;
    border: 1px solid #8b5e3c !important;
    border-radius: 4px !important;
    background: #8b5e3c !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    line-height: 1.2 !important;
    text-align: center;
    white-space: normal;
    box-shadow: 0 12px 26px rgba(139, 94, 60, 0.2) !important;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.post-39 form.lost_reset_password .woocommerce-Button.button:hover,
.post-39 form.lost_reset_password .woocommerce-Button.button:focus{
    background: #b37b51 !important;
    border-color: #b37b51 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(139, 94, 60, 0.25) !important;
}

.post-39 .woocommerce-message,
.post-39 .woocommerce-info,
.post-39 .woocommerce-error{
    margin: 0 0 20px !important;
    padding: 18px 22px !important;
    border-top: 0 !important;
    border-left: 3px solid #8b5e3c !important;
    border-radius: 6px;
    background: #f8f6f3;
    color: #1f2933;
    box-shadow: 0 16px 40px rgba(31, 41, 51, 0.06);
}

.post-38 .woocommerce-order-overview{
    display: grid !important;
    grid-template-columns: minmax(90px, 0.78fr) minmax(116px, 0.9fr) minmax(190px, 1.42fr) minmax(102px, 0.82fr) minmax(140px, 1.08fr);
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: #ffffff;
    border: 1px solid rgba(31, 41, 51, 0.12);
    border-radius: 6px;
    box-shadow: 0 22px 55px rgba(31, 41, 51, 0.08);
    overflow: hidden;
}

.post-38 .woocommerce-order-overview::before,
.post-38 .woocommerce-order-overview::after{
    content: none !important;
    display: none !important;
}

.post-38 .woocommerce-order-overview li{
    position: relative;
    box-sizing: border-box;
    float: none !important;
    clear: none !important;
    grid-column: auto !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 46px 24px 24px !important;
    border-right: 1px solid rgba(31, 41, 51, 0.08) !important;
    color: transparent;
    font-size: 0;
    line-height: 1.35;
    text-transform: none !important;
}

.post-38 .woocommerce-order-overview li:last-child{
    border-right: 0 !important;
}

.post-38 .woocommerce-order-overview li::before{
    position: absolute;
    top: 22px;
    left: 24px;
    color: #8b5e3c;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    white-space: nowrap;
}

.post-38 .woocommerce-order-overview__order::before{
    content: "Commande";
}

.post-38 .woocommerce-order-overview__date::before{
    content: "Date";
}

.post-38 .woocommerce-order-overview__email::before{
    content: "E-mail";
}

.post-38 .woocommerce-order-overview__total::before{
    content: "Total";
}

.post-38 .woocommerce-order-overview__payment-method::before{
    content: "Paiement";
}

.post-38 .woocommerce-order-overview strong,
.post-38 .woocommerce-order-overview .amount,
.post-38 .woocommerce-order-overview .wc-payment-gateway-method-logo-wrapper{
    display: block;
    color: #1f2933;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
    text-transform: none !important;
}

.post-38 .woocommerce-order-overview .wc-payment-gateway-method-logo-wrapper{
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-38 .woocommerce-order-overview img{
    width: auto;
    max-width: 36px;
    max-height: 18px;
}

.post-38 .woocommerce-order-details,
.post-38 .woocommerce-customer-details{
    margin: 0 !important;
    background: #ffffff;
    border: 1px solid rgba(31, 41, 51, 0.12);
    border-radius: 6px;
    box-shadow: 0 22px 55px rgba(31, 41, 51, 0.08);
    overflow: hidden;
}

.post-38 .woocommerce-order-details__title,
.post-38 .woocommerce-column__title{
    margin: 0 !important;
    padding: 24px 28px !important;
    background: #f8f6f3;
    border-bottom: 1px solid rgba(31, 41, 51, 0.08);
    color: #1f2933 !important;
    font-size: clamp(1.55rem, 2.3vw, 2rem) !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em;
}

.post-38 .woocommerce-table--order-details{
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
    border-radius: 0 !important;
    background: #ffffff;
}

.post-38 .woocommerce-table--order-details th,
.post-38 .woocommerce-table--order-details td{
    padding: 18px 28px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(31, 41, 51, 0.08) !important;
    color: #1f2933;
    font-size: 1.08rem;
    line-height: 1.45;
    vertical-align: middle;
}

.post-38 .woocommerce-table--order-details thead th{
    color: #8b5e3c;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.post-38 .woocommerce-table--order-details tbody td{
    background: #fbfaf8;
}

.post-38 .woocommerce-table--order-details tfoot tr:last-child th,
.post-38 .woocommerce-table--order-details tfoot tr:last-child td{
    border-bottom: 0 !important;
}

.post-38 .woocommerce-table--order-details tfoot th{
    width: 50%;
    font-weight: 600;
}

.post-38 .woocommerce-table--order-details tfoot tr:last-child th,
.post-38 .woocommerce-table--order-details tfoot tr:last-child td{
    background: #f8f6f3;
}

.post-38 .woocommerce-table--order-details a{
    color: #8b5e3c !important;
    text-decoration: none;
}

.post-38 .woocommerce-table--order-details a:hover{
    color: #b37b51 !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.post-38 .woocommerce-customer-details address{
    margin: 0 !important;
    padding: 26px 28px 28px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff;
    color: #1f2933;
    font-size: 1.08rem;
    font-style: normal;
    line-height: 1.7;
}

.post-38 .woocommerce-customer-details--phone,
.post-38 .woocommerce-customer-details--email{
    margin: 8px 0 0 !important;
    color: #1f2933;
    font-size: 1.02rem;
    overflow-wrap: anywhere;
}

.post-38 .woocommerce-customer-details--phone::before,
.post-38 .woocommerce-customer-details--email::before{
    color: #8b5e3c;
}

.post-38 .woocommerce-order ul.order_details li {
    font-size: .15em;
}

.post-38 .woocommerce-order ul.order_details li strong {
    font-size: 6.4em;
}

@media (max-width: 936px){
    .post-38 .woocommerce-order-overview{
        grid-template-columns: minmax(82px, 0.7fr) minmax(104px, 0.88fr) minmax(170px, 1.4fr) minmax(92px, 0.78fr) minmax(128px, 1.08fr);
    }

    .post-38 .woocommerce-order-overview li{
        padding: 42px 16px 22px !important;
    }

    .post-38 .woocommerce-order-overview li::before{
        left: 16px;
        font-size: 0.72rem;
    }

    .post-38 .woocommerce-order-overview strong,
    .post-38 .woocommerce-order-overview .amount,
    .post-38 .woocommerce-order-overview .wc-payment-gateway-method-logo-wrapper{
        font-size: 1rem;
    }
}

@media (max-width: 781px){
    .post-38.ast-article-single{
        margin-top: 34px !important;
        padding: 0 18px 58px !important;
    }

    .post-38 .entry-header{
        margin-bottom: 26px !important;
    }

    .post-38 .entry-title{
        font-size: clamp(1.8rem, 10vw, 2.5rem) !important;
        letter-spacing: 0.06em !important;
    }

    .post-38 .woocommerce-order{
        gap: 18px;
    }

    .post-38 .woocommerce-notice--success{
        padding: 22px 20px 22px 62px !important;
    }

    .post-38 .woocommerce-notice--success::before{
        left: 22px;
    }

    .post-38 .woocommerce-notice--success::after{
        left: 31px;
    }

    .woocommerce form.woocommerce-form-login.login{
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 22px 18px !important;
    }

    .woocommerce form.woocommerce-form-login.login .form-row-first,
    .woocommerce form.woocommerce-form-login.login .form-row-last,
    .woocommerce form.woocommerce-form-login.login .lost_password{
        grid-column: 1;
    }

    .woocommerce form.woocommerce-form-login.login .form-row:not(.form-row-first):not(.form-row-last){
        grid-column: 1;
        display: block;
        padding-top: 0 !important;
    }

    .woocommerce form.woocommerce-form-login.login .woocommerce-form-login__rememberme{
        margin-bottom: 14px !important;
    }

    .woocommerce form.woocommerce-form-login.login .woocommerce-form-login__submit{
        width: 100%;
    }

    .post-39.ast-article-single{
        margin-top: 34px !important;
        padding: 0 18px 58px !important;
    }

    .post-39 .entry-header{
        margin-bottom: 26px !important;
    }

    .post-39 .entry-title{
        font-size: clamp(1.8rem, 10vw, 2.5rem) !important;
        letter-spacing: 0.06em !important;
    }

    .post-39 form.lost_reset_password{
        padding: 22px 18px !important;
    }

    .post-39 form.lost_reset_password > p:first-of-type{
        padding: 20px 18px 20px 60px !important;
        font-size: 1.04rem;
    }

    .post-39 form.lost_reset_password > p:first-of-type::before{
        top: 22px;
        left: 20px;
    }

    .post-39 form.lost_reset_password > p:first-of-type::after{
        top: 29px;
        left: 27px;
    }

    .post-39 form.lost_reset_password .woocommerce-Button.button{
        width: 100%;
        min-width: 0;
    }

    .post-38 .woocommerce-order-overview{
        display: block !important;
    }

    .post-38 .woocommerce-order-overview li{
        padding: 42px 20px 20px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(31, 41, 51, 0.08) !important;
    }

    .post-38 .woocommerce-order-overview li:last-child{
        border-top: 0 !important;
        border-bottom: 0 !important;
    }

    .post-38 .woocommerce-order-overview li::before{
        top: 20px;
        left: 20px;
    }

    .post-38 .woocommerce-order-details__title,
    .post-38 .woocommerce-column__title{
        padding: 22px 20px !important;
    }

    .post-38 .woocommerce-table--order-details{
        display: block;
        overflow-x: auto;
    }

    .post-38 .woocommerce-table--order-details th,
    .post-38 .woocommerce-table--order-details td{
        padding: 16px 20px !important;
        font-size: 1rem;
        white-space: normal;
    }

    .post-38 .woocommerce-customer-details address{
        padding: 22px 20px 24px !important;
    }
}

.products .add_to_cart_button, .products .product_type_simple {
    display: none !important;
}

.ast-theme-transparent-header .ast-menu-cart-outline .ast-cart-menu-wrap .count,
.ast-theme-transparent-header .ast-menu-cart-outline .ast-addon-cart-wrap,
.ast-menu-cart-outline .ast-cart-menu-wrap .count,
.ast-menu-cart-outline .ast-addon-cart-wrap{
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.92);
}

body.ast-theme-transparent-header .ast-site-header-cart .ast-addon-cart-wrap i.astra-icon:after {

}

.ast-site-header-cart .widget_shopping_cart, .woocommerce .ast-site-header-cart .widget_shopping_cart {
    color: rgba(43, 43, 43);
}

.menu-toggle, button, .ast-button, .ast-custom-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], #comments .submit, .search .search-submit, form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button, body .wp-block-file .wp-block-file__button, .search .search-submit, .woocommerce-js a.button, .woocommerce button.button, .woocommerce .woocommerce-message a.button, .woocommerce #respond input#submit.alt, .woocommerce input.button.alt, .woocommerce input.button, .woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled], .woocommerce input.button:disabled:hover, .woocommerce input.button:disabled[disabled]:hover, .woocommerce #respond input#submit, .woocommerce button.button.alt.disabled, .wc-block-grid__products .wc-block-grid__product .wp-block-button__link, .wc-block-grid__product-onsale, [CLASS*="wc-block"] button, .woocommerce-js .astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__buttons .button:not(.checkout):not(.ast-continue-shopping), .woocommerce-js .astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__buttons a.checkout, .woocommerce button.button.alt.disabled.wc-variation-selection-needed, [CLASS*="wc-block"] .wc-block-components-button {
    color: rgba(255, 255, 255, 0.92);
    /*border-color: rgba(43, 43, 43);
    background-color: rgba(43, 43, 43);*/
    border-color: #8b5e3c;
    background-color: #8b5e3c;

}

button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .ast-custom-button:hover .button:hover, .ast-custom-button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:hover, form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:focus, body .wp-block-file .wp-block-file__button:hover, body .wp-block-file .wp-block-file__button:focus, .woocommerce-js a.button:hover, .woocommerce button.button:hover, .woocommerce .woocommerce-message a.button:hover, .woocommerce #respond input#submit:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce input.button.alt:hover, .woocommerce input.button:hover, .woocommerce button.button.alt.disabled:hover, .wc-block-grid__products .wc-block-grid__product .wp-block-button__link:hover, [CLASS*="wc-block"] button:hover, .woocommerce-js .astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__buttons .button:not(.checkout):not(.ast-continue-shopping):hover, .woocommerce-js .astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__buttons a.checkout:hover, .woocommerce button.button.alt.disabled.wc-variation-selection-needed:hover, [CLASS*="wc-block"] .wc-block-components-button:hover, [CLASS*="wc-block"] .wc-block-components-button:focus {
    color: rgba(255, 255, 255, 0.92);
    border-color: #b37b51;
    background-color: #b37b51;
}

.ast-woocommerce-container .woocommerce-no-products-found {
    margin-top: 10px;
}

input[type="radio"]:checked, input[type=reset], input[type="checkbox"]:checked, input[type="checkbox"]:hover:checked, input[type="checkbox"]:focus:checked, input[type=range]::-webkit-slider-thumb {
    border-color: rgba(0, 0, 0, 0);
    background-color: rgba(0, 0, 0, 0);
}

.woocommerce-js div.product form.cart::after, .woocommerce-js div.product form.cart::before {
    content: none;
}

.woocommerce-js #respond input#submit.disabled:hover, .woocommerce-js #respond input#submit:disabled:hover, .woocommerce-js #respond input#submit:disabled[disabled]:hover, .woocommerce-js a.button.disabled:hover, .woocommerce-js a.button:disabled:hover, .woocommerce-js a.button:disabled[disabled]:hover, .woocommerce-js button.button.disabled:hover, .woocommerce-js button.button:disabled:hover, .woocommerce-js button.button:disabled[disabled]:hover, .woocommerce-js input.button.disabled:hover, .woocommerce-js input.button:disabled:hover, .woocommerce-js input.button:disabled[disabled]:hover {
    background-color: #b37b51;
}

.woocommerce-cart-form .coupon-error-notice {
    padding: 20px;
    margin-bottom: 0;
}

