.frog-search-input-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

/* The shell's rounded form must not clip the anchored suggestion panel. */
body form.frog-catalog-shell__search { overflow: visible !important; }

.frog-search-input-wrap > input[name="q"] {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  padding-right: 42px !important;
}

.frog-search-input-wrap input[type="search"]::-webkit-search-cancel-button { display: none; }

body .frog-search-input-wrap > button.frog-search-clear {
  position: absolute !important;
  top: 50%;
  right: 8px !important;
  z-index: 3 !important;
  width: 28px;
  height: 28px;
  min-width: 0;
  margin: 0 !important;
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  background: transparent;
  color: #48685a;
  font-size: 24px;
  line-height: 28px;
}

body .frog-search-input-wrap > button.frog-search-clear:not([hidden]) { display: block !important; }
body .frog-search-input-wrap > button.frog-search-clear[hidden] { display: none !important; }

.frog-search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 3;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6f8179;
  font-size: 22px;
  line-height: 22px;
  cursor: pointer;
}

body .frog-search-input-wrap > button.frog-search-clear:hover,
body .frog-search-input-wrap > button.frog-search-clear:focus-visible {
  background: #edf6f1;
  color: #007b51;
}

.frog-search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 1000;
  overflow: auto;
  max-height: min(420px, 55vh);
  min-width: min(340px, 100%);
  border: 1px solid #cfe3d9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(16, 73, 51, .16);
}

.frog-search-suggestions[hidden] {
  display: none;
}

.frog-search-suggestions__group + .frog-search-suggestions__group {
  border-top: 1px solid #edf3f0;
}

.frog-search-suggestions__title {
  padding: 8px 12px 5px;
  color: #6a8176;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body .frog-search-input-wrap .frog-search-suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 0;
  min-width: 0;
  height: auto;
  margin: 0;
  background: transparent;
  color: #16372a;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

body .frog-search-input-wrap .frog-search-suggestion--all {
  color: #007b51;
  border-top: 1px solid #edf3f0;
  font-weight: 700;
}

.frog-search-suggestions__empty { padding: 14px; color: #577265; }
.frog-search-suggestions__loading { padding: 14px; color: #577265; }

body .frog-search-input-wrap mark.frog-search-match {
  padding: 0;
  background: transparent;
  color: #007b51;
  font: inherit;
}

body .frog-search-input-wrap .frog-search-suggestion:focus-visible,
body .frog-search-input-wrap .frog-search-suggestion.is-active {
  outline: 0;
  background: #edf9f3;
  color: #007b51;
}

body .frog-search-input-wrap .frog-search-suggestion--correction {
  justify-content: flex-start;
  color: #007b51;
  font-weight: 700;
}

.frog-search-suggestion__label {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.frog-search-suggestion__meta {
  flex: 0 0 auto;
  color: #71877d;
  font-size: 12px;
}

.frog-search-correction,
.frog-search-entities {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-left: 3px solid #00a866;
  border-radius: 0 12px 12px 0;
  background: #f1faf5;
  color: #28483b;
}

.frog-search-correction {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.frog-search-correction a,
.frog-search-entities a {
  color: #007b51;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.frog-search-entities h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.frog-search-entities ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.frog-search-entities li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
}

.frog-search-entities li span {
  color: #6a8176;
  font-size: 12px;
}

@media (max-width: 640px) {
  .frog-search-suggestions {
    right: 0;
    left: 0;
    max-height: 45vh;
    overflow-y: auto;
  }

  .frog-search-correction {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* compact-home-search-20261002
 * The homepage search and its adjacent actions share a smaller rhythm.
 * Header dock/sticky behavior is intentionally left untouched.
 */
.frog-home .frog-home__command {
  padding-top: 18px;
  padding-bottom: 14px;
}

.frog-home .frog-home__command-copy > p {
  display: none;
}

.frog-home .frog-home__search {
  height: 54px;
  margin-top: 12px;
  margin-bottom: 8px;
}

.frog-home .frog-home__search button {
  min-width: 148px;
  height: 42px;
  padding: 0 18px;
  border-radius: 14px;
}

.frog-home .frog-home__quick {
  margin-top: 0;
}

.frog-home .frog-home__quick > a,
.frog-home .frog-home__quick > span {
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 14px;
}

.frog-home .frog-home__actions a,
.frog-home .frog-home__actions a.is-primary {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
}

@media (max-width: 900px) {
  .frog-home .frog-home__command {
    padding-top: 16px;
    padding-bottom: 12px;
  }
}

@media (max-width: 560px) {
  .frog-home .frog-home__command {
    padding: 12px 14px;
  }

  .frog-home .frog-home__search {
    height: 50px;
    margin-top: 9px;
    margin-bottom: 7px;
  }

  .frog-home .frog-home__search button {
    min-width: 42px;
    width: 42px;
    height: 42px;
  }

  .frog-home .frog-home__quick > a,
  .frog-home .frog-home__quick > span {
    min-height: 40px;
    padding: 4px 5px;
  }

  .frog-home .frog-home__actions a,
  .frog-home .frog-home__actions a.is-primary {
    min-height: 38px;
    padding: 0 10px;
  }
}

/* compact-home-buttons-20261002
 * Keep homepage action buttons visually consistent with the compact search button.
 * Carousel arrows and pagination dots intentionally keep their control sizes.
 */
.frog-home .frog-home__search button,
.frog-home .frog-home__actions a,
.frog-home .frog-home__actions a.is-primary,
.frog-home .frog-home__quick > a,
.frog-home .frog-home__quick > span {
  box-sizing: border-box;
  height: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.frog-home .frog-home__search button,
.frog-home .frog-home__actions a,
.frog-home .frog-home__actions a.is-primary {
  padding: 0 16px;
}

@media (max-width: 560px) {
  .frog-home .frog-home__actions a,
  .frog-home .frog-home__actions a.is-primary,
  .frog-home .frog-home__quick > a,
  .frog-home .frog-home__quick > span {
    height: 42px;
    min-height: 42px;
    padding: 0 10px;
    font-size: 9px;
  }

  .frog-home .frog-home__search button {
    height: 42px;
    min-height: 42px;
    font-size: 0;
  }
}
/* Match the dev search shape while preserving the responsive hero artwork. */
.frog-home .frog-home__search,
.frog-home .frog-home__search input {
  border-radius: 20px !important;
}
.frog-home .frog-home__search button {
  border-radius: 14px !important;
}

/* Keep the app hero artwork centered and proportional across tablet and desktop. */
@media (min-width: 561px) {
  .frog-home .frog-home__slide--app .frog-home__hero-media {
    align-self: center !important;
    aspect-ratio: auto !important;
    height: auto !important;
    margin-top: 0 !important;
    top: 0 !important;
  }
  .frog-home .frog-home__slide--app .frog-home__hero-media img {
    display: block;
    width: 100%;
    height: auto !important;
    object-fit: contain;
  }
}
