/**
 * Portada principal — index.php / index-alt.php
 * Solo clases .home-alt-*
 */
.home-alt-page {
  --ha-dark: #111111;
  --ha-dark-soft: #1c1c1c;
  --ha-muted: #6b6b6b;
  --ha-border: #e5e5e5;
  --ha-surface: #f7f7f7;
  --ha-radius: 8px;
  --ha-section-space: clamp(2.5rem, 5vw, 3.75rem);
  /* Altura del banner — ajustá solo este % (ej. 28vh, 35vh, 42vh) */
  --home-banner-height: 55vh;
  max-width: 100%;
  overflow-x: clip;
}

/* Hero — ancho completo de la página, imagen sin recortar */
.home-alt-hero-block {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #f5f3f0;
}
.home-alt-hero-block .hero-banner {
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: #f5f3f0;
}
.home-alt-hero-block .hero-banner-container,
.home-alt-hero-block .hero-banner-view {
  width: 100%;
  height: var(--home-banner-height);
  max-height: var(--home-banner-height);
}
.home-alt-hero-block .hero-banner-view {
  line-height: 0;
  overflow: hidden;
}
.home-alt-hero-block .hero-banner-track {
  height: 100%;
}
.home-alt-hero-block .hero-banner-slide {
  display: block;
  height: 100%;
  line-height: 0;
  background: #f5f3f0;
  position: relative;
}
.home-alt-hero-block .hero-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.home-alt-hero-block .hero-banner-cta {
  left: clamp(14%, 20vw, 24%);
  top: 58%;
}

@media (min-width: 769px) {
  .home-alt-hero-block .hero-banner-cta {
    top: 46%;
    padding: 1.35rem 2.55rem;
    font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  }
}

/* Móvil/tablet: mostrar el banner completo (sin recorte) */
@media (max-width: 900px) {
  .home-alt-page {
    --home-banner-height: auto;
  }
  .home-alt-hero-block {
    overflow: visible;
  }
  .home-alt-hero-block .hero-banner-container,
  .home-alt-hero-block .hero-banner-view {
    height: auto;
    max-height: none;
  }
  .home-alt-hero-block .hero-banner-view {
    overflow: visible;
  }
  .home-alt-hero-block .hero-banner-track {
    height: auto;
    align-items: flex-start;
  }
  .home-alt-hero-block .hero-banner-slide {
    height: auto;
  }
  .home-alt-hero-block .hero-banner-slide img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
  }
}

@media (max-width: 768px) {
  .home-alt-hero-block .hero-banner-cta {
    left: 50%;
    top: auto;
    bottom: clamp(0.85rem, 3.5vw, 1.35rem);
    padding: 0.88rem 1.45rem;
    font-size: 0.82rem;
  }
}

/* Hub categorías — carrusel elegante */
.home-alt-cat-hub {
  padding: clamp(2.25rem, 4.5vw, 3.25rem) 0 clamp(2rem, 3.5vw, 2.75rem);
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  border-bottom: 1px solid var(--ha-border);
}
.home-alt-cat-hub-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
}
.home-alt-cat-hub-head {
  margin-bottom: 1.75rem;
}
.home-alt-cat-hub-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold, #9a6b48);
}
.home-alt-cat-hub-title {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ha-dark);
}

.home-alt-cat-carousel {
  position: relative;
}
.home-alt-cat-carousel-stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.home-alt-cat-carousel-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.home-alt-cat-carousel-fade.is-visible {
  opacity: 1;
}
.home-alt-cat-carousel-fade--left {
  left: 44px;
  background: linear-gradient(90deg, #fafafa 15%, transparent);
}
.home-alt-cat-carousel-fade--right {
  right: 44px;
  background: linear-gradient(270deg, #fff 15%, transparent);
}
.home-alt-cat-carousel-nav {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--ha-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  z-index: 3;
}
.home-alt-cat-carousel-nav:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.home-alt-cat-carousel-nav:disabled {
  opacity: 0;
  pointer-events: none;
}
.home-alt-cat-carousel-view {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.35rem 0 0.75rem;
}
.home-alt-cat-carousel-view::-webkit-scrollbar {
  display: none;
}
.home-alt-cat-carousel-track {
  display: flex;
  justify-content: flex-start;
  gap: clamp(1.25rem, 3.5vw, 2.25rem);
  padding: 0 0.25rem;
  width: max-content;
  min-width: min(100%, max-content);
}
.home-alt-cat-carousel-track.is-centered {
  justify-content: center;
  min-width: 100%;
}
.home-alt-cat-circle {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: clamp(112px, 15vw, 152px);
  text-decoration: none;
  color: inherit;
}
.home-alt-cat-circle:hover {
  text-decoration: none;
}
.home-alt-cat-circle-media {
  display: block;
  width: clamp(100px, 13vw, 136px);
  height: clamp(100px, 13vw, 136px);
  border-radius: 50%;
  overflow: hidden;
  padding: 3px;
  background: linear-gradient(145deg, #e8e8e8, #fff);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.home-alt-cat-circle-media img,
.home-alt-cat-circle-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.home-alt-cat-circle-placeholder {
  background: linear-gradient(145deg, #f0f0f0 0%, #e0e0e0 100%);
}
.home-alt-cat-circle:hover .home-alt-cat-circle-media {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.11),
    0 0 0 2px rgba(154, 107, 72, 0.25);
}
.home-alt-cat-circle-label {
  font-size: clamp(0.68rem, 1.6vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ha-dark);
  line-height: 1.3;
  text-align: center;
  transition: color 0.2s;
}
.home-alt-cat-circle:hover .home-alt-cat-circle-label {
  color: var(--color-gold, #9a6b48);
}

/* Testimonios — carrusel elegante */
.home-alt-reviews-strip {
  position: relative;
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  background: #fff;
  border-bottom: 1px solid var(--ha-border);
  overflow: hidden;
}
.home-alt-reviews-strip-head {
  max-width: 1080px;
  margin: 0 auto 1.35rem;
  padding: 0 1.25rem;
  text-align: center;
}
.home-alt-reviews-strip-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold, #9a6b48);
}
.home-alt-reviews-strip-title {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 600;
  color: var(--ha-dark);
}
.home-alt-reviews-strip .home-alt-testimonials-view {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}
.home-alt-reviews-strip .home-alt-testimonials-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.25rem 1.25rem;
  animation: home-alt-testimonials-scroll 55s linear infinite;
}
.home-alt-reviews-strip .home-alt-testimonials-track:hover {
  animation-play-state: paused;
}
@keyframes home-alt-testimonials-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-alt-review {
  flex: 0 0 auto;
  width: min(320px, 82vw);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--ha-border);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.home-alt-review:hover {
  border-color: #ddd;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}
.home-alt-review-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ha-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}
.home-alt-review-body { min-width: 0; }
.home-alt-review-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.2rem;
}
.home-alt-review-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ha-dark);
}
.home-alt-review-stars {
  font-size: 0.72rem;
  color: #f5a623;
  letter-spacing: 0.05em;
}
.home-alt-review-badge {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #2e7d4f;
  background: #e8f5ec;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}
.home-alt-review-product {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  color: var(--ha-muted);
  line-height: 1.35;
}
.home-alt-review-product strong {
  color: var(--color-text);
  font-weight: 600;
}
.home-alt-review-text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #444;
}

/* Contenedor interno */
.home-alt-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Títulos de sección */
.home-alt-section {
  padding: var(--ha-section-space) 0;
}
.home-alt-section-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ha-muted);
}
.home-alt-section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ha-dark);
  text-transform: uppercase;
}
.home-alt-section-desc {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  color: var(--ha-muted);
  max-width: 560px;
}
.home-alt-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.home-alt-section-head .home-alt-section-desc { margin-bottom: 0; }

.home-alt-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  background: var(--ha-dark);
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  transition: background 0.2s;
}
.home-alt-btn-dark:hover {
  background: #333;
  color: #fff !important;
  text-decoration: none;
}
.home-alt-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  background: transparent;
  color: var(--ha-dark) !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ha-dark);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.home-alt-btn-outline:hover {
  background: var(--ha-dark);
  color: #fff !important;
  text-decoration: none;
}

/* Tarjetas informativas con imagen de fondo */
.home-alt-info-section {
  padding: var(--ha-section-space) 0 0;
}
.home-alt-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.home-alt-info-card {
  position: relative;
  min-height: clamp(280px, 32vw, 360px);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-color: #2a2a2a;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.home-alt-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}
.home-alt-info-card-bg {
  position: absolute;
  inset: 0;
  background-image: var(--info-bg, none);
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}
.home-alt-info-card:hover .home-alt-info-card-bg {
  transform: scale(1.03);
}
.home-alt-info-card-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 15, 0.08) 0%,
    rgba(15, 15, 15, 0.35) 42%,
    rgba(15, 15, 15, 0.88) 100%
  );
  transition: background 0.35s ease;
}
.home-alt-info-card:hover .home-alt-info-card-shade {
  background: linear-gradient(
    180deg,
    rgba(15, 15, 15, 0.12) 0%,
    rgba(15, 15, 15, 0.45) 40%,
    rgba(15, 15, 15, 0.94) 100%
  );
}
.home-alt-info-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.65rem 1.5rem 1.5rem;
  text-align: left;
  color: #fff;
}
.home-alt-info-card h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.35;
}
.home-alt-info-card p {
  margin: 0 0 1.15rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32ch;
}
.home-alt-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.home-alt-info-btn--solid {
  background: #fff;
  color: var(--ha-dark) !important;
  border: 1px solid #fff;
}
.home-alt-info-btn--solid:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ha-dark) !important;
  text-decoration: none;
  transform: translateY(-1px);
}
.home-alt-info-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}
.home-alt-info-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
  border-color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .home-alt-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .home-alt-info-card {
    min-height: 260px;
  }
  .home-alt-info-card p {
    max-width: none;
  }
}

/* En tendencia — marcas */
.home-alt-trending {
  padding-top: 0;
}
.home-alt-trending-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-alt-trending-list a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid var(--ha-border);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ha-dark);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.home-alt-trending-list a:hover {
  border-color: var(--ha-dark);
  background: var(--ha-surface);
  text-decoration: none;
}

/* Categorías rápidas */
.home-alt-quick-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.home-alt-quick-cats a {
  padding: 0.45rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ha-dark);
  border-bottom: 2px solid transparent;
}
.home-alt-quick-cats a:hover {
  border-bottom-color: var(--ha-dark);
  text-decoration: none;
}

/* Productos — grid estilo tienda */
.home-alt-products .products-grid-home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}
.home-alt-products .product-card {
  border: 1px solid var(--ha-border);
  border-radius: var(--ha-radius);
  box-shadow: none;
  background: #fff;
  overflow: hidden;
}
.home-alt-products .product-card:hover {
  border-color: #ccc;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.home-alt-products .product-card-image-wrap {
  background: var(--ha-surface);
}
.home-alt-products .product-card-body {
  padding: 0.85rem 0.9rem 1rem;
}
.home-alt-products .product-card-title {
  font-size: 0.88rem;
  line-height: 1.35;
  min-height: 2.7em;
}
.home-alt-products .product-card-categories {
  font-size: 0.72rem;
  color: var(--ha-muted);
}
.home-alt-products .product-card-price {
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  white-space: normal;
}

@media (min-width: 769px) {
  .home-alt-products .product-card-price {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 8px;
    white-space: nowrap;
  }
}

.home-alt-destacados-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.home-alt-destacados-head h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Testimonios sección completa */
.home-alt-reviews-section {
  background: var(--ha-surface);
  border-block: 1px solid var(--ha-border);
}
.home-alt-reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.home-alt-reviews-section .home-alt-review {
  width: auto;
  flex-direction: column;
  align-items: stretch;
  box-shadow: none;
  border: 1px solid var(--ha-border);
  background: #fff;
  animation: none;
}
.home-alt-reviews-section .home-alt-review-avatar {
  width: 36px;
  height: 36px;
}

/* FAQ acordeón */
.home-alt-faq {
  max-width: 820px;
}
.home-alt-faq-item {
  border-bottom: 1px solid var(--ha-border);
}
.home-alt-faq-item:first-child {
  border-top: 1px solid var(--ha-border);
}
.home-alt-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ha-dark);
  cursor: pointer;
  list-style: none;
}
.home-alt-faq-q::-webkit-details-marker { display: none; }
.home-alt-faq-q::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ha-muted);
  line-height: 1;
}
.home-alt-faq-item[open] .home-alt-faq-q::after {
  content: '−';
}
.home-alt-faq-a {
  padding: 0 0 1.1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #444;
}
.home-alt-faq-a p { margin: 0 0 0.65rem; }
.home-alt-faq-a p:last-child { margin-bottom: 0; }
.home-alt-faq-a a {
  color: var(--color-gold);
  font-weight: 500;
}

/* Cintillo de marcas — arriba del blog */
.home-alt-brands-strip {
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(0.5rem, 2vw, 1rem);
  border-top: 1px solid var(--ha-border);
}
.home-alt-brands-strip-head {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  max-width: 640px;
}
.home-alt-brands-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ha-dark);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.home-alt-brands-leaf {
  font-size: 1.05em;
  line-height: 1;
}
.home-alt-brands-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ha-muted);
}
.home-alt-brands-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -1.25rem;
  padding: 0.25rem 0;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}
.home-alt-brands-carousel-view {
  overflow: hidden;
  width: 100%;
}
.home-alt-brands-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: clamp(1.75rem, 4vw, 3rem);
  width: max-content;
  padding: 0.35rem 1.25rem;
  animation: home-alt-brands-scroll var(--home-brands-scroll-duration, 120s) linear infinite;
  will-change: transform;
}
.home-alt-brands-carousel-track:hover {
  animation-play-state: paused;
}
@keyframes home-alt-brands-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .home-alt-brands-carousel-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }
  .home-alt-brands-carousel {
    mask-image: none;
    -webkit-mask-image: none;
  }
}
.home-alt-brand-logo {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  width: clamp(108px, 14vw, 148px);
  min-height: 84px;
  padding: 0.5rem 0.35rem 0.15rem;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.home-alt-brand-logo:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  text-decoration: none;
}
.home-alt-brand-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.82;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.home-alt-brand-logo:hover img {
  opacity: 1;
  filter: grayscale(40%);
}
.home-alt-brand-name {
  display: block;
  max-width: 100%;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  color: #777;
  transition: color 0.2s ease;
}
.home-alt-brand-logo:hover .home-alt-brand-name {
  color: #333;
}

/* Temporal: solo texto (HOME_BRANDS_HUB_SHOW_LOGOS = false) */
.home-alt-brands-strip--text-only .home-alt-brand-logo {
  justify-content: center;
  min-height: auto;
  width: clamp(120px, 16vw, 170px);
  padding: 0.35rem 0.5rem;
}

.home-alt-brands-strip--text-only .home-alt-brand-name {
  font-size: 0.68rem;
  color: #555;
}

/* Blog — portada */
.home-alt-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.home-alt-blog-grid .blog-card {
  border: 1px solid var(--ha-border);
  border-radius: var(--ha-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.home-alt-blog-grid .blog-card-image {
  flex-shrink: 0;
  height: 200px;
  background: #f0eeec;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-alt-blog-grid .blog-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-alt-blog-grid .blog-card-body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-alt-blog-grid .blog-card-title {
  font-size: 0.95rem;
  line-height: 1.35;
}
.home-alt-blog-grid .blog-card-excerpt {
  flex: 1;
  margin-bottom: 0.75rem;
}
.home-alt-blog-date {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  color: var(--ha-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.home-alt-blog-grid .blog-card-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .home-alt-products .products-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-alt-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-alt-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .home-alt-products .products-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
  .home-alt-brand-logo {
    min-height: 78px;
    width: 118px;
    gap: 0.35rem;
  }
  .home-alt-brand-logo img {
    max-height: 38px;
  }
  .home-alt-brand-name {
    font-size: 0.55rem;
    letter-spacing: 0.04em;
  }
  .home-alt-blog-grid {
    grid-template-columns: 1fr;
  }
  .home-alt-cat-hub-inner {
    padding: 0;
  }
  .home-alt-cat-hub-head {
    padding: 0 1.25rem;
    margin-bottom: 1.35rem;
  }
  .home-alt-cat-carousel-stage {
    gap: 0;
  }
  .home-alt-cat-carousel-nav {
    display: none;
  }
  .home-alt-cat-carousel-fade {
    display: none;
  }
  .home-alt-cat-carousel-view {
    flex: 1 1 auto;
    width: 100%;
    padding: 0.35rem 0 0.75rem;
    scroll-padding-inline: 1.25rem;
  }
  .home-alt-cat-carousel-track {
    justify-content: flex-start;
    gap: 1rem;
    padding: 0 1.25rem;
  }
  .home-alt-cat-circle {
    width: 96px;
  }
  .home-alt-cat-circle-media {
    width: 88px;
    height: 88px;
  }
  .home-alt-cat-circle-label {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }
  .home-alt-reviews-strip .home-alt-testimonials-track {
    animation-duration: 55s;
  }
}

@media (max-width: 480px) {
  .home-alt-products .products-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-alt-reviews-grid {
    grid-template-columns: 1fr;
  }
}
