:root {
    --menu-bg: #f7f4ef;
    --menu-surface: #ffffff;
    --menu-text: #171717;
    --menu-muted: #6f6f6f;
    --menu-accent: #bf954a;
    --menu-border: rgba(0, 0, 0, 0.08);
    --menu-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

    --bg-dark: #0a0a0a;
    --gold: #d4a850;

    --header-h: 155px;
    --header-gap: 29px;
    --qnh: 20px; /* header bottom gap */
    --nh: 54px;
}

* {
    padding: 0;
    margin: 0;
    border: 0;
}

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

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

a,
a:link,
a:visited {
    text-decoration: none;
}

ul,
ul li {
    list-style: none;
}

html,
body {
    min-height: 100vh;
    scroll-behavior: smooth;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
    font-weight: 400;
}

@font-face {
    font-family: "Lacquer";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/lacquer/v16/EYqzma1QwqpG4_BBN7iKXw.woff2) format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
        U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJuktqQ4E.woff2) format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
        U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "MenuFont";
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Galyon Bold";
    font-style: bold;
    src:
        local("Galyon"),
        local("Galyon-Bold"),
        url(/static/assets/fonts/galyon-bold.woff) format("woff"),
        url(/static/assets/fonts/galyon-bold.otf) format("otf");
}
@font-face {
    font-family: "Galyon Regular";
    font-style: regular;
    src: local("Galyon"), local("Galyon-Regular");
}

html {
    /* scroll-padding-top: 70px;  */
    /* Adjust to match your header's height */
}

body {
    position: relative;
    background: var(--background-color);
    font-family: "Galyon Regular", sans-serif;
    font-weight: 400;
    padding-top: 0;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: 375px auto;
    background-position: right 4px bottom -29px;
}
/* body[data-menu="drinks"]::before {
    background-image: url("/static/assets/img/svg/bg-drinks.svg");
} */

/* food svg */
/* body[data-menu="food"]::before {
    background-image: url("/static/assets/img/svg/bg-food.svg");
    background-position: left 18px bottom 55px;
    background-size: 391px auto;
} */
.wrapper,
header,
main,
.menu-section {
    position: relative;
    z-index: 1;
}
.wrapper {
    max-width: 720px;
    margin: 0 auto;
    /* padding: 0 20px; */
    overflow-x: hidden;
    overflow-y: visible;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.prices {
    width: 207px;
    margin-right: auto;
    font-size: 0.65rem;
    letter-spacing: -0.045em;
    background-color: #b08e6b;
}

.price-term {
    /* padding: 0.5rem; */
    font-family: "Mukta", sans-serif;
    font-weight: 500;
    font-size: 13px;
    text-align: center;
    color: #969494d1;
    text-transform: uppercase;
    align-self: center;
}

.header {
    display: flex;
    flex-direction: column;
    position: fixed;
    justify-content: flex-start;
    align-items: center;
    z-index: 5;
    top: 0;
    left: 0;
    height: var(--header-h);
    width: 100vw;
    background: var(--bg-dark);
    /* box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16); */
}

.header__title {
    position: relative;
    /* margin-bottom: 40%; */
    padding-top: 90%;
    text-align: center;
    font-size: clamp(3rem, 7vw, 8rem);
    color: var(--secondary-color);
    /* font-family: "Alegreya SC", serif; */
    font-weight: 500;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.header__subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0.5em;
    font-size: 1.1rem;
    font-weight: 300;
    font-style: italic;
    text-align: center;
    color: #99c1da;
}

.header__subtitle::before,
.header__subtitle::after {
    content: "";
    flex: 1; /* Makes the lines flexible but contained */
    height: 1px;
    background-color: var(--primary-color);
    margin: 0 10px; /* Spacing between text and lines */
    max-width: 15%;
}
/* .header__subtitle::before {
    top: 10%;
    left: 0%;
}
.header__title::after {
    top: 10%;
    right: 0%;
} */

.header-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(110px, 140px) 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "logo actions"
        "logo text";
    column-gap: 14px;
    row-gap: 8px;
    align-items: start;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-logo {
    grid-area: logo;
    align-self: start;
}

.logo-hof7,
.logo-zoo {
    display: none;
}

.header-actions {
    grid-area: actions;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}
.header-text {
    grid-area: text;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    padding-top: 8px;
}
.header-prompt {
    margin: 0;
    font-size: 14px;
    text-align: right;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.15;
}

body[data-menu="drinks"] .header-prompt {
    color: var(--primary-color);
}

.captain-line {
    font-weight: 600;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.captain-sub {
    font-size: 12px;
    opacity: 0.8;
}

.allergens-wrapper {
    display: flex;
    justify-content: center;
    margin: 0;
}

.btn-allergen-link {
    background: var(--menu-bg);
    border: 2px solid #fff;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 0;
    width: 35px;
    height: 35px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    cursor: pointer;
}
.btn-allergen-link:active {
    opacity: 0.75;
}

.header-bottom {
    width: 100%;
    background: var(--bg-dark);
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    /* box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.05); */
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    overflow-x: auto;
}

.bg-image {
    min-height: 190px;
    /* background-image: url("../../assets/img/jpeg/laplancha-bg-blue.jpg"); */
    background-color: #000f49;
    /* background-size: cover;
  background-position: center;
  background-repeat: no-repeat; */
}

/* .bg-image::before, .bg-image::after {
  content: "";
  position: absolute;
  border: 2px solid #bf954a;
  width: 92%;
  height: 92%;
  top: 4%;
  left: 4%;
}

.bg-image::after {
  width: 85%;
  height: 85%;
  top: 7.5%;
  left: 7.5%;
} */

.main-content {
    margin-top: 20px;
    padding-top: calc(var(--header-h) + var(--header-gap));
}
.menu-section {
    position: relative;
    /* margin-right: 15px; */
}

.menu-section.hidden {
    opacity: 0;
    transform: scale(0.98);
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
}

.menu-section.main-restaurant {
    position: relative;
    /* margin-left: 50px; */
}

.menu-switch-wrapper {
    position: fixed;
    right: 0;
    top: 35vh;
    transform: translateY(-50%);
    z-index: 20;
}

.menu-switch-btn {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 16px;
    min-height: 120px;

    background: var(--gold);
    color: #fff;

    font-size: 12px;
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}

/* drinks menu active → button shows FOOD menu color */
body[data-menu="drinks"] .menu-switch-btn {
    background: var(--primary-color);
}

/* food menu active → button shows DRINKS menu color */
body[data-menu="food"] .menu-switch-btn {
    background: var(--second-primary-color);
    color: var(--primary-color);
}

.logo-image {
    width: 95px;
}

.logo-oiio {
    width: 50px;
}

.logo-beige {
    display: none;
}

.logo-white {
    display: none;
}

body[data-menu="drinks"] .logo-black {
    display: none;
}

body[data-menu="drinks"] .logo-beige {
    display: block;
}

.menu-logo {
    position: fixed;
    top: 195px;
    left: 10px;
    width: 60px;
}
.fadeout-horizontal {
    mask-image: linear-gradient(
        to right,
        transparent,
        black var(--fade-size, 3rem),
        black calc(100% - var(--fade-size, 1rem)),
        transparent
    );
}

.nav {
    flex-grow: 1;
    overflow-y: hidden;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

#navMenu::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.nav__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    white-space: nowrap;
    padding: 6px 8px;
    /* animation-name: scrollLeft;
  animation-duration: 13s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: -2s;
  will-change: transform; */
}
.nav__list:hover {
    animation-play-state: paused;
}
.nav__list.paused {
    animation-play-state: paused;
}

.nav__list li a {
    /* text-transform: uppercase; */
    color: var(--text-color);
}
.nav__item {
    text-align: center;
}
.nav__item:hover {
    cursor: pointer;
}
.nav__link {
    border: 1.5px solid rgba(191, 149, 74, 0.55);
    border-radius: 20px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    font-size: 14px;
    letter-spacing: 0.2px;
    color: #2b2b2b;
    transition:
        transform 180ms ease,
        background 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;

    font-family: "Lacquer", cursive;
    text-transform: lowercase;
}
.nav__link:hover {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.75);
    color: #111;
    box-shadow: 0 4px 12px rgba(191, 149, 74, 0.28);
}

.nav_active {
    right: 0;
}

.nav__link.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 18px rgba(191, 149, 74, 0.28);
}

.nav__link:active {
    transform: scale(0.98);
}

@keyframes scrollLeft {
    0% {
        transform: translateX(12%);
    }
    100% {
        transform: translateX(-36%); /* Pause */
    }
}

/* Search field */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

#menuSearch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    border: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    font-size: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition:
        width 0.4s ease,
        border-radius 0.3s ease,
        padding 0.3s ease;
    padding: 0;
    overflow: hidden;
    color: #333;
    /* box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); */
}

#menuSearch:focus,
#menuSearch:not(:placeholder-shown) {
    width: 140px;
    border-radius: 20px;
    padding: 0 10px;
    text-align: left;
    cursor: text;
}
#menuSearch::placeholder {
    color: #444;
    opacity: 1;
    text-align: center;
}
#menuSearch:focus {
    outline: none;
}
/* end Search field */

.btn {
    width: 100px;
    height: 85px;
    padding: 5px;
    /* border: none; */
    color: #111;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-family: "Figtree", serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05rem;
    background: rgba(255, 255, 255, 0.75);
    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
    position: relative;
    display: inline-block;
    /* background: #000; */
    /* background: radial-gradient(circle, #2d3d3d 0%, #000 55%); */
    outline: none;
    text-transform: none;
}

#call_captain_btn {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    &:active {
        background: rgb(152 150 150);
        transform: scale(0.95);
        box-shadow:
            inset 4px 4px 8px #111,
            inset -4px -4px 8px #444;
    }
    & img {
        max-width: 30px;
        height: auto;
    }
}

#call_captain_btn:active {
    transform: scale(0.96);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
}

/* .btn-order {
    position: fixed;
    top: 13%;
    right: 4%;
    z-index: 15;
    width: 45px;
    height: 45px;
    &:active {
        background: rgb(152 150 150);
        transform: scale(0.95);
        box-shadow:
            inset 4px 4px 8px #111,
            inset -4px -4px 8px #444;
    }
} */

.btn-action-running {
    border: 1px solid black;
    background: transparent;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255,  255,  0.5);
}

.fa-home {
    /* padding: 6px 9px; */
    color: var(--text-color);
    font-size: 27px;
}

.btn-cart,
#place_return_btn {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-cart {
    position: relative;
}

.btn-cart a {
    font-size: 25px;
}

#itemscount {
    position: absolute;
    top: 24px;
    left: 75%;
    background: #3d3e3d;
    border: #fff solid 2px;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    width: 25px;
    height: 25px;
    justify-content: center;
    align-items: center;
}

.fa-shopping-cart {
    color: var(--secondary-color);
}
/* Mobile sticky bottom bar */
.mobile-sticky-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 14px;
    height: 65px;

    display: none;
    align-items: center;
    gap: 10px;
    padding: 8px;

    border-radius: 22px;

    /* Frosted glass background */
    background: rgba(3, 29, 28, 0.65);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);

    /* Frame */
    border: 1px solid rgba(255, 255, 255, 0.12);

    /* Floating depth */
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    z-index: 999;

    /* background: linear-gradient(135deg, #d4a850 0%, #c49840 100%); */
    box-shadow: 0 0 20px rgba(212, 168, 80, 0.3);
}

/* Buttons */
.msb-btn {
    height: 45px;
    border-radius: 14px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    text-decoration: none;
    /* color: #fff; */

    background: var(--second-primary-color);
    border: none;

    transition: all 0.2s ease;

    color: var(--bg-dark);
    font-family: "Lacquer", cursive;
}

.msb-btn:active {
    transform: scale(0.96);
}

.msb-btn span {
    font-size: 20px;
    line-height: 1;
    opacity: 0.95;
    color: var(--primary-color);
}

.msb-home,
.msb-call {
    width: 45px;
    min-width: 45px;
    padding: 0;
    background: var(--primary-color);
}

.btn-action-running {
    border: 1px solid rgb(31 165 174 / 33%);
    background: #0000002b;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5);
}

/* Cart button takes more space */
.msb-cart {
    flex: 1;
    margin: 0 6px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;

    padding: 0 14px;
    gap: 10px;

    height: 45px;
    border-radius: 14px;

    /* background: var(--second-primary-color); */
    background: linear-gradient(135deg, #d4a850 0%, #c49840 100%);
}

.msb-cart i {
    font-size: 26px;
    color: var(--primary-color);
}
/* Cart badge + subtotal */
.msb-badge {
    margin-left: 6px;
    /* font-family: "Larken", serif; */
    font-size: 12px;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px 8px;
    border-radius: 999px;
}

.msb-subtotal {
    margin-left: auto;
    /* font-family: "Larken", serif; */
    font-size: 13px;
    font-weight: 600;
}

/* .msb-call {
    background: linear-gradient(135deg, #ff7a18, #ffb347);
    color: #fff;
    border: none;
    box-shadow: 0 6px 18px rgba(255, 122, 24, 0.4);
} */

/* Buzz icon sizing */
.msb-call img {
    width: 45px;
    height: auto;
}

/* Show on mobile only */
@media (max-width: 767px) {
    .btn-cart {
        display: none;
    }
    #call_captain_btn {
        display: none;
    }
    /* #place_return_btn {
        display: none;
    } */
    .mobile-sticky-bar {
        display: flex;
    }

    /* important: avoid content hidden behind bar */
    body {
        padding-bottom: 90px;
    }
}
body.no-scroll {
    overflow: hidden;
    touch-action: none;
}

.spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.spinner-circle {
    width: 50px;
    height: 50px;
    border: 6px solid #ddd;
    border-top: 6px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.spinner p {
    margin-top: 1rem;
    color: #333;
    font-size: 1.2rem;
}
.spinner.hidden {
    display: none;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Category Block Styles */
.category-block {
    /* scroll-margin-top: calc(var(--header-h) + var(--header-gap)); */

    scroll-margin-top: calc(var(--header-h) + var(--qnh) + var(--nh) + 2px);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.category-block::before {
    content: "";
    display: block;
    height: 80px;
    margin-top: -80px;
    visibility: hidden;
}

.category__title {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
    padding: 22px 18px 38px;
    z-index: 2;

    font-family: "Lacquer", cursive;
    font-size: clamp(40px, 6.5vw, 36px);
    line-height: 1;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 10px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);

    text-transform: lowercase;
}

.category-description {
    margin-bottom: 10px;
    font-size: clamp(1rem, 2vw, 1.5rem);
    text-transform: uppercase;
    /* font-style: italic; */
    font-weight: 400;
    text-align: left;
}

.title-term-container {
    /* min-height: 800px; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* 
.title-term-container[data-category="breakfast"] {
  background-image: url("../../assets/img/webP/2-small-light.webp");
}

.title-term-container[data-category="appetizers"] {
  background-image: url("../../assets/img/webP/3-small-light.webp");
}

.title-term-container[data-category="salads"] {
  background-image: url("../../assets/img/webP/4-small-light.webp");
}

.title-term-container[data-category="sandwiches"] {
  background-image: url("../../assets/img/webP/5-small-light.webp");
}

.title-term-container[data-category="pasta"] {
  background-image: url("../../assets/img/webP/6-small-light.webp");
}

.title-term-container[data-category="pizza"] {
  background-image: url("../../assets/img/webP/7-small-light.webp");
}

.title-term-container[data-category="main-course"] {
  background-image: url("../../assets/img/webP/8-small-light.webp");
}

.title-term-container[data-category="kids-menu"] {
  background-image: url("../../assets/img/webP/9-small-light.webp");
}

.title-term-container[data-category="dessert"] {
  background-image: url("../../assets/img/webP/10-small-light.webp");
}

.title-term-container[data-category="drinks"] {
  background-image: url("../../assets/img/webP/11-small-light.webp");
}

.title-term-container[data-category="cocktails"] {
  background-image: url("../../assets/img/webP/12-small-light.webp");
}

.title-term-container[data-category="cocktails"] {
  background-image: url("../../assets/img/webP/12-small-light.webp");
}

.title-term-container img,
footer img {
  width: 70px;
} */

.subcategory-block {
    position: relative;
    margin: 18px 0 22px;
}
.subcategory-block h3 {
    padding: 0 10px;
    margin: 0 0 8px;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--primary-color);
    text-transform: uppercase;
    font-family: "MenuFont", serif;
}
.subcategory-block p {
    color: #000;
    margin: 0 10px 8px;
    line-height: 1.45;
    letter-spacing: 0.2px;
    text-align: left;
    text-transform: uppercase;
    font-size: clamp(0.6rem, 2vw, 0.8rem);
}
.subcategory-extras-block {
    background-color: #f9f9f9;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
}

/* Menu items */
.items-container {
    display: grid;
    grid-template-columns: 95%;
    gap: 15px;
    align-items: stretch;
    padding: 32px 24px;
}

/* Tablet: 3 columns */
@media (min-width: 600px) {
    .items-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium Desktop: 4 columns */
@media (min-width: 900px) {
    .items-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large Desktop: 5 or more columns */
@media (min-width: 1200px) {
    .items-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.menu-item {
    padding: 10px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    border: 1px solid #bf954a6e;
    border-radius: 8px;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.menu-item:active {
    transform: scale(0.99);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.14);
}
/* .menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
} */
.menu-item__header {
    position: relative;
}
.menu-item__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}
.menu-item__title {
    padding-bottom: 5px;
    font-size: 0.9rem;
    /* font-weight: 600; */
    line-height: 1em;
    color: #000;
    text-transform: capitalize;
    text-align: start;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.menu-item.has-allergen-match {
    /* border-color: rgba(89, 196, 190, 0.75);
    background: rgba(89, 196, 190, 0.08); */
    position: relative;
}

/* .menu-item.has-allergen-match::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 10px;
    background: rgba(89, 196, 190, 0.95);
} */

.allergen-warn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: fit-content;
    height: 18px;
    border-radius: 6px;
    /* background: rgba(89, 196, 190, 0.1); */
    /* border: 1px solid rgba(89, 196, 190, 0.55); */
    font-size: 12px;
    line-height: 1;
    color: #c97c7c;
}
.warn-icon {
    width: 32px;
    height: 32px;
}

.allergen-match-note {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: capitalize;
    color: #ee302d;
    /* background: #ffd366; */
}
.menu-item__badge {
    position: absolute;
    top: -20px;
    display: inline-block;
    transform: rotate(20deg);
    margin-left: -18px;
    font-weight: bold;
    color: rgba(249, 50, 50, 0.8);
}

.menu-item__subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1.3em;
    color: #000;
    margin-bottom: 12px;
}
.menu-item__description {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1.3em;
    color: #333;
    margin-bottom: 10px;
}
.menu-item__note {
    font-size: 0.8rem;
    color: #000;
}
.menu-item__price {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.1em;
    text-align: end;
    text-shadow: 0 0 15px currentColor;
}
.menu-item__price-key {
    color: #000;
    font-weight: 600;
}
.price-currency {
    font-size: 0.75em;
    opacity: 0.85;
    margin-left: 2px;
}
.menu-item__image-thumb img {
    width: 65%;
    margin: 0 auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: #fff5ea;
}

.menu-item.no-border {
    border-bottom: none;
}

.portion {
    color: var(--primary-color);
    font-style: italic;
}

.menu-item__info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}
.menu-item__action {
    display: flex;
    align-items: center;
    gap: 4px;
}
.add-circle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    font-size: 12px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

h3 {
    text-align: center;
}

.extra-item,
.extras {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    color: #b08e6b;
    justify-content: center;
    margin-top: -35px;
} /*# sourceMappingURL=main.css.map */

/* Dish Detail Modal Styles */
.modal-open {
    overflow: hidden;
    height: 100%;
}

.close-modal {
    position: absolute;
    top: -20px;
    right: 50%;
    transform: translate(50%);

    width: 38px;
    height: 38px;
    border-radius: 14px;

    border: 2px solid rgba(191, 149, 74, 0.45);
    background: #fff;

    display: grid;
    place-items: center;

    cursor: pointer;
    transition: all 0.2s ease;
}

/* X lines */
.close-modal::before,
.close-modal::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 2px;
    background: #bf954a;
    border-radius: 2px;
}

.close-modal::before {
    transform: rotate(45deg);
}

.close-modal::after {
    transform: rotate(-45deg);
}

/* hover */
.close-modal:hover {
    background: rgba(191, 149, 74, 0.15);
    border-color: #bf954a;
}

/* press feedback */
.close-modal:active {
    transform: scale(0.94);
}

.dish-detail-modal {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    transition: bottom 0.3s ease-in-out;
    z-index: 9999;
    border-radius: 20px 20px 0 0;
    padding: 40px 20px 20px;
    /* font-family: "Mukta", sans-serif; */
}

.dish-detail-modal.active {
    bottom: 0;
}

.model-overlay {
    position: fixed;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.6); */
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: none;
    place-items: end center;
    z-index: 999;
}

.model-overlay.active {
    display: grid;
}

.dish-detail-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* .close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    cursor: pointer;
} */

.dish-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.dish-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;

    font-family: "Outfit", sans-serif;
    text-transform: uppercase;
}

.dish-description {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
}

.price-qty,
.dish-price-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;

    font-family: "Lacquer", cursive;
}

.price-qty {
    flex-direction: row;
}

.dish-price {
    font-size: 20px;
    font-weight: 500;
}

.dish-portion {
    color: var(--gold);
    /* font-style: italic; */
}

textarea#dishNote {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
    margin: 10px 0;
}

/* .addon-qty-controls, */
.quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 20px;
    padding: 5px 10px;

    background: linear-gradient(135deg, #d4a850 0%, #c49840 100%);
    box-shadow: 0 0 20px rgba(212, 168, 80, 0.3);
}

/* .addon-qty-controls {
    padding: 5px 7px;
    flex-grow: 0;
} */

/* .addon-qty-controls span {
    color: var(--secondary-color);
} */

.addon-minus,
.addon-plus,
.qty-btn {
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: bold;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 6px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

/* addons radio */
.addon-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.addon-item span {
    flex: 1;
    font-size: 14px;
    line-height: 1.35;
    color: #171717;
}

.addon-item.is-selected {
    border-color: #171717;
    background: #f7f7f7;
}

.addon-radio {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    transition: all 0.18s ease;
}

.addon-item.is-selected .addon-radio {
    background: var(--primary-color);
}

#itemQty {
    color: var(--secondary-color);
    font-size: 23px;
}
#choiceGroup {
    width: 100%;
    margin-bottom: 10px;
}

.choice-group-item,
#addonOptions {
    display: flex;
    justify-content: space-around;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 13px;
}

.choice-radio-item {
    font-size: 14px;
    letter-spacing: 0.04rem;
    text-align: left;
    color: #444444;
}

.choice-radio-item:has(input[type="radio"]:checked) label {
    color: #000;
}

.choice-radio-item label {
    transition: all 0.2s ease;
}

.choice-select {
    width: 100%;
    padding: 10px 12px;
    font-family: "Larken", serif;
    font-size: 14px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    appearance: none; /* remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.choice-label,
.addon-title {
    font-size: 16px;
    font-weight: 600;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.addon-item:active {
    transform: scale(0.99);
}

.addon-item span {
    font-weight: 400;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #d4a850 0%, #c49840 100%);
    color: var(--secondary-color);
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dish-allergen-box {
    padding: 10px;
    margin-bottom: 13px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    background: rgb(255 198 198 / 38%);
}

.dish-allergen-title {
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
}

.allergen-icon {
    width: 18px;
    height: 18px;
}

.dish-allergen-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dish-allergen-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 9px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: rgba(255, 255, 255, 0.9);
}

.dish-allergen-chip.is-match {
    border-color: rgba(89, 196, 190, 0.9);
    background: rgba(89, 196, 190, 0.18);
    color: #000;
}

.dish-allergen-hint {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.3;
    color: rgba(0, 0, 0, 0.65);
}

.allergen-highlight {
    font-weight: 600;
    background: #ffd366;
}

#allergenConfirmOk {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
}

#allergenConfirmCancel {
    background: transparent;
    color: var(--primary-color);
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
}

#choiceGroup {
    width: 100%;
    margin-bottom: 10px;
}

.choice-group-item {
    gap: 10px;
}

.choice-select {
    width: 100%;
    padding: 10px 12px;
    /* font-family: "Larken", serif; */
    font-size: 14px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    appearance: none; /* remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.toast {
    position: fixed;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1000;
}
.toast.show {
    opacity: 1;
}
.toast.hidden {
    display: none;
}

/* Allergen button active dot */
#openAllergenBtn {
    position: relative; /* anchor for the dot */
}

#openAllergenBtn.has-dot::after {
    content: "";
    position: absolute;
    top: 0;
    right: -5px;
    transform: translateY(-45%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ef4444; /* red dot */
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); /* ring so it shows on dark icons */
}

footer {
    /* min-height: 700px; */
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

#place_return_btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#place_return_btn {
    background: transparent;
}