/* ==========================================
MÓDULO DE BOTONES Y LLAMADOS A LA ACCIÓN (CRISOL CELUS)
========================================== */

/* Reseteo general suave para botones nativos (Adiós grises) */
button {
background-image: none !important; /* Elimina cualquier gradiente viejo */
outline: none;
font-family: inherit;
}

/* Clase base compartida para TODOS los botones */
.btn, .btn-agregar, .btn-add-cart, .btn-primary {
display: inline-flex;
justify-content: center;
align-items: center;
gap: 8px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-weight: bold;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
padding: 12px 15px;
text-decoration: none;
box-sizing: border-box;
}

/* Botones de Acción Principal (Agregar al carrito, Guardar, etc.) */
.btn-agregar, .btn-add-cart, .btn-primary {
background: #3DDC84 !important; /* Verde Android */
color: #000 !important; /* Texto negro para alto contraste */
box-shadow: 0 4px 15px rgba(61, 220, 132, 0.2) !important;
width: 100%; /* Ocupa el ancho completo en tarjetas */
}

/* Efecto al pasar el mouse por encima (Hover) */
.btn-agregar:hover:not(:disabled), .btn-add-cart:hover:not(:disabled), .btn-primary:hover:not(:disabled) {
background: #2ebd6f !important;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(61, 220, 132, 0.4) !important;
}

/* Efecto al hacer clic (Active) */
.btn-agregar:active:not(:disabled), .btn-add-cart:active:not(:disabled), .btn-primary:active:not(:disabled) {
transform: translateY(0);
}

/* Estado Deshabilitado (Sin Stock / Agotado) */
.btn-agregar:disabled, .btn-add-cart:disabled, .btn-primary:disabled {
background: var(--bg-tarjetas, #1a1a1a) !important;
color: var(--text-secundario, #888) !important;
border: 1px dashed var(--borde-suave, #333) !important;
box-shadow: none !important;
transform: none !important;
cursor: not-allowed;
}

/* Botones secundarios (Cancelar, Opcionales, Volver) */
.btn-secondary, .btn-outline {
background: transparent !important;
color: #3DDC84 !important;
border: 1px solid #3DDC84 !important;
width: auto;
}

.btn-secondary:hover, .btn-outline:hover {
background: rgba(61, 220, 132, 0.1) !important;
}

/* ==========================================
OTROS BOTONES ESPECÍFICOS DE LA TIENDA
========================================== */

/* Botón Flotante (Mi Pedido) */
.btn-flotante {
position: fixed;
bottom: 30px;
right: 30px;
background-color: #3DDC84 !important;
color: #000 !important;
border: none;
border-radius: 50px;
padding: 15px 25px;
font-size: 1.1rem;
font-weight: bold;
box-shadow: 0 10px 25px rgba(61, 220, 132, 0.4) !important;
cursor: pointer;
z-index: 1000;
display: flex;
align-items: center;
gap: 10px;
transition: all 0.3s ease;
}
.btn-flotante:hover {
transform: translateY(-5px) scale(1.05);
box-shadow: 0 15px 30px rgba(61, 220, 132, 0.6) !important;
}

/* Botones de Ordenamiento y Filtros Rápidos (Los globitos de marcas) */
.btn-sort {
background-color: var(--bg-tarjetas, #1a1a1a);
color: var(--text-principal, #fff);
border: 1px solid var(--borde-suave, #333);
padding: 8px 15px;
border-radius: 50px;
font-weight: 600;
font-size: 0.8rem;
cursor: pointer;
white-space: nowrap;
transition: 0.3s;
}
.btn-sort:hover, .btn-sort.active {
background-color: rgba(61, 220, 132, 0.1);
border-color: #3DDC84;
color: #3DDC84;
}

/* Botón Principal del Banner (Hero de inicio) */
.hero-btn {
background: #3DDC84 !important;
color: #000 !important;
padding: 15px 35px;
border-radius: 50px;
font-size: 1.1rem;
font-weight: bold;
text-decoration: none;
display: inline-block;
transition: 0.3s;
box-shadow: 0 10px 20px rgba(61, 220, 132, 0.3) !important;
border: none;
cursor: pointer;
}
.hero-btn:hover {
transform: translateY(-3px);
box-shadow: 0 15px 25px rgba(61, 220, 132, 0.5) !important;
}