/* Bothends Farms V37 — careful compatibility patch.
   Scope: fast/reliable mobile menu + Contact enquiry matching Home + safe stacking. */

/* 1) Mobile navigation: remove the original 500ms + 500ms delays without changing layout. */
.mobile-nav__wrapper{
  transition:transform .12s ease-out, opacity .12s ease-out, visibility 0s linear .12s!important;
  will-change:transform!important;
}
.mobile-nav__wrapper.expanded{
  transition:transform .12s ease-out, opacity .12s ease-out, visibility 0s!important;
}
.mobile-nav__content{
  transition:transform .12s ease-out, opacity .10s ease-out, visibility 0s linear .12s!important;
  will-change:transform!important;
}
.mobile-nav__wrapper.expanded .mobile-nav__content{
  transition:transform .12s ease-out, opacity .10s ease-out, visibility 0s!important;
}
.mobile-nav__close,.mobile-nav__overlay,.bf-mobile-menu-trigger{
  -webkit-tap-highlight-color:transparent!important;
  touch-action:manipulation!important;
}
.mobile-nav__close{pointer-events:auto!important;cursor:pointer!important}

/* Keep the existing header/menu geometry untouched; only guarantee the trigger is interactive. */
@media(max-width:1199.98px){
  .main-header .bf-mobile-menu-trigger,.sticky-header--cloned .bf-mobile-menu-trigger{
    pointer-events:auto!important;visibility:visible!important;opacity:1!important;
  }
}

/* 2) Contact page Select Enquiry Type: deliberately inherit the exact Home-page presentation. */
.contact-one__form.bf-home-enquiry-clone :where(input,textarea,select),
.contact-one__form.bf-home-enquiry-clone .bootstrap-select > .dropdown-toggle{
  min-height:56px!important;
  border:1px solid rgba(25,86,48,.28)!important;
  border-radius:12px!important;
  box-shadow:none!important;
  font-weight:700!important;
  opacity:1!important;
  visibility:visible!important;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
html[data-bf-theme="light"] .contact-one__form.bf-home-enquiry-clone :where(input,textarea,select),
html[data-bf-theme="light"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select > .dropdown-toggle{
  background:#f7fbf8!important;color:#173a25!important;-webkit-text-fill-color:#173a25!important;
  border-color:rgba(17,79,41,.25)!important;
}
html[data-bf-theme="dark"] .contact-one__form.bf-home-enquiry-clone :where(input,textarea,select),
html[data-bf-theme="dark"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select > .dropdown-toggle{
  background:#0b2618!important;color:#f7fff9!important;-webkit-text-fill-color:#f7fff9!important;
  border-color:rgba(255,255,255,.22)!important;
}
html[data-bf-theme="light"] .contact-one__form.bf-home-enquiry-clone :where(input,textarea,select):focus,
html[data-bf-theme="light"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select.show > .dropdown-toggle,
html[data-bf-theme="light"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select > .dropdown-toggle:focus{
  background:#123c25!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  border-color:#d5ad43!important;box-shadow:0 0 0 3px rgba(213,173,67,.2)!important;
}
html[data-bf-theme="dark"] .contact-one__form.bf-home-enquiry-clone :where(input,textarea,select):focus,
html[data-bf-theme="dark"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select.show > .dropdown-toggle,
html[data-bf-theme="dark"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select > .dropdown-toggle:focus{
  background:#fff!important;color:#102f1d!important;-webkit-text-fill-color:#102f1d!important;
  border-color:#d5ad43!important;box-shadow:0 0 0 3px rgba(213,173,67,.24)!important;
}
html[data-bf-theme="light"] .contact-one__form.bf-home-enquiry-clone :where(input,textarea)::placeholder{color:#526c5c!important;opacity:1!important}
html[data-bf-theme="light"] .contact-one__form.bf-home-enquiry-clone :where(input,textarea):focus::placeholder{color:#e8f4ec!important;opacity:1!important}
html[data-bf-theme="dark"] .contact-one__form.bf-home-enquiry-clone :where(input,textarea)::placeholder{color:#c7dbce!important;opacity:1!important}
html[data-bf-theme="dark"] .contact-one__form.bf-home-enquiry-clone :where(input,textarea):focus::placeholder{color:#4a6253!important;opacity:1!important}

/* Match the Home dropdown panel itself, including options and stacking. */
.contact-one__form.bf-home-enquiry-clone,
.contact-one__form.bf-home-enquiry-clone .form-one__group,
.contact-one__form.bf-home-enquiry-clone .form-one__control{
  overflow:visible!important;
}
.contact-one__form.bf-home-enquiry-clone .form-one__control:has(.bootstrap-select.show){position:relative!important;z-index:2147482000!important}
.contact-one__form.bf-home-enquiry-clone .bootstrap-select.show{position:relative!important;z-index:2147482001!important}
.contact-one__form.bf-home-enquiry-clone .bootstrap-select .dropdown-menu{
  z-index:2147482002!important;min-width:100%!important;width:100%!important;
  max-height:330px!important;overflow-y:auto!important;overflow-x:hidden!important;
  border-radius:12px!important;padding:6px!important;box-shadow:0 18px 42px rgba(0,0,0,.38)!important;
}
html[data-bf-theme="light"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select .dropdown-menu{
  background:#173f28!important;border:1px solid #d5ad43!important;color:#fff!important;
}
html[data-bf-theme="light"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select .dropdown-item{
  background:#173f28!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-bf-theme="light"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select .dropdown-item:hover,
html[data-bf-theme="light"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select .dropdown-item:focus,
html[data-bf-theme="light"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select .dropdown-item.active{
  background:#2a6540!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-bf-theme="dark"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select .dropdown-menu{
  background:#fff!important;border:1px solid #d5ad43!important;color:#12351f!important;
}
html[data-bf-theme="dark"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select .dropdown-item{
  background:#fff!important;color:#12351f!important;-webkit-text-fill-color:#12351f!important;
}
html[data-bf-theme="dark"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select .dropdown-item:hover,
html[data-bf-theme="dark"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select .dropdown-item:focus,
html[data-bf-theme="dark"] .contact-one__form.bf-home-enquiry-clone .bootstrap-select .dropdown-item.active{
  background:#e7f1ea!important;color:#0d2d19!important;-webkit-text-fill-color:#0d2d19!important;
}
.contact-one__form.bf-home-enquiry-clone .bootstrap-select .filter-option-inner-inner{color:inherit!important;-webkit-text-fill-color:currentColor!important;opacity:1!important}
@media(max-width:767.98px){
  .contact-one__form.bf-home-enquiry-clone .bootstrap-select .dropdown-menu{max-height:285px!important}
}
