.hx-method-list { margin: 0; padding: 0; border: 0; min-width: 0; }
.hx-method-list legend { margin: 6px 0 14px; padding: 0; color: #172337; font-size: 23px; font-weight: 650; }
.hx-method-group { margin: 0 0 14px; padding: 17px; border: 1px solid #d6dfe5; border-radius: 14px; }
.hx-method-group h3,.hx-payment-info h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; }
.hx-method-group p { margin: 6px 0 0; color: #526171; font-size: 14px; line-height: 1.55; }
.hx-method-list .hx-tender { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; padding: 7px 10px; color: #152635; font-size: 15px; font-weight: 600; cursor: pointer; }
.hx-tender input[type=radio] { appearance: auto; position: static; display: block; width: 17px; height: 17px; margin: 0; opacity: 1; flex: none; accent-color: #146bad; }
.hx-app-methods { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 13px; }
.hx-app-methods .hx-tender { border: 1px solid #dfE6eb; border-radius: 9px; }
.hx-method-group:has(>.hx-tender input:checked),.hx-app-methods .hx-tender:has(input:checked) { border-color: #146bad; background: #f2f8fe; }
.hx-method-group:has(input:focus-visible) { outline: 2px solid #146bad; outline-offset: 2px; }
.hx-payment-info { padding: 17px; border: 1px solid #c6d8e7; border-radius: 13px; background: #f4f8fc; color: #223a4d; }
.hx-payment-info ul { padding-left: 19px; list-style: disc; margin: 9px 0 0; }
.hx-payment-info li { padding-left: 2px; margin: 7px 0; font-size: 14px; line-height: 1.55; }
.hx-payment-info strong,.hx-payment-info b { font-weight: 700; }
.hx-pay-now { width: 100%; min-height: 49px; margin-top: 12px; }
.hx-payment-faq { margin: 17px 0; border-top: 1px solid #dbe1e6; }
.hx-payment-faq details { border-bottom: 1px solid #dbe1e6; padding: 11px 0; }
.hx-payment-faq summary { display: list-item; cursor: pointer; color: #20364a; font-weight: 650; font-size: 14px; line-height: 1.45; }
.hx-payment-faq p,.hx-payment-faq small { margin: 8px 0 2px; font-size: 13px; line-height: 1.55; color: #47596b; }
.hx-payment-faq small { display: block; font-size: 11px; }
.hx-gateway { position: fixed; inset: 0; margin: auto; width: min(430px,calc(100vw - 28px)); max-height: calc(100dvh - 28px); overflow: auto; border: 1px solid #d4dce3; border-radius: 18px; padding: clamp(18px,4vw,28px); background: #fff; color: #162c3f; box-shadow: 0 20px 80px #091a2c4d; }
.hx-gateway::backdrop { background: #0d1c2c82; backdrop-filter: blur(3px); }
.hx-gateway-heading,.hx-gateway-total,.hx-gateway dl>div,.hx-receipt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hx-gateway-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #edf3f6; cursor: pointer; font-size: 24px; }
.hx-gateway h2 { margin: 9px 0 5px; font-size: 25px; line-height: 1.2; font-weight: 700; }
.hx-gateway dl,.hx-gateway-total,.hx-gateway-check { margin: 16px 0; }
.hx-gateway-total { padding-top: 16px; border-top: 1px solid #dae3e9; }
.hx-gateway-total strong { font-size: 23px; }
.hx-gateway dt,.hx-gateway-note,.hx-sample-receipt small,.hx-payment-status small { color: #5b6b77; font-size: 13px; line-height: 1.5; }
.hx-gateway-check button { text-decoration: underline; font-weight: 650; }
.hx-gateway .hx-cta { width: 100%; }
.hx-gateway button:disabled { opacity: .45; cursor: not-allowed; }
.hx-receipt .hx-payment-status,.hx-receipt .hx-sample-receipt { padding: 17px; margin-block: 15px; border: 1px solid #d7e1e8; border-radius: 14px; }
.hx-receipt .hx-payment-status { background: #eff7fc; }
.hx-payment-status h2,.hx-payment-tag { font-weight: 700; color: #1e5378; }
.hx-payment-status p { margin: 7px 0; }
.hx-receipt-row { padding: 7px 0; }
.hx-receipt-row b { text-align: right; }
@media (max-width:1023px) {
  .compact-checkout aside.hx-payment-summary { display: block; }
  .hx-payment-summary .sticky { position: static; }
}
@media (max-width:440px) {
  .hx-method-group,.hx-payment-info { padding: 13px; }
  .hx-app-methods { grid-template-columns: 1fr; }
}
.hx-brand-marks { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.hx-brand-chip { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; height: 34px; min-width: 42px; padding: 3px 5px; background: #fff; border: 1px solid #dce3e8; border-radius: 6px; }
.hx-brand-chip img { display: block; width: auto; height: 26px; max-width: 78px; object-fit: contain; }
.hx-brand-chip[data-brand=stripe] img { width: 57px; }
.hx-brand-chip[data-brand=visa] { background: #fff; border-color: #dce3e8; }
.hx-brand-chip[data-brand=visa] img { width: 43px; height: 18px; }
.hx-brand-chip[data-brand=robinhood] img { width: 23px; height: 26px; }
.hx-method-list .hx-app-methods .hx-brand-marks { margin-left: auto; }
.hx-method-group > .hx-tender { flex-wrap: wrap; }
.hx-method-group > .hx-tender .hx-brand-marks { flex-basis: 100%; margin-left: 27px; }
.hx-gateway > .hx-brand-marks,.hx-sample-receipt > .hx-brand-marks { margin-block: 10px 4px; }
@media(max-width:440px){
  .hx-method-group > .hx-tender { padding-inline: 0; }
  .hx-method-group > .hx-tender .hx-brand-marks { margin-left: 0; }
  .hx-brand-marks { gap: 5px; }
}
.hx-method-group > .hx-tender {
  display: grid; grid-template-columns: 17px minmax(0,1fr);
  align-items: center; column-gap: 10px; row-gap: 9px;
}
.hx-method-group > .hx-tender .hx-brand-marks { grid-column: 1 / -1; margin-left: 0; }
.hx-brand-chip:is([data-brand=google-pay],[data-brand=apple-pay]) img { width: 51px; height: 23px; }
.hx-cart-payment-brands { padding-top: 6px; }
.hx-cart aside > .hx-cart-payment-brands { flex: none; padding: 8px 20px max(12px,env(safe-area-inset-bottom)); border-top: 1px solid #e6edf5; }
:is(.hx-cart-payment-brands,.hx-product-payment-brands) .hx-brand-marks { display: flex; justify-content: center; flex-wrap: nowrap; gap: 3px; }
:is(.hx-cart-payment-brands,.hx-product-payment-brands) .hx-brand-chip { flex: 0 1 auto; min-width: 0; height: 18px; padding: 2px; border-radius: 3px; }
:is(.hx-cart-payment-brands,.hx-product-payment-brands) .hx-brand-chip img { width: auto; max-width: 100%; height: 12px; }
@media (max-width:440px) {
  .hx-method-group > .hx-tender .hx-brand-marks {
    display: grid; grid-template-columns: 1.12fr 1.06fr 1fr 1fr .8fr;
    align-items: center; max-width: 300px; gap: clamp(2px,1vw,4px);
  }
  .hx-method-group > .hx-tender .hx-brand-chip { min-width: 0; padding-inline: 3px; }
  .hx-method-group > .hx-tender .hx-brand-chip img { max-width: 100%; }
}

.hx-product-payment-brands { min-width: 0; max-width: 100%; }

.hx-checkout-error{margin:10px 0 0;padding:10px 12px;border:1px solid #e7b4b4;border-radius:8px;background:#fff5f5;color:#8a1f1f;font-size:13px;line-height:1.45}
