:root {
    --autoservice-ink: #231f20;
    --autoservice-paper: #f3eadb;
    --autoservice-panel: #fffaf2;
    --autoservice-line: #ded1c1;
    --autoservice-dark: #372f2a;
    --autoservice-accent: #ff7900;
    --autoservice-orange: var(--autoservice-accent);
    --autoservice-accent-dark: #e46d00;
    --autoservice-error-bg: #fff3f0;
    --autoservice-error-line: #ffc4bd;
    --autoservice-error-text: #981b1b;
    --autoservice-ok: #1d8b57;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--autoservice-ink);
    background:
        radial-gradient(circle at 50% 16%, rgba(255, 255, 255, .66), rgba(255, 255, 255, 0) 340px),
        var(--autoservice-paper);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

body.has-active-session {
    background: var(--autoservice-paper);
}

body.has-addon-sheet,
body.has-tip-sheet,
body.has-payment-sheet {
    overflow: hidden;
}

body.has-idle-prompt {
    overflow: hidden;
}

.autoservice-shell {
    min-height: 100dvh;
    display: grid;
    grid-template-rows: minmax(20dvh, 1fr) auto minmax(20dvh, 1fr);
    justify-items: center;
    margin: 0 auto;
    padding: env(safe-area-inset-top) 30px env(safe-area-inset-bottom);
}

.autoservice-login-stack {
    grid-row: 2;
    width: min(309px, 100%);
}

.has-active-session .autoservice-shell {
    display: block;
    padding: 0;
}

.autoservice-home-screen {
    width: 100%;
    max-width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 18px;
    padding: 18px 28px;
    padding-top: calc(18px + env(safe-area-inset-top));
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    overflow: hidden;
}

.autoservice-home-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.autoservice-terminal-word {
    position: absolute;
    top: 0;
    left: 50%;
    display: grid;
    justify-items: center;
    gap: 2px;
    transform: translateX(-50%);
    color: var(--autoservice-ink);
}

.autoservice-terminal-word span {
    color: #74675f;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.autoservice-terminal-word strong {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    line-height: 1;
}

.autoservice-home-logo {
    width: 78px;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .56));
}

.autoservice-home-top a {
    display: inline-flex;
}

.autoservice-terminal-cancel {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(55, 47, 42, .18);
    border-radius: 999px;
    background: rgba(255, 253, 250, .42);
    color: #6d6259;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34);
}

.autoservice-terminal-cancel svg {
    width: 25px;
    height: 25px;
    display: block;
}

.autoservice-terminal-cancel:focus,
.autoservice-terminal-cancel:hover {
    color: var(--autoservice-ink);
    background: rgba(255, 253, 250, .68);
}

.autoservice-brand {
    display: grid;
    place-items: center;
    width: 100%;
    margin: 0 0 18px;
}

.autoservice-logo {
    width: min(189px, 52vw);
    height: auto;
    display: block;
    filter: drop-shadow(0 3px 0 rgba(255, 255, 255, .62));
}

.autoservice-terminal-entry-title {
    display: none;
}

.autoservice-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--autoservice-line);
    border-radius: 5px;
    background: var(--autoservice-panel);
    box-shadow: 0 18px 36px rgba(35, 31, 32, .13);
}

.autoservice-card-head {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: var(--autoservice-dark);
    color: #fffaf2;
}

.autoservice-card-head strong {
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.autoservice-form-wrap {
    padding: 16px;
    background: var(--autoservice-panel);
}

.autoservice-form {
    display: grid;
    gap: 11px;
}

.autoservice-field {
    display: grid;
    gap: 6px;
}

.autoservice-field label {
    font-size: 12px;
    font-weight: 800;
}

.autoservice-field input {
    width: 100%;
    height: 38px;
    border: 1px solid #c9b8a6;
    border-radius: 4px;
    background: #fffdfa;
    color: #000;
    font: inherit;
    font-size: 13px;
    outline: 0;
    padding: 0 10px;
    box-shadow: none;
}

.autoservice-field input:focus {
    border-color: #be9472;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, .12);
}

.autoservice-submit {
    width: 100%;
    min-height: 38px;
    margin-top: 2px;
    border: 1px solid var(--autoservice-accent-dark);
    border-radius: 4px;
    background: var(--autoservice-accent);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(255, 121, 0, .18);
}

.autoservice-submit:focus,
.autoservice-submit:hover {
    background: #f17400;
    outline: 0;
}

.autoservice-errors {
    margin: 0 0 18px;
    padding: 10px 12px;
    border: 1px solid var(--autoservice-error-line);
    background: var(--autoservice-error-bg);
    color: var(--autoservice-error-text);
    font-size: 13px;
    font-weight: 700;
}

.autoservice-errors div + div {
    margin-top: 6px;
}

.autoservice-home-actions {
    width: min(258px, 100%);
    display: grid;
    align-self: center;
    justify-self: center;
    gap: 13px;
}

.autoservice-home-button {
    min-height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(55, 47, 42, .28);
    border-radius: 999px;
    background: rgba(255, 253, 250, .74);
    color: var(--autoservice-ink);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(35, 31, 32, .07);
}

.autoservice-home-button-primary {
    border-color: var(--autoservice-accent-dark);
    background: var(--autoservice-accent);
    color: #fff;
    box-shadow: 0 12px 24px rgba(255, 121, 0, .18);
}

.autoservice-home-button:focus,
.autoservice-home-button:hover {
    border-color: var(--autoservice-accent-dark);
    background: var(--autoservice-accent);
    color: #fff;
    outline: 0;
}

.autoservice-menu-view {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 15px;
    overflow: hidden;
}

.autoservice-orders-view {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    overflow: hidden;
}

[data-autoservice-orders-content] {
    min-height: 0;
    overflow: hidden;
}

[data-autoservice-orders-content] > .autoservice-orders-list {
    height: 100%;
}

.autoservice-orders-list {
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 10px;
    overflow-y: auto;
    padding: 4px 0 22px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.autoservice-orders-list::-webkit-scrollbar {
    display: none;
}

.autoservice-order-card {
    border-bottom: 1px solid rgba(55, 47, 42, .13);
}

.autoservice-order-card.is-ready {
    border-bottom-color: rgba(29, 139, 87, .3);
}

.autoservice-order-card.is-cancelled {
    opacity: .72;
}

.autoservice-order-card.is-just-ready {
    animation: autoserviceReadyPulse 1.1s ease-in-out 2;
}

.autoservice-order-card summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(86px, auto);
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    cursor: pointer;
    list-style: none;
}

.autoservice-order-card summary::-webkit-details-marker {
    display: none;
}

.autoservice-order-card summary > div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.autoservice-order-card summary > div:last-child {
    min-width: 0;
    justify-items: end;
    text-align: right;
}

.autoservice-order-card strong {
    color: var(--autoservice-ink);
    font-size: 14px;
    line-height: 1.1;
}

.autoservice-order-card span {
    color: #74675f;
    font-size: 11px;
    font-weight: 800;
}

.autoservice-order-card .autoservice-order-status {
    color: #27754d;
    max-width: 116px;
    line-height: 1.15;
    overflow-wrap: normal;
    white-space: normal;
}

.autoservice-order-status.is-payment {
    color: #8a5b00;
}

.autoservice-order-status.is-error {
    color: var(--autoservice-error-text);
}

.autoservice-order-status.is-received {
    color: #74675f;
}

.autoservice-order-status.is-progress {
    color: #b45c00;
}

.autoservice-order-status.is-ready {
    color: var(--autoservice-ok);
}

.autoservice-order-status.is-cancelled {
    color: #8b8178;
}

.autoservice-order-detail {
    min-width: 0;
    display: grid;
    gap: 7px;
    padding: 0 0 14px;
}

.autoservice-order-tracker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin: 0 0 4px;
}

.autoservice-order-tracker span {
    min-height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(55, 47, 42, .14);
    border-radius: 999px;
    background: rgba(255, 253, 250, .54);
    color: #74675f;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
    padding: 0 6px;
}

.autoservice-order-tracker span.is-done,
.autoservice-order-tracker span.is-current {
    border-color: rgba(29, 139, 87, .32);
    background: rgba(29, 139, 87, .1);
    color: var(--autoservice-ok);
}

.autoservice-order-detail-row,
.autoservice-order-detail-total {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: baseline;
}

.autoservice-order-detail-row span,
.autoservice-order-detail-total span,
.autoservice-order-detail p {
    margin: 0;
    color: #5f554e;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.autoservice-order-detail-row strong,
.autoservice-order-detail-total strong {
    color: var(--autoservice-ink);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.autoservice-order-detail-row.is-addon span {
    color: #74675f;
    padding-left: 12px;
}

.autoservice-order-detail-row.is-comment span {
    color: #5f554e;
    padding-left: 12px;
}

.autoservice-order-detail-row.is-subtotal {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px dashed rgba(55, 47, 42, .12);
}

.autoservice-order-detail-row.is-tip span,
.autoservice-order-detail-row.is-tip strong {
    color: #74675f;
}

.autoservice-order-detail-row.is-addon strong,
.autoservice-order-detail-row.is-comment strong {
    color: #74675f;
}

.autoservice-order-detail-total {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px dashed rgba(55, 47, 42, .18);
}

.autoservice-order-payment-actions {
    min-width: 0;
    display: grid;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px dashed rgba(55, 47, 42, .14);
    border-bottom: 1px dashed rgba(55, 47, 42, .1);
}

.autoservice-order-payment-actions p,
.autoservice-order-payment-actions span {
    margin: 0;
    color: #5f554e;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
}

.autoservice-order-payment-actions > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.autoservice-order-payment-actions a,
.autoservice-order-payment-actions button {
    min-height: 30px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(55, 47, 42, .2);
    border-radius: 999px;
    background: rgba(255, 253, 250, .56);
    color: var(--autoservice-ink);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    padding: 0 12px;
    text-decoration: none;
}

.autoservice-order-payment-actions a {
    border-color: rgba(255, 121, 0, .48);
    color: var(--autoservice-accent-dark);
}

.autoservice-order-payment-actions button {
    cursor: pointer;
}

.autoservice-order-payment-actions form {
    margin: 0;
}

.autoservice-order-payment-actions.is-cancelled {
    border-bottom: 0;
}

.autoservice-orders-back {
    width: min(220px, 100%);
    min-height: 42px;
    display: grid;
    place-items: center;
    justify-self: center;
    border: 1px solid rgba(55, 47, 42, .2);
    border-radius: 999px;
    background: rgba(255, 253, 250, .72);
    color: var(--autoservice-ink);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(35, 31, 32, .06);
}

.autoservice-orders-back:focus,
.autoservice-orders-back:hover {
    border-color: var(--autoservice-accent-dark);
    background: var(--autoservice-accent);
    color: #fff;
    outline: 0;
}

.autoservice-alerts-enable {
    width: min(190px, 100%);
    min-height: 32px;
    display: grid;
    place-items: center;
    justify-self: center;
    border: 1px solid rgba(29, 139, 87, .32);
    border-radius: 999px;
    background: rgba(29, 139, 87, .08);
    color: var(--autoservice-ok);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.autoservice-alerts-enable[hidden] {
    display: none;
}

.autoservice-alerts-enable:focus,
.autoservice-alerts-enable:hover {
    border-color: var(--autoservice-ok);
    background: rgba(29, 139, 87, .14);
    outline: 0;
}

.autoservice-ready-notice {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    z-index: 20;
    display: grid;
    gap: 2px;
    justify-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: var(--autoservice-ok);
    color: #fff;
    padding: 10px 16px;
    box-shadow: 0 14px 28px rgba(35, 31, 32, .22);
}

.autoservice-ready-notice[hidden] {
    display: none;
}

.autoservice-ready-notice strong,
.autoservice-ready-notice span {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}

.autoservice-ready-notice span {
    font-size: 10px;
    opacity: .9;
}

.autoservice-ready-notice.is-fallback-alert {
    animation: autoserviceReadyNoticePulse .9s ease-in-out 10;
    box-shadow: 0 16px 34px rgba(29, 139, 87, .36), 0 0 0 4px rgba(29, 139, 87, .16);
}

@keyframes autoserviceReadyPulse {
    0%,
    100% {
        background: transparent;
    }

    50% {
        background: rgba(29, 139, 87, .12);
    }
}

@keyframes autoserviceReadyNoticePulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}

.autoservice-category-strip {
    display: flex;
    gap: 8px;
    margin: 0 -28px;
    padding: 8px 28px 9px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    touch-action: pan-x;
}

.autoservice-category-strip::-webkit-scrollbar {
    display: none;
}

.autoservice-category-strip button {
    position: relative;
    min-width: max-content;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(55, 47, 42, .16);
    border-radius: 14px;
    background: rgba(255, 253, 250, .66);
    color: #4b423b;
    font: inherit;
    font-size: 13.2px;
    font-weight: 850;
    padding: 0 15px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .36);
}

.autoservice-category-strip button em {
    position: absolute;
    right: -3px;
    top: -3px;
    min-width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 253, 250, .92);
    border-radius: 999px;
    background: var(--autoservice-accent);
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    padding: 0 5px;
    box-shadow: 0 2px 7px rgba(35, 31, 32, .15);
}

.autoservice-category-strip button em[hidden] {
    display: none;
}

.autoservice-category-strip button.is-active {
    border-color: var(--autoservice-dark);
    background: var(--autoservice-dark);
    color: #fffaf2;
    box-shadow: 0 7px 14px rgba(35, 31, 32, .12);
}

.autoservice-category-strip button.is-active em {
    border-color: var(--autoservice-dark);
    background: #fffaf2;
    color: var(--autoservice-dark);
}

.autoservice-product-panels,
.autoservice-product-panel {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.autoservice-product-panels {
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
}

.autoservice-product-panels.is-category-pager {
    --autoservice-category-gap: 80px;
    position: relative;
    display: block;
    overflow: hidden;
    touch-action: pan-y;
}

.autoservice-product-panels.is-category-pager .autoservice-product-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    min-width: 100%;
    will-change: transform;
    visibility: hidden;
}

.autoservice-product-panels.is-category-pager .autoservice-product-panel.is-carousel-visible {
    visibility: visible;
}

.autoservice-product-panel[hidden] {
    display: none;
}

.autoservice-product-list {
    height: 100%;
    min-height: 0;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-y;
    padding-bottom: 22px;
}

.autoservice-product-list::-webkit-scrollbar {
    display: none;
}

.autoservice-product-card {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    min-height: 80px;
    padding: 16px 0 18px;
    border-bottom: 1px solid rgba(55, 47, 42, .13);
}

.autoservice-product-card.has-quantity {
    border-bottom-color: rgba(255, 121, 0, .35);
}

.autoservice-product-info {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.autoservice-product-info strong {
    color: var(--autoservice-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16.5px;
    line-height: 1.16;
}

.autoservice-product-info p {
    margin: 0;
    color: #74675f;
    font-size: 13.2px;
    line-height: 1.25;
}

.autoservice-product-info span {
    color: #27754d;
    font-size: 13.2px;
    font-weight: 800;
}

.autoservice-product-note {
    width: fit-content;
    max-width: 100%;
    display: block;
    color: #5f554e;
    font-size: 12.1px;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.autoservice-product-note[hidden] {
    display: none;
}

.autoservice-product-actions {
    display: grid;
    justify-items: end;
    gap: 6px;
    margin-top: 2px;
}

.autoservice-product-image {
    width: var(--autoservice-product-image-width, 36px);
    height: var(--autoservice-product-image-height, 24px);
    display: grid;
    place-items: center;
    justify-self: center;
    margin-top: 1px;
    opacity: .94;
    pointer-events: none;
}

.autoservice-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(55, 47, 42, .12));
}

.autoservice-comment-toggle {
    position: relative;
    width: 32px;
    height: 28px;
    border: 1px solid rgba(55, 47, 42, .12);
    border-radius: 999px;
    background: var(--autoservice-paper);
    color: rgba(55, 47, 42, .72);
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34);
}

.autoservice-comment-toggle::before {
    content: "";
    position: absolute;
    inset: 6px 7px;
    background: currentColor;
    mask: url("../img/comentario-autoservicio.png") center / contain no-repeat;
    -webkit-mask: url("../img/comentario-autoservicio.png") center / contain no-repeat;
}

.autoservice-comment-toggle.is-active {
    border-color: rgba(255, 121, 0, .42);
    background: rgba(255, 253, 250, .64);
    color: var(--autoservice-ink);
    box-shadow: 0 0 0 3px rgba(255, 121, 0, .08);
}

.autoservice-comment-toggle:focus,
.autoservice-comment-toggle:hover {
    border-color: var(--autoservice-accent-dark);
    outline: 0;
}

.autoservice-product-comment {
    grid-column: 1 / -1;
    width: min(100%, 460px);
    justify-self: stretch;
    padding: 2px 0 0;
}

.autoservice-product-comment[hidden] {
    display: none;
}

.autoservice-product-comment textarea {
    width: 100%;
    min-height: 48px;
    resize: none;
    border: 1px solid rgba(55, 47, 42, .18);
    border-radius: 8px;
    background: rgba(255, 253, 250, .72);
    color: var(--autoservice-ink);
    font: inherit;
    font-size: 12px;
    line-height: 1.25;
    outline: 0;
    padding: 9px 10px;
}

.autoservice-product-comment textarea:focus {
    border-color: var(--autoservice-accent-dark);
    box-shadow: 0 0 0 3px rgba(255, 121, 0, .1);
}

.autoservice-qty-control {
    display: grid;
    grid-template-columns: 32px 24px 32px;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.autoservice-qty-control button {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(55, 47, 42, .24);
    border-radius: 50%;
    background: #fffdfa;
    color: var(--autoservice-ink);
    font: inherit;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.autoservice-qty-control button[data-autoservice-plus] {
    border-color: var(--autoservice-accent-dark);
    background: var(--autoservice-accent);
    color: #fff;
}

.autoservice-qty-control button:disabled {
    border-color: rgba(55, 47, 42, .12);
    background: rgba(255, 253, 250, .42);
    color: rgba(55, 47, 42, .34);
    cursor: default;
}

.autoservice-qty-control output {
    color: var(--autoservice-ink);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.autoservice-menu-empty {
    align-self: center;
    justify-self: center;
    color: #74675f;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.autoservice-order-summary {
    width: min(452px, 100%);
    min-height: 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px 16px 12px 18px;
    border: 1px solid rgba(55, 47, 42, .14);
    border-radius: 16px;
    background: rgba(255, 253, 250, .92);
    box-shadow: 0 10px 24px rgba(35, 31, 32, .08);
}

.autoservice-order-summary[hidden] {
    display: none;
}

.autoservice-order-total {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding-left: 2px;
}

.autoservice-order-total span {
    color: #74675f;
    font-size: 12.6px;
    font-weight: 800;
}

.autoservice-order-total strong {
    color: var(--autoservice-ink);
    font-size: 19.8px;
    font-weight: 800;
    line-height: 1.05;
}

.autoservice-order-confirm {
    min-width: 148px;
    min-height: 52px;
    border: 1px solid var(--autoservice-accent-dark);
    border-radius: 12px;
    background: var(--autoservice-accent);
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(255, 121, 0, .16);
}

.autoservice-order-confirm:disabled {
    border-color: rgba(55, 47, 42, .16);
    background: rgba(55, 47, 42, .13);
    color: rgba(55, 47, 42, .42);
    cursor: default;
}

.autoservice-addon-sheet {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    align-items: end;
}

.autoservice-payment-sheet {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: grid;
    align-items: end;
    justify-items: center;
}

.autoservice-payment-sheet[hidden] {
    display: none;
}

.autoservice-terminal-tip-sheet {
    position: fixed;
    inset: 0;
    z-index: 46;
    display: grid;
    place-items: stretch center;
    background: var(--autoservice-bg);
}

.autoservice-terminal-tip-sheet[hidden] {
    display: none;
}

.autoservice-terminal-tip-panel {
    width: min(100%, 520px);
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    align-content: start;
    gap: 26px;
    padding: calc(22px + env(safe-area-inset-top)) 28px calc(24px + env(safe-area-inset-bottom));
    color: var(--autoservice-ink);
}

.autoservice-terminal-tip-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    min-height: 42px;
}

.autoservice-terminal-tip-head button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--autoservice-ink);
    font: inherit;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.autoservice-terminal-tip-head button:disabled {
    opacity: .45;
    cursor: default;
}

.autoservice-terminal-tip-head h2 {
    grid-column: 1 / -1;
    margin: 14px 0 0;
    color: var(--autoservice-ink);
    font-size: clamp(27px, 7vw, 38px);
    line-height: 1;
    text-align: left;
}

.autoservice-terminal-tip-subtotal {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.autoservice-terminal-tip-subtotal span {
    color: #5f554e;
    font-size: 20px;
    font-weight: 700;
}

.autoservice-terminal-tip-subtotal strong {
    color: var(--autoservice-ink);
    font-size: clamp(48px, 12vw, 68px);
    font-weight: 500;
    line-height: .95;
    letter-spacing: 0;
}

.autoservice-terminal-tip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 12px;
}

.autoservice-terminal-tip-grid button {
    position: relative;
    min-height: 132px;
    display: grid;
    align-content: space-between;
    justify-items: start;
    border: 1px solid rgba(55, 47, 42, .12);
    border-radius: 9px;
    background: rgba(255, 253, 250, .76);
    box-shadow: 0 9px 18px rgba(55, 47, 42, .12);
    color: var(--autoservice-ink);
    font: inherit;
    padding: 22px 38px 22px 22px;
    text-align: left;
    cursor: pointer;
}

.autoservice-terminal-tip-grid button::after {
    content: ">";
    position: absolute;
    right: 22px;
    bottom: 24px;
    color: #5886ca;
    font-size: 21px;
    font-weight: 700;
}

.autoservice-terminal-tip-grid button:disabled {
    opacity: .58;
    cursor: default;
}

.autoservice-terminal-tip-grid strong {
    color: var(--autoservice-ink);
    font-size: 30px;
    font-weight: 500;
    line-height: .95;
}

.autoservice-terminal-tip-grid span {
    color: #4e7fc4;
    font-size: 21px;
    font-weight: 600;
}

.autoservice-terminal-tip-status {
    min-height: 22px;
    margin: 0;
    color: #27754d;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.autoservice-terminal-tip-status[hidden] {
    display: none;
}

.autoservice-terminal-tip-status.is-error {
    color: var(--autoservice-error-text);
}

.autoservice-tip-sheet {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: grid;
    align-items: end;
    justify-items: center;
    background: transparent;
}

.autoservice-tip-sheet[hidden] {
    display: none;
}

.autoservice-tip-panel {
    position: relative;
    width: min(430px, 100%);
    max-height: min(68dvh, 500px);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 10px;
    overflow: hidden;
    border-top: 1px solid rgba(55, 47, 42, .16);
    border-radius: 22px 22px 0 0;
    background: var(--autoservice-paper);
    box-shadow: 0 -16px 36px rgba(35, 31, 32, .14);
    padding: 22px 22px calc(16px + env(safe-area-inset-bottom));
    color: var(--autoservice-ink);
    animation: autoservice-tip-slide-up .36s cubic-bezier(.18, .86, .24, 1);
}

.autoservice-tip-panel::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: rgba(55, 47, 42, .18);
    transform: translateX(-50%);
}

@keyframes autoservice-tip-slide-up {
    from {
        transform: translateY(105%);
    }

    to {
        transform: translateY(0);
    }
}

.autoservice-tip-head {
    min-height: 30px;
    display: flex;
    align-items: center;
}

.autoservice-tip-head button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(55, 47, 42, .12);
    border-radius: 12px;
    background: rgba(255, 253, 250, .74);
    color: var(--autoservice-ink);
    font: inherit;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(55, 47, 42, .08);
    cursor: pointer;
}

.autoservice-tip-copy {
    display: grid;
    gap: 0;
}

.autoservice-tip-copy h2 {
    margin: 0;
    color: var(--autoservice-ink);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
}

.autoservice-tip-copy p {
    margin: 0;
    color: #6b6059;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.22;
}

.autoservice-tip-list {
    min-height: 0;
    display: grid;
    align-content: start;
    margin: 2px 0 0;
    border-block: 1px solid rgba(55, 47, 42, .1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.autoservice-tip-list > button {
    min-height: 46px;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    border: 0;
    border-top: 1px solid rgba(55, 47, 42, .1);
    background: transparent;
    color: var(--autoservice-ink);
    font: inherit;
    padding: 0 13px;
    text-align: left;
    cursor: pointer;
}

.autoservice-tip-list > button:first-of-type {
    border-top: 0;
}

.autoservice-tip-list > button:last-of-type {
    border-bottom: 0;
}

.autoservice-tip-list > button > span {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(55, 47, 42, .34);
    border-radius: 50%;
    background: transparent;
    box-shadow: inset 0 0 0 5px var(--autoservice-paper);
}

.autoservice-tip-list > button.is-active > span {
    border-color: var(--autoservice-accent);
    background: var(--autoservice-accent);
}

.autoservice-tip-list > button strong {
    min-width: 0;
    color: var(--autoservice-ink);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.08;
}

.autoservice-tip-list > button em {
    color: var(--autoservice-ink);
    font-style: normal;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.autoservice-tip-custom {
    display: grid;
    gap: 6px;
    padding: 8px 13px 12px 50px;
    border-top: 1px solid rgba(55, 47, 42, .1);
    background: rgba(255, 253, 250, .34);
}

.autoservice-tip-custom[hidden] {
    display: none;
}

.autoservice-tip-custom label {
    color: #6b6059;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.autoservice-tip-custom div {
    min-height: 40px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(55, 47, 42, .16);
    border-radius: 10px;
    background: rgba(255, 253, 250, .82);
    padding: 0 11px;
}

.autoservice-tip-custom span {
    color: #6b6059;
    font-size: 16px;
    font-weight: 900;
}

.autoservice-tip-custom input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--autoservice-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 900;
}

.autoservice-tip-foot {
    width: min(342px, 100%);
    justify-self: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 14px;
    border: 1px solid rgba(55, 47, 42, .14);
    border-radius: 999px;
    background: rgba(255, 253, 250, .92);
    box-shadow: 0 10px 24px rgba(35, 31, 32, .09);
}

.autoservice-tip-foot div {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.autoservice-tip-foot span {
    color: #74675f;
    font-size: 10px;
    font-weight: 800;
}

.autoservice-tip-foot strong {
    color: var(--autoservice-ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.05;
}

.autoservice-tip-foot button {
    min-height: 38px;
    border: 1px solid var(--autoservice-accent-dark);
    border-radius: 999px;
    background: var(--autoservice-accent);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    padding: 0 18px;
    box-shadow: none;
    cursor: pointer;
}

.autoservice-tip-foot button:disabled {
    border-color: rgba(55, 47, 42, .16);
    background: rgba(55, 47, 42, .14);
    color: rgba(55, 47, 42, .34);
    box-shadow: none;
    cursor: default;
}

.autoservice-payment-panel {
    position: relative;
    width: min(760px, calc(100% - 32px));
    max-height: min(96dvh, 700px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(55, 47, 42, .14);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: var(--autoservice-paper);
    box-shadow: 0 -18px 42px rgba(35, 31, 32, .18);
}

.autoservice-addon-head.autoservice-payment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px 12px;
    border-bottom: 1px solid rgba(55, 47, 42, .12);
    text-align: left;
}

.autoservice-addon-head.autoservice-payment-head span {
    color: #74675f;
    letter-spacing: .02em;
}

.autoservice-addon-head.autoservice-payment-head strong {
    display: block;
    color: var(--autoservice-ink);
    font-size: 22px;
    line-height: 1.08;
}

.autoservice-addon-head.autoservice-payment-head small {
    display: block;
    margin-top: 4px;
    color: #5f554e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.autoservice-payment-options {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 12px;
    overflow-y: auto;
    padding: 12px 24px calc(16px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
}

.autoservice-payment-ticket {
    position: relative;
    grid-column: 1 / -1;
    display: grid;
    gap: 7px;
    overflow: visible;
    padding: 12px 16px 10px;
    border: 1px solid rgba(55, 47, 42, .1);
    border-radius: 8px;
    background: #fffdf7;
    box-shadow: 0 10px 24px rgba(35, 31, 32, .06);
}

.autoservice-payment-ticket::before,
.autoservice-payment-ticket::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 17px;
    height: 17px;
    border: 1px solid rgba(55, 47, 42, .1);
    border-radius: 50%;
    background: var(--autoservice-paper);
    transform: translateY(-50%);
}

.autoservice-payment-ticket::before {
    left: -9px;
}

.autoservice-payment-ticket::after {
    right: -9px;
}

.autoservice-payment-ticket header,
.autoservice-payment-ticket footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 12px;
}

.autoservice-payment-ticket header {
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(55, 47, 42, .22);
}

.autoservice-payment-ticket-head > div {
    min-width: 0;
}

.autoservice-payment-ticket .autoservice-payment-ticket-brand {
    display: block;
    color: var(--autoservice-ink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
}

.autoservice-payment-ticket-head small {
    display: block;
    margin-top: 4px;
    color: #5f554e;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
}

.autoservice-payment-ticket-head .autoservice-payment-ticket-client {
    color: var(--autoservice-ink);
    font-weight: 800;
}

.autoservice-payment-ticket footer {
    padding-top: 8px;
    border-top: 1px dashed rgba(55, 47, 42, .22);
}

.autoservice-payment-ticket span {
    min-width: 0;
    color: #5f554e;
    font-size: 11px;
    font-weight: 800;
}

.autoservice-payment-ticket strong {
    min-width: 0;
    color: var(--autoservice-ink);
    font-size: 13px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.autoservice-payment-ticket footer span {
    text-transform: uppercase;
    letter-spacing: .04em;
}

.autoservice-payment-ticket footer strong {
    color: var(--autoservice-ink);
    font-size: 22px;
    letter-spacing: .02em;
}

.autoservice-payment-ticket-lines {
    display: grid;
    gap: 0;
}

.autoservice-payment-ticket-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: baseline;
}

.autoservice-payment-ticket-row span {
    color: var(--autoservice-ink);
    font-size: 14px;
    line-height: 1.15;
}

.autoservice-payment-ticket-row strong {
    font-size: 14px;
}

.autoservice-payment-ticket-row.is-addon span {
    color: #74675f;
    padding-left: 12px;
}

.autoservice-payment-ticket-row.is-comment span {
    color: #5f554e;
    padding-left: 12px;
}

.autoservice-payment-ticket-row.is-tip {
    padding-top: 2px;
}

.autoservice-payment-ticket-row.is-tip span {
    color: #5f554e;
    font-weight: 800;
}

.autoservice-payment-ticket-row.is-addon strong,
.autoservice-payment-ticket-row.is-comment strong,
.autoservice-payment-ticket-row.is-tip strong {
    color: #74675f;
}

.autoservice-payment-ticket-separator {
    height: 1px;
    margin: 4px 0;
    border-top: 1px dashed rgba(55, 47, 42, .18);
    background: transparent;
}

.autoservice-payment-tip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0 6px;
    border-top: 1px dashed rgba(55, 47, 42, .16);
}

.autoservice-payment-tip > span {
    min-width: 0;
    color: #5f554e;
    font-size: 11px;
    font-weight: 800;
}

.autoservice-tip-options {
    display: flex;
    flex: 0 0 auto;
    gap: 4px;
}

.autoservice-tip-options button {
    min-width: 34px;
    min-height: 24px;
    border: 1px solid rgba(55, 47, 42, .12);
    border-radius: 999px;
    background: transparent;
    color: var(--autoservice-ink);
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    padding: 0 7px;
    cursor: pointer;
}

.autoservice-tip-options button.is-active {
    border-color: rgba(55, 47, 42, .36);
    background: transparent;
    color: var(--autoservice-ink);
    box-shadow: inset 0 -2px 0 var(--autoservice-accent);
}

.autoservice-payment-option {
    min-height: 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(55, 47, 42, .16);
    border-radius: 999px;
    background: rgba(255, 253, 250, .88);
    color: var(--autoservice-ink);
    font: inherit;
    padding: 0 16px 0 20px;
    text-align: left;
    box-shadow: 0 10px 24px rgba(35, 31, 32, .08);
}

.autoservice-payment-options > .autoservice-payment-option:only-of-type {
    grid-column: 1 / -1;
}

.autoservice-payment-option:not(:disabled) {
    cursor: pointer;
}

.autoservice-payment-option:not(:disabled):focus,
.autoservice-payment-option:not(:disabled):hover {
    border-color: rgba(255, 121, 0, .5);
    outline: 0;
}

.autoservice-payment-option:disabled {
    color: rgba(55, 47, 42, .42);
}

.autoservice-payment-option-label,
.autoservice-payment-option strong {
    min-width: 0;
    font-weight: 800;
}

.autoservice-payment-option-label {
    font-size: 15px;
}

.autoservice-payment-option-label em {
    color: #00a6ff;
    font-style: normal;
    font-weight: 900;
}

.autoservice-payment-option-meta {
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    color: var(--autoservice-ink);
}

.autoservice-payment-option-icon {
    width: 32px;
    height: 32px;
    display: block;
    flex: 0 0 auto;
    color: #372f2a;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
}

.autoservice-payment-option-icon.is-qr {
    width: 29px;
    height: 29px;
}

.autoservice-payment-option-icon.is-card {
    width: 36px;
}

.autoservice-payment-option strong {
    color: var(--autoservice-ink);
    font-size: 17px;
}

.autoservice-payment-option:disabled .autoservice-payment-option-icon {
    opacity: .4;
}

.autoservice-payment-option small {
    color: #8e8e8e;
    font-size: 11px;
    font-weight: 800;
}

.autoservice-payment-status {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    color: #74675f;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.autoservice-payment-status.is-error {
    color: var(--autoservice-error-text);
}

.autoservice-page.is-terminal {
    background:
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0) 420px),
        var(--autoservice-paper);
}

.autoservice-page.is-terminal .autoservice-login-stack {
    width: min(420px, calc(100vw - 48px));
    display: grid;
    justify-items: center;
}

.autoservice-page.is-terminal .autoservice-brand {
    margin-bottom: 16px;
}

.autoservice-page.is-terminal .autoservice-logo {
    width: min(176px, 34vw);
}

.autoservice-page.is-terminal .autoservice-terminal-entry-title {
    display: block;
    margin: 0 0 34px;
    color: var(--autoservice-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: clamp(27px, 4vw, 31px);
    font-weight: 650;
    line-height: 1;
    text-align: center;
    letter-spacing: 0;
}

.autoservice-terminal-start-form {
    width: min(360px, 100%);
    display: grid;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.autoservice-page.is-terminal .autoservice-card {
    width: min(360px, 100%);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.autoservice-page.is-terminal .autoservice-card-head {
    display: none;
}

.autoservice-page.is-terminal .autoservice-form-wrap {
    width: 100%;
    padding: 0;
    background: transparent;
}

.autoservice-page.is-terminal .autoservice-form-wrap::before {
    display: none;
}

.autoservice-page.is-terminal .autoservice-form {
    width: 100%;
    gap: 0;
    justify-items: center;
}

.autoservice-page.is-terminal .autoservice-field {
    width: min(250px, 100%);
    justify-self: center;
    gap: 16px;
}

.autoservice-page.is-terminal .autoservice-field label {
    color: var(--autoservice-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.autoservice-page.is-terminal .autoservice-field input,
.autoservice-page.is-terminal .autoservice-submit {
    min-height: 62px;
    border-radius: 16px;
}

.autoservice-page.is-terminal .autoservice-field input {
    min-height: 50px;
    border-color: #cdbfab;
    background: #fffdf8;
    font-size: 20px;
    padding: 0 18px;
    cursor: default;
    caret-color: transparent;
    text-align: center;
    text-transform: uppercase;
}

.autoservice-page.is-terminal .autoservice-submit {
    width: 100%;
    justify-self: center;
    min-height: 68px;
    margin-top: 0;
    border-radius: 14px;
    font-size: 19px;
    box-shadow: 0 10px 22px rgba(255, 121, 0, .2);
}

.autoservice-page.is-terminal .autoservice-submit:disabled {
    opacity: .42;
    box-shadow: none;
    cursor: default;
}

.autoservice-name-keyboard {
    --autoservice-key-size: 58px;
    width: fit-content;
    max-width: 100%;
    justify-self: center;
    display: grid;
    gap: 9px;
    margin: 0 0 2px;
    padding: 14px 12px;
    border: 1px solid rgba(65, 53, 44, .12);
    border-radius: 18px;
    background: rgba(255, 253, 248, .72);
}

.autoservice-name-keyboard.is-shaking {
    animation: autoserviceKeyboardShake .24s ease;
}

.autoservice-name-keyboard-row {
    display: grid;
    grid-template-columns: repeat(10, var(--autoservice-key-size));
    gap: 9px;
    justify-content: center;
}

.autoservice-name-keyboard-row.is-bottom {
    justify-self: center;
    grid-template-columns: repeat(7, var(--autoservice-key-size));
}

.autoservice-name-keyboard-row.is-controls {
    width: 54%;
    justify-self: center;
    grid-template-columns: minmax(120px, 1fr) minmax(150px, 1.12fr);
    gap: 9px;
    margin-top: 0;
}

.autoservice-name-keyboard button {
    width: var(--autoservice-key-size);
    min-width: var(--autoservice-key-size);
    height: var(--autoservice-key-size);
    min-height: var(--autoservice-key-size);
    border: 1px solid rgba(54, 43, 35, .16);
    border-radius: 11px;
    background: #f9f2e8;
    color: var(--autoservice-ink);
    font: 800 24px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
    box-shadow: 0 3px 0 rgba(54, 43, 35, .12);
    touch-action: manipulation;
}

.autoservice-name-keyboard button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 rgba(54, 43, 35, .12);
}

.autoservice-name-keyboard button.is-wide,
.autoservice-name-keyboard-row.is-controls button {
    width: auto;
    min-width: 0;
    min-height: 55px;
    border-radius: 10px;
    background: #efe5d7;
    font-size: 17px;
    text-transform: none;
}

.autoservice-name-keyboard button.is-primary {
    border-color: #de6d00;
    border-radius: 12px;
    background: var(--autoservice-orange);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 8px 16px rgba(255, 121, 0, .18);
}


.autoservice-comment-dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 260;
    display: grid;
    align-items: end;
    justify-items: center;
    padding: 0 14px;
    background: rgba(35, 31, 32, .26);
}

.autoservice-comment-dialog-backdrop[hidden] {
    display: none;
}

.autoservice-comment-dialog {
    width: min(940px, 100%);
    max-height: min(86dvh, 720px);
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto;
    gap: 14px;
    overflow: hidden;
    padding: 18px 22px calc(16px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    background: var(--autoservice-paper);
    border: 1px solid rgba(65, 53, 44, .14);
    box-shadow: 0 -18px 40px rgba(35, 31, 32, .2);
}

.autoservice-comment-dialog-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-bottom: 2px;
    color: var(--autoservice-ink);
    font: 900 21px/1.1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.autoservice-comment-product {
    justify-self: center;
    max-width: 760px;
    color: rgba(55, 47, 42, .66);
    font: 800 16px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    text-align: center;
}

.autoservice-comment-editor {
    width: min(760px, 100%);
    min-height: 78px;
    justify-self: center;
    padding: 14px 18px;
    border: 1px solid rgba(54, 43, 35, .18);
    border-radius: 14px;
    background: #fff;
    color: var(--autoservice-ink);
    font: 800 22px/1.25 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    white-space: pre-wrap;
}

.autoservice-comment-editor.is-empty::before {
    content: attr(data-placeholder);
    color: rgba(55, 47, 42, .42);
}

.autoservice-comment-keyboard {
    align-self: start;
    margin: 0;
}


.autoservice-comment-dialog-foot {
    display: flex;
    justify-content: center;
    margin: 2px -22px calc(-16px - env(safe-area-inset-bottom));
    padding: 14px 22px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(55, 47, 42, .12);
    background: rgba(255, 253, 250, .5);
}

.autoservice-comment-continue {
    min-width: 200px;
    min-height: 52px;
    border: 1px solid #de6d00;
    border-radius: 12px;
    background: #ff7900;
    color: #fff;
    font: 900 17px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    box-shadow: 0 8px 16px rgba(255, 121, 0, .18);
    touch-action: manipulation;
}

.autoservice-comment-continue:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 rgba(54, 43, 35, .14);
}

@keyframes autoserviceKeyboardShake {
    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

@media (max-width: 720px) {
    .autoservice-page.is-terminal .autoservice-login-stack {
        width: min(420px, calc(100vw - 28px));
    }

    .autoservice-page.is-terminal .autoservice-form-wrap {
        padding: 0;
    }

    .autoservice-page.is-terminal .autoservice-field,
    .autoservice-page.is-terminal .autoservice-submit,
    .autoservice-terminal-start-form {
        width: min(320px, 100%);
    }

    .autoservice-name-keyboard {
        --autoservice-key-size: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 7px;
        padding: 8px 10px;
    }

    .autoservice-name-keyboard-row {
        grid-template-columns: repeat(10, minmax(0, 1fr));
        gap: 6px;
    }

    .autoservice-name-keyboard-row.is-bottom {
        width: 72%;
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .autoservice-name-keyboard-row.is-controls {
        width: 72%;
        grid-template-columns: minmax(86px, 1fr) minmax(102px, 1.12fr);
        gap: 6px;
    }

    .autoservice-name-keyboard button {
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
        border-radius: 10px;
        font-size: 17px;
    }

    .autoservice-name-keyboard button.is-wide,
    .autoservice-name-keyboard-row.is-controls button {
        aspect-ratio: auto;
        min-height: 48px;
        font-size: 13px;
    }
}

.autoservice-page.is-terminal .autoservice-home-actions {
    width: min(360px, 100%);
    gap: 16px;
}

.autoservice-page.is-terminal .autoservice-home-button {
    min-height: 70px;
    font-size: 20px;
}

.autoservice-page.is-terminal .autoservice-product-list {
    padding: 4px 2px 26px;
}

.autoservice-page.is-terminal .autoservice-product-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 0 34px;
}

.autoservice-page.is-terminal .autoservice-product-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.autoservice-page.is-terminal .autoservice-product-card {
    position: relative;
    min-height: 126px;
    padding: 18px 0;
    border-bottom: 0;
}

.autoservice-page.is-terminal .autoservice-product-card.needs-image-air {
    min-height: 160px;
    padding-bottom: 47px;
}

.autoservice-page.is-terminal .autoservice-product-card::after {
    content: "";
    position: absolute;
    right: 104px;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(55, 47, 42, .13);
}

.autoservice-page.is-terminal .autoservice-product-card.has-quantity::after {
    background: rgba(255, 121, 0, .35);
}

.autoservice-page.is-terminal .autoservice-product-comment {
    grid-column: 1;
}

.autoservice-product-image,
.autoservice-page.is-terminal .autoservice-product-image {
    --autoservice-product-image-width: 39px;
    --autoservice-product-image-height: 26px;
}

.autoservice-product-image.is-featured-food,
.autoservice-page.is-terminal .autoservice-product-image.is-featured-food {
    --autoservice-product-image-width: 94px;
    --autoservice-product-image-height: 70px;
    margin-top: 3px;
}

.autoservice-product-image.is-featured-sandwich,
.autoservice-page.is-terminal .autoservice-product-image.is-featured-sandwich {
    --autoservice-product-image-width: 103px;
    --autoservice-product-image-height: 77px;
}

.autoservice-product-image.is-featured-draft,
.autoservice-page.is-terminal .autoservice-product-image.is-featured-draft {
    --autoservice-product-image-width: 47px;
    --autoservice-product-image-height: 31px;
}

.autoservice-product-image.is-featured-soft-snack,
.autoservice-page.is-terminal .autoservice-product-image.is-featured-soft-snack {
    --autoservice-product-image-width: 55px;
    --autoservice-product-image-height: 36px;
}

.autoservice-product-image.is-featured-snack,
.autoservice-page.is-terminal .autoservice-product-image.is-featured-snack {
    --autoservice-product-image-width: 72px;
    --autoservice-product-image-height: 47px;
}

.autoservice-page.is-terminal .autoservice-product-info strong {
    font-size: 18px;
}

.autoservice-page.is-terminal .autoservice-product-info p {
    font-size: 14px;
}

.autoservice-page.is-terminal .autoservice-product-info span {
    font-size: 14px;
}

.autoservice-page.is-terminal .autoservice-payment-option {
    min-height: 54px;
}

.autoservice-terminal-wait {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    background: rgba(243, 234, 219, .96);
    padding: 28px;
    opacity: 1;
    transition: opacity .48s ease;
}

.autoservice-terminal-wait[hidden] {
    display: none;
}

.autoservice-terminal-wait.is-returning-home {
    opacity: 0;
    pointer-events: none;
}

.autoservice-terminal-panel {
    width: min(520px, 100%);
    max-height: min(92dvh, 760px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(55, 47, 42, .16);
    border-radius: 18px;
    background: var(--autoservice-paper);
    box-shadow: 0 22px 58px rgba(35, 31, 32, .18);
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity .42s ease, transform .42s ease;
}

.autoservice-terminal-wait.is-returning-home .autoservice-terminal-panel {
    opacity: 0;
    transform: translateY(14px) scale(.96);
}

.autoservice-terminal-panel header {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px 10px;
}

.autoservice-terminal-panel header img {
    width: 92px;
    height: auto;
    display: block;
}

.autoservice-terminal-panel header button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(55, 47, 42, .16);
    border-radius: 50%;
    background: rgba(255, 253, 250, .68);
    color: var(--autoservice-ink);
    font: inherit;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.autoservice-terminal-panel header button[hidden] {
    display: none;
}

.autoservice-terminal-content {
    min-height: 0;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 12px;
    overflow-y: auto;
    padding: 0 28px 28px;
    text-align: center;
    scrollbar-width: none;
}

.autoservice-terminal-content::-webkit-scrollbar {
    display: none;
}

.autoservice-terminal-content > span {
    color: #74675f;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.autoservice-terminal-content h2 {
    margin: 0;
    color: var(--autoservice-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: clamp(25px, 4.8vw, 34px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: 0;
}

.autoservice-terminal-content p {
    max-width: 360px;
    margin: 0;
    color: #5f554e;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.32;
}

.autoservice-terminal-wait.is-terminal-success .autoservice-terminal-content {
    justify-items: start;
    align-content: center;
    padding: 4px 46px 36px;
    text-align: left;
}

.autoservice-terminal-wait.is-terminal-success .autoservice-terminal-content h2 {
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 900;
    line-height: .96;
}

.autoservice-terminal-wait.is-terminal-success .autoservice-terminal-content p {
    max-width: 390px;
    font-size: 15px;
    line-height: 1.3;
}

.autoservice-terminal-qr {
    width: min(340px, 86vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    margin: 6px 0;
    border: 1px solid rgba(55, 47, 42, .14);
    border-radius: 18px;
    background: #fffaf2;
    padding: 10px;
    box-shadow: inset 0 -1px 0 rgba(55, 47, 42, .06);
}

.autoservice-terminal-qr[hidden],
.autoservice-terminal-point[hidden],
.autoservice-terminal-debug[hidden],
.autoservice-terminal-done[hidden] {
    display: none;
}

.autoservice-terminal-qr canvas {
    width: 100%;
    height: auto;
    display: block;
}

.autoservice-terminal-qr small {
    color: var(--autoservice-error-text);
    font-size: 12px;
    font-weight: 800;
}

.autoservice-terminal-point {
    width: min(520px, 100%);
    display: grid;
    justify-items: center;
    gap: 9px;
    margin: 2px 0 0;
    border: 0;
    background: transparent;
    padding: 0;
}

.autoservice-terminal-point > strong {
    color: var(--autoservice-ink);
    font-size: 21px;
    font-weight: 900;
}

.autoservice-card-reader {
    width: min(430px, 88vw);
    display: grid;
    place-items: center;
    margin: 2px 0 0;
}

.autoservice-card-reader img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    filter: none;
}

.autoservice-terminal-point > span {
    color: #5f554e;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.autoservice-terminal-point > span[hidden] {
    display: none;
}

.autoservice-terminal-point.is-payway-terminal {
    width: min(360px, 100%);
    gap: 7px;
    margin: 18px 0 8px;
    border: 1px solid rgba(255, 121, 0, .24);
    border-radius: 18px;
    background: rgba(255, 253, 250, .74);
    padding: 28px 18px;
}

.autoservice-terminal-total {
    color: var(--autoservice-ink);
    font-size: 26px;
    font-weight: 800;
}

.autoservice-terminal-status {
    min-height: 20px;
    color: #27754d;
}

.autoservice-terminal-status.is-error {
    color: var(--autoservice-error-text);
}

.autoservice-terminal-debug {
    max-width: min(390px, 100%);
    color: #74675f;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.autoservice-terminal-done {
    width: min(360px, 100%);
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 8px;
}

.autoservice-terminal-done a {
    min-height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(55, 47, 42, .22);
    border-radius: 999px;
    background: rgba(255, 253, 250, .7);
    color: var(--autoservice-ink);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.autoservice-terminal-done a:last-child {
    border-color: var(--autoservice-accent-dark);
    background: var(--autoservice-accent);
    color: #fff;
}

.autoservice-terminal-retry {
    width: min(360px, 100%);
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.autoservice-terminal-retry[hidden] {
    display: none;
}

.autoservice-terminal-retry p {
    margin: 0;
    color: var(--autoservice-ink);
    font-size: 15px;
    font-weight: 800;
    text-align: center;
}

.autoservice-terminal-retry div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.autoservice-terminal-retry button {
    min-height: 46px;
    border: 1px solid rgba(55, 47, 42, .22);
    border-radius: 999px;
    background: rgba(255, 253, 250, .76);
    color: var(--autoservice-ink);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.autoservice-terminal-retry button:first-child {
    border-color: var(--autoservice-accent-dark);
    background: var(--autoservice-accent);
    color: #fff;
}

.autoservice-addon-sheet[hidden] {
    display: none;
}

.autoservice-addon-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(35, 31, 32, .26);
}

.autoservice-addon-panel {
    position: relative;
    width: min(940px, 100%);
    max-height: min(86dvh, 720px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(65, 53, 44, .14);
    border-radius: 20px 20px 0 0;
    background: var(--autoservice-paper);
    box-shadow: 0 -18px 40px rgba(35, 31, 32, .2);
}

.autoservice-addon-sheet .autoservice-addon-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 18px 22px 8px;
    border-bottom: 0;
    text-align: center;
}

.autoservice-addon-head span,
.autoservice-addon-foot span {
    display: block;
    color: #74675f;
    font-size: 12px;
    font-weight: 900;
}

.autoservice-addon-sheet .autoservice-addon-head strong {
    display: block;
    margin-top: 4px;
    color: var(--autoservice-ink);
    font-size: 21px;
    font-weight: 900;
    line-height: 1.1;
}

.autoservice-addon-sheet .autoservice-addon-head button {
    display: none;
}

.autoservice-payment-head button {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(55, 47, 42, .16);
    border-radius: 50%;
    background: rgba(255, 253, 250, .74);
    color: var(--autoservice-ink);
    font-size: 24px;
    line-height: 1;
}

.autoservice-addon-body {
    min-height: 0;
    overflow-y: auto;
    padding: 6px 22px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.autoservice-addon-body::-webkit-scrollbar {
    display: none;
}

.autoservice-addon-list {
    width: min(760px, 100%);
    display: grid;
    justify-self: center;
    gap: 10px;
}

.autoservice-addon-list[hidden] {
    display: none;
}

.autoservice-addon-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 68px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(55, 47, 42, .08);
}


.autoservice-addon-row.has-quantity {
    border-bottom-color: rgba(255, 121, 0, .34);
}

.autoservice-addon-row:not(.is-option) {
    width: min(360px, 100%);
    justify-self: center;
}

.autoservice-addon-row.is-option {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

.autoservice-addon-info {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.autoservice-addon-info strong {
    color: var(--autoservice-ink);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.16;
}

.autoservice-addon-info span {
    color: #27754d;
    font-size: 13px;
    font-weight: 800;
}

.autoservice-addon-control button[data-autoservice-addon-plus] {
    border-color: var(--autoservice-accent-dark);
    background: var(--autoservice-accent);
    color: #fff;
}

.autoservice-addon-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.autoservice-addon-options button {
    min-height: 40px;
    border: 1px solid rgba(55, 47, 42, .18);
    border-radius: 12px;
    background: rgba(255, 253, 250, .78);
    color: var(--autoservice-ink);
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 900;
}

.autoservice-addon-options button.is-active {
    border-color: var(--autoservice-accent-dark);
    background: var(--autoservice-accent);
    color: #fff;
}

.autoservice-addon-foot {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 14px 22px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(55, 47, 42, .12);
    background: rgba(255, 253, 250, .5);
}

.autoservice-addon-foot > div {
    text-align: center;
}

.autoservice-addon-foot strong {
    display: block;
    color: var(--autoservice-ink);
    font-size: 19px;
    font-weight: 900;
    line-height: 1.08;
}

.autoservice-addon-foot button {
    min-width: 200px;
    min-height: 52px;
    border: 1px solid #de6d00;
    border-radius: 12px;
    background: #ff7900;
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 900;
    padding: 0 20px;
    box-shadow: 0 8px 16px rgba(255, 121, 0, .18);
}

.autoservice-home-footer {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding-top: 4px;
}

.autoservice-home-screen.is-menu-view .autoservice-home-footer {
    gap: 22px;
}

.autoservice-client-foot {
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #27754d;
    font-size: 11px;
    font-weight: 800;
    min-height: 20px;
}

.autoservice-client-foot span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.autoservice-client-foot-spacer {
    min-height: 24px;
    pointer-events: none;
}

.autoservice-logoff-link {
    position: relative;
    color: #8e8e8e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
}

.autoservice-logoff-link::before {
    content: "\00b7";
    margin-right: 14px;
    color: #8e8e8e;
    letter-spacing: 0;
    opacity: .72;
}

.autoservice-logoff-link:focus,
.autoservice-logoff-link:hover {
    color: #444;
    text-decoration: underline;
}

.autoservice-page.is-terminal .autoservice-client-foot {
    font-size: 20px;
    gap: 0;
}

.autoservice-page.is-terminal .autoservice-client-foot span {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.autoservice-page.is-terminal .autoservice-logoff-link {
    font-size: 20px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .06em;
    color: #6f6257;
    white-space: nowrap;
}

.autoservice-page.is-terminal .autoservice-logoff-link::before {
    margin-right: 18px;
}

.autoservice-page.is-terminal .autoservice-logoff-link:focus,
.autoservice-page.is-terminal .autoservice-logoff-link:hover {
    color: var(--autoservice-ink);
}

.autoservice-idle-prompt {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 34px;
    background: rgba(242, 231, 214, .96);
}

.autoservice-idle-prompt[hidden] {
    display: none;
}

.autoservice-idle-panel {
    width: min(520px, 100%);
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: 36px 34px 32px;
    border: 1px solid rgba(52, 42, 34, .14);
    border-radius: 28px;
    background: #f8efe2;
    color: var(--autoservice-ink);
    text-align: center;
    box-shadow: 0 24px 60px rgba(58, 46, 35, .18);
}

.autoservice-idle-panel > span {
    color: #7c6d60;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.autoservice-idle-panel h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.autoservice-idle-panel p {
    max-width: 360px;
    margin: 0;
    color: #75675d;
    font-size: 18px;
    line-height: 1.32;
    font-weight: 750;
}

.autoservice-idle-panel > strong {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff8ee;
    color: var(--autoservice-orange);
    font-size: 34px;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(52, 42, 34, .12);
}

.autoservice-idle-panel div {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 12px;
    margin-top: 4px;
}

.autoservice-idle-panel button {
    min-height: 56px;
    border: 1px solid rgba(52, 42, 34, .14);
    border-radius: 12px;
    background: #fff8ee;
    color: var(--autoservice-ink);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0;
    touch-action: manipulation;
}

.autoservice-idle-panel button:first-child,
.autoservice-idle-panel button[data-autoservice-idle-continue] {
    border-color: #de6d00;
    background: var(--autoservice-orange) !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(255, 121, 0, .18);
    -webkit-text-fill-color: #fff;
}

@media (max-width: 640px) {
    .autoservice-shell {
        padding-right: 34px;
        padding-left: 34px;
    }

    .autoservice-brand {
        margin-bottom: 18px;
    }

    .autoservice-logo {
        width: min(180px, 50vw);
    }

    .autoservice-card {
        width: 100%;
    }

    .autoservice-card-head {
        min-height: 38px;
        padding: 0 16px;
    }

    .autoservice-card-head strong {
        font-size: 15px;
    }

    .autoservice-form-wrap {
        padding: 16px;
    }

    .autoservice-payment-panel {
        width: 100%;
        max-height: 90dvh;
    }

    .autoservice-payment-options {
        grid-template-columns: 1fr;
        padding-right: 18px;
        padding-left: 18px;
    }

    .autoservice-payment-ticket {
        padding-right: 14px;
        padding-left: 14px;
    }

    .autoservice-payment-ticket footer strong {
        font-size: 22px;
    }
}

@media (max-width: 390px) {
    .autoservice-shell {
        padding-right: 30px;
        padding-left: 30px;
    }

    .autoservice-logo {
        width: min(170px, 48vw);
    }

    .autoservice-form-wrap {
        padding: 16px;
    }

    .autoservice-field input,
    .autoservice-submit {
        height: 38px;
        min-height: 38px;
    }

    .autoservice-home-screen {
        padding-right: 26px;
        padding-left: 26px;
    }

    .autoservice-home-logo {
        width: 70px;
    }

    .autoservice-home-button {
        min-height: 50px;
    }

    .autoservice-category-strip {
        margin-right: -26px;
        margin-left: -26px;
        padding-right: 26px;
        padding-left: 26px;
    }

    .autoservice-product-card {
        gap: 10px;
    }

    .autoservice-page.is-terminal .autoservice-product-card::after {
        right: 88px;
    }

    .autoservice-page.is-terminal .autoservice-product-card.needs-image-air {
        min-height: 150px;
        padding-bottom: 40px;
    }

    .autoservice-page.is-terminal .autoservice-product-list {
        padding-right: 0;
        padding-left: 0;
    }

    .autoservice-page.is-terminal .autoservice-product-columns {
        display: block;
    }

    .autoservice-qty-control {
        grid-template-columns: 30px 22px 30px;
        gap: 5px;
    }

    .autoservice-qty-control button {
        width: 30px;
        height: 30px;
    }

    .autoservice-product-image,
    .autoservice-page.is-terminal .autoservice-product-image {
        --autoservice-product-image-width: 32px;
        --autoservice-product-image-height: 21px;
    }

    .autoservice-product-image.is-featured-food,
    .autoservice-page.is-terminal .autoservice-product-image.is-featured-food {
        --autoservice-product-image-width: 74px;
        --autoservice-product-image-height: 55px;
    }

    .autoservice-product-image.is-featured-sandwich,
    .autoservice-page.is-terminal .autoservice-product-image.is-featured-sandwich {
        --autoservice-product-image-width: 81px;
        --autoservice-product-image-height: 61px;
    }

    .autoservice-product-image.is-featured-draft,
    .autoservice-page.is-terminal .autoservice-product-image.is-featured-draft {
        --autoservice-product-image-width: 38px;
        --autoservice-product-image-height: 25px;
    }

    .autoservice-product-image.is-featured-soft-snack,
    .autoservice-page.is-terminal .autoservice-product-image.is-featured-soft-snack {
        --autoservice-product-image-width: 45px;
        --autoservice-product-image-height: 29px;
    }

    .autoservice-product-image.is-featured-snack,
    .autoservice-page.is-terminal .autoservice-product-image.is-featured-snack {
        --autoservice-product-image-width: 59px;
        --autoservice-product-image-height: 38px;
    }

}
