/* style.css - Diseño Premium para ViandaFlow */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
    --primary: #ff5e36;
    --primary-hover: #e04822;
    --primary-light: #fff2ee;
    --secondary: #ffb800;
    --dark: #0f172a;
    --dark-muted: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --green-success: #10b981;
    --green-success-light: #ecfdf5;
    --blue-info: #3b82f6;
    --blue-info-light: #eff6ff;
    --yellow-warning: #f59e0b;
    --yellow-warning-light: #fef3c7;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-premium: 0 20px 25px -5px rgba(255, 94, 54, 0.15), 0 10px 10px -5px rgba(255, 94, 54, 0.05);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Temas dinámicos de Cocinas */
body.theme-nutriroots {
    --primary: #ff5e36;
    --primary-hover: #e04822;
    --primary-light: #fff2ee;
    --shadow-premium: 0 20px 25px -5px rgba(255, 94, 54, 0.15), 0 10px 10px -5px rgba(255, 94, 54, 0.05);
}

body.theme-corporativo {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --shadow-premium: 0 20px 25px -5px rgba(37, 99, 235, 0.15), 0 10px 10px -5px rgba(37, 99, 235, 0.05);
}

/* Landing Page Hover Effects */
.landing-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s !important;
}
.landing-card:hover {
    transform: translateY(-6px) !important;
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-premium) !important;
}
.landing-card button {
    transition: transform 0.2s, box-shadow 0.2s !important;
}
.landing-card:hover button {
    transform: scale(1.02) !important;
    box-shadow: var(--shadow-md) !important;
}

/* Reset y Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.nav-brand span {
    color: var(--primary);
}

#brand-logo, #hero-banner-img {
    mix-blend-mode: multiply;
}

.brand-icon {
    font-size: 1.8rem;
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-muted);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.btn-cart {
    position: relative;
    background-color: var(--dark);
    color: var(--white);
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-cart:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
}

.cart-count {
    background-color: var(--secondary);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -5px;
    right: -5px;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* Hero Section */
.hero {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    font-style: italic;
    color: var(--primary);
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--dark-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-premium);
}

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

.btn-secondary {
    background-color: var(--white);
    color: var(--dark);
    border: 2px solid var(--gray-200);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.hero-image-container {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    z-index: 1;
    position: relative;
}

.hero-image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary);
    border-radius: var(--radius-lg);
    top: 15px;
    left: 15px;
    z-index: 0;
}

/* Category Filter */
.categories-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.categories-container {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none; /* Firefox */
}

.categories-container::-webkit-scrollbar {
    display: none; /* Safari y Chrome */
}

.category-chip {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

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

.category-chip.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-premium);
}

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

.section-title {
    margin-bottom: 2rem;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background-color: var(--secondary);
    bottom: -8px;
    left: 0;
    border-radius: var(--radius-full);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.menu-card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.menu-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.menu-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--secondary);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.menu-card-badge.out-of-stock {
    background-color: var(--gray-300);
    color: var(--dark-muted);
}

.menu-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
    line-height: 1.3;
}

.menu-card-desc {
    color: var(--dark-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

.menu-card-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
}

.menu-card-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-muted);
}

.btn-add-cart {
    background-color: var(--primary-light);
    color: var(--primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

.btn-add-cart:disabled {
    background-color: var(--gray-100);
    color: var(--gray-300);
    cursor: not-allowed;
    transform: none;
}

/* Cart Panel (Drawer / Modal) */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(18, 24, 36, 0.4);
    backdrop-filter: blur(4px);
    z-index: 150;
    display: none;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background-color: var(--white);
    z-index: 160;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

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

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

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

.btn-close-cart:hover {
    color: var(--primary);
}

.cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--dark-muted);
}

.cart-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.cart-item-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

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

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--gray-200);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
}

.btn-qty {
    background: none;
    border: none;
    font-weight: bold;
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.qty-val {
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 15px;
    text-align: center;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    background-color: var(--gray-50);
}

.cart-totals {
    margin-bottom: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--dark-muted);
}

.total-row.grand-total {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    border-top: 1px solid var(--gray-200);
    padding-top: 0.8rem;
    margin-top: 0.8rem;
}

.btn-checkout {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

/* Checkout Form Screen */
.checkout-container {
    max-width: 800px;
    margin: 2rem auto 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
}

.checkout-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.checkout-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--dark);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background-color: var(--gray-50);
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 94, 54, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.order-summary-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    height: fit-content;
}

.summary-items {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.summary-item-name {
    color: var(--dark-muted);
}

.summary-item-qty {
    font-weight: bold;
}

/* Admin Panel Layout */
.admin-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
}

/* Sidebar Admin */
.admin-sidebar {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    height: fit-content;
}

.admin-sidebar h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--primary);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-item {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--dark-muted);
}

.sidebar-item:hover, .sidebar-item.active {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Admin Main Content */
.admin-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Stats Dashboard */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

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

.stat-icon.green {
    background-color: var(--green-success-light);
    color: var(--green-success);
}

.stat-icon.yellow {
    background-color: var(--yellow-warning-light);
    color: var(--yellow-warning);
}

.stat-info h4 {
    font-size: 0.9rem;
    color: var(--dark-muted);
    font-weight: 500;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-top: 0.2rem;
}

/* Orders Admin Panel */
.admin-panel-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.panel-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--gray-100);
    border: none;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--dark);
    color: var(--white);
}

/* Orders Table */
.table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
}

.admin-table th {
    font-weight: 700;
    color: var(--dark-muted);
    background-color: var(--gray-50);
}

.admin-table tr:hover {
    background-color: rgba(250, 248, 245, 0.5);
}

/* Order Status Badges */
.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.status-badge.pendiente {
    background-color: var(--yellow-warning-light);
    color: var(--yellow-warning);
}

.status-badge.en_cocina {
    background-color: var(--blue-info-light);
    color: var(--blue-info);
}

.status-badge.entregado {
    background-color: var(--green-success-light);
    color: var(--green-success);
}

.status-badge.cancelado {
    background-color: var(--gray-200);
    color: var(--dark-muted);
}

/* Status Selector */
.status-select {
    padding: 0.3rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    font-size: 0.8rem;
    background-color: var(--white);
    cursor: pointer;
}

/* Menu Management Panel */
.menu-editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.menu-editor-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.menu-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-icon {
    background: none;
    border: 1px solid var(--gray-200);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-icon:hover {
    background-color: var(--gray-100);
}

.btn-icon.delete:hover {
    background-color: #fef2f2;
    color: #ef4444;
    border-color: #fca5a5;
}

.btn-icon.edit:hover {
    background-color: #eff6ff;
    color: var(--blue-info);
    border-color: #bfdbfe;
}

/* Modales */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(18, 24, 36, 0.4);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 90%;
    max-width: 550px;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

/* Vista del Éxito del Pedido */
.success-screen {
    max-width: 500px;
    margin: 4rem auto;
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.success-icon {
    font-size: 4rem;
    color: var(--green-success);
    margin-bottom: 1.5rem;
    animation: popIn 0.5s ease-out;
}

.success-screen h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-screen p {
    color: var(--dark-muted);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--primary);
}

.footer-info {
    color: var(--gray-300);
    font-size: 0.9rem;
}

.footer-right {
    text-align: right;
}

.footer-copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 1200px;
    margin: 2rem auto 0 auto;
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--gray-300);
    display: flex;
    justify-content: space-between;
}

/* Responsive styles */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        height: 280px;
    }
    
    .admin-container {
        grid-template-columns: 1fr;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-right {
        text-align: center;
    }
}

/* ==========================================
   ESTILOS DE VISTA LISTA (NutriRoots)
   ========================================== */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 960px;
    margin: 0 auto;
}

.menu-list-row {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.menu-list-row:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.menu-list-day {
    min-width: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.menu-list-day.opcion-1, .menu-list-day.opcion-3, .menu-list-day.opcion-5, .menu-list-day.opcion-7, .menu-list-day.opcion-9 { background: linear-gradient(135deg, #ff5e36, #ff7e5f); }
.menu-list-day.opcion-2, .menu-list-day.opcion-4, .menu-list-day.opcion-6, .menu-list-day.opcion-8, .menu-list-day.opcion-10 { background: linear-gradient(135deg, #10b981, #34d399); }

.menu-list-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.menu-list-info {
    flex-grow: 1;
    min-width: 0;
}

.menu-list-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.menu-list-desc {
    font-size: 0.9rem;
    color: var(--dark-muted);
    line-height: 1.4;
}

.menu-list-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    min-width: 110px;
    text-align: right;
}

.menu-list-price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-muted);
}

.menu-list-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* In-list Qty Selector */
.list-qty-selector {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid var(--gray-300);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
    background-color: var(--gray-50);
}

.list-qty-btn {
    background: none;
    border: none;
    font-weight: 800;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--dark);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.list-qty-btn:hover {
    color: var(--primary);
}

.list-qty-val {
    font-weight: 800;
    font-size: 0.95rem;
    min-width: 20px;
    text-align: center;
}

.btn-list-add {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.btn-list-add:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Responsive adjustments for List Row */
@media (max-width: 768px) {
    .menu-list-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.2rem;
    }
    
    .menu-list-day {
        align-self: flex-start;
    }
    
    .menu-list-img {
        display: none; /* Oculta imagen en celulares */
    }
    
    .menu-list-price {
        text-align: left;
        min-width: auto;
        margin-top: 0.2rem;
    }
    
    .menu-list-action {
        width: 100%;
        justify-content: space-between;
        border-top: 1px solid var(--gray-200);
        padding-top: 0.8rem;
        margin-top: 0.5rem;
    }
}

