body.subhub-storefront {
  --subhub-ui-primary: var(--subhub-primary);
  --subhub-ui-secondary: var(--subhub-primary-deep);
  --subhub-ui-danger: var(--subhub-accent);
  --subhub-nav-max: 1560px;
  --subhub-nav-height: 108px;
  --subhub-page-max: 1120px;
  --subhub-page-gutter: clamp(120px, 12vw, 240px);
  min-height: 100vh;
  padding-top: var(--subhub-nav-height);
  letter-spacing: 0.005em;
  background:
    radial-gradient(circle at top left, rgba(183, 149, 98, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(83, 107, 145, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfaf8 0%, var(--subhub-front-bg) 44%, var(--subhub-bg) 100%) !important;
}

html,
body.subhub-storefront {
  max-width: 100%;
  overflow-x: hidden;
}

.subhub-storefront .container {
  width: min(calc(100% - var(--subhub-page-gutter)), var(--subhub-page-max)) !important;
  max-width: none !important;
  padding-right: 0;
  padding-left: 0;
}

.subhub-storefront img,
.subhub-storefront video,
.subhub-storefront canvas,
.subhub-storefront iframe {
  max-width: 100%;
}

.subhub-storefront a {
  color: var(--subhub-primary);
}

.subhub-storefront a:hover {
  color: var(--subhub-primary-deep);
}

.subhub-storefront .navbar-subhub {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1030;
  width: min(calc(100% - 24px), var(--subhub-nav-max));
  max-width: none;
  margin: 0;
  border: 1px solid var(--subhub-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: var(--subhub-shadow-sm);
}

.subhub-storefront .navbar-subhub .container,
.subhub-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.subhub-storefront .navbar-subhub .container {
  width: 100% !important;
  max-width: none !important;
  min-height: 76px;
  padding-right: clamp(16px, 2vw, 28px);
  padding-left: clamp(16px, 2vw, 28px);
  justify-content: space-between;
  flex-wrap: nowrap;
}

.subhub-nav-left {
  flex: 0 0 auto;
  min-width: 0;
}

.subhub-storefront .navbar-brand {
  flex: 0 0 auto;
  min-width: 0;
  max-width: clamp(260px, 25vw, 420px);
  margin-right: 0;
  white-space: nowrap;
}

.subhub-brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1.15;
}

.subhub-brand-title {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subhub-nav-tagline {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--subhub-muted);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}

.subhub-storefront .brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

.subhub-storefront #user-avatar:hover {
  border-color: var(--subhub-primary);
}

.subhub-storefront .navbar-brand span {
  color: var(--subhub-primary-deep) !important;
  letter-spacing: 0.02em;
}

.subhub-storefront .subhub-main-menu {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  margin-left: clamp(18px, 3vw, 70px);
}

.subhub-storefront .subhub-main-menu .nav-item {
  flex: 0 0 auto;
}

.subhub-storefront .subhub-main-menu .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: max-content;
  padding: 8px 6px;
  line-height: 1;
  white-space: nowrap;
}

.subhub-storefront .navbar-collapse {
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  gap: clamp(12px, 1.6vw, 24px);
}

.subhub-storefront .user-login-box,
.subhub-storefront .user-info-box {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.subhub-storefront .user-login-box .btn,
.subhub-storefront .user-info-box .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}

.subhub-storefront .user-info-box .dropdown {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.subhub-storefront .subhub-avatar-entry {
  min-height: 42px;
  padding: 4px 4px 4px 8px;
  border-radius: 999px;
}

.subhub-storefront .subhub-avatar-entry:hover {
  background: rgba(83, 107, 145, 0.08);
}

.subhub-storefront .subhub-user-menu-toggle {
  width: 32px;
  min-width: 32px;
  padding: 0;
}

.subhub-storefront .subhub-balance-value {
  color: var(--subhub-primary-deep) !important;
}

.subhub-storefront .nav-link,
.subhub-storefront .dropdown-toggle,
.subhub-storefront .text-dark {
  color: var(--subhub-text) !important;
}

.subhub-storefront .nav-link.active {
  color: var(--subhub-primary) !important;
}

.subhub-storefront .search-input .input-group {
  width: 100%;
  min-width: 0;
}

.subhub-storefront .search-input {
  flex: 1 1 clamp(220px, 20vw, 360px);
  min-width: 220px;
  max-width: 380px;
}

.subhub-storefront .search-input .input-group-text,
.subhub-storefront .search-input .form-control {
  min-height: 44px;
  border-color: var(--subhub-line);
  background: rgba(250, 248, 245, 0.88);
}

.subhub-storefront .search-input .input-group-text {
  border-radius: 999px 0 0 999px;
}

.subhub-storefront .search-input .form-control {
  border-radius: 0 999px 999px 0;
}

.subhub-doc-entry {
  display: flex;
  align-items: center;
  margin-left: 12px;
}

.subhub-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--subhub-line);
  border-radius: 14px;
  color: var(--subhub-primary-deep);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(17, 36, 63, 0.06);
}

.subhub-doc-link:hover {
  color: var(--subhub-primary-deep);
  border-color: rgba(83, 107, 145, 0.42);
  background: #fff;
}

.subhub-storefront main.container {
  min-width: 0;
  padding-top: 34px !important;
  padding-bottom: 0 !important;
}

.subhub-storefront .subhub-page,
.subhub-storefront .panel,
.subhub-storefront .subhub-product-card,
.subhub-storefront .table-responsive,
.subhub-storefront table {
  max-width: 100%;
}

.subhub-storefront .table-responsive,
.subhub-storefront .subhub-scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.subhub-storefront .subhub-page > * {
  min-width: 0;
}

.subhub-storefront .subhub-card-shell {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--subhub-line);
  border-radius: var(--subhub-radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--subhub-shadow-sm);
}

.subhub-storefront .subhub-card-shell .bootstrap-table,
.subhub-storefront .subhub-card-shell table {
  margin-bottom: 0;
}

.subhub-storefront .subhub-page > .subhub-hero,
.subhub-storefront .subhub-page > .subhub-storefront-grid,
.subhub-storefront .subhub-page > .subhub-platform-grid,
.subhub-storefront .subhub-page > .subhub-b2c-section {
  margin-bottom: 0;
}

.subhub-storefront .subhub-page > .mt-3 {
  margin-top: 0 !important;
}

.subhub-category-strip {
  margin-top: 14px;
}

.subhub-category-strip .container {
  width: min(calc(100% - var(--subhub-page-gutter)), var(--subhub-page-max)) !important;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.subhub-category-strip a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--subhub-line);
  border-radius: 999px;
  color: var(--subhub-muted);
  background: rgba(255, 255, 255, 0.72);
}

.subhub-home-notice,
.subhub-nav-notice {
  margin-bottom: 18px !important;
}

.subhub-nav-notice {
  width: min(calc(100% - var(--subhub-page-gutter)), var(--subhub-page-max)) !important;
  max-width: none;
  margin: 14px auto 0 !important;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    rgba(83, 107, 145, 0.06);
}

.subhub-nav-notice .panel-header {
  min-height: 46px;
  padding: 12px 18px;
}

.subhub-nav-notice .panel-body {
  padding: 14px 18px 16px;
  color: var(--subhub-text);
  line-height: 1.75;
}

.subhub-nav-notice .panel-body > :last-child {
  margin-bottom: 0;
}

.subhub-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--subhub-line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74)),
    radial-gradient(circle at top right, rgba(83, 107, 145, 0.15), transparent 30%);
  box-shadow: var(--subhub-shadow-md);
}

.subhub-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  overflow: hidden;
}

.subhub-hero-main {
  min-width: 0;
}

.subhub-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 149, 98, 0.22), transparent 68%);
}

.subhub-kicker {
  margin-bottom: 10px;
  color: var(--subhub-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.subhub-store-identity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 0 11px;
  border: 1px solid rgba(83, 107, 145, 0.16);
  border-radius: 999px;
  color: var(--subhub-primary-deep);
  background: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 600;
}

.subhub-store-identity i {
  color: var(--subhub-primary);
  font-size: 13px;
}

.subhub-hero-badge-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.subhub-hero-badge-row::-webkit-scrollbar {
  display: none;
}

.subhub-hero-badge-row .subhub-store-identity,
.subhub-hero-badge-row .subhub-hero-points {
  margin-bottom: 0;
}

.subhub-hero-badge-row .subhub-hero-points {
  justify-content: flex-start;
  min-height: 32px;
  padding: 0;
  flex-wrap: nowrap;
  overflow-x: visible;
}

.subhub-home-store .subhub-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
}

.subhub-store-category-row {
  margin-bottom: 14px;
}

.subhub-hero h1 {
  max-width: 720px;
  margin: 0 0 12px;
  color: var(--subhub-primary-deep);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 750;
  line-height: 1.15;
}

.subhub-storefront .price,
.subhub-storefront .amount-value,
.subhub-storefront .goods-price,
.subhub-storefront .subhub-trust-stat strong,
.subhub-storefront .subhub-merchant-card li {
  font-variant-numeric: tabular-nums;
}

.subhub-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--subhub-muted);
  line-height: 1.8;
}

.subhub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.subhub-hero-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--subhub-primary);
}

.subhub-hero-actions .is-secondary {
  border: 1px solid var(--subhub-line-strong);
  color: var(--subhub-primary-deep);
  background: rgba(255, 255, 255, 0.8);
}

.subhub-hero-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.subhub-hero-categories a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--subhub-line);
  border-radius: 999px;
  color: var(--subhub-muted);
  background: rgba(255, 255, 255, 0.72);
}

.subhub-hero-points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  min-height: 48px;
  padding: 0;
}

.subhub-hero-side {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
}

.subhub-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  width: min(100%, 336px);
  margin-left: auto;
}

.subhub-hero-metric {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 82px;
  padding: 10px 12px;
  border: 1px solid rgba(83, 107, 145, 0.16);
  border-radius: 20px;
  color: var(--subhub-primary-deep);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--subhub-shadow-sm);
}

.subhub-hero-metric i {
  color: var(--subhub-primary);
  font-size: 14px;
}

.subhub-hero-metric b {
  font-size: 18px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.subhub-hero-metric em {
  color: var(--subhub-muted);
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}

.subhub-hero-metrics.subhub-store-metrics {
  width: min(100%, 420px);
}

.subhub-store-metrics .subhub-hero-metric {
  min-height: 84px;
}

.subhub-hero-points span,
.subhub-hero-points a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(83, 107, 145, 0.16);
  border-radius: 999px;
  color: var(--subhub-primary-deep);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.subhub-hero-points a:hover {
  border-color: rgba(83, 107, 145, 0.28);
  color: var(--subhub-primary);
  background: rgba(255, 255, 255, 0.88);
}

.subhub-storefront .subhub-trust-card {
  margin-top: -4px;
}

.subhub-storefront .subhub-trust-name {
  font-size: 20px;
}

.subhub-storefront .subhub-trust-stat {
  background: rgba(255, 255, 255, 0.74);
}

.subhub-storefront-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}

.subhub-home-store {
  display: none;
}

.subhub-context-store .subhub-home-store {
  display: grid;
}

.subhub-context-store .subhub-hero.subhub-home-store {
  display: block;
}

.subhub-context-store .subhub-home-platform,
.subhub-context-store .subhub-platform-grid {
  display: none;
}

.subhub-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}

.subhub-b2c-section {
  margin: 0 0 22px;
}

.subhub-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 14px;
}

.subhub-section-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--subhub-muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.subhub-section-head h2 {
  margin: 0;
  color: var(--subhub-primary-deep);
  font-size: 22px;
}

.subhub-section-head > a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--subhub-line);
  border-radius: 999px;
  color: var(--subhub-primary-deep);
  background: rgba(255, 255, 255, 0.72);
}

.subhub-section-note {
  margin-bottom: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.subhub-category-grid,
.subhub-featured-grid,
.subhub-merchant-grid {
  display: grid;
  gap: 14px;
}

.subhub-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.subhub-featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.subhub-merchant-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.subhub-category-card,
.subhub-featured-card,
.subhub-merchant-card,
.subhub-empty-panel {
  border: 1px solid var(--subhub-line);
  border-radius: var(--subhub-radius-md);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--subhub-shadow-sm);
}

.subhub-category-card,
.subhub-featured-card,
.subhub-merchant-card,
.subhub-storefront .item-list .subhub-product-card {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.subhub-category-card:hover,
.subhub-featured-card:hover,
.subhub-merchant-card:hover,
.subhub-storefront .item-list a:hover .subhub-product-card {
  transform: translateY(-3px);
  border-color: rgba(83, 107, 145, 0.2);
  box-shadow: 0 18px 34px rgba(45, 59, 84, 0.12);
}

.subhub-category-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px;
  color: var(--subhub-primary-deep);
}

.subhub-category-card i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background-position: center;
  background-size: cover;
  background-color: rgba(83, 107, 145, 0.12);
}

.subhub-featured-card {
  overflow: hidden;
  color: var(--subhub-primary-deep);
}

.subhub-featured-card i {
  display: block;
  width: 100%;
  aspect-ratio: 1.2;
  background-position: center;
  background-size: cover;
}

.subhub-featured-card div {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.subhub-featured-card .subhub-featured-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
}

.subhub-featured-card em {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--subhub-success);
  background: rgba(109, 150, 141, 0.14);
  font-size: 12px;
  font-style: normal;
}

.subhub-featured-card em.is-recommend {
  color: var(--subhub-primary-deep);
  background: rgba(83, 107, 145, 0.14);
}

.subhub-featured-card em.is-hot {
  color: #a24242;
  background: rgba(176, 87, 87, 0.12);
}

.subhub-favorite-toggle {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(83, 107, 145, 0.18);
  border-radius: 999px;
  color: var(--subhub-primary-deep);
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(34, 51, 79, 0.08);
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.subhub-favorite-toggle:hover,
.subhub-favorite-toggle:focus {
  border-color: rgba(83, 107, 145, 0.34);
  color: var(--subhub-primary-deep);
  background: #fff;
  transform: translateY(-1px);
}

.subhub-favorite-toggle.is-favorited {
  border-color: rgba(176, 87, 87, 0.26);
  color: #a24242;
  background: rgba(176, 87, 87, 0.12);
}

.subhub-favorite-toggle i {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
}

.subhub-favorite-toggle span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: inherit !important;
  font: inherit;
  line-height: 1;
  white-space: nowrap;
}

.subhub-favorite-inline {
  min-height: 32px;
  border-color: rgba(83, 107, 145, 0.16);
}

.subhub-favorite-card {
  position: relative;
  z-index: 2;
}

.subhub-favorite-hero {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  line-height: 1;
}

.subhub-storefront .subhub-hero-actions .subhub-favorite-hero,
.subhub-storefront .subhub-hero-actions button.subhub-favorite-hero {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

.subhub-storefront .subhub-hero-actions .subhub-favorite-hero i,
.subhub-storefront .subhub-hero-actions .subhub-favorite-hero span,
.subhub-storefront .subhub-hero-actions .subhub-favorite-hero [data-favorite-label] {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.subhub-storefront .subhub-hero-actions .subhub-favorite-hero .fa-duotone,
.subhub-storefront .subhub-hero-actions .subhub-favorite-hero .fa-regular {
  --fa-display: inline-flex;
  min-width: 1em;
}

.subhub-storefront.subhub-context-store .subhub-home-store .subhub-hero-actions:not(.subhub-store-hero-actions) {
  display: none !important;
}

.subhub-storefront .subhub-store-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.subhub-storefront .subhub-store-service-list {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.subhub-storefront .subhub-store-service-list[hidden] {
  display: none !important;
}

.subhub-storefront .subhub-store-service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(83, 107, 145, 0.18);
  border-radius: 999px;
  color: var(--subhub-primary-deep);
  background: rgba(83, 107, 145, 0.08);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.subhub-storefront .subhub-main-menu .subhub-nav-favorite-store {
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.subhub-storefront .subhub-main-menu .subhub-nav-favorite-store[aria-pressed="true"] {
  color: var(--subhub-primary);
}

.subhub-merchant-card,
.subhub-featured-merchant-card {
  position: relative;
}

.subhub-merchant-card > .subhub-favorite-merchant,
.subhub-featured-merchant-card > .subhub-favorite-merchant {
  position: absolute;
  top: 12px;
  right: 12px;
}

.subhub-featured-card span {
  color: var(--subhub-accent);
  font-weight: 700;
}

.subhub-featured-card small {
  color: var(--subhub-muted);
}

.subhub-live-section {
  position: relative;
}

.subhub-live-board {
  border: 1px solid var(--subhub-line);
  border-radius: 24px;
  padding: 20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(83, 107, 145, 0.11), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 253, 0.94));
  box-shadow: var(--subhub-shadow-soft);
}

.subhub-live-loading {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--subhub-muted);
  font-weight: 800;
}

.subhub-live-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.subhub-live-metrics article {
  min-width: 0;
  border: 1px solid rgba(83, 107, 145, 0.14);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.subhub-live-metrics span,
.subhub-live-panel-head span {
  display: block;
  color: var(--subhub-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.subhub-live-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--subhub-primary-deep);
  font-size: 26px;
  line-height: 1.15;
}

.subhub-live-metrics small {
  display: block;
  margin-top: 4px;
  color: var(--subhub-muted);
  font-size: 12px;
}

.subhub-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.85fr);
  gap: 14px;
}

.subhub-live-panel {
  min-width: 0;
  border: 1px solid rgba(83, 107, 145, 0.14);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.86);
}

.subhub-live-panel.is-products {
  grid-row: span 2;
}

.subhub-live-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 12px;
}

.subhub-live-panel-head strong {
  color: var(--subhub-primary-deep);
  font-size: 18px;
}

.subhub-live-product-list,
.subhub-live-trust-list {
  display: grid;
  gap: 10px;
}

.subhub-live-product {
  display: grid;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-radius: 14px;
  color: var(--subhub-primary-deep);
  background: rgba(247, 250, 253, 0.78);
  text-decoration: none;
}

.subhub-live-product {
  grid-template-columns: 34px 56px minmax(0, 1fr) auto;
  padding: 10px 12px;
}

.subhub-live-trust-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
  border-radius: 14px;
  padding: 12px;
  color: var(--subhub-primary-deep);
  background: rgba(247, 250, 253, 0.78);
}

.subhub-live-trust-item > b {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(83, 107, 145, 0.10);
  color: var(--subhub-primary);
  font-weight: 900;
}

.subhub-live-trust-item strong {
  display: block;
  color: var(--subhub-primary-deep);
  font-size: 14px;
}

.subhub-live-trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--subhub-muted);
  font-size: 12px;
  line-height: 1.55;
}

.subhub-live-product:hover {
  color: var(--subhub-primary-deep);
  transform: translateY(-1px);
  background: #fff;
}

.subhub-live-product > b {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  background: var(--subhub-primary);
  font-size: 13px;
}

.subhub-live-product img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(83, 107, 145, 0.12);
}

.subhub-live-product div {
  min-width: 0;
}

.subhub-live-product strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subhub-live-product span {
  display: block;
  margin-top: 4px;
  color: var(--subhub-muted);
  font-size: 12px;
  line-height: 1.45;
}

.subhub-live-product em {
  color: var(--subhub-primary-deep);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.subhub-live-empty-line {
  color: var(--subhub-muted);
  font-weight: 700;
}

.subhub-live-foot {
  margin-top: 14px;
  color: var(--subhub-muted);
  font-size: 12px;
  text-align: right;
}

.subhub-doc-hero {
  border: 1px solid var(--subhub-line);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 20px;
  background:
    radial-gradient(circle at 85% 12%, rgba(109, 150, 141, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.94));
  box-shadow: var(--subhub-shadow-soft);
}

.subhub-doc-hero span {
  display: block;
  color: var(--subhub-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.subhub-doc-hero h1 {
  margin: 8px 0 10px;
  color: var(--subhub-primary-deep);
  font-size: 32px;
  line-height: 1.2;
}

.subhub-doc-hero p {
  max-width: 860px;
  margin: 0;
  color: var(--subhub-text-soft);
  font-size: 15px;
  line-height: 1.9;
}

.subhub-doc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.subhub-doc-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--subhub-line);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.subhub-doc-toc a {
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--subhub-primary-deep);
  font-weight: 800;
  text-decoration: none;
}

.subhub-doc-toc a:hover {
  background: rgba(83, 107, 145, 0.08);
}

.subhub-doc-content {
  display: grid;
  gap: 16px;
}

.subhub-doc-content section {
  border: 1px solid var(--subhub-line);
  border-radius: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
}

.subhub-doc-content h2 {
  margin: 0 0 12px;
  color: var(--subhub-primary-deep);
  font-size: 20px;
}

.subhub-doc-content p,
.subhub-doc-content li {
  color: var(--subhub-text-soft);
  font-size: 14px;
  line-height: 1.9;
}

.subhub-doc-content ul {
  margin: 0;
  padding-left: 18px;
}

.subhub-doc-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.subhub-doc-rule-grid div {
  min-width: 0;
  border-radius: 16px;
  padding: 14px;
  background: rgba(247, 250, 253, 0.88);
}

.subhub-doc-rule-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--subhub-primary-deep);
}

.subhub-doc-rule-grid span,
.subhub-doc-note {
  color: var(--subhub-text-soft);
  font-size: 14px;
  line-height: 1.8;
}

.subhub-doc-note {
  margin: 12px 0 0;
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(83, 107, 145, 0.08);
}

.subhub-merchant-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
}

.subhub-merchant-card > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.subhub-merchant-card img {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  object-fit: cover;
}

.subhub-merchant-card strong,
.subhub-merchant-card span {
  display: block;
}

.subhub-storefront .subhub-merchant-card > .subhub-favorite-merchant,
.subhub-storefront .subhub-featured-merchant-card > .subhub-favorite-merchant {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap !important;
}

.subhub-storefront .subhub-merchant-card > .subhub-favorite-merchant i,
.subhub-storefront .subhub-merchant-card > .subhub-favorite-merchant [data-favorite-label],
.subhub-storefront .subhub-featured-merchant-card > .subhub-favorite-merchant i,
.subhub-storefront .subhub-featured-merchant-card > .subhub-favorite-merchant [data-favorite-label] {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.subhub-merchant-card span,
.subhub-merchant-card li {
  color: var(--subhub-muted);
}

.subhub-merchant-badges,
.subhub-merchant-status-row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px !important;
}

.subhub-merchant-badges b,
.subhub-merchant-status-row b {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--subhub-primary-deep);
  background: rgba(183, 149, 98, 0.14);
  font-size: 12px;
  font-weight: 600;
}

.subhub-merchant-status-row b {
  background: rgba(83, 107, 145, 0.08);
}

.subhub-merchant-status-row b:nth-child(2) {
  background: rgba(183, 149, 98, 0.14);
}

.subhub-merchant-status-row b:nth-child(3) {
  background: rgba(116, 139, 124, 0.12);
}

.subhub-merchant-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subhub-merchant-card li {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(83, 107, 145, 0.08);
  font-size: 12px;
}

.subhub-empty-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 110px;
  padding: 18px;
  color: var(--subhub-muted);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at top right, rgba(83, 107, 145, 0.12), transparent 42%);
}

.subhub-empty-panel::before {
  content: "";
  width: 96px;
  height: 68px;
  background: url("/assets/subhub/brand/empty-state.svg") center/contain no-repeat;
}

.subhub-category-grid .subhub-empty-panel,
.subhub-featured-grid .subhub-empty-panel,
.subhub-merchant-grid .subhub-empty-panel {
  grid-column: 1 / -1;
}

.subhub-storefront-card {
  padding: 18px;
  border: 1px solid var(--subhub-line);
  border-radius: var(--subhub-radius-md);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--subhub-shadow-sm);
}

.subhub-storefront-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--subhub-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subhub-storefront-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--subhub-primary-deep);
  font-size: 18px;
}

.subhub-storefront-card p {
  margin: 0;
  color: var(--subhub-muted);
  line-height: 1.7;
}

.subhub-storefront .subhub-merchant-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 2px;
  color: var(--subhub-muted);
  font-size: 12px;
}

.subhub-storefront .subhub-merchant-line img {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
}

.subhub-storefront .subhub-service-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(83, 107, 145, 0.18);
  border-radius: 999px;
  color: var(--subhub-primary-deep);
  background: rgba(83, 107, 145, 0.08);
}

.subhub-service-widget {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1060;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.subhub-service-widget.is-left {
  right: auto;
  left: max(18px, env(safe-area-inset-left));
  justify-items: start;
}

.subhub-service-fab,
.subhub-service-panel button {
  pointer-events: auto;
}

.subhub-service-fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(83, 107, 145, 0.2);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--subhub-primary), var(--subhub-primary-deep));
  box-shadow: 0 12px 28px rgba(31, 45, 61, 0.18);
}

.subhub-service-panel {
  width: min(280px, calc(100vw - 36px));
  max-height: min(62vh, 420px);
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--subhub-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(31, 45, 61, 0.18);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  pointer-events: none;
}

.subhub-service-widget.is-open .subhub-service-panel {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.subhub-service-panel section + section {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(83, 107, 145, 0.12);
}

.subhub-service-panel strong {
  display: block;
  margin: 0 0 6px;
  color: var(--subhub-primary-deep);
  font-size: 12px;
}

.subhub-service-panel button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  padding: 7px 8px;
  border: 0;
  border-radius: 10px;
  color: var(--subhub-text);
  background: transparent;
  text-align: left;
}

.subhub-service-panel button:hover {
  background: rgba(83, 107, 145, 0.08);
}

.subhub-service-panel button i {
  width: 18px;
  color: var(--subhub-primary);
  text-align: center;
}

.subhub-service-toast {
  max-width: min(280px, calc(100vw - 36px));
  padding: 9px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(34, 50, 77, 0.92);
  box-shadow: 0 12px 30px rgba(31, 45, 61, 0.2);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  pointer-events: none;
}

.subhub-service-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.subhub-item-assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.subhub-item-assurance-grid div {
  padding: 14px;
  border: 1px solid var(--subhub-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.subhub-item-assurance-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--subhub-muted);
  font-size: 12px;
}

.subhub-item-assurance-grid strong {
  color: var(--subhub-primary-deep);
}

.subhub-context-store .subhub-platform-assurance {
  display: none;
}

.subhub-storefront .item-list .subhub-product-card {
  border: 1px solid var(--subhub-line);
  background: rgba(255, 255, 255, 0.88);
}

.subhub-goods-panel .panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 18px;
}

.subhub-goods-panel .panel-header .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(83, 107, 145, 0.1);
  flex: 0 0 auto;
}

.subhub-goods-panel .panel-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.subhub-goods-panel .panel-body {
  padding: 18px;
}

.subhub-storefront .chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.subhub-storefront .chip-list .chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  text-decoration: none;
}

.subhub-storefront .chip-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.subhub-storefront .item-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 0 !important;
}

.subhub-storefront .item-list > a {
  display: block;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: inherit;
  text-decoration: none;
}

.subhub-storefront .item-list .item-message {
  grid-column: 1 / -1;
  padding: 22px;
  color: var(--subhub-muted);
  text-align: center;
}

.subhub-storefront .item-list .subhub-product-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 172px;
  aspect-ratio: 1.34 / 1;
  border-radius: calc(var(--subhub-radius-md) - 2px) calc(var(--subhub-radius-md) - 2px) 0 0;
  background:
    linear-gradient(135deg, rgba(83, 107, 145, 0.12), rgba(255, 255, 255, 0.72)),
    url("/assets/subhub/brand/favicon.svg?v=1.2.2") center / 54px 54px no-repeat;
  background-color: rgba(83, 107, 145, 0.08);
}

.subhub-storefront .item-list .subhub-product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 172px;
  object-fit: cover;
}

.subhub-storefront .item-list .subhub-product-thumb.is-fallback {
  border-bottom: 1px solid rgba(83, 107, 145, 0.1);
}

.subhub-storefront .item-list .goods-title {
  margin: 8px 0 6px;
  color: var(--subhub-primary-deep);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.subhub-storefront .item-list .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
}

.subhub-goods-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) repeat(2, minmax(120px, 160px)) auto;
  gap: 10px;
  align-items: center;
  margin: 0 0 16px;
}

.subhub-goods-toolbar select,
.subhub-goods-toolbar input {
  min-height: 38px;
  width: 100%;
  border: 1px solid var(--subhub-line);
  border-radius: 10px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--subhub-primary-deep);
  outline: none;
}

.subhub-goods-toolbar select:focus,
.subhub-goods-toolbar input:focus {
  border-color: rgba(83, 107, 145, 0.42);
  box-shadow: 0 0 0 3px rgba(83, 107, 145, 0.08);
}

.subhub-filter-apply {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--subhub-primary), var(--subhub-primary-deep));
  font-weight: 700;
}

.subhub-goods-more {
  display: none;
  justify-content: center;
  margin: 18px 0 4px;
}

.subhub-goods-more.is-visible {
  display: flex;
}

.subhub-goods-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(83, 107, 145, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--subhub-primary-deep);
  font-weight: 750;
  cursor: pointer;
}

.subhub-goods-load-more:hover {
  border-color: rgba(83, 107, 145, 0.38);
  background: rgba(83, 107, 145, 0.08);
}

.subhub-goods-load-more:disabled {
  cursor: wait;
  opacity: 0.68;
}

.subhub-storefront .item-list .stat-row,
.subhub-storefront .item-list .stat-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.subhub-storefront .item-list .stat-bottom {
  gap: 8px;
  color: var(--subhub-muted);
  font-size: 12px;
}

.subhub-storefront .item-list .subhub-rating-line {
  margin-top: 4px;
}

.subhub-goods-panel {
  scroll-margin-top: 110px;
}

.subhub-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--subhub-muted);
  font-size: 13px;
}

.subhub-breadcrumb a {
  color: var(--subhub-primary);
}

.subhub-breadcrumb strong {
  color: var(--subhub-primary-deep);
  font-weight: 600;
}

.subhub-item-shell .panel-body {
  padding: 22px;
}

.subhub-storefront .subhub-item-buybox {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}

.subhub-storefront .subhub-item-buybox form {
  flex: 1 1 auto;
  min-height: 0;
  display: flex !important;
  flex-direction: column;
  gap: 0 !important;
}

.subhub-storefront .subhub-item-form-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 6px;
}

.subhub-storefront .subhub-item-buybox .cash-pay {
  flex: 0 0 auto;
  margin-top: 12px;
}

.subhub-item-buybox h4 {
  margin-bottom: 14px;
  color: var(--subhub-primary-deep);
  font-size: clamp(20px, 2.5vw, 28px);
}

.subhub-item-buybox .price {
  font-size: 28px;
}

.subhub-item-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.subhub-item-highlights-inline {
  margin: 0;
  justify-content: flex-end;
}

.subhub-item-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--subhub-muted);
  background: rgba(83, 107, 145, 0.08);
  font-size: 12px;
}

.subhub-storefront .subhub-service-spec-card,
.subhub-storefront .subhub-spec-card,
.subhub-storefront .subhub-stock-strip {
  border: 1px solid var(--subhub-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.subhub-storefront .subhub-service-spec-card,
.subhub-storefront .subhub-spec-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.subhub-storefront .subhub-service-spec-head,
.subhub-storefront .subhub-spec-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--subhub-primary-deep);
}

.subhub-storefront .subhub-service-spec-head-rich {
  align-items: flex-start;
  flex-wrap: wrap;
}

.subhub-storefront .subhub-service-spec-title {
  display: grid;
  gap: 4px;
  min-width: 120px;
}

.subhub-storefront .subhub-spec-choice-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(83, 107, 145, 0.06);
  border: 1px dashed rgba(83, 107, 145, 0.18);
}

.subhub-storefront .subhub-spec-choice-row > label {
  flex: 0 0 auto;
  margin: 0;
  color: var(--subhub-muted);
  font-size: 12px;
  font-weight: 900;
}

.subhub-storefront .subhub-spec-choice-list {
  margin-top: 0;
}

.subhub-storefront .subhub-service-spec-head strong,
.subhub-storefront .subhub-spec-card-head strong {
  font-size: 16px;
  font-weight: 900;
}

.subhub-storefront .subhub-service-spec-head span,
.subhub-storefront .subhub-spec-card-head span {
  color: var(--subhub-muted);
  font-size: 12px;
  font-weight: 800;
}

.subhub-storefront .subhub-service-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.subhub-storefront .subhub-service-spec-grid div {
  display: grid;
  gap: 5px;
  min-height: 58px;
  padding: 11px 12px;
  border: 1px solid rgba(109, 150, 141, 0.2);
  border-radius: 14px;
  background: rgba(109, 150, 141, 0.08);
}

.subhub-storefront .subhub-service-spec-grid span {
  color: var(--subhub-muted);
  font-size: 12px;
  font-weight: 800;
}

.subhub-storefront .subhub-service-spec-grid strong {
  color: var(--subhub-primary-deep);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.subhub-storefront .subhub-pickup-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(83, 107, 145, 0.18);
  border-radius: 16px;
  background: rgba(244, 246, 249, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.subhub-storefront .subhub-pickup-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.subhub-storefront .subhub-pickup-main span {
  color: var(--subhub-muted);
  font-size: 12px;
  font-weight: 900;
}

.subhub-storefront .subhub-pickup-main strong {
  color: var(--subhub-primary-deep);
  font-size: 14px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subhub-storefront .subhub-pickup-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.subhub-storefront .subhub-pickup-actions a,
.subhub-storefront .subhub-pickup-actions em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(83, 107, 145, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--subhub-primary-deep);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.subhub-storefront .subhub-pickup-actions em {
  color: var(--subhub-success);
  background: rgba(109, 150, 141, 0.1);
}

@media (max-width: 640px) {
  .subhub-storefront .subhub-pickup-panel,
  .subhub-storefront .subhub-pickup-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .subhub-storefront .subhub-pickup-actions a,
  .subhub-storefront .subhub-pickup-actions em {
    width: 100%;
  }
}

.subhub-storefront .subhub-stock-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 16px;
  border-color: rgba(109, 150, 141, 0.32);
  background: rgba(109, 150, 141, 0.14);
  color: var(--subhub-success);
}

.subhub-storefront .subhub-stock-strip i {
  font-size: 18px;
}

.subhub-storefront .subhub-stock-strip strong {
  color: var(--subhub-success);
  font-size: 17px;
  font-weight: 900;
}

.subhub-storefront .subhub-stock-qty-row {
  display: block;
  width: 100%;
}

.subhub-storefront .subhub-stock-qty-row .subhub-stock-strip {
  min-width: 0;
  min-height: 58px;
  height: auto;
  width: 100%;
}

.subhub-storefront .subhub-stock-strip-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.subhub-storefront .subhub-page-order-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
  min-height: 44px;
}

.subhub-storefront .subhub-page-order-entry .form-label {
  font-size: 15px;
  font-weight: 900;
  color: var(--subhub-primary-deep);
  margin: 0 !important;
  white-space: nowrap;
}

.subhub-storefront .subhub-stock-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .subhub-storefront .subhub-stock-strip-inline {
    grid-template-columns: minmax(0, 1fr);
  }

  .subhub-storefront .subhub-page-order-entry {
    width: 100%;
  }
}

.subhub-storefront .subhub-order-entry-footer {
  flex: 0 0 auto;
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.subhub-storefront .subhub-open-order-modal,
.subhub-storefront .subhub-confirm-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #85aaa2, #4d6385);
  box-shadow: 0 16px 34px rgba(34, 51, 79, 0.14);
  font-size: 18px;
  font-weight: 900;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.subhub-storefront .subhub-open-order-modal:hover,
.subhub-storefront .subhub-confirm-pay:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(34, 51, 79, 0.18);
}

.subhub-storefront .subhub-open-order-modal.is-disabled,
.subhub-storefront .subhub-open-order-modal:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.subhub-storefront .subhub-confirm-pay.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.subhub-storefront .subhub-order-entry-note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--subhub-muted);
  font-size: 13px;
  font-weight: 800;
}

.subhub-storefront .subhub-order-entry-note span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

body.subhub-order-modal-open {
  overflow: hidden;
}

.subhub-storefront .subhub-order-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.subhub-storefront .subhub-order-modal.is-open {
  display: flex;
}

.subhub-storefront .subhub-order-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.46);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.subhub-storefront .subhub-order-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  max-height: calc(100vh - 36px);
  overflow: hidden;
  border: 1px solid var(--subhub-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.24);
}

.subhub-storefront .subhub-order-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--subhub-line);
}

.subhub-storefront .subhub-order-modal-head h5 {
  margin: 0 0 4px;
  color: var(--subhub-primary-deep);
  font-size: 22px;
  font-weight: 900;
}

.subhub-storefront .subhub-order-modal-head p {
  margin: 0;
  color: var(--subhub-muted);
}

.subhub-storefront .subhub-order-modal-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--subhub-line);
  border-radius: 999px;
  color: var(--subhub-primary-deep);
  background: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.subhub-storefront .subhub-order-modal-body {
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 240px);
  overflow-y: auto;
  padding: 22px 24px;
}

.subhub-storefront .subhub-order-modal-body .form-label {
  font-size: 15px;
  font-weight: 900;
  color: var(--subhub-primary-deep);
}

.subhub-storefront .subhub-order-modal-body .cash-pay {
  padding: 16px !important;
  border: 1px solid rgba(109, 150, 141, 0.28);
  border-radius: 16px;
  background: rgba(109, 150, 141, 0.08);
}

.subhub-storefront .subhub-order-modal-body .cash-pay .pay-list {
  padding-top: 12px;
  border-top: 1px dashed rgba(83, 107, 145, 0.16);
}

.subhub-storefront .subhub-order-modal-foot {
  padding: 0 24px 24px;
}

.subhub-storefront .subhub-order-modal-foot .subhub-confirm-pay {
  min-height: 56px;
}

.subhub-purchase-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.subhub-purchase-guide-grid div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--subhub-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.subhub-purchase-guide-grid strong {
  color: var(--subhub-primary-deep);
}

.subhub-purchase-guide-grid span {
  color: var(--subhub-muted);
  line-height: 1.7;
}

.subhub-query-hero {
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--subhub-line);
  border-radius: var(--subhub-radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76)),
    radial-gradient(circle at top right, rgba(183, 149, 98, 0.16), transparent 38%);
  box-shadow: var(--subhub-shadow-sm);
}

.subhub-query-hero span {
  display: block;
  margin-bottom: 8px;
  color: var(--subhub-muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.subhub-query-hero h1 {
  margin-bottom: 8px;
  color: var(--subhub-primary-deep);
  font-size: clamp(24px, 3vw, 30px);
}

.subhub-query-hero p {
  margin: 0;
  color: var(--subhub-muted);
}

.subhub-query-panel .panel-body {
  padding: 22px;
}

.subhub-guest-query-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.subhub-back-home {
  flex: 0 0 auto;
  min-width: 108px;
  border-color: rgba(83, 107, 145, 0.22);
  color: var(--subhub-primary-deep);
  background: rgba(255, 255, 255, 0.78);
}

.subhub-guest-query-card .panel-body,
.subhub-guest-result-card .panel-body {
  padding: 28px;
}

.subhub-storefront .subhub-guest-query-card {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.subhub-storefront .subhub-guest-query-card .panel-body {
  padding: clamp(20px, 2.2vw, 26px) 0 8px;
}

.subhub-guest-query-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(180px, 0.85fr);
  gap: 18px;
  align-items: end;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 clamp(10px, 1.4vw, 18px);
}

.subhub-field {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--subhub-primary-deep);
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 700;
  align-self: end;
}

.subhub-field-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 24px;
  border: 0 !important;
  color: var(--subhub-primary-deep);
  background: transparent !important;
  box-shadow: none !important;
  font-size: 14px;
  line-height: 24px;
  text-align: left;
}

.subhub-input-control {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.subhub-field .form-control {
  width: 100%;
  min-height: 54px;
  border-color: rgba(83, 107, 145, 0.18);
  border-radius: 16px !important;
  color: var(--subhub-primary-deep);
  background: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 24px rgba(83, 107, 145, 0.06);
}

.subhub-field .form-control:focus {
  border-color: rgba(83, 107, 145, 0.45);
  box-shadow: 0 0 0 4px rgba(83, 107, 145, 0.1);
}

.subhub-guest-query-card .btn-search-query {
  min-height: 54px;
  margin-top: 32px;
  border-color: var(--subhub-primary);
  border-radius: 16px;
  background: var(--subhub-primary);
  box-shadow: var(--subhub-shadow-sm);
  font-weight: 700;
  white-space: nowrap;
}

.subhub-storefront .subhub-guest-query-card .btn-search-query {
  width: 100%;
}

.subhub-guest-query-card .subhub-password-toggle {
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

.subhub-guest-result-card {
  margin-top: 24px;
  min-height: 120px;
}

.subhub-guest-order {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--subhub-line);
  border-radius: var(--subhub-radius-md);
  background: rgba(255, 255, 255, 0.84);
}

.subhub-guest-order + .subhub-guest-order {
  margin-top: 16px;
}

.subhub-guest-order-head,
.subhub-guest-order-body {
  display: flex;
  align-items: center;
  gap: 16px;
}

.subhub-guest-order-head {
  justify-content: space-between;
}

.subhub-order-status,
.subhub-order-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 8px 8px 0;
  padding: 0 10px;
  border: 1px solid rgba(83, 107, 145, 0.14);
  border-radius: 999px;
  color: var(--subhub-primary-deep);
  background: rgba(244, 246, 249, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.subhub-order-status.muted {
  color: var(--subhub-muted);
}

.subhub-order-cover {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--subhub-line);
  background: #fff;
}

.subhub-order-info {
  min-width: 0;
}

.subhub-order-info h6 {
  margin-bottom: 8px;
  color: var(--subhub-primary-deep);
  font-size: 18px;
}

.subhub-order-info p {
  margin: 0 0 5px;
  color: var(--subhub-muted);
}

.subhub-order-pay-icon {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  object-fit: contain;
  vertical-align: middle;
}

.subhub-order-delivery {
  padding: 14px;
  border: 1px solid rgba(83, 107, 145, 0.14);
  border-radius: 16px;
  color: var(--subhub-primary-deep);
  background: rgba(244, 246, 249, 0.72);
}

.subhub-order-pickup {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(83, 107, 145, 0.16);
  border-radius: 16px;
  background: rgba(109, 150, 141, 0.08);
}

.subhub-order-pickup b,
.subhub-order-pickup span {
  display: block;
}

.subhub-order-pickup b {
  color: var(--subhub-primary-deep);
  font-size: 14px;
  font-weight: 900;
}

.subhub-order-pickup span {
  margin-top: 4px;
  color: var(--subhub-muted);
  font-size: 12px;
  word-break: break-all;
}

.subhub-order-pickup p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.subhub-order-pickup a,
.subhub-order-pickup em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(83, 107, 145, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--subhub-primary-deep);
  font-style: normal;
  text-decoration: none;
  white-space: nowrap;
}

.subhub-order-pickup em {
  color: var(--subhub-success);
  background: rgba(109, 150, 141, 0.1);
}

.subhub-order-delivery.muted {
  color: var(--subhub-muted);
}

.subhub-order-delivery pre {
  margin: 10px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--subhub-primary-deep);
  font-family: inherit;
}

.subhub-order-message {
  margin-top: 10px;
  color: var(--subhub-muted);
  line-height: 1.7;
}

.subhub-guest-query-note {
  margin: 22px 0 0;
  color: var(--subhub-muted);
  text-align: center;
}

.subhub-inline-action {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 34px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid rgba(83, 107, 145, 0.18);
  border-radius: 999px;
  color: var(--subhub-primary-deep);
  background: rgba(255, 255, 255, 0.72);
}

.subhub-inline-action:hover {
  border-color: rgba(83, 107, 145, 0.28);
  color: var(--subhub-primary);
  background: rgba(255, 255, 255, 0.9);
}

.subhub-inline-action.is-disabled {
  border-style: dashed;
  color: var(--subhub-muted);
  background: rgba(244, 246, 249, 0.72);
  cursor: not-allowed;
}

.subhub-supplier-api .panel-body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.subhub-api-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subhub-api-list code {
  padding: 8px 11px;
  border: 1px solid rgba(83, 107, 145, 0.14);
  border-radius: 999px;
  color: var(--subhub-primary-deep);
  background: rgba(83, 107, 145, 0.08);
}

.subhub-query-tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.subhub-query-tips article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--subhub-line);
  border-radius: var(--subhub-radius-md);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--subhub-shadow-sm);
}

.subhub-query-tips strong {
  color: var(--subhub-primary-deep);
}

.subhub-query-tips span {
  color: var(--subhub-muted);
  line-height: 1.7;
}

@media (max-width: 1199px) {
  body.subhub-storefront {
    --subhub-nav-height: 118px;
  }

  .subhub-storefront .navbar-subhub {
    top: 8px;
    border-radius: 18px;
  }

  .subhub-storefront .navbar-subhub .container {
    flex-wrap: wrap;
    gap: 12px;
    min-height: 68px;
  }

  .subhub-nav-left {
    order: 1;
    flex: 1 1 auto;
    gap: 10px;
  }

  .subhub-storefront .navbar-toggler {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .subhub-storefront .user-login-box,
  .subhub-storefront .user-info-box {
    order: 3;
    margin-left: 0 !important;
  }

  .subhub-storefront .navbar-collapse {
    order: 5;
    flex: 0 0 100%;
    width: 100%;
    overflow-x: auto;
  }

  .subhub-storefront .subhub-main-menu {
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
  }

  .subhub-storefront .subhub-main-menu .nav-link {
    padding: 9px 8px;
  }
}

@media (max-width: 991px) {
  .subhub-storefront-grid,
  .subhub-platform-grid,
  .subhub-item-assurance-grid,
  .subhub-purchase-guide-grid,
  .subhub-query-tips {
    grid-template-columns: 1fr;
  }

  .subhub-guest-query-hero,
  .subhub-guest-order-head,
  .subhub-guest-order-body {
    align-items: stretch;
    flex-direction: column;
  }

  .subhub-guest-query-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    padding: 0;
  }

  .subhub-guest-query-card .btn-search-query {
    width: 100%;
    margin-top: 0;
  }
}

.subhub-storefront .panel,
.subhub-storefront .subhub-product-card {
  border: 1px solid var(--subhub-line);
  border-radius: var(--subhub-radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--subhub-shadow-sm);
}

.subhub-storefront .panel {
  margin-bottom: 0;
}

.subhub-storefront .panel {
  overflow: hidden;
}

.subhub-storefront .panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid var(--subhub-line);
  background: rgba(250, 248, 245, 0.75);
}

.subhub-storefront .panel-title {
  margin: 0;
  color: var(--subhub-primary-deep);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.subhub-storefront .panel-header .icon {
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(83, 107, 145, 0.1);
  color: var(--subhub-primary);
  font-size: 14px;
  line-height: 1;
}

.subhub-storefront .panel-body {
  padding: 18px;
}

.subhub-storefront .subhub-purchase-guide .panel-body,
.subhub-storefront .item-detail .panel-body,
.subhub-storefront .subhub-platform-assurance .panel-body {
  padding: 18px;
}

.subhub-storefront .subhub-purchase-guide-grid {
  align-items: stretch;
}

.subhub-storefront .subhub-purchase-guide-grid div {
  min-height: 104px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.subhub-storefront .item-detail .panel-body {
  color: var(--subhub-text);
  font-size: 15px;
  line-height: 1.8;
}

.subhub-storefront .item-detail .panel-body > :last-child,
.subhub-storefront .subhub-purchase-guide .panel-body > :last-child {
  margin-bottom: 0;
}

.subhub-storefront .chip {
  border: 1px solid var(--subhub-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--subhub-muted);
}

.subhub-storefront .chip.is-primary,
.subhub-storefront .sku.is-primary {
  border-color: rgba(83, 107, 145, 0.28);
  background: rgba(83, 107, 145, 0.12);
  color: var(--subhub-primary-deep);
}

.subhub-storefront .pay-list .pay.is-primary,
.subhub-storefront .pay-list .pay.active,
.subhub-storefront .pay-list .pay.selected,
.subhub-storefront .optional-card.is-primary {
  border-color: rgba(83, 107, 145, 0.28);
  color: #fff;
  background: linear-gradient(135deg, var(--subhub-primary), var(--subhub-primary-deep));
  box-shadow: 0 10px 22px rgba(34, 51, 79, 0.16);
}

.subhub-storefront .sku {
  border: 1px solid var(--subhub-line);
  border-radius: 999px;
}

.subhub-storefront .badge-soft-primary {
  background: rgba(83, 107, 145, 0.12);
  color: var(--subhub-primary);
}

.subhub-storefront .badge-soft-success {
  background: rgba(109, 150, 141, 0.14);
  color: var(--subhub-success);
}

.subhub-storefront .badge-soft-warning {
  background: rgba(188, 149, 98, 0.14);
  color: var(--subhub-warning);
}

.subhub-storefront .badge-soft-danger {
  background: rgba(156, 107, 101, 0.14);
  color: var(--subhub-danger);
}

.subhub-storefront .badge-soft-muted {
  background: rgba(102, 114, 134, 0.12);
  color: var(--subhub-muted);
}

.subhub-storefront .badge-soft-info {
  background: rgba(183, 149, 98, 0.14);
  color: var(--subhub-accent);
}

.subhub-storefront .badge-soft-primary,
.subhub-storefront .badge-soft-success,
.subhub-storefront .badge-soft-warning,
.subhub-storefront .badge-soft-danger,
.subhub-storefront .badge-soft-muted,
.subhub-storefront .badge-soft-info,
.subhub-storefront .subhub-badge {
  border-radius: var(--subhub-radius-pill);
}

.subhub-storefront .status-badge,
.subhub-storefront .shipment-badge {
  border-radius: var(--subhub-radius-pill);
  box-shadow: none;
  text-shadow: none;
}

.subhub-storefront .status-badge.status-pending,
.subhub-storefront .status-badge.status-waiting-shipment,
.subhub-storefront .shipment-badge.shipment-pending,
.subhub-storefront .shipment-badge.shipment-waiting {
  border: 1px solid rgba(188, 149, 98, 0.2);
  color: var(--subhub-warning);
  background: rgba(188, 149, 98, 0.14);
}

.subhub-storefront .status-badge.status-paid,
.subhub-storefront .shipment-badge.shipment-paid {
  border: 1px solid rgba(109, 150, 141, 0.18);
  color: var(--subhub-success);
  background: rgba(109, 150, 141, 0.14);
}

.subhub-storefront .status-badge.status-completed,
.subhub-storefront .status-badge.status-shipped,
.subhub-storefront .shipment-badge.shipment-shipped {
  border: 1px solid rgba(83, 107, 145, 0.18);
  color: var(--subhub-primary-deep);
  background: rgba(83, 107, 145, 0.14);
}

.subhub-storefront .status-badge.status-cancelled {
  border: 1px solid rgba(156, 107, 101, 0.2);
  color: var(--subhub-danger);
  background: rgba(156, 107, 101, 0.14);
}

.subhub-storefront .btn-primary {
  border-color: var(--subhub-primary);
  color: #fff;
  background: var(--subhub-primary);
}

.subhub-storefront .btn-primary:hover,
.subhub-storefront .btn-primary:focus {
  border-color: var(--subhub-primary-deep);
  color: #fff;
  background: var(--subhub-primary-deep);
}

.subhub-storefront .btn-outline-secondary {
  border-color: var(--subhub-line-strong);
  color: var(--subhub-text);
}

.subhub-storefront .btn-outline-primary {
  border-color: rgba(83, 107, 145, 0.3);
  color: var(--subhub-primary);
}

.subhub-storefront .btn-outline-primary:hover,
.subhub-storefront .btn-outline-primary:focus {
  border-color: var(--subhub-primary);
  color: #fff;
  background: var(--subhub-primary);
}

.subhub-storefront .item-cover {
  border-radius: calc(var(--subhub-radius-md) - 4px);
}

.subhub-storefront .subhub-item-media {
  flex: 0 0 auto !important;
  width: min(100%, 1000px) !important;
  max-width: 1000px !important;
  height: auto !important;
  max-height: 1000px !important;
  min-height: 0;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.9);
}

.subhub-storefront .subhub-item-media .item-cover {
  position: static !important;
  inset: auto !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 1000px;
  max-height: 1000px;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (min-width: 992px) {
  .subhub-storefront .subhub-item-shell.is-authenticated .row.align-items-stretch {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch !important;
    gap: 24px;
    max-width: 1624px;
    margin-right: auto;
    margin-left: auto;
  }

  .subhub-storefront .subhub-item-shell.is-authenticated .row.align-items-stretch > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
    align-self: stretch !important;
    align-items: stretch !important;
  }

  .subhub-storefront .subhub-item-shell.is-authenticated .row.align-items-stretch > [class*="col-"]:first-child {
    justify-content: flex-end !important;
    align-items: stretch !important;
  }

  .subhub-storefront .subhub-item-shell.is-authenticated .row.align-items-stretch > [class*="col-"]:last-child {
    justify-content: flex-start !important;
    align-items: stretch !important;
  }

  .subhub-storefront .subhub-item-shell.is-authenticated .subhub-item-media {
    width: 100% !important;
    max-width: 800px !important;
    height: 100% !important;
    max-height: none !important;
    align-self: stretch;
    aspect-ratio: 1 / 1;
  }

  .subhub-storefront .subhub-item-shell.is-authenticated .subhub-item-media .item-cover {
    max-width: 800px;
    max-height: 800px;
  }

  .subhub-storefront .subhub-item-shell.is-authenticated .subhub-item-buybox {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 800px !important;
    height: 100%;
    max-height: none;
    align-self: stretch;
    aspect-ratio: 1 / 1;
  }

  .subhub-storefront .subhub-item-shell.is-authenticated .subhub-item-buybox form {
    justify-content: flex-start;
  }

  .subhub-storefront .subhub-item-shell.is-authenticated .subhub-item-form-scroll {
    flex: 1 1 auto;
    height: 100%;
    max-height: none;
  }

  .subhub-storefront .subhub-item-shell.is-authenticated .subhub-item-buybox .cash-pay {
    margin-top: 16px;
  }
}

@media (min-width: 992px) {
  .subhub-storefront .subhub-item-shell .row.align-items-stretch > [class*="col-"] {
    display: flex;
    align-items: stretch;
  }
}

.subhub-storefront .price,
.subhub-storefront .price .unit,
.subhub-storefront .goods-price,
.subhub-storefront .amount-value {
  color: var(--subhub-accent);
}

.subhub-storefront .form-control,
.subhub-storefront .optional-card,
.subhub-storefront .change-num-sub,
.subhub-storefront .change-num-add {
  border-color: var(--subhub-line);
}

.subhub-storefront .form-control,
.subhub-storefront .form-select,
.subhub-storefront textarea,
.subhub-storefront input,
.subhub-storefront select {
  color: var(--subhub-text);
}

.subhub-storefront .form-control::placeholder,
.subhub-storefront textarea::placeholder,
.subhub-storefront input::placeholder {
  color: var(--subhub-muted);
}

.subhub-storefront .form-control:focus,
.subhub-storefront .form-select:focus,
.subhub-storefront textarea:focus,
.subhub-storefront input:focus,
.subhub-storefront select:focus {
  border-color: rgba(83, 107, 145, 0.4);
  box-shadow: 0 0 0 0.25rem rgba(83, 107, 145, 0.12);
}

.subhub-storefront .sku .badge-money,
.subhub-storefront .sku .badge-moeny {
  background: linear-gradient(135deg, var(--subhub-accent), var(--subhub-primary));
  box-shadow: 0 8px 18px rgba(83, 107, 145, 0.18);
}

.subhub-storefront .soldout-ribbon {
  background: linear-gradient(135deg, var(--subhub-danger), #7f5752);
  box-shadow: 0 6px 16px rgba(156, 107, 101, 0.22);
}

.subhub-storefront .input-group.qty-group {
  display: grid;
  grid-template-columns: 36px minmax(56px, 1fr) 36px;
  align-items: center;
  width: min(100%, 168px);
  height: 44px;
  gap: 4px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(83, 107, 145, 0.18);
  border-radius: 14px;
  border-color: rgba(83, 107, 145, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 249, 0.92));
  box-shadow:
    0 8px 20px rgba(34, 51, 79, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.subhub-storefront .subhub-stock-qty-row .input-group.qty-group {
  width: 168px;
}

.subhub-storefront .input-group.qty-group > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: var(--subhub-primary-deep);
  background: rgba(83, 107, 145, 0.1);
  box-shadow: none;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

.subhub-storefront .input-group.qty-group > button i {
  font-size: 13px;
  line-height: 1;
}

.subhub-storefront .input-group.qty-group > button:hover,
.subhub-storefront .input-group.qty-group > button:focus {
  color: #fff;
  background: linear-gradient(135deg, var(--subhub-primary), var(--subhub-primary-deep));
}

.subhub-storefront .input-group.qty-group > button:active {
  transform: scale(0.96);
}

.subhub-storefront .input-group.qty-group > input[type="number"] {
  width: 100%;
  height: 34px;
  min-width: 0;
  padding: 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--subhub-primary-deep);
}

.subhub-storefront .input-group.qty-group > input[type="number"]::-webkit-outer-spin-button,
.subhub-storefront .input-group.qty-group > input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.subhub-storefront .input-group.qty-group > input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.subhub-storefront .subhub-guest-qty-captcha-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 320px);
  align-items: end;
  column-gap: 16px;
  row-gap: 8px;
  max-width: min(100%, 516px);
}

.subhub-storefront .subhub-guest-qty-label,
.subhub-storefront .subhub-guest-captcha-label {
  font-weight: 800;
  color: var(--subhub-primary-deep);
}

.subhub-storefront .subhub-guest-qty-label {
  grid-column: 1;
  grid-row: 1;
}

.subhub-storefront .subhub-guest-captcha-label {
  grid-column: 2;
  grid-row: 1;
}

.subhub-storefront .subhub-guest-qty-field {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.subhub-storefront .subhub-guest-captcha-field {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

@media (max-width: 680px) {
  .subhub-storefront .subhub-guest-qty-captcha-row {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
  }

  .subhub-storefront .subhub-guest-qty-label,
  .subhub-storefront .subhub-guest-qty-field,
  .subhub-storefront .subhub-guest-captcha-label,
  .subhub-storefront .subhub-guest-captcha-field {
    grid-column: 1;
  }

  .subhub-storefront .subhub-guest-qty-label {
    grid-row: 1;
  }

  .subhub-storefront .subhub-guest-qty-field {
    grid-row: 2;
  }

  .subhub-storefront .subhub-guest-captcha-label {
    grid-row: 3;
  }

  .subhub-storefront .subhub-guest-captcha-field {
    grid-row: 4;
  }
}

.subhub-storefront .subhub-guest-qty-field {
  flex: 0 0 auto;
}

.subhub-storefront .subhub-guest-captcha-field {
  display: block;
  padding-bottom: 0;
}

@supports not (display: grid) {
  .subhub-storefront .subhub-guest-qty-captcha-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
  }

  .subhub-storefront .subhub-guest-qty-label,
  .subhub-storefront .subhub-guest-captcha-label {
    display: none;
  }

  .subhub-storefront .subhub-guest-qty-field,
  .subhub-storefront .subhub-guest-captcha-field {
    flex: 0 0 auto;
  }
}

/* Legacy browsers without the updated template still keep a usable inline layout. */
.subhub-storefront .subhub-guest-captcha-field .form-label {
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 800;
  color: var(--subhub-primary-deep);
}

.subhub-storefront .subhub-captcha-group {
  display: flex;
  flex-wrap: nowrap;
  width: 100% !important;
  max-width: 320px;
  min-width: 0;
}

.subhub-storefront .subhub-captcha-group .captcha-input {
  flex: 1 1 auto;
  min-width: 0;
}

.subhub-storefront .subhub-captcha-group .input-group-append {
  flex: 0 0 auto;
}

.subhub-storefront .subhub-captcha-group .captcha-img {
  width: 88px;
  height: 44px;
  object-fit: contain;
}

/*
 * Deprecated duplicate rules are intentionally overridden above.
 */
.subhub-storefront .subhub-guest-qty-captcha-row-legacy {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.subhub-storefront .cash-pay .form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--subhub-primary-deep);
}

.subhub-storefront .cash-pay .form-label i,
.subhub-storefront .item-detail .panel-header .icon,
.subhub-storefront .view-card-btn,
.subhub-storefront .copy-all-btn {
  background: linear-gradient(135deg, var(--subhub-primary), var(--subhub-primary-deep));
  box-shadow: 0 6px 14px rgba(34, 51, 79, 0.18);
}

.subhub-storefront .cash-pay .form-label i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
}

.subhub-storefront .cash-pay {
  padding: 12px 0 0 !important;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.subhub-storefront .cash-pay .pay-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 0;
  border-top: 0;
}

.subhub-storefront .pay-list .pay {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(83, 107, 145, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 22px rgba(34, 51, 79, 0.08);
  color: var(--subhub-text);
}

.subhub-storefront .pay-list .pay img {
  width: 34px;
  height: 34px;
  padding: 5px;
  border-radius: 11px;
  object-fit: contain;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(83, 107, 145, 0.1);
}

.subhub-storefront .pay-list .pay span {
  font-size: 15px;
  font-weight: 800;
  color: var(--subhub-primary-deep);
}

.subhub-storefront .pay-list .pay:hover,
.subhub-storefront .pay-list .pay:focus {
  border-color: rgba(83, 107, 145, 0.3);
  transform: translateY(-1px);
}

.subhub-storefront .pay-list .pay.is-primary img,
.subhub-storefront .pay-list .pay.active img,
.subhub-storefront .pay-list .pay.selected img {
  background: rgba(255, 255, 255, 0.92);
}

.subhub-storefront .pay-list .pay.is-primary span,
.subhub-storefront .pay-list .pay.active span,
.subhub-storefront .pay-list .pay.selected span {
  color: #fff;
}

.subhub-storefront .view-card-btn,
.subhub-storefront .copy-all-btn {
  border-color: var(--subhub-primary);
}

.subhub-storefront .view-card-btn:hover,
.subhub-storefront .copy-all-btn:hover {
  background: linear-gradient(135deg, var(--subhub-primary-deep), var(--subhub-primary));
  box-shadow: 0 10px 18px rgba(34, 51, 79, 0.22);
}

.subhub-storefront .wholesale-table thead th,
.subhub-storefront .wholesale-table tbody td {
  color: var(--subhub-primary) !important;
}

.subhub-storefront .payment-method {
  box-shadow: inset rgba(83, 107, 145, 0.12) -20px 0 2px 2px;
}

.subhub-storefront footer {
  color: var(--subhub-muted);
}

.subhub-site-footer {
  display: block !important;
  margin-top: 34px;
  padding: 0;
  border-top: 1px solid var(--subhub-line);
  background: rgba(255, 255, 255, 0.7);
}

.subhub-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(140px, 1fr));
  align-items: start;
  gap: clamp(20px, 3vw, 36px);
  padding-top: 34px;
  padding-bottom: 26px;
}

.subhub-footer-brand p {
  max-width: 340px;
  line-height: 1.8;
}

.subhub-footer-column {
  min-width: 0;
}

.subhub-footer-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--subhub-primary-deep);
}

.subhub-footer-grid p,
.subhub-footer-grid a,
.subhub-footer-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--subhub-muted);
  line-height: 1.7;
}

.subhub-footer-column a:hover {
  color: var(--subhub-primary-deep);
}

.subhub-footer-bottom {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 26px;
  border-top: 1px solid var(--subhub-line);
}

.subhub-storefront .dropdown-menu {
  border: 1px solid var(--subhub-line);
  border-radius: var(--subhub-radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--subhub-shadow-md);
}

.subhub-storefront .dropdown-item {
  min-height: 38px;
  border-radius: 12px;
}

.subhub-storefront .dropdown-item:hover,
.subhub-storefront .dropdown-item:focus {
  color: var(--subhub-primary-deep);
  background: rgba(83, 107, 145, 0.1);
}

.subhub-storefront .text-danger {
  color: var(--subhub-danger) !important;
}

.subhub-storefront .no-results .panel,
.subhub-storefront .loading-state .panel {
  text-align: center;
}

@media (max-width: 991px) {
  body.subhub-storefront {
    --subhub-nav-height: 124px;
  }

  .subhub-storefront .container,
  .subhub-nav-notice {
    width: min(calc(100% - 28px), var(--subhub-page-max)) !important;
  }

  .subhub-storefront .navbar-subhub {
    width: min(calc(100% - 28px), var(--subhub-nav-max)) !important;
    border-radius: 18px;
  }

  .subhub-nav-left {
    gap: 10px;
  }

  .subhub-nav-tagline {
    max-width: 220px;
    font-size: 11px;
  }

  .subhub-storefront .navbar-subhub .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .subhub-hero {
    padding: 22px;
  }

  .subhub-hero-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .subhub-home-store .subhub-hero-layout {
    grid-template-columns: 1fr;
  }

  .subhub-hero-points {
    min-height: 0;
    padding: 12px;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .subhub-hero-metrics {
    width: min(100%, 336px);
    margin-right: auto;
    margin-left: auto;
  }

  .subhub-hero-metrics.subhub-store-metrics {
    width: min(100%, 336px);
  }

  .subhub-category-grid,
  .subhub-featured-grid,
  .subhub-merchant-grid,
  .subhub-live-metrics,
  .subhub-live-grid,
  .subhub-doc-layout,
  .subhub-footer-grid {
    grid-template-columns: 1fr;
  }

  .subhub-doc-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subhub-doc-rule-grid {
    grid-template-columns: 1fr;
  }

  .subhub-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .subhub-query-panel .d-flex {
    align-items: stretch !important;
    flex-direction: column;
  }

  .subhub-query-panel .d-flex > div:first-child {
    width: 100% !important;
  }

  .subhub-query-panel .btn {
    width: 100%;
  }

  .subhub-goods-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .subhub-goods-toolbar select,
  .subhub-filter-apply {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  body.subhub-storefront {
    --subhub-nav-height: 132px;
  }

  .subhub-storefront .container,
  .subhub-nav-notice {
    width: min(calc(100% - 16px), var(--subhub-page-max)) !important;
  }

  .subhub-storefront .navbar-subhub {
    width: min(calc(100% - 16px), var(--subhub-nav-max)) !important;
  }

  .subhub-storefront .navbar-subhub .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .subhub-goods-toolbar {
    grid-template-columns: 1fr;
  }

  .subhub-goods-toolbar select,
  .subhub-filter-apply {
    grid-column: auto;
  }

  .subhub-live-board,
  .subhub-doc-hero,
  .subhub-doc-content section {
    border-radius: 16px;
    padding: 16px;
  }

  .subhub-live-product {
    grid-template-columns: 30px 46px minmax(0, 1fr);
  }

  .subhub-live-product em {
    grid-column: 3;
    justify-self: start;
  }

  .subhub-doc-toc {
    grid-template-columns: 1fr;
  }

  .subhub-storefront .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .subhub-storefront .navbar-brand {
    max-width: calc(100vw - 86px);
  }

  .subhub-brand-title {
    font-size: 16px;
  }

  .subhub-nav-tagline {
    max-width: calc(100vw - 122px);
  }

  .subhub-storefront .subhub-service-link {
    min-height: 34px;
    padding: 0 10px;
  }

  .subhub-storefront .subhub-service-link span {
    display: none;
  }

  .subhub-storefront .user-login-box {
    width: 100%;
    justify-content: stretch;
  }

  .subhub-storefront .user-login-box .btn {
    flex: 1 1 0;
    min-height: 38px;
  }

  .subhub-storefront .user-info-box {
    width: 100%;
    justify-content: space-between;
  }

  .subhub-storefront .user-info-box .dropdown {
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .subhub-storefront .subhub-avatar-entry {
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .subhub-storefront .subhub-main-menu .nav-link {
    min-height: 38px;
  }

  .subhub-hero,
  .subhub-nav-notice {
    border-radius: 18px;
  }
}

.subhub-context-store .subhub-hero.subhub-home-store {
  padding: 20px 24px;
}

.subhub-context-store .subhub-home-store .subhub-hero-layout {
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
}

.subhub-context-store .subhub-home-store .subhub-kicker {
  margin-bottom: 8px;
}

.subhub-context-store .subhub-home-store .subhub-hero-badge-row {
  margin-bottom: 8px;
}

.subhub-context-store .subhub-home-store .subhub-hero p {
  max-width: 760px;
  line-height: 1.55;
}

.subhub-context-store .subhub-home-store .subhub-hero-categories,
.subhub-context-store .subhub-home-store .subhub-hero-actions {
  margin-top: 12px;
}

.subhub-context-store .subhub-home-store .subhub-hero-metrics {
  gap: 10px;
}

.subhub-context-store .subhub-home-store .subhub-hero-metric {
  min-height: 70px;
  padding: 8px 10px;
  border-radius: 16px;
}

.subhub-legal-content {
  line-height: 1.8;
  color: var(--subhub-text);
  font-size: 15px;
}

.subhub-legal-content h1,
.subhub-legal-content h2,
.subhub-legal-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--subhub-primary-deep);
}

.subhub-legal-content p {
  margin-bottom: 12px;
}

.subhub-legal-content ul,
.subhub-legal-content ol {
  padding-left: 24px;
  margin-bottom: 12px;
}
