:root {
  --hb-ink: #10231f;
  --hb-ink-soft: #28423b;
  --hb-muted: #697b75;
  --hb-line: #dce7e2;
  --hb-line-strong: #c8d8d1;
  --hb-bg: #f3f7f5;
  --hb-surface: #ffffff;
  --hb-surface-soft: #f8fbf9;
  --hb-green: #13795b;
  --hb-green-dark: #0a5a43;
  --hb-green-deep: #073d30;
  --hb-mint: #dff5ec;
  --hb-mint-bright: #91e6bf;
  --hb-warm: #f5a94f;
  --hb-danger: #cf4b55;
  --hb-shadow-sm: 0 8px 28px rgba(15, 60, 48, .07);
  --hb-shadow-md: 0 20px 58px rgba(15, 60, 48, .1);
  --hb-shadow-lg: 0 36px 90px rgba(15, 60, 48, .14);
  --hb-radius-sm: 14px;
  --hb-radius-md: 22px;
  --hb-radius-lg: 32px;
  --acg-primary: var(--hb-green);
  --acg-secondary: #35a87e;
  --acg-danger: var(--hb-danger);
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body.hb-store-body {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--hb-ink);
  background:
    radial-gradient(circle at 7% 5%, rgba(65, 191, 144, .12), transparent 32rem),
    radial-gradient(circle at 92% 2%, rgba(245, 169, 79, .1), transparent 28rem),
    linear-gradient(180deg, #f8fbf9 0, var(--hb-bg) 54%, #eef4f1 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.hb-store-body #pjax-container {
  display: block;
  min-width: 0;
}

.hb-store-body a {
  color: inherit;
  text-decoration: none;
}

.hb-store-body :focus-visible {
  outline: 3px solid rgba(19, 121, 91, .26);
  outline-offset: 3px;
}

.hb-store-body .container {
  max-width: 1180px;
}

/* Shared controls */
.hb-button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.hb-button--primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--hb-green), var(--hb-green-dark));
  box-shadow: 0 14px 30px rgba(19, 121, 91, .22);
}

.hb-button--ghost {
  color: var(--hb-ink) !important;
  border-color: var(--hb-line-strong);
  background: rgba(255, 255, 255, .72);
}

.hb-button--secondary {
  color: var(--hb-green-deep) !important;
  border-color: rgba(19, 121, 91, .2);
  background: #edf8f3;
}

.hb-section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--hb-green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .18em;
  line-height: 1;
}

.hb-section-heading {
  display: flex;
  margin-bottom: 24px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hb-section-heading h2 {
  margin: 0;
  color: var(--hb-ink);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 780;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.hb-section-heading p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--hb-muted);
}

.hb-section-heading > a {
  display: inline-flex;
  padding: 9px 0;
  align-items: center;
  gap: 8px;
  color: var(--hb-green-dark);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.hb-section-heading--compact {
  margin-bottom: 20px;
  align-items: center;
}

/* Navigation */
.hb-store-body .hb-store-nav {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: 76px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(19, 76, 60, .09);
  background: rgba(249, 252, 250, .9);
  box-shadow: 0 8px 32px rgba(14, 55, 44, .05);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.hb-store-brand {
  display: inline-flex;
  margin-right: 44px;
  padding: 0 !important;
  align-items: center;
  gap: 11px;
}

.hb-store-brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 46px;
  height: 34px;
  object-fit: contain;
}

.hb-store-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hb-store-brand-name {
  max-width: 220px;
  overflow: hidden;
  color: var(--hb-ink);
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hb-store-brand-copy small {
  margin-top: 4px;
  color: var(--hb-muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .1em;
}

.hb-store-nav .navbar-collapse {
  justify-content: flex-start;
}

.hb-store-nav-links {
  display: flex;
  gap: 6px;
}

.hb-store-nav .hb-store-nav-links .nav-link {
  display: inline-flex;
  padding: 10px 14px;
  align-items: center;
  border-radius: 12px;
  color: var(--hb-muted);
  font-size: 14px;
  font-weight: 700;
}

.hb-store-nav .hb-store-nav-links .nav-link.active {
  color: var(--hb-green-dark);
  background: var(--hb-mint);
}

.hb-store-nav .nav-icon {
  margin-right: 8px !important;
  font-size: 14px !important;
}

.hb-store-guest {
  display: inline-flex;
  min-height: 38px;
  margin-left: auto;
  padding: 0 13px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hb-line);
  border-radius: 999px;
  color: var(--hb-ink-soft);
  background: rgba(255, 255, 255, .75);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.hb-store-guest-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2dc47d;
  box-shadow: 0 0 0 5px rgba(45, 196, 125, .12);
}

.hb-store-account {
  margin-left: auto;
}

.hb-store-nav-toggle {
  width: 42px;
  height: 42px;
  margin-left: 10px;
  padding: 0;
  border: 1px solid var(--hb-line) !important;
  border-radius: 12px;
  color: var(--hb-ink);
  background: #fff;
  box-shadow: none !important;
}

/* Homepage */
.hb-store-main {
  padding-top: 34px;
  padding-bottom: 72px;
}

.hb-store-hero {
  position: relative;
  display: grid;
  min-height: 500px;
  padding: clamp(36px, 5vw, 68px);
  overflow: hidden;
  border: 1px solid rgba(18, 101, 76, .11);
  border-radius: var(--hb-radius-lg);
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .99), rgba(231, 248, 240, .95)),
    #fff;
  box-shadow: var(--hb-shadow-lg);
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  align-items: center;
}

.hb-store-hero::before {
  position: absolute;
  top: -180px;
  right: -100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 207, 154, .18), transparent 68%);
  content: "";
}

.hb-store-hero__copy {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.hb-store-eyebrow {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 12px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(19, 121, 91, .15);
  border-radius: 999px;
  color: var(--hb-green-dark);
  background: rgba(223, 245, 236, .75);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  line-height: 1;
}

.hb-store-eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2dc47d;
  box-shadow: 0 0 0 4px rgba(45, 196, 125, .12);
}

.hb-store-hero h1 {
  margin: 0;
  color: var(--hb-ink);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 790;
  letter-spacing: -.055em;
  line-height: 1.15;
}

.hb-store-hero h1 strong {
  color: var(--hb-green);
  font-weight: inherit;
}

.hb-store-hero__copy > p {
  max-width: 590px;
  margin: 25px 0 30px;
  color: var(--hb-muted);
  font-size: 17px;
  line-height: 1.8;
}

.hb-store-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hb-store-hero__meta {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--hb-muted);
  font-size: 12px;
  font-weight: 650;
}

.hb-store-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hb-store-hero__meta i {
  color: var(--hb-green);
}

.hb-store-hero__visual {
  position: relative;
  z-index: 2;
  min-height: 390px;
}

.hb-store-device {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  width: 190px;
  height: 190px;
  padding: 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 48px;
  color: #fff;
  background: linear-gradient(145deg, #1d906c, var(--hb-green-deep));
  box-shadow: 0 35px 80px rgba(8, 70, 52, .32), inset 0 1px rgba(255, 255, 255, .28);
  transform: translate(-50%, -50%) rotate(-6deg);
  text-align: center;
}

.hb-store-device__logo {
  display: block;
  width: 128px;
  height: 82px;
  object-fit: contain;
}

.hb-store-device__label {
  position: absolute;
  top: 18px;
  left: 22px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .08em;
  opacity: .66;
}

.hb-store-device__status {
  position: absolute;
  top: 20px;
  right: 21px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8df4bd;
  box-shadow: 0 0 0 6px rgba(141, 244, 189, .13), 0 0 20px #8df4bd;
}

.hb-store-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(19, 121, 91, .15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hb-store-orbit--one { width: 285px; height: 285px; }
.hb-store-orbit--two { width: 390px; height: 390px; border-style: dashed; }

.hb-store-flow-card {
  position: absolute;
  z-index: 4;
  display: flex;
  min-width: 172px;
  padding: 12px 14px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(19, 121, 91, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--hb-shadow-sm);
  backdrop-filter: blur(12px);
}

.hb-store-flow-card--email { top: 40px; left: 2px; }
.hb-store-flow-card--pay { top: 51%; right: -15px; }
.hb-store-flow-card--code { bottom: 24px; left: 18px; }

.hb-store-flow-card__icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 11px;
  color: var(--hb-green-dark);
  background: var(--hb-mint);
  place-items: center;
}

.hb-store-flow-card > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hb-store-flow-card small {
  color: var(--hb-muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.hb-store-flow-card strong {
  margin-top: 3px;
  color: var(--hb-ink);
  font-size: 12px;
  font-weight: 750;
}

.hb-assurance-grid {
  display: grid;
  margin: 22px 0 58px;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hb-assurance-grid article {
  display: flex;
  min-height: 126px;
  padding: 22px;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-md);
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--hb-shadow-sm);
}

.hb-assurance-grid__icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 13px;
  color: var(--hb-green-dark);
  background: var(--hb-mint);
  font-size: 17px;
  place-items: center;
}

.hb-assurance-grid strong { color: var(--hb-ink); font-size: 14px; }
.hb-assurance-grid p { margin: 5px 0 0; color: var(--hb-muted); font-size: 12px; line-height: 1.65; }

/* Product listing */
.hb-store-products {
  scroll-margin-top: 100px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-lg);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--hb-shadow-md);
}

.hb-category-row {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hb-line);
}

.hb-store-body .chip-list {
  display: flex;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.hb-store-body .chip {
  display: inline-flex;
  min-height: 40px;
  padding: 0 15px;
  align-items: center;
  border: 1px solid var(--hb-line);
  border-radius: 999px;
  color: var(--hb-muted);
  background: var(--hb-surface-soft);
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
}

.hb-store-body .chip.is-primary {
  color: #fff;
  border-color: var(--hb-green);
  background: var(--hb-green);
  box-shadow: 0 9px 20px rgba(19, 121, 91, .18);
}

.hb-store-body .chip .chip-icon {
  width: 19px;
  height: 19px;
  margin-right: 7px;
  border: 2px solid rgba(255, 255, 255, .65);
}

.hb-product-grid {
  min-height: 220px;
  margin-right: -8px;
  margin-left: -8px;
}

.hb-product-grid > a {
  padding-right: 8px;
  padding-left: 8px;
}

.hb-store-products .acg-card {
  border: 1px solid var(--hb-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(17, 66, 53, .08);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.hb-store-products .acg-thumb {
  height: 176px;
  border-bottom: 1px solid var(--hb-line);
  background-color: #edf4f1 !important;
}

.hb-store-products .acg-card > .p-3 {
  padding: 18px !important;
}

.hb-store-products .goods-title {
  min-height: 2.8em;
  margin: 8px 0 16px;
  color: var(--hb-ink);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.4;
}

.hb-store-products .price {
  color: var(--hb-green-dark);
  font-size: 25px;
  font-weight: 820;
  letter-spacing: -.03em;
}

.hb-store-products .price .unit {
  margin-right: 2px;
  color: var(--hb-green);
  font-size: 14px;
}

.hb-store-products .stat-bottom {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--hb-line);
  color: var(--hb-muted);
  font-size: 11px;
}

.hb-store-body .badge-soft {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
}

.hb-store-body .badge-soft-success {
  color: var(--hb-green-dark);
  border-color: rgba(19, 121, 91, .16);
  background: var(--hb-mint);
}

.hb-store-body .badge-soft-primary {
  color: #815215;
  border-color: rgba(245, 169, 79, .2);
  background: #fff0dc;
}

.hb-loading-products {
  display: flex;
  width: calc(100% - 16px);
  min-height: 170px;
  margin: 0 8px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed var(--hb-line-strong);
  border-radius: 18px;
  color: var(--hb-muted);
  background: var(--hb-surface-soft);
  font-size: 13px;
  font-weight: 650;
}

.hb-loading-products__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--hb-green);
  box-shadow: 0 0 0 6px rgba(19, 121, 91, .1);
}

.hb-purchase-guide {
  margin-top: 58px;
}

.hb-purchase-steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hb-purchase-steps article {
  position: relative;
  display: flex;
  min-height: 150px;
  padding: 25px;
  overflow: hidden;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-md);
  background: rgba(255, 255, 255, .7);
}

.hb-purchase-steps article > span {
  color: var(--hb-green);
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -.05em;
  line-height: 1;
}

.hb-purchase-steps strong { color: var(--hb-ink); font-size: 15px; }
.hb-purchase-steps p { margin: 7px 0 0; color: var(--hb-muted); font-size: 13px; line-height: 1.7; }

.hb-store-notice {
  display: grid;
  margin-top: 18px;
  padding: 22px 24px;
  align-items: center;
  gap: 16px;
  border: 1px solid #eedfc8;
  border-radius: var(--hb-radius-md);
  background: #fffaf2;
  grid-template-columns: auto 1fr auto;
}

.hb-store-notice__icon {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #925d1d;
  background: #ffe7c6;
  place-items: center;
}

.hb-store-notice h2 { margin: 0 0 4px; color: var(--hb-ink); font-size: 14px; font-weight: 780; }
.hb-store-notice__content { color: var(--hb-muted); font-size: 12px; }
.hb-store-notice__content > :last-child { margin-bottom: 0; }
.hb-store-notice > a { color: #815215; font-size: 12px; font-weight: 750; white-space: nowrap; }

/* Checkout */
.hb-checkout-page {
  padding-top: 28px;
  padding-bottom: 34px;
}

.hb-checkout-shell {
  display: grid;
  align-items: stretch;
  gap: 22px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.hb-product-summary,
.hb-checkout-card {
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--hb-shadow-md);
}

.hb-product-summary {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.hb-product-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--hb-line);
  background: #10161b;
}

.hb-product-cover::after {
  content: none;
}

.hb-product-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hb-product-cover__badge {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  min-height: 34px;
  padding: 0 12px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 54, 40, .72);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 750;
}

.hb-product-cover__badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77efaa;
  box-shadow: 0 0 12px #77efaa;
}

.hb-product-summary__content { display: flex; padding: 23px; flex: 1 0 auto; flex-direction: column; }

.hb-product-summary__badges {
  display: flex;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.hb-product-summary__badges span {
  display: inline-flex;
  padding: 5px 9px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(19, 121, 91, .14);
  border-radius: 999px;
  color: var(--hb-green-dark);
  background: var(--hb-mint);
  font-size: 10px;
  font-weight: 750;
}

.hb-product-summary__badges .hb-product-summary__status {
  margin-left: auto;
  color: var(--hb-green-dark);
  background: rgba(255, 255, 255, .8);
}

.hb-product-summary__status > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35c878;
  box-shadow: 0 0 0 4px rgba(53, 200, 120, .12);
}

.hb-product-summary h1 {
  margin: 0;
  color: var(--hb-ink);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 790;
  letter-spacing: -.04em;
  line-height: 1.2;
}

.hb-product-summary__content > p {
  margin: 12px 0 18px;
  color: var(--hb-muted);
  font-size: 13px;
  line-height: 1.75;
}

.hb-product-facts {
  margin: 0;
  border-top: 1px solid var(--hb-line);
}

.hb-product-facts > div {
  display: flex;
  padding: 9px 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--hb-line);
}

.hb-product-facts dt { color: var(--hb-muted); font-size: 11px; font-weight: 650; }
.hb-product-facts dd { margin: 0; color: var(--hb-ink); font-size: 12px; font-weight: 750; text-align: right; }

.hb-share-button {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 0;
  align-items: center;
  gap: 8px;
  border: 0;
  color: var(--hb-green-dark);
  background: transparent;
  font-size: 12px;
  font-weight: 750;
}

.hb-checkout-card { height: 100%; padding: clamp(24px, 3.3vw, 32px); }

.hb-checkout-card__header {
  display: flex;
  margin-bottom: 22px;
  padding-bottom: 20px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--hb-line);
}

.hb-checkout-card__header h2 { margin: 0; color: var(--hb-ink); font-size: 27px; font-weight: 790; letter-spacing: -.035em; }

.hb-checkout-price {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.hb-checkout-price small { margin-bottom: 2px; color: var(--hb-muted); font-size: 10px; }
.hb-checkout-price .price { color: var(--hb-green-dark); font-size: 31px; font-weight: 850; letter-spacing: -.04em; line-height: 1.15; }
.hb-checkout-price .price .unit { margin-right: 2px; color: var(--hb-green); font-size: 15px; }

.hb-checkout-form { gap: 0 !important; counter-reset: hb-checkout-step; }

.hb-form-section {
  padding: 17px 0;
  border-bottom: 1px solid var(--hb-line);
}

.hb-form-section:first-child { padding-top: 0; }
.hb-form-section--compact { display: grid; align-items: center; gap: 16px; grid-template-columns: minmax(190px, .65fr) 1fr; }
.hb-form-section--compact .hb-form-label { margin-bottom: 0; align-items: center; }

.hb-form-label {
  display: flex;
  margin-bottom: 13px;
  align-items: flex-start;
  gap: 11px;
}

.hb-form-label > span:first-child {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--hb-green-dark);
  background: var(--hb-mint);
  font-size: 10px;
  font-weight: 850;
  place-items: center;
}

.hb-form-label[data-checkout-step] > span:first-child::before {
  content: counter(hb-checkout-step, decimal-leading-zero);
  counter-increment: hb-checkout-step;
}

.hb-form-label > div { display: flex; flex-direction: column; }
.hb-form-label strong { color: var(--hb-ink); font-size: 13px; font-weight: 780; line-height: 1.3; }
.hb-form-label small { margin-top: 4px; color: var(--hb-muted); font-size: 10px; line-height: 1.45; }

.hb-store-body .hb-checkout-form .form-control,
.hb-store-body .hb-query-form .form-control {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--hb-line-strong);
  border-radius: 13px;
  color: var(--hb-ink);
  background: var(--hb-surface-soft);
  box-shadow: none;
  font-size: 13px;
}

.hb-store-body .hb-checkout-form .form-control:focus,
.hb-store-body .hb-query-form .form-control:focus {
  border-color: rgba(19, 121, 91, .56) !important;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(19, 121, 91, .1);
}

.hb-input-with-icon { position: relative; }
.hb-input-with-icon > i {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 16px;
  color: var(--hb-green);
  transform: translateY(-50%);
  pointer-events: none;
}

.hb-input-with-icon > .form-control { padding-left: 44px !important; }

.hb-checkout-form .hb-input-with-icon > i {
  position: absolute !important;
  top: 50% !important;
  left: 16px !important;
  z-index: 2;
  display: grid;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-items: center;
  font-size: 14px;
  line-height: 1;
  transform: translateY(-50%) !important;
  pointer-events: none;
}

.hb-store-body .sku-list { display: flex; margin-top: 0; flex-wrap: wrap; gap: 9px; }
.hb-store-body .sku {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--hb-line-strong);
  border-radius: 12px;
  color: var(--hb-ink-soft);
  background: #fff;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
}

.hb-store-body .sku.is-primary {
  color: #fff;
  border-color: var(--hb-green);
  background: var(--hb-green);
  box-shadow: 0 9px 20px rgba(19, 121, 91, .18);
}

.hb-store-body .sku .badge-money,
.hb-store-body .sku .badge-moeny {
  top: -9px;
  right: -7px;
  border: 2px solid #fff;
  color: #fff;
  background: var(--hb-warm);
  box-shadow: 0 5px 12px rgba(245, 169, 79, .24);
  font-size: 9px;
}

.hb-form-section--quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hb-form-section--quantity .hb-form-label { margin-bottom: 0; }

.hb-store-body .input-group.qty-group {
  width: 142px;
  padding: 5px;
  gap: 5px;
  border: 1px solid var(--hb-line-strong);
  border-radius: 13px;
  background: var(--hb-surface-soft);
  box-shadow: none;
}

.hb-store-body .input-group.qty-group > button {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  color: var(--hb-green-dark);
  background: var(--hb-mint);
  box-shadow: none;
}

.hb-store-body .input-group.qty-group > input[type="number"] {
  min-height: 36px;
  color: var(--hb-ink);
  font-size: 14px;
}

.hb-fixed-quantity {
  display: inline-flex;
  min-width: 120px;
  min-height: 46px;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--hb-line);
  border-radius: 13px;
  background: var(--hb-surface-soft);
}

.hb-fixed-quantity strong { color: var(--hb-green-dark); font-size: 18px; }
.hb-fixed-quantity span { color: var(--hb-muted); font-size: 11px; }

.hb-store-body .hb-captcha-group {
  display: grid;
  width: 100%;
  align-items: stretch;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) 132px;
}

.hb-store-body .hb-captcha-group .captcha-input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--hb-line-strong) !important;
  border-radius: 13px !important;
}

.hb-captcha-group .input-group-append { width: 132px; }

.hb-store-body .hb-captcha-group .captcha-img {
  display: block;
  width: 100%;
  min-width: 0;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--hb-line-strong);
  border-radius: 13px;
  background: #fff;
  object-fit: cover;
}

.hb-store-body .hb-payment-methods {
  margin-top: 0;
  padding: 22px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hb-payment-methods .pay-list {
  display: grid !important;
  padding: 0 !important;
  border: 0 !important;
  gap: 10px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hb-store-body .hb-payment-methods .pay-list .pay {
  display: flex;
  min-height: 58px;
  padding: 10px 14px;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--hb-line-strong);
  border-radius: 14px;
  color: var(--hb-ink);
  background: #fff;
  box-shadow: none;
  cursor: pointer;
}

.hb-store-body .hb-payment-methods .pay-list .pay img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: none;
}

.hb-store-body .hb-payment-methods .pay-list .pay span {
  color: var(--hb-ink);
  font-size: 13px;
  font-weight: 750;
}

.hb-payment-note {
  margin: 13px 0 0;
  color: var(--hb-muted);
  font-size: 10px;
}

.hb-payment-note i { margin-right: 4px; color: var(--hb-green); }

.hb-checkout-assurances {
  display: grid;
  margin-top: 14px;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hb-checkout-assurances article {
  display: flex;
  padding: 15px;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--hb-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .68);
}

.hb-checkout-assurances > article > i { margin-top: 3px; color: var(--hb-green); font-size: 18px; }
.hb-checkout-assurances strong { color: var(--hb-ink); font-size: 12px; }
.hb-checkout-assurances p { margin: 4px 0 0; color: var(--hb-muted); font-size: 10px; line-height: 1.6; }

/* Query */
.hb-query-hero {
  display: grid;
  padding: clamp(30px, 5vw, 56px);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(231, 247, 240, .9));
  box-shadow: var(--hb-shadow-md);
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
}

.hb-query-hero h1 {
  margin: 0;
  color: var(--hb-ink);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 790;
  letter-spacing: -.05em;
  line-height: 1.12;
}

.hb-query-hero__copy > p { margin: 18px 0 22px; color: var(--hb-muted); font-size: 14px; line-height: 1.8; }
.hb-query-tips { display: flex; flex-wrap: wrap; gap: 10px; }
.hb-query-tips span {
  display: inline-flex;
  padding: 7px 10px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--hb-line);
  border-radius: 999px;
  color: var(--hb-ink-soft);
  background: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 700;
}

.hb-query-tips i { color: var(--hb-green); }

.hb-query-form {
  padding: 26px;
  border: 1px solid rgba(19, 121, 91, .13);
  border-radius: var(--hb-radius-md);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--hb-shadow-sm);
}

.hb-query-form > label { display: block; margin-bottom: 10px; color: var(--hb-ink); font-size: 12px; font-weight: 750; }
.hb-query-form__controls { display: grid; align-items: start; gap: 10px; grid-template-columns: minmax(0, 1fr) auto; }
.hb-query-form__controls .hb-button {
  height: 50px;
  min-height: 50px;
  padding: 0 20px;
  align-self: start;
  border: 0;
  border-radius: 13px;
  white-space: nowrap;
}

.hb-query-form .hb-input-with-icon > i {
  position: absolute !important;
  top: 50% !important;
  left: 16px !important;
  display: grid;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-items: center;
  font-size: 14px;
  line-height: 1;
  transform: translateY(-50%) !important;
}
.hb-query-form > small { display: block; margin-top: 11px; color: var(--hb-muted); font-size: 9px; }

.hb-recovery-banner {
  display: grid;
  margin-top: 18px;
  padding: 24px 26px;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(19, 121, 91, .15);
  border-radius: var(--hb-radius-md);
  background: rgba(237, 248, 243, .9);
  box-shadow: var(--hb-shadow-sm);
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.hb-recovery-banner__icon,
.hb-recovery-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: var(--hb-green);
  background: #fff;
  box-shadow: 0 10px 26px rgba(25, 69, 55, .08);
  font-size: 20px;
  place-items: center;
}

.hb-recovery-banner .hb-section-kicker { margin-bottom: 5px; font-size: 9px; }
.hb-recovery-banner h2 { margin: 0; color: var(--hb-ink); font-size: 17px; font-weight: 780; }
.hb-recovery-banner p { margin: 4px 0 0; color: var(--hb-muted); font-size: 11px; }
.hb-recovery-banner .hb-button { min-height: 44px; font-size: 11px; }

.hb-query-state,
.hb-query-empty {
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-md);
  background: rgba(255, 255, 255, .76);
}

.hb-query-state { align-items: center; gap: 15px; }
.hb-query-state[style*="display: block"] { display: flex !important; }
.hb-query-state__spinner {
  width: 30px;
  height: 30px;
  border: 3px solid var(--hb-line);
  border-top-color: var(--hb-green);
  border-radius: 50%;
  animation: hb-spin .8s linear infinite;
}
.hb-query-state strong { color: var(--hb-ink); font-size: 13px; }
.hb-query-state p { margin: 2px 0 0; color: var(--hb-muted); font-size: 10px; }

.hb-query-results { margin-top: 42px; }
.hb-query-results__hint { color: var(--hb-muted); font-size: 11px; }

.hb-query-empty {
  align-items: center;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
}
.hb-query-empty[style*="display: block"] { display: grid !important; }
.hb-query-empty__icon {
  display: grid;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  color: var(--hb-muted);
  background: var(--hb-surface-soft);
  font-size: 18px;
  place-items: center;
}
.hb-query-empty h2 { margin: 0 0 4px; color: var(--hb-ink); font-size: 16px; }
.hb-query-empty p { margin: 0; color: var(--hb-muted); font-size: 11px; }
.hb-query-empty > a { color: var(--hb-green-dark); font-size: 11px; font-weight: 750; white-space: nowrap; }

.hb-query-help {
  display: grid;
  margin-top: 44px;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hb-query-help article {
  display: flex;
  min-height: 126px;
  padding: 20px;
  gap: 14px;
  border: 1px solid var(--hb-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .66);
}

.hb-query-help article > span { color: var(--hb-green); font-size: 20px; font-weight: 850; line-height: 1; }
.hb-query-help strong { color: var(--hb-ink); font-size: 12px; }
.hb-query-help p { margin: 5px 0 0; color: var(--hb-muted); font-size: 10px; line-height: 1.65; }

/* Dynamically rendered order cards */
.hb-query-page .order-item {
  margin-bottom: 14px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-md);
  background: #fff;
  box-shadow: var(--hb-shadow-sm);
}

.hb-query-page .order-item::before { height: 3px; background: var(--hb-green); }
.hb-query-page .order-header { margin-bottom: 18px; padding-bottom: 18px; border-color: var(--hb-line); }
.hb-query-page .order-left { gap: 14px; }
.hb-query-page .status-badge { padding: 6px 10px; border-radius: 999px; box-shadow: none; font-size: 9px; }
.hb-query-page .status-badge.status-paid { background: var(--hb-green); }
.hb-query-page .status-badge.status-pending { color: #7c531d; background: #ffe8c8; }
.hb-query-page .order-no { color: var(--hb-ink); font-size: 15px; text-shadow: none; }
.hb-query-page .order-time,
.hb-query-page .payment-time,
.hb-query-page .payment-dst { color: var(--hb-muted); font-size: 10px; text-shadow: none; }
.hb-query-page .amount-label { color: var(--hb-muted); font-size: 9px; }
.hb-query-page .amount-value { color: var(--hb-green-dark); font-size: 23px; }
.hb-query-page .goods-section { border: 1px solid var(--hb-line); background: var(--hb-surface-soft); backdrop-filter: none; }
.hb-query-page .goods-image { width: 74px; min-height: 74px; border: 0; box-shadow: none; }
.hb-query-page .goods-name { color: var(--hb-ink); text-shadow: none; }
.hb-query-page .card-section { margin-top: 14px; border: 1px solid rgba(19, 121, 91, .14); border-radius: 16px; background: #f1faf6; }
.hb-query-page .card-header { padding: 14px 16px; border-bottom: 1px solid rgba(19, 121, 91, .12); }
.hb-query-page .card-title { color: var(--hb-ink); }
.hb-query-page .card-display {
  padding: 16px;
  overflow-wrap: anywhere;
  border: 1px dashed rgba(19, 121, 91, .28);
  border-radius: 12px;
  color: var(--hb-green-deep);
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .025em;
}
.hb-query-page .password-form .input-group { gap: 8px; }
.hb-query-page .card-password-input { min-height: 46px; border: 1px solid var(--hb-line-strong); border-radius: 12px !important; }
.hb-query-page .view-card-btn { border: 0; border-radius: 12px !important; background: var(--hb-green); }

.hb-order-delivery-state {
  display: grid;
  margin-top: 14px;
  padding: 15px 16px;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(19, 121, 91, .14);
  border-radius: 15px;
  background: #f1faf6;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.hb-order-delivery-state > span {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--hb-green);
  background: #fff;
  place-items: center;
}

.hb-order-delivery-state strong { color: var(--hb-ink); font-size: 12px; }
.hb-order-delivery-state p { margin: 2px 0 0; color: var(--hb-muted); font-size: 10px; }
.hb-order-delivery-state > a { color: var(--hb-green-dark); font-size: 10px; font-weight: 800; white-space: nowrap; }

/* Activation recovery */
.hb-recovery-shell {
  display: grid;
  padding: clamp(30px, 5vw, 58px);
  gap: clamp(32px, 6vw, 72px);
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(229, 247, 238, .92));
  box-shadow: var(--hb-shadow-md);
  grid-template-columns: minmax(0, 1.05fr) minmax(370px, .95fr);
}

.hb-recovery-intro h1 {
  max-width: 650px;
  margin: 0;
  color: var(--hb-ink);
  font-size: clamp(35px, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.12;
}

.hb-recovery-intro > p { max-width: 660px; margin: 20px 0 28px; color: var(--hb-muted); font-size: 14px; line-height: 1.8; }
.hb-recovery-steps { display: grid; margin: 0; padding: 0; gap: 12px; list-style: none; }
.hb-recovery-steps li { display: grid; padding: 14px 0; align-items: start; gap: 14px; border-top: 1px solid var(--hb-line); grid-template-columns: 36px 1fr; }
.hb-recovery-steps li > span { color: var(--hb-green); font-size: 13px; font-weight: 850; letter-spacing: .08em; }
.hb-recovery-steps strong { color: var(--hb-ink); font-size: 12px; }
.hb-recovery-steps p { margin: 3px 0 0; color: var(--hb-muted); font-size: 10px; }

.hb-recovery-card {
  padding: 28px;
  align-self: center;
  border: 1px solid rgba(19, 121, 91, .16);
  border-radius: 25px;
  background: rgba(255, 255, 255, .93);
  box-shadow: var(--hb-shadow-md);
}

.hb-recovery-card__header { display: flex; margin-bottom: 25px; align-items: center; gap: 13px; }
.hb-recovery-card__header strong { display: block; color: var(--hb-ink); font-size: 16px; }
.hb-recovery-card__header p { margin: 1px 0 0; color: var(--hb-muted); font-size: 10px; }
.hb-recovery-field { margin-bottom: 20px; }
.hb-recovery-field > label { display: block; margin-bottom: 8px; color: var(--hb-ink); font-size: 11px; font-weight: 760; }
.hb-recovery-card .form-control {
  min-height: 52px;
  border: 1px solid var(--hb-line-strong);
  border-radius: 12px;
  color: var(--hb-ink);
  background: var(--hb-surface-soft);
  box-shadow: none;
  font-size: 13px;
}
.hb-recovery-card .form-control:focus { border-color: rgba(19, 121, 91, .56); background: #fff; box-shadow: 0 0 0 4px rgba(19, 121, 91, .1); }
.hb-recovery-card .hb-input-with-icon > i { position: absolute !important; top: 50% !important; transform: translateY(-50%) !important; }
.hb-recovery-code-row { display: grid; gap: 9px; grid-template-columns: minmax(0, 1fr) auto; }
.hb-recovery-code-row .hb-button { min-height: 52px; padding: 0 16px; font-size: 10px; white-space: nowrap; }
.hb-recovery-submit { width: 100%; margin-top: 2px; border: 0; }

.hb-recovery-privacy {
  display: flex;
  margin-top: 18px;
  padding: 13px;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--hb-line);
  border-radius: 13px;
  color: var(--hb-muted);
  background: var(--hb-surface-soft);
}

.hb-recovery-privacy i { margin-top: 2px; color: var(--hb-green); }
.hb-recovery-privacy p { margin: 0; font-size: 9px; line-height: 1.7; }
.hb-recovery-success { margin-top: 18px; padding: 15px; align-items: center; gap: 11px; border-radius: 14px; color: var(--hb-green-deep); background: #e8f8ef; }
.hb-recovery-success > i { font-size: 21px; }
.hb-recovery-success strong { display: block; font-size: 12px; }
.hb-recovery-success p { margin: 2px 0 0; font-size: 9px; }

.hb-recovery-notes {
  display: grid;
  margin-top: 20px;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hb-recovery-notes article { display: flex; min-height: 120px; padding: 20px; align-items: flex-start; gap: 13px; border: 1px solid var(--hb-line); border-radius: 18px; background: rgba(255, 255, 255, .72); }
.hb-recovery-notes article > i { margin-top: 3px; color: var(--hb-green); font-size: 18px; }
.hb-recovery-notes strong { color: var(--hb-ink); font-size: 12px; }
.hb-recovery-notes p { margin: 5px 0 0; color: var(--hb-muted); font-size: 10px; line-height: 1.65; }
.hb-recovery-back { display: inline-flex; margin-top: 22px; align-items: center; gap: 8px; color: var(--hb-green-dark) !important; font-size: 11px; font-weight: 760; }

/* Footer */
.hb-site-footer {
  flex: 0 0 auto;
  margin-top: auto;
  padding: 38px 0 18px;
  border-top: 1px solid var(--hb-line);
  color: var(--hb-muted);
  background: rgba(239, 245, 242, .78);
}

.hb-site-footer__inner {
  display: grid;
  align-items: center;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.hb-site-footer__brand { display: flex; align-items: center; gap: 12px; }
.hb-site-footer__brand strong { color: var(--hb-ink); font-size: 13px; }
.hb-site-footer__brand p { margin: 2px 0 0; font-size: 10px; }
.hb-site-footer__meta { display: flex; align-items: center; flex-direction: column; gap: 8px; grid-column: 2; text-align: center; }
.hb-site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; font-size: 11px; font-weight: 700; }
.hb-site-footer__links a:hover { color: var(--hb-green-dark); }
.hb-site-footer__bottom { display: flex; justify-content: center; gap: 14px; font-size: 9px; }

/* Optional account pages */
.hb-auth-body { display: flex; min-height: 100vh; padding: 100px 24px 44px; align-items: center; justify-content: center; }
.hb-auth-home {
  position: absolute;
  top: 26px;
  left: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hb-auth-home > span:last-child { display: flex; flex-direction: column; }
.hb-auth-home strong { color: var(--hb-ink); font-size: 12px; }
.hb-auth-home small { color: var(--hb-muted); font-size: 9px; }
.hb-auth-body .auth-wrapper { width: min(100%, 480px); padding: 0; }
.hb-auth-body .auth-card {
  width: 100%;
  padding: clamp(28px, 6vw, 42px);
  border: 1px solid var(--hb-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--hb-shadow-lg);
}
.hb-auth-heading { margin-bottom: 26px; }
.hb-auth-heading h1 { margin: 0; color: var(--hb-ink); font-size: 29px; font-weight: 790; letter-spacing: -.04em; }
.hb-auth-heading p { margin: 9px 0 0; color: var(--hb-muted); font-size: 11px; line-height: 1.7; }
.hb-auth-body .form-floating > .form-control { min-height: 56px; border-color: var(--hb-line-strong); border-radius: 13px; color: var(--hb-ink); background: var(--hb-surface-soft); }
.hb-auth-body .form-floating > .form-control:focus { border-color: rgba(19, 121, 91, .55); box-shadow: 0 0 0 4px rgba(19, 121, 91, .1); }
.hb-auth-body .btn-gradient { min-height: 52px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--hb-green), var(--hb-green-dark)); box-shadow: 0 13px 28px rgba(19, 121, 91, .2); font-size: 13px; font-weight: 750; }
.hb-auth-body .text-link { color: var(--hb-green-dark); font-weight: 750; }
.hb-auth-direct { display: flex; margin-top: 18px; align-items: center; justify-content: center; gap: 7px; color: var(--hb-green-dark) !important; font-size: 11px; font-weight: 750; }

@keyframes hb-spin { to { transform: rotate(360deg); } }

@media (hover: hover) and (pointer: fine) {
  .hb-button:hover { transform: translateY(-2px); }
  .hb-button--primary:hover { box-shadow: 0 18px 36px rgba(19, 121, 91, .28); }
  .hb-button--ghost:hover { border-color: var(--hb-green); background: #fff; }
  .hb-store-products .acg-card:hover { transform: translateY(-5px); border-color: rgba(19, 121, 91, .28); box-shadow: 0 22px 46px rgba(17, 66, 53, .14); }
  .hb-store-body .chip:hover,
  .hb-store-body .sku:hover { transform: translateY(-1px); border-color: rgba(19, 121, 91, .38); }
  .hb-store-body .hb-payment-methods .pay-list .pay:hover { transform: translateY(-2px); border-color: var(--hb-green); box-shadow: 0 12px 24px rgba(19, 121, 91, .1); }
}

@media (max-width: 1050px) {
  .hb-store-hero { grid-template-columns: minmax(0, 1fr) 350px; }
  .hb-store-flow-card--pay { right: -8px; }
  .hb-checkout-shell { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
}

@media (max-width: 991.98px) {
  .hb-store-nav .container { flex-wrap: wrap; }
  .hb-store-brand { margin-right: auto; }
  .hb-store-nav .navbar-collapse { order: 4; width: 100%; padding-top: 14px; }
  .hb-store-nav-links { padding-top: 8px; border-top: 1px solid var(--hb-line); }
  .hb-store-nav .hb-store-nav-links .nav-link { width: 100%; }
  .hb-store-guest { margin-left: 0; }
  .hb-store-hero { min-height: 0; grid-template-columns: 1fr; }
  .hb-store-hero__visual { min-height: 380px; margin-top: 10px; }
  .hb-assurance-grid,
  .hb-purchase-steps,
  .hb-query-help,
  .hb-recovery-notes,
  .hb-checkout-assurances { grid-template-columns: 1fr; }
  .hb-assurance-grid article,
  .hb-purchase-steps article { min-height: 0; }
  .hb-checkout-shell { grid-template-columns: 1fr; }
  .hb-product-summary { position: static; display: grid; grid-template-columns: minmax(270px, .9fr) 1.1fr; }
  .hb-product-cover { height: 100%; min-height: 330px; aspect-ratio: auto; border-right: 1px solid var(--hb-line); border-bottom: 0; }
  .hb-query-hero { grid-template-columns: 1fr; }
  .hb-recovery-shell { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .hb-store-body .container { max-width: 100%; padding-right: 18px; padding-left: 18px; }
  .hb-store-main { padding-top: 20px; padding-bottom: 52px; }
  .hb-store-guest { display: none; }
  .hb-store-hero { padding: 32px 24px; border-radius: 25px; }
  .hb-store-hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hb-store-hero__copy > p { font-size: 14px; }
  .hb-store-hero__visual { min-height: 330px; }
  .hb-store-orbit--two { width: 330px; height: 330px; }
  .hb-store-flow-card { min-width: 150px; padding: 10px; }
  .hb-store-flow-card--email { left: -6px; }
  .hb-store-flow-card--pay { right: -6px; }
  .hb-store-products { padding: 25px 18px; border-radius: 25px; }
  .hb-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hb-section-heading > a { padding: 0; }
  .hb-product-summary { display: block; }
  .hb-product-cover { min-height: 0; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--hb-line); }
  .hb-product-summary,
  .hb-checkout-card { border-radius: 23px; }
  .hb-checkout-card__header { align-items: flex-start; }
  .hb-form-section--compact { display: block; }
  .hb-form-section--compact .hb-form-label { margin-bottom: 13px; }
  .hb-query-hero { padding: 28px 22px; border-radius: 25px; }
  .hb-query-form { padding: 20px; }
  .hb-query-form__controls { grid-template-columns: 1fr; }
  .hb-query-form__controls .hb-button { width: 100%; }
  .hb-recovery-banner { align-items: flex-start; grid-template-columns: auto 1fr; }
  .hb-recovery-banner .hb-button { width: 100%; grid-column: 1 / -1; }
  .hb-recovery-shell { padding: 28px 22px; border-radius: 25px; }
  .hb-query-empty[style*="display: block"] { display: flex !important; align-items: flex-start; flex-direction: column; }
  .hb-query-page .order-header { flex-direction: column; gap: 15px; }
  .hb-query-page .order-right { align-items: flex-start; text-align: left; }
  .hb-query-page .order-amount { align-items: flex-start; }
  .hb-site-footer__inner,
  .hb-site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .hb-site-footer__inner { display: flex; }
  .hb-site-footer__meta { align-items: flex-start; text-align: left; }
  .hb-site-footer__links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .hb-store-brand-mark { width: 40px; height: 30px; }
  .hb-store-brand-copy small { display: none; }
  .hb-store-brand-name { max-width: 155px; font-size: 13px; }
  .hb-store-hero__actions { display: grid; grid-template-columns: 1fr; }
  .hb-store-hero__meta { gap: 11px; }
  .hb-store-hero__visual { display: none; }
  .hb-assurance-grid { margin-top: 14px; margin-bottom: 42px; }
  .hb-assurance-grid article { padding: 18px; }
  .hb-product-grid > a { width: 100%; }
  .hb-store-products .acg-thumb { height: 180px; }
  .hb-store-notice { align-items: flex-start; grid-template-columns: auto 1fr; }
  .hb-store-notice > a { grid-column: 2; }
  .hb-checkout-card__header { flex-direction: column; }
  .hb-product-summary__badges .hb-product-summary__status { width: 100%; margin-left: 0; justify-content: center; }
  .hb-checkout-price { align-items: flex-start; }
  .hb-form-section--quantity { align-items: flex-start; flex-direction: column; }
  .hb-store-body .hb-captcha-group { grid-template-columns: minmax(0, 1fr) 108px; }
  .hb-captcha-group .input-group-append { width: 108px; }
  .hb-payment-methods .pay-list { grid-template-columns: 1fr; }
  .hb-query-results__hint { display: none; }
  .hb-query-page .order-item { padding: 20px; }
  .hb-query-page .order-left { flex-direction: column; }
  .hb-query-page .goods-section { align-items: flex-start; }
  .hb-order-delivery-state { align-items: flex-start; grid-template-columns: auto 1fr; }
  .hb-order-delivery-state > a { grid-column: 2; }
  .hb-query-page .password-form .input-group { flex-direction: column; }
  .hb-query-page .view-card-btn { width: 100%; min-height: 44px; }
  .hb-recovery-card { padding: 22px; border-radius: 21px; }
  .hb-recovery-code-row { grid-template-columns: 1fr; }
  .hb-recovery-code-row .hb-button { width: 100%; }
  .hb-auth-body { padding-right: 16px; padding-left: 16px; }
  .hb-auth-home { top: 20px; left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
