/* 产品中心 — Liquid Glass */
body.products-page { min-height: 100vh; }
.products-page .bg-orbs { opacity: .78; }


.products-main { padding: 132px 0 96px; }
.products-shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.72);
  background: linear-gradient(145deg, rgba(255,255,255,.58), rgba(255,255,255,.28));
  box-shadow: inset 0 1px 0 #fff, 0 24px 60px -28px rgba(40,60,120,.28);
}
.products-eyebrow {
  margin: 0 0 10px;
  color: oklch(0.55 0.16 245);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}
.products-header h1 {
  margin: 0;
  color: oklch(0.22 0.025 260);
  font-size: 36px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.03em;
}
.products-header p:not(.products-eyebrow) {
  max-width: 640px;
  margin: 12px 0 0;
  color: oklch(0.48 0.025 260);
  font-size: 15px;
  line-height: 1.75;
}
.products-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 20px;
  color: oklch(0.55 0.02 260);
  white-space: nowrap;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 #fff;
}
.products-count strong {
  color: oklch(0.5 0.16 245);
  font-size: 34px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.products-count span { font-size: 13px; }

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 22px;
}
.product-filter-stack { display: grid; gap: 10px; min-width: 0; flex: 1; }
.product-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.product-filters-l2 {
  padding-top: 2px;
}
.product-filters-l2:not([hidden]) {
  animation: productSubIn .28s ease;
}
@keyframes productSubIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-filter {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  color: oklch(0.48 0.025 260);
  background: rgba(255,255,255,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  transition: all .28s cubic-bezier(.22,1,.36,1);
}
.product-filters-l2 .product-filter {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
  background: rgba(255,255,255,.55);
}
.product-filter:hover {
  color: oklch(0.22 0.025 260);
  border-color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.7);
}
.product-filter.active {
  color: #fff;
  border-color: rgba(255,255,255,.28);
  background: linear-gradient(135deg, oklch(0.58 0.17 245), oklch(0.56 0.18 285));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 28px -12px oklch(0.55 0.18 270 / .55);
}
.product-filters-l2 .product-filter.active {
  background: linear-gradient(135deg, oklch(0.62 0.14 230), oklch(0.58 0.16 270));
}
.products-tip {
  margin: 0;
  color: oklch(0.58 0.02 260);
  font-size: 12px;
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  overflow: hidden;
  border-radius: 28px !important;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 1px 0 #fff, 0 32px 72px -28px rgba(40,60,120,.4) !important;
}
.product-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(232,242,255,.9), rgba(245,250,255,.75));
  border: none;
  cursor: pointer;
}
.product-media img {
  width: 100%;
  aspect-ratio: 760 / 520;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.product-card:hover .product-media img { transform: scale(1.04); }
.product-media-label {
  position: absolute;
  inset: auto 14px 14px auto;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(24, 36, 58, .72);
  border: 1px solid rgba(255,255,255,.2);
  font-size: 11px;
  opacity: 0;
  transform: translateY(6px);
  transition: all .28s ease;
}
.product-card:hover .product-media-label,
.product-media:focus-visible .product-media-label {
  opacity: 1;
  transform: translateY(0);
}
.product-body { padding: 18px 18px 20px; }
.product-tag {
  color: oklch(0.52 0.16 245);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.product-body h2 {
  margin: 6px 0 0;
  color: oklch(0.22 0.025 260);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.product-desc {
  min-height: 44px;
  margin: 8px 0 12px;
  color: oklch(0.48 0.025 260);
  font-size: 13px;
  line-height: 1.7;
}
.product-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.product-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  color: oklch(0.45 0.03 250);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.65);
  font-size: 11px;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-price {
  color: oklch(0.52 0.14 25);
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.product-price small {
  margin-left: 2px;
  color: oklch(0.6 0.02 260);
  font-size: 12px;
  font-weight: 600;
}
.product-buy {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
  white-space: nowrap;
}

.product-empty {
  margin: 8px 0 0;
  padding: 32px 16px;
  text-align: center;
  color: oklch(0.55 0.02 260);
  font-size: 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.4);
  border: 1px dashed rgba(120,150,190,.28);
}

.products-cta {
  margin-top: 32px;
  padding: 26px 28px;
  border-radius: 28px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.products-cta h2 {
  margin: 6px 0;
  color: oklch(0.22 0.025 260);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.products-cta p {
  margin: 0;
  color: oklch(0.48 0.025 260);
  font-size: 14px;
  line-height: 1.7;
  max-width: 520px;
}
.products-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: none;
}

.partners-section {
  margin-top: 36px;
  padding: 28px 28px 30px;
  border-radius: 28px !important;
}
.partners-head {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(40,60,120,.08);
}
.partners-head .product-tag { display: inline-block; }
.partners-head h2 {
  margin: 6px 0;
  color: oklch(0.22 0.025 260);
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.partners-head p {
  margin: 0;
  color: oklch(0.48 0.025 260);
  font-size: 14px;
  line-height: 1.7;
  max-width: 720px;
}
.partners-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.partner-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 140px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.7);
  background: linear-gradient(145deg, rgba(255,255,255,.55), rgba(255,255,255,.28));
  box-shadow: inset 0 1px 0 #fff, 0 16px 36px -24px rgba(40,60,120,.28);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 #fff, 0 24px 48px -24px rgba(40,60,120,.38);
}
.partner-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  background: linear-gradient(135deg, oklch(0.58 0.17 245), oklch(0.56 0.18 285));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 20px -10px oklch(0.55 0.18 270 / .55);
}
.partner-card:nth-child(2) .partner-logo { background: linear-gradient(135deg, oklch(0.65 0.12 185), oklch(0.55 0.14 245)); }
.partner-card:nth-child(3) .partner-logo { background: linear-gradient(135deg, oklch(0.75 0.14 75), oklch(0.65 0.14 40)); }
.partner-card:nth-child(4) .partner-logo { background: linear-gradient(135deg, oklch(0.55 0.16 280), oklch(0.58 0.16 310)); }
.partner-card:nth-child(5) .partner-logo { background: linear-gradient(135deg, oklch(0.65 0.14 220), oklch(0.55 0.16 250)); }
.partner-card:nth-child(6) .partner-logo { background: linear-gradient(135deg, oklch(0.68 0.12 175), oklch(0.58 0.12 165)); }
.partner-card:nth-child(7) .partner-logo { background: linear-gradient(135deg, oklch(0.6 0.16 20), oklch(0.55 0.16 10)); }
.partner-card:nth-child(8) .partner-logo { background: linear-gradient(135deg, oklch(0.5 0.04 250), oklch(0.35 0.03 260)); }
.partner-card strong {
  color: oklch(0.22 0.025 260);
  font-size: 15px;
  font-weight: 650;
}
.partner-card span {
  color: oklch(0.48 0.025 260);
  font-size: 12px;
  line-height: 1.55;
}

.product-modal[hidden] { display: none; }
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 105;
  display: grid;
  place-items: center;
  padding: 20px;
}
.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 36, .62);
}
.product-modal-panel {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(220, 230, 245, .95);
  border-radius: 28px;
  background: linear-gradient(160deg, #ffffff 0%, #f7fbff 55%, #f3f7fc 100%);
  box-shadow: inset 0 1px 0 #fff, 0 28px 70px -20px rgba(16, 28, 52, .55);
  animation: productModalIn .32s cubic-bezier(.22,1,.36,1);
}
.product-modal-panel h2 {
  margin: 0 0 16px;
  color: oklch(0.22 0.025 260);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.product-modal-panel > img {
  width: 100%;
  max-height: 48vh;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(235,243,255,.7);
}
.product-modal-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f4f8fd;
  border: 1px solid rgba(210, 222, 238, .95);
  color: oklch(0.45 0.02 260);
  font-size: 12px;
}
.product-modal-info strong {
  color: oklch(0.52 0.14 25);
  font-size: 20px;
}
.product-modal-desc {
  margin: 12px 0 0;
  color: oklch(0.42 0.025 260);
  font-size: 13px;
  line-height: 1.7;
}
.product-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: oklch(0.42 0.03 260);
  font-size: 24px;
  line-height: 1;
  background: #f0f4fa;
  border: 1px solid rgba(210, 222, 238, .95);
}
.product-modal-close:hover { background: #e8eef6; }

.product-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(24, 36, 58, .82);
  border: 1px solid rgba(255,255,255,.15);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: all .25s ease;
}
.product-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes productModalIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .products-main { padding-top: 108px; }
  .products-header { align-items: flex-start; flex-direction: column; padding: 22px; }
  .products-header h1 { font-size: 28px; }
  .products-toolbar { align-items: flex-start; flex-direction: column; }
  .products-tip { white-space: normal; }
  .product-grid { gap: 14px; }
  .products-cta { flex-direction: column; align-items: flex-start; padding: 20px; }
  .products-cta-actions { width: 100%; }
  .products-cta-actions a { flex: 1; text-align: center; }
  .partners-section { padding: 20px; }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .product-desc { min-height: auto; }
  .product-foot { flex-wrap: wrap; }
  .product-buy { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-media img,
  .product-media-label,
  .partner-card,
  .product-toast,
  .product-modal-panel {
    transition: none;
    animation: none;
  }
}
