.page-products {
  --pg-gradient-time: linear-gradient(135deg, #050814 0%, #0A0E27 55%, rgba(0, 229, 255, 0.35) 130%);
  --pg-gradient-fav: linear-gradient(135deg, #050814 0%, #0A0E27 55%, rgba(245, 197, 66, 0.3) 140%);
  --pg-gradient-quote: linear-gradient(160deg, #050814 0%, #0A0E27 60%, rgba(0, 229, 255, 0.28) 130%);
  --pg-gradient-lineup: linear-gradient(140deg, #050814 0%, #0A0E27 50%, rgba(245, 197, 66, 0.26) 140%);
  --pg-glow-cyan: 0 0 32px rgba(0, 229, 255, 0.16);
  --pg-glow-gold: 0 4px 24px rgba(245, 197, 66, 0.28);
}

.page-products .products-hero {
  position: relative;
  padding: 24px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(0, 229, 255, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(10, 14, 39, 0.45) 0%, transparent 100%);
}
.page-products .products-hero::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.18);
  filter: blur(60px);
  pointer-events: none;
}
.page-products .products-hero::after {
  content: "";
  position: absolute;
  left: -40px;
  bottom: 10px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(245, 197, 66, 0.16);
  filter: blur(60px);
  pointer-events: none;
}
.page-products .products-hero__grid {
  display: grid;
  gap: 32px;
}
.page-products .products-hero__content {
  position: relative;
  z-index: 1;
}
.page-products .products-hero .breadcrumb {
  margin-bottom: 28px;
}
.page-products .products-hero__content h1 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}
.page-products .products-hero__content .lead {
  margin-top: 16px;
  max-width: 560px;
}
.page-products .products-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.page-products .products-hero__panel {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, rgba(20, 26, 51, 0.92), rgba(10, 14, 39, 0.96));
  border: 1px solid var(--divider);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.page-products .products-hero__index {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 24px;
}
.page-products .products-hero__index-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 200;
  color: var(--accent-gold);
  line-height: 1;
}
.page-products .products-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.page-products .products-hero__stat {
  text-align: center;
}
.page-products .products-hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.2;
}
.page-products .products-hero__stat-num--pulse {
  color: var(--accent-gold);
  animation: pg-pulse-gold 2s ease-in-out infinite;
}
@keyframes pg-pulse-gold {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 14px rgba(245, 197, 66, 0.4);
  }
  50% {
    opacity: 0.72;
    text-shadow: 0 0 4px rgba(245, 197, 66, 0.12);
  }
}
.page-products .products-hero__stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.page-products .products-tabs-section {
  padding-top: 0;
}
.page-products .products-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 20px;
}
.page-products .products-tabs .tabs__btn {
  flex: 1 1 auto;
  min-width: 120px;
}
.page-products .product-panel {
  display: grid;
  gap: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--divider);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.page-products .product-panel[hidden] {
  display: none;
}
.page-products .product-panel--time {
  background: var(--pg-gradient-time);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.page-products .product-panel--fav {
  background: var(--pg-gradient-fav);
  border-radius: 48px 12px 28px 12px;
}
.page-products .product-panel--quote {
  background: var(--pg-gradient-quote);
  border-radius: 12px 36px 12px 48px;
}
.page-products .product-panel--lineup {
  background: var(--pg-gradient-lineup);
  border-radius: 12px 12px 48px 12px;
}
.page-products .product-panel__media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: var(--bg-deep);
}
.page-products .product-panel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
}
.page-products .product-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.08) 0%, rgba(5, 8, 20, 0.38) 100%);
  pointer-events: none;
}
.page-products .product-panel--fav .product-panel__media::after {
  background: linear-gradient(180deg, rgba(245, 197, 66, 0.08) 0%, rgba(5, 8, 20, 0.38) 100%);
}
.page-products .product-panel--quote .product-panel__media::after {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.06) 0%, rgba(5, 8, 20, 0.32) 100%);
}
.page-products .product-panel--lineup .product-panel__media::after {
  background: linear-gradient(180deg, rgba(245, 197, 66, 0.06) 0%, rgba(5, 8, 20, 0.32) 100%);
}
.page-products .product-panel__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}
.page-products .product-panel__content {
  padding: 24px 20px 28px;
}
.page-products .product-panel__content h3 {
  margin: 8px 0 12px;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}
.page-products .product-panel__content p {
  color: var(--text-secondary);
  margin: 0 0 16px;
  line-height: 1.75;
}
.page-products .product-panel__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-products .product-panel__list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.6;
}
.page-products .product-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: var(--pg-glow-gold);
}

.page-products .products-download__inner {
  display: grid;
  gap: 28px;
  background: var(--pg-gradient-quote);
  border: 1px solid var(--divider);
  border-radius: 32px;
  padding: 28px 20px;
  overflow: hidden;
}
.page-products .products-download__visual {
  border-radius: 24px;
  overflow: hidden;
}
.page-products .products-download__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
.page-products .products-download__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.page-products .products-download__content h2 {
  margin: 8px 0 12px;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text-primary);
}
.page-products .products-download__content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.72;
}
.page-products .products-download__qr-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 4px 0 24px;
  text-decoration: none;
  border-radius: 16px;
}
.page-products .products-download__qr-link:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
}
.page-products .products-download__qr {
  width: 132px;
  height: 132px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 30%, #0A0E27 10px, transparent 11px),
    radial-gradient(circle at 72% 45%, #0A0E27 7px, transparent 8px),
    radial-gradient(circle at 45% 70%, #0A0E27 9px, transparent 10px),
    radial-gradient(circle at 18% 82%, #0A0E27 5px, transparent 6px),
    radial-gradient(circle at 88% 78%, #0A0E27 6px, transparent 7px),
    #F5F7FA;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.page-products .products-download__qr-link:target .products-download__qr {
  transform: scale(1.6) rotate(3deg);
  box-shadow: 0 0 36px rgba(245, 197, 66, 0.4);
}
.page-products .products-download__qr-tip {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.page-products .products-download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .products-facts__grid {
  display: grid;
  gap: 16px;
}
.page-products .products-facts__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.page-products .products-facts__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 200;
  color: var(--accent-gold);
  line-height: 1.1;
}
.page-products .products-facts__card p {
  margin: 6px 0 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (min-width: 860px) {
  .page-products .products-hero {
    padding: 40px 0 72px;
  }
  .page-products .products-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 56px;
  }
  .page-products .products-hero__panel {
    transform: translateY(-8px) rotate(1deg);
  }
  .page-products .products-hero__stat-num {
    font-size: 1.75rem;
  }
  .page-products .products-hero__stats {
    gap: 16px;
  }

  .page-products .products-tabs {
    margin: 32px 0 28px;
  }
  .page-products .product-panel {
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
  }
  .page-products .product-panel__media {
    min-height: 420px;
  }
  .page-products .product-panel__content {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-products .products-download__inner {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 44px;
    padding: 40px 44px;
  }
  .page-products .products-download__visual {
    order: 1;
  }
  .page-products .products-download__content {
    order: 2;
  }

  .page-products .products-facts__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .page-products .products-facts__card {
    padding: 28px;
  }
}
