/* ===== Sultan Plaza — Glassmorphism Luxury Theme ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #f5f2ed;
    --bg-1: rgba(0, 0, 0, .03);
    --bg-2: rgba(0, 0, 0, .04);
    --bg-3: rgba(0, 0, 0, .06);
    --bg-4: rgba(0, 0, 0, .10);
    --accent: #b08530;
    --accent-2: #c4952e;
    --accent-dim: rgba(176, 133, 48, .10);
    --accent-border: rgba(176, 133, 48, .25);
    --gold: #a07828;
    --gold-light: #b08530;
    --gold-dim: rgba(160, 120, 40, .12);
    --gold-border: rgba(160, 120, 40, .25);
    --text: #2c2418;
    --text-2: rgba(44, 36, 24, .65);
    --text-3: rgba(44, 36, 24, .42);
    --card-bg: rgba(255, 255, 255, .7);
    --card-border: rgba(0, 0, 0, .08);
    --glass: rgba(255, 255, 255, .55);
    --glass-border: rgba(0, 0, 0, .08);
    --glass-strong: rgba(255, 255, 255, .7);
    --green: #22a854;
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 24px;
    --r-xl: 32px;
    --blur: blur(20px) saturate(1.2);
    --blur-sm: blur(12px) saturate(1.1);
    --shadow: 0 2px 12px rgba(0, 0, 0, .08), 0 1px 4px rgba(0, 0, 0, .05);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .06);
    --glow: 0 0 30px rgba(176, 133, 48, .1);
    --safe: env(safe-area-inset-bottom, 20px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    background-image: url("backx.jpg");
    background-size: auto;
    background-position: center;
    background-repeat: repeat;
    background-attachment: fixed;
    color: var(--text);
    min-height: 100dvh;
    padding-bottom: calc(88px + var(--safe));
    overflow-x: hidden
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(0, 0, 0, .52), rgba(0, 0, 0, .52)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23a07828' stroke-width='.5' opacity='.06'%3E%3Cpath d='M40 0 C40 22,22 40,0 40 C22 40,40 58,40 80 C40 58,58 40,80 40 C58 40,40 22,40 0Z'/%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3Cpath d='M40 28 L40 52 M28 40 L52 40'/%3E%3Cpath d='M31 31 L49 49 M49 31 L31 49'/%3E%3C/g%3E%3C/svg%3E") repeat,
        radial-gradient(ellipse 900px 500px at 15% 10%, rgba(176, 133, 48, .08), transparent 55%),
        radial-gradient(ellipse 700px 500px at 85% 90%, rgba(180, 160, 200, .06), transparent 50%),
        radial-gradient(ellipse 600px 400px at 50% 50%, rgba(180, 200, 220, .05), transparent 65%)
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle 300px at 20% 30%, rgba(176, 133, 48, .04), transparent),
        radial-gradient(circle 200px at 80% 70%, rgba(180, 160, 200, .03), transparent)
}

/* ===== HEADER (glass) ===== */
header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgb(245, 242, 237);

    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
    padding: 12px 18px 0
}

.logo-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px
}

.site-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .08))
}

/* ===== LANG SWITCH (glass pill) ===== */
.lang-switch {
    display: flex;
    gap: 2px;
    padding: 3px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-sm);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm)
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--text-3);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all .25s ease
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #fff;
    box-shadow: 0 2px 8px rgba(160, 120, 40, .3)
}

.lang-btn:hover:not(.active) {
    background: var(--bg-3);
    color: var(--text-2)
}

.header-lang.lang-switch {
    margin: 0
}

/* ===== TOP TABS ===== */
.top-tabs-wrap {
    margin: 0 -18px;
    padding: 0 18px
}

.top-tabs {
    display: flex;
    gap: 4px
}

.top-tab {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-3);
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .2px;
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .25s ease
}

.top-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold)
}

.top-tab:hover:not(.active) {
    color: var(--text-2)
}

/* ===== CATEGORY CHIPS (glass pills) ===== */
.categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0 12px;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.categories::-webkit-scrollbar {
    display: none
}

.chip {
    flex-shrink: 0;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    color: var(--text-2);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 100px;
    cursor: pointer;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06)
}

.chip-title {
    display: flex;
    align-items: center;
    gap: 5px
}

.chip-ico {
    font-size: 13px;
    line-height: 1
}

.chip-title-text {
    font-size: 16px;
    font-weight: 600
}

.chip-sub {
    font-size: 14px;
    color: var(--text-3);
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 18px
}

.chip.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 3px 12px rgba(160, 120, 40, .3)
}

.chip.active .chip-sub {
    color: rgba(255, 255, 255, .65)
}

.chip:hover:not(.active) {
    background: var(--bg-3);
    border-color: var(--gold-border);
    color: var(--text);
    box-shadow: var(--shadow)
}

/* ===== SEARCH (glass input) ===== */
.search-container {
    position: relative;
    padding: 14px 18px 8px;
    z-index: 1
}

.search-input {
    width: 100%;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    padding: 12px 18px 12px 44px;
    border-radius: var(--r-md);
    outline: none;
    transition: all .3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .15)
}

.search-input::placeholder {
    color: var(--text-3)
}

.search-input:focus {
    border-color: var(--gold-border);
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 0 0 3px rgba(160, 120, 40, .1), 0 2px 12px rgba(0, 0, 0, .06)
}

.search-container::before {
    content: '🔍';
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%) translateY(3px);
    font-size: 14px;
    pointer-events: none;
    opacity: .5
}

/* ===== MENU GRID ===== */
.menu-grid {
    position: relative;
    z-index: 1;
    padding: 8px 14px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px
}

@media(min-width:560px) {
    .menu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 12px 18px 24px
    }
}

@media(min-width:900px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.menu-grid.menu-grouped {
    display: block;
    padding: 8px 14px 20px
}

/* ===== SECTION TITLES ===== */
.menu-section {
    margin-bottom: 28px
}

.menu-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    color: #e8c060;
    margin-bottom: 14px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: .2px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .85), 0 0 24px rgba(232, 192, 96, .35)
}

.menu-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgb(196 149 64), transparent)
}

.menu-section-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px
}

@media(min-width:560px) {
    .menu-section-items {
        grid-template-columns: 1fr;
        gap: 12px
    }
}

@media(min-width:900px) {
    .menu-section-items {
        grid-template-columns: repeat(3, 1fr)
    }
}

/* ===== CARDS (glass) ===== */
.card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease, border-color .25s ease, background .25s ease;
    position: relative;
    overflow: hidden;
    will-change: transform
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--glow);
    border-color: rgba(160, 120, 40, .2);
    background: var(--glass-strong)
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, .6), transparent);
    opacity: .6
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, .3) 0%, transparent 55%)
}

.card.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s ease, transform .4s cubic-bezier(.22, 1, .36, 1)
}

.card.reveal.is-visible {
    opacity: 1;
    transform: translateY(0)
}

.menu-section.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .45s ease, transform .45s cubic-bezier(.22, 1, .36, 1)
}

.menu-section.reveal.is-visible {
    opacity: 1;
    transform: translateY(0)
}

/* ===== CARD CONTENT ===== */
.card-content {
    padding: 16px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 110px;
    height: 100%
}

.card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    letter-spacing: -.1px
}

.card-desc {
    font-size: 18px;
    color: rgb(44 36 24);
    line-height: 1.55;
    flex: 1
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--glass-border);
    gap: 10px
}

.card-price {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: -.3px;
    white-space: nowrap;
    text-shadow: none
}

.card-action {
    flex-shrink: 0
}

/* ===== ACTION BUTTONS (glass) ===== */
.btn-add {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--gold-border);
    background: var(--glass);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    color: var(--gold);
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    transition: all .25s cubic-bezier(.34, 1.56, .64, 1);
    display: flex;
    align-items: center;
    justify-content: center
}

.btn-add:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #fff;
    border-color: var(--gold);
    transform: scale(1.18) rotate(90deg);
    box-shadow: 0 3px 14px rgba(160, 120, 40, .35)
}

.btn-add:active {
    transform: scale(.95)
}

/* ===== COUNTER (glass) ===== */
.counter-wrapper {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 3px;
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm)
}

.counter-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--gold);
    font-size: 16px;
    cursor: pointer;
    transition: all .15s ease;
    display: flex;
    align-items: center;
    justify-content: center
}

.counter-btn:hover {
    background: var(--accent-dim);
    color: var(--gold-light)
}

.counter-btn:active {
    transform: scale(.85)
}

.counter-val {
    min-width: 22px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--text)
}

/* ===== BOTTOM BAR (glass) ===== */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    padding: 12px 18px calc(12px + var(--safe));
    background: linear-gradient(to top, rgb(255 255 255 / 0%) 65%, #00000000);
    -webkit-backdrop-filter: var(--blur)
}

.btn-order-main {
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 28px;
    margin: 0 auto;
    border: 1px solid rgba(160, 120, 40, .3);
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .4px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(160, 120, 40, .25);
    transition: all .25s cubic-bezier(.34, 1.56, .64, 1);
    overflow: hidden;
    position: relative
}

.btn-order-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .15) 0%, transparent 100%)
}

.btn-order-main:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(160, 120, 40, .35);
    border-color: rgba(160, 120, 40, .5)
}

.btn-order-main:active {
    transform: scale(.98)
}

/* ===== BADGE ===== */
.badge {
    background: rgba(255, 255, 255, .35);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 1.5px solid rgba(255, 255, 255, .4);
    animation: badgePop .3s cubic-bezier(.34, 1.56, .64, 1)
}

@keyframes badgePop {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* ===== MODALS (glass) ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all
}

.modal-content {
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--glass-border);
    border-top: 2px solid var(--gold-border);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding: 28px 20px calc(24px + var(--safe));
    width: 100%;
    max-width: 600px;
    max-height: 82dvh;
    overflow-y: auto;
    transform: translateY(40px);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, .1);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    scrollbar-width: thin;
    scrollbar-color: var(--bg-4) transparent
}

.modal-overlay.open .modal-content {
    transform: translateY(0)
}

.modal-content::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--bg-4);
    border-radius: 2px;
    margin: -14px auto 22px
}

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

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -.3px
}

.close-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-3);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center
}

.close-btn:hover {
    background: var(--bg-3);
    color: var(--text);
    border-color: var(--gold-border)
}

/* ===== CART ITEMS ===== */
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-border);
    gap: 12px;
    animation: slideIn .3s ease
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

.cart-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px
}

.cart-item-info p {
    font-size: 12px;
    color: var(--text-3)
}

.cart-service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 0;
    font-size: 13px;
    color: var(--text-2);
    margin-top: 8px;
    border-top: 1px solid var(--glass-border)
}

#cart-service-amount {
    font-weight: 600;
    color: var(--text-2)
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-top: 0
}

.receipt-inputs {
    display: flex;
    gap: 8px;
    margin: 12px 0 4px;
    flex-wrap: wrap;
}

.receipt-input {
    flex: 1;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    padding: 10px 4px;
    border-radius: var(--r-sm);
    outline: none;
    transition: border-color .25s ease
}

.receipt-input:focus {
    border-color: var(--gold-border);
    background: rgba(255, 255, 255, .85)
}

.receipt-input::placeholder {
    color: var(--text-3)
}

.btn-save-receipt {
    background: transparent;
    border: 1.5px solid var(--gold-border);
    color: var(--gold);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: all .25s ease
}

.btn-save-receipt:hover {
    background: var(--gold-dim);
    border-color: var(--gold)
}

#cart-total-price {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    text-shadow: none
}

/* ===== ACTION BUTTONS (modal) ===== */
.btn-action-full {
    width: 100%;
    padding: 15px;
    border-radius: var(--r-md);
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all .25s ease
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: 1px solid var(--gold-border);
    color: #fff;
    backdrop-filter: var(--blur-sm);
    box-shadow: 0 3px 12px rgba(160, 120, 40, .2)
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(160, 120, 40, .3);
    background: linear-gradient(135deg, var(--gold-light), var(--gold))
}

.btn-secondary {
    background: var(--glass);
    color: var(--text-2);
    border: 1px solid var(--glass-border)
}

.btn-secondary:hover {
    background: var(--bg-3);
    color: var(--text)
}

/* ===== ORDERS VIEW (glass card) ===== */
.orders-view {
    position: relative;
    z-index: 1;
    padding: 8px 14px
}

.orders-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-xl);
    padding: 28px 22px;
    box-shadow: var(--shadow);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm)
}

.orders-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px
}

.orders-subtitle {
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 24px
}

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-border)
}

.order-row-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px
}

.order-row-meta {
    font-size: 12px;
    color: var(--text-3)
}

.order-row-price {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--gold);
    white-space: nowrap
}

.orders-service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 6px;
    font-size: 14px;
    color: var(--text-2);
    border-top: 1px solid var(--glass-border);
    margin-top: 12px;
}

.orders-service span:last-child {
    font-weight: 500;
    color: var(--text);
}

.orders-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    border-top: 1px solid var(--glass-border);
    margin-top: 8px
}

.orders-total span:last-child {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--gold)
}

.orders-hint {
    text-align: center;
    font-size: 12px;
    color: var(--text-3);
    padding: 10px 0 20px;
    font-style: italic
}

.orders-actions {
    display: flex;
    gap: 10px;
    flex-direction: column
}

.orders-btn {
    width: 100%;
    padding: 14px;
    border-radius: var(--r-md);
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease
}

.orders-btn.primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: 1px solid var(--gold-border);
    color: #fff;
    box-shadow: 0 3px 12px rgba(160, 120, 40, .2)
}

.orders-btn.primary:hover {
    box-shadow: 0 6px 24px rgba(160, 120, 40, .3);
    transform: translateY(-1px)
}

.orders-btn.ghost {
    background: transparent;
    color: var(--text-3);
    border: 1px solid var(--glass-border)
}

.orders-btn.ghost:hover {
    background: var(--glass);
    color: var(--text-2)
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-3);
    font-size: 14px;
    font-style: italic
}

/* ===== SCROLL TO TOP (glass) ===== */
#scroll-top-btn {
    position: fixed;
    bottom: calc(82px + var(--safe) + 14px);
    right: 18px;
    z-index: 290;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, .75);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    color: var(--gold);
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    display: flex;
    align-items: center;
    justify-content: center
}

#scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all
}

#scroll-top-btn:hover {
    background: var(--bg-3);
    border-color: var(--gold-border)
}

/* ===== TOASTS (glass) ===== */
#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    width: 260px
}

.toast {
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    animation: tIn .3s cubic-bezier(.22, 1, .36, 1), tOut .3s ease 1.7s forwards;
    white-space: nowrap;
    text-align: center
}

.toast.success {
    border-color: rgba(34, 168, 84, .3);
    color: var(--green)
}

@keyframes tIn {
    from {
        opacity: 0;
        transform: translateY(-14px) scale(.9)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

@keyframes tOut {
    from {
        opacity: 1
    }

    to {
        opacity: 0;
        transform: translateY(-8px)
    }
}

/* ===== MISC ===== */
.menu-toggle {
    display: none
}

.menu-backdrop {
    display: none !important
}

.menu-booting .menu-grid {
    opacity: 0
}

.menu-ready .menu-grid {
    opacity: 1;
    transition: opacity .4s ease
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px
}

::-webkit-scrollbar-track {
    background: transparent
}

::-webkit-scrollbar-thumb {
    background: var(--bg-4);
    border-radius: 3px
}

/* ===== RESPONSIVE ===== */
@media(min-width:768px) {
    header {
        padding: 14px 28px 0
    }

    .search-container {
        padding: 16px 28px 10px
    }

    .menu-grid {
        padding: 12px 28px 24px
    }

    .menu-grid.menu-grouped {
        padding: 12px 28px 24px
    }

    .orders-view {
        padding: 12px 28px
    }
}

/* ===== WINE CARD COLORS ===== */
.card[data-category^="bar-wine"] .card-price,
.card[data-category="bar-wines"] .card-price {
    color: #e06070
}

.card[data-category="bar-sparkling"] .card-price {
    color: #ddb35a
}

.card[data-category="bar-coffee"] .card-price {
    color: #c4956a
}

/* === Wine country section styling === */
.menu-section[data-wine-type="red"] .menu-section-title {
    color: #f07080;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .85), 0 0 24px rgba(240, 112, 128, .35)
}

.menu-section[data-wine-type="red"] .menu-section-title::after {
    background: linear-gradient(to right, rgba(224, 96, 112, .35), transparent);
}

.menu-section[data-wine-type="red"] .card {
    border-color: rgba(224, 96, 112, .2);
}

.menu-section[data-wine-type="red"] .card::before {
    background: linear-gradient(to right, transparent, rgba(224, 96, 112, .2), transparent);
}

.menu-section[data-wine-type="white"] .menu-section-title {
    color: #f0c85a;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .85), 0 0 24px rgba(240, 200, 90, .35)
}

.menu-section[data-wine-type="white"] .menu-section-title::after {
    background: linear-gradient(to right, rgba(221, 179, 90, .35), transparent);
}

.menu-section[data-wine-type="white"] .card {
    border-color: rgba(221, 179, 90, .2);
}

.menu-section[data-wine-type="white"] .card::before {
    background: linear-gradient(to right, transparent, rgba(221, 179, 90, .25), transparent);
}

.menu-section[data-wine-type="sparkling"] .menu-section-title {
    color: #f0c85a;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .85), 0 0 24px rgba(240, 200, 90, .35)
}

.menu-section[data-wine-type="sparkling"] .menu-section-title::after {
    background: linear-gradient(to right, rgba(221, 179, 90, .35), transparent);
}

.menu-section[data-wine-type="sparkling"] .card {
    border-color: rgba(221, 179, 90, .15);
}

.wine-flag {
    font-size: 18px;
    margin-right: 4px;
}