#lp-drawer {
    position: fixed;
    top: 0;
    right: -550px;
    width: 550px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* 🔑 empêche scroll global */
    padding:15px;
}

#lp-drawer-content {
    flex: 1;
    overflow-y: auto;      /* ✅ scroll interne */
    -webkit-overflow-scrolling: touch;
    max-height: calc(100vh - 120px); /* header + footer */
    padding: 0 15px 0 15px;
}

#lp-drawer-close {
    flex-shrink: 0;
}

body.lp-drawer-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    #lp-drawer {
        width: 80%;
        right: -80%;
    }
}

/*CUSTOM DRAWER*/

.lp-drawer-image img {
    width: 100%;
    border-radius: 3px !important;
    margin-bottom: 16px !important;
}

.lp-drawer-title {
    font-size: 25px;
    margin: 0 0 6px;
    color: #ec7da2;
    font-weight: 700;
}

.lp-drawer-price {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.lp-drawer-options label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.lp-drawer-options select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.lp-drawer-qty {
    margin: 20px 0;
}

.lp-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-qty-wrapper input {
    width: 60px;
    text-align: center;
}

.lp-qty-wrapper button {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f7f7f7;
    cursor: pointer;
}

.lp-drawer-desc{
    font-size: 16px;
    line-height: 1.6;
    color: #3d3a44;
}

.lp-drawer-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 15px;
    border-top: 1px solid #eee;
}

.lp-footer-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.lp-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lp-qty-wrapper input {
    width: 55px;
    text-align: center;
}

.lp-footer-form form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.lp-footer-form input[type="number"] {
    width: 70px;
    height: 45px;
    text-align: center;
}

.lp-add-to-cart {
    position: relative;
    transition: all 0.3s ease;
}

.lp-add-to-cart.loading {
    opacity: 0.7;
    pointer-events: none;
}

.lp-add-to-cart.added {
    background: #3d3a44 !important;
    color: #fff !important;
}

.lp-add-to-cart.added::after {
    content: " ✓ ";
}

.lp-add-to-cart-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.lp-footer-price {
    font-weight: 700;
    font-size: 20px;
    margin-right: 10px;
}

.lp-add-to-cart-form input[type="number"] {
    width: 60px;
    height: 42px;
    text-align: center;
}

/* FORM FOOTER */
.lp-add-to-cart-form {
    display: flex;
    align-items: center;
}

/* PRIX À GAUCHE */
.lp-footer-price {
    font-weight: 700;
    font-size: 25px;
    margin-right: auto; /* pousse le reste à droite */
}

/* QUANTITÉ */
.lp-add-to-cart-form input[type="number"] {
    width: 60px;
    height: 42px;
    text-align: center;
}

/* BOUTON */
.lp-add-to-cart {
    width: auto;
    padding: 0 22px;
    height: 42px;
    font-size: 14px;
    font-weight: 600;
    flex: none;
    border-radius: 3px !important;
    padding: 0 20px 0 20px !important;
	background: #ec7da2 !important;
    color: #fff !important;
}

/* Bouton Ajouter au panier dans le drawer */
.lp-add-to-cart:hover {
    background-color: #3d3a44 !important; /* Gris foncé au survol */
    color: #fff !important;    /* Assure que le texte reste lisible */
}

#lp-drawer-content .lp-drawer-price {
    display: none;
}

.lp-category-title {
    font-size: 40px;
    font-weight: 300;
    margin-top: 30px;
    color: #3d3a44;
    text-align: center;
}

#lp-category-title {
    position: relative;
    font-size: 40px;
    font-weight: 200;
    margin-bottom: 20px; /* espace avec les produits */
    padding-bottom: 8px; /* espace pour le séparateur */
    text-align: center;
}

/* Séparateur discret */
#lp-category-title::after {
    content: '';
    display: block; /* permet de centrer le pseudo-élément */
    margin: 0 auto; /* centre horizontalement */
    width: 300px; /* longueur du trait */
    height: 1px; /* épaisseur */
    background-color: #F2E6DC; /* beige clair / sable chaud */
    border-radius: 2px; /* coins arrondis */
    margin-top: 6px; /* petit espace entre le texte et le trait */
}


#lp-category-title {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#lp-category-title.loading {
    opacity: 0.4;
}

#lp-drawer {
    background: #fff;
    box-shadow: -4px 0 12px rgba(0,0,0,0.08);
}

.lp-no-products-message {
    grid-column: 1 / -1;   /* prend toute la largeur en CSS Grid */
    text-align: center;
    font-size: 25px;
    color: #ec7da2;
    font-weight: 300;
}

#lp-countdown {
    margin-top: 10px;
    font-weight: 300;
    color: #3d3a44;
    font-size: 20px;
}

/* Boutons Menu Header */
.buttons-menu:hover {
    background-color: #3d3a44 !important;
    color: #fff !important;
	border-radius: 3px;
}

.buttons-menu, button:focus {
    background-color: #f2e6dc !important;
	color:#3d3a44 !important;
}

.lp-drawer-header {
    background-color: #fff;
}

#lp-drawer-close {
    color: #3d3a44;
    font-size: 56px;
    padding: 0 !important;
    border: none;
    text-align: left !important;
    margin-top: -25px !important;
    margin-left: 10px;
}

.lp-product-card {
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(236, 125, 162, 0.06); /* rose très léger */
    transition: all 0.25s ease;
}

.lp-product-card:hover {
    box-shadow: 0 10px 24px rgba(61, 58, 68, 0.10);
    transform: translateY(-2px);
}

.lp-menu-wrapper {
    position: relative;
}

/* Hamburger */
.lp-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #3d3a44;
    z-index: 1001;
}

/* Menu desktop */
.lp-menu-filtrable {
    display: flex;
    gap: 10px;
}

/* Mobile */
@media (max-width: 1024px) {  /* important : Elementor tablette */

    .lp-menu-toggle {
        display: block;
    }

    .lp-menu-filtrable {
        display: none !important;
        flex-direction: column;
        background: #fff;
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 15px 35px rgba(61, 58, 68, 0.15);
        position: absolute;
        top: 55px;
        right: 0;
        width: 260px;
        z-index: 1000;
    }

    .lp-menu-filtrable.active {
        display: flex !important;
		flex-direction: column;
    }
}

.elementor-location-header {
    overflow: visible !important;
}
