:root {
    --primary-color: #ff9800; /* Color naranja de ResApp */
    --primary-hover: #e68900;
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --card-bg: #2a2a2a;
    --border-radius: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    padding-bottom: 80px; /* Space for floating button */
}

.main-header {
    background-color: var(--card-bg);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.header-content img {
    max-height: 80px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.header-content h1 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.menu-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
}

.category-section {
    margin-bottom: 30px;
}

.category-title {
    font-size: 1.25rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.item-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.item-card:hover {
    transform: translateY(-2px);
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.item-desc {
    font-size: 0.85rem;
    color: #aaaaaa;
    margin-bottom: 10px;
}

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

.add-to-cart-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}

.cart-floating-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
}

.cart-badge {
    background: white;
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.9rem;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 200;
    justify-content: center;
    align-items: flex-end;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--card-bg);
    width: 100%;
    max-width: 600px;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
}

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

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #444;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-controls button {
    background-color: #444;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
}

.cart-total {
    margin-top: 20px;
    font-size: 1.2rem;
    text-align: right;
}

.customer-info {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.customer-info input, .customer-info textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #555;
    background: #333;
    color: white;
    box-sizing: border-box;
}

.send-order-btn {
    width: 100%;
    background-color: #25D366; /* WhatsApp Green */
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
}
