.et_header_style_centered #main-header {
  background-color: #ffffff !important;
}

.et_header_style_centered #main-header .logo_container {
  height: auto !important;
  max-height: 80px !important;
  padding: 12px 0 6px 0 !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.et_header_style_centered #logo {
  max-height: 55px !important;
  width: auto !important;
  display: inline-block !important;
}

.et_header_style_centered #et-top-navigation {
  padding-top: 4px !important;
  padding-bottom: 10px !important;
}

.et_header_style_centered #top-menu>li>a {
  padding-bottom: 6px !important;
}

/* Eliminate red gap by matching #page-container padding-top to actual total header height (30px top-header + 105px main-header) */
body.et_fixed_nav.et_show_nav #page-container,
body.et_fixed_nav.et_show_nav.et_secondary_nav_enabled.et_header_style_centered #page-container,
body.et_fixed_nav.et_show_nav.et_header_style_centered #page-container {
  padding-top: 135px !important;
}

/* Mobile header safety */
@media (max-width: 980px) {
  body.et_fixed_nav.et_show_nav #page-container,
  body.et_fixed_nav.et_show_nav.et_secondary_nav_enabled.et_header_style_centered #page-container,
  body.et_fixed_nav.et_show_nav.et_header_style_centered #page-container {
    padding-top: 110px !important;
  }
}

/* ==========================================================
   2. FLOATING WHATSAPP & MESSENGER ICONS FIXES
   - Restores real brand colors (#26D367 green for WhatsApp, #007FF7 blue for Messenger)
   - Fixes pseudo-element triangle background colors
   - Ensures proper screen-center positioning
   ========================================================== */

.mystickyelements-fixed.mystickyelements-position-screen-center {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* WhatsApp Brand Colors */
.mystickyelements-templates-triangle li.mystickyelements-social-whatsapp span.mystickyelements-social-icon,
.mystickyelements-templates-triangle li.mystickyelements-social-whatsapp span.mystickyelements-social-text,
#mystickyelements-social-whatsapp .mystickyelements-social-icon,
#mystickyelements-social-whatsapp .mystickyelements-social-text {
  background: #26D367 !important;
  background-color: #26D367 !important;
}

.mystickyelements-templates-triangle li.mystickyelements-social-whatsapp span.mystickyelements-social-icon::before,
.mystickyelements-templates-triangle li.mystickyelements-social-whatsapp span.mystickyelements-social-icon::after,
#mystickyelements-social-whatsapp span.mystickyelements-social-icon::before,
#mystickyelements-social-whatsapp span.mystickyelements-social-icon::after {
  background: #26D367 !important;
  background-color: #26D367 !important;
}

#mystickyelements-social-whatsapp span.mystickyelements-social-text::before {
  border-left-color: #26D367 !important;
  border-right-color: #26D367 !important;
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
}

/* Messenger Brand Colors */
.mystickyelements-templates-triangle li.mystickyelements-social-facebook_messenger span.mystickyelements-social-icon,
.mystickyelements-templates-triangle li.mystickyelements-social-facebook_messenger span.mystickyelements-social-text,
#mystickyelements-social-facebook_messenger .mystickyelements-social-icon,
#mystickyelements-social-facebook_messenger .mystickyelements-social-text {
  background: #007FF7 !important;
  background-color: #007FF7 !important;
}

.mystickyelements-templates-triangle li.mystickyelements-social-facebook_messenger span.mystickyelements-social-icon::before,
.mystickyelements-templates-triangle li.mystickyelements-social-facebook_messenger span.mystickyelements-social-icon::after,
#mystickyelements-social-facebook_messenger span.mystickyelements-social-icon::before,
#mystickyelements-social-facebook_messenger span.mystickyelements-social-icon::after {
  background: #007FF7 !important;
  background-color: #007FF7 !important;
}

#mystickyelements-social-facebook_messenger span.mystickyelements-social-text::before {
  border-left-color: #007FF7 !important;
  border-right-color: #007FF7 !important;
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
}

/* Icon & text styling */
#mystickyelements-social-whatsapp a,
#mystickyelements-social-facebook_messenger a,
.mystickyelements-social-icon i {
  color: #ffffff !important;
}

/* Satelite Gas estatico: feedback de formularios (crm-integracion.js + form-validation.js) */
.wpcf7 .wpcf7-response-output[data-feedback] {
  display: block !important;
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  padding: 12px 18px !important;
  border: 2px solid #ffb900;
  border-radius: 4px;
  color: #666;
  font-size: 14px;
  font-weight: 600;
}
.wpcf7 .wpcf7-response-output[data-feedback]:empty { display: none !important; }
.wpcf7 .wpcf7-response-output[data-feedback].is-success { border-color: #4caf50; color: #666; }
.wpcf7 .wpcf7-response-output[data-feedback].is-error { border-color: #ffb900; color: #666; }
