/* ============================================
   产品中心页面样式
   ============================================ */


/* 主内容布局 */
.zpzx-main {
  padding: 16px 0 40px;
}

.zpzx-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.zpzx-hero-pagination {
  position: absolute;
  bottom: 16px !important;
  width: auto !important;
  left: 50% !important;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.zpzx-hero-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 1);
  opacity: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.zpzx-hero-pagination .swiper-pagination-bullet-active {
  background: #c9151e;
  width: 36px;
  border-radius: 4px;
}

.common-hero::after {
  display: none;
}

/* Hero Swiper Navigation */
.hero-swiper-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  border-radius: 50%;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-swiper-button:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-swiper-button:hover svg {
  transition: all 0.3s ease;
  transform: scale(1.1);
}

.hero-swiper-button--prev {
  left: 24px;
}

.hero-swiper-button--next {
  right: 24px;
}

@media (max-width: 991px) {
  .hero-swiper-button {
    display: none;
  }

  .zpzx-main {
    padding: 16px !important;
  }

  .zpzx-hero-swiper {
    aspect-ratio: 2000 / 800;
    position: relative;
  }

}

@media (min-width: 1024px) {

  .zpzx-content {
    flex-direction: row;
    gap: 32px;
  }
}

/* 侧边栏 */
.zpzx-sidebar {
  width: 100%;
}

@media (min-width: 1024px) {
  .zpzx-sidebar {
    width: 320px;
    flex-shrink: 0;
  }
}

.zpzx-guide-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.zpzx-guide-header {
  padding: 24px 24px 0;
  position: relative;
}

.zpzx-guide-title {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.zpzx-guide-icon {
  color: var(--primary);
}

.zpzx-guide-title h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

.zpzx-guide-title p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.zpzx-guide-actions {
  position: absolute;
  right: 16px;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (min-width: 1024px) {
  .zpzx-guide-actions {
    display: none;
  }
}

.zpzx-guide-action-btn {
  padding: 8px;
  border-radius: var(--radius);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.zpzx-guide-action-btn:hover {
  background: var(--bg-gray-light);
}

.zpzx-guide-hint {
  padding: 0 24px 16px;
  font-size: 12px;
  color: var(--text-light);
  visibility: hidden;
}

@media (min-width: 1024px) {
  .zpzx-guide-hint {
    display: none;
  }
}

.zpzx-guide-body {
  padding: 24px;
}

@media (max-width: 1023px) {
  .zpzx-guide-body {
    display: none;
  }
}

.zpzx-guide-body.expanded {
  display: block;
}

.zpzx-guide-title-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
  width: 100%;
}

.zpzx-guide-title-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.zpzx-guide-title-text p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 表单section标签 */
.zpzx-guide-section-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 12px;
}

/* 按钮式选项组 */
.zpzx-guide-btn-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zpzx-guide-target-btn,
.zpzx-guide-need-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-gray-light);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.zpzx-guide-target-btn:hover,
.zpzx-guide-need-btn:hover {
  border-color: var(--border-dark);
  background: var(--bg-white);
}

.zpzx-guide-target-btn.active,
.zpzx-guide-need-btn.active {
  background: #fef2f2;
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 500;
}

/* 取消按钮 */
.zpzx-guide-cancel {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  margin-top: 8px;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
}

/* 重置按钮行 */
.zpzx-guide-actions-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.zpzx-guide-reset-btn {
  padding: 8px 20px;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.zpzx-guide-reset-btn:hover {
  border-color: var(--border-dark);
  color: var(--text-main);
}

.zpzx-guide-cancel:hover {
  background: var(--bg-gray-light);
  border-color: var(--border-dark);
}

/* 移动端搜索框 */
.zpzx-guide-search-wrap {
  margin-top: 12px;
}

.zpzx-guide-search-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.zpzx-guide-search-inner i {
  color: var(--text-light);
  flex-shrink: 0;
}

.zpzx-guide-search-inner input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-main);
  background: transparent;
}

.zpzx-guide-search-inner input::placeholder {
  color: var(--text-light);
}

.zpzx-guide-search-inner button {
  padding: 6px 16px;
  background: var(--primary);
  color: white;
  font-size: 13px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.zpzx-guide-search-inner button:hover {
  background: var(--primary-hover);
}

/* PC端搜索框 */
.zpzx-search-bar {
  margin-bottom: 16px;
  display: none;
}

@media (min-width: 992px) {
  .zpzx-search-bar {
    display: block;
  }
}

.zpzx-search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.zpzx-search-inner i {
  color: var(--text-light);
  flex-shrink: 0;
}

.zpzx-search-inner input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text-main);
  background: transparent;
}

.zpzx-search-inner input::placeholder {
  color: var(--text-light);
}

.zpzx-search-inner button {
  padding: 8px 24px;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.zpzx-search-inner button:hover {
  background: var(--primary-hover);
}

/* 空状态 */
.zpzx-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.zpzx-empty i {
  color: var(--text-light);
  margin-bottom: 16px;
}

.zpzx-empty p:first-of-type {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.zpzx-empty p:last-of-type {
  font-size: 13px;
  color: var(--text-light);
}

/* 产品亮点 */
.zpzx-product-highlight {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 12px;
}

.zpzx-pagination {
  margin-top: 24px;
}

/* 分页省略号 */
.pagination__ellipsis {
  padding: 0 8px;
  color: var(--text-light);
  font-size: 14px;
  display: flex;
  align-items: center;
}

/* 工具类 */
.hidden {
  display: none !important;
}

.zpzx-guide-section {
  margin-bottom: 24px;
}

.zpzx-guide-section:last-child {
  margin-bottom: 0;
}

.zpzx-guide-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 12px;
}

.zpzx-guide-label-num {
  color: var(--primary);
  margin-right: 4px;
}

/* 选项组 */
.zpzx-guide-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.zpzx-guide-option {
  position: relative;
}

.zpzx-guide-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.zpzx-guide-option-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--bg-gray-light);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.zpzx-guide-option-label:hover {
  border-color: var(--border-dark);
  background: var(--bg-white);
}

.zpzx-guide-option input:checked+.zpzx-guide-option-label {
  background: #fef2f2;
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 500;
}

/* 下拉选择 */
.zpzx-select-wrapper {
  position: relative;
}

.zpzx-select {
  width: 100%;
  padding: 10px 40px 10px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-main);
  appearance: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.zpzx-select:hover {
  border-color: var(--border-dark);
}

.zpzx-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 21, 30, 0.1);
}

.zpzx-select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-light);
  pointer-events: none;
}

/* 提交按钮 */
.zpzx-guide-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  margin-top: 16px;
  background: var(--primary);
  color: var(--text-white);
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.zpzx-guide-submit:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.zpzx-guide-submit:active {
  transform: scale(0.98);
}

/* 内容区域 */
.zpzx-area {
  flex: 1;
  min-width: 0;
}

/* 筛选面板 */
.zpzx-filter-panel {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
  overflow: hidden;
}

/* 筛选面板 */
.zpzx-filter-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

@media (min-width: 1024px) {
  .zpzx-filter-header {
    gap: 16px;
    padding: 20px 24px;
  }
}

.zpzx-filter-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.zpzx-filter-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bg-white);
  border: 1px solid var(--border-default);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}

.zpzx-filter-btns {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.zpzx-filter-btns::-webkit-scrollbar {
  display: none;
}


.zpzx-filter-btn {
  padding: 6px 14px;
  background: var(--bg-gray-light);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.zpzx-filter-btn:hover {
  border-color: var(--border-dark);
  background: var(--bg-white);
}

.zpzx-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-white);
}

/* 产品统计 */
.zpzx-stats {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 12px;
  padding: 0 8px;
}

.zpzx-stats-text {
  font-size: 14px;
  color: var(--text-muted);
}

.zpzx-stats-num {
  color: #e54d4d;
  font-weight: 600;
  font-size: 20px;
}

/* 产品列表 */
.zpzx-product-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 产品卡片 */
.zpzx-product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
  animation: fadeInUp 0.4s ease-out both;
}

.zpzx-product-card:hover {
  box-shadow: 0 12px 24px -6px rgba(201, 21, 30, 0.08), 0 6px 12px -2px rgba(0, 0, 0, 0.04) !important;
  border-color: #fecaca !important;
}

.zpzx-product-inner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .zpzx-product-inner {
    flex-direction: row;
  }
}

.zpzx-product-img {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .zpzx-product-img {
    width: 240px;
    height: auto;
    min-height: 180px;
    flex-shrink: 0;
  }
}

.zpzx-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.zpzx-product-card:hover .zpzx-product-img img {
  transform: scale(1.05);
}

.zpzx-product-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.zpzx-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.zpzx-product-tag {
  padding: 4px 8px;
  background: var(--bg-gray-light);
  color: var(--text-muted);
  font-size: 11px;
  border-radius: var(--radius-sm);
  font-weight: bold;
}

.zpzx-product-tag--channel {
  background: #fef2f2;
  color: var(--primary);
}

.zpzx-product-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.4;
}

.zpzx-product-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zpzx-product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.zpzx-product-feature {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 8px;
  background-color: #fbf9fa;
}

.zpzx-product-feature i {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.zpzx-product-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.zpzx-product-price {
  display: flex;
  flex-direction: column;
}

.zpzx-product-price-label {
  font-size: 11px;
  color: var(--text-light);
}

.zpzx-product-price-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.zpzx-product-actions {
  display: flex;
  gap: 8px;
}

.zpzx-product-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.zpzx-product-btn--primary {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: var(--text-white);
}

.zpzx-product-btn--primary:hover {
  background: var(--primary-hover);
}

.zpzx-product-btn--secondary {
  background: transparent;
  border: 1px solid var(--border-default);
  color: var(--text-muted);
}

.zpzx-product-btn--secondary:hover {
  border-color: var(--border-dark);
  background: var(--bg-gray-light);
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 991px) {
  .zpzx-filter-row {
    align-items: flex-start;
    gap: 8px;
  }

  .zpzx-filter-btns {
    flex-wrap: wrap;
    gap: 8px;
  }

  .zpzx-filter-btn {
    padding: 6px 12px;
  }
}