/** Shopify CDN: Minification failed

Line 20:14 Expected identifier but found whitespace
Line 20:16 Unexpected "{"
Line 20:25 Expected ":"
Line 20:65 Expected ":"
Line 21:17 Expected identifier but found whitespace
Line 21:19 Unexpected "{"
Line 21:28 Expected ":"
Line 21:71 Expected ":"

**/
/* =============================================
   You Might Love These — Sección personalizada
   Archivo: assets/section-you-might-love-these.css
   ============================================= */

.ymlt-section {
  background-color: var(--ymlt-bg, #ffffff);
  padding-top: {{ section.settings.padding_top | default: 60 }}px;
  padding-bottom: {{ section.settings.padding_bottom | default: 60 }}px;
}

.ymlt-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Título */
.ymlt-title {
  text-align: center;
  font-size: clamp(2.0rem, 3vw, 2.8rem);
  font-weight: 500;
  color: var(--ymlt-title-color, #1a1a1a);
  margin: 0 0 48px;
  letter-spacing: -0.01em;
}

/* Grid */
.ymlt-grid {
  display: grid;
  grid-template-columns: repeat(var(--ymlt-columns, 4), 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .ymlt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .ymlt-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Tarjeta */
.ymlt-card {
  background: var(--ymlt-card-bg, #ffffff);
  display: flex;
  flex-direction: column;
}

.ymlt-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Contenedor de imagen */
.ymlt-card__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--ymlt-radius, 8px);
  background: #f5f5f5;
}

/* Imágenes — fadeout/fadein */
.ymlt-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity calc(var(--ymlt-transition, 600) * 1ms) ease;
  pointer-events: none;
  border-radius: var(--ymlt-radius, 8px);
}

.ymlt-card__image.is-active {
  opacity: 1;
  pointer-events: auto;
}

.ymlt-card__placeholder {
  width: 100%;
  height: 100%;
}

/* Dots */
.ymlt-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.ymlt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.ymlt-dot.is-active {
  background: #ffffff;
  transform: scale(1.3);
}

/* Info del producto */
.ymlt-card__info {
  padding: 16px 4px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ymlt-card__title {
  font-size: 1.5rem;
  font-weight: 1200;
  color: var(--ymlt-text, #1a1a1a);
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

.ymlt-card__price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.ymlt-price--compare {
  font-size: 1.5rem;
  color: #999;
  text-decoration: line-through;
}

.ymlt-price--current {
  font-size: 1.5rem;
  color: var(--ymlt-accent, #1a1a1a);
  font-weight: 800;
}

/* Botón agregar al carrito (opcional) */
.ymlt-card__form {
  padding: 0 4px 4px;
}

.ymlt-btn-cart {
  width: 100%;
  padding: 10px 16px;
  background: var(--ymlt-accent, #1a1a1a);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
  letter-spacing: 0.02em;
}

.ymlt-btn-cart:hover {
  opacity: 0.82;
}

.ymlt-btn-cart:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Empty state */
.ymlt-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #999;
  font-size: 0.95rem;
  padding: 40px 0;
}
