[hidden] { display: none !important; }

.hb-store-body { min-height: 100vh; }
.hb-store-body #pjax-container { min-height: 0; }
.hb-product-cover img { width: 100%; height: 100%; object-fit: contain; }
.hb-product-summary__badges b { font: inherit; }
.hb-payment-methods.is-visible { display: grid !important; }
.hb-pay-submit { width: 100%; }
.hb-addon-code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; }
.hb-addon-code-row + select { margin-top: 10px; }

.hb-payment-dialog {
  width: min(430px, calc(100vw - 32px));
  padding: 30px;
  border: 1px solid var(--hb-line);
  border-radius: 22px;
  color: var(--hb-ink);
  background: var(--hb-surface);
  box-shadow: var(--hb-shadow-lg);
  text-align: center;
}
.hb-payment-dialog::backdrop { background: rgba(7, 24, 19, .58); backdrop-filter: blur(5px); }
.hb-payment-dialog h2 { margin: 8px 0 4px; }
.hb-payment-dialog p { color: var(--hb-muted); }
.hb-payment-dialog #payment-qr { display: grid; width: 220px; height: 220px; margin: 20px auto; place-items: center; border: 1px solid var(--hb-line); border-radius: 16px; background: #fff; }
.hb-payment-dialog #payment-price { display: block; color: var(--hb-green); font-size: 30px; }
.hb-payment-dialog #payment-status { display: block; margin-top: 8px; color: var(--hb-muted); }
.hb-payment-dialog #payment-status.done { color: var(--hb-green); font-weight: 700; }
.hb-payment-dialog code { display: block; margin-top: 12px; color: var(--hb-muted); }
.hb-payment-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--hb-muted); background: var(--hb-surface-soft); font-size: 24px; line-height: 1; }

.hb-store-toast { position: fixed; z-index: 1200; right: 24px; bottom: 24px; max-width: min(420px, calc(100vw - 32px)); padding: 13px 17px; border-radius: 10px; color: #fff; background: var(--hb-green-deep); box-shadow: var(--hb-shadow-md); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; }
.hb-store-toast.show { opacity: 1; transform: translateY(0); }

.hb-query-results .order-item { padding: 24px; border: 1px solid var(--hb-line); border-radius: 18px; background: var(--hb-surface); box-shadow: var(--hb-shadow-sm); }
.hb-query-results .order-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.hb-query-results .order-basic { display: grid; gap: 5px; color: var(--hb-muted); }
.hb-query-results .order-no { color: var(--hb-ink); font-weight: 800; }
.hb-query-results .order-amount { display: grid; text-align: right; }
.hb-query-results .amount-value { color: var(--hb-green); font-size: 26px; font-weight: 800; }
.hb-query-results .hb-order-delivery-state { display: flex; margin-top: 18px; padding-top: 18px; align-items: center; gap: 12px; border-top: 1px solid var(--hb-line); }
.hb-query-results .hb-order-delivery-state p { margin: 3px 0 0; color: var(--hb-muted); }
.hb-query-results .hb-order-delivery-state a { margin-left: auto; color: var(--hb-green); font-weight: 700; }

@media (max-width: 991px) {
  .hb-store-nav .navbar-collapse { display: none !important; position: absolute; z-index: 20; top: calc(100% + 8px); right: 16px; left: 16px; padding: 10px; border: 1px solid var(--hb-line); border-radius: 14px; background: var(--hb-surface); box-shadow: var(--hb-shadow-md); }
  .hb-store-nav .navbar-collapse.mobile-open { display: block !important; }
  .hb-addon-code-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hb-query-results .order-header { flex-direction: column; }
  .hb-query-results .order-amount { text-align: left; }
  .hb-query-results .hb-order-delivery-state { align-items: flex-start; flex-wrap: wrap; }
  .hb-query-results .hb-order-delivery-state a { width: 100%; margin-left: 0; }
}

.hb-human-verification #turnstile-widget { min-height:65px; display:flex; align-items:center; justify-content:flex-start; overflow:hidden; }
/* Registered account entry points */
.hb-auth-page{display:grid;min-height:calc(100vh - 270px);place-items:center;padding-top:34px;padding-bottom:34px}.hb-auth-card{width:min(100%,520px);padding:42px;border:1px solid rgba(50,117,231,.18);border-radius:24px;background:rgba(255,255,255,.95);box-shadow:0 24px 60px rgba(23,68,129,.12)}.hb-auth-brand{text-align:center;margin-bottom:28px}.hb-auth-brand img{width:52px;height:52px;border-radius:14px;object-fit:contain;margin-bottom:12px}.hb-auth-brand strong{display:block;color:#173d75;font-size:28px}.hb-auth-brand p{margin:8px 0 0;color:#70809a}.hb-auth-form{display:grid;gap:16px}.hb-auth-form label{display:grid;gap:7px;color:#34445e;font-weight:700}.hb-auth-form input{width:100%;height:48px;padding:0 14px;border:1px solid #d6e0ef;border-radius:12px;background:#f8fbff;color:#172234;font-size:16px}.hb-auth-form input:focus{outline:0;border-color:#2878e8;box-shadow:0 0 0 3px rgba(40,120,232,.12)}.hb-auth-code-row{display:grid;grid-template-columns:minmax(0,1fr) 142px;gap:10px;align-items:end}.hb-auth-code-row .hb-button{height:48px;padding:0 10px;white-space:nowrap}.hb-auth-switch{text-align:center;margin:24px 0 0;color:#65748b}.hb-auth-switch a{color:#2477e7;font-weight:800;text-decoration:none}@media(max-width:560px){.hb-auth-card{padding:28px 20px;border-radius:18px}.hb-auth-code-row{grid-template-columns:1fr}.hb-auth-code-row .hb-button{width:100%}}
.hb-auth-forgot{margin-top:-8px;text-align:right}.hb-auth-forgot a{color:#5b76a1;font-size:14px;text-decoration:none}.hb-purchase-account{display:flex;align-items:center;gap:13px;padding:15px 16px;border:1px solid #d7e3f2;border-radius:13px;background:#f7faff}.hb-purchase-account>span{display:grid;width:40px;height:40px;place-items:center;border-radius:11px;color:#2375df;background:#e8f1ff}.hb-purchase-account>div{display:grid;gap:3px}.hb-purchase-account strong{color:#263c5c}.hb-purchase-account small{color:#77879c}.hb-purchase-account-actions{display:flex;gap:10px;margin-top:10px}.hb-purchase-account-actions .hb-button{flex:1}.hb-checkout-form.is-account-locked>.hb-form-section:not(.hb-form-section--email),.hb-checkout-form.is-account-locked>.cash-pay{display:none!important}
.hb-account-page{padding-top:34px;padding-bottom:40px}.hb-account-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 34px;border:1px solid #dce6f3;border-radius:22px;background:#fff}.hb-account-heading h1{margin:4px 0 5px;color:#173d75}.hb-account-heading p{margin:0;color:#738197}.hb-account-section{margin-top:22px;padding:28px;border:1px solid #dce6f3;border-radius:22px;background:#fff}.hb-account-list{display:grid;gap:12px}.hb-account-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px;border:1px solid #e2e9f3;border-radius:14px;background:#f9fbfe}.hb-account-item h3{margin:0 0 7px;color:#273b59;font-size:18px}.hb-account-item p{margin:3px 0;color:#6c7b91}.hb-account-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.hb-account-empty{padding:24px;text-align:center;color:#7a8799}@media(max-width:700px){.hb-account-heading,.hb-account-item{grid-template-columns:1fr;display:grid}.hb-account-actions{justify-content:flex-start}.hb-account-section{padding:20px}}
.hb-account-license-code{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hb-account-license-code>span{color:#6c7b91}.hb-account-license-code code{padding:5px 8px;border:1px solid #d8e3f1;border-radius:7px;background:#fff;color:#173d75;font-size:14px;font-weight:800;user-select:all}.hb-account-code-note{width:100%;color:#9a6a22;font-size:12px}
.hb-auth-only{display:none!important}.hb-auth-hint li.hb-auth-only{display:list-item!important}.hb-auth-hint a.hb-auth-only{display:inline!important}.hb-auth-hint .hb-guest-only{display:none!important}.hb-password-field{position:relative;display:block}.hb-password-field input{padding-right:62px}.hb-password-field button{position:absolute;right:7px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#2477e7;font-weight:800;cursor:pointer}.hb-password-mismatch{margin-top:-8px;color:#c43d4b;font-weight:700}.hb-account-meta{display:flex;gap:7px 14px;flex-wrap:wrap;margin-top:9px;color:#6c7b91}.hb-account-meta span{padding:4px 8px;border-radius:7px;background:#eef4fa}.hb-account-manual-note{margin-top:10px!important;color:#8a611f!important;font-size:13px}
