﻿:root {
    --ft-dark: #0f172a;
    --ft-accent: #a3ff12;
    --ft-bg: #f6f7fb;
    --ft-text: #0b1220;
    --ft-muted: #64748b;
}

body {
    font-family: 'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial;
    background: var(--ft-bg);
    color: var(--ft-text);
}

/* smooth scroll */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 90px;
}

@media (max-width: 991.98px) {
    section {
        scroll-margin-top: 70px;
    }
}



/* =========================================
   HERO (Bao style)
========================================= */

/* =========================================
   HERO (Som Tam) – KOMPAKT + pekný center
========================================= */

/* HERO default: fullscreen (na začiatku stránky) */
.hero-bao {
    background: #F1EFEA;
    min-height: calc(100vh - 70px); /* 70px = navbar */
    padding: 90px 0 60px; /* menší spodok, lebo už je fullscreen */
    transition: min-height .35s ease, padding .35s ease;
}

/* Po scroll: kompaktný hero (tvoj režim s 180px) */
body.hero--compact .hero-bao {
    min-height: auto;
    padding: 90px 0 180px;
}

.hero-bao__inner {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

/* miska hore */
/* HERO miska – responsívna + hover shake */
.hero-bao__img {
    display: block;
    margin: 0 auto 22px;
    width: clamp(160px, 38vw, 380px);
    height: auto;
    filter: drop-shadow(0 18px 35px rgba(0,0,0,.20));
    transform-origin: 50% 70%;
    transition: transform .18s ease, filter .18s ease;
}

.hero-bao__img {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    pointer-events: auto;
}

    .hero-bao__img.hero-bowl {
        margin: 30px auto 22px;
    }

/* jemný “bounce” pri hover (desktop) */
@media (hover:hover) {
    .hero-bao__img:hover {
        animation: somtam-wiggle .55s ease-in-out;
        filter: drop-shadow(0 22px 45px rgba(0,0,0,.22));
    }
}

/* klik / tap animácia */
.hero-bao__img.is-wiggle{
  animation: somtam-wiggle-click .55s ease-in-out;
  filter: none;
}


/* animácia zatrasenia */
@keyframes somtam-wiggle {
    0% {
        transform: rotate(0deg) translateY(0);
    }

    15% {
        transform: rotate(-3deg) translateY(-2px);
    }

    30% {
        transform: rotate(3deg) translateY(-2px);
    }

    45% {
        transform: rotate(-2deg) translateY(-1px);
    }

    60% {
        transform: rotate(2deg) translateY(-1px);
    }

    100% {
        transform: rotate(0deg) translateY(0);
    }
}

@keyframes somtam-wiggle-click {
    0% {
        transform: rotate(0deg) translateY(0);
    }

    15% {
        transform: rotate(-3deg) translateY(-2px);
    }

    30% {
        transform: rotate(3deg) translateY(-2px);
    }

    45% {
        transform: rotate(-2deg) translateY(-1px);
    }

    60% {
        transform: rotate(2deg) translateY(-1px);
    }

    100% {
        transform: rotate(0deg) translateY(0);
    }
}

/* rešpektuj “reduced motion” (ak má niekto vypnuté animácie) */
@media (prefers-reduced-motion: reduce) {
    .hero-bao__img {
        transition: none;
    }

        .hero-bao__img:hover {
            animation: none;
        }
}

/* názov */
.hero-bao__title {
    font-weight: 800;
    color: #0f172a;
    font-size: clamp(40px, 5vw, 64px);
    margin: 0;
}

/* podnadpis */
.hero-bao__sub {
    margin-top: 10px;
    color: rgba(15,23,42,.70);
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 12px;
}

/* buttons wrapper */
.hero-bao__buttons {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* jemné orámované pill tlačidlá (oba) */
.btn-hero,
.btn-hero-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,.18);
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
    background: rgba(255,255,255,.30);
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

/* druhé tlačidlo (rezervácia) nech je trochu výraznejšie */
.btn-hero {
    background: rgba(255,255,255,.55);
}

    /* hover */
    .btn-hero:hover,
    .btn-hero-outline-dark:hover {
        background: rgba(255,255,255,.75);
        transform: translateY(-1px);
        box-shadow: 0 10px 25px rgba(0,0,0,.10);
    }

/* jemná deliaca čiara pod hero (voliteľné, vyzerá profi) */
.hero-bao {
    border-bottom: 1px solid rgba(15,23,42,.08);
}

/* MOBILE */
@media (max-width: 480px) {
    .hero-bao {
        padding: 78px 0 90px; /* ak chceš aby béžová ešte pokračovala */
    }

    /* ŽIADNE prepisovanie šírky misky tu! */

    .btn-hero, .btn-hero-outline-dark {
        padding: 10px 16px;
    }
}
/* mobile zalomenie hero textu */

@media (max-width:480px) {

    .hero-bao__sub {
        line-height: 1.4;
    }

    .hero-break {
        display: block;
        margin-top: 4px;
    }
}

/* =========================================
   NAVBAR – FIX (Bootstrap friendly)
========================================= */

.ft-nav {
    position: sticky;
    top: 0;
    z-index: 1050;
    min-height: 70px;
    background: #F1EFEA !important; /* rovnaká farba ako hero */

    border-bottom: 1px solid rgba(0,0,0,.08);
    transition: background .25s ease;
}

    .ft-nav.ft-nav--solid {
        background: rgba(241,239,234,0.92) !important;
    }

    /* dôležité: udrží obsah navbaru pekne v jednej línii */
    .ft-nav .navbar > .container,
    .ft-nav .navbar > .container-fluid,
    .ft-nav .container,
    .ft-nav .container-fluid {
        display: flex;
        align-items: center;
    }

    /* brand nech sa nerozťahuje/divne neláme */
    .ft-nav .navbar-brand {
        font-weight: 800;
        color: #0f172a !important;
        margin-right: 12px;
        white-space: nowrap;
    }

    /* nav links – tvoja úprava, ale stabilnejšie */
    .ft-nav .navbar-nav {
        gap: 6px;
    }

        .ft-nav .navbar-nav .nav-link {
            color: #0f172a !important;
            font-weight: 600;
            padding: 8px 12px;
            border-radius: 12px;
            line-height: 1.2;
            white-space: nowrap; /* aby sa nerozbíjali do 2 riadkov */
            transition: background .15s ease;
        }

            .ft-nav .navbar-nav .nav-link:hover {
                background: rgba(15,23,42,.06);
            }

            .ft-nav .navbar-nav .nav-link.active {
                background: rgba(15,23,42,.10);
            }

    /* toggler (mobile) nech je pekný a viditeľný */
    .ft-nav .navbar-toggler {
        border: 1px solid rgba(15,23,42,.18);
        border-radius: 12px;
        padding: 8px 10px;
    }

/* ===== MOBILE collapse menu – najčastejšia príčina “rozbitia” ===== */
@media (max-width: 991.98px) {
    .ft-nav .navbar-collapse {
        margin-top: 10px;
        /* toto je kľúč: po otvorení menu musí mať vlastný “card” background */
        background: rgba(241,239,234,0.98);
        border: 1px solid rgba(15,23,42,.10);
        border-radius: 16px;
        padding: 10px;
        box-shadow: 0 18px 45px rgba(0,0,0,.12);
    }

    .ft-nav .navbar-nav .nav-link {
        padding: 10px 12px; /* lepší tap target */
        white-space: normal; /* na mobile môže zalomiť, ak je dlhý text */
    }
}

/* =========================================
   SEKCIE
========================================= */

.ft-section {
    padding: 80px 0;
}

.ft-section--light {
    background: #fff;
}

.ft-section--cream {
    background: #F1EFEA;
}

.ft-section--dark {
    background: #000;
    color: #fff;
}

.ft-section__head h2 {
    font-weight: 800;
}

.ft-section__head p {
    color: var(--ft-muted);
    margin-top: 10px;
}

#rezervacia p {
    color: rgba(255,255,255,.75);
}

/* =========================================
   CARDS
========================================= */

.ft-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 18px;
    padding: 22px;
}

.ft-shadow {
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
}



/* =========================================
   MENU TILES
========================================= */

/*.ft-tile {
    display: block;
    text-decoration: none;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .ft-tile img {
        width: 100%;
        height: 170px;
        object-fit: cover;
    }

.ft-tile__body {
    padding: 14px;
}

.ft-tile__tag {
    font-size: 12px;
    font-weight: 800;
    opacity: .75;
}

.ft-tile__title {
    font-size: 18px;
    font-weight: 800;
}

.ft-tile__muted {
    color: var(--ft-muted);
    font-size: 13px;
}

.ft-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
}*/

/* =========================================
   MENU – moderný minimalistický štýl
========================================= */
/* =========================================
   MENU – moderný minimalistický štýl
========================================= */

.ft-menu-modern {
    text-align: center;
    max-width: 420px;
    margin-left: -60px; /* posun menu k trucku */
}

.ft-menu-modern__dots {
    font-size: 28px;
    letter-spacing: 10px;
    margin-bottom: 30px;
    color: #111;
}

.ft-menu-modern__item {
    margin-bottom: 40px;
}

    .ft-menu-modern__item:last-child {
        margin-bottom: 0;
    }

    .ft-menu-modern__item h3 {
        margin: 0 0 12px;
        font-size: 26px;
        font-weight: 800;
        letter-spacing: .35em;
        color: #111;
    }

    .ft-menu-modern__item p {
        margin: 0;
        font-size: 15px;
        line-height: 1.4;
        letter-spacing: .15em;
        color: #444;
    }

@media (max-width:768px) {

    /* zmenší medzeru medzi truck a menu */

    #menu .row {
        row-gap: 0.5rem;
    }

    /* odstráni extra margin pod obrázkom */

    #menu .ft-menu-img {
        margin-bottom: 0;
    }

    #menu .col-lg-6 {
        margin-bottom: 0;
    }
    #menu .g-4 {
        --bs-gutter-y: -1.5rem;
    }
}


/* =========================================
   TRUCK IMAGE
========================================= */

.ft-menu-img {
    max-width: 110%;
    height: auto;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width:991px) {

    .ft-menu-modern {
        margin-left: 0;
        margin-top: 40px;
        max-width: 100%;
    }
}



/* =========================================
   KONTAKT
========================================= */

/* social icons */

/* =========================================
   SOCIAL ICONS
========================================= */

.ft-contact-title {
    text-align: center;
    font-weight: 800;
}

.ft-social {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 14px;
}

    .ft-social img {
        width: 60px;
        height: 60px;
        transition: transform .15s ease;
    }

        .ft-social img:hover {
            transform: translateY(-2px);
        }


/* =========================================
   MAPA
========================================= */

.ft-map {
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,.08);
}


/* =========================================
   TLAČIDLO NAVIGÁCIE
========================================= */

.ft-btn-map {
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    border: 1px solid rgba(15,23,42,.15);
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    transition: all .15s ease;
}

    .ft-btn-map:hover {
        background: #0f172a;
        color: #fff;
        transform: translateY(-1px);
    }


/* =========================================
   BRAND (logo + name)
========================================= */

.ft-brand {
    gap: 10px;
}

.ft-logo {
    height: 32px;
    width: auto;
}

.ft-brand__name {
    font-weight: 800;
    font-size: 18px;
    color: #0f172a;
}

/* =========================================
   REVEAL ANIMÁCIA
========================================= */

.ft-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

    .ft-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }



/* =========================================
   MOBILE
========================================= */

@media (max-width:480px) {

    .ft-section {
        padding: 56px 0;
    }
}
/* =========================================
   MENU PROMO (truck + menu list)
========================================= */

#onas .row {
    align-items: flex-start;
}

/* Menu list */
.ft-menu-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
    font-weight: 700;
}

    .ft-menu-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #0f172a;
        font-size: 16px;
    }

/* bodka */
.ft-menu-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(15,23,42,.25);
    flex: 0 0 10px;
}

/* truck obrázok */
.ft-menu-img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    /* mierne posunutie doľava */
    margin-left: -40px;
}

/* nadpis Menu vyššie */
#onas .ft-section__head {
    margin-top: 0;
}

#onas h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width:992px) {

    .ft-menu-img {
        margin-left: 0;
        max-height: 340px;
    }

    #onas .row {
        text-align: center;
    }

    .ft-menu-list {
        justify-content: center;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width:480px) {

    .ft-menu-img {
        max-height: 260px;
    }

    #onas h2 {
        font-size: 28px;
    }

    .ft-menu-list li {
        font-size: 15px;
    }
}

 /* =========================================
   REZERVACIA – husté misky
========================================= */
/* =========================================
   REZERVACIA – misky
========================================= */

#rezervacia.ft-section--dark {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    background-color: #F1EFEA;
    background-image: url("/assets/img/pattern-bowl.png"), url("/assets/img/pattern-bowl.png");
    background-size: 220px, 220px;
    background-position: 0 0, 110px 110px;
    background-repeat: repeat, repeat;
}

    /* jemný overlay */

    #rezervacia.ft-section--dark::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(241,239,234,.65);
        pointer-events: none;
    }

#rezervacia .container {
    position: relative;
    z-index: 1;
}

    /* =========================================
   CTA tlačidlo
========================================= */

    #rezervacia .btn-hero {
        font-size: 22px;
        padding: 18px 34px;
        border-radius: 999px;
        font-weight: 800;
        box-shadow: 0 18px 45px rgba(0,0,0,.35);
        border: 1px solid rgba(255,255,255,.18);
        transition: transform .15s ease, box-shadow .15s ease;
    }

        #rezervacia .btn-hero:hover {
            transform: translateY(-2px);
            box-shadow: 0 22px 55px rgba(0,0,0,.40);
            color: #0f172a;
        }

/* =========================================
   MOBILE
========================================= */

@media (max-width:480px) {

    #rezervacia {
        min-height: 260px;
    }

        #rezervacia .btn-hero {
            width: 100%;
            max-width: 320px;
            font-size: 20px;
            padding: 16px 22px;
        }
}


/* =========================================
   RESERVATION MODAL
========================================= */

.ft-rmodal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

    .ft-rmodal.is-open {
        display: block;
    }

/* iOS Safari reset pre buttony */
.ft-date-card,
.ft-slot-card,
.ft-btn,
.ft-rmodal__close {
    -webkit-appearance: none;
    appearance: none;
}

.ft-date-card {
    color: #0f172a;
    text-decoration: none;
}

.ft-date-card__day,
.ft-date-card__date {
    color: inherit;
}

.ft-rmodal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.52);
    backdrop-filter: blur(4px);
}

.ft-rmodal__dialog {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    margin: 16px auto;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
    display: flex;
    flex-direction: column;
}

.ft-rmodal__header {
    padding: 24px 28px 16px;
    border-bottom: 1px solid rgba(15,23,42,.08);
    background: #F1EFEA;
}

.ft-rmodal__eyebrow {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(15,23,42,.62);
    margin-bottom: 6px;
}

.ft-rmodal__title {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.08;
    font-weight: 700;
    color: #0f172a;
}

.ft-rmodal__sub {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 15px;
}

.ft-rmodal__body {
    padding: 22px 28px;
    overflow: auto;
    background: #f8f8f6;
}

.ft-rmodal__footer {
    padding: 18px 28px;
    border-top: 1px solid rgba(15,23,42,.08);
    background: #fff;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.ft-rmodal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15,23,42,.12);
    background: rgba(255,255,255,.88);
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
    color: #0f172a;
    cursor: pointer;
    z-index: 2;
}

.ft-rblock {
    margin-bottom: 20px;
}

.ft-rblock__title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.ft-rpanel {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.05);
}

.ft-date-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ft-date-card {
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
    border-radius: 20px;
    padding: 16px 18px;
    text-align: left;
    cursor: pointer;
    transition: .18s ease;
    appearance: none;
    -webkit-appearance: none;
    color: #0f172a;
    text-decoration: none;
}

.ft-date-card__day,
.ft-date-card__date {
    color: inherit;
}

    .ft-date-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(0,0,0,.07);
    }

    .ft-date-card.is-active {
        background: #cf2e2e;
        color: #fff;
        border-color: #cf2e2e;
        box-shadow: 0 10px 25px rgba(207,46,46,.24);
    }

.ft-date-card__day {
    display: block;
    font-weight: 800;
    font-size: 18px;
}

.ft-date-card__date {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    opacity: .82;
}

.ft-slot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ft-slot-card {
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
    border-radius: 20px;
    padding: 16px 12px;
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-align: center;
    cursor: pointer;
    transition: .18s ease;
    position: relative; /* <-- pridaj toto */
}

.ft-slot-card__picked {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,.22);
    border-radius: 999px;
    padding: 2px 6px;
    line-height: 1;
}

    .ft-slot-card:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(0,0,0,.07);
    }

    .ft-slot-card.is-active {
        background: #cf2e2e !important;
        border-color: #cf2e2e !important;
        box-shadow: 0 0 0 3px rgba(207,46,46,.18), 0 14px 30px rgba(207,46,46,.22) !important;
        transform: translateY(-1px);
    }

        .ft-slot-card.is-active .ft-slot-card__time,
        .ft-slot-card.is-active .ft-slot-card__cap {
            color: #fff !important;
        }

    .ft-slot-card:not(.is-full):active {
        transform: scale(.98);
    }



.ft-slot-card.is-ok {
    background: #fff;
    border-color: #d6d6d6;
}



.ft-slot-card.is-full {
    background: #eef2f6;
    color: #94a3b8;
    border-color: #d3dae3;
    cursor: not-allowed;
    pointer-events: none;
}

.ft-slot-card__time {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.ft-slot-card__cap {
    font-size: 13px;
    color: #58708f;
    font-weight: 700;
}

.ft-slot-card.is-ok .ft-slot-card__cap {
    color: #16a34a; /* zelená */
}

.ft-slot-card.is-mid .ft-slot-card__cap {
    color: #f97316; /* oranžová */
}

.ft-slot-card.is-danger .ft-slot-card__cap {
    color: #dc2626; /* červená */
}

.ft-slot-card.is-full .ft-slot-card__cap {
    color: #6b7280; /* sivá */
}



.ft-slot-note {
    margin-top: 10px;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.ft-rmain {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 18px;
    margin-bottom: 20px;
    align-items: start;
}

    .ft-rmain > .ft-rpanel {
        min-width: 0;
        margin-bottom: 0;
    }

.ft-selected-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.ft-menu-items {
    display: grid;
    gap: 12px;
}

.ft-menu-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 18px;
    padding: 14px;
    background: #fff;
}

.ft-menu-item__name {
    font-weight: 800;
    color: #0f172a;
    font-size: 16px;
}

.ft-menu-item__desc {
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.ft-menu-item__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ft-menu-item__price {
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}

.ft-menu-item__add {
    border: 1px solid rgba(15,23,42,.12);
    background: #F1EFEA;
    color: #0f172a;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
    transition: .15s ease;
}

    .ft-menu-item__add:hover {
        background: #0f172a;
        color: #fff;
    }

.ft-cart-meta {
    display: grid;
    gap: 6px;
    color: #475569;
    font-size: 14px;
    margin-bottom: 14px;
}

.ft-cart-capacity {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 14px;
}

.ft-cart-capacity__title {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.ft-cart-capacity__text {
    line-height: 1.5;
}

.ft-cart-timer {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.ft-cart-list {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.ft-cart-empty {
    color: #64748b;
    font-size: 14px;
    padding: 12px 0;
}

.ft-cart-item {
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 16px;
    padding: 12px;
    background: #fff;
}

.ft-cart-item__top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.ft-cart-item__name {
    font-weight: 800;
    color: #0f172a;
}

.ft-cart-item__price {
    font-weight: 800;
    white-space: nowrap;
}

.ft-cart-item__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    gap: 12px;
}

.ft-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 999px;
    overflow: hidden;
}

    .ft-qty button {
        width: 34px;
        height: 34px;
        border: none;
        background: #f8fafc;
        font-size: 18px;
        cursor: pointer;
        color: #0f172a;
    }

    .ft-qty span {
        min-width: 36px;
        text-align: center;
        font-weight: 800;
    }

.ft-remove {
    background: transparent;
    border: none;
    color: #dc2626;
    font-weight: 800;
    cursor: pointer;
}

.ft-cart-summary {
    border-top: 1px solid rgba(15,23,42,.08);
    padding-top: 14px;
    display: grid;
    gap: 8px;
}

.ft-cart-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #0f172a;
}

.ft-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ft-field {
    display: grid;
    gap: 8px;
}

.ft-field--full {
    grid-column: 1 / -1;
}

.ft-field label {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.ft-input {
    width: 100%;
    border: 1px solid rgba(15,23,42,.12);
    border-radius: 16px;
    background: #fff;
    padding: 14px 16px;
    font-size: 15px;
    color: #0f172a;
    outline: none;
}

    .ft-input:focus {
        border-color: #0f172a;
        box-shadow: 0 0 0 3px rgba(15,23,42,.08);
    }

.ft-textarea {
    min-height: 110px;
    resize: vertical;
}

.ft-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    font-size: 14px;
    color: #475569;
    line-height: 1.45;
}

    .ft-consent input[type="checkbox"] {
        margin: 2px 0 0 0;
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
    }

    .ft-consent span {
        display: block;
        padding-top: 0;
    }

.ft-btn {
    border: 1px solid rgba(15,23,42,.12);
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 800;
    cursor: pointer;
    transition: .15s ease;
}

.ft-btn--ghost {
    background: #fff;
    color: #0f172a;
}

    .ft-btn--ghost:hover {
        background: #f8fafc;
    }

.ft-btn--primary {
    background: #cf2e2e;
    color: #fff;
    border-color: #600000;
}

    .ft-btn--primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(15,23,42,.18);
    }

body.ft-modal-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .ft-rmodal__dialog {
        width: min(100vw - 20px, 980px);
        max-height: calc(100dvh - 20px);
        margin: 10px auto;
        border-radius: 24px;
        display: flex;
        flex-direction: column;
    }

    .ft-rmodal__header,
    .ft-rmodal__footer {
        padding-left: 20px;
        padding-right: 20px;
        flex: 0 0 auto;
    }

    .ft-rmodal__body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ft-slot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ft-rmain {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ft-rmodal__dialog {
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

    .ft-rmodal__header {
        padding: 18px 16px 14px;
        flex: 0 0 auto;
    }

    .ft-rmodal__body {
        padding: 16px;
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ft-rmodal__footer {
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
        flex-direction: column;
        flex: 0 0 auto;
        background: #fff;
        border-top: 1px solid rgba(15,23,42,.08);
    }

        .ft-rmodal__footer .ft-btn {
            width: 100%;
        }

    .ft-date-grid {
        grid-template-columns: 1fr;
    }

    .ft-slot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ft-slot-card {
        min-height: 82px;
    }

    .ft-menu-item {
        grid-template-columns: 1fr;
    }

    .ft-menu-item__right {
        justify-content: space-between;
    }

    .ft-form-grid {
        grid-template-columns: 1fr;
    }

    /* kompaktnejšie sloty pre mobil */
    .ft-slot-grid {
        gap: 10px;
    }

    .ft-slot-card {
        padding: 12px 8px;
        min-height: 68px;
        border-radius: 16px;
    }

    .ft-slot-card__time {
        font-size: 18px;
    }

    .ft-slot-card__cap {
        font-size: 12px;
    }

    /* dni (Piatok / Sobota) menšie */
    .ft-date-card {
        padding: 12px 14px;
        border-radius: 16px;
    }

    .ft-date-card__day {
        font-size: 16px;
    }

    .ft-date-card__date {
        font-size: 12px;
    }

    /* kompaktnejšie dni a časy na mobile */
    .ft-date-grid {
        gap: 10px;
    }

    .ft-date-card {
        padding: 12px 14px;
        border-radius: 16px;
    }

    .ft-date-card__day {
        font-size: 16px;
    }

    .ft-date-card__date {
        font-size: 12px;
    }

    .ft-slot-grid {
        gap: 10px;
    }

    .ft-slot-card {
        padding: 12px 8px;
        min-height: 68px;
        border-radius: 16px;
    }

    .ft-slot-card__time {
        font-size: 18px;
        letter-spacing: .02em;
    }

    .ft-slot-card__cap {
        font-size: 12px;
    }

    /* =========================
   KOMPAKTNÝ MOBILE LAYOUT
========================= */

    /* menu položky */
    .ft-menu-item {
        padding: 10px 12px;
        border-radius: 14px;
    }

    .ft-menu-item__name {
        font-size: 15px;
    }

    .ft-menu-item__desc {
        font-size: 12px;
        margin-top: 2px;
    }

    .ft-menu-item__price {
        font-size: 14px;
    }

    .ft-menu-item__add {
        padding: 8px 14px;
        font-size: 13px;
    }


    /* košík */
    .ft-cart-item {
        padding: 10px;
        border-radius: 14px;
    }

    .ft-cart-item__name {
        font-size: 14px;
    }

    .ft-cart-item__price {
        font-size: 14px;
    }

    .ft-cart-item__bottom {
        margin-top: 6px;
    }

    .ft-qty button {
        width: 30px;
        height: 30px;
    }

    .ft-qty span {
        min-width: 32px;
        font-size: 14px;
    }


    /* kapacita + timer */
    .ft-cart-capacity {
        padding: 10px 12px;
        border-radius: 14px;
        font-size: 13px;
    }

    .ft-cart-timer {
        padding: 8px 10px;
        font-size: 13px;
    }


    /* formulár */
    .ft-field label {
        font-size: 13px;
    }

    .ft-input {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 14px;
    }

    .ft-textarea {
        min-height: 90px;
    }


    /* súhlas */
    .ft-consent {
        font-size: 13px;
        gap: 10px;
    }


    /* footer tlačidlá */
    .ft-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    #closeReservationModalFooter {
        display: none;
    }
}

/* =========================================
   MENU COUNTER + ICONS + FLY TO CART
========================================= */

.ft-menu-item__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ft-menu-counter {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.ft-menu-counter__btn {
    width: 34px;
    height: 34px;
    border: none;
    background: #f8fafc;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
}

.ft-menu-counter__value {
    min-width: 34px;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    color: #0f172a;
}

.ft-menu-type-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex: 0 0 28px;
    position: relative;
}

    .ft-menu-type-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        transform-origin: 50% 70%;
    }

    .ft-menu-type-icon span {
        font-size: 22px;
        line-height: 1;
        display: inline-block;
        transform-origin: 50% 70%;
    }

    .ft-menu-type-icon.is-empty {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .ft-menu-type-icon.is-wiggle img,
    .ft-menu-type-icon.is-wiggle span {
        animation: ftMenuIconWiggle .42s ease-in-out;
    }

@keyframes ftMenuIconWiggle {
    0% {
        transform: rotate(0deg) translateY(0);
    }

    20% {
        transform: rotate(-8deg) translateY(-1px);
    }

    40% {
        transform: rotate(8deg) translateY(-1px);
    }

    60% {
        transform: rotate(-5deg) translateY(0);
    }

    80% {
        transform: rotate(5deg) translateY(0);
    }

    100% {
        transform: rotate(0deg) translateY(0);
    }
}

.ft-fly-item {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    transform-origin: center center;
    transition: left .55s cubic-bezier(.2,.8,.2,1), top .55s cubic-bezier(.2,.8,.2,1), transform .55s cubic-bezier(.2,.8,.2,1), opacity .55s ease;
}

    .ft-fly-item img {
        width: 28px;
        height: 28px;
        object-fit: contain;
        display: block;
    }

    .ft-fly-item span {
        font-size: 24px;
        line-height: 1;
        display: block;
    }

@media (max-width: 640px) {
    .ft-menu-item__actions {
        width: 100%;
        justify-content: space-between;
    }

    .ft-menu-counter__btn {
        width: 32px;
        height: 32px;
    }

    .ft-menu-type-icon {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

        .ft-menu-type-icon span {
            font-size: 20px;
        }
}

/* =========================================
   SUMMARY MODAL
========================================= */

.ft-sumodal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
}

    .ft-sumodal.is-open {
        display: block;
    }

.ft-sumodal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.58);
    backdrop-filter: blur(4px);
}

.ft-sumodal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
    display: flex;
    flex-direction: column;
}

.ft-sumodal__header {
    padding: 22px 24px 14px;
    background: #F1EFEA;
    border-bottom: 1px solid rgba(15,23,42,.08);
}

.ft-sumodal__eyebrow {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(15,23,42,.62);
    margin-bottom: 6px;
}

.ft-sumodal__title {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
    color: #0f172a;
}

.ft-sumodal__body {
    padding: 22px 24px;
    overflow: auto;
    background: #f8f8f6;
}

.ft-sumodal__footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(15,23,42,.08);
    background: #fff;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.ft-sumodal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15,23,42,.12);
    background: rgba(255,255,255,.88);
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
    color: #0f172a;
    cursor: pointer;
    z-index: 2;
}

.ft-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.ft-summary-block {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 18px;
    padding: 16px;
}

.ft-summary-block--items {
    margin-top: 0;
}

.ft-summary-block__title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.ft-summary-line {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
}

.ft-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(15,23,42,.08);
    font-size: 14px;
    color: #0f172a;
}

    .ft-summary-item:last-child {
        border-bottom: none;
    }

.ft-summary-item__name {
    font-weight: 700;
}

.ft-summary-item__right {
    white-space: nowrap;
    font-weight: 800;
}

.ft-summary-total {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(15,23,42,.08);
    display: grid;
    gap: 8px;
}

.ft-summary-total__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #0f172a;
}

@media (max-width: 640px) {
    .ft-sumodal__dialog {
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .ft-summary-grid {
        grid-template-columns: 1fr;
    }

    .ft-sumodal__footer {
        flex-direction: column;
    }

        .ft-sumodal__footer .ft-btn {
            width: 100%;
        }
}

/* =========================================
   ADMIN
========================================= */

.ft-admin-hero {
    background: #F1EFEA;
    border-bottom: 1px solid rgba(15,23,42,.08);
    padding: 40px 0 28px;
}

.ft-admin-hero__inner {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}

.ft-admin-hero__eyebrow {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(15,23,42,.62);
    margin-bottom: 8px;
}

.ft-admin-hero__title {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    color: #0f172a;
}

.ft-admin-hero__sub {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 15px;
}

.ft-admin-hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ft-admin-wrap {
    padding-top: 34px;
}

.ft-admin-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.ft-admin-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,.05);
}

.ft-admin-card__label {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
    margin-bottom: 10px;
}

.ft-admin-card__value {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
}

.ft-admin-card__sub {
    margin-top: 10px;
    color: #64748b;
    font-size: 14px;
}

.ft-admin-card--waiting {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    border-color: #fdba74;
}

.ft-admin-card--ready {
    background: linear-gradient(180deg, #fef2f2 0%, #ffffff 100%);
    border-color: #fca5a5;
}

.ft-admin-card--done {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    border-color: #86efac;
}

.ft-admin-panel {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,.05);
}

.ft-admin-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 18px;
}

.ft-admin-panel__title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

.ft-admin-panel__sub {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
}

.ft-admin-filters {
    display: grid;
    grid-template-columns: 180px 180px 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.ft-admin-field {
    display: grid;
    gap: 8px;
}

.ft-admin-field--grow {
    min-width: 0;
}

.ft-admin-field label {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
}

.ft-admin-list {
    display: grid;
    gap: 14px;
}

.ft-admin-order {
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

.ft-admin-order__head {
    width: 100%;
    border: none;
    background: #fff;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: background .15s ease;
}

    .ft-admin-order__head:hover {
        background: #fafaf9;
    }

    .ft-admin-order__head.is-open {
        background: #F1EFEA;
    }

.ft-admin-order__main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ft-admin-order__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #475569;
    font-size: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ft-admin-order__time {
    font-weight: 800;
    color: #0f172a;
}

.ft-admin-order__number {
    font-weight: 800;
    color: #cf2e2e;
}

.ft-admin-order__name {
    font-weight: 700;
    color: #0f172a;
}

.ft-admin-order__chevron {
    font-size: 18px;
    line-height: 1;
    transition: transform .15s ease;
}

.ft-admin-order__head.is-open .ft-admin-order__chevron {
    transform: rotate(180deg);
}

.ft-admin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.ft-admin-badge--pending {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fdba74;
}

.ft-admin-badge--ready {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.ft-admin-badge--done {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #86efac;
}

.ft-admin-order__body {
    display: none;
    padding: 10px 18px 14px;
    background: #fff;
}

.ft-admin-order__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.ft-admin-order__card {
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 18px;
    padding: 14px 16px;
    background: #fff;
}

.ft-admin-order__cardtitle {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.ft-admin-order__line {
    color: #334155;
    font-size: 14px;
    line-height: 1.65;
}

.ft-admin-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(15,23,42,.08);
    font-size: 14px;
    color: #0f172a;
}

    .ft-admin-item:last-child {
        border-bottom: none;
    }

.ft-admin-order__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 2px;
}

/* STATUS COLOR ROW */

.ft-admin-order--pending .ft-admin-order__head {
    background: #fff7ed;
}

.ft-admin-order--ready .ft-admin-order__head {
    background: #fef2f2;
}

.ft-admin-order--done .ft-admin-order__head {
    background: #f0fdf4;
}

/* hover nech je jemnejší */

.ft-admin-order--pending .ft-admin-order__head:hover {
    background: #ffedd5;
}

.ft-admin-order--ready .ft-admin-order__head:hover {
    background: #fee2e2;
}

.ft-admin-order--done .ft-admin-order__head:hover {
    background: #dcfce7;
}
.ft-admin-order--pending {
    border-left: 4px solid #fb923c;
}

.ft-admin-order--ready {
    border-left: 4px solid #ef4444;
}

.ft-admin-order--done {
    border-left: 4px solid #22c55e;
}

.ft-admin-empty {
    padding: 18px;
    border: 1px dashed rgba(15,23,42,.14);
    border-radius: 18px;
    background: #fff;
    color: #64748b;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .ft-admin-hero__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ft-admin-cards {
        grid-template-columns: 1fr;
    }

    .ft-admin-filters {
        grid-template-columns: 1fr 1fr;
    }

    .ft-admin-order__grid {
        grid-template-columns: 1fr;
    }

    .ft-admin-order__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ft-admin-order__meta {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .ft-admin-panel {
        padding: 16px;
        border-radius: 18px;
    }

    .ft-admin-filters {
        grid-template-columns: 1fr;
    }

    .ft-admin-order__head,
    .ft-admin-order__body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .ft-admin-order__actions .ft-btn {
        width: 100%;
    }
}

/* =========================================
   ADMIN MODAL – OTVORENÉ DNI
========================================= */

.ft-admin-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
}

.ft-admin-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.52);
    backdrop-filter: blur(2px);
}

.ft-admin-modal__dialog {
    position: relative;
    width: min(920px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    margin: 12px auto;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.14);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ft-admin-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px 16px;
    border-bottom: 1px solid rgba(15,23,42,.08);
    background: #F1EFEA;
}

.ft-admin-modal__title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.ft-admin-modal__sub {
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
}

.ft-admin-modal__close {
    border: none;
    background: transparent;
    color: #0f172a;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.ft-admin-modal__body {
    padding: 18px 22px 22px;
    overflow: auto;
    background: #fff;
}

/* form */
.ft-admin-dates-form {
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 20px;
    padding: 16px;
    background: #fafaf9;
    margin-bottom: 18px;
}

.ft-admin-dates-form__row {
    margin-bottom: 14px;
}

.ft-admin-dates-form__row--check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ft-admin-dates-form__label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.ft-admin-dates-form__label--inline {
    margin: 0;
}

.ft-admin-dates-form__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.ft-admin-input {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 14px;
    background: #fff;
    padding: 0 14px;
    font-size: 15px;
    color: #0f172a;
    outline: none;
}

    .ft-admin-input:focus {
        border-color: rgba(207,46,46,.35);
        box-shadow: 0 0 0 4px rgba(207,46,46,.08);
    }

.ft-admin-inline-msg {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
}

    .ft-admin-inline-msg.ok {
        background: #f0fdf4;
        color: #166534;
        border-color: #86efac;
    }

    .ft-admin-inline-msg.err {
        background: #fef2f2;
        color: #b91c1c;
        border-color: #fca5a5;
    }

/* list */
.ft-admin-dates-list-wrap {
    margin-top: 10px;
}

.ft-admin-dates-list-title {
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.ft-admin-dates-list {
    display: grid;
    gap: 12px;
}

.ft-admin-date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 18px;
    background: #fff;
}

    .ft-admin-date-item.is-open {
        background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
        border-color: #86efac;
        border-left: 4px solid #22c55e;
    }

    .ft-admin-date-item.is-closed {
        background: linear-gradient(180deg, #fef2f2 0%, #ffffff 100%);
        border-color: #fca5a5;
        border-left: 4px solid #ef4444;
    }

.ft-admin-date-item__main {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.ft-admin-date-item__date {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.ft-admin-date-item__state {
    font-size: 13px;
    font-weight: 800;
}

    .ft-admin-date-item__state.is-open {
        color: #166534;
    }

    .ft-admin-date-item__state.is-closed {
        color: #b91c1c;
    }

.ft-admin-date-item__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ft-btn--sm {
    min-height: auto;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 14px;
}

.ft-btn--danger {
    border-color: #fca5a5 !important;
    color: #b91c1c !important;
}

    .ft-btn--danger:hover {
        background: #fef2f2 !important;
    }

body.ft-admin-modal-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .ft-admin-modal__dialog {
        width: calc(100vw - 18px);
        max-height: calc(100vh - 18px);
        margin: 9px auto;
        border-radius: 20px;
    }
}

@media (max-width: 640px) {
    .ft-admin-modal__head {
        padding: 16px 16px 14px;
    }

    .ft-admin-modal__body {
        padding: 14px;
    }

    .ft-admin-modal__title {
        font-size: 20px;
    }

    .ft-admin-dates-form {
        padding: 14px;
        border-radius: 16px;
    }

    .ft-admin-dates-form__actions .ft-btn {
        width: 100%;
    }

    .ft-admin-date-item {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
    }

    .ft-admin-date-item__actions {
        justify-content: stretch;
    }

        .ft-admin-date-item__actions .ft-btn {
            width: 100%;
        }
}

/* =========================================
   ADMIN DAYS FILTER
========================================= */

.ft-admin-days-wrap {
    margin: 4px 0 18px;
}

.ft-admin-days {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ft-admin-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: .15s ease;
}

    .ft-admin-day:hover {
        background: #F1EFEA;
        color: #0f172a;
        text-decoration: none;
    }

    .ft-admin-day.is-active {
        background: #db1f2e;
        border-color: #db8f8f;
        color: #fff;
    }

@media (max-width: 640px) {
    .ft-admin-days {
        gap: 8px;
    }

    .ft-admin-day {
        font-size: 13px;
        min-height: 40px;
        padding: 0 12px;
    }
}

/* =========================================
   ADMIN LOGIN
========================================= */

.ft-admin-login {
    min-height: calc(100vh - 70px);
    background: #F1EFEA;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.ft-admin-login__wrap {
    max-width: 520px;
    margin: 0 auto;
}

.ft-admin-login__card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0,0,0,.10);
}

.ft-admin-login__eyebrow {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(15,23,42,.62);
    margin-bottom: 8px;
}

.ft-admin-login__title {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    color: #0f172a;
}

.ft-admin-login__sub {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 15px;
}

.ft-admin-login__form {
    margin-top: 22px;
    display: grid;
    gap: 16px;
}

.ft-admin-login__error {
    display: block;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
}

.ft-admin-login__actions {
    margin-top: 4px;
}

.ft-btn--full {
    width: 100%;
}

@media (max-width: 640px) {
    .ft-admin-login__card {
        padding: 22px 18px;
        border-radius: 20px;
    }
}

/* ================================
   ADMIN MENU MANAGER
================================ */

.adm-wrap {
    max-width: 1250px;
    margin: 28px auto;
    padding: 0 16px 40px;
}

.adm-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.adm-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    color: #111827;
}

.adm-sub {
    color: #6b7280;
    margin-top: 4px;
    font-size: 15px;
}

.adm-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 22px;
}

.adm-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.05);
}

.adm-card-head {
    padding: 18px 20px;
    border-bottom: 1px solid #eef2f7;
    font-weight: 800;
    font-size: 18px;
}

.adm-card-body {
    padding: 18px 20px;
}

.adm-input,
.adm-textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 12px 14px;
}

.adm-btn {
    border: none;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
}

.adm-btn-primary {
    background: #111827;
    color: #fff;
}

.adm-table {
    width: 100%;
    border-collapse: collapse;
}

    .adm-table th {
        text-align: left;
        font-size: 13px;
        padding: 14px;
        border-bottom: 1px solid #e5e7eb;
    }

    .adm-table td {
        padding: 14px;
        border-bottom: 1px solid #f1f5f9;
    }

.adm-badge {
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}

    .adm-badge.on {
        background: #dcfce7;
        color: #166534;
    }

    .adm-badge.off {
        background: #fee2e2;
        color: #991b1b;
    }

/* ================================
   ADMIN MENU MANAGER
================================ */

.adm-wrap {
    max-width: 1250px;
    margin: 28px auto;
    padding: 0 16px 40px;
}

.adm-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.adm-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    color: #111827;
}

.adm-sub {
    color: #6b7280;
    margin-top: 4px;
    font-size: 15px;
}

.adm-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 22px;
}

.adm-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.05);
}

.adm-card-head {
    padding: 18px 20px;
    border-bottom: 1px solid #eef2f7;
    font-weight: 800;
    font-size: 18px;
}

.adm-card-body {
    padding: 18px 20px;
}

.adm-form-row {
    margin-bottom: 14px;
}

.adm-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}

.adm-input,
.adm-textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 12px 14px;
    box-sizing: border-box;
}

.adm-textarea {
    min-height: 92px;
    resize: vertical;
}

.adm-check-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 4px;
}

.adm-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.adm-btn {
    border: none;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
}

.adm-btn-primary {
    background: #111827;
    color: #fff;
}

.adm-btn-light {
    background: #f3f4f6;
    color: #111827;
}

    .adm-btn-light:hover {
        background: #e5e7eb;
    }

.adm-table-wrap {
    overflow-x: auto;
}

.adm-table {
    width: 100%;
    border-collapse: collapse;
}

    .adm-table th {
        text-align: left;
        font-size: 13px;
        padding: 14px;
        border-bottom: 1px solid #e5e7eb;
    }

    .adm-table td {
        padding: 14px;
        border-bottom: 1px solid #f1f5f9;
    }

.adm-badge {
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}

    .adm-badge.on {
        background: #dcfce7;
        color: #166534;
    }

    .adm-badge.off {
        background: #fee2e2;
        color: #991b1b;
    }

.adm-msg {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
}

    .adm-msg.ok {
        background: #ecfdf5;
        color: #065f46;
        border: 1px solid #a7f3d0;
    }

    .adm-msg.err {
        background: #fef2f2;
        color: #991b1b;
        border: 1px solid #fecaca;
    }

.adm-linkbtn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
}

.adm-linkbtn-edit {
    background: #eff6ff;
    color: #1d4ed8;
}

.adm-linkbtn-toggle {
    background: #f3f4f6;
    color: #111827;
}

.adm-help {
    color: #6b7280;
    font-size: 12px;
    margin-top: 6px;
}

.adm-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.adm-empty {
    padding: 18px;
    border: 1px dashed #d1d5db;
    border-radius: 16px;
    color: #6b7280;
    background: #fafafa;
}

.adm-allergen-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.adm-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.adm-item {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 14px;
    align-items: start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px;
}

    .adm-item.is-dragging {
        opacity: .55;
    }

.adm-item__drag {
    cursor: grab;
    font-size: 20px;
    color: #6b7280;
    line-height: 1;
    padding-top: 2px;
}

.adm-item__top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: start;
}

.adm-item__title {
    font-size: 17px;
    font-weight: 800;
    color: #111827;
}

.adm-item__price {
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}

.adm-item__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
    margin-bottom: 10px;
}

.adm-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    background: #f3f4f6;
    color: #374151;
}

.adm-item__desc {
    color: #374151;
    font-size: 14px;
    margin-bottom: 8px;
}

.adm-item__allergens {
    color: #6b7280;
    font-size: 13px;
}

.adm-item__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.adm-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.adm-modal-box {
    width: min(720px, 100%);
    background: #fff;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.adm-modal-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
}

.adm-allergen-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 18px 0 20px;
}

    .adm-allergen-list label {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 10px 12px;
        font-size: 14px;
        cursor: pointer;
    }

.adm-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 991.98px) {
    .adm-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .adm-item {
        grid-template-columns: 28px 1fr;
    }

    .adm-item__actions {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .adm-allergen-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .adm-title {
        font-size: 26px;
    }

    .adm-card-head {
        font-size: 16px;
    }

    .adm-card-body {
        padding: 16px;
    }
}