/* ═══════════════════════════════════════════════════════════
   SOLLER — Global stylesheet
   Cargado en TODAS las páginas via functions.php
   (footer blanco + newsletter Style B en home)
   ═══════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════
   1. FOOTER GLOBAL — fondo blanco, textos dark ink
   ═══════════════════════════════════════════════════════════ */

.s-footer {
  background: #ffffff !important;
  color: #0f2a33 !important;
  font-family: 'Roboto Condensed', sans-serif;
  padding: 48px 64px 0;
  margin-top: 0;
  border-top: 1px solid rgba(15, 42, 51, 0.08);
}

/* Grid de columnas */
.s-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(15, 42, 51, 0.12);
}

/* Logo */
.s-footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 4px;
  color: #0f2a33 !important;
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.s-footer-logo:hover {
  color: #ebcb1a;
}

/* Tagline */
.s-footer-tagline {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: #0f2a33 !important;
  margin: 0 0 22px;
  max-width: 240px;
}

/* Iconos sociales */
.s-footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.s-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #0f2a33 !important;
  border-radius: 50%;
  transition: border-color 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.s-footer-social a:hover {
  border-color: #ebcb1a;
  background: rgba(235, 203, 26, 0.08);
}

.s-footer-social svg {
  width: 16px;
  height: 16px;
  stroke: #0f2a33 !important;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Columnas de links */
.s-footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #0f2a33 !important;
  margin: 0 0 16px;
  font-weight: 400;
}

.s-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.s-footer-col ul li {
  margin-bottom: 10px;
}

.s-footer-col ul li a {
  font-size: 13px;
  font-weight: 400;
  color: #0f2a33 !important;
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.3px;
}

.s-footer-col ul li a:hover {
  color: #0f2a33 !important;
}

/* Barra inferior: copyright + métodos de pago */
.s-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 19px;
  flex-wrap: wrap;
  gap: 16px;
}

.s-footer-copy {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0f2a33 !important;
}

/* Badges de métodos de pago */
.s-footer-payments {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.s-pay-badge {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #0f2a33 !important;
  border: 1px solid #0f2a33 !important;
  border-radius: 4px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* ── Responsive footer ─────────────────────────────────── */

@media (max-width: 900px) {
  .s-footer {
    padding: 38px 32px 0;
  }
  .s-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .s-footer-brand {
    grid-column: 1 / -1;
  }
  .s-footer-tagline {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .s-footer {
    padding: 32px 24px 0;
  }
  .s-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .s-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .s-footer-payments {
    gap: 6px;
  }
}


/* ═══════════════════════════════════════════════════════════
   2. NEWSLETTER HOME — Style B (fondo azul oscuro)
   Match visual con .sp-newsletter de single-product.php
   ═══════════════════════════════════════════════════════════ */

.s-newsletter {
  background: #0f2a33 !important;
  padding: 72px 40px;
  text-align: center;
}

.s-nl-label {
  display: block;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #4c88be;
  margin-bottom: 12px;
}

.s-newsletter-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  text-transform: uppercase;
  color: #efede8;
  line-height: 0.9;
  margin: 0 0 12px;
}

.s-newsletter-title em {
  color: #ebcb1a;
  font-style: normal;
}

.s-newsletter-sub {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(239, 237, 232, 0.6);
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.s-nl-form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  gap: 8px;
}

.s-nl-input {
  flex: 1;
  background: #efede8;
  border: 1.5px solid #0f2a33;
  padding: 16px 20px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #0f2a33;
  outline: none;
  transition: border-color 0.22s;
}

.s-nl-input::placeholder {
  color: rgba(15, 42, 51, 0.35);
}

.s-nl-input:focus {
  border-color: #ebcb1a;
}

.s-nl-btn {
  background: #ebcb1a;
  color: #0f2a33;
  border: none;
  padding: 16px 24px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.22s;
}

.s-nl-btn:hover {
  opacity: 0.88;
}

@media (max-width: 480px) {
  .s-newsletter {
    padding: 56px 20px;
  }
  .s-newsletter-title {
    font-size: 42px;
  }
  .s-nl-form {
    flex-direction: column;
  }
  .s-nl-input {
    border-bottom: none;
  }
  .s-nl-btn {
    padding: 16px;
  }
}
