/* ========================================
   BURGER & OTAKUS - CSS THEME
   Tema: Anime/Otaku com cores vibrantes
   ======================================== */

/* CSS Variables */
:root {
    /* Colors - Anime Theme */
    --primary: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary: #9b5de5;
    --accent: #f72585;
    --accent-alt: #00f5d4;

    /* Dark Theme */
    --bg-dark: #0d0d0d;
    --bg-card: #1a1a2e;
    --bg-card-hover: #25254a;
    --bg-overlay: rgba(0, 0, 0, 0.85);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #b8b8d1;
    --text-muted: #6c6c8a;

    /* Borders & Effects */
    --border-color: #2d2d4a;
    --glow-primary: 0 0 20px rgba(255, 107, 53, 0.5);
    --glow-secondary: 0 0 20px rgba(155, 93, 229, 0.5);
    --glow-accent: 0 0 20px rgba(247, 37, 133, 0.5);

    /* Spacing */
    --container-width: 1200px;
    --radius: 12px;
    --radius-lg: 20px;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-burger {
    font-size: 4rem;
    animation: bounce 0.6s infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-20px);
    }
}

/* ========================================
   TOP DELIVERY BAR
   ======================================== */
.top-delivery-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: #0a0a0a;
    z-index: 2000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.top-delivery-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.top-delivery-text {
    font-weight: 500;
    color: var(--text-secondary);
}

.top-delivery-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-delivery-btn {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.top-delivery-btn.btn-99 {
    background: #FFD400;
    color: #000;
}

.top-delivery-btn.btn-99 .btn-logo {
    background: #000;
    color: #FFD400;
    padding: 0 4px;
    border-radius: 4px;
    margin-right: 4px;
    font-size: 0.75rem;
}

.top-delivery-btn.btn-ifood {
    background: #EA1D2C;
}

.top-delivery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.top-delivery-btn.app-disabled {
    display: none;
}

/* Header adjustment */
.header {
    position: fixed;
    top: 40px;
    /* Shifted down for top bar */
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1900;
    border-bottom: 1px solid var(--border-color);
    transition: top 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

/* Fix for when top bar is hidden */
body.no-top-bar .header {
    top: 0;
}

body.no-top-bar .top-delivery-bar {
    display: none;
}

/* Offset for content because header is fixed */
body {
    padding-top: 120px;
    /* Header + Top Bar offset */
}

body.no-top-bar {
    padding-top: 80px;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.4));
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .top-delivery-text {
        display: none;
        /* Hide text on mobile for space */
    }

    .top-delivery-bar {
        height: 45px;
    }

    .header {
        top: 45px;
    }

    body {
        padding-top: 125px;
    }
}

.logo h1 {
    font-family: 'Bangers', cursive;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo .highlight {
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.cart-btn {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-btn:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.cart-icon {
    font-size: 1.3rem;
}

.cart-count {
    background: var(--accent);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 50px;
    min-width: 24px;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(155, 93, 229, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(247, 37, 133, 0.1) 0%, transparent 50%);
    animation: bgPulse 10s ease-in-out infinite;
}

@keyframes bgPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Bangers', cursive;
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

.hero-emoji {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.btn-glow {
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
    }
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Store Status */
.store-status {
    background: var(--bg-card);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.status-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-badge.delivery {
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid var(--accent-alt);
    color: var(--accent-alt);
}

.status-badge.pickup {
    background: rgba(155, 93, 229, 0.1);
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

.status-badge.disabled {
    opacity: 0.4;
    text-decoration: line-through;
    pointer-events: none;
}

.status-badge.app-99 {
    background: rgba(255, 212, 0, 0.1);
    border: 1px solid #FFD400;
    color: #FFD400;
    text-decoration: none;
    transition: var(--transition);
}

.status-badge.app-ifood {
    background: rgba(234, 29, 44, 0.1);
    border: 1px solid #EA1D2C;
    color: #EA1D2C;
    text-decoration: none;
    transition: var(--transition);
}

.status-badge.app-99:not(.disabled):hover,
.status-badge.app-ifood:not(.disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-icon {
    font-size: 1.1rem;
}

/* Menu Section */
.menu {
    padding: 80px 0;
}

.section-title {
    font-family: 'Bangers', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.title-icon {
    font-size: 2rem;
}

.menu-category {
    margin-bottom: 60px;
}

.category-title {
    font-family: 'Bangers', cursive;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--primary);
}

.category-icon {
    font-size: 1.5rem;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

/* Menu Card */
.menu-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.menu-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.menu-card.featured {
    border-color: var(--secondary);
}

.menu-card.featured:hover {
    box-shadow: var(--glow-secondary);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--bg-card-hover), var(--bg-card));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg-card), transparent);
}

.card-content {
    padding: 20px;
}

.card-title {
    font-family: 'Bangers', cursive;
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.card-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-old {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-current {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-alt);
}

.card-actions {
    display: flex;
    gap: 10px;
}

.btn-add {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add:hover {
    transform: scale(1.02);
    box-shadow: var(--glow-primary);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-card-hover);
    border-radius: var(--radius);
    padding: 5px;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary);
}

.qty-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-card);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content>p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.store-info {
    display: flex;
    justify-content: center;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-dark);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.info-icon {
    font-size: 2rem;
}

.info-text {
    text-align: left;
}

.info-text strong {
    display: block;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-anime {
    color: var(--secondary);
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-overlay);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: var(--bg-card);
    z-index: 1600;
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
    border-left: 1px solid var(--border-color);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.cart-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.cart-close:hover {
    color: var(--accent);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--bg-dark);
    border-radius: var(--radius);
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.cart-item-emoji {
    font-size: 2.5rem;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--accent-alt);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: auto;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cart-total span:last-child {
    color: var(--accent-alt);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-overlay);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent);
}

.modal-title {
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 15px;
}

.radio-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.radio-option:hover {
    border-color: var(--primary);
}

.radio-option input {
    display: none;
}

.radio-option input:checked+.radio-custom+.radio-label {
    color: var(--primary);
}

.radio-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.1);
}

.radio-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.radio-option input:checked+.radio-custom {
    border-color: var(--primary);
}

.radio-option input:checked+.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.radio-label {
    font-weight: 500;
}

/* Payment Options */
.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.payment-option {
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.payment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.payment-option:hover .payment-card {
    border-color: var(--primary);
}

.payment-option input:checked+.payment-card {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.1);
}

.payment-icon {
    font-size: 1.8rem;
}

/* Info Box */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--bg-dark);
    border-radius: var(--radius);
    border-left: 3px solid var(--secondary);
}

.info-box .info-icon {
    font-size: 1.5rem;
}

/* Order Summary */
.order-summary {
    background: var(--bg-dark);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.order-summary h4 {
    margin-bottom: 15px;
    font-family: 'Bangers', cursive;
    letter-spacing: 1px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.summary-item:last-of-type {
    border-bottom: none;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 2px solid var(--border-color);
}

.summary-total span:last-child {
    color: var(--accent-alt);
}

/* Success Modal */
.success-modal {
    text-align: center;
    padding: 40px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.success-modal h2 {
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.success-modal p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.order-number {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.order-number strong {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .radio-group {
        flex-direction: column;
    }

    .payment-options {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .category-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.3rem;
    }

    .cart-btn {
        padding: 8px 15px;
    }

    .btn {
        padding: 12px 25px;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    .payment-card {
        flex-direction: row;
        justify-content: center;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Card Images */
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.card-emoji {
    font-size: 5rem;
}

.card-emoji-fallback {
    font-size: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Cart Item Image */
.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}

/* Form Select */
.form-select {
    width: 100%;
    padding: 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23b8b8d1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 50px;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.form-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Address Link */
.address-link {
    color: var(--accent-alt);
    text-decoration: none;
    transition: var(--transition);
}

.address-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Delivery Fee in Summary */
.summary-item.delivery-fee {
    color: var(--accent-alt);
    font-weight: 500;
}

/* No Items Message */
.no-items {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
    font-style: italic;
}

/* ==========================================
   TRACKING SYSTEM STYLES
   ========================================== */

/* Nav Button */
.nav-btn {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-secondary);
}

/* Welcome Back Message */
.welcome-back {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 1000;
    animation: slideDown 0.5s ease;
    box-shadow: 0 5px 25px rgba(155, 93, 229, 0.4);
    transition: opacity 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Checkbox Inline */
.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-inline input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-inline label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    margin: 0;
}

/* Success Hint */
.success-hint {
    color: var(--accent-alt);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Tracking Modal */
.tracking-modal {
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
}

.tracking-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tracking-search input {
    flex: 1;
    padding: 12px 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
}

.tracking-search input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.tracking-results {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tracking-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.tracking-empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
    opacity: 0.5;
}

.tracking-hint {
    font-size: 0.85rem;
    margin-top: 5px;
    opacity: 0.7;
}

.tracking-loading {
    text-align: center;
    padding: 30px;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Order Card */
.tracking-order-card {
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
}

.tracking-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tracking-order-number {
    font-family: 'Bangers', cursive;
    font-size: 1.3rem;
    color: var(--primary);
}

.tracking-order-status {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-confirmed {
    background: rgba(0, 245, 212, 0.2);
    color: var(--accent-alt);
}

.status-preparing {
    background: rgba(255, 107, 53, 0.2);
    color: var(--primary);
}

.status-ready {
    background: rgba(0, 200, 83, 0.2);
    color: #00c853;
}

.status-delivering {
    background: rgba(155, 93, 229, 0.2);
    color: var(--secondary);
}

.status-delivered {
    background: rgba(0, 200, 83, 0.2);
    color: #00c853;
}

.status-cancelled {
    background: rgba(255, 82, 82, 0.2);
    color: #ff5252;
}

.tracking-order-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.tracking-order-items {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tracking-order-total {
    font-weight: 600;
    color: var(--accent-alt);
}

/* Progress Bar */
.tracking-order-progress {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    position: relative;
    opacity: 0.4;
    transition: var(--transition);
}

.progress-step.active {
    opacity: 1;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.active::after {
    background: var(--accent-alt);
}

.step-icon {
    font-size: 1.2rem;
    background: var(--bg-card);
    padding: 5px;
    border-radius: 50%;
    z-index: 1;
    position: relative;
}

.step-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--text-primary);
}

/* Mobile Responsive for Tracking */
@media (max-width: 480px) {
    .tracking-search {
        flex-direction: column;
    }

    .tracking-order-progress {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .progress-step {
        min-width: 50px;
    }

    .step-label {
        font-size: 0.55rem;
    }

    .nav-btn {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* ==========================================
   AUTH MODAL STYLES
   ========================================== */

.nav-btn-secondary {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

.nav-btn-secondary:hover {
    background: var(--secondary);
    color: white;
}

.auth-modal {
    max-width: 420px;
    padding: 30px;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.auth-tab:hover {
    border-color: var(--secondary);
}

.auth-tab.active {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-color: transparent;
    color: white;
    font-weight: 600;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-error {
    color: #ff5252;
    font-size: 0.85rem;
    margin: 10px 0;
    min-height: 20px;
}

/* User Logged In State */
.user-logged {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    color: var(--accent-alt);
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-logout {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-logout:hover {
    border-color: var(--danger);
    color: var(--danger);
}

/* Auth mobile */
@media (max-width: 480px) {
    .auth-modal {
        padding: 20px;
    }

    .auth-tabs {
        flex-direction: column;
    }
}

/* ========================================
   HORÁRIO DE FUNCIONAMENTO
   ======================================== */

.hours-highlight {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-alt);
    letter-spacing: 1px;
}

.hours-days {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.info-card-hours {
    border-left: 3px solid var(--accent-alt);
}

/* ========================================
   DELIVERY APPS - 99food & iFood
   ======================================== */

.delivery-apps {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(26, 26, 46, 0.5) 100%);
}

.delivery-apps-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.app-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px 24px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 180px;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* 99food - Yellow branding */
.app-card-99food {
    background: linear-gradient(135deg, #FFD400 0%, #ffc800 50%, #ffb400 100%);
    box-shadow: 0 4px 20px rgba(255, 212, 0, 0.3);
    color: #000 !important;
}

.app-card-99food:hover {
    box-shadow: 0 12px 40px rgba(255, 212, 0, 0.5);
}

.app-card-99food .app-card-badge {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.app-card-99food .app-card-cta {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.app-card-99food:hover .app-card-cta {
    background: rgba(0, 0, 0, 0.2);
}

/* iFood - Red gradient */
.app-card-ifood {
    background: linear-gradient(135deg, #EA1D2C 0%, #c2101e 50%, #8a0a15 100%);
    box-shadow: 0 4px 20px rgba(234, 29, 44, 0.3);
}

.app-card-ifood:hover {
    box-shadow: 0 12px 40px rgba(234, 29, 44, 0.5);
}

.app-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.app-card-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.app-logo-99 {
    width: 55px;
    height: 30px;
}

.app-logo-text {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: -1px;
    opacity: 0.95;
}

.app-logo-ifood-icon {
    width: 36px;
    height: 36px;
}

.app-logo-text-ifood {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.app-card-cta {
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 28px;
    border-radius: 50px;
    transition: background 0.3s ease;
}

.app-card:hover .app-card-cta {
    background: rgba(255, 255, 255, 0.3);
}

.app-card.app-disabled {
    opacity: 0.35;
    pointer-events: none;
    filter: grayscale(1);
}

.app-card.app-disabled .app-card-badge {
    display: none;
}

/* ========================================
   GOOGLE MAPS SECTION
   ======================================== */

.map-section {
    padding: 60px 0;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 400px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--accent-alt);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    background: rgba(0, 245, 212, 0.08);
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-radius: 50px;
    transition: var(--transition);
}

.map-link:hover {
    background: rgba(0, 245, 212, 0.15);
    transform: translateX(4px);
}

/* ========================================
   ENHANCED FOOTER
   ======================================== */

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 36px;
    width: auto;
    opacity: 0.8;
}

.footer-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 245, 212, 0.08);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(0, 245, 212, 0.15);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-hours strong {
    color: var(--accent-alt);
}

.footer-hours-icon {
    font-size: 1.1rem;
}

/* ========================================
   RESPONSIVE - New sections
   ======================================== */

@media (max-width: 768px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .app-card {
        min-height: 150px;
    }

    .map-wrapper iframe {
        height: 280px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }
}

/* Bot Status Styles */
.bot-status-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bot-status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
    width: fit-content;
    transition: all 0.3s ease;
}

.bot-status-indicator.online {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.bot-status-indicator.offline {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.bot-status-indicator.online .status-dot {
    background: #28a745;
    box-shadow: 0 0 10px #28a745;
    animation: pulse-green 2s infinite;
}

.bot-status-indicator.offline .status-dot {
    background: #dc3545;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.bot-last-seen {
    font-size: 0.85rem;
    color: var(--text-muted);
}