/* =========================================================
   SOAR · Footer (se carga en TODAS las páginas: inicio, tienda, carrito, pago…)
   Todo va dentro de .soar-footer, así el tema y WooCommerce no lo pisan
   y estos estilos no tocan nada más del sitio.
   ========================================================= */

.soar-footer {
  --sf-paper: #F4F6FA;
  --sf-ink: #0D1530;
  --sf-muted: #4A5578;
  --sf-line: rgb(13 21 48 / .1);
  --sf-blue: #0A3D7E;
  --sf-blue-hover: #072C5C;
  --sf-blue-deep: #072C5C;
  --sf-gutter: clamp(16px, 4vw, 48px);
  --sf-ease: cubic-bezier(.23, 1, .32, 1);

  position: relative;
  display: block;
  margin: 0;
  padding: clamp(56px, 7vw, 96px) 0 0;
  background: var(--sf-paper);
  color: var(--sf-ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

/* Base aislada del tema */
.soar-footer, .soar-footer *, .soar-footer *::before, .soar-footer *::after { box-sizing: border-box; }
.soar-footer :is(h2, h3, p, ul, li, nav, section) { margin: 0; padding: 0; max-width: none; background: none; border: 0; box-shadow: none; }
.soar-footer :is(h2, h3) { color: inherit; text-transform: none; letter-spacing: normal; }
.soar-footer p { font-size: inherit; line-height: inherit; }
.soar-footer ul { list-style: none; }
.soar-footer li::before, .soar-footer li::marker { content: none; }
.soar-footer a { color: inherit; text-decoration: none; background: none; padding: 0; border: 0; box-shadow: none; }
.soar-footer img { display: block; max-width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; }
.soar-footer svg { display: block; }
.soar-footer ::selection { background: var(--sf-blue); color: #F5F8FF; }
.soar-footer :focus-visible { outline: 2px solid var(--sf-blue); outline-offset: 3px; border-radius: 6px; }
.soar-footer__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Columnas */
.soar-footer .soar-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sf-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
}
.soar-footer .soar-footer__brand { display: grid; align-content: start; gap: 18px; }
.soar-footer .soar-footer__logo { display: inline-block; width: clamp(140px, 13vw, 180px); }
.soar-footer .soar-footer__logo img { width: 100%; }
.soar-footer .soar-footer__logo img:is([src=""], :not([src])) { visibility: hidden; }
.soar-footer .soar-footer__tagline { max-width: 34ch; color: var(--sf-muted); font-size: .9375rem; text-wrap: pretty; }

.soar-footer .soar-footer__wa {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  height: 48px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: var(--sf-blue);
  color: #F5F8FF;
  font-weight: 600;
  font-size: .9375rem;
  white-space: nowrap;
  box-shadow: 0 12px 26px -14px rgb(10 61 126 / .8);
  transition: transform 160ms var(--sf-ease), background-color 200ms ease;
}
.soar-footer .soar-footer__wa .soar-footer__ico { width: 20px; height: 20px; color: inherit; }
.soar-footer .soar-footer__wa:active { transform: scale(.97); }

/* Redes: un ícono solo aparece cuando tiene enlace */
.soar-footer .soar-footer__social { display: flex; gap: 8px; }
.soar-footer .soar-footer__social li:has(> a:is([href=""], :not([href]))) { display: none; }
.soar-footer .soar-footer__social:not(:has(a[href]:not([href=""]))) { display: none; }
.soar-footer .soar-footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--sf-ink);
  box-shadow: inset 0 0 0 1px var(--sf-line);
  transition: color 200ms ease, box-shadow 200ms ease, transform 160ms var(--sf-ease);
}
.soar-footer .soar-footer__social .soar-footer__ico { width: 18px; height: 18px; margin: 0; }
.soar-footer .soar-footer__social a:active { transform: scale(.94); }

.soar-footer .soar-footer__title {
  margin-bottom: 18px;
  font-family: "Bricolage Grotesque", "Geist", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.soar-footer .soar-footer__list { display: grid; gap: 14px; }
.soar-footer .soar-footer__links { gap: 10px; }
.soar-footer .soar-footer__row { display: flex; align-items: flex-start; gap: 12px; color: var(--sf-muted); font-size: .9375rem; line-height: 1.45; }
.soar-footer .soar-footer__row--plain { padding-left: 30px; }
.soar-footer .soar-footer__ico { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--sf-blue); }
.soar-footer a.soar-footer__row { transition: color 200ms ease; }
.soar-footer .soar-footer__links a { color: var(--sf-muted); font-size: .9375rem; transition: color 200ms ease; }

/* Pagos y envíos (para cuando abra la tienda) */
.soar-footer .soar-footer__trust {
  max-width: 1280px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 0 var(--sf-gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.soar-footer .soar-footer__trust-label { color: var(--sf-muted); font-size: .8125rem; font-weight: 600; }
.soar-footer .soar-footer__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.soar-footer .soar-footer__badges img { height: 28px; width: auto; }
.soar-footer .soar-footer__badges img:is([src=""], :not([src])) { display: none; }

/* Barra final */
.soar-footer .soar-footer__bottom {
  width: calc(100% - 2 * var(--sf-gutter));
  max-width: calc(1280px - 2 * var(--sf-gutter));
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 22px 0 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  border-top: 1px solid var(--sf-line);
  color: var(--sf-muted);
  font-size: .875rem;
}
.soar-footer .soar-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.soar-footer .soar-footer__legal a { text-decoration: underline; text-decoration-color: rgb(13 21 48 / .25); text-underline-offset: 4px; transition: color 200ms ease, text-decoration-color 200ms ease; }

@media (hover: hover) and (pointer: fine) {
  .soar-footer .soar-footer__wa:hover { background: var(--sf-blue-hover); }
  .soar-footer .soar-footer__social a:hover { color: var(--sf-blue); box-shadow: inset 0 0 0 1px rgb(10 61 126 / .45); }
  .soar-footer a.soar-footer__row:hover,
  .soar-footer .soar-footer__links a:hover,
  .soar-footer .soar-footer__legal a:hover { color: var(--sf-blue); text-decoration-color: var(--sf-blue); }
}

@media (max-width: 1024px) {
  .soar-footer .soar-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soar-footer .soar-footer__brand { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; column-gap: 32px; }
  .soar-footer .soar-footer__brand > :not(.soar-footer__logo) { grid-column: 2; }
  .soar-footer .soar-footer__logo { grid-row: 1 / span 3; }
}
@media (max-width: 640px) {
  .soar-footer .soar-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .soar-footer .soar-footer__brand { grid-template-columns: minmax(0, 1fr); }
  .soar-footer .soar-footer__brand > :not(.soar-footer__logo) { grid-column: auto; }
  .soar-footer .soar-footer__logo { grid-row: auto; }
  .soar-footer .soar-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Contenedor de Blocksy ----------
   El footer de Blocksy pone filas, columnas y márgenes alrededor del HTML.
   Solo cuando adentro está nuestro footer, se los quitamos para que ocupe todo el ancho. */
footer.ct-footer:has(.soar-footer) { padding: 0 !important; background: var(--sf-paper, #F4F6FA) !important; border: 0 !important; }
/* cualquier envoltura del tema que tenga adentro nuestro footer (fila, columna, widget, bloque HTML) */
footer.ct-footer :has(.soar-footer) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  grid-template-columns: none !important;
}