:root {
    /* Palette sampled from the Amwaj Marina logo */
    --aos-red: #b40b0c;
    --aos-red-deep: #8a0708;
    --aos-red-rgb: 180, 11, 12;
    --aos-gold: #d4a437;
    --aos-gold-light: #f9ce83;
    --aos-gold-dark: #9c6f1a;
    --aos-gold-rgb: 212, 164, 55;
    --aos-navy: #16304f;
    --aos-navy-soft: #1f4570;

    --aos-primary: #d4a437;
    --aos-primary-hover: #9c6f1a;
    --aos-primary-light: #fbf4e4;
    --aos-primary-rgb: 212, 164, 55;
    --aos-dark: #16304f;
    --aos-text: #16304f;
    --aos-muted: #5a6b80;
    --aos-bg: #fbfaf7;
    --aos-card: #ffffff;
    --aos-line: #e7e2d8;
    --aos-cyan: #1f4570;
    --wa-green: #25d366;
}
.aos-gold-metal {
    background: linear-gradient(180deg, #9c6f1a 0%, #d4a437 38%, #f9ce83 55%, #d4a437 72%, #9c6f1a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: "Cairo", "Roboto", sans-serif;
    background: var(--aos-bg);
    color: var(--aos-text);
    min-height: 100%;
}

body.ros-no-scroll {
    overflow: hidden;
}

.ros-lang-en { display: none; }
body.ros-lang-en-active .ros-lang-ar { display: none; }
body.ros-lang-en-active .ros-lang-en { display: inline; }
body.ros-lang-en-active {
    font-family: "Roboto", "Cairo", sans-serif;
}
body.ros-lang-en-active,
body.ros-lang-en-active .smart-menu-wrapper,
body.ros-lang-en-active .aos-topheader,
body.ros-lang-en-active .aos-main-header,
body.ros-lang-en-active .app-welcome-modal,
body.ros-lang-en-active .app-cart-modal,
body.ros-lang-en-active .app-product-modal,
body.ros-lang-en-active .ros-menu-banner-top,
body.ros-lang-en-active .aos-hero-overlay {
    direction: ltr;
    text-align: left;
}

img { max-width: 100%; }

/* Splash */
.aos-splash-screen {
    position: fixed;
    inset: 0;
    z-index: 200000;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .45s ease, visibility .45s ease;
}
.aos-splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.aos-splash-content {
    text-align: center;
    padding: 24px;
}
.aos-splash-logo {
    width: 168px;
    height: 168px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 12px 40px rgba(22, 48, 79, .18);
    animation: splashPulse 1.6s ease-in-out infinite;
}
.aos-splash-loader-wrap { margin: 22px 0 14px; }
.aos-splash-spinner {
    width: 34px;
    height: 34px;
    margin: 0 auto;
    border: 3px solid var(--aos-primary-light);
    border-top-color: var(--aos-primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
.aos-splash-text {
    font-weight: 800;
    font-size: 15px;
    color: var(--aos-dark);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes splashPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Top header */
.aos-topheader {
    position: relative;
    z-index: 55;
    background: #fff;
    border-bottom: 1px solid var(--aos-line);
    box-shadow: 0 4px 18px rgba(15, 23, 42, .06);
}
.aos-open-logo { display: none; }
.aos-topheader-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.aos-topheader-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}
.aos-topheader-brand img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--aos-gold);
    box-shadow: 0 4px 12px rgba(22, 48, 79, .16);
    flex-shrink: 0;
}
.aos-topheader-titles strong {
    display: block;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: .01em;
    background: linear-gradient(180deg, #9c6f1a 0%, #d4a437 40%, #f2c877 56%, #c19226 78%, #9c6f1a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.aos-topheader-titles small {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--aos-muted);
    line-height: 1.4;
}
.aos-topheader-hours {
    display: block;
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
    color: var(--aos-gold);
}
.aos-topheader-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
body.ros-lang-en-active .aos-topheader-contact {
    align-items: flex-start;
}
.aos-topheader-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
body.ros-lang-en-active .aos-topheader-links {
    justify-content: flex-start;
}
.aos-topheader-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--aos-primary);
    font-size: 12px;
    font-weight: 800;
    background: var(--aos-primary-light);
    padding: 6px 10px;
    border-radius: 999px;
}
.aos-topheader-address {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    text-decoration: none;
    color: var(--aos-dark);
    font-size: 12px;
    font-weight: 800;
    background: #faf8f4;
    border: 1px solid var(--aos-line);
    padding: 6px 10px;
    border-radius: 14px;
    line-height: 1.35;
    max-width: 280px;
}
.aos-topheader-address svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--aos-gold);
}
.aos-topheader-address small {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--aos-muted);
}
.aos-topheader-phone svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.aos-topheader-whatsapp {
    background: var(--aos-red);
    color: #fff;
}
.aos-topheader-social {
    margin: 0;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}
body.ros-lang-en-active .aos-topheader-social {
    justify-content: flex-start;
}
.aos-topheader .aos-social-icon {
    width: 32px;
    height: 32px;
    background: #e26f13;
    border: 1px solid #e26f13;
    color: #fff;
}
.aos-topheader .aos-social-icon span {
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}
.aos-social-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 18px 0 16px;
}
.aos-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: .2s;
}
.aos-social-icon:hover { background: #c45e0f; border-color: #c45e0f; color: #fff; }
.aos-social-icon svg { width: 16px; height: 16px; fill: currentColor; }

/* Category header under topheader */
.aos-main-header {
    position: sticky;
    top: 0;
    z-index: 48;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--aos-line);
}
.aos-main-header-inner {
    max-width: 980px;
    margin: 0 auto;
}

/* WhatsApp FAB */
.aos-wa-wrapper {
    position: fixed;
    left: 16px;
    bottom: 92px;
    z-index: 12000;
}
body.ros-lang-en-active .aos-wa-wrapper { left: auto; right: 16px; }
.aos-wa-trigger {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: var(--wa-green);
    color: #fff;
    box-shadow: 0 10px 24px rgba(247, 148, 29, .4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.aos-wa-trigger svg { width: 30px; height: 30px; fill: currentColor; }
.aos-wa-close-icon { display: none; font-size: 28px; line-height: 1; }
.aos-wa-wrapper.active .aos-wa-trigger svg { display: none; }
.aos-wa-wrapper.active .aos-wa-close-icon { display: block; }
.aos-wa-menu {
    display: none;
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 250px;
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .2);
}
body.ros-lang-en-active .aos-wa-menu { left: auto; right: 0; }
.aos-wa-wrapper.active .aos-wa-menu { display: block; }
.aos-wa-header {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    color: var(--aos-dark);
}
.aos-wa-branch-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: var(--aos-primary-light);
    color: var(--aos-primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
}
.aos-wa-branch-btn svg { width: 18px; height: 18px; fill: var(--wa-green); }

/* Menu shell */
.smart-menu-wrapper {
    max-width: 980px;
    margin: 0 auto;
    background: var(--aos-bg);
    padding-bottom: 110px;
}

.ros-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: 0;
}
.aos-main-header .ros-top-bar:has(#ros-smart-order-info:not([style*="display:none"])) {
    padding: 8px 14px 0;
}
.ros-order-info-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--aos-primary-light);
    border: 1px solid rgba(var(--aos-primary-rgb), .22);
    border-radius: 999px;
    padding: 6px 8px 6px 12px;
    cursor: pointer;
    min-width: 0;
    flex: 1;
}
.roi-icon { font-size: 16px; }
.roi-text-group { min-width: 0; flex: 1; }
.roi-text {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--aos-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.roi-change {
    background: var(--aos-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    padding: 5px 10px;
    flex-shrink: 0;
}
.ros-lang-toggle-btn {
    border: 1px solid var(--aos-line);
    background: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    color: var(--aos-dark);
}

/* Promo */
.aos-promo-banner-wrapper { padding: 12px 14px 4px; }
.aos-promo-after-header {
    max-width: 980px;
    margin: 0 auto;
    padding: 16px 14px 8px;
    background: var(--aos-bg);
}
.aos-promo-slider-container { position: relative; overflow: hidden; border-radius: 18px; }
.aos-promo-slider-track { display: flex; transition: transform .45s ease; }
.aos-promo-slide { min-width: 100%; display: block; }
.aos-promo-slide img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}
.aos-promo-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}
.aos-promo-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
}
.aos-promo-dot.active { background: var(--aos-primary); width: 18px; border-radius: 99px; }

.aos-hero-slider {
    position: relative;
    width: 100%;
    background: #f6f1e6;
}
.aos-hero-slider-inner {
    border-radius: 0;
    overflow: hidden;
}
.aos-hero-slide {
    min-width: 100%;
    height: 88vh;
    min-height: 560px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #16304f;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.aos-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 48, 79, .12) 0%, transparent 42%, rgba(22, 48, 79, .28) 100%);
    pointer-events: none;
}
.aos-hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 22px 28px 24px;
    direction: rtl;
    background: rgba(22, 48, 79, .42);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(var(--aos-gold-rgb), .65);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0,0,0,.22);
    max-width: min(92vw, 640px);
}
.aos-hero-kicker {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .22em;
    margin-bottom: 10px;
    color: var(--aos-gold-light);
    text-transform: uppercase;
}
.aos-hero-overlay h2 {
    margin: 0 0 6px;
    font-size: clamp(28px, 5.4vw, 46px);
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(180deg, #b8862a 0%, #d4a437 30%, #f9ce83 52%, #d4a437 74%, #a9761d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.aos-hero-overlay h2::after {
    content: "";
    display: block;
    width: 74px;
    height: 2px;
    margin: 14px auto 18px;
    background: linear-gradient(90deg, transparent, var(--aos-gold), transparent);
}
.aos-hero-cta {
    display: inline-block;
    background: var(--aos-red);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.22);
}
.aos-hero-cta:hover {
    background: var(--aos-navy);
    color: #fff;
}
}
.aos-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 3;
    margin: 0;
}
.aos-hero-dots .aos-promo-dot {
    background: rgba(255,255,255,.55);
}
.aos-hero-dots .aos-promo-dot.active {
    background: var(--aos-gold);
    width: 18px;
}

.aos-countdown-strip {
    margin: 10px 14px;
    background: var(--aos-gold);
    color: var(--aos-navy);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.aos-countdown-title { font-weight: 800; font-size: 14px; text-align: center; }
.aos-countdown-boxes { display: flex; align-items: center; gap: 6px; }
.aos-cd-box {
    background: rgba(255,255,255,.14);
    min-width: 48px;
    border-radius: 10px;
    padding: 6px 4px;
    text-align: center;
}
.aos-cd-num { display: block; font-weight: 900; font-size: 18px; font-variant-numeric: tabular-nums; }
.aos-cd-label { font-size: 10px; opacity: .85; font-weight: 700; }
.aos-cd-sep { font-weight: 900; opacity: .7; }
#aos-cd-slim { display: none; }

.ros-menu-banner-wrapper {
    margin: 0 14px 10px;
    overflow: hidden;
    background: #f6f1e6;
    border: 1px solid var(--aos-line);
    border-radius: 12px;
    white-space: nowrap;
}
.ros-menu-banner-top {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--aos-gold);
    position: relative;
    z-index: 45;
}
.ros-menu-banner-top .ros-menu-banner-content {
    color: var(--aos-navy);
    font-size: 13px;
    padding: 10px 22px;
}
.ros-menu-banner-top .ros-live-dot {
    background: var(--aos-red);
    box-shadow: 0 0 0 0 rgba(var(--aos-gold-rgb), .7);
}
.ros-menu-banner-track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}
.ros-menu-banner-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
}
.ros-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--aos-red);
    box-shadow: 0 0 0 0 rgba(var(--aos-red-rgb), .7);
    animation: livePulse 1.4s infinite;
    flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes livePulse {
    70% { box-shadow: 0 0 0 8px rgba(var(--aos-red-rgb), 0); }
}

/* Category nav — compact horizontal scroll */
.smart-menu-sticky-nav {
    position: relative;
    z-index: 30;
    padding: 8px 0 6px;
}
.smart-menu-sticky-nav::before,
.smart-menu-sticky-nav::after {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 10px;
    width: 22px;
    z-index: 2;
    pointer-events: none;
}
.smart-menu-sticky-nav::before {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,.96), transparent);
}
.smart-menu-sticky-nav::after {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,.96), transparent);
}
.smart-menu-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 2px 16px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--aos-primary) var(--aos-line);
}
.smart-menu-nav-list::-webkit-scrollbar {
    height: 4px;
    display: block;
}
.smart-menu-nav-list::-webkit-scrollbar-track {
    background: var(--aos-line);
    border-radius: 99px;
    margin: 0 16px;
}
.smart-menu-nav-list::-webkit-scrollbar-thumb {
    background: var(--aos-primary);
    border-radius: 99px;
}
.smart-menu-nav-list.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}
.smart-nav-link {
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    color: var(--aos-text);
    background: #fff;
    border: 1px solid var(--aos-line);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 800;
    scroll-snap-align: start;
    flex-shrink: 0;
}
.smart-nav-link:hover {
    border-color: var(--aos-gold);
    color: var(--aos-gold-dark);
}
.smart-nav-link.active {
    background: var(--aos-gold);
    border-color: var(--aos-gold);
    color: var(--aos-navy);
    box-shadow: 0 6px 14px rgba(var(--aos-gold-rgb), .28);
}

.smart-menu-content { padding: 6px 14px 20px; }
.smart-menu-section { margin-bottom: 22px; scroll-margin-top: 90px; }
#smart-menu-top { scroll-margin-top: 90px; }
.smart-category-title {
    margin: 14px 2px 14px;
    font-size: 19px;
    font-weight: 900;
    color: var(--aos-navy);
    display: flex;
    align-items: center;
    gap: 12px;
}
.smart-category-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--aos-gold-rgb), .75), rgba(var(--aos-gold-rgb), 0));
}
.smart-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.smart-card {
    background: var(--aos-card);
    border: 1px solid var(--aos-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(22, 48, 79, .05);
    display: flex;
    flex-direction: column;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.smart-card:hover {
    border-color: rgba(var(--aos-gold-rgb), .6);
    box-shadow: 0 12px 26px rgba(22, 48, 79, .1);
    transform: translateY(-2px);
}
.smart-card-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    cursor: pointer;
    background: var(--aos-line);
}
.smart-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.app-img-overlay {
    position: absolute;
    inset: auto 8px 8px auto;
    background: rgba(0,0,0,.45);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.smart-card-badges {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}
body.ros-lang-en-active .smart-card-badges { right: auto; left: 8px; align-items: flex-start; }
.smart-best-seller-badge {
    position: static;
    background: linear-gradient(135deg, var(--aos-red), var(--aos-red-deep));
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.smart-best-seller-badge::before {
    content: "★";
    font-size: 11px;
    line-height: 1;
}
.smart-popular-badge {
    background: var(--aos-gold);
    color: var(--aos-navy);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 8px;
}
.smart-out-badge {
    background: var(--aos-navy);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 8px;
}
.smart-card.is-out { opacity: .78; }
.smart-out-label {
    font-size: 12px;
    font-weight: 800;
    color: #dc2626;
}
.smart-card-body {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.smart-card-title {
    margin: 0 0 4px;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.35;
    cursor: pointer;
    color: var(--aos-gold);
}
.smart-card-desc {
    font-size: 12px;
    color: var(--aos-text);
    font-weight: 700;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
    min-height: 0;
}
.smart-kcal {
    font-size: 11px;
    font-weight: 800;
    color: var(--aos-text);
}
.smart-card-footer {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.smart-card-price { font-weight: 900; color: var(--aos-gold); font-size: 14px; }
.price-currency { font-size: 11px; font-weight: 800; }
.old-price {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 700;
}
.smart-add-btn {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--aos-primary);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(var(--aos-primary-rgb), .28);
}

/* Cart bar */
.aos-cart-bar-wrapper {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 14px;
    z-index: 11000;
}
.aos-smart-cart-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--aos-gold);
    color: var(--aos-navy);
    border-radius: 16px;
    padding: 10px 12px;
    box-shadow: 0 12px 30px rgba(var(--aos-gold-rgb), .35);
    cursor: default;
}
.aos-smart-cart-bar.active { cursor: pointer; }
.cart-bar-count-pill {
    min-width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--aos-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}
.cart-bar-text-zone { flex: 1; font-weight: 800; font-size: 13px; }
.aos-smart-cart-bar .text-active { display: none; }
.aos-smart-cart-bar.active .text-empty { display: none; }
.aos-smart-cart-bar.active .text-active { display: inline; }
.cart-bar-price-zone { font-weight: 900; font-size: 15px; }

/* Modals */
.app-welcome-modal,
.app-cart-modal,
.app-product-modal,
.app-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 13000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    background: rgba(15, 23, 42, .52);
}
.app-welcome-modal.active,
.app-cart-modal.active,
.app-product-modal.active,
.app-confirm-modal.active { display: flex; }
.app-welcome-modal { align-items: center; padding: 16px; }
.welcome-box,
.product-modal-card,
.summary-box {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    padding: 22px 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.welcome-step { display: none; }
.welcome-step.active { display: block; }
.welcome-title { margin: 0 0 6px; font-size: 20px; font-weight: 900; color: var(--aos-gold); }
.welcome-subtitle { margin: 0 0 16px; color: var(--aos-text); font-size: 13px; font-weight: 800; }
.welcome-back-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.welcome-location {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #faf8f4;
    border: 1px solid var(--aos-line);
    border-radius: 14px;
    padding: 12px 14px;
    margin: 12px 0 16px;
}
.welcome-location-pin { font-size: 18px; line-height: 1.2; }
.welcome-location strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--aos-dark);
    line-height: 1.45;
}
.welcome-location small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 700;
    color: var(--aos-primary);
}
.welcome-btn-grid { display: grid; gap: 10px; }
.welcome-btn {
    width: 100%;
    border: 1px solid var(--aos-line);
    background: #fff;
    border-radius: 14px;
    padding: 14px 12px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    text-align: start;
}
.welcome-btn:hover {
    border-color: var(--aos-primary);
    background: var(--aos-primary-light);
    color: var(--aos-primary);
}

.app-cart-overlay,
.product-modal-overlay {
    position: absolute;
    inset: 0;
}
.app-cart-sheet {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: min(92vh, 820px);
    background: #fff;
    border-radius: 22px 22px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 2;
}
.app-center-modal {
    align-items: center;
    padding: 16px;
}
.app-center-modal .app-cart-sheet {
    border-radius: 20px;
    max-width: 420px;
    width: 100%;
    max-height: min(78vh, 640px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}
.app-cart-header, .app-cart-footer { padding: 14px 16px; flex-shrink: 0; }
.app-cart-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.app-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}
.app-cart-header h3 { margin: 0; font-size: 17px; }
.close-btn, .product-modal-close, .summary-close-x {
    border: 0;
    background: #f1f5f9;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
}
.cart-summary-badge {
    margin: 10px 16px 0;
    background: var(--aos-primary-light);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
}
.cart-summary-change {
    border: 1px solid rgba(var(--aos-primary-rgb), .3);
    background: #fff;
    color: var(--aos-primary);
    border-radius: 999px;
    padding: 5px 10px;
    font-weight: 800;
    cursor: pointer;
}
.app-cart-body { overflow: visible; padding: 10px 16px; min-height: 80px; }
.cart-empty { text-align: center; color: var(--aos-muted); padding: 30px 10px; font-weight: 700; }
.cart-line {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}
.cart-line img { width: 58px; height: 58px; object-fit: cover; border-radius: 12px; }
.cart-line h4 { margin: 0 0 4px; font-size: 13px; }
.cart-line-price { font-size: 12px; font-weight: 800; color: var(--aos-gold); }
.cart-qty {
    display: flex;
    align-items: center;
    gap: 6px;
}
.cart-qty button {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 8px;
    background: var(--aos-primary-light);
    color: var(--aos-primary);
    font-weight: 900;
    cursor: pointer;
}
.app-cart-options { padding: 0 16px 8px; }
.checkout-fields { display: grid; gap: 8px; }
.delivery-input {
    width: 100%;
    border: 1px solid var(--aos-line);
    border-radius: 12px;
    padding: 10px 12px;
    font-family: inherit;
    font-weight: 700;
    resize: vertical;
}
.checkout-error {
    margin: 0;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 800;
}
.app-cart-footer {
    border-top: 1px solid #f1f5f9;
    background: #fff;
    box-shadow: 0 -8px 18px rgba(15, 23, 42, .06);
}
.app-cart-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 900;
    color: var(--aos-primary);
    margin-bottom: 10px;
}
.app-whatsapp-btn, .pm-add-btn {
    width: 100%;
    border: 0;
    background: var(--aos-primary);
    color: #fff;
    border-radius: 14px;
    padding: 13px;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
}
.app-whatsapp-btn:disabled { opacity: .45; cursor: not-allowed; }

.product-modal-card { position: relative; padding: 0; overflow: hidden; margin: 16px; max-height: 92vh; overflow-y: auto; }
.product-modal-close { position: absolute; top: 10px; left: 10px; z-index: 4; }
body.ros-lang-en-active .product-modal-close { left: auto; right: 10px; }
.pm-image-wrapper { position: relative; height: 210px; background: var(--aos-line); }
.pm-body { padding: 16px; }
.pm-body h3 { margin: 0 0 8px; font-size: 18px; }
.pm-body p { margin: 0; color: var(--aos-muted); font-size: 13px; line-height: 1.6; }
.pm-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    font-weight: 800;
}
.pm-price-pill {
    background: var(--aos-primary-light);
    color: var(--aos-primary);
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 900;
}
.pm-footer { padding: 0 16px 16px; }
.pm-calc-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pm-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #faf8f4;
    border-radius: 12px;
    padding: 4px;
}
.pm-qty-ctrl button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 10px;
    background: var(--aos-primary);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
.pm-qty-ctrl input {
    width: 42px;
    border: 0;
    background: transparent;
    text-align: center;
    font-weight: 900;
    font-size: 16px;
}
.pm-total-price { font-size: 20px; font-weight: 900; color: var(--aos-gold); }
.pm-meta-tags {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
}
body.ros-lang-en-active .pm-meta-tags { right: auto; left: 10px; }
.pm-tag {
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 999px;
}

.summary-box { position: relative; max-height: 88vh; overflow: auto; margin: 16px; }
.summary-review-header { text-align: center; }
.summary-list { margin: 10px 0; }
.summary-row {
    display: grid;
    grid-template-columns: 1fr 50px 80px;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--aos-line);
    font-size: 13px;
    font-weight: 700;
}
.summary-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 900;
    color: var(--aos-primary);
    margin-top: 10px;
}
.site-mini-footer {
    text-align: center;
    padding: 8px 16px 20px;
    color: var(--aos-muted);
    font-size: 12px;
    font-weight: 700;
}

.ros-track-toggle-btn {
    white-space: nowrap;
}
.track-lookup {
    display: flex;
    gap: 8px;
    padding: 12px 16px 4px;
}
.track-lookup .delivery-input { flex: 1; }
.track-lookup-btn {
    border: 0;
    background: var(--aos-primary);
    color: #fff;
    border-radius: 12px;
    padding: 0 16px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
}
.app-track-scroll { padding-bottom: 20px; }
.track-where {
    margin: 4px 16px 10px;
    padding: 12px 14px;
    background: #faf8f4;
    border: 1px solid var(--aos-line);
    border-radius: 14px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.75;
}
.track-now {
    margin: 10px 16px 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff8e8;
    border: 1px solid rgba(var(--aos-primary-rgb), .28);
}
.track-now.is-preparing { background: #fff4d6; }
.track-now.is-ready { background: #ecfdf3; border-color: #86efac; }
.track-now-kicker {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--aos-muted);
    margin-bottom: 4px;
}
.track-now strong {
    display: block;
    font-size: 18px;
    color: var(--aos-dark);
}
.track-now p {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
    color: #475569;
}
.track-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 0;
}
.track-meta strong { font-size: 14px; }
.track-status-pill {
    background: var(--aos-primary-light);
    color: var(--aos-primary);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
}
.track-status-pill.is-cancelled { background: #fee2e2; color: #b91c1c; }
.track-meta-line {
    margin: 6px 16px 0;
    color: var(--aos-muted);
    font-size: 12px;
    font-weight: 700;
}
.track-steps {
    list-style: none;
    margin: 16px;
    padding: 0;
    position: relative;
}
.track-steps::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 11px;
    width: 2px;
    background: var(--aos-line);
}
body.ros-lang-en-active .track-steps::before { right: auto; left: 11px; }
.track-step {
    position: relative;
    padding: 0 36px 22px 0;
}
body.ros-lang-en-active .track-step { padding: 0 0 22px 36px; }
.track-step:last-child { padding-bottom: 0; }
.track-step-dot {
    position: absolute;
    top: 2px;
    right: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #cbd5e1;
    z-index: 1;
}
body.ros-lang-en-active .track-step-dot { right: auto; left: 4px; }
.track-step.is-done .track-step-dot,
.track-step.is-current .track-step-dot {
    border-color: var(--aos-primary);
    background: var(--aos-primary);
}
.track-step.is-current .track-step-dot {
    box-shadow: 0 0 0 6px rgba(var(--aos-primary-rgb), .18);
}
.track-step-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.track-step-label {
    font-weight: 800;
    font-size: 14px;
    color: #94a3b8;
}
.track-step-hint {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
}
.track-step.is-done .track-step-label,
.track-step.is-current .track-step-label { color: var(--aos-dark); }
.track-step.is-current .track-step-hint { color: var(--aos-primary); }
.track-items { padding: 0 16px; }
.track-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--aos-line);
    font-size: 13px;
    font-weight: 700;
}
.track-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px 4px;
    font-weight: 800;
    color: var(--aos-primary);
}

.amwaj-mobile-menu,
.amwaj-mobile-only { display: none !important; }

@media (max-width: 991px) {
    html {
        background: #d8d0c4;
    }
    html, body {
        overflow-x: hidden;
    }
    body {
        max-width: 480px;
        margin: 0 auto;
        min-height: 100vh;
        background: var(--aos-bg, #fff);
        box-shadow: 0 0 40px rgba(22, 48, 79, .14);
    }
    .amwaj-mobile-menu { display: block !important; }
    .amwaj-mobile-only { display: inline-flex !important; }
    .amwaj-desktop-only { display: none !important; }

    .aos-open-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 0;
        padding: 28px 16px 8px;
        background: #fff;
        text-align: center;
    }
    .aos-open-logo img {
        width: min(72%, 260px);
        height: auto;
        max-height: none;
        object-fit: contain;
        display: block;
        margin: 0 auto;
        border-radius: 50%;
        border: 4px solid var(--aos-gold);
        background: #16304f;
        box-shadow: 0 16px 36px rgba(22, 48, 79, .28);
    }
    .aos-topheader-inner {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center;
        padding: 6px 14px 16px;
        gap: 12px;
        max-width: 100%;
    }
    .aos-topheader-brand {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 8px;
        min-height: 0;
        padding: 0;
        margin: 0 auto;
    }
    .aos-topheader-brand img {
        display: none !important;
    }
    .aos-topheader-titles {
        text-align: center;
        width: 100%;
    }
    .aos-topheader-titles strong {
        font-size: 22px;
    }
    .aos-topheader-contact,
    .aos-topheader-links,
    .aos-topheader-social {
        width: 100%;
        align-items: center !important;
        justify-content: center !important;
    }
    .aos-hero-slide {
        height: 220px;
        min-height: 200px;
        max-height: 240px;
    }
    .aos-hero-overlay {
        padding: 12px 16px;
    }
    .aos-hero-overlay h2 {
        font-size: 22px;
    }
    .smart-nav-link {
        background: #f3f4f6;
        border-color: transparent;
        color: var(--aos-navy);
    }
    .smart-nav-link.active {
        background: var(--aos-red);
        border-color: var(--aos-red);
        color: #fff;
        box-shadow: 0 6px 14px rgba(var(--aos-red-rgb), .28);
    }
    .smart-product-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .smart-card {
        flex-direction: column;
        border-radius: 18px;
        overflow: hidden;
    }
    .smart-card-img-wrap {
        flex: none;
        width: 100%;
        aspect-ratio: 16 / 10;
        margin: 0;
        border-radius: 0;
        overflow: hidden;
    }
    .smart-card-body {
        padding: 14px 14px 16px;
        min-width: 0;
    }
    .smart-card-title {
        font-size: 17px;
        font-weight: 900;
        color: var(--aos-navy);
        margin-bottom: 6px;
    }
    .smart-card-desc {
        -webkit-line-clamp: 3;
        font-size: 13px;
        font-weight: 600;
        color: #64748b;
        margin-bottom: 4px;
    }
    .smart-card .app-img-overlay { display: none; }
    .smart-card-footer {
        padding-top: 12px;
        gap: 10px;
    }
    .smart-card-price {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: var(--aos-red);
        color: #fff;
        border-radius: 999px;
        padding: 8px 16px;
        font-size: 14px;
        font-weight: 800;
    }
    .smart-card-price .price-currency { color: #fff; }
    .smart-add-btn {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: var(--aos-red);
        font-size: 26px;
        box-shadow: 0 6px 14px rgba(var(--aos-red-rgb), .28);
    }
    .resto-item {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "img img"
            "name name"
            "desc desc"
            "price add";
        align-items: center;
        background: #fff;
        border: 1px solid var(--aos-line);
        border-radius: 18px;
        overflow: hidden;
        padding: 0;
        gap: 0;
    }
    .resto-copy,
    .resto-line { display: contents; }
    .resto-thumb {
        grid-area: img;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        border-radius: 0;
        border: 0;
    }
    .resto-thumb-icon { display: none; }
    .resto-dots { display: none; }
    .resto-name {
        grid-area: name;
        width: 100%;
        padding: 14px 14px 4px;
        margin: 0;
    }
    .resto-desc {
        grid-area: desc;
        margin: 0;
        padding: 0 14px 10px;
        color: #64748b;
        font-weight: 600;
    }
    .resto-price {
        grid-area: price;
        justify-self: start;
        margin: 0 14px 16px;
        background: var(--aos-red);
        color: #fff;
        border-radius: 999px;
        padding: 8px 16px;
        font-size: 14px;
    }
    .resto-price small { color: #fff; }
    .resto-add {
        grid-area: add;
        width: 44px;
        height: 44px;
        margin: 0 14px 16px;
        border-radius: 12px;
        background: var(--aos-red);
        font-size: 26px;
    }
    .smart-menu-wrapper {
        max-width: 100%;
    }
    .aos-cart-bar-wrapper {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(456px, calc(100% - 24px));
    }
    .aos-wa-wrapper {
        left: max(16px, calc(50vw - 240px + 16px));
    }
    body.ros-lang-en-active .aos-wa-wrapper {
        left: auto;
        right: max(16px, calc(50vw - 240px + 16px));
    }
}

@media (min-width: 992px) {
    .aos-topheader-brand img { width: 62px; height: 62px; }
    .aos-topheader-titles strong { font-size: 18px; }
    .aos-splash-logo { width: 180px; height: 180px; }
    .aos-hero-slide { height: min(78vh, 560px); }
    .smart-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .resto-grid { grid-template-columns: 1fr 1fr; }
    .aos-cart-bar-wrapper { left: 50%; right: auto; transform: translateX(-50%); width: min(640px, calc(100% - 24px)); }
}

.sip-lounge {
    background: #faf8f4;
    color: var(--aos-dark);
    border: 1px solid var(--aos-line);
    margin: 12px 14px 28px;
    padding: 28px 16px 32px;
    border-radius: 22px;
    scroll-margin-top: 90px;
    overflow: visible;
}
.sip-lounge-inner { max-width: 980px; margin: 0 auto; }
.sip-group {
    margin-top: 26px;
    scroll-margin-top: 90px;
}
.sip-group:first-of-type { margin-top: 8px; }
.sip-group-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 900;
    color: var(--aos-gold);
}
.sip-kicker {
    margin: 0 0 8px;
    text-align: center;
    color: var(--aos-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.sip-title {
    margin: 0 0 22px;
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    color: var(--aos-gold);
}
.sip-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    background: var(--aos-gold);
    margin: 10px auto 0;
}
.sip-filters {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin: 0 0 28px;
    padding: 0;
}
.sip-filter {
    background: none;
    border: 0;
    color: #5b7aa5;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    padding: 4px 0;
}
.sip-filter.active,
.sip-filter:hover { color: var(--aos-primary); }
.resto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px 36px;
}
.resto-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.resto-item.is-out { opacity: .55; }
.resto-thumb {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    border: 3px solid rgba(255, 199, 44, .85);
    background: #e8f8ff;
}
.resto-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.resto-thumb-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.resto-copy { flex: 1; min-width: 0; }
.resto-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.resto-name {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--aos-dark);
    white-space: normal;
    line-height: 1.3;
}
.resto-dots {
    flex: 1;
    border-bottom: 1px dotted rgba(22, 48, 79, .28);
    min-width: 16px;
    transform: translateY(-4px);
}
.resto-price {
    color: var(--aos-gold);
    font-weight: 800;
    white-space: nowrap;
    font-size: 15px;
}
.resto-price small { font-size: 11px; }
.resto-desc {
    margin: 4px 0 0;
    color: var(--aos-text);
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
}
.resto-add {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--aos-primary);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}
body.ros-lang-en-active .sip-lounge,
body.ros-lang-en-active .resto-line { direction: ltr; text-align: left; }

.ros-desk-toggle-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ros-desk-wrap {
    position: relative;
}
.ros-desk-drop {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 80;
    width: min(360px, 82vw);
    max-height: 280px;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--aos-line);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
    padding: 8px;
}
body.ros-lang-en-active .ros-desk-drop {
    left: auto;
    right: 0;
}
.desk-drop-empty {
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-align: center;
}
.ros-desk-drop .desk-queue {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
}
.ros-desk-line {
    border: 0;
    background: #fff8e1;
    color: #1c1917;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
}
.ros-desk-drop .ros-desk-line {
    width: 100%;
    text-align: start;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ros-desk-toggle-btn.is-live {
    border-color: var(--aos-primary);
    background: var(--aos-primary-light);
    color: var(--aos-primary);
}
.ros-desk-badge {
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}
.ros-order-toasts {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20000;
    width: min(560px, calc(100% - 24px));
    pointer-events: none;
}
.ros-notify-toast {
    pointer-events: auto;
    display: block;
    width: 100%;
    border: 0;
    border-radius: 14px;
    background: #1c1917;
    color: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.28);
    padding: 12px 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    text-align: start;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    animation: deskToastIn .28s ease;
    border-right: 4px solid var(--aos-primary);
}
.ros-desk-detail {
    position: fixed;
    inset: 0;
    z-index: 20010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.ros-desk-detail[hidden] { display: none; }
.ros-desk-detail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .28);
}
.ros-desk-detail-card {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    max-height: min(78vh, 640px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .22);
    overflow: hidden;
}
.ros-desk-detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--aos-line);
    flex-shrink: 0;
}
.ros-desk-detail-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 900;
    color: var(--aos-dark);
}
.ros-desk-detail-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #334155;
}
.ros-desk-detail-ack {
    margin: 0;
    padding: 8px 14px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}
.ros-desk-detail-body {
    overflow-y: auto;
    padding: 12px 14px 16px;
    -webkit-overflow-scrolling: touch;
}
.desk-detail-line {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    line-height: 1.6;
}
.desk-detail-total {
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: 900;
    color: var(--aos-primary);
}
@keyframes deskToastIn {
    from { transform: translateY(-16px); opacity: 0; }
    to { transform: none; opacity: 1; }
}
.desk-queue {
    padding: 0 16px 20px;
    display: grid;
    gap: 10px;
}
.desk-card {
    border: 1px solid var(--aos-line);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
.desk-status-btn.is-new.is-active { background: var(--aos-red); border-color: var(--aos-red); color: #fff; }
.desk-status-btn.is-confirmed.is-active { background: #3b82f6; border-color: #3b82f6; color: #fff; }
.desk-status-btn.is-preparing.is-active { background: #f97316; border-color: #f97316; color: #fff; }
.desk-status-btn.is-ready.is-active { background: #10b981; border-color: #10b981; color: #fff; }
.desk-status-btn.is-delivered.is-active { background: #64748b; border-color: #64748b; color: #fff; }
.desk-status-btn.is-cancelled.is-active { background: #ef4444; border-color: #ef4444; color: #fff; }
.desk-card.is-new { border-color: var(--aos-red); background: #fdf4f4; }
.desk-card.is-confirmed { border-color: #3b82f6; background: #f8fbff; }
.desk-card.is-preparing { border-color: #f97316; background: #fff7ed; }
.desk-card.is-ready { border-color: #10b981; background: #f0fdf4; }
.desk-card.is-delivered { border-color: #94a3b8; background: #faf8f4; }
.desk-card.is-cancelled { border-color: #ef4444; background: #fef2f2; }
.desk-card-head {
    width: 100%;
    border: 0;
    background: transparent;
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    text-align: start;
    cursor: pointer;
    font-family: inherit;
}
.desk-card-head strong { font-size: 14px; color: var(--aos-dark); }
.desk-card-meta, .desk-card-status { font-size: 12px; font-weight: 700; color: var(--aos-muted); }
.desk-card-total { font-size: 14px; font-weight: 900; color: var(--aos-gold); }
.desk-card-body {
    display: none;
    padding: 0 14px 14px;
    border-top: 1px dashed var(--aos-line);
}
.desk-card.is-open .desk-card-body { display: block; }
.desk-card-body p {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    line-height: 1.6;
}
.desk-items { margin-top: 10px; }
.desk-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--aos-line);
    font-size: 13px;
    font-weight: 700;
}
.desk-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.desk-status-btn {
    border: 1px solid var(--aos-line);
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
}
.desk-status-btn.is-active {
    background: var(--aos-primary);
    border-color: var(--aos-primary);
    color: #fff;
}
