/* sectionClassName:yibo_goods_read */
body .yibo_faq {
  padding: 0;
}
.yibo_goods_read {
  padding: clamp(24px, 2.08vw, 40px) 0 clamp(40px, 4vw, 76px);
  background: var(--bg-color);
}

.yibo_goods_read-layout {
  display: grid;
  grid-template-columns: minmax(0,0.7fr) minmax(0,1fr);
  align-items: flex-start;
  gap: calc(var(--component-gap-sm) + var(--component-gap-xs));
}

.yibo_goods_read-gallery-wrapper {
  height: stretch;
  max-width: 100%;
}

.yibo_goods_read-gallery {
  position: sticky;
  top: var(--text-gap);
}

.yibo_goods_read-main {
  max-width: 100%;
}

.yibo_goods_read-main-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: transparent;
}

.yibo_goods_read-main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yibo_goods_read-thumbs {
  display: flex;
  align-items: center;
  gap: var(--text-gap-sm);
  margin-top: var(--text-gap-md);
}


.yibo_goods_read-thumb-swiper {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

.yibo_goods_read-thumb-swiper .swiper-wrapper {
  align-items: stretch;
}

.yibo_goods_read-thumb-swiper .swiper-slide {
  height: auto;
  width: calc((100% - (var(--text-gap-sm) * 4)) / 5);
}

.yibo_goods_read-thumb-item {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-second);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}


.yibo_goods_read-thumb-item.is-active {
  border-color: var(--color-primary);
  opacity: 1;
}

.yibo_goods_read-thumb-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yibo_goods_read-info {
  flex: 1 1 0;
  min-width: 0;
  padding-top: clamp(4px, 0.42vw, 8px);
  display: flex;
  flex-direction: column;
  height: stretch;
}

.yibo_goods_read-title {
  margin: 0;
  color: #161413;
  font-family: var(--title-font-family);
  font-size: var(--title-size);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}


.yibo_goods_read-panel {
  margin-top: calc(var(--text-gap-md) * 2);
  display: flex;
  flex-direction: column;
  gap: var(--text-gap-md);
}

.yibo_goods_read-panel-title {
  color: var(--color-primary);
  font-feature-settings: 'liga' off, 'clig' off;
  font-size: var(--text-size);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
}



.yibo_goods_read-quantity-label {
  margin: 0;
  color: #161413;
  font-family: var(--font-family);
  font-size: var(--text-size-sm);
  font-weight: 400;
  line-height: 1.7;
}

.yibo_goods_read-quantity {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 24px;
}

.yibo_goods_read-quantity-btn {
  flex-shrink: 0;
  border: 0;
  background: var(--color-primary);
  color: #FFFAF4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: var(--text-gap-sm) var(--text-gap);
  font-size: var(--text-size);
}

.yibo_goods_read-quantity-btn:hover {
  background:#C9610C ;
}

.yibo_goods_read-quantity-btn:active {
  background:#934100;
}


.yibo_goods_read-quantity-field {
  flex: 1 1 auto;
  min-width: 0;
  background: #FFFAF4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(12px, 1.4vw, 24px);
}

.yibo_goods_read-quantity-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--title-text-color);
  font-family: var(--title-font-family);
  font-size: var(--text-size);
  font-weight: 700;
  padding: var(--text-gap-sm);
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
}

.yibo_goods_read-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--text-gap-md);
}

.yibo_goods_read-metric-card {
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  background: rgba(255, 250, 244, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--text-gap-md);
  padding: var(--text-gap-md);
  text-align: center;
}

.yibo_goods_read-metric-icon {
  width: clamp(36px, 3.33vw, 48px);
  height: clamp(36px, 3.33vw, 48px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yibo_goods_read-metric-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yibo_goods_read-metric-value {
  color: #161413;
  font-family: var(--title-font-family);
  font-size: clamp(20px, 1.67vw, 24px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.yibo_goods_read-metric-label {
  color: #161413;
  font-family: var(--font-family);
  font-size: clamp(12px, 0.73vw, 14px);
  font-weight: 400;
  line-height: 1.7;
}

.yibo_goods_read-actions {
  display: flex;
  align-items: center;
  gap: var(--text-gap);
  flex-wrap: wrap;
  margin-top: var(--component-gap-md);
}


.yibo_goods_read-actions .social_media_list .social_media_list_link {
  width: clamp(32px, 2.5vw, 48px);
}



.yibo_goods_rich_text.rich_text {
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: var(--text-size-md);
  font-weight: 400;
  line-height: 1.7;
}

.yibo_goods_rich_text.rich_text p {
  color: #5B5757;
  font-feature-settings: 'liga' off, 'clig' off;
  /* 正文 */
  font-size: var(--text-size-md);
  font-style: normal;
  font-weight: 400;
  line-height: 1.41;
  margin: 0;
  padding: var(--text-gap-md) 0;
  /* 141.176% */
}

.yibo_goods_read-panel.rich_text strong {
  color: var(--color-primary);
  font-feature-settings: 'liga' off, 'clig' off;
  /* 二级 */
  font-family: var(--title-font-family);
  font-size: var(--text-size);
  font-weight: 500;
  line-height: normal;
}


.yibo_goods_read-panel.rich_text :is(ul, ol) {
  margin: var(--text-gap-md) 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.yibo_goods_read-panel.rich_text li {
  list-style-type: none;
  padding: var(--text-gap-md) 0;
  margin: 0;
  color: var(--text-color);
  font-feature-settings: 'liga' off, 'clig' off;
  width: 100%;
  /* 辅助 */
  font-family: Onest;
  font-size: var(--text-size-sm);
  font-style: normal;
  font-weight: 400;
  line-height: 1.71;
  /* 171.429% */
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(160, 157, 157, 0.4);
}

.yibo_goods_read-panel.rich_text li:first-child {
  border-top: 1px solid rgba(160, 157, 157, 0.4);
}

.yibo_goods_read-panel.rich_text li :is(span, em) {
  font-style: normal;
}

.yibo_goods_rich_text.rich_text :is(h1, h2, h3, h4, h5, h6),
.yibo_goods_read-section-title {
  color: var(--title-text-color);
  font-size: var(--title-size);
  line-height: 1.25;
  font-weight: 500;
  white-space: break-spaces;
}

.yibo_goods_read-section-title.desc {
  padding: 0 0 var(--text-gap-sm) 0;
  border-bottom: 1px solid rgba(160, 157, 157, 0.4);
}

.yibo_goods_read-section {
  margin-bottom: clamp(50px, 4.167vw, 80px) ;
}

.yibo_goods_rich_text.rich_text.is-feature:has(img) {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--component-gap);
}

.yibo_goods_rich_text.rich_text.is-feature :is(h1, h2, h3, h4, h5, h6) img {
  margin-top: var(--component-gap-md);
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.yibo_goods_rich_text.rich_text img {
  border-radius: var(--radius);
}

.yibo_goods_rich_text.rich_text p:has(img) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.yibo_goods_rich_text.rich_text:has(img) :is(h1, h2, h3, h4, h5, h6) {
  display: flex;
  flex-direction: column;
}

.yibo_goods_rich_text.rich_text :is(ul, ol) {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  height: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.yibo_goods_read-scene_list {
  margin-top: var(--component-gap-md);
  width: 100%;
}

.yibo_goods_read-scene_list--desktop {
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.yibo_goods_read-scene_list--mobile {
  display: none;
}

.yibo_goods_read-scene-track {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  gap: var(--text-gap-md);
  min-width: max-content;
}

.yibo_goods_read-scene_list--desktop.is-marquee .yibo_goods_read-scene-track {
  animation: yiboGoodsReadSceneMarquee 28s linear infinite;
}

.yibo_goods_read-scene_list--desktop.is-marquee:hover .yibo_goods_read-scene-track,
.yibo_goods_read-scene_list--desktop.is-marquee:focus-within .yibo_goods_read-scene-track {
  animation-play-state: paused;
}

.yibo_goods_read-scene-item {
  position: relative;
  aspect-ratio: 217/400;
  height: clamp(280px, 400px, 400px);
  overflow: hidden;
  border-radius: 10px;
  background: #d9d2c8;
  transition: flex-basis 0.35s ease, width 0.35s ease, transform 0.35s ease;
}

.yibo_goods_read-scene_list--desktop:not(.is-marquee) .yibo_goods_read-scene-track {
  width: 100%;
  min-width: 0;
}

.yibo_goods_read-scene_list--desktop:not(.is-marquee) .yibo_goods_read-scene-item {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
}

.yibo_goods_read-scene_list--desktop .yibo_goods_read-scene-item:hover,
.yibo_goods_read-scene_list--desktop .yibo_goods_read-scene-item.is-active {
  aspect-ratio: 690/400;
  z-index: 1;
}

.yibo_goods_read-scene-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yibo_goods_read-scene-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.yibo_goods_read-scene-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 20px;
  text-align: center;
  color: var(--color-second);
}

.yibo_goods_read-scene-title {
  margin: 0;
  color: inherit;
  font-family: var(--title-font-family);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.yibo_goods_read-scene-desc {
  margin: 0;
  color: inherit;
  font-family: var(--font-family);
  font-size: var(--text-size-md);
  font-weight: 400;
  line-height: 1.4118;
  display: none;
}

.yibo_goods_read-scene_list--desktop .yibo_goods_read-scene-item:hover .yibo_goods_read-scene-desc,
.yibo_goods_read-scene_list--desktop .yibo_goods_read-scene-item.is-active .yibo_goods_read-scene-desc {
  display: block;
}

@keyframes yiboGoodsReadSceneMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - (var(--text-gap-md) / 2)));
  }
}

.yibo_goods_rich_text.rich_text li {
  color: var(--title-text-color);
  font-feature-settings: 'liga' off, 'clig' off;
  /* 二级 */
  font-size: var(--text-size);
  font-style: normal;
  font-weight: 500;
  line-height: 2;
  padding: var(--text-gap-md) 0;
  list-style-type: none;
  width: 100%;
  display: flex;
  align-items: flex-start;
}

.yibo_goods_rich_text.rich_text li::before {
  content: '';
  display: inline-block;
  width: calc(var(--text-size) * 2);
  aspect-ratio: 1 / 1;
  background-image: url('https://okki-shop.oss-accelerate.aliyuncs.com/templates/shop-default/bcb31b80-cdbe-499a-a218-78671b420b01-Frame_1785827291903.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: var(--component-gap-xs);
  flex-shrink: 0;
}


.yibo_goods_rich_text.rich_text table {
  margin-top: var(--component-gap-md);
  width: 100% !important;
  border-collapse: collapse;
}

.yibo_goods_rich_text.rich_text .rich-table {
  overflow-x: auto;
}

/* 自定义滚动条粗细 */
.yibo_goods_rich_text.rich_text .rich-table::-webkit-scrollbar {
  height: 6px;
  /* 横向滚动条高度 */
  width: 6px;
}

/* 轨道背景 */
.yibo_goods_rich_text.rich_text .rich-table::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

/* 滑块样式 */
.yibo_goods_rich_text.rich_text .rich-table::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* 鼠标悬停滑块变颜色 (如 #B55100) */
.yibo_goods_rich_text.rich_text .rich-table::-webkit-scrollbar-thumb:hover {
  background: #B55100;
}

/* Firefox 兼容 */
.yibo_goods_rich_text.rich_text .rich-table {
  scrollbar-width: thin;
  scrollbar-color: #ccc #f1f1f1;
}

.yibo_goods_rich_text.rich_text table tr {
  border-bottom: 1px solid rgba(160, 157, 157, 0.4);
}

.yibo_goods_rich_text.rich_text table td,
.yibo_goods_rich_text.rich_text table th {
  color: var(--title-text-color);
  font-feature-settings: 'liga' off, 'clig' off;
  font-size: var(--text-size-sm) !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
  padding: var(--text-gap-md) !important;
  text-align: center;
}

.yibo_goods_rich_text.rich_text table td:nth-child(odd),
.yibo_goods_rich_text.rich_text table th:nth-child(odd) {
  background-color: #FFFAF4;
}

.yibo_goods_rich_text.rich_text table td:nth-child(even),
.yibo_goods_rich_text.rich_text table th:nth-child(even) {
  background-color: rgba(255, 250, 244, 0.4);
}


.yibo_goods_read-content-list {
  margin-top: calc(var(--component-gap-lg) * 0.8);
}

.yibo_goods_read-content-item {
  margin-bottom: clamp(50px, 4.167vw, 80px);
}


@media (max-width: 992px) {
  .yibo_goods_read-layout {
    grid-template-columns: minmax(0,0.8fr) minmax(0,1fr);
  }

  .yibo_goods_rich_text.rich_text.is-feature:has(img) {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {
  .yibo_goods_read-layout {
    grid-template-columns: minmax(0,1fr);
  }





  .yibo_goods_rich_text.rich_text img {
    width: 100%;
  }

  .yibo_goods_read-metric-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .yibo_goods_read-actions {
    align-items: flex-start;
  }

  .yibo_goods_read-social {
    margin-left: 0;
  }

  .yibo_goods_read-scene_list--desktop {
    display: none;
  }

  .yibo_goods_read-scene_list--mobile {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
  }

.yibo_goods_read-scene_list--mobile.is-ready,
.yibo_goods_read-scene_list--mobile.is-static {
  opacity: 1;
  visibility: visible;
}

.yibo_goods_read-scene_list--mobile.is-static {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.yibo_goods_read-scene_list--mobile.is-static::-webkit-scrollbar {
  display: none;
}

.yibo_goods_read-scene_list--mobile .swiper-wrapper {
  align-items: stretch;
}

.yibo_goods_read-scene_list--mobile .swiper-slide {
  width: clamp(240px, 78vw, 320px);
  height: auto;
}

  .yibo_goods_read-scene_list--mobile .yibo_goods_read-scene-item {
    width: 100%;
    height: clamp(220px, 70vw, 300px);
    flex: none;
  }

  .yibo_goods_read-scene_list--mobile .yibo_goods_read-scene-item:hover,
  .yibo_goods_read-scene_list--mobile .yibo_goods_read-scene-item.is-active {
    width: 100%;
    max-width: none;
    flex-basis: auto;
    z-index: auto;
  }

  .yibo_goods_read-scene_list--mobile .yibo_goods_read-scene-desc {
    display: block;
  }

  .yibo_goods_read-scene_list--mobile .yibo_goods_read-scene-content {
    bottom: 16px;
    gap: 4px;
    padding: 0 16px;
  }

  .yibo_goods_read-scene_list--mobile .yibo_goods_read-scene-title {
    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.1;
  }

  .yibo_goods_read-scene_list--mobile .yibo_goods_read-scene-desc {
    font-size: var(--text-size-sm);
    line-height: 1.45;
  }
}

@media (max-width: 1200px) {
  .yibo_goods_read-thumb-swiper .swiper-slide {
    width: calc((100% - (var(--text-gap-sm) * 3)) / 4);
  }
}

@media (max-width: 576px) {
  .yibo_goods_read-thumb-swiper .swiper-slide {
    width: calc((100% - (var(--text-gap-sm) * 2)) / 3);
  }
}
