/* ============================================================
   Andromaco.Catalogo · plantilla Hipoglos · catalogo.css
   Base: el CSS de los hubs/ficha HTML (hgProd / hgFicha), ordenado.
   Al final: ajustes para la ficha como PÁGINA (.hgFicha--page),
   links de las tarjetas, sello, prospecto y grilla "Todos los productos".
   ============================================================ */

/* ============================ 1. Base ============================ */
.hgProd {
  background: #fff;
  font-family: "Montserrat", system-ui, sans-serif;
  color: #1d1d1b;
}

.hgProd *,
.hgFicha * {
  box-sizing: border-box;
}

/* ===================== 2. Banner ===================== */
.hgProd__banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 64px 24px 120px;
}

.hgProd__deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.hgProd__deco--1 {
  right: 3%;
  top: 18px;
  width: 300px;
  max-width: 30%;
  animation: hgFloatA 7s ease-in-out infinite;
}

.hgProd__deco--2 {
  right: 21%;
  top: 78px;
  width: 165px;
  max-width: 18%;
  animation: hgFloatB 9s ease-in-out infinite;
  animation-delay: -2.5s;
}

.hgProd__deco--3 {
  right: -3%;
  top: 138px;
  width: 225px;
  max-width: 24%;
  animation: hgFloatA 8s ease-in-out infinite;
  animation-delay: -1.2s;
}

@keyframes hgFloatA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(2deg); }
}

@keyframes hgFloatB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(14px) rotate(-2.5deg); }
}

.hgProd__bannerInner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hgProd__wordmark {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  line-height: 0;
}

.hgProd__wordmark img {
  height: clamp(64px, 9vw, 95px);
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.hgProd__tagline {
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, .96);
  font-size: 21px;
  max-width: 560px;
  text-wrap: pretty;
}

.hgProd__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  display: block;
  z-index: 2;
}

/* ================ 3. Catálogo · grilla · tarjetas ================ */
.hgProd__catalog {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 24px 88px;
}

.hgProd__sectionTitle {
  text-align: center;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0 0 48px;
  font-size: 38px;
}

.hgProd__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  gap: 28px;
  justify-content: center;
}

.hgProd__card {
  background: #fff;
  border: 0.5px solid #bebebe;
  border-radius: 16px;
  padding: 24px 22px 26px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  row-gap: 10px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(11, 11, 11, .04);
  transition: transform .22s cubic-bezier(.22, .61, .36, 1), box-shadow .22s cubic-bezier(.22, .61, .36, 1);
}

.hgProd__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -16px rgba(11, 11, 11, .18);
}

.hgProd__open {
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  cursor: pointer;
  display: block;
}

.hgProd__stage {
  height: 280px;
  display: grid;
  place-items: center;
}

.hgProd__stage img {
  max-height: 100%;
  max-width: 70%;
  object-fit: contain;
  filter: drop-shadow(0 20px 26px rgba(11, 11, 11, .16));
  transition: transform .22s cubic-bezier(.22, .61, .36, 1);
}

.hgProd__card--click:hover .hgProd__stage img {
  transform: scale(1.05);
}

.hgProd__name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #3a3a38;
  text-transform: uppercase;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hgProd__excl {
  align-self: end;
  margin-top: 8px;
  width: 100%;
  background: #B6BBBE;
  color: #fff;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  user-select: none;
}

/* ================ 4. Ficha (modal): shell ================ */
.hgFicha {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  font-family: "Montserrat", system-ui, sans-serif;
}

.hgFicha.is-open {
  display: block;
}

.hgFicha__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 11, .5);
  opacity: 0;
  transition: opacity .3s ease;
  backdrop-filter: blur(2px);
}

.hgFicha.is-shown .hgFicha__backdrop {
  opacity: 1;
}

.hgFicha__scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.hgFicha__dialog {
  margin: auto;
  flex: 0 0 auto;
  position: relative;
  background: #fff;
  border-radius: 24px;
  width: min(1040px, 100%);
  max-width: 1040px;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(11, 11, 11, .5);
  opacity: 0;
  transform: translateY(28px) scale(.96);
  transition: opacity .4s cubic-bezier(.22, .61, .36, 1), transform .4s cubic-bezier(.22, .61, .36, 1);
}

.hgFicha.is-shown .hgFicha__dialog {
  opacity: 1;
  transform: none;
}

.hgFicha__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(11, 11, 11, .06);
  color: #1d1d1b;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s;
}

.hgFicha__close:hover {
  background: rgba(11, 11, 11, .12);
}

/* ================ 5. Ficha: galería ================ */
.hgFicha__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hgFicha__gallery {
  background: #f4f6f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 32px;
  gap: 24px;
}

.hgFicha__main {
  width: 100%;
  display: grid;
  place-items: center;
  min-height: 300px;
  touch-action: pan-y;
}

.hgFicha__img {
  max-height: 360px;
  max-width: 84%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(11, 11, 11, .18));
  transition: opacity .25s ease;
}

.hgFicha__thumbs {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hgFicha__thumbList {
  display: flex;
  gap: 12px;
}

.hgFicha__thumb {
  width: 66px;
  height: 66px;
  border: 1.5px solid #d8dee1;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}

.hgFicha__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hgFicha__thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -8px rgba(11, 11, 11, .25);
}

.hgFicha__thumb.is-active {
  border-width: 2px;
}

.hgFicha__nav {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1.5px solid #d8dee1;
  background: #fff;
  color: #243E73;
  font-size: 24px;
  line-height: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .18s, border-color .18s;
}

.hgFicha__nav:hover {
  background: #eef1f3;
}

.hgFicha__gallery--single .hgFicha__thumbs {
  display: none;
}

/* ================ 6. Ficha: meta ================ */
.hgFicha__meta {
  padding: 44px 44px;
  display: grid;
  gap: 13px;
  align-content: start;
}

.hgFicha__name {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: #21385E;
  text-transform: uppercase;
}

.hgFicha__badge {
  width: 118px;
  height: 118px;
  object-fit: contain;
  margin: 2px 0;
}

.hgFicha__subtitle {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.005em;
}

.hgFicha__lead {
  font-size: 16px;
  line-height: 1.6;
  color: #3a3a38;
  margin: 2px 0 0;
  text-wrap: pretty;
}

.hgFicha__ing {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 7px;
}

.hgFicha__ing li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-style: italic;
  color: #1d1d1b;
}

.hgFicha__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.hgFicha__row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.hgFicha__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #898989;
  min-width: 78px;
}

.hgFicha__excl {
  margin: 8px 0 0;
  background: #B6BBBE;
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
}

/* ===== 7. Widget e-commerce en la GRILLA (tarjeta) =====
   Bloque PROPIO de la grilla, independiente de la ficha. Scopeado por
   .hgProd__card → nunca toca a la ficha (.hgFicha__ecommerce), y viceversa.
     fila 1 → sello de descuento (centrado arriba)
     fila 2 → precio actual + precio original tachado al lado
   Botón y AFIP ocultos (la compra se hace al abrir la ficha). */
.hgProd__card .area-ecommerce {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 8px;
  min-height: 0;
  margin: 6px 0 0;
}

.hgProd__card .area-ecommerce::before {
  content: "";
  order: 2;
  flex: 0 0 100%;
  height: 0;
}

.hgProd__card .area-ecommerce-descuento {
  order: 1;
  flex: 0 0 auto;
  margin: 15px !important;
  border-radius: 6px;
  color: #fff;
  white-space: nowrap;
}

.hgProd__card .area-ecommerce-precio-sin-descuento {
  order: 3;
  font: 400 13px Lato, sans-serif;
  text-decoration: line-through;
  color: #9a9a9a;
  white-space: nowrap;
}

.hgProd__card .area-ecommerce-precio-con-descuento,
.hgProd__card .area-ecommerce-precio {
  order: 4;
  font: 800 20px Lato, sans-serif;
  color: #1d1d1b;
  white-space: nowrap;
}

.hgProd__card .area-ecommerce .precio-afip {
  order: 5;
  flex: 1 0 100%;
  margin: 8px 0 0;
  font: 11px/1.45 "Montserrat", sans-serif;
  color: #9a9a9a;
}

.hgProd__card .area-ecommerce .precio-afip > div {
  display: block;
}

.hgProd__card .area-ecommerce-boton-agregar {
  order: 6;
  flex: 1 0 100%;
  position: static !important;
  margin: 10px 0 0 !important;
  padding: 11px;
  border: 1px solid transparent;
  border-radius: 30px;
  background: #21385e;
  color: #fff;
  fill: #fff;
  font: 600 12px "Montserrat", sans-serif;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: all .4s ease;
}

.hgProd__card .area-ecommerce-boton-agregar:hover {
  background: transparent;
  border-color: #21385e;
  color: #21385e;
  fill: #21385e;
}

.hgProd__card .area-ecommerce-boton-agregar svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.hgProd__card .area-ecommerce-boton-ventas {
  display: none !important;
}

/* ===== 8. Widget e-commerce dentro de la FICHA (modal) =====
   Bloque PROPIO de la ficha, independiente de la grilla. Scopeado por
   .hgFicha__ecommerce. Layout tipo tienda:
     fila 1 → sello de descuento (rojo, a la izquierda)
     fila 2 → precio grande + precio anterior tachado al lado
     fila 3 → leyenda AFIP (separada por una línea fina)
     fila 4 → botón Agregar  ·  fila 5 → botón Ventas
   Colores → variables de abajo, se editan en un solo lugar. */
@keyframes spin-ecomm {
  to { transform: rotate(360deg); }
}

.hgFicha__ecommerce {
  --eco-desc: #E5251D;   /* sello de descuento */
  --eco-azul: #21385e;   /* botón Agregar */
  --eco-ventas: #786e64; /* botón Ventas */
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 14px 0 0;
  min-height: 8px;
  gap: 4px 12px;
}

/* salto de línea forzado tras el descuento (el widget no respeta el orden visual) */
.hgFicha__ecommerce::before {
  content: "";
  order: 2;
  flex: 0 0 100%;
  height: 0;
}

.hgFicha__ecommerce .area-ecommerce-descuento {
  order: 1;
  flex: 0 0 auto;
  position: static !important;
  margin: 0 !important;
  border-radius: 6px;
  color: #fff;
  white-space: nowrap;
  width: 15%;
}

.hgFicha__ecommerce .area-ecommerce-precio-sin-descuento {
  order: 3;
  font: 400 18px Lato, sans-serif;
  text-decoration: line-through;
  color: #9a9a9a;
  white-space: nowrap;
}

.hgFicha__ecommerce .area-ecommerce-precio-con-descuento,
.hgFicha__ecommerce .area-ecommerce-precio {
  order: 4;
  font: 800 34px Lato, sans-serif;
  color: #1d1d1b;
  white-space: nowrap;
}

.hgFicha__ecommerce .precio-afip {
  order: 5;
  flex: 1 0 100%;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #ececec;
  font: 13px/1.5 "Montserrat", sans-serif;
  color: #9a9a9a;
}

.hgFicha__ecommerce .precio-afip > div {
  display: block;
}

.hgFicha__ecommerce .area-ecommerce-boton-agregar {
  order: 6;
  flex: 1 0 100%;
  position: static !important;
  margin: 12px 0 0 !important;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 30px;
  background: var(--eco-azul);
  color: #fff;
  fill: #fff;
  font: 600 13px "Montserrat", sans-serif;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: all .4s ease;
}

.hgFicha__ecommerce .area-ecommerce-boton-agregar:hover {
  background: transparent;
  border-color: var(--eco-azul);
  color: var(--eco-azul);
  fill: var(--eco-azul);
}

.hgFicha__ecommerce .area-ecommerce-boton-agregar svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.hgFicha__ecommerce .area-ecommerce-boton-ventas {
  order: 7;
  flex: 1 0 100%;
  margin: 8px 0 0;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 30px;
  background: var(--eco-ventas);
  color: #fff;
  fill: #fff;
  font: 600 13px "Montserrat", sans-serif;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: all .4s ease;
}

.hgFicha__ecommerce .area-ecommerce-boton-ventas:hover {
  background: transparent;
  border-color: var(--eco-ventas);
  color: var(--eco-ventas);
}

.hgFicha__ecommerce .area-ecommerce-boton-procesando {
  position: relative;
  color: transparent;
  pointer-events: none;
  cursor: not-allowed;
}

.hgFicha__ecommerce .area-ecommerce-boton-procesando::after {
  content: "";
  position: absolute;
  top: calc(50% - 9px);
  left: calc(50% - 9px);
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, .5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin-ecomm .8s linear infinite;
}

/* ===== 9. Widget e-commerce — popup mobile (dock) ===== */
.hgFicha__ecoAnchor {
  display: block;
  height: 1px;
}

.hgFicha__dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  display: none;
  background: #fff;
  border-top: 1px solid #ececec;
  box-shadow: 0 -12px 30px -12px rgba(11, 11, 11, .3);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(120%);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.hgFicha__dock.is-visible {
  transform: translateY(0);
}

.hgFicha__dock .hgFicha__ecommerce {
  display: flex;
  flex-wrap: wrap;          /* 2 líneas: precios arriba, botón abajo (antes se cortaba) */
  align-items: center;
  gap: 6px 8px;
  margin: 0 auto;
  max-width: 1040px;
  min-height: 0;
}

.hgFicha__dock .hgFicha__ecommerce::before {
  display: none;
}

.hgFicha__dock .area-ecommerce-descuento {
  order: 1;
  padding: 2px 7px;
  font-size: 11px;
}

.hgFicha__dock .area-ecommerce-precio-sin-descuento {
  order: 2;
  font-size: 13px;
}

.hgFicha__dock .area-ecommerce-precio-con-descuento,
.hgFicha__dock .area-ecommerce-precio {
  order: 3;
  font-size: 22px;
}

.hgFicha__dock .precio-afip {
  display: none;
}

.hgFicha__dock .area-ecommerce-boton-agregar {
  order: 4;
  flex: 1 0 100%;           /* botón en la 2da línea, ancho completo */
  width: 100%;
  margin: 2px 0 0 !important;
  padding: 12px;
}

.hgFicha__dock .area-ecommerce-boton-ventas {
  display: none !important;
}

/* ================ 10. Ficha: bloques extra ================ */
.hgFicha__extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 44px 64px;
}

.hgFicha__block {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hgFicha__block[hidden] {
  display: none;
}

.hgFicha__blockTitle {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #21385E;
  letter-spacing: -.01em;
}

.hgFicha__rule {
  width: 58px;
  height: 4px;
  border-radius: 2px;
}

.hgFicha__blockText {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #3a3a38;
  text-wrap: pretty;
}

/* ================ 11. Prospecto (al pie de la ficha) ================ */
.descargar-prospecto {
  margin: 0 auto;
  padding: 8px 44px 48px; /* al pie del diálogo en desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.descargar-prospecto[hidden] {
  display: none;
}

.descargar-prospecto img {
  width: 22px;
  height: auto;
  display: block;
}

.descargar-prospecto a {
  color: #0B0B0B;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  transition: opacity .18s;
}

.descargar-prospecto a:hover {
  opacity: .65;
}

/* ============================ 12. Media queries ============================ */
@media (max-width: 920px) {
  .hgProd__grid {
    grid-template-columns: repeat(2, minmax(0, 320px));
    gap: 22px;
  }

  .hgProd__deco--2 {
    display: none;
  }
}

@media (max-width: 860px) {
  .hgFicha__top {
    position: relative;
    grid-template-columns: 1fr;
  }

  .hgFicha__badge {
    left: 14px;
    z-index: 5;
    width: 76px;
    height: 76px;
    margin: 0;
    filter: drop-shadow(0 6px 14px rgba(11, 11, 11, .22));
  }

  .hgFicha__scroll {
    padding: 0;
  }

  .hgFicha__dialog {
    width: 100%;
    min-height: 100%;
    margin: 0;
    border-radius: 0;
  }

  .hgFicha__gallery {
    padding: 40px 24px 28px;
  }

  .hgFicha__img {
    max-height: 260px;
  }

  .hgFicha__meta {
    padding: 28px 24px 24px;
  }

  .hgFicha__name {
    font-size: 26px;
  }

  .hgFicha__extra {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 8px 24px 120px;
  }

  .hgFicha__ecommerce .area-ecommerce-precio-con-descuento {
    font-size: 26px;
  }

  .hgFicha__ecommerce .area-ecommerce-precio-sin-descuento {
    font-size: 15px;
  }

  .hgFicha__dock {
    display: block;
  }

  .descargar-prospecto {
    padding: 8px 24px 120px;
  }
}

@media (max-width: 760px) {
  .hgProd__banner {
    padding: 48px 22px 96px;
    text-align: center;
  }

  .hgProd__bannerInner {
    align-items: center;
  }

  .hgProd__wordmark {
    justify-content: center;
  }

  .hgProd__tagline {
    font-size: 17px;
    margin-left: auto;
    margin-right: auto;
  }

  .hgProd__deco--2,
  .hgProd__deco--3 {
    display: none;
  }

  .hgProd__deco--1 {
    display: block;
    width: 100%;
    max-width: 430px;
    right: 0%;
    top: auto;
    bottom: 120px;
    opacity: .26 !important;
  }

  .hgProd__sectionTitle {
    font-size: 28px;
  }

  .hgProd__grid {
    grid-template-columns: minmax(0, 360px);
    gap: 20px;
  }

  .hgProd__stage {
    height: 260px;
  }
}

@media (max-width: 420px) {
  .hgProd__sectionTitle {
    font-size: 24px;
  }

  .hgProd__stage {
    height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hgProd__deco {
    animation: none !important;
  }

  .hgFicha__dialog,
  .hgFicha__backdrop,
  .hgFicha__img {
    transition-duration: .001s;
  }
}

/* ============================================================
   13. Plantilla del módulo (Andromaco.Catalogo)
   ============================================================ */

/* --- Calificador al lado del logo ("cuidado diario", "VL", "Q") --- */
.hgProd__qual { font-weight: 600; font-size: clamp(26px, 3.4vw, 42px); color: #fff; line-height: 1; }

/* --- Tarjetas del hub: ahora son links a la ficha --- */
a.hgProd__open { text-decoration: none; color: inherit; }
.hgProd__name a { color: inherit; text-decoration: none; }
.hgProd__name a:hover { text-decoration: underline; }

/* --- Ficha como página propia (sin modal) --- */
.hgFicha--page { position: static; display: block; z-index: auto; }
.hgFicha--page .hgFicha__dialog {
  margin: 32px auto 64px;
  width: min(1040px, calc(100% - 48px));
  opacity: 1;
  transform: none;
  box-shadow: 0 24px 60px -28px rgba(11, 11, 11, .28);
  border: 0.5px solid #e3e6e8;
}

.hgFicha__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 1040px;
  margin: 28px auto 0;
  padding: 0 24px;
  width: 100%;
  font: 700 13px "Montserrat", system-ui, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
}
.hgFicha__back:hover { text-decoration: underline; }
.hgFicha__backWrap { max-width: 1088px; margin: 0 auto; }

.hgFicha__thumb { font: inherit; }
.hgFicha__ecoSlot { display: block; }

@media (max-width: 860px) {
  .hgFicha--page .hgFicha__dialog { width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .hgFicha__back { margin-top: 18px; }
}

/* --- Grilla "Todos los productos" (sale de la API del módulo) --- */
.hgCat__filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 40px;
}
.hgCat__pill {
  border: 1.5px solid #d8dee1;
  background: #fff;
  color: #1d1d1b;
  border-radius: 999px;
  padding: 9px 18px;
  font: 700 12px "Montserrat", system-ui, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
}
.hgCat__pill:hover { border-color: #1d1d1b; }
.hgCat__pill.is-active { background: var(--hg-pill, #21385E); border-color: var(--hg-pill, #21385E); color: #fff; }
.hgCat__vacio { text-align: center; color: #898989; font-size: 14px; grid-column: 1 / -1; }
