/* Cartões Momentos — Aurora Premium 2.3.10
   Correção compartilhada da prévia em TODAS as categorias.
   Não altera estilos de convites vendidos nem regras de checkout.
*/
.cd-root [data-cd-demo-modal] .cd-demo,
.cd-root [data-cd-demo-modal] .cd-demo__stage {
  min-height: 0;
  min-width: 0;
}
.cd-root [data-cd-demo-modal] .cd-demo__stage {
  position: relative;
  overflow: auto;
  overscroll-behavior: contain;
}
.cd-root [data-cd-demo-modal] [data-cd-phone] {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  flex-shrink: 0;
  min-width: 0;
  min-height: 0;
}
/* O iframe anterior podia assumir sua altura intrínseca de ~150px quando
   regras globais do tema/browser interferiam no cálculo do flexbox.
   Este preenchimento absoluto não depende dessa altura intrínseca. */
.cd-root [data-cd-demo-modal] [data-cd-phone]:not(.is-desktop) > iframe.cd-phone__screen {
  position: absolute !important;
  top: 12px !important;
  right: 9px !important;
  bottom: 10px !important;
  left: 9px !important;
  box-sizing: border-box !important;
  display: block !important;
  flex: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: calc(100% - 18px) !important;
  height: calc(100% - 22px) !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 35px !important;
  overflow: auto !important;
  background: #fff !important;
}
.cd-root [data-cd-demo-modal] [data-cd-phone].is-desktop > iframe.cd-phone__screen {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  flex: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  overflow: auto !important;
  background: #fff !important;
}
@media (max-width: 640px) {
  .cd-root [data-cd-demo-modal] [data-cd-phone]:not(.is-desktop) > iframe.cd-phone__screen {
    top: 10px !important;
    right: 7px !important;
    bottom: 8px !important;
    left: 7px !important;
    width: calc(100% - 14px) !important;
    height: calc(100% - 18px) !important;
    border-radius: 29px !important;
  }
  .cd-root [data-cd-demo-modal] .cd-demo__stage {
    min-height: 0;
  }
  .cd-root [data-cd-demo-modal] [data-cd-phone].is-desktop {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cd-root [data-cd-demo-modal] .cd-demo { animation: none !important; }
}


/* Aurora Premium 2.3.11: acesso e checkout centralizados em páginas internas. */
body.page-id-144 .page-header,
body.page-id-144 .entry-header,
body.page-id-144 .page-title,
body.page-id-144 .entry-title {
  max-width: 1180px;
  width: calc(100% - 32px);
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
body.page-id-144 .page-header h1,
body.page-id-144 .entry-title,
body.page-id-144 h1.page-title {
  font-size: clamp(26px, 4vw, 42px) !important;
  line-height: 1.2 !important;
}
.cd-root.cd-auth {
  box-sizing: border-box;
  display: block;
  width: min(1180px, calc(100% - 28px));
  max-width: 1180px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-inline: 0;
  float: none !important;
  clear: both;
}
.cd-root.cd-auth .cd-auth__shell {
  width: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: stretch;
}
.cd-root.cd-auth .cd-auth__intro,
.cd-root.cd-auth .cd-auth__card {
  min-width: 0;
  width: 100%;
}
@media(max-width: 900px) {
  .cd-root.cd-auth .cd-auth__shell { grid-template-columns: minmax(0, 1fr); }
}
@media(max-width: 600px) {
  .cd-root.cd-auth { width: calc(100% - 20px); }
  .cd-root.cd-auth .cd-auth__intro,
  .cd-root.cd-auth .cd-auth__card { padding: 22px 18px; }
  body.page-id-144 .page-header,
  body.page-id-144 .entry-header,
  body.page-id-144 .page-title,
  body.page-id-144 .entry-title { width: calc(100% - 20px); }
}


/* 2.3.12 — viewport intrínseco do iframe e proteção contra estilos de tema. */
.cd-root [data-cd-demo-modal] [data-cd-phone] { position:relative !important; }
.cd-root [data-cd-demo-modal] [data-cd-phone] > iframe[data-cd-demo-frame] {
  position:absolute !important;
  display:block !important;
  flex:none !important;
  box-sizing:border-box !important;
  border:0 !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
  transform-origin:top left !important;
  opacity:1 !important;
  visibility:visible !important;
  background:#fff !important;
}
/* Formulário de acesso centralizado inclusive em wrappers Elementor e Hello. */
body.cd-momentos-auth-page .site-main,
body.cd-momentos-auth-page main#content,
body.cd-momentos-auth-page .page-content,
body.cd-momentos-auth-page .entry-content,
body.cd-momentos-auth-page .elementor-widget-shortcode,
body.cd-momentos-auth-page .elementor-widget-shortcode .elementor-widget-container {
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
}
body.cd-momentos-auth-page .page-header,
body.cd-momentos-auth-page .entry-header {
  width:min(1180px, calc(100% - 32px));
  margin:0 auto 25px !important;
  text-align:center !important;
}
body.cd-momentos-auth-page .page-header h1,
body.cd-momentos-auth-page .entry-title {
  text-align:center !important;
  font-size:clamp(26px,4vw,42px) !important;
  line-height:1.15 !important;
}
body.cd-momentos-auth-page .cd-root.cd-auth {
  width:min(1180px, calc(100% - 32px));
  max-width:1180px;
  margin:0 auto !important;
  float:none !important;
}
@media(max-width:600px){
  body.cd-momentos-auth-page .cd-root.cd-auth { width:calc(100% - 20px); }
  body.cd-momentos-auth-page .page-header,
  body.cd-momentos-auth-page .entry-header { width:calc(100% - 20px); }
}

/* Aurora Premium v2.3.24 — limpeza real do cabeçalho e acesso centralizado.
   Regras gravadas com quebras de linha reais e aplicadas no desktop/mobile. */
body.cd-momentos-catalog-active .cd-momentos-hidden-logo,
body.cd-momentos-catalog-active .cd-accountbar .cd-brand,
body.cd-momentos-catalog-active .cd-accountbar--header .cd-brand,
body.cd-momentos-catalog-active img.custom-logo:not(.cd-momentos-brand-shortcode__logo),
body.cd-momentos-catalog-active a.custom-logo-link:not(.cd-momentos-brand-shortcode),
body.cd-momentos-catalog-active .site-logo:not(.cd-momentos-brand-shortcode),
body.cd-momentos-catalog-active .elementor-widget-theme-site-logo:not(.cd-momentos-brand-shortcode),
body.cd-momentos-catalog-active img[alt*="Momento Eventos" i]:not(.cd-momentos-brand-shortcode__logo),
body.cd-momentos-catalog-active img[alt*="Momentos Eventos" i]:not(.cd-momentos-brand-shortcode__logo),
body.cd-momentos-catalog-active img[src*="momento-eventos" i]:not(.cd-momentos-brand-shortcode__logo),
body.cd-momentos-catalog-active img[srcset*="momento-eventos" i]:not(.cd-momentos-brand-shortcode__logo) {
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  width:0 !important;
  height:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:0 !important;
  max-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
}

/* O botão passa a ocupar uma linha própria, sempre centralizado no mesmo eixo do banner. */
body.cd-momentos-catalog-active .cd-accountbar--header,
body.cd-momentos-catalog-active .cd-momentos-account-portal {
  box-sizing:border-box !important;
  display:grid !important;
  place-items:center !important;
  width:100% !important;
  max-width:1180px !important;
  min-width:0 !important;
  margin:10px auto 16px !important;
  padding:0 16px !important;
  float:none !important;
  clear:both !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  text-align:center !important;
}

body.cd-momentos-catalog-active .cd-accountbar--header .cd-accountbar__actions,
body.cd-momentos-catalog-active .cd-momentos-account-portal .cd-accountbar__actions {
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 auto !important;
  padding:0 !important;
  text-align:center !important;
}

body.cd-momentos-catalog-active .cd-accountbar--header .cd-accountbar__primary,
body.cd-momentos-catalog-active .cd-momentos-account-portal .cd-accountbar__primary {
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  max-width:calc(100vw - 32px) !important;
  margin:0 auto !important;
  text-align:center !important;
  float:none !important;
  position:static !important;
  transform:none !important;
}

@media (max-width:700px) {
  body.cd-momentos-catalog-active .cd-accountbar--header,
  body.cd-momentos-catalog-active .cd-momentos-account-portal {
    width:100% !important;
    max-width:100% !important;
    margin:8px auto 14px !important;
    padding:0 12px !important;
  }
  body.cd-momentos-catalog-active .cd-accountbar--header .cd-accountbar__actions,
  body.cd-momentos-catalog-active .cd-momentos-account-portal .cd-accountbar__actions {
    justify-content:center !important;
    flex-wrap:wrap !important;
  }
  body.cd-momentos-catalog-active .cd-accountbar--header .cd-accountbar__primary,
  body.cd-momentos-catalog-active .cd-momentos-account-portal .cd-accountbar__primary {
    margin-left:auto !important;
    margin-right:auto !important;
  }
}


/* Aurora Premium v2.3.25 — login independente do header e sem flash de logo. */
body.cd-momentos-catalog-active .cd-catalog > .cd-accountbar {
  display:none !important;
}
body.cd-momentos-catalog-active .cd-momentos-access-shortcode {
  box-sizing:border-box !important;
  width:100vw !important;
  max-width:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:0 !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
}
body.cd-momentos-catalog-active .cd-momentos-access-shortcode__inner {
  width:100% !important;
  max-width:1180px !important;
  margin:0 auto !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
}
body.cd-momentos-catalog-active .cd-momentos-access-shortcode .cd-accountbar__primary {
  margin-left:auto !important;
  margin-right:auto !important;
  float:none !important;
  transform:none !important;
}


/* Aurora Premium v2.3.26 — logo oficial + único acesso centralizado. */
body.cd-momentos-catalog-active .cd-accountbar--header,
body.cd-momentos-catalog-active .cd-momentos-account-portal,
body.cd-momentos-catalog-active .cd-catalog > .cd-accountbar {
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
}
body.cd-momentos-catalog-active .cd-momentos-access-shortcode {
  width:100% !important;
  max-width:1180px !important;
  margin:8px auto 16px !important;
  padding:0 16px !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
}
body.cd-momentos-catalog-active .cd-momentos-access-shortcode__inner {
  width:100% !important;
  max-width:1180px !important;
  margin:0 auto !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  text-align:center !important;
}
body.cd-momentos-catalog-active .cd-momentos-brand-shortcode {
  width:100% !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
}
body.cd-momentos-catalog-active .cd-momentos-brand-shortcode__logo {
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  width:min(440px,82vw) !important;
  height:auto !important;
  max-width:100% !important;
  max-height:none !important;
  margin:0 auto !important;
  padding:0 !important;
  border:0 !important;
  float:none !important;
  position:static !important;
  transform:none !important;
}
body.cd-momentos-catalog-active .cd-momentos-access-shortcode .cd-accountbar__primary {
  display:inline-flex !important;
  width:auto !important;
  margin:0 auto !important;
  float:none !important;
  position:static !important;
  transform:none !important;
}
@media(max-width:600px){
  body.cd-momentos-catalog-active .cd-momentos-access-shortcode {padding:0 10px !important;margin:6px auto 12px !important;}
  body.cd-momentos-catalog-active .cd-momentos-brand-shortcode__logo {width:min(310px,88vw) !important;}
}


/* Aurora Premium v2.3.28 — garante a exibição do logotipo integrado ao banner. */
body.cd-momentos-catalog-active .cd-momentos-video-shortcode__header img.cd-momentos-brand-shortcode__logo,
.cd-momentos-video-shortcode__header img.cd-momentos-brand-shortcode__logo {
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  width:min(430px,82vw) !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:100% !important;
  max-height:none !important;
  margin:0 auto 4px !important;
  padding:0 !important;
  border:0 !important;
  overflow:visible !important;
  position:static !important;
  float:none !important;
  transform:none !important;
  object-fit:contain !important;
}
