.container#main-cont {
    padding-bottom: 1rem;
}
.katalog-title {
    font-size: 2rem;
    text-align: center;
    text-decoration: underline;

    padding-top: 1.35rem;
    padding-bottom: 1.5rem;
}
.line {
    height: 0.75px;
    background-color: rgba(255, 255, 255, 0.25);

    margin-inline: -20px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
.main-photo {
    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 30px;
}
.photo-div {
    display: flex;
    flex-direction: row;
}
.photo-info {
    display: flex;
    flex-direction: column;
}
.mini-gallery {
    display: flex;
    flex-direction: column;
}
.mini-gallery {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 10px;

    height: 390px;

    overflow-y: scroll;
    overflow-x: hidden;
    padding: 10px;

    /* Скрыть скроллбар */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */

    -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */

    border-radius: 30px;

}
.gallery-frame {
    width: 88px;
    height: 70px;

    border-radius: 15px;

    transition: 0.5s ease-in-out;

    -webkit-box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.25);
}
.gallery-frame:hover {
    transform: scale(1.05);
    transition: 0.2s ease;
}
.gallery-frame.active-thumb {
    outline: 3px solid #9456d5;
    outline-offset: 2px;
    border-radius: 17px;
}
.item-img {
    width: 88px;
    height: 70px;

    object-fit: cover;
    border-radius: 15px;

    object-position: top;
}
.img-frame {
    width: 408px;
    height: auto;
    border-radius: 30px;

    margin-left: 10px;

    -webkit-box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.25);
}
.main-photo {
    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 30px;
    object-position: top;
}
.main-info {
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
}
.info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.info-title {
    font-size: 1.5rem;
}
.info-desc {
    font-size: 1rem;
}
.price {
    font-size: 2rem;
    text-align: center;
    color: #9456D5;

    font-family: "Ubuntu Mono", monospace;
    font-weight: 400;
    font-style: normal;
}
.info .applic {
    font-size: 1.25rem;
}
.info .applic:hover {
    transform: scale(1.05);
}
.info {
    min-height: 410px;
    justify-content: space-between;

}
.info-desc {
    margin-top: 1rem;
}
.check {
    display: flex;
    justify-content: center;

    width: 408px;
    box-sizing: border-box;

    margin-top: 0.75rem;

    font-size: 0.75rem;
    text-align: center;
    padding: 0.2rem 2.75rem 0.4rem 2.75rem;

    border-radius: 4rem;
    border-color: white;
    border-style: solid;
    border-width: 1px;

    color: white;
    transition: 0.5s ease-in-out;
    background-color: transparent;
    text-decoration: none;
    margin-left: 118px ;
}
.check:hover {
    transform: scale(1.1);
    transition: 0.1s ;
}
.period {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    justify-content: flex-end;

    padding-bottom: 24px;
}
.info-cont {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.palitra {
    margin-top: 0.75rem;
    object-fit: contain;
    max-width: 408px;
    margin-left: 22% ;
}
.h1 {
    font-size: 2rem;
    text-align: left;
    color: #9456D5;
}
.stars-list {
    display: flex;
    flex-direction: column;
    list-style-type: none;

    margin-top: 1rem;
    gap: 1rem;
}
.stars-iten .item-text {
    width: 100%;
}
.stars-item {
    display: flex;
    align-items: flex-start;
}
.stars-item .item-img {
    width: 80px;
}
.item-text {
    font-size: 1.25rem;
}
.faq-text-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    list-style-type: none;

    width: 100%;
    padding-bottom: 3rem;
}
.faq-text-list-item {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: row;

    gap: 3rem;
}
.faq-text-list-item:nth-child(even) {
    flex-direction: row-reverse;
}
.faq-text-list-item .item-text {
    font-size: 1.25rem;
    width: 50%;
}
.video-frame {
    display: flex;
    flex: 0 0 50%;
    aspect-ratio: 16/9;
    justify-content: flex-end; /* прижимает видео к правой стороне */
}
.faq-text-list-item .item-text {
    font-size: 1.25rem;
    flex: 1 1 auto;
}

.video {
    height: auto;
    aspect-ratio: 16/9;
    width: 100%;
}
.else-faq {
    display: flex;
    justify-content: center;
    align-items: center;

    padding-bottom: 2rem;
}
.else-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.48);
}
.applic#else {
    font-size: 1.25rem;
    margin-left: 1rem;
}













@media (max-width: 1076px) {
    .katalog-title {
        font-size: 32px;
    }
    .line {
        margin-inline: -1rem;
    }
    .photo-div {
        flex-direction: column-reverse;
    }
    .mini-gallery {
        flex-direction: row;
        height: 83px;

        width: calc(100% - 0 );
        padding-right: 0px;

        margin-top: 10px;

        overflow-x: scroll;
        overflow-y: hidden;
    }
    .photo-div {
        width: 100%;
    }
    .main-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .img-frame {
        width: 100%;
        height: 235px;

        margin-left: 0;
    }
    .h1 {
        font-size: 20px;
    }
    .item-img {
        width: 88px;
    }
    .stars-list .item-img {
        width: 60px;
        height: 60px;
        margin-left: -1rem;
    }
    .item-text {
        font-size: 1rem;
    }
    .stars-list {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    .faq-text-list-item {
        margin: 0;
        margin-top: 16px;
        gap: 1rem;
        flex-direction: column;
    }
    .faq-text-list-item:nth-child(even) {
        flex-direction: column;
    }
    .item-text {
        width: 100%;
    }
    .faq-text-list-item .item-text {
        width: 100%;
    }
    .video {
        width: 100%;
    }
    .palitra {
        max-width: 100%;
        margin-left: 0;
        margin-top: 0;
    }
    .main-info {
        flex-direction: column;
    }
    .else-faq {
        flex-direction: column;
        margin-top: 3rem;
    }
    .applic#else {
        margin-left: 0;
        margin-top: 1rem;
    }
    .check {
        margin-left: 0;
        margin-inline: auto;
        width: 100%;
        box-sizing: border-box;
        margin-top: 1rem;
        font-size: 1rem;
    }
    .left-info {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .info-title {
        font-size: 20px;
    }
    .info-desc {
        margin-top: 10px;
        font-size: 1rem;
    }
    .price {
        font-size: 25px;
    }
    .info {
        min-height: 0;
    }
    .check:hover,.info .applic:hover {
        transform: scale(0.95);
    }
    .img-frame {
        height: auto;
    }
}