/* MarketCity Footer v1.0 — mobile first, sin menú flotante. Prefijo .mcft */
.mcft, .mcft * { box-sizing: border-box !important; }

.mcft {
  --mcft-line: rgba(255, 255, 255, 0.12);
  --mcft-muted: rgba(255, 255, 255, 0.68);
  --mcft-card: rgba(255, 255, 255, 0.06);
  --mcft-blue: #3843d0;
  --mcft-mint: #6ecfbd;
  --mcft-coral: #f9623e;
  --mcft-green: #12b76a;
  position: relative !important;
  width: 100% !important;
  color: #fff !important;
  background: linear-gradient(180deg, #0b1022 0%, #070b16 100%) !important;
  font-family: Satoshi, "Satoshi Variable", Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}
.mcft a { color: inherit !important; text-decoration: none !important; }
.mcft a:focus-visible, .mcft summary:focus-visible { outline: 2px solid var(--mcft-mint) !important; outline-offset: 2px !important; border-radius: 6px !important; }
.mcft svg { display: block !important; width: 18px !important; height: 18px !important; flex: 0 0 auto !important; }
.mcft p, .mcft h3, .mcft ul { margin: 0 !important; padding: 0 !important; }
.mcft ul { list-style: none !important; }
.mcft [hidden] { display: none !important; }

.mcft-wrap { width: min(1180px, calc(100% - 24px)) !important; margin: 0 auto !important; }

/* Beneficios: carrusel horizontal en móvil, 4 columnas en desktop */
.mcft-benefits { border-bottom: 1px solid var(--mcft-line) !important; }
.mcft-benefits .mcft-wrap {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: minmax(230px, 78%) !important;
  gap: 10px !important;
  padding: 14px 0 !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
}
.mcft-benefits .mcft-wrap::-webkit-scrollbar { display: none !important; }
.mcft-benefit {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--mcft-line) !important;
  border-radius: 14px !important;
  background: var(--mcft-card) !important;
  scroll-snap-align: start !important;
}
.mcft-benefit-ic {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  color: var(--mcft-mint) !important;
  background: rgba(110, 207, 189, 0.12) !important;
  flex: 0 0 auto !important;
}
.mcft-benefit strong { display: block !important; font-size: 13px !important; font-weight: 900 !important; }
.mcft-benefit span:not(.mcft-benefit-ic) { display: block !important; color: var(--mcft-muted) !important; font-size: 12px !important; font-weight: 600 !important; }

/* Bloque personal */
.mcft-personal { border-bottom: 1px solid var(--mcft-line) !important; }
.mcft-personal .mcft-wrap { display: grid !important; gap: 10px !important; padding: 16px 0 !important; }
.mcft-personal-title { font-size: 14px !important; font-weight: 900 !important; }
.mcft-chips { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; }
.mcft-chips a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border: 1px solid var(--mcft-line) !important;
  border-radius: 999px !important;
  background: var(--mcft-card) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}
.mcft-chips a:hover { border-color: var(--mcft-mint) !important; }
.mcft-account {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 12px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background: rgba(56, 67, 208, 0.18) !important;
  border: 1px solid rgba(56, 67, 208, 0.35) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.mcft-account a { color: var(--mcft-mint) !important; font-weight: 900 !important; }

/* Principal */
.mcft-main .mcft-wrap { display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; padding: 20px 0 8px !important; }
.mcft-brand { padding-bottom: 16px !important; }
.mcft-logo { display: block !important; width: 150px !important; max-width: 100% !important; height: auto !important; margin-bottom: 10px !important; filter: brightness(0) invert(1) !important; }
.mcft-text { color: var(--mcft-muted) !important; font-weight: 600 !important; max-width: 340px !important; }
.mcft-social { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; margin-top: 12px !important; }
.mcft-social a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
  padding: 0 12px !important;
  border: 1px solid var(--mcft-line) !important;
  border-radius: 12px !important;
  background: var(--mcft-card) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

/* Columnas: acordeón en móvil */
.mcft-col { border-top: 1px solid var(--mcft-line) !important; }
.mcft-col summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 50px !important;
  cursor: pointer !important;
  list-style: none !important;
}
.mcft-col summary::-webkit-details-marker { display: none !important; }
.mcft-col h3 { font-size: 14px !important; font-weight: 900 !important; color: #fff !important; }
.mcft-col summary svg { transition: transform 0.2s ease !important; color: var(--mcft-muted) !important; }
.mcft-col[open] summary svg { transform: rotate(180deg) !important; }
.mcft-col-body { padding-bottom: 14px !important; }
.mcft-list { display: grid !important; gap: 2px !important; }
.mcft-list a {
  display: flex !important;
  align-items: center !important;
  min-height: 36px !important;
  color: var(--mcft-muted) !important;
  font-weight: 650 !important;
}
.mcft-list a:hover { color: #fff !important; }
.mcft-contact { display: grid !important; gap: 8px !important; margin-top: 8px !important; }
.mcft-contact a { display: inline-flex !important; align-items: center !important; gap: 8px !important; color: var(--mcft-muted) !important; font-weight: 700 !important; min-height: 36px !important; }
.mcft-contact a.mcft-cta {
  width: fit-content !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: rgba(18, 183, 106, 0.18) !important;
  border: 1px solid rgba(18, 183, 106, 0.35) !important;
  font-weight: 900 !important;
}

/* Medios de pago */
.mcft-pay { border-top: 1px solid var(--mcft-line) !important; }
.mcft-pay .mcft-wrap { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 8px 12px !important; padding: 14px 0 !important; }
.mcft-pay-label { color: var(--mcft-muted) !important; font-size: 12px !important; font-weight: 800 !important; }
.mcft-pay-list { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; }
.mcft-pay-list li {
  padding: 6px 10px !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #0b1022 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

/* Legal */
.mcft-bottom { background: rgba(0, 0, 0, 0.18) !important; border-top: 1px solid var(--mcft-line) !important; }
.mcft-bottom .mcft-wrap { display: flex !important; flex-direction: column !important; gap: 10px !important; padding: 14px 0 !important; }
.mcft-copy { color: var(--mcft-muted) !important; font-size: 12px !important; font-weight: 600 !important; }
.mcft-legal { display: flex !important; flex-wrap: wrap !important; gap: 4px 14px !important; }
.mcft-legal a { color: var(--mcft-muted) !important; font-size: 12px !important; font-weight: 700 !important; min-height: 28px !important; display: inline-flex !important; align-items: center !important; }
.mcft-legal a:hover { color: #fff !important; }

/* Tablet */
@media (min-width: 720px) {
  .mcft-benefits .mcft-wrap { grid-auto-flow: row !important; grid-template-columns: repeat(2, 1fr) !important; overflow: visible !important; }
  .mcft-main .mcft-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px !important; padding: 28px 0 !important; }
  .mcft-brand { grid-column: 1 / -1 !important; }
  .mcft-col { border-top: 0 !important; }
  .mcft-col summary { min-height: 0 !important; margin-bottom: 10px !important; cursor: default !important; pointer-events: none !important; }
  .mcft-col summary svg { display: none !important; }
  .mcft-list a, .mcft-contact a { min-height: 30px !important; }
}

/* Desktop */
@media (min-width: 1024px) {
  .mcft-benefits .mcft-wrap { grid-template-columns: repeat(4, 1fr) !important; }
  .mcft-main .mcft-wrap { grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr !important; gap: 32px !important; }
  .mcft-brand { grid-column: auto !important; padding-bottom: 0 !important; }
  .mcft-personal .mcft-wrap { grid-template-columns: auto 1fr auto !important; align-items: center !important; }
  .mcft-bottom .mcft-wrap { flex-direction: row !important; align-items: center !important; justify-content: space-between !important; }
  .mcft-legal { justify-content: flex-end !important; }
}

@media (prefers-reduced-motion: reduce) { .mcft * { transition: none !important; } }
