
.bbx[hidden] { display: none !important; }
.bbx .sr-only, .bbx-dialog .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.bbx-trigger { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin: 0 0 10px;
  padding: 12px 16px; border: 1px solid var(--ink); border-radius: 980px; background: #fff; color: var(--ink);
  font: 600 14px/1.2 'Figtree', sans-serif; cursor: pointer; }
.bbx-trigger:hover { background: var(--line-soft); }
.bbx-trigger:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.bbx-trigger-wallet::before { content: "·"; margin: 0 4px 0 0; color: var(--ink-3); }
.bbx-trigger:active { transform: scale(.985); }

.bbx-backdrop { position: fixed; inset: 0; z-index: 1200; background: rgba(11, 27, 39, .45); }
.bbx-backdrop[hidden] { display: none; }
.bbx-dialog { position: fixed; z-index: 1201; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; box-sizing: border-box; padding: 20px 20px 16px;
  background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(11, 27, 39, .25); color: var(--ink); font-family: 'Figtree', sans-serif; }
.bbx-dialog[hidden] { display: none; }
body.bbx-open { overflow: hidden; }
.bbx-title { margin: 0 0 6px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.bbx-lead { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

.bbx-dialog .bb-clickwrap { display: flex; flex-direction: column; gap: 10px; margin: 0 0 16px; }
.bbx-dialog .bb-cw { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 13.5px; line-height: 1.45; color: var(--ink); cursor: pointer; }
.bbx-dialog .bb-cw input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue-deep); cursor: pointer; }
.bbx-dialog .bb-cw input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.bbx-dialog .bb-cw a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 2px; }

.bbx-pay-frame { position: relative; min-height: 48px; border-radius: 14px; }
.bbx-pay #wc-stripe-express-checkout-element { margin-top: 0 !important; }
.bbx-pay #wc-stripe-express-checkout-button-separator { display: none !important; }
.bbx-pay #wc-stripe-express-checkout-element-link, .bbx-pay #wc-stripe-express-checkout-element-amazon_pay { display: none !important; }   
.bbx-pay[data-bbx-locked="true"] #wc-stripe-express-checkout-element { opacity: .35; filter: grayscale(1); pointer-events: none; }
.bbx-pay-lock { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 6px 10px; text-align: center;
  border-radius: 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .6); }
.bbx-pay-lock[hidden] { display: none; }
.bbx-error { margin: 12px 0 0; padding: 10px 12px; border: 1px solid #f1c4c4; border-left: 3px solid #A1343C; border-radius: 10px; background: #fff4f4; font-size: 13.5px; line-height: 1.45; }
.bbx-error[hidden] { display: none; }
.bbx-cancel { display: block; width: 100%; min-height: 44px; margin: 12px 0 0; padding: 11px 16px; border: 1px solid var(--line); border-radius: 980px; background: #fff;
  color: var(--ink); font: 600 14px/1.2 'Figtree', sans-serif; cursor: pointer; }
.bbx-cancel:hover { background: var(--line-soft); }
.bbx-cancel:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .bbx-dialog { animation: bbx-in .18s ease-out; }
  @keyframes bbx-in { from { opacity: 0; transform: translate(-50%, -48%); } to { opacity: 1; transform: translate(-50%, -50%); } }
}
.bbx-seller { margin: 14px 0 10px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); text-align: center; }
