body {
  min-height: 100vh;
}

.page-shell {
  width: min(1360px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 40px;
}

.page-top {
  margin-bottom: 16px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #9ab0c9;
  font-size: 0.9rem;
  font-weight: 400;
}

.breadcrumbs a {
  color: #d8e3f2;
  text-decoration: none;
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.28);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.product-media,
.product-info {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(10, 19, 34, 0.82);
  backdrop-filter: blur(18px);
}

.product-media {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.product-block {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.product-block-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-block-head span {
  color: #9ab0c9;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-preview,
.product-video {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 16px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 200, 61, 0.16), transparent 22%),
    radial-gradient(circle at 80% 80%, rgba(76, 226, 255, 0.12), transparent 24%),
    linear-gradient(145deg, rgba(34, 64, 104, 0.92), rgba(8, 18, 32, 0.96));
}

.product-preview img {
  max-width: min(78%, 460px);
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.34));
}

.product-video {
  display: block;
  background:
    radial-gradient(circle at 16% 18%, rgba(76, 226, 255, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(8, 18, 32, 0.98), rgba(5, 12, 22, 0.98));
}

.product-video video {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.product-empty {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: #9ab0c9;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.product-info {
  padding: 22px;
  position: sticky;
  top: 20px;
}

.text-link {
  color: #d8e3f2;
  text-decoration: none;
}

.product-info h1 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw, 3.15rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.product-seo-title {
  margin: 0;
  color: #ffc83d;
  font-size: 0.92rem;
  font-weight: 500;
}

.product-description {
  margin: 14px 0 0;
  color: #d8e3f2;
  font-size: 0.98rem;
  line-height: 1.75;
  font-weight: 400;
}

.related-section {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(10, 19, 34, 0.82);
  backdrop-filter: blur(18px);
}

.related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.related-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.collection-hero-page {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(10, 19, 34, 0.82);
  backdrop-filter: blur(18px);
}

.collection-hero-page h1 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.collection-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.collection-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.collection-item-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(10, 19, 34, 0.82);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.collection-item-visual {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 14px 14px 0;
  background: transparent;
}

.collection-item-visual img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.34));
}

.collection-item-body {
  padding: 16px;
}

.collection-item-body h3 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: 1.24rem;
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.collection-item-body p {
  margin: 0;
  color: #9ab0c9;
  line-height: 1.6;
  font-weight: 400;
}

@media (max-width: 980px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-info {
    position: static;
  }

  .collection-hero-page {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: calc(100% - 18px);
    padding-top: 14px;
  }

  .product-media,
  .product-info,
  .collection-hero-page,
  .related-section {
    padding: 16px;
  }

  .product-preview,
  .product-video,
  .collection-item-visual {
    min-height: 220px;
  }

  .product-preview img {
    max-width: 86%;
    max-height: 230px;
  }

  .collection-page-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .download-row .button,
  .download-row .button-disabled {
    width: 100%;
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: calc(100% - 14px);
  }

  .product-info h1,
  .collection-hero-page h1,
  .related-head h2 {
    line-height: 1;
  }
}
