:root {
    --cyan: #08def4;
    --cyan-soft: rgba(8, 222, 244, 0.11);
    --green: #27dd86;
    --red: #ff6678;
    --bg: #05070a;
    --card: #10151a;
    --card2: #0a0e12;
    --border: rgba(150, 174, 190, 0.18);
    --muted: #9ca9b4;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at 85% 5%, rgba(8, 222, 244, 0.11), transparent 27%),
        radial-gradient(circle at 8% 30%, rgba(101, 42, 255, 0.1), transparent 25%), var(--bg);
    color: #fff;
    font-family: "Cairo", Arial, sans-serif;
}

button,
input,
select,
textarea {
    font: inherit;
}

.shell {
    width: min(1380px, calc(100% - 32px));
    margin: auto;
    padding: 20px 0 55px;
}

.restaurant-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
    align-items: stretch;
    gap: 16px;
    direction: ltr;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(110deg, rgba(15, 18, 28, 0.96), rgba(5, 25, 28, 0.9));
    padding: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

html[dir="rtl"] .hero {
    direction: rtl;
}

html[dir="ltr"] .hero {
    direction: ltr;
}

.restaurant-display-screen {
    position: relative;
    min-width: 0;
    min-height: 310px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(145deg, #071318, #020608 70%);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.28),
        inset 0 0 0 5px rgba(8, 222, 244, 0.025);
    isolation: isolate;
}

.restaurant-display-screen:before {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    border-radius: inherit;
    border: 5px solid rgba(2, 8, 11, 0.86);
    box-shadow: inset 0 0 0 1px rgba(8, 222, 244, 0.15);
    pointer-events: none;
}

.restaurant-display-slider,
.restaurant-display-slide {
    position: absolute;
    inset: 0;
}

.restaurant-display-slide {
    opacity: 0;
    pointer-events: none;
    background: #020607;
    transition: opacity 0.55s ease;
}

.restaurant-display-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.restaurant-display-slide img,
.restaurant-display-slide video,
.restaurant-display-slide iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #020607;
    object-fit: cover;
}

.restaurant-display-shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 7, 9, 0.04), transparent 58%, rgba(1, 7, 9, 0.32));
    pointer-events: none;
}

.hero-tools {
    position: absolute;
    z-index: 4;
    top: 18px;
    right: 20px;
    left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ozman-directory-link {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 5px 9px;
    border: 1px solid rgba(8, 222, 244, 0.24);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(5, 20, 27, 0.94), rgba(3, 10, 14, 0.9));
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
    color: #d8e7ed;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

.ozman-directory-link img {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    object-fit: contain;
    border-radius: 9px;
    border: 1px solid rgba(8, 222, 244, 0.24);
    background: #071018;
}

.ozman-directory-link:hover,
.ozman-directory-link:focus-visible {
    border-color: rgba(8, 222, 244, 0.65);
    color: var(--cyan);
    outline: none;
}

.public-language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    border: 1px solid rgba(8, 222, 244, 0.24);
    border-radius: 13px;
    background: rgba(3, 10, 14, 0.86);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
}

.public-language-switcher > i {
    margin-inline: 5px 2px;
    color: var(--cyan);
}

.public-language-switcher a {
    padding: 6px 8px;
    border-radius: 9px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.public-language-switcher a.active {
    background: var(--cyan);
    color: #001114;
}

.hero:after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(8, 222, 244, 0.12);
    filter: blur(70px);
    z-index: 1;
    pointer-events: none;
    left: -100px;
    top: -180px;
}

.brand {
    display: flex;
    align-items: flex-end;
    gap: 28px;
    position: absolute;
    z-index: 2;
    right: 30px;
    bottom: 24px;
    direction: rtl;
}

.restaurant-logo-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.restaurant-social-links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 8px;
    align-self: center;
}

.restaurant-contact-stack {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: flex-end;
    gap: 10px;
}

.restaurant-contact-stack .restaurant-social-links {
    margin-block: auto;
    align-content: center;
}

.restaurant-social-link {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(8, 222, 244, 0.24);
    border-radius: 50%;
    background: rgba(3, 12, 17, 0.9);
    color: #dceaf0;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.restaurant-social-link:hover,
.restaurant-social-link:focus-visible {
    transform: translateY(-2px);
    border-color: currentColor;
    outline: none;
}

.restaurant-social-link.is-facebook,
.restaurant-social-link.is-instagram {
    width: 50px;
    height: 50px;
    font-size: 25px;
}

.restaurant-social-link.is-facebook {
    color: #5d9cff;
}
.restaurant-social-link.is-instagram {
    color: #ff63ad;
}
.restaurant-social-link.is-tiktok {
    color: #fff;
}
.restaurant-social-link.is-telegram {
    color: #49b7f5;
}
.restaurant-social-link.is-snapchat {
    color: #ffe83b;
}
.restaurant-social-link.is-twitter {
    color: #eaf4f8;
}
.restaurant-social-link.is-youtube {
    color: #ff4d57;
}
.restaurant-social-link.is-whatsapp {
    color: #35e58d;
}

.logo {
    width: 166px;
    height: 166px;
    border-radius: 34px;
    object-fit: contain;
    background: #020607;
    border: 2px solid var(--cyan);
    box-shadow: 0 0 28px rgba(8, 222, 244, 0.3);
}

.restaurant-story-avatar {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 0;
    border: 0;
    border-radius: 28px;
    background: transparent;
    color: #fff;
}

.restaurant-story-avatar:disabled {
    cursor: default;
}

.restaurant-story-logo-frame,
.restaurant-story-avatar .logo {
    display: block;
}

.restaurant-story-avatar.has-shop-story {
    cursor: pointer;
}

.restaurant-story-avatar.has-shop-story .restaurant-story-logo-frame {
    padding: 4px;
    border-radius: 32px;
    background: linear-gradient(145deg, #08def4, #27dd86, #7868ff);
    box-shadow:
        0 0 0 4px rgba(8, 222, 244, 0.1),
        0 0 30px rgba(8, 222, 244, 0.42);
}

.restaurant-story-avatar.has-shop-story .logo {
    border-color: #06151a;
    box-shadow: none;
}

.restaurant-story-avatar.has-shop-story.seen .restaurant-story-logo-frame {
    background: #66777d;
    box-shadow: 0 0 0 4px rgba(126, 144, 149, 0.1);
}

.restaurant-story-live {
    display: none;
    width: 190px;
    max-width: 100%;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
    text-wrap: balance;
}

.restaurant-story-avatar.has-shop-story .restaurant-story-live {
    display: block;
}

.restaurant-story-avatar.has-shop-story:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 5px;
}

.brand-kicker {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    margin: 0 0 42px;
}

.hero p {
    color: var(--muted);
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.restaurant-availability {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: 92px;
    height: 44px;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0;
    padding: 8px 15px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
}

.restaurant-availability > i:not(.ti) {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
}

.restaurant-availability.is-open {
    color: var(--green);
    background: rgba(39, 221, 134, 0.09);
}

.restaurant-availability.is-closed {
    color: var(--red);
    background: rgba(255, 102, 120, 0.1);
}

.restaurant-whatsapp {
    text-decoration: none;
}

.restaurant-whatsapp .ti {
    font-size: 26px;
}

.restaurant-whatsapp:hover,
.restaurant-whatsapp:focus-visible {
    background: rgba(39, 221, 134, 0.2);
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.restaurant-closed-notice {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 102, 120, 0.38);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 102, 120, 0.14), rgba(16, 20, 25, 0.95));
    color: #fff;
}

.restaurant-closed-notice > i {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 45px;
    height: 45px;
    border-radius: 14px;
    background: rgba(255, 102, 120, 0.14);
    color: var(--red);
    font-size: 24px;
}

.restaurant-closed-notice strong,
.restaurant-closed-notice span {
    display: block;
}

.restaurant-closed-notice span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.layout {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(150, 174, 190, 0.16);
}

.menu-panel,
.cart {
    border: 1px solid var(--border);
    border-radius: 25px;
    background: linear-gradient(145deg, rgba(17, 21, 27, 0.94), rgba(8, 13, 16, 0.94));
    padding: 22px;
}

.menu-panel {
    min-height: calc(100vh - 315px);
    padding-top: 10px;
}

.count {
    display: inline-grid;
    place-items: center;
    min-width: 43px;
    height: 43px;
    border-radius: 14px;
    background: var(--cyan-soft);
    border: 1px solid rgba(8, 222, 244, 0.25);
    color: var(--cyan);
    font-weight: 900;
}

.category {
    margin-bottom: 27px;
}

.menu-browser {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 4px;
    align-items: start;
    direction: ltr;
    min-height: 520px;
}

.category-rail {
    grid-column: 2;
    direction: rtl;
    position: sticky;
    top: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    height: min(720px, calc(100vh - 70px));
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-snap-type: y proximity;
    scrollbar-width: none;
    padding: 0;
    background: transparent;
}

.category-content {
    grid-column: 1;
    grid-row: 1;
    direction: rtl;
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 520px;
    overflow: clip;
    border-radius: 22px;
}

.category-background-stage {
    position: absolute;
    z-index: -2;
    inset: 0;
    pointer-events: none;
}

.category-background {
    position: sticky;
    top: 12px;
    display: block;
    width: 100%;
    height: min(760px, calc(100svh - 24px));
    min-height: 520px;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    filter: saturate(1.08) contrast(1.08);
    transform: scale(1.015);
    transition: opacity 0.5s ease;
}

.category-content.has-video .category-background {
    opacity: 0.52;
}

.category-content::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5, 9, 12, 0.66), rgba(5, 9, 12, 0.36) 50%, rgba(5, 9, 12, 0.7));
}

.category-content.has-video .meal {
    background: linear-gradient(155deg, rgba(20, 27, 33, 0.93), rgba(7, 11, 15, 0.94));
    backdrop-filter: blur(3px);
}

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

.category-tab {
    flex: 0 0 auto;
    display: grid;
    justify-items: center;
    width: 100%;
    justify-self: stretch;
    scroll-snap-align: start;
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 8px 5px 10px;
    cursor: pointer;
    transform: none;
    opacity: 0.72;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        color 0.2s ease,
        filter 0.2s ease;
    will-change: opacity;
}

.category-tab img,
.category-tab-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin: 0;
    justify-self: center;
    border-radius: 50%;
    object-fit: cover;
    background: #161d23;
    border: 3px solid rgba(255, 255, 255, 0.08);
    font-size: 29px;
    transition: 0.24s;
}

.category-tab span:last-child {
    display: block;
    width: 68px;
    justify-self: center;
    text-align: center;
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 800;
}

.category-tab.active {
    color: #fff;
    background: transparent;
    opacity: 1;
    filter: brightness(1.16);
    z-index: 4;
}

.category-tab.active img,
.category-tab.active .category-tab-icon {
    border-color: var(--cyan);
    box-shadow:
        0 0 0 5px rgba(8, 222, 244, 0.14),
        0 0 34px rgba(8, 222, 244, 0.7);
}

.category-pane {
    animation: categoryReveal 0.28s ease;
}

.category-pane[hidden] {
    display: none;
}

@keyframes categoryReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.meals {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
    gap: 18px;
    align-items: stretch;
    padding: 8px 4px 22px;
}

.meal {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(150, 174, 190, 0.2);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(20, 27, 33, 0.98), rgba(7, 11, 15, 0.98));
    padding: 7px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease;
}

.meal[data-product-id] {
    cursor: pointer;
}

.meal:focus-visible {
    outline: 3px solid rgba(8, 222, 244, 0.55);
    outline-offset: 3px;
}

.meal:hover {
    transform: translateY(-5px);
    border-color: rgba(8, 222, 244, 0.65);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.42),
        0 0 22px rgba(8, 222, 244, 0.13);
}

.meal-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 13px;
    object-fit: cover;
    background: #050709;
    border: 1px solid rgba(8, 222, 244, 0.24);
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.meal-photo-note {
    position: absolute;
    z-index: 1;
    top: 13px;
    inset-inline-end: 13px;
    padding: 3px 7px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(4, 9, 12, 0.8);
    color: #e9f0f2;
    font-size: 9px;
    line-height: 1.5;
    pointer-events: none;
}

.meal:hover .meal-image,
.meal:focus-visible .meal-image {
    transform: scale(1.025);
    filter: brightness(1.06);
}

.meal-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 10px 6px 5px;
}

.meal-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 5px;
}

.meal-title-row h3 {
    flex: 0 1 auto;
    width: auto !important;
    min-width: 0;
    margin-bottom: 0 !important;
}

.meal-title-row .oz-like {
    flex: none;
    height: 32px;
    min-width: 32px;
}

.meal h3 {
    width: 100%;
    min-height: 0;
    margin: 0 0 5px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 15px;
    line-height: 1.5;
    text-align: start;
    box-shadow: none;
}

.meal-desc {
    display: -webkit-box;
    overflow: hidden;
    min-height: 38px;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.meal-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(150, 174, 190, 0.12);
}

.price {
    color: var(--cyan);
    font-size: 14px;
    font-weight: 900;
}

.meal .add-btn {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: auto;
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 10px;
    background: var(--cyan);
    color: #001114;
    font-size: 11px;
    box-shadow: none;
}

.meal .add-btn i {
    font-size: 20px;
}

.meal .add-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.add-btn,
.primary-btn {
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #09dcec, #1cc0ef);
    color: #001114;
    font-weight: 900;
    padding: 9px 13px;
    cursor: pointer;
}

.add-btn:hover,
.primary-btn:hover {
    filter: brightness(1.08);
}

.add-btn:disabled,
.primary-btn:disabled {
    cursor: not-allowed;
    filter: grayscale(0.7);
    opacity: 0.52;
}

.cart {
    position: fixed;
    z-index: 40;
    top: 18px;
    bottom: 18px;
    left: 18px;
    width: min(390px, calc(100% - 36px));
    overflow-y: auto;
    transform: translateX(calc(-100% - 30px));
    transition: transform 0.32s ease;
    box-shadow: 20px 0 80px rgba(0, 0, 0, 0.55);
}

body.cart-open {
    overflow: hidden;
}

body.cart-open .cart {
    transform: translateX(0);
}

.cart-backdrop {
    position: fixed;
    z-index: 35;
    inset: 0;
    border: 0;
    background: rgba(0, 3, 6, 0.74);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
}

body.cart-open .cart-backdrop {
    opacity: 1;
    visibility: visible;
}

.cart-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #070b0f;
    color: #fff;
    cursor: pointer;
}

.cart-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart h2 {
    margin: 0;
}

.cart-items {
    max-height: 310px;
    overflow: auto;
    margin: 15px 0;
}

.empty {
    text-align: center;
    color: var(--muted);
    padding: 28px 10px;
}

.empty i {
    display: block;
    font-size: 42px;
    color: #52606c;
    margin-bottom: 7px;
}

.cart-item {
    border: 1px solid var(--border);
    background: rgba(3, 7, 10, 0.65);
    border-radius: 14px;
    padding: 11px;
    margin-bottom: 9px;
}

.cart-item-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.cart-item strong {
    font-size: 14px;
}

.cart-item small {
    display: block;
    color: var(--muted);
    line-height: 1.7;
}

.remove {
    border: 0;
    background: transparent;
    color: var(--red);
    cursor: pointer;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 13px;
}

.cart-total strong {
    color: var(--cyan);
    font-size: 23px;
}

.table-context {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
    padding: 13px 14px;
    border: 1px solid rgba(8, 222, 244, 0.36);
    border-radius: 14px;
    background: var(--cyan-soft);
    color: #fff;
}

.table-context i {
    color: var(--cyan);
    font-size: 24px;
}

.table-context small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.table-context strong {
    display: block;
    color: var(--cyan);
    font-size: 16px;
}

.field {
    width: 100%;
    min-height: 47px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #070b0f;
    color: #fff;
    padding: 10px 13px;
    outline: 0;
    margin-bottom: 9px;
}

.field:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(8, 222, 244, 0.08);
}

textarea.field {
    resize: vertical;
    min-height: 75px;
}

.fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.location-box {
    border: 1px solid rgba(8, 222, 244, 0.24);
    border-radius: 15px;
    background: var(--cyan-soft);
    padding: 11px;
    margin-bottom: 9px;
}

.location-btn {
    width: 100%;
    border: 1px solid rgba(8, 222, 244, 0.35);
    border-radius: 12px;
    background: #07151a;
    color: var(--cyan);
    padding: 10px;
    font-weight: 900;
    cursor: pointer;
}

.location-status {
    color: var(--muted);
    font-size: 12px;
    margin: 7px 2px 0;
}

.location-status.ready {
    color: var(--green);
}

.primary-btn {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
}

.message {
    font-size: 13px;
    line-height: 1.7;
    margin: 10px 0 0;
}

.message.error {
    color: #ff9eaa;
}

.message.success {
    color: #6df0ab;
}

.meal-prep {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin: 1px 0 9px;
    color: #b8f8ff;
    font-size: 11px;
    font-weight: 800;
}

.modal-prep {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 16px;
    padding: 10px 12px;
    border: 1px solid rgba(8, 222, 244, 0.2);
    border-radius: 12px;
    background: rgba(8, 222, 244, 0.07);
    color: #b8f8ff;
    font-size: 13px;
}

.order-tracking {
    margin-top: 14px;
    padding: 15px;
    border: 1px solid rgba(8, 222, 244, 0.34);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(8, 222, 244, 0.1), rgba(104, 61, 255, 0.08));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

.order-tracking.cancelled {
    border-color: rgba(255, 86, 107, 0.45);
    background: rgba(255, 86, 107, 0.08);
}

.tracking-head,
.tracking-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tracking-head strong {
    font-size: 16px;
}

.tracking-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6df0ab;
    font-size: 11px;
    font-weight: 800;
}

.tracking-live::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
}

.tracking-meta {
    margin-top: 9px;
    color: var(--muted);
    font-size: 11px;
}

.tracking-countdown strong {
    font-size: 1.35em;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
}

.tracking-prep {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    padding: 10px 11px;
    border-radius: 12px;
    background: #07151a;
    color: #d9fbff;
    font-size: 12px;
}

.tracking-prep i {
    color: var(--cyan);
    font-size: 18px;
}

.tracking-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin: 14px 0 12px;
    padding: 0;
    list-style: none;
}

.tracking-step {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 6px;
    color: #687680;
    text-align: center;
    font-size: 9px;
    font-weight: 800;
}

.tracking-step:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 13px;
    right: 57%;
    width: 86%;
    height: 2px;
    background: #26323a;
}

.tracking-step.done:not(:last-child)::after {
    background: var(--cyan);
}

.tracking-step span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 2px solid #26323a;
    border-radius: 50%;
    background: #080d11;
}

.tracking-step.done,
.tracking-step.active {
    color: #eaffff;
}

.tracking-step.done span,
.tracking-step.active span {
    border-color: var(--cyan);
    color: #001114;
    background: var(--cyan);
    box-shadow: 0 0 14px rgba(8, 222, 244, 0.34);
}

.tracking-step.active span {
    animation: trackingPulse 1.8s infinite;
}

.tracking-message {
    margin: 8px 0 0;
    color: #d7e1e7;
    font-size: 12px;
    line-height: 1.7;
}

.tracking-link {
    display: block;
    margin-top: 10px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

@keyframes trackingPulse {
    50% {
        box-shadow: 0 0 0 7px rgba(8, 222, 244, 0);
    }
}

dialog {
    width: min(560px, calc(100% - 24px));
    max-height: 90vh;
    overflow: auto;
    border: 1px solid rgba(8, 222, 244, 0.35);
    border-radius: 24px;
    background: linear-gradient(145deg, #141923, #071114);
    color: #fff;
    padding: 0;
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.65);
}

dialog::backdrop {
    background: rgba(0, 3, 6, 0.82);
    backdrop-filter: blur(8px);
}

.modal-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
    background: rgba(13, 18, 23, 0.97);
}

.modal-head h3 {
    margin: 0;
    font-size: 22px;
}

.close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #151b20;
    color: #fff;
    cursor: pointer;
}

.modal-body {
    padding: 20px 22px;
}

.option-section {
    margin-bottom: 19px;
}

.option-section h4 {
    margin: 0 0 10px;
}

.choices {
    display: grid;
    gap: 8px;
}

.choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #080d11;
    padding: 11px 13px;
    cursor: pointer;
}

.choice input {
    accent-color: var(--cyan);
}

.choice-price {
    color: var(--cyan);
    font-weight: 800;
}

.qty-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    align-items: end;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
}

.secondary {
    border: 1px solid var(--border);
    background: #171c21;
    color: #fff;
    border-radius: 12px;
    padding: 10px 17px;
    cursor: pointer;
}

.mobile-cart {
    display: block;
    position: fixed;
    right: 50%;
    left: auto;
    width: min(480px, calc(100% - 24px));
    transform: translateX(50%);
    bottom: 12px;
    z-index: 15;
    min-height: 55px;
    border: 0;
    border-radius: 17px;
    background: linear-gradient(135deg, #09dcec, #1cc0ef);
    color: #001114;
    font-weight: 900;
    box-shadow: 0 10px 35px rgba(8, 222, 244, 0.3);
}

@media (max-width: 1050px) {
    .meals {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 720px) {
    .category-background {
        top: 0;
        height: 100svh;
        min-height: 460px;
        object-position: 50% 50%;
        transform: scale(1.02);
    }

    .category-content.has-video .category-background {
        opacity: 0.6;
    }

    .category-content::after {
        background: linear-gradient(180deg, rgba(4, 8, 11, 0.34), rgba(4, 8, 11, 0.5) 48%, rgba(4, 8, 11, 0.68));
    }

    .shell {
        width: calc(100% - 18px);
        padding-top: 9px;
    }

    .restaurant-hero-layout {
        grid-template-columns: minmax(0, 1fr) 148px;
        gap: 7px;
    }

    .hero {
        min-height: 380px;
        border-radius: 21px;
        padding: 64px 7px 14px;
    }

    .restaurant-display-screen {
        min-height: 380px;
        border-radius: 21px;
    }

    .hero-tools {
        top: 0;
        right: 0;
        left: auto;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .public-language-switcher {
        gap: 2px;
        padding: 3px;
    }

    .public-language-switcher > i {
        display: none;
    }

    .public-language-switcher a {
        padding: 5px 5px;
        font-size: 8px;
    }

    .ozman-directory-link {
        width: 100%;
        min-height: 35px;
        gap: 6px;
        padding: 4px 7px;
        border-radius: 12px;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: -0.12px;
        white-space: nowrap;
    }

    .ozman-directory-link img {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
        border-radius: 7px;
    }

    .brand {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        top: 88px;
        right: 2px;
        bottom: 2px;
        width: calc(100% - 4px);
        max-width: calc(100% - 4px);
    }

    .restaurant-logo-stack {
        position: static;
        height: auto;
        width: 100%;
        align-items: flex-start;
        gap: 8px;
    }

    .restaurant-social-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 5px;
        margin-top: 8px;
    }

    .restaurant-contact-stack {
        display: contents;
    }

    .restaurant-contact-stack .restaurant-social-links {
        margin-block: 8px 42px;
    }

    .restaurant-social-link {
        width: 29px;
        height: 29px;
        flex: 0 0 29px;
        font-size: 14px;
    }

    .restaurant-social-link.is-facebook,
    .restaurant-social-link.is-instagram {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 22px;
    }

    .logo {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        border-radius: 28px;
    }

    .restaurant-story-avatar {
        width: 100%;
        border-radius: 25px;
    }

    .restaurant-story-logo-frame {
        width: 100%;
        box-sizing: border-box;
    }

    .restaurant-story-avatar.has-shop-story .restaurant-story-logo-frame {
        border-radius: 27px;
    }

    .restaurant-story-live {
        width: 100%;
        padding: 0;
        font-size: 11px;
        line-height: 1.45;
    }

    .restaurant-availability {
        position: absolute;
        right: 0;
        bottom: 0;
        width: calc(50% - 3px);
        height: 34px;
        padding: 7px 11px;
        font-size: 11px;
    }

    .restaurant-whatsapp {
        right: auto;
        left: 0;
    }

    .restaurant-whatsapp .ti {
        font-size: 23px;
    }

    .layout {
        margin-top: 7px;
        padding-top: 7px;
    }

    .menu-panel,
    .cart {
        padding: 14px;
        border-radius: 20px;
    }

    .menu-panel {
        padding: 7px 9px 14px;
    }

    .menu-browser {
        grid-template-columns: minmax(0, 1fr) 110px;
        gap: 3px;
        min-height: 480px;
    }

    .category-rail {
        top: 8px;
        height: calc(100vh - 76px);
        padding-inline: 3px;
    }

    .category-tab {
        border-radius: 15px;
        padding-inline: 2px;
    }

    .category-tab img,
    .category-tab-icon {
        width: 57px;
        height: 57px;
        font-size: 24px;
    }

    .category-tab span:last-child {
        width: 57px;
        font-size: 10px;
    }

    .meals {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-inline: 0;
    }

    .meal {
        width: 100%;
        min-height: 0;
        padding: 6px;
    }

    .meal h3 {
        min-height: 0;
        margin: 0 0 4px;
        padding: 0;
        font-size: 13px;
    }

    .meal-bottom {
        display: flex;
    }

    .add-btn {
        width: auto;
    }

    .meal .add-btn {
        width: auto;
        height: 34px;
    }

    .meal .add-btn i {
        font-size: 17px;
    }

    .price {
        font-size: 11px;
    }

    .fields-row {
        grid-template-columns: 1fr;
    }

    .cart {
        margin-bottom: 0;
    }

    .qty-row {
        grid-template-columns: 1fr;
    }

    .modal-actions {
        grid-template-columns: 1fr;
    }

    .secondary {
        width: 100%;
    }
}
/* Header content stays in normal flow so tools never cover the logo. */
.restaurant-hero-layout .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    padding: 18px;
    min-width: 0;
    min-height: 310px;
}
.hero .hero-tools {
    position: relative;
    inset: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.hero .brand {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: center;
    gap: 16px;
    direction: inherit;
    flex: 1;
}
.hero .restaurant-logo-stack {
    width: 100%;
    align-items: center;
    gap: 8px;
}
.hero .restaurant-story-avatar {
    width: min(190px, 100%);
}
.hero .restaurant-story-logo-frame {
    width: 100%;
}
.hero .logo {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
}
.hero .restaurant-contact-stack {
    display: flex;
    align-self: center;
    justify-content: center;
    min-width: 0;
}
.hero .restaurant-social-links {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 108px;
    gap: 8px;
}
.restaurant-quick-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}
.hero .restaurant-availability {
    position: static;
    inset: auto;
    width: auto;
    min-width: 80px;
    height: 42px;
    margin: 0;
    flex: 1;
    max-width: 130px;
}
.restaurant-location-link {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid #17616c;
    border-radius: 13px;
    background: #082830;
    color: #70e8f0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
}
.restaurant-location-link small {
    display: block;
    color: #b1c4cc;
    font-size: 10px;
    font-weight: 600;
}
.hero .bankai-profile-edit {
    position: relative;
    z-index: 2;
    margin: 0;
}
@media (max-width: 720px) {
    .restaurant-hero-layout .hero {
        padding: 8px 7px 12px;
        gap: 10px;
        min-height: 380px;
    }
    .hero .hero-tools {
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }
    .hero .brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        flex: 0;
    }
    .hero .restaurant-contact-stack {
        width: 100%;
    }
    .hero .restaurant-social-links {
        max-width: none;
        width: 100%;
        gap: 5px;
    }
    .hero .restaurant-social-link.is-facebook,
    .hero .restaurant-social-link.is-instagram {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 18px;
    }
    .restaurant-quick-actions {
        gap: 5px;
    }
    .hero .restaurant-availability {
        min-width: 0;
        max-width: none;
        height: 34px;
        padding: 6px;
        font-size: 10px;
        white-space: nowrap;
    }
    .restaurant-location-link {
        padding: 8px 4px;
        font-size: 10px;
        gap: 4px;
    }
    .restaurant-location-link small {
        font-size: 9px;
    }
    .hero .bankai-profile-edit {
        font-size: 10px;
        padding: 6px 8px;
    }
}
