@font-face {
    font-family: Actor;
    src: url("/assets/font/Actor-Regular.ttf");
}

@font-face {
    font-family: Abel;
    src: url("/assets/font/Abel-Regular.ttf");
}

@font-face {
    font-family: Montserrat;
    src: url("/assets/font/Montserrat-Regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: Montserrat;
    src: url("/assets/font/Montserrat-Medium.ttf");
    font-weight: 500;
}

@font-face {
    font-family: Montserrat;
    src: url("/assets/font/Montserrat-Bold.ttf");
    font-weight: 700;
}

:root {
    --color-background: #F7F7F7;
    --color-white: #ffffff;
    --color-white-text: #ffffff;
    --color-white-5p-darker: #f2f2f2;
    --color-orange: #FF8C2B;
    --color-orange-20p-darker: #ee6d00;
    --color-green: #02B602;
    --color-green-20p-darker: #019101;
    --color-red: #FF3227;
    --color-hrono: #c1c136;
    --color-fit: #99ff00;
    --color-black: #333333;
    --color-gray: #AEAEAE;
    --color-gray-border: #E0E0E0;
    --color-backdrop: rgba(0, 0, 0, .5);

    --shadow: 0px 2px 12px rgba(158, 158, 158, 0.5);
    --shadow-header: 0px 5px 6px rgba(158, 158, 158, 0.3);
    --shadow-menu: 0px -3px 20px rgba(0, 0, 0, 0.15);

    --border-radius: 4px;

    --opacity-disabled-item: 0.3;

    --size-menu-height: 56px;
    --size-header-height: 56px;
    --size-button-height: 48px;
    --size-input-height: 48px;
    --size-day-chooser-height: 56px;
    --size-make-order-height: 56px;
    --size-category-height: 40px;
    --size-history-month-height: 40px;
    --size-history-item-height: 56px;
    --size-day-item-height: 60px;

    --animation-duration: .3s;

    --zindex-front: 1000;
    --zindex-dialog: 2000;

    --desktop-content-width: 600px;

    -webkit-box-sizing: border-box;
    box-sizing: border-box;

    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
}

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

::placeholder {
    color: var(--color-gray);
}

::-moz-placeholder {
    color: var(--color-gray);
}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    -webkit-user-select: none;
}

*:focus {
    outline: none;
}

img, svg {
    vertical-align: middle;
}

body {
    margin: 0;
    background-color: var(--color-background);
    color: var(--color-black);
    font-size: 1rem;
    padding-top: calc(env(safe-area-inset-top, 0) + var(--size-header-height));
    padding-bottom: calc(env(safe-area-inset-bottom, 0) + var(--size-menu-height));
    min-height: 100vh;
    transition: padding-bottom var(--animation-duration) ease-out;
    -webkit-overflow-scrolling: touch;
}

body.no-scroll {
    overflow: hidden;
}

body.make-order-show {
    padding-bottom: calc(env(safe-area-inset-bottom, 0) + var(--size-menu-height) + 1rem + var(--size-make-order-height));
}

body.no-padding {
    padding: 0;
    padding-top: env(safe-area-inset-top, 0);
    background-image: url("../img/background30p.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
    background-attachment: fixed;
    min-height: 100vh;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mb3rem {
    margin-bottom: 3rem !important;
}

.mb2rem {
    margin-bottom: 2rem !important;
}

.mt3rem {
    margin-top: 3rem !important;
}

.mt2rem {
    margin-top: 2rem !important;
}

a.link {
    display: block;
    color: var(--color-black);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
}

a.inline-link {
    color: var(--color-black);
    font-weight: 500;
    text-decoration: underline;
}

p.text {
    display: block;
    width: calc(100% - 2rem);
    margin: 1rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: .5px;
}

p.card {
    display: block;
    background-color: var(--color-white);
    box-shadow: var(--shadow);
    padding: 1rem;
    width: 100%;
    margin: 1rem 0;
    text-align: left;
    font-size: 1rem;
}

p.card .title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: .5px;
    margin-bottom: 1rem;
}

.input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    box-shadow: var(--shadow);
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-gray-border);
    border-radius: var(--border-radius);
    height: var(--size-input-height);
    width: calc(100% - 2rem);
    margin: 1rem;
    padding: 0 1rem;
    font-family: Montserrat;
    font-size: 1rem;
    transition: background-color var(--animation-duration);
    -webkit-user-select: initial;
}

.input:disabled {
    background-color: var(--color-gray-border);
}

.textarea {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    box-shadow: var(--shadow);
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-gray-border);
    border-radius: var(--border-radius);
    height: calc(4 * var(--size-input-height));
    width: calc(100% - 2rem);
    margin: 1rem;
    padding: 1rem;
    font-family: Montserrat;
    font-size: 1rem;
    resize: none;
    -webkit-user-select: initial;
}

.input:focus, .textarea:focus {
    border-color: var(--color-orange);
}

select.input {
    cursor: pointer;
}

.check-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem;
}

.check-wrapper .check {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--color-white);
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid var(--color-white);
    margin: 0;
    margin-right: 1rem;
    box-shadow: var(--shadow);
    border-radius: .75rem;
    cursor: pointer;
}

.check-wrapper label {
    cursor: pointer;
}

.check-wrapper .check:checked {
    background-color: var(--color-orange);
}

.btn {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    border: none;
    height: var(--size-button-height);
    width: calc(100% - 2rem);
    margin: 1rem;
    padding: 0;
    box-shadow: var(--shadow);
    border-radius: calc(var(--size-button-height) / 2);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-white-text);
    background-color: var(--color-orange);
    cursor: pointer;
}

.btn.spinner {
    position: relative;
}

.btn.btn.spinner::after {
    position: absolute;
    content: "";
    width: calc(var(--size-button-height) / 2);
    height: calc(var(--size-button-height) / 2);
    top: calc(var(--size-button-height) / 4);
    right: 1rem;
    border-radius: 50%;
    border-top: 2px solid var(--color-white-text);
    border-right: 2px solid transparent;
    animation: spinner .8s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.btn:active {
    background-color: var(--color-orange-20p-darker);
}

.btn.btn-green {
    background-color: var(--color-green);
}

.btn:active.btn-green {
    background-color: var(--color-green-20p-darker);
}

/* ############################################### */

.header {
    background-color: var(--color-background);
    position: fixed;
    z-index: var(--zindex-front);
    left: 0;
    top: 0;
    width: 100%;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: box-shadow var(--animation-duration);
}

.header.shadow {
    box-shadow: var(--shadow-header);
}

.header .spacer {
    background-color: var(--color-background);
    height: env(safe-area-inset-top, 0);
}

.header .content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--size-header-height);
    width: 100%;
}

.header .back {
    position: absolute;
    height: var(--size-header-height);
    width: var(--size-header-height);
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header .back svg {
    fill: var(--color-black);
}

.header .back:active svg {
    fill: var(--color-orange);
}

.menu {
    background-color: var(--color-white);
    box-shadow: var(--shadow-menu);
    position: fixed;
    z-index: var(--zindex-front);
    left: 0;
    bottom: 0;
    width: 100%;
}

.menu .content {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: var(--size-menu-height);
}

.menu .spacer {
    background-color: var(--color-white);
    height: env(safe-area-inset-bottom, 0);
}

.menu .item {
    width: var(--size-menu-height);
    border-bottom: 4px solid var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.menu .item.active, .menu .item:active {
    border-color: var(--color-orange);
}

.menu .item svg {
    fill: var(--color-gray);
}

.menu .item.active svg, .menu .item:active svg {
    fill: var(--color-orange);
}

/* ############################################### */

.logo {
    display: block;
    height: auto;
    width: calc(100% - 10rem);
    margin: 1rem 5rem;
}

.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - var(--size-header-height) - var(--size-menu-height) - env(safe-area-inset-bottom, 0) - env(safe-area-inset-top, 0));
}

.empty .icon svg {
    fill: var(--color-gray);
    fill-opacity: .2;
}

.empty .text {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 3rem;
}

/* ############################################### */

@keyframes backdrop {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes dialog {
    from {
        transform: translateY(-4rem);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.backdrop {
    z-index: var(--zindex-dialog);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: var(--color-backdrop);
    display: flex;
    align-items: center;
    /* animation: backdrop var(--animation-duration) ease-out; */
    /* Disabled due to poor performance on MacOS(Chrome, Safari, Firefox) */
}

.backdrop .dialog {
    background-color: var(--color-white);
    width: calc(100% - 2rem);
    margin: 0 1rem;
    padding: 1rem;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    animation: dialog var(--animation-duration) ease-out;
}

.backdrop .dialog .title {
    font-weight: 500;
    letter-spacing: .5px;
    margin-bottom: 1rem;
}

.backdrop .dialog .text {
    margin-bottom: 1rem;
    letter-spacing: .5px;
}

.backdrop .dialog .actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.backdrop .dialog .actions .action:last-child {
    margin-right: -.5rem;
}

.backdrop .dialog .actions .action {
    font-weight: 700;
    color: var(--color-gray);
    text-transform: uppercase;
    margin: 0.5rem;
    margin-bottom: -.5rem;
    padding: .5rem;
    cursor: pointer;
}

.backdrop .dialog .actions .action:active {
    filter: brightness(.8);
}

.backdrop .dialog .actions .action.primary {
    color: var(--color-orange);
}

/* ############################################### */

.day-chooser {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-white);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    height: var(--size-day-chooser-height);
    width: calc(100% - 2rem);
    margin: 1rem;
    padding: 0 2rem;
    cursor: pointer;
}

.day-chooser.disabled, .day-chooser.no-click.disabled {
    color: var(--color-gray);
    cursor: not-allowed;
}

.day-chooser.no-click {
    cursor: unset;
}

.day-chooser:active {
    background-color: var(--color-white-5p-darker);
}

.day-chooser:active.disabled, .day-chooser:active.no-click {
    background-color: var(--color-white);
}

.day-chooser .icon svg {
    fill: var(--color-orange);
}

.day-chooser.disabled .icon svg {
    fill: var(--color-gray);
}

.day-chooser .day {
    text-transform: uppercase;
    text-align: center;
    flex-grow: 2;
}

.day-chooser .add {
    background-color: var(--color-green);
    height: var(--size-day-chooser-height);
    width: var(--size-day-chooser-height);
    margin-left: 2rem;
    margin-right: -2rem;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.day-chooser.disabled .add {
    background-color: var(--color-gray-border);
    cursor: not-allowed;
}

.day-chooser .add:active {
    background-color: var(--color-green-20p-darker);
}

.day-chooser.disabled .add:active {
    background-color: var(--color-gray-border);
}

.day-chooser .add svg {
    fill: var(--color-white-text);
}

.day-chooser.disabled .add svg {
    fill: var(--color-gray);
}

.day-items-with-delivery {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--color-white);
    width: calc(100% - 3rem);
    margin: 1rem;
    margin-left: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.day-items-with-delivery.disabled {
    filter: opacity(var(--opacity-disabled-item));
}

.day-items-with-delivery .info {
    position: relative;
    display: flex;
    align-items: center;
    justify-self: start;
}

.day-items-with-delivery .info .item {
    position: relative;
    background-color: var(--color-orange);
    color: var(--color-white-text);
    font-size: 0.8rem;
    padding: 2px 4px;
    margin: .5rem;
    margin-bottom: 0;
    margin-right: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-menu);
}

.day-items-with-delivery.disabled .info .item {
    background-color: var(--color-gray);
}

.day-items-with-delivery .info .item:last-child {
    margin-right: .5rem;
}

.day-items-with-delivery .day-item {
    width: calc(100% - 1rem);
    margin: .5rem;
    margin-bottom: 0;
    box-shadow: var(--shadow);
}

.day-items-with-delivery .day-item:last-child {
    margin-bottom: .5rem;
}

.day-items-with-delivery .day-item.disabled {
    filter: none;
}

.day-item {
    position: relative;
    background-color: var(--color-white);
    height: var(--size-day-item-height);
    width: calc(100% - 3rem);
    box-shadow: var(--shadow);
    margin: 1rem;
    margin-left: 2rem;
    padding: .5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.day-item.disabled {
    filter: opacity(var(--opacity-disabled-item));
}

.day-item .text {
    flex-grow: 2;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .5px;
    height: calc(var(--size-day-item-height) - 1rem);
    line-height: calc((var(--size-day-item-height) - 1rem) / 2);
    overflow: hidden;
}

.day-item .right {
    height: calc(var(--size-day-item-height) - 1rem);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.day-item .right .actions svg:first-child {
    fill: var(--color-orange);
    margin-right: 2rem;
}

.day-item.disabled .right .actions svg:first-child {
    fill: var(--color-gray);
}

.day-item .right .actions svg:nth-child(2) {
    fill: var(--color-red);
    margin-right: .5rem;
}

.day-item.disabled .right .actions svg:nth-child(2) {
    fill: var(--color-gray);
}

.day-item .right .actions svg:active {
    filter: brightness(.8);
}

.day-item.disabled .right .actions svg:active {
    filter: none;
}

.day-item .right .actions {
    display: flex;
    align-items: center;
    font-family: Abel;
    font-size: 14px;
    letter-spacing: 1.75px;
}

.day-item .right .actions svg {
    cursor: pointer;
}

.day-item .right .total {
    font-family: Abel;
    font-size: 12px;
    letter-spacing: 1.75px;
    white-space: nowrap;
}

/* ############################################### */

.category {
    background-color: var(--color-white);
    width: 100%;
    height: var(--size-category-height);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
}

.meal {
    position: relative;
    background-color: var(--color-white);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    width: calc(100% - 2rem);
    /* height: 280px; */
    margin: 1rem;
    overflow: hidden;
}

.meal .flag {
    position: absolute;
    top: 25px;
    left: -110px;
    transform: rotate(-45deg);
    box-shadow: var(--shadow);
    color: var(--color-white-text);
    height: 30px;
    width: 300px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
}

.meal .flag-right {
    position: absolute;
    top: 25px;
    right: -110px;
    transform: rotate(45deg);
    box-shadow: var(--shadow);
    color: var(--color-white-text);
    height: 30px;
    width: 300px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
}

.meal .flag-red {
    background-color: var(--color-red);
}

.meal .flag-green {
    background-color: var(--color-green);
}

.meal .flag-yellow {
    background-color: var(--color-hrono);
}

.meal .flag-orange {
    background-color: var(--color-orange);
}

.meal .flag-light-green {
    background-color: var(--color-fit);
}

.meal .flag.first {
    top: 15px;
    left: -120px;
}

.meal .flag.second {
    top: 40px;
    left: -100px;
}

.meal .flag-right.first {
    top: 15px;
    right: -120px;
}

.meal .flag-right.second {
    top: 40px;
    right: -100px;
}

.meal .flag-right.third {
    top: 60px;
    right: -75px;
}

.meal .image {
    background-color: var(--color-orange);
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.meal .image img {
    width: 100%;
    height: 100%;
    /* height: auto; */
}

.meal .description {
    width: calc(100% - 2rem);
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-gray);
    margin: .75rem 1rem;
    margin-bottom: 0;
}

.meal .name {
    width: calc(100% - 2rem);
    margin: .75rem 1rem;
    margin-bottom: 0;
    letter-spacing: .5px;
    font-weight: 500;
}

.meal .options {
    width: calc(100% - 2rem);
    height: 40px;
    margin: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.meal .options.with-weights {
    margin-top: 2.5rem;
}

.meal .options .option {
    position: relative;
    width: calc((100% - 2rem) / 3);
    height: 40px;
    padding: 0 .5rem;
    border: 1px solid var(--color-gray);
    border-radius: var(--border-radius);
    color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Actor;
    font-size: 14px;
    cursor: pointer;
}

.meal .options .option.with-weight {
    border-top-left-radius: 0;
}

.meal .options .option .weight {
    position: absolute;
    left: -1px;
    top: calc(-1.5rem - 1px);
    background-color: var(--color-gray);
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    color: var(--color-white-text);
    padding: .25rem .5rem;
}

.meal .options.one-option .option {
    width: 100%;
}

.meal .options.one-option.sold .option {
    cursor: not-allowed;
}

.meal .options.two-options .option {
    width: calc((100% - 1rem) / 2);
}

.meal .options .option.selected {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    color: var(--color-white-text);
}

.meal .options .option.selected .weight {
    background-color: var(--color-orange);
}

.make-order {
    position: fixed;
    width: calc(100% - 2rem);
    margin: 0 1rem;
    height: var(--size-make-order-height);
    left: 0;
    bottom: calc(env(safe-area-inset-bottom, 0) + var(--size-menu-height) + 1rem);
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    z-index: var(--zindex-front);
}

.make-order .total {
    color: var(--color-green);
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
}

.make-order .confirm {
    background-color: var(--color-green);
    color: var(--color-white-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    cursor: pointer;
}

.make-order .confirm:active {
    background-color: var(--color-green-20p-darker);
}

.make-order .confirm svg {
    fill: var(--color-white-text);
}

/* ############################################### */

.week-total {
    background-color: var(--color-white);
    width: 100%;
    height: var(--size-category-height);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    margin: 1rem 0;
    padding: 0 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
}

.week-total.disabled {
    filter: opacity(var(--opacity-disabled-item));
}

.week-total .days {
    flex-grow: 2;
    text-align: center;
}

.week-total .total {
    font-family: Abel;
    font-size: 14px;
    letter-spacing: 1.75px;
}

.history-day {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--color-white);
    width: calc(100% - 2rem);
    margin: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.history-day .info {
    position: relative;
    display: flex;
    align-items: center;
    justify-self: start;
}

.history-day .info .item {
    position: relative;
    background-color: var(--color-hrono);
    color: var(--color-white-text);
    font-size: 0.8rem;
    padding: 2px 4px;
    margin: .5rem;
    margin-bottom: 0;
    margin-right: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-menu);
}

.history-day .info .item.green {
    background-color: var(--color-green);
}

.history-items-with-delivery {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--color-white);
    width: calc(100% - 2rem);
    margin: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.history-items-with-delivery.disabled {
    filter: opacity(var(--opacity-disabled-item));
}

.history-items-with-delivery .info {
    position: relative;
    display: flex;
    align-items: center;
    justify-self: start;
}

.history-items-with-delivery .info .item {
    position: relative;
    background-color: var(--color-orange);
    color: var(--color-white-text);
    font-size: 0.8rem;
    padding: 2px 4px;
    margin: .5rem;
    margin-bottom: 0;
    margin-right: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-menu);
}

.history-items-with-delivery.disabled .info .item {
    background-color: var(--color-gray);
}

.history-items-with-delivery .info .item:last-child {
    margin-right: .5rem;
}

.history-items-with-delivery .history-item {
    width: calc(100% - 1rem);
    margin: .5rem;
    margin-bottom: 0;
    box-shadow: var(--shadow);
}

.history-items-with-delivery .history-item:last-child {
    margin-bottom: .5rem;
}

.history-items-with-delivery .history-item.disabled {
    filter: none;
}

.history-item {
    position: relative;
    width: calc(100% - 2rem);
    margin: 1rem;
    padding: .5rem;
    height: var(--size-history-item-height);
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
}

.history-item.no-shadow {
    box-shadow: none;
}

.history-item.disabled {
    filter: opacity(var(--opacity-disabled-item));
}

.history-item .text {
    flex-grow: 2;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .5px;
    height: calc(var(--size-history-item-height) - 1rem);
    line-height: calc((var(--size-history-item-height) - 1rem) / 2);
    overflow: hidden;
}

.history-item .right {
    height: calc(var(--size-history-item-height) - 1rem);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.history-item .right .day .icon svg {
    fill: var(--color-orange);
    margin-right: .5rem;
}

.history-item.disabled .right .day .icon svg {
    fill: var(--color-gray);
}

.history-item .right .day {
    display: flex;
    align-items: center;
    font-family: Abel;
    font-size: 14px;
    letter-spacing: 1.75px;
}

.history-item .right .total {
    font-family: Abel;
    font-size: 12px;
    letter-spacing: 1.75px;
    white-space: nowrap;
}

/* ############################################### */

.account-info {
    background-color: var(--color-white);
    width: 100%;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 2rem;
}

.account-info .initials {
    flex-shrink: 0;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background-color: var(--color-orange);
    color: var(--color-white-text);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    margin-right: 1rem;
}

.account-info .info {
    flex-grow: 2;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 400;
}

.account-info .info .name {
    font-weight: 500;
}

.account-info .info div {
    margin-bottom: .5rem;
}

.account-info .info div:nth-child(3) {
    margin-bottom: 1.5rem;
}

.account-info .info div:last-child {
    margin-bottom: 0;
}

.account-item {
    display: flex;
    align-items: center;
    background-color: var(--color-white);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    height: var(--size-day-chooser-height);
    width: calc(100% - 2rem);
    margin: 1rem;
    padding: 0 2rem;
    cursor: pointer;
}

.account-item:active {
    background-color: var(--color-white-5p-darker);
}

.account-item .text {
    flex-grow: 2;
    text-align: center;
}

.account-item.danger .text {
    color: var(--color-red);
}

.account-item .icon-left svg {
    fill: var(--color-orange);
}

.account-item .icon-right svg {
    fill: var(--color-gray);
}

/* ############################################### */

@keyframes show-animation {
    from {
        transform: translateY(-2rem);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.show-animation {
    animation: show-animation var(--animation-duration) ease-out;
}


/* ############################################### */


.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - var(--size-header-height) - var(--size-menu-height));
}

.loader.full-screen {
    height: 100vh;
}

.loader .wrapper {
    width: 10rem;
    height: 10rem;
    position: relative;
}

.loader .wrapper .bouncer1, .loader .wrapper .bouncer2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background-color: var(--color-gray-border);
    opacity: 0.2;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.loader .wrapper .bouncer2 {
    background-color: var(--color-gray);
    animation-delay: -1.0s;
}

@keyframes sk-bounce {
    0%, 100% { 
        transform: scale(0.0);
    }
    
    50% { 
        transform: scale(1.0);
    }
}

/* ############################################### */

@media screen and (max-width: 374px) {
    .account-info .initials {
        width: 4rem;
        height: 4rem;
        font-size: 1rem;
    }
}

@media screen and (min-width: 769px) {
    body {
        width: var(--desktop-content-width);
        margin-left: auto;
        margin-right: auto;
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(247,247,247,1) 30%, rgba(247,247,247,1) 50%, rgba(247,247,247,1) 70%, rgba(255,255,255,0) 100%), url("../img/background30p-rotated.png");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-attachment: fixed;
    }

    body.no-padding {
        padding: 0;
        padding-top: env(safe-area-inset-top, 0);
        background: url("../img/background30p-rotated.png");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-attachment: fixed;
        min-height: 100vh;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .header {
        width: var(--desktop-content-width);
        left: max(calc(50% - calc(var(--desktop-content-width) / 2)), 0px);
    }

    .menu {
        width: var(--desktop-content-width);
        left: max(calc(50% - calc(var(--desktop-content-width) / 2)), 0px);
    }

    .backdrop .dialog {
        width: calc(var(--desktop-content-width) - 2rem);
        margin-left: auto;
        margin-right: auto;
    }

    .make-order {
        width: calc(var(--desktop-content-width) - 2rem);
        left: max(calc(50% - calc(var(--desktop-content-width) / 2)), 0px);
    }

    .meal .image {
        height: 300px;
    }
}
