
@media (max-width: 768px) {
  /* 底部吸附 */
  .pricing-panel {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1000;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -6px 24px rgba(0,0,0,.06);
    padding: 12px 16px;
  }

  /* 折叠态隐藏除合计外的所有内容（行、分隔、优惠、说明等） */
  .pricing-panel:not(.is-open) .pricing-panel__row,
  .pricing-panel:not(.is-open) .pricing-panel__divider,
  .pricing-panel:not(.is-open) .promo-form {
    display: none !important;
  }

  /* 合计行显示，但只要数值，不要“合计”文字 */
  .pricing-panel:not(.is-open) .pricing-panel__row--total {
    display: inline-flex !important;
    align-items: center;
    margin: 0; padding: 0;
    order: 1;                       /* 放在右边 */
  }
  .pricing-panel:not(.is-open) .pricing-panel__row--total .pricing-panel__label {
    display: none !important;
  }
  .pricing-panel:not(.is-open) .pricing-panel__value--total {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    color: #d9534f;                 /* 你站点的主色可自行替换 */
    cursor: pointer;                /* 提示可点击展开 */
  }

  /* 按钮在左 */
  .pricing-panel:not(.is-open) .fab-box {
    display: inline-flex !important;
    order: 0;
    margin: 0;
  }
  .pricing-panel:not(.is-open) .fab-box .buy-fab {
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 15px;
    touch-action: manipulation;
  }

  /* —— 展开态：回到原始布局 —— */
  .pricing-panel.is-open .price-box {
    display: block;                 /* 恢复块级排版，交还给你原来的样式 */
  }
  .pricing-panel.is-open .pricing-panel__row,
  .pricing-panel.is-open .pricing-panel__divider,
  .pricing-panel.is-open .promo-form {
    display: flex !important;       /* 让被隐藏的行恢复显示 */
  }
}

/* ====== 商品详情中部外层容器 ====== */
.middle-blocks-outer {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 70px 64px;
  width: 100%;
}
/* ====== 中部多卡片标题外层与intro样式 ====== */
.middle-blocks-title-wrap {
    margin-bottom: 30px;
    width: 100%;
}
.middle-blocks-intro {
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 14px;
    text-align: left;
    width: 100%;
    line-height: 1.4em;
    background: linear-gradient(90deg, #3F12F5 0%, #FF5B8A 50%, #F99C52 100%);
    background-size: 100% 1.4em;
    background-repeat: repeat;
    background-position: 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: block;
}
/* ====== 中部多卡片标题样式 ====== */
.middle-blocks-section {
    width: 100%;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* justify-content: center; */
}
.middle-blocks-title {
    /* font-size: 26px; */
    /* font-weight: 800; */
    /* color: #2563eb; */
    /* margin-bottom: 28px; */
    /* text-align: center; */
    /* letter-spacing: 1px; */
    font-size: 30px;
    font-weight: 800;
    line-height: normal;
}
.middle-blocks {
      background: #fff;
    border: 1px solid #ebebee;
    border-radius: 12px;
    box-shadow: 0 14.056px 95.833px #0000000d;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    overflow: hidden;
    padding-top: 24px;
    width: 384px;
}

.middle-block-row.top-row {
    margin-bottom: 4px;
    padding: 0 30px;
    width: 100%;
    display: flex;
}
.middle-block-row.desc-row {
  justify-content: flex-start;
}
.middle-block-row.bottom-row {
  justify-content: flex-end;
  margin-top: 18px;
}
.middle-block__image.left-image img {
    display: inline-block;
    height: 22px;
    margin-right: 8px;
    vertical-align: sub;
    width: 22px;
}
.middle-block__image.right-image img {
    line-height: 1;
    width: 49%;
}
.right-image {
  text-align: center;
}
.middle-block__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.middle-title {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    line-height: normal;
}
.middle-block__image .right-image{
      margin-top: auto;
    width: 100%;
    text-align: center;
    /* padding: 64px; */
}

.middle-desc {
    margin: 0;
    color: #8d9099;
    display: -webkit-box;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 10px;
    padding: 0 30px;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .Product-header{
        display: flex;
    flex-direction: column;
    margin-bottom: 88px;
    width: 100%;
  }
  .sku-box{
        flex: 1;
    padding: 0px;
  }
  .instruction-right{
    display: none;
  }
  .middle-block-new {
    padding: 18px 8px 16px 8px;
    margin-bottom: 18px;
  }
  
  .middle-blocks-outer {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0px;
  margin-top: 100px;
}
.middle-blocks-section {

    gap: 0px;
    /* justify-content: center; */
}


  .middle-title {
    /* font-size: 17px; */
    font-size: 14px;
    font-weight: 800;
    line-height: normal;
  }
  .middle-desc {
    /* font-size: 13px; */
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 20px;
    padding: 0 24px;
  }
  .middle-blocks {
    width: 100%;
}
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* 容器与主题变量 */
.p-wrapper {
    display: flex;
    justify-content: center;
}
.product-card-container {
    --brand: #1867c0;
    --text: #0f172a;
    --muted: #64748b;
    --card: #ffffff;
    --border: #e6eaf0;
    --bg-soft: #f8fafc;
    --accent: #2563eb;
    --bg: #f9f9f9;
    --radius: 12px;
    --header-text: #ebebeb;
    --gold: #f59e0b;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 64px 20px 160px;
    width: 100%;
    max-width: 1400px;
}

/* 头部：三列布局（图 / 文本 / 价格列） */


/* 标题（流式字号，移动端更友好） */
.header-text {
  font-size: clamp(20px, 5.6vw, 32px);
  font-weight: 600;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* 商品图：自适应且保持方形比例 */

.product-image img {
    border-radius: 24px;
    height: 200px;
    width: 200px;
}

/* 左侧名称块 */
.products-name {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* 购买选项 */
.month-options { margin-bottom: 10px; padding: 10px; }
.row-label { font-size: 14px; font-weight: 700; line-height: 18px; }

/* SKU 容器与按钮 */
.skus,
.btn-group {
  padding: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* 动态生成的单个 SKU 按钮 */
.sku {
  color: var(--muted);
  background: #fbf8f8;
  border: 2px solid #fbf8f8;
  border-radius: 8px !important;
  font-size: 16px;
  letter-spacing: normal;
  padding: 12px 16px;
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.sku:hover { background: #eaeaea; }
.sku:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(24,103,192,.15);
}
.sku.active {
  background: #fff;
  border: 1px solid #b72a27;
  color: #b72a27;
}
.sku.is-disabled {
  opacity: .45;
  cursor: not-allowed;
}
.sku.is-disabled:hover { transform: none; }

.price-box {    
   /* padding: 5px; */
    border-radius: 16px;
    box-shadow: 0 4px 24px #00000014;
    padding: 32px;
    width: 398px; }


.pricing-panel__row {
  align-items: center;
  display: flex;
  font-size: 16px;
  justify-content: space-between;
  line-height: 20px;
  margin-bottom: 16px;
}
.pricing-panel__value--discount,
.zh { color: #666565; }

/* 说明与评价布局：左右两栏，在手机上变上下 */
.instruction-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.instruction-right {     /* width: 100%; */
    width: 270px;
    float: right;
}
.instruction-left {    line-height: 0;
    width: 920px;}

.Product-body-first { display: none;}

/* 评价流（卡片化） */
.review-stream {     display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-stream-header {
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 16px;
  text-align: left;
  width: 100%;
}

.all-review {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  background-color: #f7f7f7;
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
}
.ar-frist {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.username, .rc-date, .stars { color: #888888; }
.userlink {
  font-size: 12px;
  color: #f3f9f9;
  background-color: #0fa084;
  padding: 2px 6px;
  border-radius: 12px;
  text-decoration: none;
}
.avatar { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }
.ar-second { color: #466b3b; line-height: 1.6; }
.ar-third { display: flex; justify-content: space-between; align-items: center; }

/* 星星更醒目 */
.stars { display: inline-flex; align-items: center; color: #ffad4b; }

/* 分页 */
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 16px 0 8px;
}
.pagination a, .pagination span {
  padding: 6px 10px;
  color: #000000;
  border: 1px solid var(--border, #2a2a2a);
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}
.pagination .current {
  font-weight: 700;
  color: #000000;
  background: rgba(93,138,255,.12);
}
.pagination .disabled { opacity: .45; cursor: not-allowed; }


/* 其它保留：表单/优惠码/购买按钮 */
.sku-row { margin-top: 10px; }
.product-tips { font-size: 13px; color: #747474; }

.fab-box {
  width: 100%;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  display: flex;
  margin-top: 20px;
}
.promo-form {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  border: 1px solid #9999;
  padding: 3px;
  border-radius: 10px;
  background: none;
}
.promo-form__input { width: 100%; flex: 1; padding: 10px; border: none; }
.promo-form__apply {
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  background-color: #c6e6ce;
  font-size: 14px;
}
.fab-box .buy-fab {
  background: #db605e;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  font-weight: 700;
}



.sd {
  display: none;
}

.p-header{
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 0 0 100px;
    width: 100%;
}

.p-header-first{
    background: linear-gradient(90deg, #3F12F5 35%, #FF5B8A 50%, #F99C52 80%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 50px;
    font-weight: 800;
    line-height: normal;
}

.p-header-second{
    font-size: 50px;
    font-weight: 800;
    line-height: normal;
}

.p-header-third{
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: #8d9099;
}
pricing-panel__value--total

.pricing-panel__value{    
  font-family: Gilroy,FB;
    color: #333232;
    font-size: 16px;
    font-weight: bolder;}
  

.product-hero{
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fafafa;
}
.product-hero-bottom{
    margin-top: 50px;
    width: 100%;
}
.hero-container{
    max-width: 1200px;
    padding: 70px 64px 0;
    text-align: center;
}
.hero-subtitle{
    font-size: 30px;
    font-weight: 800;
    line-height: normal;
    margin-bottom: 20px;
}

.hero-title{
  margin-bottom: 20px;
  font-size: 14px;
    line-height: 1.4em;
    background: linear-gradient(
69deg, #3F12F5 0%, #FF5B8A 50%, #F99C52 100%);
    background-size: 100% 1.4em;
    background-repeat: repeat;
    background-position: 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: block;
}

.product-hero__image img{
      border-radius: 20px;
    height: auto;
    line-height: 1;
    width: 100%;
}


.mobile-header-text {
    display: none;
    font-size: 20px;
    font-weight: 600;
}

/* 文档容器外观（可选，美化） */
.project-docs {
    margin-top: 24px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 12px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.06); */
}
.doc-section { margin-bottom: 0; }
.doc-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* 折叠按钮 */
.doc-toggle {
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background .2s;
}
.doc-toggle:hover { background: #eaecef; }

/* 折叠/展开动画 */
.doc-content.collapsed {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height .4s ease, padding .3s ease;
}
.doc-content.expanded {
  padding-top: 8px;
  padding-bottom: 8px;
  transition: max-height .6s ease, padding .3s ease;
}

/* —— 以下是 Markdown 渲染的基础样式（可保留你之前的） —— */
.markdown-body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #24292f;
}
.markdown-body h1, .markdown-body h2, .markdown-body h3 {
  font-weight: 600; line-height: 1.4;
  margin: 24px 0 16px; padding-bottom: .3em;
  border-bottom: 1px solid #eaecef;
}
.markdown-body h1 { font-size: 1.8em; }
.markdown-body h2 { font-size: 1.5em; }
.markdown-body h3 { font-size: 1.25em; }
.markdown-body p { margin: 0 0 16px; }
.markdown-body ul, .markdown-body ol { padding-left: 2em; margin: 0 0 16px; }
.markdown-body li { margin-bottom: 6px; }
.markdown-body code {
  background: #f6f8fa; padding: .2em .4em; border-radius: 4px;
  font-size: 85%; font-family: Consolas, Monaco, "Courier New", monospace;
}
.markdown-body pre code {
  display: block; padding: 16px; overflow-x: auto; border-radius: 6px;
  background: #f6f8fa; line-height: 1.45; font-size: 14px;
}
.markdown-body hr { border: none; border-top: 1px solid #eaecef; margin: 24px 0; }
.markdown-body blockquote {
  border-left: .25em solid #dfe2e5; color: #6a737d;
  padding: 0 1em; margin: 0 0 16px; background: #f9f9f9;
}

/* =========================
   移动端细化（≤ 768px）
   ========================= */
@media (max-width: 768px) {
  .p-header {
    padding: 30px 0 20px;
  }

  .p-header-first {
    font-size: 30px;
  }

  .p-header-second {
    font-size: 30px;
  }

  .p-header-third {
    text-align: center;
  }

  .sd {
    display: flex;
    padding: 10px;
    flex-direction: column;
  }

  .sd-header {
    color: #8d9099;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    margin-bottom: 10px;
    min-height: 0;
  }

  .product-card-container {
    padding: 8px 10px;
  }

  .product-image {
    width: clamp(160px, 48vw, 220px);
    margin: 0 auto;
  }

  .products-name {
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .product-image img {
    margin: 0 auto;
    border-radius: 12px;
    height: 120px;
    width: 120px;
  }

  .hero-container {
    padding: 10px;
    width: 100%;
  }

  /* 价格面板放到下方整行显示 */
  .pricing-panel {
    border-radius: 12px 12px 0px 0px;
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 15px;
    background-color: #f4f4f4;
  }

  .pricing-panel__row--promo,
  .promo-form,
  .row_price,
  .pricing-panel__label {
    display: none;
  }

  .price-box {
    box-shadow: none;
  }

  .Product-body-first {
    display: flex;
    width: 100%;
    height: auto;
    gap: 8px;
    padding-bottom: 0;
    overflow-x: auto;
    max-height: 100%;
    min-height: 66px;
  }

  .header-text {
    display: none;
  }

  .mobile-header-text {
    display: flex;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    color: #9e9e9e;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 6px;
    text-overflow: ellipsis;
  }

  /* 详情与评价由两列变一列 */
  .instruction-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .instruction-right {
    width: 100%;
  }

  /* 评价卡片压缩留白 */
  .all-review {
    padding: 12px;
    border-radius: 10px;
  }

  .review-stream-header {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 8px;
  }

  /* 分页按钮更易点 */
  .pagination a, .pagination span {
    padding: 8px 12px;
  }

  .product-tips {
    display: none;
  }

  .bigcard{
        padding: 10px;
    background-color: #fafafa;
  }
  .big-card-image img{
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .big-card-line-1{
      font-size: 14px;
    font-weight: 500;
    line-height: normal;
    line-height: 1.4em;
    background: linear-gradient(90deg, #3F12F5 0%, #FF5B8A 50%, #F99C52 100%);
    background-size: 100% 1.4em;
    background-repeat: repeat;
    background-position: 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: block;
    margin-bottom: 10px;
  }
  .big-card-line-2{
    font-size: 30px;
    font-weight: 800;
    line-height: normal;
    margin-bottom: 10px;
  }
  .big-card-line-3{
    color: #8d9099;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    margin-bottom: 10px;
    min-height: 0;
  }
}



@media (min-width: 769px){
  /* 行
样式（沿用你之前的视觉） */
.Product-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 88px;
    width: 100%;
}
.sku-box{
  flex: 1;
  padding: 0 48px;
}
.big-card-line-1 {
    line-height: 1.4em;
    background: linear-gradient(90deg, #3F12F5 0%, #FF5B8A 50%, #F99C52 100%);
    background-size: 100% 1.4em;
    background-repeat: repeat;
    background-position: 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: block;
}
.big-card-line-2 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 22px;
    position: relative;
}
.big-card-line-3 {
    color: #8d9099;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    margin-bottom: 10px;
    min-height: 0;
}
/* 右列：图片卡片要跟随整行高度 */
/* 容器：左文右图，等高 */
.big-card {

    background-color: #fafafa;
    max-width: 1200px;
    padding: 70px 64px 70px 70px;
}
.bigcard{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    gap: 20px;
}
/* 偶数卡片反转 */
.big-card.reverse {
    flex-direction: row-reverse;
}

/* 左列：三行文字纵向排列 */
.big-card-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

}
.big-card-right {
    width: 460px;
}
.big-card-image {
    border-radius: 12px;
    height: auto;
    line-height: 1;
    width: 100%;
}
.big-card-image img {
    border-radius: 20px;
    height: auto;
    line-height: 1;
    width: 100%;
}
}

/* Mobile 折叠：只留“我想要”+ 合计（带 SVG 箭头） */
@media (max-width:768px){
  .pricing-panel{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #eee;padding:12px 16px;z-index:1000}
  .pricing-panel:not(.is-open) .price-box{display:flex;align-items:center;justify-content:space-between;padding: 0px;width: 100%;}
  .pricing-panel:not(.is-open) .pricing-panel__row:not(.pricing-panel__row--total),
  .pricing-panel:not(.is-open) .promo-form,
  .pricing-panel:not(.is-open) .pricing-panel__divider{display:none!important}
  .pricing-panel:not(.is-open) .fab-box{display:inline-flex}
  .pricing-panel:not(.is-open) .pricing-panel__row--total{display:inline-flex}
  .pricing-panel:not(.is-open) .pricing-panel__row--total .pricing-panel__label{display:none}
  #result-price{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-weight:700}
  #result-price::after{
    content:"";width:14px;height:10px;background:currentColor;transition:transform .18s;
    -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polyline points="6,14 12,8 18,14" fill="none" stroke="%23000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
            mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polyline points="6,14 12,8 18,14" fill="none" stroke="%23000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
  }
  .pricing-panel.is-open #result-price::after{transform:rotate(180deg)}
  .pricing-panel.is-open .price-box{display:block} /* 展开还原原排版 */
  .pricing-panel.is-open .pricing-panel__row,
  .pricing-panel.is-open .promo-form,
  .pricing-panel.is-open .pricing-panel__divider{display:flex!important}
}
