.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.toast {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

#item-modal-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

#item-modal.show {
    transform: translateY(0);
}

@media (min-width: 640px) {
    #item-modal.show {
        transform: scale(1);
        opacity: 1;
    }
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.vip-empty-state {
    min-height: 220px;
    border: 1px dashed #e5e7eb;
    border-radius: 1rem;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vip-modal-choice--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f9fafb;
    border-color: #e5e7eb;
}

.vip-modal-choice--disabled:hover {
    border-color: #e5e7eb;
}

.vip-menu-card--muted {
    opacity: 0.72;
}

.vip-no-scroll {
    overflow: hidden !important;
}

.vip-main-content {
    padding-bottom: 7.5rem;
}

.vip-location-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.35rem 0.6rem;
    border-radius: 0.85rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.vip-location-card:hover {
    background: #f9fafb;
    transform: translateY(-1px);
}

.vip-location-card--static:hover {
    background: transparent;
    transform: none;
}

.vip-location-card__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(44vw, 330px);
}

#categories-container {
    gap: 1.1rem;
}

.vip-category {
    width: 92px;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    min-width: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    cursor: pointer;
}

.vip-category__thumb {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vip-category__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vip-category__name {
    margin-top: 0.55rem;
    font-size: 13px;
    line-height: 1.35;
    color: #6b7280;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.vip-category:hover .vip-category__thumb,
.vip-category.is-active .vip-category__thumb {
    transform: translateY(-2px);
}

.vip-category.is-active .vip-category__thumb {
    border-color: #111827;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.vip-category.is-active .vip-category__name {
    color: #111827;
    font-weight: 700;
}

.vip-menu-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 1.35rem;
    padding: 0.95rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 174px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.vip-menu-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.1);
    border-color: #e5e7eb;
}

.vip-menu-card__thumb {
    width: 138px;
    height: 138px;
    flex-shrink: 0;
    border-radius: 1.1rem;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
}

.vip-menu-card__thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 12px rgba(15, 23, 42, 0.08));
}

.vip-menu-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
}

.vip-menu-card__title {
    margin: 0;
    color: #111827;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 800;
}

.vip-menu-card__desc {
    margin-top: 0.45rem;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.55;
    text-transform: uppercase;
}

.vip-menu-card__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.95rem;
}

.vip-menu-card__action {
    border: 1px solid #111827;
    background: #ffffff;
    color: #111827;
    border-radius: 0.7rem;
    padding: 0.48rem 1rem;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background 0.2s ease, color 0.2s ease;
}

.vip-menu-card__action:hover {
    background: #111827;
    color: #ffffff;
}

.vip-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.vip-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

#vip-summary-backdrop {
    z-index: 72;
}

#vip-drawer-overlay {
    z-index: 82;
}

.vip-drawer {
    position: fixed;
    top: 0;
    inset-inline-end: 0;
    z-index: 83;
    height: 100%;
    width: min(86vw, 340px);
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
}

html[dir="ltr"] .vip-drawer {
    inset-inline-end: auto;
    inset-inline-start: 0;
    transform: translateX(-100%);
    box-shadow: 18px 0 40px rgba(0, 0, 0, 0.18);
}

.vip-drawer.is-open {
    transform: translateX(0);
}

.vip-drawer__hero {
    position: relative;
    padding: 2.5rem 1.25rem 1.75rem;
    background: #111827;
    color: #ffffff;
    text-align: center;
}

.vip-drawer__close {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vip-drawer__logo {
    width: 82px;
    height: 82px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    padding: 5px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.vip-drawer__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.vip-drawer__title {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
}

.vip-drawer__body {
    flex: 1;
    overflow: auto;
    padding: 0.4rem 0 1.2rem;
}

.vip-drawer__body::-webkit-scrollbar {
    display: none;
}

.vip-accordion {
    border-bottom: 1px solid #f3f4f6;
}

.vip-accordion__button {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #4b5563;
    font-weight: 800;
    font-size: 14px;
}

.vip-accordion__label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.vip-accordion__arrow {
    width: 18px;
    height: 18px;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.vip-accordion__button.is-open .vip-accordion__arrow {
    transform: rotate(180deg);
}

.vip-accordion__content {
    padding: 0 1.15rem 1.15rem;
    display: grid;
    gap: 0.75rem;
}

.vip-drawer-category-list {
    display: grid;
    gap: 0.65rem;
}

.vip-drawer-category {
    width: 100%;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    border-radius: 0.95rem;
    padding: 0.9rem 1rem;
    font-size: 13px;
    font-weight: 700;
    text-align: start;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.vip-drawer-category:hover {
    border-color: #111827;
    transform: translateY(-1px);
}

.vip-drawer-category.is-active {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}

.vip-hours-row,
.vip-about-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

.vip-hours-row.is-today {
    color: #111827;
}

.vip-empty-note {
    padding: 0.85rem 0.95rem;
    border: 1px dashed #d1d5db;
    border-radius: 1rem;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

.vip-about-list {
    display: grid;
    gap: 0.8rem;
}

.vip-about-row {
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
    color: #374151;
}

.vip-about-row__icon {
    width: 18px;
    height: 18px;
    margin-top: 0.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    font-size: 18px;
}

.vip-about-row--link:hover {
    color: #111827;
}

.vip-drawer__socials {
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid #eef2f7;
    display: flex;
    gap: 0.85rem;
    justify-content: center;
}

.vip-social-link {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid #f0f0f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    font-size: 20px;
}

.vip-summary-bar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 65;
    width: min(calc(100% - 24px), 560px);
}

.vip-summary-bar__button {
    width: 100%;
    border: 0;
    border-radius: 1.25rem;
    background: #111827;
    color: #ffffff;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.24);
}

.vip-summary-bar__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
}

html[dir="rtl"] .vip-summary-bar__meta {
    align-items: flex-end;
}

.vip-summary-bar__count {
    font-size: 12px;
    opacity: 0.8;
}

.vip-summary-bar__total {
    font-size: 18px;
    font-weight: 900;
}

.vip-summary-bar__label {
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.vip-summary-sheet {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 105%);
    width: min(100%, 560px);
    max-height: min(84vh, 760px);
    background: #ffffff;
    border-radius: 26px 26px 0 0;
    z-index: 73;
    box-shadow: 0 -16px 38px rgba(15, 23, 42, 0.18);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vip-summary-sheet.is-open {
    transform: translate(-50%, 0);
}

.vip-summary-sheet__header {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.vip-summary-sheet__title {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.vip-summary-sheet__close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vip-summary-sheet__content {
    flex: 1;
    overflow: auto;
    padding: 0.35rem 1.25rem 0;
}

.vip-summary-sheet__content::-webkit-scrollbar {
    display: none;
}

.vip-summary-sheet__footer {
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
    border-top: 1px solid #f3f4f6;
    background: #ffffff;
    display: grid;
    gap: 0.8rem;
}

.vip-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}

.vip-summary-checkout {
    width: 100%;
    border: 0;
    border-radius: 1rem;
    background: #111827;
    color: #ffffff;
    padding: 0.95rem 1rem;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
}

.vip-summary-empty {
    padding: 1.2rem 1rem;
    margin: 0.9rem 0 1rem;
    border: 1px dashed #d1d5db;
    border-radius: 1.1rem;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

.vip-summary-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.vip-summary-item:last-child {
    border-bottom: 0;
}

.vip-summary-item__title {
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
    white-space: pre-line;
}

.vip-summary-item__meta {
    margin-top: 0.3rem;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.6;
}

.vip-summary-item__note {
    margin-top: 0.3rem;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.6;
}

.vip-summary-item__price {
    color: #111827;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .vip-summary-sheet {
        bottom: 20px;
        border-radius: 26px;
        transform: translate(-50%, 110%);
    }

    .vip-summary-sheet.is-open {
        transform: translate(-50%, 0);
    }
}

@media (max-width: 767px) {
    .vip-location-card {
        flex: 1;
    }

    .vip-location-card__text {
        max-width: 48vw;
    }

    .vip-menu-card {
        min-height: 164px;
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .vip-menu-card__thumb {
        width: 126px;
        height: 126px;
    }

    .vip-menu-card__title {
        font-size: 14px;
    }

    .vip-menu-card__desc {
        font-size: 10px;
    }

    .vip-summary-bar__button {
        padding: 0.95rem 1rem;
    }

    .vip-summary-bar__label {
        font-size: 12px;
    }
}
