/* =========================================================
   ETR UI — Design System v1.0
   Componentes visuales reutilizables para el sitio
   ========================================================= */

:root {
  --etr-azul-hero-1: #1a3a6c;
  --etr-azul-hero-2: #0f2847;
  --etr-azul-marino: #1a3a6c;
  --etr-azul-vivo: #2563eb;
  --etr-azul-vivo-hover: #1d4ed8;
  --etr-naranja: #FF6B35;
  --etr-naranja-hover: #e85a25;
  --etr-verde-wa: #25D366;
  --etr-verde-stock: #047857;
  --etr-gris-bg: #f8fafc;
  --etr-gris-borde: #e2e8f0;
  --etr-gris-text: #64748b;
  --etr-texto: #0f172a;
}

/* Tipografía base de los componentes ETR
   (no afecta al resto del tema) */
.etr-block,
.etr-block * {
  box-sizing: border-box;
}
.etr-block {
  font-family: 'Inter', 'Poppins', sans-serif;
  color: var(--etr-texto);
  line-height: 1.6;
}
.etr-block h1, .etr-block h2, .etr-block h3 {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--etr-azul-marino);
}
.etr-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   HERO (variants: home, categoria, subcategoria, marca, marca-tipo)
   ========================================================= */
.etr-hero {
  background:
    linear-gradient(135deg, rgba(15,40,71,0.85) 0%, rgba(26,58,108,0.80) 100%),
    url('https://www.encuentraturecambio.com/wp-content/uploads/2026/05/Fondo-Marcado-Recambios.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 60px 0 55px;
  text-align: center;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
/* HOME: layout izquierda + imagen Banner-fondo-4 (electrodomésticos) */
.etr-hero--home {
  background:
    linear-gradient(90deg, rgba(15,40,71,0.95) 0%, rgba(15,40,71,0.85) 25%, rgba(15,40,71,0.5) 50%, transparent 75%),
    url('https://www.encuentraturecambio.com/wp-content/uploads/2026/05/banner-fondo-4.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  padding: 60px 0;
  text-align: left;
}
.etr-hero--home .etr-container {
  /* Bloque alineado a la izquierda con max-width */
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding-left: 24px;
  padding-right: 24px;
}
.etr-hero--home .etr-hero__h1,
.etr-hero--home .etr-hero__sub,
.etr-hero--home .etr-hero__tabs,
.etr-hero--home .etr-hero__search,
.etr-hero--home .etr-hero__help-row,
.etr-hero--home .etr-hero__divider,
.etr-hero--home .etr-hero__btn-foto-wrap {
  max-width: 600px;
  margin-left: 0;
  margin-right: auto;
}
.etr-hero--subcategoria,
.etr-hero--marca-tipo {
  padding: 50px 0 45px;
}
.etr-hero h1 {
  font-size: clamp(22px, 2.8vw, 32px);
  margin: 0 0 10px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.etr-hero--home h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: 14px;
}
.etr-hero h1 em,
.etr-hero h1 .etr-accent {
  color: var(--etr-naranja);
  font-style: normal;
}
.etr-hero__sub {
  font-size: 15px;
  opacity: 0.92;
  margin: 0 auto 22px;
  max-width: 620px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  color: #fff;
}
.etr-hero--home .etr-hero__sub {
  font-size: 18px;
  margin-bottom: 32px;
}
.etr-hero__pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin: 0 auto 22px;
  max-width: 720px;
}
.etr-hero__pill {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  text-decoration: none;
  transition: all 0.15s;
}
.etr-hero__pill:hover {
  background: #fff;
  color: var(--etr-azul-marino);
  border-color: #fff;
}
.etr-hero__search {
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  display: flex; gap: 8px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.etr-hero__search input {
  flex: 1;
  border: 0; outline: 0;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 16px;
  color: var(--etr-texto);
  background: transparent;
  min-width: 0;
}
.etr-hero__search input::placeholder { color: #94a3b8; }
.etr-hero__search button {
  background: var(--etr-azul-vivo); color: #fff;
  border: 0;
  padding: 16px 28px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
/* En categorías el buscador es más compacto que en home (igual mockup) */
.etr-hero--categoria .etr-hero__search input,
.etr-hero--subcategoria .etr-hero__search input,
.etr-hero--marca .etr-hero__search input,
.etr-hero--marca-tipo .etr-hero__search input {
  padding: 14px 18px;
  font-size: 15px;
}
.etr-hero--categoria .etr-hero__search button,
.etr-hero--subcategoria .etr-hero__search button,
.etr-hero--marca .etr-hero__search button,
.etr-hero--marca-tipo .etr-hero__search button {
  padding: 14px 24px;
  font-size: 14px;
}
/* Sub más pequeño en categorías */
.etr-hero--categoria .etr-hero__sub,
.etr-hero--subcategoria .etr-hero__sub,
.etr-hero--marca .etr-hero__sub,
.etr-hero--marca-tipo .etr-hero__sub {
  font-size: 14px;
  max-width: 560px;
}
.etr-hero__search button:hover { background: var(--etr-azul-vivo-hover); }
.etr-hero__hint {
  font-size: 13px;
  opacity: 0.75;
  margin: 14px 0 0;
  color: #fff;
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.etr-trust {
  background: #f1f5f9;
  border-bottom: 1px solid var(--etr-gris-borde);
  padding: 16px 0;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  box-sizing: border-box;
}
.etr-trust__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.etr-trust__item {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px;
  color: var(--etr-azul-marino);
}
.etr-trust__check {
  width: 24px; height: 24px;
  background: var(--etr-azul-vivo); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}

/* =========================================================
   GRID ELECTRODOMÉSTICOS (home)
   ========================================================= */
.etr-section {
  padding: 30px 0;
}
.etr-section--bg-gris { background: var(--etr-gris-bg); }
.etr-section__head { text-align: center; margin-bottom: 28px; }
.etr-section__head h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 10px;
  line-height: 1.2;
}
.etr-section__head h2 .etr-accent { color: var(--etr-azul-vivo); }
.etr-section__head p {
  color: var(--etr-gris-text);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto;
}

/* Variante alineada a la izquierda con barrita decorativa (categoría/subcategoría) */
html body .etr-section__head--left {
  text-align: left !important;
  margin-bottom: 24px !important;
  padding-left: 0 !important;
}
html body .etr-section__head--left h2 {
  font-size: clamp(22px, 2.5vw, 30px) !important;
  color: var(--etr-azul-marino) !important;
  margin: 0 0 8px !important;
  padding: 0 0 0 14px !important;
  line-height: 1.2 !important;
  border-left: 5px solid var(--etr-azul-vivo) !important;
  border-radius: 3px !important;
  display: block !important;
}
html body .etr-section__head--left h2::before { content: none !important; }
html body .etr-section__head--left h2 .etr-accent { color: var(--etr-azul-vivo) !important; }
html body .etr-section__head--left p {
  color: var(--etr-gris-text) !important;
  font-size: 15px !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 14px !important;
  text-align: left !important;
}

.etr-electros-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.etr-electros-grid--4 { grid-template-columns: repeat(4, 1fr); }
.etr-electro-card {
  display: block;
  background: #fff;
  border: 2px solid var(--etr-gris-borde);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.2s;
  color: var(--etr-texto);
  text-decoration: none;
}
.etr-electro-card:hover {
  border-color: var(--etr-azul-vivo);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26,58,108,0.12);
  color: var(--etr-azul-marino);
}
.etr-electro-card__icon {
  width: 80px; height: 80px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--etr-azul-vivo);
}
.etr-electro-card__icon svg { width: 100%; height: 100%; }
.etr-electro-card:hover .etr-electro-card__icon { color: var(--etr-naranja); }
.etr-electro-card h3 {
  font-size: 17px;
  margin: 0 0 4px;
}
.etr-electro-card__meta {
  font-size: 13px;
  color: var(--etr-gris-text);
}

/* =========================================================
   GRID MARCAS
   ========================================================= */
.etr-marcas-section {
  background-image: url('https://www.encuentraturecambio.com/wp-content/uploads/2026/05/Fondo-Marcas-2.png');
  background-size: cover;
  background-position: center;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  padding: 30px 0 60px;
  box-sizing: border-box;
}
.etr-marcas-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.etr-marcas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}
.etr-marca-card {
  background: #fff;
  border: 1px solid var(--etr-gris-borde);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(26,58,108,0.08);
  text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  min-height: 100px;
}
.etr-marca-card:hover {
  border-color: var(--etr-naranja);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(26,58,108,0.18);
}
.etr-marca-card img {
  max-width: 90%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.2s;
}
.etr-marca-card:hover img { opacity: 0.85; }
.etr-marca-card--text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--etr-azul-marino);
  min-height: 0;
  padding: 22px 12px;
}
.etr-marca-card--text:hover { color: var(--etr-naranja); }

/* =========================================================
   HERO HOME — TABS + BOTONES EXTRA + FOTO
   ========================================================= */
.etr-hero__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.etr-hero__tab {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.etr-hero__tab:hover { background: rgba(255,255,255,0.15); }
.etr-hero__tab.active {
  background: #fff;
  color: var(--etr-azul-marino);
  border-color: #fff;
}
.etr-hero__help-row {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 14px; flex-wrap: wrap;
}
.etr-hero__help-row .etr-hero__hint { margin: 0; }
.etr-hero__btn-help {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 7px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: all 0.2s;
}
.etr-hero__btn-help:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
}
.etr-hero__divider {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  margin: 24px auto 18px;
  max-width: 600px;
  color: rgba(255,255,255,0.6);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em;
}
.etr-hero__divider::before, .etr-hero__divider::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(255,255,255,0.2);
}
.etr-hero__btn-foto {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--etr-naranja);
  color: #fff;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  box-shadow: 0 10px 30px rgba(255,107,53,0.35);
  margin: 0 auto;
}
.etr-hero__btn-foto:hover {
  background: var(--etr-naranja-hover);
  transform: translateY(-2px);
  color: #fff;
}
.etr-hero__badge-nuevo {
  background: #fff;
  color: var(--etr-naranja);
  font-size: 11px; font-weight: 800;
  padding: 3px 8px; border-radius: 4px;
  letter-spacing: 0.05em;
}

/* =========================================================
   MODAL "¿DÓNDE ENCUENTRO MI NÚMERO?"
   ========================================================= */
.etr-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15,40,71,0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: flex-start; justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.etr-modal-overlay.open { display: flex; }
.etr-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 640px; width: 100%;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: etr-modal-in 0.25s ease-out;
}
@keyframes etr-modal-in {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.etr-modal__header {
  background: linear-gradient(135deg, var(--etr-azul-hero-1), var(--etr-azul-hero-2));
  color: #fff;
  padding: 26px 30px;
  position: relative;
}
.etr-modal__header h3 { font-size: 20px; margin: 0 0 6px; color: #fff; }
.etr-modal__header p { font-size: 14px; opacity: 0.85; margin: 0; color: #fff; }
.etr-modal__close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  border: 0; border-radius: 50%;
  color: #fff; font-size: 18px;
  cursor: pointer;
}
.etr-modal__close:hover { background: rgba(255,255,255,0.3); }
.etr-modal__tabs {
  display: flex; gap: 4px;
  padding: 14px 20px 0;
  border-bottom: 1px solid var(--etr-gris-borde);
  background: var(--etr-gris-bg);
  overflow-x: auto;
}
.etr-modal__tab {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px; font-weight: 600;
  color: var(--etr-gris-text);
  cursor: pointer;
  white-space: nowrap;
}
.etr-modal__tab.active {
  color: var(--etr-azul-vivo);
  border-bottom-color: var(--etr-azul-vivo);
}
.etr-modal__body { padding: 28px 30px 30px; }
.etr-modal__content { display: none; }
.etr-modal__content.active { display: block; }
.etr-modal__content h4 {
  font-size: 18px;
  color: var(--etr-azul-marino);
  margin: 0 0 10px;
}
.etr-modal__content p {
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
  margin: 0;
}

/* =========================================================
   BLOG
   ========================================================= */
.etr-blog-section {
  background: var(--etr-gris-bg);
  padding: 30px 0;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  box-sizing: border-box;
}
.etr-blog-section .etr-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.etr-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.etr-blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--etr-gris-borde);
  display: flex; flex-direction: column;
  text-decoration: none;
  color: var(--etr-texto);
  transition: all 0.2s;
}
.etr-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  color: var(--etr-texto);
}
.etr-blog-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", emoji, sans-serif !important;
  line-height: 1;
}
.etr-blog-body { padding: 20px; flex: 1; }
.etr-blog-cat {
  display: inline-block;
  background: #eff6ff;
  color: var(--etr-azul-vivo);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.etr-blog-card h3 {
  font-family: 'Inter','Poppins',sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--etr-azul-marino);
  line-height: 1.35;
}
.etr-blog-card p {
  font-size: 14px;
  color: var(--etr-gris-text);
  margin: 0;
  line-height: 1.5;
}
.etr-blog-cta { text-align: center; margin-top: 28px; }
.etr-btn-secondary {
  display: inline-block;
  background: #fff;
  color: var(--etr-azul-vivo);
  border: 2px solid var(--etr-azul-vivo);
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.etr-btn-secondary:hover {
  background: var(--etr-azul-vivo);
  color: #fff;
}

/* =========================================================
   RESEÑAS GOOGLE
   ========================================================= */
.etr-resenas-section {
  background: #fff;
  padding: 30px 0;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  box-sizing: border-box;
}
/* Container más ancho específicamente para reseñas → cajas más anchas */
html body .etr-resenas-section .etr-container {
  max-width: 1500px !important;
  padding: 0 20px !important;
  margin: 0 auto !important;
}
.etr-resenas-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.etr-resena-summary, .etr-resena-card {
  background: #fff;
  border: 1px solid var(--etr-gris-borde);
  border-radius: 14px;
  padding: 24px 22px;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(26,58,108,0.06);
  box-sizing: border-box;
}
.etr-resena-summary:hover, .etr-resena-card:hover {
  box-shadow: 0 12px 28px rgba(26,58,108,0.12);
}
.etr-resena-summary {
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
}
.etr-resena-summary:hover, .etr-resena-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26,58,108,0.06);
}
.etr-google-logo {
  font-family: 'Plus Jakarta Sans','Poppins',sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.etr-google-sub {
  font-size: 11px;
  color: var(--etr-gris-text);
  font-weight: 500;
  margin-bottom: 6px;
}
.etr-rating-big {
  font-family: 'Plus Jakarta Sans','Poppins',sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--etr-azul-marino);
  line-height: 1;
}
.etr-stars-big {
  color: #fbbf24;
  font-size: 20px;
  margin: 4px 0;
  letter-spacing: 2px;
}
.etr-rating-count {
  font-size: 13px;
  color: var(--etr-gris-text);
}
.etr-resena-card {
  position: relative;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
}
.etr-resena-card::before {
  content: '"';
  position: absolute;
  top: 8px; right: 20px;
  font-family: 'Plus Jakarta Sans','Poppins',sans-serif;
  font-size: 80px;
  color: #eff6ff;
  line-height: 1;
  font-weight: 800;
}
.etr-resena-stars {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 1px;
  position: relative; z-index: 2;
}
.etr-resena-text {
  font-size: 14px;
  color: var(--etr-texto);
  margin: 0 0 16px;
  line-height: 1.65;
  position: relative; z-index: 2;
  flex: 1;
}
.etr-resena-author {
  display: flex; align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.etr-resena-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--etr-azul-marino), var(--etr-naranja));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px;
}
.etr-resena-info { font-size: 13px; }
.etr-resena-info strong {
  color: var(--etr-texto);
  font-size: 14px;
  display: block;
}
.etr-resena-meta { color: var(--etr-gris-text); }
.etr-resena-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--etr-azul-vivo);
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
}

/* =========================================================
   VIDEOS YOUTUBE (fondo navy con imagen recambios)
   ========================================================= */
.etr-videos-section {
  background:
    linear-gradient(135deg, rgba(15,40,71,0.92) 0%, rgba(26,58,108,0.88) 100%),
    url('https://recambios-beko.com/wp-content/uploads/2026/05/Fondo-Imagen-Videos.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  box-sizing: border-box;
}
.etr-videos-section::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,107,53,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.etr-videos-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
.etr-videos-head { text-align: center; margin-bottom: 32px; }
.etr-videos-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 10px;
  color: #fff;
  line-height: 1.2;
}
.etr-videos-head h2 .etr-accent { color: var(--etr-naranja); white-space: nowrap; }
.etr-block .etr-nowrap { white-space: nowrap; display: inline-block; }
.etr-videos-head p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
}
.etr-videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.etr-videos-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.etr-videos-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.etr-videos-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* === CARD compacta === */
.etr-video-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--etr-texto);
  text-decoration: none;
}
.etr-video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
  color: var(--etr-texto);
}
.etr-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a3a6c, #0f2847);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.etr-video-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.4) 100%);
}
.etr-play-btn {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.97);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
  color: var(--etr-naranja);
  font-size: 18px;
  padding-left: 3px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.etr-video-card:hover .etr-play-btn { transform: scale(1.08); }
.etr-video-info { padding: 12px 14px 14px; }
.etr-video-info h3 {
  font-size: 14px !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  font-family: 'Inter','Poppins',sans-serif;
  font-weight: 600;
  color: var(--etr-azul-marino);
  line-height: 1.35;
}
.etr-video-meta {
  font-size: 12px;
  color: var(--etr-gris-text);
  margin: 0 !important;
  padding: 0 !important;
}
.etr-videos-cta { text-align: center; margin-top: 28px; }
.etr-btn-yt {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 11px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.etr-btn-yt:hover {
  background: var(--etr-naranja);
  border-color: var(--etr-naranja);
  color: #fff;
}

/* =========================================================
   BANNER WHATSAPP (verde con burbujas)
   ========================================================= */
.etr-wa-banner {
  background:
    radial-gradient(ellipse 600px 300px at 20% 100%, rgba(0,0,0,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 90% 0%, rgba(255,255,255,0.12) 0%, transparent 70%),
    linear-gradient(135deg, #075E27 0%, #128c3a 40%, #25D366 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  box-sizing: border-box;
}
.etr-wa-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0.6;
}
.etr-wa-bubble {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}
.etr-wa-bubble--1 { top: -20px; left: 8%; width: 110px; height: 110px; }
.etr-wa-bubble--2 { bottom: -30px; left: 35%; width: 60px; height: 60px; }
.etr-wa-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.etr-wa-icon-circle {
  width: 70px; height: 70px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.etr-wa-icon-circle svg {
  width: 38px; height: 38px;
  fill: #fff;
}
.etr-wa-banner__text {
  flex: 1;
  min-width: 240px;
  max-width: 480px;
  color: #fff;
}
.etr-wa-banner__text h2 {
  font-size: 26px;
  margin: 0 0 6px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  line-height: 1.2;
}
.etr-wa-strong { font-weight: 800; }
.etr-wa-banner__text p {
  font-size: 15px;
  color: rgba(255,255,255,0.95);
  margin: 0;
  line-height: 1.5;
}
.etr-wa-quick {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  flex-wrap: wrap;
}
.etr-wa-quick span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.etr-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #075E27;
  font-size: 16px;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 12px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22), 0 0 0 4px rgba(255,255,255,0.1);
}
.etr-wa-btn:hover {
  background: #f0fdf4;
  color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.28), 0 0 0 4px rgba(255,255,255,0.15);
}
.etr-wa-btn svg {
  width: 20px; height: 20px;
  fill: currentColor;
}

/* =========================================================
   SEO SECTION (cierre con texto + 4 cards beneficios)
   ========================================================= */
.etr-seo-section {
  background: #f0f7ff;
  padding: 50px 0;
  border-top: 1px solid #dbeafe;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  box-sizing: border-box;
}
.etr-seo-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.etr-seo-title {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--etr-azul-marino);
  margin: 0 0 16px !important;
  padding: 0 !important;
  line-height: 1.25;
}
.etr-seo-title .etr-accent { color: var(--etr-azul-vivo); }
.etr-seo-p {
  font-size: 16px;
  color: #334155;
  line-height: 1.7;
  margin: 0 0 12px !important;
  padding: 0 !important;
  text-align: center;
}
.etr-seo-p:last-child { margin-bottom: 0 !important; }
.etr-seo-p strong { color: var(--etr-azul-marino); }
.etr-seo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.etr-seo-card {
  background: #fff;
  border: 1px solid #e0eaf7;
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
}
.etr-seo-ico { font-size: 28px; margin-bottom: 8px; }
.etr-seo-card h4 {
  font-family: 'Inter','Poppins',sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--etr-azul-marino);
  margin: 0 0 4px;
}
.etr-seo-card p {
  font-size: 11px;
  color: var(--etr-gris-text);
  margin: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* === BREAKPOINT 1100px === */
@media (max-width: 1100px) {
  .etr-electros-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

/* === BREAKPOINT 900px (tablet) === */
@media (max-width: 900px) {
  .etr-hero__search { flex-direction: column; }
  .etr-hero__search button { width: 100%; }
  /* Hero home compacto en tablet */
  .etr-hero--home { padding: 60px 0 50px !important; }
  .etr-hero--home .etr-hero__h1,
  .etr-hero--home .etr-hero__sub,
  .etr-hero--home .etr-hero__tabs,
  .etr-hero--home .etr-hero__search,
  .etr-hero--home .etr-hero__help-row,
  .etr-hero--home .etr-hero__divider { max-width: 100% !important; }
  /* Videos 2 cols */
  .etr-videos-grid,
  .etr-videos-grid--cols-3,
  .etr-videos-grid--cols-4 { grid-template-columns: repeat(2, 1fr) !important; }
  /* Blog 2 cols */
  .etr-blog-grid { grid-template-columns: repeat(2, 1fr) !important; }
  /* Reseñas 2 cols */
  .etr-resenas-row { grid-template-columns: repeat(2, 1fr) !important; }
  /* Electros 3 cols en tablet */
  .etr-electros-grid { grid-template-columns: repeat(3, 1fr) !important; }
  /* Marcas 4 cols en tablet */
  .etr-marcas-grid { grid-template-columns: repeat(4, 1fr) !important; }
  /* Piezas 3 cols en tablet */
  .etr-piezas-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 12px; }
  /* Más buscados 3 cols en tablet */
  .etr-mas-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 14px; }
  /* WA Banner stack */
  .etr-wa-banner__inner { flex-direction: column !important; text-align: center; gap: 20px; }
  .etr-wa-quick { justify-content: center; }
}

/* === BREAKPOINT 600px (móvil) === */
@media (max-width: 600px) {
  .etr-section { padding: 40px 0; }

  /* Trust bar */
  .etr-trust { padding: 14px 0; }
  .etr-trust__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-left: 32px;
  }
  .etr-trust__item { font-size: 13px; gap: 8px; }
  .etr-trust__check { width: 20px; height: 20px; font-size: 11px; }

  /* === Hero home móvil: layout limpio y centrado === */
  .etr-hero--home {
    padding: 40px 0 40px !important;
    text-align: center !important;
    /* Fondo desplazado al centro en móvil para mayor legibilidad */
    background:
      linear-gradient(180deg, rgba(15,40,71,0.75) 0%, rgba(15,40,71,0.88) 100%),
      url('https://www.encuentraturecambio.com/wp-content/uploads/2026/05/banner-fondo-4.png') !important;
    background-size: cover !important;
    background-position: center !important;
  }
  .etr-hero--home .etr-container { padding: 0 20px !important; }
  /* Quitar el max-width: 600px y left-align del desktop */
  .etr-hero--home .etr-hero__h1,
  .etr-hero--home .etr-hero__sub,
  .etr-hero--home .etr-hero__tabs,
  .etr-hero--home .etr-hero__search,
  .etr-hero--home .etr-hero__help-row,
  .etr-hero--home .etr-hero__divider {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .etr-hero--home h1 { font-size: clamp(26px, 8vw, 34px) !important; }
  .etr-hero--home .etr-hero__sub { font-size: 14px !important; margin-bottom: 22px !important; }

  /* === Tabs apiladas verticalmente (full width) === */
  .etr-hero__tabs {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: stretch !important;
    margin-bottom: 18px !important;
    max-width: 320px !important;
  }
  .etr-hero__tab {
    padding: 12px 16px !important;
    font-size: 14px !important;
    width: 100% !important;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* === Help row centrada === */
  .etr-hero__help-row {
    flex-direction: column !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .etr-hero__btn-help { font-size: 12px !important; padding: 8px 14px !important; }

  /* === Divisor "O" más compacto === */
  .etr-hero__divider { margin: 18px auto 14px !important; max-width: 280px !important; }

  /* === Botón "Sube una foto" en móvil: compacto, sin desbordes === */
  .etr-hero__btn-foto {
    padding: 12px 14px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
    gap: 8px !important;
    max-width: 320px !important;
    line-height: 1.3 !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .etr-hero__badge-nuevo {
    font-size: 9px !important;
    padding: 2px 6px !important;
    flex-shrink: 0;
  }

  /* Electrodomésticos 2 cols */
  .etr-electros-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .etr-electro-card { padding: 18px 10px; }
  .etr-electro-card__icon { width: 56px; height: 56px; margin-bottom: 10px; }
  .etr-electro-card h3 { font-size: 14px; }
  .etr-electro-card__meta { font-size: 11px; }

  /* Piezas 2 cols en móvil (igual mockup) */
  .etr-piezas-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .etr-pieza-card__img { height: 100px !important; padding: 10px !important; }
  .etr-pieza-card__body { padding: 10px 12px 12px !important; }
  .etr-pieza-card__name { font-size: 13px !important; }
  .etr-pieza-card__desc { font-size: 11px !important; }

  /* Más buscados 2 cols en móvil */
  .etr-mas-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .etr-mas-card__img { padding: 8px; }
  .etr-mas-card__body { padding: 10px 12px 12px; }
  .etr-mas-card__mark { font-size: 9px; }
  .etr-mas-card__btn { padding: 8px 10px; font-size: 11px; }

  /* Marcas 3 cols (igual mockup móvil) */
  .etr-marcas-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px; }
  .etr-marca-card { padding: 10px 8px; min-height: 70px; }
  .etr-marca-card img { max-height: 42px; }
  .etr-marca-card--text { font-size: 14px; padding: 14px 6px !important; }

  /* Videos 2 cols móvil — diseño compacto */
  .etr-videos-grid,
  .etr-videos-grid--cols-2,
  .etr-videos-grid--cols-3,
  .etr-videos-grid--cols-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .etr-video-card { border-radius: 10px; box-shadow: 0 3px 12px rgba(0,0,0,0.18); }
  .etr-video-thumb { aspect-ratio: 16/9; }
  /* Info: padding mínimo y reset agresivo del h3 (sin margin-top del tema) */
  .etr-video-info { padding: 10px 12px 12px !important; }
  .etr-video-info h3 {
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
  }
  .etr-video-meta { font-size: 11px !important; margin: 0 !important; padding: 0 !important; }
  .etr-play-btn {
    width: 42px; height: 42px;
    font-size: 16px;
    padding-left: 3px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: none;
  }
  .etr-videos-section { padding: 30px 0; }
  .etr-videos-head { margin-bottom: 24px; }
  .etr-videos-head h2 { font-size: 22px !important; margin: 0 0 6px !important; }
  .etr-videos-head p { font-size: 14px; margin: 0 !important; }
  .etr-videos-cta { margin-top: 22px; }
  .etr-btn-yt { padding: 10px 22px; font-size: 13px; }

  /* WA Banner */
  .etr-wa-banner { padding: 36px 0; }
  .etr-wa-banner__inner { gap: 18px; flex-direction: column !important; text-align: center; }
  .etr-wa-banner__text h2 { font-size: 20px; }
  .etr-wa-banner__text p { font-size: 13px; }
  .etr-wa-quick { flex-direction: column; align-items: center; gap: 4px; }
  .etr-wa-btn { padding: 14px 24px; font-size: 14px; }

  /* SEO */
  .etr-seo-section { padding: 24px 0; }
  .etr-seo-title { margin-bottom: 14px !important; }
  .etr-seo-cards { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .etr-seo-p { font-size: 14px; }

  /* Blog 2 cols (igual mockup móvil) */
  .etr-blog-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .etr-blog-body { padding: 12px; }
  .etr-blog-card h3 { font-size: 13px; line-height: 1.3; }
  .etr-blog-card p { font-size: 11px; line-height: 1.4; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .etr-blog-cat { font-size: 9px; padding: 2px 6px; margin-bottom: 6px; }
  .etr-blog-img { font-size: 28px; }
  .etr-blog-section { padding: 50px 0; }

  /* Reseñas: padding lateral reducido + 2 cols, sin min-height */
  .etr-resenas-section .etr-container { padding: 0 10px !important; }
  .etr-resenas-row { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  .etr-resena-summary, .etr-resena-card { min-height: 0 !important; padding: 14px !important; }
  .etr-resena-text { font-size: 12px; line-height: 1.5; margin-bottom: 12px; flex: 1; }
  .etr-resena-summary, .etr-resena-card { padding: 14px !important; }
  .etr-resena-text { font-size: 12px; line-height: 1.5; margin-bottom: 12px; }
  .etr-resena-author { padding-top: 10px; gap: 8px; }
  .etr-resena-avatar { width: 32px; height: 32px; font-size: 13px; }
  .etr-resena-info strong { font-size: 13px; }
  .etr-resena-meta, .etr-resena-verified { font-size: 10px; }
  .etr-rating-big { font-size: 32px; }
  .etr-stars-big { font-size: 16px; }
  .etr-rating-count { font-size: 11px; }
  .etr-google-logo { font-size: 18px; }
  .etr-google-sub { font-size: 11px; margin-bottom: 6px; margin-top: -6px; }
  .etr-resenas-section { padding: 50px 0; }
  /* Section padding general en móvil */
  .etr-section { padding: 50px 0; }
  /* Comilla decorativa más pequeña en móvil pero presente */
  .etr-resena-card::before { font-size: 60px; top: 4px; right: 12px; }
}

/* =========================================================
   GRID PIEZAS (subcategorías de un electrodoméstico)
   ========================================================= */
.etr-piezas-section {
  background: #fff;
  padding: 30px 0 !important;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  box-sizing: border-box;
}
.etr-piezas-section .etr-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.etr-piezas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.etr-pieza-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--etr-gris-borde);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--etr-texto);
  transition: all 0.2s;
  position: relative;
}
.etr-pieza-card:hover {
  border-color: var(--etr-azul-vivo);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26,58,108,0.12);
  color: var(--etr-azul-marino);
}
.etr-pieza-card__img {
  width: 100%;
  height: 130px;
  background: #f8fafd;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
  box-sizing: border-box;
}
.etr-pieza-card__img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s;
}
.etr-pieza-card:hover .etr-pieza-card__img img { transform: scale(1.06); }
.etr-pieza-card__body { flex: 1; }
.etr-pieza-card__badge {
  display: inline-block;
  margin-top: 8px;
  background: rgba(37,211,102,0.12);
  color: #047857;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}
.etr-pieza-card--wa {
  border-color: rgba(37,211,102,0.4);
}
.etr-pieza-card--wa:hover {
  border-color: #25D366;
  box-shadow: 0 12px 28px rgba(37,211,102,0.18);
}

/* =========================================================
   GRID RECAMBIOS MÁS BUSCADOS
   ========================================================= */
.etr-mas-section {
  background: var(--etr-gris-bg);
  padding: 30px 0 !important;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  box-sizing: border-box;
}
.etr-mas-section .etr-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.etr-mas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.etr-mas-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--etr-gris-borde);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.etr-mas-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26,58,108,0.12);
  border-color: var(--etr-azul-vivo);
}
.etr-mas-card__stock {
  position: absolute;
  top: 10px; left: 10px;
  background: #d1fae5;
  color: #047857;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  z-index: 2;
}
.etr-mas-card__img {
  aspect-ratio: 4/3;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  overflow: hidden;
}
.etr-mas-card__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s;
}
.etr-mas-card:hover .etr-mas-card__img img { transform: scale(1.06); }
.etr-mas-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.etr-mas-card__ref {
  font-size: 10px;
  color: var(--etr-gris-text);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.etr-mas-card__marks {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  flex: 1;
}
.etr-mas-card__mark {
  background: #eff6ff;
  color: var(--etr-azul-vivo);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.etr-mas-card__btn {
  display: inline-block;
  background: var(--etr-azul-vivo);
  color: #fff !important;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s;
}
.etr-mas-card__btn:hover { background: var(--etr-azul-vivo-hover); color: #fff !important; }

/* === BREAKPOINT 400px (móvil pequeño) === */
@media (max-width: 400px) {
  /* Marcas siguen en 3 cols (igual mockup), padding ajustado */
  .etr-marcas-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 6px !important; }
  .etr-marca-card--text { padding: 14px 4px !important; font-size: 14px !important; }
  .etr-seo-cards { grid-template-columns: 1fr !important; }
}

/* ============================================================
 * FIX TIPOGRAFIA / CENTRADO / MARGEN SUP. - seccion "Elige recambio"
 * Igualar al mockup-categoria-lavadoras.html.
 * Alta especificidad para vencer al tema ASAP (que infla h2).
 * ============================================================ */
html body .etr-piezas-section {
  padding: 60px 0 !important;
}
html body .etr-piezas-section .etr-section__head--left {
  margin-bottom: 30px !important;
}
html body .etr-piezas-section .etr-section__head--left h2 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: clamp(20px, 2.2vw, 28px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin: 0 0 8px !important;
  padding: 0 0 0 14px !important;
}
html body .etr-piezas-section .etr-section__head--left p {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: var(--etr-gris-text) !important;
  margin: 0 !important;
  padding: 0 0 0 14px !important;
}

/* Cards: centrar texto + fijar tamanos fijos (como mockup) */
html body .etr-pieza-card { text-align: center !important; }
html body .etr-pieza-card__body {
  padding: 14px 12px 16px !important;
  text-align: center !important;
}
html body .etr-pieza-card__name {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--etr-azul-marino) !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  text-align: center !important;
}
html body .etr-pieza-card__desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: var(--etr-gris-text) !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}
html body .etr-pieza-card__badge {
  margin-top: 8px !important;
}

/* Movil: mantenemos centrado y reducimos como el mockup */
@media (max-width: 600px) {
  html body .etr-piezas-section { padding: 40px 0 !important; }
  html body .etr-pieza-card__name { font-size: 13px !important; }
  html body .etr-pieza-card__desc { font-size: 11px !important; }
}

/* ============================================================
 * KILL ASAP THEME ::before / ::after HACK
 * El tema ASAP inyecta ::before display:block height:70px en
 * .the-content h2, .the-content h2 span, .the-content h3 y
 * .the-content h3 span (truco scroll-anchor para header sticky).
 * Eso rompe el span .etr-accent forzando un salto de linea y mete
 * margen superior fantasma. Lo anulamos en TODOS los bloques etr.
 * ============================================================ */
html body .the-content .etr-block h1::before,
html body .the-content .etr-block h1::after,
html body .the-content .etr-block h2::before,
html body .the-content .etr-block h2::after,
html body .the-content .etr-block h3::before,
html body .the-content .etr-block h3::after,
html body .the-content .etr-block h4::before,
html body .the-content .etr-block h4::after,
html body .the-content .etr-block h1 span::before,
html body .the-content .etr-block h1 span::after,
html body .the-content .etr-block h2 span::before,
html body .the-content .etr-block h2 span::after,
html body .the-content .etr-block h3 span::before,
html body .the-content .etr-block h3 span::after,
html body .the-content .etr-block h4 span::before,
html body .the-content .etr-block h4 span::after,
html body .the-content .etr-block h1 b::before,
html body .the-content .etr-block h1 b::after,
html body .the-content .etr-block h2 b::before,
html body .the-content .etr-block h2 b::after,
html body .the-content .etr-block h3 b::before,
html body .the-content .etr-block h3 b::after,
html body .the-content .etr-block h4 b::before,
html body .the-content .etr-block h4 b::after {
  display: none !important;
  content: none !important;
  margin: 0 !important;
  height: 0 !important;
  width: 0 !important;
  visibility: visible !important;
}

/* Forzar etr-accent inline (span O b) para que no salte de linea */
html body .the-content .etr-block .etr-accent,
html body .etr-block .etr-accent {
  display: inline !important;
  white-space: normal !important;
  width: auto !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}

/* ============================================================
 * FORZAR ANCHO DE LOS H2 dentro de etr-block para que no queden
 * encajonados por .grid-container o por .article-loop del tema.
 * ============================================================ */
html body .the-content .etr-block .etr-section__head,
html body .the-content .etr-block .etr-section__head--left,
html body .the-content .etr-block .etr-videos-head {
  width: 100% !important;
  max-width: none !important;
}
html body .the-content .etr-block .etr-section__head h2,
html body .the-content .etr-block .etr-section__head--left h2,
html body .the-content .etr-block .etr-videos-head h2 {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  white-space: normal !important;
}

/* ============================================================
 * TIPOGRAFIA UNIFICADA EN TODOS LOS H2 DE BLOQUES .etr-block
 * Mismo tamaño, peso, fuente, line-height — color varía por
 * contexto (azul-marino por defecto, blanco en hero/videos).
 * ============================================================ */
html body .the-content .etr-block h2,
html body .the-content .etr-block .etr-section__head h2,
html body .the-content .etr-block .etr-section__head--left h2,
html body .the-content .etr-block .etr-videos-head h2,
html body .the-content .etr-block .etr-seo-title {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(22px, 2.5vw, 30px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  margin: 0 0 8px !important;
}

/* Variante "--left" (categoría): barra vertical azul a la izquierda */
html body .the-content .etr-block .etr-section__head--left h2 {
  color: var(--etr-azul-marino) !important;
  padding: 0 0 0 14px !important;
  border-left: 5px solid var(--etr-azul-vivo) !important;
  border-radius: 3px !important;
  display: block !important;
  text-align: left !important;
}

/* Variante centrada (mas-buscados, marcas, blog, resenas) */
html body .the-content .etr-block .etr-section__head:not(.etr-section__head--left) h2 {
  color: var(--etr-azul-marino) !important;
  text-align: center !important;
  padding: 0 !important;
}

/* Videos / Hero: H2 en blanco (sobre gradiente oscuro) */
html body .the-content .etr-block .etr-videos-head h2,
html body .the-content .etr-block .etr-videos-section h2 {
  color: #fff !important;
  text-align: center !important;
  padding: 0 !important;
}

/* Subtítulo <p> unificado */
html body .the-content .etr-block .etr-section__head p,
html body .the-content .etr-block .etr-section__head--left p,
html body .the-content .etr-block .etr-videos-head p {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: var(--etr-gris-text) !important;
  margin: 0 !important;
  letter-spacing: 0 !important;
}
html body .the-content .etr-block .etr-section__head--left p {
  text-align: left !important;
  padding: 0 0 0 14px !important;
  max-width: none !important;
}
html body .the-content .etr-block .etr-section__head:not(.etr-section__head--left) p,
html body .the-content .etr-block .etr-videos-head p {
  text-align: center !important;
  padding: 0 !important;
  max-width: 580px !important;
  margin: 0 auto !important;
}
html body .the-content .etr-block .etr-videos-head p {
  color: rgba(255,255,255,0.75) !important;
}

/* Padding superior+inferior unificado en TODAS las secciones de etr-block */
html body .the-content .etr-block.etr-section,
html body .the-content .etr-block.etr-marcas-section,
html body .the-content .etr-block.etr-videos-section,
html body .the-content .etr-block.etr-blog-section,
html body .the-content .etr-block.etr-resenas-section,
html body .the-content .etr-block.etr-mas-section,
html body .the-content .etr-block.etr-seo-section {
  padding: 60px 0 !important;
}
@media (max-width: 600px) {
  html body .the-content .etr-block.etr-section,
  html body .the-content .etr-block.etr-marcas-section,
  html body .the-content .etr-block.etr-videos-section,
  html body .the-content .etr-block.etr-blog-section,
  html body .the-content .etr-block.etr-resenas-section,
  html body .the-content .etr-block.etr-mas-section,
  html body .the-content .etr-block.etr-seo-section {
    padding: 40px 0 !important;
  }
}
