 
/* En custom.css o style.css */
#overlay-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
/*  background: url('../img/catalogo.webp') center center no-repeat, rgba(0,0,0,0.5);*/
	background-color: #111;
  background-size: cover; /* tamaño del logo */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}
#overlay-loader .spinner-border {
  width: 5rem;
  height: 5rem;
  margin-top: 20px;
}
#overlay-loader .spinner-border {
  border-color: #00aded; /* color del borde principal */
  border-top-color: #ffffff; /* color de la parte giratoria */
}

#btn-carrito.anim-cantidad {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

.form-check {
    text-transform: uppercase
}

 
    .footer-fixed { 
        background-color: #111;
    } 


    .footer-items h3 { 
        color: #fff;
    } 
.footer-area .social-icons > a {
    width: 30px;
    height: 30px;
    font-size: 18px;
    border-radius: 40px;
}

/* ---- isotope ---- */ 
#sidebar-filtros {
  position: sticky;
  top: 120px; /* distancia desde el top para que no lo tape la navbar */
	margin-bottom: 2em
}
 
.button {
  display: inline-block;
  padding: 10px 18px;
  margin: 5px;
  background: #EEE;
  border-radius: 50px !important;
  background: linear-gradient(-47deg, #f6f6f6 0%, #fff 100%);
  color: #222;
  font-size: 15px;
  cursor: pointer;
  outline: none;
  transition: 0.3s;
  border: 1px solid #0061ce
}
.button:hover {
  color: #0061ce;
  outline: none
}
.button:focus, .button:active, .button.is-checked {
  background: linear-gradient(-47deg, #00aded 0%, #0061ce 100%);
  color: #fff;
  outline: none;
}
.button.is-checked {
  color: white;
}
.button:active {}
/* ---- button-group ---- */
.button-group:after {
  content: '';
  display: block;
  clear: both;
}
.section-heading > h2::after {
  display: none
}
.bg-catalogo {
  background: rgba(0, 0, 0, 0) url("../img/catalogo.webp") no-repeat fixed center center / cover;
}
.navbar-brand img {
  height: 70px
}
@media (max-width: 768px) {
  h2 {
    font-size: 34px;
  }
}
.bg-overlay::after {
  opacity: 0.74;
  z-index: -1;
}
h3 {
  font-size: 18px;
}
.producto {
  margin-bottom: 2em;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0px 0px 20px #f1f1f1;
}
.producto img {
  border-radius: 20px 20px 0px 0px;
}
.producto h4 {
  color: #0061ce;
}
.producto a {
  margin: 0 auto;
}
.productos img {
  border-radius: 20px;
  margin-bottom: 2em
}
.producto-interna {}
.producto-interna h4 {
  color: #0061ce;
}

.btn {
  padding: 12px 12px;
  border-radius: 30px;
  width: fit-content;
}
.btn:focus {
  color: #fff !important
}
.btn-whatsapp {
  background: linear-gradient(-47deg, #4aa586 0%, #67ccaa 100%);
}
#scrollUp {
  left: 2%;
  height: 45px;
  width: 45px;
  border-radius: 40px;
}
.wp-fijo {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #222222;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  padding: 15px;
  z-index: 998;
}
.height-emulator {
  float: left;
  height: 400px;
}
.productos-wrapper {
  position: relative;
}
.slick-prev, .slick-next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slick-prev {
  left: 10px;
}
.slick-next {
  right: 10px;
}
.slick-prev:hover, .slick-next:hover {
  background: rgba(0, 0, 0, 0.8);
}
.navbar-toggler:focus, .navbar-toggler:active {
  outline: none;
  box-shadow: none;
}
.breadcrumb-area {
  height: 600px;
  z-index: 1;
}
.breadcrumb-content h2 { 
/*  margin-top: 90px;*/
}
.facebook:hover {
  background-color: #3b5998 !important; 
}

.instagram:hover {
  background: #f09433;
  background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f09433', endColorstr='#bc1888', GradientType=1);
}
.envelope:hover {
  background: #01acec !important; 
}


#filtros .btn {
  background: linear-gradient(-47deg, #ffffff 0%, #fafafa 100%);
	border: 1px solid #00aded;
	color: #00aded
}

#filtros .btn.hover, .btn.active {
  background: linear-gradient(-47deg, #00aded 0%, #0061ce 100%)!important;
	border: 1px solid #00aded !important;
	color: #ffffff !important
}

.btn, .btn:active, .btn.sApp-btn:before, .bg-overlay::after, .benifits-item:after {
  background: linear-gradient(-47deg, #00aded 0%, #0061ce 100%);
}
.overlay-dark::after {
  opacity: .5;
  z-index: -1;
  background: linear-gradient(-47deg, #222 0%, #000 100%);
}
.bg-contacto {
  background: rgba(0, 0, 0, 0) url("../img/comunicate.webp") no-repeat fixed center center / cover;
}
@media (max-width: 991px) {
  .bg-catalogo {
    background: rgba(0, 0, 0, 0) url(../img/catalogo.webp) no-repeat center center / cover;
  }
  .bg-contacto {
    background: rgba(0, 0, 0, 0) url(../img/comunicate.webp) no-repeat center center / cover;
  }
}
.img-fondo {
  height: 250px; /* o el alto que prefieras */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f4f4f4; /* opcional, por si no carga la imagen */
  border-radius: 16px 16px 0 0; /* opcional */
}
/* Fondo borroso con transición */
#overlay-carrito {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
/* Mostrar fondo con transición */
#overlay-carrito.activo {
  display: block;
  opacity: 1;
}
 
.btn-cantidad {
  padding: 2px 5px;
  border-radius: 36px;
  width: 20px;
  height: 20px;
}
#panel-carrito {
  top: 0;
  right: 0;
  background: white;
  max-width: 400px;
	width: 100%;
  height: 100vh; /* <- esto ya le da alto completo */
  overflow-y: auto;
  display: none;
  z-index: 1000;
  transition: transform 0.3s ease;
}
.btn-agregar-anim {
  animation: pulseAgregar 0.3s ease;
}
@keyframes pulseAgregar {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
    background-color: #28a745;
    color: white;
  }
  100% {
    transform: scale(1);
  }
}
.vaciar-carrito {
font-size: 0.8rem;
    padding: 2px 12px;
    border: 1px solid #01acec;
    color: #01acec;
    background-color: transparent;
    border-radius: 3rem;
    transition: all 0.2s ease-in-out;
    float: right;
    right: 0px;
    position: absolute;
}
.vaciar-carrito i {
  margin-left: 4px;
}
.vaciar-carrito:hover {
  background: linear-gradient(-47deg, #00aded 0%, #0061ce 100%);
  color: #fff;
  border-color: #01acec;
}
/* Botón eliminar (tachito rojo) */
.carrito-item {
  position: relative;
  padding-bottom: 24px;
}
.btn-eliminar {
  font-size: 0.75rem;
  color: #cc4444;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 6px;
  transition: color 0.2s ease;
  user-select: none;
}
.btn-eliminar:hover {
  color: #ff6666;
  text-decoration: underline;
}
.btn-cantidad-carrito {
  width: 20px;
  height: 20px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: 1px solid #dc3545;
  color: #01acec;
}
.btn-cantidad-carrito:hover {
  background-color: #dc3545;
  color: #fff;
}
.carrito-item {
  position: relative;
  padding-bottom: 14px;
  display: flex;
  gap: 10px;
}
.thumb-carrito {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}
.cantidad-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.cantidad-container button.btn-cantidad-carrito {
  padding: 2px 8px;
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #ccc;
  background: #f9f9f9;
  transition: background-color 0.2s ease;
}
.cantidad-container button.btn-cantidad-carrito:hover {
  background-color: #f9f9f9;color: #01acec;
}
#vaciar-carrito:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#modalVaciarCarrito .modal-content {
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}
.alerta-flotante {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10600000000000;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
}
.alerta-flotante.mostrar {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
 
input.cantidad {
  width: 40px !important;
  height: 40px;
  padding: 2px 4px;
  font-size: 1rem;
}
input.cantidad::-webkit-inner-spin-button, input.cantidad::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input.cantidad {
  -moz-appearance: textfield;
}
 

#btn-cerrar-carrito {
  position: absolute;
  top: 10px; /* Arriba, casi pegado */
  right: 10px;
  width: 32px;
  height: 32px;
  border: none;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #333;
  transition: background-color 0.2s ease;
  z-index: 1050;
}

#btn-cerrar-carrito:hover {
  background-color: #f0f0f0;
}
#header-carrito {
  margin-top: 50px; /* Para que quede más abajo que el botón cerrar */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  position: relative;
  z-index: 1000;
	   width: 100%;
} 
/* Estilos base - Desktop */
#btn-carrito {
  font-size: 15px;
  font-weight: 600;
	background: linear-gradient(-47deg, #00aded 0%, #0061ce 100%);
  color: #fff;
  
  border: 1px solid #00aded;
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  position: absolute;
  top: 16px;
  right: 15px;
  z-index: 1050; 
	transition: color 0.3s ease-in-out;

}
#btn-carrito::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(-47deg, #0061ce 0%, #00aded 100%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: inherit;
  z-index: 0;
}
#btn-carrito:hover {
  background: linear-gradient(-47deg, #0061ce 0%, #222 100%);
  color: #fff;
transition: all 0.3s ease-in-out;
}
 
/* Mobile: logo arriba, carrito abajo */
@media (max-width: 767.98px) {
  header .container {
    display: flex;
   /* flex-direction: column;*/
    align-items: center;
    position: relative;
    padding-top: 1rem;
  }

	.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}
	
	
	.navbar-brand {
    margin-right: 0;   display: block; 
  }
  }
@media (max-width: 991px) {
    .navbar {
         padding-top: 0.625rem; 
        padding-bottom: 2rem;
    } 
	
    .breadcrumb-area {
        height: 600px;
        z-index: 1;
    } 
	
}

 

  /* Botón carrito: cambiar posición y quitar absolute */
  #btn-carrito {
    position: static; /* para salir del absolute */
    width: auto;
    max-width: 320px;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 30px;
    box-sizing: border-box;
    text-align: center;
    right: auto;
    top: auto;
  }


body.no-scroll {
  overflow: hidden; /* bloquea el scroll del fondo */
}

#panel-carrito {
  max-height: 100vh; /* ocupa toda la altura visible */
  overflow-y: auto;  /* habilita scroll interno */
}
.no-scroll {
  overflow: hidden;
}

h3 {
font-size: 17px;
text-transform: uppercase; 
}

/* La tarjeta completa */
.producto {
  height: 100%;
  display: flex;
  flex-direction: column;
    margin-bottom: 2em
}

/* Imagen fija arriba */
.producto .img-fondo {
  flex-shrink: 0;
}

/* Contenido flexible */
.producto > div:not(.img-fondo) {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Empuja el botón al fondo */
.producto .btn-agregar {
  margin-top: auto !important;
  margin: 0 auto
}

.btn-agregar:active {
  color: #fff !important
}


.alerta-flotante.exito {
  background-color: #c7eed8 !important; /* verde claro un poco más vivo */
  color: #0f5132 !important;
  border-color: #a3e4c3 !important;
}
.importante {
  background-color: #00aded !important; /* verde claro un poco más vivo */
  border-radius: 20px !important;
    padding: 20px;
     
}

.importante p {
  color: #ffffff !important;
}

p {
line-height: 1.15;
}