/* ═══════════════════════════════════════════════════════════════
   SHAPETOTAL HHFM — ESTILOS DE COMPONENTES
   Sin estilos inline. Todas las clases BEM con prefijo st-.
   ═══════════════════════════════════════════════════════════════ */

/* ── Layout raiz ── */
.st-main {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.st-section {
  margin-bottom: 3.5rem;
  animation: st-fade-up 0.7s var(--st-ease-out) both;
}
.st-section:nth-of-type(2) { animation-delay: 0.1s; }
.st-section:nth-of-type(3) { animation-delay: 0.2s; }
.st-section__title {
  font-family: var(--st-font-display);
  font-size: 1.35rem;
  color: var(--st-ink);
  margin-bottom: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ═══════════════════════════════════════════════════════════════ */
.st-announce {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--st-gap-lg);
  padding: 0.625rem 1rem;
  background: linear-gradient(
    90deg,
    rgba(0, 194, 255, 0.08),
    rgba(0, 194, 255, 0.04),
rgba(0, 194, 255, 0.08)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-family: var(--st-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--st-ink-muted);
  text-transform: uppercase;
}
.st-announce__text {
  text-align: center;
  flex: 1;
}
.st-announce__close {
  background: none;
  border: none;
  color: var(--st-ink-faint);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}
.st-announce__close:hover { color: var(--st-ink); }

/* ═══════════════════════════════════════════════════════════════
   HEADER / NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.st-navbar {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 50;
  transition:
    background-color 0.5s var(--st-ease-out),
    backdrop-filter 0.5s var(--st-ease-out),
    border-color 0.5s var(--st-ease-out);
}
.st-navbar.st-navbar--scrolled {
  position: fixed;
  top: 30px;
  background-color: rgba(7, 12, 22, 0.88);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.st-navbar--transparent {
  background-color: transparent;
  border-bottom-color: transparent;
}
.st-navbar__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 var(--st-gap-xl);
}
@media (min-width: 640px) { .st-navbar__inner { padding: 0 1.5rem; } }
.st-navbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(56px, 10vw, 72px);
}
.st-navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--st-gap-sm);
  flex-shrink: 0;
  text-decoration: none;
}
.st-navbar__logo-svg {
  width: clamp(24px, 4vw, 32px);
  height: clamp(24px, 4vw, 32px);
  color: var(--st-primary);
  flex-shrink: 0;
}
.st-navbar__logo-text {
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--st-ink);
}
.st-navbar__logo-accent { color: var(--st-primary); }
.st-navbar__links { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 768px) { .st-navbar__links { display: flex; } }
.st-navbar__link {
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: var(--st-radius-sm);
  font-weight: 500;
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  color: var(--st-ink-muted);
  text-decoration: none;
  transition: color 0.3s var(--st-ease), background-color 0.3s var(--st-ease);
}
.st-navbar__link:hover {
  color: var(--st-ink);
  background-color: rgba(255, 255, 255, 0.04);
}
.st-navbar__link--active { color: var(--st-primary-soft); }
.st-navbar__link-underline {
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--st-primary);
  border-radius: var(--st-radius-full);
  animation: st-scale-in 0.3s var(--st-ease-out);
}
.st-navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--st-gap-sm);
}
.st-navbar__lang {
  display: flex;
  border-radius: var(--st-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.st-navbar__lang-btn {
  padding: 0.375rem 0.5rem;
  font-family: var(--st-font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--st-ink-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.st-navbar__lang-btn:hover { color: var(--st-ink); }
.st-navbar__lang-btn--active {
  background: var(--st-primary);
  color: var(--st-void);
}
.st-navbar__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem;
  border-radius: var(--st-radius-md);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--st-ink-muted);
  min-width: 44px;
  min-height: 44px;
  transition: background-color 0.15s;
}
.st-navbar__cart:hover { background-color: rgba(255, 255, 255, 0.04); }
.st-navbar__cart svg {
  width: clamp(18px, 2.5vw, 20px);
  height: clamp(18px, 2.5vw, 20px);
}
.st-navbar__cart-badge {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--st-radius-full);
  background: var(--st-primary);
  color: var(--st-void);
  font-size: 0.625rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}
.st-navbar__cart-badge--visible { display: flex; }

.st-profile-trigger {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  color: var(--st-ink-muted);
  background: none;
  border: none;
  cursor: pointer;
}
.st-profile-trigger:hover { color: var(--st-ink); }
.st-profile-trigger__icon { width: 18px; height: 18px; }
.st-dd-arrow { width: 14px; height: 14px; transition: transform 0.2s; }
.st-dd-arrow--open { transform: rotate(180deg); }

.st-navbar__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem;
  border-radius: var(--st-radius-md);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--st-ink);
  min-width: 44px;
  min-height: 44px;
  transition: background-color 0.15s;
}
.st-navbar__hamburger:hover { background-color: rgba(255, 255, 255, 0.04); }
@media (min-width: 768px) { .st-navbar__hamburger { display: none; } }
.st-navbar__hamburger svg { width: 20px; height: 20px; }
.st-hamburger__icon { display: flex; }

.st-navbar__mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 5, 10, 0.95);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}
.st-navbar__mobile--open { display: flex; }
@media (min-width: 768px) { .st-navbar__mobile { display: none !important; } }
.st-navbar__mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--st-radius-sm);
  font-weight: 500;
  font-size: 1rem;
  color: var(--st-ink-muted);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.st-navbar__mobile-link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--st-ink);
}
.st-navbar__mobile-link--active {
  color: var(--st-primary-soft);
  background: rgba(51, 255, 106, 0.08);
}

/* FX live y cuenta: componentes HHFM recuperados de la version React/APX. */
.st-fx-topbar {
  position: absolute; inset: 0 0 auto; z-index: 70; width: 100%; height: 30px;
  display: flex; align-items: center; justify-content: center; gap: clamp(.42rem,1.4vw,1.05rem);
  padding: 0 .75rem; overflow: hidden; border: 0; border-bottom: 1px solid rgba(89,232,255,.22);
  background: linear-gradient(90deg,rgba(4,18,31,.97),rgba(8,39,56,.96) 48%,rgba(4,18,31,.97));
  box-shadow: 0 7px 24px rgba(0,12,24,.2), inset 0 -1px rgba(89,232,255,.05);
  color: #d8f8ff; font: 600 .68rem/1 var(--st-font-mono); font-variant-numeric: tabular-nums;
  letter-spacing: .025em; cursor: pointer; white-space: nowrap; backdrop-filter: blur(14px);
}
.st-fx-live { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; background: #1de9b6; box-shadow: 0 0 10px #1de9b6; animation: st-fx-pulse 2.4s ease-out infinite; }
.st-fx-label { font-size: .58rem; letter-spacing: .18em; color: #8cecff; }
.st-fx-quotes { display: contents; }
.st-fx-quote { display: inline-flex; align-items: baseline; gap: .35rem; }
.st-fx-pair { color: rgba(210,246,255,.58); font-size: .58rem; letter-spacing: .08em; }
.st-fx-quote strong { color: #f2fdff; text-shadow: 0 0 12px rgba(89,232,255,.26); }
.st-fx-clock { min-width: 4.9rem; color: rgba(210,246,255,.62); text-align: right; }
.st-fx-panel { position: fixed; z-index: 4000; top: 108px; right: max(.5rem, env(safe-area-inset-right)); min-width: 17rem; max-width: calc(100vw - 1rem); padding: .75rem; border: 1px solid rgba(255,255,255,.14); border-radius: .65rem; background: var(--st-surface-raised); box-shadow: 0 18px 48px rgba(0,0,0,.55); opacity: 0; visibility: hidden; transform: translateY(-.4rem); transition: opacity .16s, transform .16s, visibility .16s; }
.st-fx-panel--open { opacity: 1; visibility: visible; transform: translateY(0); }
.st-fx-panel__head, .st-fx-panel__row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.st-fx-panel__head { color: var(--st-ink-muted); font: 600 .68rem/1.2 var(--st-font-mono); letter-spacing: .12em; }
.st-fx-panel__age, .st-fx-panel__sub, .st-fx-panel__footer { color: var(--st-ink-faint); font-size: .66rem; letter-spacing: 0; }
.st-fx-panel__sub { margin: .2rem 0 .55rem; }
.st-fx-panel__row { width: 100%; padding: .45rem; border: 0; border-radius: .4rem; background: transparent; color: var(--st-ink); cursor: pointer; }
.st-fx-panel__row:hover { background: rgba(255,255,255,.06); }
.st-fx-panel__row--active { background: rgba(29,233,182,.12); color: var(--st-primary); }
.st-fx-panel__code { font-weight: 700; }
.st-fx-panel__value { color: var(--st-ink-muted); font: .72rem/1.2 var(--st-font-mono); }
.st-fx-panel__footer { margin-top: .45rem; padding-top: .4rem; border-top: 1px solid rgba(255,255,255,.1); }
.st-fx-panel__warning { margin-bottom: .45rem; padding: .4rem; border-radius: .35rem; background: rgba(245,165,36,.14); color: #f5a524; font-size: .7rem; }
@keyframes st-fx-pulse { 0% { box-shadow: 0 0 0 0 rgba(29,233,182,.45),0 0 10px #1de9b6; } 70% { box-shadow: 0 0 0 7px rgba(29,233,182,0),0 0 13px #1de9b6; } 100% { box-shadow: 0 0 0 0 rgba(29,233,182,0),0 0 10px #1de9b6; } }

.st-profile-dd { position: relative; }
.st-profile-menu { position: absolute; top: calc(100% + .7rem); right: 0; z-index: 100; width: min(22rem, calc(100vw - 1rem)); padding: .55rem; border: 1px solid rgba(255,255,255,.1); border-radius: .85rem; background: rgba(9,20,34,.98); box-shadow: 0 22px 65px rgba(0,0,0,.58); opacity: 0; visibility: hidden; transform: translateY(-7px) scale(.98); transform-origin: top right; transition: opacity .18s, visibility .18s, transform .18s; }
.st-profile-menu--open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.st-profile-menu__user { display: flex; gap: .7rem; align-items: center; padding: .7rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: .35rem; }
.st-profile-menu__avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg,var(--st-primary),var(--st-cyan)); color: var(--st-void); font-weight: 800; }
.st-profile-menu__identity, .st-profile-menu__copy { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.st-profile-menu__identity strong { color: var(--st-ink); }
.st-profile-menu__identity > span { overflow: hidden; color: var(--st-ink-faint); font-size: .7rem; text-overflow: ellipsis; }
.st-profile-menu__identity .st-profile-menu__live { color: var(--st-primary); font: .58rem/1.6 var(--st-font-mono); }
.st-profile-menu__item { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .62rem .65rem; border: 0; border-radius: .55rem; background: transparent; color: var(--st-ink); text-align: left; cursor: pointer; }
.st-profile-menu__item:hover { background: rgba(95,212,240,.08); }
.st-profile-menu__glyph { width: 28px; height: 28px; display: grid; place-items: center; border-radius: .45rem; background: rgba(95,212,240,.09); color: var(--st-primary); }
.st-profile-menu__label { font-size: .82rem; font-weight: 600; }
.st-profile-menu__desc { color: var(--st-ink-faint); font-size: .67rem; }
.st-profile-menu__arrow { color: var(--st-ink-faint); font-size: 1.15rem; }
.st-profile-menu__separator { height: 1px; margin: .35rem .5rem; background: rgba(255,255,255,.08); }
.st-profile-menu__item--danger { color: #ff8585; }
.st-profile-menu__guest { display: flex; flex-direction: column; padding: .7rem; color: var(--st-ink); }
.st-profile-menu__guest span { color: var(--st-ink-faint); font-size: .72rem; }
.st-profile-menu__languages { display: flex; justify-content: space-between; padding: .55rem .7rem .25rem; color: var(--st-ink-faint); font: .62rem/1 var(--st-font-mono); }

/* ═══════════════════════════════════════════════════════════════
   BG-FX — fondo animado
   ═══════════════════════════════════════════════════════════════ */
.st-bgfx {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.st-bgfx__canvas {
  position: absolute;
  inset: 0;
  opacity: 0.7;
}
.st-bgfx__blob {
  position: absolute;
  width: var(--st-blob-size);
  height: var(--st-blob-size);
  left: var(--st-blob-left);
  top: var(--st-blob-top);
  background: radial-gradient(circle, var(--st-blob-color), transparent 70%);
  filter: blur(50px);
  border-radius: 9999px;
  animation: st-drift var(--st-blob-duration) ease-in-out var(--st-blob-delay) infinite;
}
.st-bgfx__scanline {
  position: absolute;
  width: 100%;
  height: 2px;
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(51, 255, 106, 0.25), transparent);
  animation: st-scanline 5s linear infinite;
}
@keyframes st-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(25px, -20px); }
}
@keyframes st-scanline {
  0% { top: -2px; }
  100% { top: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO — carrusel
   ═══════════════════════════════════════════════════════════════ */
.st-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.st-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: opacity 0.8s var(--st-ease-out);
  opacity: 0.5;
}
.st-hero__bg--changing { opacity: 0; }
.st-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--st-void) 80%, transparent), transparent 50%, color-mix(in srgb, var(--st-void) 80%, transparent)),
    linear-gradient(180deg, color-mix(in srgb, var(--st-void) 70%, transparent), color-mix(in srgb, var(--st-void) 40%, transparent), var(--st-void));
}
.st-hero__content {
  position: relative;
  z-index: 2;
  max-width: 64rem;
  margin: 0 auto;
  padding: 6rem 1rem 4rem;
  text-align: center;
}
.st-hero__eyebrow {
  display: inline-block;
  font-family: var(--st-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--st-primary-soft);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: st-fade-down 0.5s var(--st-ease-out) 0.2s both;
}
.st-hero__title {
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: var(--st-text-hero);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--st-ink);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: st-fade-up 0.7s var(--st-ease-out) 0.35s both;
}
.st-hero__title-accent { 
  background: linear-gradient(135deg, var(--st-primary-bright), var(--st-primary-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.st-hero__title-secondary { color: var(--st-ink-soft); }
.st-hero__subtitle {
  color: var(--st-ink-muted);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: st-fade-up 0.7s var(--st-ease-out) 0.5s both;
}
.st-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--st-gap-md);
  margin-bottom: 0;
  opacity: 0;
  animation: st-fade-up 0.7s var(--st-ease-out) 0.65s both;
}
.st-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--st-gap-sm);
  padding: 0.75rem 1.5rem;
  border-radius: calc(var(--st-radius-md) + 4px);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s var(--st-ease-out);
}
.st-hero__btn--primary {
  background: linear-gradient(135deg, var(--st-primary), var(--st-cyan));
  color: var(--st-void);
  border: none;
  box-shadow: 0 4px 24px rgba(0, 194, 255, 0.3);
  overflow: hidden;
  position: relative;
}
.st-hero__btn--primary:hover {
  box-shadow: 0 6px 32px rgba(0, 194, 255, 0.5);
  transform: translateY(-2px);
}
.st-hero__btn--primary:active { transform: scale(0.97); }
.st-hero__btn-arrow { transition: transform 0.3s var(--st-ease-out); display: inline-block; }
.st-hero__btn--primary:hover .st-hero__btn-arrow { transform: translateX(4px); }
.st-hero__btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--st-ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}
.st-hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 194, 255, 0.3);
  transform: translateY(-2px);
}
.st-hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--st-gap-xl);
  opacity: 0;
  animation: st-fade-up 0.7s var(--st-ease-out) 0.8s both;
}
.st-hero__badge {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: center;
}
.st-hero__badge-title {
  font-family: var(--st-font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--st-ink);
}
.st-hero__badge-note {
  font-size: var(--st-text-small);
  color: var(--st-ink-faint);
}
.st-trust-section { position: relative; z-index: 10; padding: 1.5rem 0; }
.st-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.st-trust-grid .st-hero__badge {
  min-height: 80px;
  padding: 1rem;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  border-radius: var(--st-radius-2xl);
  background: var(--st-glass-bg);
  backdrop-filter: var(--st-glass-blur);
  border: 1px solid var(--st-glass-border);
  box-shadow: var(--st-glass-shadow);
}
.st-hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 5, 10, 0.5);
  backdrop-filter: blur(16px);
  color: var(--st-ink);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--st-ease-out);
  opacity: 0;
}
.st-hero:hover .st-hero__arrow { opacity: 1; }
.st-hero__arrow:hover {
  background: rgba(5, 5, 10, 0.8);
  border-color: rgba(0, 194, 255, 0.3);
}
.st-hero__arrow--prev { left: 1rem; }
.st-hero__arrow--next { right: 1rem; }
.st-hero__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}
.st-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--st-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--st-ease-out);
}
.st-hero__dot--active {
  background: var(--st-primary);
  border-color: var(--st-primary);
  width: 28px;
  border-radius: 4px;
}
.st-hero__dot:hover { border-color: var(--st-primary-soft); }

/* ═══════════════════════════════════════════════════════════════
   PRODUCT CARD
   ═══════════════════════════════════════════════════════════════ */
.st-card {
  position: relative;
  border-radius: var(--st-radius-xl);
  overflow: hidden;
  border: 1px solid var(--st-card-border);
  background: var(--st-card-bg);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  box-shadow: var(--st-card-shadow);
  transition:
    transform 0.35s var(--st-ease-out),
    border-color 0.35s var(--st-ease-out),
    box-shadow 0.35s var(--st-ease-out);
  cursor: pointer;
}
.st-card:hover {
  border-color: rgba(0, 194, 255, 0.4);
  transform: translateY(-6px);
  box-shadow: var(--st-card-shadow-hover);
}
.st-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0a0a12;
  overflow: hidden;
}
.st-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--st-ease-out);
}
.st-card:hover .st-card__img { transform: scale(1.08); }
.st-card__badge {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  z-index: 2;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--st-radius-full);
  color: var(--st-void);
}
.st-card__badge--top { background: var(--st-primary); }
.st-card__badge--new { background: var(--st-green); }
.st-card__badge--sale { background: var(--st-red); }
.st-card__body {
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.st-card__category {
  font-size: var(--st-text-tiny);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--st-ink-faint);
}
.st-card__name {
  font-family: var(--st-font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--st-ink);
  margin: 0.15rem 0;
  line-height: 1.4;
}
.st-card__stock {
  font-size: var(--st-text-small);
  color: var(--st-green-soft);
  margin-bottom: 0.25rem;
}
.st-card__price-row {
  display: flex;
  align-items: center;
  gap: var(--st-gap-sm);
  margin-bottom: 0.15rem;
}
.st-card__price {
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--st-primary-soft);
}
.st-card__price--old {
  font-size: 0.8rem;
  color: var(--st-ink-faint);
  text-decoration: line-through;
}
.st-card__reviews {
  font-size: var(--st-text-small);
  color: var(--st-ink-faint);
  margin-left: auto;
}
.st-card__size {
  font-size: var(--st-text-small);
  color: var(--st-ink-muted);
  margin-bottom: 0.5rem;
}
.st-card__add {
  width: 100%;
  height: 38px;
  border: none;
  border-radius: var(--st-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--st-primary), var(--st-cyan));
  color: var(--st-void);
  cursor: pointer;
  transition: all 0.25s var(--st-ease-out);
}
.st-card__add:hover { filter: brightness(1.1); transform: scale(1.02); }
.st-card__add:active { transform: scale(0.97); }

.st-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

/* Estado de objetos HHFM: siempre por clases, nunca por mutacion style. */
.st-hhfm-hidden { display: none !important; }

@media (max-width: 559px) {
  .st-card-grid { grid-template-columns: repeat(2, 1fr); gap: 0.625rem; }
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORY CARD
   ═══════════════════════════════════════════════════════════════ */
.st-cat {
  position: relative;
  border-radius: var(--st-radius-xl);
  overflow: hidden;
  border: 1px solid var(--st-card-border);
  background: var(--st-card-bg);
  backdrop-filter: blur(28px) saturate(1.35);
  box-shadow: var(--st-card-shadow);
  transition: all 0.35s var(--st-ease-out);
  cursor: pointer;
  min-height: 200px;
  aspect-ratio: 16 / 10;
}
.st-cat:hover {
  border-color: rgba(0, 194, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--st-card-shadow-hover);
}
.st-cat:focus-visible {
  outline: 2px solid var(--st-primary);
  outline-offset: 3px;
}
.st-cat__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a0a12;
}
.st-cat__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--st-ease-out);
}
.st-cat:hover .st-cat__img { transform: scale(1.08); }
.st-cat__body {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.3rem;
  background: linear-gradient(0deg, color-mix(in srgb, var(--st-void) 90%, transparent), color-mix(in srgb, var(--st-void) 30%, transparent), transparent);
}
.st-cat__label {
  font-family: var(--st-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--st-ink);
  margin: 0;
}
.st-cat__tagline {
  font-size: 0.8125rem;
  color: var(--st-ink-muted);
  margin: 0;
}
.st-cat__explore {
  align-self: flex-start;
  margin-top: 0.3rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--st-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--st-primary-soft);
  font-family: var(--st-font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.25s var(--st-ease-out);
  opacity: 0;
}
.st-cat__explore:hover {
  background: var(--st-primary);
  color: var(--st-void);
  border-color: transparent;
}
.st-cat:hover .st-cat__explore { opacity: 1; }
.st-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 639.98px) {
  .st-trust-grid, .st-cat-grid { grid-template-columns: 1fr; }
}

/* HOME — composicion sincronizada con el bundle productivo reciente. */
.st-home-ticker { overflow: hidden; padding: 1rem 0; border-block: 1px solid rgba(255,255,255,.04); background: color-mix(in srgb, var(--st-surface) 50%, transparent); }
.st-home-ticker__track { display: flex; width: max-content; white-space: nowrap; animation: st-home-marquee 30s linear infinite; }
.st-home-ticker__item { display: inline-flex; align-items: center; gap: .5rem; margin-inline: 1.5rem; font: 500 .6875rem/1.2 var(--st-font-mono); letter-spacing: .12em; color: var(--st-ink-faint); }
.st-home-ticker__diamond { color: color-mix(in srgb, var(--st-primary) 45%, transparent); }
@keyframes st-home-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.st-home-main { padding-top: 3rem; }
.st-home-block { margin-bottom: 3.5rem; }
.st-home-promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.st-home-promo { min-height: 200px; position: relative; overflow: hidden; padding: clamp(1.5rem, 4vw, 2rem); border-radius: var(--st-radius-2xl); }
.st-home-promo--cyan { background: linear-gradient(135deg, rgba(0,212,255,.15), rgba(0,212,255,.05)); }
.st-home-promo--energy { background: linear-gradient(135deg, rgba(255,179,0,.15), rgba(255,179,0,.05)); }
.st-home-promo__label { margin: 0 0 .5rem; color: var(--st-primary); font: 500 .6875rem/1.2 var(--st-font-mono); letter-spacing: .15em; }
.st-home-promo--energy .st-home-promo__label { color: #ffb300; }
.st-home-promo__title { margin: 0 0 .25rem; color: var(--st-ink); font: 700 var(--st-text-h2)/1.1 var(--st-font-display); }
.st-home-promo__text { margin: 0 0 1rem; color: var(--st-ink-muted); }
.st-home-promo__button--energy { background: linear-gradient(135deg,#ffb300,#ff8f00); }
.st-home-rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
.st-home-rail::-webkit-scrollbar { display: none; }
.st-home-rail__group { display: flex; flex: 0 0 auto; gap: 1rem; }
.st-home-rail--infinite { overflow: hidden; scroll-snap-type: none; }
.st-home-rail--infinite .st-home-rail__track { display: flex; width: max-content; gap: 1rem; will-change: transform; animation: st-product-rail 34s linear infinite; }
.st-home-rail--fast .st-home-rail__track { animation-duration: 22s; }
.st-home-rail--slow .st-home-rail__track { animation-duration: 48s; }
.st-home-rail--infinite:is(:hover, :focus-within) .st-home-rail__track { animation-play-state: paused; }
.st-home-rail__item { flex: 0 0 clamp(260px,30vw,300px); scroll-snap-align: start; }
.st-home-rail__more { flex:0 0 150px; min-height:220px; align-self:stretch; border:1px dashed rgba(255,255,255,.18); border-radius:var(--st-radius-xl); color:var(--st-primary); background:rgba(255,255,255,.025); font:700 .75rem/1.3 var(--st-font-mono); letter-spacing:.06em; }
.st-home-rail__more:hover,.st-home-rail__more:focus-visible { border-color:var(--st-primary); background:rgba(0,194,255,.08); }
.st-shop-more { display:block; margin:1.25rem auto 0; min-width:180px; }
@keyframes st-product-rail { from { transform: translate3d(0,0,0); } to { transform: translate3d(calc(-50% - .5rem),0,0); } }
@media (prefers-reduced-motion: reduce) { .st-home-rail--infinite { overflow-x: auto; } .st-home-rail--infinite .st-home-rail__track { animation: none; will-change: auto; } .st-home-rail--infinite .st-home-rail__group[aria-hidden="true"] { display: none; } }
.st-home-block--narrow { max-width: 42rem; margin-inline: auto; }
.st-home-newsletter { padding: clamp(1.5rem,5vw,2.5rem); text-align: center; border-radius: var(--st-radius-2xl); }
.st-home-newsletter__icon { width: 3.5rem; height: 3.5rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; border-radius: 50%; color: var(--st-primary); background: color-mix(in srgb,var(--st-primary) 10%,transparent); font-size: 1.5rem; }
.st-home-newsletter__title { margin: 0 0 .5rem; color: var(--st-ink); font: 700 var(--st-text-h3)/1.2 var(--st-font-display); }
.st-home-newsletter__text { margin: 0 0 1.5rem; color: var(--st-ink-muted); }
.st-home-newsletter__form { display: flex; gap: .75rem; }
.st-home-newsletter__input { min-height: 48px; color: var(--st-ink); background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.06); }
.st-home-newsletter__input:focus { color: var(--st-ink); background: rgba(255,255,255,.06); border-color: color-mix(in srgb,var(--st-primary) 30%,transparent); box-shadow: none; }
.st-home-newsletter__status { color: var(--st-green-soft); margin: .75rem 0 0; }
.st-home-brands { padding-block: 1rem; text-align: center; }
.st-home-brands__label { margin: 0 0 1.5rem; color: var(--st-ink-muted); font: 500 .6875rem/1.2 var(--st-font-mono); letter-spacing: .2em; text-transform: uppercase; }
.st-home-brands__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(2rem,5vw,3rem); }
.st-home-brands__name { color: var(--st-ink-faint); font: 700 clamp(1.1rem,2vw,1.25rem)/1 var(--st-font-display); letter-spacing: .08em; transition: color .2s; }
.st-home-brands__name:hover { color: color-mix(in srgb,var(--st-primary) 60%,transparent); }
.st-home-block--cta { max-width: 56rem; margin-inline: auto; }
.st-home-cta { padding: clamp(2rem,6vw,3rem); border-radius: var(--st-radius-2xl); text-align: center; }
.st-home-cta__title { margin: 0 0 1rem; color: var(--st-ink); font: 700 var(--st-text-h1)/1.15 var(--st-font-display); }
.st-home-cta__text { max-width: 36rem; margin: 0 auto 2rem; color: var(--st-ink-muted); font-size: clamp(.95rem,1.4vw,1.1rem); }
.st-home-cta__actions { display: flex; justify-content: center; gap: .75rem; }
.st-filtros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.5rem; }
.st-shop-control { min-width: 0; }
.st-shop-control__label { display: block; margin: 0 0 .35rem; color: var(--st-ink-muted); font: 500 .6875rem/1.2 var(--st-font-mono); letter-spacing: .05em; }
.st-shop-control__select { min-height: 42px; color: var(--st-ink); background-color: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.st-shop-control__select:focus { color: var(--st-ink); background-color: var(--st-surface); border-color: color-mix(in srgb,var(--st-primary) 30%,transparent); box-shadow: none; }
.st-shop-control__select option { color: #07111f; }
@media (max-width: 639.98px) {
  .st-home-promos { grid-template-columns: 1fr; }
  .st-home-newsletter__form, .st-home-cta__actions { flex-direction: column; }
  .st-home-newsletter__form .st-btn, .st-home-cta__actions .st-hero__btn { width: 100%; justify-content: center; }
  .st-filtros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ═══════════════════════════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════════════════════════ */
.st-tabs__bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--st-gap-sm);
  margin-bottom: 1.25rem;
}
.st-tabs__btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--st-radius-md);
  border: 1px solid var(--st-card-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--st-ink-muted);
  font-family: var(--st-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--st-ease-out);
}
.st-tabs__btn:hover { color: var(--st-ink); border-color: rgba(0, 194, 255, 0.2); }
.st-tabs__btn--active {
  background: linear-gradient(135deg, var(--st-primary), var(--st-cyan));
  color: var(--st-void);
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(0, 194, 255, 0.25);
}

/* ═══════════════════════════════════════════════════════════════
   BLOG CARDS
   ═══════════════════════════════════════════════════════════════ */
.st-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.st-blog {
  border-radius: var(--st-radius-xl);
  overflow: hidden;
  border: 1px solid var(--st-card-border);
  background: var(--st-card-bg);
  backdrop-filter: blur(28px) saturate(1.35);
  box-shadow: var(--st-card-shadow);
  transition: all 0.35s var(--st-ease-out);
}
.st-blog:hover {
  transform: translateY(-4px);
  box-shadow: var(--st-card-shadow-hover);
  border-color: rgba(0, 194, 255, 0.2);
}
.st-blog__media { aspect-ratio: 16 / 9; overflow: hidden; }
.st-blog__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--st-ease-out);
}
.st-blog:hover .st-blog__img { transform: scale(1.05); }
.st-blog__body { padding: 1rem; }
.st-blog__eyebrow { display: block; margin-bottom: .5rem; color: var(--st-primary-soft); font: 600 .65rem/1 var(--st-font-mono); letter-spacing: .12em; text-transform: uppercase; }
.st-blog__title {
  font-family: var(--st-font-display);
  font-size: 1rem;
  color: var(--st-ink);
  margin-bottom: 0.4rem;
}
.st-blog__excerpt {
  font-size: 0.82rem;
  color: var(--st-ink-muted);
  line-height: 1.5;
  margin: 0;
}
.st-blog__meta { display: block; margin-top: auto; padding-top: .75rem; color: var(--st-ink-faint); font: 500 .7rem/1.4 var(--st-font-mono); }
.st-blog__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .65rem; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.st-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: 2.5rem 1.5rem 1.5rem;
}
.st-footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--st-gap-xl);
  max-width: 80rem;
  margin: 0 auto 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--st-glass-border);
}
.st-footer__trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.st-footer__trust-item strong {
  font-family: var(--st-font-display);
  font-size: 0.85rem;
  color: var(--st-ink);
}
.st-footer__trust-item span {
  font-size: var(--st-text-small);
  color: var(--st-ink-faint);
}
.st-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto 2rem;
}
.st-footer__brand-name {
  font-family: var(--st-font-display);
  font-size: 1.1rem;
  color: var(--st-ink);
  margin-bottom: 0.5rem;
}
.st-footer__brand-tag {
  font-size: 0.8rem;
  color: var(--st-ink-faint);
  line-height: 1.5;
}
.st-footer__col-title {
  font-family: var(--st-font-display);
  font-size: 0.85rem;
  color: var(--st-ink);
  margin-bottom: 0.7rem;
}
.st-footer__link {
  display: block;
  font-size: 0.82rem;
  color: var(--st-ink-muted);
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color 0.2s var(--st-ease);
}
.st-footer__link:hover { color: var(--st-primary-soft); }
.st-footer__newsletter {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.st-footer__newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border-radius: var(--st-radius-md);
  border: 1px solid var(--st-glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--st-ink);
  font-size: 0.82rem;
  transition: border-color 0.25s;
}
.st-footer__newsletter-input:focus {
  outline: none;
  border-color: rgba(0, 194, 255, 0.4);
}
.st-footer__newsletter-btn {
  padding: 0.5rem 0.9rem;
  border-radius: var(--st-radius-md);
  border: none;
  background: linear-gradient(135deg, var(--st-primary), var(--st-cyan));
  color: var(--st-void);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: filter 0.2s;
}
.st-footer__newsletter-btn:hover { filter: brightness(1.1); }
.st-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--st-gap-sm);
  max-width: 80rem;
  margin: 0 auto;
  font-size: var(--st-text-small);
  color: var(--st-ink-faint);
}
.st-footer__strapline {
  font-family: var(--st-font-mono);
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════════════════════════
   CART DRAWER
   ═══════════════════════════════════════════════════════════════ */
.st-cart-toggle {
  position: fixed;
  right: 1.5rem;
  bottom: 5rem;
  z-index: 91;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--st-primary), var(--st-cyan));
  color: var(--st-void);
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 194, 255, 0.15);
  transition: all 0.25s var(--st-ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}
.st-cart-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 194, 255, 0.25);
}
.st-cart-toggle:active { transform: scale(0.95); }
.st-cart-toggle__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: var(--st-radius-full);
  background: var(--st-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}
.st-cart-toggle__badge--visible { display: flex; }
.st-cart-toggle--fallback { display: none; }
.st-cart {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, 92vw);
  z-index: 92;
  background: rgba(8, 8, 18, 0.95);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--st-ease-out);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
}
.st-cart--open { transform: translateX(0); }
.st-cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--st-glass-border);
}
.st-cart__header h3 {
  font-family: var(--st-font-display);
  font-size: 1.1rem;
  color: var(--st-ink);
  margin: 0;
}
.st-cart__close {
  background: none;
  border: none;
  color: var(--st-ink-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.st-cart__close:hover { color: var(--st-ink); }
.st-cart__list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--st-gap-md);
}
.st-cart__empty {
  color: var(--st-ink-faint);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem 0;
}

.st-data-error {
  margin: 1rem 0;
  padding: .9rem 1rem;
  border: 1px solid rgba(255, 120, 120, .28);
  border-radius: .75rem;
  color: #ffd7d7;
  background: rgba(120, 20, 30, .18);
}
.st-cart__item {
  display: flex;
  gap: var(--st-gap-md);
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--st-glass-border);
}
.st-cart__item-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--st-radius-md);
  flex-shrink: 0;
}
.st-cart__item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.st-cart__item-name { font-size: 0.82rem; color: var(--st-ink); }
.st-cart__item-price { font-size: 0.78rem; color: var(--st-primary-soft); font-weight: 700; }
.st-cart__qty-row { display: flex; align-items: center; gap: 0.4rem; }
.st-cart__qty-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--st-radius-sm);
  border: 1px solid var(--st-glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--st-ink);
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.st-cart__qty-btn:hover { background: rgba(255, 255, 255, 0.08); }
.st-cart__qty-label {
  font-size: 0.82rem;
  color: var(--st-ink-muted);
  min-width: 1.25rem;
  text-align: center;
}
.st-cart__item-remove {
  background: none;
  border: none;
  color: var(--st-ink-faint);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}
.st-cart__item-remove:hover { color: var(--st-red); }
.st-cart__footer {
  border-top: 1px solid var(--st-glass-border);
  padding-top: 0.75rem;
  margin-top: auto;
}
.st-cart__total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--st-font-display);
  color: var(--st-ink);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.st-cart__total-value { color: var(--st-primary-soft); font-weight: 700; }
.st-cart__checkout {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: var(--st-radius-lg);
  background: linear-gradient(135deg, var(--st-primary), var(--st-cyan));
  color: var(--st-void);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s var(--st-ease-out);
}
.st-cart__checkout:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════════════
   CHATBOT
   ═══════════════════════════════════════════════════════════════ */
.st-chat-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 81;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--st-primary), var(--st-cyan));
  color: var(--st-void);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 194, 255, 0.15);
  transition: all 0.25s var(--st-ease-out);
}
.st-chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 194, 255, 0.25);
}
.st-chat {
  position: fixed;
  bottom: 6rem;
  right: 1.25rem;
  z-index: 80;
  width: min(420px, calc(100vw - 24px));
  height: min(68vh, 640px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--st-radius-xl);
  overflow: hidden;
  background: rgba(8, 8, 18, 0.96);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  box-shadow: rgba(0, 0, 0, 0.8) 0 30px 100px;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.3s var(--st-ease-out), transform 0.3s var(--st-ease-out);
}
.st-chat--open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.st-chat__header {
  display: flex;
  align-items: center;
  gap: var(--st-gap-md);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.08), rgba(0, 194, 255, 0.02));
  flex-shrink: 0;
}
.st-chat__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 194, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.st-chat__title-wrap { flex: 1; min-width: 0; }
.st-chat__title-row { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--st-ink); }
.st-chat__status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--st-green); }
.st-chat__subtitle { font-size: 0.72rem; color: var(--st-ink-faint); }
.st-chat__header-close {
  background: none;
  border: none;
  color: var(--st-ink-muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.st-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: var(--st-gap-md);
}
.st-chat__row { display: flex; }
.st-chat__row--bot { justify-content: flex-start; }
.st-chat__row--user { justify-content: flex-end; }
.st-chat__bubble {
  max-width: 80%;
  padding: 0.6rem 0.85rem;
  border-radius: var(--st-radius-lg);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.st-chat__bubble--bot {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom-left-radius: 4px;
  color: var(--st-ink);
}
.st-chat__bubble--user {
  background: linear-gradient(135deg, var(--st-primary), var(--st-cyan));
  color: var(--st-void);
  border-bottom-right-radius: 4px;
}
.st-chat__minis { display: flex; flex-direction: column; gap: var(--st-gap-sm); margin-top: 0.4rem; max-width: 80%; }
.st-chat__mini {
  display: flex;
  gap: 0.6rem;
  padding: 0.5rem;
  border-radius: var(--st-radius-md);
  border: 1px solid var(--st-glass-border);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}
.st-chat__mini:hover { background: rgba(255, 255, 255, 0.06); }
.st-chat__mini-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: var(--st-radius-sm); flex-shrink: 0; }
.st-chat__mini-info { flex: 1; min-width: 0; }
.st-chat__mini-name { font-size: 0.78rem; color: var(--st-ink); font-weight: 600; }
.st-chat__mini-size { font-size: 0.68rem; color: var(--st-ink-faint); margin-bottom: 0.1rem; }
.st-chat__mini-price { font-size: 0.8rem; color: var(--st-primary-soft); font-weight: 700; }
.st-chat__mini-add {
  width: 32px;
  height: 32px;
  border-radius: var(--st-radius-sm);
  border: 1px solid var(--st-glass-border);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.st-chat__mini-add:hover { background: var(--st-primary); color: var(--st-void); }
.st-chat__quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 0.75rem;
  flex-shrink: 0;
}
.st-chat__quick {
  padding: 0.4rem 0.75rem;
  border-radius: var(--st-radius-md);
  border: 1px solid var(--st-glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--st-ink-muted);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s var(--st-ease);
}
.st-chat__quick:hover { background: rgba(51, 255, 106, 0.1); color: var(--st-primary-soft); }
.st-chat__input-bar {
  display: flex;
  gap: var(--st-gap-sm);
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--st-glass-border);
  flex-shrink: 0;
}
.st-chat__input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.8rem;
  border-radius: var(--st-radius-md);
  border: 1px solid var(--st-glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--st-ink);
  font-size: 0.82rem;
}
.st-chat__input:focus { outline: none; border-color: rgba(0, 194, 255, 0.3); }
.st-chat__send {
  width: 38px;
  height: 38px;
  border-radius: var(--st-radius-md);
  border: none;
  background: linear-gradient(135deg, var(--st-primary), var(--st-cyan));
  color: var(--st-void);
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.2s;
}
.st-chat__send:hover { filter: brightness(1.1); }

/* ═══════════════════════════════════════════════════════════════
   VISTAS / PAGINAS INTERNAS
   ═══════════════════════════════════════════════════════════════ */
[data-vista] { display: none; }
[data-vista].st-vista--activa { display: block; animation: st-fade-up 0.5s var(--st-ease-out); }

.st-vista__intro {
  color: var(--st-ink-muted);
  max-width: 62ch;
  margin: 0 0 2rem;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.65;
}

.st-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: var(--st-gap-sm);
  margin-bottom: 1.75rem;
}
.st-filtro {
  font-family: var(--st-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-ink-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--st-glass-border);
  border-radius: var(--st-radius-lg);
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: all 0.25s var(--st-ease);
}
.st-filtro:hover {
  color: var(--st-ink);
  border-color: rgba(0, 194, 255, 0.3);
}
.st-filtro--activo {
  background: linear-gradient(135deg, var(--st-primary), var(--st-cyan));
  border-color: transparent;
  color: var(--st-void);
  box-shadow: 0 4px 18px rgba(0, 194, 255, 0.28);
}

.st-pilar {
  border-radius: var(--st-radius-xl);
  padding: 1.5rem;
}
.st-pilar__titulo {
  color: var(--st-ink);
  margin: 0 0 0.6rem;
}
.st-pilar__texto {
  color: var(--st-ink-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.st-contacto__tarjeta {
  border-radius: var(--st-radius-xl);
  padding: 1.5rem;
}
.st-contacto__dato {
  color: var(--st-ink);
  font-size: 1.05rem;
  margin: 0.7rem 0 0.35rem;
}
.st-contacto__nota {
  color: var(--st-ink-faint);
  font-size: 0.82rem;
  margin: 0;
}

.st-form {
  border-radius: var(--st-radius-xl);
  padding: 1.75rem;
  margin-top: 2rem;
  max-width: 640px;
}
.st-form__row {
  display: grid;
  gap: 0.9rem;
}
.st-campo {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--st-glass-border);
  border-radius: var(--st-radius-lg);
  padding: 0.8rem 1rem;
  color: var(--st-ink);
  font-size: 0.92rem;
  transition: border-color 0.25s var(--st-ease), box-shadow 0.25s var(--st-ease);
}
.st-campo::placeholder { color: var(--st-ink-faint); }
.st-campo:focus {
  outline: none;
  border-color: rgba(0, 194, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.1);
}
.st-campo--area { resize: vertical; min-height: 110px; }
.st-form__aviso {
  margin: 0;
  font-size: 0.85rem;
  color: var(--st-green);
  min-height: 1.2em;
}
.st-form__aviso--error { color: var(--st-red); }

/* ═══════════════════════════════════════════════════════════════
   PREMIUM UPGRADES v2 — micro-interacciones, glow, transiciones
   ═══════════════════════════════════════════════════════════════ */

/* ── Smooth view transitions (1-page SPA) ── */
@keyframes st-view-enter {
  0% { opacity: 0; transform: translateY(12px) scale(0.99); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
[data-vista].st-vista--activa {
  animation: st-view-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

/* ── Glass border gradient premium ── */
.st-glass-gradient {
  position: relative;
  background: var(--st-glass-bg);
  backdrop-filter: var(--st-glass-blur);
  -webkit-backdrop-filter: var(--st-glass-blur);
  box-shadow: var(--st-glass-shadow);
}
.st-glass-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(0,194,255,0.12), rgba(255,255,255,0.04));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── Card glow hover ── */
.st-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,194,255,0.06), transparent 60%);
  transition: opacity 0.4s var(--st-ease-out);
  pointer-events: none;
  z-index: 0;
}
.st-card:hover::after { opacity: 1; }
.st-card__media { z-index: 1; }
.st-card__body { position: relative; z-index: 1; }

/* ── Hero glow pulse ── */
.st-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(0,194,255,0.03), transparent 60%);
  animation: st-pulse-glow 4s ease-in-out infinite;
  pointer-events: none;
}

/* ── Button magnetic lift ── */
.st-btn, .st-hero__btn, .st-card__add, .st-cat__explore {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s var(--st-ease-out),
              background-color 0.25s var(--st-ease-out),
              border-color 0.25s var(--st-ease-out);
}
.st-btn:active, .st-hero__btn:active, .st-card__add:active {
  transform: scale(0.95);
  transition-duration: 0.08s;
}

/* ── Navbar link magnetic hover ── */
.st-navbar__link {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              color 0.2s var(--st-ease),
              background-color 0.2s var(--st-ease);
}
.st-navbar__link:hover { transform: translateY(-1px); }

/* ── Image zoom premium ── */
.st-card__img, .st-cat__img, .st-blog__img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.5s var(--st-ease-out);
}
.st-card:hover .st-card__img,
.st-cat:hover .st-cat__img,
.st-blog:hover .st-blog__img {
  filter: brightness(1.08) contrast(1.04);
}

/* ── Price accent pulse (subtle) ── */
.st-card__price {
  transition: color 0.3s var(--st-ease);
}
.st-card:hover .st-card__price {
  color: var(--st-primary-bright);
}

/* ── Cart toggle float ── */
.st-cart-toggle {
  animation: st-float 5s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s var(--st-ease-out);
}
.st-cart-toggle:hover {
  animation: none;
}

/* ── Chat FAB float ── */
.st-chat-fab {
  animation: st-float 6s ease-in-out 1s infinite;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s var(--st-ease-out);
}
.st-chat-fab:hover {
  animation: none;
}

/* ── Filtro active glow ── */
.st-filtro--activo {
  box-shadow: 0 4px 18px rgba(0, 194, 255, 0.28),
              0 0 40px rgba(0, 194, 255, 0.1);
}

/* ── Toast notification (via JS event) ── */
.st-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 100;
  padding: 0.75rem 1.5rem;
  border-radius: var(--st-radius-lg);
  background: var(--st-glass-bg);
  backdrop-filter: var(--st-glass-blur);
  -webkit-backdrop-filter: var(--st-glass-blur);
  border: 1px solid var(--st-glass-border);
  box-shadow: var(--st-glass-shadow);
  color: var(--st-ink);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--st-ease-out), transform 0.4s var(--st-ease-out);
  white-space: nowrap;
}
.st-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.st-toast--success { border-color: rgba(0, 230, 118, 0.3); }
.st-toast--error { border-color: rgba(255, 107, 107, 0.3); }

/* ── Scroll margin for fixed header anchor offsets ── */
section[id] {
  scroll-margin-top: 80px;
}

/* ── Selection style premium ── */
::selection {
  background: rgba(0, 194, 255, 0.25);
  color: #fff;
}

/* ── Focus-visible ring premium ── */
:focus-visible {
  outline: 2px solid var(--st-primary);
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible {
  outline-offset: 3px;
}

/* ── Reduced motion safeguards ── */
@media (prefers-reduced-motion: reduce) {
  [data-vista].st-vista--activa { animation: none; }
  .st-hero::before { animation: none; }
  .st-cart-toggle { animation: none; }
  .st-chat-fab { animation: none; }
}

.st-hero__eyebrow,
.st-hero__title,
.st-hero__subtitle,
.st-hero__ctas,
.st-hero__badges {
  opacity: 1;
  animation: none;
}

.st-hero__content--changing {
  animation: st-hero-content-change .5s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes st-hero-content-change {
  0% { opacity: .58; transform: translateY(7px) scale(.992); filter: brightness(1.28); clip-path: inset(0 3% 0 3% round 1rem); }
  55% { opacity: 1; filter: brightness(1.08); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: brightness(1); clip-path: inset(0 0 0 0 round 0); }
}

@media (prefers-reduced-motion: reduce) {
  .st-hero__content--changing { animation: none; }
}

@media (max-width: 559px) {
  .st-hero {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
  }

  .st-hero__content {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 7rem max(1rem, env(safe-area-inset-right)) 4.5rem max(1rem, env(safe-area-inset-left));
    overflow-wrap: anywhere;
  }

  .st-hero__eyebrow,
  .st-hero__title,
  .st-hero__subtitle,
  .st-hero__ctas,
  .st-hero__badges {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .st-hero__title {
    font-size: clamp(2rem, 11vw, 3.1rem);
    overflow-wrap: break-word;
  }

  .st-hero__subtitle {
    padding-inline: .25rem;
    overflow-wrap: anywhere;
  }

  .st-hero__ctas {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
    margin-inline: 0;
  }

  .st-hero__btn {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 22rem;
    min-height: 48px;
    margin-inline: auto;
    justify-content: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .st-hero__badges {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
    margin-inline: 0;
  }

  .st-hero__badge {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 22rem;
    margin-inline: auto;
    padding: .65rem .75rem;
    border: 1px solid rgba(99, 216, 255, .12);
    border-radius: .8rem;
    background: rgba(5, 11, 24, .28);
    overflow-wrap: anywhere;
  }

  .st-hero__badge-title,
  .st-hero__badge-note {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .st-hero__arrow {
    display: none;
  }
}

/* ── Standalone PWA mode (no browser chrome) ── */
@media all and (display-mode: standalone) {
  .st-navbar.st-navbar--scrolled {
    padding-top: env(safe-area-inset-top, 0px);
  }
  .st-announce {
    padding-top: env(safe-area-inset-top, 0px);
  }
  body {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .st-chat-fab {
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }
  .st-cart-toggle {
    bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* ═══════════════════════════════════════════════════════════════
   LIVE MODES — censored, partial-censored, pyramid
   ═══════════════════════════════════════════════════════════════ */

/* ── Card wrapper (censored overlay) ── */
.st-card-wrapper {
  position: relative;
  border-radius: var(--st-radius-xl);
  overflow: hidden;
}
.st-card-wrapper--censored .st-card {
  opacity: 0.55;
  pointer-events: none;
}

/* ── Live overlay ── */
.st-live-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
}
.st-live-overlay--censored {
  background: linear-gradient(180deg, rgba(255,90,31,0.08), rgba(255,90,31,0.02));
  border: 1px solid rgba(255,90,31,0.2);
  box-shadow: inset 0 0 40px rgba(255,90,31,0.06);
}

/* ── Live badge ── */
.st-live-badge {
  position: absolute;
  z-index: 4;
  font-family: var(--st-font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--st-radius-full);
  pointer-events: none;
}
.st-live-badge--censored {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  background: rgba(255,90,31,0.85);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.35rem 1rem;
  box-shadow: 0 2px 12px rgba(255,90,31,0.4);
}
.st-live-badge--alt {
  top: 0.625rem;
  left: 0.625rem;
  background: var(--st-lime);
  color: var(--st-void);
}

.st-card__add--disabled,
.st-card__add--disabled:hover {
  background: rgba(255,255,255,0.05);
  color: rgba(245,240,235,0.35);
  cursor: default;
  transform: none;
}

.st-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem) 0 4rem;
}
.st-product-detail__media { min-height: 420px; display: grid; place-items: center; border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.1); }
.st-product-detail__img { width: min(100%, 560px); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 28px 45px rgba(0,0,0,.4)); }
.st-product-image-placeholder { width: 100%; min-height: 220px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; padding: clamp(.75rem,2vw,1.25rem); background: linear-gradient(145deg,rgba(255,255,255,.028),rgba(255,255,255,.009)); }
.st-product-image-placeholder__image { width: min(78%,360px); height: auto; aspect-ratio: 1; object-fit: contain; opacity: .72; border-radius: 18%; }
.st-image-generation--pending .st-product-image-placeholder__image { animation: st-image-pending 2.4s ease-in-out infinite; }
.st-image-generation--error .st-product-image-placeholder__image { opacity: .48; filter: grayscale(.35); }
html.st-fast-scroll .st-image-generation--pending .st-product-image-placeholder__image,
html[data-st-tier="low"] .st-image-generation--pending .st-product-image-placeholder__image { animation: none; }
.st-product-detail__media .st-product-image-placeholder { width: min(100%,560px); min-height: 360px; border-radius: 24px; }
@keyframes st-image-pending { 0%,100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .st-image-generation--pending .st-product-image-placeholder__image { animation: none; } }
.st-product-detail__title, .st-post-detail__title { margin: .7rem 0 1rem; font-family: var(--st-font-display); font-size: clamp(2rem, 5vw, 4.5rem); line-height: .98; }
.st-product-detail__desc, .st-post-detail__text { color: var(--st-text-muted); font-size: 1.05rem; line-height: 1.75; }
.st-product-detail__price { margin: 1.5rem 0 .7rem; color: var(--st-primary-soft); font-family: var(--st-font-mono); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; }
.st-product-detail__add { margin-top: 1.5rem; min-width: min(100%, 320px); }
.st-post-detail { max-width: 960px; margin: 0 auto 5rem; }
.st-post-detail__img { width: 100%; max-height: 500px; margin-bottom: 2rem; object-fit: cover; border-radius: 28px; }
.st-post-detail__meta { display: block; margin-top: 1.5rem; color: var(--st-primary-soft); font-family: var(--st-font-mono); }
.st-post-detail__lead { max-width: 52rem; margin: 1rem 0 0; color: var(--st-ink); font-size: clamp(1.15rem,2.2vw,1.45rem); line-height: 1.55; }
.st-post-detail__body { margin-top: 2.5rem; }
.st-post-rich > * { max-width: 48rem; margin-inline: auto; }
.st-post-rich :is(p,li,blockquote) { color: var(--st-text-muted); font-size: 1.05rem; line-height: 1.8; }
.st-post-rich :is(h2,h3,h4) { margin-top: 2.2rem; color: var(--st-ink); font-family: var(--st-font-display); }
.st-post-rich__blockquote { padding: 1rem 1.5rem; border-left: 3px solid var(--st-primary); background: rgba(255,255,255,.035); }
.st-post-rich__pre { overflow: auto; padding: 1rem; border-radius: 14px; background: rgba(0,0,0,.3); }
.st-post-rich__a, .st-post-source__link { color: var(--st-primary-soft); }
.st-post-rich__image { width: 100%; height: auto; margin-block: 1.5rem; border-radius: 20px; }
.st-post-rich__table { display: table; width: 100%; overflow-x: auto; border-collapse: collapse; }
.st-post-rich :is(th,td) { padding: .75rem; border: 1px solid rgba(255,255,255,.1); }
.st-post-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.st-post-tag, .st-blog__tag { padding: .3rem .55rem; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: var(--st-ink-muted); font: 500 .65rem/1 var(--st-font-mono); }
.st-post-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.09); }
.st-post-section__title { margin-bottom: 1.25rem; color: var(--st-ink); font-family: var(--st-font-display); }
.st-post-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.st-post-gallery__item { margin: 0; }
.st-post-gallery__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 18px; }
.st-post-gallery__caption, .st-post-source__meta, .st-post-comment__date { display: block; margin-top: .45rem; color: var(--st-ink-faint); font-size: .8rem; }
.st-post-interview { display: grid; grid-template-columns: minmax(140px,240px) 1fr; gap: 1.5rem; align-items: start; }
.st-post-interview__portrait { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 20px; }
.st-post-interview__facts { display: grid; gap: .6rem; padding: 0; list-style: none; color: var(--st-text-muted); }
.st-post-related { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1rem; }
.st-post-sources { display: grid; gap: 1rem; padding-left: 1.2rem; }
.st-post-comment { padding: 1rem; border-radius: 16px; background: rgba(255,255,255,.035); }
.st-post-comment + .st-post-comment { margin-top: .75rem; }
.st-post-comment__author { color: var(--st-ink); font-weight: 700; }
.st-post-comment__text { margin: .5rem 0 0; color: var(--st-text-muted); }
.st-post-comment-form { display: grid; gap: .75rem; margin-top: 1.25rem; }
.st-post-comment-form :is(input,textarea) { color: var(--st-ink); background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.st-post-comment-form__status { color: var(--st-primary-soft); }
.st-effect-lift { transition: transform .25s ease, border-color .25s ease, opacity .4s ease; }
.st-effect-lift:hover { transform: translateY(-5px); }
.st-effect-lift:not(.st-effect-visible) { opacity: .72; }
.st-effect-visible { opacity: 1; }
@media (max-width: 639.98px) { .st-post-gallery, .st-post-interview { grid-template-columns: 1fr; } .st-post-interview__portrait { max-width: 240px; } }
@media (max-width: 767.98px) { .st-product-detail { grid-template-columns: 1fr; } .st-product-detail__media { min-height: 300px; } }
.st-navbar__search { min-width: 38px; color: var(--st-text); border-color: rgba(255,255,255,.12); }
.st-navbar__search { display:none; }
.st-top-search { position:relative; width:clamp(180px,18vw,280px); z-index:80; }
.st-top-search__icon { position:absolute; left:.8rem; top:50%; translate:0 -50%; color:var(--st-primary); font:700 1.05rem/1 var(--st-font-mono); pointer-events:none; }
.st-top-search__input { width:100%; min-height:40px; padding:.55rem 2.1rem .55rem 2.25rem; border:1px solid rgba(255,255,255,.12); border-radius:999px; outline:0; color:var(--st-ink); background:rgba(7,18,31,.72); backdrop-filter:blur(18px); font:500 .78rem/1.2 var(--st-font-display); letter-spacing:.01em; transition:border-color .18s ease,box-shadow .18s ease,background .18s ease; }
.st-top-search__input::placeholder { color:var(--st-ink-faint); }
.st-top-search__input:focus { border-color:color-mix(in srgb,var(--st-primary) 68%,transparent); background:rgba(10,27,46,.96); box-shadow:0 0 0 3px rgba(1,212,255,.1),0 16px 44px rgba(0,0,0,.24); }
.st-top-search__input::-webkit-search-cancel-button { opacity:.55; }
.st-top-search__panel { position:absolute; top:calc(100% + .55rem); left:0; right:0; overflow:hidden; border:1px solid rgba(255,255,255,.12); border-radius:18px; background:linear-gradient(150deg,rgba(17,42,68,.98),rgba(7,19,34,.99)); box-shadow:0 24px 64px rgba(0,0,0,.48); backdrop-filter:blur(28px); }
.st-top-search__list { padding:.35rem; }
.st-top-search__option { display:grid; grid-template-columns:44px minmax(0,1fr) 18px; gap:.7rem; align-items:center; width:100%; min-height:56px; padding:.45rem .55rem; border:0; border-radius:13px; color:var(--st-ink); background:transparent; text-align:left; transition:background .14s ease,transform .14s ease; }
.st-top-search__option:hover,.st-top-search__option--active { background:rgba(1,212,255,.1); transform:translateX(2px); }
.st-top-search__thumb { width:44px; height:44px; border-radius:10px; object-fit:contain; background:rgba(255,255,255,.055); }
.st-top-search__copy { min-width:0; display:grid; gap:.15rem; }
.st-top-search__copy strong { overflow:hidden; color:var(--st-ink); font:600 .78rem/1.25 var(--st-font-display); text-overflow:ellipsis; white-space:nowrap; }
.st-top-search__copy span { overflow:hidden; color:var(--st-ink-muted); font:500 .62rem/1.2 var(--st-font-mono); letter-spacing:.035em; text-overflow:ellipsis; text-transform:uppercase; white-space:nowrap; }
.st-top-search__go { color:var(--st-primary); font-size:.8rem; }
.st-top-search__empty { padding:.85rem; color:var(--st-ink-muted); font:500 .7rem/1.3 var(--st-font-mono); text-align:center; }
.st-navbar__currency { width: 76px; color: var(--st-text); background-color: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.st-navbar__currency option { color: #07111f; }
.st-search__content { color: var(--st-text); background: linear-gradient(145deg, #142b47, #0d2037); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; overflow: hidden; }
.st-search__input { color: var(--st-text); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.st-search__input:focus { color: var(--st-text); background: rgba(255,255,255,.1); border-color: var(--st-primary); box-shadow: 0 0 0 .25rem rgba(1,212,255,.15); }
.st-search__results { max-height: 55vh; margin-top: 1rem; overflow: auto; border-radius: 14px; }
.st-search__result, .st-search__empty { display: flex; gap: 1rem; align-items: center; color: var(--st-text); background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.08); }
.st-search__result:hover { color: var(--st-text); background: rgba(1,212,255,.12); }
.st-search__thumb { width: 58px; height: 58px; object-fit: contain; }
.st-search__copy { display: grid; text-align: left; }
.st-search__copy span { color: var(--st-text-muted); font-size: .85rem; }
@media (max-width: 991.98px) { body { background: var(--st-void) !important; } }
@media (max-width: 1199.98px) and (min-width: 768px) { .st-navbar__links { display:none; } .st-top-search { width:clamp(190px,30vw,300px); } }
@media (max-width: 767.98px) {
  .st-navbar__actions { gap: .125rem; }
  .st-navbar__lang, .st-profile-trigger__label, .st-profile-trigger .st-dd-arrow { display: none; }
  .st-profile-trigger { min-width: 40px; min-height: 40px; padding: .5rem; }
  .st-profile-trigger::before { content: '◉'; font-size: 1rem; }
  .st-navbar__currency { display: block; width: 66px; min-height: 40px; padding-inline: .35rem 1.5rem; font-size: .6875rem !important; }
  .st-top-search { display:none; }
  .st-navbar__search { display:inline-flex; align-items:center; justify-content:center; }
  .st-navbar__search, .st-navbar__cart, .st-navbar__hamburger { min-width: 40px; min-height: 40px; padding: .5rem; }
}

/* ── Pyramid backdrop ── */
.st-pyramid-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5,5,10,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--st-ease-out);
  padding: 2rem;
}
.st-pyramid-backdrop--visible {
  opacity: 1;
}

/* ── Pyramid modal ── */
.st-pyramid-modal {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1rem;
}
.st-pyramid__close {
  position: absolute;
  top: 0;
  right: 0.5rem;
  z-index: 5;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--st-ink);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.st-pyramid__close:hover { background: rgba(255,255,255,0.12); }

/* ── Pyramid grid 2x3 ── */
.st-pyramid {
  display: grid;
  gap: 1.25rem;
}
.st-pyramid__row {
  display: grid;
  gap: 1.25rem;
}
.st-pyramid__row--top {
  grid-template-columns: repeat(3, 1fr);
}
.st-pyramid__row--bottom {
  grid-template-columns: repeat(3, 1fr);
}
.st-pyramid__cell {
  display: flex;
  align-items: stretch;
}
.st-pyramid__cell--center {
  grid-column: 2;
  justify-content: center;
}
.st-pyramid__cell--center .st-card-wrapper {
  max-width: 280px;
}
.st-pyramid__original .st-card {
  border-color: rgba(255,90,31,0.25);
}
.st-pyramid__empty {
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--st-ink-faint);
  border: 1px dashed rgba(255,255,255,0.06);
  border-radius: var(--st-radius-lg);
  font-family: var(--st-font-mono);
  font-size: 0.75rem;
}

/* ── Card mode states (grid-level) ── */
.st-card--has-mode {
  cursor: pointer;
}
.st-card--mode-censored {
  opacity: 0.6;
  border-color: rgba(255,90,31,0.25) !important;
  box-shadow: inset 0 0 30px rgba(255,90,31,0.05), var(--st-card-shadow) !important;
}
.st-card--mode-censored:hover {
  opacity: 0.75;
  border-color: rgba(255,90,31,0.4) !important;
}
.st-card--mode-censored .st-card__add {
  background: rgba(255,255,255,0.05) !important;
  color: rgba(245,240,235,0.35) !important;
  cursor: default !important;
  pointer-events: none !important;
}
.st-card--mode-censored::after {
  content: 'AGOTADO';
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--st-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,90,31,0.7);
  background: rgba(10,10,10,0.35);
  pointer-events: none;
}

.st-card--mode-partial {
  border-color: rgba(247,198,0,0.25) !important;
  box-shadow: 0 0 24px rgba(247,198,0,0.08), var(--st-card-shadow) !important;
}
.st-card--mode-partial:hover {
  border-color: rgba(247,198,0,0.5) !important;
}
.st-card--mode-partial::after {
  content: 'AGOTADO — Ver alternativas';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 0.4rem;
  text-align: center;
  font-family: var(--st-font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--st-yellow);
  background: rgba(10,10,10,0.7);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   SMOKE-FX — humo/niebla en dos capas (back delante del bgfx,
   front por encima de productos y elementos, pointer-events none)
   ═══════════════════════════════════════════════════════════════ */
.st-smoke {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.st-smoke__canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}
.st-smoke__canvas--back { z-index: 0; }
.st-smoke__canvas--front {
  z-index: 40; /* por encima de .st-main (1) y spotlight, debajo del navbar (50) */
  mix-blend-mode: screen;
}

/* ═══════════════════════════════════════════════════════════════
   TELEPORT-FX — tarjetas que desaparecen/aparecen en el mismo slot
   ═══════════════════════════════════════════════════════════════ */
@keyframes st-teleport-out {
  0%   { opacity: 1; transform: scale(1) rotate(0deg); filter: blur(0) brightness(1); }
  35%  { opacity: 0.85; transform: scale(1.03) rotate(0.4deg); filter: blur(1px) brightness(1.6); }
  100% { opacity: 0; transform: scale(0.55) rotate(-2deg) translateY(10px); filter: blur(14px) brightness(2.4); }
}
@keyframes st-teleport-in {
  0%   { opacity: 0; transform: scale(0.55) rotate(2deg) translateY(-10px); filter: blur(14px) brightness(2.4); }
  45%  { opacity: 0.9; transform: scale(1.04) rotate(-0.4deg); filter: blur(1px) brightness(1.5); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); filter: blur(0) brightness(1); }
}
.st-teleport-out {
  animation: st-teleport-out 0.42s cubic-bezier(0.55, 0, 0.85, 0.36) var(--st-teleport-delay, 0s) both;
  pointer-events: none;
}
.st-teleport-in {
  animation: st-teleport-in 0.52s cubic-bezier(0.16, 1, 0.3, 1) var(--st-teleport-delay, 0s) both;
}

/* ── Tabs: host con transicion suave durante el swap ── */
.st-tabs__grid-host {
  transition: opacity 0.35s var(--st-ease-out), transform 0.35s var(--st-ease-out);
}
.st-tabs__grid-host--switching {
  opacity: 0.55;
  transform: translateY(4px);
}

/* ── Tabs premium: pill animado, borde luminoso, micro-lift ── */
.st-tabs__bar {
  position: relative;
  padding: 0.3rem;
  border-radius: var(--st-radius-lg);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: fit-content;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.st-tabs__btn {
  position: relative;
  border-radius: calc(var(--st-radius-lg) - 4px);
  border-color: transparent;
  background: transparent;
  transition:
    color 0.3s var(--st-ease-out),
    background-color 0.3s var(--st-ease-out),
    box-shadow 0.35s var(--st-ease-out),
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.st-tabs__btn:hover {
  color: var(--st-ink);
  background: rgba(95, 212, 240, 0.07);
  border-color: transparent;
  transform: translateY(-1px);
}
.st-tabs__btn--active {
  background: linear-gradient(135deg, var(--st-primary), var(--st-cyan));
  color: var(--st-void);
  box-shadow:
    0 4px 18px rgba(0, 194, 255, 0.28),
    0 0 34px rgba(0, 194, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* ── Smoothness global: reveals mas fluidos ── */
.st-reveal {
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reduced motion: desactivar teleport y smoke visuals ── */
@media (prefers-reduced-motion: reduce) {
  .st-teleport-out, .st-teleport-in { animation: none; }
  .st-smoke { display: none; }
  .st-tabs__grid-host { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════
   AUTH MODAL — login cuenta + Google (portado de shapetotal.com)
   ═══════════════════════════════════════════════════════════════ */
.st-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 7, 16, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.st-auth-overlay--open { opacity: 1; visibility: visible; }

.st-auth__box {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--st-void-panel);
  border: 1px solid var(--st-card-border, rgba(255,255,255,0.08));
  border-radius: var(--st-radius-xl);
  box-shadow: 0 0 44px rgba(0, 194, 255, 0.1), 0 24px 64px rgba(0,0,0,0.5);
  padding: 32px 28px 28px;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.st-auth-overlay--open .st-auth__box { transform: translateY(0) scale(1); }

.st-auth__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  background: rgba(255,255,255,0.03);
  color: var(--st-ink-muted);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
.st-auth__close:hover { color: var(--st-primary); border-color: var(--st-primary); }

.st-auth__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.st-auth__header-icon {
  font-size: 34px;
  color: var(--st-primary);
  filter: drop-shadow(0 0 12px rgba(0, 194, 255, 0.45));
}
.st-auth__title {
  margin: 0;
  font-family: var(--st-font-display);
  font-size: 20px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--st-ink);
}

.st-auth__body { display: flex; flex-direction: column; }
.st-auth__intro {
  color: var(--st-ink-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  margin: 0 0 18px;
}
.st-auth__label {
  font-family: var(--st-font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--st-ink-muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.st-auth__input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--st-ink);
  font-size: 15px;
  font-family: var(--st-font-mono);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.st-auth__input:focus {
  outline: none;
  border-color: var(--st-primary);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.14);
}
.st-auth__input--err { border-color: var(--st-red, #ff6b6b); }
.st-auth__error { min-height: 18px; font-size: 12px; color: var(--st-red, #ff6b6b); margin-top: 6px; }
.st-auth__submit { width: 100%; margin-top: 8px; }

.st-auth__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
}
.st-auth__divider-line { flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.st-auth__divider-text {
  font-family: var(--st-font-mono);
  font-size: 11px;
  color: var(--st-ink-faint);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.st-auth__google { display: flex; justify-content: center; min-height: 44px; }
.st-auth__google-fallback {
  font-size: 12px;
  color: var(--st-ink-faint);
  text-align: center;
  margin: 10px 0 0;
}

.st-auth__avatar {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--st-primary), var(--st-cyan));
  color: var(--st-void);
  font-size: 30px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 22px rgba(0, 194, 255, 0.35);
}
.st-auth__email {
  text-align: center;
  font-size: 15px;
  font-family: var(--st-font-mono);
  color: var(--st-ink);
  word-break: break-all;
}
.st-auth__status {
  text-align: center;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--st-primary);
  margin-top: 4px;
}
.st-auth__btn-ghost, .st-auth__btn-outline {
  width: 100%;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  font-family: var(--st-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s var(--st-ease-out);
}
.st-auth__btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--st-ink);
}
.st-auth__btn-ghost:hover { border-color: var(--st-primary); color: var(--st-primary); }
.st-auth__btn-outline {
  margin-top: 10px;
  background: transparent;
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: var(--st-red, #ff6b6b);
}
.st-auth__btn-outline:hover { background: rgba(255, 107, 107, 0.08); }

.st-auth__box { max-width: 680px; max-height: min(88vh, 760px); overflow: auto; }
.st-account__identity { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-bottom: 1rem; }
.st-account__identity .st-auth__avatar { width: 54px; height: 54px; margin: 0; font-size: 23px; }
.st-account__identity > div:last-child { display: flex; min-width: 0; flex-direction: column; }
.st-account__identity .st-auth__email, .st-account__identity .st-auth__status { text-align: left; }
.st-account__tabs { display: grid; grid-template-columns: repeat(4,1fr); gap: .25rem; padding: .25rem; border: 1px solid rgba(255,255,255,.08); border-radius: .65rem; background: rgba(255,255,255,.025); }
.st-account__tab { padding: .55rem .35rem; border: 0; border-radius: .45rem; background: transparent; color: var(--st-ink-muted); font-size: .74rem; cursor: pointer; }
.st-account__tab--active { background: rgba(95,212,240,.13); color: var(--st-primary); }
.st-account__content { min-height: 12rem; padding-top: 1rem; }
.st-account__loading { padding: 2rem; color: var(--st-ink-faint); text-align: center; }
.st-account__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; margin-bottom: 1rem; }
.st-account__stats > div { display: flex; min-width: 0; flex-direction: column; gap: .2rem; padding: .75rem .55rem; border: 1px solid rgba(255,255,255,.08); border-radius: .55rem; background: rgba(255,255,255,.025); text-align: center; }
.st-account__stats strong { overflow: hidden; color: var(--st-primary); font-size: .82rem; text-overflow: ellipsis; }
.st-account__stats span { color: var(--st-ink-faint); font-size: .62rem; }
.st-account__subtitle { margin: 1rem 0 .55rem; color: var(--st-ink-muted); font: 600 .68rem/1 var(--st-font-mono); letter-spacing: .12em; }
.st-account__order { margin-bottom: .55rem; padding: .7rem; border: 1px solid rgba(255,255,255,.08); border-radius: .55rem; background: rgba(255,255,255,.025); }
.st-account__order-head, .st-account__order-meta, .st-account__order-line { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.st-account__order-head { color: var(--st-ink); font-size: .78rem; }
.st-account__order-state { color: var(--st-primary); font: .6rem/1 var(--st-font-mono); }
.st-account__order-meta { margin-top: .35rem; color: var(--st-ink-faint); font-size: .68rem; }
.st-account__order-meta strong { color: var(--st-ink); }
.st-account__order-items { margin-top: .55rem; padding-top: .45rem; border-top: 1px solid rgba(255,255,255,.06); }
.st-account__order-line { padding: .22rem 0; color: var(--st-ink-muted); font-size: .67rem; }
.st-account__order-line > span:first-child { flex: 1; }
.st-account__favorite { display: flex; align-items: center; gap: .7rem; width: 100%; margin-bottom: .45rem; padding: .5rem; border: 1px solid rgba(255,255,255,.08); border-radius: .55rem; background: rgba(255,255,255,.025); color: var(--st-ink); text-align: left; cursor: pointer; }
.st-account__favorite img { width: 54px; height: 54px; border-radius: .4rem; object-fit: cover; }
.st-account__favorite > div { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.st-account__favorite strong { overflow: hidden; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.st-account__favorite span { color: var(--st-primary); font-size: .68rem; }
.st-account__help { color: var(--st-ink-muted); text-align: center; }
.st-action-icon, .st-chat-fab__icon { width: 20px; height: 20px; }

@media (max-width: 575.98px) {
  .st-fx-topbar { height: 28px; gap: .42rem; padding: 0 .42rem; font-size: .61rem; }
  .st-fx-label { display: none; }
  .st-fx-pair { font-size: .52rem; }
  .st-fx-clock { min-width: 4.25rem; font-size: .58rem; }
  .st-navbar, .st-navbar.st-navbar--scrolled { top: 28px; }
  .st-fx-panel { top: 94px; }
  .st-profile-menu { position: fixed; top: 92px; right: .5rem; }
  .st-account__tabs { grid-template-columns: repeat(2,1fr); }
  .st-account__stats { grid-template-columns: 1fr; }
  .st-auth__box { padding-inline: 18px; }
}

/* ── Profile trigger con sesion activa ── */
.st-profile-trigger--active { color: var(--st-primary-soft); }
.st-profile-trigger--active::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--st-primary);
  box-shadow: 0 0 8px var(--st-primary);
}

/* ═══════════════════════════════════════════════════════════════
   CHAT — botones minimalistas (chips + tools del header)
   ═══════════════════════════════════════════════════════════════ */
.st-chat__tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.st-chat__tool {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--st-ink-faint);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.18s, background-color 0.18s;
}
.st-chat__tool:hover { color: var(--st-ink); background: rgba(255,255,255,0.06); }
.st-chat__tool--close:hover { color: var(--st-red, #ff6b6b); }

.st-chat__quick-row { gap: 0.35rem; }
.st-chat__quick {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--st-radius-full);
  border: 1px solid rgba(255,255,255,0.07);
  background: transparent;
  color: var(--st-ink-muted);
  font-family: var(--st-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s var(--st-ease);
}
.st-chat__quick-icon { font-size: 0.7rem; color: var(--st-cyan-soft, #5fd4f0); }
.st-chat__quick:hover {
  border-color: rgba(95, 212, 240, 0.35);
  color: var(--st-ink);
  background: rgba(95, 212, 240, 0.06);
  transform: translateY(-1px);
}
.st-chat__quick:active { transform: translateY(0) scale(0.97); }

/* ═══════════════════════════════════════════════════════════════
   SHOCKWAVE-FX — ondas epicas de click + nova de add-to-cart
   ═══════════════════════════════════════════════════════════════ */
.st-shock {
  position: fixed;
  z-index: 4000;
  width: 0;
  height: 0;
  pointer-events: none;
}
.st-shock__ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--st-shock-color, #00c2ff);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.9;
  animation: st-shock-ring 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.st-shock__ring--b {
  border-width: 1px;
  animation-delay: 0.08s;
  animation-duration: 1s;
}
@keyframes st-shock-ring {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.9; filter: blur(0); }
  70%  { opacity: 0.35; }
  100% { transform: translate(-50%, -50%) scale(calc(14 * var(--st-shock-scale, 1))); opacity: 0; filter: blur(2px); }
}
.st-shock__core {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--st-shock-color, #00c2ff);
  box-shadow: 0 0 18px var(--st-shock-color, #00c2ff);
  transform: translate(-50%, -50%) scale(1);
  animation: st-shock-core 0.5s var(--st-ease-out) forwards;
}
@keyframes st-shock-core {
  0% { transform: translate(-50%, -50%) scale(1.6); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}
.st-shock__spark {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--st-spark-color, #5fd4f0);
  box-shadow: 0 0 8px var(--st-spark-color, #5fd4f0);
  transform: translate(-50%, -50%);
  animation: st-shock-spark 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--st-spark-delay, 0s) forwards;
}
@keyframes st-shock-spark {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--st-dx)), calc(-50% + var(--st-dy))) scale(0.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .st-shock { display: none; }
}
html {
  background: #05050a;
}

body {
  background-color: #05050a;
  background-image: radial-gradient(circle at 18% 8%, rgba(34, 142, 255, .14), transparent 36rem), radial-gradient(circle at 84% 38%, rgba(91, 215, 255, .09), transparent 42rem);
}

.st-card-grid {
  --st-grid-columns: 4;
  display: grid;
  grid-template-columns: repeat(var(--st-grid-columns), minmax(0, 1fr));
  gap: clamp(.75rem, 1.8vw, 1.35rem);
  width: 100%;
  scroll-snap-type: y proximity;
}

.st-card {
  min-width: 0;
  width: 100%;
  contain: layout paint style;
  content-visibility: auto;
  contain-intrinsic-size: 360px 560px;
  scroll-snap-align: start;
}

.st-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.st-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.st-tabs__grid-host--switching {
  min-height: var(--st-grid-height, 24rem);
  overflow: clip;
}

.st-smoke {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.st-smoke--back {
  z-index: 0;
}

.st-smoke--front {
  z-index: 40;
  mix-blend-mode: screen;
}

.st-smoke__canvas {
  display: block;
}

.st-fast-scroll .st-card,
.st-fast-scroll .st-smoke,
.st-fast-scroll .st-bgfx__canvas {
  animation-play-state: paused !important;
}

@media (max-width: 1099px) {
  .st-card-grid { --st-grid-columns: 2; }
}

@media (max-width: 559px) {
  .st-card-grid { --st-grid-columns: 1; }
  .st-tabs__bar { position: sticky; top: .5rem; z-index: 35; overflow-x: auto; scrollbar-width: none; }
  .st-tabs__btn { min-height: 44px; flex: 1 0 auto; touch-action: manipulation; }
}

@media (prefers-reduced-motion: reduce) {
  .st-smoke,
  .st-bgfx__canvas { display: none; }
  .st-teleport-in,
  .st-teleport-out { animation: none !important; transition: none !important; }
}

.st-bgfx-front {
  position: fixed;
  inset: 0;
  z-index: 39;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
}

.st-bgfx__canvas--front {
  position: absolute;
  inset: 0;
  opacity: .86;
  pointer-events: none;
}

.st-bgfx__scanline {
  background: linear-gradient(90deg, transparent, rgba(95, 212, 240, .25), transparent);
}

.st-hero__btn--primary {
  box-shadow: 0 4px 24px rgba(0, 194, 255, .3);
}

.st-hero__btn--primary:hover {
  box-shadow: 0 6px 32px rgba(0, 194, 255, .48);
}

.st-tabs__btn--active {
  box-shadow: 0 4px 18px rgba(0, 194, 255, .3), 0 0 34px rgba(95, 212, 240, .18), inset 0 1px 0 rgba(255, 255, 255, .25);
}

[data-st-tier="low"] .st-teleport-out {
  filter: none !important;
  transform: scale(.965) !important;
  opacity: 0 !important;
}

[data-st-tier="low"] .st-teleport-in {
  filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .st-smoke { display: block; }
  .st-bgfx-front { display: none; }
}

/* HHFM secure checkout */
.st-checkout{position:fixed;inset:0;z-index:10020;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(2,6,15,.86);backdrop-filter:blur(18px);opacity:0;visibility:hidden;transition:.25s ease}
.st-checkout--open{opacity:1;visibility:visible}.st-checkout__box{position:relative;width:min(94vw,460px);max-height:92vh;overflow:auto;padding:clamp(1.3rem,4vw,2.2rem);border:1px solid rgba(95,212,240,.24);border-radius:24px;background:linear-gradient(145deg,rgba(12,23,40,.98),rgba(4,9,20,.99));box-shadow:0 32px 90px rgba(0,0,0,.72),inset 0 1px rgba(255,255,255,.08)}
.st-checkout__close{position:absolute;right:1rem;top:.8rem;border:0;background:transparent;color:#fff;font-size:2rem}.st-checkout__title{margin:0 2rem 1.5rem 0;font:700 1rem/1.2 var(--st-font-display);letter-spacing:.12em;color:var(--st-primary)}
.st-checkout__body{text-align:center}.st-checkout__amount{font:700 clamp(1.7rem,7vw,2.5rem)/1 var(--st-font-display);margin:.75rem 0 1.25rem}.st-checkout__qr{display:block;width:min(72vw,260px);aspect-ratio:1;margin:auto;padding:.6rem;border-radius:18px;background:#fff}.st-checkout__hint,.st-checkout__status{color:var(--st-ink-muted);margin:1rem 0}.st-checkout__copy{display:flex;gap:.6rem}.st-checkout__code{min-width:0;flex:1;border:1px solid var(--st-glass-border);border-radius:10px;background:#060b13;color:#cbd5e1;padding:.8rem}.st-checkout__spinner{width:44px;height:44px;margin:2rem auto;border:3px solid rgba(95,212,240,.2);border-top-color:var(--st-primary);border-radius:50%;animation:st-spin .8s linear infinite}.st-checkout__symbol{display:grid;place-items:center;width:70px;height:70px;margin:1rem auto;border:2px solid #42e89d;border-radius:50%;color:#42e89d;font-size:2.2rem}.st-checkout__symbol--error{border-color:#ff667d;color:#ff667d}
