* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2a2a2a;
    color: #333;
    line-height: 1.6;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, #d4af37 0%, #a0860e 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.address {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.btn-maps {
    display: inline-block;
    background-color: #ff6b35;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-maps:hover {
    background-color: #e55a2b;
}

/* CONTAINER */
.container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
    padding: 2rem;
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
}

.seccion {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.seccion-titulo {
    color: #d4af37;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 0.5rem;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* PRODUCTO CARD */
.producto-card {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.producto-card:hover {
    border-color: #d4af37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.producto-card h3 {
    color: #2a2a2a;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.ingredientes {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    font-style: italic;
}

.pequeña {
    color: #999;
    font-size: 0.8rem;
}

.precio {
    color: #d4af37;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.8rem 0;
}

.especificacion {
    background-color: #fff3cd;
    color: #856404;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* CONTROLES DE PRODUCTO */
.checkbox-extra,
.salsa-label,
.poste-label {
    display: block;
    margin: 0.8rem 0 0.5rem 0;
    font-size: 0.9rem;
    color: #333;
}

.checkbox-extra {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-extra input,
.poste-checkboxes input {
    cursor: pointer;
    accent-color: #d4af37;
}

.extra-cost {
    color: #d4af37;
    font-weight: bold;
}

.salsa-select,
.salsa-1,
.salsa-2 {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: white;
    cursor: pointer;
}

.salsa-select:focus,
.salsa-1:focus,
.salsa-2:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.poste-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.poste-checkboxes label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.poste-checkboxes input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.poste-checkboxes label:has(input:disabled) {
    opacity: 0.5;
    cursor: not-allowed;
}

/* BOTONES */
.btn-agregar {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #d4af37 0%, #a0860e 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-agregar:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.btn-agregar:active {
    transform: scale(0.98);
}

/* SIDEBAR CARRITO */
.sidebar-carrito {
    width: 320px;
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 2rem;
    max-height: 90vh;
    overflow-y: auto;
}

.carrito-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 0.8rem;
}

.carrito-header h2 {
    color: #d4af37;
    font-size: 1.3rem;
}

.btn-limpiar {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-limpiar:hover {
    background: #e55a2b;
}

.carrito-items {
    margin-bottom: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.carrito-vacio {
    text-align: center;
    color: #999;
    padding: 1rem;
    font-style: italic;
}

.carrito-item {
    background: #f9f9f9;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border-radius: 4px;
    border-left: 3px solid #d4af37;
}

.carrito-item-nombre {
    font-weight: bold;
    color: #2a2a2a;
    font-size: 0.9rem;
}

.carrito-item-detalles {
    font-size: 0.8rem;
    color: #666;
    margin: 0.3rem 0;
}

.carrito-item-precio {
    color: #d4af37;
    font-weight: bold;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.carrito-item-remove {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.7rem;
    margin-top: 0.5rem;
    transition: background 0.3s;
}

.carrito-item-remove:hover {
    background: #e55a2b;
}

.carrito-footer {
    border-top: 2px solid #d4af37;
    padding-top: 1rem;
}

.carrito-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2a2a2a;
    margin-bottom: 1rem;
}

.carrito-total span {
    color: #d4af37;
}

.comentarios {
    width: 100%;
    min-height: 70px;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: inherit;
    resize: vertical;
    font-size: 0.85rem;
}

.comentarios:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.btn-whatsapp {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #25d366 0%, #1fa954 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:active {
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .sidebar-carrito {
        width: 100%;
        position: static;
        max-height: none;
    }

    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 1rem;
        gap: 1rem;
    }

    .seccion {
        padding: 1rem;
    }

    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .producto-card {
        padding: 1rem;
    }

    .sidebar-carrito {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }

    .header-content h1 {
        font-size: 1.4rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .address {
        font-size: 0.8rem;
    }

    .productos-grid {
        grid-template-columns: 1fr;
    }

    .poste-checkboxes {
        grid-template-columns: 1fr;
    }
}

/* SCROLL BAR PERSONALIZADO */
.carrito-items::-webkit-scrollbar,
.sidebar-carrito::-webkit-scrollbar {
    width: 6px;
}

.carrito-items::-webkit-scrollbar-track,
.sidebar-carrito::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.carrito-items::-webkit-scrollbar-thumb,
.sidebar-carrito::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 3px;
}

.carrito-items::-webkit-scrollbar-thumb:hover,
.sidebar-carrito::-webkit-scrollbar-thumb:hover {
    background: #a0860e;
}
