html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
}

.profile-page {
  min-height: 100vh;
  background: #ffffff;
  color: #141920;
}

.profile-hero {
  padding: 86px 0 70px;
  text-align: center;
  background: #fbfbfc;
  border-bottom: 1px solid #dce2e8;
}

.profile-hero h1 {
  margin: 0 0 22px;
  color: #111821;
  font-size: clamp(2.8rem, 7vw, 5.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.profile-hero p {
  max-width: 760px;
  margin: 0 auto 26px;
  color: #5f6874;
  font-size: 1.08rem;
  line-height: 1.75;
}

.catalog-link,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-link {
  background: linear-gradient(135deg, #0f68aa, #6fb0e5);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 104, 170, 0.18);
}

.back-link {
  margin-top: 18px;
  border: 1px solid #d8e0e9;
  background: #fff;
  color: #121821;
}

.catalog-link:hover,
.catalog-link:focus {
  color: #fff;
  transform: translateY(-1px);
}

.back-link:hover,
.back-link:focus {
  color: #121821;
  transform: translateY(-1px);
}

.profile-section {
  padding: 112px 0 84px;
}

.profile-section.is-white {
  background: #fff;
  border-top: 1px solid #e1e6ed;
  border-bottom: 1px solid #e1e6ed;
}

.section-head {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 14px;
  color: #121821;
  font-size: clamp(2rem, 4.5vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: #65707d;
  font-size: 1.04rem;
  line-height: 1.75;
}

.choice-grid,
.type-grid,
.series-grid {
  display: grid;
  gap: 28px;
}

.choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.type-grid.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.series-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.series-grid.four-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-card,
.type-card,
.series-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.choice-card,
.type-card {
  padding: 14px 14px 20px;
  border: 1px solid #e1e7ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 24, 36, 0.06);
}

.choice-card:hover,
.type-card:hover,
.series-card:hover {
  color: inherit;
  transform: translateY(-4px);
}

.choice-card img,
.type-card img {
  width: 100%;
  height: clamp(380px, 34vw, 500px);
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  box-shadow: none;
}

.choice-card span,
.type-card span,
.series-card span {
  display: block;
  margin-top: 18px;
  color: #737d89;
  font-size: 0.98rem;
}

.choice-card h2,
.type-card h3,
.series-card h4 {
  margin: 9px 0 17px;
  color: #121821;
  font-weight: 800;
  letter-spacing: 0;
}

.choice-card h2 {
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
}

.type-card h3,
.series-card h4 {
  min-height: 3.1em;
  font-size: 1.18rem;
  line-height: 1.35;
}

.choice-card strong,
.type-card strong,
.series-card strong {
  color: #10151c;
  font-weight: 800;
}

.series-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.series-card img {
  width: 100%;
  height: clamp(460px, 44vw, 620px);
  object-fit: cover;
  object-position: top center;
  border: 1px solid #d9e1ea;
  border-radius: 5px;
  background: #f3f5f8;
}

.series-card span {
  margin-top: 28px;
  color: #777f8a;
  font-size: 1rem;
}

.series-card h4 {
  margin: 10px 0 0;
  min-height: auto;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.2;
}

.series-card strong {
  display: inline-flex;
  margin-top: 14px;
  color: #0f68aa;
}

.series-detail-list {
  display: grid;
  gap: 34px;
}

.series-product-block {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid #dde5ee;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(16, 31, 52, 0.07);
}

.series-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: #6d7785;
  font-size: 0.92rem;
}

.series-breadcrumb a {
  color: #0f68aa;
  font-weight: 800;
  text-decoration: none;
}

.series-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.series-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: #6d7785;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.series-product-copy h2 {
  margin: 0 0 16px;
  color: #101821;
  font-size: clamp(2.05rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.series-intro {
  margin: 0 0 22px;
  color: #556274;
  font-size: 1.05rem;
  line-height: 1.75;
}

.series-feature-panel {
  padding: 20px;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  background: linear-gradient(180deg, #f9fbfd 0%, #ffffff 100%);
}

.series-feature-panel h3 {
  margin: 0 0 12px;
  color: #0f68aa;
  font-size: 1.2rem;
}

.series-feature-panel ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 19px;
  color: #39465a;
  line-height: 1.6;
}

.series-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.series-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid #d3dde8;
  color: #101821;
  font-weight: 900;
  text-decoration: none;
}

.series-action.primary {
  border-color: #0f68aa;
  background: #0f68aa;
  color: #ffffff;
}

.series-visual-panel {
  display: grid;
  gap: 14px;
}

.series-main-image {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  object-position: top center;
  border: 1px solid #d8e1eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(16, 31, 52, 0.08);
}

.series-image-note {
  margin: 0;
  color: #6d7785;
  font-size: 0.92rem;
}

.tpr-style-list {
  display: grid;
  gap: 118px;
}

.tpr-style-product {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.62fr);
  gap: clamp(56px, 8vw, 136px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.tpr-style-title {
  margin: 0 0 30px;
  color: #101821;
  font-size: clamp(3rem, 4.7vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 700;
}

.tpr-style-main {
  position: relative;
  border: 1px solid #cfd6df;
  background: #ffffff;
  aspect-ratio: 1 / 1.035;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tpr-style-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: clamp(10px, 1.8vw, 28px);
}

.tpr-style-zoom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 26px;
  height: 26px;
  border: 1px solid #101821;
  border-radius: 50%;
  background: #ffffff;
  color: #101821;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
}

.tpr-style-thumbs {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.tpr-style-thumbs a {
  width: 104px;
  height: 104px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #eef2f6;
  overflow: hidden;
  display: block;
}

.tpr-style-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tpr-style-copy {
  padding-top: clamp(54px, 6.5vw, 88px);
  color: #747b85;
  font-size: 1.02rem;
  line-height: 1.7;
}

.tpr-style-copy p {
  margin: 0 0 20px;
}

.tpr-style-copy strong {
  color: #4f5662;
}

.tpr-style-copy ul {
  margin: 0 0 26px;
  padding-left: 24px;
}

.tpr-style-copy li {
  margin: 3px 0;
}

.tpr-style-button {
  display: inline-flex;
  width: min(100%, 470px);
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0068aa, #67aee0);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.tpr-style-related {
  padding-top: 28px;
}

.tpr-style-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tpr-style-related-card {
  display: grid;
  gap: 18px;
  color: inherit;
  text-decoration: none;
}

.tpr-style-related-card img {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
  border-radius: 3px;
  background: #eef2f6;
}

.tpr-style-related-card span {
  color: #7a828c;
  font-size: 0.9rem;
}

.tpr-style-related-card h3 {
  margin: -8px 0 0;
  color: #101821;
  font-size: 1.2rem;
  line-height: 1.25;
}

.tpr-style-related-card strong {
  display: inline-flex;
  justify-content: center;
  min-height: 46px;
  align-items: center;
  border: 1px solid #cfd6df;
  border-radius: 999px;
  color: #101821;
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .choice-grid,
  .type-grid,
  .type-grid.two-cols,
  .series-grid,
  .series-product-grid,
  .series-grid.four-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .series-product-grid {
    grid-template-columns: 1fr;
  }

  .tpr-style-product {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .tpr-style-copy {
    padding-top: 0;
  }

  .tpr-style-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .profile-hero {
    padding: 62px 0 48px;
  }

  .profile-section {
    padding: 96px 0 56px;
  }

  .choice-grid,
  .type-grid,
  .type-grid.two-cols,
  .series-grid,
  .series-product-grid,
  .series-grid.four-cols {
    grid-template-columns: 1fr;
  }

  .series-product-copy h2 {
    font-size: clamp(1.8rem, 11vw, 2.8rem);
  }

  .tpr-style-title {
    font-size: clamp(2.1rem, 12vw, 3.35rem);
  }

  .tpr-style-thumbs {
    gap: 12px;
  }

  .tpr-style-thumbs a {
    width: 84px;
    height: 84px;
  }

  .tpr-style-related-grid {
    grid-template-columns: 1fr;
  }

  .choice-card img,
  .type-card img {
    height: clamp(280px, 72vw, 390px);
  }

  .series-card img {
    height: clamp(360px, 92vw, 520px);
  }

  .type-card h3,
  .series-card h4 {
    min-height: auto;
  }
}
