.kp-global-header .kp-ags-header {
  flex: 1 1 19rem;
  min-width: 8rem;
  max-width: 23rem;
  position: relative;
  z-index: 1;
  color: #214a3e;
}
.kp-global-header .kp-header-main:has(.kp-ags-header) {
  column-gap: clamp(8px, calc(12vw - 145px), 22px);
}
@media (min-width: 1251px) {
  body.page-id-1119 .kp-global-header .kp-header-main:has(.kp-ags-header) > .kp-sales-page-title,
  body.single-product .kp-global-header .kp-header-main:has(.kp-ags-header) > .kp-sales-page-title {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    flex: 0 0 auto !important;
    margin-left: clamp(12px, 1.5vw, 24px) !important;
    white-space: nowrap;
  }
}
@media (min-width: 1251px) {
  /* The TOP menu's late-loaded desktop rules use !important for its spacing and type. */
  .kp-global-header .kp-header-main:has(#kp-ags-header-form) {
    column-gap: clamp(10px, calc(10vw - 116px), 28px) !important;
  }
  .kp-global-header .kp-header-main > .kp-ags-header:has(#kp-ags-header-form) {
    min-width: 206px !important;
  }
  .kp-global-header .kp-ags-header #kp-ags-header-form input[type="search"] {
    min-width: 132px !important;
  }
}
@media (min-width: 1251px) and (max-width: 1424px) {
  .kp-global-header .kp-header-main:has(#kp-ags-header-form) > .kp-primary {
    column-gap: clamp(14px, calc(6.25vw - 64px), 24px) !important;
  }
  .kp-global-header .kp-header-main:has(#kp-ags-header-form) > .kp-primary a {
    font-size: clamp(23px, calc(2vw - 2px), 27px) !important;
  }
}
#kp-ags-header-form, .kp-ags-results .kp-ags-form {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  border: 1px solid #395e474d;
  border-radius: 24px;
  padding: 2px 4px 2px 16px;
  background: rgba(255, 255, 255, .65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  color: #203c32;
}
#kp-ags-header-form input, .kp-ags-results .kp-ags-form input[type=search] {
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #203c32;
  font: inherit;
  font-size: 16px;
  box-shadow: none;
}
#kp-ags-header-form input::placeholder, .kp-ags-results input::placeholder { color: #536a5d; opacity: 1; }
#kp-ags-header-form input:focus, .kp-ags-results .kp-ags-form input:focus { outline: none; }
#kp-ags-header-form:focus-within, .kp-ags-results .kp-ags-form:focus-within {
  outline: 2px solid #486c53;
  outline-offset: 2px;
}
#kp-ags-header-form button, .kp-ags-header button {
  display: inline-grid;
  box-sizing: border-box;
  place-items: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #244a3e;
  cursor: pointer;
}
#kp-ags-header-form button:hover, .kp-ags-header button:hover { background: #32584112; }
.kp-global-header .kp-ags-glass {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
  transform: translate(-1px, -1px);
}
.kp-global-header .kp-ags-glass::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  transform: rotate(45deg);
}
.kp-ags-header .kp-ags-open { display: none; }
@media (max-width: 1250px) {
  .kp-global-header .kp-ags-header { flex: 0 0 42px; min-width: 42px; margin-left: auto; }
  .kp-ags-header .kp-ags-open {
    display: inline-grid;
    width: 42px;
    height: 42px;
    border: 1px solid #395e4740;
    background: #ffffff85;
  }
  .kp-ags-header #kp-ags-header-form { display: none; }
  #kp-ags-header-form.kp-ags-drawer {
    position: relative;
    width: min(32rem, calc(100% - 32px));
    margin: 0 auto 12px;
  }
}

.kp-ags-results {
  box-sizing: border-box;
  max-width: 1000px !important;
  margin: clamp(24px, 5vw, 70px) auto !important;
  padding: 0 clamp(16px, 3vw, 36px) 48px;
  color: #244137;
}
.kp-ags-results h1 { overflow-wrap: anywhere; font-size: clamp(23px, 4vw, 34px); line-height: 1.45; }
.kp-ags-results .kp-ags-form { max-width: 560px; }
.kp-ags-form button, .kp-ags-tabs a, .kp-ags-pagination a, a.kp-ags-consult {
  padding: 7px 15px;
  border: 1px solid #486c5338;
  border-radius: 22px;
  background: #ffffff85;
  color: #204c3c;
  text-decoration: none;
}
.kp-ags-form button { font: inherit; white-space: nowrap; cursor: pointer; }
.kp-ags-tabs, .kp-ags-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0; }
.kp-ags-tabs [aria-current] { background: #345947; color: white; }
.kp-ags-list { margin: 16px 0; padding: 0; list-style: none; }
.kp-ags-card { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #395e472b; color: inherit; text-decoration: none; }
.kp-ags-thumb { flex: 0 0 auto; width: 76px; height: 76px; overflow: hidden; border-radius: 8px; }
.kp-ags-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kp-ags-details { display: grid; gap: 3px; min-width: 0; }
.kp-ags-kind { color: #50685b; font-size: .8rem; }
.kp-ags-title { overflow-wrap: anywhere; font-weight: 650; line-height: 1.5; }
.kp-ags-price { display: block; color: #385646; }
.kp-ags-card:hover .kp-ags-title, .kp-ags-consult:hover { text-decoration: underline; }
.kp-ags-consult { display: inline-block; }

@media (max-width: 782px) {
  #kp-ags-header-form.kp-ags-drawer { margin-top: 16px; }
}
@media (max-width: 359px) {
  .kp-header-main > .kp-ags-header { transform: translateX(-22px); }
}
