/* NoMasCaosWebPanel 1.41.04
   Correccion comun de todas las fichas publicas de centros.
   Se carga al final para neutralizar capas antiguas y reglas Material You. */

body.nmc-public main.trasterospub-center-page,
body.nmc-public main.nmc-direct-center-page,
body.nmc-public main.nmc-portal-center-page,
body.public-body main.nmc-portal-center-page {
  --nmc-center-ink: #17181c;
  --nmc-center-muted: #61646c;
  --nmc-center-line: rgba(23, 24, 28, .10);
  --nmc-center-soft: #f4f3f0;
  --nmc-center-red: #e30613;
  --nmc-center-red-dark: #aa0710;
  color: var(--nmc-center-ink);
  background: transparent;
  padding-bottom: 56px;
}

/* El contenedor hero no debe convertirse en una tercera tarjeta exterior. */
body.nmc-public main.trasterospub-center-page .tp-hero,
body.nmc-public main.nmc-direct-center-page .tp-hero,
body.nmc-public main.nmc-portal-center-page .tp-hero {
  padding: 10px 0 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.nmc-public main.trasterospub-center-page .tp-hero-copy,
body.nmc-public main.nmc-direct-center-page .tp-hero-copy,
body.nmc-public main.nmc-portal-center-page .tp-hero-copy {
  min-height: 455px !important;
}

body.nmc-public main.trasterospub-center-page .tp-promo-card,
body.nmc-public main.nmc-direct-center-page .tp-promo-card,
body.nmc-public main.nmc-portal-center-page .tp-promo-card {
  min-height: 455px;
}

/* Resumen: una cabecera y cuatro datos, sin bloque redundante de argumentos. */
body.nmc-public main :is(.nmc-center-blueprint) {
  display: grid !important;
  gap: 12px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.nmc-public main .nmc-center-blueprint-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: center !important;
}

body.nmc-public main .nmc-center-blueprint-head > div:first-child {
  padding: 24px 26px !important;
  border: 1px solid var(--nmc-center-line) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(23, 24, 28, .045) !important;
}

body.nmc-public main .nmc-center-blueprint-head h2 {
  margin: 5px 0 6px !important;
  color: var(--nmc-center-ink) !important;
  font-size: clamp(1.65rem, 3vw, 2.45rem) !important;
  line-height: 1.04 !important;
}

body.nmc-public main .nmc-center-blueprint-head p {
  margin: 0 !important;
  color: var(--nmc-center-muted) !important;
}

body.nmc-public main .nmc-center-share {
  min-width: 230px;
  padding: 18px !important;
  border: 1px solid var(--nmc-center-line) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(23, 24, 28, .045) !important;
}

body.nmc-public main .nmc-center-share nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
}

body.nmc-public main .nmc-center-share a {
  min-height: 34px !important;
  padding: 0 10px !important;
  border: 1px solid var(--nmc-center-line) !important;
  border-radius: 999px !important;
  background: #f7f7f5 !important;
  color: var(--nmc-center-ink) !important;
  font-size: .78rem !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

body.nmc-public main .nmc-center-blueprint-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.nmc-public main .nmc-center-blueprint-grid article {
  min-height: 0 !important;
  padding: 17px !important;
  border: 1px solid var(--nmc-center-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.nmc-public main .nmc-center-blueprint-grid small {
  display: block !important;
  margin-bottom: 6px !important;
  color: #7a7d84 !important;
  font-size: .68rem !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.nmc-public main .nmc-center-blueprint-grid strong {
  color: var(--nmc-center-ink) !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
}

body.nmc-public main .nmc-center-blueprint-grid p {
  margin: 6px 0 0 !important;
  color: var(--nmc-center-muted) !important;
  font-size: .86rem !important;
  line-height: 1.4 !important;
}

/* Condiciones en una banda compacta. */
body.nmc-public main :is(.tp-condition-strip) {
  gap: 8px !important;
  padding: 6px 0 14px !important;
}

body.nmc-public main .tp-condition-strip article {
  min-height: 54px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--nmc-center-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* Bloque central de tamanos y proceso. Esta composicion faltaba en produccion. */
body.nmc-public main .nmc-center-clear-flow {
  display: grid !important;
  gap: 14px !important;
  margin-top: 20px !important;
  margin-bottom: 24px !important;
  padding: 0 !important;
}

body.nmc-public main .nmc-center-clear-block {
  padding: clamp(21px, 3vw, 32px) !important;
  border: 1px solid var(--nmc-center-line) !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 14px 40px rgba(23, 24, 28, .05) !important;
}

body.nmc-public main .nmc-center-clear-head {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 20px !important;
}

body.nmc-public main .nmc-center-clear-head > div {
  max-width: 790px;
}

body.nmc-public main .nmc-center-clear-head h2 {
  margin: 6px 0 7px !important;
  color: var(--nmc-center-ink) !important;
  font-size: clamp(1.8rem, 3.3vw, 2.75rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -.05em !important;
}

body.nmc-public main .nmc-center-clear-head p {
  margin: 0 !important;
  color: var(--nmc-center-muted) !important;
  line-height: 1.55 !important;
}

body.nmc-public main .nmc-center-process-block {
  background: linear-gradient(145deg, #f2f1ee, #fafafa) !important;
}

body.nmc-public main .nmc-center-clean-steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.nmc-public main .nmc-center-clean-steps article {
  min-height: 150px !important;
  padding: 19px !important;
  border: 1px solid rgba(23, 24, 28, .09) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.nmc-public main .nmc-center-clean-steps span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 31px !important;
  height: 31px !important;
  margin-bottom: 15px !important;
  border-radius: 999px !important;
  background: var(--nmc-center-ink) !important;
  color: #fff !important;
  font-size: .78rem !important;
  font-weight: 950 !important;
}

body.nmc-public main .nmc-center-clean-steps h3 {
  margin: 0 0 7px !important;
  color: var(--nmc-center-ink) !important;
  font-size: 1.08rem !important;
}

body.nmc-public main .nmc-center-clean-steps p {
  margin: 0 !important;
  color: var(--nmc-center-muted) !important;
  line-height: 1.48 !important;
}

/* Las tarjetas de tamano no deben heredar botones blancos sobre fondo blanco. */
body.nmc-public main .nmc-center-clear-flow .tp-size-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 11px !important;
}

body.nmc-public main .nmc-center-clear-flow .tp-size-grid article {
  min-height: 205px !important;
  padding: 21px !important;
  border: 1px solid var(--nmc-center-line) !important;
  border-radius: 19px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.nmc-public main .nmc-center-clear-flow .tp-size-grid strong,
body.nmc-public main .nmc-center-clear-flow .tp-size-grid h3 {
  color: var(--nmc-center-ink) !important;
}

body.nmc-public main .nmc-center-clear-flow .tp-size-grid p {
  color: var(--nmc-center-muted) !important;
}

body.nmc-public main .nmc-center-clear-flow .tp-size-grid a {
  color: var(--nmc-center-red-dark) !important;
  font-weight: 950 !important;
}

/* Una sola zona de reserva, bien separada y sin margenes gigantes. */
body.nmc-public main :is(.nmc-booking-embed, .nmc-real-availability, .tp-available) {
  margin-top: 20px !important;
  margin-bottom: 22px !important;
}

body.nmc-public main .nmc-booking-embed {
  overflow: hidden !important;
  padding: clamp(18px, 2.7vw, 28px) !important;
  border: 1px solid var(--nmc-center-line) !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 14px 42px rgba(23, 24, 28, .06) !important;
}

body.nmc-public main .nmc-booking-embed iframe {
  display: block !important;
  width: 100% !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #fff !important;
}

/* Galeria y ubicacion: menos marcos y mejor alineacion. */
body.nmc-public main .center-gallery-premium-section,
body.nmc-public main .nmc-center-location-section,
body.nmc-public main .tp-location {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

body.nmc-public main .nmc-center-location-section,
body.nmc-public main .tp-location {
  display: grid !important;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important;
  gap: 14px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.nmc-public main .nmc-center-location-section > article,
body.nmc-public main .tp-location > article,
body.nmc-public main .tp-location > div {
  min-width: 0;
  padding: clamp(21px, 3vw, 30px) !important;
  border: 1px solid var(--nmc-center-line) !important;
  border-radius: 23px !important;
  background: #fff !important;
  box-shadow: 0 14px 40px rgba(23, 24, 28, .05) !important;
}

body.nmc-public main .nmc-center-location-section h2,
body.nmc-public main .tp-location h2 {
  color: var(--nmc-center-ink) !important;
  font-size: clamp(1.8rem, 3.2vw, 2.65rem) !important;
}

body.nmc-public main .nmc-center-location-section p,
body.nmc-public main .tp-location p {
  color: var(--nmc-center-muted) !important;
}

/* Botones fuera del hero: rojo, negro o blanco; nunca texto blanco invisible. */
body.nmc-public main :is(.nmc-center-blueprint, .nmc-center-clear-flow, .nmc-center-location-section, .tp-location, .nmc-booking-embed) .tp-btn.primary {
  border-color: var(--nmc-center-red) !important;
  background: var(--nmc-center-red) !important;
  color: #fff !important;
}

body.nmc-public main :is(.nmc-center-blueprint, .nmc-center-clear-flow, .nmc-center-location-section, .tp-location, .nmc-booking-embed) .tp-btn.secondary {
  border-color: var(--nmc-center-ink) !important;
  background: var(--nmc-center-ink) !important;
  color: #fff !important;
}

body.nmc-public main :is(.nmc-center-blueprint, .nmc-center-clear-flow, .nmc-center-location-section, .tp-location, .nmc-booking-embed) .tp-btn.ghost {
  border-color: var(--nmc-center-line) !important;
  background: #fff !important;
  color: var(--nmc-center-ink) !important;
}

/* Ruta public-root, que usa un hero distinto. */
body.public-body main.nmc-portal-center-page .nmc-portal-center-hero,
body.nmc-public main.nmc-portal-center-page .nmc-portal-center-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .38fr) !important;
  gap: 14px !important;
  padding: 18px 0 8px !important;
}

body.public-body main.nmc-portal-center-page .nmc-portal-center-hero > div,
body.public-body main.nmc-portal-center-page .nmc-portal-center-summary,
body.nmc-public main.nmc-portal-center-page .nmc-portal-center-hero > div,
body.nmc-public main.nmc-portal-center-page .nmc-portal-center-summary {
  padding: clamp(24px, 4vw, 44px) !important;
  border: 1px solid var(--nmc-center-line) !important;
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: 0 16px 46px rgba(23, 24, 28, .06) !important;
}

body.public-body main.nmc-portal-center-page .nmc-portal-center-summary,
body.nmc-public main.nmc-portal-center-page .nmc-portal-center-summary {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  background: linear-gradient(145deg, #17181c, #3f080d) !important;
  color: #fff !important;
}

body.public-body main.nmc-portal-center-page .nmc-portal-center-summary :where(strong, span, p),
body.nmc-public main.nmc-portal-center-page .nmc-portal-center-summary :where(strong, span, p) {
  color: #fff !important;
}

@media (max-width: 1000px) {
  body.nmc-public main .nmc-center-blueprint-head,
  body.nmc-public main .nmc-center-location-section,
  body.nmc-public main .tp-location,
  body.public-body main.nmc-portal-center-page .nmc-portal-center-hero,
  body.nmc-public main.nmc-portal-center-page .nmc-portal-center-hero {
    grid-template-columns: 1fr !important;
  }
  body.nmc-public main .nmc-center-share { min-width: 0; }
  body.nmc-public main .nmc-center-blueprint-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 760px) {
  body.nmc-public main.trasterospub-center-page,
  body.nmc-public main.nmc-direct-center-page,
  body.nmc-public main.nmc-portal-center-page,
  body.public-body main.nmc-portal-center-page { padding-bottom: 34px; }

  body.nmc-public main.trasterospub-center-page .tp-hero,
  body.nmc-public main.nmc-direct-center-page .tp-hero,
  body.nmc-public main.nmc-portal-center-page .tp-hero {
    gap: 12px !important;
  }

  body.nmc-public main.trasterospub-center-page .tp-hero-copy,
  body.nmc-public main.nmc-direct-center-page .tp-hero-copy,
  body.nmc-public main.nmc-portal-center-page .tp-hero-copy,
  body.nmc-public main.trasterospub-center-page .tp-promo-card,
  body.nmc-public main.nmc-direct-center-page .tp-promo-card,
  body.nmc-public main.nmc-portal-center-page .tp-promo-card {
    min-height: 0 !important;
    border-radius: 22px !important;
  }

  body.nmc-public main .nmc-center-blueprint-grid,
  body.nmc-public main .nmc-center-clean-steps,
  body.nmc-public main .nmc-center-clear-flow .tp-size-grid {
    grid-template-columns: 1fr !important;
  }

  body.nmc-public main .nmc-center-clear-head {
    display: grid !important;
    align-items: start !important;
  }

  body.nmc-public main .nmc-center-clear-head .tp-btn {
    width: 100% !important;
  }

  body.nmc-public main .nmc-center-blueprint-head > div:first-child,
  body.nmc-public main .nmc-center-share,
  body.nmc-public main .nmc-center-clear-block,
  body.nmc-public main .nmc-center-location-section > article,
  body.nmc-public main .tp-location > article,
  body.nmc-public main .tp-location > div {
    padding: 19px !important;
    border-radius: 20px !important;
  }

  body.nmc-public main .nmc-center-clean-steps article,
  body.nmc-public main .nmc-center-clear-flow .tp-size-grid article {
    min-height: 0 !important;
  }
}
