.catalog-v2 {
    --catalog-blue: #262076;
    --catalog-green: #19a52b;
    --catalog-text: #333;
    --catalog-muted: #6f7480;
    --catalog-surface: #f5f8f7;
    color: var(--catalog-text);
    overflow: hidden;
}

.catalog-v2 * {
    box-sizing: border-box;
}

.catalog-v2 h1,
.catalog-v2 h2,
.catalog-v2 h3,
.catalog-v2 p {
    margin-top: 0;
}

.catalog-v2 h1 {
    width: 100%;
    margin-bottom: 0;
    font-size: 32px;
    line-height: 1.2;
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
}

.catalog-v2 h2 {
    margin-bottom: 28px;
    font-size: 24px;
    line-height: 1.2;
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
}

.catalog-v2__hero {
    margin: 0;
    padding: 34px 0 42px;
}

.catalog-v2__hero + .catalog-v2__categories {
    padding-top: 0;
}

.catalog-v2__section {
    margin: 0;
    padding: 72px 0;
}

.catalog-v2__category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.catalog-v2__category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    border: 1px solid #e4e9e7;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.catalog-v2__category-card:hover,
.catalog-v2__category-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(26, 32, 44, .12);
}

.catalog-v2__category-media {
    display: flex;
    flex: 1;
    min-height: 225px;
    padding: 22px;
    align-items: center;
    justify-content: center;
    transition: opacity .2s ease;
}

.catalog-v2__category-media img {
    display: block;
    width: 100%;
    height: 205px;
    object-fit: contain;
}

.catalog-v2__category-title {
    position: relative;
    z-index: 3;
    display: flex;
    min-height: 74px;
    padding: 17px 19px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid #edf0ef;
    color: var(--catalog-text);
    font-size: 17px;
    line-height: 1.25;
    font-family: 'Roboto-Bold', 'Roboto', sans-serif;
    text-decoration: none;
}

.catalog-v2__category-title svg {
    flex: 0 0 auto;
    color: var(--catalog-green);
}

.catalog-v2__subcategory-list {
    position: absolute;
    z-index: 2;
    inset: 0 0 74px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 14px 16px;
    list-style: none;
    background: #fff;
    opacity: 0;
    overflow: auto;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.catalog-v2__subcategory-list li {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
}

.catalog-v2__subcategory-list a {
    display: block;
    padding: 4px 0;
    color: var(--catalog-text);
    font-size: 14px;
    line-height: 1.25;
    text-decoration: none;
}

.catalog-v2__subcategory-list a:hover,
.catalog-v2__subcategory-list a:focus-visible {
    color: var(--catalog-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.catalog-v2__category-card.has-children:hover .catalog-v2__category-media,
.catalog-v2__category-card.has-children:focus-within .catalog-v2__category-media {
    opacity: 0;
}

.catalog-v2__category-card.has-children:hover .catalog-v2__subcategory-list,
.catalog-v2__category-card.has-children:focus-within .catalog-v2__subcategory-list {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.catalog-v2__hits,
.catalog-v2__reviews,
.catalog-v2__stock {
    background: var(--catalog-surface);
}

.catalog-v2__section-head {
    display: flex;
    margin-bottom: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.catalog-v2__section-head h2 {
    margin-bottom: 0;
}

.catalog-v2__slider-controls {
    display: flex;
    gap: 10px;
}

.catalog-v2__slider-button {
    width: 46px;
    height: 46px;
    border: 1px solid #d7ddda;
    border-radius: 50%;
    background: #fff;
    color: var(--catalog-blue);
    font-size: 23px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.catalog-v2__slider-button:hover,
.catalog-v2__slider-button:focus-visible {
    border-color: var(--catalog-green);
    background: var(--catalog-green);
    color: #fff;
}

.catalog-v2 .swiper {
    overflow: visible;
}

.catalog-v2 .swiper-slide {
    height: auto;
}

.catalog-v2__product-card {
    display: flex;
    height: 100%;
    min-height: 480px;
    padding: 18px;
    flex-direction: column;
    border: 1px solid #e2e7e5;
    border-radius: 16px;
    background: #fff;
}

.catalog-v2__product-image {
    display: flex;
    height: 205px;
    margin-bottom: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #f8faf9;
    overflow: hidden;
}

.catalog-v2__product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.catalog-v2__product-card h3 {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.25;
}

.catalog-v2__product-card h3 a {
    color: var(--catalog-text);
    text-decoration: none;
}

.catalog-v2__product-specs {
    display: flex;
    margin: 0 0 20px;
    padding: 0;
    flex-direction: column;
    gap: 9px;
    list-style: none;
}

.catalog-v2__product-specs li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--catalog-muted);
    font-size: 13px;
    line-height: 1.3;
}

.catalog-v2__product-specs strong {
    color: var(--catalog-text);
    text-align: right;
}

.catalog-v2__button {
    display: inline-flex;
    min-height: 46px;
    margin-top: auto;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--catalog-green);
    color: #fff;
    font-size: 16px;
    text-decoration: none;
}

.catalog-v2__button:hover,
.catalog-v2__button:focus-visible {
    background: #128c22;
    color: #fff;
}

.catalog-v2__seo-intro > .container > p {
    width: 100%;
    max-width: none;
    margin-bottom: 42px;
    color: #51565e;
    font-size: 18px;
    line-height: 1.65;
}

.catalog-v2__text-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.catalog-v2__text-card {
    padding: 30px;
    border-radius: 16px;
    background: var(--catalog-surface);
}

.catalog-v2__text-card h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.catalog-v2__text-card ul {
    display: flex;
    margin: 0;
    padding-left: 22px;
    flex-direction: column;
    gap: 12px;
}

.catalog-v2__text-card li {
    padding-left: 5px;
    line-height: 1.5;
}

.catalog-v2__advantages {
    background: var(--catalog-blue);
    color: #fff;
}

.catalog-v2__advantages-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.catalog-v2__advantage {
    min-width: 0;
}

.catalog-v2__advantage-icon {
    width: 100%;
    height: auto;
    aspect-ratio: 25 / 23;
    margin-bottom: 20px;
    background-image: url('../img-tenzo/catalog-advantages-icons.png');
    background-repeat: no-repeat;
    background-size: 600% auto;
}

.catalog-v2__advantage-icon--1 { background-position: 0 50%; }
.catalog-v2__advantage-icon--2 { background-position: 20% 50%; }
.catalog-v2__advantage-icon--3 { background-position: 40% 50%; }
.catalog-v2__advantage-icon--4 { background-position: 60% 50%; }
.catalog-v2__advantage-icon--5 { background-position: 80% 50%; }
.catalog-v2__advantage-icon--6 { background-position: 100% 50%; }

.catalog-v2__advantage p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 14px;
    line-height: 1.5;
}

.catalog-v2__text-link {
    color: var(--catalog-green);
    font-family: 'Roboto-Bold', 'Roboto', sans-serif;
    text-decoration: none;
}

.catalog-v2__text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.catalog-v2__review-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.catalog-v2__review-card {
    display: flex;
    min-height: 315px;
    padding: 26px;
    flex-direction: column;
    grid-column: span 2;
    border: 1px solid #e2e7e5;
    border-radius: 14px;
    background: #fff;
}

.catalog-v2__review-card:nth-child(4),
.catalog-v2__review-card:nth-child(5) {
    grid-column: span 3;
}

.catalog-v2__quote {
    height: 36px;
    color: var(--catalog-green);
    font-size: 56px;
    line-height: 1;
    font-family: Georgia, serif;
}

.catalog-v2__review-card > p {
    margin-bottom: 24px;
    color: #4f555d;
    font-size: 14px;
    line-height: 1.55;
}

.catalog-v2__review-card footer {
    display: flex;
    margin-top: auto;
    padding-top: 18px;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    border-top: 1px solid #edf0ef;
    font-style: normal;
}

.catalog-v2__review-meta {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.catalog-v2__review-card footer span {
    color: var(--catalog-muted);
    font-size: 13px;
}

.catalog-v2__review-image {
    display: block;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    order: -1;
    object-fit: contain;
}

.catalog-v2__certificates {
    background: #f4f4f4;
}

.catalog-v2__certificates .catalog-wrap {
    min-width: 0;
}

.catalog-v2__certificates .catalog_title {
    margin-bottom: 12px;
    color: #fff;
    font-size: 24px;
    line-height: 1.2;
}

.catalog-v2__certificates .catalog_desc {
    line-height: 1.4;
}

.catalog-v2__certificates .catalog-items-wrap,
.catalog-v2__certificates .catalog-certificates-swiper {
    min-width: 0;
}

.catalog-v2__certificates .catalog-item {
    width: 311px;
}

.catalog-v2__certificate {
    display: block;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    cursor: zoom-in;
}

.catalog-v2__certificate img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.catalog-v2__stock > .container {
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
    gap: 40px;
    align-items: center;
}

.catalog-v2__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--catalog-green);
    font-size: 14px;
    font-family: 'Roboto-Bold', 'Roboto', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.catalog-v2__stock-copy h2 {
    margin-bottom: 18px;
}

.catalog-v2__stock-copy p {
    margin-bottom: 0;
    color: #535961;
    font-size: 17px;
    line-height: 1.6;
}

.catalog-v2__stock-image {
    display: block;
    width: 100%;
    border-radius: 16px;
}

.catalog-v2__cta-head {
    width: 100%;
    max-width: none;
    margin-bottom: 30px;
}

.catalog-v2__cta-head h2 {
    margin-bottom: 16px;
}

.catalog-v2__cta-head p,
.catalog-v2__closing-text {
    color: #555b63;
    font-size: 17px;
    line-height: 1.6;
}

.catalog-v2__cta.contacts {
    padding: 80px 0 50px;
}

.catalog-v2__form-shell {
    margin-bottom: 32px;
}

.catalog-v2__form-shell > .row {
    margin-right: 0;
    margin-left: 0;
}

.catalog-v2__form-shell .contacts-wrap,
.catalog-v2__form-shell .contacts-form {
    min-height: 100%;
}

.catalog-v2__form-shell .form-block input[type="text"] {
    color: #000;
    font-size: 14px;
    font-weight: 400;
}

.catalog-v2__closing-text {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
}

.catalog-v2__certificate-dialog {
    position: fixed;
    inset: 0;
    width: min(640px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    margin: auto;
    padding: 22px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.catalog-v2__certificate-dialog::backdrop {
    background: rgba(12, 15, 22, .78);
}

.catalog-v2__certificate-dialog img {
    display: block;
    width: 100%;
    max-height: calc(100vh - 84px);
    object-fit: contain;
}

.catalog-v2__dialog-close {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--catalog-blue);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 1100px) {
    .catalog-v2__category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-v2__advantages-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 20px;
    }
}

@media (max-width: 768px) {
    .catalog-v2__hero {
        padding: 24px 0 28px;
    }

    .catalog-v2__section {
        padding: 52px 0;
    }

    .catalog-v2__category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .catalog-v2__category-card {
        min-height: 245px;
    }

    .catalog-v2__category-media {
        min-height: 170px;
        padding: 14px;
    }

    .catalog-v2__category-media img {
        height: 155px;
    }

    .catalog-v2__category-title {
        min-height: 68px;
        padding: 14px;
        font-size: 15px;
    }

    .catalog-v2__subcategory-list {
        display: none;
    }

    .catalog-v2__category-card.has-children:hover .catalog-v2__category-media,
    .catalog-v2__category-card.has-children:focus-within .catalog-v2__category-media {
        opacity: 1;
    }

    .catalog-v2__section-head {
        align-items: flex-end;
    }

    .catalog-v2__text-columns,
    .catalog-v2__stock > .container {
        grid-template-columns: 1fr;
    }

    .catalog-v2__review-grid {
        display: flex;
        gap: 14px;
        margin-right: -24px;
        padding-right: 24px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .catalog-v2__review-card,
    .catalog-v2__review-card:nth-child(4),
    .catalog-v2__review-card:nth-child(5) {
        flex: 0 0 84%;
        min-height: 340px;
        scroll-snap-align: start;
    }
}

@media (max-width: 520px) {
    .catalog-v2__category-grid {
        grid-template-columns: 1fr;
    }

    .catalog-v2__advantages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-v2__section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-v2__section-head .catalog-v2__slider-controls {
        align-self: flex-end;
    }

    .catalog-v2__text-card {
        padding: 22px;
    }
}
