.modal-promocode {
    background-color: rgba(0, 0, 0, .88);
    height: 100vh;
    opacity: 0;
    position: fixed;
    visibility: hidden;
    transition: .3s ease;
    width: 100vw;
    z-index: 10001;
}

.akne-whatToDo__wrapper p a,
.akne-whatToDo__rule-items a,
.akne-whatToDo__dermatologist-itemText a {
    color: #fff;
    border-bottom: 1px solid;
}

.postaknetin-head__benefit a {
    color: #fff;
}
	

.modal-promocode.active {
    opacity: 1;
    visibility: visible;
}
.modal-promocode.active ~ .remodal-overlay,
.modal-promocode.active ~ .remodal-wrapper {
    opacity: 0;
}
.modal-promocode__content {
    left: 50%;
    margin: 0;
    max-width: 755px;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}
.modal-promocode__close {
    height: 4vw;
    left: auto;
    max-height: 45px;
    min-height: 20px;
    max-width: 45px;
    min-width: 20px;
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(100%, -100%);
    width: 4vw;
}
.modal-promocode__close:before, .modal-promocode__close:after {
    background: #fff;
    content: '';
    width: 100%;
    height: 2px;
    left: 0;
    position: absolute;
    top: 50%;
    transition: .15s ease;
}

.modal-promocode__close:before {
    transform: rotate(-45deg);
}

.modal-promocode__close:after {
    transform: rotate(45deg);
}

.modal-promocode__close:hover:before {
    transform: rotate(45deg);
}

.modal-promocode__close:hover:after {
    transform: rotate(-45deg);
}
@media screen and (max-width: 768px) {
    .modal-promocode__close {
        transform: translate(0%, -120%);
    }
}

/* Попап Где купить */
.modal-buy {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: rgba(32, 34, 59, .9);
    display: none;
}

.modal-buy__wrapper {
    display: flex;
    width: 100%;
    max-width: 1074px;
    height: 100%;
    margin-right: auto;
    margin-left: auto;
    align-items: center;
    padding: 0 20px;
}

.modal-buy__container {
    position: relative;
    width: 100%;
}

.modal-buy__inner {
    position: relative;
    display: flex;
    width: 100%;
    height: 568px;
    justify-content: space-between;
    overflow: hidden;
    background: url(/img/popup/background.jpg) 0 0 no-repeat;
    background-size: 100% 100%;
    box-shadow: 0 0 210px 0 rgba(145, 107, 250, 0.21);
}

.modal-buy__item.item-1 {
    position: relative;
    width: 100%;
}

.modal-buy__item.item-2 {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 6;
    padding-top: 55px;
    padding-left: 50px;
}

.modal-buy__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 21px;
    height: 21px;
    cursor: pointer;
    background: url(/img/popup/btn-close.png) 0 0 no-repeat;
    background-size: 100% 100%;
    transition: all .2s ease;
    z-index: 7;
}

.modal-buy__close:hover {
    transform: rotate(90deg);
}

.modal-buy__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal-buy__pack {
    position: absolute;
    left: 60px;
    bottom: 0;
    z-index: 7;
}

.modal-buy__light {
    position: absolute;
    left: -247px;
    top: -150px;
    max-width: 150vw;
}

.modal-buy__effects {
    position: absolute;
    top: -42px;
    left: 20px;
    z-index: 5;
}

.modal-buy__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.modal-buy__btn {
    display: flex;
    width: 339px;
    height: 83px;
    margin-top: 66px;
    transition: all .2s ease-in-out;
    color: #fff;
    background: url(/img/popup/btn-buy.png) 0 0 no-repeat;
    background-size: 100% 100%;
    align-items: center;
    justify-content: center;
}

.modal-buy__btn:hover {
    background: url(/img/popup/btn-buy-hover.png) 0 0 no-repeat;
    background-size: 100% 100%;
}

.modal-buy__btn-text {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
}

@media screen and (max-width: 1023px) {
    .modal-buy__wrapper {
        height: auto;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .modal-buy__inner {
        flex-direction: column-reverse;
        height: auto;
        background: url(/img/popup/background-mob.jpg) 0 0 no-repeat;
        background-size: 100% 100%;
    }
    .modal-buy__effects {
        position: absolute;
        top: initial;
        bottom: 0;
        left: 52%;
        transform: translateX(-50%);
    }
    .modal-buy__img {
        position: relative;
    }
    .modal-buy__item {
        align-items: center;
    }
    .modal-buy__item.item-1 {
        padding-top: 200px;
    }
    .modal-buy__item.item-2 {
        padding-left: 30px;
        padding-right: 30px;
    }
    .modal-buy__light {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: initial;
    }
    .modal-buy__pack {
        position: relative;
        left: initial;
        bottom: initial;
        z-index: 5;
        display: block;
        margin: 0 auto;
    }
    .modal-buy__btn {
        margin-top: 44px;
    }
}

@media screen and (max-width: 570px) {
    .modal-buy__pack {
        width: 74.737vw;
    }
}

@media screen and (max-width: 540px) {
    .modal-buy__btn {
        width: 62.778vw;
        height: 15.370vw;
        margin-top: 8.148vw;
    }
    .modal-buy__item {
        padding-top: 10.185vw;
    }
    .modal-buy__item.item-1 {
        padding-top: 37.037vw;
    }
    .modal-buy__btn-text {
        font-size: 7.407vw;
    }
    .modal-buy__close {
        width: 3.889vw;
        height: 3.889vw;
    }
}