/* ===== CityBox text page CSS v33 reviews-widget-layout =====
   Clean generic text page template: breadcrumbs, title, resource content typography,
   lists, images, tables, docs/payment/about blocks.
   Scoped to .cb-text-page and section-specific classes.
   v12: removed reviews-widget additions; payment accordion summary text is neutral.
   v13: added scoped text-page news list styles copied/adapted from the warm-storage home news line; mobile is a vertical list, no horizontal swipe.
   v25: rebuilt contacts page form styles to match warm-storage form geometry, removed warm tint from contact info blocks, added CSS-only sliding client-type segmented control.
   v28: restored the full v25 CSS base and refactored only payment page styles; payment related links now reuse existing cb-doc-card component.
   v29: fixed payment related links by explicitly applying the existing docs-card geometry inside .cb-payment-docs-list, so inline SVG icons cannot render unstyled.
   v30: added compatibility for both payment link markups: new cb-doc-card reuse and previous cb-payment-doc-card markup, preventing unstyled giant SVG icons if template/CSS versions are temporarily out of sync.
   v31: reduced desktop width of the main payment CTA; mobile keeps the full-width app-like button.
   v32: added scoped 404/403 error page section with empty/locked storage box illustration and app-like action links.
   v33: added a dedicated reviews page/Yandex reviews widget block; generic .cb-text-content width stays unchanged for other text pages.
*/

.cb-text-page {
    min-height: 60vh;
    background: var(--cb-bg, #f7f7f7);
    color: var(--cb-dark, #454545);
}

.cb-text-page .container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.cb-text-hero {
    padding: clamp(34px, 4.8vw, 62px) 0 22px;
}

.cb-text-breadcrumbs {
    margin: 0 0 24px;
}

.cb-text-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(69, 69, 69, 0.72);
    font-size: 14px;
    line-height: 1.35;
}

.cb-text-breadcrumbs__item,
.cb-text-breadcrumbs__sep {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.cb-text-breadcrumbs__item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

.cb-text-breadcrumbs__item a:hover,
.cb-text-breadcrumbs__item a:focus-visible {
    color: var(--cb-orange, #ff7816);
}

.cb-text-breadcrumbs__item.is-current {
    color: var(--cb-dark, #454545);
    font-weight: 500;
}

.cb-text-breadcrumbs__sep {
    color: rgba(69, 69, 69, 0.38);
}

.cb-text-hero__content {
    max-width: 860px;
}

.cb-text-hero h1 {
    margin: 0;
    color: var(--cb-dark, #454545);
    font-family: var(--cb-font-heading, "Roboto Slab", Georgia, serif);
    font-size: clamp(34px, 5.2vw, 58px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.cb-text-hero__lead {
    max-width: 780px;
    margin: 18px 0 0;
    color: var(--cb-text-muted, #555555);
    font-size: clamp(17px, 1.55vw, 21px);
    line-height: 1.62;
}

.cb-text-section {
    padding: 16px 0 clamp(54px, 7vw, 92px);
}

.cb-text-content {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(24px, 4.6vw, 48px);
    border: 1px solid rgba(69, 69, 69, 0.08);
    border-radius: 30px;
    background: var(--cb-white, #ffffff);
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.065);
    overflow: hidden;
}

.cb-text-content > *:first-child {
    margin-top: 0 !important;
}

.cb-text-content > *:last-child {
    margin-bottom: 0 !important;
}

.cb-text-content p,
.cb-text-content li,
.cb-text-content td,
.cb-text-content th {
    font-size: 17px;
    line-height: 1.72;
}

.cb-text-content p {
    margin: 0 0 18px;
    color: var(--cb-text-muted, #555555);
}

.cb-text-content strong,
.cb-text-content b {
    color: var(--cb-dark, #454545);
    font-weight: 700;
}

.cb-text-content a:not(.btn) {
    color: var(--cb-dark, #454545);
    text-decoration: underline;
    text-decoration-color: rgba(255, 120, 22, 0.42);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.cb-text-content a:not(.btn):hover,
.cb-text-content a:not(.btn):focus-visible {
    color: var(--cb-orange, #ff7816);
    text-decoration-color: currentColor;
}

.cb-text-content h2,
.cb-text-content h3,
.cb-text-content h4 {
    color: var(--cb-dark, #454545);
    font-family: var(--cb-font-heading, "Roboto Slab", Georgia, serif);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.cb-text-content h2 {
    margin: 42px 0 16px;
    font-size: clamp(27px, 3.1vw, 38px);
    line-height: 1.14;
}

.cb-text-content h3 {
    margin: 32px 0 12px;
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.18;
}

.cb-text-content h4 {
    margin: 26px 0 10px;
    font-size: 20px;
    line-height: 1.25;
}

.cb-text-content ul:not([class]),
.cb-text-content ol:not([class]) {
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    color: var(--cb-text-muted, #555555);
}

.cb-text-content ul:not([class]) {
    list-style: none;
}

.cb-text-content ul:not([class]) > li {
    position: relative;
    padding-left: 24px;
}

.cb-text-content ul:not([class]) > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--cb-orange, #ff7816);
    box-shadow: 0 0 0 5px rgba(69, 69, 69, 0.06);
    transform: translateY(-50%);
}

.cb-text-content ol:not([class]) {
    list-style: none;
    counter-reset: cbTextList;
}

.cb-text-content ol:not([class]) > li {
    position: relative;
    min-height: 34px;
    padding-left: 46px;
    counter-increment: cbTextList;
}

.cb-text-content ol:not([class]) > li::before {
    content: counter(cbTextList);
    position: absolute;
    left: 0;
    top: 0.16em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: var(--cb-bg-soft, #f4f5f6);
    color: var(--cb-dark, #454545);
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
}

.cb-text-content blockquote {
    margin: 30px 0;
    padding: 22px 24px;
    border: 1px solid rgba(69, 69, 69, 0.10);
    border-left: 5px solid rgba(69, 69, 69, 0.22);
    border-radius: 22px;
    background: var(--cb-bg-soft, #f4f5f6);
    color: var(--cb-dark, #454545);
}

.cb-text-content blockquote p {
    color: inherit;
    font-size: 18px;
    line-height: 1.65;
}

.cb-text-content figure {
    margin: 32px 0;
}

.cb-text-content img {
    max-width: 100%;
    height: auto;
}

.cb-text-content > img,
.cb-text-content p > img,
.cb-text-content figure img {
    display: block;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.075);
}

.cb-text-content figcaption {
    margin-top: 10px;
    color: rgba(69, 69, 69, 0.64);
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
}

.cb-text-content .cb-text-table,
.cb-text-content .table-wrap {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 20px;
    -webkit-overflow-scrolling: touch;
}

.cb-text-content table {
    width: 100%;
    margin: 30px 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid rgba(69, 69, 69, 0.10);
    border-radius: 20px;
    background: var(--cb-white, #ffffff);
}

.cb-text-content .cb-text-table table,
.cb-text-content .table-wrap table {
    margin: 0;
}

.cb-text-content th,
.cb-text-content td {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(69, 69, 69, 0.08);
    text-align: left;
    vertical-align: top;
}

.cb-text-content th {
    background: var(--cb-bg-soft, #f4f5f6);
    color: var(--cb-dark, #454545);
    font-weight: 700;
}

.cb-text-content td {
    color: var(--cb-text-muted, #555555);
}

.cb-text-content tr:last-child td {
    border-bottom: 0;
}

.cb-text-content iframe,
.cb-text-content video {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.075);
}

.cb-text-content hr {
    margin: 34px 0;
    border: 0;
    border-top: 1px solid rgba(69, 69, 69, 0.10);
}

@media (max-width: 767px) {
    .cb-text-page .container {
        width: min(100% - 24px, 1120px);
    }

    .cb-text-hero {
        padding: 24px 0 14px;
    }

    .cb-text-breadcrumbs {
        margin-bottom: 18px;
    }

    .cb-text-breadcrumbs__list {
        gap: 6px;
        font-size: 13px;
    }

    .cb-text-hero h1 {
        font-size: clamp(32px, 10vw, 42px);
        line-height: 1.08;
    }

    .cb-text-hero__lead {
        margin-top: 14px;
        font-size: 17px;
        line-height: 1.55;
    }

    .cb-text-section {
        padding: 10px 0 54px;
    }

    .cb-text-content {
        padding: 22px 18px;
        border-radius: 24px;
        box-shadow: 0 12px 30px rgba(17, 24, 39, 0.055);
    }

    .cb-text-content p,
    .cb-text-content li,
    .cb-text-content td,
    .cb-text-content th {
        font-size: 16px;
        line-height: 1.65;
    }

    .cb-text-content h2 {
        margin-top: 34px;
        font-size: 28px;
    }

    .cb-text-content h3 {
        margin-top: 28px;
        font-size: 22px;
    }

    .cb-text-content ul:not([class]),
    .cb-text-content ol:not([class]) {
        gap: 9px;
        margin-bottom: 22px;
    }

    .cb-text-content blockquote {
        padding: 18px;
        border-radius: 20px;
    }

    .cb-text-content > img,
    .cb-text-content p > img,
    .cb-text-content figure img,
    .cb-text-content iframe,
    .cb-text-content video {
        border-radius: 20px;
    }

    .cb-text-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .cb-text-content th,
    .cb-text-content td {
        padding: 13px 14px;
    }
}



/* ===== Error pages v32 =====
   Scoped 404/403 pages for tpl.error.page.
   Lives after the generic text-page core and before news/docs/payment/about specific sections.
*/

.cb-error-page {
    min-height: 60vh;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 120, 22, 0.08), transparent 32%),
        radial-gradient(circle at 88% 16%, rgba(69, 69, 69, 0.06), transparent 30%),
        var(--cb-bg, #f7f7f7);
    color: var(--cb-dark, #454545);
}

.cb-error-page .container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.cb-error-section {
    padding: clamp(44px, 7vw, 86px) 0 clamp(58px, 8vw, 106px);
}

.cb-error-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(26px, 5vw, 64px);
    align-items: center;
    min-height: 440px;
    padding: clamp(24px, 4.4vw, 52px);
    border: 1px solid rgba(69, 69, 69, 0.08);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 60px rgba(17, 24, 39, 0.075);
    overflow: hidden;
}

.cb-error-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 300px;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(244, 245, 246, 0.9), rgba(255, 255, 255, 0.72)),
        #ffffff;
    overflow: hidden;
}

.cb-error-visual::before,
.cb-error-visual::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.cb-error-visual::before {
    width: 210px;
    height: 210px;
    right: -80px;
    top: -90px;
    background: rgba(255, 120, 22, 0.09);
}

.cb-error-visual::after {
    width: 150px;
    height: 150px;
    left: -62px;
    bottom: -62px;
    background: rgba(69, 69, 69, 0.055);
}

.cb-error-box {
    position: relative;
    z-index: 1;
    width: min(250px, 82%);
    perspective: 900px;
}

.cb-error-box__top {
    position: relative;
    width: 78%;
    height: 54px;
    margin: 0 auto -1px;
    border: 1px solid rgba(69, 69, 69, 0.12);
    border-bottom: 0;
    border-radius: 18px 18px 6px 6px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f6f7 100%);
    transform: skewX(-16deg);
    box-shadow: inset 0 -12px 18px rgba(17, 24, 39, 0.035);
}

.cb-error-box__body {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 170px;
    padding: 26px;
    border: 1px solid rgba(69, 69, 69, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0 1px, transparent 1px 100%) 0 0 / 34px 100%,
        linear-gradient(180deg, #ffffff 0%, #f4f5f6 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 18px 34px rgba(17, 24, 39, 0.12);
}

.cb-error-box__body::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px dashed rgba(69, 69, 69, 0.14);
    border-radius: 18px;
    pointer-events: none;
}

.cb-error-box__code {
    position: relative;
    z-index: 1;
    color: var(--cb-dark, #454545);
    font-family: var(--cb-font-heading, "Roboto Slab", Georgia, serif);
    font-size: clamp(52px, 7vw, 86px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.055em;
}

.cb-error-box__line {
    position: relative;
    z-index: 1;
    display: block;
    width: 86px;
    height: 7px;
    margin-top: 16px;
    border-radius: 999px;
    background: rgba(255, 120, 22, 0.24);
}

.cb-error-box__line--short {
    width: 52px;
    margin-top: 9px;
    background: rgba(69, 69, 69, 0.12);
}

.cb-error-box__shadow {
    width: 72%;
    height: 22px;
    margin: 20px auto 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.10);
    filter: blur(10px);
}

.cb-error-lock {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 42px;
    margin-top: 16px;
    border-radius: 14px;
    background: var(--cb-orange, #ff7816);
    box-shadow: 0 10px 22px rgba(255, 120, 22, 0.22);
}

.cb-error-lock::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 32px;
    width: 34px;
    height: 30px;
    border: 6px solid var(--cb-orange, #ff7816);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    transform: translateX(-50%);
}

.cb-error-lock::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 15px;
    width: 8px;
    height: 13px;
    border-radius: 999px;
    background: #ffffff;
    transform: translateX(-50%);
}

.cb-error-content {
    display: grid;
    justify-items: start;
    gap: 16px;
    min-width: 0;
}

.cb-error-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(255, 120, 22, 0.16);
    border-radius: 999px;
    background: rgba(255, 120, 22, 0.07);
    color: var(--cb-orange, #ff7816);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.cb-error-content h1 {
    max-width: 9.8em;
    margin: 0;
    color: var(--cb-dark, #454545);
    font-family: var(--cb-font-heading, "Roboto Slab", Georgia, serif);
    font-size: clamp(36px, 5.1vw, 62px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.cb-error-content p {
    max-width: 560px;
    margin: 0;
    color: var(--cb-text-muted, #555555);
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.6;
}

.cb-error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.cb-error-button,
.cb-error-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid rgba(69, 69, 69, 0.16);
    border-radius: 16px;
    background: #ffffff;
    color: var(--cb-dark, #454545);
    box-shadow: none;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.cb-error-button--primary,
.cb-error-button--primary:visited {
    border-color: var(--cb-orange, #ff7816);
    background: var(--cb-orange, #ff7816);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(255, 120, 22, 0.20);
}

.cb-error-button--ghost,
.cb-error-button--ghost:visited {
    border-color: transparent;
    background: transparent;
}

.cb-error-button:hover,
.cb-error-button:focus-visible {
    border-color: var(--cb-dark, #454545);
    background: var(--cb-dark, #454545);
    color: #ffffff;
    outline: none;
    transform: translateY(-1px);
}

.cb-error-button--primary:hover,
.cb-error-button--primary:focus-visible {
    border-color: var(--cb-orange-hover, #e96a0f);
    background: var(--cb-orange-hover, #e96a0f);
    box-shadow: 0 14px 30px rgba(255, 120, 22, 0.24);
}

.cb-error-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.cb-error-links a {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(69, 69, 69, 0.08);
    border-radius: 22px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.05);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.cb-error-links a:hover,
.cb-error-links a:focus-visible {
    border-color: rgba(255, 120, 22, 0.24);
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.075);
    outline: none;
    transform: translateY(-1px);
}

.cb-error-links strong {
    color: var(--cb-dark, #454545);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
}

.cb-error-links span {
    color: var(--cb-text-muted, #555555);
    font-size: 14.5px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .cb-error-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .cb-error-visual {
        min-height: 260px;
    }

    .cb-error-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .cb-error-page .container {
        width: min(100% - 24px, 1120px);
    }

    .cb-error-section {
        padding: 28px 0 58px;
    }

    .cb-error-card {
        gap: 20px;
        padding: 18px;
        border-radius: 28px;
        box-shadow: 0 14px 34px rgba(17, 24, 39, 0.055);
    }

    .cb-error-visual {
        min-height: 230px;
        border-radius: 24px;
    }

    .cb-error-box {
        width: min(220px, 84%);
    }

    .cb-error-box__top {
        height: 46px;
    }

    .cb-error-box__body {
        min-height: 148px;
        border-radius: 22px;
    }

    .cb-error-content {
        gap: 13px;
    }

    .cb-error-content h1 {
        max-width: 10.5em;
        font-size: clamp(34px, 10vw, 44px);
    }

    .cb-error-content p {
        font-size: 16px;
        line-height: 1.55;
    }

    .cb-error-actions {
        display: grid;
        width: 100%;
        gap: 9px;
        margin-top: 4px;
    }

    .cb-error-button {
        width: 100%;
        min-height: 50px;
    }

    .cb-error-links {
        gap: 10px;
        margin-top: 12px;
    }

    .cb-error-links a {
        padding: 15px;
        border-radius: 18px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .cb-error-button:hover,
    .cb-error-links a:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cb-error-button,
    .cb-error-links a {
        transition: none !important;
    }
}



/* ===== Text page news list =====
   Scoped news index output for /about/news/.
   Uses the existing tpl.home.newsCardLine markup, but without the homepage heading/actions shell.
   Desktop keeps the warm-storage/home horizontal line card.
   Mobile becomes a simple vertical list; no horizontal swipe, scroll-snap, or duplicate mobile wrapper.
*/

.cb-text-page .home-news--text-list {
    display: grid;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
}

.cb-text-page .home-news--text-list .home-news__list {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.cb-text-page .home-news--text-list .home-news-line {
    --cb-text-news-thumb: 196px;

    display: grid;
    grid-template-columns: var(--cb-text-news-thumb) minmax(0, 1fr) auto;
    gap: 28px;
    align-items: stretch;
    min-width: 0;
    min-height: var(--cb-text-news-thumb);
    padding: 0 30px 0 0;
    overflow: hidden;
    border: 1px solid rgba(69, 69, 69, 0.08);
    border-radius: 24px;
    background: var(--cb-white, #ffffff);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.cb-text-page .home-news--text-list .home-news-line__image {
    width: var(--cb-text-news-thumb);
    height: var(--cb-text-news-thumb);
    min-height: var(--cb-text-news-thumb);
    aspect-ratio: 1 / 1;
    margin: 0;
    overflow: hidden;
    border-radius: 23px 0 0 23px;
    background: var(--cb-bg-soft, #f4f5f6);
}

.cb-text-page .home-news--text-list .home-news-line__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-text-page .home-news--text-list .home-news-line__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(69, 69, 69, 0.28);
}

.cb-text-page .home-news--text-list .home-news-line__image--placeholder::before {
    content: "Ситибокс";
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cb-text-page .home-news--text-list .home-news-line__body {
    display: grid;
    align-content: center;
    gap: 9px;
    min-width: 0;
    padding: 24px 0;
}

.cb-text-page .home-news--text-list .home-news-line__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cb-text-page .home-news--text-list .home-news-line__date {
    color: rgba(69, 69, 69, 0.58);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.cb-text-page .home-news--text-list .home-news-line__label {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 10px;
    border: 1px solid rgba(255, 120, 22, 0.13);
    border-radius: 999px;
    background: #fff9f4;
    color: var(--cb-orange, #ff7816);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.cb-text-page .home-news--text-list .home-news-line h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--cb-dark, #454545);
    font-size: clamp(20px, 1.55vw, 24px);
    line-height: 1.22;
    letter-spacing: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cb-text-page .home-news--text-list .home-news-line h3 a {
    color: inherit;
    text-decoration: none;
}

.cb-text-page .home-news--text-list .home-news-line p {
    display: -webkit-box;
    overflow: hidden;
    max-width: 48em;
    margin: 0;
    color: rgba(69, 69, 69, 0.72);
    font-size: 15.5px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cb-text-page .home-news--text-list .home-news-line__more {
    display: inline-flex;
    align-self: center;
    gap: 10px;
    align-items: center;
    color: var(--cb-dark, #454545);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.cb-text-page .home-news--text-list .home-news-line__more::after {
    content: "→";
    font-size: 1.2em;
    line-height: 1;
    transform: translateY(-1px);
}

.cb-text-page .home-news--text-list .home-news-line__more:hover,
.cb-text-page .home-news--text-list .home-news-line__more:focus-visible {
    color: var(--cb-dark, #454545);
    outline: none;
}

@media (max-width: 767px) {
    .cb-text-page .home-news--text-list {
        max-width: none;
    }

    .cb-text-page .home-news--text-list .home-news__list {
        gap: 14px;
    }

    .cb-text-page .home-news--text-list .home-news-line {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 0;
        padding: 0;
        border-radius: 22px;
        box-shadow: 0 10px 24px rgba(17, 24, 39, 0.045);
    }

    .cb-text-page .home-news--text-list .home-news-line__image {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        border-radius: 21px 21px 0 0;
    }

    .cb-text-page .home-news--text-list .home-news-line__body {
        align-content: start;
        gap: 8px;
        padding: 15px 16px 4px;
    }

    .cb-text-page .home-news--text-list .home-news-line__meta {
        gap: 7px;
    }

    .cb-text-page .home-news--text-list .home-news-line__date {
        min-height: 20px;
        font-size: 11px;
    }

    .cb-text-page .home-news--text-list .home-news-line__label {
        min-height: 20px;
        padding: 0 7px;
        font-size: 9px;
    }

    .cb-text-page .home-news--text-list .home-news-line h3 {
        display: -webkit-box;
        overflow: hidden;
        font-size: 19px;
        line-height: 1.22;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .cb-text-page .home-news--text-list .home-news-line p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 14.5px;
        line-height: 1.42;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .cb-text-page .home-news--text-list .home-news-line__more {
        justify-self: start;
        padding: 10px 16px 16px;
        font-size: 14px;
    }
}

.cb-text-page .home-news--text-list .pagination,
.cb-text-page .home-news--text-list .cb-text-news-pagination {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.cb-text-page .home-news--text-list .pagination li {
    display: contents;
}

.cb-text-page .home-news--text-list .pagination a:not(.btn-more),
.cb-text-page .home-news--text-list .pagination span:not(.btn-more) {
    display: none;
}

.cb-text-page .home-news--text-list .btn-more,
.cb-text-page .home-news--text-list .cb-text-news-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid rgba(69, 69, 69, 0.20);
    border-radius: 16px;
    background: var(--cb-white, #ffffff);
    color: var(--cb-dark, #454545);
    box-shadow: none;
    font: inherit;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.cb-text-page .home-news--text-list .btn-more:hover,
.cb-text-page .home-news--text-list .btn-more:focus-visible,
.cb-text-page .home-news--text-list .cb-text-news-more:hover,
.cb-text-page .home-news--text-list .cb-text-news-more:focus-visible {
    border-color: var(--cb-dark, #454545);
    background: var(--cb-dark, #454545);
    color: var(--cb-white, #ffffff);
    outline: none;
    transform: translateY(-1px);
}

.cb-text-page .home-news--text-list .btn-more:disabled,
.cb-text-page .home-news--text-list .cb-text-news-more:disabled {
    opacity: 0.55;
    cursor: default;
    transform: none;
}

.cb-text-page .home-news--text-list .cb-text-news-actions {
    order: 3;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 24px 0 0;
    padding: 0;
}

.cb-text-page .home-news--text-list .cb-text-news-actions[hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    .cb-text-page .home-news--text-list .cb-text-news-actions {
        margin-top: 18px;
    }

    .cb-text-page .home-news--text-list .cb-text-news-more {
        width: 100%;
        min-width: 0;
        min-height: 50px;
    }
}

/* ===== Single news item page =====
   Scoped to tpl.newsItemPage. Uses the generic text page shell,
   with a compact meta row, optional image TV and simple back action.
*/

.cb-news-item-page .cb-text-hero__content {
    max-width: 940px;
}

.cb-news-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
}

.cb-news-date {
    color: rgba(69, 69, 69, 0.62);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.cb-news-label {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(255, 120, 22, 0.13);
    border-radius: 999px;
    background: #fff9f4;
    color: var(--cb-orange, #ff7816);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.cb-news-article {
    max-width: 920px;
}

.cb-news-article__image {
    margin: 0 0 30px;
}

.cb-news-article__image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.075);
}

.cb-news-article__body > *:first-child {
    margin-top: 0 !important;
}

.cb-news-article__body > *:last-child {
    margin-bottom: 0 !important;
}

.cb-news-article__actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(69, 69, 69, 0.10);
}

.cb-text-content a.cb-news-back:not(.btn),
.cb-text-content a.cb-news-back:not(.btn):visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid rgba(69, 69, 69, 0.20);
    border-radius: 16px;
    background: #ffffff;
    color: var(--cb-dark, #454545) !important;
    box-shadow: none;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.cb-text-content a.cb-news-back:not(.btn)::before {
    content: "←";
    margin-right: 9px;
    font-size: 1.1em;
    line-height: 1;
    transform: translateY(-1px);
}

.cb-text-content a.cb-news-back:not(.btn):hover,
.cb-text-content a.cb-news-back:not(.btn):focus-visible {
    border-color: var(--cb-dark, #454545);
    background: var(--cb-dark, #454545);
    color: #ffffff !important;
    outline: none;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .cb-news-hero__meta {
        gap: 8px;
        margin-bottom: 12px;
    }

    .cb-news-date {
        font-size: 13px;
    }

    .cb-news-label {
        min-height: 24px;
        padding: 0 9px;
        font-size: 10px;
    }

    .cb-news-article__image {
        margin-bottom: 22px;
    }

    .cb-news-article__image img {
        border-radius: 20px;
    }

    .cb-news-article__actions {
        margin-top: 28px;
        padding-top: 20px;
    }

    .cb-text-content a.cb-news-back:not(.btn) {
        width: 100%;
        min-height: 50px;
    }
}





/* ===== Docs index page ===== */

.cb-docs-page .cb-text-section {
    padding-top: 8px;
}

.cb-docs-list {
    display: grid;
    gap: 14px;
    width: min(100%, 980px);
}

.cb-doc-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 24px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.055);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
    .cb-doc-card:hover {
        border-color: rgba(255, 120, 22, 0.24);
        box-shadow: 0 16px 38px rgba(17, 24, 39, 0.085);
        transform: translateY(-1px);
    }
}

.cb-doc-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: #f4f5f6;
    color: #454545;
    flex: 0 0 auto;
}

.cb-doc-card__icon svg {
    width: 25px;
    height: 25px;
}

.cb-doc-card__body {
    min-width: 0;
}

.cb-doc-card__title {
    display: block;
    color: #454545;
    font-family: var(--cb-font-heading, "Roboto Slab", Georgia, serif);
    font-size: 22px;
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.cb-doc-card__text {
    display: block;
    margin-top: 7px;
    color: #555555;
    font-size: 16px;
    line-height: 1.55;
}

.cb-doc-card__text:empty {
    display: none;
}

.cb-doc-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff7816;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
    white-space: nowrap;
}

.cb-doc-card__more::after {
    content: "→";
    font-size: 17px;
    line-height: 1;
    transform: translateY(-1px);
}

.cb-docs-page__content {
    margin-top: 28px;
}

@media (max-width: 767px) {
    .cb-docs-list {
        gap: 12px;
    }

    .cb-doc-card {
        grid-template-columns: 40px minmax(0, 1fr);
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
        border-radius: 22px;
        box-shadow: 0 10px 24px rgba(17, 24, 39, 0.055);
    }

    .cb-doc-card__icon {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    .cb-doc-card__icon svg {
        width: 22px;
        height: 22px;
    }

    .cb-doc-card__title {
        font-size: 19px;
        line-height: 1.22;
    }

    .cb-doc-card__text {
        margin-top: 6px;
        font-size: 14px;
        line-height: 1.5;
    }

    .cb-doc-card__more {
        grid-column: 2;
        justify-self: start;
        margin-top: 4px;
        font-size: 14px;
    }

    .cb-docs-page__content {
        margin-top: 20px;
    }
}

/* ===== CityBox payment page v28 =====
   Payment page aligned with the Docs index page without duplicating card styles.
   Related payment pages reuse the existing .cb-docs-list / .cb-doc-card component.
   Payment-specific CSS remains only for the page stack, online payment CTA and accordions.
*/

.cb-payment-page .cb-text-section {
    padding-top: 8px;
}

.cb-payment-stack {
    display: grid;
    gap: 16px;
    width: min(100%, 980px);
}

.cb-payment-panel {
    display: grid;
    gap: 14px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(69, 69, 69, 0.08);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.055);
}

.cb-payment-actions {
    display: grid;
    justify-items: start;
    gap: 12px;
}

.cb-payment-page .cb-payment-pay-button,
.cb-payment-page .cb-payment-pay-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    width: auto;
    min-width: 250px;
    padding: 0 28px;
    border: 1px solid var(--cb-orange, #ff7816);
    border-radius: 16px;
    background: var(--cb-orange, #ff7816);
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(255, 120, 22, 0.18);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    text-align: center;
    text-decoration: none !important;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.cb-payment-page .cb-payment-pay-button:hover,
.cb-payment-page .cb-payment-pay-button:focus-visible {
    border-color: var(--cb-orange-hover, #e96a0f);
    background: var(--cb-orange-hover, #e96a0f);
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(255, 120, 22, 0.24);
    outline: none;
    transform: translateY(-1px);
}

.cb-payment-accordions {
    display: grid;
    gap: 12px;
}

.cb-payment-accordion {
    border: 1px solid rgba(69, 69, 69, 0.08);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.045);
    overflow: hidden;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease;
}

.cb-payment-accordion[open] {
    border-color: rgba(255, 120, 22, 0.24);
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.065);
}

.cb-payment-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 66px;
    padding: 18px 20px;
    background: #ffffff;
    color: var(--cb-dark, #454545);
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.28;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
    transition: color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.cb-payment-accordion summary::-webkit-details-marker {
    display: none;
}

.cb-payment-accordion summary:hover,
.cb-payment-accordion summary:focus-visible,
.cb-payment-accordion[open] summary {
    background: #ffffff;
    color: var(--cb-dark, #454545);
}

.cb-payment-accordion__icon {
    position: relative;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 120, 22, 0.28);
    border-radius: 999px;
    background: #ffffff;
    color: var(--cb-orange, #ff7816);
    box-shadow: none;
}

.cb-payment-accordion__icon::before,
.cb-payment-accordion__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease;
}

.cb-payment-accordion__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.cb-payment-accordion[open] .cb-payment-accordion__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.cb-payment-accordion__content {
    box-sizing: border-box;
    padding: 0 20px 22px;
    border-top: 1px solid rgba(69, 69, 69, 0.08);
    overflow: hidden;
}

.cb-payment-accordion__content > *:first-child {
    margin-top: 18px;
}

.cb-payment-accordion__content p,
.cb-payment-accordion__content li {
    color: var(--cb-text-muted, #555555);
    font-size: 16px;
    line-height: 1.65;
}

.cb-payment-accordion__content p {
    margin: 0 0 16px;
}

.cb-payment-accordion__content ol {
    display: grid;
    gap: 9px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    counter-reset: cbPaymentList;
}

.cb-payment-accordion__content ol > li {
    position: relative;
    min-height: 30px;
    padding-left: 42px;
    counter-increment: cbPaymentList;
}

.cb-payment-accordion__content ol > li::before {
    content: counter(cbPaymentList);
    position: absolute;
    left: 0;
    top: 0.08em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 11px;
    background: var(--cb-bg-soft, #f4f5f6);
    color: var(--cb-dark, #454545);
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
}

.cb-payment-note {
    padding: 15px 16px;
    border: 1px solid rgba(69, 69, 69, 0.10);
    border-radius: 18px;
    background: var(--cb-bg-soft, #f4f5f6);
}

.cb-payment-docs-list,
.cb-payment-doc-links {
    width: 100%;
}

.cb-payment-doc-links {
    display: grid;
    gap: 14px;
}

/* Payment related pages use the same component as the Docs index.
   These scoped rules intentionally mirror .cb-doc-card geometry here so the payment page
   stays stable even when it is not inside .cb-docs-page. */
.cb-payment-docs-list .cb-doc-card,
.cb-payment-doc-links .cb-payment-doc-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 24px;
    background: #ffffff;
    color: inherit;
    text-decoration: none !important;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.055);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cb-payment-docs-list .cb-doc-card__icon,

.cb-payment-doc-links .cb-payment-doc-card:visited {
    color: inherit !important;
    text-decoration: none !important;
}

.cb-payment-doc-links .cb-payment-doc-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: #f4f5f6;
    color: #454545;
    flex: 0 0 auto;
}

.cb-payment-docs-list .cb-doc-card__icon svg,
.cb-payment-doc-links .cb-payment-doc-card__icon svg {
    display: block;
    width: 25px;
    height: 25px;
}

.cb-payment-docs-list .cb-doc-card__body,
.cb-payment-doc-links .cb-payment-doc-card__body {
    min-width: 0;
}

.cb-payment-docs-list .cb-doc-card__title,
.cb-payment-doc-links .cb-payment-doc-card__body strong {
    display: block;
    color: #454545;
    font-family: var(--cb-font-heading, "Roboto Slab", Georgia, serif);
    font-size: 22px;
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.cb-payment-docs-list .cb-doc-card__text,
.cb-payment-doc-links .cb-payment-doc-card__body span {
    display: block;
    margin-top: 7px;
    color: #555555;
    font-size: 16px;
    line-height: 1.55;
}

.cb-payment-docs-list .cb-doc-card__more,
.cb-payment-doc-links .cb-payment-doc-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff7816;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
    white-space: nowrap;
}

.cb-payment-docs-list .cb-doc-card__more::after,
.cb-payment-doc-links .cb-payment-doc-card__more::after {
    content: "→";
    font-size: 17px;
    line-height: 1;
    transform: translateY(-1px);
}

@media (hover: hover) and (pointer: fine) {
    .cb-payment-docs-list .cb-doc-card:hover,
    .cb-payment-docs-list .cb-doc-card:focus-visible,
    .cb-payment-doc-links .cb-payment-doc-card:hover,
    .cb-payment-doc-links .cb-payment-doc-card:focus-visible {
        border-color: rgba(255, 120, 22, 0.24);
        box-shadow: 0 16px 38px rgba(17, 24, 39, 0.085);
        transform: translateY(-1px);
        outline: none;
    }
}


@media (min-width: 768px) {
    .cb-payment-doc-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.cb-payment-extra-content {
    max-width: 980px;
    margin: 12px 0 0;
}

.cb-payment-accordion.is-animating {
    overflow: hidden;
    will-change: height;
}

.cb-payment-accordion.is-opening .cb-payment-accordion__content {
    opacity: 1;
}

.cb-payment-accordion.is-closing .cb-payment-accordion__content {
    opacity: 0;
}

@media (max-width: 767px) {
    .cb-payment-stack {
        gap: 12px;
    }

    .cb-payment-panel {
        gap: 12px;
        padding: 14px;
        border-radius: 24px;
        box-shadow: 0 10px 24px rgba(17, 24, 39, 0.055);
    }

    .cb-payment-actions {
        justify-items: stretch;
    }

    .cb-payment-page .cb-payment-pay-button {
        min-height: 52px;
        width: 100%;
        min-width: 0;
        border-radius: 15px;
    }

    .cb-payment-accordions {
        gap: 10px;
    }

    .cb-payment-accordion {
        border-radius: 18px;
        box-shadow: none;
    }

    .cb-payment-accordion summary {
        min-height: 62px;
        padding: 16px 14px;
        font-size: 16px;
    }

    .cb-payment-accordion__content {
        padding: 0 14px 18px;
    }

    .cb-payment-accordion__content p,
    .cb-payment-accordion__content li {
        font-size: 15px;
        line-height: 1.58;
    }

    .cb-payment-accordion__content ol {
        gap: 8px;
    }

    .cb-payment-accordion__content ol > li {
        padding-left: 38px;
    }

    .cb-payment-accordion__content ol > li::before {
        width: 26px;
        height: 26px;
        border-radius: 10px;
        font-size: 13px;
    }

    .cb-payment-accordion__icon {
        width: 30px;
        height: 30px;
    }

    .cb-payment-docs-list .cb-doc-card,
.cb-payment-doc-links .cb-payment-doc-card {
        grid-template-columns: 40px minmax(0, 1fr);
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
        border-radius: 22px;
        box-shadow: 0 10px 24px rgba(17, 24, 39, 0.055);
    }

    .cb-payment-docs-list .cb-doc-card__icon,
.cb-payment-doc-links .cb-payment-doc-card__icon {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    .cb-payment-docs-list .cb-doc-card__icon svg,
.cb-payment-doc-links .cb-payment-doc-card__icon svg {
        width: 22px;
        height: 22px;
    }

    .cb-payment-docs-list .cb-doc-card__title,
.cb-payment-doc-links .cb-payment-doc-card__body strong {
        font-size: 19px;
        line-height: 1.22;
    }

    .cb-payment-docs-list .cb-doc-card__text,
.cb-payment-doc-links .cb-payment-doc-card__body span {
        margin-top: 6px;
        font-size: 14px;
        line-height: 1.5;
    }

    .cb-payment-docs-list .cb-doc-card__more,
.cb-payment-doc-links .cb-payment-doc-card__more {
        grid-column: 2;
        justify-self: start;
        margin-top: 4px;
        font-size: 14px;
    }

    .cb-payment-extra-content {
        margin-top: 8px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .cb-payment-page .cb-payment-pay-button:hover,
    .cb-payment-docs-list .cb-doc-card:hover,
    .cb-payment-doc-links .cb-payment-doc-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cb-payment-accordion,
    .cb-payment-accordion summary,
    .cb-payment-accordion__icon,
    .cb-payment-accordion__icon::before,
    .cb-payment-accordion__icon::after,
    .cb-payment-accordion__content,
    .cb-payment-page .cb-payment-pay-button {
        transition: none !important;
    }
}



/* ===== About page v10 =====
   Clean company/about landing. Uses shared text page shell, content from [[*content]],
   and a compact navigation card group for About section pages.
*/

.cb-about-page .cb-text-section {
    padding-bottom: clamp(56px, 7vw, 96px);
}

.cb-about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(22px, 3vw, 34px);
}

.cb-about-content {
    max-width: 980px;
}

.cb-about-content h2:first-child,
.cb-about-content h3:first-child,
.cb-about-content h4:first-child,
.cb-about-content p:first-child {
    margin-top: 0;
}

.cb-about-directory {
    max-width: 980px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(69, 69, 69, 0.08);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(17, 24, 39, 0.055);
}

.cb-about-directory__head {
    max-width: 720px;
    margin-bottom: 22px;
}

.cb-about-directory__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 10px;
    padding: 5px 11px;
    border: 1px solid rgba(255, 120, 22, 0.22);
    border-radius: 999px;
    color: var(--ts-orange, #ff7816);
    background: #ffffff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cb-about-directory__head h2 {
    margin: 0 0 10px;
    color: #3f3f3f;
    font-family: var(--ts-font-heading, "Roboto Slab", Georgia, serif);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.cb-about-directory__head p {
    margin: 0;
    color: #666a72;
    font-size: 17px;
    line-height: 1.55;
}

.cb-about-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cb-about-link-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 104px;
    padding: 18px 18px;
    border: 1px solid rgba(69, 69, 69, 0.08);
    border-radius: 22px;
    background: #ffffff;
    color: #3f3f3f;
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.cb-about-link-card:hover,
.cb-about-link-card:focus-visible {
    border-color: rgba(255, 120, 22, 0.30);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.07);
    transform: translateY(-1px);
    outline: none;
}

.cb-about-link-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #f7f7f7;
    color: var(--ts-orange, #ff7816);
}

.cb-about-link-card__icon svg {
    display: block;
    width: 25px;
    height: 25px;
}

.cb-about-link-card__body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.cb-about-link-card__body strong {
    color: #3f3f3f;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cb-about-link-card__body span {
    color: #686b72;
    font-size: 14.5px;
    line-height: 1.45;
}

.cb-about-link-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: var(--ts-orange, #ff7816);
    background: #ffffff;
    border: 1px solid rgba(255, 120, 22, 0.22);
    font-size: 18px;
    line-height: 1;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}

.cb-about-link-card:hover .cb-about-link-card__arrow,
.cb-about-link-card:focus-visible .cb-about-link-card__arrow {
    background: var(--ts-orange, #ff7816);
    border-color: var(--ts-orange, #ff7816);
    color: #ffffff;
}

@media (max-width: 767px) {
    .cb-about-directory {
        padding: 18px;
        border-radius: 24px;
    }

    .cb-about-directory__head {
        margin-bottom: 16px;
    }

    .cb-about-directory__head p {
        font-size: 15px;
    }

    .cb-about-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cb-about-link-card {
        min-height: 0;
        gap: 12px;
        padding: 14px;
        border-radius: 18px;
    }

    .cb-about-link-card__icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .cb-about-link-card__icon svg {
        width: 22px;
        height: 22px;
    }

    .cb-about-link-card__body strong {
        font-size: 17px;
    }

    .cb-about-link-card__body span {
        font-size: 13.5px;
    }

    .cb-about-link-card__arrow {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .cb-about-link-card:hover {
        transform: none;
        box-shadow: none;
        border-color: rgba(69, 69, 69, 0.08);
    }

    .cb-about-link-card:hover .cb-about-link-card__arrow {
        background: #ffffff;
        border-color: rgba(255, 120, 22, 0.22);
        color: var(--ts-orange, #ff7816);
    }
}


/* ===== Reviews page v33 =====
   Scoped layout for /about/reviews and the Yandex Maps reviews widget.
   The generic .cb-text-content card is intentionally untouched, because it is shared by news,
   documents, payment and other text pages.
   Preferred markup: add .cb-reviews-page to <main> and wrap the iframe in .cb-reviews-widget.
   Compatibility selectors below also support the current MODX content with inline widget styles.
*/

.cb-reviews-page .cb-text-content {
    max-width: 860px;
}

.cb-reviews-widget,
.cb-text-page .cb-text-content > div:has(> iframe[src*="maps-reviews-widget"]) {
    position: relative;
    width: min(100%, 760px) !important;
    max-width: 760px !important;
    height: 1200px !important;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
}

.cb-reviews-widget__frame,
.cb-text-page .cb-text-content iframe[src*="maps-reviews-widget"] {
    display: block;
    width: 100% !important;
    max-width: none;
    height: 300% !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 8px !important;
    box-sizing: border-box;
    box-shadow: none !important;
}

@media (max-width: 767px) {
    .cb-reviews-page .cb-text-content {
        max-width: none;
    }

    .cb-reviews-widget,
    .cb-text-page .cb-text-content > div:has(> iframe[src*="maps-reviews-widget"]) {
        width: 100% !important;
        max-width: none !important;
        height: 1180px !important;
    }
}



/* ===== Contacts page v25 warm-storage-form-parity =====
   Contact page built on the generic text-page shell.
   The left contact panel keeps the text-page contacts structure, but uses the same calm white card rhythm as product contacts.
   The right form now mirrors warm-storage form geometry: floating labels, field heights, borders, radii and consent styling.
   Client type is a segmented control with a sliding orange indicator, like product size filters, without extra JS.
*/

.cb-contacts-page .cb-text-section {
    padding-top: 12px;
}

.cb-contacts-main {
    max-width: 1120px;
    margin: 0 auto;
}

.cb-contacts-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: stretch;
}

.cb-contact-card,
.cb-contact-form-card,
.cb-contacts-extra {
    min-width: 0;
    border: 1px solid rgba(69, 69, 69, 0.07);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.045);
}

.cb-contact-card,
.cb-contact-form-card {
    padding: 30px;
}

.cb-contact-card {
    display: grid;
    align-content: start;
    gap: 16px;
}

.cb-contact-card__head {
    display: grid;
    gap: 10px;
}

.cb-contact-card__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid rgba(255, 120, 22, 0.12);
    border-radius: 999px;
    background: rgba(255, 120, 22, 0.07);
    color: var(--cb-orange, #ff7816);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cb-contact-card h2,
.cb-contact-form-card h2 {
    margin: 0;
    color: var(--cb-dark, #454545);
    font-family: var(--cb-font-heading, "Roboto Slab", Georgia, serif);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.cb-contact-card h2 {
    max-width: 11em;
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.06;
}

.cb-contact-form-card h2 {
    font-size: clamp(28px, 2.6vw, 38px);
    line-height: 1.12;
}

.cb-contact-card p,
.cb-contact-form-card p {
    margin: 0;
    color: var(--cb-text-muted, #555555);
    font-size: 17px;
    line-height: 1.58;
}

.cb-contact-phone {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid rgba(69, 69, 69, 0.08);
    border-radius: 18px;
    background: #ffffff;
    color: var(--cb-dark, #454545);
    text-decoration: none;
    box-shadow: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cb-contact-phone:hover,
.cb-contact-phone:focus-visible {
    border-color: rgba(255, 120, 22, 0.28);
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.05);
    transform: translateY(-1px);
    outline: none;
}

.cb-contact-phone__label,
.cb-contact-line__label {
    display: block;
    color: rgba(69, 69, 69, 0.58);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.cb-contact-phone__value {
    display: block;
    color: var(--cb-dark, #454545);
    font-size: clamp(28px, 2.05vw, 34px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.cb-contact-messengers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.cb-contact-messenger {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 62px;
    padding: 12px 14px;
    border: 1px solid rgba(69, 69, 69, 0.08);
    border-radius: 16px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cb-contact-messenger:hover,
.cb-contact-messenger:focus-visible {
    border-color: rgba(255, 120, 22, 0.24);
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.045);
    transform: translateY(-1px);
    outline: none;
}

.cb-contact-messenger__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
}

.cb-contact-messenger__icon img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.cb-contact-messenger__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.cb-contact-messenger__title {
    color: var(--cb-dark, #454545);
    font-size: 15px;
    line-height: 1.15;
    font-weight: 800;
}

.cb-contact-messenger__action {
    color: rgba(69, 69, 69, 0.64);
    font-size: 13px;
    line-height: 1.15;
}

.cb-contact-lines {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(69, 69, 69, 0.08);
    border-radius: 18px;
    background: #ffffff;
}

.cb-contact-line {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
    border: 0;
    border-radius: 0;
    background: #ffffff;
}

.cb-contact-line + .cb-contact-line {
    border-top: 1px solid rgba(69, 69, 69, 0.08);
}

.cb-contact-line--accent {
    background: #ffffff;
}

.cb-contact-line__value {
    color: var(--cb-dark, #454545);
    font-size: 15.5px;
    line-height: 1.45;
    font-weight: 700;
}

.cb-contact-line__value span {
    color: var(--cb-text-muted, #555555);
    font-weight: 400;
}

.cb-contact-line__value a {
    color: inherit;
    text-decoration: none;
}

.cb-contact-line__value a:hover,
.cb-contact-line__value a:focus-visible {
    color: var(--cb-orange, #ff7816);
}

.cb-contact-locations {
    display: grid;
    gap: 10px;
    margin-top: 0;
}

.cb-contact-location {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(69, 69, 69, 0.08);
    border-radius: 18px;
    background: #ffffff;
}

.cb-contact-location__label {
    color: rgba(69, 69, 69, 0.60);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.cb-contact-location h3 {
    margin: 0;
    color: var(--cb-dark, #454545);
    font-size: 20px;
    line-height: 1.16;
    letter-spacing: -0.015em;
}

.cb-contact-location p {
    margin: 0;
    color: var(--cb-text-muted, #555555);
    font-size: 15px;
    line-height: 1.45;
}

.cb-contact-location a {
    width: fit-content;
    color: var(--cb-orange, #ff7816);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    text-decoration: none;
}

.cb-contact-location a::after {
    content: "→";
    margin-left: 7px;
}

/* Contacts form: same visual language as warm-storage .ts-form */

.cb-contact-form-card {
    display: grid;
    align-content: start;
    gap: 18px;
}

.cb-contact-form-card__head {
    display: grid;
    gap: 10px;
}

.cb-contact-form {
    display: block;
}

.cb-contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cb-contact-form__row,
.cb-contact-form__grid .cb-contact-form__row {
    position: relative;
    display: block;
    margin-bottom: 18px;
}

.cb-contact-form__label {
    position: absolute;
    z-index: 2;
    top: -8px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    width: auto;
    max-width: calc(100% - 28px);
    min-height: 18px;
    margin: 0;
    padding: 0 7px;
    background: #ffffff;
    color: rgba(69, 69, 69, 0.72);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
}

.cb-contact-form__row:focus-within .cb-contact-form__label {
    color: var(--cb-orange, #ff7816);
}

.cb-contact-form__required {
    color: var(--cb-orange, #ff7816);
    font-weight: 700;
}

.cb-contact-form__optional {
    color: rgba(69, 69, 69, 0.58);
    font-weight: 400;
    font-size: 14px;
}

.cb-contact-form__input,
.cb-contact-form__select,
.cb-contact-form__textarea {
    width: 100%;
    min-height: 58px;
    padding: 18px 16px 14px;
    border: 1px solid rgba(69, 69, 69, 0.16);
    border-radius: 16px;
    background-color: #ffffff;
    color: var(--cb-dark, #454545);
    font: inherit;
    font-size: 16px;
    line-height: 1.35;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.cb-contact-form__select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 48px;
    color: var(--cb-dark, #454545);
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.2 5.25L7 9.05L10.8 5.25' fill='none' stroke='%23454545' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px 14px;
}

.cb-contact-form__select option {
    color: var(--cb-dark, #454545);
}

.cb-contact-form__textarea {
    display: block;
    min-height: 124px;
    resize: vertical;
}

.cb-contact-form__input::placeholder,
.cb-contact-form__textarea::placeholder {
    color: rgba(69, 69, 69, 0.42);
}

.cb-contact-form__input:focus,
.cb-contact-form__select:focus,
.cb-contact-form__textarea:focus {
    border-color: rgba(255, 120, 22, 0.46);
    box-shadow: 0 0 0 4px rgba(255, 120, 22, 0.10);
}

/* Client type segmented control with moving oval */

.cb-contact-form__row--client-type > .cb-contact-form__label {
    position: static;
    display: block;
    min-height: 0;
    margin: 0 0 9px;
    padding: 0;
    background: transparent;
}

.cb-contact-client-type {
    --cb-contact-segment-x: 0%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    padding: 4px;
    isolation: isolate;
}

.cb-contact-client-type::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 4px;
    left: 4px;
    width: calc((100% - 14px) / 2);
    height: calc(100% - 8px);
    border-radius: 999px;
    background: var(--cb-orange, #ff7816);
    box-shadow: 0 8px 18px rgba(255, 120, 22, 0.18);
    transform: translate3d(var(--cb-contact-segment-x), 0, 0);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.cb-contact-client-type:has(#contact-client-business:checked) {
    --cb-contact-segment-x: calc(100% + 6px);
}

.cb-contact-client-type label {
    position: relative;
    z-index: 1;
    min-width: 0;
    cursor: pointer;
}

.cb-contact-client-type input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cb-contact-client-type span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--cb-dark, #454545);
    font-size: 15px;
    line-height: 1.15;
    font-weight: 800;
    text-align: center;
    transition: color 0.18s ease, box-shadow 0.18s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.cb-contact-client-type input:checked + span {
    color: #ffffff;
}

.cb-contact-client-type input:focus-visible + span {
    box-shadow: 0 0 0 4px rgba(255, 120, 22, 0.14);
}

.cb-contact-form-consent {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    color: var(--cb-text-muted, #555555);
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}

.cb-contact-form-consent__input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.cb-contact-form-consent__box {
    position: relative;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    border: 1px solid rgba(69, 69, 69, 0.34);
    border-radius: 6px;
    background: #ffffff;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.cb-contact-form-consent__box::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 9px;
    height: 15px;
    border: solid #ffffff;
    border-width: 0 3px 3px 0;
    opacity: 0;
    transform: rotate(45deg) scale(0.8);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.cb-contact-form-consent__input:checked + .cb-contact-form-consent__box {
    border-color: var(--cb-orange, #ff7816);
    background: var(--cb-orange, #ff7816);
}

.cb-contact-form-consent__input:checked + .cb-contact-form-consent__box::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.cb-contact-form-consent__input:focus-visible + .cb-contact-form-consent__box {
    border-color: var(--cb-orange, #ff7816);
    box-shadow: 0 0 0 4px rgba(255, 120, 22, 0.14);
}

.cb-contact-form-consent__text a {
    color: var(--cb-orange, #ff7816);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 120, 22, 0.35);
    transition: color 0.18s ease, border-color 0.18s ease;
}

.cb-contact-form-consent__text a:hover,
.cb-contact-form-consent__text a:focus-visible {
    color: var(--cb-orange-hover, #e96a0f);
    border-color: currentColor;
}

.cb-contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    width: 100%;
    padding: 0 24px;
    border: 1px solid var(--cb-orange, #ff7816);
    border-radius: 18px;
    background: var(--cb-orange, #ff7816);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(255, 120, 22, 0.20);
    font: inherit;
    font-weight: 800;
    line-height: 1.15;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cb-contact-form__submit:hover,
.cb-contact-form__submit:focus-visible {
    border-color: var(--cb-orange-hover, #e96a0f);
    background: var(--cb-orange-hover, #e96a0f);
    box-shadow: 0 14px 30px rgba(255, 120, 22, 0.24);
    transform: translateY(-1px);
    outline: none;
}

.cb-contacts-extra {
    max-width: 1120px;
    margin: 24px auto 0;
}

@media (max-width: 980px) {
    .cb-contacts-layout {
        grid-template-columns: 1fr;
    }

    .cb-contact-card h2 {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .cb-contact-card,
    .cb-contact-form-card {
        padding: 22px;
        border-radius: 22px;
        box-shadow: 0 12px 28px rgba(17, 24, 39, 0.045);
    }

    .cb-contact-card {
        gap: 14px;
    }

    .cb-contact-card h2 {
        font-size: 31px;
        line-height: 1.04;
    }

    .cb-contact-card p,
    .cb-contact-form-card p {
        font-size: 15.5px;
        line-height: 1.5;
    }

    .cb-contact-phone {
        padding: 16px;
        border-radius: 16px;
    }

    .cb-contact-phone__value {
        font-size: 27px;
    }

    .cb-contact-messengers {
        gap: 10px;
    }

    .cb-contact-messenger {
        justify-content: center;
        min-height: 58px;
        padding: 12px 8px;
        border-radius: 15px;
    }

    .cb-contact-messenger__text {
        display: none;
    }

    .cb-contact-lines {
        border-radius: 16px;
    }

    .cb-contact-line {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 13px 14px;
    }

    .cb-contact-location {
        padding: 14px;
        border-radius: 16px;
    }

    .cb-contact-form__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cb-contact-form__row,
    .cb-contact-form__grid .cb-contact-form__row {
        margin-bottom: 17px;
    }

    .cb-contact-form__label {
        top: -8px;
        left: 13px;
        padding: 0 6px;
        font-size: 12px;
    }

    .cb-contact-form__input,
    .cb-contact-form__select,
    .cb-contact-form__textarea {
        min-height: 56px;
        padding: 17px 14px 13px;
        border-radius: 15px;
        font-size: 16px;
    }

    .cb-contact-form__select {
        padding-right: 44px;
        background-position: right 16px center;
    }

    .cb-contact-form__textarea {
        min-height: 118px;
    }

    .cb-contact-client-type {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .cb-contact-client-type span {
        min-height: 46px;
        padding: 0 8px;
        font-size: 14px;
    }

    .cb-contact-form-consent {
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 10px;
        line-height: 1.35;
    }

    .cb-contact-form-consent__box {
        width: 26px;
        height: 26px;
    }

    .cb-contact-form-consent__box::after {
        left: 7px;
        top: 4px;
        width: 9px;
        height: 14px;
    }

    .cb-contacts-extra {
        margin-top: 16px;
    }
}

@media (max-width: 380px) {
    .cb-contact-client-type span {
        font-size: 13px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .cb-contact-phone:hover,
    .cb-contact-messenger:hover,
    .cb-contact-form__submit:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cb-contact-client-type::before,
    .cb-contact-client-type span,
    .cb-contact-phone,
    .cb-contact-messenger,
    .cb-contact-form__submit {
        transition: none;
    }
}



/* ===== Text document back action v19 =====
   Shared bottom back button for document/article pages.
   Matches the news item “Все новости” button rhythm, but uses neutral text-page naming.
*/

.cb-text-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(69, 69, 69, 0.10);
}

.cb-text-content a.cb-text-back:not(.btn),
.cb-text-content a.cb-text-back:not(.btn):visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid rgba(69, 69, 69, 0.20);
    border-radius: 16px;
    background: #ffffff;
    color: var(--cb-dark, #454545) !important;
    box-shadow: none;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.cb-text-content a.cb-text-back:not(.btn)::before {
    content: "←";
    margin-right: 9px;
    font-size: 1.1em;
    line-height: 1;
    transform: translateY(-1px);
}

.cb-text-content a.cb-text-back:not(.btn):hover,
.cb-text-content a.cb-text-back:not(.btn):focus-visible {
    border-color: var(--cb-dark, #454545);
    background: var(--cb-dark, #454545);
    color: #ffffff !important;
    outline: none;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .cb-text-actions {
        margin-top: 28px;
        padding-top: 20px;
    }

    .cb-text-content a.cb-text-back:not(.btn) {
        width: 100%;
        min-height: 50px;
    }
}

/* ===== iOS Safari data detector cleanup v20 =====
   Prevents Safari from visually styling auto-detected phone numbers,
   bank accounts, addresses and other numeric fragments inside text pages.
   Real links remain clickable and keep their own intended styles.
*/

.cb-text-page a[x-apple-data-detectors],
.cb-text-page a[x-apple-data-detectors]:hover,
.cb-text-page a[x-apple-data-detectors]:focus,
.cb-text-page a[x-apple-data-detectors]:active {
    color: inherit !important;
    text-decoration: none !important;
    font: inherit !important;
    line-height: inherit !important;
    cursor: inherit !important;
}

/* ===== Text document download action v21 =====
   Download button for document pages.
   White button with thin orange border, in the same rhythm as the text back action.
*/

.cb-text-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 8px;
}

.cb-text-content a.cb-text-download:not(.btn),
.cb-text-content a.cb-text-download:not(.btn):visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid rgba(255, 120, 22, 0.42);
    border-radius: 16px;
    background: #ffffff;
    color: var(--cb-dark, #454545) !important;
    box-shadow: none;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.cb-text-content a.cb-text-download:not(.btn)::before {
    content: "";
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3.75a.9.9 0 0 1 .9.9v9.53l3.24-3.24a.9.9 0 1 1 1.27 1.27l-4.87 4.87a.9.9 0 0 1-1.28 0L6.39 12.2a.9.9 0 1 1 1.27-1.27l3.44 3.44V4.65a.9.9 0 0 1 .9-.9ZM5.9 18.45a.9.9 0 0 1 .9.9v.5h10.4v-.5a.9.9 0 1 1 1.8 0v1.4a.9.9 0 0 1-.9.9H5.9a.9.9 0 0 1-.9-.9v-1.4a.9.9 0 0 1 .9-.9Z'/%3E%3C/svg%3E")
        center / contain no-repeat;
    mask:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3.75a.9.9 0 0 1 .9.9v9.53l3.24-3.24a.9.9 0 1 1 1.27 1.27l-4.87 4.87a.9.9 0 0 1-1.28 0L6.39 12.2a.9.9 0 1 1 1.27-1.27l3.44 3.44V4.65a.9.9 0 0 1 .9-.9ZM5.9 18.45a.9.9 0 0 1 .9.9v.5h10.4v-.5a.9.9 0 1 1 1.8 0v1.4a.9.9 0 0 1-.9.9H5.9a.9.9 0 0 1-.9-.9v-1.4a.9.9 0 0 1 .9-.9Z'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

.cb-text-content a.cb-text-download:not(.btn):hover,
.cb-text-content a.cb-text-download:not(.btn):focus-visible {
    border-color: var(--cb-orange, #ff7816);
    background: var(--cb-orange, #ff7816);
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(255, 120, 22, 0.18);
    outline: none;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .cb-text-download-actions {
        margin: 22px 0 6px;
    }

    .cb-text-content a.cb-text-download:not(.btn) {
        width: 100%;
        min-height: 50px;
    }
}

/* ===== Text page tap highlight + smooth accordions v22 =====
   Removes iOS/Android dark tap flash from text-page links, buttons and details.
   Adds smooth open/close states for payment accordions; JS adds animation classes.
*/

.cb-text-page a,
.cb-text-page button,
.cb-text-page summary,
.cb-text-page label,
.cb-text-page [role="button"],
.cb-text-page input,
.cb-text-page select,
.cb-text-page textarea {
    -webkit-tap-highlight-color: transparent;
}

.cb-text-page a:active,
.cb-text-page button:active,
.cb-text-page summary:active,
.cb-text-page label:active {
    background-color: transparent;
}

.cb-text-page summary {
    user-select: none;
    touch-action: manipulation;
}

.cb-text-page .cb-payment-accordion {
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease;
}

.cb-text-page .cb-payment-accordion summary {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.cb-payment-accordion.is-animating {
    overflow: hidden;
    will-change: height;
}

.cb-payment-accordion__content {
    box-sizing: border-box;
    overflow: hidden;
}

.cb-payment-accordion.is-opening .cb-payment-accordion__content {
    opacity: 1;
}

.cb-payment-accordion.is-closing .cb-payment-accordion__content {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .cb-payment-accordion,
    .cb-payment-accordion summary,
    .cb-payment-accordion__icon,
    .cb-payment-accordion__icon::before,
    .cb-payment-accordion__icon::after,
    .cb-payment-accordion__content {
        transition: none !important;
    }
}

/* ===== Mobile breadcrumbs single-line scroll v23 =====
   Keeps long text-page breadcrumbs on one line on mobile.
   The trail can be swiped horizontally and fades into the page edge.
*/

@media (max-width: 767px) {
    .cb-text-breadcrumbs {
        position: relative;
        overflow: hidden;
        margin-right: -12px;
        margin-bottom: 18px;
    }

    .cb-text-breadcrumbs::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        width: 46px;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(247, 247, 247, 0) 0%, var(--cb-bg, #f7f7f7) 78%);
    }

    .cb-text-breadcrumbs__list {
        display: flex;
        flex-wrap: nowrap;
        gap: 7px;
        overflow-x: auto;
        overflow-y: hidden;
        max-width: 100%;
        padding: 0 46px 2px 0;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .cb-text-breadcrumbs__list::-webkit-scrollbar {
        display: none;
    }

    .cb-text-breadcrumbs__item,
    .cb-text-breadcrumbs__sep {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .cb-text-breadcrumbs__item.is-current {
        max-width: min(66vw, 320px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ===== News meta vertical alignment v24 =====
   Aligns date and label pills in news cards on text/news pages.
*/

.cb-text-page .home-news--text-list .home-news-line__meta,
.cb-text-page .home-news--text-list .home-news-card__meta {
    align-items: center;
}

.cb-text-page .home-news--text-list .home-news-line__date,
.cb-text-page .home-news--text-list .home-news-card__date {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    line-height: 1;
}

.cb-text-page .home-news--text-list .home-news-line__label,
.cb-text-page .home-news--text-list .home-news-card__label {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    line-height: 1;
}
