/**
 * djv_components — bundle CSS de la librería de componentes visuales.
 *
 * Convención: todas las clases empiezan por "mm-" (Musimaster). BEM ligero
 * (bloque, __elemento, --modificador). Los componentes son self-contained
 * y no dependen de utility classes externas (Tailwind, etc.).
 *
 * Tokens en :root como variables CSS (--mm-*). Cualquier consumidor puede
 * sobrescribirlas en su propio scope para variantes locales.
 *
 * NOTA: este fichero está en estado v0.1.0 (esqueleto). Los componentes se
 * irán añadiendo abajo conforme se migren los diseños de Lovable.
 *
 * --------------------------------------------------------------------------
 * Tokens de diseño
 * --------------------------------------------------------------------------
 * Extraídos del repo Lovable:
 *   - Paleta shadcn/ui style "new-york", base slate (oklch)
 *   - Radio base 0.625rem
 *   - Tipografía Murecho (idéntica al usada en category-buying-guide.css)
 * Mantengo OKLCH (Chrome 111+, Safari 15.4+, Firefox 113+ — universal en 2026).
 */

:root {
    /* Tipografía */
    --mm-font-base: "Murecho", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mm-font-display: var(--mm-font-base);

    --mm-fs-xs: 12px;
    --mm-fs-sm: 14px;
    --mm-fs-base: 16px;
    --mm-fs-lg: 18px;
    --mm-fs-xl: 20px;
    --mm-fs-2xl: 24px;
    --mm-fs-3xl: 30px;
    --mm-fs-4xl: 36px;
    --mm-fs-5xl: 48px;

    --mm-lh-tight: 1.15;
    --mm-lh-snug: 1.3;
    --mm-lh-normal: 1.5;
    --mm-lh-relaxed: 1.7;

    --mm-fw-regular: 400;
    --mm-fw-medium: 500;
    --mm-fw-semibold: 600;
    --mm-fw-bold: 700;

    /* Espaciado */
    --mm-space-1: 4px;
    --mm-space-2: 8px;
    --mm-space-3: 12px;
    --mm-space-4: 16px;
    --mm-space-5: 20px;
    --mm-space-6: 24px;
    --mm-space-8: 32px;
    --mm-space-10: 40px;
    --mm-space-12: 48px;
    --mm-space-16: 64px;
    --mm-space-20: 80px;
    --mm-space-24: 96px;

    /* Radios */
    --mm-radius-sm: 4px;
    --mm-radius-md: 6px;
    --mm-radius-lg: 8px;
    --mm-radius-xl: 12px;
    --mm-radius-2xl: 16px;
    --mm-radius-full: 9999px;

    /* Sombras */
    --mm-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --mm-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
    --mm-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --mm-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.10);
    --mm-shadow-card: 0 4px 12px rgba(0, 0, 0, 0.03);

    /* Colores semánticos (paleta shadcn slate, oklch) */
    --mm-color-background: oklch(1 0 0);
    --mm-color-foreground: oklch(0.129 0.042 264.695);
    --mm-color-card: oklch(1 0 0);
    --mm-color-card-fg: oklch(0.129 0.042 264.695);
    --mm-color-muted: oklch(0.968 0.007 247.896);
    --mm-color-muted-fg: oklch(0.554 0.046 257.417);
    --mm-color-border: oklch(0.929 0.013 255.508);
    --mm-color-primary: oklch(0.208 0.042 265.755);
    --mm-color-primary-fg: oklch(0.984 0.003 247.858);
    --mm-color-secondary: oklch(0.968 0.007 247.896);
    --mm-color-secondary-fg: oklch(0.208 0.042 265.755);
    --mm-color-accent: oklch(0.968 0.007 247.896);
    --mm-color-accent-fg: oklch(0.208 0.042 265.755);
    --mm-color-destructive: oklch(0.577 0.245 27.325);
    --mm-color-destructive-fg: oklch(0.984 0.003 247.858);
    --mm-color-ring: oklch(0.704 0.04 256.788);

    /* Acentos para charts / categorías (no se usa todavía pero queda
     * la paleta lista para gráficos comparativos). */
    --mm-color-chart-1: oklch(0.646 0.222 41.116);
    --mm-color-chart-2: oklch(0.6 0.118 184.704);
    --mm-color-chart-3: oklch(0.398 0.07 227.392);
    --mm-color-chart-4: oklch(0.828 0.189 84.429);
    --mm-color-chart-5: oklch(0.769 0.188 70.08);

    /* Acento de marca (rojo Musimaster). Cambiar aquí afecta a iconos,
     * subrayados y separadores activos en todos los componentes mm-*. */
    --mm-color-accent-brand: #C90303;

    /* Breakpoints (referencia, CSS no los usa directamente) */
    --mm-bp-sm: 640px;
    --mm-bp-md: 768px;
    --mm-bp-lg: 1024px;
    --mm-bp-xl: 1280px;

    /* Misc */
    --mm-transition-fast: 150ms ease;
    --mm-transition-normal: 250ms ease;
}

/* --------------------------------------------------------------------------
 * Reset mínimo aplicable solo dentro de bloques mm-*
 * --------------------------------------------------------------------------
 * Lo aislamos a [class*="mm-"] para no afectar al theme. Pequeño coste en
 * especificidad pero cero riesgo de side-effects en el resto del shop.
 */

[class*="mm-"] {
    box-sizing: border-box;
}

[class*="mm-"]::before,
[class*="mm-"]::after {
    box-sizing: border-box;
}

/* Defensa contra estilos del theme/PrestaShop que se cuelan en listas. El
 * theme dejavu_classic no resetea `<ul>`/`<li>` dentro del campo `post`,
 * así que reaparecen bullets nativos del UA.
 * Solo al aside (mm-anchor-nav) por ahora — el resto de mm-* ya tiene
 * paddings propios y los `<li>` se ven OK. */
.mm-anchor-nav ul,
.mm-anchor-nav ol,
.mm-anchor-nav li {
    list-style: none;
    list-style-type: none;
}

.mm-anchor-nav li::before,
.mm-anchor-nav li::marker {
    content: none;
}

/* --------------------------------------------------------------------------
 * COMPONENTES
 * --------------------------------------------------------------------------
 * Cada componente vive en su propio bloque, ordenados alfabéticamente.
 * Plantilla:
 *
 *   /* --- mm-NAME --- *\/
 *   .mm-NAME { ... }
 *   .mm-NAME__element { ... }
 *   .mm-NAME--modifier { ... }
 *
 * Los componentes se irán añadiendo en sucesivos commits según se migren
 * diseños desde Lovable. v0.1.0 deja el archivo sin componentes (solo tokens).
 */

/* ==========================================================================
 * v0.2.0 — Componentes de la guía de compra (Stratocaster como primera
 * categoría). CSS adaptado del repo Lovable, renombrado a mm-* y tokenizado.
 *
 * Componentes incluidos:
 *   mm-anchor-nav, mm-intro, mm-pillars, mm-types, mm-audience, mm-steps,
 *   mm-brand-picker, mm-faq, mm-compare, mm-genres, mm-buying-guide
 * ========================================================================== */

/* Wrapper de la guía completa: grid 1 columna en mobile, 3fr/1fr en ≥992px.
 * El operador envuelve toda la guía en .mm-buying-guide y dentro pone
 * .mm-buying-guide__main + <aside class="mm-anchor-nav">. */
.mm-buying-guide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

.mm-buying-guide__main {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: var(--mm-radius-lg);
    padding: 24px;
    min-width: 0;
}

@media (min-width: 992px) {
    .mm-buying-guide {
        grid-template-columns: 3fr 1fr;
        align-items: start;
    }
}


/* ============================================
   COMPONENTE 1: MENÚ DE NAVEGACIÓN (ÍNDICE)
   Aislado bajo Mobile First + @media min-width: 992px
   ============================================ */

.mm-anchor-nav {
  width: 100%;
  margin: 0 0 24px 0;
  font-family: var(--mm-font-base);
  box-sizing: border-box;
}

.mm-anchor-nav *,
.mm-anchor-nav *::before,
.mm-anchor-nav *::after {
  box-sizing: border-box;
}

.mm-anchor-nav__card {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  padding: 20px;
}

.mm-anchor-nav__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #eaeaea;
}

.mm-anchor-nav__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: block;
}

.mm-anchor-nav__title {
  margin: 0;
  font-family: var(--mm-font-base);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000000;
}

.mm-anchor-nav__list {
  list-style: none;
  margin: 0;
  padding: 4px 0 4px 15px;
  border-left: 1px solid #eaeaea;
}

.mm-anchor-nav__item {
  position: relative;
  margin: 0;
  padding: 0;
}

.mm-anchor-nav__item + .mm-anchor-nav__item {
  margin-top: 4px;
}

.mm-anchor-nav__link {
  position: relative;
  display: block;
  padding: 8px 0;
  font-family: var(--mm-font-base);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: #555555;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mm-anchor-nav__link:hover,
.mm-anchor-nav__link:focus {
  color: var(--mm-color-accent-brand);
  text-decoration: none;
  outline: none;
}

.mm-anchor-nav__link:focus-visible {
  outline: 2px solid var(--mm-color-accent-brand);
  outline-offset: 2px;
  border-radius: 2px;
}

.mm-anchor-nav__link--active {
  font-weight: 700;
  color: var(--mm-color-accent-brand);
}

.mm-anchor-nav__link--active::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--mm-color-accent-brand);
  border-radius: 2px;
}

@media (min-width: 992px) {
  .mm-anchor-nav {
    position: sticky;
    top: 20px;
    margin: 0;
    align-self: flex-start;
  }
}

/* ============================================
   COMPONENTE 2: INTRODUCCIÓN
   Plantilla reutilizable (sin clases de contenido)
   ============================================ */

.mm-intro {
  width: 100%;
  margin: 0 0 32px 0;
  font-family: var(--mm-font-base);
  box-sizing: border-box;
}

.mm-intro *,
.mm-intro *::before,
.mm-intro *::after {
  box-sizing: border-box;
}

.mm-intro__tag {
  display: inline-block;
  margin: 0 0 14px 0;
  padding: 6px 14px;
  background-color: #FDECEC;
  border-radius: 999px;
  font-family: var(--mm-font-base);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mm-color-accent-brand);
}

.mm-intro__title {
  margin: 0 0 18px 0;
  font-family: var(--mm-font-base);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #000000;
}

.mm-intro__paragraph-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.mm-intro__text {
  margin: 0;
  font-family: var(--mm-font-base);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #343434;
}

/* ============================================
   COMPONENTE 3: POR QUÉ ELEGIR (BENEFITS)
   Plantilla reutilizable
   ============================================ */

.mm-pillars {
  width: 100%;
  margin: 0 0 32px 0;
  font-family: var(--mm-font-base);
  box-sizing: border-box;
}

.mm-pillars *,
.mm-pillars *::before,
.mm-pillars *::after {
  box-sizing: border-box;
}

.mm-pillars__title {
  margin: 0 0 20px 0;
  text-align: left;
  font-family: var(--mm-font-base);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #000000;
}

.mm-pillars__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mm-pillars .mm-pillars__grid .mm-pillars__card,
li.mm-pillars__card {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(201, 3, 3, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mm-pillars__card:hover,
.mm-pillars__card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(201, 3, 3, 0.05);
}

.mm-pillars__icon-wrapper {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: var(--mm-color-accent-brand);
  color: #ffffff;
}

.mm-pillars__icon-wrapper svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  fill: none;
}

.mm-pillars__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 !important;
  padding: 0;
}

.mm-pillars__card-title {
  margin: 0 !important;
  padding: 0;
  font-family: var(--mm-font-base);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #000000;
}

.mm-pillars__card-text {
  margin: 0 !important;
  padding: 0;
  font-family: var(--mm-font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #343434;
}

@media (min-width: 992px) {
  .mm-pillars__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ============================================
   COMPONENTE 4: TIPOS Y CONFIGURACIONES
   ============================================ */

.mm-types {
  width: 100%;
  margin: 0 0 32px 0;
  font-family: var(--mm-font-base);
  box-sizing: border-box;
}

.mm-types *,
.mm-types *::before,
.mm-types *::after {
  box-sizing: border-box;
}

.mm-types__title {
  margin: 0 0 14px 0;
  font-family: var(--mm-font-base);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #000000;
}

.mm-types__intro {
  margin: 0 0 22px 0;
  font-family: var(--mm-font-base);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #343434;
}

.mm-types__types-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mm-types .mm-types__types-list .mm-types__type-card,
li.mm-types__type-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mm-types__type-card:hover,
.mm-types__type-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(201, 3, 3, 0.12);
  border-color: var(--mm-color-accent-brand);
}

.mm-types__type-icon-box {
  flex: 0 0 auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background-color: rgba(201, 3, 3, 0.08);
  color: var(--mm-color-accent-brand);
}

.mm-types__type-icon-box svg {
  display: block;
  width: 26px;
  height: 26px;
  stroke: var(--mm-color-accent-brand);
  fill: none;
}

.mm-types__type-content {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  padding: 0;
}

.mm-types__type-name {
  margin: 0 0 6px 0 !important;
  padding: 0;
  font-family: var(--mm-font-base);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #000000;
}

.mm-types__type-desc {
  margin: 0 !important;
  padding: 0;
  font-family: var(--mm-font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #555555;
}

/* ============================================
   COMPONENTE 5: PARA QUIÉN ES (AUDIENCE)
   ============================================ */

.mm-audience {
  width: 100%;
  margin: 0 0 32px 0;
  font-family: var(--mm-font-base);
  box-sizing: border-box;
}

.mm-audience *,
.mm-audience *::before,
.mm-audience *::after {
  box-sizing: border-box;
}

.mm-audience__title {
  margin: 0 0 22px 0;
  font-family: var(--mm-font-base);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #000000;
}

.mm-audience__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mm-audience__profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-top: 5px solid var(--mm-color-accent-brand);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mm-audience__profile-card:hover,
.mm-audience__profile-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(201, 3, 3, 0.12);
}

.mm-audience__profile-icon-box {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background-color: var(--mm-color-accent-brand);
  color: #ffffff;
}

.mm-audience__profile-icon-box svg {
  display: block;
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  fill: none;
}

.mm-audience__profile-name {
  margin: 20px 0 10px 0;
  font-family: var(--mm-font-base);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000000;
}

.mm-audience__profile-text {
  margin: 0;
  font-family: var(--mm-font-base);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #343434;
}

@media (min-width: 992px) {
  .mm-audience__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* ============================================
   COMPONENTE 6: CÓMO ELEGIR (CRITERIA)
   ============================================ */

.mm-steps {
  width: 100%;
  margin: 0 0 32px 0;
  font-family: var(--mm-font-base);
  box-sizing: border-box;
}

.mm-steps *,
.mm-steps *::before,
.mm-steps *::after {
  box-sizing: border-box;
}

.mm-steps__title {
  margin: 0 0 14px 0;
  font-family: var(--mm-font-base);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #000000;
}

.mm-steps__intro {
  margin: 0 0 28px 0;
  font-family: var(--mm-font-base);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #343434;
}

.mm-steps__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mm-steps__item {
  margin: 0;
  padding: 14px 16px 14px 20px;
  background-color: transparent;
  border-left: 2px solid var(--mm-color-accent-brand);
  border-radius: 0 6px 6px 0;
  transition: all 0.3s ease;
}

.mm-steps__item:hover,
.mm-steps__item:focus-within {
  background-color: #fcfcfc;
  transform: translateX(5px);
}

.mm-steps__item-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.mm-steps__item-number {
  font-family: var(--mm-font-base);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mm-color-accent-brand);
}

.mm-steps__item-name {
  margin: 0;
  font-family: var(--mm-font-base);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #000000;
}

.mm-steps__item-desc {
  margin: 0;
  font-family: var(--mm-font-base);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #343434;
}

/* ============================================
   COMPONENTE 7: MARCAS (BRANDS - ACORDEÓN)
   ============================================ */

.mm-brand-picker {
  width: 100%;
  margin: 0 0 32px 0;
  font-family: var(--mm-font-base);
  box-sizing: border-box;
}

.mm-brand-picker *,
.mm-brand-picker *::before,
.mm-brand-picker *::after {
  box-sizing: border-box;
}

.mm-brand-picker__title {
  margin: 0 0 14px 0;
  font-family: var(--mm-font-base);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #000000;
}

.mm-brand-picker__intro {
  margin: 0 0 24px 0;
  font-family: var(--mm-font-base);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #343434;
}

.mm-brand-picker__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.mm-brand-picker__card {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mm-brand-picker__card:hover,
.mm-brand-picker__card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(201, 3, 3, 0.12);
  border-color: var(--mm-color-accent-brand);
}

.mm-brand-picker__summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  cursor: pointer;
  list-style: none;
  outline: none;
}

.mm-brand-picker__summary::-webkit-details-marker {
  display: none;
}

.mm-brand-picker__summary:focus-visible {
  outline: 2px solid var(--mm-color-accent-brand);
  outline-offset: -2px;
}

.mm-brand-picker__logo-container {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #f7f7f7;
  border-radius: 6px;
  overflow: hidden;
}

.mm-brand-picker__logo-container img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mm-brand-picker__name {
  flex: 1 1 auto;
  margin: 0;
  font-family: var(--mm-font-base);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #000000;
}

.mm-brand-picker__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--mm-color-accent-brand);
  transition: transform 0.3s ease;
}

.mm-brand-picker__icon svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: var(--mm-color-accent-brand);
  fill: none;
}

.mm-brand-picker__card[open] .mm-brand-picker__icon {
  transform: rotate(45deg);
}

.mm-brand-picker__content {
  padding: 0 20px 20px 20px;
}

.mm-brand-picker__content p {
  margin: 0;
  font-family: var(--mm-font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #555555;
}

@media (min-width: 992px) {
  .mm-brand-picker__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ============================================
   COMPONENTE 8: PREGUNTAS FRECUENTES (FAQ)
   ============================================ */

.mm-faq {
  width: 100%;
  margin: 0 0 32px 0;
  font-family: var(--mm-font-base);
  box-sizing: border-box;
}

.mm-faq *,
.mm-faq *::before,
.mm-faq *::after {
  box-sizing: border-box;
}

.mm-faq__title {
  margin: 0 0 18px 0;
  font-family: var(--mm-font-base);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #000000;
}

.mm-faq__accordion-list {
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background-color: #ffffff;
  overflow: hidden;
}

.mm-faq__item {
  border-bottom: 1px solid #eaeaea;
  background-color: #ffffff;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.mm-faq__item:last-child {
  border-bottom: 0;
}

.mm-faq__item[open] {
  background-color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.mm-faq__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  outline: none;
  font-family: var(--mm-font-base);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #000000;
  transition: color 0.3s ease;
}

.mm-faq__summary::-webkit-details-marker {
  display: none;
}

.mm-faq__summary:focus-visible {
  outline: 2px solid var(--mm-color-accent-brand);
  outline-offset: 2px;
  border-radius: 2px;
}

.mm-faq__item[open] > .mm-faq__summary {
  color: var(--mm-color-accent-brand);
}

.mm-faq__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--mm-color-accent-brand);
  transition: transform 0.3s ease;
}

.mm-faq__icon svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke: var(--mm-color-accent-brand);
  fill: none;
}

.mm-faq__item[open] > .mm-faq__summary .mm-faq__icon {
  transform: rotate(180deg);
}

.mm-faq__content {
  padding: 0 24px 22px 24px;
}

.mm-faq__content p {
  margin: 0;
  font-family: var(--mm-font-base);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #343434;
}

/* ============================================================
   Component 9 — Comparativa
   ============================================================ */
.mm-compare {
  width: 100%;
  margin: 0 0 32px 0;
  font-family: var(--mm-font-base);
  box-sizing: border-box;
}

.mm-compare *,
.mm-compare *::before,
.mm-compare *::after {
  box-sizing: border-box;
}

.mm-compare__title {
  margin: 0 0 18px 0;
  font-family: var(--mm-font-base);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #000000;
}

/* Mobile-first: hide table, show cards */
.mm-compare__table-wrapper {
  display: none;
}

.mm-compare__mobile-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mm-compare__mobile-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.mm-compare__mobile-card[open] {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.mm-compare__mobile-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  cursor: pointer;
  list-style: none;
  outline: none;
}

.mm-compare__mobile-summary::-webkit-details-marker {
  display: none;
}

.mm-compare__mobile-summary:focus-visible {
  outline: 2px solid var(--mm-color-accent-brand);
  outline-offset: -2px;
}

.mm-compare__mobile-thumb {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  background: #f5f5f5;
}

.mm-compare__mobile-heading {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mm-compare__mobile-brand {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mm-color-accent-brand);
}

.mm-compare__mobile-model {
  font-size: 16px;
  font-weight: 700;
  color: #000000;
}

.mm-compare__mobile-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--mm-color-accent-brand);
  transition: transform 0.3s ease;
}

.mm-compare__mobile-card[open] .mm-compare__mobile-icon {
  transform: rotate(45deg);
}

.mm-compare__mobile-content {
  padding: 0 15px 15px 15px;
  border-top: 1px solid #f0f0f0;
}

.mm-compare__mobile-dl {
  margin: 0;
  padding: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mm-compare__mobile-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mm-compare__mobile-row dt {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mm-color-accent-brand);
}

.mm-compare__mobile-row dd {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #343434;
}

/* Desktop: show table, hide cards */
@media (min-width: 992px) {
  .mm-compare__mobile-list {
    display: none;
  }

  .mm-compare__table-wrapper {
    display: block;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
  }

  .mm-compare__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }

  .mm-compare__thead {
    background-color: var(--mm-color-accent-brand);
  }

  .mm-compare__th {
    padding: 20px;
    text-align: left;
    font-family: var(--mm-font-base);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #ffffff;
  }

  .mm-compare__td {
    padding: 15px;
    font-family: var(--mm-font-base);
    font-size: 15px;
    line-height: 1.5;
    color: #343434;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
  }

  .mm-compare__tbody tr:last-child .mm-compare__td {
    border-bottom: 0;
  }

  .mm-compare__tbody tr:hover .mm-compare__td {
    background-color: #fafafa;
  }

  .mm-compare__td:first-child {
    text-align: center;
    width: 150px;
  }

  .mm-compare__product-img {
    display: block;
    width: 120px;
    height: auto;
    margin: 0 auto;
    border-radius: 4px;
  }
}
/* ============================================
   COMPONENTE 10: ESTILOS MUSICALES (GENRES)
   ============================================ */

.mm-genres {
  width: 100%;
  margin: 0 0 32px 0;
  font-family: var(--mm-font-base);
  box-sizing: border-box;
}

.mm-genres *,
.mm-genres *::before,
.mm-genres *::after {
  box-sizing: border-box;
}

.mm-genres__title {
  margin: 0 0 14px 0;
  font-family: var(--mm-font-base);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #000000;
}

.mm-genres__intro {
  margin: 0 0 8px 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #343434;
}

.mm-genres__list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0;
  padding: 0;
  list-style: none;
}

.mm-genres__pill-item {
  list-style: none;
}

.mm-genres__pill {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 24px;
  box-shadow: 0 2px 6px rgba(201, 3, 3, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.mm-genres__pill[open] {
  border-color: var(--mm-color-accent-brand);
  box-shadow: 0 8px 18px rgba(201, 3, 3, 0.08);
  border-radius: 18px;
}

.mm-genres__pill:hover {
  border-color: var(--mm-color-accent-brand);
}

.mm-genres__pill-summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.mm-genres__pill-summary::-webkit-details-marker {
  display: none;
}

.mm-genres__pill-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--mm-color-accent-brand);
  transition: transform 0.3s ease;
}

.mm-genres__pill-toggle::before {
  content: "+";
}

.mm-genres__pill[open] .mm-genres__pill-toggle::before {
  content: "−";
}

.mm-genres__pill-desc {
  margin: 0;
  padding: 0 20px 14px 20px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #444444;
  animation: cbg-genre-fade 0.3s ease;
}

@keyframes cbg-genre-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.mm-genres__pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mm-color-accent-brand);
}

.mm-genres__pill-icon svg {
  display: block;
  stroke: var(--mm-color-accent-brand);
  fill: none;
}

.mm-genres__pill-text {
  font-size: 16px;
  font-weight: 700;
  color: #000000;
}

.mm-genres__highlight-box {
  margin-top: 10px;
  padding: 20px;
  background-color: rgba(201, 3, 3, 0.03);
  border-left: 4px solid var(--mm-color-accent-brand);
  border-radius: 0 6px 6px 0;
}

.mm-genres__highlight-box p {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #343434;
}

/* ============================================
   PULIDO GLOBAL — Gama Premium
   ============================================ */

/* Anclaje rojo bajo todos los H2 de la guía */
section > h2 {
  position: relative;
  padding-bottom: 13px;
}

section > h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--mm-color-accent-brand);
  margin-top: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

/* Ritmo visual: fondo gris muy tenue para componentes pares (2,4,6,8,10) */
.mm-intro,
.mm-types,
.mm-steps,
.mm-faq,
.mm-genres {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
}

/* Sombras orgánicas globales — sustituir negras por tinte rojo */
.mm-anchor-nav__card,
.mm-types__type-card,
.mm-audience__profile-card,
.mm-brand-picker__card,
.mm-faq__accordion-list,
.mm-compare__mobile-card {
  box-shadow: 0 4px 12px rgba(201, 3, 3, 0.05);
}

.mm-types__type-card:hover,
.mm-audience__profile-card:hover,
.mm-brand-picker__card:hover {
  box-shadow: 0 12px 24px rgba(201, 3, 3, 0.05) !important;
}

.mm-faq__item[open],
.mm-compare__mobile-card[open] {
  box-shadow: 0 4px 14px rgba(201, 3, 3, 0.05);
}

/* Alineación FAQ: respuesta empieza al mismo X que la pregunta (24px del summary) */
.mm-faq__content {
  padding: 0 24px 22px 24px;
}


/* ============================================
   ESPACIADO VERTICAL ENTRE COMPONENTES
   ============================================ */
section {
  margin-bottom: 40px;
}

section:last-of-type {
  margin-bottom: 0;
}

/* Scroll offset para que el menú flotante no tape el título al saltar a la sección */
h2 {
  scroll-margin-top: 120px;
}

.mm-types__type-icon-box {
  background-color: var(--mm-color-accent-brand);
}

.mm-types__type-icon-box svg {
  stroke: #ffffff;
}
