/* Rangée « bas de miniature » : cœur et panier en ligne, à droite (réglages product_page.card_buttons, voir CardButtonsLogic). */
/* Carte pleine hauteur : le pied (boutons + lien) est collé en bas de la carte, aligné d'une carte à l'autre. */
product-component:has(.pp-card-actions) { display: block; height: 100%; }
product-component:has(.pp-card-actions) .card-wrapper { height: 100%; }
product-component:has(.pp-card-actions) .card-wrapper .card { display: flex; flex-direction: column; height: 100%; }
product-component:has(.pp-card-actions) .card__content { flex: 1 1 auto; }
/* Le pied de carte est TOUT EN BAS de la carte, au même niveau sur toutes les cartes d'une rangée. Le contenu de la carte (grille Dawn à 3 rangées : le pied, sans rangée à lui,
   se plaçait dans la rangée 1, AU-DESSUS du titre et du prix) devient une colonne : informations qui s'étirent, pied collé en bas. */
product-component:has(.pp-card-actions) .card__content { display: flex !important; flex-direction: column !important; flex: 1 1 auto; }
product-component:has(.pp-card-actions) .card__information { flex: 1 1 auto; grid-row: auto; }
/* Page catégorie : la règle de la grille (.bp-col #product-grid … .card__content, avec !important) imposait la grille 1fr / max-content / 1fr, qui réservait une rangée vide de la hauteur des informations SOUS le pied (cartes bien plus hautes). Sélecteur plus spécifique : colonne, sans grille. */
.bp-col #product-grid.product-grid product-component:has(.pp-card-actions) .card__content { display: flex !important; flex-direction: column !important; grid-template-rows: none !important; }
.bp-col #product-grid.product-grid product-component:has(.pp-card-actions) .card__information { grid-row: auto !important; flex: 1 1 auto; }
product-component:has(.pp-card-actions) .pp-card-actions { order: 9; margin-top: auto; width: 100%; box-sizing: border-box; }
.pp-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 8px 12px 12px; }
.pp-card-actions .pp-card-cart-inner-form { display: flex; align-items: center; gap: 8px; margin: 0; }
.pp-card-actions .pp-card-cart-link { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--pp-blue-dk, var(--bp-primary,#384799)); cursor: pointer; text-align: left; white-space: normal; }
.pp-card-actions .pp-card-cart-link:hover, .pp-card-actions .pp-card-cart-link:focus-visible { text-decoration: underline; }
.pp-card-actions .pp-card-cart-form { position: static !important; right: auto !important; bottom: auto !important; width: auto; height: auto; }
.pp-card-actions .pp-card-cart-btn, .pp-card-actions .pp-wishlist-btn { position: relative !important; inset: auto !important; display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; height: 34px !important; min-height: 0; padding: 0; border-radius: 999px; background: var(--bp-surface, #fff); cursor: pointer; pointer-events: auto !important; transition: background-color calc(.15s * var(--bp-motion-speed,1)) var(--bp-ease,ease), border-color calc(.15s * var(--bp-motion-speed,1)) var(--bp-ease,ease), box-shadow calc(.15s * var(--bp-motion-speed,1)) var(--bp-ease,ease), transform calc(.15s * var(--bp-motion-speed,1)) var(--bp-ease,ease); }
.pp-card-actions .pp-card-cart-btn:focus-visible, .pp-card-actions .pp-wishlist-btn:focus-visible { outline: 2px solid var(--bp-primary,#384799); outline-offset: 2px; }
.pp-card-actions .pp-card-cart-btn:active, .pp-card-actions .pp-wishlist-btn:active { transform: scale(.94); }
.pp-card-actions .pp-wishlist-btn { width: 34px !important; min-width: 34px; border: 1px solid var(--bp-ca-heart-stroke, var(--pp-rose, #D96E96)); background: var(--bp-ca-heart-bg, #fff); }
.pp-card-actions .pp-card-cart-btn { width: 34px !important; min-width: 34px; border: 1px solid var(--bp-ca-cart-stroke, var(--pp-blue-dk, var(--bp-primary,#384799))); color: var(--bp-ca-cart-stroke, var(--pp-blue-dk, var(--bp-primary,#384799))); background: var(--bp-ca-cart-bg, #fff); }
.pp-card-actions .pp-card-cart-btn svg { width: 16px; height: 16px; }
.pp-card-actions .pp-wishlist-btn svg { width: 15px; height: 15px; fill: none; stroke: var(--bp-ca-heart-stroke, var(--pp-rose, #D96E96)); }
.pp-card-actions .pp-card-cart-btn:hover, .pp-card-actions .pp-card-cart-btn:focus-visible { background: var(--bp-ca-cart-bg-hover, var(--pp-blue-lt, #E8F6FC)); border-color: var(--bp-ca-cart-stroke-hover, var(--bp-ca-cart-stroke, var(--pp-blue-dk, var(--bp-primary,#384799)))); color: var(--bp-ca-cart-stroke-hover, var(--bp-ca-cart-stroke, var(--pp-blue-dk, var(--bp-primary,#384799)))); }
.pp-card-actions .pp-wishlist-btn:hover, .pp-card-actions .pp-wishlist-btn:focus-visible { background: var(--bp-ca-heart-bg-hover, #fceff3); border-color: var(--bp-ca-heart-stroke-hover, var(--bp-ca-heart-stroke, var(--pp-rose, #D96E96))); }
.pp-card-actions .pp-wishlist-btn:hover svg, .pp-card-actions .pp-wishlist-btn:focus-visible svg { stroke: var(--bp-ca-heart-stroke-hover, var(--bp-ca-heart-stroke, var(--pp-rose, #D96E96))); }
