/* ==========================================
   FUENTES Y GLOBALES
   ========================================== */
body {
    font-family: 'Poppins', sans-serif;
}

/* ==========================================
   FONDOS Y PORTADA
   ========================================== */
.hero-bg {
    /* Fondo principal: Si cambias la ruta de tu imagen, hazlo aquí */
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('img/fondo-principal.jpeg'); 
    background-size: cover;
    background-position: center;
}

/* ==========================================
   CONTROL DE MODALES Y ANIMACIONES
   ========================================== */
.modal {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hidden-modal {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.carousel-slide {
    transition: opacity 1s ease-in-out;
}

.step-transition {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   ESTILOS PARA PERSONALIZACIÓN DE PRODUCTOS
   ========================================== */
/* Convertido a CSS nativo para que funcione con el CDN de Tailwind */
.flavor-select, .soda-select {
    border: 2px solid #e5e7eb; /* border-gray-200 */
    border-radius: 0.5rem;     /* rounded-lg */
    padding: 0.5rem;           /* p-2 */
    font-size: 0.875rem;       /* text-sm */
    line-height: 1.25rem;
    background-color: #ffffff; /* bg-white */
    font-weight: 500;          /* font-medium */
    outline: none;             /* outline-none */
    transition: border-color 0.2s ease-in-out;
}

.flavor-select:focus, .soda-select:focus {
    border-color: #f97316;     /* focus:border-orange-500 */
}

.badge-detail {
    background-color: #ffedd5;
    color: #c2410c;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 9999px;
    font-weight: 600;
    display: inline-block;
    margin-top: 4px;
}
button {
    touch-action: manipulation;
}
