/* ==========================================================================
   THE WAY | Real Smash Burgers - Mobile WebApp Styles
   Brand Palette: Deep Wine Red (#852221), Warm Ivory (#FAF6F0), Cheddar Gold (#E58A13)
   ========================================================================== */

:root {
    --primary: #852221;
    --primary-dark: #661817;
    --primary-light: #FBEFEF;
    --primary-hover: #9E2B2A;
    --accent: #E58A13;
    --accent-light: #FEF6EB;
    --bg: #F8F6F2;
    --surface: #FFFFFF;
    --surface-card: #FFFFFF;
    --border: #EDE7E0;
    --border-light: #F2EDE6;
    --text-main: #1D1716;
    --text-muted: #6B625E;
    --text-light: #9C938E;
    --success: #15803D;
    --success-light: #DCFCE7;
    --danger: #DC2626;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 6px rgba(40, 24, 20, 0.04);
    --shadow-md: 0 8px 24px rgba(40, 24, 20, 0.08);
    --shadow-lg: 0 16px 36px rgba(40, 24, 20, 0.12);
    --shadow-dock: 0 -4px 25px rgba(40, 24, 20, 0.10);
}

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

html, body {
    width: 100%;
    min-height: 100%;
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior-y: none;
}

/* ==========================================================================
   DESKTOP BLOCKING VIEW (QR Code Screen)
   "debe funcionar solamente en version movil, la version de escritorio debe
    tener un codigo QR para escanear y dirigir al menu"
   ========================================================================== */
#desktop-guard {
    display: none;
}

@media (min-width: 769px) {
    body {
        background: linear-gradient(135deg, #FBF8F4 0%, #F1E9DF 100%);
        min-height: 100vh;
        overflow-y: auto;
    }

    #app-container {
        display: none !important;
    }

    #desktop-guard {
        display: flex;
        min-height: 100vh;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
    }

    .desktop-card {
        background: #FFFFFF;
        width: 100%;
        max-width: 540px;
        border-radius: 28px;
        box-shadow: 0 20px 50px rgba(133, 34, 33, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
        border: 1px solid var(--border);
        padding: 42px 36px;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .desktop-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 8px;
        background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
    }

    .desktop-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 24px;
    }

    .desktop-logo {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        box-shadow: 0 8px 24px rgba(133, 34, 33, 0.2);
        border: 4px solid #FFFFFF;
        margin-bottom: 14px;
        object-fit: cover;
    }

    .desktop-title {
        font-family: var(--font-heading);
        font-size: 26px;
        font-weight: 800;
        color: var(--primary);
        letter-spacing: -0.5px;
    }

    .desktop-badge {
        display: inline-block;
        background: var(--primary-light);
        color: var(--primary);
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 4px 12px;
        border-radius: var(--radius-full);
        margin-top: 6px;
    }

    .desktop-prompt {
        font-size: 15px;
        color: var(--text-muted);
        line-height: 1.5;
        margin-bottom: 24px;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

    .desktop-qr-wrapper {
        background: #FFFFFF;
        padding: 16px;
        border-radius: 20px;
        display: inline-block;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        border: 2px dashed #E2D9CF;
        margin-bottom: 20px;
        position: relative;
    }

    .desktop-qr-canvas canvas {
        display: block;
        max-width: 210px;
        height: auto;
        border-radius: 10px;
    }

    .desktop-scan-tag {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-weight: 700;
        font-size: 14px;
        color: var(--text-main);
        margin-bottom: 18px;
    }

    .desktop-scan-tag span.pulse-dot {
        width: 10px;
        height: 10px;
        background-color: var(--primary);
        border-radius: 50%;
        display: inline-block;
        animation: pulse 1.5s infinite;
    }

    .desktop-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .btn-copy-link {
        background: var(--primary);
        color: #FFFFFF;
        border: none;
        padding: 12px 24px;
        border-radius: var(--radius-full);
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: transform 0.15s, background-color 0.15s;
    }

    .btn-copy-link:hover {
        background: var(--primary-hover);
        transform: translateY(-1px);
    }

    .btn-simulator {
        background: transparent;
        color: var(--text-muted);
        border: 1px solid var(--border);
        padding: 8px 16px;
        border-radius: var(--radius-full);
        font-size: 12px;
        cursor: pointer;
        transition: all 0.2s;
    }

    .btn-simulator:hover {
        background: #FFFFFF;
        color: var(--text-main);
        border-color: var(--text-light);
    }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   MOBILE WEBAPP LAYOUT (Max Width 768px)
   ========================================================================== */
#app-container {
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--bg);
    min-height: 100vh;
    position: relative;
    padding-bottom: 96px; /* Space for floating bottom nav */
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
}

/* Header */
.app-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 16px 10px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--primary);
    line-height: 1.15;
    letter-spacing: -0.3px;
}

.brand-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Order Mode Switcher (En Mesa vs Domicilio) */
.order-mode-pill {
    display: inline-flex;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 3px;
    border-radius: var(--radius-full);
}

.mode-btn {
    border: none;
    background: transparent;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mode-btn.active {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(133, 34, 33, 0.3);
}

/* Search bar */
.search-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 9px 38px 9px 38px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-family: var(--font-body);
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.search-input:focus {
    border-color: var(--primary);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(133, 34, 33, 0.08);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    font-size: 14px;
}

.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 14px;
    display: none;
}

/* Category Navigation Bar (Sticky Horizontal Scroll) */
.categories-bar-wrapper {
    position: sticky;
    top: 106px;
    z-index: 85;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.category-chip {
    white-space: nowrap;
    border: 1px solid var(--border);
    background: #FFFFFF;
    color: var(--text-muted);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.category-chip.active {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(133, 34, 33, 0.25);
}

.category-chip:active {
    transform: scale(0.96);
}

/* Hero Carousel / Announcement */
.hero-announcement {
    margin: 14px 16px 8px;
    background: linear-gradient(135deg, #852221 0%, #A52B2A 100%);
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-announcement::after {
    content: '🍔';
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-size: 90px;
    opacity: 0.15;
    pointer-events: none;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
}

.hero-subtitle {
    font-size: 13px;
    opacity: 0.9;
    max-width: 85%;
}

/* Main Content Area */
.main-content {
    padding: 12px 16px 20px;
}

/* Section Container */
.category-section {
    margin-bottom: 24px;
    scroll-margin-top: 170px;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-left: 4px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-count {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
}

/* Food Grid / List */
.items-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Food Card - Clean White Background Style (App Style) */
.food-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 14px;
    display: flex;
    gap: 14px;
    position: relative;
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s;
}

.food-card:active {
    transform: scale(0.985);
}

.food-card-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-badge-row {
    margin-bottom: 6px;
}

.card-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.card-badge.gold {
    background: var(--accent-light);
    color: var(--accent);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
    line-height: 1.25;
}

.card-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

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

.card-price {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

.card-price-prefix {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    margin-right: 2px;
}

/* Card Right: Image with White Background */
.food-card-right {
    width: 110px;
    height: 110px;
    position: relative;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.food-card:hover .card-img {
    transform: scale(1.05);
}

/* Icon fallback for items without photos (Beverages/Adiciones) */
.card-icon-fallback {
    font-size: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--bg);
}

/* Heart favorite button on card */
.btn-fav {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.15s;
    z-index: 5;
}

.btn-fav:active {
    transform: scale(1.25);
}

.btn-fav.active {
    color: #E11D48;
}

/* Quick Add Button */
.btn-quick-add {
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(133, 34, 33, 0.25);
    transition: all 0.15s ease;
}

.btn-quick-add:active {
    transform: scale(0.9);
    background: var(--primary-dark);
}

/* ==========================================================================
   INTER-CATEGORY PROMOTIONAL BANNERS
   "usa banners entre cada seccion es decir entre cada categoria"
   ========================================================================== */
.inter-category-banner {
    margin: 28px 0 24px;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.inter-category-banner:active {
    transform: scale(0.98);
}

.banner-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.banner-tag {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.25);
}

.banner-badge {
    font-size: 11px;
    font-weight: 700;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
}

.banner-subtitle {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 12px;
    line-height: 1.35;
    max-width: 90%;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: #FFFFFF;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   FLOATING BOTTOM NAVIGATION BAR (App Style - McDonald's / KFC / BK)
   "en la parte inferior debe tener un menu estilo APP flotante con lo
    colores de la marca (bottom navigation bar)"
   ========================================================================== */
.bottom-dock-container {
    position: fixed;
    bottom: 16px;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    pointer-events: none;
}

.bottom-dock {
    pointer-events: auto;
    width: 100%;
    max-width: 440px;
    background: #FFFFFF;
    border-radius: var(--radius-full);
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: var(--shadow-dock), 0 8px 30px rgba(133, 34, 33, 0.15);
    border: 1px solid rgba(235, 229, 222, 0.8);
}

.dock-item {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--text-muted);
}

.dock-item .dock-icon {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 3px;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.dock-svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
    transition: transform 0.2s ease, stroke 0.2s ease;
}

.dock-item.active .dock-svg {
    stroke: #FFFFFF;
}

.dock-item.active .dock-svg.fill-on-active {
    fill: #FFFFFF;
}

.dock-item .dock-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.dock-item.active {
    background: var(--primary);
    color: #FFFFFF;
    padding: 7px 18px;
    box-shadow: 0 4px 14px rgba(133, 34, 33, 0.35);
}

.dock-item.active .dock-icon {
    transform: translateY(-1px) scale(1.1);
}

.dock-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #FFFFFF;
}

.dock-item.active .dock-badge {
    background: #FFFFFF;
    color: var(--primary);
    border-color: var(--primary);
}

/* ==========================================================================
   PRODUCT DETAIL BOTTOM SHEET MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 23, 22, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-sheet {
    background: #FFFFFF;
    width: 100%;
    max-width: 480px;
    max-height: 88vh;
    border-radius: 28px 28px 0 0;
    overflow-y: auto;
    padding: 16px 20px 24px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-overlay.open .modal-sheet {
    transform: translateY(0);
}

.modal-drag-bar {
    width: 44px;
    height: 4px;
    background: var(--border);
    border-radius: var(--radius-full);
    margin: 0 auto 14px;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-image-wrapper {
    width: 100%;
    height: 200px;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.modal-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal-header-info {
    margin-bottom: 16px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 6px;
}

.modal-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Modal Option Groups */
.modal-option-group {
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid var(--border);
}

.modal-group-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-group-title span.badge-req {
    font-size: 11px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

/* Option radio pills */
.option-radio-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #FFFFFF;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: all 0.15s ease;
}

.option-radio-row:last-child {
    margin-bottom: 0;
}

.option-radio-row.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.radio-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
}

.radio-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-radio-row.selected .radio-circle {
    border-color: var(--primary);
}

.radio-circle-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    display: none;
}

.option-radio-row.selected .radio-circle-dot {
    display: block;
}

.radio-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 13.5px;
}

/* Additions Checkboxes */
.addon-checkbox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background: #FFFFFF;
    border-radius: var(--radius-sm);
    margin-bottom: 7px;
    border: 1.5px solid var(--border);
    cursor: pointer;
    font-size: 13px;
}

.addon-checkbox-row.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.addon-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.addon-box {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #FFFFFF;
}

.addon-checkbox-row.selected .addon-box {
    background: var(--primary);
    border-color: var(--primary);
}

.addon-price {
    font-weight: 700;
    color: var(--text-main);
    font-size: 13px;
}

/* Custom Notes */
.modal-notes-input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
    resize: none;
    height: 64px;
    background: #FFFFFF;
}

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

/* Modal Bottom Action Bar */
.modal-action-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.stepper-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg);
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    padding: 4px;
}

.stepper-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #FFFFFF;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.stepper-count {
    width: 32px;
    text-align: center;
    font-weight: 800;
    font-size: 15px;
}

.btn-add-modal {
    flex: 1;
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    padding: 14px 18px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(133, 34, 33, 0.3);
    transition: background-color 0.15s;
}

.btn-add-modal:active {
    background: var(--primary-dark);
}

/* ==========================================================================
   APP SCREENS: FAVORITOS, PEDIDO (CART), NOSOTROS
   ========================================================================== */
.app-screen {
    display: none;
    padding: 16px;
}

.app-screen.active {
    display: block;
}

.screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.screen-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
}

/* Empty State Card */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.empty-icon {
    font-size: 56px;
    margin-bottom: 12px;
}

.empty-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.empty-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0 auto 18px;
}

.btn-primary-action {
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(133, 34, 33, 0.25);
}

/* Cart Item Row */
.cart-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.cart-item-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 12px;
    align-items: center;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    flex-shrink: 0;
}

.cart-item-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

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

.cart-item-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.2;
}

.cart-item-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.cart-item-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 14px;
    margin-top: 4px;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.btn-remove-item {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
}

/* Order Form Container */
.checkout-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

.checkout-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group {
    margin-bottom: 12px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.15s;
    background: var(--bg);
}

.form-input:focus {
    border-color: var(--primary);
    background: #FFFFFF;
}

.payment-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.payment-pill {
    border: 1.5px solid var(--border);
    padding: 10px 6px;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    background: var(--bg);
    transition: all 0.15s;
}

.payment-pill.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
}

.payment-pill-icon {
    font-size: 18px;
    margin-bottom: 2px;
}

.payment-pill-title {
    font-size: 11px;
    font-weight: 700;
}

/* Totals Summary */
.totals-summary {
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 18px;
    border: 1px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.summary-row.total-row {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    border-top: 1px dashed var(--border);
    padding-top: 8px;
    margin-top: 8px;
    margin-bottom: 0;
}

.summary-row.total-row .total-amount {
    color: var(--primary);
}

/* WhatsApp CTA Button */
.btn-whatsapp-order {
    width: 100%;
    background: #25D366;
    color: #FFFFFF;
    border: none;
    padding: 16px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.18s ease;
}

.btn-whatsapp-order:active {
    transform: scale(0.98);
    background: #20BD5A;
}

/* Nosotros / Info Screen */
.info-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item:first-child {
    padding-top: 0;
}

.info-icon {
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.info-text-title {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 2px;
}

.info-text-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.info-social-links {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-main);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.15s;
}

.social-btn:hover {
    background: #FFFFFF;
    border-color: var(--primary);
    color: var(--primary);
}

/* Toast Notifications */
.toast-msg {
    position: fixed;
    bottom: 84px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-main);
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 13px;
    box-shadow: var(--shadow-lg);
    z-index: 300;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.toast-msg.show {
    transform: translateX(-50%) translateY(0);
}
