/* Category Navigation Wrapper */
.category-nav-wrapper {
    position: relative; /* Changed from sticky to prevent scroll issues */
    top: 0;
    z-index: 100;
    margin-bottom: 30px;
    background: linear-gradient(135deg, rgba(255, 248, 240, 0.98) 0%, rgba(255, 229, 204, 0.98) 100%);
    border-bottom: 3px solid var(--primary-orange);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* Force hide all scrollbars */
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Keep sticky only on desktop */
@media (min-width: 769px) {
    .category-nav-wrapper {
        position: -webkit-sticky;
        position: sticky;
        overflow: hidden;
    }
}

/* Force hide webkit scrollbar */
.category-nav-wrapper::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

/* Category Navigation */
.category-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 15px 0;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.category-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--primary-orange);
    border-radius: 25px;
    color: var(--primary-orange);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
}

.category-btn.active {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
    color: var(--white);
    border-color: transparent;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

/* Category Sections */
.category-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.category-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.menu-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    padding: 0;
    margin: 0;
}

.menu-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.15);
}

.menu-image {
    width: 100%;
    height: 292px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border-radius: 20px 20px 0 0;
}



.menu-content {
    padding: 20px;
}

.menu-title {
    font-size: 1.2rem;
    color: var(--primary-red);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.menu-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Size Options */
.size-options {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.size-btn {
    padding: 8px 16px;
    border: 2px solid var(--primary-orange);
    background: var(--white);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-orange);
    -webkit-tap-highlight-color: transparent;
}

.size-btn.active {
    background: var(--primary-orange);
    color: var(--white);
    transform: scale(1.05);
}

.size-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

.menu-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    text-align: right;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.price-value {
    color: var(--primary-red);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .menu-item {
        margin: 0 10px;
    }
    
    .category-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 15px 10px;
        gap: 8px;
    }
    
    .category-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
} 