@charset "UTF-8";

.productWindow {
    position: fixed;
    left: 0;
    top: 153px;
    bottom: 0;
    z-index: 1;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    background-color: #f7f7f7;
    transform: translateY(calc(-100% - 153px));
    transition: transform .7s ease-in-out, opacity .3s ease-in-out, visibility .3s ease-in-out;
}

.productWindow.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) rotate(0);
    transition: transform .7s ease-in-out, opacity .3s ease-in-out, visibility .3s ease-in-out;
}

.productWindow>.container {
    padding: 30px 35px;
    height: calc(100% - 60px);
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}

.productWindow__container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.productWindow__close {
    padding: 5px 15px;
    display: flex;
    align-items: baseline;
    gap: 5px;
    align-self: flex-end;
    cursor: pointer;
    border: none;
    border-radius: 7px;
    background-color: #e1e1e1;
}

.productWindow__close::before {
    content: 'закрыть';
    font-family: 'Inter Variable';
    font-size: 16px;
    line-height: normal;
    color: #333;
}

.productWindow__close::after {
    content: '';
    background-image: url(https://img.danila-master.ru/uploads/articlesImages/site/icons/icon-krest.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 10px;
    height: 10px;
    display: inline-block;
}

.productWindow__wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 90px;
}

.productWindow__manager {
    position: relative;
}

.productWindow__photo {
    width: 456px;
    height: 685px;
    background-color: #fff;
}

.productWindow__img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.productWindow__img.active {
    display: block;
}

.productWindow__buttons {
    position: absolute;
    top: 0;
    right: -110px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.productWindow__btn {
    margin-bottom: 15px;
    width: 24px;
    height: 24px;
    background-color: transparent;
    background-image: url('https://img.danila-master.ru/uploads/articlesImages/action/classical-monuments/contacts/marker_vybor_menedzhera.svg?v=1');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
}

.productWindow__btn.active {
    background-image: url('https://img.danila-master.ru/uploads/articlesImages/action/classical-monuments/contacts/marker_vybor_menedzhera_aktiv.svg?v=1');
}

.productWindow__txt {
    margin-top: 75px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter Medium';
    font-size: 14px;
    line-height: normal;
    color: #333;
    transform: rotate(-90deg);
}

.productWindow__arrow {
    display: block;
    width: 15px;
    height: auto;
    transform: rotate(90deg);
}

.productWindow__info {
    width: 100%;
}

p.productWindow__name {
    margin: 0;
    margin-bottom: 15px;
    font-family: 'Inter Medium';
    font-size: 32px;
    line-height: normal;
    color: #333;
}

p.productWindow__name span {
    display: none;
}

p.productWindow__name span.active {
    display: inline;
}

p.productWindow__status {
    margin-bottom: 25px;
    position: relative;
    padding-left: 25px;
    font-family: 'Inter Medium';
    font-size: 14px;
    line-height: normal;
    color: #808080;
}

.productWindow__status::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #7bc67d;
    animation: pulse-animate 1.5s infinite;
}

@keyframes pulse-animate {
    0% {
        box-shadow: 0 0 0 0px rgba(123, 198, 125, 1);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(123, 198, 125, 0);
    }
}

.productWindow__call {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.productWindow__whatsapp,
.productWindow__max {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.productWindow__whatsapp:hover,
.productWindow__max:hover {
    text-decoration: none;
}

.productWindow__whatsapp span,
.productWindow__max span {
    font-family: 'Inter Medium';
    font-size: 25px;
    line-height: normal;
    color: #333;
    transition: color .3s ease-in-out;
}

.productWindow__svg {
    display: block;
    width: 40px;
    height: auto;
}

.productWindow__descr {
    font-family: 'Inter Medium';
    font-size: 14px;
    line-height: normal;
    color: #808080;
    transition: color .3s ease-in-out;
}

.productWindow__whatsapp:hover .productWindow__descr,
.productWindow__max:hover .productWindow__descr {
    color: #df8844;
    transition: color .3s ease-in-out;
}

.productWindow__whatsapp:active .productWindow__descr,
.productWindow__max:active .productWindow__descr {
    color: #808080;
    transition: color .3s ease-in-out;
}

.productWindow__whatsapp:hover span,
.productWindow__max:hover span {
    color: #df8844;
    transition: color .3s ease-in-out;
}

.productWindow__whatsapp:active span,
.productWindow__max:active span {
    color: #333;
    transition: color .3s ease-in-out;
}

.productWindow__block {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.productWindow__product {
    min-width: 200px;
    height: 200px;
}

.productWindow__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.productWindow__box {
    position: relative;
    width: 100%;
    background-color: #fff;
}

.productWindow__title {
    position: absolute;
    top: 16px;
    left: 15px;
    font-family: 'Inter Variable';
    font-size: 14px;
    line-height: normal;
    color: #808080;
}

.productWindow__theme {
    padding: 15px 20px 15px 60px;
    width: calc(100% - 80px);
    min-height: 21px;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #333;
}

.productWindow__question {
    margin-bottom: 20px;
    padding: 15px;
    width: calc(100% - 30px);
    min-height: 65px;
    resize: none;
    border: none;
    border-bottom: 1px solid #333;
    background-color: #fff;
    font-family: 'Inter Variable';
    font-size: 16px;
    line-height: normal;
    color: #333;
}

.productWindow__question::placeholder {
    color: #808080;
}

.productWindow__btns {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.productWindow__question-btn {
    padding: 5px 10px;
    border-radius: 7px;
    background-color: #f1f1f4;
    border: none;
    font-family: 'Inter Variable';
    font-size: 16px;
    line-height: normal;
    color: #333;
    cursor: pointer;
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.productWindow__question-btn:hover {
    background-color: #333;
    color: #fff;
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.productWindow__question-btn:active {
    background-color: #f1f1f4;
    color: #333;
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.productWindow__input {
    margin-bottom: 10px;
    padding: 15px;
    width: calc(100% - 30px);
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #333;
    border: none;
    background-color: #fff;
    border-bottom: 1px solid #333;
}

.productWindow__input::placeholder {
    color: #808080;
}

.productWindow__form .help-block {
    font-size: 14px;
    color: #df8844;
}

.productWindow__submit {
    cursor: pointer;
    margin-top: 10px;
    padding: 15px 60px;
    width: 100%;
    background-color: #333;
    border-radius: 7px;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #fff;
    border: none;
    transition: background-color .3s ease-in-out;
}

.productWindow__submit:hover {
    background-color: #df8844;
    transition: background-color .3s ease-in-out;
}

.productWindow__submit:active {
    background-color: #333;
    transition: background-color .3s ease-in-out;
}

@media screen and (max-width: 1130px) {
    .productWindow__photo {
        width: 333px;
        height: 500px;
    }
}

@media screen and (max-width: 992px) {
    .productWindow__photo {
        width: 333px;
        height: 500px;
    }

    .productWindow__block {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 900px) {
    .productWindow {
        top: 135px;
    }

    .productWindow__whatsapp span,
    .productWindow__max span {
        display: none;
    }
}

@media screen and (max-width: 860px) {
    .productWindow__wrapper {
        gap: 70px;
    }

    .productWindow__buttons {
        right: -105px;
    }

    .productWindow__btns {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .productWindow>.container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .productWindow__container {
        gap: 20px;
    }

    .productWindow__block {
        flex-direction: row;
        align-items: center;
    }

    .productWindow__manager,
    p.productWindow__name,
    p.productWindow__status,
    .productWindow__call {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .productWindow__block {
        flex-direction: column;
    }

    .productWindow__submit {
        padding: 15px 30px;
    }
}