@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --font-family: "Inter", sans-serif;
}

.modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    transition: all 0.3s;
}

@media (max-height: 600px){
    .modal{
        align-items: flex-start;
        padding-top: 70px;
        overflow: auto;
    }
}

.modal .modal-content{
    transform: scale(0.5);
    transition: all 0.3s;
}

.modal.visible {
    opacity: 1;
    visibility: visible;
}

.modal.visible .modal-content{
    transform: scale(1);
}

.modal-content {
    background: #fff;
    padding: 10px;
    width: 516px;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 5px 40px 0 rgba(2, 2, 24, 0.1);
}

.modal__wrapper{
    overflow: hidden;
    padding: 32px;
    position: relative;
    border-radius: 1.2rem;
    border: 1px solid #dde2e6;
    background: linear-gradient(127deg, rgba(22, 80, 235, 0) 0%, rgba(22, 80, 235, 0.13) 100%);
}

.modal__wrapper .star{
    position: absolute;
    right: 0;
    top: 0;
}

.modal__title{
    display: inline-block;
    gap: 17px;
    font: 500 32px / 120% var(--font-family);
    letter-spacing: -0.04em;
    color: #000;
    margin: 0 auto 28px;
}

.modal__title img{
    margin-bottom: -7px;
    margin-right: 5px;
}

.modal__input-name{
    font: 500 16px / 120% var(--font-family);
    letter-spacing: -0.04em;
    color: #000;
    margin-bottom: 9px;
}

.modal__form{
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.modal__input{
    position: relative;
}

.modal__input input{
    width: 100%;
    padding: 11px 36px 11px 16px;
    border: 1px solid #c6d7fe;
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.modal__input .reset{
    position: absolute;
    right: 0;
    top: 2px;
    font-size: 14px;
    color: #326af5;
    transition: color 0.3s;
}
.password-toggler{
    cursor: pointer;
}
.modal__input .reset:hover{
    color: #1650eb;
}

.modal__input input:focus, .modal__input input:hover{
    border: 1px solid #326bf5;
    box-shadow: 0 4px 4px 0 rgba(50, 106, 245, 0.15);
}



.modal__input .input{
    position: relative;
}

.modal__input .input img{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
}

.btn-animate button {
  transition: all 0.3s;
  position: relative;
  width: 100%;
  overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #1650eb 0%, #4d84ff 100%);
    border-radius: 12px;
    padding: 8px;
    border-radius: 12px;
    color: #fff;
    font-size: 18px;
    border: 2px solid #4d84ff;
}
.btn-animate button::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
  opacity: 0;
  border-radius: 12px;
  background: linear-gradient(
    240deg,
    rgba(22, 80, 235, 0.1) 0%,
    rgb(77, 132, 255) 100%
  );
}
.btn-animate button svg,
.btn-animate button span {
  z-index: 1;
}
.btn-animate button span {
  position: relative;
}
.btn-animate button:hover::after {
  left: 0;
  opacity: 1;
}

.btn-animate button:hover {
  transition: all 0.3s;
}
.style_promptButtonSparks__q9E6f {
  position: relative;
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
}

.style_promptButtonSparkL__81ZCi,
.style_promptButtonSparkM__l7lV_,
.style_promptButtonSparkS__aKyau {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.8125rem;
  height: 0.8125rem;
  transform: scale(1);
}

.style_promptButtonSparkS__aKyau {
  top: 0;
  left: 0.8125rem;
  animation: style_sparkS__hnqXn 2s -3s infinite alternate;
}

.style_promptButtonSparkL__81ZCi {
  top: 0.1875rem;
  left: 0.1875rem;
  animation: style_sparkL__hYFlI 2s infinite alternate;
}

.style_promptButtonSparkM__l7lV_ {
  top: 0.625rem;
  left: 0.625rem;
  animation: style_sparkM__s6qoZ 2s -1.5s infinite alternate;
}

.btn-animate:hover .style_promptButtonSparkS__aKyau {
  animation: sparkTwinkle 0.8s ease-in-out;
}

.btn-animate:hover .style_promptButtonSparkM__l7lV_ {
  animation: sparkTwinkle 0.8s 0.3s ease-in-out;
}

.btn-animate:hover .style_promptButtonSparkL__81ZCi {
  animation: sparkTwinkle 0.8s 0.6s ease-in-out;
}
@keyframes sparkTwinkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.8);
  }
}

.close {
    position: absolute;
    top: 0;
    right: -53px;
    width: 43px;
    height: 43px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: #e1e8fc;
    transition: all 0.3s;
    cursor: pointer;
    z-index: 999999999999;
}

.close img{
    transition: all 0.3s;
}

.close:hover{
    background: #fff;
}

.close:hover img{
    transform: rotate(45deg);
}

.styled-checkbox {
  position: absolute;
  display: none;
}

.styled-checkbox + label {
  display: flex;
  position: relative;
  cursor: pointer;
  gap: 12px;
  font: 400 12px / 116% var(--font-family);
  font-weight: 500;
  color: #000;
}

.styled-checkbox + label a{
    display: inline;
    color: #326af5;
}

.styled-checkbox + label p {
  display: inline;
}


.styled-checkbox + label::before {
  display: block;
  content: "";
  border: 1px solid #808080;
  border-radius: 4px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  transition: all 0.3s;
}

.styled-checkbox:checked + label::before{
    border-color: #326af5;
}

.styled-checkbox:checked + label::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 11px;
  height: 8px;
  min-width: 11px;
  min-height: 8px;
  background: url("/modal_images/check.svg");
  background-size: cover;
}

.modal__text {
    font: 400 16px / 140% var(--font-family);
    margin-bottom: 21px;
}

.data-wrap{
    position: relative
}

.modal__cabinet-data{
    padding: 30px;
    border: 1.60px dashed #326bf5;
    border-radius: 17px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
}

.modal__cabinet-login, .modal__cabinet-password{
   display: flex;
   align-items: center;
   gap: 11px; 
   font: 400 16px / 120% var(--font-family);
   color: #4d4d4d;
}

.modal__cabinet-login img, .modal__cabinet-password img{
    width: 19px;
    height: auto;
}

.modal__cabinet-login .copy, .modal__cabinet-password .copy{
    width: 14px;
    height: auto;
    cursor: pointer;
    margin-left: -4px;
}

.modal__cabinet-login span, .modal__cabinet-password span{
    font: 600 16px / 120% var(--font-family);
    color: #000;
    margin-left: -4px;
}

.data-wrap.active span{
    opacity: 0;
}

.data-wrap span{
    opacity: 1;
    transition: all 0.3s;
}

.copy-notify{
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: -4px;
    left: -3px;
    z-index: 7777;
    background: #fff;
    padding: 4px;
    border-radius: 3px;
}

.copy-notify.visible{
    opacity: 1;
    visibility: visible;
}

.presentation-plan .modal-content{
    width: 896px;
}

.presentation-plan__item{
    padding: 27px 24px;
    display: flex;
    align-items: center;
    gap: 31px;
    border-radius: 24px;
    background: #fff;
    position: relative;
    transition: all 0.3s;
    border: 1px solid transparent;
    box-shadow: 0 1px 20px 0 rgba(131, 130, 255, 0.05), 0 0 12px 0 rgba(131, 130, 255, 0.1);
}

.presentation-plan__item .num{
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 8px;
    background: #f0f0ff;
    display: flex;
    justify-content: center;
    align-items: center;
    font: 400 16px / 126% var(--font-family);
    color: #000;
}

.presentation-plan__wrapper {
    overflow: auto;
    height: 70vh;
    gap: 16px;
    display: flex;
    flex-direction: column;
    padding: 7px 17px 148px 36px;
}

.presentation-plan__wrapper::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.presentation-plan__wrapper::-webkit-scrollbar-track {
  background: rgba(131, 93, 245, 0.15);
  border: 2px solid #e6ebf8;
}

.presentation-plan__wrapper::-webkit-scrollbar-thumb {
 background: #1650eb;
  border-radius: 4px;
  border: 2px solid #1650eb;
}

.presentation-plan .modal__title{
    padding-left: 36px;
}

.presentation-plan .modal__wrapper{
    padding-bottom: 0;
    padding-left: 0;
}

.presentation-plan__item .delete{
    margin-left: auto;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.presentation-plan__item:hover .presentation-plan__item .delete{
    opacity: 1;
    visibility: visible;
}

.presentation-plan__item:hover{
    border: 1px solid #1650eb;
}

.presentation-plan__item .add{
    border-radius: 40px;
    width: 40px;
    height: 40px;
    box-shadow: 0 1px 20px 0 rgba(131, 130, 255, 0.1), 0 0 12px 0 rgba(131, 130, 255, 0.1);
    background: #235ce5;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    z-index: 8;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.presentation-plan__item:hover .add,
.presentation-plan__item:hover .delete
{
    opacity: 1;
    visibility: visible;
}

.humb{
    display: none;
    opacity: 0;
    transition: all 0.3s;
}

.presentation-plan__item:hover .num{
    display: none;
}

.presentation-plan__item:hover .humb{
    display: flex;
    opacity: 1;
}

.presentation-plan__bottom{
    display: flex;
    justify-content: space-between;
    position: relative;
    height: 148px;
    margin-top: -148px;
    padding-top: 80px;
    padding-left: 36px;
}

.presentation-plan__bottom::before{
    content: '';
    position: absolute;
    top: 0;
    left: -36px;
    width: calc(100% + 72px);
    height: 100%;
    z-index: 9;
    background: linear-gradient(180deg, rgba(217, 217, 217, 0) 0%, #e1e9fc 40%);
}

.presentation-plan__bottom .agree{
    width: 565px;
    position: relative;
    z-index: 10;
}

.presentation-plan__bottom .btn-animate{
    position: relative;
    z-index: 777;
}

.presentation-plan__bottom .btn-animate button{
    width: 184px;
}

.generation .modal__title{
    font: 500 32px / 120% var(--font-family);
    letter-spacing: -0.04em;
    color: #000;
    text-align: center;
    display: block;
    margin-bottom: 17px;
}

.generation .modal__text{
    font: 400 15px / 120% var(--font-family);
    letter-spacing: -0.04em;
    text-align: center;
    color: #606060;
    margin-bottom: 27px;
}

.generation .modal-content{
    width: 896px;
}

.generation__wrapper{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.generation__item{
    padding: 31px;
    border: 1px solid #d0d0d0;
    border-radius: 15px;
    background: #fff;
    position: relative;
    display: flex;
    align-items: center;
    gap: 26px;
}

.status{
    margin-left: auto;
    background: #f5f5f6;
    border-radius: 5px;
    min-width: 39px;
    height: 39px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.status .success{
    display: none;
}

.load{
    animation: spin 1s linear infinite;
}

.generation__item.success .status .success{
    display: block;
}

.generation__item.success .status .load{
    display: none;
}

.generation__item.loading{
    border: 2px solid #0075f2;
}

.generation__item.loading svg path{
    fill: #0075F2;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.generation__item p{
    width: 531px;
    font: 400 15px / 129% var(--font-family);
    color: #606060;
}

.generation__item-name{
    font: 500 18px / 120% var(--font-family);
    color: #000;
    margin-bottom: 17px;
}

.modal .wrap {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 10px;
}

.modal .wrap button{
    width: 100%;
}

.btn {
    border-radius: 12px;
    padding: 11px 24px;
    font: 600 18px / 136% var(--font-family);
    letter-spacing: -0.02em;
    color: #fff;
    position: relative;
    background: linear-gradient(90deg, #4d84ff 0%, #1650eb 100%);
}

.btn::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 10px;
    padding: 2px; /* толщина бордера */
    background: linear-gradient(90deg, #1650eb 0%, #4d84ff 100%);
    z-index: 3;
}

.btn span{
    position: relative;
    z-index: 7;
}

.btn:hover::before{
    opacity: 1;
}

.btn::before{
    content: '';
    position: absolute;
    border-radius: 12px;
    left: 2px;
    top: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(90deg, #4d84ff 0%, #1650eb 100%);
    opacity: 0;
    transition: all 0.3s;
    z-index: 6;
}

.btn-stroke {
    border: 3px solid #567bde;
    border-radius: 12px;
    padding: 8px 24px;
    background: #fff;
    font: 600 18px / 136% var(--font-family);
    letter-spacing: -0.02em;
    color: #567bde;
    background: transparent;
    transition: all 0.3s;
}

.btn-stroke:hover{
    color: #fff;
    background: #567bde;
}

.premium-payment .modal-content{
    width: 896px;
}

.premium-payment .modal__wrapper{
    padding: 24px 0 0;
}

.premium-payment .modal__title{
    padding-left: 20px;
}

.premium-payment__info{
    padding: 18px;
    border-radius: 0 15px 0 11px;
    box-shadow: 1px 0 4px 0 rgba(0, 0, 0, 0.05);
    background: #fff;
    width: 367px;
}

.premium-payment__info-title{
    font: 500 22px / 120% var(--font-family);
    text-align: center;
    color: #000;
    margin-bottom: 10px;
}

.premium-payment__review-name{
    font: 500 14px / 120% var(--font-family);
    color: #1d51e8;
    margin-bottom: 4px;
}

.premium-payment__reviews{
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.premium-payment__review{
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #eff1ff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 5px 30px 0 rgba(25, 33, 61, 0.06);
    background: rgba(255, 255, 255, 0.6);
}

.premium-payment__review p{
    font: 500 14px / 120% var(--font-family);
    color: #4e4e4e;
}

.premium-payment__review .avatar{
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.reviews-more{
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.reviews-more p{
    font: 400 13px var(--font-family);
    color: #151515;
}

.reviews-more__link{
    width: 100%;
    font: 500 14px / 128% var(--font-family);
    text-align: center;
    color: #000;
    padding: 7px;
    background: #f5f5f9;
    border-radius: 8px;
    margin: 12px 0 18px;
    transition: all 0.3s;
}

.reviews-more__link:hover{
    background: #e9e9eb;
}

.agree a:hover{
    color: #0075F2;
}

.agree a{
    transition: all 0.3s;
}

.price__title{
    font: 600 17px / 128% var(--font-family);
    color: #000;
    margin-bottom: 7px;
}

.price__wrap{
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.price{
    padding-left: 10px;
    padding-bottom: 10px;
    position: relative;
}

.price-main{
    font: 600 78px / 100% var(--font-family);
    color: #2e214a;
}

.price-sale{
    font: 400 34px / 100% var(--font-family);
    color: #9094a1;
    text-decoration: line-through;
    margin-top: 5px;
}

.sale{
    font: 600 17px / 128% var(--font-family);
    color: #fff;
    padding: 5px 9px;
    border-radius: 8px;
    background: #2861f2;
    transform: rotate(-5deg);
    position: absolute;
    bottom: 10px;
    right: 60px;
}

.premium-payment__wrapper{
    display: flex;
    gap: 30px;
}

.premium-payment__descr-title{
    font: 500 22px / 120% var(--font-family);
    letter-spacing: -0.04em;
    color: #000;
    margin-bottom: 20px;
}

.premium-payment__list{
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.05);
    background: #fff;
    width: 448px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 39px;
}

.premium-payment__item{
    display: flex;
    align-items: center;
    gap: 16px;
}

.premium-payment__item p{
    font: 300 16px / 128% var(--font-family);
    color: #252528;
}

.premium-payment__item .icon{
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #336cf6 0%, #4880fd 100%);
}

.premium-payment__descr .btn-animate{
    position: relative;
    margin-bottom: 26px;
}

.premium-payment__descr .agree{
    font: 400 12px / 116% var(--font-family);
    color: #000;
}

.subscribe{
    position: absolute;
    padding: 5px 15px;
    font: 500 14px / 128% var(--font-family);
    color: #fff;
    box-shadow: 1px 3px 12px 0 rgba(217, 57, 114, 0.3);
    background: linear-gradient(90deg, #fc7f7f 0%, #ffa791 100%);
    transform: rotate(-6deg);
    left: -20px;
    top: -19px;
    z-index: 999;
    border-radius: 20px;
}

.reviews-more .images{
    display: flex;
}

.gift{
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, #4c83ff 0%, #fd81f4 100%);
    font: 300 9px / 128% var(--font-family);
    color: #fff;
    border-radius: 5px;
    white-space: nowrap;
    height: 20px;
    padding: 5px 6px 4px;
    min-width: 62px;
    text-align: center;
}

.stars-livitate{
    position: absolute;
    top: 60px;
    right: -65px;
    z-index: 999;
}

.premium-payment__btn-all{
    position: absolute;
    bottom: 20px;
    display: none;
}

    .shine {
            position: relative;
            overflow: hidden;
        }
        
        .shine::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.3),
                transparent
            );
            animation: shine 3s infinite;
        }
        
        @keyframes shine {
            0% {
                left: -100%;
            }
            20% {
                left: 100%;
            }
            100% {
                left: 100%;
            }
        }

/* Анимации появляются только при наличии класса visible */
.premium-payment.visible .premium-payment__review {
    opacity: 0;
    transform: translateX(-30px);
    animation: appearFromLeft 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Поочередное появление 4х элементов */
.premium-payment.visible .premium-payment__review:nth-child(1) {
    animation-delay: 0.15s;
}

.premium-payment.visible .premium-payment__review:nth-child(2) {
    animation-delay: 0.3s;
}

.premium-payment.visible .premium-payment__review:nth-child(3) {
    animation-delay: 0.45s;
}

.premium-payment.visible .premium-payment__review:nth-child(4) {
    animation-delay: 0.6s;
}

/* Плавная анимация появления слева-направо */
@keyframes appearFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Плавное покачивание элемента .sale один раз с сохранением начального вращения */
.premium-payment.visible .sale {
    animation: gentleShake 1.2s cubic-bezier(0.42, 0, 0.58, 1);
}

/* Анимация плавного покачивания с вращением */
@keyframes gentleShake {
    0% {
        transform: rotate(-5deg);
    }
    15% {
        transform: rotate(-8deg);
    }
    30% {
        transform: rotate(-2deg);
    }
    45% {
        transform: rotate(-7deg);
    }
    60% {
        transform: rotate(-3deg);
    }
    75% {
        transform: rotate(-6deg);
    }
    90% {
        transform: rotate(-4deg);
    }
    100% {
        transform: rotate(-5deg);
    }
}


@media (max-width: 1024px){
    .premium-payment__btn-all{
        display: flex;
        z-index: 7777777;
        display: flex;
        gap: 8px;
        width: 151px;
        margin: 0 auto;
        justify-content: center;
        left: 50%;
        transform: translateX(-50%);
        background: #F5F5F5;
        padding: 8px 24px;
        border: 1px solid #477ffd;
        border-radius: 8px;
        font: 300 14px / 128% var(--font-family);
        color: #3d76f9;
    }
    .premium-payment.overflow{
        align-items: flex-start;
        padding-top: 50px;
    }
    .presentation-plan .modal-content{
        width: 600px;
    }
    .premium-payment__wrapper{
        flex-direction: column-reverse;
    }
    .premium-payment .modal-content{
        width: 654px;
    }
    .premium-payment__descr{
        padding: 0 24px;
    }
    .premium-payment__list{
        width: 100%;
    }
    .premium-payment .modal__title{
        display: flex;
        align-items: flex-start;
    }
    .premium-payment .modal__title img{
        margin-top: 7px;
        margin-right: 0;
    }
    .premium-payment__descr .agree label{
        justify-content: center;
    }
    .premium-payment__descr .agree label br{
        display: none;
    }
    .premium-payment__descr .styled-checkbox:checked + label::after{
        left: 52.5px;
    }
    .premium-payment__info{
        width: 590px;
        margin: 0 auto;
        border-radius: 11px;
        margin-bottom: 24px;
    }
    .premium-payment__review p br{
        display: none;
    }
    .price{
        display: none;
    }
    .reviews-more__link{
        margin: 0;
        width: 221px;
        position: absolute;
        right: 20px;
        bottom: 20px;
    }
    .stars-livitate{
        top: -3px;
    }
    .premium-payment .modal__wrapper{
       max-height: 85vh;
        overflow: hidden;
    }
    .premium-payment{
        padding: 38px 0;
        overflow: auto;
    }
    .premium-payment .modal-content::before{
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 86px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 80%);
        z-index: 999999;
        border-radius: 0 0 16px 16px;
    }
    .premium-payment__info{
        position: relative;
    }
    .generation .modal-content{
        width: 640px;
    }
    .generation__item p{
        width: 90%;
    }
    .premium-payment__btn-all.active{
        display: none;
    }
    .premium-payment .btn-animate{
        position: fixed;
        width: 300px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999999;
        bottom: 90px;
    }
    .modal__wrapper.open .btn-animate{
        position: relative !important;
        width: 100%;
        transform: none;
        bottom: auto;
        left: 0;
    }
    .premium-payment .agree{
        position: fixed;
        width: calc(100% - 50px);
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999999;
        bottom: 75px;
    }
    .modal__wrapper.open  .agree {
        position: relative !important;
        width: 100%;
        transform: none;
        bottom: auto;
        left: 0;
    }
    .premium-payment .modal-content::before{
        height: 154px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 50%);
    }
    .overflow .modal-content::before{
        display: none;
    }
}



@media (max-width: 600px){
    .premium-payment .btn-animate{
        width: calc(100% - 50px);
    }
	.hero__form .policy{  width: 100%; }
	.hero__form .policy label{ align-items: flex-start }
    .modal-content{
        width: 95%;
    }
    .stars-livitate{
        display: none;
    }
	
    .presentation-plan .modal-content{
       width: 95%;
    }
    .modal__text br{
      display: none;  
    }
    .presentation-plan__bottom .agree{
        width: 100%;
    }
    .presentation-plan__wrapper{
        height: 50vh;
    }
    .presentation-plan__item{
        padding: 16px;
        border-radius: 16px;
    }
    .presentation-plan__item:hover .add{
        width: 30px;
        height: 30px;
        bottom: -15px;
    }
    .presentation-plan__bottom{
        flex-direction: column;
        height: auto;
        gap: 16px;
        padding-left: 20px;
        padding-bottom: 20px;
    }
    .presentation-plan__bottom .btn-animate button{
        width: 100%;
    }
    .presentation-plan__wrapper{
        padding: 0 5px 100px 20px;
    }
    .presentation-plan .modal__title{
        padding-left: 20px;
    }
    .close{
        top: -53px;
        right: 0;
    }
    .modal__wrapper{
        padding: 32px 20px;
    }
    .modal__title{
        font-size: 21px;
    }
    .styled-checkbox + label{
        br{
            display: none;
        }
    }
    .premium-payment .modal-content{
        width: 95%;
    }
    .premium-payment__descr{
        padding: 0 19px;
    }
    .premium-payment__list{
        padding: 20px;
    }
    .premium-payment .modal__title{
        width: 350px;
        justify-content: flex-start;
    }
    .premium-payment__info{
        width: calc(100% - 40px);
    }
    .reviews-more__link{
        position: static;
        width: 100%;
        margin-top: 12px;
    }
    .premium-payment .close{
        top: -7px;
    }
    .premium-payment__item p{
        font-size: 14px;
    }
    .premium-payment__list{
        padding: 20px 14px;
    }
    .premium-payment__descr{
        padding: 20px 14px;
    }
    .premium-payment .modal__wrapper{
        max-height: 93dvh;
    }
    .premium-payment__descr .styled-checkbox:checked + label::after{
        left: 4px;
        top: 5px;
    }
    .modal .wrap button{
        width: 49%;
        font-size: 16px;
    }
    .generation .modal-content{
        width: 95%;
    }
    .generation__item p{
        display: none;
    }
    .generation__item{
        padding: 16px;
    }
    .generation__item-name{
        font-size: 14px;
    }
    .generation__item svg{
        min-width: 50px;
        height: 50px;
    }
    .generation__item-name{
        margin-bottom: 0;
    }
    .generation__item{
        gap: 16px;
    }
    .premium-payment .premium-payment__descr{
        display: flex;
        flex-direction: column;
    }
   
    .premium-payment .modal__title{
        display: inline;
    }
    .presentation-plan .close, .generation .close{
        top: -7px;
    }
}

@media (max-width: 362px){
    .modal .wrap{
        flex-direction: column;
        gap: 16px;
    }
    .modal .wrap button{
        width: 100%;
    }
}