/* Custom overrides */
@font-face {
    font-family: "Golos Text";
    src: url("../fonts/golos-text-v7-cyrillic_latin-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Golos Text";
    src: url("../fonts/golos-text-v7-cyrillic_latin-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Golos Text";
    src: url("../fonts/golos-text-v7-cyrillic_latin-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Golos Text";
    src: url("../fonts/golos-text-v7-cyrillic_latin-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Golos Text";
    src: url("../fonts/golos-text-v7-cyrillic_latin-800.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Golos Text";
    src: url("../fonts/golos-text-v7-cyrillic_latin-900.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body > main {
    display: flex;
    flex-direction: column;
    flex: 1 1 100%;
}

body > main > .profile-layout {
    flex: 1 1 auto;
}

body > main > .documents-page,
body > main > .legal-docs {
    flex: 1 1 auto;
}

[data-umg-auth-form="register"] .checkbox__text a {
    color: var(--clr-link);
}

.catalog-filter-accordion__title,
.catalog-filter-accordion__title a {
    color: var(--clr-text-primary);
}

.product-card__title {
    --product-card-title-line-height: 1.5;
    --product-card-title-padding-y: 3px;
    color: var(--clr-text-secondary);
    line-height: var(--product-card-title-line-height);
    padding-top: var(--product-card-title-padding-y);
    padding-bottom: var(--product-card-title-padding-y);
    min-height: calc((2em * var(--product-card-title-line-height)) + (2 * var(--product-card-title-padding-y)) + 2px);
    max-height: calc((2em * var(--product-card-title-line-height)) + (2 * var(--product-card-title-padding-y)) + 2px);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.product-card__title a {
    color: inherit;
}

@media (max-width: 800px) {
    .product-card__title {
        --product-card-title-padding-y: 4px;
    }
}

.legal-docs-intro {
    margin-top: 20px;
    max-width: 865px;
    font-size: 16px;
    line-height: 1.4;
}

.legal-docs-menu {
    margin-top: 24px;
}

.legal-docs-menu__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.legal-docs-menu__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--clr-bg-secondary);
    color: var(--clr-text-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}

.legal-docs-menu__link--active {
    background: var(--clr-text-primary);
    color: var(--clr-text-secondary);
    border-color: var(--clr-text-primary);
}

@media (max-width: 800px) {
    .legal-docs-intro {
        margin-top: 12px;
        font-size: 14px;
    }

    .legal-docs-menu {
        margin-top: 16px;
    }

    .legal-docs-menu__list {
        flex-direction: column;
    }

    .legal-docs-menu__link {
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        text-transform: none;
    }
}

.categories-overview-item picture {
    position: absolute;
    right: 0;
    bottom: 50px;
    width: 95%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.categories-overview-item__image {
    position: static;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 520px;
    aspect-ratio: auto;
}

@media (max-width: 800px) {
    .categories-overview-item picture {
        position: static;
        right: auto;
        bottom: auto;
        width: 80px;
    }

    .categories-overview-item__image {
        width: 80px;
        height: 65px;
        max-height: none;
        object-fit: contain;
        object-position: center center;
    }
}

.catalog-filter-link--spare-parts {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.catalog-filter-link--spare-parts-tail {
    margin-top: 10px;
    color: var(--clr-text-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
}

.catalog-filter-link__icon {
    width: 20px;
    height: 20px;
    color: var(--clr-text-muted);
}

.header-menu-category__title--spare-parts {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-menu-category__spare-icon {
    width: 20px;
    height: 20px;
    color: var(--clr-text-muted);
}

#cfg-step1-next.is-disabled,
#cfg-step1-next:disabled,
#cfg-step2-next.is-disabled,
#cfg-step2-next:disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.configurator-step2-filter {
    margin-bottom: 20px;
}

.catalog-filter__list {
    transition: opacity var(--tr-md);
}

.catalog-filter__list.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.configurator-page-tabs-group--compact {
    gap: 14px;
}

.cfg-filter-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cfg-filter-chip__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cfg-filter-chip--disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.cfg-filter-chip.catalog-filter-control--disabled {
    display: none;
}

.cfg-filter-chip.catalog-filter-control--checked {
    background: var(--clr-text-primary);
    color: var(--clr-text-secondary);
}

.catalog-filter-accordion__expand-icon {
    flex: 0 0 auto;
    transform: rotate(90deg) !important;
    width: 24px;
    height: 24px;
}

.catalog-filter-accordion[open] .catalog-filter-accordion__expand-icon {
    transform: rotate(-90deg) !important;
}

.configurator-page-2-product {
    border: 2px solid transparent;
    cursor: pointer;
}

.configurator-page-2-product--chosen {
    border-color: var(--clr-text-primary);
}

.cfg-product-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cfg-step3-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.configurator-page-3-product {
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--tr-md);
}

.configurator-page-3-product--chosen {
    border-color: var(--clr-accent);
}

.configurator-page-3 .configurator-page-title {
    margin-bottom: 20px;
}

#cfg-step3-items {
    margin-bottom: 16px;
}

.configurator-page-3-result-wrapper {
    margin-top: 0;
    margin-bottom: 16px;
    margin-left: 0;
    margin-right: auto;
    max-width: calc(50% - 8px);
    padding: 0;
}

.configurator-page-3-result {
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.configurator-page-3-result__title {
    text-transform: uppercase;
}

.configurator-page-3-result__subtitle {
    text-transform: uppercase;
}

.configurator-page-3-result__list {
    margin-top: 16px;
}

.configurator-page-3-result__item + .configurator-page-3-result__item {
    margin-top: 6px;
}

.configurator-page-4-result {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
}

.configurator-page-4-result__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.configurator-page-4-result__title,
.configurator-page-4-result__subtitle,
.configurator-page-4-block-title {
    text-transform: uppercase;
}

.configurator-page-4-content-wrapper {
    margin-bottom: 20px;
}

.configurator-page-4-content {
    display: grid;
    grid-template-columns: auto 1px 1fr;
    gap: 40px;
    align-items: start;
    overflow: auto;
}

.configurator-page-4-divider {
    width: 1px;
    min-height: 100%;
    background: rgba(0, 0, 0, 0.06);
}

.configurator-page-4-block .configurator-page-4-grid {
    display: grid;
    grid-auto-columns: 335px;
    grid-auto-flow: column;
    gap: 16px;
}

.configurator-page-4-block--attachments .configurator-page-4-grid {
    grid-auto-columns: 335px;
}

.configurator-page-4-card--excluded {
    opacity: 0.45;
}

.configurator-page-4-form-wrapper {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    margin-bottom: 20px;
}

.configurator-page-4-form {
    max-width: 690px;
    margin-left: 0;
    margin-right: 0;
}

.configurator-page-5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    text-align: center;
}

.configurator-page-5__title {
    text-transform: uppercase;
}

.configurator-page-5__description {
    margin-top: 12px;
    max-width: 680px;
}

.cfg-step4-field + .cfg-step4-field {
    margin-top: 12px;
}

.cfg-step4-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.cfg-step4-input,
.cfg-step4-file {
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    background: #eceef0;
    color: var(--clr-text-primary);
}

.cfg-step4-input--textarea {
    min-height: 86px;
    resize: vertical;
}

.cfg-step4-policy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#cfg-step4 .input-edit__textarea {
    min-height: 48px;
}

#cfg-step4 .input-edit {
    align-items: center;
}

#cfg-step4 [data-step4-editable] {
    display: block;
    height: 22px;
    min-height: 22px;
    max-height: 22px;
    line-height: 22px;
    overflow: hidden;
    resize: none;
    white-space: nowrap;
}

#cfg-step4 .input-edit-file__value {
    height: 22px;
    min-height: 22px;
    max-height: 22px;
    line-height: 22px;
    overflow: hidden;
    white-space: nowrap;
}

#cfg-step4 [data-field-wrapper="comment"] .input-edit__textarea {
    min-height: 96px;
    max-height: none;
    height: auto;
    overflow: auto;
    white-space: normal;
}

@media (max-width: 1100px) {
    .cfg-step3-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .configurator-page-3-result-wrapper {
        max-width: 100%;
    }

    .configurator-page-4-content {
        grid-template-columns: 1fr;
    }

    .configurator-page-4-divider {
        display: none;
    }

    .configurator-page-4-block--attachments .configurator-page-4-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .configurator-page-4-form-wrapper {
        max-width: unset;
        padding-left: 12px;
        padding-right: 12px;
    }

    #cfg-step4 [data-step4-editable] {
        height: 44px;
        min-height: 44px;
        max-height: 44px;
        line-height: 22px;
        white-space: normal;
        word-break: break-word;
    }

    #cfg-step4 .input-edit-file__value {
        height: 44px;
        min-height: 44px;
        max-height: 44px;
        line-height: 22px;
        white-space: normal;
        word-break: break-word;
    }

    .cfg-step3-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 801px) {
    .product-slider-wrapper:not(.product-slider-wrapper--no-gallery) {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        column-gap: 16px;
        align-items: stretch;
    }

    .product-slider-wrapper:not(.product-slider-wrapper--no-gallery) .product-slider-thumb-wrapper {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 88px;
        height: 620px;
        padding: 0;
        overflow: visible;
    }

    .product-slider-main {
        height: 100%;
    }
    .product-slider-wrapper:not(.product-slider-wrapper--no-gallery) .product-slider-thumb {
        height: 100%;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .product-slider-wrapper:not(.product-slider-wrapper--no-gallery) .product-slider-main {
        grid-column: 2;
        min-width: 0;
    }

    .product-slider-wrapper:not(.product-slider-wrapper--no-gallery) .product-slider-thumb-button {
        left: 50%;
        transform: translateX(-50%);
    }

    .product-slider-wrapper:not(.product-slider-wrapper--no-gallery) .product-slider-thumb-button--prev {
        top: 0 !important;
        bottom: auto;
        margin: 0 auto;
        position: absolute;
    }

    .product-slider-wrapper:not(.product-slider-wrapper--no-gallery) .product-slider-thumb-button--next {
        top: auto;
        bottom: -24px !important;
        margin: 0 auto;
        position: absolute;
    }

    .product-slider-wrapper:not(.product-slider-wrapper--no-gallery) .product-slider-thumb-button--prev .product-slider-thumb-button__icon {
        transform: rotate(-90deg);
    }

    .product-slider-wrapper:not(.product-slider-wrapper--no-gallery) .product-slider-thumb-button--next .product-slider-thumb-button__icon {
        transform: rotate(90deg);
    }

    .product-slider-thumb {
        max-height: none;
    }
}
.product-slider-main__image {
    object-fit: contain !important;
}

.product-card__image {
    object-fit: contain !important;
}

.notifications-wrapper .notification {
    background: var(--clr-accent);
    color: #FFFFFF;
}

.notifications-wrapper .notification__title,
.notifications-wrapper .notification__description,
.notifications-wrapper .notification__icon,
.notifications-wrapper [class*="notification__icon--"],
.notifications-wrapper .notification__icon--muted,
.notifications-wrapper .notification__icon--error,
.notifications-wrapper .notification-close-button,
.notifications-wrapper .notification-close-button__icon {
    color: #FFFFFF !important;
}

.leasing-banners {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    background: var(--clr-bg-secondary);
}

.leasing-banners__inner {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.leasing-banners__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.leasing-banners__item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #D9DDE1;
}

.leasing-banners__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
}

.leasing-banners__title {
    position: static;
    padding: 12px 16px 16px;
    color: var(--clr-text-primary);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .leasing-banners {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .leasing-banners__inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .leasing-banners__title {
        font-size: 16px;
        line-height: 1.3;
    }
}
.learn-section__description {
	grid-template-columns: 1fr;
}

.header-menu-item__title {
    color: var(--clr-text-primary);
}

.scroll-top-button {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 20;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: var(--clr-accent);
    color: #FFFFFF;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity var(--tr-md), transform var(--tr-md), visibility var(--tr-md);
}

.scroll-top-button svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 800px) {
    .scroll-top-button {
        display: inline-flex;
    }

    .scroll-top-button.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}
