/* Solde.sn - barre d'achat mobile (fiche produit) : 2 lignes
   ligne 1 : prix + ancien prix barré + remise · « Paiement à la livraison »
   ligne 2 : [ WhatsApp ] [ Ajouter au panier ]  (2 boutons de même taille, 48 px) */
@media (max-width: 991.98px) {
  body.page-product.sn-mbar .sn-buybar {
    transform: none !important;
    display: block;
    padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #dde3dc;
    box-shadow: 0 -6px 18px rgba(23, 32, 27, .10);
    border-radius: 16px 16px 0 0;
  }
  body.page-product.sn-mbar .sn-bottom-nav { transform: translateY(110%); }
  body.page-product.sn-mbar .sn-float { display: none !important; }
  body.page-product.sn-mbar #footer,
  body.page-product.sn-mbar .footer { padding-bottom: 120px; }

  /* ligne 1 */
  .sn-mbar__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    min-height: 26px;
  }
  body.page-product.sn-mbar .sn-buybar__price {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 8px;
    row-gap: 0;
    line-height: 1.15;
    min-width: 0;
  }
  body.page-product.sn-mbar .sn-buybar__price b {
    font-size: 1.3rem;
    font-weight: 900;
    color: #d92d20;
    letter-spacing: -.01em;
    white-space: nowrap;
  }
  body.page-product.sn-mbar .sn-buybar__price s {
    font-size: .85rem;
    color: #6b7a70;
    white-space: nowrap;
  }
  .sn-mbar__off {
    align-self: center;
    background: #ffd000;
    color: #17201b;
    font-weight: 900;
    font-size: .78rem;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 6px;
    white-space: nowrap;
  }
  .sn-mbar__cod {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .75rem;
    font-weight: 700;
    color: #0b7a3b;
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .sn-mbar__cod svg { width: 15px; height: 15px; }

  /* ligne 2 : deux boutons identiques */
  .sn-mbar__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .sn-buybar__wa,
  body.page-product.sn-mbar .sn-buybar__btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.1;
    padding: 0 10px;
    white-space: nowrap;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform .1s, filter .15s;
  }
  .sn-buybar__wa { background: #1fa855; color: #fff !important; }
  body.page-product.sn-mbar .sn-buybar__btn { background: #0b7a3b; color: #fff; }
  .sn-buybar__wa:active,
  body.page-product.sn-mbar .sn-buybar__btn:active { transform: scale(.97); filter: brightness(.95); }
  .sn-buybar__wa svg,
  .sn-buybar__btn svg { width: 21px; height: 21px; flex: 0 0 auto; }
  body.page-product.sn-mbar .sn-buybar__btn[disabled] { background: #c9d2cb; color: #fff; }
}
@media (max-width: 359.98px) {
  body.page-product.sn-mbar .sn-buybar__price b { font-size: 1.15rem; }
  .sn-mbar__cod { display: none; }
  .sn-buybar__wa, body.page-product.sn-mbar .sn-buybar__btn { font-size: .9rem; gap: 5px; }
}
