/* ================================================================
   Infy Theme — Homepage Sections
   ================================================================ */

/* ── Hero (ancho completo viewport) ───────────────────────────── */
.hero.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  min-height: clamp(580px, 90vh, 960px);
  height: 92vh;
}

/* Fondo turquesa — forma PNG a ancho completo */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__bg-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 60%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  object-position: left center;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 52%,
    rgba(255, 255, 255, 0.35) 68%,
    var(--color-white) 82%
  );
  z-index: 1;
}

.hero__slides {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: clamp(580px, 90vh, 960px);
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  will-change: opacity, transform;
}

.hero.hero-slider .hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero.hero-slider .hero__slide.is-leaving,
.hero.hero-slider .hero__slide.is-entering {
  visibility: visible;
  pointer-events: none;
  z-index: 3;
}

.hero.hero-slider .hero__slide:not(.is-active):not(.is-leaving):not(.is-entering) {
  display: block !important;
}

.hero__slide[hidden] {
  display: block !important;
}

/* Redes sociales fijas — visibles en todos los banners */
.hero__social-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.hero__social-layer .hero__frame {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.hero__social-layer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
  align-items: stretch;
  width: 100%;
  min-height: clamp(580px, 90vh, 960px);
  padding-block: clamp(3rem, 8vh, 5.5rem);
}

.hero__social-layer .hero__social.hero__social-wd {
  grid-column: 1;
  align-self: end;
  justify-self: start;
  margin-bottom: clamp(0.5rem, 2vh, 1.25rem);
  pointer-events: auto;
}

.hero__frame {
  width: 100%;
  max-width: var(--wd-container-w, 1222px);
  margin-inline: auto;
  padding-inline: 15px;
}

.hero__col {
  min-width: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
  min-height: clamp(580px, 90vh, 960px);
  padding-block: clamp(3rem, 8vh, 5.5rem);
}

.hero__col--text {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero__content {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-inline-start: auto;
  padding-right: 0;
}

/* Título con líneas escalonadas — pegado a la derecha, cerca de la imagen */
.hero__heading {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: flex-end;
  margin-inline-start: auto;
  font-size: var(--fs-7xl);
  font-weight: var(--fw-regular);
  color: var(--color-dark);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__line {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.hero__line strong {
  font-weight: var(--fw-extrabold);
}

.hero__line--left {
  align-self: flex-start;
  text-align: left;
}

.hero__line--indent-1 {
  align-self: flex-start;
  padding-left: clamp(1.75rem, 9vw, 5.5rem);
  text-align: left;
}

.hero__line--center {
  align-self: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.hero__line--indent-2 {
  align-self: flex-end;
  padding-left: clamp(0.25rem, 5vw, 5.5rem);
  text-align: right;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 100%;
  gap: var(--sp-4);
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

/* Hero slider — Agregar al carrito: hover claro + azul (solo modo claro) */
html:not(.dark) body.infy-custom-layout .hero.hero-slider .hero__actions .btn--dark:hover {
  background-color: #e8f4f8 !important;
  color: #082944 !important;
  transform: none !important;
  box-shadow: none !important;
}

html:not(.dark) body.infy-custom-layout .hero.hero-slider .hero__actions .btn--dark.btn--chevron:hover::before {
  color: #082944 !important;
}

/* Redes sociales (WoodMart icons, columna) */
.hero__social.hero__social-wd {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-0);
  --wd-social-size: 28px;
  --wd-social-icon-size: 22px;
  --wd-social-gap: var(--sp-5);
}

.hero__social-wd .hero__social-link {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: opacity var(--transition), transform var(--transition);
}

.hero__social-wd .hero__social-link:hover {
  opacity: 0.65;
  transform: translateX(2px);
}

.hero__social-wd .hero__social-link .wd-icon {
  font-size: 25px;
  color: var(--color-dark);
}

/* Columna derecha: producto grande (escala visual sin agrandar la sección) */
.hero__col--media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  min-height: 0;
}

.hero__product {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.hero__product-image {
  display: block;
  width: auto;
  max-width: 135%;
  height: min(calc(100vh - 8rem), 93vh);
  max-height: min(calc(100vh - 8rem), 92vh);
  object-fit: contain;
  object-position: bottom center;
  transform: scale(1.12);
  transform-origin: bottom center;
  filter: drop-shadow(0 24px 48px rgba(8, 41, 68, 0.18));
  pointer-events: none;
}

/* Etiqueta al lado derecho de la cerradura */
.hero__product-badge {
  position: absolute;
  top: 55%;
  right: 20%;
  left: auto;
  bottom: auto;
  transform: translateY(-50%);
  background: transparent;
  border: 1px dotted var(--color-dark);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.9rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-dark);
  white-space: nowrap;
  box-shadow: none;
  z-index: 2;
}

/* Play turquesa, sobre la imagen (zona baja del mango) */
.hero__play {
  position: absolute;
  left: 45%;
  bottom: 20%;
  z-index: 3;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(8, 41, 68, 0.14);
  transition: background-color var(--transition), color var(--transition);
}

.hero__play:hover {
  transform: none;
  background: var(--color-primary-hover);
  color: var(--color-primary-hover-fg);
}

.hero__play:hover svg {
  fill: var(--color-primary-hover-fg);
}

.hero__play svg {
  width: 55px;
  height: 55px;
  fill: var(--color-dark);
  margin-left: 5px;
}

/* Navegación del slider — diseño Infy (override WoodMart :is(.btn, button)) */
body.infy-custom-layout .hero-slider .hero__nav {
  position: absolute;
  right: 0;
  bottom: clamp(1.75rem, 4vh, 3rem);
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  width: min(100%, var(--wd-container-w, 1222px));
  max-width: var(--wd-container-w, 1222px);
  margin-inline: auto;
  padding-inline: 15px;
  pointer-events: none;
}

body.infy-custom-layout .hero-slider .hero__nav > *,
body.infy-custom-layout .hero-slider .hero__nav button,
body.infy-custom-layout .hero-slider .hero__nav .hero__nav-actions,
body.infy-custom-layout .hero-slider .hero__nav .hero__nav-arrows {
  pointer-events: auto;
}

body.infy-custom-layout .hero-slider .hero__counter {
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--color-dark);
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
}

body.infy-custom-layout .hero-slider .hero__counter-current,
body.infy-custom-layout .hero-slider .hero__counter-sep,
body.infy-custom-layout .hero-slider .hero__counter-total {
  color: var(--color-dark);
  font-weight: var(--fw-regular);
}

body.infy-custom-layout .hero-slider .hero__nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

body.infy-custom-layout .hero-slider .hero__nav-arrows {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.infy-custom-layout .hero-slider .hero__nav .hero__btn-next {
  --btn-bgcolor: transparent;
  --btn-bgcolor-hover: var(--color-dark);
  --btn-brd-width: 1px;
  --btn-brd-color: var(--color-dark);
  --btn-brd-color-hover: var(--color-dark);
  --btn-color: var(--color-dark);
  --btn-color-hover: var(--color-white);
  --btn-transform: none;
  --btn-font-weight: var(--fw-medium);
  --btn-height: 40px;
  --btn-padding: 0 1.5rem;
  --btn-font-size: var(--fs-sm);
  --btn-brd-radius: var(--radius-full);
  --btn-box-shadow: none;
  --btn-box-shadow-hover: none;

  min-height: 40px !important;
  height: 40px;
  padding: 0 1.5rem !important;
  border: 1px solid var(--color-dark) !important;
  border-radius: var(--radius-full) !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--color-dark) !important;
  font-size: var(--fs-sm) !important;
  font-weight: var(--fw-medium) !important;
  font-family: inherit;
  line-height: 1;
  text-transform: none !important;
  letter-spacing: 0;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body.infy-custom-layout .hero-slider .hero__nav .hero__btn-next:hover {
  background: var(--color-dark) !important;
  background-color: var(--color-dark) !important;
  border-color: var(--color-dark) !important;
  color: var(--color-white) !important;
}

body.infy-custom-layout .hero-slider .hero__nav .hero__arrow {
  --btn-bgcolor: var(--color-gray);
  --btn-bgcolor-hover: var(--color-gray-mid);
  --btn-brd-width: 0;
  --btn-transform: none;
  --btn-font-weight: var(--fw-regular);
  --btn-height: 40px;
  --btn-padding: 0;
  --btn-brd-radius: var(--radius-full);
  --btn-box-shadow: none;
  --btn-box-shadow-hover: none;

  width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: var(--radius-full) !important;
  background: var(--color-gray) !important;
  background-color: var(--color-gray) !important;
  color: var(--color-dark) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.infy-custom-layout .hero-slider .hero__nav .hero__arrow-icon {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: var(--fw-regular);
  transform: translateY(-1px);
}

body.infy-custom-layout .hero-slider .hero__nav .hero__arrow:hover {
  background: var(--color-gray-mid) !important;
  background-color: var(--color-gray-mid) !important;
  color: var(--color-dark) !important;
}

body.infy-custom-layout .hero-slider .hero__nav .hero__arrow:active {
  transform: none;
}

/* ── Sección: Categorías (WooCommerce + fondo ACF background_cards) ─ */
.section-categories {
  --infy-category-card-bg: url('../images/background_categorias_infy.png');
  padding-block: var(--sp-20);
}

.section-categories__header {
  margin-bottom: var(--sp-10);
}

.section-categories__title {
  font-size: clamp(1.5rem, 4vw, var(--fs-5xl));
  font-weight: var(--fw-regular);
  color: var(--color-dark);
  line-height: 1.2;
}

.section-categories__title strong {
  font-weight: var(--fw-extrabold);
}

.section-categories__empty {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.section-categories .categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8) var(--sp-6);
  overflow: visible;
}

.section-categories .category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: clamp(190px, 28vw, 280px);
  padding: 0;
  margin: 0;
  overflow: visible;
  background: transparent !important;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  text-align: center;
  transition: transform var(--transition);
}

.section-categories .category-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

/* Fondo turquesa (ACF background_cards) — texto dentro */
.section-categories .category-card__surface {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: clamp(132px, 18vw, 200px);
  background-color: var(--color-primary);
  background-image: var(--infy-category-card-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border-radius: 48px 0 48px 0;
  pointer-events: none;
}

/* Imagen arriba: >50% sobresale por encima del fondo turquesa */
.section-categories .category-card__image {
  position: relative;
  top: 0;
  z-index: 2;
  display: block;
  flex-shrink: 0;
  order: -1;
  width: auto;
  max-width: 120%;
  height: clamp(150px, 20vw, 210px);
  margin: 0 auto;
  margin-bottom: calc(-1 * clamp(5.5rem, 13vw, 7.75rem));
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 14px 28px rgba(8, 41, 68, 0.14));
  pointer-events: none;
}

.section-categories .category-card__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1.1rem, 2.5vw, 2.5rem);
  z-index: 1;
  padding-inline: var(--sp-3);
  font-size: var(--fs-base);
  font-weight: var(--fw-normal);
  color: var(--color-dark);
  line-height: 1.25;
  pointer-events: none;
}

/* ── Sección: Productos destacados ────────────────────────────── */
.section-products {
  padding-block: var(--sp-20);
  background: var(--color-white);
}

.section-products__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--sp-10);
  gap: var(--sp-4);
}

.section-products__title {
  font-size: clamp(1.5rem, 3vw, var(--fs-5xl));
  font-weight: var(--fw-regular);
  color: var(--color-dark);
  line-height: 1.2;
}

.section-products__title strong {
  font-weight: var(--fw-extrabold);
}

/* "Ver todos" — hover verde con texto azul (solo modo claro) */
html:not(.dark) body.infy-custom-layout .section-products__header .btn--dark:hover {
  background-color: var(--color-primary) !important;
  color: var(--color-dark) !important;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.section-products__empty {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* Tarjetas home — mockup (gris + footer navy + hover agregar al carrito) */
.section-products .products-grid--home {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.section-products .product-card--home {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  overflow: visible;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transition: transform var(--transition);
}

.section-products .product-card--home:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

/* Card superior: solo imagen (gris, bordes redondeados en las 4 esquinas) */
.section-products .product-card--home .product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 340px;
  padding: var(--sp-10) var(--sp-6) var(--sp-8);
  background: #ededed;
  border-radius: 20px;
  text-decoration: none;
}

/* Card inferior: precio + carrito (pill navy, separado) */
.section-products .product-card--home .product-card__action {
  display: grid;
  grid-template-areas: 'action';
  width: 100%;
}

.section-products .product-card--home .product-card__footer--default,
.section-products .product-card--home .product-card__add-full {
  grid-area: action;
}

.section-products .product-card--home .product-card__badge {
  position: absolute;
  top: var(--sp-5);
  left: var(--sp-5);
  z-index: 1;
  padding: var(--sp-1) var(--sp-4);
  background: var(--color-dark);
  color: var(--color-primary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
}

.section-products .product-card--home .product-card__image {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.section-products .product-card--home .product-card__footer--default {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  min-height: 72px;
  padding: var(--sp-4) var(--sp-6);
  background: var(--color-dark);
  border-radius: var(--radius-full);
  color: var(--color-white);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.section-products .product-card--home .product-card__info {
  flex: 1;
  min-width: 0;
}

.section-products .product-card--home .product-card__name {
  margin: 0 0 var(--sp-1);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1.3;
}

.section-products .product-card--home .product-card__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
}

.section-products .product-card--home .product-card__price {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
}

.section-products .product-card--home .product-card__price--original {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-primary);
  text-decoration: line-through;
}

.section-products .product-card--home .product-card__price--original .woocommerce-Price-amount {
  color: inherit;
}

.section-products .product-card--home .product-card__cart-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--transition), background-color var(--transition);
}

.section-products .product-card--home .product-card__cart-icon svg,
.section-products .product-card--home .product-card__cart-icon .infy-product-cart-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.section-products .product-card--home .product-card__cart-icon:hover {
  transform: none;
  background: var(--color-primary-hover);
  color: var(--color-primary-hover-fg);
}

/* Hover: pill «Agregar al carrito» (mismo slot, sin saltar layout) */
.section-products .product-card--home .product-card__add-full {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  width: 100%;
  min-height: 72px;
  padding: 0.85rem var(--sp-6);
  border: 4px solid var(--color-dark);
  border-radius: var(--radius-full);
  background: #ededed;
  color: var(--color-dark);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  font-family: inherit;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.section-products .product-card--home .product-card__add-full-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.section-products .product-card--home .product-card__add-full-icon svg,
.section-products .product-card--home .product-card__add-full-icon .infy-product-cart-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.section-products .product-card--home .product-card__add-full:hover {
  background: var(--color-gray);
  color: var(--color-dark);
}

.section-products .product-card--home:hover .product-card__footer--default {
  display: none;
}

.section-products .product-card--home:hover .product-card__add-full {
  display: inline-flex;
}

/* WoodMart: botones add to cart en tarjetas home */
body.infy-custom-layout .section-products .product-card--home .add_to_cart_button {
  text-transform: none;
  box-shadow: none;
}

/* ── Sección: Producto destacado (full width + forma webp) ──────── */
.section-featured {
  padding: 0;
  overflow: visible;
  background: var(--color-white);
}

/* Mismo ancho que el header */
.section-featured__frame,
.featured-banner__frame {
  width: 100%;
  max-width: var(--wd-container-w, 1222px);
  margin-inline: auto;
  padding-inline: 15px;
}

.section-featured__intro-wrap {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding-block: var(--sp-20) var(--sp-8);
  background: var(--color-white);
}

.section-featured__intro-title {
  font-size: clamp(1.5rem, 3vw, var(--fs-5xl));
  font-weight: var(--fw-regular);
  color: var(--color-dark);
  line-height: 1.3;
  margin: 0;
}

.section-featured__intro-title strong {
  font-weight: var(--fw-extrabold);
}

/* Showcase inferior — título + lista + imagen con anillo animado */
.featured-showcase {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding-block: clamp(3rem, 7vw, 5rem);
  background: var(--color-white);
}

.featured-showcase__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.featured-showcase__title {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: var(--fw-extrabold);
  color: #111111;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.featured-showcase__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.featured-showcase__item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.featured-showcase__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: #111111;
}

.featured-showcase__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.featured-showcase__icon-img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.featured-showcase__label {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  font-weight: var(--fw-medium);
  color: #111111;
  line-height: 1.35;
}

.featured-showcase__visual {
  min-width: 0;
}

.featured-showcase__media-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.featured-showcase__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(320px, 40vw, 540px);
  overflow: visible;
}

.featured-showcase__ring {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

body.infy-custom-layout .featured-showcase__ring--spin {
  transform-origin: center center;
  animation: featured-showcase-ring-spin 16s linear infinite;
  will-change: transform;
}

.featured-showcase__ring-svg {
  display: block;
  width: min(70%, 440px);
  height: auto;
  overflow: visible;
}

@keyframes featured-showcase-ring-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.infy-custom-layout .featured-showcase__ring--spin {
    animation: none;
  }
}

.featured-showcase__image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(118%, 780px);
  max-width: 780px;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

.featured-showcase__media-link:hover .featured-showcase__image,
.featured-showcase__media-link:focus-visible .featured-showcase__image {
  filter: brightness(0.96);
}

.featured-showcase__media-link:focus-visible .featured-showcase__media {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

@media (max-width: 900px) {
  .featured-showcase__layout {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .featured-showcase__content {
    order: 1;
  }

  .featured-showcase__visual {
    order: 2;
  }

  .featured-showcase__media {
    min-height: clamp(260px, 56vw, 400px);
  }

  .featured-showcase__ring-svg {
    width: min(65%, 350px);
  }

  .featured-showcase__image {
    width: min(108%, 100%);
    max-width: 100%;
  }

  .section-about{
    padding-block: var(--sp-2) !important;
  }
}

/* Legacy panorama (por si queda markup antiguo en caché) */
.section-featured__panorama,
.section-featured__panorama-link {
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  margin-inline: calc(50% - 50vw);
  padding: 0;
  border: 0;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
  background: transparent;
}

.section-featured__panorama-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  line-height: 0;
  contain: paint;
}

.section-featured__panorama-img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center;
  transition: filter 0.35s ease, box-shadow 0.35s ease;
}

.section-featured__panorama-link {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.section-featured__panorama-link:hover .section-featured__panorama-img,
.section-featured__panorama-link:focus-visible .section-featured__panorama-img {
  filter: brightness(0.76);
  box-shadow: inset 0 0 0 100vmax rgba(8, 41, 68, 0.32);
}

.section-featured__panorama-link:focus-visible .section-featured__panorama-media {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

/* Banner navy full-bleed; layout en 2 columnas dentro del contenedor */
.featured-banner {
  --featured-aside-w: clamp(300px, 36%, 440px);
  --featured-layout-gap: clamp(3.25rem, 6.5vw, 6.5rem);

  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  min-height: clamp(520px, 54vw, 700px);
  padding-block: 0;
  background: var(--color-dark);
  overflow: visible;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Imagen de fondo ACF que cubre TODA la sección destacado */
.featured-banner--has-bg {
  background-color: var(--color-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Con fondo a toda la sección, ocultamos la forma turquesa pequeña */
.featured-banner--has-bg .featured-banner__shape {
  display: none;
}

/* La columna de características deja ver el fondo (sin navy encima) */
.featured-banner--has-bg .featured-banner__main {
  background: transparent;
}

.featured-banner__frame {
  position: relative;
  z-index: 2;
  padding-block: var(--sp-10);
}

.featured-banner__layout {
  display: grid;
  grid-template-columns: var(--featured-aside-w) minmax(0, 1fr);
  column-gap: var(--featured-layout-gap);
  align-items: center;
  padding-top: 0;
}

/* Columna izquierda: forma turquesa + producto (la punta puede salir, sin afectar la derecha) */
.featured-banner__aside {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: visible;
}

.featured-banner__shape {
  position: absolute;
  left: 0;
  top: calc(-1 * var(--sp-10));
  bottom: 0;
  /* La punta solo entra en el hueco entre columnas, no en la columna derecha */
  width: calc(100% + var(--featured-layout-gap));
  min-height: calc(100% + var(--sp-10));
  background-repeat: no-repeat;
  background-position: left top;
  background-size: auto 100%;
  pointer-events: none;
  z-index: 0;
}

.featured-banner__product {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  padding-top: 0;
}

/* Columna derecha: todo el contenido navy; la escena no puede invadir el aside */
.featured-banner__main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  min-width: 0;
  color: var(--color-white);
  background: var(--color-dark);
  isolation: isolate;
}

.featured-banner__label--padding-left {
  padding-left: var(--sp-24);
}

.featured-banner__product-name {
  margin: 0 0 var(--sp-5);
  font-size: clamp(1.25rem, 3.5vw, var(--fs-4xl));
  font-weight: var(--fw-extrabold);
  color: var(--color-dark);
  line-height: 1.2;
}

/* Card gris con cerradura dentro del turquesa */
.featured-banner__product-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(280px, 30vw, 360px);
  padding: var(--sp-6) var(--sp-5);
  background: #ededed;
  border-radius: 28px;
}

.featured-banner__image {
  display: block;
  width: auto;
  max-width: min(100%, 260px);
  max-height: min(380px, 46vh);
  margin-inline: auto;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 10px 22px rgba(8, 41, 68, 0.16));
}

/* Pantallas anchas: más hueco para que la escena no roce la punta turquesa */
@media (min-width: 1200px) {
  .featured-banner {
    --featured-layout-gap: clamp(4.5rem, 7.5vw, 7.5rem);
    --featured-aside-w: clamp(320px, 34%, 420px);
  }
}

/* Contenedor de la escena: alineado con botones, contenido solo en columna navy */
.featured-banner__scene-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}

.featured-banner__scene {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 2.35 / 1;
  max-height: 220px;
}

.featured-banner__label {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.featured-features {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--sp-5) var(--sp-6);
}

.featured-features__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  min-width: 56px;
}

.featured-features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-white);
}

.featured-features__icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

.featured-features__icon-img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.featured-features__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-normal);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  line-height: 1.2;
}

.featured-banner__actions {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
}

.featured-banner__actions > a {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

/* Agregar al carrito / Más información — hover #e8f4f8 + texto azul, sin movimiento */
body.infy-custom-layout .featured-banner__actions .btn--primary,
body.infy-custom-layout .featured-banner__actions .btn--primary:hover {
  transform: none !important;
}

body.infy-custom-layout .featured-banner__actions .btn--primary:hover {
  background-color: #e8f4f8 !important;
  color: var(--color-dark) !important;
  box-shadow: none !important;
}

body.infy-custom-layout .featured-banner__btn-info.btn--outline {
  color: var(--color-white) !important;
  border-color: var(--color-primary) !important;
  background: transparent !important;
}

body.infy-custom-layout .featured-banner__btn-info.btn--outline:hover {
  background: var(--color-primary) !important;
  color: var(--color-dark) !important;
}

.featured-banner__copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.featured-banner__lead {
  margin: 0;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1.45;
}

.featured-banner__description {
  margin: 0;
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

/* ── Sección: Nosotros ────────────────────────────────────────── */
.section-about {
  padding-block: var(--sp-20);
}

.section-about__logo-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  margin-bottom: var(--sp-6);
  margin-top: var(--sp-10);
}

.section-about__logo-tag .section-about__logo-img,
.section-about__logo-tag img {
  display: block;
  height: 70px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.section-about__logo-separator {
  width: 2px;
  height: 50px;
  background: var(--color-primary);
}

.section-about__tagline {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
}

.section-about__description {
  font-size: var(--fs-3xl);
  color: var(--color-text);
  max-width: 85%;
  margin-inline: auto;
  line-height: 1.2;
  text-align: center;
}

.section-about__description p {
  margin: 0;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
  text-align: inherit;
}

.section-about__description strong,
.section-about__description b {
  font-weight: var(--fw-extrabold);
}

.section-about__description u {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section-about__description a {
  font-weight: var(--fw-bold);
  text-decoration: underline;
  color: var(--color-dark);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .section-categories .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid,
  .section-products .products-grid--home {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-banner {
    --featured-aside-w: minmax(0, 1fr);
    --featured-layout-gap: var(--sp-8);
  }

  .featured-banner__layout {
    grid-template-columns: 1fr;
    row-gap: var(--sp-8);
  }

  .featured-banner__shape {
    width: min(100%, 480px);
    max-width: none;
    background-size: contain;
    background-position: left top;
  }

  .featured-banner__scene {
    max-height: 200px;
  }

  .featured-banner__product-card {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .hero.hero-slider {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: var(--sp-12);
  }

  .hero__col--media {
    justify-content: center;
  }

  .hero__product {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .hero__product-image {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    transform: scale(1);
  }

  .hero__line--indent-1 {
    padding-left: 1.25rem;
  }

  .hero__line--indent-2 {
    padding-right: 0;
  }

  .hero__bg-image {
    object-position: center top;
  }

  .hero__bg-overlay {
    background: linear-gradient(
      to bottom,
      transparent 35%,
      var(--color-white) 88%
    );
  }

  body.infy-custom-layout .hero-slider .hero__nav {
    position: static;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: var(--sp-6);
    padding-bottom: var(--sp-6);
  }

  .hero__col--text {
    justify-content: flex-start;
  }

  .hero__content {
    max-width: none;
    margin-inline-start: 0;
    padding-left: 0;
    align-items: flex-start;
  }

  /* Título: tamaño reducido y todas las líneas alineadas a la izquierda */
  .hero__heading {
    align-self: stretch;
    margin-inline-start: 0;
    font-size: clamp(2.4rem, 11vw, 3.4rem);
    line-height: 1.05;
    text-align: left;
  }

  .hero__line,
  .hero__line--left,
  .hero__line--center,
  .hero__line--indent-1,
  .hero__line--indent-2 {
    align-self: flex-start;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    width: auto;
    max-width: 100%;
  }

  .hero__actions {
    align-self: flex-start;
    justify-content: flex-start;
    margin-bottom: var(--sp-6);
  }

  /* Redes sociales en fila horizontal bajo el botón */
  .hero__social.hero__social-wd {
    flex-direction: row;
    gap: var(--sp-4);
  }

  /* Imagen del producto: compacta y centrada */
  .hero__col--media {
    justify-content: center;
    margin-top: var(--sp-4);
  }

  .hero__product {
    width: min(100%, 240px);
  }

  .hero__product-image {
    max-height: 230px;
    transform: scale(1);
    filter: drop-shadow(0 12px 24px rgba(8, 41, 68, 0.18));
  }

  /* Ocultar elementos que recargan el hero en mobile */
  .hero__product-badge,
  .hero__play {
    display: none;
  }

  .section-products__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-grid,
  .section-products .products-grid--home {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__heading {
    font-size: clamp(1.9rem, 12vw, 2.6rem);
  }

  .hero__inner {
    padding-block: var(--sp-6);
    gap: var(--sp-2);
  }

  .hero__product {
    width: min(100%, 200px);
  }

  .hero__product-image {
    max-height: 190px;
  }

  .hero__actions {
    margin-bottom: var(--sp-4);
  }
}

@media (max-width: 600px) {
  .section-categories .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-categories .category-card__image {
    height: clamp(120px, 32vw, 150px);
    margin-bottom: calc(-1 * clamp(4rem, 10vw, 5rem));
  }
}

/* ================================================================
   Marquesina — barra de anuncios (debajo del header, sobre el hero)
   ================================================================ */
.infy-marquesina {
  width: 100%;
  background: var(--color-white);
  color: var(--color-dark);
  overflow: hidden;
  font-size: clamp(1rem, 1.2vw, var(--fs-2xl));
  font-weight: var(--fw-regular);
  line-height: 1.4;
}

/* Palabras resaltadas (negrita) en navy + subrayado */
.infy-marquesina :is(strong, b) {
  color: var(--color-dark);
  font-weight: var(--fw-medium);
  padding-left: 0.15em;
}

.infy-marquesina u {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: var(--fw-extrabold);
}

.infy-marquesina p {
  display: inline;
  margin: 0;
}

/* ── Modo fijo (un solo mensaje) — centrado ──────────────────── */
.infy-marquesina__fixed {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-4) var(--sp-6);
}

/* ── Modo animado (cinta, 2+ mensajes) ───────────────────────── */
.infy-marquesina--animada {
  position: relative;
  display: block;
  height: 60px;
}

.infy-marquesina__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: infy-marquesina-scroll 28s linear infinite;
}

.infy-marquesina--animada:hover .infy-marquesina__track {
  animation-play-state: paused;
}

.infy-marquesina__group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

.infy-marquesina__item {
  display: inline-flex;
  align-items: center;
  padding-inline: var(--sp-4);
  white-space: nowrap;
}

.infy-marquesina__sep {
  color: var(--color-primary);
  opacity: 0.7;
}

@keyframes infy-marquesina-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Respeta usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .infy-marquesina__track {
    animation: none;
  }
}

/* ================================================================
   Hero MOBILE — layout compacto:
   [texto | imagen] · [botón] · [redes | flechas slider]
   ================================================================ */
@media (max-width: 768px) {
  .hero.hero-slider {
    min-height: auto;
    height: 40vh;
  }

  .hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "text  image"
      "button button";
    align-items: center;
    gap: 0.5rem 1rem;
    min-height: auto;
    padding-block: 1.5rem 3.5rem;
  }

  /* Disolvemos los contenedores para colocar sus hijos en el grid */
  .hero__col--text,
  .hero__content,
  .hero__col--media {
    display: contents;
  }

  .hero__heading {
    grid-area: text;
    align-self: center;
    margin: 0;
    font-size: clamp(1.5rem, 6.5vw, 2.1rem);
    line-height: 1.06;
    text-align: left;
  }

  .hero__line,
  .hero__line--left,
  .hero__line--center,
  .hero__line--indent-1,
  .hero__line--indent-2 {
    align-self: flex-start;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    width: auto;
    max-width: 100%;
  }

  .hero__product {
    grid-area: image;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .hero__product-image {
    max-height: 210px;
    transform: scale(1);
    filter: drop-shadow(0 10px 20px rgba(8, 41, 68, 0.18));
  }

  .hero__product-badge,
  .hero__play {
    display: none;
  }

  .hero__actions {
    grid-area: button;
    align-self: flex-start;
    justify-content: flex-start;
    margin: 0.5rem 0 0;
  }

  .hero__social-layer {
    inset: auto;
    left: 0;
    right: 0;
    bottom: 1rem;
    height: auto;
  }

  .hero__social-layer .hero__frame {
    height: auto;
    display: block;
  }

  .hero__social-layer-inner {
    display: block;
    min-height: 0;
    padding-block: 0;
  }

  .hero__social-layer .hero__social.hero__social-wd {
    grid-column: auto;
    flex-direction: row;
    gap: 0.1rem;
    margin-bottom: 0;
  }

  .hero__social-wd .hero__social-link{
    width: 20px;
    height: 25px;
    min-width: 25px;
  }

  .hero__social-wd .hero__social-link .wd-icon{
    font-size: 16px;
  }

  /* Flechas del slider: abajo a la derecha, al costado de las redes */
  body.infy-custom-layout .hero-slider .hero__nav {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    left: auto;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
  }

  body.infy-custom-layout .hero-slider .hero__counter,
  body.infy-custom-layout .hero-slider .hero__btn-next {
    display: none;
  }

  body.infy-custom-layout .hero-slider .hero__nav-actions {
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .hero__heading {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }

  .hero__product-image {
    max-height: 170px;
  }

  .hero__inner {
    padding-block: 1rem 3rem;
  }
}

/* ================================================================
   MOBILE — ajustes solicitados
   ================================================================ */
@media (max-width: 768px) {
  /* ── 1. Productos: slider horizontal con autoplay ───────────── */
  .section-products .products-grid--home {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }
  .section-products .products-grid--home::-webkit-scrollbar { display: none; }
  .section-products .products-grid--home > .product-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

  /* Indicadores tipo línea (modernos, no puntos) */
  .products-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 1.25rem;
  }
  body.infy-custom-layout .products-slider-nav__line {
    width: 8px !important;
    height: 8px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 9999px !important;
    background: var(--color-gray-mid) !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease;
  }
  body.infy-custom-layout .products-slider-nav__line.is-active {
    width: 30px !important;
    background: var(--color-dark) !important;
  }

  body.infy-custom-layout .products-slider-nav {
    align-items: center;
    height: 12px;
  }

  /* ── 2. Producto destacado: fondo navy del tema (no imagen) ── */
  .featured-banner--has-bg {
    background-image: none !important;
    background-color: var(--color-dark) !important;
  }
  .featured-banner--has-bg .featured-banner__main {
    background: transparent;
  }

  /* ── 3. Nosotros: logo y tagline apilados + fuente menor ───── */
  .section-about__logo-tag {
    flex-direction: column;
    gap: 0.5rem;
  }
  .section-about__logo-separator {
    display: none;
  }
  .section-about__tagline {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
  }
  .section-about__logo-tag .section-about__logo-img,
  .section-about__logo-tag img {
    height: 52px;
  }
  .section-about__description {
    font-size: clamp(1.1rem, 4.5vw, 1.5rem);
    max-width: 100%;
  }

  .featured-banner__label--padding-left{
    padding-left: 0;
  }
}

/* ================================================================
   Hero Producto — banner con imagen de fondo (categoría hero-product)
   Reutiliza .hero__nav del slider clásico.
   ================================================================ */
.hero.hero-product {
  min-height: clamp(520px, 72vh, 820px);
  height: clamp(520px, 72vh, 820px);
}

.hero.hero-product .hero__slides {
  min-height: inherit;
  height: 100%;
}

.hero-product__slide {
  display: flex;
  align-items: stretch;
}

.hero-product__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-product__bg-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-product__bg-image--mobile {
  display: none;
}

.hero.hero-product .hero__frame {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.hero-product__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: min(22rem, 46vw);
  padding-block: clamp(2rem, 5vh, 3.5rem);
}

.hero-product__heading {
  margin: 0 0 var(--sp-5);
  font-size: clamp(2.35rem, 4.8vw, 3.65rem);
  font-weight: 300;
  color: #082944;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hero-product__title-line {
  display: block;
}

.hero-product__title-line--accent {
  font-weight: var(--fw-extrabold);
}

.hero-product__desc {
  display: inline-block;
  margin: 0 0 var(--sp-6);
  padding: 0.45rem 0.75rem;
  background: #ebe4da;
  border-radius: 4px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: #082944;
  line-height: 1.4;
}

body.infy-custom-layout .hero-product__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0.55rem 1.35rem;
  border: 1px solid #082944;
  border-radius: var(--radius-full);
  background: transparent;
  color: #082944;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

body.infy-custom-layout .hero-product__btn:hover {
  background: #082944;
  color: #ffffff;
  transform: none;
  box-shadow: none;
}

.hero-product__btn-icon {
  font-size: 1.1em;
  line-height: 1;
}

/* Navegación inferior: reutiliza estilos .hero__nav existentes */
.hero.hero-product .hero__nav {
  z-index: 50;
}

/* Redes sociales — hero producto (WoodMart Theme Settings) */
.hero.hero-product .hero__social-layer {
  z-index: 6;
}

.hero.hero-product .hero__social-layer .hero__frame {
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(1.75rem, 4vh, 3rem);
}

.hero.hero-product .hero-product__social-layer-inner {
  display: block;
  width: 100%;
  min-height: 0;
  padding-block: 0;
}

.hero.hero-product .hero__social-layer .hero__social.hero__social-wd {
  grid-column: auto;
  align-self: auto;
  justify-self: start;
  margin-bottom: 0;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .hero.hero-product {
    min-height: clamp(420px, 80vh, 860px);
    height: clamp(420px, 80vh, 860px);
  }

  .hero-product__bg-image--desktop {
    display: none;
  }

  .hero-product__bg-image--mobile {
    display: block;
  }

  .hero.hero-product .hero__frame {
    align-items: flex-start;
  }

  .hero-product__content {
    max-width: min(18rem, 78vw);
    padding-block: clamp(1.25rem, 4vh, 2rem) 5.5rem;
  }

  .hero-product__heading {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    margin-bottom: var(--sp-4);
  }

  .hero-product__desc {
    margin-bottom: var(--sp-4);
    font-size: var(--fs-xs);
  }

  .hero.hero-product .hero__social-layer {
    inset: auto;
    left: 1rem;
    right: auto;
    bottom: 1rem;
    height: auto;
    z-index: 6;
  }

  .hero.hero-product .hero__social-layer .hero__frame {
    height: auto;
    display: block;
    padding: 0;
  }

  .hero.hero-product .hero__social-layer .hero__social.hero__social-wd {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .hero.hero-product .hero__social-wd .hero__social-link {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  .hero.hero-product .hero__social-wd .hero__social-link .wd-icon {
    font-size: 18px;
  }

  /* Nav a la derecha; margen izquierdo para no tapar redes */
  body.infy-custom-layout .hero.hero-product .hero__nav {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    left: auto;
    width: auto;
    max-width: calc(100% - 4.5rem);
    margin: 0;
    margin-left: 3.75rem;
    padding: 0;
    justify-content: flex-end;
    gap: 0.65rem;
    z-index: 50;
  }

  body.infy-custom-layout .hero.hero-product .hero__counter {
    display: block;
    margin-right: auto;
    padding-left: 0.25rem;
    white-space: nowrap;
  }

  body.infy-custom-layout .hero.hero-product .hero__btn-next {
    display: block;
  }
}

