/*!
 * Camisetas South · Rediseño 2026 · Estilos base
 * Fuentes, colores, botones, vidrio, barra de avisos, header, mega menús,
 * hojas (menú, equipos, buscador), menú inferior del celular y footer.
 *
 * Todas las clases usan el prefijo "sx-" para no chocar con Astra ni con plugins.
 * Los selectores llevan ".sx " delante (clase del <body>) cuando hace falta ganarle
 * a los estilos de botones y enlaces de Astra (button:hover, a:hover…).
 */

/* ===================================================================== *
 * 1. Fuentes (en el propio sitio: sin Google Fonts)
 * ===================================================================== */
@font-face {
  font-family: 'SX Display';
  src: url('../fonts/sx-display-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'SX Display';
  src: url('../fonts/sx-display-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'SX Nunito';
  src: url('../fonts/sx-nunito-latin.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'SX Nunito';
  src: url('../fonts/sx-nunito-latin-ext.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===================================================================== *
 * 2. Variables
 * ===================================================================== */
:root {
  --sx-violet: #6A21BF;
  --sx-violet-2: #5A17A8;
  --sx-violet-3: #4E1590;
  --sx-night: #1A0B2E;
  --sx-night-2: #2E1650;
  --sx-deep: #120720;
  --sx-orange: #EA9350;
  --sx-orange-soft: #F7B989;
  --sx-peach: #F2C29C;
  --sx-soft: #F2F0F6;
  --sx-soft-2: #F7F5FA;
  --sx-line: #D9D9DB;
  --sx-lilac: #F3ECFC;
  --sx-lilac-2: #ECE2FA;
  --sx-muted: #5E5670;
  --sx-strike: #6F6880;
  --sx-off: #B4561F;
  --sx-ok: #157A4A;
  --sx-wa: #0B7F43;

  --sx-font: 'SX Nunito', 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --sx-display: 'SX Display', 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;

  --sx-wrap: 1320px;
  --sx-gutter: 40px;
  --sx-top: 0px;          /* alto de la barra de administración de WordPress */
  --sx-head-h: 82px;      /* alto del header flotante (margen + barra) */
  --sx-ease: cubic-bezier(.2, .7, .2, 1);
  --sx-shadow: 0 10px 30px -6px rgba(26, 11, 46, .2);
}
body.admin-bar { --sx-top: 32px; }
@media (max-width: 1199px) { :root { --sx-gutter: 24px; } }
@media (max-width: 899px) { :root { --sx-head-h: 68px; } }
@media (max-width: 782px) { body.admin-bar { --sx-top: 46px; } }
@media (max-width: 600px) {
  :root { --sx-gutter: 16px; }
  body.admin-bar { --sx-top: 0px; } /* la barra de WordPress deja de ser fija */
}

/* ===================================================================== *
 * 3. Base
 * ===================================================================== */
body.sx {
  font-family: var(--sx-font);
  color: var(--sx-night);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.sx button,
.sx input,
.sx select,
.sx textarea { font-family: var(--sx-font); }

/* El header es "sticky": ningún contenedor de Astra debe recortarlo. */
.sx #page,
.sx .site,
.sx #content { overflow: visible; }

/* Elementos del diseño con el atributo hidden: siempre ocultos. */
[class*="sx-"][hidden],
[data-sx-search-idle][hidden],
[data-sx-live-results][hidden] { display: none !important; }

/* Reinicio de botones del diseño (Astra les pone fondo, relleno y tipografía). */
.sx :where(button[class*="sx-"]) {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-shadow: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: none;
  min-height: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
/* Listas, párrafos e imágenes dentro de los bloques del diseño (no afecta al contenido de las páginas). */
.sx :where([class*="sx-"]:not(body)) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.sx :where([class*="sx-"]:not(body)) :where(p, h1, h2, h3, h4, figure, dl, dd) { margin: 0; }
.sx :where([class*="sx-"]:not(body)) :where(img) { max-width: 100%; height: auto; }

.sx-ico {
  display: block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sx-wrap {
  width: 100%;
  max-width: var(--sx-wrap);
  margin-inline: auto;
  padding-inline: var(--sx-gutter);
  box-sizing: border-box;
}
.sx .sx-display {
  font-family: var(--sx-display);
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: 0;
}

/* Foco visible para teclado */
.sx :focus-visible { outline: 2px solid var(--sx-violet); outline-offset: 2px; }
.sx .sx-promo :focus-visible,
.sx .sx-footer :focus-visible,
.sx .sx-header--overlay:not(.is-scrolled) .sx-header__bar :focus-visible { outline-color: var(--sx-orange-soft); }

/* Bloqueo del scroll mientras hay una hoja abierta */
html.sx-lock,
html.sx-lock body { overflow: hidden; }
html.sx-lock body { padding-right: var(--sx-sbw, 0px); }
html.sx-lock .gt_switcher_wrapper,
html.sx-lock .wa-floating-btn { visibility: hidden !important; }

/* ===================================================================== *
 * 4. Vidrio líquido
 * ===================================================================== */
.sx .sx-glass {
  background: linear-gradient(160deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 72%, rgba(255,255,255,.18) 100%), rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 1px rgba(255,255,255,.3), 0 10px 30px -6px rgba(26,11,46,.2);
  color: var(--sx-night);
}
.sx .sx-glass--dark {
  background: linear-gradient(160deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 72%, rgba(255,255,255,.08) 100%), rgba(30,14,52,.28);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 1px rgba(255,255,255,.08), 0 12px 36px -8px rgba(0,0,0,.4);
  color: #fff;
}

/* ===================================================================== *
 * 5. Botones, chips, íconos
 * ===================================================================== */
.sx .sx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--sx-violet);
  color: #fff;
  font: 800 15px/1 var(--sx-font);
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s var(--sx-ease), box-shadow .2s;
}
.sx .sx-btn:hover,
.sx .sx-btn:focus { background: var(--sx-violet-2); color: #fff; text-decoration: none; }
.sx .sx-btn:active { transform: scale(.98); }
.sx .sx-btn .sx-ico { width: 20px; height: 20px; }

.sx .sx-btn--light { background: #fff; color: var(--sx-night); }
.sx .sx-btn--light:hover,
.sx .sx-btn--light:focus { background: var(--sx-lilac); color: var(--sx-night); }
.sx .sx-btn--dark { background: var(--sx-night); color: #fff; }
.sx .sx-btn--dark:hover,
.sx .sx-btn--dark:focus { background: var(--sx-night-2); color: #fff; }
.sx .sx-btn--orange { background: var(--sx-orange); color: var(--sx-night); }
.sx .sx-btn--orange:hover,
.sx .sx-btn--orange:focus { background: #F0A468; color: var(--sx-night); }
.sx .sx-btn--wa { background: var(--sx-wa); color: #fff; }
.sx .sx-btn--wa:hover,
.sx .sx-btn--wa:focus { background: #096D39; color: #fff; }
.sx .sx-btn--outline { background: transparent; color: var(--sx-night); box-shadow: inset 0 0 0 1.5px var(--sx-line); }
.sx .sx-btn--outline:hover,
.sx .sx-btn--outline:focus { background: var(--sx-soft); color: var(--sx-night); box-shadow: inset 0 0 0 1.5px var(--sx-night); }
.sx .sx-btn.sx-btn--glass,
.sx .sx-btn.sx-btn--glass:focus {
  background: linear-gradient(160deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 72%, rgba(255,255,255,.08) 100%), rgba(30,14,52,.30);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24), inset 0 1px 0 rgba(255,255,255,.4), 0 12px 36px -8px rgba(0,0,0,.4);
  color: #fff;
}
.sx .sx-btn.sx-btn--glass:hover { background: rgba(255,255,255,.2); color: #fff; }
.sx .sx-btn--sm { height: 44px; padding: 0 20px; font-size: 14.5px; }
.sx .sx-btn--block { display: flex; width: 100%; }
.sx .sx-btn[disabled],
.sx .sx-btn.is-busy { opacity: .6; cursor: progress; }

.sx .sx-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--sx-soft);
  color: var(--sx-night);
  font: 800 14px/1 var(--sx-font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  flex: none;
  transition: background-color .2s, color .2s;
}
.sx .sx-chip:hover,
.sx .sx-chip:focus { background: var(--sx-lilac-2); color: var(--sx-night); text-decoration: none; }
.sx .sx-chip.is-on,
.sx .sx-chip[aria-selected="true"],
.sx .sx-chip[aria-current="page"] { background: var(--sx-night); color: #fff; }
.sx .sx-chip--accent { background: var(--sx-orange); color: var(--sx-night); }
.sx .sx-chip--accent:hover,
.sx .sx-chip--accent:focus { background: #F0A468; color: var(--sx-night); }

.sx .sx-iconbtn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.sx .sx-iconbtn:hover,
.sx .sx-iconbtn:focus { background: rgba(26,11,46,.06); color: inherit; }
.sx .sx-iconbtn--solid,
.sx .sx-iconbtn--solid:focus { background: var(--sx-night); color: #fff; margin-left: 6px; }
.sx .sx-iconbtn--solid:hover { background: var(--sx-night-2); color: #fff; }

.sx-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--sx-orange);
  color: var(--sx-night);
  font: 900 11.5px/1 var(--sx-font);
  box-sizing: border-box;
  pointer-events: none;
}

/* ===================================================================== *
 * 6. Barra de avisos
 * ===================================================================== */
.sx-promo {
  background: var(--sx-night);
  color: #fff;
  font: 700 13px/1.3 var(--sx-font);
}
.sx-promo__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  min-height: 38px;
  padding-block: 6px;
}
.sx-promo__item--mid { color: var(--sx-peach); }
.sx .sx-promo__link,
.sx .sx-promo__link:hover,
.sx .sx-promo__link:focus { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .sx-promo__item--mid { display: none; }
}
@media (max-width: 600px) {
  .sx-promo__row { justify-content: center; min-height: 34px; text-align: center; }
  .sx-promo__link { display: none; }
}

/* ===================================================================== *
 * 7. Header de vidrio
 * ===================================================================== */
.sx-header {
  position: -webkit-sticky;
  position: sticky;
  top: var(--sx-top);
  z-index: 1000;
  max-width: 1648px;
  margin: 0 auto;
  padding: 12px 24px 0;
  box-sizing: border-box;
  pointer-events: none;
  transition: transform .35s var(--sx-ease);
}
.sx-header.is-fixed { position: fixed; left: 0; right: 0; }
.sx-header-spacer { display: block; }

.sx-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 70px;
  padding: 0 12px 0 22px;
  border-radius: 24px;
  box-sizing: border-box;
  pointer-events: auto;
  color: var(--sx-night);
  /* vidrio claro */
  background: linear-gradient(160deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 72%, rgba(255,255,255,.18) 100%), rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 1px rgba(255,255,255,.3), 0 10px 30px -8px rgba(26,11,46,.22), 0 0 0 1px rgba(26,11,46,.04);
  transition: background-color .3s, border-color .3s, box-shadow .3s, color .3s;
}
/* Portada: vidrio oscuro sobre la foto hasta que se hace scroll */
.sx-header--overlay:not(.is-scrolled) .sx-header__bar {
  background: linear-gradient(160deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 72%, rgba(255,255,255,.08) 100%), rgba(30,14,52,.30);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border-color: rgba(255,255,255,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 1px rgba(255,255,255,.08), 0 12px 36px -8px rgba(0,0,0,.4);
  color: #fff;
}

/* Logo */
.sx .sx-logo { display: block; flex: none; line-height: 0; text-decoration: none; }
.sx .sx-logo__img { width: auto !important; height: 42px !important; max-width: none; }
.sx .sx-logo__img--color { display: block; }
.sx .sx-logo__img--white { display: none; }
.sx .sx-header--overlay:not(.is-scrolled) .sx-logo__img--color { display: none; }
.sx .sx-header--overlay:not(.is-scrolled) .sx-logo__img--white { display: block; }

/* Menú principal */
.sx-nav { flex: 1; min-width: 0; align-self: stretch; }
.sx-nav__list { display: flex; align-items: center; gap: 24px; height: 100%; }
.sx-nav__item { position: static; margin: 0; height: 100%; display: flex; align-items: center; }
.sx .sx-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  color: inherit;
  font: 800 14.5px/1 var(--sx-font);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.sx .sx-nav__link:hover,
.sx .sx-nav__link:focus { color: var(--sx-violet); text-decoration: none; }
.sx .sx-header--overlay:not(.is-scrolled) .sx-nav__link:hover,
.sx .sx-header--overlay:not(.is-scrolled) .sx-nav__link:focus { color: #E9DBFF; }
.sx-nav__chev { width: 16px; height: 16px; transition: transform .25s var(--sx-ease); }
.sx-nav__link[aria-expanded="true"] .sx-nav__chev { transform: rotate(180deg); }
.sx-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--sx-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--sx-ease);
}
.sx-nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
.sx-nav__link--accent::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--sx-orange);
  box-shadow: 0 0 0 3px rgba(234,147,80,.22);
}
.sx .sx-header--overlay:not(.is-scrolled) .sx-nav__link--accent { color: var(--sx-orange-soft); }

/* Buscador de escritorio */
.sx-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  width: 270px;
  height: 46px;
  margin: 0;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(26,11,46,.05);
  border: 1px solid rgba(26,11,46,.08);
  box-sizing: border-box;
  color: var(--sx-muted);
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.sx-search .sx-ico { width: 20px; height: 20px; }
.sx-search:focus-within { border-color: rgba(106,33,191,.5); box-shadow: 0 0 0 3px rgba(106,33,191,.14); background: #fff; }
.sx .sx-search__input,
.sx .sx-search__input:focus {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
  color: var(--sx-night);
  font: 600 14px/1 var(--sx-font);
}
.sx-search__input::placeholder { color: var(--sx-muted); opacity: 1; }
.sx-header--overlay:not(.is-scrolled) .sx-search { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }
.sx-header--overlay:not(.is-scrolled) .sx-search:focus-within { background: rgba(255,255,255,.18); box-shadow: 0 0 0 3px rgba(255,255,255,.16); }
.sx .sx-header--overlay:not(.is-scrolled) .sx-search__input { color: #fff; }
.sx-header--overlay:not(.is-scrolled) .sx-search__input::placeholder { color: rgba(255,255,255,.78); }

/* Acciones */
.sx-actions { display: flex; align-items: center; gap: 2px; flex: none; }
.sx .sx-header--overlay:not(.is-scrolled) .sx-iconbtn:hover,
.sx .sx-header--overlay:not(.is-scrolled) .sx-iconbtn:focus { background: rgba(255,255,255,.12); }
.sx .sx-header--overlay:not(.is-scrolled) .sx-iconbtn--solid,
.sx .sx-header--overlay:not(.is-scrolled) .sx-iconbtn--solid:focus { background: #fff; color: var(--sx-night); }
.sx .sx-header--overlay:not(.is-scrolled) .sx-iconbtn--solid:hover { background: var(--sx-lilac); color: var(--sx-night); }
.sx .sx-header__menu { display: none; }
.sx .sx-actions__search { display: none; }
.sx .sx-actions__wa { display: none; }

/* Atenuar la página mientras un mega menú está abierto */
.sx-header::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(18,7,32,.38);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility 0s .25s;
  pointer-events: none;
}
.sx-header.is-mega-open::before { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s; }

/* ---------- Escritorio medio: buscador como ícono ---------- */
@media (max-width: 1359px) {
  .sx-header__bar { gap: 22px; }
  .sx-nav__list { gap: 18px; }
  .sx-search { display: none; }
  .sx .sx-actions__search { display: grid; }
}

/* ---------- Tablet: botón de menú, sin menú horizontal ---------- */
@media (max-width: 1199px) {
  .sx-header__bar { gap: 6px; padding: 0 10px; }
  .sx .sx-header__menu { display: grid; }
  .sx-nav { display: none; }
  .sx .sx-logo { margin: 0 auto 0 6px; }
}

/* ---------- Celular ---------- */
@media (max-width: 899px) {
  .sx-header { padding: 10px 12px 0; }
  .sx-header__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    height: 58px;
    padding: 0 7px;
    border-radius: 22px;
  }
  .sx .sx-header__menu { justify-self: start; }
  .sx .sx-logo { margin: 0; justify-self: center; }
  .sx .sx-logo__img { height: 34px !important; }
  .sx-actions { justify-self: end; }
  .sx .sx-actions__desk { display: none; }
  .sx .sx-actions__search { display: none; }
  .sx .sx-actions__wa { display: grid; }
  /* Páginas sin menú inferior (ficha de producto, pago): buscador y carro arriba */
  .sx:not(.sx-has-bnav) .sx-actions__search { display: grid; }
  .sx:not(.sx-has-bnav) .sx-cartbtn { display: grid; }
  .sx:not(.sx-has-bnav) .sx-actions__wa { display: none; }
  .sx-header.is-hidden { transform: translateY(calc(-100% - 12px)); }
}
@media (min-width: 900px) {
  .sx .sx-actions__desk { display: grid; }
}

/* ===================================================================== *
 * 8. Mega menús (escritorio)
 * ===================================================================== */
.sx-mega {
  position: absolute;
  left: 24px;
  right: 24px;
  top: calc(100% + 10px);
  z-index: 2;
  max-height: calc(100vh - var(--sx-top) - 120px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px;
  border-radius: 28px;
  box-sizing: border-box;
  pointer-events: auto;
  color: var(--sx-night);
  background: linear-gradient(160deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 72%, rgba(255,255,255,.2) 100%), rgba(250,248,253,.86);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 30px 60px -20px rgba(18,7,32,.45);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .22s, transform .28s var(--sx-ease);
}
.sx-mega.is-open { opacity: 1; transform: none; }
@media (max-width: 1199px) { .sx-mega { display: none !important; } }

.sx-mega__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-areas: "body extra" "chips extra";
  gap: 20px 22px;
}
.sx-mega__body {
  grid-area: body;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  min-height: 340px;
}
.sx-mega__tabcol {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 18px;
  border-right: 1px solid rgba(26,11,46,.08);
}
.sx-mega__label { padding: 8px 14px 10px; color: var(--sx-muted); font: 800 13.5px/1 var(--sx-font); }
.sx-mega__tabs { display: flex; flex-direction: column; gap: 4px; }
.sx .sx-mega__tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--sx-night);
  font: 800 15px/1 var(--sx-font);
  text-align: left;
  transition: background-color .15s, color .15s;
}
.sx .sx-mega__tab .sx-ico { opacity: .55; }
.sx .sx-mega__tab:hover,
.sx .sx-mega__tab:focus { background: rgba(106,33,191,.08); color: var(--sx-night); }
.sx .sx-mega__tab.is-on,
.sx .sx-mega__tab[aria-selected="true"] { background: var(--sx-night); color: #fff; }
.sx .sx-mega__tab[aria-selected="true"] .sx-ico { opacity: 1; }

.sx-mega__panes { min-width: 0; padding: 6px 4px; }
.sx-mega__pane { animation: sx-fade .25s var(--sx-ease); }
.sx-mega__head { display: flex; align-items: center; gap: 14px; min-height: 46px; }
.sx-mega__head .sx-crest-img { width: 46px !important; height: 46px !important; object-fit: contain; flex: none; }
.sx-mega__title {
  min-width: 0;
  color: var(--sx-night);
  font: 900 46px/.86 var(--sx-display);
  text-transform: uppercase;
}
.sx .sx-mega__all,
.sx .sx-mega__all:hover,
.sx .sx-mega__all:focus {
  margin-left: auto;
  color: var(--sx-violet);
  font: 800 14.5px/1.2 var(--sx-font);
  text-decoration: none;
  white-space: nowrap;
}
.sx .sx-mega__all:hover { text-decoration: underline; text-underline-offset: 3px; }
.sx-mega__teams {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 12px;
  margin-top: 20px !important;
}
.sx .sx-team {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 16px;
  color: var(--sx-night);
  font: 800 14.5px/1.25 var(--sx-font);
  text-decoration: none;
  transition: background-color .15s;
}
.sx .sx-team:hover,
.sx .sx-team:focus { background: rgba(106,33,191,.08); color: var(--sx-night); text-decoration: none; }
.sx-team__crest {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 0 rgba(26,11,46,.06), 0 4px 10px -6px rgba(26,11,46,.25);
}
.sx-team__crest img { width: 30px !important; height: 30px !important; object-fit: contain; }
.sx-team--all .sx-team__crest { background: var(--sx-night); color: #fff; }
.sx-team__name { min-width: 0; }
.sx-mega__empty { margin-top: 24px !important; }

.sx-mega__chips {
  grid-area: chips;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(26,11,46,.08);
}
.sx-mega__chips-label { margin-right: 6px; color: var(--sx-muted); font: 800 13.5px/1 var(--sx-font); }
.sx .sx-mega .sx-chip { height: 38px; padding: 0 16px; background: #fff; }
.sx .sx-mega .sx-chip:hover,
.sx .sx-mega .sx-chip:focus { background: var(--sx-lilac-2); }
.sx .sx-mega .sx-chip--accent { background: var(--sx-orange); }
.sx .sx-mega .sx-chip--accent:hover,
.sx .sx-mega .sx-chip--accent:focus { background: #F0A468; }

.sx-mega__extra { grid-area: extra; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sx .sx-mega__players {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(106,33,191,.08);
  color: var(--sx-muted);
  font: 600 13.5px/1.35 var(--sx-font);
  text-decoration: none;
  transition: background-color .2s;
}
.sx .sx-mega__players:hover,
.sx .sx-mega__players:focus { background: rgba(106,33,191,.14); color: var(--sx-muted); }
.sx-mega__players b { display: block; color: var(--sx-night); font-size: 15px; font-weight: 900; }
.sx-mega__players-faces { display: flex; flex: none; padding-left: 10px; }
.sx-mega__players-faces img {
  width: 34px !important;
  height: 34px !important;
  margin-left: -10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}
.sx .sx-mega__promo {
  position: relative;
  display: block;
  flex: 1;
  min-height: 300px;
  overflow: hidden;
  border-radius: 22px;
  background: #2A1446;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.sx .sx-mega__promo:hover,
.sx .sx-mega__promo:focus { color: #fff; }
.sx-mega__promo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: 50% 20%;
  z-index: -2;
  transition: transform .6s var(--sx-ease);
}
.sx-mega__promo:hover > img { transform: scale(1.04); }
.sx-mega__promo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(18,7,32,.88), rgba(18,7,32,0) 58%);
}
.sx-mega__promo-body { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.sx-mega__promo-kicker { color: var(--sx-orange-soft); font: 800 14px/1 var(--sx-font); }
.sx-mega__promo-title { margin-top: 6px; font-size: 40px; }
.sx-mega__promo .sx-btn { margin-top: 16px; }

@keyframes sx-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (max-width: 1359px) {
  .sx-mega__inner { grid-template-columns: minmax(0, 1fr) 260px; }
  .sx-mega__body { grid-template-columns: 210px minmax(0, 1fr); }
  .sx-mega__teams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-mega__players-faces { display: none; }
}

/* ===================================================================== *
 * 9. Hojas: menú, equipos y buscador
 * ===================================================================== */
.sx-scrim {
  position: fixed;
  inset: 0;
  z-index: 100090;
  background: rgba(18,7,32,.5);
  opacity: 0;
  transition: opacity .3s;
}
.sx-scrim.is-open { opacity: 1; }

.sx-sheet {
  position: fixed;
  z-index: 100100;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  color: var(--sx-night);
  background: linear-gradient(160deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 32%), rgba(248,246,252,.94);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 30px 80px -20px rgba(18,7,32,.5);
  outline: 0;
  transition: transform .38s var(--sx-ease), opacity .25s;
}
.sx-sheet__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: none;
  padding: 18px 20px 10px;
}
.sx-sheet__grip { display: none; }
.sx-sheet__title { font-size: 40px; color: var(--sx-night); }
.sx .sx-sheet__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: rgba(26,11,46,.07);
  color: var(--sx-night);
}
.sx .sx-sheet__close:hover,
.sx .sx-sheet__close:focus { background: rgba(26,11,46,.12); color: var(--sx-night); }
.sx-sheet__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 6px 20px calc(28px + env(safe-area-inset-bottom));
}
.sx-sheet__label { margin-top: 26px !important; color: var(--sx-muted); font: 800 13.5px/1 var(--sx-font); }
.sx-sheet__links { margin-top: 18px; }
.sx .sx-sheet__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  border-top: 1px solid rgba(26,11,46,.08);
  color: var(--sx-night);
  font: 800 15.5px/1.2 var(--sx-font);
  text-decoration: none;
}
.sx .sx-sheet__links a:hover,
.sx .sx-sheet__links a:focus { color: var(--sx-violet); }

/* --- Menú: panel lateral --- */
.sx-sheet--menu {
  top: var(--sx-top);
  bottom: 0;
  left: 0;
  width: min(420px, calc(100% - 40px));
  border-radius: 0 28px 28px 0;
  transform: translateX(-104%);
}
.sx-sheet--menu.is-open { transform: none; }
.sx-menu__main { margin-bottom: 6px !important; }
.sx .sx-menu__main a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 4px 11px;
  border-bottom: 1px solid rgba(26,11,46,.07);
  color: var(--sx-night);
  font: 900 30px/1 var(--sx-display);
  text-transform: uppercase;
  text-decoration: none;
}
.sx .sx-menu__main a:hover,
.sx .sx-menu__main a:focus { color: var(--sx-violet); }
.sx-menu__main a .sx-ico { opacity: .4; }
.sx .sx-menu__main a.is-accent { justify-content: flex-start; }
.sx-menu__main a.is-accent .sx-ico { margin-left: auto; }
.sx-menu__main a.is-accent::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--sx-orange);
  box-shadow: 0 0 0 4px rgba(234,147,80,.22);
}
.sx-acc { border-bottom: 1px solid rgba(26,11,46,.08); }
.sx-acc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  list-style: none;
  cursor: pointer;
  font: 900 17px/1.2 var(--sx-font);
}
.sx-acc > summary::-webkit-details-marker { display: none; }
.sx-acc > summary::marker { content: ""; }
.sx-acc > summary .sx-ico { transition: transform .25s var(--sx-ease); }
.sx-acc[open] > summary .sx-ico { transform: rotate(180deg); }
.sx-menu__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 8px;
  padding-bottom: 14px !important;
}
.sx .sx-menu__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 6px;
  border-radius: 12px;
  color: var(--sx-night);
  font: 700 15px/1.25 var(--sx-font);
  text-decoration: none;
}
.sx .sx-menu__list a:hover,
.sx .sx-menu__list a:focus { background: rgba(106,33,191,.08); color: var(--sx-night); }
.sx-menu__list img { width: 26px !important; height: 26px !important; flex: none; object-fit: contain; }
.sx-menu__list img.is-round { border-radius: 50%; object-fit: cover; background: #fff; }
.sx-menu__help { display: grid; gap: 2px; margin: 18px 0 20px !important; }
.sx .sx-menu__help a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  color: var(--sx-night);
  font: 700 15.5px/1.2 var(--sx-font);
  text-decoration: none;
}
.sx .sx-menu__help a:hover,
.sx .sx-menu__help a:focus { color: var(--sx-violet); }
.sx-menu__help .sx-ico { color: var(--sx-violet); }

/* --- Equipos: hoja inferior (celular) / ventana (escritorio) --- */
.sx-sheet--teams {
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100% - 88px - var(--sx-top));
  border-radius: 32px 32px 0 0;
  transform: translateY(104%);
}
.sx-sheet--teams.is-open { transform: none; }
.sx-sheet--teams .sx-sheet__grip {
  display: block;
  position: absolute;
  top: 9px;
  left: 50%;
  width: 40px;
  height: 5px;
  margin-left: -20px;
  border-radius: 5px;
  background: rgba(26,11,46,.18);
}
.sx-sheet--teams .sx-sheet__head { padding-top: 24px; touch-action: none; }
@media (min-width: 900px) {
  .sx-sheet--teams {
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    width: min(760px, calc(100% - 48px));
    height: auto;
    max-height: min(820px, calc(100vh - 80px));
    border-radius: 28px;
    opacity: 0;
    transform: translate(-50%, -46%);
  }
  .sx-sheet--teams.is-open { opacity: 1; transform: translate(-50%, -50%); }
  .sx-sheet--teams .sx-sheet__grip { display: none; }
}

/* --- Buscador: panel superior --- */
.sx-sheet--search {
  top: var(--sx-top);
  left: 0;
  right: 0;
  max-height: calc(100% - var(--sx-top));
  border-radius: 0 0 28px 28px;
  opacity: 0;
  transform: translateY(-24px);
}
.sx-sheet--search.is-open { opacity: 1; transform: none; }
.sx-sheet--search .sx-sheet__body { width: 100%; max-width: 880px; margin: 0 auto; padding-top: 22px; box-sizing: border-box; }
@media (max-width: 899px) {
  .sx-sheet--search { bottom: 0; border-radius: 0; }
}

/* Campos de búsqueda dentro de las hojas */
.sx-field-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  margin: 0;
  padding: 0 6px 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(26,11,46,.08);
  box-sizing: border-box;
  color: var(--sx-muted);
  transition: border-color .2s, box-shadow .2s;
}
.sx-field-search:focus-within { border-color: rgba(106,33,191,.5); box-shadow: 0 0 0 3px rgba(106,33,191,.14); }
.sx-field-search > .sx-ico { width: 20px; height: 20px; }
.sx .sx-field-search input[type="search"],
.sx .sx-field-search input[type="search"]:focus {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
  color: var(--sx-night);
  font: 600 15.5px/1 var(--sx-font);
}
.sx-field-search input::placeholder { color: var(--sx-muted); opacity: 1; }
.sx-field-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.sx-field-search--big { height: 62px; padding-left: 20px; }
.sx-field-search--big > .sx-ico { width: 22px; height: 22px; }
.sx .sx-field-search--big input[type="search"] { font-size: 18px; }

.sx-chiprow {
  display: flex;
  gap: 8px;
  margin: 16px -20px 0;
  padding: 0 20px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.sx-chiprow::-webkit-scrollbar { display: none; }
.sx-chiprow--wrap { flex-wrap: wrap; margin: 22px 0 0; padding: 0; overflow: visible; }
.sx .sx-sheet .sx-chip:not(.is-on):not([aria-selected="true"]):not(.sx-chip--accent) { background: #fff; }
.sx .sx-sheet .sx-chip:not(.is-on):not([aria-selected="true"]):not(.sx-chip--accent):hover { background: var(--sx-lilac-2); }

/* Grilla de escudos (hojas y portada) */
.sx-crestgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 6px;
  margin-top: 18px !important;
}
@media (min-width: 600px) { .sx-crestgrid { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); } }
.sx .sx-crest {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--sx-night);
  font: 800 12.5px/1.2 var(--sx-font);
  text-align: center;
  text-decoration: none;
}
.sx .sx-crest:hover,
.sx .sx-crest:focus { color: var(--sx-violet); text-decoration: none; }
.sx-crest__c {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 72px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  transition: background-color .2s, transform .2s var(--sx-ease);
}
.sx-crest:hover .sx-crest__c { background: var(--sx-lilac-2); transform: translateY(-2px); }
.sx-crest__c img { width: 58% !important; height: 58% !important; object-fit: contain; }
.sx-crest__c--all { background: var(--sx-night); color: #fff; }
.sx-crest:hover .sx-crest__c--all { background: var(--sx-violet); }
.sx-teams__pane { animation: sx-fade .25s var(--sx-ease); }

/* Resultados en vivo */
.sx-live:not(:empty) { margin-top: 18px; }
.sx-live__group + .sx-live__group { margin-top: 18px; }
.sx-live__title { margin-bottom: 8px !important; color: var(--sx-muted); font: 800 13.5px/1 var(--sx-font); }
.sx-live__list { display: grid; gap: 2px; }
.sx .sx-live__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border-radius: 16px;
  color: var(--sx-night);
  text-decoration: none;
}
.sx .sx-live__item:hover,
.sx .sx-live__item:focus,
.sx .sx-live__item.is-active { background: rgba(106,33,191,.08); color: var(--sx-night); text-decoration: none; }
.sx-live__thumb { width: 56px; height: 70px; flex: none; overflow: hidden; border-radius: 12px; background: #E9E8EC; }
.sx-live__thumb img { width: 100% !important; height: 100% !important; object-fit: cover; }
.sx-live__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sx-live__name { font: 800 14px/1.3 var(--sx-font); letter-spacing: .015em; text-transform: uppercase; }
.sx-live__meta { color: var(--sx-muted); font: 600 13px/1.3 var(--sx-font); }
.sx-live__price { font: 900 15px/1.2 var(--sx-font); }
.sx-live__price del,
.sx-live__price s { color: var(--sx-strike); font-weight: 600; font-size: 13px; margin-left: 8px; }
.sx-live__price ins { text-decoration: none; }
.sx-live__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-live__msg { padding: 18px 4px; color: var(--sx-muted); font: 700 15px/1.4 var(--sx-font); }
.sx-live__all { margin-top: 14px; }
.sx-live__loading { display: flex; gap: 6px; padding: 18px 4px; }
.sx-live__loading i { width: 8px; height: 8px; border-radius: 50%; background: var(--sx-violet); animation: sx-dot 1s infinite ease-in-out; }
.sx-live__loading i:nth-child(2) { animation-delay: .15s; }
.sx-live__loading i:nth-child(3) { animation-delay: .3s; }
@keyframes sx-dot { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: none; } }

/* ===================================================================== *
 * 10. Menú inferior de vidrio (celular)
 * ===================================================================== */
.sx-bnav { display: none; }
@media (max-width: 899px) {
  body.sx-has-bnav { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .sx-bnav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 990;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
  }
  .sx-bnav > * { pointer-events: auto; }
  .sx-bnav__bar {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    height: 66px;
    padding: 6px;
    border-radius: 33px;
    box-sizing: border-box;
  }
  .sx .sx-bnav__tab {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 27px;
    background: transparent;
    color: var(--sx-night);
    font: 800 11px/1 var(--sx-font);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .2s, color .2s;
  }
  .sx .sx-bnav__tab:hover,
  .sx .sx-bnav__tab:focus { background: rgba(106,33,191,.08); color: var(--sx-night); }
  .sx .sx-bnav__tab.is-on,
  .sx .sx-bnav__tab[aria-expanded="true"] { background: rgba(106,33,191,.14); color: var(--sx-violet-2); }
  .sx-bnav__tab .sx-cart-count { top: 4px; left: 50%; right: auto; min-width: 18px; height: 18px; margin-left: 4px; font-size: 10.5px; }
  .sx .sx-bnav__search {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    flex: none;
    padding: 0;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
  }
  .sx .sx-bnav__search:hover,
  .sx .sx-bnav__search:focus { color: var(--sx-night); }
  .sx .sx-bnav__search[aria-expanded="true"] { color: var(--sx-violet-2); }

  /* Botones flotantes de plugins y de Astra: sobre el menú inferior */
  body.sx-has-bnav .gt_switcher_wrapper { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
  body.sx-has-bnav #ast-scroll-top { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
  body.single-product #ast-scroll-top { bottom: calc(100px + env(safe-area-inset-bottom)) !important; }
  .sx .wa-floating-btn { display: none !important; }
}

/* ===================================================================== *
 * 11. Footer
 * ===================================================================== */
.sx-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  background: var(--sx-night);
  color: #fff;
  font-family: var(--sx-font);
}
.sx-footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 28px 40px;
  align-items: center;
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.sx-footer__hello { display: flex; align-items: center; gap: 22px; }
.sx-footer__mascot { width: 112px !important; height: auto; flex: none; }
.sx-footer__title { font-size: 52px; color: #fff; }
.sx-footer__lead { margin-top: 8px !important; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.5; }

.sx-news { position: relative; }
.sx-news__row {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  transition: border-color .2s, box-shadow .2s;
}
.sx-news__row:focus-within { border-color: rgba(247,185,137,.7); box-shadow: 0 0 0 3px rgba(247,185,137,.16); }
.sx .sx-news__input,
.sx .sx-news__input:focus {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 48px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  outline: 0;
  color: #fff;
  font: 600 15.5px/1 var(--sx-font);
}
.sx-news__input::placeholder { color: rgba(255,255,255,.6); opacity: 1; }
.sx .sx-news .sx-btn { height: 48px; padding: 0 24px; }
.sx-news__trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.sx-news__msg { min-height: 20px; margin-top: 10px !important; padding-left: 18px; font: 700 14px/1.4 var(--sx-font); color: rgba(255,255,255,.8); }
.sx-news__msg.ok { color: #9BE3B9; }
.sx-news__msg.err { color: var(--sx-orange-soft); }

.sx-footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 56px 0;
}
.sx-footer__logo { display: block; width: auto !important; height: 58px !important; }
.sx-footer__about { max-width: 280px; margin-top: 18px !important; color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.6; }
.sx-footer__social { display: flex; gap: 10px; margin-top: 20px; }
.sx .sx-footer__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: background-color .2s;
}
.sx .sx-footer__social a:hover,
.sx .sx-footer__social a:focus { background: rgba(255,255,255,.16); color: #fff; }
.sx-footer__h { margin-bottom: 16px !important; color: #fff; font: 900 15px/1.2 var(--sx-font); }
.sx-footer__list { display: grid; gap: 11px; }
.sx .sx-footer__list a,
.sx .sx-footer__list span { color: rgba(255,255,255,.78); font: 600 15px/1.35 var(--sx-font); text-decoration: none; }
.sx .sx-footer__list a:hover,
.sx .sx-footer__list a:focus { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.sx-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.sx-footer__legal { color: rgba(255,255,255,.62); font: 600 13.5px/1.5 var(--sx-font); max-width: 720px; }
.sx-footer__pay { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-footer__pay li {
  display: grid;
  place-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  font: 800 12.5px/1 var(--sx-font);
}

@media (max-width: 1199px) {
  .sx-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .sx-footer__top { padding: 56px 0 40px; }
  .sx-footer__title { font-size: 44px; }
  .sx-footer__mascot { width: 84px !important; }
  .sx-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding: 40px 0; }
  .sx-footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .sx-footer__hello { align-items: flex-start; gap: 14px; }
  .sx-footer__title { font-size: 38px; }
  .sx-footer__mascot { width: 64px !important; }
  .sx .sx-news .sx-btn { padding: 0 18px; }
  .sx .sx-news__input { padding: 0 12px; }
}

/* ===================================================================== *
 * 12. Movimiento reducido
 * ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .sx *,
  .sx *::before,
  .sx *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Navegadores sin desenfoque de fondo: vidrio más opaco para que se lea bien. */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .sx .sx-glass,
  .sx-header__bar,
  .sx-mega,
  .sx-sheet { background: rgba(250,248,253,.97); }
  .sx .sx-glass--dark,
  .sx-header--overlay:not(.is-scrolled) .sx-header__bar { background: rgba(26,11,46,.9); }
}
