/** Shopify CDN: Minification failed

Line 903:29 Unexpected "{"
Line 903:38 Expected ":"
Line 909:29 Unexpected "{"
Line 909:38 Expected ":"
Line 926:29 Unexpected "{"
Line 926:38 Expected ":"
Line 934:29 Unexpected "{"
Line 934:38 Expected ":"
Line 943:29 Unexpected "{"
Line 943:38 Expected ":"
... and 35 more hidden warnings

**/
.cl-community-pd {
}

/* 容器与两栏 */
.community-pd__container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 756fr) minmax(300px, 452fr); /* 添加最小宽度防止过小 */
  column-gap: clamp(16px, 2vw, 24px); /* 响应式间距 */
  justify-content: normal; /* 不要再用 space-between */
  padding: 0 clamp(16px, 4vw, 48px) 0 0; /* 响应式内边距 */
  box-sizing: border-box;
  align-items: start;
}

/* 左侧画廊 - 添加响应式缩放 */
.community-pd__gallery {
  width: 100%;
  position: relative;
  max-height: clamp(400px, 65vh, 832px); /* 响应式最大高度 */
  min-height: 400px; /* 确保最小高度 */
}
.community-gallery__stage {
  position: relative;
  width: 100%;
  background: #ffffff;
  overflow: hidden;
}


/* 左右切换按钮 */
.community-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  border-radius: 4px;
}
.community-gallery__nav path {
  color: #00406b;
}
.community-gallery__nav:hover path {
  color: #00406b;
  background: #ffffff;
}
.community-gallery__nav--prev {
  left: 52px;
}
.community-gallery__nav--next {
  right: 52px;
}
.community-gallery__nav:hover {
  background: #ffffff;
}

/* 右上角放大 */
.community-gallery__zoom {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

@media (max-width: 768px) {
  .community-gallery__zoom {
display:none;
}
}


.community-gallery__zoom-wrap {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.community-gallery__zoom img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

/* 悬停时从右侧拉出的文字 */
.community-gallery__zoom-label {
  font-size: 16px;
  line-height: 24px;
  color: #00406b;
  font-family: Galano Grotesque;
  white-space: nowrap;
  overflow: hidden;
  width: 143px;
  padding: 8px 10px;
  opacity: 0;
  transform: translate(8px);
  transition: max-width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    padding 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.25s ease,
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 35px;
}

/* hover 到整体包装或按钮时展开 */
.community-gallery__zoom-wrap:hover .community-gallery__zoom-label,
.community-gallery__zoom:focus + .community-gallery__zoom-label {
  /* 为了从右侧“拉出”，标签在按钮左侧显示，max-width 展开 */
  max-width: 220px;
  padding: 6px 10px;
  opacity: 1;
  transform: translateX(0);
}

/* 小屏时隐藏文案，仅保留图标 */
@media (max-width: 768px) {
  .community-gallery__zoom-label {
    display: none;
  }
}


/* dots */
.community-dots-switch {
    /* position: absolute;
    bottom: clamp(30px, 8vh, 58px); 
    left: 50%;
    transform: translateX(-50%);  */
    width: 100%;
    padding: 0 18px;
}

/* PC端响应式缩放 */
@media (min-width: 769px) and (max-width: 1200px) {
  .community-dots-switch {
    bottom: clamp(25px, 6vh, 50px);
    transform: translateX(-50%) scale(clamp(0.8, 0.85vw, 1)); /* 根据视窗宽度缩放 */
  }
}

@media (max-width: 768px) {
.community-dots-switch {
    bottom: -60px;
    /* transform: translateX(-50%); */
}
}
.community-gallery__dots {
  margin: 12px 0 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.community-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: #d9d9d9;
  border: none;
  cursor: pointer;
}
.community-dot--active {
  background: #00406b;
}

/* products / scene 切换 */
.community-gallery__switch {
  display: flex;
  gap: 10px;
  justify-content: center;
  background: #ffffff;
  border-radius: 999px;
  margin-top:24px;
}
.community-switch__btn {
  min-width: 84px;
  height: 28px;
  padding: 0 14px;
  border-radius: 16px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 22px;
  color: #525456;
  font-weight: 400;
  font-family: Galano Grotesque;
  
}
.community-switch__btn--active {
  background: #00406b;
  color: #ffffff;
}

/* 右侧面板 452px */
.community-pd__sidebar {
  width: 100%;
  padding: 62px 0 0 0;
}
.community-pd__title {
  font-size: 28px;
    line-height: 44px;
    margin: 0 0 24px;
    font-weight: 600;
    font-family: Galano Grotesque;
    color: #303233;
}
    @media (max-width: 768px) {
.community-pd__title {
  font-size: 28px !important;
}
    }
.community-pd__desc {
  color: #303233;
    font-size: 16px !important;
    line-height: 26px;
    font-family: Galano Grotesque;
    letter-spacing: 0;
    margin-top: 24px;
}
.community-buy__btn {
  margin-top: 20px;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* 放大弹窗 */
.community-zoom__dlg {
  width: min(92vw, 1100px);
  border: none;
  padding: 0;
  background: #0000; /* 透明背景，通过:backdrop */
}
.community-zoom__dlg::backdrop {
  background: rgba(0, 0, 0, 0.55);
}
.community-zoom__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.community-zoom__close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 仅 PC 设计：若需要，你可在 <1200px 时降级为单栏 */
@media (max-width: 768px) {
  .community-pd__container {
    display: block;
  }
  .community-pd__gallery,
  .community-gallery__stage,
  .community-pd__sidebar {
    width: 100%;
  }

}

/* 评分 */
.product__rating {
  margin-top: 24px;
}
.community-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 16px;
}
.community-rating .rating {
  line-height: 1;
}
.community-rating__text {
  font-size: 12px;
  color: #666;
  text-decoration: none;
}
.community-rating__text:hover {
  text-decoration: underline;
}
.rating-wrapper .rating-count {
  display: inline-block;
    margin: 0 6px 0 4px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    font-family: Galano Grotesque;
    color: #525456;
}
.rating-wrapper .rating-reviews {
  font-size: 12px;
        line-height: 20px;
        letter-spacing: 0;
        font-family: Galano Grotesque;
        color: #525456;
}

.mf-specs {
  margin: 16px 0 20px;
}
.mf-specs__title {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.mf-specs__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.mf-specs__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 10px 12px;
}
.mf-specs__label {
  color: #666;
}
.mf-specs__value {
  color: #111;
  font-weight: 500;
}

/* 标题上方的小规格文字 */
.community-pd__power {
  margin-bottom: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #525456;
    letter-spacing: 0;
    line-height: 24px;
    text-transform: none;
    font-family: Galano Grotesque;

}

.rating-star:before {
  -webkit-text-fill-color: #e3e3e4 !important;
}

/* 兜底：用文字星星渲染 */
.community-pd .rating-star {
  --rating: 0;
  --rating-max: 5;
  --rating-decimal: 0;
  position: relative;
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 3px;
}
.community-pd .rating-star::before,
.community-pd .rating-star::after {
  content: "★★★★★";
}
.community-pd .rating-star::before {
  color: #e5e7eb;
}
.community-pd .rating-star::after {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  color: #f5a623;
  width: calc(
    (var(--rating) / var(--rating-max) * 100%) +
      (var(--rating-decimal) * (100% / var(--rating-max)))
  );
  overflow: hidden;
}

/* 容器 */
.community-so {
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 16px;
}
.community-so__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

/* 列表 */
.community-so__list {
  display: grid;
  gap: 10px;
}
.community-so__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 8px;
}
.community-so__item.is-soldout {
  opacity: 0.55;
}
.community-so__thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  background: #f7f7f7;
}
.community-so__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.community-so__placeholder {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    #f2f2f2,
    #f2f2f2 6px,
    #ececec 6px,
    #ececec 12px
  );
}

.community-so__name {
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 4px;
}
.community-so__price {
  font-size: 13px;
  color: #555;
}

/* 右侧控制 */
.community-so__ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
}
.community-so__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.community-so__checkbox {
  width: 16px;
  height: 16px;
}
.community-so__btn {
  display: inline-block;
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid #222;
  border-radius: 6px;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.community-so__checkbox:checked + .community-so__btn {
  background: #222;
  color: #fff;
  border-color: #222;
}
.community-so__sold {
  font-size: 12px;
  color: #c33;
  font-weight: 600;
}
.recommend-options {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e7e9e9;
}
.recommend-options__title {
  margin: 0 0 16px;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    font-family: Galano Grotesque;
    color: #303233;
}
.recommend-options__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.recommend-options__item {
  border: 1px solid #E7E9E9;
    border-radius: 4px;
    background: #fff;
    padding: 12px 13px 12px 12px;
    background: #ffffff !important;
}
@media (prefers-color-scheme: dark) {
  .recommend-options__item {
    border-color: rgba(255, 255, 255, 0.16);
    background: #111;
  }
}
.recommend-options__title-text {
  font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: 0;
    font-family: Galano Grotesque;
    color: #303233;
    margin-bottom: 12px;
}
.recommend-options__label {
  display: grid;
  grid-template-columns: 18px 60px 1fr auto;
  align-items: center;
  cursor: pointer;
}
.recommend-options__check {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid #e5e7eb;
  background: #fff;
  position: relative;
  margin: 0;
  display: inline-block;
}
.recommend-options__check:checked {
  border-color: #ff6a00;
  background: #fff;
}
.recommend-options__check:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #ff6a00;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
/* 让复选框参与布局，不被主题的通用隐藏规则影响 */
.recommend-options__label input[type="checkbox"].recommend-options__radio {
  position: static !important;
  opacity: 1 !important;
  clip: auto !important;
  clip-path: none !important;
  pointer-events: auto !important;
  width: 18px; height: 18px; /* 和下方尺寸一致 */
  margin: 0;
}

/* 推荐项 label 的栅格：第一列留给小方块 */
.recommend-options__label {
  display: grid;
  grid-template-columns: 18px 56px 1fr auto; /* 方块 / 缩略图 / 文本 / 数量 */
  align-items: center;
}

/* 自定义方块样式（去掉原生外观） */
/* 确保这个复选框没有被主题隐藏/绝对定位 */
.recommend-options__label input[type="checkbox"].recommend-options__radio{
  position: static !important;
  opacity: 1 !important;
  clip: auto !important;
  clip-path: none !important;
  pointer-events: auto !important;
}

/* 仅用 background 实现“内部小方块”，不使用 ::before */
.recommend-options__radio{
  --rec-border: #D9D9D9;   /* 未选中 & 选中时的边框（保持不变） */
  --rec-fill:   #FE4D00;   /* 选中时内部方块颜色 */
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border: 1px solid #E7E9E9;
  border-radius: 2px;
  background-color: #fff;

  /* 中心小方块：用一层背景实现，默认尺寸为 0 */
  background-image: linear-gradient(var(--rec-fill), var(--rec-fill));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0 0;                /* 未选中隐藏方块 */
  transition: background-size .15s ease;
  cursor: pointer;
  border-radius:2px;
}

/* 选中时只放大内部色块，边框不变色 */
.recommend-options__radio:checked{
  background-size: 10px 10px;    
  border-radius: 2px;      /* 小方块尺寸（可改 8px/12px） */
  border-color: #E7E9E9 !important;
}

/* 悬停/聚焦效果（可选） */
.recommend-options__radio:hover{ border-color:#C9C9C9; }
.recommend-options__radio:focus-visible{ outline:2px solid #111; outline-offset:2px; }

/* 万一之前写过伪元素规则，直接清空以免干扰（保险） */
.recommend-options__radio::before,
.recommend-options__radio::after{ content:none !important; }



/* 禁用/售罄 */
.recommend-options__item.is-soldout .recommend-options__radio,
.recommend-options__radio:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.recommend-options__image {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #f6f6f6;
}
.recommend-options__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.recommend-options__name {
  font-weight: 600;
  line-height: 1.25;
}
.recommend-options__prices .price {
      font-weight: 600;
    margin-right: 18px;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0;
    font-family: Galano Grotesque;
    color: #303233;
}
.recommend-options__prices .compare {
  font-size: 14px;
    line-height: 22px;
    letter-spacing: 0;
    font-family: Galano Grotesque;
    color: #818181;
}
.recommend-options__prices {
  display: flex;
}
.recommend-options__qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #818588;
  border-radius: 4px;
  overflow: hidden;
  height: 31px;
}
.recommend-options__qty .qty-btn {
  width: 28px;
  height: 31px;
  min-width: 28px;
  max-width: 28px;
  min-height: 31px;
  max-height: 31px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}
.recommend-options__qty .qty-input {
  width: 44px;
  height: 31px;
  text-align: center;
  background: transparent;
  border: 0;
  font-size: 16px;
  line-height: 31px;
  font-weight: 400;
  color: #2F2B2B;
  font-family: Roboto;
  padding: 0;
  margin: 0;
}
.recommend-options__item.is-soldout {
  opacity: 0.6;
}
.recommend-options__item.is-soldout .recommend-options__qty {
  opacity: 0.6;
  pointer-events: none;
}
.recommend-options__qty .qty-input::-webkit-outer-spin-button,
.recommend-options__qty .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox + 统一外观 */
.recommend-options__qty .qty-input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}


.community-badges {
  margin-top: 24px;
}
.community-badges__title {
  margin: 0 0 16px;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    font-family: Galano Grotesque;
    color: #303233;
}
.community-badges__list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 15px;
  align-items: center;
  padding: 0;
}
.community-badges__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #ebebeb !important;
  border-radius: 3px;
}
.community-badges__item img {
  max-height: var(--badge-h);
  height: var(--badge-h);
  width: auto;
  display: block;
}
@media (prefers-color-scheme: dark) {
  .community-badges__item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.16);
  }
}

.select-options__item:has(.select-options__radio:checked) {
  border-color: #00406b;
}
.cl-select-options__radio {
  display: none;
}

.select-options {
  margin-top: 24px;
}
.select-options__title {
      margin: 0 0 16px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    font-family: Galano Grotesque;
    color: #303233;
}
.select-options__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.select-options__item {
 border: 1px solid #E7E9E9;
    border-radius: 4px;
    padding: 24px 12px 24px 12px;
}
.select-options__label {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.select-options__radio {
  margin-right: 4px;
}
.select-options__image {
  flex: 0 0 auto;
}
.select-options__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.select-options__title-text {
  font-weight: 600;
    line-height: 22px;
    font-size: 14px;
    letter-spacing: 0;
    font-family: Galano Grotesque;
    color: #303233;
    text-decoration: none;
}
.select-options__prices .compare {
  font-size: 14px;
    margin-left: 18px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
    font-family: Galano Grotesque;
    color: #818181;
}
.select-options__prices .price {
  margin-bottom: 0;
        font-size: 16px;
        line-height: 22px;
        font-weight: 600;
        font-family: Galano Grotesque;
        color: #303233;
}
.select-options__badge {
  position: absolute;
    right: -13px;
    top: -25px;
    border-radius: 0 4px;
    padding: 0 6px;
    font-size: 12px;
    background: #fe4d00;
    color: #fff;
    line-height: 20px;
    font-family: Galano Grotesque;
  }
.community-pd__desc ul {
    padding: 0 0 0 22px;
    margin: 0;
}

@media (prefers-color-scheme: dark) {
  .select-options__item {
    border-color: rgba(255, 255, 255, 0.12);
  }
}

@media (min-width: 768px){
  /* 两列布局：左 756px 图，右侧自适应 */
  #community-product-detail-{{ section.id }} .community-pd__container{
    display: grid;
    grid-template-columns: minmax(330px, 756px) minmax(360px, 1fr);
    column-gap: 32px;
    align-items: start;
  }
  #community-product-detail-{{ section.id }} .community-pd__title{
    position: sticky;
    top: var(--sticky-top, 0);   /* 与吸顶 Header 留同样的空隙 */
    z-index: 5;
    background: #fff;               /* 遮住下面内容 */
    line-height: 1.25;
    border: 1px solid #ffffff;
    display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        z-index: 2;
        font-size:28px;
  }

  /* 左栏固定（粘滞），高度占满视窗减去顶部/底部安全间距 */
  #community-product-detail-{{ section.id }} .community-pd__gallery{
    position: sticky;
    top: var(--sticky-top, 0);
    display: flex;
    flex-direction: column;   /* 让“主舞台”占满，dots/switch 在下方 */
  }

  /* 主舞台区域占满剩余空间并居中内容 */
  #community-product-detail-{{ section.id }} .community-gallery__stage{
    flex: 1 1 auto;
    display: grid;
    place-items: center;      /* 水平+垂直居中 */
    width: 100%;
    max-width: 667px;
  }

  /* 图像在容器内等比居中，不裁切 */
  #community-product-detail-{{ section.id }} .community-gallery__image{
    width: 100%;
    height: 100%;
    object-fit: contain;
     display: block;
  }

  /* 下方圆点与“products/scene”切换自然排在舞台下面 */
  #community-product-detail-{{ section.id }} .community-gallery__dots{ margin-top: 12px; position: absolute;bottom: 120px;left: 42%;}

  /* 右栏正常文档流，页面滚动时看起来只有右侧在动 */
  #community-product-detail-{{ section.id }} .community-pd__sidebar{
    min-width: 0; /* 防止内容撑破 */
  }
}
@media (max-width: 768px){
   #community-product-detail-{{ section.id }} .community-gallery__stage,
  #community-product-detail-{{ section.id }} .community-gallery__image{
    touch-action: pan-y pinch-zoom;   /* 允许纵向滚动，横向由 JS 接管 */
    -webkit-user-drag: none;
    user-select: none;
  }
  .community-pd__container {
    padding: 0;
}
.community-gallery__nav {
    display: block; 
}

    .community-gallery__nav--prev {
              width: 30px;
        height: 30px;
        padding: 0;
        left: 18px;
    }

    .community-gallery__nav--next {
              width: 30px;
        height: 30px;
        padding: 0;
        right: 18px;
    }

.product__media-toggle {
    display: none !important;
}
.community-gallery__image {
  width:100%;
}
.community-gallery__dots {
    margin: 0;
    bottom: 86px;
}
.community-gallery__switch {
    bottom: 32px;
}
  .community-pd__sidebar {
    margin-top: 108px;
    padding:0 18px;
  }
  #community-product-detail-{{ section.id }} .community-pd__title{
    position: sticky;
    top: var(--sticky-top, 0);   /* 与吸顶 Header 留同样的空隙 */
    z-index: 5;
    background: #fff;               /* 遮住下面内容 */
    line-height: 1.25;
    border: 1px solid #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
     overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
    font-size:28px !important;
  }
  @media (max-width: 768px){
    #community-product-detail-{{ section.id }} .community-pd__title{
    font-size:28px !important;
  }
  }
  .community-badges__list {
    gap: 1.6px;
}
  .cl-dot-switch {
    height:94px;
  }

}
.community-switch__btn.is-disabled[disabled] {
  opacity: .4;
  pointer-events: none;
  cursor: not-allowed;
}

.community-zoom__dlg {
  padding: 0;
  border: none;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: rgba(0,0,0,.7);
  display: grid;
  place-items: center;
}
.community-zoom__dlg::backdrop { background: rgba(0,0,0,.2); }

.community-zoom__img {
  max-width: 90vw;
  max-height: 90vh;
  display: block;
  transform: scale(0.98);
  transition: transform .18s ease;
}
.community-zoom__dlg[open] .community-zoom__img { transform: scale(1); }

.community-zoom__close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 40px; height: 40px;
  border: 0; border-radius: 999px;
  background: rgba(255,255,255,.9);
  display: grid; place-items: center;
  cursor: pointer;
}
@media (hover:hover) {
  .community-zoom__close:hover { background: #fff; }
}


/* 放大图片样式 */
.community-switch__btn.is-disabled[disabled]{opacity:.4;pointer-events:none;cursor:not-allowed;}
.community-lb{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:.2s ease;z-index:999;background: #ffffff;}
.community-lb.is-open{opacity:1;pointer-events:auto;}
.community-lb__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.7);}
.community-lb__body{
  position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.community-lb__img{max-width:85vw;max-height:85vh;display:block;}
.community-lb__close{position:absolute;top:-40px;right:-8px;border:0;background:transparent;font-size:32px;line-height:1;color:#000000;cursor:pointer;
    border-radius: 41px;
    width: 40px;
    height: 40px;
}
.community-lb__nav{border:0;background:#00406b;color:#fff;font-size:24px;width:36px;height:36px;border-radius:18px;cursor:pointer;    margin: 0px 28px;}
.community-lb__thumbs{height:12%;min-height:80px;padding:10px;border-radius:12px;display:flex;align-items:center;gap:8px;scroll-snap-type:x mandatory}
  .community-lb__thumb{flex:0 0 auto;scroll-snap-align:center;border:0;border-radius:10px;cursor:pointer;display:block;padding: 0;}
  .community-lb__thumb img{display:block;height:100%;width:auto;max-height:60px;aspect-ratio:1/1;object-fit:cover;border-radius:8px}
  .community-lb__thumb.is-active{border-color:#fff;border:2px solid #00406b}
  .community-lb__viewer {
    display: flex;
    align-items: center;
  }

  /* 默认：完整显示 */
.community-pd__title {
  display: block;
  overflow: visible;
  font-size:28px;
  padding-bottom: 24px;
  margin: 0;
}

/* 吸顶时：两行省略 */
.community-pd__title.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 28px;
}

.cl-community-pd .price--large .price__container .price__sale .price-item--last  {
  margin:0 18px 0 0 !important;
  font-size: 24px;
  line-height: 32px;
  font-family: Galano Grotesque;
  font-weight:600;
    color:#303233;
}
.price--large .price__container .price__sale .price-item--regular{
  font-size: 16px;
  line-height: 24px;
  font-weight:400;
  font-family: Galano Grotesque;
  color:#818181;
}

/* 图片切换动效 */
.community-gallery__image {
  opacity: 1;
  transform: translateY(0);
  transition: none; /* 默认不动画 */
}

.community-gallery__image.animate-in {
  opacity: 0;
  transform: translateY(40px);
  transition: none;
}

.community-gallery__image.animate-in-active {
  transition: opacity 0.45s ease, transform 0.45s ease;
  opacity: 1;
  transform: translateY(0);
}

.community-discount-badge{
      position: absolute;
    width: 77px;
    height: 60px;
    top: 18px;
    left: 18px;
    z-index: 1;
    background: #FE4D00;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    line-height: 20px;
    font-size: 20px;
    font-family: Galano Grotesque;
    font-weight: 600;
}
.community-discount-badge .discount-price{
     font-size: 20px;
     line-height: 24px;
}
.community-discount-badge[hidden]{ display: none !important; }
.community-discount-badge__text{
    display: flex;
    text-align: center;
    flex-direction: column;
}

/* Special offer 样式 */
.community-discount-badge--special-offer {
    background-color: #1e1f20 !important;
}
.community-discount-badge--special-offer .community-discount-badge__text {
    background: linear-gradient(to left, #f9b444, #f8daaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



}
/* 容器与两栏 */
.community-pd__container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 756fr) minmax(0, 452fr); /* 比例列 */
  column-gap: 24px;
  justify-content: normal; /* 不要再用 space-between */
  padding: 0 48px 0 0; /* 右侧 48px 安全区保持不变 */
  box-sizing: border-box;
  align-items: start;
}

/* 左侧画廊 */
.community-pd__gallery {
  width: 100%;
  position: relative;
  max-height: 832px;
}
.community-gallery__stage {
  position: relative;
  width: 100%;
  background: #ffffff;
  overflow: hidden;
}


/* 左右切换按钮 */
.community-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  border-radius: 4px;
}
.community-gallery__nav path {
  color: #00406b;
}
.community-gallery__nav:hover path {
  color: #00406b;
  background: #ffffff;
}
.community-gallery__nav--prev {
  left: 16px;
}
.community-gallery__nav--next {
  right: 16px;
}
.community-gallery__nav:hover {
  background: #ffffff;
}

/* 右上角放大 */
.community-gallery__zoom {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

@media (max-width: 768px) {
  .community-gallery__zoom {
display:none;
}
}


.community-gallery__zoom-wrap {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.community-gallery__zoom img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

/* 悬停时从右侧拉出的文字 */
.community-gallery__zoom-label {
  font-size: 16px;
  line-height: 24px;
  color: #00406b;
  font-family: Galano Grotesque;
  white-space: nowrap;
  overflow: hidden;
  width: 143px;
  padding: 8px 10px;
  opacity: 0;
  transform: translate(8px);
  transition: max-width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    padding 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.25s ease,
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 35px;
}

/* hover 到整体包装或按钮时展开 */
.community-gallery__zoom-wrap:hover .community-gallery__zoom-label,
.community-gallery__zoom:focus + .community-gallery__zoom-label {
  /* 为了从右侧“拉出”，标签在按钮左侧显示，max-width 展开 */
  max-width: 220px;
  padding: 6px 10px;
  opacity: 1;
  transform: translateX(0);
}

/* 小屏时隐藏文案，仅保留图标 */
@media (max-width: 768px) {
  .community-gallery__zoom-label {
    display: none;
  }
}


/* dots */
/* .community-dots-switch {
    position: absolute;
    bottom: -120px;
} */


@media (max-width: 768px) {
.community-dots-switch {
    bottom: -60px;
}
}
.community-gallery__dots {
  margin: 12px 0 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.community-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: #d9d9d9;
  border: none;
  cursor: pointer;
}
.community-dot--active {
  background: #00406b;
}

/* products / scene 切换 */
.community-gallery__switch {
  display: flex;
  gap: 10px;
  justify-content: center;
  background: #ffffff;
  border-radius: 999px;
  margin-top:24px;
  display: none;

}
.community-switch__btn {
  min-width: 84px;
  height: 28px;
  padding: 0 14px;
  border-radius: 16px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 22px;
  color: #525456;
  font-weight: 400;
  font-family: Galano Grotesque;
  
}
.community-switch__btn--active {
  background: #00406b;
  color: #ffffff;
}

/* 右侧面板 452px */
.community-pd__sidebar {
  width: 100%;
  padding: 62px 0 0 0;
}

.community-pd__desc {
  color: #303233;
    font-size: 16px;
    line-height: 26px;
    font-family: Galano Grotesque;
    letter-spacing: 0;
    margin-top: 24px;
}
.community-buy__btn {
  margin-top: 20px;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* 放大弹窗 */
.community-zoom__dlg {
  width: min(92vw, 1100px);
  border: none;
  padding: 0;
  background: #0000; /* 透明背景，通过:backdrop */
}
.community-zoom__dlg::backdrop {
  background: rgba(0, 0, 0, 0.55);
}
.community-zoom__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.community-zoom__close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 仅 PC 设计：若需要，你可在 <1200px 时降级为单栏 */
@media (max-width: 768px) {
  .community-pd__container {
    display: block;
  }
  .community-pd__gallery,
  .community-gallery__stage,
  .community-pd__sidebar {
    width: 100%;
    /* overflow: hidden; */
  }

}

/* 评分 */
.product__rating {
  margin-top: 24px;
}
.community-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 16px;
}
.community-rating .rating {
  line-height: 1;
}
.community-rating__text {
  font-size: 12px;
  color: #666;
  text-decoration: none;
}
.community-rating__text:hover {
  text-decoration: underline;
}
.rating-wrapper .rating-count {
  display: inline-block;
    margin: 0 6px 0 4px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    font-family: Galano Grotesque;
    color: #525456;
}
.rating-wrapper .rating-reviews {
  font-size: 12px;
        line-height: 20px;
        letter-spacing: 0;
        font-family: Galano Grotesque;
        color: #525456;
}

.mf-specs {
  margin: 16px 0 20px;
}
.mf-specs__title {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.mf-specs__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.mf-specs__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 10px 12px;
}
.mf-specs__label {
  color: #666;
}
.mf-specs__value {
  color: #111;
  font-weight: 500;
}

/* 标题上方的小规格文字 */
.community-pd__power {
  margin-bottom: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #525456;
    letter-spacing: 0;
    line-height: 24px;
    text-transform: none;
    font-family: Galano Grotesque;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 3;
}

.rating-star:before {
  -webkit-text-fill-color: #e3e3e4 !important;
}

/* 兜底：用文字星星渲染 */
.community-pd .rating-star {
  --rating: 0;
  --rating-max: 5;
  --rating-decimal: 0;
  position: relative;
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 3px;
}
.community-pd .rating-star::before,
.community-pd .rating-star::after {
  content: "★★★★★";
}
.community-pd .rating-star::before {
  color: #e5e7eb;
}
.community-pd .rating-star::after {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  color: #f5a623;
  width: calc(
    (var(--rating) / var(--rating-max) * 100%) +
      (var(--rating-decimal) * (100% / var(--rating-max)))
  );
  overflow: hidden;
}

/* 容器 */
.community-so {
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 16px;
}
.community-so__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

/* 列表 */
.community-so__list {
  display: grid;
  gap: 10px;
}
.community-so__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 8px;
}
.community-so__item.is-soldout {
  opacity: 0.55;
}
.community-so__thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  background: #f7f7f7;
}
.community-so__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.community-so__placeholder {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    #f2f2f2,
    #f2f2f2 6px,
    #ececec 6px,
    #ececec 12px
  );
}

.community-so__name {
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 4px;
}
.community-so__price {
  font-size: 13px;
  color: #555;
}

/* 右侧控制 */
.community-so__ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
}
.community-so__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.community-so__checkbox {
  width: 16px;
  height: 16px;
}
.community-so__btn {
  display: inline-block;
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid #222;
  border-radius: 6px;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.community-so__checkbox:checked + .community-so__btn {
  background: #222;
  color: #fff;
  border-color: #222;
}
.community-so__sold {
  font-size: 12px;
  color: #c33;
  font-weight: 600;
}
.recommend-options {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e7e9e9;
}
.recommend-options__title {
  margin: 0 0 16px;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    font-family: Galano Grotesque;
    color: #303233;
}
.recommend-options__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.recommend-options__item {
  border: 1px solid #E7E9E9;
    border-radius: 4px;
    background: #fff;
    padding: 12px 13px 12px 12px;
    background: #ffffff !important;
}
@media (prefers-color-scheme: dark) {
  .recommend-options__item {
    border-color: rgba(255, 255, 255, 0.16);
    background: #111;
  }
}
.recommend-options__title-text {
  font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: 0;
    font-family: Galano Grotesque;
    color: #303233;
    margin-bottom: 12px;
    text-decoration:none;
}
.recommend-options__label {
  display: grid;
  grid-template-columns: 18px 60px 1fr auto;
  align-items: center;
  cursor: pointer;
}
.recommend-options__check {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid #e5e7eb;
  background: #fff;
  position: relative;
  margin: 0;
  display: inline-block;
}
.recommend-options__check:checked {
  border-color: #ff6a00;
  background: #fff;
}
.recommend-options__check:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #ff6a00;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
/* 让复选框参与布局，不被主题的通用隐藏规则影响 */
.recommend-options__label input[type="checkbox"].recommend-options__radio {
  position: static !important;
  opacity: 1 !important;
  clip: auto !important;
  clip-path: none !important;
  pointer-events: auto !important;
  width: 18px; height: 18px; /* 和下方尺寸一致 */
  margin: 0;
}

/* 推荐项 label 的栅格：第一列留给小方块 */
.recommend-options__label {
  display: grid;
  grid-template-columns: 18px 56px 1fr auto; /* 方块 / 缩略图 / 文本 / 数量 */
  align-items: center;
}

/* 自定义方块样式（去掉原生外观） */
/* 确保这个复选框没有被主题隐藏/绝对定位 */
.recommend-options__label input[type="checkbox"].recommend-options__radio{
  position: static !important;
  opacity: 1 !important;
  clip: auto !important;
  clip-path: none !important;
  pointer-events: auto !important;
}

/* 仅用 background 实现“内部小方块”，不使用 ::before */
.recommend-options__radio{
  --rec-border: #D9D9D9;   /* 未选中 & 选中时的边框（保持不变） */
  --rec-fill:   #FE4D00;   /* 选中时内部方块颜色 */
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border: 1px solid #E7E9E9;
  border-radius: 2px;
  background-color: #fff;

  /* 中心小方块：用一层背景实现，默认尺寸为 0 */
  background-image: linear-gradient(var(--rec-fill), var(--rec-fill));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0 0;                /* 未选中隐藏方块 */
  transition: background-size .15s ease;
  cursor: pointer;
  border-radius:2px;
}

/* 选中时只放大内部色块，边框不变色 */
.recommend-options__radio:checked{
  background-size: 10px 10px;    
  border-radius: 2px;      /* 小方块尺寸（可改 8px/12px） */
  border-color: #E7E9E9 !important;
}

/* 悬停/聚焦效果（可选） */
.recommend-options__radio:hover{ border-color:#C9C9C9; }
.recommend-options__radio:focus-visible{ outline:2px solid #111; outline-offset:2px; }

/* 万一之前写过伪元素规则，直接清空以免干扰（保险） */
.recommend-options__radio::before,
.recommend-options__radio::after{ content:none !important; }



/* 禁用/售罄 */
.recommend-options__item.is-soldout .recommend-options__radio,
.recommend-options__radio:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.recommend-options__image {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #f6f6f6;
}
.recommend-options__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.recommend-options__name {
  font-weight: 600;
  line-height: 1.25;
}
.recommend-options__prices .price {
      font-weight: 600;
    margin-right: 18px;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0;
    font-family: Galano Grotesque;
    color: #303233;
}
.recommend-options__prices .compare {
  font-size: 14px;
    line-height: 22px;
    letter-spacing: 0;
    font-family: Galano Grotesque;
    color: #818181;
}
.recommend-options__prices {
  display: flex;
}
.recommend-options__qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #818588;
  border-radius: 4px;
  overflow: hidden;
}
.recommend-options__qty .qty-btn {
 width: 22.5px;
    height: 22.5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.recommend-options__qty .qty-input {
  width: 40px;
  height: 31px;
    text-align: center;
    background: transparent;
    border: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #2F2B2B;
    font-family: Roboto;
}
.recommend-options__item.is-soldout {
  opacity: 0.6;
}
.recommend-options__item.is-soldout .recommend-options__qty {
  opacity: 0.6;
  pointer-events: none;
}
.recommend-options__qty .qty-input::-webkit-outer-spin-button,
.recommend-options__qty .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox + 统一外观 */
.recommend-options__qty .qty-input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.community-badges__title {
  margin: 0 0 16px;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    font-family: Galano Grotesque;
    color: #303233;
}
.community-badges__list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  align-items: center;
  padding: 0;
}
.community-badges__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 3px;
}
.community-badges__item img {
  max-height: var(--badge-h);
  height: var(--badge-h);
  width: auto;
  display: block;
}
@media (prefers-color-scheme: dark) {
  .community-badges__item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.16);
  }
}

.select-options__item:has(.select-options__radio:checked) {
  border-color: #00406b;
}
.cl-select-options__radio {
  display: none;
}

.select-options {
  margin-top: 24px;
}
.select-options__title {
      margin: 0 0 16px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    font-family: Galano Grotesque;
    color: #303233;
}
.select-options__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.select-options__item {
 border: 1px solid #E7E9E9;
    border-radius: 4px;
    padding: 24px 12px 24px 12px;
}
.select-options__label {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.select-options__radio {
  margin-right: 4px;
}
.select-options__image {
  flex: 0 0 auto;
}
.select-options__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.select-options__prices .compare {
  font-size: 14px;
    margin-left: 18px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
    font-family: Galano Grotesque;
    color: #818181;
}
.select-options__prices .price {
  margin-bottom: 0;
        font-size: 16px;
        line-height: 22px;
        font-weight: 600;
        font-family: Galano Grotesque;
        color: #303233;
}
.select-options__badge {
  position: absolute;
    right: -13px;
    top: -25px;
    border-radius: 0 4px;
    padding: 0 6px;
    font-size: 12px;
    background: #fe4d00;
    color: #fff;
    line-height: 20px;
    font-family: Galano Grotesque;
  }
.community-pd__desc ul {
    padding: 0 0 0 22px;
    margin: 0;
}

@media (prefers-color-scheme: dark) {
  .select-options__item {
    border-color: rgba(255, 255, 255, 0.12);
  }
}

@media (min-width: 768px){
  /* 两列布局：左 756px 图，右侧自适应 */
  #community-product-detail-{{ section.id }} .community-pd__container{
    display: grid;
    grid-template-columns: minmax(330px, 756px) minmax(360px, 1fr);
    column-gap: 32px;
    align-items: start;
  }
  #community-product-detail-{{ section.id }} .community-pd__title{
    position: sticky;
    top: var(--sticky-top, 20px);   /* 与吸顶 Header 留同样的空隙 */
    z-index: 5;
    background: #fff;              
    line-height: 1.2;
    border: 1px solid #ffffff;
    display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        z-index: 2;
        font-size:28px;
  }

  /* 左栏固定（粘滞），高度占满视窗减去顶部/底部安全间距 */
  #community-product-detail-{{ section.id }} .community-pd__gallery{
    position: sticky;
    top: var(--sticky-top, 20px);
    flex-direction: column;
    align-items: center;  /* 让“主舞台”占满，dots/switch 在下方 */
  }

  /* 主舞台区域占满剩余空间并居中内容 */
  #community-product-detail-{{ section.id }} .community-gallery__stage{
    flex: 1 1 auto;
    display: grid;
    place-items: center;      /* 水平+垂直居中 */
    width: 100%;
    max-width: 667px;
  }

  /* 图像在容器内等比居中，不裁切 */
  #community-product-detail-{{ section.id }} .community-gallery__image{
    width: 100%;
    height: 100%;
    object-fit: contain;
     display: block;
  }

  /* 下方圆点与“products/scene”切换自然排在舞台下面 */
  /* #community-product-detail-{{ section.id }} .community-gallery__dots{ margin-top: 12px;position: absolute;top: -70px;left: 43%; } */

  /* 右栏正常文档流，页面滚动时看起来只有右侧在动 */
  #community-product-detail-{{ section.id }} .community-pd__sidebar{
    min-width: 0; /* 防止内容撑破 */
  }
}
@media (max-width: 768px){
   #community-product-detail-{{ section.id }} .community-gallery__stage,
  #community-product-detail-{{ section.id }} .community-gallery__image{
    touch-action: pan-y pinch-zoom;   /* 允许纵向滚动，横向由 JS 接管 */
    -webkit-user-drag: none;
    user-select: none;
  }
  .community-pd__container {
    padding: 0;
}
.community-gallery__nav {
    display: none; 
}

    .community-gallery__nav--prev {
              width: 30px;
        height: 30px;
        padding: 0;
        left: 18px;
    }

    .community-gallery__nav--next {
              width: 30px;
        height: 30px;
        padding: 0;
        right: 18px;
    }

.product__media-toggle {
    display: none !important;
}
.community-gallery__image {
  width:100%;
}
.community-gallery__dots {
    margin: 0;
    bottom: 86px;
}
.community-gallery__switch {
    bottom: 32px;
}
  .community-pd__sidebar {
    margin-top: 48px;
    padding:0 18px;
  }
  #community-product-detail-{{ section.id }} .community-pd__title{
    position: sticky;
    top: 72px;   /* 与吸顶 Header 留同样的空隙 */
    z-index: 5;
    background: #fff;               /* 遮住下面内容 */
    line-height: 1.25;
    border: 1px solid #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
     overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
    font-size:28px !important;
  }
  @media (max-width: 768px){
    #community-product-detail-{{ section.id }} .community-pd__title{
    font-size:28px !important;
  }
  }
  .community-badges__list {
    gap: 1.6px;
}
  .cl-dot-switch {
    height:94px;
  }

}
.community-switch__btn.is-disabled[disabled] {
  opacity: .4;
  pointer-events: none;
  cursor: not-allowed;
}

.community-zoom__dlg {
  padding: 0;
  border: none;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: rgba(0,0,0,.7);
  display: grid;
  place-items: center;
}
.community-zoom__dlg::backdrop { background: rgba(0,0,0,.2); }

.community-zoom__img {
  max-width: 90vw;
  max-height: 90vh;
  display: block;
  transform: scale(0.98);
  transition: transform .18s ease;
}
.community-zoom__dlg[open] .community-zoom__img { transform: scale(1); }

.community-zoom__close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 40px; height: 40px;
  border: 0; border-radius: 999px;
  background: rgba(255,255,255,.9);
  display: grid; place-items: center;
  cursor: pointer;
}
@media (hover:hover) {
  .community-zoom__close:hover { background: #fff; }
}


/* 放大图片样式 */
.community-switch__btn.is-disabled[disabled]{opacity:.4;pointer-events:none;cursor:not-allowed;}
.community-lb{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:.2s ease;z-index:999;background: #ffffff;}
.community-lb.is-open{opacity:1;pointer-events:auto;}
.community-lb__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.7);}
.community-lb__body{
  position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.community-lb__img{max-width:85vw;max-height:85vh;display:block;}
.community-lb__close{position:absolute;top:-40px;right:-8px;border:0;background:transparent;font-size:32px;line-height:1;color:#000000;cursor:pointer;
    border-radius: 41px;
    width: 40px;
    height: 40px;
}
.community-lb__nav{border:0;background:#00406b;color:#fff;font-size:24px;width:36px;height:36px;border-radius:18px;cursor:pointer;    margin: 0px 28px;}
.community-lb__thumbs{height:12%;min-height:80px;padding:10px;border-radius:12px;display:flex;align-items:center;gap:8px;scroll-snap-type:x mandatory}
  .community-lb__thumb{flex:0 0 auto;scroll-snap-align:center;border:0;border-radius:10px;cursor:pointer;display:block;padding: 0;}
  .community-lb__thumb img{display:block;height:100%;width:auto;max-height:60px;aspect-ratio:1/1;object-fit:cover;border-radius:8px}
  .community-lb__thumb.is-active{border-color:#fff;border:2px solid #00406b}
  .community-lb__viewer {
    display: flex;
    align-items: center;
  }

  /* 默认：完整显示 */
.community-pd__title {
  display: block;
  overflow: visible;
   font-size:28px;
   padding: 10px 0;
  margin: 0;
}

/* 吸顶时：两行省略 */
.community-pd__title.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size:28px;
}

.price--large .price__container .price__sale {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}
.cl-community-pd .price--large .price__container .price__sale .price-item--last  {
  margin:0 18px 0 0 !important;
  font-size: 24px;
  line-height: 32px;
  font-family: Galano Grotesque;
  font-weight:600;
    color:#303233;
}
.price--large .price__container .price__sale .price-item--regular{
  font-size: 16px;
  line-height: 24px;
  font-weight:400;
  font-family: Galano Grotesque;
  color:#818181;
}

/* 图片切换动效 */
.community-gallery__image {
  opacity: 1;
  transform: translateY(0);
  transition: none; /* 默认不动画 */
}

.community-gallery__image.animate-in {
  opacity: 0;
  transform: translateY(40px);
  transition: none;
}

.community-gallery__image.animate-in-active {
  transition: opacity 0.45s ease, transform 0.45s ease;
  opacity: 1;
  transform: translateY(0);
}

.community-discount-badge{
    position: absolute;
    width: 77px;
    height: 56px;
    top: 50px;
    left: 18px;
    z-index: 1;
    background: #FE4D00;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    line-height: 20px;
    font-size: 20px;
    font-family: Galano Grotesque;
    font-weight: 600;
     width: 120px;
}
@media (max-width:768px) {
  .community-discount-badge{
     width: 93px;
     top: 10px;
 }
}
.community-discount-badge .discount-price{
     font-size: 20px;
     line-height: 24px;
}
.community-discount-badge[hidden]{ display: none !important; }
.community-discount-badge__text{
    display: flex;
    text-align: center;
    flex-direction: column;
}

/* Special offer 样式 */
.community-discount-badge--special-offer {
    background-color: #1e1f20 !important;
}
.community-discount-badge--special-offer .community-discount-badge__text {
    background: linear-gradient(to left, #f9b444, #f8daaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
 
}

/* PC端屏幕缩小时的响应式自适应样式 */
@media (min-width: 769px) {
  /* 在较小的PC屏幕上适当缩放整个画廊区域 */
  .community-pd__gallery {
    transform: scale(clamp(0.85, 1.2vw, 1));
    transform-origin: center top;
    transition: transform 0.3s ease;
  }
  
  /* dots和切换按钮的响应式缩放 */
  .

/* PC端屏幕缩小时的额外响应式样式 */
@media (min-width: 769px) and (max-width: 1199px) {
  /* 容器的响应式调整 */
  .community-pd__container {
    grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.65fr);
    column-gap: clamp(16px, 2vw, 22px);
    padding: 0 clamp(16px, 3vw, 40px) 0 0;
  }
  
  /* 画廊区域的响应式缩放 */
  .community-pd__gallery {
    max-height: clamp(450px, 60vh, 720px);
    min-height: 350px;
  }
  
  /* dots和切换按钮的响应式调整 */
  .community-dots-switch {
    bottom: clamp(30px, 6vh, 50px);
    transform: translateX(-50%) scale(clamp(0.9, calc(100vw / 1200), 1));
    transition: transform 0.3s ease;
  }
  
  /* 画廊导航按钮的响应式调整 */
  .community-gallery__nav {
    width: clamp(40px, 4.5vw, 48px);
    height: clamp(40px, 4.5vw, 48px);
  }
  
  .community-gallery__nav--prev {
    left: clamp(30px, 4vw, 52px);
  }
  
  .community-gallery__nav--next {
    right: clamp(30px, 4vw, 52px);
  }
}

/* 特别针对中等屏幕1024px以下的优化 */
@media (min-width: 769px) and (max-width: 1024px) {
  .community-pd__container {
    grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.6fr);
    column-gap: clamp(14px, 1.8vw, 18px);
  }
  
  .community-pd__gallery {
    max-height: clamp(400px, 55vh, 600px);
  }
  
  .community-dots-switch {
    bottom: clamp(25px, 5vh, 40px);
    transform: translateX(-50%) scale(clamp(0.85, calc(100vw / 1000), 0.95));
  }
}

/* ===== 移动端边框和按钮修复（真机专用） ===== */
@media (max-width: 768px) {
  /* 修复推荐项边框在真机上消失的问题 */
  .recommend-options__item {
    border: 1px solid #E7E9E9 !important;
    background: #fff !important;
    box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    /* 启用硬件加速，避免某些移动浏览器渲染问题 */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* 强制重绘 */
    will-change: border, background;
    /* iOS Safari专用修复 - 使用多重边框确保显示 */
    box-shadow: 0 0 0 1px #E7E9E9 !important;
    /* 防止背景覆盖边框 */
    background-clip: padding-box !important;
    -webkit-background-clip: padding-box !important;
    /* 强制使用GPU合成层 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
  }
  
  /* 修复数量选择器容器高度和对齐 */
  .recommend-options__qty {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 31px !important;
    box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    /* 防止子元素溢出 */
    overflow: visible !important;
  }
  
  /* 修复加减按钮尺寸和对齐 */
  .recommend-options__qty .qty-btn {
    width: 28px !important;
    height: 31px !important;
    line-height: 31px !important;
    /* 使用flex确保完美居中 */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    /* 防止在某些设备上被压缩 */
    min-width: 28px !important;
    max-width: 28px !important;
    min-height: 31px !important;
    max-height: 31px !important;
    /* 确保padding不影响尺寸 */
    padding: 0 !important;
    margin: 0 !important;
    /* iOS修复 */
    -webkit-appearance: none !important;
    appearance: none !important;
  }
  
  /* 修复输入框高度 */
  .recommend-options__qty .qty-input {
    height: 31px !important;
    line-height: 31px !important;
    box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* 深色模式下的移动端边框修复 */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
  .recommend-options__item {
    border-color: rgba(255, 255, 255, 0.16) !important;
    background: #111 !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) !important;
  }
}

/* iPhone 13 Pro 及高分辨率设备专用修复 */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
  .recommend-options__item {
    /* 在高DPI设备上使用稍粗的边框确保可见 */
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #E7E9E9 !important;
    /* 使用outline作为备用边框 */
    outline: 1px solid #E7E9E9 !important;
    outline-offset: -1px !important;
  }
}

/* 针对iOS设备的特殊修复 */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 768px) {
    .recommend-options__item {
      /* iOS Safari的边框渲染修复 */
      border: 1px solid #E7E9E9 !important;
      /* 使用伪元素创建备用边框 */
      position: relative !important;
      isolation: isolate !important;
    }
    
    .recommend-options__item::before {
      content: '' !important;
      position: absolute !important;
      inset: -1px !important;
      border: 1px solid #E7E9E9 !important;
      border-radius: 4px !important;
      pointer-events: none !important;
      z-index: -1 !important;
    }
    
    /* 按钮对齐修复 */
    .recommend-options__qty {
      /* iOS特定的flex修复 */
      display: -webkit-box !important;
      display: -webkit-flex !important;
      display: flex !important;
      -webkit-box-align: center !important;
      -webkit-align-items: center !important;
      align-items: center !important;
      -webkit-box-pack: center !important;
      -webkit-justify-content: center !important;
      justify-content: center !important;
    }
    
    .recommend-options__qty .qty-btn {
      /* iOS按钮居中修复 */
      display: -webkit-box !important;
      display: -webkit-flex !important;
      display: flex !important;
      -webkit-box-align: center !important;
      -webkit-align-items: center !important;
      align-items: center !important;
      -webkit-box-pack: center !important;
      -webkit-justify-content: center !important;
      justify-content: center !important;
      /* 移除所有默认样式 */
      -webkit-tap-highlight-color: transparent !important;
      touch-action: manipulation !important;
    }
  }
}

/* ========== 终极边框修复方案 ========== */
/* 强制覆盖所有可能影响边框的样式 */
.recommend-options__item,
.recommend-options__list .recommend-options__item,
li.recommend-options__item {
  border: 0.5px solid #E7E9E9 !important;
  border-style: solid !important;
  border-width: 0.5px !important;
  border-color: #E7E9E9 !important;
  background: #fff !important;
  background-color: #fff !important;
  box-sizing: border-box !important;
  -webkit-box-sizing: border-box !important;
  position: relative !important;
  /* 使用多种方法确保边框显示 */
  outline: 0.5px solid #E7E9E9 !important;
  outline-offset: -1px !important;
  -webkit-transform: translateZ(0) !important;
  transform: translateZ(0) !important;
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  will-change: auto !important;
}

/* 使用伪元素创建不会消失的边框 */
.recommend-options__item::before {
  content: '' !important;
  position: absolute !important;
  top: -1px !important;
  left: -1px !important;
  right: -1px !important;
  bottom: -1px !important;
  border: 2px solid #E7E9E9 !important;
  border-radius: 4px !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* 确保内容在伪元素之上 */
.recommend-options__item > * {
  position: relative !important;
  z-index: 1 !important;
}

/* 深色模式 */

