/* 详情页：居中容器 */
.h5-page-detail {
  background: transparent;
  min-height: 100vh;
}

.h5-detail-page {
  max-width: 1108px;
  margin: 0 auto;
  padding: 16px 12px 32px;
  position: relative;
  z-index: 1;
}

/* 内容容器毛玻璃卡片化 */
.h5-page-detail .h5-detail-top,
.h5-page-detail .h5-detail-bottom ,.h5-detail-page .h5-detail-top{
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px;
}

@media (min-width: 992px) {
  .h5-page-detail .h5-detail-top,
  .h5-page-detail .h5-detail-bottom {
    padding: 18px;
  }
}

/* ========== 上区：主图 + 信息 + 右侧互动 ========== */
.h5-detail-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.h5-detail-hero {
  background: #f6f9fb;
  border-radius: 8px;
  overflow: hidden;
}

.h5-detail-hero img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: contain;
}

.h5-detail-status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.h5-pill {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  color: var(--color-primary);
  border: 1px solid rgba(74, 144, 226, 0.45);
  border-radius: 4px;
  background: rgba(74, 144, 226, 0.08);
}

.h5-status-text {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.h5-detail-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #0f1111;
}

/* 价格：深红强调 */
.h5-detail-price {
  font-size: 28px;
  font-weight: 700;
  color: #b71c1c;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.h5-detail-price small {
  font-size: 16px;
  font-weight: 600;
  margin-right: 2px;
}

.h5-detail-meta {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0 0 18px;
}

.h5-detail-meta a {
  color: var(--color-primary);
}

.h5-detail-meta a:hover {
  text-decoration: underline;
}

.h5-meta-split {
  margin-left: 1em;
}

.h5-detail-picks {
  margin: 14px 0 14px;
  max-width: 360px;
}

.h5-detail-pick-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.h5-detail-pick-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.h5-detail-pick-ic {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--color-primary);
  background: rgba(74, 144, 226, 0.12);
}

.h5-detail-specs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.h5-detail-spec {
  min-width: 78px;
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(74, 144, 226, 0.25);
  background: rgba(255, 255, 255, 0.8);
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(74, 144, 226, 0.08);
}

.h5-detail-spec:hover {
  border-color: rgba(74, 144, 226, 0.45);
}

.h5-detail-spec.active {
  background: linear-gradient(135deg, #4a90e2 0%, #2d6fd9 100%);
  border-color: rgba(74, 144, 226, 0.55);
  color: #fff;
  box-shadow: 0 10px 22px rgba(74, 144, 226, 0.22);
}

.h5-detail-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.h5-detail-qty {
  width: 120px;
  height: 46px;
  border-radius: 12px;
  border: 2px solid rgba(74, 144, 226, 0.45);
  background: rgba(255, 255, 255, 0.85);
  padding: 0 14px;
  font-size: 15px;
  outline: none;
  box-shadow: 0 10px 24px rgba(74, 144, 226, 0.12);
}

.h5-detail-qty:focus {
  border-color: rgba(74, 144, 226, 0.85);
  box-shadow: 0 10px 24px rgba(74, 144, 226, 0.18);
}

.h5-detail-qty-stock {
  font-size: 13px;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .h5-detail-qty {
    width: 96px;
    height: 44px;
  }
}

.h5-btn-buy {
  width: 100%;
  max-width: 280px;
  height: 44px;
  border: none;
  border-radius: 22px;
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.h5-btn-buy:hover {
  filter: brightness(1.06);
}

.h5-btn-buy-plus {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

/* 右侧互动：移动端先横排卡片，再在下文；此处为竖向列表 */
.h5-interact-list {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.h5-interact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 14px;
  border: none;
  border-bottom: 1px solid #e8edf2;
  background: #fff;
  font-size: 14px;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
}

.h5-interact-row:last-child {
  border-bottom: none;
}

.h5-interact-row:hover {
  background: #fafbfc;
}

.h5-interact-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.h5-interact-icon-wrap {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h5-interact-svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.h5-interact-num {
  font-size: 14px;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.h5-weibo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ========== 下区：简介/评论 | 热门推荐 ========== */
.h5-detail-bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}

.h5-content-tabs-wrap {
  min-width: 0;
}

.h5-content-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 14px;
}

.h5-content-tabs button {
  border: none;
  background: none;
  padding: 0 0 12px;
  font-size: 15px;
  color: #fff;
  position: relative;
  cursor: pointer;
}

.h5-content-tabs button.active {
  color: var(--color-text);
  font-weight: 600;
}

.h5-content-tabs button.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px 2px 0 0;
}

.h5-tab-panel {
  display: none;
  font-size: 13px;
  color: #5c6b7a;
  line-height: 1.75;
  padding-bottom: 8px;
}

.h5-tab-panel.active {
  display: block;
}

.h5-intro-lead {
  margin: 0 0 12px;
  color: var(--color-text-secondary);
}

.h5-tab-panel ul {
  margin: 0;
  padding-left: 18px;
}

/* ========== 详情描述区（左侧竖条标题 + 图集） ========== */
.h5-desc-body {
  background: #fff;
  border-radius: 8px;
  padding: 20px 18px 24px;
  border: 1px solid #eef1f5;
  box-shadow: 0 1px 3px rgba(15, 17, 17, 0.04);
}

.h5-desc-section + .h5-desc-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #f0f2f5;
}

.h5-desc-heading {
  margin: 0 0 14px;
  padding-left: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.35;
  border-left: 4px solid var(--color-primary);
}

.h5-desc-text {
  margin: 0 0 12px;
  font-size: 14px;
  color: #5c6b7a;
  line-height: 1.8;
}

.h5-desc-text:last-child {
  margin-bottom: 0;
}

.h5-desc-list {
  margin: 0;
  padding-left: 20px;
  color: #5c6b7a;
  font-size: 14px;
  line-height: 1.85;
}

.h5-desc-list li + li {
  margin-top: 8px;
}

.h5-desc-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 4px;
}

@media (min-width: 640px) {
  .h5-desc-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (min-width: 992px) {
  .h5-desc-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .h5-desc-gallery--large {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
  }
}

.h5-desc-thumb {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
  background: #f6f8fa;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.h5-desc-thumb:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(74, 144, 226, 0.15);
}

.h5-desc-thumb:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.h5-desc-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 300;
  object-fit: cover;
}

.h5-desc-gallery--large .h5-desc-thumb img {
  aspect-ratio: 600 / 380;
}

/* 大图预览 lightbox */
.h5-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.h5-lightbox[hidden] {
  display: none !important;
}

.h5-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.h5-lightbox-inner {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h5-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.h5-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.h5-lightbox-close:hover {
  background: #f5f5f5;
}

@media (max-width: 640px) {
  .h5-lightbox-close {
    top: 8px;
    right: 8px;
  }
}

/* ========== 评论区 ========== */
.h5-comment-panel {
  background: #fff;
  border-radius: 8px;
  padding: 20px 18px 8px;
  border: 1px solid #eef1f5;
  box-shadow: 0 1px 3px rgba(15, 17, 17, 0.04);
}

.h5-comment-compose-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  color: #0f1111;
}

.h5-comment-compose {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 480px) {
  .h5-comment-send {
    width: 100%;
  }
}

.h5-comment-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dbeafe, #e0f2fe);
  border: 1px solid #cfe8fc;
}

.h5-comment-avatar--lg {
  width: 44px;
  height: 44px;
}

.h5-comment-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #e8ecf0;
  border-radius: 4px;
  background: #f5f6f8;
  font-size: 14px;
  color: #333;
  outline: none;
}

.h5-comment-input::placeholder {
  color: #a1a8b3;
}

.h5-comment-input:focus {
  border-color: var(--color-primary);
  background: #fff;
}

.h5-comment-send {
  flex-shrink: 0;
  height: 40px;
  padding: 0 22px;
  border: none;
  border-radius: 4px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.h5-comment-send:hover {
  filter: brightness(1.05);
}

.h5-comment-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8ecf0;
  margin-bottom: 4px;
}

.h5-comment-total {
  font-size: 14px;
  color: #333;
}

.h5-comment-total strong {
  font-weight: 600;
  color: #0f1111;
}

.h5-comment-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.h5-comment-sort-btn {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  color: #999;
  font-size: 14px;
}

.h5-comment-sort-btn.active {
  color: #333;
  font-weight: 500;
}

.h5-comment-sort-gap {
  color: #d0d5dd;
  user-select: none;
}

.h5-comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.h5-comment-item {
  display: flex;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px dashed #d8dee6;
}

.h5-comment-item:last-child {
  border-bottom: none;
}

.h5-comment-body {
  flex: 1;
  min-width: 0;
}

.h5-comment-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}

.h5-comment-userblock {
  min-width: 0;
}

.h5-comment-user {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0f1111;
  word-break: break-all;
}

.h5-comment-time {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #a1a8b3;
}

.h5-comment-recommend {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
  padding-top: 2px;
}

.h5-comment-recommend:hover {
  text-decoration: underline;
}

.h5-comment-rec-num {
  font-weight: 500;
}

.h5-comment-text {
  margin: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.65;
}

/* 热门推荐侧栏 */
.h5-rec-section {
  min-width: 0;
}

.h5-rec-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #0f1111;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e9ef;
}

.h5-rec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.h5-rec-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.h5-rec-item:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.h5-rec-item .thumb {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  overflow: hidden;
  background: #f0f3f7;
}

.h5-rec-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h5-rec-item .info {
  min-width: 0;
}

.h5-rec-item .t {
  font-size: 13px;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.h5-rec-item .p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-top: 6px;
}

/* 移动端：推荐横滑 */
@media (max-width: 991px) {
  .h5-rec-list {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .h5-rec-list::-webkit-scrollbar {
    display: none;
  }

  .h5-rec-item {
    flex: 0 0 200px;
    grid-template-columns: 64px 1fr;
  }

  .h5-rec-item .thumb {
    width: 64px;
    height: 64px;
  }
}

/* ========== PC：上三栏、下两栏 ========== */
@media (min-width: 992px) {
  .h5-detail-page {
    padding: 24px 16px 40px;
  }

  .h5-detail-top {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(280px, 1fr) 220px;
    gap: 28px 32px;
    align-items: start;
    margin-bottom: 32px;
  }

  .h5-detail-col--img {
    position: sticky;
    top: 72px;
  }

  .h5-detail-col--info {
    padding-top: 4px;
    min-width: 0;
  }

  .h5-detail-col--interact {
    padding-top: 4px;
  }

  .h5-detail-bottom {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
  }

  .h5-detail-content-col {
    min-width: 0;
  }
}

/* ===================== 礼品卡详情页（按参考图优化） ===================== */
.h5-page-detail.h5-theme-store {
  background: #f3f4f6;
}

.h5-page-detail.h5-theme-store::before {
  display: none;
}

.h5-page-detail.h5-theme-store .h5-header {
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid #e5e7eb;
}

.h5-page-detail.h5-theme-store .h5-header-inner {
  max-width: 1160px;
}

.h5-page-detail.h5-theme-store .h5-logo {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.h5-page-detail.h5-theme-store .h5-search {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.h5-page-detail.h5-theme-store .h5-search input::placeholder {
  color: #94a3b8;
}

.h5-store-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 12px;
}

.h5-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 12px 0 4px;
  font-size: 13px;
  color: #64748b;
}

.h5-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.h5-breadcrumb a:hover {
  color: #2563eb;
}

.h5-breadcrumb-sep {
  color: #cbd5e1;
  user-select: none;
}

.h5-breadcrumb-current {
  color: #0f172a;
  font-weight: 600;
}

/* Hero：三列（信息/面额/购买卡片） */
.h5-gc-hero {
  margin: 10px 0 16px;
}

.h5-gc-hero-inner {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.h5-gc-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.h5-gc-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 0;
  font-size: 14px;
  color: #475569;
}

.h5-gc-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.h5-gc-trustpilot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #0f172a;
  font-weight: 800;
  white-space: nowrap;
}

.h5-gc-trustpilot-text {
  color: #0f172a;
  font-weight: 900;
}

.h5-gc-trustpilot-score {
  color: #0f172a;
  font-weight: 900;
}

.h5-gc-trustpilot-stars {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.h5-gc-trustpilot-stars .tp-star {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #22c55e;
  display: inline-block;
  position: relative;
}

.h5-gc-trustpilot-stars .tp-star::after {
  content: '★';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.h5-gc-trustpilot-brand {
  color: #0f172a;
  font-weight: 900;
}

.h5-gc-trustpilot-brand::before {
  content: ' ';
}

.h5-gc-stars {
  letter-spacing: 1px;
  color: #f59e0b;
  font-size: 15px;
}

.h5-gc-rating-num {
  font-weight: 800;
  color: #0f172a;
}

.h5-gc-card-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 320px;
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;

  color: #fff;

}

.h5-gc-card-brand {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.h5-gc-card-sub {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.92;
}

.h5-gc-pay-label {
  margin: 0 0 8px;
  font-size: 12px;
  color: #64748b;
}

.h5-gc-pay-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h5-gc-pay-icons li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  font-weight: 800;
  color: #475569;
}

.h5-gc-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}

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

.h5-gc-denom {
  min-height: 44px;
  padding: 8px 6px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  color: #334155;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.h5-gc-denom:hover {
  border-color: #cbd5e1;
}

.h5-gc-denom.active {
  border-color: #e4393c;
  border-width: 2px;
  padding: 7px 5px;
  box-shadow: 0 0 0 1px rgba(228, 57, 60, 0.12);
  color: #b91c1c;
  background: #fff5f5;
}

.h5-gc-col--buy {
  align-self: start;
  padding: 18px;
  border-radius: 14px;
  background: #fafafa;
  border: 1px solid #e5e7eb;
}

.h5-gc-buy-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.h5-gc-buy-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e4393c;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
}

.h5-gc-buy-name {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
}

.h5-gc-buy-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
}

.h5-gc-buy-price {
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.h5-gc-buy-usd {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
}

.h5-gc-buy-cny {
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
}

.h5-gc-btn-primary {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 14px 16px;
  border: none;
  border-radius: 999px;
  background: #e4393c;
  color: #fff !important;
  font-size: 15px;
  font-weight: 1000;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(228, 57, 60, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.h5-gc-btn-primary:hover {
  filter: brightness(1.04);
}

.h5-gc-btn-secondary {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 999px;
  background: #eef2f7;
  color: #0f172a !important;
  font-size: 15px;
  font-weight: 1000;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.h5-gc-btn-secondary:hover {
  background: #e5e7eb;
}

.h5-gc-btn-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Benefits list (red triangle bullets + crypto row) */
.h5-gc-benefits {
  margin: 30px 0 8px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

.h5-gc-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.h5-gc-benefits li::before {
  content: '';
  width: 0;
  height: 0;
  margin-top: 6px;
  border-left: 7px solid #ef4444;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  flex-shrink: 0;
}

.h5-gc-benefits-crypto {
 
  gap: 10px;
}

.h5-gc-benefits-crypto-text {
  font-weight: 800;
  color: #0f172a;
}

.h5-gc-crypto-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.h5-gc-crypto {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 1000;
  color: #fff;
}

.h5-gc-crypto--btc {
  background: #f59e0b;
}

.h5-gc-crypto--eth {
  background: #6366f1;
}

.h5-gc-crypto--usdt {
  background: #10b981;
}

.h5-gc-crypto--sol {
  background: linear-gradient(135deg, #22c55e 0%, #a855f7 55%, #0ea5e9 100%);
}

.h5-gc-buy-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.55;
}

@media (min-width: 992px) {
  .h5-gc-hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 300px;
    align-items: start;
    padding: 22px 26px;
  }

  .h5-gc-col--buy {
    position: sticky;
    top: 78px;
  }

  .h5-gc-denoms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .h5-gc-denoms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 复用 home 的 details/steps/related 外观，给 detail 兜底 */
.h5-store-section-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
}

.h5-store-accordions,
.h5-gc-details {
  margin-top: 8px;
}

.h5-store-details {
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  overflow: hidden;
}

.h5-store-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
}

.h5-store-details summary::-webkit-details-marker {
  display: none;
}

.h5-store-details summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 700;
  color: #94a3b8;
  line-height: 1;
}

.h5-store-details[open] summary::after {
  content: '\2212';
  color: #64748b;
}

.h5-store-details-body {
  padding: 0 16px 16px;
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
}

.h5-store-details-body p {
  margin: 0 0 10px;
}

.h5-store-details-body p:last-child {
  margin-bottom: 0;
}

.h5-store-details-body ul {
  margin: 0;
  padding-left: 1.1em;
}

/* 评分区 */
.h5-gc-review {
  padding: 12px 0 6px;
}

.h5-gc-review-head {
  display: grid;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.h5-gc-review-score {
  display: grid;
  gap: 6px;
  align-content: start;
}

.h5-gc-review-num {
  font-size: 34px;
  font-weight: 1000;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.h5-gc-review-stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

.h5-gc-review-meta {
  font-size: 13px;
  color: #64748b;
}

.h5-gc-review-bars {
  display: grid;
  gap: 8px;
}

.h5-gc-bar {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.h5-gc-bar i {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #f1f5f9;
  overflow: hidden;
}

.h5-gc-bar i::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--w, 50%);
  background: #0f172a;
  border-radius: inherit;
}

.h5-gc-review-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.h5-gc-review-item {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.h5-gc-review-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.h5-gc-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dbeafe, #e0f2fe);
  border: 1px solid #cfe8fc;
}

.h5-gc-review-name {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.h5-gc-review-time {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.h5-gc-review-text {
  margin: 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .h5-gc-review-head {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}

/* 右侧购买卡：更稳的“下拉固定” */
@media (min-width: 768px) {
  .h5-gc-col--buy {
    position: sticky;
    top: 78px;
    z-index: 20;
  }
}

/* 移动端底部购买条：滚动时始终可操作 */
.h5-gc-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid #e5e7eb;
}

.h5-gc-mobile-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.h5-gc-mobile-price {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.h5-gc-mobile-usd {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.h5-gc-mobile-cny {
  font-size: 12px;
  color: #64748b;
  font-weight: 800;
}

.h5-gc-mobile-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #e4393c;
  color: #fff !important;
  font-size: 14px;
  font-weight: 1000;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(228, 57, 60, 0.25);
}

.h5-gc-mobile-btn:hover {
  filter: brightness(1.04);
}

.h5-gc-mobile-btns {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.h5-gc-mobile-btn--secondary {
  background: #eef2f7;
  color: #0f172a !important;
  box-shadow: none;
}

.h5-gc-mobile-btn--secondary:hover {
  background: #e5e7eb;
}

/* PC 隐藏底部购买条 */
@media (min-width: 992px) {
  .h5-gc-mobile-bar {
    display: none;
  }
}

/* 给移动端页面留出底部购买条空间，避免挡住内容 */
@media (max-width: 991px) {
  body.h5-page-detail.h5-theme-store {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}
