/* your styles go here */

/* Logo del Comercio(Sabra) ubicado en el footer */
#foot-logo{
    width: 30%;
}

/**
 * Estilos Notificaciones Sweet Alert 
 */
.swal-popup{
    border-radius: 0;        
}

.swal-btn-cancel {  
    background-color: #000;
    color: white;
    border: none;
    border-radius: 0;
}

.swal2-cancel.swal-btn-cancel {
    background-color: black !important;
    color: white !important;
    border-radius: 0 !important;
}

.swal2-styled.swal2-confirm.swal-btn-confirm {
    background-color: #000;
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-size: 0.875rem;                    
}

.swal2-title {  
    font-size: 1.4rem;                                      
    color: #2b2e32;
}

/** 
 * Estilo para Validación de Jquery
 */
label.error {
    color:rgb(255, 94, 94);
    font-size: 14px;    
}

input.error{
    border: 1px solid rgb(255, 94, 94);
}

.bg-none{
    background: none;
}

/**
 * Estilo para los mensajes de error debajo del input 
 */
.invalid-feedback {
    display: block; /* Asegura que se muestre debajo del input */
    font-size: 0.875em;
    color: #dc3545;  /* Color rojo del mensaje de error */
    margin-top: 2.5rem; /* Separar el mensaje del input */
    padding-left: 0;   /* Para eliminar cualquier padding extra */
}

/**
 * Estilo para los inputs con error (borde rojo)
 */
.is-invalid {
    border-color: #dc3545 !important;
}

/**
 * Estilo para inputs válidos (opcional: verde para indicar validación exitosa)
 */
.is-valid {
    border-color: #28a745 !important;
}

/**
 * Bootstrap solo permite hasta fs-5, agrego más tamaños 
 */
.fs-6 { font-size: 0.8rem !important; }

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: none;
}

#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/**
 * Estilos para boton flotante de WhatsApp
 */
@keyframes bubble {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.btn-wpp-floating {
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 55px;
    bottom: 30px;
    right: 30px;
    background: #0df053;
    text-align: center;
    color: #ffffff;
    border-radius: 50%;
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-wpp-floating:hover {
    background: #111b21;
    color: #00a884;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    animation: bubble 0.4s ease-in-out;
}

.gif-loading{
    width: 400px;                /* Ajusta el tamaño del GIF */
    height: 200px;
    background-image: url('../img/img_ecommerce/gif-circle-loader.gif'); /* Ruta del GIF */
    background-size: contain;    /* Ajusta el tamaño del GIF al contenedor */
    background-repeat: no-repeat;
    background-position: center; /* Centra el GIF */
}

/* Mejora del texto dentro del modal */
.swal-loading-title {
    color: #6f6f6f;
    padding-top: 20px;
    font-weight: bold;
    font-size: 20px;
}

.slider-frame {
    width: 1024px;
    height: auto;
    margin: 200px auto 0;
    overflow: hidden;
    position: relative;
}

.slider-frame ul {
    list-style: none;
    display: flex;    
    padding: 0;
    width: 400%; /* Asegúrate de que coincida con el número de elementos */
    animation: slide 16s infinite alternate ease-in-out; /* Descomentado */
}


.slider-frame li {
    list-style: none;
    width: 100%;
}

.slider-frame ul li .row {
    width: 100%;
}

@keyframes slide {
    0% { transform: translateX(0%); }
    25% { transform: translateX(-50%); }
    100% { transform: translateX(-100%); }
    /* 75% { transform: translateX(-300%); }
    100% { transform: translateX(0%); } */
}

/* ::-webkit-scrollbar {
    width: 2em;
}

::-webkit-scrollbar-track {
    background: hsl(120 75% 50%  / 1);
} */

.cursor-pointer {
  cursor: pointer;
}

.cursor-pointer:hover {
    color: #3ab1b7;
}

.text-shadow {
    text-shadow: 3px 3px 4px rgba(0,0,0,0.5);
}

.text-shadow-breadcrum {
    text-shadow: -1px 5px 4px rgba(0,0,0,0.5);
}

.li-category {
  font-size: 0.85rem;
  position: relative;
  color: #999;
  transition: all 0.1s;
}

.li-category:hover, .li-category:focus {
  padding-left: 0.6rem;
  color: #3ab1b7;
  text-decoration: none;
  font-size: 0.9rem;
}

.li-category:hover::before, .li-category:focus::before {
  opacity: 1;
}

.li-category::before {
  content: '\f0da';
  display: inline-block;
  font-family: 'Font Awesome\ 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: #3ab1b7;
  transition: all 0.1s;
  opacity: 0;
}
