/** Shopify CDN: Minification failed

Line 122:0 Unexpected "}"

**/
.related-products {
  display: block;
}

.related-products__heading {
  margin: 0 0 3rem;
}
/* LFM - Related products heading visible + centered */
.related-products .title-wrapper-with-link,
.related-products__heading,
.related-products .title-wrapper {
  justify-content: center !important;
  text-align: center !important;
}

.related-products .title,
.related-products__heading {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
/* Fade up heading */
.related-products .title,
.related-products__heading {
  opacity: 0;
  transform: translateY(8px);
  animation: lfmFadeUp .6s ease forwards;
}

@keyframes lfmFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  .related-products .title,
  .related-products__heading {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
/* =========================
   LFM - Related as carousel
   (CSS-only, no JS)
========================= */

/* 1) Centrar título */
.related-products .title-wrapper-with-link,
.related-products .title-wrapper {
  justify-content: center;
  text-align: center;
}

/* 2) Carrusel en móvil/tablet */
@media (max-width: 989px){
  /* Dawn usa generalmente un ul con .grid y .product-grid */
  .related-products .product-grid,
  .related-products .grid.product-grid,
  .related-products ul.grid,
  .related-products .grid {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(72%, 1fr) !important; /* ancho tarjeta */
    gap: 14px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Cada tarjeta “snap” */
  .related-products .product-grid > li,
  .related-products ul.grid > li,
  .related-products .grid > li,
  .related-products .grid__item {
    scroll-snap-align: start;
  }

  /* Ocultar scrollbar fea */
  .related-products .product-grid::-webkit-scrollbar,
  .related-products ul.grid::-webkit-scrollbar,
  .related-products .grid::-webkit-scrollbar{
    height: 0;
  }
}

/* 3) Tablet: que se vean más productos */
@media (min-width: 600px) and (max-width: 989px){
  .related-products .product-grid,
  .related-products .grid.product-grid,
  .related-products ul.grid,
  .related-products .grid {
    grid-auto-columns: minmax(42%, 1fr) !important;
  }
}
/* =========================
   LFM - Related centered (Desktop)
========================= */
@media (min-width: 990px){
  /* Centra el grid completo dentro del contenedor */
  .related-products .product-grid,
  .related-products .grid.product-grid,
  .related-products ul.grid,
  .related-products .grid{
    justify-content: center !important;
  }

  /* Opcional: si tu tema usa gap raro, esto mantiene estética */
  .related-products .grid{
    row-gap: 18px;
  }
}
}
/* FIX Dawn: related products invisibles por scroll-trigger */
.related-products .scroll-trigger,
.related-products .animate--slide-in{
  opacity: 1 !important;
  transform: none !important;
}

/* por si el theme usa la lógica "solo visible con is-visible" */
.related-products .scroll-trigger:not(.is-visible),
.related-products .animate--slide-in:not(.is-visible){
  opacity: 1 !important;
  transform: none !important;
}
/* Base */
.related-products .card-wrapper{
  transition: transform .25s ease, box-shadow .25s ease, opacity .6s ease;
}

/* Hover shadow pro */
@media (hover:hover) and (pointer:fine){
  .related-products .card-wrapper:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
  }
}

/* Fade-in suave (solo si quieres animación) */
.related-products .card-wrapper{
  opacity: 0;
  transform: translateY(10px);
  animation: lfmFadeUp .6s ease forwards;
}

.related-products .grid__item:nth-child(1) .card-wrapper{ animation-delay: .05s; }
.related-products .grid__item:nth-child(2) .card-wrapper{ animation-delay: .10s; }
.related-products .grid__item:nth-child(3) .card-wrapper{ animation-delay: .15s; }
.related-products .grid__item:nth-child(4) .card-wrapper{ animation-delay: .20s; }
.related-products .grid__item:nth-child(5) .card-wrapper{ animation-delay: .25s; }
.related-products .grid__item:nth-child(6) .card-wrapper{ animation-delay: .30s; }

@keyframes lfmFadeUp{
  to{ opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  .related-products .card-wrapper{
    animation: none;
    opacity: 1;
    transform: none;
  }
}


