.tv-detail-page {
  --tv-detail-content-width: 60.73vw;
  background: #f3f4f6;
}

.tv-detail-page .products-wrap {
  padding: 56px 83px 90px;
}

.tv-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 420px);
  gap: 42px;
  align-items: center;
  padding: 56px 60px;
  background: linear-gradient(135deg, #ffffff 0%, #f6f7f9 68%, #eceef1 100%);
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(17, 24, 39, 0.08);
}

.tv-detail-hero__media {
  margin: 0;
}

.tv-detail-hero__media img {
  width: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.14);
}

.tv-detail-hero__eyebrow {
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #d80522;
}

.tv-detail-hero__title {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  color: #151515;
}

.tv-detail-hero__subtitle {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.85;
  color: #5f6673;
}

.tv-detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.tv-detail-hero__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d7dbe2;
  font-size: 13px;
  color: #4b5563;
}

.tv-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.tv-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid #d80522;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tv-detail-btn--primary {
  background: #d80522;
  color: #fff;
}

.tv-detail-btn--secondary {
  background: transparent;
  color: #d80522;
}

.tv-detail-btn:hover,
.tv-detail-btn:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.tv-detail-tabs {
  display: flex;
  gap: 0;
  margin-top: 26px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.tv-detail-tabs a {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  border-bottom: 3px solid transparent;
  font-size: 16px;
  color: #5b616d;
  text-decoration: none;
  background: #fff;
}

.tv-detail-tabs a.is-active {
  color: #151515;
  border-bottom-color: #d80522;
  background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}

.tv-detail-section {
  margin-top: 26px;
  padding: 44px 48px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}

.tv-detail-section--split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 420px);
  gap: 34px;
  align-items: center;
}

.tv-detail-section__label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff1f4;
  color: #d80522;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tv-detail-section__title {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  color: #151515;
}

.tv-detail-section__copy {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.95;
  color: #5f6673;
}

.tv-detail-section__media img {
  width: 100%;
  display: block;
  border-radius: 20px;
  background: #eceef1;
}

.tv-spec-summary {
  margin-top: 26px;
  padding: 34px 38px;
  background: linear-gradient(135deg, #fff 0%, #f6f7f9 100%);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}

.tv-spec-summary__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.tv-spec-summary__card {
  padding: 18px 20px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e4e7ec;
}

.tv-spec-summary__label {
  font-size: 12px;
  color: #8891a2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tv-spec-summary__value {
  margin-top: 12px;
  font-size: 24px;
  color: #151515;
}

.tv-spec-table {
  margin-top: 26px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.tv-spec-table__head {
  padding: 28px 34px;
  border-bottom: 1px solid #edf0f4;
}

.tv-spec-table__title {
  margin: 0;
  font-size: 28px;
  color: #151515;
}

.tv-spec-table table {
  width: 100%;
}

.tv-spec-table tr:nth-child(odd) td {
  background: #fafbfc;
}

.tv-spec-table td {
  padding: 18px 34px;
  border-bottom: 1px solid #edf0f4;
  font-size: 14px;
  line-height: 1.8;
  color: #5f6673;
  vertical-align: top;
}

.tv-spec-table td:first-child {
  width: 220px;
  color: #151515;
  font-weight: 600;
}

.tv-single-banner {
  background: #fff;
}

.tv-single-banner__image {
  display: block;
  width: 100%;
  max-height: 790px;
  object-fit: cover;
}

.tv-product-panel {
  margin-top: 26px;
  padding: 38px 42px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}

.tv-product-panel__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.tv-product-panel__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d80522;
}

.tv-product-panel__title {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
  color: #101010;
}

.tv-product-panel__subtitle {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.95;
  color: #5f6673;
}

.tv-product-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.tv-product-panel__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f5f6f8;
  color: #4b5563;
  font-size: 13px;
}

.tv-product-panel__thumb {
  width: 220px;
  flex: 0 0 220px;
}

.tv-product-panel__thumb img {
  width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

.tv-detail-anchor {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #edf0f4;
  padding-top: 24px;
}

.tv-detail-anchor a {
  position: relative;
  color: #5f6673;
  text-decoration: none;
  font-size: 16px;
  padding-bottom: 10px;
}

.tv-detail-anchor a.is-active {
  color: #101010;
  font-weight: 600;
}

.tv-detail-anchor a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #d80522;
}

.tv-intro-gallery {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.tv-intro-gallery__item {
  padding: 24px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}

.tv-intro-gallery__item--wide {
  grid-column: 1 / -1;
}

.tv-intro-gallery__item img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

.tv-intro-gallery__title {
  margin: 18px 0 0;
  font-size: 24px;
  color: #151515;
}

.tv-intro-gallery__copy {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.9;
  color: #5f6673;
}

.tv-intro-tabs-shell {
  width: var(--tv-detail-content-width);
  max-width: calc(100vw - 30px);
  margin: 18px auto 14px;
  padding: 0 0 2px;
  background: #f3f4f6;
}

.tv-intro-tabs-shell--wide {
  width: var(--tv-detail-content-width);
}

.tv-intro-tabs-shell .tv-detail-tabs {
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.tv-intro-tabs-shell .tv-detail-tabs a {
  min-height: 64px;
  font-size: 14px;
  font-weight: 400;
  color: #6c717c;
}

.tv-intro-tabs-shell .tv-detail-tabs a + a {
  position: relative;
}

.tv-intro-tabs-shell .tv-detail-tabs a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 24px;
  background: #d8dbe1;
  transform: translateY(-50%);
}

.tv-intro-tabs-shell .tv-detail-tabs a.is-active {
  background: #fff;
  color: #d80522;
  border-bottom-color: transparent;
}

.tv-intro-stack {
  width: var(--tv-detail-content-width);
  max-width: calc(100vw - 30px);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.tv-intro-stack--wide {
  width: var(--tv-detail-content-width);
}

.tv-intro-stack__panel {
  padding: 0;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.tv-intro-stack__panel img {
  width: 100%;
  aspect-ratio: 722 / 1224;
  object-fit: cover;
  display: block;
}

.tv-intro-stack__panel img.tv-intro-stack__long-image {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.tv-spec-layout {
  width: var(--tv-detail-content-width);
  max-width: calc(100vw - 30px);
  margin: 0 auto;
  background: transparent;
}

.tv-spec-layout__title {
  margin: 8px 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d9dde4;
  font-size: 18px;
  line-height: 1.2;
  color: #333333;
  font-weight: 700;
}

.tv-spec-sheet {
  background: #fff;
}

.tv-spec-sheet__image {
  width: 100%;
  height: auto;
  display: block;
}

.tv-spec-group {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0 24px;
  border-bottom: 1px solid #d9dde4;
}

.tv-spec-group__name {
  font-size: 14px;
  line-height: 1.4;
  color: #333333;
  font-weight: 700;
}

.tv-spec-group__table {
  width: 100%;
  border-collapse: collapse;
}

.tv-spec-group__table td {
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.55;
  color: #b9b9b9;
  vertical-align: top;
}

.tv-spec-group__table td:first-child {
  width: 40%;
  padding-right: 18px;
  text-align: right;
  font-weight: 600;
}

.tv-spec-group__table td:last-child {
  color: #b9b9b9;
  text-align: left;
}

@media (max-width: 1199px) {
  .tv-detail-page .products-wrap {
    padding: 40px 32px 68px;
  }

  .tv-detail-hero,
  .tv-detail-section--split {
    grid-template-columns: 1fr;
  }

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

  .tv-intro-gallery {
    grid-template-columns: 1fr;
  }

  .tv-product-panel__thumb {
    width: 180px;
    flex-basis: 180px;
  }

  .tv-intro-tabs-shell .tv-detail-tabs a {
    min-height: 58px;
    font-size: 13px;
  }

  .tv-spec-group {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 16px;
  }

  .tv-spec-group__name {
    font-size: 13px;
  }

  .tv-spec-group__table td {
    font-size: 13px;
    padding: 6px 0;
  }
}

@media (max-width: 767px) {
  .tv-detail-page .products-wrap {
    padding: 24px 15px 48px;
  }

  .tv-detail-hero,
  .tv-detail-section,
  .tv-spec-summary,
  .tv-spec-table__head,
  .tv-spec-table td {
    padding-left: 20px;
    padding-right: 20px;
  }

  .tv-detail-hero {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .tv-detail-hero__title {
    font-size: 32px;
  }

  .tv-detail-section__title,
  .tv-spec-table__title {
    font-size: 25px;
  }

  .tv-detail-tabs {
    flex-direction: column;
  }

  .tv-detail-tabs a {
    min-height: 52px;
  }

  .tv-spec-summary__grid {
    grid-template-columns: 1fr;
  }

  .tv-spec-table td:first-child {
    width: 120px;
  }

  .tv-product-panel {
    padding: 24px 20px;
  }

  .tv-product-panel__title {
    font-size: 30px;
  }

  .tv-product-panel__thumb {
    width: 100%;
    flex-basis: 100%;
  }

  .tv-detail-anchor {
    gap: 16px;
    flex-wrap: wrap;
  }

  .tv-intro-tabs-shell .tv-detail-tabs a {
    min-height: 52px;
    font-size: 12px;
  }

  .tv-intro-tabs-shell .tv-detail-tabs a + a::before {
    height: 18px;
  }

  .tv-spec-layout__title {
    margin: 10px 0 14px;
    padding-bottom: 14px;
    font-size: 16px;
  }

  .tv-spec-group {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0 18px;
  }

  .tv-spec-group__name {
    font-size: 13px;
  }

  .tv-spec-group__table td {
    font-size: 12px;
    padding: 6px 0;
  }

  .tv-spec-group__table td:first-child {
    width: 46%;
    padding-right: 14px;
  }
}
