/* --- CONFIGURACIÓN DE BASE --- */
#map { 
    height: 400px; 
    width: 100%; 
}

.map-loaded #map-loading { 
    display: none; 
}

.bg-page-cream { 
    background-color: #FFFDF5; 
}

body.modal-open { 
    overflow: hidden; 
}

/* --- BOTONES DE TIPO DE ENVÍO --- */
.delivery-type-btn {
    padding: 12px;
    border: 2px solid #f3f4f6;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    background: white;
    color: #6b7280;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.delivery-type-btn.active {
    border-color: #16a34a;
    background-color: #f0fdf4;
    color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.1);
}

/* --- BOTÓN WHATSAPP --- */
.whatsapp-button {
    background: #25d366;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 900;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-button:hover { 
    transform: scale(1.05); 
    filter: brightness(1.05);
}

/* --- ACORDEONES --- */
.accordion-btn {
    width: 100%;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    transition: filter 0.2s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    background: #fafafa;
}

.accordion-content.open {
    max-height: 120px;
    padding: 12px;
    border: 1px solid #f0f0f0;
    border-top: 0;
    border-radius: 0 0 12px 12px;
}

/* --- ANUNCIOS Y LINKS --- */
.bg-blue-50 { background-color: #eff6ff; } 
.text-blue-700 { color: #1d4ed8; } 
.border-blue-100 { border-color: #dbeafe; }

.bg-rose-50 { background-color: #fff1f2; } 
.text-rose-700 { color: #be123c; } 
.border-rose-100 { border-color: #ffe4e6; }

.bg-indigo-50 { background-color: #eef2ff; } 
.text-indigo-700 { color: #4338ca; } 
.border-indigo-100 { border-color: #e0e7ff; }

.grid a { text-decoration: none; }
.grid a:hover { filter: brightness(0.95); }

/* --- ANIMACIONES --- */
.scale-in-center { 
    animation: scale-in 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; 
}

@keyframes scale-in {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- AJUSTES MÓVILES --- */
@media (max-width: 640px) {
    #map { height: 300px; }
}