.dop-info {
    width: 447px;
    height: 715px;
    /*  border: 1px solid #342f3a;    */
    border-radius: 12px;
    background: url(../images/modal_dop_info.png) no-repeat top center;
}

.dop-info_logo {
    width: 447px;
    height: 276px;
}

.dop-info_logo img {
    position: absolute;
    width: 447px;
    height: 276px;
    top: 0;
    left: 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.dop-info_title {
    position: absolute;
    font-size: 18px;
    color: #a27d85;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    top: 306px;
    font-weight: 500;
}

body.shop-partners-page-active .full-description-modal.shop-partners-full-description-modal .dop-info_title {
    font-size: 24px;
    color: #fff;
    text-transform: none;
    top: 300px;
}

body.shop-partners-page-active .full-description-modal.shop-partners-full-description-modal .dop-info_memo {
    height: 306px;
    top: 357px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

body.shop-partners-page-active .full-description-modal.shop-partners-full-description-modal {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    max-height: 100vh;
    overflow: hidden;
    overscroll-behavior: contain;
}

body.shop-partners-page-active .full-description-modal.shop-partners-full-description-modal .modal-content.dop-info {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0;
    flex: 0 0 auto;
    max-height: calc(100vh - 48px);
    overflow: visible;
    overscroll-behavior: contain;
}

body.shop-partners-page-active .full-description-modal.shop-partners-full-description-modal .shop-partners-full-description-close {
    right: 0;
    top: 0px;
    transform: translate(50%, -50%);
}

@media (width <= 601px) {
    body.shop-partners-page-active .full-description-modal.shop-partners-full-description-modal .shop-partners-full-description-close {
        right: 0;
        top: 0;
        transform: translate(0%, -120%);
    }
}

body.shop-partners-page-active .full-description-modal.shop-partners-full-description-modal #full-description-modal-container {
    max-height: calc(100vh - 48px);
    overflow: hidden;
}

html.shop-partners-modal-open,
body.shop-partners-modal-open {
    overflow: hidden;
    overscroll-behavior: none;
}

body.shop-partners-page-active .full-description-modal.shop-partners-full-description-modal .dop-info_logo {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #08080a;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

body.shop-partners-page-active .full-description-modal.shop-partners-full-description-modal .dop-info_logo img {
    position: static;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    flex: 0 0 auto;
}

.dop-info_memo {
    position: absolute;
    width: 388px;
    height: 325px;
    top: 347px;
    left: 43px;
    color: #d6d6d6;
    text-align: left;
    font-style: italic;
    line-height: 19px;
    font-weight: 300;
    overflow-y: scroll;
    padding-right: 30px;
    /* --- Важно --- */
    display: -webkit-box; /* для поддержки многорядного обрезания */
    -webkit-box-orient: vertical; /* направление строк */
    white-space: normal; /* разрешаем переносы */
    word-wrap: break-word; /* переносим длинные слова */
    white-space: pre-line;
}

.dop-info_memo::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background-color: rgba(73, 69, 77, 1);
    border-radius: 4px;
}

.dop-info_memo::-webkit-scrollbar-thumb {
    background-color: rgba(28, 25, 32, 1);
    border-radius: 3px;
}

.dop-info_memo::-webkit-scrollbar-track {
    background: transparent;
}

#full-description-modal-container .dop-info_memo a {
    color: #c1ac82;
    text-decoration: underline;
}

#full-description-modal-container .dop-info_memo a:hover {
    color: #fff;
}

.btn_dop {
    text-decoration: none;
}
