:root {
    --mp-bg: #f8f8f8;
    --mp-primary: #008c3a;
    --mp-secondary: #97c21a;
    --mp-tertiary: #ffd400;
    --mp-noactive: #aaaaaa;
    --mp-highlight: #873434;
    --mp-notification: #d73235;
    --mp-notification-hover: #b22528;
    --mp-link: #2c54bb;
    --mp-hover: #e6f4ec;
    --mp-btn-hover: #00692c;
    --mp-btn-disabled: #F5F5F5;
    --mp-statusgreen: #cce8d8;
    --mp-statusyellow: #fff3b3;
    --mp-statusflash: #ffd400;
    --mp-statusred: #f3c2c3;
    --mp-statusgrey: #dedede;
    --mp-white: #fdfdfd;
    --mp-black: #000000;
    --mp-accent: #008c3a;
    --mp-globalmw: 1840px;
    --mp-font-family: "Golos Text", Montserrat, sans-serif;
    --mp-font-fa: 'Font Awesome 5 Free';
    --mp-font-bi: 'bootstrap-icons';

    --mp-gray: #aaaaaa;
    --mp-gray-light: #f2f3f5;
    --mp-gray-border: #d6d6d6;
    --mp-gray-border-light: #eeeeee;
    --mp-gray-bg: #F5F5F5;
    --mp-gray-dark: #828282;
    --mp-gray-text: #616161;
    --mp-error: #dc3545;
    --mp-error-dark: #DB4437;
    --mp-blue: #4285F4;
    --mp-blue-dark: #2c54bb;
    --mp-orange: #ffaa55;
    --mp-orange-dark: #ff9329;
}

.cart-header {
    text-align: center;
    color: var(--mp-gray);
}

.food_button.active{
    background-color: var(--mp-primary);
}

.food_button:focus,
.food_button:hover,
.food_button:active{
    background-color: var(--mp-primary);
}

.deldel {
    font-size: 12px;
    color: var(--mp-gray);
}

.cart_items {
    text-align: center;
    font-size: 15px;
}

.cart-total {
    background: var(--mp-gray-light);
    color: #37404e;
    padding: 1.3rem 0px;
    border-radius: 4px;
}

.free-develery a{
    color: var(--mp-white);
    text-decoration: underline;
}

.free-develery span{
    background: var(--mp-white);
    color: var(--mp-blue);
}

.cart-process .cart-process-title {
    font-weight: 700;
    font-size: 17px;
}

.cart-buttons {
    margin: 0 auto;
}

.add_order {
    margin: 0 auto;
}

#ordercomfirm {
    margin: 0 auto;
}

.cart-buttons .cart-button {
    border: 1px solid var(--mp-gray-border);
    font-size: 15px;
    margin-bottom: 7.5px;
    margin-top: 7.5px;
    padding: 10px 10px;
    cursor: pointer;
    border-radius:4px;
}

.errors-pays-types {
    color: var(--mp-error);
}

.cart-buttons .cart-button:hover {
    opacity: 0.7;
}

.cart-buttons .cart-button .title {
    display: block;
    text-transform: none;
}

.cart-buttons .cart-button .commit {
    display: block;
    color: var(--mp-gray-dark);
    font-weight: normal;
    text-transform: none;
    font-size: 12px;
}

.cart-totals {
    text-align: center;
    font-weight: 20px;
}

.cart-totals .sum {
    font-size: 17px;
    margin-right: 25px;
    font-weight: 700;
}

.cart-totals .sum .value{
    color: var(--mp-gray-dark);
}

.cart-save {
    text-align: center;
}

.cart-item {
    border-bottom: 1px solid var(--mp-gray-border);
}

.cart-item img {
    max-width: 100%;
    max-height: auto;
    border-radius: 8px;
    transition: all 0.3s ease-in;
}

.cart-item img:hover {
    max-width: 100px;
    max-height: auto;
    border-radius: 8px;
    opacity: 0.8;
    transition: all 0.3s ease-in;
}

.cart-button.disabled {
    opacity: 0.3;
}

#map, .map {
    width: 100%;
    min-height: 300px;
}

.map .items-list {
    height: 380px;
    overflow-y: auto;
}

.map .items-list .item {
    padding: 10px;
    font-size: 12px;
    border: 1px solid var(--mp-white);
}

.map .items-list .item a {
    color: #262626;
}

.map .items-list .item.active .title {
    color: #009029;
    font-weight: bold;
}

.map .items-list .item .payments {
    margin-top: 5px;
}

.map .items-list .item .payments img {
    display: inline-block;
    width: 11px;
    margin-top: -4px;
}

.map .items-list .item .payments span {
    display: inline;
}

.map .items-list .item.active{
    border: 1px solid var(--mp-orange);
}

.map .items-list .item.active .title {
    color: #009029;
}

.time {
    margin-top: 5px;
    color: #999;
}

.oversized {
    color: var(--mp-error-dark);
    text-align: left;
    font-size: 13px;
}

.pays-types{
    margin-top: 20px;
}

.cart-buttons .active,
.pays-types .active{
    border-color: #0F9D58;
    background: none;
}

.map .city-search-box {
    height: 380px;
    overflow-y: auto;
}

.setPvz {
    height: 584px !important;
}

.sklad-icon-title {
    color: var(--mp-black);
    font-weight: bold;
    position: absolute;
    left: 40px;
    background: var(--mp-white);
    padding: 5px;
    border-radius: 5px;
    top: -15px;
    width: 150px;
    text-align: left;
}

.kd-time .dropdown-toggle {
    color: var(--mp-gray-dark);
    border: 1px solid #e6e8ea;
    border-color: var(--mp-gray-border);
}

.kd-time .dropdown-toggle::after {
    position: absolute;
    right: 10px;
    top: 17px;
}

.kd-time .dropdown-menu {
    width: 100%;
}

.kd-time .dropdown-item {
    display: block;
    float: left;
    border: 1px solid #e6e8ea;
    width: auto;
    clear: unset;
    margin: 5px;
    padding: 0px 20px;
    cursor: pointer;
    text-align: center;
}

.kd-time .dropdown-item.active {
    border-color: var(--mp-orange-dark);
}

.develery-item span.total {
    border-radius: 5px;
    margin: 0px;
    padding: 0px 7px;
}

.payments_text {
    margin-bottom: 20px;
    color: var(--mp-error-dark);
    text-align: left;
    font-size: 13px;
}

.count-input {
    border: 1px solid var(--mp-gray-border);
    display: inline-flex;
    width: auto;
    border-radius: 16px;
}

.count-input .input-nu {
    border: 0px;
    margin: 0px;
    background: none;
    color: #555;
    font-weight: 600;
}

.count-input .btn-number {
    background: none;
}

.count-input .btn-number:hover .fa{
    color: var(--mp-blue);
}

.count-input .btn-number .fa{
    color: #b9b9b9;
    font-size: 14px;
    line-height: unset;
}

#cart-page *:not(.fa) {
    font-family: 'Golos Text', sans-serif;
}



#cart-page h3,
#cart-page .cart-info h3 {
    font-size: 22px;
    color: var(--mp-black);
    font-weight: 600;
}

#cart-page .no_items,
#cart-page .cart-title {
    font-size: 26px;
    font-weight: 700;
}

#cart-page .cart_result,
#cart-page .cart-title>span {
    font-size: 16px;
    font-weight: 400;
    color: var(--mp-highlight);
}

#cart-page .btn-mp.active {
    color: var(--mp-white);
    background-color: var(--mp-primary);
    border-color: var(--mp-primary);
}

#cart-page .btn-mp.active:hover {
    background-color: var(--mp-btn-hover);
    border-color: var(--mp-btn-hover);
}

#cart-page .green-checkbox {
    margin: 10px 0;
}

#cart-page .green-checkbox>span::before {
    width: 18px;
    height: 18px;
}

#cart-page .cart-list {
    background-color: var(--mp-white);
    border: 1px solid var(--mp-highlight);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
}

#cart-page .cart-item {
    border-bottom: none;
    width: 100%;
}

#cart-page .cart-icon {
    width: 18px;
    height: 18px;
}

#cart-page .product-image {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

#cart-page .count-input {
    border: 1px solid var(--mp-highlight);
    padding: 1px 0;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 400;
    width: 90px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#cart-page .count-input .input-nu {
    color: var(--mp-black);
}

#cart-page .cart_items .cashback-sum {
    background-color: rgba(0, 140, 58, 0.1);
    position: unset;
    width: max-content;
}

#cart-page .price_item {
    white-space: nowrap;
}

#cart-page .cart_items .old-price {
    font-size: 14px;
    font-weight: 400;
    text-decoration: line-through;
    color: var(--mp-highlight);
}

#cart-page .items-list-table {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100px;
}

#cart-page .product_title_cell {
    flex: 2;
    padding: 5px 0 0 15px;
    text-align: left;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#cart-page .checkbox_cell>label {
    margin: 0;
    padding: 0;
}

#cart-page .checkbox_cell {
    width: 30px;
}

#cart-page .image_cell {
    min-width: 75px;
}

#cart-page .image_cell img {
    width: 75px;
    height: 100px;
}

#cart-page .info_cell {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: -30px;
}

#cart-page .info_cell .counter_cell {
    flex: 1;
}

#cart-page .info_cell .price_cell {
    flex: 2;
    padding-left: 10px;
    text-align: left;
}

#cart-page .input-group .btn {
    padding: 5px 7px;
}

#cart-page .desktop-hide {
    display: none;
}

#cart-page .phone-hide {
    display: flex;
}

#cart-page .form-global {
    max-width: 100%;
}
#cart-page .cart-button {
    border: 1px solid var(--mp-highlight);
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    min-height: 160px;
    cursor: pointer;
}
#cart-page .cart-button.active {
    border: 2px solid var(--mp-primary);
}
#cart-page .cart-button .title {
    font-size: 16px;
    font-weight: 600;
    display: block;
}
#cart-page .cart-button .card-button-footer {
    color: var(--mp-highlight);
    font-size: 14px;
    position: absolute;
    left: 35px;
    bottom: 10px;
}
#cart-page .cart-button .card-button-footer.green {
    color: var(--mp-primary);
}

#cart-page .cart-button .commit {
    color: var(--mp-highlight);
}

#cart-page .cart-button-small {
    border: 1px solid var(--mp-highlight);
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 20px;
    height: 44px;
    width: 200px;
    cursor: pointer;
}

#cart-page .cart-button-small.active {
    border: 2px solid var(--mp-primary);
}

#cart-page .cart-button-small .title {
    font-size: 14px;
    font-weight: 500;
    display: block;
}

#cart-page .cart-info-data div {
    font-size: 16px;
    font-weight: 400;
    color: var(--mp-gray-text);
}

#cart-page .cart-info-data a {
    font-size: 12px;
    color: var(--mp-blue-dark);
    cursor: pointer;
}

#cart-page .card-gray {
    background-color: var(--mp-gray-bg);
    padding: 10px;
    border-radius: 8px;
    margin: 0;
}

#cart-page .cart-info h3>span {
    font-size: 16px;
    font-weight: 400;
    color: var(--mp-highlight);
    position: absolute;
    right: 35px;
    top: 21px;
}

#cart-page .text-black,
#cart-page .text-black span {
    color: var(--mp-black);
}

#cart-page .nowrap {
    white-space: nowrap;
}

#cart-page .sm-br {
    display: inline;
}

#cart-page input:valid { border-color: var(--mp-primary); }
#cart-page input:invalid { border-color: var(--mp-error); }

#cart-page select:valid { border-color: var(--mp-primary); }
#cart-page select:invalid { border-color: var(--mp-error); }

h1, h2 {
    font-weight: 600;
    margin-bottom: 0;
}

h1 {
    font-size: 22px;
}

h2 {
    font-size: 18px;
}

#cart-page .item-container {
    width: 100%;
}

.modal .modal-content {
    border-radius: 10px;
    padding: 10px;
}

#cart-page .sum_delivery span,
#cart-page .total_sum span{
    font-size: 22px;
    color: var(--mp-black);
    font-weight: 700;
}

#content_id .modal .close {
    background: transparent;
    font-size: xx-large;
}

#content_id .modal .close span {
    color: var(--mp-noactive);
}

#content_id .btn-mp.btn:disabled {
    background-color: var(--mp-btn-disabled);
    border: 1px solid var(--mp-btn-disabled);
    color: var(--mp-noactive);
}

#setYandex {
    font-family: var(--mp-font-family), serif !important;
}

#setYandex .delivery_price>div {
    color: var(--mp-highlight);
    font-size: 12px;
    font-weight: 400;
    margin-top: -12px;
}

#setYandex .delivery_price>p {
    color: var(--mp-black);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
}

#setYandex .delivery_price>p>span {
    color: var(--mp-highlight);
    font-size: 16px;
    font-weight: 700;
}

/*services*/
.service{
    position: relative;
    margin-bottom: 20px;
}

.select_service{
    width: 230px;
    padding: 10px 20px;
    border-radius: 100px;
    background-color: var(--mp-hover);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    margin-top: 30px;
}

.service_option {
    width: 230px;
    height: auto;
    padding: 14px;
    background-color: var(--mp-white);
    border-radius: 10px;
    position: absolute;
    filter: drop-shadow(0 2px 6px #0000001A);
    display: none;
    margin-top: 10px;
    z-index: 1000;
}

.service_pric{
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    font-family: var(--mp-font-family) !important;
}

.service_left{
    display: flex;
    align-items: center;
}

.selected_option{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service_point .green-checkbox>span:before{
    width: 20px !important;
    height: 20px !important;
    margin-top: 7px;
}

.count_services{
    background-color: var(--mp-primary);
    padding: 2px 6px;
    height: 18px;
    width: 18px;
    border-radius: 50px;
    margin-left: 10px;
    text-align: center;
}

.service_space{
    display: none;
    height: 10px;
}

#count_services{
    display: block;
    position: absolute;
    color: var(--mp-white);
    font-size: 10px;
}

.service_checkbox{
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid var(--mp-noactive);
}

.service_space:hover{
    display: block;
}

.service_point{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/*services*/

.sticky-box {
    position: sticky;
    top: 20px;
}

.cart-title-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cart-option-select-all-container {
    display: flex;
    flex-direction: row;
    width: 50%;
    justify-content: left;
    margin-bottom: 0;
    align-items: center;
}

.cart-option-select-all-container .green-checkbox {
    margin-top: 10px;
    margin-bottom: 0;
}

.cart-option-delete-container {
    display: flex;
    flex-direction: row;
    width: 50%;
    justify-content: right;
    align-items: center;
}

.cart-delete-items-btn {
    color: #AAAAAA;
    background-color: white;
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.cart-delete-items-btn:active,
.cart-delete-items-btn:hover {
    color: var(--mp-primary);
    background-color: white;
}

.short-text {
    display: none;
}
.modal-delete {
    width: 250px;
    height: 96px;
    background-color: var(--mp-white);
    position: absolute;
    z-index: 1000;
    right: -30px;
    top: 85px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0px 2px 6px 0px #0000001A;
}

.modal-title {
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
    font-family: var(--mp-font-family) !important;
    margin: 8px 14px 10px;
}

.modal-delete-buttons {
    display: flex;
}

.modal-delete-btn {
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
    font-family: var(--mp-font-family) !important;
    border-radius: 6px;
    width: 106px;
    height: 29px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.btn-delete {
    background-color: var(--mp-primary);
    color: var(--mp-white);
    margin: 0 10px 0 14px;
}

.btn-cancel {
    color: var(--mp-black);
    background-color: var(--mp-white);
}

/* Cart head buttons*/
.heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

.heading .left-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.heading .left-group p {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.item-count-text{
    font-size: 14px;
    font-weight: 400;
    color: var(--mp-highlight);
}

.cart-switch-container {
    display: flex;
    justify-content: center;
    height: 37px;
}

.food-check {
    display: flex;
    background-color: #EBEBEB;
    border-radius: 50px;
    height: 100%;
}

.shop-button,
.food-button {
    border: none;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent;
    color: #666;
    height: 100%;
    line-height: 21px;
}

.shop-button.active,
.food-button.active {
    background-color: var(--mp-primary);
    color: var(--mp-white);
}

.shop-button:hover:not(.active),
.food-button:hover:not(.active) {
    background-color: var(--mp-primary);
    color: var(--mp-white);
}

.info-icon-div {
    display: inline-block;
    position: relative;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    width: 20px;
    height: 20px;
}

.info-icon-div:hover {
    opacity: 1;
}

.info-icon-div:hover .info-text-div {
    opacity: 1;
    display: block;
}

.info-text-div {
    padding: 10px;
    cursor: default;
    background-color: var(--mp-white);
    border-radius: 10px;
    border: 1px solid var(--mp-primary);
    opacity: 0;
    display: none;
    word-break: break-all;
    z-index: 999999;
    position: absolute;
    top: 8px;
}

.service-desc-page-div {
    display: none;
}

.service-description-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--mp-white);
    border-radius: 20px;
    max-width: 1000px;
    max-height: 460px;
    width: 80%;
    overflow-y: auto;
    display: inline-block;
    padding: 30px;
    z-index: 1000001;
    word-wrap: break-word;
}

.service-exit-button {
    position: fixed;
    top: 16px;
    right: 16px;
    height: 40px;
    width: 40px;
    padding: 14px;
    background-color: rgba(240, 240, 240, 0.6);
    background-image: url(../../../../../../images/icons/black_cross.svg);
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    border: none !important;
    outline: none !important;
    border-radius: 100px;
}

.service-description-container-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--mp-black);
    opacity: 0.65;
    z-index: 1000000;
}

.cart-input {
    color: #141414;
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--mp-noactive);
    padding: 10px 25px;
}

.cart-input:valid {
    border: 1px solid var(--mp-noactive) !important;
}

.cart-input:focus {
    outline: none;
    border: 1px solid #474747 !important;
}

.cart-input:read-only {
    background-color: #F0F0F0;
    border: 1px solid #F0F0F0;
}

.cart-input:read-only:focus {
    outline: none;
    box-shadow: none;
    border-color: #F0F0F0 !important;
}

.cart-input.comment {
    width: 50%;
}

.cart-login-button {
    border: 1px solid #F0F0F0;
    background-color: #F0F0F0;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 1rem;
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.cart-login-button .text-wrapper {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.blue-text {
    color: var(--mp-blue-dark);
}

.black-text {
    color: var(--mp-black);
}

.cart-login-button::after {
    content: "›";
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    color: #999999;
    flex-shrink: 0;
}

.suggestions-suggestions {
    right: 0 !important;
    left: unset !important;
    top: 38px !important;
}

.sellers-delivery {
    padding: 10px 16px;
    margin: 10px 0;
    background-color: #F0F0F0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
}

.sellers-delivery div{
    color: #999999;
}

.delivery-types {
    display: flex;
    justify-content: center;
    gap: 8px;
    background-color: #EBEBEB;
    border-radius: 50px;
    width: fit-content;
    margin: 20px 0;
}

.standard_delivery {
    display: flex;
    flex: 1 1 auto; /* Добавляем возможность сжиматься */
    min-width: 0; /* Важно для корректного сжатия flex-элементов */
}

.switch-cart-button {
    border: none;
    padding: 4px; /* Оставляем ваши исходные отступы */
    width: 120px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent;
    line-height: 21px;
    white-space: nowrap;
    text-align: center;
}

.switch-cart-button.active {
    background-color: #008C3A;
    color: #FFFFFF;
}

.delivery-info div{
    font-weight: 400;
    font-size: 14px;
}

.delivery-info .delivery-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.delivery-info .delivery-name span {
    padding: 4px 8px;
    border-radius: 50px;
    background-color: #E6F4EC;
    color: #008C3A;
    font-size: 12px;
    font-weight: 400;
    margin-left: 8px;
}

.delivery-info .delivery-name button {
    background: transparent;
    cursor: pointer;
    color: #AAAAAA;
    padding: 5px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    margin-top: 2px;
    line-height: 1;
}

.delivery-info .delivery-name button svg {
    width: 18px;
    height: 18px;
    display: block;
}

.delivery-info .delivery-name button:hover {
    background: transparent;
}

.delivery-info .delivery-dop-info {
    margin-bottom: 5px;
}

.delivery-info .delivery-time {
    color: #AAAAAA;
}

.delivery-info .delivery-button {
    color: #1D6EF6;
    cursor: pointer;
}

.delivery-info .delivery-5p-error {
    padding: 10px 16px;
    margin: 10px 0;
    background-color: #FFDDDD;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
}

.delivery-info .delivery-5p-error div{
    color: #EB0000;
}

.expected-delivery-date {
    color: #999999;
}

.item-action {
    margin-top: auto;
}

.item-action a {
    margin-right: 10px;
}

@media (max-width: 1400px) and (min-width:992px) {
    .count-input {
        width: 100%;
    }
    .count-input .btn {
        padding: 5px 0;
    }
    .input-group-btn {
        width: 33%;
    }
}

@media (max-width: 1092px) and (min-width:992px) {
    .cart-page .btn-to-confirm {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    #cart-page .product_title_cell {
        flex: 1;
    }
    #cart-page .item_count_text {
        display: none;
    }
}

@media (max-width: 991px) {
    .cart-input.comment {
        width: 100%;
    }
    .cart-login-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #cart-page .sm-br {
        display: block;
    }

    #cart-page .item_count_text {
        display: inline;
    }

    #cart-page .price_item {
        display: inline;
    }

    #cart-page .info_cell {
        justify-content: space-between;
        align-items: center;
        flex-direction: column-reverse;
        margin-right: 0;
    }

    #cart-page .cart_items .cashback-sum {
        position: unset;
        display: inline-block;
    }

    #cart-page .cart_items .old-price {
        display: block;
        margin-bottom: 5px;
        text-align: end;
    }

    #cart-page .cart_items .price_cell {
        flex: 1;
        width: 100%;
        text-align: end;
    }

    #cart-page .info_cell .counter_cell {
        width: 100%;
        text-align: right;
        text-align: -webkit-right;
    }

    .item-action {
        margin-top: unset;
    }

    #cart-page .items-list-table {
        height: auto;
    }
}

@media (max-width: 765px) {
    #cart-page .cart_items .old-price {
        display: inline;
    }
    #cart-page .cart-item {
        width: auto;
    }
    #cart-page .phone-hide {
        display: none;
    }
    #cart-page .desktop-hide {
        display: block;
    }
    #cart-page .image_cell {
        min-width: 60px;
    }
    #cart-page .image_cell img {
        width: 60px;
        height: 80px;
    }
    #cart-page .cart_items .price_cell {
        text-align: start;
    }
    #cart-page .mobile-actions {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    #cart-page .count-input {
        padding: 0;
        width: 120px;
    }
    #cart-page .item-end {
        display: block;
        margin-top: 20px;
        width: 100%;
        border-bottom: 1px solid var(--mp-highlight);
    }
}

@media (max-width: 699px) and (min-width: 500px) {
    .info-text-div {
        left: -190px;
        width: 400px;
        max-height: 150px;
    }
    .service-description-container h1 {
        font-size: 20px !important;
    }
}


@media (max-width: 570px) {
    .delivery-types {
        width: 100%;
        justify-content: stretch;
        box-sizing: border-box;
    }

    .standard_delivery {
        flex: 1 1 0;
    }

    .switch-cart-button {
        width: auto;
        white-space: nowrap;
    }

    .delivery-types:has(.switch-cart-button:only-child) {
        justify-content: center;
    }

    .delivery-types:has(.switch-cart-button:only-child) .switch-cart-button {
        width: 120px;
        flex: 0 1 auto;
    }
}

@media (max-width: 650px) {
    .map .city-search-box {
        height: 250px;
        overflow-y: auto;
    }
    .setPvz .map .items-list {
        height: 200px;
        overflow-y: auto;
    }
    .setPvz {
        height: 250px !important;
    }
    /*#map, .map {*/
    /*    width: 100%;*/
    /*    min-height: 250px;*/
    /*}*/
}

@media (max-width: 499px) and (min-width: 400px) {
    .info-text-div {
        left: -90px;
        width: 200px;
    }
    .service-description-container h1 {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .heading .left-group {
        order: 2;
    }
    .heading .cart-switch-container {
        order: 1;
        width: 100%;
        margin: 0 0 15px;
    }
    .food-check {
        width: 100%;
    }
    .shop-button,
    .food-button {
        flex: 1;
        text-align: center;
        padding: 8px 0;
    }

    .cart-delete-items-btn .full-text {
        display: none;
    }

    .cart-delete-items-btn .short-text {
        display: inline;
    }
}

@media (max-width: 450px) {
    .cart-process .cart-process-title {
        font-size: 20px !important;
    }
}

@media (max-width: 399px) {
    .info-text-div {
        left: -180px;
        width: 200px;
    }
    .service-description-container h1 {
        font-size: 14px !important;
    }
}

@media (min-width: 700px) {
    .info-text-div {
        left: 8px;
        width: 400px;
        max-height: 150px;
    }
    .service-description-container h1 {
        font-size: 20px !important;
    }
}

#cart-page .bonus-block {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    background-color: #F5F5F5;
    width: 100%;
    padding: 11px 16px;
    border-radius: 8px;
    margin: 16px 0;
}

 #cart-page .bonus-block__label {
    font-family: "Golos Text", Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    color: #616161;
    word-break: break-word;    
}

#cart-page .bonus-block__controls {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;        
}

#cart-page .bonus-block__amount {
    font-family: "Golos Text", Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    color: #008c3a;
}

#cart-page .bonus-toggle {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    margin: 0;
    cursor: pointer;
}

#cart-page .bonus-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

#cart-page .bonus-toggle__slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: #ccc; */
    border-radius: 100px;
    border: 1px solid #999999;
    transition: 0.3s;
}

#cart-page .bonus-toggle__slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 5px;
    top: 4px;
    background-color: #999999;
    border-radius: 50%;
    transition: 0.3s;
}

#cart-page input:checked + .bonus-toggle__slider {
    background-color: #008c3a;
}

#cart-page input:checked + .bonus-toggle__slider:before {
    transform: translateX(16px);
    background-color: white;
    border: 1px solid white;
}
