        :root {
            --primary: #ef4444;
            --primary-dark: #dc2626;
            --primary-rgb: 239, 68, 68;
            --secondary: #1E293B;
            --light: #f8fafc;
            --success: #10b981;
            --warning: #f59e0b;
            --error: #ef4444;
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --text-primary: #111827;
            --text-secondary: #6b7280;
            --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        }

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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background-color: #ffffff;
            color: #333;
            line-height: 1.5;
            overflow-x: hidden;
        }
        
        .scrollbar-hide::-webkit-scrollbar {
            display: none;
        }
        .scrollbar-hide {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        
        @keyframes slide-up {
            from {
                transform: translateY(100%);
            }
            to {
                transform: translateY(0);
            }
        }
        .animate-slide-up {
            animation: slide-up 0.3s ease-out;
        }
        
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Mobile First Layout */
        .page-content {
            padding-top: 220px;
        }

        main.main-content {
            padding-bottom: 120px;
        }

        /* Restaurant Banner */
        .restaurant-banner {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 220px;
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
            color: white;
            z-index: 10;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }

        .banner-background {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-size: cover;
            background-position: center;
            opacity: 0.3;
            filter: blur(1px);
        }

        .banner-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            height: 100%;
            background: rgba(0, 0, 0, 0.1);
        }

        .logo-container {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
            padding: 4px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            border: 3px solid rgba(255, 255, 255, 0.9);
        }

        .logo-container img {
            max-width: 100%;
            max-height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }

        .restaurant-name {
            font-size: 1.9rem;
            font-weight: bold;
            margin-bottom: 6px;
            text-align: center;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .restaurant-hours {
            font-size: 1rem;
            opacity: 0.95;
            margin-bottom: 8px;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .status-indicator {
            padding: 6px 16px;
            border-radius: 25px;
            font-size: 0.8rem;
            font-weight: bold;
            background-color: #4caf50;
            color: white;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        }

        .status-closed {
            background-color: #f44336;
        }

        /* Search and Categories */
        .search-container {
            position: sticky;
            top: 0;
            background-color: white;
            z-index: 9;
            transition: box-shadow 0.3s ease;
        }

        .scrolled .search-container {
            box-shadow: var(--shadow-md);
        }

        .search-bar {
            padding: 12px 16px;
        }

        .search-wrapper {
            position: relative;
            width: 100%;
        }

        .compact-header {
            display: none;
            align-items: center;
            padding: 12px 16px 0;
        }

        .compact-logo {
            display: flex;
            align-items: center;
            font-weight: bold;
            color: #2563eb;
            font-size: 1.1rem;
        }

        .compact-logo img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            margin-right: 8px;
            object-fit: cover;
        }

        .search-input {
            width: 100%;
            padding: 10px 16px 10px 40px;
            border: 1px solid #ddd;
            border-radius: 50px;
            background-color: #f5f5f5;
            font-size: 0.9rem;
            outline: none;
            transition: border-color 0.2s ease;
        }

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

        .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
        }

        /* CORREÇÃO: Categorias Tabs - Scroll Suave */
        .categories-tabs {
            display: flex;
            overflow-x: auto;
            overflow-y: hidden;
            white-space: nowrap;
            padding: 8px 12px;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

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

        .category-tab {
            padding: 8px 16px;
            margin-right: 8px;
            border-radius: 20px;
            background-color: #f0f0f0;
            color: #333;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            border: none;
            transition: all 0.2s ease;
            white-space: nowrap;
            flex-shrink: 0;
            user-select: none;
        }

        .category-tab:active {
            transform: scale(0.95);
        }

        .category-tab.active,
        .category-tab-minimal.active {
            background-color: var(--primary);
            color: white;
            box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
        }
        
        .category-tab-minimal:hover {
            background-color: #f3f4f6;
        }
        
        .category-tab-minimal.active:hover {
            background-color: var(--primary-dark);
        }

        /* Products Section */
        .category-section {
            padding: 0 16px;
            margin-bottom: 24px;
        }

        .category-title {
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 12px;
            color: #333;
            padding-left: 4px;
            border-left: 4px solid #2563eb;
        }

        .products-grid {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .product-card {
            display: flex;
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            border: 1px solid #eee;
            position: relative;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            user-select: none;
        }

        .product-card:active {
            transform: scale(0.98);
        }

        .product-image {
            width: 110px;
            min-width: 110px;
            height: 110px;
            overflow: hidden;
            background-color: var(--gray-100);
            display: flex;
            align-items: center;
            justify-content: center;
        }

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

        .no-image {
            color: var(--gray-400);
            font-size: 2rem;
        }

        .product-details {
            padding: 12px;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .product-name {
            font-weight: 600;
            font-size: 1rem;
            color: #333;
            margin-bottom: 4px;
        }

        .product-description {
            font-size: 0.8rem;
            color: #666;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-price {
            font-weight: bold;
            color: #4caf50;
            font-size: 1.1rem;
        }

        .price-add-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .add-button {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background-color: #4caf50;
            color: white;
            border: none;
            font-size: 1.2rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: var(--shadow);
            transition: transform 0.2s ease, background-color 0.2s ease;
        }

        .add-button:active {
            transform: scale(0.9);
            background-color: #388e3c;
        }

        /* Floating Cart Button - Oculto no mobile (agora está no bottom-nav) */
        .floating-cart {
            display: none;
        }

        .cart-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--error);
            color: white;
            border-radius: 50%;
            min-width: 20px;
            height: 20px;
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        /* Mobile Cart Modal */
        .mobile-cart-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1001;
            display: none;
            align-items: flex-end;
            justify-content: center;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        .mobile-cart-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
        }

        .mobile-cart-content {
            position: relative;
            width: 100%;
            max-height: 85vh;
            background: #ffffff;
            border-radius: 24px 24px 0 0;
            display: flex;
            flex-direction: column;
            animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
        }

        @keyframes slideUp {
            from {
                transform: translateY(100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .mobile-cart-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 24px 20px 20px;
            border-bottom: 1px solid #f0f0f0;
            background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
            position: relative;
        }

        .mobile-cart-header::before {
            content: '';
            position: absolute;
            top: 8px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 4px;
            background: #e0e0e0;
            border-radius: 2px;
        }

        .mobile-cart-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text-primary);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .mobile-cart-title::before {
            content: '\f07a';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            color: var(--primary);
            font-size: 1.2rem;
        }

        .mobile-cart-close {
            width: 40px;
            height: 40px;
            border: none;
            background: rgba(0, 0, 0, 0.05);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #666;
            font-size: 1.3rem;
            transition: all 0.2s ease;
        }

        .mobile-cart-close:active {
            transform: scale(0.9);
            background: rgba(0, 0, 0, 0.1);
        }

        .mobile-cart-items {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            background: #fafafa;
            -webkit-overflow-scrolling: touch;
        }

        .mobile-cart-items::-webkit-scrollbar {
            width: 4px;
        }

        .mobile-cart-items::-webkit-scrollbar-track {
            background: transparent;
        }

        .mobile-cart-items::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 2px;
        }

        .mobile-cart-items .cart-item {
            background: white;
            border-radius: 16px;
            padding: 16px;
            margin-bottom: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            display: flex;
            gap: 14px;
            transition: all 0.2s ease;
            position: relative;
        }

        .mobile-cart-items .cart-item:hover {
            background: #f9fafb;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .mobile-cart-items .cart-item:active {
            transform: scale(0.98);
        }

        .mobile-cart-items .cart-item:last-child {
            margin-bottom: 0;
        }

        .mobile-cart-items .cart-item-image {
            width: 70px;
            height: 70px;
            min-width: 70px;
            border-radius: 12px;
            overflow: hidden;
            background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

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

        .mobile-cart-items .cart-item-image i {
            font-size: 1.8rem;
            color: #ccc;
        }

        .mobile-cart-items .cart-item-details {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .mobile-cart-items .cart-item-name {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .mobile-cart-items .cart-item-price {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary);
        }

        .mobile-cart-items .cart-item-quantity {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: auto;
        }

        .mobile-cart-items .quantity-btn {
            width: 32px;
            height: 32px;
            min-width: 32px;
            border-radius: 8px;
            border: 2px solid var(--primary);
            background: white;
            color: var(--primary);
            font-size: 1rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .mobile-cart-items .quantity-btn:active {
            transform: scale(0.9);
            background: var(--primary);
            color: white;
        }

        .mobile-cart-items .quantity-number {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
            min-width: 24px;
            text-align: center;
        }

        .mobile-cart-items .empty-cart {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 20px;
            text-align: center;
        }

        .mobile-cart-items .empty-cart i {
            font-size: 4rem;
            color: #e0e0e0;
            margin-bottom: 16px;
        }

        .mobile-cart-items .empty-cart p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin: 0;
            font-weight: 500;
        }

        .mobile-cart-summary {
            padding: 20px;
            background: white;
            border-top: 1px solid #f0f0f0;
            box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
        }

        .mobile-cart-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
            padding: 16px;
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            border-radius: 12px;
            border: 1px solid #f0f0f0;
        }

        .mobile-cart-total-label {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .mobile-cart-total-label::before {
            content: '\f02b';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            color: var(--primary);
        }

        .mobile-cart-total-value {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--primary);
            letter-spacing: -0.5px;
        }

        .mobile-checkout-btn {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            border: none;
            border-radius: 14px;
            font-size: 1.15rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            letter-spacing: 0.3px;
        }

        .mobile-checkout-btn::after {
            content: '\f061';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            transition: transform 0.3s ease;
        }

        .mobile-checkout-btn:active {
            transform: scale(0.97);
            box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
        }

        .mobile-checkout-btn:active::after {
            transform: translateX(4px);
        }

        /* Bottom Navigation com SVG Notch */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 10;
            height: 65px;
        }

        .bottom-nav-shape {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 65px;
            filter: drop-shadow(0 -2px 10px rgba(0, 0, 0, 0.1));
        }

        .nav-buttons {
            display: flex;
            justify-content: space-around;
            align-items: center;
            position: relative;
            height: 100%;
            z-index: 1;
        }

        .nav-button {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #757575;
            text-decoration: none;
            font-size: 0.75rem;
            transition: color 0.2s ease;
            flex: 1;
            padding: 10px;
        }

        .nav-button.active {
            color: #2563eb;
        }

        .nav-icon {
            font-size: 1.25rem;
            margin-bottom: 4px;
        }

        /* Botão do carrinho centralizado com elevação */
        .nav-button.cart-center {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: -28px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            width: 68px;
            height: 68px;
            border-radius: 50%;
            box-shadow: 0 6px 24px rgba(var(--primary-rgb), 0.4);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 100;
            transition: all 0.3s ease;
            border: 5px solid white;
        }

        .nav-button.cart-center .nav-icon {
            color: white;
            font-size: 1.6rem;
            margin-bottom: 0;
        }

        .nav-button.cart-center span:not(.cart-badge) {
            display: none;
        }

        .nav-button.cart-center:active {
            transform: translateX(-50%) scale(0.92);
        }

        .nav-button.cart-center .cart-badge {
            position: absolute;
            top: 0;
            right: 0;
        }

        /* Modal - Bottom Sheet Style */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: flex-end;
            justify-content: center;
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        
        @media (min-width: 768px) {
            .modal-overlay {
                align-items: center;
            }
        }

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

        .product-modal {
            background: white;
            border-radius: 16px 16px 0 0;
            max-width: 500px;
            width: 100%;
            max-height: 85vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
            transform: translateY(100%);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        
        @media (min-width: 768px) {
            .product-modal {
                border-radius: 16px;
                max-height: 90vh;
                transform: translateY(50px);
            }
        }

        .modal-overlay.active .product-modal {
            transform: translateY(0);
        }

        .modal-header {
            position: relative;
            height: 224px;
            overflow: hidden;
            background: #f3f4f6;
        }

        .modal-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 40px;
            height: 40px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: background 0.2s ease;
        }

        .modal-close:active {
            background: rgba(0, 0, 0, 0.9);
        }

        .modal-body {
            padding: 1.5rem;
            flex: 1;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .modal-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--secondary);
        }

        .modal-description {
            color: var(--gray-600);
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .modal-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }

        .option-group {
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--gray-200);
        }

        .option-group:last-child {
            border-bottom: none;
        }

        .option-group-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--secondary);
        }

        .option-group-subtitle {
            font-size: 0.85rem;
            color: var(--gray-500);
            margin-bottom: 1rem;
        }

        .option-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            border: 1px solid var(--gray-200);
            border-radius: 8px;
            margin-bottom: 0.5rem;
            cursor: pointer;
            transition: all 0.2s ease;
            user-select: none;
        }

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

        .option-item.selected {
            border-color: var(--primary);
            background: rgba(var(--primary-rgb), 0.05);
        }

        .option-checkbox {
            width: 20px;
            height: 20px;
            border: 2px solid var(--gray-300);
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .option-item.selected .option-checkbox {
            border-color: var(--primary);
            background: var(--primary);
            color: white;
        }

        .option-details {
            flex: 1;
        }

        .option-name {
            font-weight: 500;
            margin-bottom: 0.25rem;
        }

        .option-description {
            font-size: 0.8rem;
            color: var(--gray-500);
        }

        .option-price {
            font-weight: 600;
            color: var(--primary);
        }

        .add-to-cart-btn {
            width: 100%;
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.75rem;
            border-radius: 0.5rem;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-top: 1rem;
        }

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

        .add-to-cart-btn:active {
            transform: scale(0.98);
        }
        
        /* Modal Footer Fixo */
        .modal-footer {
            border-top: 1px solid #e5e7eb;
            padding: 1rem;
            background: white;
        }
        
        .modal-quantity-controls {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
        }
        
        .quantity-controls {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .quantity-btn-modal {
            width: 36px;
            height: 36px;
            border: 2px solid #d1d5db;
            background: white;
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .quantity-btn-modal:hover {
            background: #f9fafb;
            border-color: var(--primary);
        }
        
        .quantity-number-modal {
            font-weight: bold;
            font-size: 1.125rem;
            width: 32px;
            text-align: center;
        }
        
        .modal-total-price {
            text-align: right;
        }
        
        .modal-total-label {
            font-size: 0.75rem;
            color: #6b7280;
        }
        
        .modal-total-value {
            font-size: 1.25rem;
            font-weight: bold;
            color: #111827;
        }

        /* Featured Carousel - Design 2025 Minimalista */
        .featured-carousel-section {
            margin-bottom: 3rem;
            padding: 0 1rem;
        }

        .featured-section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.5rem;
            padding: 0 0.5rem;
        }

        .featured-section-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #111827;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            letter-spacing: -0.02em;
        }

        .featured-section-title i {
            color: var(--primary);
            font-size: 1.25rem;
        }

        .featured-carousel-container {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            background: white;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            border: 1px solid #f3f4f6;
        }

        .featured-carousel {
            display: flex;
            transition: transform 0.3s ease-out;
        }

        .featured-slide {
            min-width: 100%;
            position: relative;
            cursor: pointer;
        }

        .featured-slide-content {
            position: relative;
            min-height: 180px;
            display: flex;
            flex-direction: column;
            padding: 1rem;
            background: transparent;
            border-radius: 16px;
            overflow: visible;
            transition: background 0.5s ease;
            cursor: grab;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
        }

        .featured-slide-content:active {
            cursor: grabbing;
        }

        @media (max-width: 640px) {
            .featured-slide-content {
                min-height: 160px;
                padding: 0.875rem;
            }
        }

        .featured-slide-bg {
            display: none;
        }

        .featured-product-info {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            flex: 1;
        }

        .featured-product-header {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin-bottom: 0.5rem;
        }

        .featured-product-text {
            flex: 1;
            min-width: 0;
        }

        .featured-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            color: #92400e;
            padding: 0.375rem 0.75rem;
            border-radius: 8px;
            font-size: 0.75rem;
            font-weight: 600;
            width: fit-content;
            border: none;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        }

        .featured-badge.promo {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            color: #991b1b;
        }

        .featured-badge.popular {
            background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
            color: #9f1239;
        }

        .featured-product-name {
            font-size: 1.25rem;
            font-weight: 700;
            color: #111827;
            line-height: 1.2;
            letter-spacing: -0.02em;
            margin: 0;
        }

        @media (max-width: 640px) {
            .featured-product-name {
                font-size: 1.125rem;
            }
        }

        .featured-product-description {
            font-size: 0.875rem;
            color: #6b7280;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin: 0;
        }

        .featured-product-price {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary);
            margin: 0.25rem 0;
            letter-spacing: -0.02em;
        }

        @media (max-width: 640px) {
            .featured-product-price {
                font-size: 1.125rem;
            }
        }

        .featured-cta-button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.2s ease;
            width: 100%;
            box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.25);
            margin-top: auto;
            position: relative;
            z-index: 5;
            margin-bottom: 3rem;
            pointer-events: auto;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
        }

        @media (max-width: 640px) {
            .featured-cta-button {
                padding: 0.625rem 1.25rem;
                font-size: 0.8125rem;
                margin-bottom: 2.5rem;
            }
        }

        .featured-cta-button:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.35);
        }

        .featured-cta-button:active {
            transform: translateY(0);
        }

        .featured-product-image {
            width: 80px;
            height: 80px;
            border-radius: 10px;
            object-fit: cover;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            flex-shrink: 0;
            border: none;
        }

        @media (max-width: 640px) {
            .featured-product-image {
                width: 70px;
                height: 70px;
            }
        }

        .featured-product-info,
        .featured-product-image {
            position: relative;
            z-index: 1;
        }

        .carousel-indicators {
            position: absolute;
            bottom: 0.5rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 0.5rem;
            z-index: 3;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            padding: 0.5rem 0.75rem;
            border-radius: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .carousel-indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #d1d5db;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .carousel-indicator.active {
            background: var(--primary);
            width: 24px;
            border-radius: 4px;
        }

        .carousel-nav {
            display: none;
        }

        @media (min-width: 768px) {
            .carousel-nav {
                display: flex;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                background: white;
                color: #111827;
                border: 1px solid #e5e7eb;
                width: 44px;
                height: 44px;
                border-radius: 50%;
                cursor: pointer;
                font-size: 1rem;
                align-items: center;
                justify-content: center;
                transition: all 0.3s ease;
                z-index: 3;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            }

            .carousel-nav:hover {
                background: #f9fafb;
                border-color: var(--primary);
                color: var(--primary);
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            }

            .carousel-nav.prev {
                left: 1rem;
            }

            .carousel-nav.next {
                right: 1rem;
            }
        }

        .carousel-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 3px;
            background: #f3f4f6;
            width: 100%;
            z-index: 2;
        }

        .carousel-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
            width: 0%;
            transition: width 0.1s linear;
            border-radius: 0 3px 3px 0;
        }

        /* Desktop Styles */
        .categories-sidebar,
        .cart-sidebar {
            display: none;
        }

        .scrolled .restaurant-banner {
            transform: translateY(-100%);
        }

        .scrolled .compact-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* Desktop Layout */
        @media (min-width: 1024px) {
            body {
                background: var(--gray-50);
            }

            .page-content {
                padding-top: 0;
            }

            main.main-content {
                padding-bottom: 2rem;
            }

            .restaurant-banner {
                position: static;
                height: auto;
                padding: 3rem 0;
            }

            .banner-content {
                max-width: 1200px;
                margin: 0 auto;
                padding: 0 2rem;
                flex-direction: row;
                justify-content: flex-start;
                text-align: left;
            }

            .logo-container {
                width: 120px;
                height: 120px;
                margin-bottom: 0;
                margin-right: 2rem;
            }

            .restaurant-name {
                font-size: 2.5rem;
                text-align: left;
            }

            .search-container {
                position: static;
                background: white;
                box-shadow: var(--shadow);
                margin: -2rem auto 0;
                max-width: 1200px;
                border-radius: 16px;
                z-index: 10;
            }

            .compact-header {
                display: none !important;
            }

            .desktop-layout {
                display: grid;
                grid-template-columns: 280px 1fr 350px;
                gap: 2rem;
                max-width: 1400px;
                margin: 2rem auto 0;
                padding: 0 2rem;
            }

            .categories-sidebar {
                background: white;
                border-radius: 16px;
                box-shadow: var(--shadow);
                padding: 1.5rem;
                height: fit-content;
                position: sticky;
                top: 2rem;
                display: block;
            }

            .categories-title {
                font-size: 1.25rem;
                font-weight: 700;
                margin-bottom: 1.5rem;
                color: var(--secondary);
            }

            .category-item-desktop {
                display: flex;
                align-items: center;
                gap: 0.75rem;
                padding: 0.75rem;
                border-radius: 12px;
                cursor: pointer;
                transition: all 0.2s ease;
                margin-bottom: 0.5rem;
                text-decoration: none;
                color: var(--gray-600);
            }

            .category-item-desktop:hover {
                background-color: var(--gray-50);
                color: var(--secondary);
            }

            .category-item-desktop.active {
                background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
                color: white;
                box-shadow: var(--shadow);
            }

            .category-icon {
                width: 24px;
                height: 24px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .products-area-desktop {
                background: white;
                border-radius: 16px;
                box-shadow: var(--shadow);
                overflow: hidden;
            }

            .products-grid-desktop {
                padding: 1.5rem;
            }

            .category-header {
                font-size: 1.25rem;
                font-weight: 700;
                color: var(--secondary);
                margin-bottom: 1.5rem;
                padding-bottom: 0.5rem;
                border-bottom: 2px solid var(--primary);
            }

            .product-item {
                display: flex;
                gap: 1rem;
                padding: 1.5rem;
                border-radius: 12px;
                border: 1px solid var(--gray-200);
                margin-bottom: 1rem;
                cursor: pointer;
                transition: all 0.2s ease;
                background: white;
            }

            .product-item:hover {
                border-color: var(--primary);
                box-shadow: var(--shadow-md);
                transform: translateY(-1px);
            }

            .product-image {
                width: 120px;
                height: 120px;
                border-radius: 8px;
            }

            .cart-sidebar {
                background: white;
                border-radius: 16px;
                box-shadow: var(--shadow);
                padding: 1.5rem;
                height: fit-content;
                position: sticky;
                top: 2rem;
                display: block;
            }

            .cart-header {
                display: flex;
                align-items: center;
                gap: 0.5rem;
                margin-bottom: 1.5rem;
                padding-bottom: 1rem;
                border-bottom: 1px solid var(--gray-200);
            }

            .cart-title {
                font-size: 1.25rem;
                font-weight: 700;
                color: var(--secondary);
            }

            .cart-count {
                background: var(--primary);
                color: white;
                font-size: 0.75rem;
                font-weight: 700;
                padding: 0.25rem 0.5rem;
                border-radius: 50px;
                min-width: 20px;
                text-align: center;
            }

            .cart-items {
                margin-bottom: 1.5rem;
                max-height: 400px;
                overflow-y: auto;
            }

            .cart-item {
                display: flex;
                gap: 0.75rem;
                padding: 1rem;
                border: 1px solid var(--gray-200);
                border-radius: 8px;
                margin-bottom: 0.75rem;
                transition: all 0.2s ease;
            }

            .cart-item:hover {
                background: #f9fafb;
                border-color: #d1d5db;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            }

            .cart-item:active {
                transform: scale(0.99);
            }

            .cart-item-image {
                width: 50px;
                height: 50px;
                border-radius: 6px;
                overflow: hidden;
                background: var(--gray-100);
                flex-shrink: 0;
            }

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

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

            .cart-item-name {
                font-weight: 600;
                font-size: 0.9rem;
                margin-bottom: 0.25rem;
            }

            .cart-item-price {
                color: var(--primary);
                font-weight: 600;
                font-size: 0.85rem;
            }

            .cart-item-quantity {
                display: flex;
                align-items: center;
                gap: 0.5rem;
                margin-top: 0.5rem;
            }

            .quantity-btn {
                width: 24px;
                height: 24px;
                border: 1px solid var(--gray-300);
                background: white;
                border-radius: 4px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                font-size: 0.8rem;
                transition: all 0.2s ease;
            }

            .quantity-btn:hover {
                background: var(--gray-50);
                border-color: var(--primary);
            }

            .quantity-number {
                font-weight: 600;
                min-width: 20px;
                text-align: center;
                font-size: 0.85rem;
            }

            .cart-summary {
                border-top: 1px solid var(--gray-200);
                padding-top: 1rem;
            }

            .cart-total {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 1rem;
            }

            .cart-total-label {
                font-weight: 600;
                color: var(--secondary);
            }

            .cart-total-value {
                font-size: 1.25rem;
                font-weight: 700;
                color: var(--primary);
            }

            .checkout-btn {
                width: 100%;
                background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
                color: white;
                border: none;
                padding: 1rem;
                border-radius: 8px;
                font-weight: 600;
                font-size: 1rem;
                cursor: pointer;
                transition: all 0.2s ease;
            }

            .checkout-btn:hover {
                transform: translateY(-1px);
                box-shadow: var(--shadow-md);
            }

            .categories-tabs,
            .floating-cart,
            .bottom-nav {
                display: none;
            }

            .featured-carousel-section {
                padding: 0;
                margin-bottom: 3rem;
            }

            .featured-slide-content {
                min-height: 280px;
                grid-template-columns: 1fr 160px;
                padding: 1.75rem;
            }

            .featured-product-image {
                width: 160px;
                height: 160px;
            }
        }

        .empty-cart {
            text-align: center;
            padding: 2rem 0;
            color: var(--gray-500);
        }

        .empty-cart i {
            font-size: 3rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        .loading {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 200px;
        }

        .loading:after {
            content: "";
            width: 40px;
            height: 40px;
            border: 5px solid #2563eb;
            border-bottom-color: transparent;
            border-radius: 50%;
            animation: loader 1s linear infinite;
        }

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

        /* Toggle Switch para Pizza Meio a Meio */
        .switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 24px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .slider {
            background-color: var(--primary);
        }

        input:focus + .slider {
            box-shadow: 0 0 1px var(--primary);
        }

        input:checked + .slider:before {
            transform: translateX(26px);
        }

        /* Estilo para opções de pizza meio a meio */
        .half-and-half-toggle {
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .half-and-half-toggle:hover {
            background: #f3f4f6 !important;
        }

        #second-flavor-options .option-item {
            transition: all 0.2s ease;
        }

        #second-flavor-options .option-item:hover {
            background: #f9fafb;
            transform: translateX(2px);
        }
    </style>
