/* Custom color overrides: replace template yellow (#f69314) with #e9b406a9 */
:root{
  --primary: #e9b406a9;
  --orange: #e9b406a9;
  --yellow: #e9b406a9;
}

/* Logo sizing */
.site-logo img { height: 40px; display: inline-block; vertical-align: middle; }

/* Buttons */
.btn.btn-primary, .btn-primary {
  background: #e9b406a9 !important;
  border-color: #e9b406a9 !important;
  color: #fff !important;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background: #e9b406a9 !important;
  border-color: #e9b406a9 !important;
  box-shadow: 0 0 0 .2rem rgba(238, 146, 26, 0.25) !important;
  color: #fff !important;
}

/* Outlines */
.btn-outline-primary {
  color: #e9b406a9 !important;
  border-color: #e9b406a9 !important;
}
.btn-outline-primary:hover {
  color: #fff !important;
  background-color: #e9b406a9 !important;
  border-color: #e9b406a9 !important;
}

/* Form focus */
.form-control:focus {
  border-color: #e9b406a9 !important;
  box-shadow: 0 0 0 .2rem rgba(110,67,9,0.25) !important;
}

/* Range / custom controls */
.custom-range::-webkit-slider-thumb,
.custom-range::-moz-range-thumb,
.custom-range::-ms-thumb {
  background-color: #e9b406a9 !important;
}
.custom-control-input:checked~.custom-control-label:before,
.custom-checkbox .custom-control-input:checked~.custom-control-label:before,
.custom-radio .custom-control-input:checked~.custom-control-label:before {
  background-color: #e9b406a9 !important;
}

/* Lists and accents */
.ul-check.primary li:before,
.ul-check li:before {
  /* keep green for success lists, but primary accents use new color for consistency */
  color: #e9b406a9 !important;
}

/* Navigation pills active */
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
  color: #fff !important;
  background-color: #e9b406a9 !important;
}

/* Misc */
.btn-link { color: #6e9b406a94309 !important; }
.icon-heart { color: #e9b406a9; }

/* Logo tint override: if a tinted filter was added, prefer original logo color; remove filter
   to let a pre-colored logo show accurately. */
.site-logo img.logo-tint { filter: none !important; }

/* Additional Bootstrap overrides to cover remaining selectors that reference the
   template yellow (#f69314). These are intentionally specific and use !important
   so the override stylesheet (loaded last) will control the visible theme. */

/* Links */
a, a:link, a:visited {
  color: #d1a75a !important;
}
a:hover, a:focus {
  color: #e9b406a9 !important;
  text-decoration: underline !important;
}

/* Generic focus outlines and shadows that used rgba(246,147,20,...) */
.btn:focus, .btn.focus, .btn:active, .btn:active:focus {
  box-shadow: #e9b406a9 !important;
}

/* Ensure primary variants are covered */
.btn-primary, .btn.btn-primary {
  background-color: #e9b406a9 !important;
  border-color: #e9b406a9 !important;
  color: #fff !important;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background-color: #e9b406a9 !important;
  border-color: #e9b406a9 !important;
  box-shadow: #e9b406a9 !important;
}
.btn-outline-primary {
  color: #e9b406a9 !important;
  border-color: #e9b406a9 !important;
}
.btn-outline-primary:hover {
  color: #fff !important;
  background-color: #e9b406a9 !important;
  border-color: #e9b406a9 !important;
}

/* Links styled as buttons */
.btn-link { color: #e9b406a9 !important; }
.btn-link:hover { color: #e9b406a9 !important; }

/* Dropdowns */
.dropdown-item.active, .dropdown-item:active {
  color: #fff !important;
  background-color: #e9b406a9 !important;
}

/* Pagination / page links */
.page-link { color: #e9b406a9 !important; }
.page-link:hover { color: #e9b406a9 !important; }
.page-item.active .page-link {
  background-color: #e9b406a9 !important;
  border-color: #e9b406a9 !important;
  color: #fff !important;
}

/* Badges, progress, list-group and other utilities */
.badge-primary { background-color: #e9b406a9 !important; color: #fff !important; }
.progress-bar { background-color: #e9b406a9 !important; }
.list-group-item.active { background-color: #e9b406a9 !important; border-color: #e9b406a9 !important; color: #fff !important; }
.bg-primary { background-color: #e9b406a9 !important; }
a.bg-primary:focus, a.bg-primary:hover, button.bg-primary:focus, button.bg-primary:hover { background-color: #e9b406a9 !important; }
.border-primary { border-color: #e9b406a9 !important; }
.text-primary { color: #e9b406a9 !important; }
a.text-primary:focus, a.text-primary:hover { color: #e9b406a9 !important; }

/* Custom controls (checkboxes/radios) focus / checked shadows */
.custom-control-input:focus~.custom-control-label:before {
  box-shadow: 0 0 0 1px #fff, 0 0 0 .2rem rgba(110,67,9,0.25) !important;
}

/* Nav pills already covered above, but ensure specificity */
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
  color: #fff !important;
  background-color: #e9b406a9 !important;
}

/* Ensure form range/thumbs and custom-range visuals use brand color */
.custom-range::-webkit-slider-thumb, .custom-range::-moz-range-thumb, .custom-range::-ms-thumb {
  background-color: #e9b406a9 !important;
}

/* Utility: force CSS variables used by bootstrap to the brand color (last-in-file wins) */
:root {
  --orange: #e9b406a9 !important;
  --primary: #e9b406a9 !important;
}

/* WhatsApp floating button (bottom-right) */
.whatsapp-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 24px;
  right: 24px;
  background-color: #f3ae53 !important; /* brand color */
  color: #fff !important;
  border-radius: 50% !important;
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  z-index: 9999 !important;
  text-decoration: none !important;
}
.whatsapp-float .icon-whatsapp { font-size: 24px; }
.whatsapp-float:hover { background-color: #f3c889 !important; }
