/* ============================================================
   Trasteros Urbanos — Faldón de cookies (TermsFeed)
   Tarjeta blanca abajo a la derecha, por encima del botón de WhatsApp
   ============================================================ */

/* ── Posición ── */
.termsfeed-com---nb,
.termsfeed-com---nb-simple {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  max-width: 440px !important;
  width: calc(100% - 48px) !important;
  z-index: 9999 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 22px !important;
  overflow: hidden !important;
}

.termsfeed-com---nb > *:not(.cc-nb-main-container),
.termsfeed-com---nb-simple > *:not(.cc-nb-main-container) {
  background: transparent !important;
}

/* ── Contenedor principal ── */
.termsfeed-com---nb .cc-nb-main-container {
  background: #fff !important;
  border: 1px solid #E4E4EF !important;
  border-radius: 22px !important;
  padding: 24px 26px 22px !important;
  box-shadow: 0 24px 60px -20px rgba(20, 22, 63, .45) !important;
}

/* ── Título ── */
.termsfeed-com---nb .cc-nb-title {
  font-family: 'FuturaFuturisC', Futura, 'Futura PT', Jost, sans-serif !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  color: #14163F !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  margin-bottom: 10px !important;
}

/* ── Texto ── */
.termsfeed-com---nb .cc-nb-text {
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #5B5E7A !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-bottom: 20px !important;
}

.termsfeed-com---nb .cc-nb-text a {
  color: #4145A0 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* ── Botones ── */
.termsfeed-com---nb .cc-nb-buttons-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
}

/* Los tres botones con la misma jerarquía: Aceptar, Rechazar y Configurar */
.termsfeed-com---nb .cc-nb-buttons-container button,
.termsfeed-com---nb .cc-nb-buttons-container .cc-nb-okagree,
.termsfeed-com---nb .cc-nb-buttons-container .cc-nb-reject,
.termsfeed-com---nb .cc-nb-buttons-container .cc-nb-changep {
  flex: 1 1 0 !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  border-radius: 999px !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: background .2s, border-color .2s !important;
  white-space: nowrap !important;
  background: #14163F !important;
  border: 1px solid #14163F !important;
  color: #fff !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.termsfeed-com---nb .cc-nb-buttons-container button:hover {
  background: #4145A0 !important;
  border-color: #4145A0 !important;
  color: #fff !important;
}

/* ── Centro de preferencias (selectores con id para ganar a los estilos de TermsFeed) ── */
#termsfeed-com---preferences-center {
  background: rgba(20, 22, 63, .6) !important;
  backdrop-filter: blur(6px) !important;
}

#termsfeed-com---preferences-center .termsfeed-com---pc-dialog .cc-pc-container {
  border-radius: 22px !important;
  overflow: hidden !important;
  font-family: Inter, system-ui, sans-serif !important;
}

#termsfeed-com---preferences-center .cc-cp-foot-save {
  background: #F5B841 !important;
  color: #14163F !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  border: none !important;
  padding: 11px 22px !important;
}

#termsfeed-com---preferences-center .cc-cp-foot-save:hover { background: #ffc95c !important; }

/* Solo usamos cookies necesarias y de analítica: ocultar las categorías que no aplican */
.cc-cp-body-tabs > li:nth-child(3) { display: none !important; }
.cc-cp-body-tabs > li:nth-child(5) { display: none !important; }

/* ── Ocultar firma de TermsFeed ── */
#termsfeed-com---preferences-center .cc-cp-foot-byline,
.termsfeed-com---nb .cc-nb-byline { display: none !important; }

@media (max-width: 560px) {
  .termsfeed-com---nb,
  .termsfeed-com---nb-simple { right: 12px !important; bottom: 12px !important; width: calc(100% - 24px) !important; }
}
