/* 产品查看器 + Meta 风格产品区（原生，无依赖） */
.products { background: #ffffff; }
.products .container { max-width: 1504px; }
.products .section-title {
  font-size: 24px; font-weight: 500; letter-spacing: normal;
  text-align: left; color: #1c1c1e; margin: 0 0 48px;
}
.products .product-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.products .product-grid > .product-card {
  display: grid; grid-template-columns: 1.15fr 0.85fr; column-gap: 64px;
  background: #ffffff; border: 0; border-radius: 0; box-shadow: none;
  overflow: visible; padding: 0 0 96px; margin: 0; position: relative;
  transform: none !important; transition: none;
}
.products .product-grid > .product-card + .product-card {
  border-top: 1px solid #e5e7eb; padding-top: 96px;
}
.products .product-card:hover { transform: none !important; box-shadow: none; border-color: transparent; }

.products .category-tag {
  display: block; background: none; border: 0; padding: 0; margin: 0 0 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: #6b7280;
}
.products .product-info { padding: 0; }
.products .product-name { font-size: 27px; font-weight: 300; letter-spacing: normal; color: #1c1c1e; margin: 0 0 14px; line-height: 1.2; }
.products .product-description { font-size: 15px; line-height: 1.6; color: #6b7280; margin: 0 0 22px; }
.products .product-features { list-style: none; margin: 0 0 26px; padding: 0; }
.products .product-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: #1c1c1e; margin: 0 0 8px; line-height: 1.5; }
.products .product-features li::before { content: none; }

.products .product-specs-enhanced { background: none; border: 0; border-top: 1px solid #e5e7eb; border-radius: 0; padding: 0; margin: 0 0 26px; }
.products .specs-header { display: flex; align-items: center; gap: 8px; margin: 0; padding: 18px 0; border-bottom: 1px solid #e5e7eb; }
.products .specs-title { font-size: 15px; font-weight: 500; color: #1c1c1e; }
.products .specs-icon { font-size: 14px; }
.products .specs-grid { display: block; margin: 0; gap: 0; }
.products .spec-card {
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: 0; border-bottom: 1px solid #e5e7eb; border-radius: 0;
  padding: 0; min-height: 44px; text-align: left;
}
.products .spec-card:hover { transform: none; box-shadow: none; border-color: #e5e7eb; }
.products .spec-card-title { font-size: 14px; font-weight: 400; color: #6b7280; margin: 0; }
.products .spec-card-value { font-size: 14px; font-weight: 400; color: #1c1c1e; }
.products .spec-card-unit { font-size: 12px; color: #6b7280; font-weight: 400; }

.products .size-badge, .products .weight-badge, .products .material-badge {
  display: inline-block; background: none; color: #6b7280; border: 1px solid #e5e7eb;
  border-radius: 4px; padding: 6px 10px; font-size: 12px; font-weight: 400; margin: 0 8px 8px 0;
}
.products .packaging-info { background: none; border: 0; border-top: 1px solid #e5e7eb; border-radius: 0; padding: 18px 0 0; margin: 0; }
.products .packaging-title { font-size: 14px; font-weight: 500; color: #1c1c1e; margin: 0 0 6px; }
.products .packaging-details { display: block; gap: 0; }
.products .packaging-item { display: flex; flex-direction: row; align-items: center; justify-content: space-between; min-height: 44px; border-bottom: 1px solid #e5e7eb; }
.products .packaging-label { font-size: 14px; color: #6b7280; }
.products .packaging-value { font-size: 14px; color: #1c1c1e; font-weight: 400; }

.products .product-info .cta-wa {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 48px;
  background: #1c1c1e; color: #ffffff; border: 0; border-radius: 8px; box-shadow: none;
  padding: 0 20px; font-size: 15px; font-weight: 400; gap: 8px; text-decoration: none; margin: 0;
}
.products .product-info .cta-wa:hover { background: #333333; transform: none; box-shadow: none; color: #ffffff; }
.products .product-info .cta-mail {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 48px;
  background: #ffffff; color: #1c1c1e; border: 1px solid #1c1c1e; border-radius: 8px;
  margin: 12px 0 0; padding: 0 20px; font-size: 15px; text-decoration: none;
}
.products .product-info .cta-mail:hover { background: #f5f5f7; color: #1c1c1e; }

.products .product-card.placeholder .product-image { height: 100%; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.products .product-card.placeholder .placeholder-icon { font-size: 64px; line-height: 1; }

/* 查看器 */
.viewer {
  position: sticky; top: 24px; width: 100%; background: #f5f5f7; overflow: hidden;
  cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent; border-radius: 0;
}
.viewer:focus { outline: 2px solid #1c1c1e; outline-offset: 4px; }
.viewer.is-dragging { cursor: grabbing; }
.viewer.is-single { cursor: zoom-in; }
.viewer .viewer-stage { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #f5f5f7; }
.viewer .viewer-track { display: flex; width: 100%; height: 100%; }
.viewer .viewer-slide { flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.viewer .viewer-slide img, .viewer img.product-img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  pointer-events: none; -webkit-user-drag: none; user-drag: none;
}
.viewer .viewer-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(0,0,0,0.06); opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.viewer .viewer-progress.is-visible { opacity: 1; }
.viewer .viewer-progress span { display: block; height: 100%; width: 0%; background: #1c1c1e; }
.viewer .viewer-thumbs { display: flex; gap: 10px; padding: 12px 0 0; height: 72px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.viewer .viewer-thumbs::-webkit-scrollbar { display: none; }
.viewer .viewer-thumb { flex: 0 0 auto; height: 56px; width: 56px; border: 0; padding: 0; background: transparent; cursor: pointer; position: relative; border-bottom: 2px solid transparent; }
.viewer .viewer-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; user-drag: none; }
.viewer .viewer-thumb.is-active { border-bottom-color: #1c1c1e; }

/* 全屏 studio */
.vs-studio { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center; }
.vs-studio .vs-stage { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; cursor: zoom-in; }
.vs-studio .vs-img {
  max-width: 92vw; max-height: 92vh; object-fit: contain;
  transform: translate(0px,0px) scale(1); transform-origin: center center;
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none; user-drag: none;
}
.vs-studio .vs-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.12); color: #ffffff; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.vs-studio .vs-close:hover { background: rgba(255,255,255,0.24); }
.vs-studio .vs-hint { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 12px; letter-spacing: 0.04em; pointer-events: none; }

@media (max-width: 768px) {
  .products .container { padding: 0; }
  .products .section-title { padding: 0 20px; margin-bottom: 32px; }
  .products .product-grid > .product-card { grid-template-columns: 1fr; gap: 0; padding: 0 0 64px; }
  .products .product-grid > .product-card + .product-card { border-top: 1px solid #e5e7eb; padding-top: 64px; }
  .products .viewer { position: relative; top: auto; }
  .products .product-info { padding: 20px 20px 0; }
  .products .product-name { font-size: 22px; }
}
