.page-products {
  --prod-num-h: clamp(2.8rem, 6vw, 4.6rem);
  --prod-chip-bg: rgba(198, 255, 0, 0.12);
  --prod-chip-bd: rgba(198, 255, 0, 0.38);
  --prod-line: rgba(45, 226, 230, 0.26);
  color: var(--txt-ice);
}

.page-products .breadcrumb {
  max-width: 1280px;
  margin-inline: auto;
  padding: 1.5rem 1.25rem 0;
}

.page-products .prod-hero {
  position: relative;
  padding: 2rem 0 2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 22%, rgba(198, 255, 0, 0.1) 0%, transparent 42%),
    linear-gradient(120deg, var(--bg-deep) 0%, var(--bg-stadium) 58%, #1a3a6d 100%);
}
.page-products .prod-hero::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -4%;
  width: 58%;
  height: 130%;
  background: repeating-linear-gradient(45deg, rgba(45, 226, 230, 0.06) 0 2px, transparent 2px 16px);
  transform: skewX(-14deg);
  pointer-events: none;
  z-index: 1;
}
.page-products .prod-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.5rem;
}
.page-products .prod-hero__copy {
  max-width: 680px;
}
.page-products .prod-hero__copy .section-head__tag {
  display: inline-block;
  color: var(--acc-green);
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
.page-products .prod-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.page-products .prod-hero__lead {
  color: var(--txt-steel);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}
.page-products .prod-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.page-products .prod-stat {
  background: rgba(240, 244, 255, 0.06);
  border: 1px solid rgba(45, 226, 230, 0.18);
  border-radius: var(--radius);
  padding: 0.9rem 0.75rem;
  text-align: center;
  backdrop-filter: blur(4px);
}
.page-products .prod-stat__num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--acc-orange);
  line-height: 1.2;
}
.page-products .prod-stat__label {
  display: block;
  font-size: 0.72rem;
  color: var(--txt-steel);
  margin-top: 0.25rem;
  letter-spacing: 0.06em;
}
.page-products .prod-hero__banner {
  margin-top: 2rem;
  border: 1px solid rgba(45, 226, 230, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1920 / 500;
  background: var(--bg-stadium);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}
.page-products .prod-hero__banner img,
.page-products .prod-module__media img,
.page-products .prod-module__live-img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-products .prod-layout {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 1.25rem 3.5rem;
  max-width: 1280px;
  margin-inline: auto;
}

.page-products .prod-toc {
  position: relative;
  padding: 1.25rem;
  background: rgba(18, 49, 94, 0.65);
  border: 1px solid var(--prod-line);
  border-radius: var(--radius);
}
.page-products .prod-toc__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--line-cyan);
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.page-products .prod-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.page-products .prod-toc__link {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--txt-ice);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(240, 244, 255, 0.05);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.page-products .prod-toc__link:hover,
.page-products .prod-toc__link:focus-visible {
  background: rgba(198, 255, 0, 0.12);
  border-color: rgba(198, 255, 0, 0.3);
  color: var(--acc-green);
}
.page-products .prod-toc__note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(45, 226, 230, 0.2);
}
.page-products .prod-toc__note .rail-note__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--state-grass);
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.2);
  flex-shrink: 0;
}
.page-products .prod-toc__note .rail-note__text {
  font-size: 0.8rem;
  color: var(--txt-steel);
}

.page-products .prod-main {
  display: grid;
  gap: 2.5rem;
}
.page-products .prod-module {
  padding: 1.25rem;
  background: rgba(240, 244, 255, 0.035);
  border: 1px solid rgba(45, 226, 230, 0.16);
  border-radius: calc(var(--radius) + 8px);
  position: relative;
  scroll-margin-top: calc(var(--ticker-h) + 1rem);
}
.page-products .prod-module::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 3px;
  background: linear-gradient(180deg, var(--acc-green), rgba(198, 255, 0, 0));
  border-radius: 0 3px 3px 0;
  opacity: 0.8;
}
.page-products .prod-module--live {
  background:
    radial-gradient(circle at 78% 30%, rgba(198, 255, 0, 0.08) 0%, transparent 40%),
    rgba(240, 244, 255, 0.035);
}
.page-products .prod-module__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.page-products .prod-module__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: var(--prod-num-h);
  line-height: 1;
  color: var(--acc-green);
  text-shadow: 4px 4px 0 rgba(198, 255, 0, 0.15);
  flex-shrink: 0;
  transform: skewX(-6deg);
}
.page-products .prod-module__titles {
  padding-top: 0.15rem;
}
.page-products .prod-module__titles h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}
.page-products .prod-module__titles p {
  margin: 0;
  color: var(--txt-steel);
  font-size: 0.92rem;
  line-height: 1.6;
}
.page-products .prod-module__grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.page-products .prod-module__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(45, 226, 230, 0.22);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  background: var(--bg-stadium);
  aspect-ratio: 16 / 9;
}
.page-products .prod-module__media--h2h {
  aspect-ratio: 7 / 6;
}
.page-products .prod-module__media--square {
  aspect-ratio: 1 / 1;
}
.page-products .prod-module__text p {
  margin: 0 0 1rem;
  color: var(--txt-steel);
  font-size: 0.95rem;
  line-height: 1.75;
}
.page-products .prod-module__text p:last-child {
  margin-bottom: 0;
}
.page-products .prod-ticks {
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.page-products .prod-ticks li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--txt-ice);
  line-height: 1.55;
}
.page-products .prod-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 9px;
  height: 9px;
  background: var(--acc-green);
  border-radius: 2px;
  transform: rotate(45deg);
}
.page-products .prod-module .btn {
  margin-top: 0.35rem;
}

.page-products .h2h-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(10, 20, 40, 0.6);
  border: 1px solid rgba(255, 106, 0, 0.25);
  border-radius: var(--radius);
  padding: 0.3rem;
  margin: 1.25rem 0;
  max-width: 320px;
}
.page-products .h2h-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.page-products .h2h-switch__labels {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 2;
}
.page-products .h2h-switch__labels label {
  text-align: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--txt-steel);
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.25s var(--ease);
}
.page-products .h2h-switch input#h2h-recent:checked ~ .h2h-switch__labels label[for="h2h-recent"],
.page-products .h2h-switch input#h2h-season:checked ~ .h2h-switch__labels label[for="h2h-season"] {
  color: var(--bg-deep);
}
.page-products .h2h-switch__track {
  position: absolute;
  top: 0.3rem;
  bottom: 0.3rem;
  left: 0.3rem;
  width: calc(50% - 0.3rem);
  background: var(--acc-orange);
  border-radius: 8px;
  z-index: 1;
  transition: transform 0.3s var(--ease);
}
.page-products .h2h-switch input#h2h-season:checked ~ .h2h-switch__track {
  transform: translateX(100%);
}

.page-products .prod-module__live-body {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: var(--bg-stadium);
}
.page-products .prod-module__live-img {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}
.page-products .live-leagues {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  background: rgba(10, 20, 40, 0.72);
  border: 1px solid rgba(45, 226, 230, 0.28);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.25rem;
  backdrop-filter: blur(6px);
}
.page-products .live-leagues input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.page-products .live-leagues__labels {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.page-products .live-leagues__labels label {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 226, 230, 0.2);
  background: rgba(45, 226, 230, 0.07);
  color: var(--txt-steel);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.page-products .live-leagues input#league-uefa:checked ~ .live-leagues__labels label[for="league-uefa"],
.page-products .live-leagues input#league-pl:checked ~ .live-leagues__labels label[for="league-pl"],
.page-products .live-leagues input#league-laliga:checked ~ .live-leagues__labels label[for="league-laliga"] {
  background: var(--acc-green);
  border-color: var(--acc-green);
  color: var(--bg-deep);
}
.page-products .live-leagues__panels {
  margin-top: 1rem;
}
.page-products .live-leagues__panel {
  display: none;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
}
.page-products .live-leagues__panel p {
  margin: 0;
  color: var(--txt-ice);
  font-size: 0.92rem;
  line-height: 1.6;
}
.page-products .live-leagues__panel .live-badge {
  justify-self: start;
}
.page-products .live-leagues input#league-uefa:checked ~ .live-leagues__panels .live-leagues__panel:nth-child(1),
.page-products .live-leagues input#league-pl:checked ~ .live-leagues__panels .live-leagues__panel:nth-child(2),
.page-products .live-leagues input#league-laliga:checked ~ .live-leagues__panels .live-leagues__panel:nth-child(3) {
  display: grid;
}

.page-products .prod-tags {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.page-products .prod-tags__level {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: rgba(240, 244, 255, 0.04);
  border-radius: var(--radius);
  border-left: 3px solid var(--line-cyan);
}
.page-products .prod-tags__level:nth-child(2) {
  border-left-color: var(--acc-green);
}
.page-products .prod-tags__level:nth-child(3) {
  border-left-color: var(--acc-orange);
}
.page-products .prod-tags__key {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--acc-orange);
  min-width: 3.2em;
  font-weight: 700;
}
.page-products .prod-tags__level .data-chip {
  background: var(--prod-chip-bg);
  border: 1px solid var(--prod-chip-bd);
  color: var(--txt-ice);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
}
.page-products .prod-tags__note {
  padding: 1.1rem 1.25rem;
  border: 1px dashed rgba(255, 106, 0, 0.25);
  border-radius: var(--radius);
}
.page-products .prod-tags__note p {
  margin: 0;
  color: var(--txt-steel);
  font-size: 0.92rem;
  line-height: 1.7;
}

.page-products .prod-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 0 0.5rem;
}

.page-products .accordion {
  margin: 1rem 0 1.25rem;
}
.page-products .accordion__item {
  background: rgba(240, 244, 255, 0.04);
  border: 1px solid rgba(45, 226, 230, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}
.page-products .accordion__trigger {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--txt-ice);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.85rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.page-products .accordion__trigger::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--acc-green);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.page-products .accordion__item.is-open .accordion__trigger::after {
  content: "−";
}
.page-products .accordion__content {
  padding: 0 1rem 0.9rem;
  color: var(--txt-steel);
  font-size: 0.88rem;
  line-height: 1.7;
}
.page-products .accordion__content p {
  margin: 0;
}

@media (min-width: 600px) {
  .page-products .prod-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .page-products .prod-hero {
    padding: 3rem 0;
  }
  .page-products .prod-hero__inner {
    grid-template-columns: 1.3fr 0.9fr;
    gap: 2rem;
    align-items: end;
  }
  .page-products .prod-hero__stats {
    margin-top: 0;
  }
  .page-products .prod-layout {
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    padding-top: 3rem;
  }
  .page-products .prod-toc {
    position: sticky;
    top: calc(var(--ticker-h) + 1rem);
    align-self: start;
  }
  .page-products .prod-toc__list {
    flex-direction: column;
  }
  .page-products .prod-toc__link {
    border-radius: 8px;
    display: block;
  }
  .page-products .prod-module__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
  }
  .page-products .prod-module__grid--flip {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .page-products .prod-module__grid--flip > .prod-module__text {
    order: 2;
  }
  .page-products .prod-module__grid--flip > .prod-module__media {
    order: 1;
  }
}

@media (min-width: 1024px) {
  .page-products .prod-layout {
    grid-template-columns: 248px 1fr;
    gap: 2.5rem;
  }
  .page-products .prod-stat__num {
    font-size: 1.6rem;
  }
  .page-products .prod-module {
    padding: 1.75rem;
  }
  .page-products .prod-module__titles h2 {
    font-size: 1.7rem;
  }
  .page-products .prod-more {
    justify-content: flex-start;
    padding-left: 0.5rem;
  }
}
