.elementor-39622 .elementor-element.elementor-element-5146de8{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}@media(max-width:767px){.elementor-39622 .elementor-element.elementor-element-5146de8{--content-width:100%;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}}/* Start custom CSS for shortcode, class: .elementor-element-2a1b189 *//* Estilos de escritorio (no modificar) */
.productos-similares-grid {
  margin-top: 30px;
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.producto-similar {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 5px;
  padding: 20px 0;
}

.producto-similar img {
  border-radius: 50%;
}

.producto-similar h3 {
  color: #646161;
  font-family: Roboto !important;
  font-size: 16px;
  text-align: center !important;
}

.producto-similar a {
  color: #0F75BC;
  font-family: Roboto !important;
}

.producto-similar a:hover {
  transform: scale(1.1);
  transition: 800ms;
}

.producto-similar {
  background-color: #fff;
}

.producto-similar h3 a {
  color: #000;
  font-family: Roboto !important;
}

p.titulo-caracteristica {
  margin: 0;
  font-weight: 600;
  color: #2d2d2d;
  margin-top: 25px;
  font-family: Roboto !important;
}

p.valor-caracteristica {
  margin: 0;
  font-family: Roboto !important;
}

.separador-style {
  background: rgba(217, 217, 217, 0.76);
  height: 2px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Estilos para la vista móvil */
@media(max-width: 820px) {
    p.titulo-caracteristica {
    
    margin-top: 10px !important;
    }

  .productos-similares-grid {
    display: flex !important;
    overflow-x: auto; /* Carrusel horizontal */
    scroll-snap-type: x mandatory; /* Facilita el desplazamiento "a salto" */
    gap: 10px;
    padding: 10px;
    margin: 0 auto;
  }

  .producto-similar {
      padding-left:20px !important;
      padding-right:20px !important;
    flex: 0 0 auto; /* Los productos no se redimensionan */
    scroll-snap-align: start; /* Alineación de los productos al iniciar el desplazamiento */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    width: calc(100% - 10px); /* Cada producto ocupará el 100% del ancho, pero con un pequeño espacio */
    margin-right: 10px; /* Espacio entre productos */
  }

  .producto-similar img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
  }

  .producto-similar h3 {
    font-size: 18px !important;
    margin: 10px 0;
    text-align: center;
  }

  /* Estilos personalizados para la scrollbar */
  .productos-similares-grid::-webkit-scrollbar {
    height: 8px;
  }

  .productos-similares-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
  }

  .productos-similares-grid::-webkit-scrollbar-thumb:hover {
    background: #888;
  }

  .productos-similares-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
}/* End custom CSS */