/* токены: --tg-theme-* подставляет сам Telegram (script telegram-web-app.js
   пишет их на :root), фолбэки — только для браузерного режима. --brand/--bsoft/
   --stroke/--danger — наши собственные цвета, их нет в теме клиента, переключаем
   вручную по data-scheme (colorScheme из Telegram или prefers-color-scheme) */
:root {
    --bg: var(--tg-theme-bg-color, #ffffff);
    --sbg: var(--tg-theme-secondary-bg-color, #f1f1f5);
    --txt: var(--tg-theme-text-color, #0d0d11);
    --hint: var(--tg-theme-hint-color, #8b8f95);
    --link: var(--tg-theme-link-color, #3390ec);
    --btn: var(--tg-theme-button-color, #3390ec);
    --btnt: var(--tg-theme-button-text-color, #ffffff);
    --svc: var(--tg-theme-header-bg-color, var(--tg-theme-secondary-bg-color, #e7e7ec));

    --brand: #2f6b76;
    --bsoft: #e8f0f1;
    --stroke: rgba(13, 13, 17, .09);
    --danger: #e0533f;

    --serif: Georgia, 'Times New Roman', serif;
}

:root[data-scheme="dark"] {
    --bg: var(--tg-theme-bg-color, #17212b);
    --sbg: var(--tg-theme-secondary-bg-color, #232e3c);
    --txt: var(--tg-theme-text-color, #f2f4f7);
    --hint: var(--tg-theme-hint-color, #7d8b99);
    --link: var(--tg-theme-link-color, #6ab3f3);
    --btn: var(--tg-theme-button-color, #5288c1);
    --btnt: var(--tg-theme-button-text-color, #ffffff);
    --svc: var(--tg-theme-header-bg-color, var(--tg-theme-secondary-bg-color, #1e2a35));

    --brand: #7cc4cf;
    --bsoft: rgba(124, 196, 207, .13);
    --stroke: rgba(242, 244, 247, .1);
    --danger: #ff6b57;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

/* корневой контейнер занимает весь экран целиком, а не только "телефонную"
   полосу — иначе на планшете (и в Telegram, и в браузере) по бокам остаётся
   пустое поле. в Telegram высота — из --tg-viewport-stable-height, она уже
   учитывает MainButton и клавиатуру сама, руками ничего не подгоняем */
.app {
    width: 100%;
    height: 100dvh;
    height: var(--tg-viewport-stable-height, 100dvh);
    background: var(--bg);
    color: var(--txt);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.screen {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* контент центрируем в комфортной колонке на широких экранах — форму
   в 1400px растягивать незачем, а фон .app и так уже залит на всю ширину */
.screen-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

/* браузерный режим: своя шапка и своя нижняя кнопка вместо нативных Telegram */
.browser-header {
    height: 56px;
    flex: none;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg);
    border-bottom: 1px solid var(--stroke);
    display: flex;
    align-items: center;
    padding: 0 6px;
    gap: 2px;
}

.browser-back {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: var(--txt);
}

.browser-back .chevron {
    width: 10px;
    height: 10px;
    border-left: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg);
    display: block;
}

.browser-title {
    font-size: 17px;
    font-weight: 600;
}

.browser-footer {
    flex: none;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg);
    border-top: 1px solid var(--stroke);
    padding: 8px 16px 12px;
}

.browser-main-btn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.browser-main-btn:disabled { opacity: .4; cursor: default; }
.browser-main-btn.is-loading { opacity: .8; cursor: default; }

.spinner {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    animation: spin .7s linear infinite;
    display: block;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shim { 0% { background-position: -220px 0; } 100% { background-position: 340px 0; } }
@keyframes toastup { 0% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: translateY(0); } }

.cat-head {
    padding: 18px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: none;
}

.cat-greet { font-size: 13px; color: var(--hint); }

.cat-title {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 26px;
    line-height: 1.16;
    letter-spacing: -.01em;
}

.cat-sub { font-size: 13px; color: var(--hint); margin-top: 2px; }

.chips {
    display: flex;
    gap: 8px;
    padding: 4px 16px 12px;
    overflow-x: auto;
    flex: none;
    scrollbar-width: none;
}

.chips::-webkit-scrollbar { display: none; }

.chip {
    flex: none;
    height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 8px;
    background: var(--sbg);
    font-size: 15px;
    border: 0;
    color: var(--txt);
    cursor: pointer;
    font-family: inherit;
    transition: transform .12s ease, opacity .12s ease;
}

.chip:active { transform: scale(.97); opacity: .85; }

.chip.is-active {
    background: var(--brand);
    color: var(--btnt);
    font-weight: 500;
}

:root[data-scheme="dark"] .chip.is-active { color: #10222a; }

/* 2 колонки на телефоне сами собой превращаются в 3-4 на планшете и десктопе —
   без отдельных брейкпоинтов, просто по доступной ширине внутри .screen-scroll */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    padding: 0 16px 16px;
    align-content: start;
}

.card {
    background: var(--sbg);
    border-radius: 16px;
    padding: 8px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    cursor: pointer;
    border: 0;
    text-align: left;
    font-family: inherit;
    color: var(--txt);
    transition: transform .12s ease;
}

.card:active { transform: scale(.98); }

.card-photo {
    height: 128px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.card-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.card-photo::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 9px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .16);
    filter: blur(5px);
}

.card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font: 600 10px/1 ui-monospace, Menlo, monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 7px;
    border-radius: 6px;
    background: color-mix(in oklab, var(--brand) 20%, var(--bg));
    color: var(--brand);
}

.card-name {
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-price { font-size: 15px; font-weight: 500; margin-top: -2px; }

.card-cart-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    height: 26px;
    min-width: 26px;
    padding: 0 8px;
    border-radius: 8px;
    background: var(--brand);
    color: var(--btnt);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

:root[data-scheme="dark"] .card-cart-badge { color: #10222a; }

.skeleton-block {
    height: 128px;
    border-radius: 12px;
    background: linear-gradient(90deg, color-mix(in oklab, var(--txt) 4%, transparent), color-mix(in oklab, var(--txt) 11%, transparent), color-mix(in oklab, var(--txt) 4%, transparent));
    background-size: 260px 100%;
    animation: shim 1.3s linear infinite;
}

.skeleton-line {
    height: 14px;
    border-radius: 5px;
    background: color-mix(in oklab, var(--txt) 8%, transparent);
}

.toast {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: color-mix(in oklab, var(--txt) 92%, transparent);
    color: var(--bg);
    border-radius: 12px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    animation: toastup .22s ease-out;
    cursor: pointer;
    z-index: 5;
}

.toast span:last-child { font-size: 15px; font-weight: 600; opacity: .75; }

.product-photo {
    margin: 12px 16px 0;
    height: 266px;
    flex: none;
    border-radius: 20px;
    background: radial-gradient(120% 80% at 50% 12%, color-mix(in oklab, var(--brand) 9%, var(--sbg)) 0%, var(--sbg) 70%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-photo::before {
    content: '';
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    width: 45%;
    height: 14px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .17);
    filter: blur(7px);
}

.product-photo img {
    max-width: 78%;
    max-height: 82%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.product-body { padding: 18px 16px 0; display: flex; flex-direction: column; gap: 8px; }

.product-name {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.18;
    letter-spacing: -.005em;
}

.product-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.product-price { font-size: 22px; font-weight: 500; white-space: nowrap; }
.product-price-note { font-size: 13px; color: var(--hint); }
.product-desc { margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: var(--hint); }

.section { padding: 20px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.section-title { font-size: 17px; font-weight: 500; }

.sizes { display: flex; gap: 8px; }

.size-card {
    flex: 1;
    height: 64px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 0 12px;
    position: relative;
    cursor: pointer;
    background: var(--sbg);
    border: 0;
    box-shadow: none;
    font-family: inherit;
    color: var(--txt);
    text-align: left;
}

.size-card.is-selected {
    background: var(--bsoft);
    box-shadow: inset 0 0 0 1.5px var(--brand);
}

.size-card b { font-size: 15px; font-weight: 500; }
.size-card span { font-size: 13px; color: var(--hint); }

.size-tag {
    position: absolute;
    top: 5px;
    right: 7px;
    font: 500 8.5px ui-monospace, Menlo, monospace;
    color: var(--brand);
}

.composition { display: flex; flex-direction: column; gap: 9px; }
.comp-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.comp-row span:last-child { color: var(--hint); }

.delivery-note {
    margin: 20px 16px 24px;
    background: var(--sbg);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.delivery-note span:last-child { font-size: 13px; color: var(--hint); }

.cart-list { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 10px; }

.cart-row {
    background: var(--sbg);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    gap: 12px;
}

.cart-row-photo {
    width: 64px;
    height: 78px;
    flex: none;
    border-radius: 12px;
    background: color-mix(in oklab, var(--brand) 7%, var(--bg));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.cart-row-photo img { max-width: 90%; max-height: 90%; object-fit: contain; }

.cart-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cart-row-top { display: flex; gap: 8px; align-items: flex-start; }
.cart-row-name {
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-row-size { font-size: 13px; color: var(--hint); margin-top: 2px; }

.cart-row-del {
    width: 32px;
    height: 32px;
    margin: -6px -6px 0 0;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hint);
    font-size: 15px;
    cursor: pointer;
    background: none;
    border: 0;
}

.cart-row-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cart-row-price { font-size: 16px; font-weight: 500; white-space: nowrap; }

.qty {
    height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.qty button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg);
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    color: var(--txt);
}

.qty span { font-size: 16px; font-weight: 500; min-width: 14px; text-align: center; }

.promo-row { display: flex; gap: 8px; margin-top: 6px; padding: 0 16px; }

.promo-input {
    flex: 1;
    height: 48px;
    border: 0;
    outline: 0;
    border-radius: 12px;
    background: var(--sbg);
    color: var(--txt);
    font-size: 16px;
    padding: 0 14px;
    font-family: inherit;
}

.promo-apply {
    height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    background: var(--sbg);
    color: var(--brand);
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 0;
    font-family: inherit;
}

.promo-applied {
    margin: 6px 16px 0;
    height: 48px;
    border-radius: 12px;
    background: var(--bsoft);
    box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--brand) 35%, transparent);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
}

.promo-applied span:first-child { font-size: 15px; font-weight: 500; color: var(--brand); }
.promo-applied button {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    color: var(--brand); font-size: 15px; cursor: pointer; background: none; border: 0;
}

.totals { padding: 0 16px; margin-top: 14px; display: flex; flex-direction: column; gap: 11px; }
.totals-row { display: flex; justify-content: space-between; font-size: 15px; }
.totals-row .muted { color: var(--hint); }
.totals-divider { height: 1px; background: var(--stroke); margin: 1px 0; }
.totals-final { display: flex; justify-content: space-between; align-items: baseline; }
.totals-final span:first-child { font-size: 17px; font-weight: 500; }
.totals-final span:last-child { font-family: var(--serif); font-size: 24px; font-weight: 400; white-space: nowrap; }
.totals-hint { font-size: 13px; line-height: 1.45; color: var(--hint); padding: 0 16px 24px; }

.empty-cart {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 16px;
}

.empty-cart-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding-bottom: 8px; }

.empty-cart-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--sbg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.empty-cart h2 { margin: 8px 0 0; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; }
.empty-cart p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--hint); max-width: 290px; }

.empty-cart-picks { display: flex; flex-direction: column; gap: 8px; padding-bottom: 24px; }

.empty-pick {
    background: var(--sbg);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border: 0;
    text-align: left;
    font-family: inherit;
    color: var(--txt);
    width: 100%;
}

.empty-pick-title { font-size: 15px; font-weight: 500; }
.empty-pick-sub { font-size: 13px; color: var(--hint); margin-top: 2px; }

.empty-pick-arrow {
    width: 9px; height: 9px;
    border-right: 1.8px solid var(--hint);
    border-top: 1.8px solid var(--hint);
    transform: rotate(45deg);
    flex: none;
    margin-right: 6px;
}

/* модалка подтверждения удаления */
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .42);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 62px;
    z-index: 10;
}

.modal-card {
    width: 90%;
    max-width: 358px;
    background: var(--bg);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}

.modal-title { font-size: 17px; font-weight: 600; line-height: 1.3; }
.modal-desc { font-size: 14px; line-height: 1.45; color: var(--hint); }
.modal-actions { display: flex; gap: 8px; margin-top: 12px; }

.modal-btn {
    flex: 1;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    border: 0;
    font-family: inherit;
}

.modal-btn.cancel { background: var(--sbg); font-weight: 500; color: var(--txt); }
.modal-btn.danger { background: var(--danger); color: #fff; font-weight: 600; }

.checkout-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px; }

.field {
    height: 48px;
    border-radius: 12px;
    background: var(--sbg);
    display: flex;
    align-items: center;
    padding: 0 14px;
    /* iOS зумит страницу при фокусе на поле с font-size < 16px — а зум
       потом остаётся висеть и на следующих SPA-экранах, где полей уже нет */
    font-size: 16px;
    border: 0;
    width: 100%;
    color: var(--txt);
    font-family: inherit;
    outline: none;
}

.field::placeholder { color: var(--hint); }
.field.has-error { box-shadow: inset 0 0 0 1.5px var(--danger); }
.field-error { font-size: 13px; color: var(--danger); padding: 0 2px; }
.field-hint { font-size: 13px; color: var(--hint); padding: 0 2px; }

.day-chips, .slot-chips { display: flex; gap: 8px; padding: 4px 0; flex-wrap: wrap; }

.slot-chips { padding: 0 0 2px; }

.chip-disabled { opacity: .4; pointer-events: none; }

.when-hint { font-size: 13px; color: var(--hint); }

.card-textarea {
    min-height: 96px;
    border-radius: 12px;
    background: var(--sbg);
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
}

.card-textarea textarea {
    flex: 1;
    resize: none;
    border: 0;
    outline: 0;
    background: none;
    font-size: 16px;
    line-height: 1.45;
    color: var(--txt);
    font-family: inherit;
    padding: 0;
}

.card-textarea textarea::placeholder { color: var(--hint); }
.card-counter { font-size: 12px; color: var(--hint); text-align: right; margin-top: auto; }

.toggle-row { min-height: 56px; display: flex; align-items: center; gap: 14px; padding: 18px 16px 24px; }
.toggle-row-title { font-size: 15px; }
.toggle-row-sub { font-size: 13px; color: var(--hint); margin-top: 2px; }

.toggle-track {
    width: 51px;
    height: 31px;
    flex: none;
    border-radius: 999px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    border: 0;
    background: var(--sbg);
    box-shadow: inset 0 0 0 1px var(--stroke);
}

.toggle-track.is-on { background: var(--brand); box-shadow: none; }

.toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    transition: left .16s ease;
}

.toggle-track.is-on .toggle-knob { left: 22px; }

.payment-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 24px; }
.payment-h1 { margin: 18px 0 0; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.18; }

.payment-item { display: flex; align-items: center; gap: 12px; }
.payment-item-photo {
    width: 44px; height: 52px; flex: none; border-radius: 10px;
    background: color-mix(in oklab, var(--brand) 7%, var(--bg));
    display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.payment-item-photo img { max-width: 85%; max-height: 85%; object-fit: contain; }
.payment-item-name {
    font-family: var(--serif); font-size: 16px; line-height: 1.25;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.payment-item-sub { font-size: 13px; color: var(--hint); margin-top: 2px; }
.payment-item-price { font-size: 15px; font-weight: 500; }

.summary-row { display: flex; gap: 12px; }
.summary-label { width: 96px; flex: none; font-size: 13px; color: var(--hint); padding-top: 2px; }
.summary-value { flex: 1; font-size: 15px; line-height: 1.4; }

.demo-badge {
    border: 1px dashed var(--hint);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-badge-label {
    font: 500 11px ui-monospace, Menlo, monospace;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hint);
}

.demo-badge-text { font-size: 14px; line-height: 1.45; }

.terms-note { font-size: 13px; line-height: 1.45; color: var(--hint); }
.terms-note .link { color: var(--link); }

.done-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 24px; }

.done-icon {
    width: 52px; height: 52px; border-radius: 50%; background: var(--bsoft);
    display: flex; align-items: center; justify-content: center;
}

.done-icon .check {
    width: 18px; height: 9px;
    border-left: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(-45deg);
    display: block;
    margin-top: -4px;
}

.done-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; letter-spacing: -.015em; }
.done-lead { margin: 0; font-size: 15px; line-height: 1.5; max-width: 310px; }

.order-card { background: var(--sbg); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.order-row { display: flex; justify-content: space-between; align-items: baseline; }
.order-row .muted { font-size: 13px; color: var(--hint); }
.order-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.order-line span:first-child { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-line span:last-child { flex: none; color: var(--hint); }
.order-total span:first-child { font-size: 15px; font-weight: 500; white-space: nowrap; }
.order-total span:last-child { font-family: var(--serif); font-size: 22px; white-space: nowrap; }

.contact-link { font-size: 15px; color: var(--link); cursor: pointer; }

/* область нажатия минимум 44 — увеличиваем прозрачным паддингом там, где
   визуальный элемент меньше, а не раздуваем сам элемент */
.tap-44 {
    position: relative;
}
.tap-44::after {
    content: '';
    position: absolute;
    inset: -12px;
}
