.kt-catalog {
    display: grid;
    grid-template-columns: 922px calc(100% - 922px);
    width: 100%;
    max-width: 1432px;
    background-color: white;
    box-shadow: 5px 4px 8px 0px rgba(34, 60, 80, 0.06);
}

.kt-catalog * {
    user-select: none;
}

.kt-catalog__col {
    position: relative;
    display: flex;
    flex-direction: column;
}

.kt-catalog__content {
    display: flex;
    overflow: hidden;
    height: 100%;
}

.kt-catalog__groups {
    display: flex;
    flex-direction: column;
    padding-right: 15px;
    border-right: 1px solid #821d09;
}

.kt-catalog__groups-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 16px 25px;
    cursor: pointer;
    transition: 0.3s;
}

.kt-catalog__groups-item * {
    user-select: none;
}

.kt-catalog__groups-item:not(:nth-last-child(2)) {
    border-bottom: 1px solid #333333;
}

.kt-catalog__groups-item.item-active:has(img) * {
    filter: invert(11%) sepia(46%) saturate(6075%) hue-rotate(4deg)
        brightness(100%) contrast(93%);
    user-select: none;
}

.kt-catalog__groups-item.item-active svg path {
    fill: #821d09;
}

.kt-catalog__groups-item.item-active {
    color: #821d09;
}

.kt-catalog__groups-item-title {
    font-family: Georgia;
    font-weight: 700;
    font-style: italic;
    font-size: 20px;
    line-height: 25px;
    letter-spacing: 0%;
    vertical-align: middle;
    transition: 0.3s color;
}

.kt-catalog__groups-item-icon {
    width: 56px;
    height: 56px;
}

.kt-catalog__groups-item-icon img,
.kt-catalog__groups-item-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.3s filter;
}

.kt-catalog__slider {
    position: relative;
    width: 100%;
}

.kt-catalog__slider::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 0;
    width: 35px;
    height: 35px;
    background-color: #ffffff;
    pointer-events: none;
}

.kt-catalog__item {
    padding: 28px 38px;
    width: 100%;
}

.kt-catalog__item {
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
    pointer-events: none;
    animation: fadeIn 0.4s forwards;
}

.kt-catalog__item.active {
    opacity: 1;
    pointer-events: auto;
}

@keyframes fadeIn {
    from {
        transform: translateX(-10px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.kt-catalog__item:not(.active) {
    display: none;
}

.kt-catalog__item-title {
    position: relative;
    font-family: Georgia;
    font-weight: 700;
    font-style: italic;
    font-size: 20px;
    line-height: 25px;
    letter-spacing: 0%;
    vertical-align: middle;
    background-color: #ffffff;
    width: max-content;
}

.kt-catalog__item-title::before {
    content: "";
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 100%;
    background-color: #ffffff;
    pointer-events: none;
}

.kt-catalog__item-title::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 1000%;
    height: 1px;
    background-color: #000000;
    pointer-events: none;
    z-index: -1;
}

.kt-catalog__item-grid {
    display: grid;
    grid-template-columns: repeat(3, calc(100% / 3));
    padding-top: 10px;
    row-gap: 20px;
}

.kt-catalog__item-grid a {
    font-family: Roboto;
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    letter-spacing: 0%;
    color: #000000;
    transition: 0.3s;
    text-decoration: none;
    user-select: text;
}

.kt-catalog__item-grid a:hover {
    color: #821d09;
}

.kt-catalog__button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 67px;
    height: 67px;
    width: 100%;
    background-color: #821d09;
    font-family: Georgia;
    font-weight: 700;
    font-style: italic;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.kt-catalog__button:hover {
    background-color: #721908;
}

.kt-catalog__button:active {
    opacity: 0.85;
}

.kt-catalog__image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.kt-catalog__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kt-catalog__tag {
    position: absolute;
    top: 34px;
    left: 0;
    padding: 31px 46px;
    background-color: #821d09;
    color: #ffffff;
    user-select: none;
    font-family: Georgia;
    font-weight: 700;
    font-style: italic;
    font-size: 24px;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    transform-origin: left center;
    transition: 1s;
}

.kt-catalog__col:has(.kt-catalog__tag):hover .kt-catalog__tag {
    transform: scale(0.95) translateZ(-1px);
}

@media (max-width: 1420px) {
    .kt-catalog {
        display: flex;
        width: 100%;
        max-width: 700px;
        padding: 15px;
        border: 1px solid rgba(128, 128, 128, 0.19);
    }

    .kt-catalog__col {
        width: 100%;
        gap: 20px;
    }

    .kt-catalog__content {
        flex-direction: column;
        gap: 20px;
    }

    .kt-catalog__groups {
        flex-direction: row;
        overflow-x: auto;
        border: 0;
        padding: 0;
        gap: 20px;
    }

    .kt-catalog__groups-item {
        border: 0 !important;
        padding: 0;
    }

    .kt-catalog__col:has(.kt-catalog__image):nth-child(2) {
        display: none;
    }
}

@media (max-width: 1420px) {
    .kt-catalog__item {
        padding: 0;
    }

    .kt-catalog__item-grid {
        grid-template-columns: repeat(2, 50%);
    }
}

.kt-catalog.catalog-float {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
    z-index: 1000; left: -99999px; top: -99999px;
}

.kt-catalog.catalog-float.catalog-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0); left: auto; top: auto;
}

.kt-catalog__groups:has(
        .kt-catalog__groups-item:nth-last-child(1).item-active:hover
    )
    .kt-catalog__groups-item-icon,
.kt-catalog__groups:has(
        .kt-catalog__groups-item:nth-last-child(1).item-active:hover
    )
    .kt-catalog__groups-item-title {
    transform: translateY(1px) !important;
}
.js-kt-catalog-slide-image img {
    transition: opacity 0.05s ease-in-out;
    opacity: 1;
}
.js-kt-catalog-slide-image img.is-changing {
    opacity: 0;
}

.item-hidden {
    opacity: 0;
    visibility: hidden;
}
