@import url("/base.css?v=20260921-i18n-full2");

[hidden] {
  display: none !important;
}

.section-title-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.section-title-actions h2 {
  margin: 0;
}

.section-more-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.section-more-link:hover,
.section-more-link:focus-visible {
  border-color: var(--red);
  background: #fff7f5;
  color: var(--red);
  outline: none;
}

.section-more-link span {
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 600px) {
  .section-title-actions {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }
}

.brand-logo {
  gap: 9px;
}

.brand-logo img {
  width: 68px;
  height: 38px;
  object-fit: contain;
}

.brand-logo span {
  font-size: 16px;
  font-weight: 800;
  color: #223042;
  white-space: nowrap;
}

.brand-logo .brand-mark {
  display: none;
}

.detail-dialog > h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.detail-dialog > h2.detail-title-size-1 {
  font-size: clamp(24px, 2.6vw, 30px);
}

.detail-dialog > h2.detail-title-size-2 {
  font-size: clamp(22px, 2.25vw, 26px);
}

.detail-dialog > h2.detail-title-size-3 {
  font-size: clamp(20px, 2vw, 23px);
}

.detail-dialog > h2.detail-title-size-4 {
  font-size: clamp(18px, 1.75vw, 20px);
}

.detail-dialog > h2.detail-title-size-5 {
  font-size: clamp(16px, 1.6vw, 18px);
}

.detail-content {
  margin-bottom: 18px;
}

.detail-note p {
  white-space: pre-line;
}

.detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.detail-grid div {
  min-height: 54px;
  padding: 12px;
}

.detail-grid strong {
  overflow-wrap: anywhere;
}

.detail-purchase {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(128px, auto);
  gap: 12px 16px;
  align-items: end;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.purchase-quantity {
  display: grid;
  gap: 7px;
}

.purchase-quantity > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-pay-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.detail-pay-actions .detail-buy-button {
  width: 100%;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 44px 72px 44px;
  width: 160px;
  height: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.quantity-stepper button {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: #f1f5f9;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

.quantity-stepper button:hover,
.quantity-stepper button:focus-visible {
  background: #e2e8f0;
  outline: none;
}

.quantity-stepper input {
  width: 72px;
  min-width: 0;
  padding: 0 6px;
  border: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-weight: 900;
  text-align: center;
  appearance: textfield;
}

.quantity-stepper input::-webkit-inner-spin-button,
.quantity-stepper input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.detail-buy-button {
  min-width: 128px;
  min-height: 44px;
}

.detail-buy-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.purchase-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 480px) {
  .detail-modal {
    place-items: start center;
    padding: max(12px, env(safe-area-inset-top)) 10px max(18px, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .detail-dialog {
    width: min(100%, 430px);
    max-height: calc(100vh - max(24px, env(safe-area-inset-top)) - max(24px, env(safe-area-inset-bottom)));
    max-height: calc(100dvh - max(24px, env(safe-area-inset-top)) - max(24px, env(safe-area-inset-bottom)));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 22px 18px 26px;
    border-radius: 14px;
  }

  .detail-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .detail-dialog > .eyebrow {
    padding-right: 48px;
  }

  .detail-dialog > h2,
  .detail-dialog > h2.detail-title-size-1,
  .detail-dialog > h2.detail-title-size-2,
  .detail-dialog > h2.detail-title-size-3,
  .detail-dialog > h2.detail-title-size-4,
  .detail-dialog > h2.detail-title-size-5 {
    margin-bottom: 14px;
    padding-right: 48px;
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.22;
  }

  .detail-note,
  .detail-grid div {
    padding: 13px;
  }

  .detail-content {
    margin-bottom: 14px;
  }

  .detail-grid {
    gap: 9px;
    margin: 14px 0;
  }

  .detail-grid div {
    min-height: 76px;
  }

  .detail-purchase {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .quantity-stepper { grid-template-columns: 40px 58px 40px; width: 138px; }
  .quantity-stepper input { width: 58px; }
  .detail-pay-actions {
    width: 100%;
  }
  .detail-buy-button { min-width: 0; min-height: 46px; }
  .detail-online-pay { grid-template-columns: 1fr; }
}

.card-media span {
  display: block;
  max-width: 100%;
  font-size: 26px;
  line-height: 1.18;
}

.card-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 8px;
  color: var(--red);
  background: #fff1ef;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 20px 0;
  padding: 14px 16px;
  background: var(--paper);
  border-radius: 8px;
}

.board-loading {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 800;
}

.deal-board .board-top {
  justify-content: flex-start;
}

.deal-board .hot-board-item {
  cursor: pointer;
  transition: background 0.18s ease, padding-inline 0.18s ease;
}

.deal-board .hot-board-item:hover,
.deal-board .hot-board-item:focus-visible {
  padding-inline: 10px;
  background: var(--paper);
  outline: 0;
}

.hot-board-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.hot-board-title b {
  min-width: 0;
  font-size: 17px;
  line-height: 1.35;
}

.hot-board-title strong {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 17px;
  line-height: 1.35;
  white-space: nowrap;
}

.deal-board .hot-board-item > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.6;
}

.deal-board .hot-board-item > strong {
  display: none;
}

.price-line span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.price-line strong {
  color: var(--red);
  font-size: 20px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.accounts-page {
  min-height: 100vh;
  background: var(--paper);
}

.accounts-shell {
  padding: 42px 6vw 80px;
}

.home-products-shell {
  display: grid;
  gap: 18px;
  padding-top: 34px;
}

.home-top-stack {
  display: grid;
  gap: 14px;
}

.home-notice {
  padding: 14px 16px;
  border: 1px solid #f8dfa2;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(240, 169, 29, 0.08);
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.home-feature-card {
  display: grid;
  gap: 5px;
  min-height: 94px;
  padding: 16px;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.home-feature-card:hover,
.home-feature-card:focus-visible {
  border-color: rgba(239, 73, 63, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.home-feature-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.home-feature-card strong {
  font-size: 20px;
  line-height: 1.2;
}

.home-feature-card small {
  color: var(--muted);
  line-height: 1.45;
}

.accounts-panel {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.accounts-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.accounts-panel-head h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.account-search {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: var(--paper);
  font: inherit;
}

.all-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.all-category-row,
.all-subcategory-row,
.all-sort-row {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  gap: 8px;
}

.all-category-row {
  gap: 10px;
}

.all-subcategory-row {
  position: relative;
  align-items: center;
  margin-top: 12px;
  gap: 6px;
  padding: 9px 12px 9px 70px;
  border: 1px solid #e7eef8;
  border-radius: 10px;
  background: #f7faff;
}

.subcategory-label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #7a8798;
  font-size: 14px;
  font-weight: 400;
}

.all-subcategory-row button {
  min-height: 32px;
  padding: 5px 10px;
  color: #64748b;
  background: #eef4fb;
  border-color: transparent;
  border-radius: 9px;
  font-family: SimSun, "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 14px;
  font-weight: 400;
}

.all-subcategory-row button.active {
  color: var(--white);
  background: #64748b;
  border-color: #64748b;
}

.all-subcategory-row .count-pill {
  padding: 1px 6px;
  color: #5274b8;
  background: #dfeafe;
  font-size: 10px;
  font-weight: 600;
}

.all-subcategory-row button.active .count-pill {
  color: #64748b;
  background: rgba(255, 255, 255, 0.86);
}

.all-sort-row {
  margin: 18px 0 4px;
  padding-top: 14px;
  border-top: 1px solid #dfe7f0;
}

.all-sort-row button {
  min-height: 34px;
  padding: 6px 13px;
  color: var(--muted);
  background: #f4f6f8;
  border-color: #edf1f5;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
}

.all-sort-row button.active {
  color: var(--white);
  background: var(--dark);
  border-color: var(--dark);
}

.all-category-tabs button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.all-category-row button {
  margin: 0;
}

.all-category-tabs button.active {
  color: var(--white);
  background: var(--dark);
  border-color: var(--dark);
}

.count-pill {
  padding: 2px 7px;
  color: var(--blue);
  background: #eaf2ff;
  border-radius: 999px;
  font-size: 12px;
}

.all-category-tabs .all-subcategory-row button {
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 9px;
  font-family: SimSun, "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 14px;
  font-weight: 400;
}

.all-category-tabs .all-subcategory-row .count-pill {
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
}

.all-category-tabs button.active .count-pill {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.all-products {
  display: grid;
  gap: 10px;
}

.all-product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.all-product-row h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.all-product-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.row-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: baseline;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.row-price {
  display: inline-block;
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.row-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, auto));
  gap: 8px;
  align-items: center;
  justify-content: end;
}

.row-actions .button {
  min-width: 96px;
  padding-inline: 18px;
}

.all-products-more {
  justify-self: center;
  min-width: 160px;
  margin-top: 6px;
}

.all-products-status {
  margin: 4px 0 0;
  color: var(--muted);
  text-align: center;
}

.all-products-sentinel {
  height: 1px;
}

@media (max-width: 760px) {
  .home-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .all-product-row {
    grid-template-columns: 1fr;
  }

  .row-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .row-actions .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .home-products-shell {
    padding-top: 22px;
  }

  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-feature-card {
    min-height: auto;
  }
}

.contact-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.contact-form option {
  color: var(--ink);
}

.form-status {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  font-weight: 800;
}

.form-status strong {
  color: var(--gold);
}
.account-trigger {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.account-trigger.signed-in {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.account-trigger strong,
.account-balance {
  color: var(--red);
}

.account-entry { position: relative; }
.account-entry-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; display: grid; width: 150px; padding: 7px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 16px 40px rgba(20, 31, 48, .16); }
.account-entry-menu[hidden] { display: none; }
.account-entry-menu button, .account-entry-menu a { display: flex; align-items: center; min-height: 40px; padding: 8px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 800; text-align: left; text-decoration: none; cursor: pointer; }
.account-entry-menu button:hover, .account-entry-menu a:hover { background: #f1f5fb; color: #2864d8; }

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.68);
}

.account-dialog {
  position: relative;
  width: min(460px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
}

.account-dialog.account-center {
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-height: min(720px, calc(100vh - 56px));
  overflow: hidden;
  padding: 30px 32px 22px;
  border-radius: 12px;
}

.account-dialog h2 {
  margin: 4px 0 18px;
  font-size: 28px;
}

.account-tabs,
.account-center-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 6px;
  background: #f1f5f9;
}

.account-tabs button,
.account-center-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.account-tabs button.active,
.account-center-tabs button.active {
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}

.account-form {
  display: grid;
  gap: 14px;
}

.account-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
}

.account-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
  font: inherit;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 56px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 2px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: #e2e8f0;
  outline: none;
}


.account-status {
  min-height: 20px;
  margin: 0;
  color: var(--red);
}

.account-status.success {
  color: #16804b;
}

.account-password-modal {
  z-index: 1100;
}

.account-dialog.account-password-dialog {
  width: min(520px, 100%);
}

.account-password-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.account-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 18px;
}

.account-summary > div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 6px;
  background: #f1f5f9;
}

.account-summary span,
.account-record span {
  color: var(--muted);
  font-size: 13px;
}

.account-order-card {
  align-content: center;
}

.account-order-card .button {
  width: 100%;
  min-height: 46px;
}

.account-order-card span {
  text-align: center;
}

.account-balance-card {
  align-content: center;
}

.account-balance-line {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.account-balance-line .button {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 13px;
  white-space: nowrap;
}

.account-balance-line .account-recharge-button {
  min-height: 40px;
  padding: 9px 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ef493f 0%, #ff7a45 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(239, 73, 63, .22);
  font-size: 14px;
  font-weight: 900;
}

.account-balance-line .account-recharge-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(239, 73, 63, .28);
}

.account-balance-card small {
  color: var(--muted);
  font-size: 12px;
}

.account-records {
  display: grid;
  gap: 8px;
  min-height: 0;
}

.account-center .account-records {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 10px;
}

.account-record {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.account-record > div {
  display: grid;
  gap: 4px;
}

.account-record > strong:not(.amount-positive) {
  color: var(--red);
  white-space: nowrap;
}

.account-record .amount-positive {
  color: #16804b;
  white-space: nowrap;
}

.account-footer {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.account-center .detail-close {
  top: 16px;
  right: 18px;
  z-index: 2;
}

@media (max-width: 720px) {
  .nav [data-account-slot] { width: 100%; }
  .account-trigger { width: 100%; justify-content: center; }
  .account-entry { width: 100%; }
  .account-entry-menu { position: static; width: 100%; margin-top: 6px; box-shadow: none; }
  .account-dialog { padding: 22px 18px; }
  .account-summary { grid-template-columns: 1fr; }
}
.account-center-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 22px;
}

.account-center-actions span {
  color: var(--muted);
  font-size: 13px;
}

.account-record-title {
  margin: 0 0 6px;
  font-size: 17px;
}

.orders-page {
  min-height: 100vh;
  background: #f4f7fa;
}

.orders-shell {
  width: min(1240px, calc(100% - 40px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 42px 0 80px;
}

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

.orders-heading h1 {
  margin: 4px 0 0;
  font-size: clamp(30px, 4vw, 46px);
}

.orders-heading > p {
  margin: 0;
  color: var(--muted);
}

.customer-orders {
  display: grid;
  gap: 14px;
}

.customer-order-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
}

.customer-order-pagination[hidden] { display: none; }
.customer-page-total { margin-right: auto; color: var(--ink); }
.customer-page-list, .customer-page-tools, .customer-page-tools form, .customer-page-tools label { display: flex; gap: 8px; align-items: center; }
.customer-page-button, .customer-page-arrow { width: 34px; height: 34px; padding: 0; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.customer-page-button:hover, .customer-page-arrow:hover:not(:disabled) { border-color: var(--line); background: #f8fafc; }
.customer-page-button.is-active { border-color: #2563eb; background: #eff6ff; color: #1d4ed8; font-weight: 800; }
.customer-page-arrow:disabled { color: #cbd5e1; cursor: not-allowed; }
.customer-page-ellipsis { min-width: 22px; text-align: center; }
.customer-page-tools { margin-left: auto; }
.customer-page-tools select, .customer-page-tools input { box-sizing: border-box; height: 36px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font: inherit; }
.customer-page-tools select { padding: 0 30px 0 10px; }
.customer-page-tools input { width: 54px; padding: 0 8px; text-align: center; }

.customer-order {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.customer-order-top {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.customer-order-top > div {
  display: grid;
  gap: 3px;
}

.customer-order-top span,
.order-data-grid span {
  color: var(--muted);
  font-size: 12px;
}

.customer-order h2 {
  margin: 18px 0 14px;
  font-size: 21px;
}

.payment-status {
  padding: 6px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534 !important;
  font-weight: 900;
}

.payment-status.refunded {
  background: #f1f5f9;
  color: #64748b !important;
}

.payment-status.pending {
  background: #fef3c7;
  color: #92400e !important;
}

.payment-status.failed,
.payment-status.cancelled {
  background: #fee2e2;
  color: #b91c1c !important;
}

.order-data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.order-data-grid > div {
  display: grid;
  gap: 5px;
  min-height: 70px;
  padding: 12px;
  border-radius: 6px;
  background: #f4f7fa;
}

.order-data-grid strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.order-amount {
  color: var(--red);
}

.order-delivery {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  background: #f0fdf4;
}

.order-delivery-head { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.order-delivery-head button { display: inline-flex; gap: 6px; align-items: center; min-height: 34px; padding: 6px 10px; border: 1px solid #86d9a6; border-radius: 6px; background: #fff; color: #167044; font: inherit; font-size: 12px; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.order-delivery-head button:hover, .order-delivery-head button:focus-visible { border-color: #16804b; background: #e9faef; outline: none; }
.order-delivery-head button b { font-weight: 900; }
.order-delivery-head button.copied { border-color: #16804b; background: #16804b; color: #fff; }
.order-delivery-head button.copy-error { border-color: #e45249; background: #fff2f1; color: #b43a32; }

.order-delivery > div:not(.order-delivery-head) {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 10px;
}

.order-delivery-head strong {
  white-space: nowrap;
}

.order-delivery pre {
  margin: 0;
  padding: 10px;
  overflow: auto;
  border-radius: 4px;
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.order-delivery.manual {
  border-color: var(--line);
  background: #f8fafc;
}

.order-delivery.manual > div:not(.order-delivery-head) {
  display: block;
}

.order-delivery.manual pre {
  box-sizing: border-box;
  width: 100%;
  max-height: 360px;
}

.order-delivery.manual p {
  margin: 8px 0 12px;
  color: var(--muted);
}

.order-delivery.manual .order-auto-shipping {
  display: block;
  margin: 12px 0 14px;
  padding: 14px;
  border: 1px solid #f4b74c;
  border-radius: 6px;
  background: #fff8e6;
}

.order-auto-shipping strong {
  display: block;
  color: #9a4c00;
  font-size: 16px;
}

.order-delivery.manual .order-auto-shipping p {
  margin: 5px 0;
  color: #172033;
  font-weight: 800;
}

.order-loading-dots {
  display: inline-flex;
  width: 20px;
  margin-left: 1px;
  vertical-align: baseline;
}

.order-loading-dots i {
  display: inline-block;
  font-style: normal;
  animation: order-loading-dot 1.05s infinite ease-in-out;
}

.order-loading-dots i:nth-child(2) { animation-delay: .15s; }
.order-loading-dots i:nth-child(3) { animation-delay: .3s; }

@keyframes order-loading-dot {
  0%, 80%, 100% { opacity: .25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.orders-empty {
  padding: 64px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.orders-empty h2 {
  margin: 0 0 8px;
}

.orders-empty p {
  margin: 0 0 20px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .order-data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .orders-shell { width: min(100% - 24px, 1240px); padding-top: 24px; }
  .orders-heading { align-items: start; flex-direction: column; gap: 8px; }
  .customer-order { padding: 16px; }
  .order-data-grid { grid-template-columns: 1fr; }
  .order-delivery > div { grid-template-columns: 1fr; }
  .account-center-actions { align-items: stretch; flex-direction: column; }
  .customer-order-pagination { align-items: stretch; }
  .customer-page-total, .customer-page-tools { width: 100%; margin: 0; justify-content: center; }
  .customer-page-list { width: 100%; justify-content: center; }
}
.customer-order-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.customer-order-filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.customer-order-filters input {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
  color: var(--ink);
  font: inherit;
}

.customer-order-filter-actions {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px;
}

@media (max-width: 900px) {
  .customer-order-filters { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .customer-order-filters { grid-template-columns: 1fr; }
  .customer-order-filter-actions { grid-template-columns: 1fr 1fr; }
}
.telegram-float {
  min-width: 230px;
}

.telegram-float.is-collapsed {
  width: 54px;
  height: 54px;
  min-width: 0;
}

.telegram-float .support-hours {
  max-width: 190px;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  line-height: 1.35;
  white-space: normal;
}

@media (max-width: 720px) {
  .telegram-float { min-width: 0; }
}

.forced-announcement-modal { position: fixed; inset: 0; z-index: 1500; display: grid; padding: 20px; place-items: center; background: rgba(15, 23, 42, .7); backdrop-filter: blur(4px); }
.forced-announcement-modal section { width: min(620px, 100%); max-height: min(76vh, 680px); padding: 28px; overflow: auto; border-radius: 14px; background: #fff; box-shadow: 0 28px 80px rgba(0, 0, 0, .28); }
.forced-announcement-mark { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #fff0ef; color: #c43d34; font-size: 11px; font-weight: 900; }
.forced-announcement-modal h2 { margin: 14px 0 10px; font-size: 26px; }
.forced-announcement-modal p { margin: 0 0 22px; color: #526276; line-height: 1.8; white-space: pre-wrap; }
.forced-announcement-modal button { width: 100%; min-height: 44px; }
.announcement-detail-modal .forced-announcement-mark { background: #fff8e7; color: #8a5b0a; }
.notice[data-announcement-bar] { border-top: 1px solid rgba(248, 223, 162, .75); }
.notice[data-announcement-bar].is-clickable { cursor: pointer; transition: background .2s ease, box-shadow .2s ease; }
.notice[data-announcement-bar].is-clickable:hover { background: #fff1c7; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 24px rgba(240, 169, 29, .12); }
.notice[data-announcement-bar].is-clickable:focus-visible { outline: 3px solid rgba(240, 169, 29, .32); outline-offset: -3px; }
.payment-page { background: #f3f6fb; min-height: 100vh; }
.payment-shell { display: grid; place-items: center; min-height: calc(100vh - 80px); padding: 40px 20px; }
.payment-card { width: min(680px, 100%); padding: 36px; border: 1px solid #dde6f2; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(15, 23, 42, .12); }
.payment-card h1 { margin: 4px 0 10px; font-size: clamp(32px, 4vw, 48px); }
.payment-status-box { display: grid; gap: 8px; margin: 28px 0 18px; padding: 24px; border: 1px solid #dbeafe; border-radius: 16px; background: linear-gradient(135deg, #eef7ff, #f8fbff); }
.payment-status-box strong { color: #0f172a; font-size: 28px; }
.payment-status-box span { color: #526174; }
.payment-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.payment-tip { margin: 18px 0 0; color: #6b7280; font-size: 14px; }
.account-recharge-form { display: grid; gap: 16px; }
.account-recharge-form input[type="number"] { width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid #d6e0eb; border-radius: 10px; }
.payment-methods { display: flex; flex-wrap: wrap; gap: 12px; }
.payment-methods label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #d8e2ee; border-radius: 12px; background: #f8fafc; font-weight: 800; }
.online-pay-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.detail-online-pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.online-pay-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; }
.online-pay-button img { width: 18px; height: 18px; display: block; }
@media (max-width: 480px) {
  .detail-online-pay { grid-template-columns: 1fr; }
}
.payment-qr-box { display: grid; justify-items: center; gap: 12px; width: 100%; padding: 20px; border: 1px solid #dbeafe; border-radius: 16px; background: #f8fbff; }
.payment-qr-box img { width: 260px; height: 260px; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(15, 23, 42, .08); }
.payment-qr-box strong { color: #0f172a; font-size: 18px; }
.payment-empty { display: grid; gap: 6px; width: 100%; padding: 16px; border: 1px solid #fed7aa; border-radius: 14px; background: #fff7ed; color: #9a3412; }

/* Proxy storefront catalog */
.home-products-page {
  --catalog-blue: #398eea;
  --catalog-blue-dark: #1768c1;
  --catalog-border: #dce5ef;
  --catalog-soft: #f2f6fb;
  background: var(--catalog-soft);
}

.home-products-page .site-header { min-height: 62px; }
.home-products-page .nav > a:hover,
.home-products-page .nav > a:focus-visible { color: var(--catalog-blue-dark); }
.home-products-page .accounts-shell.home-products-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 20px 24px 56px;
}
.home-products-page .catalog-content { min-width: 0; display: grid; gap: 16px; }
.home-products-page .catalog-sidebar {
  position: sticky;
  top: 82px;
  overflow: hidden;
  border: 1px solid var(--catalog-border);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(39, 72, 115, .05);
}
.home-products-page .catalog-sidebar h2 {
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--catalog-border);
  font-size: 16px;
  font-weight: 700;
}
.home-products-page .all-category-tabs { display: block; margin: 0; padding: 12px; }
.home-products-page .all-category-row,
.home-products-page .all-subcategory-row { display: grid; gap: 2px; }
.home-products-page .all-category-tabs button {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 7px 9px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #26384f;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}
.home-products-page .all-category-tabs button:hover,
.home-products-page .all-category-tabs button:focus-visible { background: #eaf3ff; outline: none; }
.home-products-page .all-category-tabs button.active { background: var(--catalog-blue); color: #fff; }
.home-products-page .catalog-category-icon { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #e6efff; color: #2864b4; font-size: 12px; font-weight: 700; }
.home-products-page .catalog-category-icon.facebook,
.home-products-page .catalog-row-icon.facebook { background: #315c9e; }
.home-products-page .catalog-category-icon.tiktok,
.home-products-page .catalog-row-icon.tiktok { background: #17202a; }
.home-products-page .catalog-category-icon img { width: 18px; height: 18px; object-fit: contain; }
.home-products-page .catalog-category-icon.all { background: #fff; color: var(--catalog-blue); }
.home-products-page .count-pill,
.home-products-page .all-category-tabs button.active .count-pill { padding: 0; border-radius: 0; background: transparent; color: inherit; font-size: 11px; font-weight: 500; }
.home-products-page .all-subcategory-row { margin: 11px 0 0; padding: 11px 0 0 12px; border: 0; border-top: 1px solid var(--catalog-border); border-radius: 0; background: transparent; }
.home-products-page .all-subcategory-row .subcategory-label { position: static; margin: 0 0 5px 9px; transform: none; font-size: 12px; }
.home-products-page .all-category-tabs .all-subcategory-row button { grid-template-columns: minmax(0, 1fr) auto; min-height: 34px; padding: 5px 9px; font: inherit; font-size: 12px; }
.home-products-page .home-notice { padding: 15px 20px; border: 1px solid var(--catalog-border); border-radius: 4px; background: #fff; box-shadow: none; }
.home-products-page .home-notice span { color: var(--catalog-blue-dark); }
.home-products-page .home-notice p { margin-bottom: 0; font-size: 13px; line-height: 1.65; }
.home-products-page .accounts-panel { padding: 0; border: 0; border-radius: 0; background: transparent; }
.home-products-page .catalog-search-bar { display: grid; grid-template-columns: minmax(0, 1fr) 82px; max-width: 640px; margin: 14px 0 18px; }
.home-products-page .account-search { min-width: 0; height: 42px; padding: 0 14px; border-color: var(--catalog-border); border-radius: 4px 0 0 4px; background: #fff; font-size: 13px; }
.home-products-page .catalog-search-bar .button { min-height: 42px; padding: 0 12px; border-radius: 0 4px 4px 0; background: var(--catalog-blue); font-size: 13px; }
.home-products-page .catalog-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 14px 18px; border: 1px solid var(--catalog-border); border-bottom: 0; border-radius: 4px 4px 0 0; background: #fff; }
.home-products-page .catalog-list-heading > div:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; min-width: 0; color: #62748e; font-size: 12px; }
.home-products-page .catalog-list-heading h1 { margin: 0 5px 0 0; font-size: 16px; line-height: 1.4; color: var(--ink); }
.home-products-page .catalog-list-heading strong { color: var(--catalog-blue-dark); font-weight: 600; }
.home-products-page .catalog-list-tools { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.home-products-page .catalog-sort { display: flex; align-items: center; gap: 3px; color: #45546a; font-size: 12px; }
.home-products-page .catalog-sort button { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 3px; background: transparent; color: var(--catalog-blue); font: inherit; font-size: 19px; cursor: pointer; }
.home-products-page .catalog-sort button:hover,
.home-products-page .catalog-sort button.active { background: #e7f2ff; color: var(--catalog-blue-dark); }
.home-products-page .catalog-clear { min-height: 32px; padding: 0 10px; border: 0; border-radius: 3px; background: var(--catalog-blue); color: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.home-products-page .catalog-clear:hover { background: var(--catalog-blue-dark); }
.home-products-page .all-products { display: block; min-height: 120px; padding: 9px 18px; border: 1px solid var(--catalog-border); border-radius: 0 0 4px 4px; background: #fff; }
.home-products-page .all-product-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 100px 68px; gap: 10px; min-height: 52px; padding: 6px 0; border: 0; border-bottom: 1px dashed #e3eaf2; border-radius: 0; }
.home-products-page .all-product-row:last-of-type { border-bottom: 0; }
.home-products-page .row-product-name { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0; border: 0; background: transparent; color: #26384f; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.home-products-page .row-product-name:hover span { color: var(--catalog-blue-dark); text-decoration: underline; }
.home-products-page .catalog-row-icon { display: grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #e6efff; color: #315c9e; font-size: 12px; }
.home-products-page .row-product-name .catalog-row-icon img { width: 13px; height: 13px; object-fit: contain; }
.home-products-page .row-product-name span { min-width: 0; overflow-wrap: anywhere; }
.home-products-page .row-price { color: #ed645f; font-size: 14px; font-weight: 600; text-align: right; }
.home-products-page .row-stock { color: #8290a4; font-size: 12px; text-align: right; }
.home-products-page .row-buy { min-height: 30px; padding: 0 10px; border-radius: 3px; background: var(--catalog-blue); font-size: 12px; }
.home-products-page .row-buy:hover { background: var(--catalog-blue-dark); }
.home-products-page .all-products-more { display: flex; margin: 18px auto 10px; background: #e7f2ff; color: var(--catalog-blue-dark); }
.home-products-page .all-products-status { padding: 12px; }

.home-products-page .detail-modal { z-index: 100; padding: 20px; background: rgba(27, 42, 65, .55); }
.home-products-page .detail-dialog { width: min(860px, 100%); max-height: min(90vh, 850px); overflow-y: auto; padding: 0 28px 22px; border: 1px solid var(--catalog-border); border-radius: 4px; box-shadow: 0 24px 70px rgba(26, 53, 88, .22); }
.home-products-page .catalog-dialog-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 60px; margin: 0 -28px 20px; padding: 0 22px 0 28px; border-bottom: 1px solid var(--catalog-border); background: #fff; }
.home-products-page .catalog-dialog-head h2 { margin: 0; font-size: 17px; }
.home-products-page .detail-close { position: static; width: 34px; height: 34px; border-radius: 3px; background: transparent; color: #64748b; font-size: 23px; }
.home-products-page .detail-close:hover { background: var(--catalog-soft); }
.home-products-page .catalog-product-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 11px 24px; }
.home-products-page .catalog-product-facts > div { display: flex; align-items: baseline; gap: 14px; min-width: 0; font-size: 13px; }
.home-products-page .catalog-product-facts > div:nth-child(-n+2) { grid-column: 1 / -1; }
.home-products-page .catalog-product-facts span { flex: 0 0 64px; color: #425168; font-weight: 700; }
.home-products-page .catalog-product-facts strong { min-width: 0; color: #24344a; font-weight: 500; overflow-wrap: anywhere; }
.home-products-page .catalog-product-facts .catalog-value { color: var(--catalog-blue); font-size: 17px; font-weight: 700; }
.home-products-page .catalog-product-description { margin-top: 20px; padding: 14px 16px; border: 1px solid #f4d28a; border-radius: 4px; background: #fff8e9; color: #293c56; font-size: 13px; line-height: 1.65; }
.home-products-page .catalog-product-extra { margin-top: 10px; color: #66758a; font-size: 12px; line-height: 1.6; }
.home-products-page .catalog-product-extra strong { color: #425168; }
.home-products-page .catalog-product-extra p { margin: 3px 0 0; }
.home-products-page .catalog-service-line { display: flex; flex-wrap: wrap; gap: 12px; }
.home-products-page .detail-purchase { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; padding: 0; border: 0; }
.home-products-page .purchase-quantity,
.home-products-page .catalog-order-message { display: grid; gap: 7px; color: #56657b; font-size: 12px; }
.home-products-page .quantity-line { display: flex; align-items: center; gap: 18px; }
.home-products-page .quantity-line > strong { color: var(--catalog-blue); font-size: 20px; }
.home-products-page .quantity-stepper { grid-template-columns: 34px 66px 34px; width: 134px; height: 34px; border-color: var(--catalog-border); border-radius: 3px; }
.home-products-page .quantity-stepper button { background: var(--catalog-soft); color: #56657b; font-size: 17px; }
.home-products-page .quantity-stepper input { width: 66px; font-size: 13px; font-weight: 500; }
.home-products-page .catalog-order-message input { width: min(100%, 680px); height: 36px; padding: 0 10px; border: 1px solid var(--catalog-border); border-radius: 3px; font: inherit; font-size: 13px; }
.home-products-page .catalog-order-message small { color: #8d9aab; font-weight: 400; }
.home-products-page .catalog-payment-label { color: #56657b; font-size: 12px; }
.home-products-page .detail-pay-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.home-products-page .catalog-payment-choice { min-height: 42px; padding: 0 15px; border: 1px solid var(--catalog-border); border-radius: 4px; background: #fff; color: #425168; font: inherit; font-size: 13px; cursor: pointer; }
.home-products-page .catalog-payment-choice:hover,
.home-products-page .catalog-payment-choice.active { border-color: var(--catalog-blue); color: var(--catalog-blue-dark); background: #f4f9ff; }
.home-products-page .catalog-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 2px; }
.home-products-page .catalog-dialog-footer > strong { color: var(--catalog-blue); font-size: 18px; }
.home-products-page .catalog-dialog-footer > div { display: flex; gap: 9px; }
.home-products-page .catalog-dialog-footer .button { min-height: 36px; padding: 0 18px; border-radius: 3px; font-size: 12px; }
.home-products-page .catalog-dialog-footer .button.primary { background: var(--catalog-blue); }
.home-products-page .catalog-dialog-footer .button.secondary { background: #f0f4f8; color: #526176; }
.home-products-page .purchase-status { min-height: 0; color: #cb4942; font-size: 12px; }

@media (max-width: 900px) {
  .home-products-page .accounts-shell.home-products-shell { grid-template-columns: 210px minmax(0, 1fr); padding: 16px; }
  .home-products-page .all-product-row { grid-template-columns: minmax(0, 1fr) 70px 70px 60px; gap: 6px; }
  .home-products-page .catalog-list-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .home-products-page .accounts-shell.home-products-shell { grid-template-columns: 1fr; gap: 12px; padding: 12px 10px 40px; }
  .home-products-page .catalog-sidebar { position: static; }
  .home-products-page .all-category-row { display: flex; gap: 4px; overflow-x: auto; }
  .home-products-page .all-category-tabs button { width: auto; white-space: nowrap; }
  .home-products-page .all-category-row button { grid-template-columns: 18px auto auto; flex: 0 0 auto; }
  .home-products-page .all-subcategory-row { display: flex; flex-wrap: wrap; padding-left: 0; }
  .home-products-page .all-subcategory-row .subcategory-label { width: 100%; }
  .home-products-page .all-product-row { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; padding: 10px 0; }
  .home-products-page .row-product-name { grid-column: 1 / -1; }
  .home-products-page .row-price { text-align: left; }
  .home-products-page .row-stock { text-align: right; }
  .home-products-page .row-buy { grid-column: 2; grid-row: 2 / span 2; }
  .home-products-page .row-stock { grid-column: 1; text-align: left; }
  .home-products-page .detail-modal { padding: 8px; }
  .home-products-page .detail-dialog { max-height: calc(100dvh - 16px); padding: 0 16px 18px; }
  .home-products-page .catalog-dialog-head { margin-inline: -16px; padding-inline: 16px; }
  .home-products-page .catalog-product-facts { grid-template-columns: 1fr; gap: 9px; }
  .home-products-page .catalog-product-facts > div:nth-child(2) { grid-column: auto; grid-row: auto; }
  .home-products-page .catalog-dialog-footer { align-items: flex-start; flex-direction: column; }
  .home-products-page .catalog-dialog-footer > div { width: 100%; }
  .home-products-page .catalog-dialog-footer .button { flex: 1; }
}
.notice[data-announcement-bar].is-clickable span::after { content: " 点击查看"; margin-left: 8px; color: rgba(122, 75, 0, .72); font-size: 12px; font-weight: 800; }
