* {
    box-sizing: border-box;
}

.order-wrapper p, .order-wrapper a, .order-wrapper b {
    color:#1A1A1A;
    font-family: 'Proxima Nova';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.order-wrapper b {
    font-style: bold;
    font-weight: 700;
}

a.order-link {
    color:#2CAD42;
    text-decoration-line: underline;
    cursor: pointer;
}

.text-muted {
    color: #6c6c6c !important;
}

.text-danger {
    color: #F93232 !important;
    font-weight: 700 !important;
}

.text-success {
    color: #2CAD42 !important;
    font-weight: 700 !important;
}

.text-bold {
    font-weight: 700 !important;
}

.service-title {
    margin-right: 16px;
}

h1, h2, h3 {
    color: #1A1A1A;
    font-family: 'Proxima Nova';
    font-weight: 700;
    font-style: normal;
    line-height: 130%;
}

h1 { font-size: 40px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }

.mb-8  { margin-bottom: 8px  !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-64 { margin-bottom: 64px !important; }

.mt-24 { margin-top: 24px !important; }

.my-content-separator { margin: 40px 0 0 0; }

.order-wrapper .order-content:not(:last-child) {
    margin-bottom: 40px;
}

.forms__input {
    height: 55px;
    width: 283px;

    font-size: 18px;
}

.forms__input.input-underline {
    border-top: none;
    border-left: none;
    border-right: none;
}

.forms__input.input_disabled {
    background: #fff;
    border-color: #eee;
    color: #ddd;
}

.forms__input.input_disabled::placeholder {
    color: #ddd;
    opacity: 1;
}

.login-input-wrapper {
    width: calc(50% - 16px);
    position: relative;
}

.login-input-wrapper input {
    width: 100% !important;
}

.login-input-wrapper .forms__error-message {
    width: 100%;
}

.btn {
    font-size: 18px;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 16px 32px;
    transition: color .3s ease, background .3s ease;
    border: 1px solid #2cad42;
}

.btn.btn-gray {
    color: #6c6c6c;
    background: #F0F0F0;
    border: 1px solid #F0F0F0;
}

.btn.btn-disabled {
    color: #eee;
    background: #A1CBA8;
    border: 1px solid #A1CBA8;
    cursor: not-allowed;
}

.btn[disabled="disabled"] {
    pointer-events: none;
}

.upper-phone-block {
    width: 100%;

    display: flex;
    flex-direction: row;
    align-items: center;
}

.upper-phone-block > *:not(:last-child) {
    margin-right: 16px;
}

.order-wrapper {
    width: 100%;
    height: auto;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.order-content {
    width: 80%;
    border: 1px solid #D8D8D8;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: flex-start;

    padding: 40px 56px;
}

.order-content.no-outline {
    border: none;
}

.order-content-section {
    width: 100%;
}

.main-order-title {
    margin-bottom: 24px;
}

.user-form {
    width: 50%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.user-form .login-input-wrapper {
    width: calc(50% - 16px);
}

.user-form .login-input-wrapper:nth-child(1n) {
    margin-right: 16px;
}

.user-form .login-input-wrapper:nth-child(-n + 2) {
    margin-bottom: 24px;
}

.delivery-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.delivery-header .taxi-img {
    width: 44px;
    height: 44px;
    margin-right: 16px;
}

.delivery-header .your-city {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.delivery-header .your-city .order-link {
    margin-left: 16px;
}

.delivery-header .express-delivery {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.express-delivery .express-info {
    margin-right: 16px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #c2c2c2;
    transition: all easease-in-out .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: -1px;
    bottom: 0px;
    border: 1px solid #2cad42;
    transition: all ease-in-out .4s;
}

.switch input:checked + .slider {
  background: #2cad42;
}
.switch input:checked + .slider:before {
    /* border: 6px solid #2cad42; */
    transform: translateX(26px);
    background: #fff;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.delivery-type-selector {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.delivery-type-selector .select-btn:not(:last-child) {
    margin-right: 16px;
}

.select-btn {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;

    display: flex;
    width: 100%;
    padding: 16px 32px;
    align-items: center;
    border: 1px solid #C2C2C2;
    background: #FFF;
    color: #1A1A1A;

    max-height: 53px;

    transition: color, border, background-color ease-in-out .4s;
}

.select-btn.active {
    background-color: #2cad42;
    border: 1px solid #2cad42;
    color: #fff;
}

.shop-checkmark {
    display: block;
    position: relative;
    padding-left: 48px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

.shop-checkmark input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: none;
    border: 1px solid #6c6c6c;
    border-radius: 4px;
    padding: 4px;
}

.shop-checkmark input:checked ~ .checkmark {
    background-color: #2cad42;
    border: none;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.shop-checkmark input:checked ~ .checkmark:after {
    display: block;
}

.shop-checkmark .checkmark:after {
    transform: scale(1);
    content: url("/dev/order/assets/check.svg");
}

.shop-block {
    margin-bottom: 24px;
}

.shop-block .goods {
    margin-left: 48px;
}

.goods .goods-short {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.goods .goods-short p {
    margin-right: 16px;
}

.shop-block-product {
    margin: 16px 0 16px 48px;
    height: 95px;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    justify-content: flex-start;
    align-items: flex-start;
}

.shop-block-product > * {
    height: 70%;
}

.shop-block-product > *:not(:last-child) {
    margin-right: 16px;
}

.shop-block-product .product-image {
    background-image: url("/dev/order/assets/product.jpeg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 100%;
    width: 100%;
    max-width: 115px;
}

.shop-block-product .product-name {
    max-width: 100%;
}

.shop-block-product .product-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.products-between {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
}

.products-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
}

.product-inavailable-container {
    padding: 18px;
    border: 1px dashed #C2C2C2;
    margin: 0 0 18px;
}

.product-inavailable-yandex {
    margin-top: 18px;
}

.product-inavailable-container .shop-block-product {
    margin: 16px 0 16px 16px;
    height: 80px;
}
.product-inavailable-container .product-image {
    max-width: 70px;
    max-height: 70px;
}

.product-inavailable__title {
    color: red;
    font-weight: 600;
}

p.product-message {
    font-weight: 700 !important;
}

.payment-type-selector {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.payment-type-selector .select-btn:not(:last-child) {
    margin-right: 16px;
}

.payment-type-selector .select-btn {
    max-width: calc(33.33% - 16px);
}


.payment-additional {
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    justify-content: flex-start;
    align-items: flex-end;
}

.payment-additional > *:not(:last-child) {
    margin-right: 16px;
}

.payment-promo #payment-promo-input {
    margin-right: 16px;
}

.payment-promo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.payment-promo-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.promo-online-avialible {
    margin-bottom: 8px;
}

.payment-bonuses {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
}

.payment-bonuses #bonuses-input {
    margin-right: 16px;
}

.payment-bonuses .bonuses-amount {
    margin-bottom: 8px;
}

.userdata-form {
    width: 70%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.userdata-form .forms__input:nth-child(1n) {
    margin-right: 16px;
}

.userdata-form .forms__input {
    width: calc(50% - 16px);
    margin-bottom: 24px;
}

.forms__input.textarea {
    width: 100%;
    padding: 16px;
    height: 200%;
}

.check-list {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.check-list .check-item {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.check-list .check-item:not(:last-child) {
    margin-bottom: 24px;
}

.check-list hr {
    width: 100%;
    border-color: #2cad42;
}

.delivery-service-selector {
    display: flex;
    flex-direction: column;
}

.pickup-services {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.other-services {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.other-services .service {
    width: calc(50% - 8px);
}

.other-services .service:nth-child(1) {
    margin-right: 16px;
}

.pickup-services .service {
    width: calc(50% - 8px);
    display: flex;
    flex-direction: column;
}

.pickup-services .service .order-link {
    margin-top: 8px;
}

.pickup-services .service:nth-child(1) {
    margin: 0 16px 16px 0;
}

.pickup-services .service:nth-child(2) {
    margin-bottom: 16px;
}

.delivery-adress {
    display: flex;
    flex-direction: column;
}

.delivery-adress > *:not(:last-child) {
    margin-bottom: 24px;
}

#yandex-adress {
    width: calc(50% - 8px);
}

.yandex-adress-inputs {
    width: 50%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.yandex-adress-inputs .forms__input {
    width: calc(33% - 12px);
}

.yandex-adress-inputs .forms__input:not(:last-child) {
    margin-right: 16px;
}

.reservation-text {
    margin-top: 16px;
}

.order-block-loader {
    width: 100%;
    height: 150px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.order-block-loader img {
    width: 70px;
    height: 70px;
}

.your-city.change {
    display: flex;
    flex-direction: row;
    width: calc(50% - 8px);
    justify-content: flex-start;
    align-items: center;
}

.your-city.change .btn {
    margin-left: 8px;
    padding: 16px 21px !important;
}

.your-city.change .btn.btn-cancel {
    background: #8d9498;
    border-color: #8d9498;
}

.your-city.change .bx-sls {
    width: 100%;
}

.bx-sls input[type="text"] {
	height: 51px;
	width: 100%;
	font-size: 16px;
}

.order-box {
    position: relative;
}

.order-box .order-loader {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.75);
}

.order-box .order-loader img {
    width: 80px;
}

.order-box .order-error {
    margin-top: 16px;
    color: red;
    font-family: 'Proxima Nova';
    font-size: 12px;
    line-height: 130%;
}

@media only screen and (min-device-width: 1366px) and (max-width: 1920px) {
    h1 { font-size: 32px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }

    .my-content-separator { margin: 40px 0; }

    .switch {
        width: 48px;
        height: 24px;
    }

    .slider:before {
        width: 22px;
        height: 22px;
    }

    .switch input:checked + .slider {
      background: #2cad42;
    }
    .switch input:checked + .slider:before {
        /* border: 6px solid #2cad42; */
        transform: translateX(26px);
        background: #fff;
    }

    .order-wrapper p, .order-wrapper a, .order-wrapper b,
    .btn, .forms__input, .select-btn, .shop-checkmark { font-size: 16px; }

    .checkmark {
        width: 20px;
        height: 20px;
        padding: 2px !important;
    }

    .checkmark:after { transform: scale(0.9) !important; }

    .forms__input {
        height: 53px !important;
    }

    .forms__input.textarea {
        height: 100px !important;
    }

    .btn {
        padding: 16px 40px !important;
    }

    .order-box .order-error {
        font-size: 14px;
    }
}

@media only screen and (min-device-width: 1000px) and (max-width: 1366px) {
    h1 { font-size: 24px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; }

    .my-content-separator { margin: 32px 0; }

    .order-wrapper p, .order-wrapper a, .order-wrapper b,
    .btn, .forms__input, .select-btn, .shop-checkmark { font-size: 14px; }

    .switch {
        width: 48px;
        height: 24px;
    }

    .slider:before {
        width: 22px;
        height: 22px;
    }

    .switch input:checked + .slider:before {
        /* border: 6px solid #2cad42; */
        transform: translateX(26px);
    }

    .checkmark {
        width: 18px;
        height: 18px;
        padding: 1px !important;
    }

    .checkmark:after { transform: scale(0.8) !important; }

    .forms__input {
        height: 50px !important;
    }

    .btn {
        padding: 16px 40px !important;
    }

    .payment-promo {
        margin-bottom: 16px;
    }
}

@media only screen and (min-device-width: 380px) and (max-width: 1000px) {
    .order-content {
        width: 95%;
        padding: 32px !important;
    }

    .my-content-separator { margin: 24px 0; }

    h1 { font-size: 20px; }
    h2 { font-size: 14px; }
    h3 { font-size: 13px; }

    .order-wrapper p, .order-wrapper a, .order-wrapper b,
    .btn, .forms__input, .select-btn, .shop-checkmark { font-size: 12px; }

    .payment-type-selector .select-btn {
        max-width: 100%;
    }

    .your-city.change {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }
    .your-city.change .btn {
        margin: 0 !important;
        width: 100%;
    }
    .bx-sls input[type="text"] { font-size: 12px; }
    .bx-sls { width: 100%; margin-bottom: 16px;}

    #yandex-adress {
        width: 100%;
    }

    .yandex-adress-inputs {
        width: 100%;
    }

    .switch {
        width: 32px;
        height: 16px;
    }

    .slider:before {
        width: 14px;
        height: 14px;
    }

    .switch input:checked + .slider:before {
        /* border: 4px solid #2cad42; */
        transform: translateX(17px);
    }

    .forms__input {
        height: 48px !important;
    }

    .btn {
        padding: 16px 32px !important;
    }

    .checkmark {
        width: 14px;
        height: 14px;
        padding: 0 !important;
    }

    .checkmark:after { transform: scale(0.6) !important; }

    .pickup-services, .other-services { flex-direction: column; }
    .pickup-services .service, .other-services .service { width: 100%; }
    .pickup-services .service:not(:last-child), .other-services .service:not(:last-child) { margin: 0 0 20px 0 !important; }

    .upper-phone-block {
        flex-wrap: wrap;
    }

    .upper-phone-block .forms__input, .upper-phone-block .btn {
        margin-bottom: 18px;
    }

    .user-form {
        width: 100%;
    }

    .user-form .forms__input {
        margin: 0 0 18px 0 !important;
        width: 100%;
    }

    .delivery-header {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .delivery-header .your-city {
        margin-bottom: 24px;
    }

    .delivery-type-selector {
        flex-direction: column;
    }

    .delivery-type-selector .select-btn:not(:last-child) {
        margin-bottom: 16px;
    }

    .payment-type-selector {
        flex-direction: column;
    }

    .payment-type-selector .select-btn:not(:last-child) {
        margin-bottom: 16px;
    }

    .payment-additional {
        display: block;
    }

    .payment-promo, .payment-bonuses, .payment-promo-wrapper {
        margin: 0 !important;
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-additional .payment-promo {
        margin-bottom: 24px !important;
    }

    .payment-additional .forms__input {
        margin-bottom: 8px;
    }

    .userdata-form {
        width: 100%;
        flex-direction: column;
    }

    .userdata-form .forms__input {
        width: 100%;
    }

    .check-list {
        width: 100%;
    }
}

@media only screen and (min-device-width: 320px) and (max-width: 380px) {
    .order-content {
        width: 95%;
        padding: 24px 23px !important;
    }

    .my-content-separator { margin: 24px 0; }

    h1 { font-size: 16px; }
    h2 { font-size: 10px; }
    h3 { font-size: 9px; }

    .order-wrapper p, .order-wrapper a, .order-wrapper b,
    .btn, .forms__input, .select-btn, .shop-checkmark { font-size: 8px; }

    .payment-type-selector .select-btn {
        max-width: 100%;
    }

    .your-city.change {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }
    .your-city.change .btn {
        margin: 0 !important;
        width: 100%;
    }
    .bx-sls input[type="text"] { font-size: 8px; }
    .bx-sls { width: 100%; margin-bottom: 16px;}

    #yandex-adress {
        width: 100%;
    }

    .yandex-adress-inputs {
        width: 100%;
    }

    .switch {
        width: 32px;
        height: 16px;
    }

    .slider:before {
        width: 14px;
        height: 14px;
    }

    .switch input:checked + .slider:before {
        /* border: 4px solid #2cad42; */
        transform: translateX(17px);
    }

    .forms__input {
        height: 34px !important;
        padding: 12px !important;
    }

    .btn {
        padding: 12px 24px !important;
    }

    .checkmark {
        width: 14px;
        height: 14px;
        padding: 0px !important;
    }
    .checkmark:after { transform: scale(0.6) !important; }

    .pickup-services, .other-services { flex-direction: column; }
    .pickup-services .service, .other-services .service { width: 100%; }
    .pickup-services .service:not(:last-child), .other-services .service:not(:last-child) { margin: 0 0 16px 0 !important; }

    .upper-phone-block {
        flex-wrap: wrap;
    }

    .upper-phone-block .forms__input, .upper-phone-block .btn {
        margin-bottom: 18px;
    }

    .user-form {
        width: 100%;
    }

    .user-form .forms__input {
        margin: 0 0 18px 0 !important;
        width: 100%;
    }

    .delivery-header {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .delivery-header .your-city {
        margin-bottom: 24px;
    }

    .delivery-type-selector {
        flex-direction: column;
    }

    .delivery-type-selector .select-btn:not(:last-child) {
        margin-bottom: 16px;
    }

    .payment-type-selector {
        flex-direction: column;
    }

    .payment-type-selector .select-btn:not(:last-child) {
        margin-bottom: 16px;
    }

    .payment-additional {
        display: block;
    }

    .payment-promo, .payment-bonuses {
        margin: 0 !important;
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-additional .payment-promo {
        margin-bottom: 24px !important;
    }

    .payment-additional .forms__input {
        margin-bottom: 8px;
    }

    .userdata-form {
        width: 100%;
        flex-direction: column;
    }

    .userdata-form .forms__input {
        width: 100%;
    }

    .check-list {
        width: 100%;
    }
}
