:root {
    --bg-1: #fff9ef;
    --bg-2: #ffe7c8;
    --bg-3: #f3c285;
    --ink: #201910;
    --muted: #6a5a4a;
    --panel: rgba(255, 255, 255, 0.78);
    --panel-strong: rgba(255, 255, 255, 0.9);
    --panel-border: rgba(94, 63, 30, 0.16);
    --accent: #d95f2a;
    --accent-strong: #b8461d;
    --accent-soft: rgba(217, 95, 42, 0.14);
    --ok: #257a2b;
    --shadow-md: 0 14px 28px rgba(96, 54, 10, 0.14);
    --shadow-lg: 0 28px 48px rgba(96, 54, 10, 0.18);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --ring: 0 0 0 3px rgba(217, 95, 42, 0.25);
    --layout-width: 1220px;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Urbanist', 'Segoe UI', sans-serif;
    line-height: 1.42;
    color: var(--ink);
    overflow-x: hidden;
    background:
        radial-gradient(circle at 10% 8%, rgba(248, 163, 74, 0.34), transparent 38%),
        radial-gradient(circle at 90% 12%, rgba(184, 76, 27, 0.24), transparent 38%),
        linear-gradient(155deg, var(--bg-1), var(--bg-2) 52%, var(--bg-3));
    animation: gradientDrift 18s ease-in-out infinite alternate;
}

body::before,
body::after {
    content: '';
    position: fixed;
    pointer-events: none;
    z-index: 0;
    width: 38vw;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    filter: blur(72px);
    opacity: 0.22;
}

body::before {
    top: -12vw;
    left: -12vw;
    background: #f2a04f;
}

body::after {
    right: -14vw;
    bottom: -16vw;
    background: #ca6b34;
}

@keyframes gradientDrift {
    from {
        background-position: 0 0, 0 0, 0 0;
    }
    to {
        background-position: 12% 18%, -10% 10%, 0 0;
    }
}

.bg-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    z-index: 0;
    background-image:
        linear-gradient(120deg, rgba(255, 255, 255, 0.58), transparent 42%),
        repeating-linear-gradient(
            0deg,
            rgba(70, 40, 10, 0.04),
            rgba(70, 40, 10, 0.04) 1px,
            transparent 1px,
            transparent 3px
        );
}

.shell {
    width: min(var(--layout-width), calc(100vw - 2rem));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero {
    padding: clamp(1.8rem, 4vw, 3rem) 0 clamp(1.1rem, 2vw, 1.9rem);
    display: grid;
    grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
    gap: 1rem 1.4rem;
    align-items: start;
}

.hero > div {
    max-width: 520px;
}

.eyebrow {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-size: 0.73rem;
    color: #9c5a22;
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0.38rem 0 0.46rem;
    font-size: clamp(2rem, 4.6vw, 3.45rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
    color: #2d1b10;
}

.hero-copy {
    margin: 0;
    max-width: 62ch;
    font-size: clamp(0.97rem, 1.6vw, 1.06rem);
    line-height: 1.38;
    color: var(--muted);
}

.hero-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.48rem;
    width: fit-content;
    max-width: 100%;
    padding: 0.58rem;
    border-radius: 22px;
    border: 1px solid rgba(95, 69, 42, 0.16);
    background: rgba(255, 255, 255, 0.46);
    backdrop-filter: blur(6px);
    box-shadow: 0 14px 32px rgba(96, 54, 10, 0.14);
}

.hero-nav a,
.hero-nav .pwa-install-btn {
    flex: 0 0 auto;
}

a {
    color: inherit;
}

img,
canvas {
    max-width: 100%;
}

.hero-nav a,
.ghost-link,
button {
    border: 1px solid rgba(101, 67, 34, 0.14);
    background: linear-gradient(180deg, #fff, #fff7ef);
    color: #2f2721;
    text-decoration: none;
    padding: 0.76rem 1.04rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 140ms ease,
        box-shadow 140ms ease,
        background-color 140ms ease,
        border-color 140ms ease;
    box-shadow: 0 8px 20px rgba(89, 42, 10, 0.13);
}

.hero-nav a,
.hero-nav .pwa-install-btn {
    padding: 0.68rem 0.94rem;
    font-size: 0.89rem;
}

.brand-logo {
    display: block;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(95, 69, 42, 0.18);
    box-shadow: 0 10px 26px rgba(96, 54, 10, 0.16);
}

.brand-logo-hero {
    width: clamp(68px, 8vw, 86px);
    height: clamp(68px, 8vw, 86px);
    padding: 0.35rem;
    margin-bottom: 0.52rem;
}

.brand-logo-sm {
    width: 44px;
    height: 44px;
    padding: 0.24rem;
}

.brand-logo-login {
    width: 86px;
    height: 86px;
    padding: 0.42rem;
    margin: 0 auto 0.55rem;
}

.hero-nav a:hover,
.ghost-link:hover,
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(89, 42, 10, 0.18);
}

.hero-nav a:focus-visible,
.ghost-link:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(320px, 1fr);
    gap: 1.3rem;
    align-items: start;
    padding-bottom: 2.2rem;
}

.content-grid > section,
.content-grid > aside {
    min-width: 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 0.9rem;
    align-items: center;
    margin-bottom: 0.72rem;
}

#menu-count {
    font-size: 0.82rem;
    color: #7c5f45;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(99, 69, 36, 0.16);
    border-radius: 999px;
    padding: 0.26rem 0.68rem;
}

#menu-only-count {
    font-size: 0.82rem;
    color: #7c5f45;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(99, 69, 36, 0.16);
    border-radius: 999px;
    padding: 0.26rem 0.68rem;
}

.menu-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.48rem;
    margin: 0.1rem 0 0.78rem;
}

.featured-tag-sections {
    display: grid;
    gap: 0.64rem;
    margin-bottom: 0.85rem;
}

.featured-tag-section {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(95, 69, 42, 0.16);
    border-radius: 14px;
    padding: 0.58rem 0.62rem;
}

.featured-tag-section h3 {
    margin: 0 0 0.45rem;
    font-size: 0.96rem;
    font-family: 'Space Grotesk', sans-serif;
}

.featured-tag-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.featured-tag-item-btn {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    border: 1px solid rgba(111, 72, 33, 0.2);
    border-radius: 999px;
    padding: 0.33rem 0.62rem;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.81rem;
    box-shadow: none;
}

.featured-tag-item-btn strong {
    color: #8f3816;
    white-space: nowrap;
}

.menu-category-btn {
    border: 1px solid rgba(99, 69, 36, 0.2);
    background: rgba(255, 255, 255, 0.76);
    color: #65452e;
    padding: 0.44rem 0.76rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
}

.menu-category-btn:hover {
    border-color: rgba(184, 76, 27, 0.35);
    background: rgba(255, 255, 255, 0.94);
}

.menu-category-btn.active {
    background: linear-gradient(180deg, var(--accent), var(--accent-strong));
    border-color: rgba(122, 43, 16, 0.3);
    color: #fff;
}

h2 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.36rem;
    letter-spacing: -0.01em;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.menu-grid > * {
    min-width: 0;
}

.dish-card {
    background: var(--panel);
    backdrop-filter: blur(8px);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    animation: cardUp 380ms ease both;
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dish-card:hover {
    transform: translateY(-3px);
    border-color: rgba(184, 76, 27, 0.28);
    box-shadow: var(--shadow-lg);
}

@keyframes cardUp {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dish-media {
    position: relative;
    overflow: hidden;
}

.dish-media img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.dish-media-tag {
    position: absolute;
    left: 0.62rem;
    right: 0.62rem;
    bottom: 0.62rem;
    font-size: 0.73rem;
    background: rgba(255, 249, 239, 0.92);
    border: 1px solid rgba(196, 114, 22, 0.34);
    color: #8d4d10;
    border-radius: 999px;
    padding: 0.24rem 0.62rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(4px);
}

.dish-discount-badge,
.dish-combo-badge {
    position: absolute;
    top: 0.62rem;
    font-size: 0.72rem;
    border-radius: 999px;
    padding: 0.2rem 0.56rem;
    font-weight: 800;
    border: 1px solid transparent;
    backdrop-filter: blur(4px);
}

.dish-discount-badge {
    right: 0.62rem;
    background: rgba(168, 30, 0, 0.85);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.dish-combo-badge {
    left: 0.62rem;
    background: rgba(255, 252, 245, 0.92);
    color: #7d3f1a;
    border-color: rgba(188, 110, 36, 0.34);
}

.dish-body {
    padding: 0.82rem;
    display: flex;
    flex-direction: column;
    gap: 0.54rem;
    min-width: 0;
    flex: 1 1 auto;
}

.dish-top {
    display: block;
    min-width: 0;
}

.dish-title {
    margin: 0;
    font-weight: 800;
    font-size: 1.03rem;
    line-height: 1.2;
    min-width: 0;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cards-expanded .dish-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.2em * 2);
}

.price {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #6d2b14;
    white-space: nowrap;
}

.price-inline {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    font-size: 0.81rem;
    line-height: 1.05;
    background: rgba(196, 114, 22, 0.12);
    border: 1px solid rgba(196, 114, 22, 0.3);
    color: #8d4d10;
    border-radius: 999px;
    padding: 0.26rem 0.68rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-stack {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    min-width: 0;
}

.price-original {
    font-size: 0.77rem;
    color: #7b6a5b;
    text-decoration: line-through;
    white-space: nowrap;
}

.dish-desc {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.35em * 2);
}

.cards-expanded .dish-desc {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    min-height: calc(1.35em * 3);
}

.dish-seo-snippet {
    margin: -0.08rem 0 0;
    font-size: 0.8rem;
    color: #7b5b43;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.dish-combo-meta {
    margin: -0.08rem 0 0;
    font-size: 0.8rem;
    color: #7b5b43;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.dish-meta {
    margin: -0.18rem 0 0;
    font-size: 0.82rem;
    color: #7a624d;
    font-weight: 700;
}

.dish-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.dish-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #734723;
    background: rgba(205, 124, 29, 0.14);
    border: 1px solid rgba(161, 95, 22, 0.24);
    border-radius: 999px;
    padding: 0.18rem 0.48rem;
}

.dish-card-highlight {
    box-shadow: 0 0 0 3px rgba(217, 95, 42, 0.28), var(--shadow-lg) !important;
}

.dish-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.addons-block {
    display: grid;
    gap: 0.35rem;
    border-top: 1px dashed rgba(90, 57, 26, 0.2);
    padding-top: 0.54rem;
}

.addons-title {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.addons-list {
    display: grid;
    gap: 0.3rem;
}

.addon-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
}

.addon-option strong {
    font-size: 0.77rem;
    color: #7b3f15;
    white-space: nowrap;
}

.tag {
    font-size: 0.73rem;
    background: rgba(196, 114, 22, 0.12);
    border: 1px solid rgba(196, 114, 22, 0.3);
    color: #8d4d10;
    border-radius: 999px;
    padding: 0.24rem 0.62rem;
    font-weight: 700;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag-locked {
    background: rgba(86, 79, 73, 0.12);
    border-color: rgba(86, 79, 73, 0.35);
    color: #4b4038;
}

.dish-actions button,
.checkout-form button,
.track-input-row button {
    background: linear-gradient(180deg, var(--accent), var(--accent-strong));
    border-color: rgba(122, 43, 16, 0.3);
    color: #fff;
    width: auto;
}

.dish-actions button {
    min-width: 0;
}

.dish-actions button:hover,
.checkout-form button:hover,
.track-input-row button:hover {
    background: linear-gradient(180deg, #df6b38, #b5451c);
}

.checkout-panel,
.track-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
    padding: 1.05rem;
    height: fit-content;
}

.checkout-panel {
    position: sticky;
    top: 0.6rem;
    align-self: start;
    max-height: calc(100vh - 1.2rem);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scroll-padding-top: 0.6rem;
}

.checkout-panel,
.cart-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(122, 67, 29, 0.62) rgba(255, 255, 255, 0.56);
}

.checkout-panel::-webkit-scrollbar,
.cart-list::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.checkout-panel::-webkit-scrollbar-track,
.cart-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.58);
    border-radius: 999px;
}

.checkout-panel::-webkit-scrollbar-thumb,
.cart-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(217, 95, 42, 0.92), rgba(176, 65, 24, 0.92));
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.62);
}

.checkout-panel::-webkit-scrollbar-thumb:hover,
.cart-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(226, 110, 56, 0.96), rgba(163, 60, 22, 0.96));
}

.muted {
    color: var(--muted);
    margin: 0.32rem 0;
}

.cart-list {
    display: grid;
    gap: 0.62rem;
    margin-top: 0.75rem;
}

.cart-item {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(124, 84, 37, 0.15);
    border-radius: var(--radius-md);
    padding: 0.65rem;
    display: grid;
    gap: 0.36rem;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    gap: 0.52rem;
    align-items: center;
}

.cart-item-row > strong {
    min-width: 0;
}

.cart-line-price {
    display: inline-grid;
    justify-items: end;
    line-height: 1.15;
}

.cart-line-price small {
    color: #7b6a5b;
    text-decoration: line-through;
    font-size: 0.78rem;
}

.cart-item-name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-addons {
    display: grid;
    gap: 0.16rem;
}

.cart-addons small {
    color: #6f5440;
}

.qty-controls {
    display: flex;
    gap: 0.32rem;
}

.qty-controls button {
    min-width: 34px;
    min-height: 34px;
    padding: 0.34rem 0.54rem;
    border-radius: 9px;
}

.cart-totals {
    margin-top: 0.88rem;
    display: grid;
    gap: 0.38rem;
}

.cart-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
}

.grand-total {
    font-size: 1.13rem;
}

.checkout-form {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.checkout-inline-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.46rem;
}

.fulfillment-fieldset,
.payment-fieldset {
    border: 1px solid rgba(112, 73, 34, 0.24);
    border-radius: var(--radius-sm);
    padding: 0.62rem 0.72rem;
    margin: 0;
    display: grid;
    gap: 0.46rem;
}

.fulfillment-fieldset {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-fieldset {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fulfillment-fieldset legend,
.payment-fieldset legend {
    font-size: 0.85rem;
    padding: 0 0.3rem;
    color: var(--muted);
    font-weight: 700;
    grid-column: 1 / -1;
}

.radio-option {
    display: block;
    position: relative;
    font-size: 0.9rem;
    font-weight: 700;
}

.radio-option.is-disabled {
    opacity: 0.62;
}

.radio-option.is-disabled span {
    border-style: dashed;
    color: #8a7868;
    background: rgba(255, 255, 255, 0.72);
    cursor: not-allowed;
}

.radio-option input[type='radio'] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-option span {
    display: block;
    border: 1px solid rgba(112, 73, 34, 0.25);
    border-radius: 10px;
    padding: 0.52rem 0.68rem;
    background: rgba(255, 255, 255, 0.88);
    color: #5f432d;
    line-height: 1.22;
    transition: border-color 130ms ease, box-shadow 130ms ease, background 130ms ease, color 130ms ease;
    text-align: center;
}

.radio-option--delivery span::before,
.radio-option--pickup span::before,
.radio-option--cash span::before,
.radio-option--card span::before,
.radio-option--erip span::before,
.radio-option--online span::before {
    margin-right: 0.32rem;
    font-size: 0.95em;
}

.radio-option--delivery span::before {
    content: '\01F69A';
}

.radio-option--pickup span::before {
    content: '\01F3EA';
}

.radio-option--cash span::before {
    content: '\01F4B5';
}

.radio-option--card span::before {
    content: '\01F4B3';
}

.radio-option--erip span::before {
    content: 'ЕР';
    font-weight: 800;
    letter-spacing: -0.03em;
}

.radio-option--online span::before {
    content: '\01F310';
}

.radio-option input[type='radio']:checked + span {
    background: linear-gradient(180deg, var(--accent), var(--accent-strong));
    border-color: rgba(122, 43, 16, 0.35);
    color: #fff;
}

.radio-option input[type='radio']:focus-visible + span {
    box-shadow: var(--ring);
}

.checkout-form label:not(.radio-option) {
    display: grid;
    gap: 0.34rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.delivery-address-fields {
    display: grid;
    gap: 0.46rem;
}

.delivery-address-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #5f432d;
}

.delivery-address-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.46rem;
}

.address-field {
    display: grid;
    gap: 0.34rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.address-field-wide {
    grid-column: 1 / -1;
}

input:not([type='checkbox']):not([type='radio']),
textarea,
select {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(112, 73, 34, 0.25);
    padding: 0.66rem 0.76rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    transition: border-color 130ms ease, box-shadow 130ms ease, background-color 130ms ease;
}

input[type='checkbox'],
input[type='radio'] {
    accent-color: var(--accent);
}

input:not([type='checkbox']):not([type='radio']):focus,
textarea:focus,
select:focus {
    border-color: rgba(217, 95, 42, 0.58);
    background: #fff;
}

.addon-option input {
    width: auto;
    margin: 0;
}

textarea {
    min-height: 76px;
    resize: vertical;
}

.checkout-form textarea[name='comment'] {
    min-height: 58px;
}

.checkout-feedback {
    margin-top: 0.72rem;
    font-size: 0.92rem;
    min-height: 1.3rem;
}

.checkout-feedback.ok {
    color: var(--ok);
}

.checkout-feedback.error {
    color: #a1301d;
}

.is-hidden {
    display: none !important;
}

body.modal-open {
    overflow: hidden;
}

.payment-fieldset .radio-option.is-hidden {
    display: none !important;
}

.sms-verify-modal {
    position: fixed;
    inset: 0;
    z-index: 240;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.sms-verify-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(31, 20, 10, 0.62);
    backdrop-filter: blur(3px);
}

.sms-verify-modal__dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    background: rgba(255, 251, 244, 0.98);
    border: 1px solid rgba(112, 73, 34, 0.26);
    border-radius: 20px;
    box-shadow: 0 28px 52px rgba(31, 20, 10, 0.34);
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
}

.sms-verify-phone {
    font-weight: 700;
    color: #5c3d25;
}

.sms-verify-modal__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.recommendation-modal {
    position: fixed;
    inset: 0;
    z-index: 230;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.recommendation-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(31, 20, 10, 0.56);
    backdrop-filter: blur(2px);
}

.recommendation-modal__dialog {
    position: relative;
    width: min(540px, 100%);
    background: rgba(255, 252, 246, 0.98);
    border: 1px solid rgba(95, 69, 42, 0.25);
    border-radius: 20px;
    box-shadow: 0 28px 52px rgba(31, 20, 10, 0.32);
    padding: 1rem;
    display: grid;
    gap: 0.7rem;
}

.recommendation-modal__item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.66rem;
    align-items: center;
}

.recommendation-modal__item img {
    width: 120px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(95, 69, 42, 0.2);
    background: rgba(255, 255, 255, 0.75);
}

.recommendation-modal__item-body {
    display: grid;
    gap: 0.24rem;
}

.recommendation-modal__item-body strong {
    font-size: 1rem;
}

.recommendation-modal__item-body span {
    color: #8f3816;
    font-weight: 700;
}

.recommendation-modal__item-body small {
    color: #6e5a4c;
}

.recommendation-modal__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.recommendation-disable-link {
    justify-self: start;
    font-size: 0.84rem;
    color: #7a4b26;
    text-decoration: underline;
}

.manual-picker-modal__dialog {
    width: min(980px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    overflow: auto;
}

.manual-picker-head {
    margin-bottom: 0.12rem;
}

.manual-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.55rem;
}

.manual-picker-item {
    border: 1px solid rgba(95, 69, 42, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.55rem 0.62rem;
    display: grid;
    gap: 0.38rem;
}

.manual-picker-item.is-disabled {
    opacity: 0.72;
}

.manual-picker-item__head {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: baseline;
}

.manual-picker-item__head span {
    white-space: nowrap;
    color: #8f3816;
    font-weight: 700;
}

.manual-picker-item__head s {
    color: #7b6a5b;
    font-weight: 500;
    margin-left: 0.24rem;
    font-size: 0.8em;
}

.manual-picker-item__actions {
    margin-top: 0.12rem;
}

.manual-picker-item__actions button {
    width: 100%;
}

.manual-config-modal__dialog {
    width: min(680px, 100%);
}

.manual-config-meta {
    border: 1px dashed rgba(95, 69, 42, 0.22);
    border-radius: 10px;
    padding: 0.52rem 0.58rem;
    display: grid;
    gap: 0.22rem;
    background: rgba(255, 255, 255, 0.86);
}

.manual-popup-addons-list {
    margin-top: 0.35rem;
    display: grid;
    gap: 0.32rem;
}

.ghost-btn {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(95, 69, 42, 0.24);
    color: #4f3f30;
}

.delivery-policy-note {
    margin-top: 0.12rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(94, 63, 30, 0.16);
    font-size: 0.82rem;
}

.page-header {
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.78rem;
}

.page-header .brand-logo-sm {
    margin-right: 0.1rem;
}

.page-header h1,
.page-header .admin-user-meta {
    margin-right: auto;
}

.track-layout,
.admin-layout {
    padding: 1.1rem 0 2rem;
}

.page-track .track-card {
    max-width: 760px;
    margin-inline: auto;
}

.track-form {
    display: grid;
    gap: 0.5rem;
}

.track-input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.52rem;
}

.order-details {
    display: grid;
    gap: 0.86rem;
}

.order-head {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: center;
    margin-top: 0.22rem;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(214, 90, 47, 0.35);
    color: #8f3418;
    padding: 0.31rem 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.order-items {
    display: grid;
    gap: 0.5rem;
}

.order-line {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    border-bottom: 1px dashed rgba(90, 57, 26, 0.2);
    padding-bottom: 0.33rem;
    align-items: flex-start;
}

.track-addons {
    display: grid;
    gap: 0.14rem;
    margin-top: 0.22rem;
}

.track-addons small {
    color: #6f5440;
}

.timeline {
    display: grid;
    gap: 0.42rem;
}

.timeline-step {
    padding: 0.52rem 0.64rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(95, 69, 42, 0.17);
}

.timeline-step.done {
    border-color: rgba(37, 122, 43, 0.42);
    background: rgba(37, 122, 43, 0.12);
}

.orders-table-wrap {
    overflow: auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(95, 69, 42, 0.16);
    background: rgba(255, 255, 255, 0.5);
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    font-size: 0.94rem;
}

th,
td {
    text-align: left;
    border-bottom: 1px solid rgba(109, 80, 41, 0.18);
    padding: 0.62rem;
    white-space: nowrap;
}

th {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.74);
    position: sticky;
    top: 0;
    z-index: 2;
}

tbody tr:hover td {
    background: rgba(255, 255, 255, 0.36);
}

td select {
    min-width: 136px;
}

.precheck-row td {
    white-space: normal;
    background: rgba(255, 255, 255, 0.5);
}

.order-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
}

.order-flag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(150, 104, 52, 0.28);
    background: rgba(255, 245, 230, 0.85);
    color: #7a4b22;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.2rem 0.48rem;
    white-space: nowrap;
}

.order-flag--warn {
    border-color: rgba(196, 123, 22, 0.34);
    background: rgba(255, 236, 205, 0.9);
    color: #8a4f18;
}

.order-flag--danger {
    border-color: rgba(189, 61, 44, 0.4);
    background: rgba(247, 215, 210, 0.92);
    color: #9d2d1c;
}

.precheck-box {
    padding: 0.74rem;
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(95, 69, 42, 0.28);
    background: rgba(255, 255, 255, 0.78);
}

.precheck-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.48rem;
}

.precheck-items {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.45rem;
}

.precheck-line {
    display: flex;
    justify-content: space-between;
    gap: 0.86rem;
    align-items: flex-start;
    border-bottom: 1px dashed rgba(90, 57, 26, 0.2);
    padding-bottom: 0.32rem;
}

.precheck-addons {
    display: grid;
    gap: 0.14rem;
    margin-top: 0.2rem;
}

.precheck-addons small {
    color: #6f5440;
}

.precheck-totals {
    margin-top: 0.56rem;
    display: grid;
    gap: 0.28rem;
}

.precheck-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
}

.admin-grid {
    display: grid;
    gap: 1rem;
}

.admin-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.admin-section {
    overflow: hidden;
}

.admin-user-meta {
    min-width: 0;
}

.admin-pos-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(320px, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.admin-pos-form {
    margin-top: 0;
}

.admin-pos-builder {
    border: 1px solid rgba(95, 69, 42, 0.16);
    background: rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-md);
    padding: 0.68rem;
    display: grid;
    gap: 0.62rem;
}

.admin-pos-builder-head {
    display: grid;
    gap: 0.2rem;
}

.admin-pos-builder-head h3 {
    margin: 0;
    font-size: 1rem;
}

.admin-pos-toggle {
    margin-top: 0;
}

.admin-pos-add-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px auto;
    gap: 0.42rem;
    align-items: end;
}

.admin-pos-add-row label {
    margin: 0;
}

.admin-pos-add-row button {
    white-space: nowrap;
}

.analytics-filter-form {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    align-items: end;
    margin-top: 0;
}

.analytics-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.56rem;
}

.analytics-kpi-grid--compact {
    margin-top: 0.56rem;
}

.analytics-kpi-card {
    border: 1px solid rgba(95, 69, 42, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.55rem 0.62rem;
    display: grid;
    gap: 0.18rem;
}

.analytics-kpi-card small {
    color: #6f5440;
    font-weight: 700;
}

.analytics-kpi-card strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analytics-kpi-card span {
    color: #6a5748;
    font-size: 0.82rem;
}

.analytics-item-name {
    display: grid;
    gap: 0.16rem;
}

.analytics-item-name small {
    color: var(--muted);
    font-size: 0.74rem;
    letter-spacing: 0.02em;
}

.analytics-item-name strong {
    font-weight: 700;
}

.analytics-split-grid {
    margin-top: 0.62rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.62rem;
}

.analytics-panel {
    border: 1px solid rgba(95, 69, 42, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.62rem;
    display: grid;
    gap: 0.44rem;
}

.analytics-panel h3 {
    margin: 0;
}

.analytics-speed-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.56rem;
}

.qty-controls--compact {
    align-items: center;
}

.qty-controls--compact span {
    min-width: 1.8rem;
    text-align: center;
    font-weight: 700;
}

.text-right {
    text-align: right;
}

.orders-table-wrap,
.admin-menu-list,
.menu-catalog-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(198, 98, 43, 0.65) rgba(255, 245, 230, 0.7);
}

.orders-table-wrap::-webkit-scrollbar,
.admin-menu-list::-webkit-scrollbar,
.menu-catalog-list::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.orders-table-wrap::-webkit-scrollbar-track,
.admin-menu-list::-webkit-scrollbar-track,
.menu-catalog-list::-webkit-scrollbar-track {
    background: rgba(255, 245, 230, 0.75);
    border-radius: 999px;
}

.orders-table-wrap::-webkit-scrollbar-thumb,
.admin-menu-list::-webkit-scrollbar-thumb,
.menu-catalog-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(210, 111, 57, 0.9), rgba(188, 79, 30, 0.85));
    border: 2px solid rgba(255, 245, 230, 0.75);
    border-radius: 999px;
}

#manual-order-lines table,
#analytics-by-payment table,
#analytics-by-fulfillment table,
#analytics-by-source table,
#analytics-by-day table,
#analytics-by-hour table,
#analytics-top-qty table,
#analytics-top-revenue table {
    min-width: 520px;
}

#analytics-recent-speed table {
    min-width: 760px;
}

.admin-menu-layout {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.3fr);
    gap: 0.8rem;
}

.admin-menu-list {
    display: grid;
    gap: 0.45rem;
    max-height: 560px;
    overflow: auto;
    padding-right: 0.2rem;
}

.admin-menu-item-btn {
    display: grid;
    text-align: left;
    gap: 0.22rem;
    width: 100%;
    border-radius: 12px;
    padding: 0.55rem 0.7rem;
    background: rgba(255, 255, 255, 0.9);
}

.admin-menu-item-btn small {
    color: #6f5440;
}

.admin-menu-item-btn small s {
    color: #7a6b5e;
}

.admin-menu-form {
    margin-top: 0;
}

.menu-image-field {
    display: grid;
    gap: 0.4rem;
}

.menu-image-field input[type='file'] {
    padding: 0.45rem 0.52rem;
}

.menu-image-field input[name='image_url_display'] {
    background: rgba(255, 255, 255, 0.8);
    color: #6f5440;
    font-size: 0.86rem;
}

.menu-image-preview {
    width: min(100%, 260px);
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(95, 69, 42, 0.2);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 20px rgba(46, 28, 8, 0.12);
}

.social-card-layout {
    display: grid;
    grid-template-columns: minmax(290px, 420px) minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.social-card-form {
    margin-top: 0;
}

.recommendation-form {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: end;
}

.recommendation-form button {
    width: 100%;
}

.social-card-preview-wrap {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(95, 69, 42, 0.16);
    border-radius: var(--radius-md);
    padding: 0.7rem;
    display: grid;
    gap: 0.55rem;
}

.social-card-preview-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
}

#social-card-canvas {
    width: min(100%, 540px);
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid rgba(95, 69, 42, 0.24);
    background: #181524;
    box-shadow: 0 16px 34px rgba(46, 28, 8, 0.2);
}

.social-card-form input[type='file'] {
    padding: 0.5rem 0.55rem;
}

.inline-check {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
}

.menu-addons-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-addons-list {
    display: grid;
    gap: 0.45rem;
}

.menu-assignments-list {
    display: grid;
    gap: 0.35rem;
}

.menu-assignment-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border: 1px solid rgba(95, 69, 42, 0.16);
    border-radius: 11px;
    padding: 0.42rem 0.54rem;
    background: rgba(255, 255, 255, 0.74);
}

.menu-assignment-option span {
    min-width: 0;
}

.menu-assignment-option strong {
    white-space: nowrap;
    color: #7b3f15;
    font-size: 0.84rem;
}

.combo-assignment-option {
    align-items: center;
}

.combo-assignment-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.combo-assignment-controls small {
    color: var(--muted);
    max-width: 220px;
    text-align: right;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.combo-assignment-controls input {
    width: 84px;
}

.menu-catalog-list {
    display: grid;
    gap: 0.38rem;
    max-height: 300px;
    overflow: auto;
    padding-right: 0.2rem;
}

.menu-catalog-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.4rem;
    align-items: center;
    border: 1px solid rgba(95, 69, 42, 0.16);
    border-radius: 10px;
    padding: 0.4rem 0.48rem;
    background: rgba(255, 255, 255, 0.78);
}

.menu-catalog-row small {
    color: #6e5a4c;
}

.menu-catalog-row button {
    padding: 0.42rem 0.56rem;
    box-shadow: none;
}

.menu-catalog-editor {
    border-top: 1px dashed rgba(95, 69, 42, 0.22);
    margin-top: 0.3rem;
    padding-top: 0.6rem;
    display: grid;
    gap: 0.45rem;
}

.menu-catalog-editor h3 {
    margin: 0;
    font-size: 0.98rem;
}

.compact-form {
    margin-top: 0;
}

.menu-addon-row {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 120px 90px auto auto;
    gap: 0.35rem;
    align-items: center;
}

.menu-addon-row .addon-remove-btn {
    padding: 0.5rem 0.6rem;
}

.review-comment-cell {
    white-space: normal;
    min-width: 260px;
    max-width: 420px;
}

.admin-login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.2rem 0;
}

.admin-login-card {
    width: min(520px, 100%);
}

.small-note {
    font-size: 0.82rem;
}

.site-footer {
    padding: 0 0 1.2rem;
}

.home-reviews {
    padding-bottom: 1rem;
}

.seo-landing-section {
    padding-bottom: 1rem;
}

.seo-landing-card {
    display: grid;
    gap: 0.52rem;
}

.seo-query-list {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.28rem;
    color: #4f3f30;
}

.legal-section {
    padding-bottom: 1.2rem;
}

.legal-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.legal-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(95, 69, 42, 0.18);
    border-radius: var(--radius-md);
    padding: 0.72rem 0.78rem;
    box-shadow: 0 10px 24px rgba(96, 54, 10, 0.12);
}

.legal-card h3 {
    margin: 0;
    font-size: 1rem;
}

.legal-list {
    margin: 0.5rem 0 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.35rem;
    color: #4f3f30;
}

.legal-warning {
    margin: 0.58rem 0 0;
    color: #9a2e1c;
    font-weight: 700;
    background: rgba(210, 67, 42, 0.1);
    border: 1px solid rgba(210, 67, 42, 0.26);
    border-radius: 10px;
    padding: 0.48rem 0.58rem;
}

.legal-links {
    margin-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.legal-links a {
    border: 1px solid rgba(99, 69, 36, 0.2);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 0.42rem 0.7rem;
    font-size: 0.83rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
}

.legal-page-layout {
    padding-bottom: 1.3rem;
}

.legal-page-card {
    display: grid;
    gap: 0.55rem;
}

.legal-page-card h2 {
    margin-top: 0.3rem;
}

.legal-links--inline {
    margin-top: 0.3rem;
}

.receipt-sample {
    margin-top: 0.2rem;
}

.receipt-sample__pre {
    margin: 0;
    background: rgba(255, 255, 255, 0.84);
    border: 1px dashed rgba(95, 69, 42, 0.34);
    border-radius: 12px;
    padding: 0.72rem;
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    font-size: 0.82rem;
    white-space: pre-wrap;
}

.home-reviews-list {
    display: grid;
    gap: 0.6rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(95, 69, 42, 0.18);
    border-radius: var(--radius-md);
    padding: 0.62rem 0.72rem;
    box-shadow: 0 8px 20px rgba(96, 54, 10, 0.1);
}

.review-card p {
    margin: 0.35rem 0;
}

.review-card small {
    color: #6f5440;
}

.review-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
}

.review-section {
    margin-top: 1rem;
    display: grid;
    gap: 0.5rem;
}

.review-section--locked {
    border-top: 1px dashed rgba(95, 69, 42, 0.22);
    padding-top: 0.5rem;
}

.menu-only-layout {
    padding-bottom: 1.3rem;
    min-width: 0;
}

.menu-only-card {
    width: min(980px, 100%);
    margin: 0 auto;
    min-width: 0;
}

.menu-only-addon {
    display: flex;
    justify-content: space-between;
    gap: 0.52rem;
    font-size: 0.85rem;
    border: 1px solid rgba(95, 69, 42, 0.12);
    border-radius: 10px;
    padding: 0.4rem 0.52rem;
    background: rgba(255, 255, 255, 0.64);
}

.menu-only-addon strong {
    white-space: nowrap;
    color: #7b3f15;
}

.admin-qr-wrap {
    margin-top: 0.65rem;
}

.admin-qr-wrap img {
    width: min(260px, 100%);
    border: 1px solid rgba(95, 69, 42, 0.2);
    border-radius: 12px;
    background: #fff;
    padding: 0.35rem;
    box-shadow: 0 10px 24px rgba(96, 54, 10, 0.12);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.45rem 0.8rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(95, 69, 42, 0.2);
    border-radius: var(--radius-md);
    padding: 0.62rem 0.8rem;
    font-size: 0.86rem;
    color: #5f432d;
    box-shadow: 0 10px 24px rgba(96, 54, 10, 0.12);
}

.site-footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.site-footer-links a {
    color: #7b3f15;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.site-footer-links a:hover {
    color: #a3521a;
}

.site-footer-grid .footer-credit a {
    color: #7b3f15;
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.site-footer-grid .footer-credit a:hover {
    color: #a3521a;
}

.pwa-install-btn[hidden] {
    display: none !important;
}

.pwa-install-btn {
    background: linear-gradient(180deg, #1c9d5a, #158149);
    border-color: rgba(12, 90, 49, 0.32);
    color: #fff;
}

.pwa-install-btn:hover {
    background: linear-gradient(180deg, #23af66, #198b50);
}

.pwa-install-btn-admin {
    margin-left: 0.4rem;
}

.cookie-notify {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 200;
    pointer-events: none;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-notify.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-notify__body {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(95, 69, 42, 0.22);
    box-shadow: 0 22px 42px rgba(46, 28, 8, 0.2);
    border-radius: 14px;
    padding: 0.82rem 0.95rem;
}

.cookie-notify__body h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
}

.cookie-notify__body p {
    margin: 0.34rem 0 0.62rem;
    color: #6a5a4a;
    font-size: 0.91rem;
}

.cookie-notify__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.cookie-notify__actions button,
.cookie-notify__settings button {
    padding: 0.56rem 0.72rem;
    border-radius: 999px;
    font-size: 0.84rem;
}

.cookie-secondary-btn {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #4e3d2d !important;
}

.cookie-notify__settings {
    margin-top: 0.65rem;
    padding-top: 0.64rem;
    border-top: 1px dashed rgba(95, 69, 42, 0.2);
    display: grid;
    gap: 0.44rem;
}

.cookie-notify__option {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

@media (min-width: 981px) {
    .cart-list {
        max-height: min(34vh, 320px);
        overflow: auto;
        padding-right: 0.14rem;
    }
}

@media (max-width: 1120px) {
    .content-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
        gap: 1rem;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .analytics-split-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .checkout-panel {
        position: static;
        max-height: none;
        overflow: visible;
        scrollbar-gutter: auto;
    }

    .admin-menu-layout {
        grid-template-columns: 1fr;
    }

    .social-card-layout {
        grid-template-columns: 1fr;
    }

    .admin-pos-layout {
        grid-template-columns: 1fr;
    }

    .analytics-split-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body::before,
    body::after {
        opacity: 0.17;
    }

    .shell {
        width: calc(100vw - 1rem);
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        padding-top: 1.8rem;
    }

    .hero-nav {
        width: 100%;
        justify-content: flex-start;
        padding: 0.44rem;
    }

    .hero-nav a,
    .hero-nav .pwa-install-btn {
        flex: 1 1 calc(50% - 0.4rem);
        text-align: center;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-head-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-head-actions button {
        flex: 1 1 100%;
    }

    .menu-category-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 0.7rem;
        padding-bottom: 0.15rem;
        scrollbar-width: thin;
    }

    .featured-tag-items {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.12rem;
    }

    .featured-tag-item-btn {
        flex: 0 0 auto;
    }

    .menu-category-btn {
        flex: 0 0 auto;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 0.72rem;
    }

    .dish-actions {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .dish-desc {
        min-height: 0;
    }

    .cards-expanded .dish-title {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .cards-expanded .dish-desc {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        min-height: 0;
    }

    .payment-fieldset {
        grid-template-columns: 1fr;
    }

    .checkout-inline-row {
        grid-template-columns: 1fr;
    }

    .delivery-address-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cart-item-row {
        align-items: flex-start;
    }

    .qty-controls button {
        min-width: 38px;
        min-height: 38px;
    }

    .page-header {
        padding-top: 1.2rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-user-meta {
        width: 100%;
    }

    .orders-table-wrap {
        border-radius: 12px;
    }

    table {
        min-width: 640px;
        font-size: 0.88rem;
    }

    th,
    td {
        padding: 0.5rem;
    }

    .review-comment-cell {
        min-width: 200px;
        max-width: 280px;
    }

    .menu-addon-row {
        grid-template-columns: 1fr;
    }

    .social-card-preview-wrap {
        padding: 0.6rem;
    }

    .admin-pos-add-row {
        grid-template-columns: 1fr;
    }

    .combo-assignment-option {
        align-items: flex-start;
        flex-direction: column;
    }

    .combo-assignment-controls {
        width: 100%;
        justify-content: space-between;
    }

    .analytics-filter-form {
        grid-template-columns: 1fr 1fr;
    }

    .track-layout,
    .admin-layout {
        padding-top: 0.7rem;
    }

    .track-input-row {
        grid-template-columns: 1fr;
    }

    .track-input-row button,
    .checkout-form button {
        width: 100%;
    }

    .order-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-line,
    .precheck-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.28rem;
    }

    .precheck-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .hero-nav a,
    .hero-nav .pwa-install-btn {
        flex-basis: 100%;
    }

    .legal-links {
        display: grid;
    }

    .legal-links a {
        width: 100%;
        text-align: center;
    }

    h2 {
        font-size: 1.22rem;
    }

    h1 {
        font-size: clamp(1.7rem, 8.2vw, 2.25rem);
    }

    .checkout-panel,
    .track-card {
        padding: 0.88rem;
        border-radius: 20px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .dish-top {
        gap: 0.42rem;
    }

    .dish-body {
        padding: 0.72rem;
    }

    .cart-item {
        padding: 0.58rem;
    }

    .fulfillment-fieldset,
    .payment-fieldset {
        padding: 0.54rem 0.62rem;
    }

    .delivery-address-grid {
        grid-template-columns: 1fr;
    }

    .analytics-filter-form {
        grid-template-columns: 1fr;
    }

    .track-input-row {
        gap: 0.44rem;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
    }

    .menu-addon-row {
        grid-template-columns: 1fr;
    }

    table {
        min-width: 560px;
        font-size: 0.84rem;
    }

    th,
    td {
        padding: 0.45rem;
    }

    .review-comment-cell {
        min-width: 160px;
        max-width: 220px;
    }

    .cookie-notify {
        left: 0.6rem;
        right: 0.6rem;
        bottom: 0.6rem;
    }

    .cookie-notify__actions {
        display: grid;
    }

    .cookie-notify__actions button,
    .cookie-notify__settings button {
        width: 100%;
    }

    .sms-verify-modal {
        padding: 0;
    }

    .sms-verify-modal__dialog {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        padding: 1rem 0.9rem;
    }

    .sms-verify-modal__actions {
        grid-template-columns: 1fr;
    }

    .recommendation-modal {
        padding: 0;
    }

    .recommendation-modal__dialog {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: none;
        padding: 0.95rem 0.85rem;
    }

    .recommendation-modal__item {
        grid-template-columns: 1fr;
    }

    .recommendation-modal__item img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .recommendation-modal__actions {
        grid-template-columns: 1fr;
    }

    .manual-picker-modal__dialog,
    .manual-config-modal__dialog {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        padding: 0.95rem 0.85rem;
    }

    .manual-picker-grid {
        grid-template-columns: 1fr;
    }

    .manual-picker-item__head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (hover: none) {
    .dish-card:hover,
    .hero-nav a:hover,
    .ghost-link:hover,
    button:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

@supports not (backdrop-filter: blur(2px)) {
    .dish-card,
    .checkout-panel,
    .track-card {
        background: var(--panel-strong);
    }
}



/* =========================================================
   EPICMAC BRAND OVERRIDE
   Тёмный UI + красный акцент + чистые белые secondary buttons
   Добавлено поверх базового файла, чтобы перебить старую тёплую палитру
   ========================================================= */

:root {
    --bg-1: #0a0a0b;
    --bg-2: #111214;
    --bg-3: #18191c;
    --ink: #ffffff;
    --muted: #b7bac2;
    --panel: rgba(255, 255, 255, 0.06);
    --panel-strong: rgba(255, 255, 255, 0.10);
    --panel-border: rgba(255, 255, 255, 0.09);
    --accent: #e30613;
    --accent-strong: #b8000f;
    --accent-soft: rgba(227, 6, 19, 0.18);
    --ok: #22c55e;
    --shadow-md: 0 16px 30px rgba(0, 0, 0, 0.28);
    --shadow-lg: 0 28px 54px rgba(0, 0, 0, 0.38);
    --ring: 0 0 0 3px rgba(227, 6, 19, 0.28);
}

html,
body {
    background-color: #0a0a0b;
}

body {
    color: var(--ink) !important;
    background:
        radial-gradient(circle at top left, rgba(227, 6, 19, 0.12), transparent 26%),
        radial-gradient(circle at 100% 0%, rgba(227, 6, 19, 0.08), transparent 22%),
        linear-gradient(180deg, #0a0a0b 0%, #111214 46%, #17181b 100%) !important;
    animation: none !important;
}

body::before,
body::after {
    display: none !important;
}

.bg-noise {
    opacity: 0.08 !important;
    background-image:
        linear-gradient(180deg, rgba(255,255,255,0.025), transparent 50%),
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.012),
            rgba(255,255,255,0.012) 1px,
            transparent 1px,
            transparent 3px
        ) !important;
}

a {
    color: inherit;
}

.eyebrow {
    color: rgba(255, 255, 255, 0.58) !important;
}

h1,
h2,
h3,
.dish-title,
.price,
.grand-total,
.checkout-panel strong,
.cart-item strong,
.order-line strong,
.precheck-line strong,
.analytics-kpi-card strong,
.review-head strong,
.legal-card h3,
.social-card-preview-head,
.admin-pos-builder-head h3 {
    color: #ffffff !important;
}

h1 {
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.22);
}

.hero-copy,
.muted,
#menu-count,
#menu-only-count,
.dish-desc,
.dish-seo-snippet,
.dish-combo-meta,
.dish-meta,
.delivery-address-title,
.cookie-notify__body p,
.analytics-kpi-card small,
.analytics-kpi-card span,
.review-card small,
.cart-addons small,
.track-addons small,
.precheck-addons small,
.manual-picker-item__head s,
.manual-picker-item__head span,
.menu-catalog-row small,
.combo-assignment-controls small {
    color: var(--muted) !important;
}

/* Top hero/nav */

.hero {
    padding-top: clamp(1.6rem, 4vw, 2.7rem);
}

.hero-nav {
    gap: 0.56rem !important;
    padding: 0.62rem !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28) !important;
}

.hero-nav a,
.hero-nav .pwa-install-btn,
.ghost-link,
button,
.legal-links a {
    border-radius: 999px;
    font-weight: 800 !important;
    letter-spacing: 0;
}

.hero-nav a,
.hero-nav .pwa-install-btn,
.ghost-link,
.legal-links a,
.cookie-secondary-btn,
.ghost-btn {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.94) !important;
    color: #1d1515 !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12) !important;
}

.hero-nav a:hover,
.hero-nav .pwa-install-btn:hover,
.ghost-link:hover,
.legal-links a:hover,
.cookie-secondary-btn:hover,
.ghost-btn:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #111111 !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18) !important;
}

.hero-nav a:active,
.hero-nav .pwa-install-btn:active,
.ghost-link:active,
.legal-links a:active,
.cookie-secondary-btn:active,
.ghost-btn:active,
button:active {
    transform: translateY(0) !important;
}

button,
.pwa-install-btn,
.dish-actions button,
.checkout-form button,
.track-input-row button,
.menu-catalog-row button,
.manual-picker-item__actions button,
.admin-head-actions button,
.admin-pos-add-row button,
.menu-addon-row button {
    min-height: 46px;
}

/* Logo block */

.brand-logo {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22) !important;
}

/* Pills / counters / tags */

#menu-count,
#menu-only-count,
.featured-tag-section,
.featured-tag-item-btn,
.tag,
.price-inline,
.dish-media-tag,
.order-flag,
.order-flag--warn,
.order-flag--danger,
.dish-label,
.menu-only-addon {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.featured-tag-item-btn strong,
.menu-assignment-option strong,
.menu-only-addon strong,
.addon-option strong {
    color: #ffffff !important;
}

.dish-discount-badge {
    background: linear-gradient(180deg, #ff2230 0%, #d90416 100%) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
}

.dish-combo-badge {
    background: rgba(255,255,255,0.92) !important;
    color: #231919 !important;
    border-color: rgba(255,255,255,0.92) !important;
}

/* Category filter buttons */

.menu-category-btn {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.94) !important;
    color: #541919 !important;
    box-shadow: none !important;
}

.menu-category-btn:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #2b1414 !important;
}

.menu-category-btn.active {
    background: linear-gradient(180deg, #ff1c28 0%, #d90416 100%) !important;
    border: 1px solid rgba(182, 0, 15, 0.95) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 26px rgba(227, 6, 19, 0.22) !important;
}

/* Major panels */

.dish-card,
.checkout-panel,
.track-card,
.cart-item,
.featured-tag-section,
.timeline-step,
.orders-table-wrap,
.precheck-box,
.admin-pos-builder,
.analytics-kpi-card,
.analytics-panel,
.social-card-preview-wrap,
.legal-card,
.review-card,
.site-footer-grid,
.cookie-notify__body,
.sms-verify-modal__dialog,
.recommendation-modal__dialog,
.manual-picker-item,
.manual-config-meta,
.menu-assignment-option,
.menu-catalog-row,
.admin-menu-item-btn,
.analytics-panel,
.analytics-kpi-card,
.admin-pos-builder {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    color: var(--ink) !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26) !important;
}

.checkout-panel,
.track-card,
.dish-card {
    backdrop-filter: blur(10px) !important;
}

.checkout-panel {
    top: 0.7rem;
}

.dish-card:hover {
    border-color: rgba(227, 6, 19, 0.32) !important;
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.34) !important;
}

.dish-card-highlight {
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.28), 0 24px 42px rgba(0,0,0,0.34) !important;
}

/* Buttons general */

button {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

button:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18) !important;
}

button:disabled,
.radio-option.is-disabled span {
    opacity: 0.48 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.hero-nav a:focus-visible,
.hero-nav .pwa-install-btn:focus-visible,
.ghost-link:focus-visible,
button:focus-visible,
.menu-category-btn:focus-visible,
.radio-option input[type='radio']:focus-visible + span,
.legal-links a:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 50, 60, 0.28) !important;
}

/* Primary red actions */

.dish-actions button,
.checkout-form button,
.track-input-row button,
.radio-option input[type='radio']:checked + span,
.pwa-install-btn,
#checkout-btn,
#recommendation-add-btn,
#sms-verify-submit {
    background: linear-gradient(180deg, #ff2230 0%, #d90416 58%, #b8000f 100%) !important;
    border: 1px solid rgba(182, 0, 15, 0.95) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(227, 6, 19, 0.24) !important;
}

.dish-actions button:hover,
.checkout-form button:hover,
.track-input-row button:hover,
.radio-option input[type='radio']:checked + span:hover,
.pwa-install-btn:hover,
#checkout-btn:hover,
#recommendation-add-btn:hover,
#sms-verify-submit:hover {
    background: linear-gradient(180deg, #ff3140 0%, #e00014 58%, #c00011 100%) !important;
    border-color: rgba(220, 10, 25, 0.98) !important;
    box-shadow: 0 18px 30px rgba(227, 6, 19, 0.32) !important;
}

/* Inputs / form */

input:not([type='checkbox']):not([type='radio']),
textarea,
select {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.42) !important;
}

input:not([type='checkbox']):not([type='radio']):focus,
textarea:focus,
select:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 56, 70, 0.58) !important;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.18) !important;
}

input[type='checkbox'],
input[type='radio'] {
    accent-color: #e30613;
}

.fulfillment-fieldset,
.payment-fieldset {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.03) !important;
}

.fulfillment-fieldset legend,
.payment-fieldset legend {
    color: rgba(255, 255, 255, 0.68) !important;
}

.radio-option span {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.delivery-policy-note {
    border-top: 1px dashed rgba(255, 255, 255, 0.12) !important;
}

/* Cart */

.cart-item {
    background: rgba(255, 255, 255, 0.07) !important;
}

.cart-line-price small,
.price-original {
    color: rgba(255, 255, 255, 0.42) !important;
}

.qty-controls button {
    border-radius: 10px !important;
    min-width: 36px;
    min-height: 36px;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Tables / admin */

th {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

th,
td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

tbody tr:hover td {
    background: rgba(255, 255, 255, 0.04) !important;
}

.precheck-row td {
    background: rgba(255, 255, 255, 0.03) !important;
}

.orders-table-wrap,
.admin-menu-list,
.menu-catalog-list,
.checkout-panel,
.cart-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(227, 6, 19, 0.78) rgba(255, 255, 255, 0.08) !important;
}

.orders-table-wrap::-webkit-scrollbar-track,
.admin-menu-list::-webkit-scrollbar-track,
.menu-catalog-list::-webkit-scrollbar-track,
.checkout-panel::-webkit-scrollbar-track,
.cart-list::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.08) !important;
}

.orders-table-wrap::-webkit-scrollbar-thumb,
.admin-menu-list::-webkit-scrollbar-thumb,
.menu-catalog-list::-webkit-scrollbar-thumb,
.checkout-panel::-webkit-scrollbar-thumb,
.cart-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff2230, #b8000f) !important;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.08) !important;
}

/* Status / chips */

.status-chip {
    background: rgba(227, 6, 19, 0.18) !important;
    border-color: rgba(227, 6, 19, 0.34) !important;
    color: #ffffff !important;
}

.timeline-step.done {
    border-color: rgba(34, 197, 94, 0.32) !important;
    background: rgba(34, 197, 94, 0.12) !important;
}

/* Footer and legal */

.site-footer-grid,
.legal-list,
.seo-query-list,
.legal-card,
.review-card,
.footer-credit,
.site-footer-links a,
.site-footer-grid .footer-credit a {
    color: #ffffff !important;
}

.site-footer-links a,
.site-footer-grid .footer-credit a {
    text-decoration-color: rgba(255,255,255,0.42) !important;
}

.site-footer-links a:hover,
.site-footer-grid .footer-credit a:hover {
    color: rgba(255,255,255,0.86) !important;
}

.legal-warning {
    color: #ffffff !important;
    background: rgba(227, 6, 19, 0.14) !important;
    border: 1px solid rgba(227, 6, 19, 0.26) !important;
}

/* Modal overlay colors */

.sms-verify-modal__overlay,
.recommendation-modal__overlay {
    background: rgba(6, 6, 8, 0.72) !important;
}

.sms-verify-phone,
.recommendation-modal__item-body span,
.price {
    color: #ffffff !important;
}

.recommendation-disable-link {
    color: rgba(255, 255, 255, 0.76) !important;
}

/* Mobile polish */

@media (max-width: 760px) {
    .hero-nav {
        padding: 0.5rem !important;
    }

    .hero-nav a,
    .hero-nav .pwa-install-btn {
        min-height: 44px !important;
        padding: 0.72rem 0.9rem !important;
    }

    .menu-category-btn {
        min-height: 40px !important;
    }
}
