@charset "utf-8";

.basket-container {
    display: flex;
    height: 100%;
    min-height: 390px;
}

.basket-container[column] {
    flex-direction: column;
    align-items: center;
}

.basket-list {
    width: 100%;
}

.basket-pharmacy {
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    background: white;
}

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

.basket-pharmacy-title {
    background: var(--dark-gray-color);
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: margin .5s;
    flex-direction: row-reverse;
}

.basket-pharmacy-title[err] {
    background-color: #840d0d;
}

.basket-pharmacy-title-info,
.basket-pharmacy-title-info[but] {
    font-size: 18px;
    line-height: 1;
    background-color: #FFFFFF30;
    padding: 6px 12px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.basket-pharmacy-title-name {
    margin-bottom: 5px;
}

.basket-pharmacy-title-info[choose-but] {
    cursor: pointer;
}

.basket-pharmacy-title-name[choose-but] {
    margin-bottom: 0;
}

.basket-pharmacy-title-time {
    font-size: 12px;
    color: var(--footer-color);
}

.basket-pharmacy-title[all-at-once="true"] {
    margin-bottom: 40px;
}

.basket-pharmacy-title[all-at-once="true"] .basket-pharmacy-title-all {
    display: flex;
}

.basket-pharmacy-title[all-at-once="false"] .basket-pharmacy-title-all {
    display: none;
}

.basket-pharmacy[all-at-once] .basket-pharmacy-title-all {
    background: var(--orange-color);
    color: white;
}

.basket-pharmacy-title-all {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 40px;
    justify-content: space-between;
    align-items: center;
    background: var(--footer-color);
    color: var(--dark-gray-color);
    padding: 0 10px;
    transition: background .5s, color .5s;
}

.basket-pharmacy-title-all-text {
    text-align: center;
}

.basket-pharmacy-title-all-text:before {
    content: "Будет создано 2 заказа: на " attr(open) " и на " attr(delivery);
}

.basket-pharmacy[all-at-once] .basket-pharmacy-title-all-text:before {
    content: "Будет создан 1 заказ: на " attr(delivery);
}

.basket-pharmacy-title-all-but {
    display: flex;
}

.basket-pharmacy-title-all-but:before {
    content: "";
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border-radius: 2px;
    border: 1px solid;
    background: white;
}

.basket-pharmacy[all-at-once] .basket-pharmacy-title-all-but:before {
    background: white url(/public/img/check.svg) center no-repeat;
}

.basket-pharmacy-title-del {
    display: flex;
    font-size: 30px;
    line-height: 30px;
    width: 30px;
}

.basket-pharmacy-elements {
    padding: 16px;
}

.basket-pharmacy-elements>div {
    margin-bottom: 16px;
}

.basket-pharmacy-elements>div:last-child {
    margin-bottom: 0px;
}

.basket-pharmacy-elements-order {
    font-size: 18px;
    text-align: center;
    padding: 20px 0;
}

.basket-pharmacy-elements-provider-title,
.basket-pharmacy-elements-pharmacy-title {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.basket-pharmacy-elements-provider-title:before,
.basket-pharmacy-elements-pharmacy-title:before {
    flex: none;
    padding: 0px 16px 0 28px;
}

.basket-pharmacy-elements-provider-title:after,
.basket-pharmacy-elements-pharmacy-title:after {
    content: "";
    width: 100%;
    height: 4px;
    display: block;
    border-radius: 2px;
}

.basket-pharmacy-elements-pharmacy-title:before {
    content: "Будет готов " attr(open);
    background: url(/public/img/el-in-pharmacy.svg) left no-repeat;
}

.basket-pharmacy-elements-pharmacy-title:after {
    background: var(--green-color);
}

.basket-pharmacy-elements-provider-title:before {
    content: "Будет готов до " attr(delivery);
    background: url(/public/img/el-provider-clock.svg) left no-repeat;
}

.basket-pharmacy[holi] .basket-pharmacy-elements-pharmacy-title:before,
.basket-pharmacy:not([open="Сегодня"]) .basket-pharmacy-elements-pharmacy-title:before {
    background: url(/public/img/el-provider-clock.svg) left no-repeat;
}

.basket-pharmacy-elements-provider-title:after {
    background: var(--orange-color);
}

.basket-pharmacy[holi] .basket-pharmacy-elements-pharmacy-title:after,
.basket-pharmacy:not([open="Сегодня"]) .basket-pharmacy-elements-pharmacy-title:after {
    background: var(--orange-color);
}

.basket-pharmacy-elements .el {
    border-bottom: 1px solid var(--background-color);
    border-radius: 0;
}

.basket-pharmacy-elements .el-img {
    width: 100px;
    height: 100px;
}

.basket-pharmacy-elements .el:first-child .el-body {
    padding-top: 0;
}

.basket-pharmacy-elements .el-head {
    display: none;
}

.basket-pharmacy-elements .el-body {
    padding: 16px 0;
    column-gap: 10px;
    grid-template-columns: 100px 1fr 120px;
}

.el-favorite {
    right: 135px !important;
}

.basket-pharmacy-elements .el:last-child .el-body {
    padding: 16px 0 !important;
}

.basket-pharmacy-elements .el:last-child .el-body[employee] {
    padding-bottom: 0 !important;
}

.basket-pharmacy-elements .el-name {
    font-size: 14px;
    line-height: 16px;
}

.basket-pharmacy-elements .el-manufacturer {
    font-size: 12px;
}

.basket-pharmacy-elements .el-availability {
    background: white;
    padding: 0;
    cursor: default;
}

.basket-pharmacy-elements-pharmacy .el-basket[ba-ph] {
    background: var(--green-color);
}

.basket-pharmacy-elements-provider .el-basket[ba-pr] {
    background: var(--orange-color);
}

.basket-pharmacy:not([open="Сегодня"]) .basket-pharmacy-elements-pharmacy .el-basket {
    background: var(--orange-color);
}


.basket-pharmacy[all-at-once] .basket-pharmacy-elements-pharmacy {
    display: none;
}

.el-availability>div {
    display: none;
}

.basket-pharmacy-elements-pharmacy .basket-in-pharmacy {
    display: block;
    color: var(--green-color);
    margin-right: 20px;
}

.basket-pharmacy[holi] .basket-pharmacy-elements-pharmacy .basket-in-pharmacy,
.basket-pharmacy:not([open="Сегодня"]) .basket-pharmacy-elements-pharmacy .basket-in-pharmacy {
    color: var(--orange-color);
}

.basket-pharmacy-elements-provider .basket-in-provider {
    display: block;
    color: var(--orange-color);
    order: 1;
}

.basket-pharmacy-elements .basket-in-pharmacy:before {
    content: attr(open) " " attr(count) " шт.";
}

.basket-pharmacy[holi] .basket-pharmacy-elements .basket-in-pharmacy:before {
    content: attr(date) " " attr(count) " шт.";
}

.basket-pharmacy[open="Завтра"] .basket-pharmacy-elements .basket-in-pharmacy:before {
    content: attr(open) " " attr(count) " шт.";
}

.basket-pharmacy-elements .basket-in-provider:before {
    content: "Ожидание до " attr(date)" " attr(count)" шт.";
}

.basket-pharmacy-elements .el:last-child {
    border: none;
}

.basket-pharmacy-elements .el-price {
    margin-bottom: 0;
}

.basket-pharmacy-elements .el-footer {
    display: none;
}

.basket-pharmacy-elements .el-basket:before {
    display: none;
}

.basket-pharmacy-elements-pharmacy-sber-pay[none],
.basket-pharmacy-elements-provider-sber-pay[none] {
    display: none;
}

.basket-pharmacy-elements-pharmacy-sber-pay,
.basket-pharmacy-elements-provider-sber-pay {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #08A652;
    color: white;
    padding: 10px;
    border-radius: 2px;
    margin-top: 16px;
    cursor: pointer;
    font-size: 16px;
}

.basket-pharmacy-elements-pharmacy-sber-pay[wait],
.basket-pharmacy-elements-provider-sber-pay[wait] {
    background: darkgray;
    cursor: wait;
}

.basket-pharmacy-elements-pharmacy-sber-pay-but,
.basket-pharmacy-elements-provider-sber-pay-but {
    display: flex;
}

.basket-pharmacy-elements-pharmacy-sber-pay-but:before,
.basket-pharmacy-elements-provider-sber-pay-but:before {
    content: "";
    background: no-repeat url(/public/img/Online_pay.svg);
    width: 16px;
    height: 16px;
    display: block;
    margin: -1px 10px 0px 4px;
    background-size: contain;
}

.basket-pharmacy-elements-pharmacy-sber-pay-sum,
.basket-pharmacy-elements-provider-sber-pay-sum {
    font-size: 20px;
    display: flex;
    align-items: baseline;
    padding-right: 20px;
}

.basket-pharmacy-elements-pharmacy-sber-pay-sum:before,
.basket-pharmacy-elements-provider-sber-pay-sum:before {
    content: "Сумма заказа:";
    margin-right: 6px;
    font-size: 14px;
}

.basket-form {
    margin-left: 20px;
    flex: none;
    width: 250px;
}

.basket-form-container {
    position: sticky;
    width: 250px;
    top: 156px
}

.basket-form-title {
    text-align: center;
    font-size: 16px;
    line-height: 1;
    height: 62px;
    background: var(--dark-gray-color);
    color: white;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.basket-form-title-sum {
    display: flex;
}

.basket-form-employee {
    display: flex;
    align-items: baseline;
    margin-top: 5px;
}

.basket-form-employee-title {
    font-size: 12px;
    margin-right: 10px;
}

.basket-form-title-count {
    margin-right: 10px;
}

.basket-form-title-count:after {
    content: " шт. "
}

.basket-form-title-price {
    position: relative;
}

.basket-form-clear {
    background: #d5e8eb;
    height: 40px;
}

.basket-form-order {
    padding: 16px;
    background: white;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.basket-form-name,
.basket-form-phone {
    background: var(--background-color);
    border-radius: 2px;
    height: 30px;
    border: 1px solid var(--background-color);
    overflow: hidden;
}

.basket-form-name {
    margin-bottom: 16px;
}

.basket-form-name input,
.basket-form-phone input {
    padding-left: 10px;
    width: 100%;
}

.basket-form-but {
    background: var(--green-color);
    color: white;
    line-height: 2.5;
}

.basket-form-sber-pay,
.basket-form-bonuses-pay {
    justify-content: space-between;
    margin-top: 10px;
}

.basket-form-sber-pay[hide] {
    display: none;
}

.info-privacy-basket {
    margin-top: 10px;
}

.basket-form-sber-pay-toggle,
.basket-form-bonuses-pay-toggle {
    width: 40px;
    height: 20px;
    background: var(--light-gray-color);
    display: inline-flex;
    margin-left: 10px;
    border-radius: 10px;
    position: relative;
    transition: background .5s;
}

.basket-form-sber-pay-toggle:after,
.basket-form-bonuses-pay-toggle:after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 10px;
    background: white;
    transition: left .5s;
}

.basket-form-sber-pay[select] .basket-form-sber-pay-toggle,
.basket-form-bonuses-pay[select] .basket-form-bonuses-pay-toggle {
    background: var(--green-color);
}

.basket-form-sber-pay[select] .basket-form-sber-pay-toggle:after,
.basket-form-bonuses-pay[select] .basket-form-bonuses-pay-toggle:after {
    left: 24px;
}

.basket-form-max-sum {
    text-align: center;
    background: #455a64;
    color: white;
    padding: 20px 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    display: none;
}

.basket-form-max-sum[show] {
    display: block;
}

.basket-form-extra {
    /*position: absolute;*/
    /*top: calc(100% + 20px);*/
    /*left: 0;*/
    /*right: 0;*/
}

.form-extra-delivery:before,
.form-extra-pay:before,
.form-extra-clear:before {
    content: "";
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 16px;
    margin-right: 10px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-align: right;
}

.form-extra-delivery {
    background: var(--orange-color);
}

.form-extra-delivery:before {
    background-image: url(/public/img/basket-delivery.svg);
}

.form-extra-pay {
    background: var(--dark-gray-color);
}

.form-extra-pay:before {
    background-image: url(/public/img/basket-pay.svg);
}

.form-extra-clear {
    background: var(--light-gray-color);
}

.form-extra-clear:before {
    content: "x";
}

.form-extra-delivery,
.form-extra-pay,
.form-extra-clear {
    line-height: 2.5;
    color: white;
}

.order-list {
    font-size: 20px;
    line-height: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.order {
    background: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    overflow: hidden;
    width: 350px;
    margin-bottom: 20px;
}

.order-number {
    cursor: default;
}

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

.order-a:after {
    content: "Принят";
    display: block;
    margin: 10px -20px -10px -20px;
    text-align: center;
    background: var(--orange-color);
    color: white;
}

.basket-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    line-height: 100px;
}

.basket-empty:before {
    content: "";
    background: url(/public/img/basket-empty.svg) center no-repeat;
    width: 200px;
    height: 200px;
}

.basket-empty:after {
    content: "Ваша корзина пуста";
}

/*
#sber-frame {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #00000094;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}
#sber-frame iframe {
    width: 500px;
    height: 700px;
    border: 0;
    border-radius: 4px;
}
*/

.image-link {
    display: block;
}

.basket-element-choose-map[open] {
    display: flex;
}

.basket-element-choose-map {
    display: none;
    position: fixed;
    color: var(--dark-gray-color);
    z-index: 101;
    cursor: default;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
}

.basket-element-choose-map:before {
    content: "";
    background: var(--dark-gray-color);
    opacity: 50%;
    position: absolute;
    width: 100%;
    height: 100%;
}

.basket-element-choose-map-block {
    width: 900px;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.basket-element-choose-map-container {
    width: 900px;
    display: flex;
    background: white;
    z-index: 1;
    overflow: hidden;
    position: relative;
    height: 90vh;
    border-radius: 0px 0px 4px 4px;
    justify-content: flex-end;
}

.basket-element-map {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 415px;
}

.basket-element-map-pharmacy-list {
    width: 415px;
}

.pharmacy-popup-container-header {
    line-height: 40px;
    border-radius: 4px 4px 0 0;
}

.basket-element-map-pharmacy-list {
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background-color: #EFF5F6;
    overflow: auto;
}

.basket-choose-map-pharmacy {
    background-color: white;
    font-size: 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid;
    border-radius: 5px;
}

.basket-choose-map-another {
    color: #97A4AA;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.basket-choose-map-another .title {
    z-index: 2;
    background: #EFF5F6;
    padding: 0px 20px;
}

.basket-choose-map-another .line {
    position: absolute;
    width: 100%;
    border-top: 1px solid;
    z-index: 1;
}

.basket-choose-map-pharmacy-amounts {
    display: flex;
    margin-top: 24px;
    padding: 0 20px;
}

.basket-choose-map-pharmacy-amounts > div {
    background-color: #EFF5F6;
    line-height: 1;
    padding: 10px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    border-radius: 2px;
}

.basket-choose-map-pharmacy-amounts-pharmacy {
    color: var(--green-color);
}

.basket-choose-map-pharmacy-amounts-provider {
    color: var(--orange-color);
}

.basket-choose-map-pharmacy-amounts[margin] > div:not(:last-child) {
    margin-right: 10px;
}

.basket-choose-map-pharmacy-title {
    font-weight: bold;
    padding: 20px 20px 0 20px;
}

.basket-choose-map-pharmacy-choose {
    color: white;
    background-color: #455A64;
    line-height: 1;
    text-align: center;
    padding: 14px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 0 0 4px 4px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.basket-choose-map-pharmacy-choose-sum[employee] {
    display: flex;
    flex-direction: column;
    align-items: end;
    font-size: 12px;
}

.basket-choose-map-pharmacy-choose-employee {
    margin-top: 5px;
}

.basket-choose-map-pharmacy-choose-sum [price="cop"]:after {
    margin-bottom: -2px;
}

.basket-choose-map-pharmacy-choose[selected] {
    background: white;
    color: #455A64;
    border-top: 2px solid #EFF5F6;
    cursor: default;
}

.basket-choose-map-pharmacy-timing {
    font-size: 14px;
    margin-left: 20px;
    margin-top: 14px;
}

.basket-choose-map-pharmacy-timing[open] {
    color: #0B8E89;
}

.basket-choose-map-pharmacy-timing[close] {
    color: #f18656;
}

.basket-choose-map-pharmacy-break {
    font-size: 14px;
    margin-left: 20px;
    margin-top: 14px;
    color: #415B63;
}

.disclaimer .text {
    background-color: #d5e8eb;
    color: #455A64;
    height: 25px;
    display: flex;
    align-items: center;
    font-size: 13px;
    margin-bottom: 20px;
}

.disclaimer img {
    padding-left: 10px;
    padding-right: 10px;
}

.basket-form-employee-limits,
.basket-form-employee-discount {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.basket-form-employee[hide],
.basket-form-employee-discount[hide] {
    display: none;
}

.offer-package[show="true"] {
    display: flex;
    justify-content: start;
}

.offer-package {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-package:before {
    content: "";
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0e0e0ec4;
    opacity: 50%;
    z-index: 1;
    cursor: default;
}

.offer-package-window {
    width: 350px;
    height: 210px;
    background-color: white;
    z-index: 1;
    border-radius: 2px;
    color: #455A64;
    font-size: 20px;
    font-weight: 600;
}

.offer-package-window .body {
    display: flex;
    margin-top: 20px;
    padding: 0 40px 0 30px;
    justify-content: space-between;
}

.offer-package-window .title {
    height: 64px;
    background-color: #D5E8EB;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-package-window .price {
    display: flex;
    align-items: center;
}

.offer-package-window .price .cop {
    font-size: 12px;
}

.offer-package-window .price div {
    height: 19px;
}

.offer-package-window .price .cop {
    display: flex;
    align-items: end;
}

.offer-package-window .text {
    display: flex;
    height: 56px;
    align-items: center;
    font-size: 16px;
}

.offer-package-window .btns {
    margin-top: 20px;
    display: flex;
    height: 30px;
}

.offer-package-window .btn {
    margin-left: 36px;
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 2px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 400;
}

.offer-package-window .btn[yes] {
    background-color: var(--green-color);
}

.offer-package-window .btn[no] {
    background-color: #ACC5C9;
}

.offer-package-window img {
    height: 56px;
}

.text-for-employees {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    color: var(--green-color);
    margin-top: 15px;
}

.deleted-elements-block-element:not(:first-child) {
    margin-top: 10px;
}

.text-for-employees img {
    height: 75px;
    margin-left: 10px;
}

.order-deleted-elements-block {
    margin-top: 20px;
    background-color: white;
    width: 390px;
}

.order-deleted-elements-text {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    background-color: #D5E8EB;
}

.order-deleted-elements {
    padding: 10px 20px;
    cursor: default;
}

.order-deleted-elements-ps {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-top: 1px solid lightgrey;
}

.basket-form-title[bonuses] .basket-form-title-price:before {
    content: "";
    position: absolute;
    left: -2px;
    top: 46%;
    width: 105%;
    height: 1px;
    background: white;
}

.basket-form-bonuses-block {
    background-color: #d5e8eb;
    color: var(--dark-gray-color);
    padding: 8px;
    margin-top: 10px;
    border-radius: 4px;
}

.basket-form-bonuses-block .basket-form-employee-limits {
    margin-top: unset;
}

.basket-form-sber-pay[hide] {
    display: none;
}

.spravka-basket-title {
    font-size: 18px;
    text-align: center;
    line-height: 14px;
    background: #ffee9b;
    padding: 10px;
    border-radius: 4px;
}

.basket-form-bitrix-account-checkbox {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.basket-form-bitrix-account-checkbox-input {
    width: 15px;
    height: 15px;
}
