.payment-recipe {
    padding: 1.25rem 1.5rem;
    background: #F334341A;
    margin-bottom: 1rem;
    border-radius: .25rem;
    color: #F33434;
}

.payment-recipe__text {
    margin-bottom: 0.65rem;
    font-size: 0.75rem;
}

.payment-recipe .btn {
    background: #D65555;
    color: #fff;
    height: 2rem;
    width: 16.3rem;
    font-size: 0.8rem;
    border: none;
}

.payment-recipe .btn:hover {
    background: #F33434;
}


.payment-pharmacy {
    background: #f5f7fa;
    margin-bottom: 1rem;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    gap: 1.5rem;
}

.payment-pharmacy__text p {
    margin-top: 0.35rem;
    color: #7590C0;
}


.payment-pharmacy__btn.btn {
    font-size: 0.8rem;
    height: 1.9rem;
    width: 7.5rem;
    flex-shrink: 0;
}


.pharmacy-popup {
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    display: none;
}

.pharmacy-popup__content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 30rem;
    border-radius: .25rem;
    padding: 2rem 2rem 2.5rem;
}

.pharmacy-popup__close {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.65rem;
}

.pharmacy-popup__close img {
    width: 100%;
    display: block;
}

.pharmacy-popup__head {
    text-align: center;
    margin-bottom: 1rem;
}

.pharmacy-popup__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .7rem;
}

.pharmacy-popup__text {
    font-size: 0.75rem;
}

.pharmacy-popup__list {
    max-height: 30rem;
    overflow: auto;
    font-size: 0.75rem;
}

.pharmacy-popup__list::-webkit-scrollbar {
    width: .25rem;
}

.pharmacy-item {
    padding: 1rem 1.25rem;
    background: #f5f7fa;
    margin-bottom: 0.5rem;
}

.pharmacy-item:last-child {
    margin-bottom: 0;
}

.pharmacy-item__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.pharmacy-item__btn.btn {
    font-size: 0.8rem;
    height: 1.9rem;
    padding: 0 1rem;
    min-width: 4rem;
    flex-shrink: 0;
}

.pharmacy-item__name div {
    font-weight: 700;
}

.pharmacy-item__name p {
    color: #7590C0;
}

.pharmacy-item__list {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.pharmacy-item__list li {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.pharmacy-item__list p {
    color: #7590C0;
    flex-shrink: 0;
}


.recipe-popup {
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    display: none;
}


.recipe-popup__content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: .25rem;
    padding: 2rem;
}


.recipe-popup__main {
    width: 21rem;
    text-align: center;
}


.recipe-popup__title {
    font-size: 1rem;
    text-align: center;
    font-weight: 700;
    margin-bottom: 1.25rem;
}


.recipe-popup__choose {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin-bottom: 1.25rem;
}


.recipe-popup__choose li {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 1.6rem;
    width: 4.4rem;
    cursor: pointer;
    user-select: none;
    font-size: 0.7rem;
    border-radius: .25rem;
}

.recipe-popup__choose li:hover {
    color: #1F4B9A;
}

.recipe-popup__choose li.active {
    pointer-events: none;
    background: #1F4B9A;
    color: #fff;
}


.recipe-popup__tab {
    display: none;
}


.recipe-popup__tab:first-child {
    display: block;
}


.recipe-popup__form {
    width: 14rem;
    margin: 0 auto;
    font-size: 0.7rem;
}

.recipe-popup__form p {
    margin-bottom: 1.25rem;
}

.recipe-popup__form input {
    width: 100%;
    margin-bottom: 0.5rem;
    height: 1.9rem;
    display: block;
}


.recipe-popup__form .btn {
    width: 100%;
    height: 2.4rem;
    margin-top: 0.25rem;
    font-size: 0.8rem;
}


.recipe-popup__close.btn {
    width: 14rem;
    height: 2.4rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #1F4B9A;
    border-color: #1F4B9A;
}

.recipe-popup__close.btn:hover {
    background: #1F4B9A;
}


.recipe-popup__result {
    width: 26rem;
    font-size: 0.7rem;
    display: none;
}


.recipe-popup__info {
    margin-bottom: 1.25rem;
}

.recipe-popup__info li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.recipe-popup__info li:last-child {
    margin-bottom: 0;
}


.recipe-popup__info div:first-child {
    flex-shrink: 0;
}


.recipe-popup__info div:last-child {
    text-align: right;
    max-width: 9rem;
}

.recipe-popup__list {
    margin-bottom: 1.5rem;
}

.recipe-popup__list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 2.9rem;
    border-radius: .25rem;
    background: #f5f7fa;
    margin-bottom: 0.25rem;
    padding: 0 1.5rem;
}

.recipe-popup__list div:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.recipe-popup__list input {
    appearance: none;
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}

.recipe-popup__list input.disabled {
    pointer-events: none;
}

.recipe-popup__list input::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 1px;
    background: #1F4B9A url(../img/icons/check-blue.svg) center center no-repeat;
    background-size: contain;
    opacity: 0;
    transition: opacity .2s ease;
}

.recipe-popup__list input:checked {
    border-color: #1F4B9A;
}

.recipe-popup__list input:checked::after {
    opacity: 1;
}


.recipe-popup__btns {
    width: 23.5rem;
    margin: 0 auto;
}

.recipe-popup__btns .btn {
    width: 100%;
    height: 2.4rem;
    font-size: 0.8rem;
}


.recipe-change {
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    display: none;
}

.recipe-change__content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 30rem;
    border-radius: .25rem;
    padding: 2rem 2rem 2.5rem;
}

.recipe-change__btns .btn {
    width: 100%;
    height: 2.4rem;
    font-size: 0.8rem;
    margin-top: 1.2rem;
}

.recipe-change__close.btn {
    margin-top: 0.5rem;
    color: #1F4B9A;
    border-color: #1F4B9A;
}

.recipe-change__close.btn:hover {
    background: #1F4B9A;
}

.recipe-change__list{
    max-height: 21rem;
    overflow: auto;
    padding-right: 1rem;
    margin-right: -1rem;
}

.recipe-change__list::-webkit-scrollbar {
    width: .25rem;
}

.recipe-change__list .basket-item {
    margin-bottom: 0.5rem;
    border: none;
    padding: 0.5rem 0;
    justify-content: space-between;
}

.recipe-change__list .basket-item__left {
    width: 60%;
}

.recipe-change__list .basket-item__right {
    width: auto;
    text-align: right;
}

.recipe-change__list .basket-item__choose {
    height: 1.6rem;
    font-size: 0.8rem;
    width: auto;
    padding: 0 .8rem;
}

.account-tab__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.account-tab__head .account__title {
    margin-bottom: 0;
}

.account-recipe__add.btn {
    width: 10rem;
    height: 2rem;
    font-size: 0.8rem;

}

.account-recipe__item {
    margin-bottom: 0.25rem;
    background: #fff;
    border-radius: .25rem;
    padding: 0 1.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.account-recipe__item:last-child {
    margin-bottom: 0;

}

.account-recipe__item div {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.account-recipe__item .btn {
    flex-shrink: 0;
    font-size: 0.8rem;
    height: 1.6rem;
    padding: 0 0.75rem;
    min-width: 8.5rem;
    pointer-events: none;
    opacity: .5;
}

.account-recipe__item.active .btn {
    opacity: 1;
    pointer-events: all;
}

.basket-item__flex {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.basket-item__recipe {
    display: inline-flex;
    width: 1rem;
}

.basket-item__recipe img {
    width: 1rem;
}

.order-item__right {
    gap: 0.85rem;
}

.order-history .order-item__more {
    color: #7590C0;
}


.order-more__rate {
    position: absolute;
    width: 1.6rem;
    font-size: 0.8rem;
    padding: 0 1rem;
    min-width: 7.5rem;
    right: 0;
    top: -3rem;
}

.account-order__more {
    position: relative;
}

.order-rate  {
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    display: none;
}


.order-rate__content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: .25rem;
    padding: 2rem;
    width: 25rem;
    text-align: center;
}

.order-rate__close {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.65rem;
}

.order-rate__close img {
    width: 100%;
}

.order-rate__title {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}


.order-rate__stars {
    display: flex;
    gap: .75rem;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.order-rate__stars span {
    display: inline-flex;
    cursor: pointer;
    user-select: none;
    width: 2rem;
    color: #DEDEDE;
}

.order-rate__stars span.active {
    color: #FFC107;
}

.order-rate__stars svg {
    width: 2rem;
    height: auto;
}



.order-rate__choose {
    width: 14.5rem;
    margin: 0 auto;
    font-size: 0.7rem;
}

/*.order-rate__tab {*/
/*    display: none;*/
/*}*/

.order-rate__text {
    font-weight: 700;
    color: #1F4B9A;
    margin-bottom: 0.85rem;
}

.order-rate__item {
    margin-bottom: 0.25rem;
    cursor: pointer;
    user-select: none;
    transition: .3s all;
    border-radius: .25rem;
    border: 1px solid #ededed;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 1.8rem;
    width: 100%;
}

.order-rate__item:last-child {
    margin-bottom: 0;
}

.order-rate__item:hover {
    color: #1F4B9A;
}

.order-rate__item.active {
    border-color: #1F4B9A;
    pointer-events: none;
}

.order-rate__more div {
    cursor: pointer;
    user-select: none;
    transition: .3s all;
    border-radius: .25rem;
    border: 1px solid #ededed;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 1.8rem;
    width: 100%;
}

.order-rate__more div:hover {
    color: #1F4B9A;
}

.order-rate__more.active div {
    border-color: #1F4B9A;
    pointer-events: none;
}
.order-rate__more.active input {
    display: block;
}

.order-rate__more input {
    height: 1.8rem;
    width: 100%;
    margin-top: 0.25rem;
    display: none;
}

.order-rate__form {
    margin-top: 1rem;
    opacity: 0;
    transition: .2s all;
    visibility: hidden;
}

.order-rate__form.active {
    opacity: 1;
    visibility: visible;
}

.order-rate__form .btn {
    width: 14rem;
    height: 2.4rem;
    font-size: 0.8rem;
}




@media (max-width: 767.98px) {
    .payment-recipe {
        padding: 1rem;
    }

    .payment-recipe .btn {
        width: 100%;
    }

    .payment-pharmacy {
        padding: 1rem;
        flex-direction: column;
        gap: .75rem;
    }

    .payment-pharmacy__btn.btn {
        width: 100%;
        height: 2rem;
    }

    .pharmacy-popup__content {
        width: calc(100% - 2rem);
        padding: 2rem 1rem 1.5rem;
    }

    .pharmacy-popup__list {
        max-height: calc(100svh - 15rem);
    }

    .pharmacy-item {
        padding: 1rem;
    }

    .recipe-popup__content {
        padding: 1.5rem 1rem;
        width: calc(100% - 2rem);
    }

    .recipe-popup__main {
        width: 100%;
    }

    .recipe-popup__form {
        font-size: 0.8rem;
    }

    .recipe-popup__result {
        width: 100%;
        font-size: 0.8rem;
    }

    .recipe-popup__list li {
        padding: 0 .75rem;
    }

    .recipe-popup__list div:nth-child(2) {
        gap: .75rem;
    }

    .recipe-popup__btns {
        width: 100%;
    }

    .recipe-change__content {
        width: calc(100% - 2rem);
        padding: 1.5rem 1rem;
    }

    .recipe-change__list{
        max-height: calc(100svh - 20rem);
    }


    .recipe-change__list .basket-item {
        padding: 1.1rem 1.1rem 1.1rem 6.5rem;
    }

    .recipe-change__list .basket-item__left {
        width: 100%;
    }

    .recipe-change__list .basket-item__choose {
        margin-top: 0.5rem;
    }

    .account-recipe__item {
        height: auto;
        padding: 1rem;
        flex-direction: column;
        gap: 1.2rem;
    }

    .account-recipe__item > p {
        font-weight: 700;
    }

    .basket-item__recipe {
        position: absolute;
        right: 1rem;
        top: 2.5rem;
    }

    .order-more__rate {
        position: static;
        margin-bottom: 1rem;
    }

    .order-rate__content {
        width: calc(100% - 2rem);
        padding: 1.5rem 1rem;
    }

    .order-rate__text {
        font-size: 0.85rem;
    }

    .order-rate__choose {
        font-size: 0.8rem;
    }

    .order-rate__item, .order-rate__more div, .order-rate__more input {
        height: 2rem;
    }
}
