/* Hugga Bar Delivery - Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent zoom on double tap for buttons and interactive elements */
button,
input,
select,
textarea,
a,
.add-to-cart-btn,
.quantity-controls button,
.cart-item-quantity button,
.category-btn,
.menu-switch-btn,
.lang-btn,
.social-btn,
.hub-card {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary-color: #E8B86D;
    --primary-dark: #D4A55A;
    --bg-dark: #1a1410;
    --bg-card: #2a2118;
    --bg-lighter: #3a3028;
    --text-light: #fff;
    --text-muted: #a89888;
    --success-color: #4CAF50;
    --danger-color: #f44336;
    --border-radius: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    padding-bottom: 100px;
}

/* Splash Screen (Hub Style) */
.splash-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Hub Header */
.hub-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px;
}

.hub-logo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.hub-logo {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(232, 184, 109, 0.5));
}

.hub-delivery-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hub-subtitle {
    font-size: 1.3em;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
    letter-spacing: 2px;
}

/* Hub Oval Cards */
.hub-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 800px;
    padding: 20px;
}

.hub-card {
    position: relative;
    width: 250px;
    height: 420px;
    text-decoration: none;
    overflow: hidden;
    background: var(--bg-card);
    border: 3px solid var(--primary-color);
    border-radius: 125px;
    transition: all 0.4s ease;
}

.hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(73, 73, 47, 0.15);
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.hub-card:hover {
    border-color: #fff;
    box-shadow: 0 0 30px rgba(232, 184, 109, 0.3);
    transform: translateY(-10px);
}

.hub-card:hover::before {
    background: rgba(73, 73, 47, 0.1);
}

.hub-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    transition: all 0.4s ease;
    z-index: 0;
}

.hub-card:hover .hub-card-bg {
    opacity: 0.3;
    transform: scale(1.1);
}

.hub-card-content {
    position: relative;
    z-index: 10;
    height: 100%;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hub-card-content i {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.hub-card-content h3 {
    font-size: 26px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 600;
}

.hub-card-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Hub Carousel Dots */
.hub-dots {
    display: none;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.hub-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-lighter);
    transition: all 0.3s ease;
}

.hub-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Menu Switcher */
.menu-switcher {
    display: flex;
    background: var(--bg-lighter);
    border-radius: 18px;
    padding: 3px;
    gap: 3px;
}

.menu-switch-btn {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    background: transparent;
    border: none;
    border-radius: 15px;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.menu-switch-btn.active {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.menu-switch-btn:hover:not(.active) {
    color: var(--text-light);
}

.menu-switch-icon {
    width: 20px;
    height: 20px;
}

/* Header */
.delivery-header {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
    transition: padding 0.3s ease;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to top */
    width: 100%;
}

/* Header Left (Logo + Social) */
.header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-delivery {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 10px;
    background: var(--bg-lighter);
    border-radius: 12px;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-lighter);
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: scale(1.1);
}

.lang-switcher {
    display: flex;
    background: var(--bg-lighter);
    border-radius: 20px;
    padding: 3px;
    align-self: flex-start;
    margin-top: 1px; /* Align with logo text */
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.lang-btn:hover {
    color: var(--text-light);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* Mobile header adjustments */
@media (max-width: 480px) {
    .header-right {
        gap: 10px;
    }

    .social-btn {
        width: 34px;
        height: 34px;
    }

    .social-btn svg {
        width: 16px;
        height: 16px;
    }

    .lang-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(232, 184, 109, 0.1) 100%);
    padding: 40px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.hero-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.delivery-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-lighter);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
}

.info-item.highlight {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2) 0%, rgba(18, 140, 126, 0.2) 100%);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25D366;
    font-weight: 600;
}

.info-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Button icons */
.btn-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Categories */
.categories-section {
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: sticky;
    top: 45px !important; /* Under header (no menu switcher now) */
    z-index: 99;
    background: var(--bg-dark);
    transition: all 0.3s ease;
}

/* Navigation Row (menu switcher + search) */
.nav-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.nav-row .menu-switcher {
    flex-shrink: 0;
}

/* Search */
.search-container {
    position: relative;
    flex: 1;
}

.search-container input {
    width: 100%;
    padding: 8px 35px 8px 14px;
    background: var(--bg-card);
    border: 2px solid var(--bg-lighter);
    border-radius: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-container input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 0.85rem;
    transition: opacity 0.2s ease;
}

.search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 0.85rem;
    display: none;
    transition: color 0.2s ease;
}

.search-clear:hover {
    color: var(--primary-color);
}

/* Show clear button and hide search icon when input has value */
.search-container input:not(:placeholder-shown) ~ .search-icon {
    opacity: 0;
    pointer-events: none;
}

.search-container input:not(:placeholder-shown) ~ .search-clear {
    display: block;
}

.categories-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

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

.category-btn {
    background: var(--bg-card);
    border: 2px solid transparent;
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-family: inherit;
}

.category-btn:hover {
    border-color: var(--primary-color);
}

.category-btn.active {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* Menu Grid */
.menu-section {
    padding: 0 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Category headers in menu */
.category-header {
    grid-column: 1 / -1;
    padding: 20px 0 10px;
    margin-top: 10px;
}

.category-header:first-child {
    margin-top: 0;
    padding-top: 0;
}

.category-header h2 {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-lighter);
}

/* Menu Item Card */
.menu-item {
    perspective: 1000px;
    position: relative;
    background: transparent;
    display: flex;
    flex-direction: column;
}

.menu-item-inner {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-item:hover .menu-item-inner {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Quantity overlay animation on add to cart */
.item-quantity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 10;
    border-radius: 16px 16px 0 0;
}

.item-quantity-overlay.show {
    opacity: 1;
}

.item-quantity-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Clickable image for zoom */
.menu-item-image.clickable {
    cursor: pointer;
}

.menu-item-image.clickable:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.menu-item-image.clickable::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.menu-item-image.clickable:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

/* Image Lightbox */
.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.image-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 50vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.lightbox-info {
    margin-top: 20px;
    text-align: center;
    max-width: 500px;
    flex-shrink: 0;
}

.lightbox-caption {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
}

.lightbox-price {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 8px;
}

.lightbox-description {
    color: #aaa;
    font-size: 1rem;
    margin-top: 12px;
    line-height: 1.5;
    max-height: 25vh;
    overflow-y: auto;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.lightbox-close:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: scale(1.1);
}

/* Close on background click */
.image-lightbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.menu-item-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder image styling - same as main site */
.menu-item-image img[src*="nologo-"] {
    object-fit: contain;
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-item-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--danger-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
}

.menu-item-badge.new-badge {
    background: #4CAF50;
    left: 10px;
    right: auto;
}

.menu-item-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.menu-item-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.menu-item-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
}

.menu-item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.add-to-cart-btn {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart-btn:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

/* Quantity Controls in Menu */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-lighter);
    padding: 5px;
    border-radius: 25px;
}

.quantity-controls button {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.quantity-controls span {
    min-width: 25px;
    text-align: center;
    font-weight: 700;
}

/* Cart Button */
.cart-button {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: 20px;
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 15px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(232, 184, 109, 0.4);
    transition: transform 0.3s ease;
    z-index: 90;
    font-family: inherit;
}

.cart-button:hover {
    transform: scale(1.05);
}

.cart-count {
    background: var(--bg-dark);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.cart-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 201;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--bg-lighter);
}

.cart-header h2 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.cart-empty-icon {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 15px;
    opacity: 0.6;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-lighter);
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}

/* Placeholder in cart */
.cart-item-image[src*="nologo-"] {
    object-fit: contain;
    background: var(--bg-secondary);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
}

.cart-item-remove:hover {
    color: var(--danger-color);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-quantity button {
    background: var(--bg-lighter);
    border: none;
    color: var(--text-light);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}

.cart-item-quantity span {
    min-width: 20px;
    text-align: center;
}

/* Cart Footer */
.cart-footer {
    padding: 20px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--bg-lighter);
    background: var(--bg-card);
}

.cart-subtotal,
.cart-delivery,
.cart-packaging,
.cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-total-row {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 10px;
    border-top: 1px solid var(--bg-lighter);
}

.checkout-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    font-family: inherit;
    transition: background 0.3s ease;
}

.checkout-btn:hover {
    background: var(--primary-dark);
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-dark);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--bg-lighter);
    position: sticky;
    top: 0;
    background: var(--bg-dark);
    z-index: 1;
}

.modal-header h2 {
    color: var(--primary-color);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Checkout Modal */
.checkout-modal {
    max-width: 550px;
}

/* Delivery Type Selector */
.delivery-type-selector {
    display: flex;
    gap: 12px;
}

.delivery-type-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--bg-lighter);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delivery-type-option:hover {
    background: var(--bg-card);
    border-color: var(--primary-color);
}

.delivery-type-option.active {
    background: rgba(232, 145, 63, 0.15);
    border-color: var(--primary-color);
}

.delivery-type-option input {
    display: none;
}

.delivery-type-icon {
    width: 40px;
    height: 40px;
}

.delivery-type-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.delivery-type-option.active .delivery-type-icon img {
    opacity: 1;
}

.delivery-type-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
}

.delivery-type-option.active .delivery-type-label {
    color: var(--primary-color);
}

/* Variation Selection Modal */
.variation-modal {
    max-width: 400px;
}

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

#variationItemInfo {
    text-align: center;
    margin-bottom: 20px;
}

#variationItemInfo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

#variationItemInfo h3 {
    margin: 0 0 5px;
    color: var(--text-light);
}

#variationItemInfo p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.variation-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.variation-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.variation-option:hover {
    border-color: var(--primary-color);
}

.variation-option-info {
    display: flex;
    flex-direction: column;
}

.variation-option-name {
    font-weight: 600;
    color: var(--text-light);
}

.variation-option-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.variation-modifier {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    margin-left: 6px;
}

.variation-option-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.variation-option-qty button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-lighter);
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.variation-option-qty button:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.variation-option-qty span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.form-section {
    padding: 20px;
    border-bottom: 1px solid var(--bg-lighter);
}

.form-section h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-card);
    border: 2px solid var(--bg-lighter);
    color: var(--text-light);
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-option {
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid var(--bg-lighter);
    transition: all 0.3s ease;
}

.payment-option input:checked + .payment-label {
    border-color: var(--primary-color);
    background: rgba(232, 184, 109, 0.1);
}

.payment-label img {
    height: 25px;
}

.payment-icon {
    font-size: 1.5rem;
}

.payment-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Section icons in forms */
.section-icon {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin-right: 6px;
}

/* Success modal icon */
.success-icon-img {
    width: 80px;
    height: 80px;
}

/* Order Summary */
.order-summary {
    padding: 20px;
    background: var(--bg-card);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 10px;
    border-top: 1px solid var(--bg-lighter);
}

.submit-order-btn {
    width: calc(100% - 40px);
    margin: 20px;
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s ease;
}

.submit-order-btn:hover {
    background: var(--primary-dark);
}

/* Tracking Modal */
.tracking-search {
    padding: 20px;
    display: flex;
    gap: 10px;
}

.tracking-search input {
    flex: 1;
    background: var(--bg-card);
    border: 2px solid var(--bg-lighter);
    color: var(--text-light);
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
}

.tracking-search button {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

#trackingResult {
    padding: 0 20px 20px;
}

/* Success Modal */
.success-modal {
    text-align: center;
    padding: 40px 30px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-modal h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.order-number-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.order-number {
    background: var(--bg-card);
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s;
}

.order-number:hover {
    background: var(--bg-lighter);
}

.order-number:active {
    transform: scale(0.95);
}

.copy-btn {
    background: var(--bg-card);
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.copy-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 15px 0;
    transition: color 0.2s;
}

.success-message {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.track-link {
    background: var(--primary-color);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 700;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.2s;
}

.track-link:hover {
    background: #d4a55d;
    transform: scale(1.02);
}

.continue-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--bg-lighter);
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.continue-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 20, 16, 0.95);
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-lighter);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .delivery-info {
        flex-direction: column;
        gap: 10px;
    }

    .info-item {
        justify-content: center;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .menu-item {
        border-radius: 12px;
    }

    .menu-item-content {
        padding: 10px;
    }

    .menu-item-name {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }

    .menu-item-description {
        font-size: 0.75rem;
        margin-bottom: 0;
        -webkit-line-clamp: 2;
    }

    .menu-item-price {
        font-size: 0.95rem;
    }

    .add-to-cart-btn {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .cart-button {
        left: 20px;
        right: 20px;
        justify-content: center;
    }

    .form-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tracking Page Styles */
.tracking-status {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.status-badge.new { background: #2196F3; }
.status-badge.confirmed { background: #9C27B0; }
.status-badge.preparing { background: #FF9800; }
.status-badge.ready { background: #00BCD4; }
.status-badge.delivering { background: #4CAF50; }
.status-badge.delivered { background: var(--primary-color); color: var(--bg-dark); }
.status-badge.cancelled { background: var(--danger-color); }

.status-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

.status-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bg-lighter);
    transform: translateY(-50%);
}

.timeline-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.timeline-dot {
    width: 30px;
    height: 30px;
    background: var(--bg-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.timeline-step.active .timeline-dot {
    background: var(--primary-color);
}

.timeline-step.completed .timeline-dot {
    background: var(--success-color);
}

.timeline-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 60px;
}

.timeline-step.active .timeline-label,
.timeline-step.completed .timeline-label {
    color: var(--text-light);
}

/* Map Container */
.map-container {
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--bg-card);
}

.order-details-section {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--border-radius);
}

.order-details-section h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-lighter);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
}

.order-items-list {
    margin-top: 15px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
}

.courier-info {
    background: var(--bg-lighter);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.courier-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.courier-details {
    flex: 1;
}

.courier-name {
    font-weight: 700;
    margin-bottom: 3px;
}

.courier-phone {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.call-courier-btn {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}

/* Delivery Banner */
.delivery-banner {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 12px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.delivery-banner.show {
    display: flex;
}

.banner-content {
    flex: 1;
    text-align: center;
}

.banner-main {
    font-size: 1.1rem;
    font-weight: 700;
}

.banner-sub {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 2px;
}

.banner-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Delivery Notice in Checkout */
.delivery-notice {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 10px;
    padding: 12px 15px;
    margin: 20px 20px 0;
}

.delivery-notice p {
    color: #25D366;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

/* WhatsApp themed submit button */
.submit-order-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.submit-order-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

@media (max-width: 480px) {
    .banner-main {
        font-size: 1rem;
    }

    .banner-sub {
        font-size: 0.75rem;
    }
}

/* Confirmation Modal */
.confirmation-modal {
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.confirmation-body {
    padding: 0;
}

.confirmation-order-number {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-dark);
    padding: 20px;
    text-align: center;
}

.confirmation-order-number .order-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.confirmation-order-number .order-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.confirmation-section {
    padding: 15px 20px;
    border-bottom: 1px solid var(--bg-lighter);
}

.confirmation-section h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.confirmation-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0;
    gap: 15px;
}

.confirmation-row .label {
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.confirmation-row .value {
    text-align: right;
    word-break: break-word;
}

.confirmation-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.confirmation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: var(--bg-lighter);
    border-radius: 8px;
    gap: 10px;
}

.confirmation-item .item-name {
    flex: 1;
    font-size: 0.95rem;
}

.confirmation-item .item-price {
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.confirmation-totals {
    padding: 15px 20px;
    background: var(--bg-card);
}

.confirmation-totals .confirmation-row.total {
    font-size: 1.15rem;
    font-weight: 700;
    padding-top: 10px;
    margin-top: 5px;
    border-top: 1px solid var(--bg-lighter);
}

.confirmation-totals .confirmation-row.total .label,
.confirmation-totals .confirmation-row.total .value {
    color: var(--primary-color);
}

.confirmation-notice {
    padding: 15px 20px;
    text-align: center;
}

.confirmation-notice p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.confirmation-actions {
    padding: 15px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:active {
    transform: translateY(0);
}

.done-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--bg-lighter);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.done-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Empty menu state */
.menu-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.menu-empty-icon {
    width: 80px;
    height: 80px;
    opacity: 0.5;
    margin-bottom: 20px;
}

.menu-empty p {
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .header-right {
        gap: 10px;
    }

    .social-links {
        gap: 5px;
    }

    .social-btn {
        width: 32px;
        height: 32px;
    }

    .social-btn svg {
        width: 16px;
        height: 16px;
    }

    .nav-row {
        gap: 8px;
    }

    .menu-switch-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .search-container input {
        padding: 6px 30px 6px 12px;
        font-size: 0.85rem;
    }

    .categories-section {
        position: sticky;
        top: 95px; /* Under mobile header */
        padding: 12px 15px;
    }

    /* Hub Cards Mobile */
    .splash-screen {
        padding: 10px;
    }

    .hub-header {
        margin-bottom: 15px;
        padding: 10px;
    }

    .hub-logo {
        height: 70px;
    }

    .hub-delivery-badge {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    .hub-subtitle {
        font-size: 1em;
    }

    .hub-cards {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 15px;
        padding: 10px 15px;
        width: 100%;
        justify-content: center;
    }

    .hub-card {
        flex-shrink: 0;
        width: 150px;
        height: 260px;
        border-radius: 75px;
        border-width: 2px;
    }

    .hub-dots {
        display: none;
    }

    .hub-card-content {
        padding: 20px 12px;
    }

    .hub-card-content i {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .hub-card-content h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .hub-card-content p {
        font-size: 11px;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    /* Hide icons on mobile, show text */
    .menu-switch-icon {
        display: none;
    }

    .menu-switch-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .lang-switcher {
        gap: 2px;
    }

    .lang-btn {
        padding: 5px 8px;
        font-size: 0.7rem;
    }

    .social-btn {
        width: 30px;
        height: 30px;
    }

    .social-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* ========== DESKTOP COMPACT HEADER ON SCROLL ========== */
@media (min-width: 769px) {
    /* Hero section collapses smoothly on scroll */
    .hero-section {
        transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
        max-height: 300px;
        overflow: hidden;
    }

    body.header-compact .hero-section {
        max-height: 0;
        padding: 0 20px;
        opacity: 0;
        pointer-events: none;
    }

    /* Compact header styling */
    body.header-compact .delivery-header {
        padding: 8px 20px;
    }

    body.header-compact .header-left {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    body.header-compact .social-links {
        margin-top: 0;
    }

    body.header-compact .social-btn {
        width: 32px;
        height: 32px;
    }

    body.header-compact .social-btn svg {
        width: 14px;
        height: 14px;
    }

    body.header-compact .logo-text {
        font-size: 1.2rem;
    }

    body.header-compact .logo-delivery {
        font-size: 0.75rem;
        padding: 2px 8px;
    }

    /* Categories stay sticky but become more compact */
    body.header-compact .categories-section {
        top: 55px; /* Under compact header (no menu switcher in header) */
        padding: 10px 20px;
    }

    /* Compact nav row */
    body.header-compact .nav-row {
        margin-bottom: 8px;
    }

    body.header-compact .categories-scroll {
        gap: 8px;
    }

    body.header-compact .category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* Compact lang switcher */
    body.header-compact .lang-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

/* Desktop categories should be scrollable horizontally */
@media (min-width: 769px) {
    .categories-scroll {
        justify-content: center;
        flex-wrap: wrap;
    }
}


/* Delivery Closed Overlay */
.delivery-closed-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.delivery-closed-content {
    text-align: center;
    padding: 40px;
    max-width: 400px;
}

.delivery-closed-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.delivery-closed-content h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 12px;
}

.delivery-closed-content p {
    color: #888;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.delivery-closed-btn {
    display: inline-block;
    background: #d4af37;
    color: #000;
    padding: 14px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.delivery-closed-btn:hover {
    transform: scale(1.05);
}


/* Stopped menu items */
.menu-item-stopped .menu-item-inner {
    opacity: 0.6;
}

.menu-item-stopped .menu-item-front {
    pointer-events: none;
}

.menu-item-lock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.menu-item-lock i {
    font-size: 24px;
    color: #fff;
}

.item-stopped-text {
    color: #e74c3c;
    font-weight: 600;
    font-size: 14px;
}

/* ==================== BAR LIST VIEW ==================== */

.bar-list-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.bar-list-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--bg-lighter);
}

.bar-list-row:last-child {
    border-bottom: none;
}

.bar-list-row-content {
    flex: 1;
    min-width: 0;
}

.bar-list-row-main {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.bar-list-row-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.bar-list-row-dots {
    flex: 1;
    border-bottom: 1px dotted var(--text-muted);
    margin: 0 4px;
    min-width: 10px;
    opacity: 0.4;
    position: relative;
    top: -3px;
}

.bar-list-row-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    flex-shrink: 0;
}

.bar-list-row-desc {
    width: 100%;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: -2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bar-list-new-badge {
    font-size: 0.65rem;
    font-weight: 700;
    background: #4CAF50;
    color: #fff;
    padding: 1px 6px;
    border-radius: 4px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.bar-list-row-action {
    flex-shrink: 0;
    margin-left: auto;
}

.bar-list-row-action .add-to-cart-btn.compact {
    width: 32px;
    height: 32px;
    font-size: 16px;
    border-radius: 8px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bar-list-row-action .quantity-controls.compact {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bar-list-row-action .quantity-controls.compact button {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: var(--primary-color);
    color: var(--bg-dark);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.bar-list-row-action .quantity-controls.compact span {
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 18px;
    text-align: center;
}

.bar-list-stopped {
    color: #e74c3c;
    font-size: 0.8rem;
    font-weight: 600;
}

.bar-list-row-stopped {
    opacity: 0.5;
}

/* Checkout locked state */
.checkout-btn.btn-disabled,
.submit-order-btn.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.checkout-locked-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    margin-top: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    gap: 6px;
}

.checkout-locked-message i {
    font-size: 24px;
    color: #d4af37;
}

.checkout-locked-message .locked-title {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.checkout-locked-message .locked-reason {
    color: #888;
    font-size: 13px;
}

/* Old checkout locked overlay - keeping for compatibility */
.checkout-locked {
    position: relative;
}

.checkout-locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.checkout-locked-overlay i {
    font-size: 32px;
    color: #d4af37;
    margin-bottom: 12px;
}

.checkout-locked-overlay .locked-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.checkout-locked-overlay .locked-reason {
    color: #888;
    font-size: 14px;
    line-height: 1.4;
}

/* Maintenance Mode Overlay */
.maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

.maintenance-content {
    text-align: center;
    padding: 40px;
    max-width: 400px;
}

.maintenance-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.maintenance-content h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 16px;
}

.maintenance-content p {
    color: #888;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.maintenance-btn {
    display: inline-block;
    background: #d4af37;
    color: #000;
    padding: 14px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
}

.maintenance-btn:hover {
    transform: scale(1.05);
    background: #e5c048;
}

/* Menu Type Badge for Search Results */
.menu-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.menu-type-badge.bar {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: #fff;
}

.menu-type-badge.kitchen {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: #fff;
}

/* Minimum Order Progress Bar */
.min-order-progress {
    background: rgba(232, 184, 109, 0.1);
    border: 1px dashed var(--primary-color);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 16px 0;
}

.min-order-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-align: center;
}

.min-order-text strong {
    color: var(--primary-color);
}

.min-order-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.min-order-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #f0c878);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Cart Recommendations */
.cart-recommendations {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.recommendations-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.recommendations-scroll {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.rec-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.rec-item:active {
    transform: scale(0.98);
}

.rec-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.rec-info {
    flex: 1;
    min-width: 0;
}

.rec-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rec-price {
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-top: 2px;
}

.rec-add {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s, background 0.2s;
}

.rec-add:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.rec-add:active {
    transform: scale(0.95);
}

/* Skeleton Loading */
.skeleton-item {
    pointer-events: none;
}

.skeleton-pulse {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.05) 0%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.05) 100%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-image {
    width: 100%;
    height: 160px;
    border-radius: 12px 12px 0 0;
}

.skeleton-title {
    height: 20px;
    width: 70%;
    margin-bottom: 10px;
}

.skeleton-desc {
    height: 14px;
    width: 100%;
    margin-bottom: 8px;
}

.skeleton-desc.short {
    width: 60%;
}

.skeleton-price {
    height: 24px;
    width: 80px;
}

.skeleton-button {
    height: 36px;
    width: 36px;
    border-radius: 50%;
}

/* Delivery Zones Modal */
.delivery-zones-modal {
    max-width: 500px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.delivery-zones-body {
    padding: 20px;
}

.delivery-zones-notice {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.delivery-zones-notice p {
    margin: 0;
    color: var(--text-light);
}

.delivery-zones-map {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.delivery-zones-map img {
    width: 100%;
    height: auto;
    display: block;
}

.delivery-zones-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delivery-zones-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.delivery-zones-btn:active {
    transform: translateY(0);
}

/* Info item with map marker clickable */
.info-item.highlight {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-item.highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.info-item.highlight:active {
    transform: translateY(0);
}

.delivery-zones-btn.disabled,
.delivery-zones-btn:disabled {
    background: var(--bg-lighter);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}

.delivery-zones-btn.disabled:hover,
.delivery-zones-btn:disabled:hover {
    background: var(--bg-lighter);
    transform: none;
}
