/* Doorpass: единый стиль текста карточек товара.
   Подключается один раз в CSS проекта.
   В каждой карточке содержимое вкладок обёрнуто в <div class="dp-product">. */

.dp-product {
  font-size: 16px;
  line-height: 1.6;
  color: #334155;
}

.dp-product h2 {
  font-family: Roboto, Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #0f172a;
  margin: 28px 0 12px 0;
}

.dp-product h2:first-child {
  margin-top: 0;
}

.dp-product h3 {
  font-family: Roboto, Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  margin: 22px 0 8px 0;
}

.dp-product p {
  margin: 0 0 14px 0;
}

.dp-product ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.dp-product li {
  margin-bottom: 8px;
}

.dp-product strong {
  color: #0f172a;
}

.dp-product a {
  color: #1f5bff;
  text-decoration: underline;
}

.dp-product > *:last-child {
  margin-bottom: 0;
}

.dp-product .dp-note {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #1f5bff;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 18px 0 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #334155;
}

.dp-product .dp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 20px 0;
  font-size: 16px;
  line-height: 1.5;
}

.dp-product .dp-table th {
  text-align: left;
  font-weight: 600;
  color: #0f172a;
  background: #f1f5f9;
  padding: 11px 14px;
  border: 1px solid #e2e8f0;
}

.dp-product .dp-table td {
  padding: 11px 14px;
  border: 1px solid #e2e8f0;
  vertical-align: top;
}

.dp-product .dp-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.dp-product .dp-table td:first-child {
  font-weight: 600;
  color: #0f172a;
}

.dp-product .dp-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 6px 0 20px 0;
}

.dp-product .dp-scroll .dp-table {
  margin: 0;
}

@media screen and (max-width: 960px) {
  .dp-product,
  .dp-product p,
  .dp-product li,
  .dp-product strong,
  .dp-product span {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .dp-product h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .dp-product h3 {
    font-size: 18px !important;
    line-height: 1.35 !important;
  }

  .dp-product .dp-note {
    font-size: 16px !important;
  }

  .dp-product .dp-table--stack,
  .dp-product .dp-table--stack thead,
  .dp-product .dp-table--stack tbody,
  .dp-product .dp-table--stack tr,
  .dp-product .dp-table--stack th,
  .dp-product .dp-table--stack td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .dp-product .dp-table--stack thead {
    display: none;
  }

  .dp-product .dp-table--stack tr {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin: 0 0 10px 0;
    padding: 10px 12px;
    background: #ffffff;
  }

  .dp-product .dp-table--stack td {
    border: none;
    padding: 2px 0;
    background: transparent !important;
  }

  .dp-product .dp-table--stack td:first-child {
    padding-top: 0;
  }

  .dp-product .dp-table--stack td:last-child {
    padding-bottom: 0;
  }

  .dp-product .dp-scroll .dp-table {
    min-width: 620px;
  }
}
/* Слайдер hero не должен растягивать страницу */
.t744 .t-slds__container,
.t744 .t-slds__main {
  overflow: hidden !important;
}
@media screen and (max-width: 960px) {
  .t817__content-col_1,
  .t817__content-col_2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  .t817__content {
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }
}
/* Устойчивые стили вкладок: работают по структуре блока, даже если обёртку или классы срезал редактор */
.t817__content .t-text { font-size: 16px; line-height: 1.6; color: #334155; }
.t817__content .t-text h2 { font-family: Roboto, Arial, sans-serif; font-size: 20px; font-weight: 600; line-height: 1.3; color: #0f172a; margin: 28px 0 12px 0; }
.t817__content .t-text h2:first-child { margin-top: 0; }
.t817__content .t-text h3 { font-family: Roboto, Arial, sans-serif; font-size: 17px; font-weight: 600; line-height: 1.35; color: #0f172a; margin: 22px 0 8px 0; }
.t817__content .t-text p { margin: 0 0 14px 0; }
.t817__content .t-text ul { margin: 0 0 16px 0; padding-left: 20px; }
.t817__content .t-text li { margin-bottom: 8px; }
.t817__content .t-text strong { color: #0f172a; }
.t817__content .t-text a { color: #1f5bff; text-decoration: underline; }
.t817__content .t-text table { width: 100%; border-collapse: collapse; margin: 6px 0 20px 0; font-size: 16px; line-height: 1.5; }
.t817__content .t-text table td,
.t817__content .t-text table th { padding: 11px 14px; border: 1px solid #e2e8f0; vertical-align: top; }
.t817__content .t-text table tr:first-child td { background: #f1f5f9; font-weight: 600; color: #0f172a; }
.t817__content .t-text table tbody tr:nth-child(even) td { background: #f8fafc; }
.t817__content .t-text .quill-table__cell-line { margin: 0; }
.t817__content-col:has(> img[src=""]) { display: none !important; }
@media screen and (max-width: 960px) {
  .t817__content .t-text,
  .t817__content .t-text p,
  .t817__content .t-text li,
  .t817__content .t-text strong { font-size: 16px !important; line-height: 1.6 !important; }
  .t817__content .t-text h2 { font-size: 22px !important; }
  .t817__content .t-text h3 { font-size: 18px !important; }
  .t817__content .t-text table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
/* Визуальный лид без семантического strong */
.dp-product .dp-lead,
.t817__content .t-text .dp-lead {
  font-weight: 600;
  color: #0f172a;
}

.dp-lead {
  font-weight: 600;
  color: #0f172a;
}
