/*
 * Descubra — Identidade Visual dos Módulos v1.0.1
 * Paleta oficial desta camada:
 * Laranja: #ff7b16
 * Laranja escuro: #d95700
 * Azul-cinza escuro: #172033
 */
:root{
  --descubra-brand-orange:#ff7b16;
  --descubra-brand-orange-dark:#d95700;
  --descubra-brand-navy:#172033;
  --descubra-brand-navy-soft:#263247;
  --descubra-brand-orange-soft:#fff2e8;
}

/* Evita que o tema/Elementor aplique rosa aos links dos módulos. */
body .dpe-shell a:hover,
body .dpe-public-chat a:hover,
body .dcu-account-shell a:hover,
body .dcu-auth-shell a:hover,
body .dcn-page-shell a:hover,
body .dcn-popover a:hover,
body .dag-shell a:hover,
body .dof-public-shell a:hover,
body .dof-owner-shell a:hover,
body .dof-account-grid a:hover,
body .dof-profile-section a:hover,
body .dof-modal a:hover,
body .dpa-owner-shell a:hover,
body .dra-owner-wrap a:hover,
body #dgc-guide a:hover{
  color:var(--descubra-brand-orange)!important;
  text-decoration-color:var(--descubra-brand-orange)!important;
}

/* Botões principais: laranja no estado normal e azul-cinza escuro no hover. */
body .dpe-shell .dpe-primary:hover,
body .dpe-shell .dpe-full-button:hover,
body .dpe-public-chat-button:hover,
body .dpe-public-chat form button[type="submit"]:hover,
body .dcu-account-shell .dcu-primary:hover,
body .dcu-auth-shell .dcu-primary:hover,
body .dag-shell .dag-button-primary:hover,
body .dof-public-shell .dof-hero-actions a:not(.is-light):hover,
body .dof-public-shell .dof-filters>button:hover,
body .dof-owner-shell .dof-primary:hover,
body .dof-modal .dof-modal-coupon button:hover,
body .dof-modal .dof-modal-profile:hover,
body .dpa-owner-shell .dpa-primary:hover,
body .dra-owner-wrap button[type="submit"]:hover,
body .dra-owner-wrap .button-primary:hover,
body #dgc-guide #dbi-use-location:hover,
body #dgc-guide .dbi-primary:hover,
body #dgc-guide button[type="submit"]:hover,
body .dcn-bell:hover,
body .dcn-bell-root.is-open .dcn-bell{
  background:var(--descubra-brand-navy)!important;
  border-color:var(--descubra-brand-navy)!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(23,32,51,.22)!important;
}

/* Botões secundários, claros e contornados: laranja no hover. */
body .dpe-shell .dpe-secondary:hover,
body .dpe-shell .dpe-top-actions a:hover,
body .dpe-shell .dpe-head-actions a:hover,
body .dpe-shell .dpe-company-actions a:hover,
body .dcu-account-shell .dcu-secondary:hover,
body .dcu-auth-shell .dcu-secondary:hover,
body .dag-shell .dag-button-outline:hover,
body .dag-shell .dag-button-light:hover,
body .dof-public-shell .dof-hero-actions a.is-light:hover,
body .dpa-owner-shell .dpa-link-button:hover,
body #dgc-guide .dbi-save-search:hover{
  background:var(--descubra-brand-orange)!important;
  border-color:var(--descubra-brand-orange)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(255,123,22,.2)!important;
}

/* Botões neutros e ícones: substitui qualquer hover rosa herdado do tema. */
body .dpe-shell button:not(.dpe-primary):not(.dpe-secondary):not(.dcu-danger-button):not(.dpa-danger):not(.is-danger):not(.button-link-delete):hover,
body .dcu-account-shell button:not(.dcu-primary):not(.dcu-secondary):not(.dcu-danger-button):not(.is-danger):not(.button-link-delete):hover,
body .dcu-auth-shell button:not(.dcu-primary):not(.dcu-secondary):not(.dcu-danger-button):not(.is-danger):not(.button-link-delete):hover,
body .dcn-popover button:hover,
body .dcn-page-shell button:not(.button-link-delete):hover,
body .dof-public-shell button:not(.dof-save):not(.is-danger):hover,
body .dof-owner-shell button:not(.dof-primary):not(.is-danger):hover,
body .dof-modal button:not(.dof-modal-close):hover,
body .dpa-owner-shell button:not(.dpa-primary):not(.dpa-danger):hover,
body .dra-owner-wrap button:not(.button-link-delete):hover,
body #dgc-guide button:not(#dbi-use-location):hover{
  background:var(--descubra-brand-navy)!important;
  border-color:var(--descubra-brand-navy)!important;
  color:#fff!important;
}

/* Botões de salvar/favoritar recebem laranja, sem rosa. */
body .dof-public-shell .dof-save:hover,
body .dof-public-shell .dof-save.is-saved,
body .dcu-account-shell [class*="favorite"]:hover,
body .dcu-account-shell [class*="favorito"]:hover{
  background:var(--descubra-brand-orange)!important;
  border-color:var(--descubra-brand-orange)!important;
  color:#fff!important;
}

/* Links de ação que se comportam como botões. */
body .dpe-shell .dpe-advertise-link:hover,
body .dpe-shell .dpe-public-profile-link:hover,
body .dpe-shell .dpe-onboarding-card a:hover,
body .dcu-account-shell .dcu-primary.is-link:hover,
body .dcu-account-shell .dcu-secondary.is-link:hover,
body .dof-public-shell .dof-profile-all:hover,
body .dof-public-shell .dof-empty a:hover,
body .dof-account-grid .dof-account-empty a:hover{
  background:var(--descubra-brand-navy)!important;
  border-color:var(--descubra-brand-navy)!important;
  color:#fff!important;
}

/* Navegação lateral e abas: hover suave em laranja; ativo permanece legível. */
body .dpe-shell nav a:hover,
body .dcu-account-shell nav a:hover,
body .dcn-page-shell nav a:hover,
body .dcn-popover nav button:hover,
body .dpa-owner-shell nav a:hover{
  background:var(--descubra-brand-orange-soft)!important;
  color:var(--descubra-brand-orange-dark)!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
body .dcn-popover nav button.is-active,
body .dpe-shell nav a.is-active,
body .dcu-account-shell nav a.is-active{
  background:var(--descubra-brand-orange-soft)!important;
  color:var(--descubra-brand-orange-dark)!important;
}

/* Foco acessível usando a mesma identidade. */
body .dpe-shell :is(a,button,input,select,textarea):focus-visible,
body .dcu-account-shell :is(a,button,input,select,textarea):focus-visible,
body .dcu-auth-shell :is(a,button,input,select,textarea):focus-visible,
body .dcn-page-shell :is(a,button,input,select,textarea):focus-visible,
body .dcn-popover :is(a,button,input,select,textarea):focus-visible,
body .dag-shell :is(a,button,input,select,textarea):focus-visible,
body .dof-public-shell :is(a,button,input,select,textarea):focus-visible,
body .dof-owner-shell :is(a,button,input,select,textarea):focus-visible,
body .dpa-owner-shell :is(a,button,input,select,textarea):focus-visible,
body .dra-owner-wrap :is(a,button,input,select,textarea):focus-visible,
body #dgc-guide :is(a,button,input,select,textarea):focus-visible{
  outline:3px solid rgba(255,123,22,.34)!important;
  outline-offset:2px!important;
}

/* Remove os dois pontos rosas ainda presentes nos módulos. */
body .dcn-bell b{
  background:var(--descubra-brand-navy)!important;
  color:#fff!important;
}
body .dof-badges b{
  background:var(--descubra-brand-orange)!important;
  color:#fff!important;
}

/* Ações destrutivas continuam vermelhas por segurança e clareza. */
body .dcu-danger-button:hover,
body .dpa-danger:hover,
body .is-danger:hover,
body .button-link-delete:hover,
body .is-remove:hover{
  background:#b42318!important;
  border-color:#b42318!important;
  color:#fff!important;
}


/* =========================================================
   v1.0.1 — modal de detalhes de produtos e serviços
   O modal é anexado diretamente ao body, fora de #dgc-guide.
   Por isso precisa de seletores próprios e alta especificidade.
   ========================================================= */
body .dgc-product-modal .dgc-product-modal-type{
  color:var(--descubra-brand-orange)!important;
}
body .dgc-product-modal .dgc-product-modal-price{
  color:var(--descubra-brand-navy)!important;
}
body .dgc-product-modal .dgc-product-modal-image{
  color:var(--descubra-brand-orange)!important;
}

/* Fechar: azul-cinza escuro; hover laranja. */
body .dgc-product-modal button.dgc-product-modal-close{
  background:var(--descubra-brand-navy)!important;
  background-image:none!important;
  border-color:var(--descubra-brand-navy)!important;
  color:#fff!important;
  box-shadow:0 8px 22px rgba(23,32,51,.24)!important;
}
body .dgc-product-modal button.dgc-product-modal-close:hover,
body .dgc-product-modal button.dgc-product-modal-close:focus-visible{
  background:var(--descubra-brand-orange)!important;
  border-color:var(--descubra-brand-orange)!important;
  color:#fff!important;
  transform:translateY(-1px);
}

/* WhatsApp mantém a cor oficial, inclusive no hover. */
body .dgc-product-modal .dgc-product-modal-actions a[data-dgc-product-whatsapp],
body .dgc-product-modal .dgc-product-modal-actions a[data-dgc-product-whatsapp]:hover,
body .dgc-product-modal .dgc-product-modal-actions a[data-dgc-product-whatsapp]:focus-visible{
  background:#25d366!important;
  background-image:none!important;
  border-color:#25d366!important;
  color:#fff!important;
  text-decoration:none!important;
  box-shadow:0 10px 24px rgba(37,211,102,.20)!important;
}
body .dgc-product-modal .dgc-product-modal-actions a[data-dgc-product-whatsapp]:hover{
  background:#1fad53!important;
  border-color:#1fad53!important;
}

/* Ação secundária: azul-cinza escuro, com hover laranja. */
body .dgc-product-modal .dgc-product-modal-actions button[data-dgc-close-product]{
  background:var(--descubra-brand-navy)!important;
  background-image:none!important;
  border:1px solid var(--descubra-brand-navy)!important;
  color:#fff!important;
  box-shadow:none!important;
}
body .dgc-product-modal .dgc-product-modal-actions button[data-dgc-close-product]:hover,
body .dgc-product-modal .dgc-product-modal-actions button[data-dgc-close-product]:focus-visible{
  background:var(--descubra-brand-orange)!important;
  border-color:var(--descubra-brand-orange)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(255,123,22,.20)!important;
}

/* Evita rosa do Elementor em qualquer botão/link adicional do modal. */
body .dgc-product-modal .dgc-product-modal-actions :is(a,button):not([data-dgc-product-whatsapp]):not([data-dgc-close-product]){
  background:var(--descubra-brand-orange)!important;
  background-image:none!important;
  border-color:var(--descubra-brand-orange)!important;
  color:#fff!important;
}
body .dgc-product-modal .dgc-product-modal-actions :is(a,button):not([data-dgc-product-whatsapp]):not([data-dgc-close-product]):hover{
  background:var(--descubra-brand-navy)!important;
  border-color:var(--descubra-brand-navy)!important;
  color:#fff!important;
}
body .dgc-product-modal :is(a,button):focus-visible{
  outline:3px solid rgba(255,123,22,.34)!important;
  outline-offset:3px!important;
}
