@charset "UTF-8";
/**
 * Product Showcase — grid / slider / tabs of products with a mini-OVNI hover
 * abduction animation. Reuses the brand palette from shared.css.
 */
.mu-ps {
  --mu-ps-accent: #B5DC4A;
  position: relative;
  font-family: inherit;
}
.mu-ps * {
  box-sizing: border-box;
}
.mu-ps {
  /* ── Category tabs ─────────────────────────────────────────── */
}
.mu-ps__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 28px;
}
.mu-ps__tab {
  font-family: "xanti-typewriter-variable", sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #1A3B3C;
  background: #fff;
  border: 2px solid #1A3B3C;
  border-radius: 999px;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.mu-ps__tab:hover {
  transform: translateY(-1px);
}
.mu-ps__tab.is-active {
  background: var(--mu-ps-accent);
  color: #1A3B3C;
}
.mu-ps {
  /* ── Grid ──────────────────────────────────────────────────── */
}
.mu-ps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.mu-ps {
  /* ── Slider ────────────────────────────────────────────────── */
}
.mu-ps__slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mu-ps__viewport {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.mu-ps__track {
  --mu-ps-cols: 3;
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.mu-ps__track .mu-ps__card {
  flex: 0 0 calc((100% - (var(--mu-ps-cols) - 1) * 28px) / var(--mu-ps-cols));
}
/* Flecha = componente de slider unificado (lima redondo, borde oscuro, sombra). */
.mu-ps__nav {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c2e535;
  border: 2px solid #00330b;
  box-shadow: 2px 2px 0 #00330b;
  color: #00330b;
  font-size: 20px; /* sizes the brand arrow icon (height: 1em) */
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
/* Blindaje anti-tema: marca en todos los estados (nada de fucsia). */
.mu-ps__nav:hover,
.mu-ps__nav:focus,
.mu-ps__nav:focus-visible,
.mu-ps__nav:active {
  background: #c2e535 !important;
  color: #00330b !important;
  border-color: #00330b !important;
}
.mu-ps__nav:hover { transform: translateY(-1px); box-shadow: 3px 4px 0 #00330b; }
.mu-ps__nav:active { transform: translateY(0); box-shadow: 1px 1px 0 #00330b; }
.mu-ps__nav::before, .mu-ps__nav::after { content: none !important; }
/* Flecha «anterior» apunta a la IZQUIERDA (‹ ›), como el conveyor-belt. */
.mu-ps__nav--prev .mu-arrow-ico { transform: scaleX(-1); }
.mu-ps__nav:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}
.mu-ps {
  /* ── Card ──────────────────────────────────────────────────── */
}
.mu-ps__card {
  position: relative;
  z-index: 2; /* higher than UFO */
  text-align: center;
  padding: 12px;
  transition: opacity 0.3s ease;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  max-width: 380px; /* Prevent giant card in full-width container */
  margin: 0 auto; /* Center card in grid column */
}
.mu-ps__card--hidden {
  display: none;
}
.mu-ps__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end; /* shift product toward right side */
  padding-right: 20px; /* ~100px equivalent at card max-width */
  padding-bottom: 18px; /* room for the ground shadow so overflow doesn't cut it */
  min-height: 290px;
  margin-bottom: 18px;
  overflow: hidden; /* clip UFO beam so it doesn't bleed into text */
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}
.mu-ps__img-link {
  display: block;
  width: 100%;
}
.mu-ps__img {
  position: relative;
  z-index: 3; /* higher than UFO */
  width: 100% !important;
  max-width: 200px !important;
  height: auto !important;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.10));
  transform-origin: 50% 100%;
}
.mu-ps__shadow {
  /* soft, BLURRED ground-contact shadow tucked under the product base. Its
     vertical offset is refined per-photo by JS (initShadows) so it never floats. */
  width: 44%;
  max-width: 108px;
  height: 13px;
  background: rgba(0, 0, 0, 0.38);
  border-radius: 50%;
  margin: -6px auto 0;   /* JS overrides marginTop per image */
  filter: blur(4px);
  pointer-events: none;
  transform-origin: center center;
}
/* Abduction light — rebuilt from the AE comp: a SEPARATE static layer (like
   Grupo 90), a clean symmetric trapezoid that only fades in/out and renders
   BEHIND the product (z 2 < photo z 3), never attached to the saucer. */
.mu-ps__beam2 {
  position: absolute;
  z-index: 1; /* behind the card (z 2) → the product occludes the light */
  opacity: 0;
  pointer-events: none;
}
.mu-ps__beam2 svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Hover/abduction image (hover/{SKU}_2.png) stacked over the photo — the JS
   crossfades it in during the abduction, like the AE comp does. */
.mu-ps__img-anim {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0 auto;
  width: 100% !important;
  max-width: 200px !important;
  height: auto !important;
  z-index: 4; /* above the base photo */
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.10));
}
/* Circular seal per product (top-right of the card, above everything) */
.mu-ps__seal {
  position: absolute;
  /* blueprint (Recurso 6): the seal's top sits ~15% down the card */
  top: 46px;
  right: 2px;
  width: 26%;
  max-width: 100px;
  height: auto;
  z-index: 6;
  pointer-events: none;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.18));
}
.mu-ps__badge {
  position: absolute;
  z-index: 4;
  width: 34%;
  max-width: 96px;
  pointer-events: none;
}
.mu-ps__badge img {
  width: 100%;
  height: auto;
  display: block;
}
.mu-ps__badge--top-left {
  top: 34px; /* below the media clip edge — never cut */
  left: 6%;
}
.mu-ps__badge--top-right {
  top: 34px;
  right: 6%;
}
.mu-ps__badge--bottom-left {
  bottom: 40px;
  left: 4%;
}
.mu-ps__badge--bottom-right {
  bottom: 40px;
  right: 4%;
}
.mu-ps__badge-text {
  display: inline-block;
  background: #C0392B;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  transform: rotate(-8deg);
}
.mu-ps__title {
  font-family: "xanti-typewriter-variable", sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 800;
  font-size: 17px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  /* blueprint: title LEFT-aligned, sharing the price's left edge */
  text-align: left;
  padding: 0 10px;
  margin: 0 0 6px;
  color: #331900;
}
.mu-ps__title a {
  color: inherit;
  text-decoration: none;
}
.mu-ps__meta {
  display: flex;
  flex-direction: row;
  align-items: center; /* botón redondo centrado con el bloque de precio (evita que el carrito "se suba" sobre un precio de 1 línea) */
  justify-content: space-between; /* price flush-left (under title), cart right */
  gap: 16px;
  width: 100%;
  margin-top: 10px;
  padding: 0 10px;
}
.mu-ps__price {
  font-family: "xanti-typewriter-variable", sans-serif;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  font-size: 15px;
  line-height: 1.18;
  color: #1A3B3C;
  white-space: nowrap;
}
.mu-ps__price .woocommerce-Price-amount {
  font-weight: 500;
  font-variation-settings: "wght" 500;
}
/* Variable products: "Desde" on its OWN line ABOVE the price (not beside it), so
   the block is two lines and lines up with a stacked discount price. */
.mu-ps__from { display: block; font-size: 11px; opacity: .7; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 1px; }
/* Discounts: STACKED — struck regular on top, sale price below (never side by side). */
.mu-ps__price del {
  display: block;
  opacity: .6;
  font-size: 12px;
  font-weight: 500;
  color: #8a6d4a;
  text-decoration: line-through;
}
.mu-ps__price ins {
  display: block;
  text-decoration: none;
  font-weight: 700;
  font-variation-settings: "wght" 700;
  font-size: 16px;
  color: #331900; /* sale price in brand dark */
}
/* «AGREGAR» — círculo lima con SOLO el ícono de carrito por defecto; se
   expande a la pill con el texto Xanti ExtraBold itálica al pasar el mouse
   sobre la card (según Recurso 5). */
.mu-ps__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 42px;
  width: 42px;
  padding: 0;
  font-family: "xanti-typewriter-variable", sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 800;
  /* Upright: the self-hosted Xanti VF only ships the normal style; italic would
     fall back to a system sans. Keep it upright = real Xanti ExtraBold. */
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #003732 !important;
  background: var(--mu-ps-accent, #c2e535) !important;
  border: 2px solid #00330b;
  border-radius: 999px !important;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  margin-right: 30px; /* nudge the button in from the card edge */
  box-shadow: 2px 2px 0 #00330b;
  transition: width 0.28s ease, padding 0.28s ease, gap 0.28s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.mu-ps__cart-ico {
  width: 17px;
  height: auto;
  flex: 0 0 auto;
  display: block;
}
.mu-ps__cart > span {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.28s ease, opacity 0.2s ease;
}
.mu-ps__card:hover .mu-ps__cart,
.mu-ps__cart:hover,
.mu-ps__cart:focus-visible {
  width: auto;
  padding: 0 18px;
  gap: 7px;
  transform: translateY(-1px);
  box-shadow: 3px 4px 0 #00330b;
}
.mu-ps__card:hover .mu-ps__cart > span,
.mu-ps__cart:hover > span,
.mu-ps__cart:focus-visible > span {
  max-width: 130px;
  opacity: 1;
}
.mu-ps__cart.loading {
  opacity: 0.7;
  pointer-events: none;
}
.mu-ps__cart.added::after {
  content: " ✓";
}
/* ── Blindaje anti-tema del botón AGREGAR ──────────────────────────────────
   Es un <a class="button add_to_cart_button">: el tema (WooCommerce) lo pinta
   de FUCSIA en :hover/:focus/:active e incluso inyecta SU PROPIO icono de
   carrito vía ::before (por eso "se salía" un segundo icono). Forzamos el color
   de marca en TODOS los estados con especificidad alta y matamos ese ::before.
   (El ::after lo usamos para el ✓ de "añadido", no se toca.) */
.mu-ps .mu-ps__cart,
.mu-ps .mu-ps__cart:link,
.mu-ps .mu-ps__cart:visited,
.mu-ps .mu-ps__cart:hover,
.mu-ps .mu-ps__cart:focus,
.mu-ps .mu-ps__cart:active,
.mu-ps .mu-ps__cart:focus-visible,
.mu-ps__card:hover .mu-ps__cart {
  /* El tema fuerza display:inline-block en .add_to_cart_button, lo que rompe el
     flex → el icono y el texto se pegan arriba (el icono "se sube"). Reimponemos
     el flex centrado para que queden alineados verticalmente. */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--mu-ps-accent, #c2e535) !important;
  color: #003732 !important;
  border-color: #00330b !important;
  line-height: 1 !important;
  filter: none !important;
  text-decoration: none !important;
  border-radius: 999px !important;
}
.mu-ps .mu-ps__cart {
  box-shadow: 2px 2px 0 #00330b !important;
  border-radius: 999px !important;
}
.mu-ps .mu-ps__cart:hover,
.mu-ps .mu-ps__cart:focus-visible,
.mu-ps__card:hover .mu-ps__cart { box-shadow: 3px 4px 0 #00330b !important; }
.mu-ps__cart::before { content: none !important; display: none !important; background: none !important; }
.mu-ps__cart-ico { max-height: 20px; }
.mu-ps {
  /* ── Load more ─────────────────────────────────────────────── */
}
.mu-ps__more-wrap {
  text-align: center;
  margin-top: 30px;
}
.mu-ps__more {
  font-family: "xanti-typewriter-variable", sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  background: #7B4B2A; /* café visible (no el #331900 tan oscuro) */
  border: none;
  border-radius: 999px;
  padding: 12px 34px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.mu-ps__more:hover,
.mu-ps__more:focus-visible {
  transform: translateY(-2px);
}
.mu-ps__more[hidden] {
  display: none;
}
/* Blindaje anti-tema: el tema pinta button:hover/:focus de FUCSIA. Forzamos la
   marca (fondo teal, texto blanco) en TODOS los estados y matamos su ::before. */
.mu-ps .mu-ps__more,
.mu-ps .mu-ps__more:link,
.mu-ps .mu-ps__more:visited,
.mu-ps .mu-ps__more:hover,
.mu-ps .mu-ps__more:focus,
.mu-ps .mu-ps__more:active,
.mu-ps .mu-ps__more:focus-visible {
  background: #7B4B2A !important;
  color: #fff !important;
  border: none !important;
  filter: none !important;
  text-decoration: none !important;
}
.mu-ps__more::before,
.mu-ps__more::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
/* Sentinela para scroll infinito (IntersectionObserver) */
.mu-ps__sentinel {
  width: 100%;
  height: 1px;
}
/* Paginación numerada */
.mu-ps__pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
}
.mu-ps__page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  font-family: "xanti-typewriter-variable", sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 800;
  font-size: 14px;
  color: #fff;
  background: #1A3B3C;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease, background 0.12s ease;
}
.mu-ps__page-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.mu-ps__page-btn.is-active {
  background: var(--mu-ps-accent, #c2e535);
  color: #173a12;
}
.mu-ps__page-btn[disabled] {
  opacity: 0.4;
  cursor: default;
  transform: none;
  filter: none;
}
.mu-ps {
  /* ── Mini-OVNI overlay (single instance, JS-positioned) ────── */
}
@keyframes ufo-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
.mu-ps .uf {
  animation: ufo-bob 5s ease-in-out infinite;
}
@keyframes ufo-bp {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.6;
  }
}
/* NOTE: no CSS animation on .lb (the beam group) — a CSS opacity animation
   overrides GSAP's inline fades, breaking the beam on/off of the abduction.
   GSAP owns the beam opacity entirely in product-showcase.js. */
@keyframes ufo-pg {
  0%, 100% {
    opacity: 0.9;
  }
  50% {
    opacity: 1;
  }
}
.mu-ps .py {
  animation: ufo-pg 3s ease-in-out infinite;
}
@keyframes ufo-dg {
  0%, 100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}
.mu-ps .dc {
  animation: ufo-dg 3.5s ease-in-out infinite;
}
.mu-ps__ufo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6; /* in FRONT of the cards — the saucer must never hide behind them
                 (per the AE reference it flies over everything; its beam is
                 translucent so the product still reads through it) */
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}
.mu-ps__ufo .mu-ps__ufo-craft {
  width: 100%;
}
.mu-ps__ufo .mu-ps__ufo-craft svg {
  width: 100%;
  height: auto;
  display: block;
}
.mu-ps__hand {
  position: absolute;
  bottom: 8%;
  right: 18%;
  z-index: 5;
  width: 42px;
  height: 48px;
  pointer-events: none;
  display: none !important; /* Force hide the cursor hand per updated instruction */
}
.mu-ps {
  /* Card being abducted: dim its own drop shadow, the UFO takes over, and tilt the bottle */
}
.mu-ps__card.is-abducting .mu-ps__shadow {
  opacity: 0;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .mu-ps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mu-ps__track {
    --mu-ps-cols: 2;
  }
}
@media (max-width: 600px) {
  .mu-ps__grid {
    grid-template-columns: 1fr;
  }
  .mu-ps__track {
    --mu-ps-cols: 1;
  }
  .mu-ps__tabs {
    gap: 6px;
  }
  .mu-ps__tab {
    font-size: 12px;
    padding: 6px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mu-ps__ufo {
    display: none !important;
  }
  .mu-ps__img {
    transition: none !important;
  }
}

/*# sourceMappingURL=product-showcase.css.map */

/* ══ Responsive móvil (auditoría responsive) ══════════════════════════ */
@media (hover: none), (pointer: coarse) {
  .mu-ps__cart { width: auto; padding: 0 18px; gap: 7px; }
  .mu-ps__cart > span { max-width: 130px; opacity: 1; }
}
@media (max-width: 480px) {
  .mu-ps__slider { gap: 4px; }
  .mu-ps__nav { width: 44px; height: 44px; font-size: 18px; } /* target táctil WCAG 2.5.5 */
  .mu-ps__meta { flex-wrap: wrap; row-gap: 8px; }
  .mu-ps__price { white-space: normal; min-width: 0; overflow-wrap: anywhere; }
  .mu-ps__media { min-height: clamp(200px, 62vw, 290px); }
}
