.payment-option-card[hidden],.breb-payment-panel[hidden]{display:none!important}
.payment-option-card{display:grid!important;grid-template-columns:auto 54px 1fr;align-items:center;gap:12px;padding:14px 16px!important}.payment-option-card>input{margin:0}.payment-option-card__logo{display:block;width:54px;height:42px;object-fit:contain;border-radius:10px;background:#fff;border:1px solid rgba(23,55,43,.12)}.checkout-summary__item--visual{display:grid!important;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:center}.checkout-summary__thumbnail{width:64px;height:72px;border-radius:10px;object-fit:cover;background:#f3efe5;border:1px solid rgba(23,55,43,.12)}.checkout-summary__item-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.breb-payment-panel{width:100%;margin-top:6px;padding:20px;border:1px solid rgba(23,55,43,.18);border-radius:18px;background:#faf8f3;text-align:left}.breb-payment-panel__brand{display:block;width:128px;height:auto;margin:0 auto 10px}.breb-payment-panel h3{text-align:center;margin:4px 0 8px}.breb-payment-panel>p{text-align:center;line-height:1.5}.breb-payment-panel__qr{display:block;width:min(320px,100%);aspect-ratio:1;object-fit:contain;margin:16px auto;border-radius:16px;background:#fff;border:1px solid rgba(23,55,43,.16);padding:8px;cursor:zoom-in;transition:transform .18s ease}.breb-payment-panel__qr:hover{transform:scale(1.02)}.breb-payment-panel__details{margin:14px 0;display:grid;gap:8px}.breb-payment-panel__details div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(23,55,43,.1);padding:7px 0}.breb-payment-panel__details dt{color:#66706a}.breb-payment-panel__details dd{margin:0;font-weight:700;text-align:right;overflow-wrap:anywhere}.breb-copy-button{border:0;background:transparent;color:#17372b;text-decoration:underline;font-weight:700;cursor:pointer}.breb-upload-field{display:grid;gap:7px;margin-top:14px;font-weight:700}.breb-upload-field input{font-weight:400}.breb-upload-field small{font-weight:400;color:#66706a}.breb-payment-panel .checkout-message{margin:10px 0 0;text-align:center}.checkout-message.is-success{color:#176b42}.checkout-message.is-error{color:#9c2d2d}@media(max-width:600px){.payment-option-card{grid-template-columns:auto 48px 1fr;gap:9px}.payment-option-card__logo{width:48px;height:38px}.checkout-summary__item--visual{grid-template-columns:54px minmax(0,1fr);align-items:start}.checkout-summary__thumbnail{width:54px;height:62px}.checkout-summary__item--visual>span{grid-column:2;text-align:left;font-weight:700}.breb-payment-panel{padding:16px}.breb-payment-panel__details div{display:grid;gap:3px}.breb-payment-panel__details dd{text-align:left}}

.qr-lightbox {
  width: min(94vw, 680px);
  max-width: 680px;
  max-height: 94dvh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: #17372b;
}

.qr-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(2px);
}

.qr-lightbox__content {
  position: relative;
  width: 100%;
  max-height: 92dvh;
  overflow: auto;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  text-align: center;
}

.qr-lightbox__close {
  position: sticky;
  z-index: 2;
  top: 0;
  float: right;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: -8px -8px 0 0;
  border: 1px solid rgba(23, 55, 43, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #17372b;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.qr-lightbox__image {
  display: block;
  width: min(100%, 610px);
  height: auto;
  max-height: 78dvh;
  object-fit: contain;
  margin: 8px auto 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(23, 55, 43, 0.12);
  padding: 8px;
}

.qr-lightbox__hint {
  clear: both;
  margin: 10px 0 0;
  color: #55615b;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 600px) {
  .qr-lightbox {
    width: 96vw;
    max-height: 96dvh;
  }

  .qr-lightbox__content {
    max-height: 94dvh;
    padding: 14px;
    border-radius: 20px;
  }

  .qr-lightbox__close {
    width: 42px;
    height: 42px;
    margin: -4px -4px 0 0;
  }

  .qr-lightbox__image {
    width: 100%;
    max-height: 82dvh;
    padding: 4px;
  }
}
