

/* Start:/local/templates/tehprivod2023/components/bitrix/news/sew_landing/bitrix/news.detail/.default/style.css?179196916113632*/
/*
 * SEW-EURODRIVE landing: только страница bitrix:news.detail / sew_landing.
 * Не влияет на карточки товаров и другие разделы сайта.
 */
.sew-fit-page {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 0 64px;
    color: #21334b;
    font-size: 16px;
    line-height: 1.58;
}
.sew-fit-page, .sew-fit-page * { box-sizing: border-box; }
.sew-fit-page a { transition: color .2s ease, background .2s ease, border-color .2s ease; }
.sew-fit-page__all {
    display: inline-block;
    margin-bottom: 14px;
    color: #2b65aa;
    font-size: 14px;
    text-decoration: none;
}
.sew-fit-page__all:hover { text-decoration: underline; }
.sew-fit-page__intro {
    max-width: 960px;
    margin: 0 0 25px;
    color: #586b80;
    font-size: 18px;
    line-height: 1.58;
}
.sew-fit-page__intro strong { color: #1b2e49; }
.sew-fit-page__debug {
    background: #fff3d0;
    border: 1px solid #eac878;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 13px;
}
/* Первый экран: фото слева, товар/цена справа */
.sew-fit-page__offer {
    display: grid;
    grid-template-columns: minmax(260px, 43%) minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    margin-bottom: 44px;
    padding: 26px;
    background: #fff;
    border: 1px solid #dde5ef;
    border-radius: 18px;
    box-shadow: 0 13px 38px rgba(24, 43, 72, .06);
}
.sew-fit-page__picture {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    min-width: 0;
    padding: 20px;
    background: #f5f7fa;
    border-radius: 12px;
    overflow: hidden;
    color: #718096;
    text-align: center;
}
.sew-fit-page__picture img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.sew-fit-page__offer-body { min-width: 0; padding: 8px 2px; }
.sew-fit-page__eyebrow {
    color: #ad7900;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .085em;
    margin: 0 0 8px;
}
.sew-fit-page h2.sew-fit-page__product-name {
    color: #132c4c;
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 750;
    line-height: 1.18;
    margin: 0 0 14px;
}
.sew-fit-page__price {
    display: flex;
    gap: 8px;
    align-items: baseline;
    flex-wrap: wrap;
    color: #0c2846;
    margin: 0 0 8px;
}
.sew-fit-page__price strong {
    font-size: clamp(27px, 2.7vw, 40px);
    font-weight: 800;
    line-height: 1.18;
}
.sew-fit-page__price-prefix { color: #435f82; font-size: 20px; font-weight: 600; }
.sew-fit-page__small { color: #687d93; font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.sew-fit-page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.sew-fit-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 21px;
    min-height: 50px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    line-height: 1.35;
}
.sew-fit-page__btn--main { background: #ffc32a; border: 1px solid #ffc32a; color: #172636; }
.sew-fit-page__btn--main:not(:disabled):hover { background: #efb317; }
.sew-fit-page__btn--main:disabled { cursor: not-allowed; opacity: .62; }
.sew-fit-page__btn--outline { border: 1px solid #cbd8e6; color: #264d78 !important; background: #fff; }
.sew-fit-page__btn--outline:hover { background: #f1f6fb; }
/* Общие заголовки и таблица сравнения */
.sew-fit-page__section { margin: 0 0 36px; min-width: 0; }
.sew-fit-page__section > h2 {
    color: #142e4f;
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.3;
    font-weight: 750;
    margin: 0 0 20px;
}
.sew-fit-page__section > h2::after {
    content: '';
    display: block;
    width: 44px;
    height: 4px;
    background: #ffc32a;
    border-radius: 3px;
    margin-top: 8px;
}
.sew-fit-page__table-scroll, .sew-fit-page__catalog-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sew-fit-page__compare { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; }
.sew-fit-page__compare th, .sew-fit-page__compare td {
    border: 1px solid #e0e7ee;
    padding: 13px 15px;
    vertical-align: top;
    text-align: left;
    font-size: 15px;
}
.sew-fit-page__compare th { color: #314964; background: #f3f6fa; font-weight: 700; }
.sew-fit-page__compare td:first-child { width: 25%; color: #53667b; }
.sew-fit-page__compare tbody tr:nth-child(even) { background: #fffaf0; }
.sew-fit-page__reference { color: #738195; font-size: 14px; margin: 13px 0 0; }
.sew-fit-page__reference a { color: #2b65aa; }
/* Главное изменение: варианты и характеристики В ОДНОМ РЯДУ */
.sew-fit-page__two-cols {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
    margin: 10px 0 20px;
}
.sew-fit-page__two-cols > .sew-fit-page__section { margin-bottom: 28px; }
.sew-fit-page__two-cols > .sew-fit-page__section > h2 { min-height: 2.6em; }
.sew-fit-page__info-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe7ef;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(19, 43, 76, .045);
}
.sew-fit-page__variants-card { padding: 23px 24px; }
.sew-fit-page__chars-card { padding: 8px; }
.sew-fit-page__empty { margin: 0; }
.sew-fit-page__variant-list { counter-reset: variants; list-style: none; padding: 0; margin: 0; }
.sew-fit-page__variant-list > li {
    display: flex;
    gap: 9px;
    align-items: baseline;
    padding: 11px 0 11px 45px;
    position: relative;
    border-bottom: 1px solid #eef1f5;
    color: #43556a;
    line-height: 1.5;
    flex-wrap: wrap;
}
.sew-fit-page__variant-list > li:last-child { border-bottom: 0; }
.sew-fit-page__variant-list > li::before {
    counter-increment: variants;
    content: counter(variants);
    position: absolute;
    left: 0;
    top: 8px;
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffedb9;
    color: #735000;
    font-size: 14px;
    font-weight: 750;
}
.sew-fit-page__variant-list strong { color: #193a60; }
.sew-fit-page__variant-rich ul, .sew-fit-page__variant-rich ol { margin: 0; padding-left: 22px; }
.sew-fit-page__variant-rich li { margin-bottom: 10px; }
/* HTML из CHARS и CHERTEZHS; оборачиваем длинные таблицы в горизонтальный скролл */
.sew-fit-page__rich { color: #42546b; font-size: 15px; line-height: 1.6; overflow-wrap: break-word; }
.sew-fit-page__rich p { margin: 0 0 14px; }
.sew-fit-page__rich p:last-child { margin-bottom: 0; }
.sew-fit-page__rich img { display: block; max-width: 100% !important; height: auto !important; margin: 12px auto; }
.sew-fit-page__rich table { width: 100% !important; border-collapse: collapse; background: #fff; }
.sew-fit-page__rich th, .sew-fit-page__rich td {
    border: 1px solid #e1e8f0;
    padding: 9px 12px;
    vertical-align: top;
    text-align: left;
}
.sew-fit-page__rich th { background: #f4f7fa; color: #2c4966; font-weight: 700; }
.sew-fit-page__catalog-table-scroll { width: 100%; }
.sew-fit-page__catalog-table-scroll table { min-width: 480px; }
/* Чертежи идут единым широким блоком ПОД двумя колонками */
.sew-fit-page__drawing-card { padding: 23px; }
.sew-fit-page__drawings { width: 100%; overflow-x: auto; }
.sew-fit-page__drawings img { max-height: 680px; width: auto; max-width: 100% !important; object-fit: contain; }
.sew-fit-page__drawings iframe, .sew-fit-page__drawings embed { max-width: 100%; }
.sew-fit-page__documents { border-top: 1px solid #e4e9f0; margin-top: 19px; padding-top: 16px; }
.sew-fit-page__documents:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.sew-fit-page__documents h3 { color: #1b3553; font-size: 18px; margin: 0 0 10px; }
.sew-fit-page__documents ul { margin: 0; padding-left: 21px; }
.sew-fit-page__documents li { margin: 0 0 8px; }
.sew-fit-page__documents a { color: #2c66ad; }
.sew-fit-page__description-card { padding: 22px; background: #fff; border: 1px solid #e1e7ee; border-radius: 14px; }
.sew-fit-page__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.sew-fit-page__gallery a { min-height: 150px; padding: 12px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #dfe6ed; border-radius: 12px; }
.sew-fit-page__gallery img { max-width: 100%; max-height: 190px; object-fit: contain; }
@media (max-width: 1050px) {
    .sew-fit-page__two-cols { grid-template-columns: 1fr; gap: 10px; }
    .sew-fit-page__two-cols > .sew-fit-page__section > h2 { min-height: auto; }
}
@media (max-width: 760px) {
    .sew-fit-page__offer { grid-template-columns: 1fr; padding: 16px; gap: 18px; }
    .sew-fit-page__picture { min-height: 230px; }
    .sew-fit-page__picture img { max-height: 290px; }
    .sew-fit-page__intro { font-size: 16px; }
    .sew-fit-page__actions { flex-direction: column; align-items: stretch; }
    .sew-fit-page__btn { width: 100%; }
    .sew-fit-page__variants-card { padding: 17px; }
    .sew-fit-page__drawing-card { padding: 13px; }
}


/* ===== SEW: компактный просмотр / раскрытие на весь экран ===== */
/* В карточке видны только первые строки таблицы и первый чертёж. */
.sew-fit-page__peek {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.sew-fit-page__peek--chars { max-height: 305px; }
.sew-fit-page__peek--drawings { max-height: 470px; }
.sew-fit-page__peek::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 85px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 85%);
    pointer-events: none;
}
.sew-fit-page__expand-actions {
    display: flex;
    justify-content: center;
    padding: 15px 10px 9px;
    background: #fff;
    border-top: 1px solid #e9eef5;
}
.sew-fit-page__expand-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid #ffc32a;
    background: #ffc32a;
    color: #163253;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}
.sew-fit-page__expand-button:hover { background: #f5b600; border-color: #f5b600; }
.sew-fit-page__expand-button:focus-visible,
.sew-fit-page__modal-close:focus-visible {
    outline: 3px solid #235fa8;
    outline-offset: 3px;
}

/* Dialog используется в верхнем слое браузера; шапка сайта ему не мешает. */
.sew-fit-page__modal {
    box-sizing: border-box;
    width: min(1360px, calc(100vw - 32px));
    height: min(94vh, 1100px);
    max-height: calc(100vh - 20px);
    max-width: none;
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: #21334b;
    box-shadow: 0 20px 80px rgba(5,17,35,.25);
}
.sew-fit-page__modal::backdrop { background: rgba(11,26,45,.72); }
.sew-fit-page__modal-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}
.sew-fit-page__modal-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid #e1e8f0;
    background: #f8fafc;
}
.sew-fit-page__modal-header h2 {
    margin: 0;
    font-size: clamp(18px, 2.2vw, 25px);
    line-height: 1.35;
    font-weight: 750;
    color: #142e4f;
}
.sew-fit-page__modal-close {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d6e0eb;
    border-radius: 50%;
    background: #fff;
    color: #183653;
    font-size: 20px;
    cursor: pointer;
}
.sew-fit-page__modal-close:hover { background: #edf2f7; }
.sew-fit-page__modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: auto;
    overscroll-behavior: contain;
    padding: 22px 26px 38px;
    font-size: 16px;
}
.sew-fit-page__full-content {
    max-width: 100%;
    overflow: visible;
}
.sew-fit-page__modal-body .sew-fit-page__rich { font-size: 16px; }
.sew-fit-page__modal-body .sew-fit-page__catalog-table-scroll { overflow-x: auto; }
.sew-fit-page__modal-body .sew-fit-page__rich table { width: 100% !important; }
.sew-fit-page__modal-body .sew-fit-page__drawings img {
    max-width: 100% !important;
    max-height: none !important;
    width: auto;
    height: auto !important;
    object-fit: contain;
}
/* Без showModal раскрываем раздел целиком внутри страницы. */
.sew-fit-page__peek--expanded { max-height: none !important; overflow: visible; }
.sew-fit-page__peek--expanded::after { display: none; }
@media (max-width: 720px) {
    .sew-fit-page__peek--chars { max-height: 270px; }
    .sew-fit-page__peek--drawings { max-height: 330px; }
    .sew-fit-page__modal { width: calc(100vw - 12px); height: calc(100vh - 12px); max-height: none; border-radius: 10px; }
    .sew-fit-page__modal-header { padding: 12px; }
    .sew-fit-page__modal-body { padding: 12px 10px 22px; }
    .sew-fit-page__expand-button { width: 100%; }
}

/* End */


/* Start:/bitrix/components/bitrix/form.result.new/templates/.default/style.css?1529323254666*/
table.form-table
{
	width:100%;
	background-color:white;
	border-collapse:collapse;
	font-size:100%;
	font-weight:normal;
	line-height:160%;
}

table.form-table th, table.form-table td
{
	border:1px solid #ADC3D5;
	padding: 5px 5px;
	vertical-align:top;
}

table.form-table th
{
	background-image:url(/bitrix/components/bitrix/form.result.new/templates/.default/images/table_head.gif);
	background-repeat:repeat-x;
	text-align: left;
	color:#25639A;
}


table.form-table td
{
	padding: 15px 5px;
}

.form-required 
{
	color: red;
}

.error-fld {
	display: block;
	float: left;
	height: 13px;
	width: 15px;
	background-repeat: no-repeat;
	background-image: url(/bitrix/components/bitrix/form.result.new/templates/.default/images/icon_warn.gif);
}
/* End */
/* /local/templates/tehprivod2023/components/bitrix/news/sew_landing/bitrix/news.detail/.default/style.css?179196916113632 */
/* /bitrix/components/bitrix/form.result.new/templates/.default/style.css?1529323254666 */
