/* Search refinement + separate compact WhatsApp action.
   No change to search queries, submit handlers, WhatsApp routing or catalog. */
@media (min-width: 761px) {
  body.reference-storefront > header .hwrap .header-search {
    flex: 0 0 clamp(224px, 18vw, 258px) !important;
    width: clamp(224px, 18vw, 258px) !important;
    min-width: 210px !important;
    max-width: 258px !important;
    height: 42px !important;
    margin: 0 !important;
    border: 1.5px solid #d5e2f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(8, 41, 75, .055) !important;
    overflow: visible !important;
    align-items: center !important;
  }
  body.reference-storefront > header .header-search input {
    min-width: 0 !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis;
    color: #113456 !important;
  }
  body.reference-storefront > header .header-search button {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    flex: 0 0 36px !important;
    border-radius: 9px !important;
    margin: 2px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    background: #cb3c08 !important;
  }
  body.reference-storefront > header .header-search button svg {
    width: 19px !important;
    height: 19px !important;
  }
}
body.reference-storefront > header .header-search:focus-within {
  border-color: #d85b28 !important;
  box-shadow: 0 0 0 3px rgba(213, 77, 14, .13) !important;
}
body.reference-storefront > header .header-search button:focus-visible,
body.reference-storefront > .cbx-whatsapp-float:focus-visible {
  outline: 3px solid #f0a54a !important;
  outline-offset: 3px !important;
}
@media (min-width: 761px) and (max-width: 1199px) {
  body.reference-storefront > header .hwrap .header-search {
    flex: 0 1 clamp(180px, 24vw, 230px) !important;
    width: clamp(180px, 24vw, 230px) !important;
    min-width: 150px !important;
    max-width: 230px !important;
  }
}
body.reference-storefront > a.cbx-whatsapp-float {
  position: fixed !important;
  left: max(16px,env(safe-area-inset-left)) !important;
  right: auto !important;
  bottom: 20px !important;
  top: auto !important;
  z-index: 79 !important;
  width: auto !important;
  max-width: 160px !important;
  min-width: 118px !important;
  height: 45px !important;
  min-height: 45px !important;
  padding: 0 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #087d3b !important;
  color: #fff !important;
  box-shadow: 0 7px 20px rgba(4, 63, 32, .24) !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background-color .16s ease, box-shadow .16s ease !important;
}
body.reference-storefront > a.cbx-whatsapp-float svg {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
}
body.reference-storefront > a.cbx-whatsapp-float::before,
body.reference-storefront > a.cbx-whatsapp-float::after {
  content: none !important;
}
@media (hover: hover) {
  body.reference-storefront > a.cbx-whatsapp-float:hover {
    background: #076931 !important;
    box-shadow: 0 8px 24px rgba(4, 63, 32, .30) !important;
  }
}
@media (max-width: 760px) {
  body.reference-storefront > a.cbx-whatsapp-float {
    left: max(12px,env(safe-area-inset-left)) !important;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    min-width: 108px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 11px !important;
  }
  body.reference-storefront .cbx-mobile-row .cb-mobile-search {
    min-width: 0 !important;
  }
  body.reference-storefront .cbx-mobile-row .cb-mobile-search input {
    min-width: 0 !important;
    font-size: 13px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.reference-storefront > a.cbx-whatsapp-float {
    transition: none !important;
    animation: none !important;
  }
}