/**
 * 云产品商城 — 对齐华为云 618 活动页（轮播 / 选项卡 / 商品卡片）
 */
.bce-shop {
  --shop-w: 1600px;
  --shop-accent: #1476ff;
  --shop-accent-2: #c7000b;
  --shop-sale: #c7000b;
  --shop-text: #191919;
  --shop-muted: #595959;
  --shop-line: #f0f0f0;
  --shop-bg: #f5f5f5;
  background: var(--shop-bg);
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  padding-bottom: 64px;
  overflow-x: clip;
  color: var(--shop-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.bce-shop .bce-shop-inner {
  width: var(--shop-w);
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

.bce-shop .por-container {
  width: 90%;
  max-width: var(--shop-w);
  margin: 0 auto;
}

/* ===== 轮播图 pep-activity-banner ===== */
.bce-shop .pep-activity-banner {
  position: relative;
  width: 100%;
}

.bce-shop .pep-activity-banner .activity-banner-container {
  position: relative;
  height: 350px;
  margin: 0 auto;
  overflow: hidden;
}

.bce-shop .bce-shop-banner-track {
  position: relative;
  height: 100%;
}

.bce-shop .bce-shop-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  display: block;
  z-index: 0;
}

.bce-shop .bce-shop-banner-slide.is-on {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.bce-shop .bce-shop-banner-bg {
  display: block;
  width: 100%;
  height: 100%;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.bce-shop .bce-shop-banner-bg.mb {
  display: none;
}

.bce-shop .bce-shop-banner-pagination {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.bce-shop .bce-shop-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.bce-shop .bce-shop-banner-dot.is-on {
  width: 24px;
  border-radius: 4px;
  background: #fff;
}

/* ===== 分类导航 activity-banner-filter-beancurds ===== */
.bce-shop .pep-activity-banner-filter.bce-shop-filter {
  position: relative;
  z-index: 20;
  background: transparent;
  background-image: linear-gradient(hsla(0, 0%, 100%, 0) 77px, #fff 0);
}

.bce-shop .pep-activity-banner-filter[data-bg="grey"] {
  background-image: linear-gradient(hsla(0, 0%, 96%, 0) 77px, #f5f5f5 0);
}

.bce-shop.has-banner .pep-activity-banner-filter .pep-activity-banner-filter-container {
  margin-top: -77px;
}

.bce-shop .pep-activity-banner-filter .pep-activity-banner-filter-container {
  width: 90%;
  max-width: var(--shop-w);
  margin-left: auto;
  margin-right: auto;
}

.bce-shop .activity-banner-filter-beancurds.bce-shop-beancurds {
  display: flex;
  overflow: hidden;
  background: hsla(0, 0%, 100%, 0.6);
  border-radius: 16px;
}

.bce-shop .activity-banner-filter-beancurd-container {
  flex: 1;
  overflow: hidden;
  padding: 24px;
}

.bce-shop .activity-banner-filter-beancurd {
  display: block;
  text-decoration: none !important;
  color: inherit;
}

.bce-shop .activity-banner-filter-beancurd-container:hover,
.bce-shop .activity-banner-filter-beancurd.is-active {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.3s;
}

.bce-shop .activity-banner-filter-beancurd-title {
  color: #191919;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bce-shop .activity-banner-filter-beancurd-subtitle {
  color: #595959;
  font-size: 14px;
  line-height: 22px;
  padding-top: 4px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bce-shop .activity-banner-filter-beancurd.is-active .activity-banner-filter-beancurd-title {
  color: #c7000b;
}

/* ===== Body / sections por-section ===== */
.bce-shop-body {
  padding-top: 32px;
}

.bce-shop .por-section[data-bg="grey"] {
  background: #f5f5f5;
}

.bce-shop .por-section-merge-spacing-bottom {
  padding-bottom: 48px;
}

.bce-shop .por-section-head {
  text-align: center;
  margin-bottom: 32px;
}

.bce-shop .por-section-title {
  margin: 0;
  color: #191919;
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
}

.bce-shop .por-section-subtitle {
  color: #595959;
  font-size: 14px;
  line-height: 22px;
  margin-top: 8px;
}

.bce-shop .por-section-subtitle p {
  margin: 0;
}

.bce-shop-tip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--shop-line);
  border-radius: 12px;
  font-size: 13px;
  color: var(--shop-muted);
}

.bce-shop-tip-ico { color: var(--shop-accent); font-size: 14px; }
.bce-shop-tip a {
  margin-left: auto;
  font-weight: 600;
  color: var(--shop-accent) !important;
}

/* Week tabs — tab-header */
.bce-shop .tab-header.bce-shop-weektabs {
  margin-bottom: 32px;
  background: transparent;
}

.bce-shop .tab-header-list-container {
  display: flex;
  overflow: hidden;
  justify-content: center;
}

.bce-shop .tab-header-list {
  font-size: 0;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.bce-shop .tab-header-list-item {
  display: inline-block;
  cursor: default;
  max-width: 288px;
  padding: 12px 0;
  position: relative;
  text-align: center;
  vertical-align: top;
  white-space: normal;
}

.bce-shop .tab-header-list-item .tab-header-list-item-title,
.bce-shop .tab-header-list-item .tab-header-list-item-subtitle {
  padding-left: 32px;
  padding-right: 32px;
}

.bce-shop .tab-header-list-item .tab-header-list-item-title {
  color: #191919;
  font-size: 18px;
  line-height: 28px;
}

.bce-shop .tab-header-list-item .tab-header-list-item-subtitle {
  color: #595959;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  margin-top: 4px;
}

.bce-shop .tab-header-list-item .tab-header-list-item-subtitle p {
  margin: 0;
}

.bce-shop .tab-header-list-item .tab-header-list-item-subtitle strong {
  color: #191919;
  font-weight: 700;
}

.bce-shop .tab-header-list-item:after {
  background-color: #191919;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  transition: all 0.3s;
  width: 0;
}

.bce-shop .tab-header-list-item.active {
  font-weight: 700;
}

.bce-shop .tab-header-list-item.active:after {
  left: 32px;
  width: calc(100% - 64px);
}

.bce-shop .tab-header-list-item.active .tab-header-list-item-subtitle strong,
.bce-shop .tab-header-list-item.active .tab-header-list-item-title {
  color: #c7000b;
}

.bce-shop .tab-header-list-item.is-past {
  opacity: 0.45;
}

.bce-shop .tab-header-list-item + .tab-header-list-item {
  padding-left: 0;
}

.bce-shop .activity-banner-filter-beancurd.bce-shop-tab-btn {
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

/* Grid — 华为云：一行 4 个商品，等宽无首卡通栏 */
.bce-shop .tab-content-detail-card-list.bce-shop-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -8px;
}

.bce-shop .tab-content-detail-card-list .activity-promotion-card {
  padding: 8px;
  position: relative;
  box-sizing: border-box;
  z-index: 1;
}

.bce-shop .tab-content-detail-card-list .activity-promotion-card:hover {
  z-index: 3;
}

.bce-shop .tab-content-detail-card-list[data-column-style="4"] .activity-promotion-card,
.bce-shop .tab-content-detail-card-list[data-column-style="2"] .activity-promotion-card {
  width: 25%;
}

.bce-shop .tab-content-detail-card-list[data-column-style="1"] .activity-promotion-card {
  width: 50%;
}

/* ===== 横版商品卡片（华为云 activity-promotion-card） ===== */
.bce-shop .activity-promotion-card-content {
  background-color: #fff;
  border-radius: 24px;
  display: flex;
  height: 100%;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.bce-shop [data-card-style="grey"] .activity-promotion-card-content {
  background-color: #fafafa;
  border: 1px solid #f0f0f0;
}

.bce-shop .activity-promotion-card-copywriting {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: space-between;
  background: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 24px 20px;
  width: 100%;
  min-height: 200px;
}

.bce-shop .activity-promotion-card-copywriting--default-bg {
  background: #fff;
}

.bce-shop .activity-promotion-card-copywriting-detail {
  width: 100%;
}

.bce-shop .activity-promotion-card-copywriting-header-text {
  display: flex;
  align-items: center;
  color: #191919;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

.bce-shop .activity-promotion-card-copywriting-header-subtitle {
  font-size: 14px;
  line-height: 22px;
  padding-top: 8px;
  color: #595959;
}

.bce-shop .activity-promotion-card-copywriting-header-subtitle p {
  margin: 0;
}

.bce-shop .activity-promotion-card-copywriting-header-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 8px;
}

.bce-shop .activity-promotion-card-copywriting-description {
  padding-top: 20px;
}

.bce-shop .activity-promotion-card-copywriting-description-spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 60px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bce-shop .activity-promotion-card-copywriting-description-spec-name {
  color: #595959;
  font-size: 14px;
  line-height: 22px;
}

.bce-shop .activity-promotion-card-copywriting-description-spec {
  color: #191919;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  padding-top: 4px;
}

.bce-shop .activity-promotion-card-copywriting-purchase {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  width: 100%;
}

/* 四列卡片：规格与价格纵向排布 */
.bce-shop .tab-content-detail-card-list[data-column-style="4"] .activity-promotion-card .activity-promotion-card-copywriting-description-spec-list,
.bce-shop .tab-content-detail-card-list[data-column-style="2"] .activity-promotion-card .activity-promotion-card-copywriting-description-spec-list {
  flex-direction: column;
  gap: 8px;
}

.bce-shop .tab-content-detail-card-list[data-column-style="4"] .activity-promotion-card .activity-promotion-card-copywriting-description-spec-list {
  gap: 8px 0;
}

.bce-shop .tab-content-detail-card-list[data-column-style="4"] .activity-promotion-card .purchase-price-container,
.bce-shop .tab-content-detail-card-list[data-column-style="2"] .activity-promotion-card .purchase-price-container {
  text-align: left;
}

.bce-shop .tab-content-detail-card-list[data-column-style="4"] .activity-promotion-card .purchase-price-container .current-price-container,
.bce-shop .tab-content-detail-card-list[data-column-style="2"] .activity-promotion-card .purchase-price-container .current-price-container {
  justify-content: flex-start;
}

.bce-shop .activity-promotion-card:hover .activity-promotion-card-content {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.bce-shop .bce-shop-tab-panel[hidden] {
  display: none !important;
}

.bce-shop .activity-promotion-card-copywriting-header-tag-item {
  background: rgba(89, 89, 89, 0.1);
  border-radius: 4px;
  color: #191919;
  font-size: 12px;
  line-height: 18px;
  padding: 2px 8px;
}

.bce-shop .activity-promotion-card-copywriting-header-tag-item.yellow {
  background: rgba(217, 105, 0, 0.1);
  color: #d96900;
}

.bce-shop .tab-content-detail-card-list[data-column-style="6"] .activity-promotion-card:nth-child(n+3) .activity-promotion-card-copywriting-detail {
  width: 100%;
}

.bce-shop .tab-content-detail-card-list[data-column-style="6"] .activity-promotion-card:nth-child(n+3) .activity-promotion-card-copywriting-description-spec-list {
  flex-wrap: wrap;
  gap: 16px 24px;
}

.bce-shop .purchase-price-container {
  display: block;
  width: 100%;
  padding-bottom: 16px;
  text-align: right;
}

.bce-shop .purchase-price-container .current-price-container {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px;
}

.bce-shop .purchase-price-container [data-amount-view="card-current"] {
  color: #c7000b;
  font-size: 24px;
  font-weight: 700;
  height: 36px;
  line-height: 36px;
  margin: 0;
  position: relative;
}

.bce-shop .tab-content-detail-card-list[data-column-style="6"] .activity-promotion-card:nth-child(n+3) .purchase-price-container [data-amount-view="card-current"] {
  font-size: 20px;
  line-height: 30px;
  height: 30px;
}

.bce-shop .purchase-price-container [data-amount-view="card-current"].decoration.red:after {
  border-bottom: 1px dashed #c7000b;
  bottom: 5px;
  content: "";
  display: block;
  height: 0;
  position: absolute;
  width: 100%;
}

.bce-shop .purchase-price-container .origin-price {
  color: #191919;
  font-size: 12px;
  height: 18px;
  line-height: 18px;
  text-align: right;
}

.bce-shop .purchase-button-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.bce-shop .purchase-button {
  display: flex;
  width: 100%;
}

.bce-shop .por-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  max-width: 100%;
  outline: none;
  padding: 4px 24px;
  text-align: center;
  text-decoration: none !important;
  transition: 0.2s;
  white-space: nowrap;
  min-height: 32px;
}

.bce-shop .por-btn.por-btn-secondary {
  background-color: transparent;
  border: 1px solid #595959;
  color: #191919;
  width: 100%;
}

.bce-shop .por-btn.por-btn-secondary:not(.is-disabled):hover {
  background-image: linear-gradient(130deg, #f1268a 3%, #ed4242 45%, #fe0404 77%, #fe7004 99%);
  border: none;
  color: #fff;
  line-height: 24px;
  padding-left: 25px;
  padding-right: 25px;
}

.bce-shop .por-btn.is-disabled {
  background-color: rgba(0, 0, 0, 0.05);
  border-color: transparent;
  color: #999;
  cursor: not-allowed;
}

.bce-shop .progress-container {
  display: none;
}

.bce-shop .progress-container.show {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
}

.bce-shop .progress-container .progress-text {
  color: gray;
  font-size: 12px;
  line-height: 18px;
  width: 100%;
  text-align: right;
}

.bce-shop .progress-container .progress-view {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  height: 6px;
  position: relative;
  width: 100%;
}

.bce-shop .progress-container .progress-view:after {
  background-color: #c7000b;
  border-radius: 10px 0 0 10px;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  width: var(--progress, 0%);
}

.bce-shop .bce-shop-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
  font-size: 12px;
  color: #595959;
}

.bce-shop .bce-shop-countdown time {
  color: #c7000b;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bce-shop-empty-panel {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--shop-line);
  padding: 48px;
}

.bce-shop-empty {
  text-align: center;
  padding: 24px 0;
  color: var(--shop-muted);
  font-size: 14px;
}

@media (max-width: 1600px) {
  .bce-shop .pep-activity-banner .activity-banner-container { height: 300px; }
  .bce-shop .por-section-title { font-size: 28px; line-height: 42px; }
  .bce-shop .activity-banner-filter-beancurd-container { padding: 12px; }
  .bce-shop .activity-banner-filter-beancurd-title { font-size: 16px; line-height: 24px; }
  .bce-shop .activity-banner-filter-beancurd-subtitle { font-size: 12px; line-height: 18px; }
}

@media (max-width: 1280px) {
  .bce-shop .pep-activity-banner .activity-banner-container { height: 250px; }
  .bce-shop.has-banner .pep-activity-banner-filter .pep-activity-banner-filter-container { margin-top: -64px; }
  .bce-shop .tab-content-detail-card-list[data-column-style="4"] .activity-promotion-card,
  .bce-shop .tab-content-detail-card-list[data-column-style="2"] .activity-promotion-card {
    width: 50%;
  }
}

@media (max-width: 1100px) {
  .bce-shop .tab-content-detail-card-list[data-column-style="4"] .activity-promotion-card,
  .bce-shop .tab-content-detail-card-list[data-column-style="2"] .activity-promotion-card {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .bce-shop .pep-activity-banner .activity-banner-container { height: 200px; }
  .bce-shop .bce-shop-banner-bg.pc { display: none; }
  .bce-shop .bce-shop-banner-bg.mb { display: block; }
  .bce-shop.has-banner .pep-activity-banner-filter .pep-activity-banner-filter-container { margin-top: 0; }
  .bce-shop .activity-banner-filter-beancurds.bce-shop-beancurds { flex-direction: column; border-radius: 12px; }
  .bce-shop .activity-banner-filter-beancurd-container { padding: 16px; }
  .bce-shop .tab-header-list-item { max-width: 72px; }
  .bce-shop .tab-header-list-item .tab-header-list-item-title,
  .bce-shop .tab-header-list-item .tab-header-list-item-subtitle {
    padding-left: 10px;
    padding-right: 10px;
  }
  .bce-shop .tab-header-list-item.active:after {
    left: 10px;
    width: calc(100% - 20px);
  }
  .bce-shop .tab-header-list-item .tab-header-list-item-title { font-size: 14px; line-height: 22px; }
  .bce-shop .tab-content-detail-card-list[data-column-style="4"] .activity-promotion-card,
  .bce-shop .tab-content-detail-card-list[data-column-style="2"] .activity-promotion-card {
    width: 100%;
  }
  .bce-shop .activity-promotion-card-copywriting {
    padding: 20px 16px;
    min-height: auto;
  }
  .bce-shop .por-section-title { font-size: 22px; line-height: 32px; }
  .bce-shop-tip a { margin-left: 0; width: 100%; }
}

/* legacy hooks for product detail / checkout pages */
.bce-shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(130deg, #f1268a 3%, #ed4242 45%, #fe0404 77%, #fe7004 99%);
  color: #fff !important;
  border: none;
  cursor: pointer;
}
.bce-shop-btn--ghost {
  background: #fff;
  color: var(--shop-text) !important;
  border: 1px solid var(--shop-line);
}
.bce-shop-btn--owned,
.bce-shop-btn--disabled {
  background: rgba(0, 0, 0, 0.05);
  color: #999 !important;
  cursor: not-allowed;
}
.bce-shop-btn--success { background: #009a29 !important; }
.bce-shop-price-now {
  font-size: 32px;
  font-weight: 800;
  color: var(--shop-sale);
}
.bce-shop-price-old {
  font-size: 13px;
  color: var(--shop-muted);
  text-decoration: line-through;
}

/* ===== 收银台 shell（保留） ===== */
.bce-pay-shell {
  font: 14px/1.5715 "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #151b26;
  background: #f7f8fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
.bce-pay-shell *, .bce-pay-shell *::before, .bce-pay-shell *::after { box-sizing: border-box; }
.bce-pay-shell a { color: #2468f2; text-decoration: none; }
.bce-pay-shell a:hover { color: #1a5ad9; }

.bce-pay-head {
  background: #fff;
  border-bottom: 1px solid #e8e9eb;
  height: 56px;
}
.bce-pay-head-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 14px;
}
.bce-pay-logo img { height: 28px; display: block; }
.bce-pay-logo-text { font-size: 17px; font-weight: 600; color: #151b26; }
.bce-pay-head-sep { width: 1px; height: 18px; background: #e8e9eb; }
.bce-pay-head-title { font-size: 15px; color: #545b66; }
.bce-pay-head-right { margin-left: auto; font-size: 14px; color: #545b66; }
.bce-pay-head-right a { color: #545b66; }
.bce-pay-head-right a:hover { color: #2468f2; }

.bce-pay-main { flex: 1; padding: 32px 24px 48px; }
.bce-pay-page { max-width: 560px; margin: 0 auto; }
.bce-pay-alert {
  margin-bottom: 16px; padding: 12px 16px;
  background: #fff1f0; border: 1px solid #ffccc7;
  border-radius: 4px; color: #cf1322; font-size: 13px;
}
.bce-pay-card {
  background: #fff;
  border: 1px solid #e8e9eb;
  border-radius: 8px;
  padding: 28px 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.bce-pay-title {
  margin: 0 0 20px;
  font-size: 20px; font-weight: 700; color: #151b26;
}
.bce-pay-order-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; padding: 11px 0;
  border-bottom: 1px solid #f2f3f5;
  font-size: 14px;
}
.bce-pay-order-row--amount { border-bottom: none; padding-top: 18px; align-items: center; }
.bce-pay-label { color: #84868c; flex-shrink: 0; }
.bce-pay-val { color: #151b26; text-align: right; word-break: break-all; }
.bce-pay-val--muted { color: #545b66; font-size: 13px; }
.bce-pay-val--old { text-decoration: line-through; color: #84868c; }
.bce-pay-amount { font-size: 32px; font-weight: 700; color: #f33e3e; font-variant-numeric: tabular-nums; }
.bce-pay-divider { height: 1px; background: #e8e9eb; margin: 22px 0; }
.bce-pay-subtitle { margin: 0 0 18px; font-size: 16px; font-weight: 600; color: #151b26; }

.bce-pay-channels {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 22px;
}
.bce-pay-channel { cursor: pointer; display: block; position: relative; }
.bce-pay-channel input[type="radio"] {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0;
}
.bce-pay-channel-box {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 22px 14px;
  border: 2px solid #e8e9eb; border-radius: 8px;
  background: #fff; position: relative;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.bce-pay-channel:hover .bce-pay-channel-box { border-color: #91caff; }
.bce-pay-channel input:checked + .bce-pay-channel-box {
  border-color: #2468f2; background: #f0f5ff;
  box-shadow: 0 0 0 1px #2468f2 inset;
}
.bce-pay-channel-icon {
  width: 52px; height: 52px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.bce-pay-channel-icon--wx { background: #e8f8ef; color: #07c160; }
.bce-pay-channel-icon--ali { background: #e8f4ff; color: #1677ff; }
.bce-pay-channel-name { font-size: 15px; font-weight: 600; color: #151b26; }
.bce-pay-channel-check {
  position: absolute; top: 10px; right: 10px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #e8e9eb; background: #fff;
}
.bce-pay-channel input:checked + .bce-pay-channel-box .bce-pay-channel-check {
  border-color: #2468f2; background: #2468f2;
  box-shadow: inset 0 0 0 3px #fff;
}
.bce-pay-submit {
  width: 100%; border-radius: 24px; padding: 13px;
  font-size: 16px; font-weight: 600;
  border: none; cursor: pointer;
  background: linear-gradient(90deg, #ff6a00, #f33e3e);
  color: #fff;
  box-shadow: 0 2px 10px rgba(243,62,62,.28);
  transition: opacity .15s;
}
.bce-pay-submit:hover { opacity: .92; }

.bce-pay-qr-card, .bce-pay-result-card {
  background: #fff; border: 1px solid #e8e9eb; border-radius: 8px;
  padding: 40px 32px 32px; text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.bce-pay-qr-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.bce-pay-qr-sub { font-size: 14px; color: #545b66; margin-bottom: 20px; }
.bce-pay-qr-amount { font-size: 36px; font-weight: 700; color: #f33e3e; margin-bottom: 24px; }
.bce-pay-qr-frame {
  display: inline-block; padding: 12px;
  border: 1px solid #e8e9eb; border-radius: 4px; margin-bottom: 18px;
}
.bce-pay-qr-frame img { display: block; width: 200px; height: 200px; }
.bce-pay-qr-hint { font-size: 14px; color: #545b66; margin-bottom: 12px; }
.bce-pay-result-icon {
  width: 64px; height: 64px; border-radius: 50%;
  margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
}
.bce-pay-result-icon--ok { background: #e8f8ef; color: #009a29; }
.bce-pay-result-icon--wait { background: #fff7e8; color: #ed7b2f; }
.bce-pay-result-title { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.bce-pay-result-desc { font-size: 14px; color: #545b66; line-height: 1.7; margin-bottom: 24px; }
.bce-pay-result-meta {
  background: #f7f8fa; border-radius: 4px;
  padding: 16px 20px; margin-bottom: 24px; text-align: left; font-size: 13px;
}
.bce-pay-result-meta div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0; color: #84868c;
}
.bce-pay-result-meta strong { color: #151b26; font-weight: 500; }
.bce-pay-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.bce-pay-actions a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 120px; padding: 10px 22px; border-radius: 4px;
  font-size: 14px; font-weight: 500;
}
.bce-pay-actions .is-primary {
  background: linear-gradient(90deg, #ff6a00, #f33e3e);
  color: #fff !important; border: none;
}
.bce-pay-actions .is-default {
  background: #fff; color: #151b26 !important;
  border: 1px solid #e8e9eb;
}
.bce-pay-actions .is-default:hover { border-color: #2468f2; color: #2468f2 !important; }

.bce-pay-foot {
  padding: 20px 24px; text-align: center;
  font-size: 12px; color: #84868c; line-height: 1.8;
}

@media (max-width: 520px) {
  .bce-pay-channels { grid-template-columns: 1fr; }
}

/* ===== Product detail ===== */
.bce-shop--product { padding-top: 24px; }
.bce-shop-product-wrap { max-width: var(--shop-w); }
.bce-shop-product-crumb { margin-bottom: 20px; font-size: 13px; color: var(--shop-muted); }
.bce-shop-product-crumb a { color: var(--shop-accent); }
.bce-shop-product-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.bce-shop-product-buy-card {
  padding: 24px; border-radius: 12px; border: 1px solid var(--shop-line);
  background: #fff; box-shadow: 0 8px 24px rgba(15, 23, 42, .06); position: sticky; top: 80px;
}
.bce-shop-product-buy-card h2 { margin: 0 0 16px; font-size: 18px; }
.bce-shop-btn--xl { width: 100%; min-height: 48px; font-size: 15px; }
.bce-shop-btn--ghost { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; border: 1px solid var(--shop-line); background: #fff; color: var(--shop-text) !important; border-radius: 8px; }
.bce-shop-btn--success { background: #009a29 !important; }
.bce-shop-buy-tip { margin: 0 0 14px; font-size: 14px; line-height: 1.65; text-align: center; }
.bce-shop-buy-tip--ok { color: #009a29; }
.bce-shop-buy-tip--warn { color: #d48806; }
.bce-shop-buy-foot { margin: 14px 0 0; font-size: 12px; color: var(--shop-muted); text-align: center; line-height: 1.6; }
.bce-shop-buy-link { display: block; margin-top: 12px; text-align: center; font-size: 13px; }
.bce-shop-alert { margin-bottom: 16px; padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.bce-shop-alert--error { background: #fff2f0; border: 1px solid #ffccc7; color: #a8071a; }
.bce-shop-alert--ok { background: #f6ffed; border: 1px solid #b7eb8f; color: #389e0d; }
.bce-shop-alert--warn { background: #fff7e8; border: 1px solid #ffe7ba; color: #d48806; }

/* ===== Account orders ===== */
.bce-shop--account { padding: 32px 0 64px; }
.bce-account-head { margin-bottom: 24px; }
.bce-account-head h1 { margin: 0 0 8px; font-size: 28px; }
.bce-account-head p { margin: 0; color: var(--shop-muted); }
.bce-account-meta {
  display: flex; flex-wrap: wrap; gap: 16px 24px;
  margin-bottom: 20px; padding: 12px 16px;
  background: #f7f9fc; border-radius: 8px; font-size: 14px; color: #555;
}
.bce-account-table--features th:nth-child(2),
.bce-account-table--features td:nth-child(2) { white-space: nowrap; }
.bce-account-empty { padding: 48px; text-align: center; border: 1px dashed var(--shop-line); border-radius: 12px; background: #fff; }
.bce-account-table-wrap { overflow: auto; border: 1px solid var(--shop-line); border-radius: 12px; background: #fff; }
.bce-account-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bce-account-table th, .bce-account-table td { padding: 14px 16px; border-bottom: 1px solid var(--shop-line); text-align: left; }
.bce-account-table th { background: #f8fafc; color: var(--shop-muted); font-weight: 600; }
.bce-account-amount { font-weight: 700; color: #f33e3e; }
.bce-account-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.bce-account-badge.is-paid { background: #e8f8ef; color: #009a29; }
.bce-account-badge.is-pending { background: #fff7e8; color: #ed7b2f; }
.bce-account-detail { max-width: 720px; }
.bce-account-detail-card { margin-top: 20px; padding: 28px; border-radius: 12px; border: 1px solid var(--shop-line); background: #fff; }
.bce-account-detail-head h1 { margin: 10px 0 0; font-size: 22px; }
.bce-account-dl { margin: 24px 0; display: grid; gap: 12px; }
.bce-account-dl div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; font-size: 14px; }
.bce-account-dl dt { color: var(--shop-muted); }
.bce-account-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 960px) {
  .bce-shop-product-layout { grid-template-columns: 1fr; }
  .bce-shop-product-buy-card { position: static; }
}
