
/*max-width: 1720px*/
@media (max-width: 1720px) {

    .container {
        padding: 0 40px;
    }
    .header__wrapper {
        padding: 20px 40px;
    }
    .contact-card {
        right: 40px;
    }
    .canceled-order__modal .modal__wr {
        right: 38px;
    }
    .header-info {
        gap: 10px 10px;
    }

}

/*max-width: 1576px*/
@media (max-width: 1576px) {

    .nav-button {
        padding: 10px;
        font-size: 15px;
    }
    .balance-badge {
        padding: 8px 24px;
    }
    .logo-text {
        font-size: 18px;
    }
    .logo-image {
        width: 41.5px;
        height: 56px;
    }
}

/*max-width: 1450px*/
@media (max-width: 1450px) {

    .nav-button {
        padding: 5px;
        font-size: 15px;
    }
}

/*max-width: 1372px*/
@media (max-width: 1372px) {

    .container {
        padding: 0 28px;
    }
    .header__wrapper {
        padding: 40px 28px 10px;
    }
    .nav-button {
        padding: 5px;
        font-size: 15px;
    }
    .balance-badge {
        padding: 8px 24px;
    }

    .contact-card {
        right: 28px;
        margin-top: 6px;
    }
    .canceled-order__modal .modal__wr {
        right: 26px;
    }

    .header__wrapper {
        gap: 16px;
        flex-wrap: wrap;
    }
    .header-nav {
        width: 100%;
        order: 1;
    }
    .nav-button {
        font-size: 16px;
        flex-grow: 1;
        text-align: center;
        padding: 10px;
    }
}

/*max-width: 1200px*/
@media (max-width: 1200px) {

    .header__wrapper {
        gap: 16px;
        flex-wrap: wrap;
    }

    .logo-text {
        font-size: 18px;
    }
    .logo-image {
        width: 41.5px;
        height: 56px;
    }

    .header-nav {
        width: 100%;
        order: 1;
    }

    .nav-button {
        font-size: 16px;
        flex-grow: 1;
        text-align: center;
        padding: 10px;
    }

    .main-content {
        gap: 87px;
    }

    .info-card {
        padding: 24px;
    }
    .pricing-card {
        padding: 20px 12px;
    }

    .calendar {
        gap: 32px;
    }
    .meal-card {
        padding: 16px 10px;
    }
    .meal-card-ordered .meal-action-icon, .meal-card-payment .meal-action-icon {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: scale(1);
    }
    .meal-header {
        flex-direction: column;
        gap: 0;
    }
    .meal-icon-wrapper {
        width: 28px;
        height: 28px;
    }
    .meal-name {
        font-size: 18px;
        line-height: 150%;
    }

}


/* max-width: 1024px */
@media (max-width: 1024px) {
    :root {
        --spacing-4xl: 60px;
    }
    h1 {
        font-size: 28px;
    }

    .container {
        min-width: auto;
    }

    .header {
        /*padding: 24px 40px 8px;*/
        /*flex-wrap: wrap;*/
        /*gap: 24px;*/
    }

    .logo-text {
        font-size: 18px;
    }

    .contact-card {
        padding: 12px;
    }

    .info-description {
        max-width: 468px;
    }

    .main-content {
        gap: 40px;
        padding: 24px 0 98px;
    }

    .hero-section {
        flex-direction: column;
        gap: 24px;
        padding: 0;
    }

    .info-card {
        width: 100%;
        padding: 40px 28px;
    }

    .hero-image {
        width: 100%;
        height: auto;
    }

    .pricing-cards {
        gap: 16px;
    }

    .pricing-card {
        padding: 8px 20px 16px;
    }
    .pricing-description {
        margin-bottom: 7px;
    }

    .pricing-title {
        /*font-size: 18px;*/
    }

    .pricing-emoji {
        font-size: 28px;
    }

    .amount-value {
        font-size: 28px;
    }

    .hero-image img {
        max-height: 500px;
    }

    .info-title {
        font-size: 24px;
        line-height: 150%;
    }

    .orders-section {
        margin-top: 47px;
        gap: 31px;
    }
    .orders-section {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .orders-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 29px;
    }

    .orders-info {
        width: 100%;
        gap: 12px;
    }

    /*.orders-description {*/
    /*    font-size: 14px;*/
    /*}*/

    .orders-actions {
        gap: 16px;
        width: 100%;
    }

    .btn-primary, .btn-secondary {

    }

    .calendar {
        width: calc(100% + 28px);
        gap: 14px;
    }
    .day-header {
        padding-right: 28px;
    }
    .day-block {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .meals-grid {
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 16px;
        padding-right: 28px;
    }

    .meal-card {
        width: 200px;
        height: auto;
        flex-shrink: 0;
        min-width: 200px;
        gap: 12px;
    }

    .meal-name {
        font-size: 18px;
    }

    .meal-status {
        font-size: 16px;
        padding: 8px 8px;
        height: auto;
        gap: 4px;
    }
    .meal-status img {
        display: none;
    }
    .meal-icon-wrapper {
        width: 23px;
        height: 25px;
    }
    .meal-info-icon, .meal-action-icon {
        top: 4px;
        right: 7px;
    }

    .footer {
        padding: 32px 0 16px;
        gap: 16px;
    }

    .footer-middle {
        gap: 40px;
        align-items: flex-start;
    }

    .footer-right {
        gap: 12px;
    }
    .footer-right div {
        text-align: right;
    }

    .footer-logo-text {
        font-size: 18px;
    }

    .footer-payment {
        display: flex;
        align-items: center;
        height: 28px;
    }
    .footer-payment img {
        max-height: 100%;
    }
    .footer-payment__visa, .footer-payment__portmone {
        height: 18px;
    }
    .footer-payment__wr {
        height: 28px;
    }
    .footer-left {
        gap: 11px;
        max-width: 50%;
    }

    .instruction {
        margin: 24px 0 124px;
    }
    .instruction__wr {
        gap: 64px;
        margin-top: 16px;
    }
    .instruction-block {
        flex-wrap: wrap;
        gap: 24px;
    }
    .instruction-item {
        padding: 24px;
        border-radius: 28px;
        width: 100%;
    }
    .instruction-text {
        order: -1;
    }
    .instruction-image {
        order: 1;
    }

    .menu-details {
        gap: 40px 32px;
    }
    .menu-details__item {
        width: calc(50% - 16px);
    }

    .payment-page {
        max-width: calc(100% - 56px);
        margin-top: 76px;
    }

    .modal-main-content {
        max-height: calc(100vh - 372px);
    }


    .instruction-item.instruction-text {
        padding: 21px 32px;
    }
    .instruction-item.instruction-image {
        padding: 16px 12px;
    }
    .instruction-list {
        margin-top: 12px;
        padding-right: 0px;
    }

    .modal__wr.modal__vertical-overflow .modal-content__vertical-overflow {
        padding: 0 24px;
    }
    .default-order .order {
        width: calc(50% - 12px);
    }
    .modal__wr.modal__vertical-overflow {
        padding: 32px 0;
    }
    .add-order .order-content__item {
        width: calc(50% - 5px);
    }
    .modal-content__footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .default-order .btn__wrapper_default {
        margin-left: unset;
    }
    .default-order .btn__wrapper.btn__wrapper_default {
        gap: 24px;
        flex-wrap: wrap;
        width: 100%;
    }
    .default-order .btn__wrapper.btn__wrapper_default button {
        width: calc(50% - 12px);
    }
    .menu-details__item_img img {
        max-height: 300px;
        object-fit: cover;
    }
    .menu-details__item_title {
        margin-top: 12px;
    }

    .reports-page {
        margin: 24px 0 100px;
    }
    .reports-descr {
        max-width: 490px;
        font-size: 16px;
        margin-top: 4px;
    }
    table.table-primary {
        margin: 30px auto 0;
    }
    .table-primary thead td {
        padding: 24px 16px;
    }
    .table-primary thead td:first-child {
        width: 130px;
    }
    .table-primary tbody td {
        padding: 12px 16px 11px;
        height: 72px;
    }
    .section-container {
        margin: 77px auto 104px;
    }

    .switch-return-back {
        margin-top: 8px;
    }
    .settings-page .instruction .page-title {
        max-width: 500px;
    }
    .settings-page .instruction {
        margin: 14px 0 115px;
    }
    .settings-page .instruction__wr {
        margin-top: 10px;
        gap: 64px 40px;
    }
    .settings-page .switch-return-back__text {
        font-size: 14px;
    }

    .text-paragraph + .text-paragraph {
        margin-top: 26px;
    }
    .about-page__wr {
        padding: 20px 12px;
    }

    .auth-modal .modal-main-content {
        /*padding: 0 10px;*/
        gap: 8px;
    }
    .modal .logo-image {
        width: 37px;
        height: 50px;
    }
    .modal .logo-text {
        font-size: 15.6px;
    }
    .auth-modal .modal-header {
        gap: 20px;
        margin-top: 20px;
    }

    #reset-password-confirm .modal-main-content {
        padding: 0 40px;
    }
    #reset-password-confirm.auth-modal .modal__wr {
        padding: 20px 0 40px;
    }
    #reset-password-confirm.auth-modal .modal-btn__wr {
        margin-top: 6px;
    }
}

/* max-width: 847px */
@media (max-width: 847px) {
    .nav-button {
        padding: 10px 3px;
    }

    .modal-main-content {
        max-height: calc(100dvh - 100px);
    }
    .order-modal:has(.modal-footer) .modal-main-content {
        max-height: calc(100dvh - 372px);
        min-height: 200px;
    }

}

/* max-width: 767px */
@media (max-width: 767px) {
    :root {
        --spacing-4xl: 40px;
        --spacing-3xl: 32px;
        --spacing-2xl: 24px;
        --spacing-lg: 16px;
    }
    h1, h2, h3, h4 {
        font-size: 20px;
    }

    .container {
        min-width: auto;
        padding: 0 16px;
    }

    .mt-12 {
        margin-top: 4px;
    }

    .canceled-order__modal .modal__wr {
        right: 16px;
        max-width: calc(100% - 32px);
    }

    .header {
        /*padding: 24px 24px 8px;*/
        /*flex-direction: column;*/
        /*align-items: center;*/
        /*gap: 24px;*/
        animation: none;
    }
    .header__wr {
        z-index: 1000;
    }
    .header__wrapper {
        padding: 24px 16px 80px;
        align-items: flex-start;
    }

    .header-logo {
        gap: 8px;
    }

    .logo-image {
        width: 40px;
        height: 54px;
    }

    .logo-text {
        font-size: 16px;
        line-height: 20px;
    }

    .header-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
        top: 117px;
    }

    .header-info {
        flex-direction: column;
        gap: 8px 10px;
        align-items: flex-end;
        margin-top: 10px;
    }
    .user-avatar {
        font-family: 'Montserrat-SemiBold', sans-serif;
        width: 24px;
        height: 24px;
        font-size: 18px;
        line-height: 136%;
        font-weight: 600;
    }
    .user-name {
        font-size: 14px;
    }
    .user-switch__select .custom-select__dropdown {
        left: auto;
    }

    .header-balance {
        gap: 4px;
        order: -1;
    }
    .balance-label {
        display: none;
    }
    .balance-badge {
        font-family: 'Montserrat-SemiBold', sans-serif;
        font-weight: 600;
        font-size: 14px;
        padding: 4px 10px;
    }
    .refresh-icon {
        width: 20px;
        height: 20px;
    }
    .contact-card__desktop {
        display: none;
    }
    .contact-card__mobile {
        display: flex;
    }
    .contact-card {
        padding: 12px;
        position: relative;
        left: auto;
        right: auto;
        order: -1;
        width: 100%;
        margin-top: 12px;
    }

    .main-content {
        gap: 26px;
        padding: 0 0 70px;
    }

    .hero-section {
        flex-direction: column;
        gap: 24px;
    }

    .info-card {
        width: 100%;
        padding: 24px;
        border-radius: 20px;
    }

    .info-content {
        gap: 12px;
    }

    .info-title {
        font-size: 20px;
        line-height: 150%;
    }

    .info-description {
        font-size: 14px;
    }

    .pricing-cards {
        flex-direction: column;
        gap: 16px;
    }

    .pricing-card {
        padding: 16px;
    }

    .pricing-header {
        height: auto;
        gap: 4px;
    }

    .pricing-title {
        font-size: 16px;
        line-height: 150%;
    }

    .pricing-emoji {
        font-size: 24px;
    }

    .pricing-description {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .amount-value {
        font-size: 24px;
        line-height: 150%;
    }

    .amount-currency {
        font-size: 16px;
        line-height: 150%;
    }

    .menu-options {
        gap: 8px;
    }

    .menu-options-title {
        font-size: 16px;
        line-height: 150%;
    }

    .menu-text {
        font-size: 14px;
        line-height: 150%;
    }

    .btn-primary, .btn-secondary, .btn-transparent {
        width: 100%;
        justify-content: center;
        font-size: 14px;
    }
    .btn-transparent {
        padding: 0;
    }

    .hero-image {
        width: 100%;
        height: auto;
    }
    .hero-image img {
        border-radius: 20px;
    }

    .orders-section {
        gap: 38px;
        margin-top: 28px;
    }

    .orders-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .orders-info {
        width: 100%;
        gap: 4px;
    }

    .orders-description {
        font-size: 14px;
    }
    .orders-contact {
        margin-top: 8px;
    }

    .orders-contact-text {
        font-size: 14px;
        line-height: 150%;
    }

    .orders-phone-number {
        font-size: 14px;
    }

    .orders-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .calendar {
        width: calc(100% + 16px);
        gap: 10px;
    }
    .day-header {
        padding-right: 16px;
    }
    .meals-grid {
        padding-right: 16px;
        gap: 12px;
    }

    .day-block {
        gap: 4px;
    }

    .day-header {
        gap: 16px;
    }

    .day-title {
        font-size: 16px;
        line-height: 150%;
    }

    .day-menu-icon {
        width: 22px;
        height: 22px;
    }

    .meal-card {
        gap: 10px;
    }
    .meal-header {
        gap: 3px;
    }
    .meal-name {
        font-size: 16px;
    }
    .meal-action-icon, .meal-info-icon {
        width: 20px;
        height: 20px;
    }

    .meal-info-icon {
        width: 16px;
        height: 16px;
    }
    .meal-status {
        padding: 4px 8px;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: auto;
        box-shadow: none;
        padding: 0;
        margin-top: 8px;
    }

    .dropdown-item {
        font-size: 12px;
        padding: 8px;
    }

    .footer {
        padding: 32px 0 16px;
        gap: 16px;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .footer-logo {
        gap: 8px;
    }

    .footer-logo-image {
        width: 40px;
        height: 54px;
    }

    .footer-logo-text {
        font-size: 15px;
        line-height: 150%;
    }
    .footer-top {
        gap: 22px;
    }
    .footer-payment {
        /*width: 100%;*/
        /*height: auto;*/
    }
    .footer-payment__mastercard {
        height: 24px;
    }
    .footer-payment__visa {
        height: 18px;
    }
    .footer-payment__portmone {
        height: 16px;
    }

    .footer-middle {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
        width: 100%;
    }

    .footer-left {
        width: 100%;
        max-width: 100%;
        gap: 10px;
    }

    .footer-right {
        width: 100%;
        align-items: flex-start;
        order: -1;
        gap: 10px;
    }

    .footer-info-line {
        font-size: 14px;
        line-height: 150%;
    }

    .footer-link {
        font-size: 14px;
    }

    .footer-documents {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .footer-docs-links {
        gap: 8px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .footer-contact-line {
        font-size: 14px;
        line-height: 150%;
    }

    .footer-contact-phone {
        gap: 8px;
    }

    .footer-phone-icon {
        width: 16px;
        height: 16px;
    }

    .footer-phone-number {
        font-size: 14px;
    }

    .footer-cert {
        height: 26px;
        width: auto;
    }

    .footer-copyright {
        font-size: 12px;
        line-height: 150%;
    }

    .footer-social {
        gap: 8px;
    }

    .table-desktop {
        display: none;
    }
    .table-mobile {
        display: block;
    }
    .view-more {
        font-size: 14px;
        margin: 24px auto 0;
    }

    .mobile-menu-nav {
        gap: 1px;
    }
    .mobile-menu-item {
        padding: 7.5px 16px;
        font-size: 14px;
    }
    .mobile-menu-item:nth-child(1) {
        margin-top: 3px;
    }

    .modal.active .modal__wr {
        /*display: flex;*/
        /*transform: scale(1) translateX(-50%) translateY(0%);*/
    }
    .modal__wr {
        width: calc(100% - 32px);
        padding: 24px 20px;
        border-radius: 24px;
        /*left: 0;*/
        /*top: auto;*/
        /*bottom: 0;*/
        /*border-radius: 16px;*/
        /*border-bottom-left-radius: 0;*/
        /*border-bottom-right-radius: 0;*/
        /*transform: scale(1) translateX(-50%) translateY(100%);*/
    }
    .modal-close {
        top: 17px;
        right: 17px;
        width: 24px;
        height: 24px;
    }
    .modal-main-content {
        max-height: calc(100dvh - 54px);
    }
    .order-modal:has(.modal-footer) .modal-main-content {
        max-height: calc(100dvh - 184px);
    }
    .modal-title {
        display: flex;
        gap: 6px;
        align-items: center;
    }
    .modal-header {
        gap: 0px;
    }
    .modal-subtitle {
        font-size: 14px;
    }
    .modal-footer__price_value {
        font-size: 24px;
    }
    .modal-footer__price_currency {
        font-size: 16px;
    }
    .modal-drag-handle {
        display: block;
    }
    .modal-drag-handle:before {
        content: "";
        position: absolute;
        top: 10px;
        left: 50%;
        display: block;
        width: 50px;
        height: 4px;
        background-color: var(--gray-300);
        border-radius: 5px;
        transform: translateX(-50%);
    }
    .modal-btn__wr {
        flex-direction: column;
    }
    .modal-btn__wr .btn-primary {
        order: -1;
    }
    .modal-text {
        font-size: 14px;
    }
    .modal-container .modal-text {
        line-height: 24px;
    }



    .modal-sticky .modal-main-content {
        gap: 16px;
        padding: 32px 0 0;
        max-height: calc(100dvh - 184px);
        height: calc(100dvh - 184px);
    }
    .modal-sticky .modal-header {
        padding: 0 16px;
    }
    .modal-sticky .modal-close {
        display: none;
    }
    .modal-sticky .modal__wr {
        border-radius: 16px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .modal-sticky .modal__wr {
        width: 100%;
        left: 0;
        top: auto;
        bottom: 0;
        border-radius: 16px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        transform: translateY(100%);
        transition: transform 0.5s ease;
    }
    .modal.modal-sticky.active .modal__wr {
        display: flex;
        transform: translateY(0%);
    }
    .order-modal__footer {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding: 8px 16px 32px;
        backdrop-filter: none;
        gap: 10px;
    }
    .orders__wr {
        padding: 0 16px 24px;
    }
    .order {
        border-radius: 16px;
        padding: 16px;
    }
    .order-header {
        min-height: 36px;
    }
    .order-price {
        gap: 3px;
        align-items: baseline;
    }
    .order-price__value {
        font-size: 18px;
    }
    .order-price__currency {
        font-size: 14px;
    }
    .order-content {
        margin-top: 8px;
    }
    .order-content__title {
        font-size: 14px;
    }
    .order-content__items {
        gap: 5px;
    }
    .order-content__item {
        font-size: 14px;
    }

    .instruction {
        margin: 24px 0 71px;
    }
    .instruction__wr {
        gap: 48px;
        margin-top: 8px;
    }
    .instruction-block {
        gap: 20px;
    }
    .instruction-item {
        padding: 12px;
        border-radius: 20px;
        width: 100%;
    }
    .instruction-item.instruction-text {
        padding: 16px 12px 16px 20px;
        font-size: 14px;
    }
    .instruction-item.instruction-image {
        padding: 8px 8px;
    }
    .instruction-list {
        margin-top: 9px;
        padding-left: 12px;
    }
    .instruction-list--item + .instruction-list--item {
        margin-top: 8px;
    }

    .order-modal .one-click-modal__wr .modal-main-content {
        height: auto;
        max-height: calc(100dvh - 118px);
        padding-bottom: 8px;
        gap: 24px;
    }
    .one-click-order__menu {
        flex-direction: column;
    }
    .one-click-order__calendar_title {
        font-size: 16px;
    }
    .one-click-order__calendar_days {
        display: flex;
        gap: 21px;
    }
    .one-click-order__calendar_label {
        font-size: 14px;
    }
    .one-click-order__menu_label {
        font-size: 14px;
    }
    .error-text {
        font-size: 12px;
    }
    .one-click-order {
        gap: 22px;
    }
    .modal-notification__wr {
        padding: 12px;
    }
    .modal-notification__btn {
        padding: 8px 4px 8px 16px;
    }

    .modal-sticky.default-order .modal-main-content {
        max-height: calc(100dvh - 114px);
        height: calc(100dvh - 114px);
        gap: 10px;
    }
    .modal-sticky .slide-switch__wr {
        position: relative;
        overflow: hidden;
        z-index: 101;
    }
    .default-order .order {
        width: 100%;
        padding: 12px;
        gap: 20px;
    }
    .modal-wide .modal__wr {
        max-width: 100%;
    }
    .modal__wr.modal__vertical-overflow .modal-content__vertical-overflow {
        padding: 0 14px;
    }
    .modal-sticky.default-order .modal-header {
        padding: 0;
    }
    .default-order .order-modal-title__icon.modal-title__icon {
        width: 24px;
        height: 24px;
    }
    .default-order .modal-title {
        gap: 12px;
    }
    .default-order .modal-subtitle {
        font-size: 16px;
    }
    .default-order .order-header {
        min-height: 24px;
    }
    .radio-button label {
        font-size: 16px;
        padding-left: 31px;
    }
    .radio-button label:before {
        width: 24px;
        height: 24px;
        background-size: 24px!important;
    }
    .order-more {
        font-size: 14px;
    }
    .orders-block .order-content__items {
        gap: 3px;
    }
    .default-order .order-footer .order-price h4 {
        font-size: 21px;
    }
    .default-order .order-price {
        gap: 8px;
    }
    .default-order .order-price__currency {
        font-size: 16px;
    }
    .label-emoji {
        width: 20px;
        height: 20px;
    }
    .add-order .order-content__item {
        width: 100%;
    }
    .add-order {
        gap: 12px;
    }
    .add-order-content {
        gap: 4px;
    }
    .modal-content__footer {
        margin-top: 6px;
    }
    .modal-content__footer_text {
        font-size: 14px;
    }
    .default-order .btn__wrapper.btn__wrapper_default {
        gap: 16px;
    }
    .default-order .btn__wrapper.btn__wrapper_default button {
        width: 100%;
    }
    .default-order .btn__wrapper.btn__wrapper_default .btn-primary {
        order: -1;
    }
    .selected-addons__title {
        font-size: 14px;
    }
    .selected-addons__wr {
        flex-direction: column;
    }
    .addon-title {
        padding: 8px;
        font-size: 14px;
    }
    .addon-remove {
        width: 34px;
        height: 37px;
    }
    .selected-addons__total {
        font-size: 16px;
    }
    .selected-addons__total .total-price {
        font-size: 22px;
    }
    .selected-addons__total .total-currency {
        font-size: 20px;
    }

    .menu-details__item {
        width: 100%;
    }
    .menu-details {
        gap: 32px 32px;
    }
    .menu-details__item_img img {
        max-height: 220px;
    }
    .menu-details__item_title {
        font-size: 18px;
    }
    .menu-details__item_category {
        font-size: 14px;
    }
    .default-order .btn__wrapper {
        margin-left: unset;
    }
    .default-order .btn__wrapper button {
        width: auto;
    }
    .default-order .btn__wrapper .btn-primary {
        flex-grow: 1;
    }
    .modal-details-content {
        margin-bottom: 12px;
    }

    .payment-page {
        max-width: calc(100% - 32px);
        margin-top: 28px;
        border-radius: 20px;
        margin-bottom: 75px;
    }
    .form-page__wr {
        padding: 20px 12px;
        gap: 24px;
    }
    .payment-subtitle {
        font-size: 14px;
    }
    .payment-subtitle span {
        display: inline;
    }
    .payment-sum__text {
        width: 100%;
        font-size: 14px;
    }
    .payment-sum {
        gap: 11px;
    }
    .payment-currency {
        padding-right: 0px;
    }
    .payment-btn__wr {
        margin-top: 8px;
    }
    .payment-page .slide-switch--second .payment-btn__wr {
        margin-top: 0;
    }
    .payment-footer {
        margin-top: 8px;
    }
    .payment-footer__descr {
        font-size: 14px;
    }
    .payment-sum__descr {
        font-size: 12px;
        text-align: center;
    }
    .payment-page .slide-switch--second .modal-title__icon {
        top: 20px;
        left: 10px;
    }
    .forms__label {
        font-size: 12px;
    }
    .forms__input {
        padding: 12px 9px;
        font-size: 14px;
    }
    .forms__textarea {
        height: 67px;
    }
    .payment-page .slide-switch--second .payment-btn__wr button {
        width: 100%;
        white-space: unset;
        padding: 7px 28px;
    }
    .reports-page {
        margin: 24px 0 70px;
    }
    .reports-descr {
        max-width: 490px;
        font-size: 14px;
    }
    .reports-list {
        gap: 24px;
    }
    .report-card {
        padding: 12px 0 0;
    }
    .report-row {
        padding: 8px 0;
    }

    /*.header-row {*/
    /*    margin: -14px -14px 0 -14px;*/
    /*    padding: 12px 14px;*/
    /*}*/
    .header-row {
        padding: 10px 0px 6px;
        margin: -14px -0 0;
    }

    .label,
    .value {
        font-size: 14px;
    }
    .value {
        text-align: right;
    }
    .date-value {
        gap: 16px;
    }
    .date-value img {
        width: 13px;
    }
    .table-mobile .report-row .label {
        padding-left: 12px;
    }
    .table-mobile .report-row .value {
        padding-right: 12px;
    }
    .modal-title__large {
        font-size: 20px;
    }
    .order-all-day.order-modal:has(.modal-footer) .modal-main-content {
        max-height: calc(100dvh - 112px);
        height: calc(100dvh - 112px);
    }
    #order-all-day .order-modal__footer {
        padding: 8px 16px 20px;
    }
    #order-all-day.modal-sticky .modal-header {
        gap: 4px;
    }
    .modal-header__status {
        font-size: 14px;
    }

    .section-container {
        margin: 24px auto 77px;
        border-radius: 20px;
    }
    .settings-page .forms-inputs__wr {
        gap: 13px;
    }
    .forms-inputs__link {
        font-size: 14px;
    }
    .forms-btn__wr {
        margin-top: 9px;
        flex-direction: column;
    }
    .forms-btn__wr button {
        width: 100%;
    }
    .forms-btn__wr button[type="submit"] {
        order: -1;
    }

    .switch-return-back {
        margin-top: 8px;
    }

    .settings-page .instruction {
        margin: 14px 0 73px;
    }
    .settings-page .instruction__wr {
        margin-top: 10px;
        gap: 48px 40px;
    }
    .settings-page .switch-return-back__text {
        font-size: 14px;
    }
    .about-page__header {
        margin-bottom: 16px;
    }
    .text-paragraph p {
        font-size: 14px;
    }
    .text-paragraph ul {
        margin-top: 13px;
    }
    .about-page ul li {
        margin-top: 2px;
        font-size: 14px;
    }
    .text-paragraph + .text-paragraph {
        margin-top: 22px;
    }
    .text-paragraph ol li {
        margin-top: 2px;
        font-size: 14px;
    }
    .about-page .section-container {
        margin-bottom: 72px;
    }


    .auth-modal .modal-main-content {
        padding: 0 12px;
    }
    .auth-modal .modal-title {
        font-size: 20px;
    }
    .auth-modal .modal-header {
        gap: 12px;
        margin-top: 0;
    }
    .auth-modal .modal-content {
        gap: 6px;
        margin-top: 0px;
    }
    .auth-modal .forms-inputs__wr {
        gap: 4px;
    }
    .forms__block_inputs + .forms__block_inputs {
        margin-top: 14px;
    }
    .auth-modal .forms-btn__wr {
        margin-top: 12px;
    }
    .auth-modal .forms__block .forms-inputs__link {
        font-size: 12px;
    }
    .auth-modal .modal-content__footer {
        gap: 4px;
        margin-top: 16px;
    }

    #reset-password-confirm .modal-main-content {
        padding: 0 20px;
    }
    #reset-password-confirm.auth-modal .modal__wr {
        padding: 24px 0;
    }
    #reset-password-confirm.auth-modal .modal-btn__wr {
        margin-top: 18px;
    }
}

/* max-width: 480px */
@media (max-width: 480px) {
    :root {
        --spacing-lg: 12px;
        --spacing-md: 12px;
        --spacing-2xl: 16px;
    }
    h3, h4 {
        font-size: 16px;
    }

    .header {
        /*padding: 16px 16px 8px;*/
    }
    .header__wrapper {
        gap: 5px;
        flex-wrap: nowrap;
        padding: 24px 16px 60px;
    }

    .logo-image {
        width: 37px;
        height: 48px;
    }

    .logo-text {
        font-size: 15px;
    }
    .balance-label {
        display: none;
    }

    /*.mobile-menu {*/
    /*    top: 83px;*/
    /*}*/
    .mobile-menu-header {
        padding: 8px 16px;
    }
    .mobile-menu-title {
        font-size: 16px;
    }
    .contact-card {
        margin-top: 12px;
    }

    .contact-line {
        font-size: 14px;
    }
    .phone-number {
        font-size: 14px;
    }

    .info-card {
        padding: 16px;
    }

    .info-title {
        font-size: 20px;
    }
    .info-text {
        gap: 2px;
    }
    .info-content {
        gap: 12px;
    }

    .pricing-card {
        padding: 16px;
    }
    .pricing-header {
        min-height: 28px;
    }
    .pricing-emoji img {
        max-width: 28px;
    }

    .orders-description {
        font-size: 14px;
    }

    .meal-card {
        width: 140px;
        padding: 16px 10px;
        min-width: 140px;
    }

    .meal-status {
        font-size: 14px;
    }
    .meal-status img {
        display: none;
    }

    /*.instruction {*/
    /*    margin: 32px 0 71px;*/
    /*}*/
    /*.instruction__wr {*/
    /*    gap: 48px;*/
    /*}*/
    /*.instruction-block {*/
    /*    gap: 20px;*/
    /*}*/
    /*.instruction-item {*/
    /*    padding: 12px;*/
    /*    border-radius: 20px;*/
    /*    width: 100%;*/
    /*}*/
    /*.instruction-item.instruction-text {*/
    /*    padding: 16px 12px;*/
    /*}*/
}
