:root {
    --ink: #090909;
    --section: #0d0d0d;
    --card: #ffffff;
    --card-soft: #f5f5f5;
    --line: #e7e2dc;
    --text: #171717;
    --muted: #676767;
    --muted-strong: #3d3d3d;
    --accent: #d83a2e;
    --accent-dark: #b82e24;
    --accent-warm: #ef6a22;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: auto;
    -ms-overflow-style: auto;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--section);
    color: var(--white);
    font-family: "Poppins", "Montserrat", Arial, sans-serif;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

body.modal-open {
    overflow: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--ink);
}

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(1220px, 100%);
    margin: 0 auto;
    padding: 14px 18px;
}

.logo {
    color: var(--white);
    font-family: "Bebas Neue", "Montserrat", Arial, sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-shadow: 0 0 18px rgba(216, 58, 46, 0.32);
    animation: brandReveal 0.7s ease both;
}

.logo span {
    color: var(--accent-warm);
}

.cart-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-link:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
    transform: translateY(-1px);
}

.cart-pill,
.clear-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: var(--white);
}

.cart-pill {
    gap: 10px;
    background: #151515;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cart-pill.has-items {
    border-color: rgba(216, 58, 46, 0.68);
    background: #201111;
}

.cart-pill em {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.clear-cart-button {
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.clear-cart-button:hover {
    border-color: rgba(216, 58, 46, 0.72);
    background: rgba(216, 58, 46, 0.24);
}

.cart-pill strong {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--white);
    font-size: 13px;
}

.nav-container {
    width: min(1220px, 100%);
    margin: 0 auto;
    padding: 0 14px 12px;
    overflow: visible;
}

.category-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 6px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.nav-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: var(--card-soft);
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-item.has-subnav::after {
    margin-left: 7px;
    content: "▾";
    font-size: 10px;
}

.nav-item:hover,
.nav-item.active {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(216, 58, 46, 0.22);
    transform: translateY(-1px) scale(1.02);
}

.group-subnav {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    padding: 10px;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #f2e8de;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.26);
    scrollbar-width: none;
}

.group-subnav[hidden] {
    display: none !important;
}

.group-subnav::-webkit-scrollbar {
    display: none;
}

.selected-subnav {
    display: none;
    margin-top: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.selected-subnav[hidden] {
    display: none !important;
}

.subnav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.subnav-item:hover,
.subnav-item.active {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
    transform: scale(1.01);
}

.home-section {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: clamp(640px, calc(100svh - 108px), 860px);
    overflow: hidden;
    padding: 36px 20px 48px;
    background-color: #090909;
    background-image:
        linear-gradient(180deg, rgba(9, 9, 9, 0.1) 0%, rgba(9, 9, 9, 0.04) 56%, rgba(9, 9, 9, 0.88) 100%),
        url('chef.jpg');
    background-position: center, center;
    background-repeat: no-repeat;
    background-size: 100% 100%, contain;
    text-align: center;
}

.home-section.hidden {
    display: none;
}

.home-content {
    width: min(720px, 100%);
}

.home-content h1 {
    color: var(--white);
    font-family: "Bebas Neue", "Montserrat", Arial, sans-serif;
    font-size: clamp(56px, 9vw, 108px);
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 0.98;
    text-transform: uppercase;
}

.home-content p {
    margin: 18px auto 26px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.55;
}

.service-mode-panel {
    width: min(620px, 100%);
    margin: 26px 0 18px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(8, 8, 8, 0.72);
    backdrop-filter: blur(10px);
}

.service-mode-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.service-mode-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.service-mode-button.active,
.service-mode-button:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

.service-mode-content label,
.delivery-message {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 700;
}

.delivery-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin: 8px 0 10px;
}

.delivery-manual-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 10px;
}

.delivery-manual-fields label {
    align-self: end;
}

.delivery-rate-note {
    display: grid;
    gap: 7px;
    margin: 0 0 10px;
}

.delivery-rate-note div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 12px;
    line-height: 1.35;
}

.delivery-rate-note strong {
    font-weight: 900;
}

.delivery-rate-note span {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.delivery-input-wrap {
    position: relative;
    min-width: 0;
}

.delivery-search input,
.delivery-manual-fields input {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: #ffffff;
    color: #111111;
}

.address-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 40;
    overflow: hidden;
    border: 1px solid rgba(216, 58, 46, 0.28);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.address-suggestions button {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
}

.address-suggestions button:hover,
.address-suggestions button:focus {
    background: #fff5f3;
    outline: none;
}

.address-suggestions button:last-child {
    border-bottom: 0;
}

.delivery-search button,
.pickup-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
}

.delivery-result {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.delivery-result span {
    padding: 7px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.delivery-result .full {
    grid-column: 1 / -1;
}

.delivery-result a,
.cart-service-summary a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 8px;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.pickup-card {
    display: grid;
    gap: 8px;
}

.pickup-card p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.pickup-card i {
    color: var(--accent);
}

.pickup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.home-content button,
.add-btn,
.modal-add {
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: var(--white);
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-content button {
    min-height: 48px;
    padding: 0 22px;
    font-size: 15px;
}

.home-content button:hover,
.add-btn:hover,
.modal-add:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.food-container {
    width: 100%;
    min-height: 42vh;
    padding: 32px max(16px, calc((100vw - 1220px) / 2)) 52px;
    background: var(--section);
}

body:not(.ordering-mode) .food-container {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

body:not(.ordering-mode) .category-title,
body:not(.ordering-mode) .food-grid {
    display: none;
}

body.ordering-mode .site-header,
body.header-compact .site-header {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

body.ordering-mode .top-header,
body.header-compact .top-header {
    padding-block: 8px;
}

body.ordering-mode .logo,
body.header-compact .logo {
    font-size: clamp(22px, 3vw, 30px);
}

.category-title {
    min-height: 32px;
    margin: 0 0 20px;
    color: var(--white);
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 18px;
}

.category-intro-card {
    grid-column: 1 / -1;
    padding: 16px;
    border: 1px solid rgba(216, 58, 46, 0.28);
    border-radius: 8px;
    background: #151515;
    color: var(--white);
}

.category-intro-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--accent);
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

.category-intro-card p {
    max-width: 900px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.55;
}

.food-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    color: var(--text);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    animation: cardReveal 0.32s ease both;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.food-card:hover {
    border-color: rgba(216, 58, 46, 0.38);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
    transform: translateY(-2px);
}

.card-stack {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.image-trigger {
    width: 100%;
    border: 0;
    background: var(--card-soft);
    text-align: left;
}

.img-box {
    position: relative;
    display: grid;
    overflow: hidden;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: #080808;
}

.wine-card .img-box {
    aspect-ratio: 3 / 4;
    background: #090909;
}

.drink-card .img-box {
    background: #f7f7f7;
}

.img-box.loading::before {
    position: absolute;
    inset: 0;
    background: #ececec;
    content: "";
}

.food-card img {
    width: 100%;
    height: 100%;
    padding: 6px;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.drink-card img {
    padding: 10px;
    object-fit: contain;
}

.food-card img.is-loaded {
    opacity: 1;
}

.image-trigger:hover img {
    transform: scale(1.03);
}

.drink-card .image-trigger:hover img {
    transform: none;
}

.placeholder-art {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 24px;
    background: #f0f0f0;
    color: var(--muted-strong);
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 6px 9px;
    border-radius: 8px;
    background: rgba(9, 9, 9, 0.88);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
}

.food-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
}

.food-name {
    color: var(--text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.28;
    text-transform: uppercase;
}

.food-composition,
.food-description {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.food-composition span {
    color: var(--text);
    font-weight: 800;
}

.food-description {
    display: -webkit-box;
    min-height: 38px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.food-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.food-pieces {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 8px;
    border-radius: 8px;
    background: var(--card-soft);
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 800;
}

.food-price {
    color: var(--accent);
    font-size: 19px;
    font-weight: 800;
    white-space: nowrap;
}

.add-btn {
    width: 100%;
    min-height: 44px;
    margin-top: 2px;
    font-size: 14px;
}

.add-btn:active,
.qty-control button:active,
.cart-pill:active,
.service-mode-button:active {
    transform: scale(0.96);
}

.qty-control {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    width: 100%;
    min-height: 44px;
    overflow: hidden;
    border: 1px solid rgba(216, 58, 46, 0.42);
    border-radius: 8px;
    background: #fff5f3;
    color: var(--text);
    animation: cardReveal 0.2s ease both;
}

.qty-control.compact {
    grid-template-columns: 34px 34px 34px;
    width: auto;
    min-height: 34px;
}

.qty-control button {
    height: 100%;
    border: 0;
    background: var(--accent);
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
}

.qty-control span {
    text-align: center;
    font-weight: 800;
}

.dish-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.dish-modal.open {
    display: block;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.modal-panel {
    position: relative;
    width: min(920px, calc(100vw - 28px));
    max-height: calc(100svh - 28px);
    margin: 14px auto;
    overflow: hidden;
    border-radius: 8px;
    background: var(--card);
    color: var(--text);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.modal-close {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: rgba(9, 9, 9, 0.86);
    color: var(--white);
    font-size: 28px;
    line-height: 1;
}

.modal-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
    max-height: calc(100svh - 28px);
}

.modal-image {
    min-height: 100%;
    background: #080808;
}

.modal-image img,
.modal-image .placeholder-art {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: contain;
    object-position: center;
}

.wine-modal .modal-image {
    background: #090909;
}

.drink-modal .modal-image {
    background: #f7f7f7;
}

.wine-modal .modal-image img {
    object-fit: contain;
}

.drink-modal .modal-image img {
    padding: 18px;
    object-fit: contain;
}

.modal-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    max-height: calc(100svh - 28px);
    overflow-y: auto;
    padding: 30px;
}

.modal-cart-action {
    position: sticky;
    bottom: 0;
    z-index: 4;
    padding-top: 6px;
    background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff 24%);
}

.modal-title {
    padding-right: 42px;
    color: var(--text);
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.modal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.detail-block {
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfbfb;
}

.detail-block h3,
.options-title {
    margin-bottom: 7px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-block p,
.allergen-list {
    color: var(--muted-strong);
    font-size: 14px;
    line-height: 1.55;
}

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

.allergen-list li {
    padding: 5px 8px;
    border-radius: 8px;
    background: var(--card-soft);
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 700;
}

.option-list {
    display: grid;
    gap: 9px;
}

.option-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfbfb;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.option-list input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.custom-section {
    display: grid;
    gap: 10px;
}

.custom-help {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.custom-option-list {
    display: grid;
    gap: 8px;
}

.custom-option-list-scroll {
    max-height: min(360px, 42svh);
    overflow-y: auto;
    padding-right: 4px;
}

.custom-option-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 54px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfbfb;
}

.custom-option-row > div:first-child,
.custom-option-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.custom-option-row strong {
    display: block;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.custom-option-row span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
}

.custom-option-media {
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 8px;
    background: #f0f0f0;
    color: var(--accent);
}

.custom-option-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.custom-option-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.custom-qty {
    min-width: 102px;
}

.custom-total {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff5f3;
    color: var(--accent);
    font-size: 14px;
    text-align: right;
}

.variant-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

.variant-choice-card {
    position: relative;
    display: grid;
    gap: 3px;
    min-height: 58px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfbfb;
    color: var(--text);
    cursor: pointer;
}

.variant-choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.variant-choice-card span {
    font-size: 13px;
    font-weight: 800;
}

.variant-choice-card strong {
    color: var(--accent);
    font-size: 15px;
    font-weight: 900;
}

.variant-choice-card:has(input:checked) {
    border-color: rgba(216, 58, 46, 0.55);
    background: #fff5f3;
    box-shadow: inset 0 0 0 1px rgba(216, 58, 46, 0.24);
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 8px;
}

.choice-card {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfbfb;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}

.choice-card input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.choice-card:has(input:checked) {
    border-color: rgba(216, 58, 46, 0.55);
    background: #fff5f3;
}

.custom-subtitle {
    margin-top: 6px;
}

.modal-add {
    min-height: 52px;
    margin-top: 4px;
    font-size: 16px;
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 4000;
    max-width: calc(100vw - 36px);
    padding: 12px 14px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.site-footer {
    padding: 26px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--ink);
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    text-align: center;
}

.home-rails {
    padding: 58px max(16px, calc((100vw - 1220px) / 2));
    background: #090909;
}

.product-rail {
    margin-top: 28px;
}

.rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.rail-head h3 {
    color: var(--white);
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 800;
    text-transform: uppercase;
}

.rail-head div {
    display: flex;
    gap: 8px;
}

.rail-head button,
.slider-button {
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rail-head button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.rail-head button:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

.rail-track,
.review-slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.rail-track::-webkit-scrollbar,
.review-slider::-webkit-scrollbar {
    display: none;
}

.rail-card {
    flex: 0 0 214px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #151515;
    color: var(--white);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rail-card:hover {
    border-color: rgba(216, 58, 46, 0.48);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
    transform: translateY(-2px);
}

.rail-image,
.rail-title {
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}

.rail-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #050505;
}

.rail-image img {
    width: 100%;
    height: 100%;
    padding: 6px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.2s ease;
}

.rail-card:hover .rail-image img {
    transform: scale(1.03);
}

.rail-title {
    min-height: 54px;
    padding: 12px 12px 4px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.28;
    text-transform: uppercase;
}

.rail-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px 12px;
}

.rail-bottom strong {
    color: var(--accent);
    white-space: nowrap;
}

.rail-bottom button {
    min-height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.reviews-section {
    background: #0b0b0b;
}

.review-card {
    flex: 0 0 260px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #151515;
    color: var(--white);
}

.review-card strong {
    color: #f5c542;
    letter-spacing: 1px;
}

.review-card h3 {
    margin-top: 10px;
    font-size: 16px;
}

.review-card p {
    margin: 8px 0 12px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.45;
}

.review-card span {
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
    font-weight: 800;
}

@media (min-width: 761px) {
    .category-nav,
    .group-subnav,
    .rail-track,
    .review-slider {
        scrollbar-color: rgba(216, 58, 46, 0.78) rgba(255, 255, 255, 0.14);
        scrollbar-width: thin;
    }

    .category-nav::-webkit-scrollbar,
    .group-subnav::-webkit-scrollbar,
    .rail-track::-webkit-scrollbar,
    .review-slider::-webkit-scrollbar {
        display: block;
        height: 8px;
    }

    .category-nav::-webkit-scrollbar-track,
    .group-subnav::-webkit-scrollbar-track,
    .rail-track::-webkit-scrollbar-track,
    .review-slider::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.14);
        border-radius: 999px;
    }

    .category-nav::-webkit-scrollbar-thumb,
    .group-subnav::-webkit-scrollbar-thumb,
    .rail-track::-webkit-scrollbar-thumb,
    .review-slider::-webkit-scrollbar-thumb {
        background: rgba(216, 58, 46, 0.78);
        border-radius: 999px;
    }
}

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
}

.cart-drawer.open {
    display: block;
}

.cart-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
}

.cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    width: min(430px, 100%);
    height: 100svh;
    background: #ffffff;
    color: var(--text);
    box-shadow: -18px 0 52px rgba(0, 0, 0, 0.36);
}

.cart-panel-header,
.cart-panel-footer {
    padding: 16px;
    background: #ffffff;
}

.cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.cart-panel-header div {
    display: grid;
    gap: 2px;
}

.cart-panel-header span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.cart-panel-header strong {
    color: var(--text);
    font-size: 26px;
}

.cart-panel-header button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    background: #111111;
    color: var(--white);
    font-size: 28px;
}

.cart-panel-body {
    overflow-y: auto;
    padding: 14px 16px;
}

.cart-items,
.cart-accessories,
.cart-customer-form,
.cart-service-summary {
    display: grid;
    gap: 10px;
}

.cart-accessories,
.cart-customer-form,
.cart-service-summary {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.cart-accessories h3,
.cart-customer-form h3 {
    font-size: 15px;
    text-transform: uppercase;
}

.cart-customer-form label {
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.cart-customer-form input {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfbfb;
    color: var(--text);
    outline: none;
}

.cart-customer-form input:focus {
    border-color: rgba(216, 58, 46, 0.62);
    box-shadow: 0 0 0 3px rgba(216, 58, 46, 0.12);
}

.cart-accessories p,
.cart-service-summary span,
.empty-cart,
.checkout-message {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.cart-line,
.accessory-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfbfb;
}

.cart-line > strong {
    grid-column: 1 / -1;
    color: var(--accent);
    text-align: right;
}

.cart-line div:first-child,
.accessory-line div:first-child {
    display: grid;
    gap: 3px;
}

.cart-line span,
.accessory-line span {
    color: var(--muted);
    font-size: 12px;
}

.cart-option-line {
    display: block;
}

.cart-edit-button {
    justify-self: start;
    min-height: 30px;
    margin-top: 4px;
    padding: 0 10px;
    border: 1px solid rgba(216, 58, 46, 0.28);
    border-radius: 8px;
    background: #fff5f3;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 7px;
    color: var(--muted-strong);
    font-size: 14px;
}

.cart-total-row.grand {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
}

.checkout-main-button {
    width: 100%;
    min-height: 50px;
    margin-top: 12px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: var(--white);
    font-weight: 800;
}

.invoice-secondary-button {
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    border: 1px solid rgba(216, 58, 46, 0.42);
    border-radius: 8px;
    background: #fff5f3;
    color: var(--accent);
    font-weight: 800;
}

.checkout-main-button:disabled,
.invoice-secondary-button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.cart-clear-link {
    width: 100%;
    min-height: 38px;
    margin-top: 7px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

@keyframes brandReveal {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 760px) {
    .top-header {
        padding: 8px 12px;
        gap: 8px;
    }

    .cart-pill span,
    .cart-pill em {
        display: none;
    }

    .clear-cart-button {
        min-height: 40px;
        padding: 8px 10px;
        font-size: 11px;
    }

    .nav-container {
        padding: 0 10px 8px;
    }

    .nav-item {
        min-height: 36px;
        padding: 8px 10px;
        font-size: 10px;
    }

    .group-subnav {
        display: flex;
        gap: 7px;
        margin-top: 6px;
        padding: 8px;
        overflow-x: auto;
    }

    .subnav-item {
        justify-content: center;
        width: auto;
        flex: 0 0 auto;
        min-height: 44px;
        padding: 12px 13px;
        text-align: center;
        white-space: nowrap;
    }

    .selected-subnav {
        display: block;
        margin-top: 6px;
        padding: 9px 10px;
        font-size: 11px;
    }

    .home-section {
        min-height: auto;
        padding: 30px 14px 28px;
        background-image:
            linear-gradient(180deg, rgba(9, 9, 9, 0.08) 0%, rgba(9, 9, 9, 0.04) 52%, rgba(9, 9, 9, 0.9) 100%),
            url('chef.jpg');
        background-position: center, center;
        background-repeat: no-repeat;
        background-size: 100% 100%, contain;
        background-color: #090909;
    }

    .home-content h1 {
        font-size: clamp(46px, 16vw, 70px);
    }

    .home-content p {
        margin: 12px 0 16px;
        font-size: 14px;
    }

    .service-mode-panel {
        margin: 16px 0 14px;
        padding: 12px;
    }

    .service-mode-buttons,
    .delivery-search,
    .delivery-manual-fields {
        grid-template-columns: 1fr;
    }

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

    .delivery-rate-note div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .home-rails {
        padding: 34px 12px;
    }

    .rail-card {
        flex-basis: 172px;
    }

    .rail-head button {
        display: none;
    }

    .food-container {
        padding: 22px 12px 34px;
    }

    .food-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .food-card {
        box-shadow: 0 5px 16px rgba(0, 0, 0, 0.16);
    }

    .img-box {
        aspect-ratio: 16 / 10;
    }

    .food-info {
        padding: 14px;
    }

    .food-name {
        font-size: 16px;
    }

    .food-bottom {
        align-items: stretch;
    }

    .food-price {
        font-size: 20px;
    }

    .add-btn {
        min-height: 48px;
    }

    .modal-panel {
        width: 100%;
        min-height: 100svh;
        max-height: 100svh;
        margin: 0;
        border-radius: 0;
    }

    .modal-grid {
        display: block;
        max-height: 100svh;
        overflow-y: auto;
    }

    .modal-image img,
    .modal-image .placeholder-art {
        min-height: 280px;
        max-height: 42svh;
    }

    .modal-content {
        max-height: none;
        overflow: visible;
        padding: 22px 16px 0;
    }

    .modal-title {
        padding-right: 48px;
        font-size: 25px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
    }

    .modal-add,
    .modal-cart-action .add-btn,
    .modal-cart-action .qty-control {
        min-height: 54px;
    }

    .modal-cart-action {
        margin-inline: -16px;
        padding: 10px 16px calc(14px + env(safe-area-inset-bottom));
        background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 22%, #ffffff 100%);
        box-shadow: 0 -10px 24px rgba(255, 255, 255, 0.92);
    }

    .custom-option-list-scroll {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .custom-option-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .custom-qty {
        width: 100%;
        min-width: 0;
    }

    .drink-choice-row {
        grid-template-columns: minmax(0, 1fr) 102px;
        gap: 8px;
        align-items: center;
        min-height: 66px;
        padding: 8px;
    }

    .drink-choice-row .custom-option-main {
        gap: 8px;
        min-width: 0;
    }

    .drink-choice-row .custom-option-media {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .drink-choice-row .custom-option-copy strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .drink-choice-row .custom-qty {
        justify-self: end;
        width: 102px;
        min-width: 102px;
        min-height: 38px;
        grid-template-columns: 34px 34px 34px;
    }

    .custom-total {
        text-align: left;
    }

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

    .cart-panel {
        width: 100%;
    }
}
