/** Shopify CDN: Minification failed

Line 19:14 Expected identifier but found whitespace
Line 19:16 Unexpected "{"
Line 19:25 Expected ":"
Line 19:51 Expected ":"
Line 20:17 Expected identifier but found whitespace
Line 20:19 Unexpected "{"
Line 20:28 Expected ":"
Line 20:57 Expected ":"

**/
/* =============================================
   LFM Marcas — La Flauta Musical
   Compatible con Dawn 15.4.1
   ============================================= */

.lfm-marcas {
  padding-top: {{ section.settings.padding_top }}px;
  padding-bottom: {{ section.settings.padding_bottom }}px;
}

/* Usamos CSS custom property para padding dinámico desde schema */
.lfm-marcas {
  --padding-top: 36px;
  --padding-bottom: 36px;
  padding-top: var(--lfm-marcas-pt, 36px);
  padding-bottom: var(--lfm-marcas-pb, 36px);
}

/* Header */
.lfm-marcas__header {
  text-align: center;
  margin-bottom: 3.2rem;
}

.lfm-marcas__subtitulo {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(var(--color-foreground), 0.6);
  margin: 0 0 0.6rem;
}

.lfm-marcas__titulo {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin: 0;
  color: rgb(var(--color-foreground));
}

/* Grid */
.lfm-marcas__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

.lfm-marcas__grid--3 { grid-template-columns: repeat(3, 1fr); }
.lfm-marcas__grid--4 { grid-template-columns: repeat(4, 1fr); }
.lfm-marcas__grid--5 { grid-template-columns: repeat(5, 1fr); }
.lfm-marcas__grid--6 { grid-template-columns: repeat(6, 1fr); }

/* Item */
.lfm-marcas__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Link */
.lfm-marcas__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  border-radius: 1.2rem;
  padding: 2rem 1.6rem;
  background: rgba(var(--color-foreground), 0.04);
  border: 1px solid rgba(var(--color-foreground), 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lfm-marcas__link:hover {
  background: rgba(var(--color-foreground), 0.08);
  border-color: rgba(var(--color-foreground), 0.18);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(var(--color-foreground), 0.08);
}

/* Logo wrapper */
.lfm-marcas__logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5.6rem;
  width: 100%;
}

/* Logo imagen */
.lfm-marcas__logo {
  max-height: 5.6rem;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.lfm-marcas__link:hover .lfm-marcas__logo {
  filter: grayscale(0%);
  opacity: 1;
}

/* Fallback texto si no hay logo */
.lfm-marcas__nombre-fallback {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgb(var(--color-foreground));
}

/* Item sin link */
.lfm-marcas__item:not(:has(.lfm-marcas__link)) .lfm-marcas__logo-wrapper {
  border-radius: 1.2rem;
  padding: 2rem 1.6rem;
  background: rgba(var(--color-foreground), 0.04);
  border: 1px solid rgba(var(--color-foreground), 0.08);
}

/* =============================================
   Responsive
   ============================================= */

@media screen and (max-width: 989px) {
  .lfm-marcas__grid--3,
  .lfm-marcas__grid--4,
  .lfm-marcas__grid--5,
  .lfm-marcas__grid--6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 749px) {
  .lfm-marcas__grid--3,
  .lfm-marcas__grid--4,
  .lfm-marcas__grid--5,
  .lfm-marcas__grid--6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .lfm-marcas__logo-wrapper {
    height: 4.4rem;
  }

  .lfm-marcas__logo {
    max-height: 4.4rem;
  }

  .lfm-marcas__link {
    padding: 1.6rem 1.2rem;
  }

  .lfm-marcas__titulo {
    font-size: 2rem;
  }
}