body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(circle at top left, rgb(249 115 22 / 0.12), transparent 28rem),
        linear-gradient(180deg, #fbf7ef 0%, #f5efe4 100%);
}

body.bg-zinc-950 {
    background:
        radial-gradient(circle at top right, rgb(249 115 22 / 0.16), transparent 26rem),
        #09090b;
}

body.bg-zinc-950 .card {
    background: rgb(255 255 255 / 0.94);
    color: #111;
}

html[lang="ka"] body,
html[lang="ru"] body {
    line-height: 1.62;
}

::selection {
    background: #f97316;
    color: #111;
}

.nav-link {
    border-radius: 999px;
    padding: 0.62rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 900;
    color: rgb(39 39 42);
    white-space: nowrap;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link-active {
    background: #111;
    color: #fff;
}

.mobile-nav-link {
    display: flex;
    flex: 1 1 0;
    min-height: 4.1rem;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.25rem;
    text-align: center;
    line-height: 1.15;
}

.dropdown-menu summary::-webkit-details-marker {
    display: none;
}

.dropdown-menu[open] summary {
    filter: brightness(0.98);
}

.dropdown-menu {
    overflow: visible;
}

.dropdown-panel {
    max-height: none;
}

.menu-floating-cart {
    bottom: calc(5.25rem + env(safe-area-inset-bottom));
}

.card {
    border: 1px solid rgb(24 24 27 / 0.1);
    border-radius: 0.9rem;
    background: rgb(255 255 255 / 0.84);
    box-shadow: 0 18px 45px rgb(0 0 0 / 0.07);
    backdrop-filter: blur(10px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f97316;
    min-height: 3rem;
    padding: 0.85rem 1.2rem;
    font-weight: 900;
    color: #111;
    box-shadow: 0 10px 24px rgb(249 115 22 / 0.25);
    transition: transform 160ms ease, filter 160ms ease;
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #111;
    min-height: 3rem;
    padding: 0.85rem 1.2rem;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 10px 24px rgb(0 0 0 / 0.16);
    transition: transform 160ms ease, filter 160ms ease;
}

.btn-primary:hover,
.btn-dark:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
}

input,
select,
textarea,
button,
a {
    -webkit-tap-highlight-color: transparent;
}

input,
select,
textarea {
    font-size: 16px;
}

img {
    max-width: 100%;
}

.flash-message {
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    font-weight: 800;
    box-shadow: 0 12px 30px rgb(0 0 0 / 0.08);
}

.voucher-card {
    position: relative;
    overflow: hidden;
}

.voucher-card::after {
    content: "";
    position: absolute;
    inset: auto -1rem -1rem auto;
    width: 6rem;
    height: 6rem;
    border-radius: 999px;
    background: rgb(249 115 22 / 0.14);
}

@media (max-width: 767px) {
    .card {
        border-radius: 0.85rem;
    }

    .btn-primary,
    .btn-dark {
        width: 100%;
    }

    body {
        padding-bottom: env(safe-area-inset-bottom);
    }

    main {
        padding-bottom: calc(8.5rem + env(safe-area-inset-bottom)) !important;
    }
}

@media print {
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    .site-header,
    nav,
    .mobile-nav-link,
    .no-print,
    .flash-message {
        display: none !important;
    }

    main {
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .print-paper {
        width: 80mm;
        max-width: 100%;
        margin: 0 auto;
        border: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        color: #000 !important;
    }

    .print-kitchen {
        width: 100%;
        max-width: 180mm;
    }

    .print-row {
        border-bottom: 1px dashed #000;
    }
}
