/* RC16.51.6.9.5.9.7.24 — Payment bank selection and PDP quantity fidelity.
   All rules are presentation-only. Form controls, payment fields and calculation handlers stay intact. */
@media (max-width:760px) {
  /* The native bank dropdown remains in DOM for payment POST but is not displayed a second time. */
  html body .bq-bank-panel.bw724-bank-panel,
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel {
    display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;
    margin:8px 0 12px!important;padding:12px 10px 13px!important;background:#fff!important;
    border:1px solid #e5ebef!important;border-radius:16px!important;
    box-shadow:0 3px 16px rgba(24,44,53,.06)!important;
  }
  html body .bq-bank-panel.bw724-bank-panel[hidden],
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel[hidden]{display:none!important}
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-select-label,
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel .bq-bank-select-label {
    position:absolute!important;width:1px!important;max-width:1px!important;height:1px!important;
    overflow:hidden!important;margin:-1px!important;padding:0!important;
    clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;
    opacity:0!important;border:0!important;pointer-events:none!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bw723-bank-heading,
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel .bw723-bank-heading {
    display:grid!important;grid-template-columns:39px minmax(0,1fr)!important;gap:10px!important;
    align-items:center!important;margin:0 0 12px!important;padding:0 2px!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bw723-bank-heading-icon {display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border-radius:10px!important;background:#e3f8e9!important;color:#108b39!important}
  html body .bq-bank-panel.bw724-bank-panel .bw723-bank-heading strong {display:block!important;font-size:13.5px!important;font-weight:800!important;color:#16242d!important;line-height:1.3!important}
  html body .bq-bank-panel.bw724-bank-panel .bw723-bank-heading small {display:block!important;margin-top:3px!important;color:#69737d!important;font-size:10.8px!important;line-height:1.4!important;font-weight:400!important}
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-cards,
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel .bq-bank-cards {
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;
    width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-card,
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel .bq-bank-card {
    position:relative!important;display:grid!important;grid-template-columns:51px minmax(0,1fr) 21px!important;
    grid-template-rows:auto!important;align-items:center!important;gap:9px!important;
    box-sizing:border-box!important;min-height:79px!important;width:100%!important;max-width:100%!important;
    margin:0!important;padding:10px 8px!important;background:#fff!important;
    border:1px solid #e0e6eb!important;border-radius:12px!important;
    box-shadow:0 2px 5px rgba(14,33,45,.045)!important;cursor:pointer!important;
    flex-direction:row!important;justify-content:initial!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-card.active,
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel .bq-bank-card.active {
    padding:9px 7px!important;border:2px solid #16af42!important;
    background:#f2fff4!important;box-shadow:0 1px 5px rgba(14,120,45,.08)!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-card:focus-within {outline:2px solid #35b85c!important;outline-offset:1px!important}
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-card>input[type=radio],
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel .bq-bank-card>input[type=radio] {
    position:absolute!important;display:block!important;top:8px!important;right:7px!important;
    width:22px!important;height:22px!important;margin:0!important;opacity:0!important;
    z-index:2!important;pointer-events:auto!important;cursor:pointer!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-card::after,
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel .bq-bank-card::after {
    content:''!important;grid-column:3!important;grid-row:1!important;display:grid!important;place-items:center!important;
    width:18px!important;height:18px!important;border-radius:50%!important;
    border:1.5px solid #aab6bf!important;background:#fff!important;color:#fff!important;
    font-size:12px!important;font-weight:900!important;line-height:1!important;
    justify-self:center!important;align-self:start!important;margin:2px 0 0!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-card.active::after {content:'✓'!important;background:#079d38!important;border-color:#079d38!important}
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-card-logo,
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel .bq-bank-card-logo {
    display:grid!important;place-items:center!important;grid-column:1!important;grid-row:1!important;
    width:49px!important;max-width:49px!important;min-width:49px!important;
    height:54px!important;min-height:54px!important;max-height:54px!important;
    box-sizing:border-box!important;margin:0!important;padding:5px!important;
    border:1px solid #e9eff1!important;border-radius:10px!important;background:#fff!important;
    box-shadow:0 2px 4px rgba(20,35,46,.06)!important;overflow:hidden!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-card-logo img,
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel .bq-bank-card-logo img {
    display:block!important;width:auto!important;height:auto!important;
    max-width:39px!important;max-height:44px!important;object-fit:contain!important;padding:0!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-card-info,
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel .bq-bank-card-info {
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
    grid-column:2!important;grid-row:1!important;min-width:0!important;max-width:100%!important;
    width:100%!important;gap:1px!important;margin:0!important;padding:0!important;
    white-space:normal!important;text-align:left!important;line-height:1.2!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-card-info>strong,
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel .bq-bank-card-info>strong {
    display:block!important;width:100%!important;min-width:0!important;margin:0!important;
    color:#17212b!important;font-size:12.8px!important;font-weight:800!important;line-height:1.25!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-branch,
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-account-type {
    display:block!important;margin:0!important;color:#697482!important;
    font-size:10px!important;font-weight:500!important;line-height:1.4!important;
    overflow-wrap:anywhere!important;white-space:normal!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-iban,
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel .bq-bank-iban {
    display:grid!important;grid-template-columns:minmax(0,1fr) 20px!important;grid-template-rows:auto auto!important;align-items:center!important;
    justify-content:stretch!important;gap:1px 4px!important;width:100%!important;max-width:100%!important;
    margin:2px 0 0!important;color:#677482!important;font-size:10px!important;
    line-height:1.3!important;overflow:visible!important;overflow-wrap:normal!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bq-bank-iban>b,
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel .bq-bank-iban>b {
    display:block!important;flex:none!important;grid-column:1!important;grid-row:2!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    color:#172330!important;font-size:clamp(10px,2.7vw,11.5px)!important;font-weight:850!important;
    line-height:1.27!important;letter-spacing:-.28px!important;white-space:normal!important;
    overflow-wrap:anywhere!important;word-break:normal!important;margin:0!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bw5975-copy-iban,
  html body .bw-checkout-modern-v2 .bq-bank-panel.bw724-bank-panel .bw5975-copy-iban {
    display:inline-grid!important;grid-column:2!important;grid-row:2!important;align-self:center!important;
    place-items:center!important;flex:0 0 20px!important;width:20px!important;height:20px!important;
    padding:0!important;margin:0 0 0 2px!important;background:transparent!important;color:#109b40!important;
    border:0!important;box-shadow:none!important;border-radius:4px!important;
  }
  html body .bq-bank-panel.bw724-bank-panel .bw5975-copy-iban svg{width:16px!important;height:16px!important}
  html body .bq-bank-panel.bw724-bank-panel>small{display:block!important;margin:10px 3px 0!important;color:#72808a!important;font-size:10px!important;line-height:1.4!important}

  /* PDP: quantity must use full card width instead of the legacy 112px grid track. */
  html body .bw58-product-page .bw5963-purchase .bw5963-buy-controls,
  html body .bw58-product-page[data-bw-product-template="RC16.51.6.9.5.9.6.3"] .bw5963-purchase .bw5963-buy-controls {
    display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
    margin:0!important;padding:0!important;
  }
  html body .bw58-product-page .bw5963-purchase .bw5963-buy-controls .bw593-buy-row,
  html body .bw58-product-page[data-bw-product-template="RC16.51.6.9.5.9.6.3"] .bw5963-purchase .bw5963-buy-controls .bw593-buy-row {
    display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    grid-template-columns:none!important;gap:10px!important;margin:0!important;padding:0!important;
  }
  html body .bw58-product-page .bw5963-purchase .bw5963-buy-controls .bq-pd-qty-row,
  html body .bw58-product-page[data-bw-product-template="RC16.51.6.9.5.9.6.3"] .bw5963-purchase .bw5963-buy-controls .bq-pd-qty-row {
    display:block!important;flex:0 0 auto!important;align-self:stretch!important;
    width:100%!important;max-width:none!important;min-width:0!important;grid-column:1/-1!important;
    margin:0!important;padding:0!important;box-sizing:border-box!important;
  }
  html body .bw58-product-page .bw5963-purchase .bw5963-buy-controls .bq-qty,
  html body .bw58-product-page[data-bw-product-template="RC16.51.6.9.5.9.6.3"] .bw5963-purchase .bw5963-buy-controls .bq-qty {
    display:grid!important;grid-template-columns:20% minmax(0,1fr) 20%!important;
    width:100%!important;max-width:none!important;min-width:0!important;
    height:40px!important;min-height:40px!important;margin:0!important;padding:0!important;
    border:1px solid #d6e0ec!important;border-radius:8px!important;background:#fff!important;
    overflow:hidden!important;box-sizing:border-box!important;
  }
  html body .bw58-product-page .bw5963-purchase .bw5963-buy-controls .bq-qty>button,
  html body .bw58-product-page .bw5963-purchase .bw5963-buy-controls .bq-qty>input {
    display:block!important;position:static!important;width:100%!important;height:38px!important;
    min-width:0!important;min-height:38px!important;max-height:38px!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
    line-height:38px!important;text-align:center!important;box-shadow:none!important;box-sizing:border-box!important;
  }
  html body .bw58-product-page .bw5963-purchase .bw5963-buy-controls .bq-qty>button{
    background:#f4f7fc!important;color:#273d53!important;font-size:18px!important;font-weight:750!important;
  }
  html body .bw58-product-page .bw5963-purchase .bw5963-buy-controls .bq-qty>input{
    border-left:1px solid #e1e7ee!important;border-right:1px solid #e1e7ee!important;
    background:#fff!important;color:#152436!important;font-size:15px!important;font-weight:800!important;
    -moz-appearance:textfield!important;appearance:textfield!important;
  }
  html body .bw58-product-page .bw5963-purchase .bw5963-buy-controls .bq-qty>input::-webkit-inner-spin-button,
  html body .bw58-product-page .bw5963-purchase .bw5963-buy-controls .bq-qty>input::-webkit-outer-spin-button{
    -webkit-appearance:none!important;margin:0!important;
  }
  html body .bw58-product-page .bw5963-purchase .bw5963-buy-controls .bq-pd-actions{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    gap:5px!important;row-gap:5px!important;margin:0!important;padding:0!important;
  }
  html body .bw58-product-page .bw5963-purchase .bw5963-buy-controls .bq-pd-actions>.bq-btn,
  html body .bw58-product-page .bw5963-purchase>.bw5963-buy-now{
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    height:44px!important;min-height:44px!important;margin:0!important;padding:0 12px!important;
  }
  html body .bw58-product-page .bw5963-purchase>.bw5963-buy-now{margin-top:5px!important}
}
