/* ===== Johann Corbel : centrage du bouton "ABONNEZ-VOUS !" dans la popup newsletter =====
   Le bouton #popnewsletter_submit a width:70% dans un .row (flexbox Bootstrap),
   ce qui le colle à gauche. justify-content:center le centre horizontalement. */
#popnewsletter_block .row,
#popnewsletter .row {
    justify-content: center;
}
/* ===== Fin Johann Corbel ===== */

/* ===== Johann Corbel : espacement au-dessus du bloc accessoires (fiche produit) ===== */
.product-accessories-block {
    margin-top: 40px;
}
/* ===== Fin Johann Corbel ===== */

/* ===== Johann Corbel : boutons PayPal (Acheter + 4X) empilés sous "Ajouter au panier" =====
   Objectif :
     [QUANTITÉ] [input] [Ajouter au panier]
                        [PayPal Acheter   ]
                        [4X PayPal        ]
   - .product-add-to-cart en flex horizontal pour aligner QUANTITÉ à gauche du bloc
   - .product-quantity en CSS Grid 2 colonnes : col 1 = input, col 2 = add + paypals empilés
   - Les paypals sont placés explicitement via grid-row/grid-column
   - On masque les inputs hidden et .clearfix qui pollueraient la grille
   - On annule le float:right inline présent dans les templates PayPal */
.product-add-to-cart {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
}

.product-quantity {
    display: grid !important;
    grid-template-columns: auto auto;
    column-gap: 10px;
    row-gap: 0.5rem;
    align-items: center;
}

.product-quantity > .qty {
    grid-column: 1;
    grid-row: 1;
}

.product-quantity > .add {
    grid-column: 2;
    grid-row: 1;
}

.product-quantity [data-container-express-checkout] {
    float: none !important;
    grid-column: 2;
    grid-row: 2;
    margin: 0 !important;
    max-width: none !important;
    width: auto !important;
    flex-basis: auto !important;
}

.product-quantity [data-container-bnpl] {
    float: none !important;
    grid-column: 2;
    grid-row: 3;
    margin: 0 !important;
    max-width: none !important;
    width: auto !important;
    flex-basis: auto !important;
}

/* Éléments parasites des templates PayPal qui pollueraient la grille */
.product-quantity > input[type="hidden"],
.product-quantity > .clearfix {
    display: none !important;
}
/* ===== Fin Johann Corbel ===== */

