/* Masquer la loupe sur les images produits */
.woocommerce-product-gallery__trigger {
    display: none !important;
}
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
/* Style de base du header */
#mon-header-escamotable {
  transition: transform 0.4s ease-in-out !important;
  position: fixed !important;
  top: 0;
  width: 100%;
  z-index: 9999;
}
/* Cache les liens Previous/Next de la galerie produit */
.flex-direction-nav, 
.woocommerce-product-gallery .flex-direction-nav {
    display: none !important;
}
/* Cache le message d'ajout au panier */
.woocommerce-message {
    display: none !important;
}
/* Style du bandeau principal */
#sticky-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.08); /* Ombre légère pour décoller du fond */
    z-index: 9999;
    padding: 12px 0;
    transition: transform 0.4s ease-in-out;
}

/* Masqué par défaut (animation de glissement) */
.sticky-cart-hidden {
    transform: translateY(100%);
}

.sticky-cart-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.sticky-cart-info .sticky-title {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    font-family: inherit;
}

/* --- LE BOUTON PERSONNALISÉ --- */
.sticky-add-button {
    display: inline-block;
    background-color: #ffffff !important; /* Fond Blanc */
    color: #000000 !important;           /* Texte Noir */
    border: 1px solid #EC662B !important; /* Bordure Orange Spécifique */
    padding: 10px 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Effet au survol du bouton */
.sticky-add-button:hover {
    background-color: #EC662B !important;
    color: #ffffff !important;
}

/* Adaptation pour les téléphones */
@media (max-width: 768px) {
    .sticky-cart-container {
        flex-direction: column;
        gap: 8px;
    }
    .sticky-cart-info .sticky-title {
        font-size: 14px;
        text-align: center;
    }
    .sticky-add-button {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}
/* 1. On crée de l'espace SOUS le formulaire d'ajout au panier */
.woocommerce div.product form.cart {
    margin-bottom: 40px !important;
}

/* 2. On cible le conteneur global des boutons de paiement tiers */
.wc-ppcp-product-payment-container, 
.additional-checkout-buttons,
#ppc-button-product {
    margin-top: 25px !important;
    padding-top: 10px !important;
    display: block !important;
    clear: both !important;
}

/* 3. Ciblage direct du code que vous m'avez envoyé */
div[data-funding-source="paypal"] {
    margin-top: 20px !important;
}