/*
 * The commercial catalogue template may still print CIBlockSection::DESCRIPTION
 * on its own. Hide that duplicate TPVC markup and reveal it only inside the
 * split component. This keeps the long SEO block below the product pagination.
 */
.category-rich--lead,
.category-rich--details,
hr.category-rich__split{display:none}
.tpvc-section-rich--top .category-rich--lead,
.tpvc-section-rich--bottom .category-rich--details{display:block}

.tpvc-section-rich{
    --tpvc-accent:#1683d8;
    --tpvc-accent-dark:#0b5f9f;
    --tpvc-ink:#243142;
    --tpvc-muted:#637083;
    --tpvc-line:#dfe7ef;
    --tpvc-soft:#f5f9fc;
    box-sizing:border-box;
    max-width:100%;
    margin:22px 0;
    color:var(--tpvc-ink);
    font-size:15px;
    line-height:1.65
}
.tpvc-section-rich *{box-sizing:border-box}
.tpvc-section-rich--top{margin:0 0 24px}
.tpvc-section-rich--bottom{clear:both;margin:38px 0 26px}

.tpvc-section-rich .category-rich--lead{
    position:relative;
    overflow:hidden;
    padding:20px 24px;
    border:1px solid #d7e6f3;
    border-radius:14px;
    background:linear-gradient(135deg,#f4faff 0%,#fff 70%);
    box-shadow:0 8px 26px rgba(28,75,111,.07)
}
.tpvc-section-rich .category-rich--lead:before{
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    width:4px;
    background:var(--tpvc-accent);
    content:""
}
.tpvc-section-rich .category-rich--lead>p{margin:0;max-width:1120px}
.tpvc-section-rich .category-rich--lead>p+*{margin-top:14px}

.tpvc-section-rich .category-rich__facts{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(225px,1fr));
    gap:9px;
    margin:14px 0 0;
    padding:0;
    list-style:none
}
.tpvc-section-rich .category-rich__facts li{
    min-width:0;
    padding:9px 12px;
    border:1px solid #e1eaf2;
    border-radius:9px;
    background:rgba(255,255,255,.8)
}
.tpvc-section-rich .category-rich__facts strong{color:#334155}

.tpvc-section-rich .category-rich--details{
    max-width:1180px;
    padding:26px 28px 30px;
    border:1px solid var(--tpvc-line);
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 32px rgba(27,46,65,.06)
}
.tpvc-section-rich .category-rich--details>h2{
    margin:30px 0 12px;
    color:#172334;
    font-size:24px;
    line-height:1.25
}
.tpvc-section-rich .category-rich--details>h2:first-child{margin-top:0}
.tpvc-section-rich p{margin:0 0 14px}
.tpvc-section-rich a{
    color:var(--tpvc-accent-dark);
    text-decoration:none;
    border-bottom:1px solid rgba(11,95,159,.25)
}
.tpvc-section-rich a:hover{color:var(--tpvc-accent);border-bottom-color:currentColor}

.tpvc-section-rich .category-rich__method{
    margin-top:-4px;
    color:var(--tpvc-muted);
    font-size:13px
}
.tpvc-section-rich .category-rich__table-wrap{
    max-width:100%;
    margin:14px 0 24px;
    overflow-x:auto;
    border:1px solid var(--tpvc-line);
    border-radius:12px
}
.tpvc-section-rich .category-rich__table{width:100%;border:0;border-collapse:collapse}
.tpvc-section-rich .category-rich__table th,
.tpvc-section-rich .category-rich__table td{
    padding:11px 14px;
    border:0;
    border-bottom:1px solid var(--tpvc-line);
    text-align:left;
    vertical-align:top
}
.tpvc-section-rich .category-rich__table tr:last-child th,
.tpvc-section-rich .category-rich__table tr:last-child td{border-bottom:0}
.tpvc-section-rich .category-rich__table th{
    width:36%;
    color:#334155;
    background:var(--tpvc-soft);
    font-weight:600
}
.tpvc-section-rich .category-rich__table thead th{
    width:auto;
    color:#1f3449;
    background:#edf5fb
}
.tpvc-section-rich .category-rich__table tbody tr:nth-child(even) td{background:#fbfdff}

.tpvc-section-rich .category-rich__steps{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 14px;
    margin:14px 0 24px;
    padding:0;
    list-style:none;
    counter-reset:tpvc-step
}
.tpvc-section-rich .category-rich__steps li{
    position:relative;
    min-height:58px;
    padding:13px 14px 13px 48px;
    border:1px solid var(--tpvc-line);
    border-radius:10px;
    background:#fff;
    counter-increment:tpvc-step
}
.tpvc-section-rich .category-rich__steps li:before{
    position:absolute;
    top:13px;
    left:13px;
    display:grid;
    width:25px;
    height:25px;
    place-items:center;
    border-radius:50%;
    color:#fff;
    background:var(--tpvc-accent);
    content:counter(tpvc-step);
    font-size:12px;
    font-weight:700
}
.tpvc-section-rich .category-rich__request{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:12px 0 0;
    padding:0;
    list-style:none
}
.tpvc-section-rich .category-rich__request li{
    padding:8px 12px;
    border:1px solid #d9e5ef;
    border-radius:999px;
    color:#334155;
    background:var(--tpvc-soft)
}
.tpvc-section-rich .category-rich__notice{
    margin:22px 0;
    padding:15px 17px;
    border:1px solid #cfe2f3;
    border-left:4px solid var(--tpvc-accent);
    border-radius:9px;
    background:#f1f8fe
}
.tpvc-section-rich .category-rich__series-summary{color:#3d4b5d}

@media(max-width:760px){
    .tpvc-section-rich{font-size:14px}
    .tpvc-section-rich--top{margin-bottom:18px}
    .tpvc-section-rich--bottom{margin-top:28px}
    .tpvc-section-rich .category-rich--lead{padding:16px 17px 17px 20px;border-radius:11px}
    .tpvc-section-rich .category-rich--details{padding:20px 16px 22px;border-radius:12px}
    .tpvc-section-rich .category-rich--details>h2{margin-top:25px;font-size:20px}
    .tpvc-section-rich .category-rich__facts,
    .tpvc-section-rich .category-rich__steps{grid-template-columns:1fr}
    .tpvc-section-rich .category-rich__table th{width:44%}
}

@media(max-width:480px){
    .tpvc-section-rich .category-rich__table th,
    .tpvc-section-rich .category-rich__table td{padding:9px 10px}
    .tpvc-section-rich .category-rich__request{display:block}
    .tpvc-section-rich .category-rich__request li{margin-top:7px;border-radius:8px}
}
