:root {
    --color-primario: #F27127;  /* Naranja (seleccionado) */
    --color-secundario: #194073; /* Azul (no seleccionado) */
    --color-fondo: #FFFFFF;      /* Fondo blanco */
    --color-texto: #333333;
    --color-destacado: #F27127;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 30px 0;
}

.logo {
    max-width: 100%;
    height: auto;
    max-height: 150px;
}

.header-title {
    color: #E97904;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1.5px; /* separación entre letras */
}

.menu-carousel {
    margin: 30px 0;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    align-items: center;
    position: relative;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    flex: 1;
    gap: 10px;
    padding: 10px 0;
}

.carousel-item {
    scroll-snap-align: start;
    padding: 15px 25px;
    background-color: var(--color-secundario);
    color: white;
    border-radius: 25px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: bold;
    transition: all 0.3s ease;
}

.carousel-item.active {
    background-color: var(--color-primario);
    transform: scale(1.05);
}

.carousel-btn {
    background-color: var(--color-destacado);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1;
    margin: 0 10px;
}

.content-section {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 20px 0;
    text-align: center;
}

.category-info h2 {
    color: var(--color-primario);
    margin-bottom: 15px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card h3 {
    color: var(--color-primario);
    margin-bottom: 10px;
}

.product-card p {
    margin: 8px 0;
}

.select-btn {
    background-color: var(--color-primario);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: bold;
}

.flavor-modal, .order-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-texto);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--color-primario);
}

.modal-product-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.flavor-selection, .ingredients-section, .price-section, .customer-info {
    margin: 20px 0;
}

.flavor-option, .info-field {
    margin: 10px 0;
}

.flavor-option select, .info-field input {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-left: 10px;
    width: 100%;
}

.ingredients-notes {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-top: 10px;
}

.add-to-cart, .send-whatsapp {
    background-color: var(--color-primario);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    width: 100%;
}

.floating-order-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

#confirm-order-btn {
    background-color: #cccccc;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#confirm-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

#confirm-order-btn:active {
    transform: translateY(1px);
}

#confirm-order-btn.active {
    background-color: var(--color-primario);
}

.order-feedback {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background-color: #ff4444;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.order-feedback.success {
    background-color: #4CAF50;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.order-summary {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.order-items {
    max-height: 300px;
    overflow-y: auto;
    margin: 15px 0;
}

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

.order-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
}

.item-info h4 {
    color: var(--color-primario);
    margin-bottom: 5px;
}

.item-info p {
    margin: 3px 0;
    font-size: 14px;
}

.remove-item {
    background-color: #ff4444;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 15px;
    font-size: 14px;
}

.remove-item:hover {
    background-color: #cc0000;
}

.order-total {
    text-align: right;
    padding: 10px;
    border-top: 2px solid var(--color-primario);
    margin-top: 10px;
}

.sunday-flavor {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.info-field input:invalid {
    border-color: #ff4444;
}

.error-message {
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

@media (max-width: 768px) {
    .carousel-item {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .logo {
        max-height: 120px;
    }
    
    #confirm-order-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .container {
        padding: 10px;
    }
    
    .modal-content {
        padding: 20px;
    }
}

/* Estilos para el pie de página */
.site-footer {
    background-color: var(--color-primario);
    color: white;
    padding: 20px 0;
    margin-top: 40px;
    border-radius: 15px;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer p {
    margin: 8px 0;
    font-size: 14px;
}

/* Estilos responsivos para el footer */
@media (max-width: 768px) {
    .site-footer p {
        font-size: 12px;
    }
}