:root {
    --brown: #2f1c19;
    --brown-soft: #3d2823;
    --navy: var(--brown);
    --navy-soft: var(--brown-soft);
    --navy-mid: #4a312b;
    --gold: #a6894d;
    --gold-deep: #8d7340;
    --gold-ink: #6f5a32;
    --gold-soft: #e4d3ae;
    --ivory: #f7f3ea;
    --cream: #fbf8f3;
    --stone: #e9e0d1;
    --stone-deep: #d8cdb8;
    --taupe: #b8aa96;
    --charcoal: #241815;
    --ink: #241815;
    --muted: #7d7168;
    --line: rgba(166, 137, 77, 0.45);
    --shadow: 0 8px 24px rgba(47, 28, 25, 0.07);
    --primary-color: var(--gold-deep);
    --secondary-color: var(--navy);
    --light-color: var(--cream);
    --gray-color: var(--ivory);
    --text-color: var(--ink);
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--ivory);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-ar,
.product-title,
.category-btn,
.btn-order-now,
.btn-evening,
.btn-gold,
.pd-add-btn {
    font-family: 'Noto Kufi Arabic', 'Tajawal', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--charcoal);
}

button,
input,
textarea {
    font-family: inherit;
}

.arch-mark {
    width: 100%;
    height: 100%;
    color: var(--gold);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    height: 48px;
    width: auto;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
}

.brand-logo {
    height: 48px;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: center;
    display: block;
}

.brand-copy {
    min-width: 0;
}

.brand-ar {
    margin: 0;
    color: var(--brown);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.15;
}

.brand-en {
    margin: 1px 0 0;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    line-height: 1.2;
}

.brand-tagline {
    margin: 8px 0 0;
    color: var(--muted);
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
}

.brand-lockup--full {
    flex-direction: column;
    text-align: center;
    gap: 14px;
}

.brand-lockup--full .brand-mark,
.brand-lockup--full .brand-logo {
    height: 92px;
}

.brand-lockup--full .brand-ar {
    font-size: clamp(2.2rem, 7vw, 3.1rem);
    color: var(--brown);
}

.brand-lockup--full .brand-en {
    font-size: 1rem;
    letter-spacing: 0.42em;
    margin-top: 6px;
}

.brand-lockup--mini .brand-mark,
.brand-lockup--mini .brand-logo {
    height: 36px;
}

.brand-lockup--mini .brand-ar {
    font-size: 1rem;
}

.table-chip {
    margin-inline-start: auto;
    flex: none;
    border: 1px solid var(--taupe);
    color: var(--brown);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    background: transparent;
}

.landing-page {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--brown);
    background-color: #1a100e;
    background-image: url('../assets/brand/hero.jpg?v=2');
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
    padding: 28px 20px 18vh;
}

.landing-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 46% 42% at 50% 40%, rgba(247, 243, 234, 0.22), rgba(247, 243, 234, 0) 70%);
}

.landing-page .container {
    position: relative;
    z-index: 1;
    max-width: 440px;
}

.landing-page:has(.has-event-ad) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 100dvh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: clamp(10px, 1.8vh, 18px) clamp(14px, 3.5vw, 32px);
}

.landing-page .container.has-event-ad {
    width: min(100%, 920px);
    max-width: 920px;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(10px, 1.6vh, 18px);
}

.landing-intro {
    display: contents;
}

.has-event-ad .landing-intro {
    display: block;
    width: min(100%, 36rem);
    flex: 0 0 auto;
}

.has-event-ad .brand-lockup--full {
    gap: 6px;
}

.has-event-ad .brand-lockup--full .brand-mark,
.has-event-ad .brand-lockup--full .brand-logo {
    height: clamp(52px, 9vh, 76px);
}

.has-event-ad .brand-lockup--full .brand-ar {
    font-size: clamp(1.65rem, 4.6vw, 2.45rem);
}

.has-event-ad .gold-rule {
    margin: clamp(6px, 1vh, 12px) auto;
}

.has-event-ad .landing-welcome {
    max-width: 36rem;
    margin: 0 auto;
    font-size: clamp(0.92rem, 2vw, 1.02rem);
}

.has-event-ad .landing-actions {
    width: min(100%, 420px);
    flex: 0 0 auto;
    margin-top: 0;
}

.event-board {
    width: min(100%, 980px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: clamp(12px, 2vw, 18px);
    flex: 0 0 auto;
    margin: 0;
}

.event-card-copy {
    color: var(--brown);
    text-align: center;
    padding: 8px 4px 0;
}

.event-card-copy h2 {
    margin: 0;
    font-size: clamp(1rem, 2.4vw, 1.25rem);
}

.event-card-copy p {
    margin: 4px 0 0;
    font-size: 0.95rem;
}

.event-board .event-ad {
    flex: none;
    width: 100%;
    min-height: 0;
    container-type: inline-size;
}

.event-board .event-ad-frame {
    width: 100%;
    height: auto;
    aspect-ratio: var(--ad-ratio, 0.75);
}

.landing-page:has(.event-board) {
    height: auto;
    min-height: 100dvh;
}

.event-ad {
    flex: 1 1 auto;
    min-height: clamp(150px, 30dvh, 240px);
    width: min(100%, 760px);
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    container-type: size;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-ad-frame {
    position: relative;
    width: min(100cqi, 720px, calc(100cqh * var(--ad-ratio, 0.75)));
    max-width: 100%;
    aspect-ratio: var(--ad-ratio, 0.75);
    background: #1c1210;
    border: 1px solid rgba(166, 137, 77, 0.85);
    border-radius: clamp(14px, 2vw, 20px);
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 18px 42px rgba(18, 10, 8, 0.38);
    container-type: inline-size;
}

.event-ad img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #1c1210;
}

.event-ad-shade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(78px, 24%, 128px);
    background: linear-gradient(to top, rgba(18, 10, 8, 0.62), rgba(18, 10, 8, 0));
    pointer-events: none;
}

.event-ad-cta {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: clamp(12px, 4.5%, 28px);
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - clamp(20px, 8%, 48px));
    min-height: clamp(46px, 8vw, 58px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 1.5vw, 14px) clamp(18px, 4vw, 32px);
    border-radius: 999px;
    background: linear-gradient(180deg, #4a312b 0%, #2f1c19 100%);
    color: #f6ead0;
    font-family: 'Noto Kufi Arabic', 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: clamp(0.88rem, 8cqi, 1.2rem);
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #e4d3ae;
    box-shadow: 0 12px 26px rgba(18, 10, 8, 0.42), inset 0 1px 0 rgba(255, 236, 196, 0.35);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.event-ad-cta:hover {
    background: linear-gradient(180deg, #5a3d34 0%, #3d2823 100%);
    color: #fff8ea;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 16px 30px rgba(18, 10, 8, 0.48), inset 0 1px 0 rgba(255, 236, 196, 0.45);
}

.event-ad-cta:active {
    background: #241815;
    color: #f6ead0;
    transform: translateX(-50%) translateY(1px);
    box-shadow: 0 6px 14px rgba(18, 10, 8, 0.35);
}

.event-ad-cta:focus-visible {
    outline: 2px solid #e4d3ae;
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .landing-page:has(.has-event-ad) {
        height: auto;
        min-height: 100dvh;
    }

    .landing-page .container.has-event-ad {
        flex: none;
        min-height: calc(100dvh - clamp(20px, 3.6vh, 36px));
        justify-content: safe center;
    }

    .event-ad {
        flex: 0 0 auto;
        width: 100%;
        min-height: 0;
        container-type: inline-size;
    }

    .event-ad-frame {
        width: min(100cqi, 720px);
        height: auto;
        aspect-ratio: var(--ad-ratio, 0.75);
    }
}

@media (max-height: 540px) and (min-width: 761px) {
    .landing-page:has(.has-event-ad) {
        height: auto;
        min-height: 100dvh;
    }

    .landing-page .container.has-event-ad {
        flex: none;
        min-height: 0;
        justify-content: flex-start;
        gap: 8px;
    }

    .has-event-ad .landing-welcome,
    .has-event-ad .brand-en,
    .has-event-ad .brand-tagline {
        display: none;
    }

    .has-event-ad .brand-lockup--full .brand-mark,
    .has-event-ad .brand-lockup--full .brand-logo {
        height: 40px;
    }

    .has-event-ad .brand-lockup--full .brand-ar {
        font-size: 1.45rem;
    }

    .has-event-ad .landing-title {
        font-size: 1.15rem;
        margin: 0;
    }

    .event-ad {
        flex: 0 0 auto;
        width: min(100%, 640px);
        min-height: 0;
        container-type: inline-size;
    }

    .event-ad-frame {
        width: min(100cqi, calc(62dvh * var(--ad-ratio, 0.75)));
        height: auto;
        aspect-ratio: var(--ad-ratio, 0.75);
    }
}

@media (min-width: 768px) {
    .landing-page {
        background-position: center 46%;
        padding-bottom: 14vh;
    }
}

@media (min-width: 1200px) {
    .landing-page {
        background-position: center center;
        padding-bottom: 10vh;
    }
}

.gold-rule {
    width: 56px;
    height: 1px;
    margin: 18px auto;
    background: var(--gold);
}

.landing-title {
    font-size: 1.5rem;
    color: var(--brown);
    margin: 0 0 8px;
    text-shadow: 0 1px 10px rgba(247, 243, 234, 0.55);
}

.landing-welcome {
    color: var(--brown-soft);
    font-size: 1.05rem;
    max-width: 420px;
    margin: 0 auto 28px;
    text-shadow: 0 1px 10px rgba(247, 243, 234, 0.55);
}

.table-number {
    font-size: 1rem;
    color: var(--brown);
    border: 1px solid var(--taupe);
    padding: 6px 16px;
    border-radius: 8px;
    display: inline-block;
    margin: 8px 0 18px;
    background: transparent;
}

.btn-order-now {
    background: var(--gold);
    color: var(--navy);
    padding: 14px 36px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-order-now:hover {
    background: var(--gold-soft);
    color: var(--navy);
    transform: translateY(-1px);
}

.landing-tools {
    position: absolute;
    z-index: 3;
    top: 14px;
    inset-inline-end: 14px;
}

.landing-more {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(47, 28, 25, 0.18);
    border-radius: 999px;
    background: rgba(247, 243, 234, 0.88);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}

.landing-more span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brown);
    display: block;
}

.landing-more:hover,
.landing-more:focus-visible {
    background: var(--ivory);
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.landing-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 220px;
    background: var(--ivory);
    border: 1px solid var(--stone);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 6px;
}

.landing-menu a {
    display: block;
    color: var(--brown);
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    padding: 12px 14px;
}

.landing-menu a:hover,
.landing-menu a:focus-visible {
    background: var(--gold-soft);
    outline: none;
}

.landing-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-hall,
.btn-evening,
.btn-order-now {
    width: min(100%, 320px);
}

.btn-evening {
    background: var(--gold-soft);
    color: var(--brown);
    padding: 14px 22px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Noto Kufi Arabic', 'Tajawal', sans-serif;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid var(--gold);
    box-shadow: 0 8px 18px rgba(47, 28, 25, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-evening:hover,
.btn-evening:focus-visible {
    background: #efe3c8;
    color: var(--brown);
    transform: translateY(-1px);
}

.btn-hall {
    background: var(--brown);
    color: var(--gold-soft);
    padding: 14px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Noto Kufi Arabic', 'Tajawal', sans-serif;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid var(--brown);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-hall:hover,
.btn-hall:focus-visible {
    background: var(--brown-soft);
    color: var(--ivory);
    transform: translateY(-1px);
}

.hall-page {
    background: var(--ivory);
    min-height: 100vh;
    min-height: 100dvh;
}

.hall-wrap {
    width: min(640px, calc(100% - 28px));
    margin: 28px auto 48px;
}

.hall-wrap.reserve-layout {
    width: min(1180px, calc(100% - 28px));
}

.hall-card {
    background: var(--cream);
    border: 1px solid var(--stone);
    border-radius: 18px;
    padding: 22px 18px 18px;
}

.hall-card h1 {
    font-size: 1.45rem;
    margin: 0 0 8px;
}

.hall-card .lead {
    color: var(--muted);
    margin: 0 0 18px;
}

.hall-card label {
    display: block;
    font-weight: 700;
    margin: 12px 0 6px;
}

.hall-card input,
.hall-card select,
.hall-card textarea {
    width: 100%;
    border: 1px solid var(--stone-deep);
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
}

.hall-card input:focus,
.hall-card select:focus,
.hall-card textarea:focus {
    outline: 2px solid var(--gold);
    border-color: var(--gold);
}

.hall-error {
    background: #f8ece8;
    color: #7a341f;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.hall-success {
    text-align: center;
    padding: 12px 8px 4px;
}

.hall-success strong {
    display: block;
    margin: 8px 0;
    font-size: 1.15rem;
}

.hall-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.hall-actions button,
.hall-actions a {
    min-height: 48px;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hall-actions button {
    border: none;
    background: var(--brown);
    color: var(--ivory);
    cursor: pointer;
    flex: 1;
}

.hall-actions a {
    border: 1px solid var(--taupe);
    color: var(--brown);
    background: transparent;
}

.menu-page {
    padding-bottom: 0;
}

.menu-wrap {
    flex: 1;
}

.menu-top {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--ivory);
}

.menu-header {
    padding: 10px 14px 8px;
}

.menu-header .brand-lockup {
    width: 100%;
}

.category-filter {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 12px 12px;
    background: var(--ivory);
    border-bottom: 1px solid var(--stone);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

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

.category-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 999px;
    background: var(--stone);
    color: var(--brown);
    text-decoration: none;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    min-height: 40px;
}

.category-btn.active {
    background: var(--gold);
    color: var(--brown);
    border-color: var(--gold);
}

.category-btn:hover {
    color: var(--navy);
    border-color: var(--stone-deep);
}

.category-btn.active:hover {
    color: var(--brown);
}

.menu-wrap {
    padding-top: 14px;
    padding-bottom: 8px;
}

.menu-intro {
    margin: 4px 0 16px;
}

.menu-intro h1 {
    font-size: 1.45rem;
    margin: 0 0 2px;
}

.menu-intro p {
    margin: 0;
    color: var(--gold-ink);
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.12em;
    font-size: 0.95rem;
    direction: ltr;
    text-align: right;
}

.menu-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-inline-start: 3px solid var(--gold);
    color: var(--brown-soft);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 18px;
}

.menu-notice i {
    color: var(--gold-deep);
    font-size: 1.15rem;
    flex: none;
}

.menu-notice p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border: 1px solid rgba(196, 165, 116, 0.28);
    border-radius: 16px;
    overflow: hidden;
    min-height: 0;
    height: 100%;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(47, 28, 25, 0.1);
}

.product-card:active {
    transform: scale(0.995);
}

.product-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    flex: none;
    display: block;
    background: var(--stone);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
}

.product-img-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--taupe);
    background-color: var(--stone);
}

.product-img-empty .arch-mark {
    width: 48px;
    height: 22px;
}

.product-body {
    flex: 1;
    min-width: 0;
    padding: 12px 14px 12px;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
    color: var(--charcoal);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title-link {
    color: inherit;
    text-decoration: none;
}

.product-name-en {
    margin: 0 0 4px;
    color: var(--gold-ink);
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    line-height: 1.2;
}

.product-desc {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-foot {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.money {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    white-space: nowrap;
}

.price-tag {
    font-family: 'Tajawal', 'Segoe UI', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--gold-ink);
    line-height: 1.2;
}

.avail {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
    color: #3e6b4f;
}

.avail.is-off {
    color: var(--muted);
}

.details-btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--gold-ink);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.details-btn i {
    font-size: 0.7rem;
}

.details-btn:hover {
    background: var(--brown);
    border-color: var(--brown);
    color: var(--gold-soft);
}

.empty-state {
    text-align: center;
    padding: 48px 16px;
    color: var(--muted);
}

.empty-state .arch-mark {
    width: 64px;
    height: 26px;
    margin: 0 auto 12px;
    color: var(--gold-deep);
}

.btn-confirm,
.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    min-height: 46px;
}

.btn-gold:hover,
.btn-confirm:hover {
    background: var(--gold-soft);
    color: var(--navy);
}

.btn-gold:disabled {
    opacity: 0.7;
}

.table-info-box {
    background: var(--ivory);
    border: 1px solid var(--stone);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--navy);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--stone);
}

.item-qty {
    color: var(--gold-ink);
    font-size: 0.92rem;
}

.total-box {
    background: var(--navy);
    color: var(--gold-soft);
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 12px auto;
    border: 1px solid var(--line);
}

.status-badge {
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    margin: 16px 0;
}

.status-sent,
.status-preparing {
    background: #f3ead7;
    color: #6d5428;
}

.status-ready {
    background: #e5f0e8;
    color: #24543a;
}

.page-header.dark,
.subpage-header {
    background: var(--ivory);
    color: var(--brown);
    padding: 12px 0;
    border-bottom: 1px solid var(--stone);
}

.subpage-header .container,
.page-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.back-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--taupe);
    color: var(--brown);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex: none;
}

.back-link:hover {
    color: var(--gold);
}

.subpage-title {
    margin: 0;
    color: var(--brown);
    font-size: 1.15rem;
    text-align: center;
    flex: 1;
}

.header-spacer {
    width: 42px;
    flex: none;
}

.site-footer {
    margin-top: auto;
    background:
        linear-gradient(180deg, rgba(166, 137, 77, 0.14), rgba(166, 137, 77, 0) 72px),
        var(--brown);
    color: var(--cream);
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 16px 20px 4px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
}

.footer-brand {
    min-width: 0;
}

.footer-logo {
    height: 46px;
    width: auto;
    display: block;
    background: var(--ivory);
    padding: 6px 8px;
    border-radius: 8px;
    margin-bottom: 6px;
}

.footer-name {
    margin: 0;
    color: var(--cream);
    font-family: 'Noto Kufi Arabic', 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
}

.footer-en,
.footer-tagline {
    margin: 2px 0 0;
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold-soft);
    direction: ltr;
    text-align: right;
}

.footer-en {
    letter-spacing: 0.22em;
    font-size: 0.82rem;
}

.footer-tagline {
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}

.footer-heading {
    margin: 0 0 6px;
    color: var(--gold-soft);
    font-family: 'Noto Kufi Arabic', 'Tajawal', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
}

.footer-links a {
    display: block;
    color: var(--cream);
    text-decoration: none;
    padding: 3px 0;
    min-height: 32px;
    font-size: 0.9rem;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--gold-soft);
}

.footer-links a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.footer-address {
    margin: 0 0 10px;
    font-size: 0.95rem;
}

.footer-address i {
    color: var(--gold-soft);
    margin-inline-end: 6px;
}

.footer-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--gold);
    color: var(--brown);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
}

a.footer-map:hover,
a.footer-map:focus-visible {
    background: var(--gold-soft);
    color: var(--brown);
}

span.footer-map {
    opacity: 0.72;
}

.footer-bottom {
    max-width: 1080px;
    margin: 4px auto 0;
    padding: 8px 20px 10px;
    border-top: 1px solid rgba(228, 211, 174, 0.28);
    color: rgba(251, 248, 243, 0.78);
    font-size: 0.82rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom span {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.12em;
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 1.2fr 1fr 1fr 0.9fr;
        gap: 16px 24px;
        padding-top: 16px;
    }

    .footer-logo {
        height: 52px;
    }
}

.modal-bottom .modal-dialog {
    margin: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 640px;
    margin-inline: auto;
}

.modal-bottom .modal-content {
    border-radius: 22px 22px 0 0;
    border: none;
    background: var(--cream);
}

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

.modal-header .btn-close {
    margin: 0;
}

.modal-footer {
    border-top: 1px solid var(--stone);
}

.modal-title {
    font-family: 'Noto Kufi Arabic', 'Tajawal', sans-serif;
}

#cartOrderNotes,
#orderNotes {
    background: var(--ivory);
    border: 1px solid var(--stone-deep);
    border-radius: 12px;
    color: var(--ink);
}

#cartOrderNotes:focus,
#orderNotes:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.22);
}

.qty-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--stone-deep);
    background: var(--ivory);
    color: var(--navy);
    font-weight: 700;
}

.cart-line {
    gap: 10px;
}

.cart-total {
    color: var(--gold-ink);
    font-family: 'Tajawal', 'Segoe UI', sans-serif;
    font-weight: 700;
}

.gate-page,
.lock-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(196, 165, 116, 0.16), transparent 50%),
        var(--navy);
}

.gate-card,
.lock-container {
    width: 100%;
    max-width: 460px;
    background: var(--cream);
    border-radius: 22px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(196, 165, 116, 0.28);
    box-shadow: var(--shadow);
}

.gate-card .brand-ar,
.lock-container .brand-ar,
.modal-content .brand-ar {
    color: var(--navy);
}

.gate-card .brand-lockup,
.lock-container .brand-lockup,
.modal-content .brand-lockup {
    justify-content: center;
    margin-bottom: 18px;
}

.gate-icon,
.lock-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--gold);
    font-size: 30px;
    border: 1px solid var(--line);
}

.gate-card h1,
.lock-container h1 {
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.gate-message,
.lock-container .message,
.lock-container p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.pd-page {
    background: var(--ivory);
    padding-bottom: 96px;
}

.product-details-container {
    width: min(1040px, 100%);
    margin: 0 auto;
    background: transparent;
}

.product-header {
    background: var(--ivory);
    border-bottom: 1px solid var(--stone);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-header .back-button {
    background: transparent;
    border: 1px solid var(--taupe);
    color: var(--brown);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.product-header .brand-ar {
    color: var(--brown);
}

.product-image-wrapper {
    width: auto;
    aspect-ratio: 4 / 3;
    margin: 12px 14px 0;
    border-radius: 18px;
    overflow: hidden;
    background: var(--stone);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.product-image-empty {
    background: var(--stone);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px 18px 28px;
}

.pd-page .product-category {
    display: inline-block;
    background: var(--ivory);
    color: var(--gold-ink);
    border: 1px solid var(--stone);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.pd-page .product-title {
    font-size: 1.7rem;
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}

.pd-price-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin: 8px 0 16px;
}

.pd-page .product-price {
    font-family: 'Tajawal', 'Segoe UI', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--gold-ink);
    margin: 0;
}

.short-description {
    background: var(--ivory);
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.7;
    border: 1px solid var(--stone);
}

.read-more-btn {
    background: var(--navy);
    border: 1px solid var(--line);
    color: var(--gold-soft);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    cursor: pointer;
}

.full-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.45s ease, margin 0.45s ease;
    background: var(--cream);
    border-radius: 12px;
    padding: 0;
    margin: 0;
}

.full-description.expanded {
    max-height: 2000px;
    padding: 16px;
    margin-top: 12px;
    border: 1px solid var(--stone);
}

.full-description-content {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.8;
}

.full-description-content h1,
.full-description-content h2,
.full-description-content h3,
.full-description-content strong {
    color: var(--charcoal);
}

.full-description-content ul,
.full-description-content ol {
    padding-inline-start: 1.2rem;
}

.pd-waiter-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(251, 248, 243, 0.97);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--stone);
    z-index: 100;
}

.pd-waiter-inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pd-waiter-text {
    margin: 0;
    color: var(--brown-soft);
    font-size: 0.92rem;
    line-height: 1.5;
}

.pd-waiter-text i {
    color: var(--gold-deep);
    margin-inline-end: 6px;
}

.pd-back-menu {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 12px;
    background: var(--brown);
    color: var(--gold-soft);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
}

.pd-back-menu:hover {
    color: var(--gold);
}

.order-status-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.order-status-hero,
.order-status-body {
    width: min(640px, 100%);
    margin-inline: auto;
}

.order-status-body {
    flex: 1;
}

.order-status-hero {
    background: var(--ivory);
    color: var(--brown);
    border-bottom: 1px solid var(--stone);
    text-align: center;
    padding: 22px 16px 26px;
}

.order-status-hero .brand-lockup {
    justify-content: center;
    margin-bottom: 14px;
}

.order-number,
.orders-heading {
    font-family: 'Noto Kufi Arabic', 'Tajawal', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--brown);
    margin: 0 0 4px;
}

.orders-count {
    margin: 0 0 6px;
    color: var(--gold-ink);
    font-weight: 600;
}

.order-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.visit-order {
    background: var(--cream);
    border: 1px solid var(--stone);
    border-radius: 14px;
    padding: 14px 14px 12px;
    box-shadow: var(--shadow);
}

.visit-order-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.visit-order-head h2 {
    margin: 0;
    font-size: 1.05rem;
}

.visit-order-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.visit-items {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.visit-items th,
.visit-items td {
    padding: 7px 0;
    border-bottom: 1px solid var(--stone);
    text-align: right;
    font-size: 0.95rem;
}

.visit-items th {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.8rem;
}

.visit-items td:last-child,
.visit-items th:last-child {
    text-align: left;
    width: 72px;
}

.visit-notes {
    margin: 0 0 10px;
    color: var(--brown-soft);
    font-size: 0.9rem;
}

.visit-notes span {
    font-weight: 700;
}

.visit-meta {
    margin: 0 0 8px;
    color: var(--brown-soft);
    font-size: 0.9rem;
}

.visit-meta i {
    color: var(--gold);
    margin-inline-end: 6px;
}

.visit-status {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-weight: 600;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.82rem;
    font-weight: 700;
}

.status-sent {
    background: var(--gold-soft);
    color: var(--brown);
}

.status-preparing {
    background: var(--stone);
    color: var(--brown);
}

.status-ready {
    background: var(--brown);
    color: var(--gold-soft);
}

.order-status-body {
    padding: 20px 16px 0;
}

.current-status {
    background: var(--navy);
    color: var(--cream);
    padding: 22px 16px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 24px;
    border: 1px solid var(--line);
}

.current-status h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
    color: var(--gold-soft);
}

.current-status p {
    margin: 0;
    color: rgba(255, 253, 248, 0.78);
}

.status-progress {
    position: relative;
    margin: 28px 0;
}

.progress-step {
    display: flex;
    align-items: center;
    margin-bottom: 26px;
    position: relative;
}

.progress-step:last-child {
    margin-bottom: 0;
}

.step-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--stone);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--muted);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-circle.active {
    background: var(--navy);
    color: var(--gold);
    border: 1px solid var(--line);
}

.step-circle.completed {
    background: var(--gold-ink);
    color: var(--cream);
}

.step-content {
    margin-inline-start: 16px;
    flex-grow: 1;
}

.step-title {
    font-family: 'Noto Kufi Arabic', 'Tajawal', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.step-description {
    color: var(--muted);
    font-size: 0.92rem;
}

.progress-line {
    position: absolute;
    inset-inline-start: 27px;
    top: 56px;
    width: 2px;
    height: calc(100% - 30px);
    background: var(--stone-deep);
    z-index: 1;
}

.progress-step:last-child .progress-line {
    display: none;
}

.action-buttons {
    text-align: center;
    margin-top: 28px;
}

.action-buttons .btn {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
    min-height: 48px;
}

.action-buttons .btn:hover {
    background: var(--navy);
    color: var(--gold-soft);
}

.last-update {
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 16px;
}

.lock-page .scan-btn {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 14px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    min-height: 50px;
}

.lock-page .scan-btn:disabled {
    background: var(--stone);
    color: var(--muted);
}

.lock-page .timer-box {
    background: var(--ivory);
    padding: 22px;
    border-radius: 14px;
    margin: 22px 0;
    border: 1px solid var(--line);
}

.lock-page .timer {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
    direction: ltr;
    margin: 6px 0;
}

.lock-page .timer-label,
.lock-page .info-box p {
    color: var(--muted);
}

.lock-page .info-box {
    background: var(--ivory);
    padding: 14px;
    border-radius: 12px;
    border-inline-start: 3px solid var(--gold);
    margin-top: 8px;
}

.status-step {
    text-align: center;
    position: relative;
    padding-bottom: 30px;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--stone);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    position: relative;
    z-index: 1;
    font-size: 22px;
    color: var(--muted);
}

.step-active .step-icon {
    background: var(--navy);
    color: var(--gold);
}

.step-completed .step-icon {
    background: var(--gold-ink);
    color: var(--cream);
}

.category-page .product-card {
    height: 100%;
}

@media (min-width: 768px) {
    .menu-header {
        padding: 14px 22px 10px;
    }

    .brand-mark,
    .brand-logo {
        height: 54px;
        width: auto;
    }

    .brand-ar {
        font-size: 1.35rem;
    }

    .menu-wrap .row {
        --bs-gutter-y: 1.15rem;
    }

    .product-body {
        padding: 14px 16px 16px;
    }

    .product-title {
        font-size: 1.12rem;
    }

    .pd-layout {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 28px;
        align-items: start;
        padding: 18px 20px 0;
    }

    .pd-page .product-image-wrapper {
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0;
        position: sticky;
        top: 16px;
    }

    .pd-page .product-info {
        padding: 8px 4px 28px;
    }
}

@media (min-width: 1200px) {
    .menu-shell {
        max-width: 1080px;
    }
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(166, 137, 77, 0.22);
}

.modal-content {
    border-radius: 16px;
    border: 1px solid var(--stone);
    overflow: hidden;
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .details-btn,
    .btn-order-now,
    .btn-hall,
    .btn-evening,
    .event-ad-cta,
    .category-btn {
        transition: none;
    }

    .event-ad-cta:hover,
    .event-ad-cta:active {
        transform: translateX(-50%);
    }

    .product-card:hover {
        transform: none;
    }
}

.category-btn:focus-visible,
.details-btn:focus-visible,
.btn-order-now:focus-visible,
.btn-hall:focus-visible,
.btn-evening:focus-visible,
.event-ad-cta:focus-visible,
.landing-more:focus-visible,
.back-link:focus-visible,
.pd-back-menu:focus-visible,
.package-book:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.package-page {
    background: var(--ivory);
    min-height: 100vh;
    min-height: 100dvh;
}

.package-wrap {
    width: min(1080px, calc(100% - 28px));
    margin: 24px auto 48px;
}

.package-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    min-height: 48px;
    margin-top: 18px;
    padding: 12px 18px;
    border: 1px solid var(--gold);
    border-radius: 12px;
    background: transparent;
    color: var(--brown);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.package-home:hover {
    background: var(--cream);
    color: var(--brown);
}

.package-home:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

@media (max-width: 360px) {
    .package-home {
        padding-inline: 12px;
        font-size: 0.95rem;
    }
}

.package-intro {
    background: var(--cream);
    border: 1px solid var(--stone);
    border-radius: 18px;
    padding: 22px 18px;
    margin-bottom: 18px;
}

.package-intro h1 {
    margin: 0 0 8px;
    font-size: 1.6rem;
    color: var(--brown);
}

.package-intro p {
    margin: 0;
    color: var(--muted);
}

.package-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.package-card {
    background: var(--cream);
    border: 1px solid var(--stone);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.package-card:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
}

.package-visual {
    min-height: 132px;
    background: #f3ecdf;
    border-bottom: 1px solid var(--stone);
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-visual img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.package-placeholder {
    color: var(--gold-ink);
    font-family: 'Noto Kufi Arabic', 'Tajawal', sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.package-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.package-body h2 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--brown);
}

.package-body p {
    margin: 0;
    color: var(--ink);
    line-height: 1.7;
    flex: 1;
}

.package-price {
    color: var(--brown);
    font-weight: 700;
    font-size: 1.15rem;
}

.package-book {
    margin-top: 8px;
    min-height: 48px;
    border-radius: 10px;
    background: var(--brown);
    color: var(--gold-soft);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.package-book:hover {
    background: var(--brown-soft);
    color: var(--ivory);
}

.reserve-summary,
.pay-choice {
    border: 1px solid var(--stone);
    background: var(--ivory);
    border-radius: 14px;
    padding: 12px 14px;
    margin: 12px 0;
}

.pay-choice label {
    font-weight: 500;
    margin: 8px 0;
}

.section-title {
    margin: 18px 0 4px;
    color: var(--brown);
    font-size: 1.05rem;
}

@media (min-width: 700px) {
    .package-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1020px) {
    .package-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.package-services {
    background: var(--cream);
    border: 1px solid var(--stone);
    border-radius: 18px;
    padding: 22px 18px;
    margin-bottom: 18px;
}

.package-services h2,
.package-detail-body h3 {
    margin: 0 0 8px;
    color: var(--brown);
}

.package-services > p,
.service-card p,
.package-detail-body p {
    margin: 0 0 8px;
    line-height: 1.7;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
}

.service-card {
    background: var(--ivory);
    border: 1px solid var(--stone);
    border-radius: 14px;
    padding: 14px;
}

.service-card-extra {
    border-color: var(--gold);
}

.service-icon {
    color: var(--gold-ink);
    font-size: 1.15rem;
}

.service-card h3 {
    margin: 6px 0;
    font-size: 1.05rem;
    color: var(--brown);
}

.service-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.package-details {
    margin-top: 8px;
}

.package-details summary {
    min-height: 48px;
    border-radius: 10px;
    background: var(--brown);
    color: var(--gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

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

.package-details summary:focus-visible,
.extra-choice:focus-visible,
.extra-qty:focus-visible,
.extra-guests:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.package-detail-body {
    padding-top: 12px;
}

.extra-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.extra-list li,
.estimate {
    background: var(--ivory);
    border: 1px solid var(--stone);
    border-radius: 12px;
    padding: 10px;
}

.extra-list label {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-weight: 700;
    color: var(--brown);
}

.extra-desc,
.extra-price,
.extra-qty-label,
.extra-guest-label {
    display: block;
    margin-top: 4px;
}

.extra-qty,
.extra-guests {
    width: 6.5rem;
    min-height: 42px;
    margin-top: 4px;
    border: 1px solid var(--stone);
    border-radius: 8px;
    padding: 6px 8px;
    background: #fff;
}

.est-lines p {
    margin: 0 0 4px;
}

@media (min-width: 700px) {
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .package-card {
        transition: none;
    }
    .package-card:hover {
        transform: none;
    }
}

@media (max-width: 360px) {
    .btn-evening {
        white-space: normal;
    }
}

.reserve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.reserve-table {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 76px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--stone-deep);
    border-radius: 12px;
    background: #fff;
    color: var(--brown);
    cursor: pointer;
}

.reserve-table input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.reserve-table strong {
    font-size: 1rem;
}

.reserve-state {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.reserve-table.is-available {
    border-color: var(--gold);
}

.reserve-table.is-reserved,
.reserve-table.is-locked,
.reserve-table.is-pending {
    cursor: default;
    background: var(--ivory);
}

.reserve-table.is-locked .reserve-state,
.reserve-table.is-reserved .reserve-state {
    color: #7a341f;
}

.reserve-table.is-available .reserve-state {
    color: var(--gold-ink);
}

.reserve-table:has(input:checked) {
    border-color: var(--brown);
    box-shadow: 0 0 0 2px rgba(166, 137, 77, 0.45);
    background: var(--gold-soft);
}

.reserve-table:has(input:focus-visible) {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.hall-actions button.reserve-preview {
    background: transparent;
    color: var(--brown);
    border: 1px solid var(--gold);
}

.venue-stage {
    margin: 8px 0 16px;
}

.venue-canvas {
    height: min(62vh, 560px);
    min-height: 280px;
    border: 1px solid var(--stone-deep);
    border-radius: 16px;
    overflow: hidden;
    background: #1a100e;
}

.venue-canvas canvas {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
}

.venue-help,
.venue-status,
.venue-pick {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.venue-pick {
    color: var(--brown);
    font-weight: 700;
    min-height: 1.4em;
}

.venue-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.venue-legend li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--brown);
}

.swatch {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
}

.swatch-open {
    background: var(--gold-soft);
    border: 1px solid var(--gold);
}

.swatch-busy {
    background: #8d4b3c;
}

.swatch-lock {
    background: #6b5e56;
}

.swatch-selected {
    background: #a6894d;
}

.swatch-absent {
    background: #d9d0c4;
    border: 1px solid #8a7b70;
}

.venue-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 14px;
    align-items: start;
}

.venue-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.venue-toolbar button,
.venue-panel button {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--brown);
    font-weight: 700;
    padding: 8px 12px;
}

.venue-panel {
    display: none;
    background: #fbf8f3;
    border: 1px solid var(--stone);
    border-radius: 16px;
    padding: 14px;
}

.venue-panel.is-open {
    display: block;
}

html.js .reserve-identity {
    display: none;
}

html.js .reserve-identity.is-open {
    display: block;
}

.venue-panel h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.reserve-capacity,
.reserve-pay-note,
.venue-panel p {
    margin: 0 0 8px;
    color: var(--brown);
}

.reserve-math,
#venuePanelBody {
    font-weight: 700;
    line-height: 1.7;
    white-space: pre-line;
}

.qr-card {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 16px 0;
}

.qr-card img {
    width: min(240px, 70vw);
    height: auto;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
}

.qr-card code {
    direction: ltr;
    unicode-bidi: isolate;
    word-break: break-all;
}

@media (max-width: 1100px), (max-height: 800px) {
    .venue-layout {
        grid-template-columns: 1fr;
    }

    .venue-canvas {
        height: min(46vh, 420px);
        min-height: 220px;
    }

    .venue-panel {
        position: sticky;
        bottom: 8px;
    }
}

@media (max-width: 768px) {
    .venue-canvas {
        height: 46vh;
        min-height: 220px;
    }
}

body.table-map-page {
    margin: 0;
    min-height: 100vh;
    background: #221816;
    color: #2f1c19;
}

.table-map {
    position: fixed;
    inset: 0;
}

.table-map .venue-canvas {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: #221816;
}

.phone-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.map-booking .phone-field {
    width: 100%;
}

.phone-country {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 5.5rem;
    min-height: 40px;
    padding: 6px 8px;
    border: 1px solid var(--stone-deep);
    border-radius: 8px;
    background: #fff;
    color: #2f1c19;
    font-weight: 700;
}

.phone-dial,
.phone-field input[type="tel"] {
    direction: ltr;
    text-align: left;
}

.phone-menu {
    position: fixed;
    z-index: 30;
    display: grid;
    gap: 6px;
    max-height: 220px;
    padding: 8px;
    overflow: auto;
    border: 1px solid #e4d3ae;
    border-radius: 10px;
    background: #fbf8f3;
    box-shadow: 0 10px 24px rgba(34, 24, 22, 0.2);
}

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

.phone-options {
    margin: 0;
    padding: 0;
    list-style: none;
}

.phone-options li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 4px;
    border-radius: 6px;
    cursor: pointer;
}

.phone-options li[aria-selected="true"] {
    background: #efe4c8;
}

.map-booking input,
.history-card input {
    min-height: 40px;
    border: 1px solid var(--stone-deep);
    border-radius: 8px;
    padding: 6px 8px;
}

.map-booking button,
#capacityNotice button {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    background: var(--brown);
    color: #fff;
    font-weight: 700;
    padding: 6px 12px;
}

.map-booking .phone-country {
    border: 1px solid var(--stone-deep);
    background: #fff;
    color: #2f1c19;
}

.map-status,
.map-alert {
    margin: 0;
    font-size: 0.85rem;
}

.map-status,
.map-alert {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(251, 248, 243, 0.94);
}

.map-retry {
    margin-inline-start: 8px;
    border: 0;
    border-radius: 8px;
    background: #3b241f;
    color: #fff;
    font: inherit;
    padding: 4px 8px;
    cursor: pointer;
}

.map-booking {
    position: absolute;
    z-index: 6;
    display: grid;
    gap: 6px;
    width: 280px;
    max-height: min(70vh, 420px);
    overflow: auto;
    padding: 12px;
    border-radius: 14px;
    background: rgba(251, 248, 243, 0.97);
    box-shadow: 0 10px 28px rgba(34, 24, 22, 0.28);
}

.map-booking[hidden] {
    display: none;
}

.map-booking-tools {
    display: flex;
    gap: 6px;
}

.map-booking-tools button {
    min-height: 34px;
    padding: 4px 8px;
    font-size: 0.82rem;
}

.map-booking input.is-invalid {
    outline: 2px solid #8a3b32;
    outline-offset: 1px;
}

.map-dock {
    position: absolute;
    z-index: 6;
    left: 12px;
    bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: min(460px, calc(100% - 24px));
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(251, 248, 243, 0.96);
    box-shadow: 0 8px 24px rgba(34, 24, 22, 0.18);
}

.map-dock[hidden] {
    display: none;
}

.map-dock p {
    flex: 1 1 180px;
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
}

.map-dock button,
.map-review-actions button {
    min-height: 36px;
}

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

#bookingReview,
#bookingOtp {
    width: min(440px, calc(100% - 24px));
    border: 0;
    border-radius: 14px;
    padding: 16px;
    background: #fbf8f3;
    color: #2f1c19;
}

.map-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 8px 0;
    font-size: 0.92rem;
}

.map-consent input {
    margin-top: 4px;
}

#bookingOtp input {
    width: 100%;
    min-height: 40px;
    margin: 6px 0 8px;
}

#bookingOtp button:disabled {
    opacity: 0.55;
}

#bookingReview h2,
#bookingReview p {
    margin: 0 0 8px;
}

#bookingReviewBody p:last-child {
    font-weight: 700;
}

.map-booking label {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
}

.map-close {
    justify-self: start;
    background: transparent !important;
    color: var(--brown) !important;
    border: 1px solid var(--gold) !important;
}

.map-capacity {
    min-height: 1.2em;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
}

.map-prices p {
    margin: 0;
    font-size: 0.82rem;
}

.map-prices p:last-child {
    font-weight: 700;
}

.map-price-hint {
    position: absolute;
    z-index: 5;
    margin: 0;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(251, 248, 243, 0.96);
    color: #2f1c19;
    font-size: 0.82rem;
    font-weight: 700;
    pointer-events: none;
}

.map-confirmation {
    max-width: 420px;
    margin: 8vh auto;
    padding: 24px;
    border-radius: 16px;
    background: #fbf8f3;
    text-align: center;
}

#capacityNotice {
    width: min(420px, calc(100% - 24px));
    border: 0;
    border-radius: 14px;
    padding: 16px;
    background: #fbf8f3;
    color: #2f1c19;
}

.table-legend {
    position: absolute;
    z-index: 4;
    top: 12px;
    right: 12px;
    width: 280px;
    max-height: calc(100% - 24px);
    overflow: auto;
    padding: 12px 14px;
    border: 1px solid #e4d3ae;
    border-radius: 14px;
    background: rgba(251, 248, 243, 0.96);
    color: #2f1c19;
    box-shadow: 0 8px 24px rgba(34, 24, 22, 0.16);
}

.table-legend-details > summary {
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

.table-legend-details > summary:focus-visible {
    outline: 2px solid #a6894d;
    outline-offset: 3px;
}

.table-legend ul {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.table-legend li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.table-legend-swatch {
    position: relative;
    flex: none;
    width: 32px;
    height: 32px;
    margin-top: 2px;
    border: 1px solid rgba(47, 28, 25, 0.28);
    border-radius: 6px;
}

.table-legend-swatch[data-tone="manual"]::before,
.table-legend-swatch[data-tone="manual"]::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 72%;
    border-radius: 999px;
    background: var(--mark-fill);
    box-shadow: 0 0 0 1.5px var(--mark-outline);
}

.table-legend-swatch[data-tone="manual"]::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.table-legend-swatch[data-tone="manual"]::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.table-legend-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.table-legend-copy strong {
    font-size: 0.92rem;
}

.table-legend-copy span {
    font-size: 0.78rem;
    line-height: 1.45;
}

@media (min-width: 801px) {
    .table-map .venue-canvas {
        right: 304px;
    }

    .map-status,
    .map-alert {
        left: calc((100% - 304px) / 2);
    }

    .table-legend-details > summary {
        list-style: none;
        cursor: default;
        pointer-events: none;
    }

    .table-legend-details > summary::-webkit-details-marker {
        display: none;
    }
}

@media (max-width: 1100px) and (min-width: 801px) {
    .table-legend {
        width: 230px;
        padding: 10px 12px;
    }

    .table-map .venue-canvas {
        right: 254px;
    }

    .map-status,
    .map-alert {
        left: calc((100% - 254px) / 2);
        width: min(460px, calc(100% - 278px));
    }
}

@media (max-width: 800px) {
    .table-map {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .map-booking {
        width: auto;
        max-height: 42vh;
    }

    .map-dock {
        left: 8px;
        right: 8px;
        width: auto;
        bottom: calc(8px + env(safe-area-inset-bottom));
    }

    .table-map .venue-canvas {
        position: relative;
        inset: auto;
        width: auto;
        height: auto;
        min-height: 0;
    }

    .table-legend {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: auto;
        max-height: 42vh;
        margin: 8px 12px 0;
    }
}
