/*
 Theme Name:   Mr Botox blocks
 Theme URI:    https://mr_botox.com/
 Description:  Tema hijo de tema padre para personalizaciones seguras
 Author:       Mau_Restor
 Author URI:   https://mecarox.com
 Template:     twentytwentyfive
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  mr-botox_b
*/

main {
  max-width: 1024px;
  align-content: center;
  margin: 0 auto;
}

/* .is-layout-constrained {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
} */

.is-layout-constrained :where(:not(.alignleft):not(.alignright):not(.alignfull)){
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

button[type='button']{
  background-color: rgb(84, 68, 185);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#sup-cov-con-tex {
  display: grid;
  padding-top: 10rem;
  gap: 1rem;
}

#sup-cov-con-tex h2,
#sup-cov-con-tex h3,
#sup-cov-con-tex h4 {
  font-weight: 600;
  text-shadow: #fff 0px 0px 3px;
}

#hero {
  /* background: url('../img/hero-bg.jpg') no-repeat center center/cover; */
  background-color: rgb(106, 90, 205);
  height: 45vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

#hero h1, #hero h2 {
  color: white;
}

#hero button{
  background-color: white ;
  color: rgb(106, 90, 205);
}

#brand {
  /* height: 33vh; */
  background: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
}

#cataloge {
  /* height: 75vh; */
  padding: 40px 20px;
  text-align: center;
}

#brands {
  height: 25vh;
  padding: 40px 20px;
  text-align: center;
}

.catalog-container {
  display: flex;
  flex-wrap: wrap; /* permite que los elementos salten de línea */
  gap: 20px; /* separación entre productos */
  justify-content: center; /* centra los productos */
}

.catalog-container .producto {
  flex: 1 1 300px; /* base de 300px, pero flexible */
  max-width: 640px; /* evita que se estiren demasiado */
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#banner-frio {
  display: flex;
  flex-direction: column;
  
  h2 {
    text-align: center;
    color: white;
    font-weight: 800;
    text-shadow: -1px -1px 2px rgba(0,0,0),   /* ligero contorno claro para separar */
    0 4px 18px rgba(255,255,255,0.6);     /* profundidad suave */
  }
  h3, p {
    color: white;
    font-weight: 600;
    text-shadow: -1px -1px 2px rgba(0,0,0),   /* ligero contorno claro para separar */
    0 4px 18px rgba(255,255,255,0.6);     /* profundidad suave */
    }
  h3 {
    font-size: 26px;
  }
  .frio-image {
    filter: brightness(0.7); /* oscurece la imagen para mejorar la legibilidad */
  }
  .container-frio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap;
  }
  .item {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 250px; 
  }
  .left-frio {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    flex: 1;  
    flex-wrap: wrap;
  }
  .feature-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }
  .right-frio {
    flex: 1;
    display: flex;
    justify-content: center;
  }
}


/* Opcional: ajustar para pantallas pequeñas */
@media (max-width: 768px) {
  .catalog-container {
    flex-direction: column; /* apilados en móvil */
    align-items: center;
  }
  .catalog-container .producto {
    width: 90%; /* ocupa más espacio en móvil */
  }

  #cataloge{
    height: auto; /* ajusta la altura automáticamente */
  }
}


#whats-button {
  position: fixed;
  bottom: 5px;
  right: 10px;
  z-index: 1000;
  text-align: center;
}
#whats-button img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
#whats-button p {
  background: #f0f0f0;
  border-radius: 5px;
  margin: 0;
  font-size: 16px;
  padding: 2px 5px;
}


/* Carrousel brands*/
.brand-carousel-container {
  width: 100%;
  overflow: hidden;
  background: #f0f0f0;
  padding: 20px 0;
}

.brand-carousel-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: scrollLeft 30s linear infinite;
}

.brand-carousel-track img {
  width: 175px;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s, transform 0.3s;
}

.brand-carousel-track img:hover {
  filter: none;
  transform: scale(1.1);
}

/* Animación infinita */
@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Mostrar solo 3 logos en pantalla (ajuste responsivo) */
.brand-carousel-container {
  max-width: 512px; /* aprox 3 logos visibles */
  margin: 0 auto;
}

@media (min-width: 768px) {
  .brand-carousel-container {
    max-width: 700px;
  }
}

@media (min-width: 1024px) {
  .brand-carousel-container {
    max-width: 900px;
  }
}

/* Animación para el carrusel de marcas */
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-175px * 5 - 50px * 5)); } 
  /* Nota: Ajusta el '5' por el número de marcas que tengas */
}

.brand-carousel-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: scrollLeft 20s linear infinite; /* Movimiento continuo */
}

.brand-carousel-track:hover {
  animation-play-state: paused; /* Se detiene cuando el usuario pasa el mouse */
}

#superior-cover h2, #superior-cover h3, #superior-cover h4, #superior-cover p {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Hace que el texto blanco resalte sobre la piel */
}

/* Mejora de tarjetas de producto en el slider */
.product-slider .wc-block-grid__product {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0e6e1; /* Color piel suave */
}

.product-slider .wc-block-grid__product:hover {
    transform: translateY(-5px);
    border-color: #a88573;
}

.product-slider .wc-block-grid__product-title {
    font-family: 'Platypi', serif; /* La fuente elegante que ya tienes cargada */
    font-size: 1.1rem !important;
    color: #333;
}

#bg-carousel-wrapper {
    position: fixed; /* O absolute, dependiendo de tu estructura */
    top: 0;
    left: 0;
    width: 100vw;    /* Ocupa el 100% del ancho de la ventana */
    height: 100vh;   /* Ocupa el 100% del alto de la ventana */
    z-index: -1;     /* Se va al fondo */
    overflow: hidden;
}

#bg-carousel-wrapper .slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
/* 
#banner-frio {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    
    /* Para que el contenido interno no se pegue a los bordes */
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

#banner-frio img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Si es una foto de fondo */
} */