


:root { --cart-w: 360px; }


.cart-fab {
    position: fixed;
    bottom: 32px;
    right: 28px;
    z-index: 1050;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(148, 163, 184, 0.12);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;

    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
}
.cart-fab.ready {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.cart-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.55), var(--shadow-glow);
}
.cart-fab:active { transform: scale(0.94); }


.cart-fab .cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: #fff;
    color: var(--accent-muted);
    font-family: 'Ubuntu', sans-serif;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.cart-fab.has-items .cart-badge { display: flex; }


@keyframes fabPulse {
    0%   { box-shadow: 0 4px 20px rgba(0,0,0,0.45), 0 0 0 0 rgba(88,120,152,0.5); }
    70%  { box-shadow: 0 4px 20px rgba(0,0,0,0.45), 0 0 0 12px rgba(88,120,152,0); }
    100% { box-shadow: 0 4px 20px rgba(0,0,0,0.45), 0 0 0 0 rgba(88,120,152,0); }
}
.cart-fab.pulse { animation: fabPulse 0.5s ease; }


@media (max-width: 768px) {
    .cart-fab { bottom: 24px; right: 20px; width: 48px; height: 48px; }
}


.premium-scroll-top {
    right: 88px !important;
    bottom: 32px !important;
}
@media (max-width: 768px) {
    .premium-scroll-top {
        right: 80px !important;
        bottom: 24px !important;
    }
}


.menu-card.card-in-cart {
    border-color: var(--accent-muted);
    box-shadow: 0 4px 20px rgba(74, 98, 120, 0.35);
}


.menu-card { position: relative; }

.card-qty-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    min-width: 24px;
    height: 24px;
    padding: 0 5px;
    background: rgba(10, 18, 36, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1.5px solid var(--accent-primary);
    color: var(--accent-light);
    font-family: 'Ubuntu', sans-serif;
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 24px;
    letter-spacing: 0;
    pointer-events: none;
    user-select: none;
}


.card-footer-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background: var(--accent-muted);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}
.card-add-btn:hover {
    background: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(88, 120, 152, 0.22);
}
.card-add-btn:active { transform: scale(0.86); }
.card-add-btn.in-cart { background: var(--accent-light); }

@keyframes cardBtnPop {
    0%   { transform: scale(1); }
    45%  { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.card-add-btn.pop { animation: cardBtnPop 0.22s ease; }


.card-stepper {
    display: flex;
    align-items: center;
    position: relative;
}

.card-stepper .card-add-btn {
    position: relative;
    z-index: 2;
}

.card-stepper-rail {
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    transition: max-width 0.32s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s ease;
}
.card-stepper.open .card-stepper-rail {
    max-width: 72px;
    opacity: 1;
}
.card-stepper-slide {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-right: 8px;
    transform: translateX(40px);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}
.card-stepper.open .card-stepper-slide { transform: translateX(0); }


.card-minus-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.card-minus-btn:hover {
    background: var(--accent-muted);
    color: #fff;
}
.card-minus-btn:active { transform: scale(0.86); }

.card-stepper-qty {
    min-width: 14px;
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    user-select: none;
}


.fly-plane {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1200;
    pointer-events: none;
    color: var(--accent-light);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
    will-change: transform;
}


@keyframes fabLand {
    0% {
        transform: scale(1);
        filter: saturate(1) brightness(1);
        box-shadow: 0 4px 20px rgba(0,0,0,0.45), 0 0 0 0 rgba(88,120,152,0.4);
    }
    35% {
        transform: scale(1.12);
        filter: saturate(1.35) brightness(1.12);
    }
    70% {
        box-shadow: 0 4px 20px rgba(0,0,0,0.45), 0 0 0 10px rgba(88,120,152,0);
    }
    100% {
        transform: scale(1);
        filter: saturate(1) brightness(1);
        box-shadow: 0 4px 20px rgba(0,0,0,0.45), 0 0 0 0 rgba(88,120,152,0);
    }
}
.cart-fab.land { animation: fabLand 0.45s ease; }


@keyframes checkoutFlash {
    0%   { transform: scale(1);    filter: brightness(1); }
    35%  { transform: scale(1.04); filter: brightness(1.28);
           box-shadow: 0 0 24px rgba(88, 120, 152, 0.55); }
    100% { transform: scale(1);    filter: brightness(1); }
}
.cart-checkout-btn.flash {
    animation: checkoutFlash 0.42s cubic-bezier(0.32, 0.72, 0, 1);
}


.fly-trail {
    position: fixed;
    z-index: 1199;
    pointer-events: none;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-light);
    transform: translate(-50%, -50%);
    animation: trailFade 0.38s ease forwards;
}
@keyframes trailFade {
    0%   { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0;    transform: translate(-50%, -50%) scale(0.2); }
}


@media (min-width: 769px) {
    body.cart-open .menu-filter-bar {
        right: calc(var(--cart-w) + 40px);
        transition: right 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    }
    body.cart-open .menu-main,
    body.cart-open .menu-notice,
    body.cart-open .allergen-notice,
    body.cart-open .premium-footer {
        margin-right: calc(var(--cart-w) + 40px);
        transition: margin-right 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    }
    body.cart-open .cart-fab {
        opacity: 0;
        pointer-events: none;
        transform: scale(0.7);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    body.cart-open .premium-scroll-top {
        right: calc(var(--cart-w) + 20px + 12px) !important;
        transition: right 0.35s cubic-bezier(0.32, 0.72, 0, 1) !important;
    }

    .menu-filter-bar,
    .menu-main,
    .menu-notice,
    .allergen-notice,
    .premium-footer,
    .premium-scroll-top {
        transition-property: margin-right, right;
        transition-duration: 0.35s;
        transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
    }
}


.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 15, 30, 0.72);
    z-index: 1097;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

@media (min-width: 769px) {
    .cart-overlay { display: none !important; }
}


@media (min-width: 769px) {
    .cart-panel {
        position: fixed;
        top: 96px;
        right: 20px;
        bottom: 12px;
        width: var(--cart-w);
        border-radius: var(--radius-lg);
        background: var(--bg-secondary);
        border-left: 1px solid var(--glass-border);
        box-shadow: -6px 0 40px rgba(0, 0, 0, 0.5);
        z-index: 1100;
        display: flex;
        flex-direction: column;
        transform: translateX(calc(100% + 20px));
        transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    }
    .cart-panel.open { transform: translateX(0); }
    .cart-panel-handle { display: none; }
}


@media (max-width: 768px) {
    .cart-panel {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        max-height: 86svh;
        background: var(--bg-secondary);
        border-top: 1px solid var(--glass-border);
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -6px 40px rgba(0, 0, 0, 0.5);
        z-index: 1098;
        display: flex;
        flex-direction: column;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    }
    .cart-panel.open { transform: translateY(0); }
    .cart-panel-handle {
        width: 100%;
        height: 29px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        cursor: grab;
        touch-action: none;
    }
    .cart-panel-handle::after {
        content: '';
        display: block;
        width: 44px;
        height: 5px;
        background: rgba(148, 163, 184, 0.3);
        border-radius: 3px;
    }
}


.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
}
.cart-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}
.cart-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-fast);
}
.cart-close-btn:hover { background: var(--accent-muted); color: var(--text-primary); }


.cart-test-banner {
    display: none;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 16px 0;
    padding: 10px 12px;
    background: rgba(217, 164, 65, 0.14);
    border: 1px solid rgba(217, 164, 65, 0.4);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.5;
    flex-shrink: 0;
}
.cart-test-banner.visible { display: flex; }
.cart-test-banner > svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #d9a441;
}
.cart-test-banner > span { flex: 1; }
.cart-test-banner-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
}
.cart-test-banner-close:hover { color: var(--text-primary); }
body.premium-dark.light-mode .cart-test-banner {
    background: rgba(217, 164, 65, 0.16);
    border-color: rgba(191, 138, 32, 0.5);
    color: #4a3a12;
}
body.premium-dark.light-mode .cart-test-banner > svg { color: #a9760f; }

.cart-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}
.cart-empty svg { opacity: 0.28; }


.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}
body.premium-dark.light-mode .cart-item {
    background: var(--bg-tertiary);
}
.cart-item-thumb {
    width: 46px; height: 46px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-tertiary);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}
.cart-item-unit-price {
    font-size: 12px;
    color: var(--accent-light);
    font-weight: 500;
}


.cart-item-swipe {
    position: relative;
    flex-shrink: 0;
}


@media (min-width: 769px) {
    .cart-item-delete-bg { display: none; }
}
@media (max-width: 768px) {
    .cart-item-remove { display: none; }

    .cart-item-swipe {
        overflow: hidden;
        border-radius: var(--radius-md);
    }
    .cart-item-delete-bg {
        position: absolute;
        right: 0; top: 0; bottom: 0;
        width: 72px;
        background: rgba(88, 120, 152, 0.2);
        border-radius: 0 var(--radius-md) var(--radius-md) 0;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        color: var(--accent-light);
    }
    .cart-item-swipe .cart-item {
        position: relative;
        z-index: 1;
        transition: transform 0.25s ease;
        background: rgba(15, 23, 42, 0.92);
        border-radius: var(--radius-md);
    }
    .cart-item-swipe.swiping .cart-item { transition: none; }
    .cart-item-swipe.confirmed .cart-item {
        transform: translateX(-100%);
        transition: transform 0.22s ease;
    }
}


.time-wheel-wrap { display: flex; flex-direction: column; gap: 6px; }
.time-wheel-label {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.time-wheel {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 132px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.time-wheel::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: calc(50% - 22px);
    height: 44px;
    background: rgba(88, 120, 152, 0.13);
    border-top: 1px solid rgba(88, 120, 152, 0.28);
    border-bottom: 1px solid rgba(88, 120, 152, 0.28);
    pointer-events: none;
    z-index: 1;
}

.time-wheel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        var(--bg-tertiary) 0%,
        transparent 32%,
        transparent 68%,
        var(--bg-tertiary) 100%
    );
    pointer-events: none;
    z-index: 1;
}
.tw-col {
    flex: 1;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.tw-col::-webkit-scrollbar { display: none; }
.tw-pad { height: 44px; flex-shrink: 0; }
.tw-item {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    font-size: 17px;
    font-weight: 500;
    color: rgba(148, 163, 184, 0.45);
    transition: color 0.12s ease, font-size 0.12s ease, font-weight 0.12s ease;
    cursor: default;
}
.tw-item.tw-sel {
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 700;
}
.tw-item.tw-dis {
    opacity: 0.2;
    text-decoration: line-through;
}
.tw-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    padding-bottom: 2px;
}

.time-wheel.error {
    border-color: #e57373;
    box-shadow: 0 0 0 3px rgba(229, 115, 115, 0.14);
}


.time-field-wrap { position: relative; }

.time-field-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.time-field-btn:hover { border-color: rgba(148, 163, 184, 0.3); }
.time-field-btn.open {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(88, 120, 152, 0.18);
}
.time-field-btn .tf-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.time-field-btn .tf-arrow {
    color: var(--text-muted);
    transition: transform 0.2s ease;
}
.time-field-btn.open .tf-arrow { transform: rotate(180deg); }


.time-popover {
    display: none;
    position: fixed;
    z-index: 3000;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    flex-direction: column;
}
.time-popover.open { display: flex; }

.tw-date-label {
    padding: 10px 12px 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.tw-confirm-btn {
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-top: 1px solid var(--glass-border);
    color: var(--accent-light);
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    letter-spacing: 0.03em;
}
.tw-confirm-btn:hover { background: rgba(88, 120, 152, 0.12); }


.order-lbl-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.order-info-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    font-family: 'Ubuntu', sans-serif;
    cursor: default;
    flex-shrink: 0;
    margin-bottom: 1px;
}
.order-info-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    padding: 8px 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    z-index: 30;
    white-space: normal;
    pointer-events: none;
}
.order-info-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--glass-border);
}
.order-info-icon:hover .order-info-tooltip,
.order-info-icon:focus .order-info-tooltip { display: block; }


#oCalBd,  #oTimeBd  { z-index: 2600 !important; }
#oCalPop, #oTimePop { z-index: 2601 !important; }


.order-datetime-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.time-field-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}


.order-cal-portal {
    position: fixed;
    top: auto;
    z-index: 3000;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: none;
    min-width: 268px;
}
.order-cal-portal.open { display: block; }
.order-cal-portal .calendar-dropdown {
    position: static !important;
    opacity: 1 !important; visibility: visible !important;
    transform: none !important; box-shadow: none !important;
    border: none !important; background: transparent !important;
}


.compact-time-list {
    position: fixed;
    top: auto;
    z-index: 3000;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    max-height: 186px;
    display: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(88,120,152,0.4) transparent;
}
.compact-time-list.open { display: block; }
.compact-time-item {
    padding: 8px 14px;
    cursor: pointer;
    color: var(--text-secondary);
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    transition: background 0.1s ease;
}
.compact-time-item:hover { background: rgba(88,120,152,0.12); color: var(--text-primary); }
.compact-time-item.ctl-sel { background: var(--accent-muted); color: #fff; }


.cs-wrap { position: relative; }

.cs-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}
.cs-trigger:hover { border-color: rgba(148, 163, 184, 0.3); }
.cs-trigger.open {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(88, 120, 152, 0.18);
}
.cs-val { flex: 1; }
.cs-arrow { color: var(--text-muted); transition: transform 0.2s ease; flex-shrink: 0; }
.cs-trigger.open .cs-arrow { transform: rotate(180deg); }
.cs-val.has-value { color: var(--text-primary); }


.cs-dropdown-portal {
    position: fixed;
    top: auto;
    z-index: 3000;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    max-height: 220px;
    display: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(88,120,152,0.4) transparent;
}
.cs-dropdown-portal.open { display: block; }

.cs-option {
    padding: 10px 14px;
    cursor: pointer;
    color: var(--text-secondary);
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    transition: background 0.1s ease;
}
.cs-option:hover { background: rgba(88, 120, 152, 0.12); color: var(--text-primary); }
.cs-option.cs-sel { background: var(--accent-muted); color: #fff; }
.cs-option.cs-placeholder { color: var(--text-muted); }
.cs-wrap.error .cs-trigger {
    border-color: #e57373;
    box-shadow: 0 0 0 3px rgba(229, 115, 115, 0.14);
}


.cart-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.cart-qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    transition: var(--transition-fast);
}
.cart-qty-btn:hover {
    background: var(--accent-muted);
    color: var(--text-primary);
    border-color: var(--accent-muted);
}
.cart-qty-btn:active { transform: scale(0.86); }
.cart-qty-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 18px;
    text-align: center;
}


.cart-foot {
    padding: 14px 20px 20px;
    border-top: 1px solid var(--glass-border);
    flex-shrink: 0;
}
.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.cart-total-lbl {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}
.cart-total-sum {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}


.order-overlay {
    position: fixed;
    inset: 0;
    z-index: 2500;
    background: rgba(8, 14, 28, 0.88);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.order-overlay.open { opacity: 1; visibility: visible; }

.order-box {
    width: 100%;
    max-width: 460px;
    max-height: calc(100svh - 32px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
    transform: translateY(28px) scale(0.97);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s ease;
}
.order-overlay.open .order-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.order-head {
    position: sticky;
    top: 0;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 0;
    margin-bottom: 12px;
}
.order-head-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}
.order-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-fast);
}
.order-close-btn:hover { background: var(--accent-muted); color: var(--text-primary); }

.order-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px 18px;
}
.order-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.order-lbl {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}


.order-form .form-input {
    font-size: 14px !important;
    padding: 9px 12px !important;
}
.order-form .form-input.error {
    border-color: #e57373 !important;
    box-shadow: 0 0 0 3px rgba(229, 115, 115, 0.14) !important;
}


.order-toggle {
    display: flex;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 3px;
    gap: 3px;
}
.order-toggle-btn {
    flex: 1;
    padding: 7px 8px;
    border: none;
    border-radius: calc(var(--radius-sm) - 2px);
    background: transparent;
    color: var(--text-muted);
    font-family: 'Ubuntu', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
    text-align: center;
    white-space: nowrap;
}
.order-toggle-btn.active {
    background: var(--accent-muted);
    color: var(--text-primary);
}


.order-hint {
    font-size: 12px;
    color: var(--text-muted);
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    line-height: 1.55;
}
.order-hint strong { color: var(--text-secondary); font-weight: 500; }


.order-select-wrap { position: relative; }
.order-select-wrap select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.order-select-wrap::after {
    content: '';
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-muted);
    pointer-events: none;
}


.order-pay-row { display: flex; gap: 8px; }
.order-pay-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.order-pay-btn.active {
    border-color: var(--accent-primary);
    background: rgba(88, 120, 152, 0.14);
    color: var(--text-primary);
}


.order-closed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 32px 24px 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}
.order-closed svg { opacity: 0.3; margin-bottom: 4px; }
.order-closed strong {
    display: block;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}


.order-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0;
}


.order-consent-field {
    display: flex;
    flex-direction: column;
}
.order-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-secondary);
    user-select: none;
}
.order-consent-cb {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--accent-primary);
    cursor: pointer;
}
.order-consent-link {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.order-consent-link:hover { color: var(--text-primary); }
.order-consent-field.error .order-consent-label { color: #e57373; }
.order-consent-field.error .order-consent-cb {
    outline: 2px solid #e57373;
    outline-offset: 1px;
    border-radius: 2px;
}

@media (max-width: 480px) {
    .order-overlay { padding: 8px; }
    .order-head { padding: 18px 16px 0; margin-bottom: 14px; }
    .order-form  { padding: 0 16px 20px; gap: 12px; }
    .order-head-title { font-size: 17px; }
}


@media (max-height: 760px) {
    .order-head   { padding: 12px 20px 0; margin-bottom: 8px; }
    .order-form   { gap: 7px; }
    .order-field  { gap: 3px; }
    .order-consent-label { font-size: 11px; line-height: 1.4; }
}
@media (max-height: 620px) {
    .order-head-title { font-size: 15px; }
    .order-lbl    { font-size: 9px; }
}


.order-cutlery-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.order-cutlery-btn {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}
.order-cutlery-btn:hover { background: var(--accent-muted); color: #fff; }
.order-cutlery-btn:active { transform: scale(0.86); }
.order-cutlery-val {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 24px;
    text-align: center;
}
.order-cutlery-hint {
    font-size: 12px;
    color: var(--text-muted);
}


.order-comment-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: 'Ubuntu', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s ease;
    text-align: left;
    margin-top: -2px;
}
.order-comment-toggle:hover { color: var(--text-secondary); }
.order-comment-arrow {
    margin-left: auto;
    transition: transform 0.22s ease;
    flex-shrink: 0;
}
.order-comment-toggle[aria-expanded="true"] .order-comment-arrow {
    transform: rotate(180deg);
}
.order-comment-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}
.order-comment-body.open {
    max-height: 140px;
    padding-top: 8px;
}


.cdp-overlay {
    position: fixed;
    inset: 0;
    z-index: 1600;
    background: rgba(8, 14, 28, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}
@media (min-width: 769px) {


    .cdp-overlay { align-items: center; padding: 20px; }
}
.cdp-overlay.open { opacity: 1; visibility: visible; }

.cdp-box {
    width: 100%;
    max-width: 440px;
    max-height: 86svh;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 48px rgba(0, 0, 0, 0.55);
    transform: translateY(32px);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
@media (min-width: 769px) {
    .cdp-box { border-radius: var(--radius-xl); box-shadow: 0 24px 64px rgba(0,0,0,0.6); }
}
.cdp-overlay.open .cdp-box { transform: translateY(0); }

.cdp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px 13px;
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
}
.cdp-head-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.cdp-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}
.cdp-subtitle {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 400;
}
.cdp-close {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}
.cdp-close:hover { background: var(--accent-muted); color: var(--text-primary); }

.cdp-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 14px 16px 6px;
}

.cdp-footer {
    display: flex;
    justify-content: center;
    padding: 10px 16px 12px;
    border-top: 1px solid var(--glass-border);
    flex-shrink: 0;
}
.cdp-proceed {
    flex: none;
    width: auto;
    min-width: 220px;
    padding: 11px 32px !important;
    font-size: 13px !important;
}


.cart-drinks-hint {
    margin-top: 6px;
    padding: 9px 12px 10px;
    background: rgba(88, 120, 152, 0.05);
    border: 1px solid rgba(88, 120, 152, 0.14);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}
.cart-drinks-hint-lbl {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.cart-drink-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.06);
}
.cart-drink-name {
    flex: 1;
    font-size: 12px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.cart-drink-price {
    font-size: 12px;
    color: var(--accent-light);
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 2px;
}
.cart-drink-add {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-muted);
    border: none;
    color: #fff;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.1s ease;
    padding: 0;
}
.cart-drink-add:hover  { background: var(--accent-primary); }
.cart-drink-add:active { transform: scale(0.86); }


.cart-extras {
    padding: 0 0 6px;
}
.cart-extras-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.cart-extras-lbl {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
}
.cart-extras-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 6px 0 12px;
}


.cdp-body { padding: 0 !important; }

.cdp-track-outer { position: relative; }

.cdp-nav-btn {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(8, 18, 38, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(100, 145, 158, 0.45);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #a8c8d8;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.cdp-nav-btn.cdp-nav-visible { opacity: 1; pointer-events: auto; }
.cdp-nav-btn:hover {
    background: rgba(60, 95, 120, 0.92);
    border-color: rgba(148, 185, 205, 0.8);
    color: #dff0f8;
}
.cdp-nav-btn svg { display: block; flex-shrink: 0; }
.cdp-nav-prev { left: 6px; }
.cdp-nav-next { right: 6px; }

.cdp-grid {
    display: flex;
    gap: 10px;


    padding: 14px 0 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 22px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cdp-grid::-webkit-scrollbar { display: none; }

.cdp-card {
    flex: 0 0 calc((100% - 54px) / 2);
    min-width: 0;
    scroll-snap-align: start;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.cdp-card:first-child { margin-left: 22px; }
.cdp-card:last-child  { margin-right: 22px; }
.cdp-card.in-cart { border-color: var(--accent-muted); }

.cdp-card-img-wrap {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}
.cdp-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.cdp-card-img-ph {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}
.cdp-stepper {
    margin-top: 8px;
    justify-content: flex-end;
}
.cdp-stepper .card-add-btn,
.cdp-stepper .card-minus-btn {
    width: 28px;
    height: 28px;
}
.cdp-card-info {
    padding: 8px 10px 10px;
}
.cdp-card-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    margin-bottom: 4px;
}
.cdp-card-price {
    font-size: 12px;
    color: var(--accent-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 2px;
}


.cart-extras .form-textarea { font-size: 13px; }


.bench-welcome-overlay {
    position: fixed; inset: 0; z-index: 2600;
    background: rgba(8, 14, 28, 0.88);
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center; padding: 16px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.bench-welcome-overlay.open { opacity: 1; visibility: visible; }
.bench-welcome-box {
    width: 100%; max-width: 420px; max-height: calc(100svh - 32px); overflow-y: auto;
    background: var(--bg-secondary); border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl); box-shadow: 0 24px 64px rgba(0,0,0,0.65);
    padding: 22px 22px 20px;
    transform: translateY(24px) scale(0.97); opacity: 0;
    transition: transform 0.3s cubic-bezier(0.32,0.72,0,1), opacity 0.3s ease;
}
.bench-welcome-overlay.open .bench-welcome-box { transform: translateY(0) scale(1); opacity: 1; }
.bench-welcome-title {
    font-size: 17px; font-weight: 700; color: var(--text-primary); margin: 0 0 4px;
}
.bench-welcome-sub {
    font-size: 12.5px; color: var(--accent-light); margin: 0 0 16px;
    text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}
.bench-welcome-steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bench-welcome-steps li {
    display: flex; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text-secondary);
}
.bench-welcome-steps .bws-num {
    flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
    background: var(--accent-glow); color: var(--accent-light); font-weight: 700; font-size: 12px;
    display: flex; align-items: center; justify-content: center;
}
.bench-welcome-steps a { color: var(--accent-light); }
.bench-welcome-box .btn-premium { width: 100%; }


