/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    width: 100%;
    min-width: 320px;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Responsive containers */
section, main, header, footer, article, aside, nav {
    max-width: 100%;
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Optimize rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Performance optimizations - keep images in memory */
    will-change: auto;
    backface-visibility: hidden;
    /* Force GPU acceleration and keep in memory */
    transform: translateZ(0);
    /* Prevent image unloading */
    image-rendering: -webkit-optimize-contrast;
    /* Keep image loaded */
    content-visibility: visible;
}

/* Critical logo image - load immediately */
.logo-image {
    loading: eager;
    fetchpriority: high;
}

/* Product images - optimized loading */
.item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Keep images loaded - prevent reload on scroll */
    content-visibility: visible;
    /* Force keep in memory */
    will-change: auto;
}

/* Preload critical images */
.logo-image {
    /* Ensure logo loads quickly */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Menu item images optimization - removed duplicate, see below */

body {
    font-family: 'Poppins', sans-serif;
    background: #1a1a1a;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 193, 7, 0.03) 10px,
            rgba(255, 193, 7, 0.03) 20px
        );
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    /* Performance optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Install button styles */
.install-btn {
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.contact-dev-btn {
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

/* PWA-specific logo styling - Black background when installed */
@media (display-mode: standalone) {
    .logo {
        background: #000000 !important;
        border: 3px solid #d32f2f !important;
    }
    
    .category-header .logo {
        background: #000000 !important;
        border: 3px solid #d32f2f !important;
    }
}

/* PWA-specific logo styling for mobile when installed */
@media (display-mode: standalone) and (max-width: 768px) {
    .logo {
        background: #000000 !important;
        border: 3px solid #d32f2f !important;
    }
    
    .category-header .logo {
        background: #000000 !important;
        border: 3px solid #d32f2f !important;
    }
}

@media (display-mode: standalone) and (max-width: 480px) {
    .logo {
        background: #000000 !important;
        border: 3px solid #d32f2f !important;
    }
    
    .category-header .logo {
        background: #000000 !important;
        border: 3px solid #d32f2f !important;
    }
}

@media (display-mode: standalone) and (max-width: 360px) {
    .logo {
        background: #000000 !important;
        border: 3px solid #d32f2f !important;
    }
    
    .category-header .logo {
        background: #000000 !important;
        border: 3px solid #d32f2f !important;
    }
}

/* Alternative PWA detection for older browsers */
@media (display-mode: minimal-ui) {
    .logo {
        background: #000000 !important;
        border: 3px solid #d32f2f !important;
    }
    
    .category-header .logo {
        background: #000000 !important;
        border: 3px solid #d32f2f !important;
    }
}

@media (display-mode: fullscreen) {
    .logo {
        background: #000000 !important;
        border: 3px solid #d32f2f !important;
    }
    
    .category-header .logo {
        background: #000000 !important;
        border: 3px solid #d32f2f !important;
    }
}

/* JavaScript-based PWA detection fallback */
body.pwa-installed .logo {
    background: #000000 !important;
    border: 3px solid #d32f2f !important;
}

body.pwa-installed .category-header .logo {
    background: #000000 !important;
    border: 3px solid #d32f2f !important;
}

/* Additional PWA detection for iOS Safari */
@media (display-mode: standalone), (display-mode: minimal-ui), (display-mode: fullscreen) {
    .logo {
        background: #000000 !important;
        border: 3px solid #d32f2f !important;
    }
    
    .category-header .logo {
        background: #000000 !important;
        border: 3px solid #d32f2f !important;
    }
}

/* Install Banner */
.install-banner {
    background: #ffeb3b;
    padding: 15px 20px;
    text-align: center;
    color: #000;
    font-size: 14px;
}

.install-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
}

.install-content i {
    font-size: 18px;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.step-number {
    background: #2196f3;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Main Header */
.main-header {
    background: #000000;
    color: white;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

.logo {
    width: 100%;
    max-width: 700px;
    height: 250px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%);
    border: 4px solid #FF9800;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    /* Efecto 3D moderno con múltiples sombras */
    box-shadow: 
        0 20px 60px rgba(255, 152, 0, 0.4),
        0 10px 30px rgba(255, 152, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.5),
        inset 0 2px 10px rgba(255, 235, 59, 0.2),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3);
    transform: perspective(1200px) rotateX(5deg) rotateY(-2deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Efecto de profundidad */
    background-image: 
        linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, transparent 50%),
        linear-gradient(225deg, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
}

.logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 235, 59, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 235, 59, 0.05) 0%,
        transparent 25%,
        transparent 75%,
        rgba(255, 152, 0, 0.05) 100%
    );
    border-radius: 25px;
    pointer-events: none;
}

.logo:hover {
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg) scale(1.03) translateZ(20px);
    box-shadow: 
        0 30px 80px rgba(255, 152, 0, 0.5),
        0 15px 40px rgba(255, 152, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.6),
        inset 0 3px 15px rgba(255, 235, 59, 0.3),
        inset 0 -3px 15px rgba(0, 0, 0, 0.4);
    border-color: #FFC107;
}

.logo-image {
    width: 95%;
    height: 95%;
    object-fit: contain;
    background: transparent;
    filter: 
        drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5))
        drop-shadow(0 2px 4px rgba(255, 152, 0, 0.3))
        brightness(1.05)
        contrast(1.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 5px;
    position: relative;
    z-index: 1;
    transform: translateZ(10px);
}

.logo:hover .logo-image {
    filter: 
        drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6))
        drop-shadow(0 4px 8px rgba(255, 152, 0, 0.4))
        brightness(1.1)
        contrast(1.15);
    transform: translateZ(20px) scale(1.02);
}

.brand-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #FFEB3B;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tagline {
    background: transparent;
    color: #FFEB3B;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 700;
    display: inline-block;
    margin-top: 5px;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.menu-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #FFEB3B;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hours {
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Menu Categories */
.menu-categories {
    background: #1a1a1a;
    padding: 30px 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Buttons - Desktop Layout */
.category-btn {
    background: linear-gradient(145deg, #FF9800, #F57C00);
    color: #000000;
    border: 2px solid #FFEB3B;
    border-radius: 15px;
    padding: 20px 15px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-shadow: none;
    box-shadow: 
        0 8px 16px rgba(255, 152, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

.category-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFEB3B, #FFC107);
    border-radius: 0 0 15px 15px;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, #FFC107, #FF9800);
    box-shadow: 
        0 12px 24px rgba(255, 235, 59, 0.5),
        0 6px 12px rgba(0, 0, 0, 0.4);
    color: #000000;
}

.category-btn.active {
    background: linear-gradient(145deg, #FFEB3B, #FFC107);
    box-shadow: 
        0 8px 16px rgba(255, 235, 59, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.3);
    color: #000000;
}

.category-btn.active::after {
    background: linear-gradient(90deg, #FF9800, #F57C00);
}

.category-btn i {
    font-size: 2rem;
}

/* Menu Content */
.menu-content {
    background: #1a1a1a;
    padding: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.menu-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.menu-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-items {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.menu-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    margin: 0;
}

.menu-item {
    background: #2a2a2a;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #FFEB3B;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media screen and (max-width: 1024px) {
    .menu-item {
        flex-wrap: wrap;
    }
}

/* Product Images - Desktop Layout */
.item-image {
    width: 300px;
    max-width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 15px;
    margin-right: 20px;
    flex-shrink: 0;
    border: 3px solid #FFEB3B;
    box-shadow: 
        0 6px 20px rgba(255, 235, 59, 0.3),
        0 2px 8px rgba(255, 152, 0, 0.2);
    transition: all 0.3s ease;
    background: #000000;
    position: relative;
}

@media screen and (max-width: 1024px) {
    .item-image {
        width: 250px;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .item-image {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.item-image:hover {
    border-color: #FFC107;
    box-shadow: 
        0 8px 25px rgba(255, 235, 59, 0.4),
        0 4px 12px rgba(255, 152, 0, 0.3);
    transform: translateY(-2px);
}

.item-image img:hover {
    transform: scale(1.03);
}

/* Touch-friendly interactions for mobile */
@media (hover: none) and (pointer: coarse) {
    .item-image:active img {
        transform: scale(1.02);
    }
    
    .menu-item:active {
        transform: translateY(1px);
    }
    
    .order-btn:active {
        transform: scale(0.98);
    }
}

/* Menu items without images (beverages and beers) */
.menu-item:not(:has(.item-image)) .item-content {
    padding: 20px;
    text-align: center;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.menu-item:not(:has(.item-image)) .item-details {
    text-align: center;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Fallback for browsers that don't support :has() */
.menu-item .item-content:not(:has(.item-image)) {
    padding: 20px;
    text-align: center;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

/* Explicit class for items without images */
.menu-item.no-image .item-content {
    padding: 20px;
    text-align: center;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.menu-item.no-image .item-details {
    text-align: center;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px;
}

/* Mobile-first card layout for products */
@media screen and (max-width: 768px) {
    .menu-content {
        padding: 15px 10px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .menu-items {
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .menu-item {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px 15px !important;
        gap: 15px !important;
        margin-bottom: 25px !important;
        border-left: none !important;
        border-top: 4px solid #FFEB3B !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .item-content {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .item-image {
        width: 100% !important;
        max-width: 100% !important;
        height: 220px !important;
        margin: 0 0 15px 0 !important;
        margin-right: 0 !important;
        align-self: center !important;
        border-radius: 15px !important;
        border: 3px solid #FFEB3B !important;
        box-shadow: 
            0 6px 20px rgba(255, 235, 59, 0.3),
            0 2px 8px rgba(255, 152, 0, 0.2) !important;
        flex-shrink: 1 !important;
    }
    
    .item-details {
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    .item-details h3 {
        font-size: 1.6rem !important;
        margin-bottom: 10px !important;
    }
    
    .item-details .description {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
        padding: 0 10px !important;
    }
    
    .item-actions {
        width: 100% !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    .prices {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
    }
    
    .item-details .price {
        font-size: 1.1rem !important;
        padding: 10px 18px !important;
        margin: 0 !important;
    }
    
    .order-btn {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }
    
    .item-details h3 {
        font-size: 1.5rem !important;
        font-weight: 800 !important;
        color: #FFEB3B !important;
        margin-bottom: 8px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .description {
        color: #cccccc;
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 15px;
        max-width: 280px;
    }
    
    .item-actions {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 300px;
        gap: 10px;
        margin-top: 10px;
    }
    
    .item-details .price {
        font-size: 1.1rem;
        font-weight: 700;
        color: #000000 !important;
        background: #FFEB3B;
        padding: 8px 16px;
        border-radius: 10px;
        border: 2px solid #FF9800;
        text-shadow: none;
        margin-bottom: 0;
        min-width: 120px;
        text-align: center;
        box-shadow: 
            0 4px 8px rgba(255, 235, 59, 0.4),
            0 2px 4px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .item-details .price::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }
    
    .item-details .price:hover::before {
        left: 100%;
    }
    
    .item-details .price:hover {
        transform: translateY(-1px);
        box-shadow: 
            0 8px 16px rgba(211, 47, 47, 0.5),
            0 4px 8px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    }
    
    .order-btn {
        background: #4caf50;
        color: white;
        text-decoration: none;
        padding: 8px 15px;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 5px;
        transition: all 0.3s ease;
        white-space: nowrap;
        min-width: 140px;
        justify-content: center;
    }
}

/* Menu item layout optimization */
.menu-item {
    background: #2a2a2a;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #FFEB3B;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover::before {
    opacity: 1;
}

.menu-item .item-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .menu-item .item-content {
        flex-direction: column !important;
        width: 100% !important;
        gap: 15px !important;
    }
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: space-between;
}

.item-details h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFEB3B;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.item-details .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000000 !important;
    background: #FFEB3B;
    padding: 10px 18px;
    border-radius: 12px;
    display: inline-block;
    width: fit-content;
    border: 2px solid #FF9800;
    text-shadow: none;
    margin-bottom: 10px;
    box-shadow: 
        0 4px 8px rgba(255, 235, 59, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-right: 8px;
}

.prices {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .prices {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        width: 100%;
    }
}

.item-details .price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.item-details .price:hover::before {
    left: 100%;
}

.item-details .price:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 24px rgba(211, 47, 47, 0.5),
        0 6px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* Enhanced image container styling */
.item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%);
    pointer-events: none;
    border-radius: 15px;
    z-index: 1;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.menu-item:hover .product-image {
    transform: scale(1.05);
}

.item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    margin-left: auto;
    position: relative;
    z-index: 5;
}

.order-btn {
    background: #4caf50;
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    align-self: flex-start;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.order-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    color: white;
    text-decoration: none;
}

.order-btn i {
    font-size: 1rem;
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d32f2f;
    margin-bottom: 8px;
}

.description {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(145deg, #d32f2f, #b71c1c);
    padding: 10px 18px;
    border-radius: 12px;
    display: inline-block;
    width: fit-content;
    border: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    box-shadow: 
        0 6px 12px rgba(211, 47, 47, 0.4),
        0 3px 6px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.price:hover::before {
    left: 100%;
}

.price:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px rgba(211, 47, 47, 0.5),
        0 5px 10px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact-section {
    background: #1a1a1a;
    padding: 30px 20px;
    text-align: center;
}

.address, .contact {
    margin-bottom: 25px;
}

.address h3, .contact h3 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.address p {
    color: #2196f3;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.address a:hover p {
    color: #1976d2;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
}

.address i {
    color: #d32f2f;
    font-size: 1.2rem;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.1);
}

.contact-icon.phone {
    background: #4caf50;
}

.contact-icon.facebook {
    background: #2196f3;
}

.contact-icon.whatsapp {
    background: #4caf50;
}

.contact-icon.tiktok {
    background: #000000;
    border: 2px solid #FF0050;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.contact-btn:hover,
.footer .btn-success:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    text-decoration: none;
    color: white;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .install-banner {
        padding: 12px 15px;
    }
    
    .install-content {
        flex-direction: column;
        gap: 5px;
    }
    
    .install-steps {
        font-size: 11px;
    }
    
    .main-header {
        padding: 20px 15px;
    }
    
    .logo-container {
        margin-bottom: 30px;
    }
    
    .brand-text h1 {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .menu-title {
        font-size: 2rem;
    }
    
    .hours {
        font-size: 1.1rem;
    }
    
    .logo {
        width: 95% !important;
        max-width: 600px !important;
        height: 200px !important;
        background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%) !important;
        border: 3px solid #FF9800 !important;
        border-radius: 20px !important;
        box-sizing: border-box !important;
        box-shadow: 
            0 15px 40px rgba(255, 152, 0, 0.35),
            0 8px 20px rgba(255, 152, 0, 0.25),
            0 4px 12px rgba(0, 0, 0, 0.4),
            inset 0 2px 8px rgba(255, 235, 59, 0.15) !important;
        transform: perspective(1000px) rotateX(3deg) !important;
        background-image: 
            linear-gradient(135deg, rgba(255, 152, 0, 0.08) 0%, transparent 50%),
            linear-gradient(225deg, rgba(0, 0, 0, 0.2) 0%, transparent 50%) !important;
    }
    
    .logo:hover {
        transform: perspective(1000px) rotateX(0deg) scale(1.02) translateZ(15px);
        box-shadow: 
            0 20px 50px rgba(255, 152, 0, 0.45),
            0 10px 25px rgba(255, 152, 0, 0.35),
            0 6px 15px rgba(0, 0, 0, 0.5),
            inset 0 2px 10px rgba(255, 235, 59, 0.2);
        border-color: #FFC107;
    }
    
    .main-header {
        width: 100%;
        box-sizing: border-box;
    }
    
    .logo-container {
        width: 100%;
        box-sizing: border-box;
    }
    
    .brand-text h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .tagline {
        font-size: 1.1rem;
        padding: 8px 18px;
    }
    
    .menu-title {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }
    
    .hours {
        font-size: 1.2rem;
    }
    
    .menu-categories {
        padding: 20px 15px;
    }
    
    .category-grid {
        gap: 12px;
    }
    
    /* Category Buttons - Mobile Optimized Colors (768px) */
    .category-btn {
        background: linear-gradient(145deg, #1e3a8a, #1e40af);
        padding: 15px 10px;
        font-size: 1rem;
        text-decoration: none;
        border-radius: 12px;
        box-shadow: 
            0 6px 12px rgba(30, 58, 138, 0.4),
            0 3px 6px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    
    .category-btn::after {
        background: linear-gradient(90deg, #60a5fa, #3b82f6);
    }
    
    .category-btn:hover {
        background: linear-gradient(145deg, #1d4ed8, #2563eb);
        transform: translateY(-2px);
        box-shadow: 
            0 8px 16px rgba(29, 78, 216, 0.5),
            0 4px 8px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    }
    
    .category-btn.active {
        background: linear-gradient(145deg, #dc2626, #b91c1c);
        box-shadow: 
            0 6px 12px rgba(220, 38, 38, 0.5),
            0 3px 8px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.25),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    
    .category-btn.active::after {
        background: linear-gradient(90deg, #fbbf24, #f59e0b);
    }
    
    .category-btn i {
        font-size: 1.6rem;
    }
    
    .menu-content {
        padding: 15px;
    }
    
    .menu-item {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .menu-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .menu-item .item-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .item-image {
        width: 100%;
        max-width: 100%;
        height: 250px;
        margin: 0 0 15px 0;
        align-self: center;
        border-radius: 15px;
        border: 3px solid #FFEB3B;
        box-shadow: 
            0 6px 20px rgba(255, 235, 59, 0.3),
            0 2px 8px rgba(255, 152, 0, 0.2);
    }
    
    .item-details {
        text-align: center;
        width: 100%;
    }
    
    .item-details h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .item-details .price {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .item-actions {
        align-self: stretch;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .price {
        font-size: 1rem;
        font-weight: 700;
        color: #ffffff !important;
        background: linear-gradient(145deg, #d32f2f, #b71c1c);
        padding: 6px 12px;
        border-radius: 8px;
        display: inline-block;
        width: fit-content;
        border: none;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        box-shadow: 
            0 3px 6px rgba(211, 47, 47, 0.4),
            0 2px 4px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .price::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }
    
    .price:hover::before {
        left: 100%;
    }
    
    .price:hover {
        transform: translateY(-1px);
        box-shadow: 
            0 5px 10px rgba(211, 47, 47, 0.5),
            0 3px 6px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    }
    
    .order-btn {
        background: #4caf50;
        color: white;
        text-decoration: none;
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 0.8rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 5px;
        transition: all 0.3s ease;
        white-space: nowrap;
        min-width: 120px;
        justify-content: center;
        cursor: pointer;
        position: relative;
        z-index: 10;
    }
    
    .order-btn:hover {
        background: #45a049;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
        color: white;
        text-decoration: none;
    }
    
    .contact-section {
        padding: 20px 15px;
    }
    
    .address h3, .contact h3 {
        font-size: 1.4rem;
    }
    
    .address p {
        font-size: 1.1rem;
    }
    
    .contact-icons {
        gap: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .footer {
        padding: 20px 15px;
    }
    
    .footer p {
        font-size: 1rem;
    }
    
    .contact-btn,
    .footer .btn-success {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .install-banner {
        padding: 10px 12px;
    }
    
    .install-steps {
        font-size: 10px;
    }
    
    .step-number {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    .main-header {
        padding: 15px 10px;
    }
    
    .logo-container {
        margin-bottom: 25px;
    }
    
    .brand-text h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 0.95rem;
    }
    
    .menu-title {
        font-size: 1.6rem;
    }
    
    .hours {
        font-size: 1rem;
    }
    
    .menu-content {
        padding: 10px 5px;
    }
    
    .menu-items {
        padding: 0;
        max-width: 100%;
    }
    
    .menu-item {
        padding: 18px 12px;
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .item-details h3 {
        font-size: 1.4rem;
    }
    
    .item-details .description {
        font-size: 0.9rem;
    }
    
    .item-details .price {
        font-size: 1rem;
        padding: 8px 16px;
    }
    
    .order-btn {
        font-size: 0.9rem;
        padding: 10px 18px;
    }
    
    .logo {
        width: 95%;
        max-width: 450px;
        height: 170px;
        background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%) !important;
        border: 3px solid #FF9800;
        border-radius: 18px;
        box-sizing: border-box;
        box-shadow: 
            0 12px 30px rgba(255, 152, 0, 0.3),
            0 6px 15px rgba(255, 152, 0, 0.2),
            0 3px 10px rgba(0, 0, 0, 0.4),
            inset 0 2px 6px rgba(255, 235, 59, 0.12);
        transform: perspective(800px) rotateX(2deg);
        background-image: 
            linear-gradient(135deg, rgba(255, 152, 0, 0.06) 0%, transparent 50%);
    }
    
    .logo:hover {
        transform: perspective(800px) rotateX(0deg) scale(1.02) translateZ(10px);
        box-shadow: 
            0 15px 40px rgba(255, 152, 0, 0.4),
            0 8px 20px rgba(255, 152, 0, 0.3),
            0 5px 15px rgba(0, 0, 0, 0.5),
            inset 0 2px 8px rgba(255, 235, 59, 0.18);
        border-color: #FFC107;
    }
    
    .brand-text h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .tagline {
        font-size: 0.9rem;
        padding: 6px 15px;
    }
    
    .menu-title {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }
    
    .hours {
        font-size: 1rem;
    }
    
    .menu-categories {
        padding: 15px 10px;
    }
    
    .category-grid {
        gap: 10px;
    }
    
    /* Category Buttons - Small Mobile Optimized Colors (480px) */
    .category-btn {
        background: linear-gradient(145deg, #ffeb3b, #fdd835);
        color: #000;
        padding: 12px 8px;
        font-size: 0.9rem;
        text-decoration: none;
        border-radius: 10px;
        box-shadow: 
            0 4px 8px rgba(255, 235, 59, 0.4),
            0 2px 4px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    
    .category-btn::after {
        background: linear-gradient(90deg, #dc2626, #b91c1c);
    }
    
    .category-btn:hover {
        background: linear-gradient(145deg, #fdd835, #fbc02d);
        transform: translateY(-1px);
        box-shadow: 
            0 6px 12px rgba(253, 216, 53, 0.5),
            0 3px 6px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.25),
            inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    }
    
    .category-btn.active {
        background: linear-gradient(145deg, #dc2626, #b91c1c);
        box-shadow: 
            0 4px 8px rgba(220, 38, 38, 0.5),
            0 2px 4px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    
    .category-btn.active::after {
        background: linear-gradient(90deg, #fbbf24, #f59e0b);
    }
    
    .category-btn i {
        font-size: 1.4rem;
    }
    
    .menu-content {
        padding: 10px;
    }
    
    /* Enhanced mobile card layout for 480px and below */
    .menu-item {
        padding: 12px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .item-image {
        width: 100%;
        max-width: 100%;
        height: 220px;
        margin: 0 0 12px 0;
        align-self: center;
        border-radius: 15px;
        border: 3px solid #FFEB3B;
        box-shadow: 
            0 6px 20px rgba(255, 235, 59, 0.3),
            0 2px 8px rgba(255, 152, 0, 0.2);
    }
    
    .item-content {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .item-details {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .item-details h3 {
        font-size: 1.4rem;
        font-weight: 800;
        color: #FFEB3B;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .description {
        color: #cccccc !important;
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
        max-width: 100% !important;
        padding: 0 5px !important;
    }
    
    .item-actions {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 10px !important;
        margin-top: 8px !important;
    }
    
    .item-details .price {
        font-size: 1rem;
        font-weight: 700;
        color: #000000 !important;
        background: #FFEB3B;
        padding: 6px 14px;
        border-radius: 8px;
        border: 2px solid #FF9800;
        text-shadow: none;
        margin-bottom: 0;
        min-width: 100px;
        text-align: center;
        box-shadow: 
            0 3px 6px rgba(255, 235, 59, 0.4),
            0 2px 4px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .item-details .price::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }
    
    .item-details .price:hover::before {
        left: 100%;
    }
    
    .item-details .price:hover {
        transform: translateY(-1px);
        box-shadow: 
            0 6px 12px rgba(211, 47, 47, 0.5),
            0 3px 6px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    }
    
    .order-btn {
        background: #4caf50 !important;
        color: white !important;
        text-decoration: none !important;
        padding: 10px 18px !important;
        border-radius: 8px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        transition: all 0.3s ease !important;
        white-space: nowrap !important;
        min-width: auto !important;
        width: 100% !important;
        max-width: 260px !important;
        justify-content: center !important;
    }
    
    .contact-section {
        padding: 15px 10px;
    }
    
    .address h3, .contact h3 {
        font-size: 1.2rem;
    }
    
    .address p {
        font-size: 1rem;
    }
    
    .contact-icons {
        gap: 12px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .footer {
        padding: 15px 10px;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
    
    .contact-btn,
    .footer .btn-success {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 360px) {
    /* Category Buttons - Ultra Small Mobile Optimized Colors (360px) */
    .category-btn {
        background: linear-gradient(145deg, #7c3aed, #6d28d9);
        padding: 10px 6px;
        font-size: 0.85rem;
        border-radius: 8px;
        box-shadow: 
            0 3px 6px rgba(124, 58, 237, 0.4),
            0 2px 4px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.25),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    
    .category-btn::after {
        background: linear-gradient(90deg, #a78bfa, #8b5cf6);
    }
    
    .category-btn:hover {
        background: linear-gradient(145deg, #6d28d9, #5b21b6);
        transform: translateY(-1px);
        box-shadow: 
            0 4px 8px rgba(109, 40, 217, 0.5),
            0 2px 4px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    }
    
    .category-btn.active {
        background: linear-gradient(145deg, #dc2626, #b91c1c);
        box-shadow: 
            0 3px 6px rgba(220, 38, 38, 0.5),
            0 2px 4px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.35),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    
    .category-btn.active::after {
        background: linear-gradient(90deg, #fbbf24, #f59e0b);
    }
    
    .category-btn i {
        font-size: 1.2rem;
    }
    
    .logo {
        width: 95% !important;
        max-width: 400px !important;
        height: 150px !important;
        background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%) !important;
        border: 3px solid #FF9800 !important;
        border-radius: 15px !important;
        box-sizing: border-box !important;
        box-shadow: 
            0 10px 25px rgba(255, 152, 0, 0.3),
            0 5px 12px rgba(255, 152, 0, 0.2),
            0 2px 8px rgba(0, 0, 0, 0.4),
            inset 0 2px 5px rgba(255, 235, 59, 0.1) !important;
        transform: perspective(600px) rotateX(1deg) !important;
        background-image: 
            linear-gradient(135deg, rgba(255, 152, 0, 0.05) 0%, transparent 50%) !important;
    }
    
    .logo:hover {
        transform: perspective(600px) rotateX(0deg) scale(1.01) translateZ(8px) !important;
        box-shadow: 
            0 12px 30px rgba(255, 152, 0, 0.35),
            0 6px 15px rgba(255, 152, 0, 0.25),
            0 3px 10px rgba(0, 0, 0, 0.5),
            inset 0 2px 6px rgba(255, 235, 59, 0.15) !important;
        border-color: #FFC107 !important;
    }
    
    .menu-content {
        padding: 8px 3px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .menu-item {
        padding: 15px 10px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .item-image {
        width: 100% !important;
        max-width: 100% !important;
        height: 180px !important;
        margin-right: 0 !important;
    }
    
    /* Enhanced mobile card layout for 360px and below */
    .menu-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .item-image {
        width: 100%;
        max-width: 100%;
        height: 200px;
        margin: 0 0 10px 0;
        border-radius: 15px;
        border: 3px solid #FFEB3B;
        box-shadow: 
            0 6px 20px rgba(255, 235, 59, 0.3),
            0 2px 8px rgba(255, 152, 0, 0.2);
    }
    
    .item-content {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .item-details {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .item-details h3 {
        font-size: 1.3rem;
        font-weight: 800;
        color: #FFEB3B;
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .description {
        color: #cccccc;
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 10px;
        max-width: 240px;
    }
    
    .item-actions {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 260px;
        gap: 6px;
        margin-top: 6px;
    }
    
    .item-details .price {
        font-size: 0.95rem;
        font-weight: 700;
        color: #000000 !important;
        background: #FFEB3B;
        padding: 6px 12px;
        border-radius: 8px;
        border: 2px solid #FF9800;
        text-shadow: none;
        margin-bottom: 0;
        min-width: 90px;
        text-align: center;
        box-shadow: 
            0 3px 6px rgba(255, 235, 59, 0.4),
            0 2px 4px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .item-details .price::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }
    
    .item-details .price:hover::before {
        left: 100%;
    }
    
    .item-details .price:hover {
        transform: translateY(-1px);
        box-shadow: 
            0 5px 10px rgba(211, 47, 47, 0.5),
            0 3px 6px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    }
    
    .order-btn {
        background: #4caf50;
        color: white;
        text-decoration: none;
        padding: 5px 10px;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 4px;
        transition: all 0.3s ease;
        white-space: nowrap;
        min-width: 120px;
        justify-content: center;
        cursor: pointer;
        position: relative;
        z-index: 10;
    }
    
    .order-btn:hover {
        background: #45a049;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
        color: white;
        text-decoration: none;
    }
    
    .logo:hover {
        transform: perspective(500px) rotateX(0deg) scale(1.02);
        box-shadow: 
            0 8px 25px rgba(255, 152, 0, 0.4),
            0 4px 12px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 235, 59, 0.15);
    }
    
    .brand-text h1 {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }
    
    .tagline {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    
    .menu-title {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
    }
    
    .hours {
        font-size: 0.9rem;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .install-banner {
        padding: 8px 15px;
    }
    
    .install-steps {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    .main-header {
        padding: 15px 20px;
    }
    
    .logo-container {
        gap: 15px;
        margin-bottom: 10px;
    }
    
    .menu-categories {
        padding: 15px 20px;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Loading animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid rgba(211, 47, 47, 0.3);
    border-top: 3px solid #d32f2f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Category Pages Styles */
.back-navigation {
    padding: 20px;
    background: #000000;
    border-bottom: 2px solid #d32f2f;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #FF9800;
    color: #000000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    border: 2px solid #FFEB3B;
}

.back-btn:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 235, 59, 0.4);
    color: #000000;
    text-decoration: none;
}

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

.category-header {
    background: #000000;
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 3px solid #FF9800;
}

.category-header .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.category-header .logo {
    width: 300px;
    height: 100px;
    background: #000000 !important;
    border: 3px solid #FF9800;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    box-shadow: 
        0 8px 25px rgba(255, 152, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.4);
}

.category-header .logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.category-header .brand-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.category-header .brand-text h1 i {
    color: #FFEB3B;
    font-size: 2.2rem;
}

.category-header .tagline {
    font-size: 1.1rem;
    color: #ffeb3b !important;
    font-weight: 400;
    font-style: italic;
    background: transparent !important;
}

.category-content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive adjustments for category pages */
@media (max-width: 768px) {
    .category-header .logo {
        width: 90%;
        max-width: 250px;
        height: 80px;
        background: #000000 !important;
    }
    
    .category-header .brand-text h1 {
        font-size: 1.8rem;
    }
    
    .category-header .brand-text h1 i {
        font-size: 1.6rem;
    }
    
    .category-header .tagline {
        font-size: 0.9rem;
        color: #ffeb3b !important;
        background: transparent !important;
    }
    
    .back-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .category-header .logo {
        width: 120px;
        height: 100px;
        background: #000000 !important;
    }
    
    .category-header .brand-text h1 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .category-header .brand-text h1 i {
        font-size: 1.4rem;
    }
}

/* Welcome Content Styles */
.welcome-content {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-message {
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #d32f2f;
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.2);
}

.welcome-message h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.welcome-message p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #e0e0e0;
    line-height: 1.6;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    background: rgba(211, 47, 47, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid rgba(211, 47, 47, 0.3);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
    border-color: #d32f2f;
}

.feature i {
    font-size: 3rem;
    color: #d32f2f;
    margin-bottom: 15px;
    display: block;
}

.feature h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.feature p {
    font-size: 1rem;
    color: #b0b0b0;
    margin: 0;
}

/* Responsive adjustments for welcome content */
@media screen and (max-width: 768px) {
    .welcome-content {
        padding: 40px 20px;
    }
    
    .welcome-message {
        padding: 30px 20px;
    }
    
    .welcome-message h2 {
        font-size: 2rem;
    }
    
    .welcome-message p {
        font-size: 1.1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .feature {
        padding: 25px 15px;
    }
    
    .feature i {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 480px) {
    .welcome-message h2 {
        font-size: 1.6rem;
    }
    
    .welcome-message p {
        font-size: 1rem;
    }
    
    .feature h4 {
        font-size: 1.1rem;
    }
    
    .feature p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* High-priority PWA logo styling - must be at the end to override other styles */
/* This ensures the logo background is black and has a red border when PWA is installed */
@media (display-mode: standalone),
       (display-mode: minimal-ui),
       (display-mode: fullscreen) {
    .logo,
    .category-header .logo {
        background: #000000 !important;
        border: 3px solid #FF9800 !important;
    }
}

/* JavaScript fallback for PWA detection */
body.pwa-installed .logo,
body.pwa-installed .category-header .logo {
    background: #000000 !important;
    border: 3px solid #FF9800 !important;
}

/* Performance: Reduce repaints and reflows */
.menu-item,
.category-btn,
.item-image {
    contain: layout style paint;
}

/* Image aspect ratio optimization for better display */
.item-image {
    min-height: 200px;
}

@media screen and (max-width: 768px) {
    .item-image {
        aspect-ratio: unset !important;
        min-height: 220px !important;
        height: 220px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media screen and (max-width: 480px) {
    .item-image {
        aspect-ratio: unset !important;
        min-height: 200px !important;
        height: 200px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media screen and (max-width: 360px) {
    .item-image {
        aspect-ratio: unset !important;
        min-height: 180px !important;
        height: 180px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Optimize animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* FORCE RESPONSIVE - Override any conflicting styles */
@media screen and (max-width: 768px) {
    body, html {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .main-header,
    .menu-content,
    .menu-items,
    .menu-item,
    .item-content,
    .item-details,
    .item-image {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .menu-item {
        flex-direction: column !important;
        padding: 20px 15px !important;
    }
    
    .item-image {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
    
    .item-content {
        flex-direction: column !important;
        align-items: center !important;
    }
}

@media screen and (max-width: 480px) {
    body, html {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .main-header,
    .menu-content,
    .menu-items,
    .menu-item,
    .item-content,
    .item-details,
    .item-image {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .menu-content {
        padding: 10px 5px !important;
    }
    
    .menu-item {
        padding: 18px 12px !important;
    }
    
    .item-image {
        height: 200px !important;
    }
}

@media screen and (max-width: 360px) {
    .menu-content {
        padding: 8px 3px !important;
    }
    
    .menu-item {
        padding: 15px 10px !important;
    }
    
    .item-image {
        height: 180px !important;
    }
    
    .item-details h3 {
        font-size: 1.3rem !important;
    }
    
    .item-details .description {
        font-size: 0.85rem !important;
    }
} 