.home-search {
  width: min(100%, 440px);
  margin: 0 0 18px;
}
.home-search label {
  display: block;
  margin-bottom: 6px;
  color: #184b3d;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.home-search-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 4px 4px 14px;
  border: 1.5px solid #477061;
  border-radius: 12px;
  background: #fff;
  color: #396454;
  box-shadow: 0 2px 6px #143d2b12;
}
.home-search-row:focus-within {
  outline: 3px solid #b57820;
  outline-offset: 2px;
}
.home-search-row svg { flex: 0 0 19px; }
.home-search-row input {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #183c30;
  font: inherit;
  font-size: 16px;
}
.home-search-row input::placeholder { color: #5a6d64; opacity: 1; }
.home-search-row button {
  flex: none;
  min-height: 44px;
  padding: 0 17px;
  border: 0;
  border-radius: 8px;
  background: #155340;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.home-search-row button:hover { background: #0b4130; }
.home-search-row button:focus-visible { outline: 3px solid #e3ae49; outline-offset: -4px; }
@media (max-width:650px) {
  .home-search { margin-bottom: 14px; }
  .home-search-row { gap: 6px; padding-left: 10px; }
  .home-search-row button { padding: 0 12px; }
}

.home .mobile-browse,
.home .phone-intro {
  display: none;
}

@media (max-width: 650px) {
  .home .hero .delivery-offer,
  .home .hero .button,
  .home .hero .wide-intro {
    display: none;
  }
  .home .hero .phone-intro { display: block; }
  .home .home-search { margin-bottom: 0; }
  .home .mobile-browse {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: #155340;
    font-weight: 650;
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .home-search-row { position: relative; }
  .home .bee-in-flight, .home .search-bee-perch {
    width: 88px;
    height: 66px;
  }
  .bee-in-flight { transform-origin: center; }
  .bee-heart-word { display: inline-block; white-space: nowrap; }
  .search-bee-perch {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% - 2px);
    pointer-events: none;
  }
  .search-bee-perch img { display: block; width: 100%; height: 100%; transform: scaleX(-1); }
  .search-bee-perch.has-landed { animation: search-bee-leave .5s ease-in 2.4s both; }
}
@keyframes search-bee-leave {
  from { opacity: 1; }
  to { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .search-bee-perch { display: none; }
}

@media (max-width: 650px) and (prefers-reduced-motion: no-preference) {
  /* Leave a clear space above the search field for the centred bee. */
  .home-search label {
    display: flex;
    align-items: flex-end;
    max-width: calc(50% - 44px);
    min-height: 48px;
    font-size: 16px;
    line-height: 1.25;
    text-wrap: balance;
  }
}
