:root {
            --bg-canvas: #faf6f0;
            --bg-card: #ffffff;
            --text-main: #2d1a12;
            --text-muted: #725e54;
            --primary: #e05a36;
            --primary-hover: #c44422;
            --primary-light: #fdf2ee;
            --accent-gold: #f4b41a;
            --border-color: #eedecf;
            --shadow-sm: 0 4px 12px rgba(45, 26, 18, 0.05);
            --shadow-md: 0 10px 25px rgba(45, 26, 18, 0.08);
            --instagram-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
            --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

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

        html, body {
            height: 100%;
            width: 100%;
            overflow: hidden;
            font-family: sans-serif;
            background-color: var(--bg-canvas);
            color: var(--text-main);
        }

        .app-container {
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100dvh;
            max-width: 1400px;
            padding: 2px;
            margin: 0 auto;
            justify-content: space-between;
            padding: 1rem;
        }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-direction: row;
        }

        .brand {
            display: flex;
            align-items: center;
        }

        .brand-logo-img {
            height: 3rem;
            width: auto;
            display: block;
            object-fit: contain;
            transition: var(--transition-smooth);
        }

        .brand-text-fallback {
            font-family: arial;
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary);
            text-align: center;
            padding: 0.5rem;
        }

        .location-tag {
            background-color: var(--primary-light);
            color: var(--primary);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 1rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: 1px solid rgba(224, 90, 54, 0.15);
        }

        main {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .info-col {
            flex: 0 0 40%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 1.2rem;
            height: 100%;
        }

        .tagline {
            font-family: serif;
            font-size: 2rem;
            line-height: 1.15;
            font-weight: 800;
            color: var(--text-main);
        }

        .tagline span {
            color: var(--primary);
            position: relative;
            display: inline-block;
        }

        .tagline span::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 0;
            width: 100%;
            height: 4px;
            background-color: var(--accent-gold);
            border-radius: 2px;
            z-index: -1;
        }

        .description {
            font-size: 1rem;
            color: var(--text-muted);
            line-height: 1.6;
            max-width: 90%;
        }

        .button-group {
            display: flex;
            gap: 0.8rem;
            flex-wrap: wrap;
        }

        .cta-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
            padding: 0.9rem 1.8rem;
            background: var(--instagram-gradient);
            color: #ffffff;
            font-size: 1rem;
            font-weight: 700;
            text-decoration: none;
            border-radius: 16px;
            box-shadow: 0 10px 20px rgba(220, 39, 67, 0.25);
            transition: var(--transition-smooth);
            cursor: pointer;
            border: none;
        }

        .cta-btn:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 15px 25px rgba(220, 39, 67, 0.35);
        }

        .cta-btn svg {
            width: 22px;
            height: 22px;
            fill: #ffffff;
        }

        .mozo-btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            padding: 0.9rem 1.8rem;
            background-color: var(--bg-canvas);
            color: var(--primary);
            border: 2px solid var(--primary);
            font-size: 1rem;
            font-weight: 700;
            border-radius: 16px;
            transition: var(--transition-smooth);
            cursor: pointer;
            box-shadow: var(--shadow-sm);
        }

        .mozo-btn-primary:hover {
            background-color: var(--primary-light);
            transform: translateY(-2px);
        }

        .showcase-col {
            flex: 1;
            height: 100%;
            display: flex;
            flex-direction: column;
            background-color: var(--bg-card);
            border-radius: 32px;
            padding: 1.5rem;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border-color);
            justify-content: space-between;
            position: relative;
            overflow: hidden;
        }

        .category-switcher {
            display: flex;
            background-color: var(--bg-canvas);
            padding: 6px;
            border-radius: 18px;
            gap: 6px;
            border: 1px solid var(--border-color);
        }

        .switcher-btn {
            flex: 1;
            padding: 0.8rem;
            font-family: sans-serif;
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-muted);
            background: none;
            border: none;
            border-radius: 14px;
            cursor: pointer;
            transition: var(--transition-smooth);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .switcher-btn.active {
            background-color: var(--bg-card);
            color: var(--primary);
            box-shadow: var(--shadow-sm);
        }

        .switcher-btn svg {
            width: 18px;
            height: 18px;
            fill: currentColor;
        }

        .viewer-stage {
            display: flex;
            align-items: center;
            flex: 1;
            padding: 1.5rem 0;
            gap: 2rem;
            min-height: 0;
        }

        .canvas-area {
            flex: 1.2;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--primary-light);
            border-radius: 24px;
            padding: 1rem;
            position: relative;
        }

        .food-illustrator {
            max-width: 90%;
            max-height: 90%;
            width: auto;
            height: auto;
            transition: var(--transition-smooth);
            filter: drop-shadow(0 15px 15px rgba(45, 26, 18, 0.15));
        }

        .food-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            height: 100%;
            overflow: auto;
        }

        .food-title-badge {
            align-self: flex-start;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 700;
            text-transform: uppercase;
        }

        .food-title-badge.badge-salado {
            background-color: #eaf2ff;
            color: #3182ce;
        }

        .food-title-badge.badge-dulce {
            background-color: #fdf2f8;
            color: #db2777;
        }

        .food-name {
            font-family: serif;
            font-size: 2rem;
            font-weight: 800;
            line-height: 1.2;
            color: var(--text-main);
        }

        .food-desc {
            font-size: 1rem;
            color: var(--text-muted);
            line-height: 1.6;
        }

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

        .products-carousel {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 4px;
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        .products-carousel::-webkit-scrollbar {
            display: none;
        }

        .product-pill {
            flex: 0 0 auto;
            padding: 10px 18px;
            background-color: var(--bg-canvas);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-main);
            cursor: pointer;
            transition: var(--transition-smooth);
        }

        .product-pill:hover {
            background-color: var(--primary-light);
            border-color: var(--primary);
            color: var(--primary);
        }

        .product-pill.active {
            background-color: var(--primary);
            border-color: var(--primary);
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(224, 90, 54, 0.2);
        }

        .scroll-indicator {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 30px;
            height: 30px;
            background: linear-gradient(to left, var(--bg-card) 40%, transparent);
            pointer-events: none;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding-right: 5px;
            color: var(--primary);
            font-weight: bold;
        }

        footer {
            height: 5%;
            min-height: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid var(--border-color);
            padding-top: 0.5rem;
            font-size: 1rem;
            color: var(--text-muted);
        }

        .footer-instagram-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 700;
            transition: var(--transition-smooth);
        }

        .footer-instagram-link:hover {
            text-decoration: underline;
        }

        .mozo-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(45, 26, 18, 0.6);
            backdrop-filter: blur(8px);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }

        .mozo-backdrop.active {
            opacity: 1;
            pointer-events: auto;
        }

        .mozo-container {
            width: 90%;
            max-width: 650px;
            height: 80%;
            max-height: 700px;
            background-color: var(--bg-card);
            border-radius: 28px;
            box-shadow: 0 20px 50px rgba(45, 26, 18, 0.25);
            border: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            transform: scale(0.95);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .mozo-backdrop.active .mozo-container {
            transform: scale(1);
        }

        .mozo-header {
            background-color: var(--primary-light);
            padding: 1.2rem 1.5rem;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .mozo-header-title {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .mozo-header-logo-container {
            width: 100px;
            border-radius: 50%;
            overflow: hidden;
            border: 2px solid var(--primary);
            background-color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .mozo-header-logo-img {
            width: 100%;
            height: 100%;
        }

        .mozo-header-title h3 {
            font-family: serif;
            font-size: 1rem;
            font-weight: 800;
            color: var(--primary);
        }

        .mozo-header-subtitle {
            font-size: 1rem;
            color: var(--text-muted);
        }

        .close-mozo-btn {
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 1.5rem;
            cursor: pointer;
            transition: var(--transition-smooth);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-mozo-btn:hover {
            background-color: rgba(45, 26, 18, 0.05);
            color: var(--text-main);
        }

        .mozo-chat-body {
            flex: 1;
            padding: 1rem;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            background-color: #fdfbf7;
        }

        .mozo-bubble {
            max-width: 100%;
            padding: 1rem;
            border-radius: 18px;
            font-size: 1rem;
            line-height: 1.5;
            box-shadow: var(--shadow-sm);
            position: relative;
        }

        .mozo-bubble.model {
            background-color: var(--bg-card);
            color: var(--text-main);
            align-self: flex-start;
            border-top-left-radius: 4px;
            border: 1px solid var(--border-color);
        }

        .mozo-bubble.user {
            background-color: var(--primary);
            color: #ffffff;
            align-self: flex-end;
            border-top-right-radius: 4px;
        }

        .mozo-image-preview-container {
            margin-top: 0.8rem;
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid var(--border-color);
            background-color: var(--bg-canvas);
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 200px;
        }

        .mozo-image-preview {
            width: 100%;
            height: auto;
            max-height: 300px;
            object-fit: cover;
            display: block;
        }

        .mozo-image-loading {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(250, 246, 240, 0.9);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
            font-size: 1rem;
            color: var(--primary);
            font-weight: 700;
        }

        .mozo-visualize-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.8rem;
            padding: 0.6rem 1.2rem;
            background-color: var(--primary-light);
            border: 1px solid var(--primary);
            color: var(--primary);
            font-weight: 700;
            font-size: 1rem;
            border-radius: 12px;
            cursor: pointer;
            transition: var(--transition-smooth);
        }

        .mozo-visualize-btn:hover {
            background-color: var(--primary);
            color: #ffffff;
        }

        .mozo-copy-order-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.5rem;
            padding: 0.6rem 1.2rem;
            background: var(--instagram-gradient);
            border: none;
            color: #ffffff;
            font-weight: 700;
            font-size: 1rem;
            border-radius: 12px;
            cursor: pointer;
            transition: var(--transition-smooth);
            width: fit-content;
        }

        .mozo-copy-order-btn:hover {
            transform: scale(1.02);
            box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
        }

        .mozo-suggested-prompts {
            gap: 0.5rem;
            overflow-x: auto;
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        .mozo-suggested-prompts::-webkit-scrollbar {
            display: none;
        }

        .mozo-prompt-pill {
            flex: 0 0 auto;
            padding: 8px 14px;
            background-color: var(--bg-canvas);
            border: 1px solid var(--border-color);
            border-radius: 14px;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-muted);
            cursor: pointer;
            transition: var(--transition-smooth);
        }

        .mozo-prompt-pill:hover {
            background-color: var(--primary-light);
            border-color: var(--primary);
            color: var(--primary);
        }

        .mozo-input-panel {
            padding: 1rem 1.5rem;
            background-color: var(--bg-card);
            border-top: 1px solid var(--border-color);
            display: flex;
            gap: 0.8rem;
            align-items: center;
        }

        .mozo-input-wrapper {
            flex: 1;
            position: relative;
        }

        .mozo-input {
            width: 100%;
            padding: 0.9rem 1.2rem;
            border: 1.5px solid var(--border-color);
            border-radius: 16px;
            font-family: inherit;
            font-size: 1rem;
            color: var(--text-main);
            outline: none;
            background-color: var(--bg-canvas);
            transition: var(--transition-smooth);
        }

        .mozo-input:focus {
            border-color: var(--primary);
            background-color: var(--bg-card);
            box-shadow: 0 0 0 3px rgba(224, 90, 54, 0.1);
        }

        .send-mozo-btn {
            background-color: var(--primary);
            color: #ffffff;
            border: none;
            width: 48px;
            height: 48px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition-smooth);
            box-shadow: 0 4px 10px rgba(224, 90, 54, 0.2);
        }

        .send-mozo-btn:hover {
            background-color: var(--primary-hover);
            transform: scale(1.05);
        }

        .send-mozo-btn svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        .toast-notif {
            position: fixed;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background-color: var(--text-main);
            color: #ffffff;
            padding: 0.8rem 1.6rem;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            z-index: 1100;
            box-shadow: var(--shadow-md);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            pointer-events: none;
            display: none;
            align-items: center;
            gap: 0.5rem;
        }

        .toast-notif.active {
            transform: translateX(-50%) translateY(0);
        }

        .spinner {
            width: 24px;
            height: 24px;
            border: 3px solid rgba(224, 90, 54, 0.2);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

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

        @media (max-width: 1024px) {
            .tagline {
                font-size: 2rem;
            }
            .brand-text-fallback {
		        font-size: 1.5rem;
		        font-weight: 800;
		    }
		    .location-tag {
		    	display: none;
		    }
        }

        @media (max-width: 768px) {
            .app-container {
                padding: 0.5rem 1rem 0.5rem 1rem;
            }

            header {
                border-bottom: none;
                flex-direction: column;
            }

            main {
                flex-direction: column;
                height: 80%;
                gap: 0.5rem;
                justify-content: flex-start;
            }
            
            .brand-logo-img {
		        height: 2rem;
		    }
		    
		    .footer-contact {
			    display: none;
			}

            .info-col {
                width: 100%;
                text-align: center;
                align-items: center;
                gap: 0.6rem;
                padding: 0.3rem 0;
            }

            .tagline {
                font-size: 1rem;
            }
            
            .location-tag {
		    	display: none;
		    }
            
            .brand-text-fallback {
		        font-size: 1rem;
		        font-weight: 800;
		    }

            .description {
                font-size: 1rem;
                max-width: 100%;
            }

            .button-group {
                justify-content: center;
                width: 100%;
            }

            .cta-btn, .mozo-btn-primary {
                padding: 0.75rem 1.2rem;
                font-size: 1rem;
                border-radius: 12px;
                flex: 1;
                max-width: 220px;
            }

            .showcase-col {
                flex: 1;
                width: 100%;
                padding: 0.5rem;
                border-radius: 24px;
                min-height: 0;
            }

            .category-switcher {
                padding: 4px;
                border-radius: 14px;
            }

            .switcher-btn {
                padding: 0.5rem;
                font-size: 1rem;
                border-radius: 10px;
            }

            .viewer-stage {
                padding: 0.6rem 0;
                gap: 1rem;
            }

            .canvas-area {
                flex: 1;
                border-radius: 16px;
                padding: 0.5rem;
            }

            .food-info {
                flex: 1.2;
                gap: 0.4rem;
                overflow: auto;
            }

            .food-name {
                font-size: 1rem;
            }

            .food-desc {
                font-size: 1rem;
                line-height: 1.3;
            }
            
            .food-title-badge{
            	display:none;
            }

            .product-pill {
                padding: 8px 14px;
                font-size: 1rem;
                border-radius: 10px;
            }

            footer {
                height: 5%;
                font-size: 1rem;
                flex-direction: column;
                justify-content: center;
                gap: 2px;
                border-top: none;
                text-align: center;
            }

            .mozo-container {
                height: 90%;
            }
        }

        @media (max-height: 600px) and (orientation: landscape) {
            main {
                flex-direction: row;
            }
            .info-col {
                flex: 0 0 35%;
            }
            .tagline {
                font-size: 1rem;
            }
            .description {
                display: none;
            }
        }
        
        @keyframes popIn {
            0% { transform: scale(0.85); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }

        .animate-food {
            animation: popIn 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        }
