:root {
    --ink: #171412;
    --muted: #70665f;
    --paper: #fbf7ef;
    --paper-deep: #efe2ca;
    --line: #d8c8ad;
    --gold: #b99046;
    --gold-soft: #d6bd83;
    --wine: #6e2627;
    --olive: #68704a;
    --white: #fffdf8;
    --shadow: 0 16px 42px rgba(36, 26, 18, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(90deg, rgba(185, 144, 70, 0.08) 1px, transparent 1px) 0 0 / 36px 36px,
        linear-gradient(180deg, #fffaf1 0%, var(--paper) 46%, #f6ebd8 100%);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

button,
input {
    font: inherit;
}

.language-gate {
    position: relative;
    display: grid;
    min-height: 100svh;
    place-items: center;
    padding: 34px 18px;
    overflow: hidden;
}

.language-gate::before,
.language-gate::after {
    content: "M E N U";
    position: absolute;
    color: rgba(185, 144, 70, 0.11);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.5rem, 18vw, 9rem);
    line-height: 1;
    pointer-events: none;
}

.language-gate::before {
    top: 5vh;
    left: -28px;
    transform: rotate(-90deg);
    transform-origin: left top;
}

.language-gate::after {
    right: -18px;
    bottom: 5vh;
    transform: rotate(90deg);
    transform-origin: right bottom;
}

.cover-ornament {
    position: absolute;
    left: 50%;
    width: min(72vw, 440px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: translateX(-50%);
}

.cover-ornament::before,
.cover-ornament::after {
    content: "";
    position: absolute;
    top: -7px;
    width: 15px;
    height: 15px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
    background: var(--paper);
}

.cover-ornament::before {
    left: 14%;
}

.cover-ornament::after {
    right: 14%;
}

.cover-ornament-top {
    top: 28px;
}

.cover-ornament-bottom {
    bottom: 28px;
}

.language-panel {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    width: min(100%, 430px);
    padding: 28px 20px 24px;
    text-align: center;
}

.language-panel::before,
.language-panel::after {
    content: "";
    position: absolute;
    width: 82px;
    height: 82px;
    pointer-events: none;
}

.language-panel::before {
    top: 0;
    left: 0;
    border-top: 1px solid var(--gold-soft);
    border-left: 1px solid var(--gold-soft);
}

.language-panel::after {
    right: 0;
    bottom: 0;
    border-right: 1px solid var(--gold-soft);
    border-bottom: 1px solid var(--gold-soft);
}

.logo-stage {
    display: grid;
    place-items: center;
    width: min(72vw, 280px);
    aspect-ratio: 1 / 1.1;
    margin-bottom: 10px;
    animation: logoPulse 2.2s ease-in-out both;
}

.prime-logo {
    display: block;
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gate-kicker {
    margin: 0;
    color: var(--wine);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.language-panel h1 {
    margin: 8px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 12vw, 4.6rem);
    font-weight: 400;
    line-height: 1;
}

.language-choice {
    display: grid;
    gap: 10px;
    width: 100%;
    margin-top: 24px;
    opacity: 0;
    transform: translateY(12px);
    animation: choiceIn 0.75s ease 1.95s forwards;
}

.language-choice p {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
}

.language-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.language-button {
    display: grid;
    min-height: 52px;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.72);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.language-button-dark {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.language-gate.is-leaving .language-panel {
    animation: gateOut 0.45s ease forwards;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 253, 248, 0.96);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 26px rgba(36, 26, 18, 0.08);
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.header-logo {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.brand-menu {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.menu-search {
    display: grid;
    min-width: 0;
}

.menu-search label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.menu-search input {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(185, 144, 70, 0.45);
    border-radius: 8px;
    padding: 0 12px;
    background: rgba(255, 253, 248, 0.88);
    color: var(--ink);
    outline: none;
}

.menu-search input::placeholder {
    color: rgba(112, 102, 95, 0.78);
}

.menu-search input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(185, 144, 70, 0.18);
}

.language-switch {
    display: grid;
    min-height: 40px;
    min-width: 54px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 10px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.category-nav {
    position: sticky;
    top: 65px;
    z-index: 15;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 14px;
    background: rgba(251, 247, 239, 0.95);
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
}

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

.category-pill {
    flex: 0 0 auto;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 14px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
}

.category-pill.active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.menu-book {
    width: min(100%, 1160px);
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding: 18px 14px 48px;
}

.menu-section {
    max-width: 100%;
    min-width: 0;
    scroll-margin-top: 130px;
    padding: 24px 0 32px;
    border-bottom: 1px solid rgba(112, 102, 95, 0.24);
}

.menu-section[hidden],
.menu-item[hidden] {
    display: none;
}

.section-title-block {
    display: grid;
    gap: 7px;
    justify-items: center;
    max-width: 100%;
    min-width: 0;
    margin: 0 auto 18px;
    text-align: center;
}

.section-title-block::before {
    content: "";
    width: min(58vw, 320px);
    height: 1px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-kicker {
    margin: 0;
    color: var(--wine);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.section-title-block h1 {
    width: 100%;
    max-width: 340px;
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
    overflow-wrap: break-word;
}

.section-note {
    width: min(100%, 720px);
    max-width: 100%;
    margin-top: 8px;
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    overflow-wrap: break-word;
}

.section-note p,
.title-line h2,
.description,
.price {
    margin: 0;
}

.menu-list {
    display: grid;
    gap: 12px;
    max-width: 100%;
    min-width: 0;
}

.menu-item {
    position: relative;
    display: block;
    max-width: 100%;
    min-height: 142px;
    min-width: 0;
    padding: 15px 14px;
    background: rgba(255, 253, 248, 0.76);
    border: 1px solid rgba(216, 200, 173, 0.92);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(36, 26, 18, 0.06);
}

.menu-item::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 6px;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(185, 144, 70, 0.45), transparent);
}

.menu-item-main {
    min-width: 0;
    padding-right: 78px;
}

.sku {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 7px;
    padding: 0 8px;
    border: 1px solid rgba(185, 144, 70, 0.45);
    color: var(--wine);
    font-size: 0.72rem;
    font-weight: 700;
}

.title-line {
    display: grid;
    gap: 3px;
}

.title-line h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    line-height: 1.24;
    font-weight: 700;
}

.description {
    margin-top: 9px;
    color: var(--muted);
    font-size: 0.9rem;
}

.price {
    position: absolute;
    top: 15px;
    right: 14px;
    display: grid;
    min-width: 64px;
    min-height: 64px;
    place-items: center;
    padding: 8px;
    border: 1px solid var(--gold);
    background: linear-gradient(180deg, #fff8e8 0%, #efdfbf 100%);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.16rem;
    font-weight: 700;
    text-align: center;
}

.price span {
    line-height: 1.05;
}

.menu-footnote {
    display: grid;
    gap: 4px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.76rem;
    text-align: center;
}

.empty-state {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 30;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--wine);
    box-shadow: var(--shadow);
    text-align: center;
}

.language-ar {
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

.language-ar .menu-item::before {
    right: 6px;
    left: auto;
}

.language-ar .menu-item-main {
    padding-right: 0;
    padding-left: 78px;
}

.language-ar .price {
    right: auto;
    left: 14px;
}

.language-ar .section-note {
    text-transform: none;
}

@keyframes logoPulse {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }

    36%,
    68% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0.2;
        transform: translateY(0) scale(0.985);
    }
}

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

@keyframes gateOut {
    to {
        opacity: 0;
        transform: scale(0.985);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

@media (min-width: 720px) {
    .site-header {
        grid-template-columns: auto minmax(260px, 420px) auto;
        padding-inline: 28px;
    }

    .category-nav {
        top: 65px;
        justify-content: center;
        padding-inline: 28px;
    }

    .menu-book {
        padding-inline: 28px;
    }

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

    .menu-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        align-items: start;
        min-height: 170px;
    }

    .menu-item-main,
    .language-ar .menu-item-main {
        padding-right: 0;
        padding-left: 0;
    }

    .price,
    .language-ar .price {
        position: static;
    }

    .section-title-block h1 {
        max-width: 100%;
        font-size: 2.35rem;
    }
}

@media (min-width: 1080px) {
    .menu-section {
        padding-block: 42px 52px;
    }

    .section-title-block {
        margin-bottom: 26px;
    }

    .menu-list {
        gap: 16px;
    }

    .section-title-block h1 {
        font-size: 3rem;
    }
}

.menu-item.has-image {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 154px;
    padding: 12px 14px 12px 12px;
    overflow: hidden;
}

.menu-item.has-image::before {
    display: none;
}

.item-photo {
    position: relative;
    display: grid;
    grid-column: 1;
    grid-row: 1;
    width: 96px;
    height: 96px;
    place-items: center;
    margin: 0;
    border-radius: 999px;
    background: radial-gradient(circle at 45% 40%, rgba(255, 253, 248, 0.95), rgba(239, 226, 202, 0.58) 68%, rgba(185, 144, 70, 0.16));
}

.item-photo::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 5px;
    left: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(36, 26, 18, 0.12);
    filter: blur(8px);
}

.item-photo img {
    position: relative;
    z-index: 1;
    width: 132%;
    height: 132%;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(36, 26, 18, 0.16));
}

.menu-item.has-image .menu-item-main {
    grid-column: 2;
    padding-right: 76px;
}

.language-ar .menu-item.has-image {
    grid-template-columns: minmax(0, 1fr) 96px;
    padding: 12px 12px 12px 14px;
}

.language-ar .menu-item.has-image .item-photo {
    grid-column: 2;
}

.language-ar .menu-item.has-image .menu-item-main {
    grid-column: 1;
    padding-right: 0;
    padding-left: 76px;
}

@media (min-width: 720px) {
    .menu-item.has-image {
        grid-template-columns: 128px minmax(0, 1fr) auto;
        gap: 18px;
        min-height: 184px;
        padding: 16px;
    }

    .menu-item.has-image .item-photo {
        grid-column: 1;
        width: 128px;
        height: 128px;
    }

    .menu-item.has-image .menu-item-main,
    .language-ar .menu-item.has-image .menu-item-main {
        grid-column: 2;
        padding-right: 0;
        padding-left: 0;
    }

    .menu-item.has-image .price,
    .language-ar .menu-item.has-image .price {
        position: static;
        grid-column: 3;
    }

    .language-ar .menu-item.has-image {
        grid-template-columns: auto minmax(0, 1fr) 128px;
    }

    .language-ar .menu-item.has-image .item-photo {
        grid-column: 3;
    }

    .language-ar .menu-item.has-image .price {
        grid-column: 1;
    }
}

.item-photo {
    border: 0;
    appearance: none;
    cursor: zoom-in;
    overflow: visible;
}

.item-photo:focus-visible {
    outline: 3px solid rgba(185, 144, 70, 0.42);
    outline-offset: 4px;
}

.menu-item.has-image {
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 14px;
}

.item-photo {
    width: 118px;
    height: 118px;
    place-self: center;
}

.item-photo img {
    width: 108%;
    height: 108%;
    object-fit: contain;
    object-position: center;
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(23, 20, 18, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.image-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.image-modal-dialog {
    position: relative;
    display: grid;
    gap: 12px;
    width: min(100%, 560px);
    max-height: min(86vh, 760px);
    padding: 18px;
    border: 1px solid var(--gold);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(185, 144, 70, 0.08) 1px, transparent 1px) 0 0 / 32px 32px,
        var(--paper);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

.image-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.92);
    color: var(--ink);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.image-modal-img-wrap {
    display: grid;
    min-height: 280px;
    place-items: center;
    padding: 28px 12px 8px;
}

.image-modal-img {
    display: block;
    max-width: 100%;
    max-height: 68vh;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(36, 26, 18, 0.18));
}

.image-modal-caption {
    margin: 0;
    color: var(--wine);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

body.modal-open {
    overflow: hidden;
}

.language-ar .image-modal-close {
    right: auto;
    left: 10px;
}

@media (min-width: 720px) {
    .menu-item.has-image {
        grid-template-columns: 140px minmax(0, 1fr) auto;
    }

    .menu-item.has-image .item-photo {
        width: 140px;
        height: 140px;
    }

    .language-ar .menu-item.has-image {
        grid-template-columns: auto minmax(0, 1fr) 140px;
    }
}

/* Modern classic layout trial v2 */
.menu-mode::before,
.menu-mode::after {
    content: "";
    position: fixed;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}

.menu-mode::before {
    top: 168px;
    left: 18px;
    width: 84px;
    height: 84px;
    border-top: 1px solid rgba(185, 144, 70, 0.36);
    border-left: 1px solid rgba(185, 144, 70, 0.36);
    animation: ornamentDrift 7s ease-in-out infinite;
}

.menu-mode::after {
    right: 24px;
    bottom: 34px;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(185, 144, 70, 0.48);
    transform: rotate(45deg);
    animation: diamondFloat 5.8s ease-in-out infinite;
}

.site-header,
.category-nav,
.menu-book {
    position: relative;
    z-index: 1;
}

.menu-section {
    border-bottom: 0;
}

.menu-list {
    gap: 12px;
}

.menu-item,
.menu-item.has-image {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 12px;
    align-items: center;
    min-height: 122px;
    padding: 14px 14px 14px 18px;
    border: 1px solid rgba(185, 144, 70, 0.32);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.46);
    box-shadow: 0 10px 28px rgba(36, 26, 18, 0.05);
    backdrop-filter: blur(1px);
}

.menu-item::before,
.menu-item.has-image::before {
    display: block;
    top: 14px;
    bottom: 14px;
    left: 8px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(185, 144, 70, 0.5), transparent);
}

.menu-item.has-image {
    grid-template-columns: 118px minmax(0, 1fr) 74px;
    min-height: 152px;
    padding-left: 14px;
}

.item-photo {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    width: 118px;
    height: 118px;
    place-items: center;
    place-self: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    appearance: none;
    cursor: zoom-in;
    overflow: visible;
}

.item-photo::after {
    display: none;
}

.item-photo img {
    position: static;
    z-index: auto;
    display: block;
    width: 118px;
    height: 118px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 14px 18px rgba(36, 26, 18, 0.16));
}

.menu-item-main,
.menu-item.has-image .menu-item-main {
    grid-column: 1;
    min-width: 0;
    padding: 0;
}

.menu-item.has-image .menu-item-main {
    grid-column: 2;
}

.sku {
    margin-bottom: 8px;
    background: rgba(255, 253, 248, 0.6);
}

.title-line h2 {
    font-size: 1.05rem;
    line-height: 1.16;
}

.description {
    margin-top: 8px;
    font-size: 0.92rem;
    line-height: 1.42;
}

.price,
.menu-item.has-image .price,
.language-ar .price,
.language-ar .menu-item.has-image .price {
    position: static;
    grid-column: 2;
    grid-row: 1;
    place-self: start end;
    min-width: 70px;
    min-height: 70px;
    padding: 10px;
    background: linear-gradient(180deg, rgba(255, 248, 232, 0.92), rgba(239, 223, 191, 0.78));
}

.menu-item.has-image .price {
    grid-column: 3;
}

.language-ar .menu-item,
.language-ar .menu-item.has-image {
    padding: 14px 18px 14px 14px;
}

.language-ar .menu-item::before,
.language-ar .menu-item.has-image::before {
    right: 8px;
    left: auto;
}

.language-ar .menu-item {
    grid-template-columns: 74px minmax(0, 1fr);
}

.language-ar .menu-item.has-image {
    grid-template-columns: 74px minmax(0, 1fr) 118px;
}

.language-ar .menu-item-main,
.language-ar .menu-item.has-image .menu-item-main {
    grid-column: 2;
    padding: 0;
}

.language-ar .menu-item.has-image .item-photo {
    grid-column: 3;
}

.language-ar .price,
.language-ar .menu-item.has-image .price {
    grid-column: 1;
    place-self: start start;
}

@keyframes ornamentDrift {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.38; }
    50% { transform: translate3d(10px, 14px, 0); opacity: 0.72; }
}

@keyframes diamondFloat {
    0%, 100% { transform: rotate(45deg) translate3d(0, 0, 0); opacity: 0.34; }
    50% { transform: rotate(45deg) translate3d(-10px, -12px, 0); opacity: 0.78; }
}

@media (min-width: 720px) {
    .menu-list {
        grid-template-columns: 1fr;
        max-width: 860px;
        margin-inline: auto;
    }

    .menu-item,
    .menu-item.has-image {
        grid-template-columns: minmax(0, 1fr) 92px;
        min-height: 132px;
        padding: 18px 20px 18px 24px;
    }

    .menu-item.has-image {
        grid-template-columns: 156px minmax(0, 1fr) 92px;
        min-height: 174px;
    }

    .item-photo,
    .menu-item.has-image .item-photo {
        width: 156px;
        height: 156px;
    }

    .item-photo img {
        width: 156px;
        height: 156px;
    }

    .title-line h2 {
        font-size: 1.28rem;
    }

    .description {
        font-size: 1rem;
    }

    .price,
    .menu-item.has-image .price,
    .language-ar .price,
    .language-ar .menu-item.has-image .price {
        min-width: 82px;
        min-height: 82px;
    }

    .language-ar .menu-item {
        grid-template-columns: 92px minmax(0, 1fr);
        padding: 18px 24px 18px 20px;
    }

    .language-ar .menu-item.has-image {
        grid-template-columns: 92px minmax(0, 1fr) 156px;
    }
}

/* Clickable detail-card layout v3 */
.menu-list {
    gap: 10px;
}

.menu-item,
.menu-item.has-image,
.language-ar .menu-item,
.language-ar .menu-item.has-image {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 12px;
    align-items: center;
    min-height: 104px;
    padding: 13px 14px;
    border: 1px solid rgba(185, 144, 70, 0.34);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.84), rgba(248, 240, 225, 0.5)),
        rgba(255, 253, 248, 0.74);
    box-shadow: 0 9px 24px rgba(36, 26, 18, 0.055);
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.menu-item.has-image {
    grid-template-columns: 92px minmax(0, 1fr) 72px;
}

.language-ar .menu-item {
    grid-template-columns: 72px minmax(0, 1fr);
}

.language-ar .menu-item.has-image {
    grid-template-columns: 72px minmax(0, 1fr) 92px;
}

.menu-item:hover,
.menu-item:focus-visible {
    border-color: rgba(185, 144, 70, 0.66);
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(249, 238, 216, 0.72)),
        rgba(255, 253, 248, 0.9);
    box-shadow: 0 14px 34px rgba(36, 26, 18, 0.09);
    transform: translateY(-1px);
    outline: 0;
}

.menu-item:focus-visible::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(119, 31, 27, 0.32);
    border-radius: 6px;
    pointer-events: none;
}

.menu-item::before,
.menu-item.has-image::before {
    display: none;
}

.item-photo,
.menu-item.has-image .item-photo,
.language-ar .menu-item.has-image .item-photo {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    place-self: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: inherit;
    overflow: visible;
    pointer-events: none;
}

.language-ar .menu-item.has-image .item-photo {
    grid-column: 3;
}

.item-photo img {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 12px 16px rgba(36, 26, 18, 0.16));
}

.menu-item-main,
.menu-item.has-image .menu-item-main,
.language-ar .menu-item-main,
.language-ar .menu-item.has-image .menu-item-main {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    padding: 0;
}

.menu-item.has-image .menu-item-main {
    grid-column: 2;
}

.language-ar .menu-item-main,
.language-ar .menu-item.has-image .menu-item-main {
    grid-column: 2;
}

.title-line h2 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(1.02rem, 3.8vw, 1.2rem);
    line-height: 1.17;
    overflow-wrap: anywhere;
}

.description {
    display: none;
}

.detail-note {
    margin: 8px 0 0;
    color: rgba(93, 84, 78, 0.8);
    font-size: 0.84rem;
    line-height: 1.25;
}

.detail-note::after {
    content: "";
    display: inline-block;
    width: 26px;
    height: 1px;
    margin-inline-start: 8px;
    vertical-align: middle;
    background: rgba(185, 144, 70, 0.52);
}

.price,
.menu-item.has-image .price,
.language-ar .price,
.language-ar .menu-item.has-image .price {
    position: static;
    grid-column: 2;
    grid-row: 1;
    display: grid;
    width: 72px;
    min-width: 72px;
    height: 72px;
    min-height: 72px;
    place-items: center;
    place-self: center end;
    margin: 0;
    padding: 8px;
    border-color: rgba(185, 144, 70, 0.78);
    background: linear-gradient(180deg, rgba(255, 249, 235, 0.96), rgba(238, 221, 185, 0.8));
    text-align: center;
}

.menu-item.has-image .price {
    grid-column: 3;
}

.language-ar .price,
.language-ar .menu-item.has-image .price {
    grid-column: 1;
    place-self: center start;
}

.price span {
    display: block;
    width: 100%;
    font-size: clamp(1.05rem, 5vw, 1.42rem);
    line-height: 1;
    text-align: center;
}

.item-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(23, 20, 18, 0.68);
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
}

.item-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.item-modal-card {
    position: relative;
    display: grid;
    gap: 14px;
    width: min(100%, 440px);
    max-height: 88vh;
    overflow: auto;
    padding: 20px;
    border: 1px solid rgba(185, 144, 70, 0.72);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(185, 144, 70, 0.08) 1px, transparent 1px) 0 0 / 34px 34px,
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 238, 220, 0.96));
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
    transform: translateY(16px) scale(0.98);
    transition: transform 240ms ease;
}

.item-modal.is-open .item-modal-card {
    transform: translateY(0) scale(1);
}

.item-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(185, 144, 70, 0.42);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.92);
    color: var(--ink);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.language-ar .item-modal-close {
    right: auto;
    left: 10px;
}

.item-modal-media {
    display: grid;
    min-height: 170px;
    place-items: center;
    padding: 12px 18px 0;
}

.item-modal-media[hidden] {
    display: none;
}

.item-modal-img {
    display: block;
    max-width: 100%;
    max-height: 38vh;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(36, 26, 18, 0.18));
}

.item-modal-content {
    display: grid;
    justify-items: start;
    gap: 10px;
}

.language-ar .item-modal-content {
    justify-items: end;
    text-align: right;
}

.item-modal-title {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.08;
}

.item-modal-description {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
}

.item-modal-price {
    display: inline-grid;
    grid-auto-flow: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    margin: 4px 0 2px;
    padding: 12px 16px;
    border: 1px solid rgba(185, 144, 70, 0.78);
    background: linear-gradient(180deg, rgba(255, 249, 235, 0.96), rgba(238, 221, 185, 0.8));
    color: var(--wine);
    text-align: center;
}

.item-modal-price-label {
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.language-ar .item-modal-price-label {
    letter-spacing: 0;
    text-transform: none;
}

.item-modal-price strong {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
    line-height: 1;
}

.item-modal-back {
    justify-self: stretch;
    min-height: 48px;
    margin-top: 6px;
    border: 1px solid rgba(119, 31, 27, 0.32);
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition: transform 180ms ease, background 180ms ease;
}

.item-modal-back:hover,
.item-modal-back:focus-visible {
    background: var(--wine);
    outline: 0;
    transform: translateY(-1px);
}

@media (min-width: 720px) {
    .menu-item,
    .menu-item.has-image,
    .language-ar .menu-item,
    .language-ar .menu-item.has-image {
        grid-template-columns: minmax(0, 1fr) 86px;
        min-height: 118px;
        padding: 16px 18px;
    }

    .menu-item.has-image {
        grid-template-columns: 126px minmax(0, 1fr) 86px;
    }

    .language-ar .menu-item {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .language-ar .menu-item.has-image {
        grid-template-columns: 86px minmax(0, 1fr) 126px;
    }

    .item-photo,
    .menu-item.has-image .item-photo,
    .language-ar .menu-item.has-image .item-photo,
    .item-photo img {
        width: 126px;
        height: 126px;
    }

    .price,
    .menu-item.has-image .price,
    .language-ar .price,
    .language-ar .menu-item.has-image .price {
        width: 86px;
        min-width: 86px;
        height: 86px;
        min-height: 86px;
    }

    .title-line h2 {
        font-size: 1.34rem;
    }

    .item-modal-card {
        grid-template-columns: 210px minmax(0, 1fr);
        width: min(100%, 720px);
        align-items: center;
        padding: 24px;
    }

    .item-modal-media {
        min-height: 250px;
        padding: 10px;
    }

    .item-modal-img {
        max-height: 360px;
    }
}

@media (max-width: 380px) {
    .menu-item.has-image {
        grid-template-columns: 78px minmax(0, 1fr) 64px;
        gap: 9px;
    }

    .language-ar .menu-item.has-image {
        grid-template-columns: 64px minmax(0, 1fr) 78px;
    }

    .item-photo,
    .menu-item.has-image .item-photo,
    .language-ar .menu-item.has-image .item-photo,
    .item-photo img {
        width: 78px;
        height: 78px;
    }

    .price,
    .menu-item.has-image .price,
    .language-ar .price,
    .language-ar .menu-item.has-image .price {
        width: 64px;
        min-width: 64px;
        height: 64px;
        min-height: 64px;
    }
}

/* Larger menu rows with plain price numbers v4 */
.menu-list {
    gap: 12px;
}

.menu-item,
.menu-item.has-image,
.language-ar .menu-item,
.language-ar .menu-item.has-image {
    min-height: 122px;
    padding: 17px 16px;
    gap: 14px;
}

.menu-item {
    grid-template-columns: minmax(0, 1fr) auto;
}

.menu-item.has-image {
    grid-template-columns: 106px minmax(0, 1fr) auto;
    min-height: 142px;
}

.language-ar .menu-item {
    grid-template-columns: auto minmax(0, 1fr);
}

.language-ar .menu-item.has-image {
    grid-template-columns: auto minmax(0, 1fr) 106px;
}

.item-photo,
.menu-item.has-image .item-photo,
.language-ar .menu-item.has-image .item-photo,
.item-photo img {
    width: 106px;
    height: 106px;
}

.price,
.menu-item.has-image .price,
.language-ar .price,
.language-ar .menu-item.has-image .price {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    place-self: center end;
    color: var(--ink);
}

.language-ar .price,
.language-ar .menu-item.has-image .price {
    place-self: center start;
}

.price span {
    width: auto;
    min-width: 58px;
    color: var(--ink);
    font-size: clamp(1.48rem, 7vw, 2.05rem);
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 253, 248, 0.8);
}

.title-line h2 {
    font-size: clamp(1.12rem, 4.5vw, 1.34rem);
}

.detail-note {
    margin-top: 10px;
    font-size: 0.9rem;
}

.item-modal-price {
    display: block;
    min-width: 0;
    margin: 6px 0 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: inherit;
}

.item-modal-price-label {
    display: none;
}

.item-modal-price strong {
    font-size: clamp(2rem, 10vw, 2.75rem);
    text-shadow: 0 1px 0 rgba(255, 253, 248, 0.84);
}

@media (min-width: 720px) {
    .menu-item,
    .menu-item.has-image,
    .language-ar .menu-item,
    .language-ar .menu-item.has-image {
        min-height: 136px;
        padding: 20px 22px;
        gap: 18px;
    }

    .menu-item {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .menu-item.has-image {
        grid-template-columns: 144px minmax(0, 1fr) auto;
        min-height: 168px;
    }

    .language-ar .menu-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .language-ar .menu-item.has-image {
        grid-template-columns: auto minmax(0, 1fr) 144px;
    }

    .item-photo,
    .menu-item.has-image .item-photo,
    .language-ar .menu-item.has-image .item-photo,
    .item-photo img {
        width: 144px;
        height: 144px;
    }

    .price span {
        min-width: 72px;
        font-size: 2.25rem;
    }

    .title-line h2 {
        font-size: 1.48rem;
    }
}

@media (max-width: 380px) {
    .menu-item,
    .menu-item.has-image,
    .language-ar .menu-item,
    .language-ar .menu-item.has-image {
        gap: 10px;
        padding: 15px 13px;
    }

    .menu-item.has-image {
        grid-template-columns: 88px minmax(0, 1fr) auto;
    }

    .language-ar .menu-item.has-image {
        grid-template-columns: auto minmax(0, 1fr) 88px;
    }

    .item-photo,
    .menu-item.has-image .item-photo,
    .language-ar .menu-item.has-image .item-photo,
    .item-photo img {
        width: 88px;
        height: 88px;
    }

    .price span {
        min-width: 48px;
        font-size: 1.5rem;
    }
}
/* Live footer and logo placement controls */
.menu-global-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px 16px 34px;
}

.menu-global-footer a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid rgba(185, 144, 70, 0.42);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.72);
    color: var(--wine);
    font-weight: 800;
    text-decoration: none;
}

.logo-placement-header-center .brand-mark {
    justify-content: center;
}

.logo-placement-compact .brand-menu {
    display: none;
}

.logo-placement-compact .header-logo {
    width: 64px;
}
/* Front menu navigation and visual flow v5 */
:root {
    --header-height: 66px;
    --viewbar-height: 58px;
}

.site-header {
    min-height: var(--header-height);
    padding: 9px 14px 8px;
    border-bottom: 0;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(251, 247, 239, 0.94));
    box-shadow: 0 10px 28px rgba(36, 26, 18, 0.08);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(185, 144, 70, 0.68), transparent);
}

.header-logo {
    width: 48px;
    height: 48px;
}

.brand-menu {
    color: var(--gold);
    font-size: 0.88rem;
    letter-spacing: 0.28em;
}

.menu-search input {
    min-height: 44px;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.92);
}

.language-switch {
    min-height: 44px;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.72);
}

.category-nav {
    top: var(--header-height);
    z-index: 19;
    gap: 9px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(216, 200, 173, 0.72);
    background:
        linear-gradient(180deg, rgba(251, 247, 239, 0.96), rgba(246, 235, 216, 0.94));
    box-shadow: 0 12px 26px rgba(36, 26, 18, 0.08);
    transition: max-height 220ms ease, opacity 220ms ease, padding 220ms ease, border-color 220ms ease;
}

.category-nav::before,
.category-nav::after {
    content: "";
    flex: 0 0 1px;
}

.category-pill {
    min-height: 44px;
    padding: 0 18px;
    border-color: rgba(185, 144, 70, 0.46);
    background: rgba(255, 253, 248, 0.82);
    box-shadow: 0 6px 16px rgba(36, 26, 18, 0.05);
    font-weight: 700;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.category-pill:hover,
.category-pill:focus-visible {
    border-color: var(--gold);
    transform: translateY(-1px);
    outline: 0;
}

.category-pill.active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.menu-view-controls {
    position: sticky;
    top: var(--header-height);
    z-index: 21;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(216, 200, 173, 0.72);
    background: rgba(255, 253, 248, 0.96);
    box-shadow: 0 12px 28px rgba(36, 26, 18, 0.08);
}

.menu-view-controls[hidden] {
    display: none;
}

.menu-back-main,
.menu-category-toggle {
    min-height: 42px;
    border: 1px solid rgba(185, 144, 70, 0.46);
    border-radius: 999px;
    padding: 0 15px;
    cursor: pointer;
    font-weight: 800;
}

.menu-back-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ink);
    color: var(--white);
}

.language-ar .menu-back-main span:first-child {
    transform: rotate(180deg);
}

.menu-category-toggle {
    background: rgba(255, 253, 248, 0.82);
    color: var(--wine);
}

.menu-back-main:hover,
.menu-back-main:focus-visible,
.menu-category-toggle:hover,
.menu-category-toggle:focus-visible {
    outline: 0;
    transform: translateY(-1px);
}

.category-focused .category-nav {
    top: calc(var(--header-height) + var(--viewbar-height));
}

.category-focused:not(.categories-expanded) .category-nav {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom-color: transparent;
    opacity: 0;
    pointer-events: none;
}

.menu-book {
    padding-top: 24px;
}

.menu-section {
    scroll-margin-top: calc(var(--header-height) + var(--viewbar-height) + 18px);
    padding-top: 30px;
}

.category-focused .menu-section {
    padding-top: 18px;
}

.section-title-block {
    margin-bottom: 22px;
}

.section-title-block::before {
    width: min(68vw, 420px);
}

.section-title-block h1 {
    max-width: min(100%, 480px);
    font-size: 1.72rem;
}

.section-note {
    background: rgba(255, 253, 248, 0.42);
}

.menu-list {
    gap: 14px;
}

.menu-item,
.menu-item.has-image,
.language-ar .menu-item,
.language-ar .menu-item.has-image {
    border-color: rgba(185, 144, 70, 0.42);
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(247, 237, 219, 0.7)),
        radial-gradient(circle at 18% 20%, rgba(185, 144, 70, 0.11), transparent 32%);
    box-shadow: 0 14px 34px rgba(36, 26, 18, 0.08);
}

.menu-item::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 11px;
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(185, 144, 70, 0.72));
    pointer-events: none;
}

.language-ar .menu-item::after {
    right: auto;
    left: 14px;
    background: linear-gradient(90deg, rgba(185, 144, 70, 0.72), transparent);
}

.menu-item:hover,
.menu-item:focus-visible {
    border-color: rgba(185, 144, 70, 0.82);
    box-shadow: 0 18px 42px rgba(36, 26, 18, 0.12);
}

.menu-item.has-image {
    grid-template-columns: 132px minmax(0, 1fr) auto;
    min-height: 164px;
}

.language-ar .menu-item.has-image {
    grid-template-columns: auto minmax(0, 1fr) 132px;
}

.item-photo,
.menu-item.has-image .item-photo,
.language-ar .menu-item.has-image .item-photo {
    width: 132px;
    height: 132px;
    border-radius: 8px;
    background:
        radial-gradient(circle at center, rgba(255, 253, 248, 0.52), rgba(239, 226, 202, 0.36) 62%, transparent 63%);
}

.item-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(1.12);
    filter: drop-shadow(0 16px 18px rgba(36, 26, 18, 0.18));
}

.price span {
    color: var(--ink);
    font-size: 2.08rem;
}

.detail-note {
    color: rgba(112, 102, 95, 0.9);
}

.item-modal-card {
    border-color: rgba(185, 144, 70, 0.82);
}

.item-modal-img {
    width: 100%;
    object-fit: contain;
}

@media (min-width: 720px) {
    :root {
        --header-height: 74px;
        --viewbar-height: 62px;
    }

    .site-header {
        grid-template-columns: minmax(180px, auto) minmax(280px, 560px) auto;
        padding: 11px 22px;
    }

    .header-logo {
        width: 54px;
        height: 54px;
    }

    .category-nav,
    .menu-view-controls {
        padding-left: max(22px, calc((100vw - 1160px) / 2 + 22px));
        padding-right: max(22px, calc((100vw - 1160px) / 2 + 22px));
    }

    .menu-book {
        padding-top: 30px;
    }

    .section-title-block h1 {
        font-size: 2.15rem;
    }

    .menu-item.has-image {
        grid-template-columns: 188px minmax(0, 1fr) auto;
        min-height: 210px;
    }

    .language-ar .menu-item.has-image {
        grid-template-columns: auto minmax(0, 1fr) 188px;
    }

    .item-photo,
    .menu-item.has-image .item-photo,
    .language-ar .menu-item.has-image .item-photo,
    .item-photo img {
        width: 188px;
        height: 188px;
    }

    .title-line h2 {
        font-size: 1.62rem;
    }

    .price span {
        font-size: 2.48rem;
    }
}

@media (max-width: 430px) {
    :root {
        --header-height: 66px;
        --viewbar-height: 102px;
    }

    .site-header {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .brand-menu {
        display: none;
    }

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

    .menu-back-main,
    .menu-category-toggle {
        width: 100%;
    }

    .menu-item.has-image {
        grid-template-columns: 126px minmax(0, 1fr);
        grid-template-rows: auto auto;
    }

    .language-ar .menu-item.has-image {
        grid-template-columns: minmax(0, 1fr) 126px;
    }

    .menu-item.has-image .price {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        margin-top: 4px;
    }

    .language-ar .menu-item.has-image .price {
        grid-column: 1;
        justify-self: end;
    }

    .item-photo,
    .menu-item.has-image .item-photo,
    .language-ar .menu-item.has-image .item-photo,
    .item-photo img {
        width: 126px;
        height: 126px;
    }

    .price span {
        min-width: 0;
        font-size: 1.9rem;
    }
}

@media (max-width: 360px) {
    .menu-item.has-image {
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .language-ar .menu-item.has-image {
        grid-template-columns: minmax(0, 1fr) 108px;
    }

    .item-photo,
    .menu-item.has-image .item-photo,
    .language-ar .menu-item.has-image .item-photo,
    .item-photo img {
        width: 108px;
        height: 108px;
    }
}