:root {
  --lst-amm-green: #16A34A;
  --lst-amm-green-dark: #0F7A3D;
  --lst-amm-green-soft: #ECFDF3;
  --lst-amm-ink: #161616;
  --lst-amm-muted: #74717a;
  --lst-amm-line: #ece8ee;
  --lst-amm-soft: #F8FCFA;
  --lst-amm-card: #ffffff;
  --lst-amm-shadow: 0 18px 50px rgba(25, 18, 28, .14);
}

#lst-amm-auto-placeholder > .lst-amm { display: none; }

.lst-amm,
.lst-amm *,
.lst-amm *::before,
.lst-amm *::after,
.lst-amm-search,
.lst-amm-search *,
.lst-amm-search *::before,
.lst-amm-search *::after { box-sizing: border-box; }

.lst-amm {
  position: relative;
  z-index: 920;
  width: 100%;
  background: #fff;
  border-top: 1px solid rgba(22,163,74,.10);
  border-bottom: 1px solid var(--lst-amm-line);
  color: var(--lst-amm-ink);
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(0,0,0,.035);
}

.lst-amm::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lst-amm-green), transparent);
  opacity: .55;
}

.lst-amm__inner { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 22px; }
.lst-amm__list { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 60px; margin: 0; padding: 9px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.lst-amm__list::-webkit-scrollbar { display: none; }
.lst-amm__item { position: static; display: inline-flex; align-items: center; flex: 0 0 auto; }
.lst-amm__link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 13px; border: 1px solid transparent; border-radius: 12px; color: var(--lst-amm-ink); text-decoration: none !important; font-size: 15px; font-weight: 850; line-height: 1.1; white-space: nowrap; transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease; }
.lst-amm__link:hover, .lst-amm__link:focus { color: var(--lst-amm-green-dark); background: var(--lst-amm-green-soft); border-color: rgba(22,163,74,.22); outline: 0; transform: translateY(-1px); }
.lst-amm__link--span { cursor: default; }
.lst-amm__icon { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; color: var(--lst-amm-green); flex: 0 0 auto; }
.lst-amm__icon svg { display: block; width: 100%; height: 100%; stroke-width: 1.9; }
.lst-amm__label { display: inline-block; }
.lst-amm__toggle { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin: 0 5px 0 -7px; padding: 0; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--lst-amm-muted); cursor: pointer; transition: color .16s ease, transform .16s ease, background .16s ease; }
.lst-amm__toggle:hover, .lst-amm__toggle:focus { color: var(--lst-amm-green); background: var(--lst-amm-green-soft); outline: 0; }
.lst-amm__toggle svg, .lst-amm__chevron svg { width: 16px; height: 16px; display: block; }
.lst-amm__item.is-open .lst-amm__toggle { color: #fff; background: var(--lst-amm-green); transform: rotate(180deg); }
.lst-amm__item--special .lst-amm__link { padding-left: 14px; padding-right: 14px; }
.lst-amm__item--special .lst-amm__icon { width: 20px; height: 20px; }
.lst-amm__item--special .lst-amm__label { font-weight: 900; }

.lst-amm__panel { position: absolute; top: 100%; left: 22px; right: 22px; width: auto; padding-top: 10px; pointer-events: none; opacity: 0; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease; }
.lst-amm__item.is-open .lst-amm__panel { pointer-events: auto; opacity: 1; transform: translateY(0); }
.lst-amm__panel-content { display: grid; grid-template-columns: 210px minmax(0, 1fr) 210px; gap: 26px; padding: 26px; border: 1px solid rgba(22,163,74,.14); border-radius: 12px; background: rgba(255,255,255,.98); box-shadow: var(--lst-amm-shadow); backdrop-filter: blur(10px); }
.lst-amm__panel-main { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; padding: 4px 0; }
.lst-amm__panel-heading { display: flex; gap: 12px; align-items: center; }
.lst-amm__panel-title-icon { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 8px; color: var(--lst-amm-green); background: var(--lst-amm-green-soft); }
.lst-amm__panel-title-icon svg { width: 24px; height: 24px; }
.lst-amm__eyebrow { margin: 0 0 5px; color: var(--lst-amm-green); font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.lst-amm__panel h3 { margin: 0; color: var(--lst-amm-ink); font-size: 23px; line-height: 1.12; letter-spacing: -.03em; }
.lst-amm__all-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; color: var(--lst-amm-green-dark); font-weight: 900; text-decoration: none !important; }
.lst-amm__all-link:hover { color: var(--lst-amm-ink); }
.lst-amm__columns { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; padding: 0 14px 0 8px; border-left: 1px solid var(--lst-amm-line); border-right: 1px solid var(--lst-amm-line); }
.lst-amm__column { min-width: 0; }
.lst-amm__group + .lst-amm__group { margin-top: 19px; }
.lst-amm__group-title { display: flex; align-items: baseline; gap: 6px; color: var(--lst-amm-ink); font-size: 15px; font-weight: 900; line-height: 1.25; text-decoration: none !important; }
.lst-amm__group-title:hover { color: var(--lst-amm-green); }
.lst-amm__count { color: var(--lst-amm-muted); font-size: 11px; font-weight: 800; }
.lst-amm__group ul { margin: 9px 0 0; padding: 0; list-style: none; }
.lst-amm__group li + li { margin-top: 6px; }
.lst-amm__group li a { color: #67616b; font-size: 13px; line-height: 1.35; text-decoration: none !important; }
.lst-amm__group li a:hover { color: var(--lst-amm-green); }
.lst-amm__promo { display: flex; min-height: 192px; padding: 20px; flex-direction: column; justify-content: flex-end; border-radius: 12px; background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.26), transparent 30%), linear-gradient(145deg, var(--lst-amm-green) 0%, #0F7A3D 100%); color: #fff; text-decoration: none !important; overflow: hidden; position: relative; }
.lst-amm__promo::after { content: ''; position: absolute; width: 128px; height: 128px; right: -38px; top: -36px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 20px rgba(255,255,255,.08), 0 0 0 42px rgba(255,255,255,.045); }
.lst-amm__promo:hover { color: #fff; transform: translateY(-1px); }
.lst-amm__promo-icon { position: absolute; top: 19px; left: 18px; display: inline-flex; width: 30px; height: 30px; color: #fff; }
.lst-amm__promo-icon svg { width: 100%; height: 100%; }
.lst-amm__promo-label { position: relative; margin-bottom: 5px; font-size: 11px; letter-spacing: .08em; font-weight: 900; text-transform: uppercase; opacity: .86; }
.lst-amm__promo strong { position: relative; display: block; max-width: 158px; font-size: 20px; line-height: 1.12; letter-spacing: -.03em; }
.lst-amm__promo-cta { position: relative; margin-top: 13px; font-size: 13px; font-weight: 900; }
.lst-amm__mobile-trigger { display: none; }
.lst-amm__archive-note { margin-bottom: 18px; }
.lst-amm__panel-content--brands .lst-amm__group { margin-top: 0; }
.lst-amm__group--single + .lst-amm__group--single { margin-top: 10px; }
.lst-amm a:focus-visible, .lst-amm button:focus-visible, .lst-amm-search a:focus-visible, .lst-amm-search button:focus-visible, .lst-amm-search input:focus-visible { outline: 2px solid var(--lst-amm-green); outline-offset: 3px; }

.lst-amm__search-template { display: none !important; }
.lst-amm-search-host { display: flex !important; align-items: center; justify-content: center; flex: 1 1 auto; min-width: min(680px, 100%); }
.lst-amm-search-slot { width: min(760px, 100%); max-width: 100%; margin: 0 auto; }
.lst-amm-search-slot--fallback { width: 100%; padding: 12px 0 2px; }
.lst-amm-search { position: relative; width: 100%; font-family: inherit; z-index: 1000; }
.lst-amm-search__form { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; margin: 0; }
.lst-amm-search__field { position: relative; display: flex; align-items: center; min-height: 48px; border: 1px solid rgba(22,163,74,.24); border-radius: 12px; background: #fff; box-shadow: 0 7px 20px rgba(25,18,28,.07); transition: border-color .16s ease, box-shadow .16s ease; }
.lst-amm-search__field:focus-within { border-color: var(--lst-amm-green); box-shadow: 0 10px 28px rgba(22,163,74,.16); }
.lst-amm-search__icon { position: absolute; left: 17px; width: 20px; height: 20px; display: inline-flex; color: var(--lst-amm-green); pointer-events: none; }
.lst-amm-search__icon svg { width: 100%; height: 100%; }
.lst-amm-search__input { width: 100%; height: 46px; padding: 0 44px 0 47px !important; border: 0 !important; outline: 0 !important; border-radius: 12px !important; background: transparent !important; color: var(--lst-amm-ink); font-size: 15px; font-weight: 750; box-shadow: none !important; }
.lst-amm-search__input::placeholder { color: #8c8491; opacity: 1; }
.lst-amm-search__clear { position: absolute; right: 8px; width: 31px; height: 31px; border: 0; border-radius: 50%; background: var(--lst-amm-green-soft); color: var(--lst-amm-green); font-size: 22px; line-height: 1; cursor: pointer; }
.lst-amm-search__submit { min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--lst-amm-green); color: #fff; font-size: 14px; font-weight: 900; cursor: pointer; white-space: nowrap; box-shadow: 0 9px 18px rgba(22,163,74,.22); transition: transform .16s ease, background .16s ease; }
.lst-amm-search__submit:hover { background: var(--lst-amm-green-dark); transform: translateY(-1px); }
.lst-amm-search__results { position: absolute; top: calc(100% + 10px); left: 0; right: 0; max-height: min(72vh, 620px); overflow: auto; padding: 12px; border: 1px solid rgba(22,163,74,.14); border-radius: 12px; background: rgba(255,255,255,.98); box-shadow: var(--lst-amm-shadow); backdrop-filter: blur(10px); }
.lst-amm-search__section + .lst-amm-search__section { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--lst-amm-line); }
.lst-amm-search__section-title { margin: 0 0 9px 4px; color: var(--lst-amm-muted); font-size: 11px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.lst-amm-search__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.lst-amm-search__chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 12px; background: var(--lst-amm-green-soft); color: var(--lst-amm-green-dark); text-decoration: none !important; font-weight: 850; font-size: 13px; }
.lst-amm-search__chip small { color: var(--lst-amm-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.lst-amm-search__product { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 68px; padding: 7px; border-radius: 10px; color: var(--lst-amm-ink); text-decoration: none !important; transition: background .14s ease, transform .14s ease; }
.lst-amm-search__product:hover, .lst-amm-search__item.is-active { background: var(--lst-amm-soft); transform: translateY(-1px); }
.lst-amm-search__thumb { width: 54px; height: 54px; display: block; overflow: hidden; border-radius: 8px; background: #F4FBF7; }
.lst-amm-search__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lst-amm-search__product-main { min-width: 0; display: block; }
.lst-amm-search__product-main strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 900; letter-spacing: -.01em; }
.lst-amm-search__product-main small { display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--lst-amm-muted); font-size: 12px; font-weight: 700; }
.lst-amm-search__side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 86px; font-size: 12px; }
.lst-amm-search__side em { display: inline-flex; padding: 3px 7px; border-radius: 12px; background: var(--lst-amm-green); color: #fff; font-style: normal; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.lst-amm-search__price { color: var(--lst-amm-green-dark); font-weight: 900; white-space: nowrap; }
.lst-amm-search__price del { color: #999; font-weight: 700; }
.lst-amm-search__price ins { text-decoration: none; }
.lst-amm-search__hint { padding: 16px; color: var(--lst-amm-muted); font-size: 14px; line-height: 1.45; }

@media (max-width: 1330px) {
  .lst-amm__inner { padding: 0 16px; }
  .lst-amm__link { font-size: 14px; padding-left: 11px; padding-right: 11px; }
  .lst-amm__icon { width: 20px; height: 20px; }
}

@media (max-width: 1040px) {
  .lst-amm__panel-content { grid-template-columns: 178px minmax(0,1fr); }
  .lst-amm__promo { display: none; }
  .lst-amm__columns { border-right: 0; }
  .lst-amm-search-slot { width: min(620px, 100%); }
}

@media (max-width: 820px) {
  .lst-amm { border-top-color: #eeeeee; }
  .lst-amm::before { display: none; }
  .lst-amm__inner { padding: 0 14px; }
  .lst-amm__mobile-trigger { display: flex; width: 100%; min-height: 54px; padding: 0; align-items: center; gap: 9px; border: 0; background: transparent; color: var(--lst-amm-ink); font: inherit; font-size: 16px; font-weight: 900; text-align: left; cursor: pointer; }
  .lst-amm__mobile-trigger-icon { display: inline-flex; width: 22px; height: 22px; color: var(--lst-amm-green); }
  .lst-amm__mobile-trigger-icon svg { width: 100%; height: 100%; }
  .lst-amm__mobile-trigger .lst-amm__chevron { margin-left: auto; display: inline-flex; transition: transform .18s ease; }
  .lst-amm.is-mobile-open .lst-amm__mobile-trigger .lst-amm__chevron { transform: rotate(180deg); }
  .lst-amm__list { display: none; min-height: 0; max-height: 68vh; padding: 0 0 12px; flex-direction: column; align-items: stretch; overflow-y: auto; overflow-x: hidden; }
  .lst-amm.is-mobile-open .lst-amm__list { display: flex; }
  .lst-amm__item { display: grid; grid-template-columns: minmax(0,1fr) 44px; border-top: 1px solid #eeeeee; }
  .lst-amm__item--special { grid-template-columns: 1fr; }
  .lst-amm__link { min-height: 52px; padding: 0 4px; border-radius: 0; border: 0; background: transparent; font-size: 16px; white-space: normal; transform: none !important; }
  .lst-amm__toggle { width: 44px; height: 52px; margin: 0; }
  .lst-amm__panel { position: static; grid-column: 1 / -1; max-height: 0; padding: 0; overflow: hidden; transform: none; opacity: 1; pointer-events: none; transition: max-height .25s ease; }
  .lst-amm__item.is-open .lst-amm__panel { max-height: 1800px; padding: 0 0 12px; pointer-events: auto; }
  .lst-amm__panel-content { display: block; margin: 0 0 0 3px; padding: 16px; border: 0; border-radius: 10px; background: var(--lst-amm-soft); box-shadow: none; }
  .lst-amm__panel-main { display: block; }
  .lst-amm__all-link { margin: 14px 0 0; }
  .lst-amm__columns { display: block; margin-top: 16px; padding: 0; border: 0; }
  .lst-amm__column + .lst-amm__column { margin-top: 18px; }
  .lst-amm__group + .lst-amm__group { margin-top: 18px; }
  .lst-amm-search-host { min-width: 0; }
  .lst-amm-search-slot { width: 100%; padding: 8px 14px; }
  .lst-amm-search__form { grid-template-columns: 1fr; gap: 7px; }
  .lst-amm-search__submit { display: none; }
  .lst-amm-search__results { position: fixed; left: 12px; right: 12px; top: 86px; max-height: calc(100vh - 108px); z-index: 9999; }
  .lst-amm-search__product { grid-template-columns: 48px minmax(0,1fr); }
  .lst-amm-search__thumb { width: 48px; height: 48px; }
  .lst-amm-search__side { grid-column: 2; align-items: flex-start; min-width: 0; }
}


.lst-amm-search-host--inline {
  display: flex !important;
  align-items: center;
  flex: 1 1 auto;
  min-width: 220px;
  margin: 0 24px;
}

.lst-amm-search-host--inline .lst-amm-search-slot {
  width: 100%;
}

@media (min-width: 992px) {
  html.lst-amm-hide-desktop-toggle .site-header .menu-toggle,
  html.lst-amm-hide-desktop-toggle .site-header .mobile-toggle,
  html.lst-amm-hide-desktop-toggle .site-header .hamburger,
  html.lst-amm-hide-desktop-toggle .site-header .offcanvas-toggle,
  html.lst-amm-hide-desktop-toggle .site-header .menu-button,
  html.lst-amm-hide-desktop-toggle .site-header .header-mobile-toggle,
  html.lst-amm-hide-desktop-toggle .header-main .menu-toggle,
  html.lst-amm-hide-desktop-toggle .header-main .mobile-toggle,
  html.lst-amm-hide-desktop-toggle .header-main .hamburger,
  html.lst-amm-hide-desktop-toggle .header-main .offcanvas-toggle,
  html.lst-amm-hide-desktop-toggle .header-main .menu-button,
  html.lst-amm-hide-desktop-toggle .header-main .header-mobile-toggle {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .lst-amm-search-host--inline {
    margin: 0 12px;
  }
}


/* v0.3.2: reliable mobile search bar + hide old mobile search icon. */
.lst-amm-mobile-search-slot {
  display: none;
}

@media (max-width: 991px) {
  .lst-amm-mobile-search-slot {
    display: block;
    width: 100%;
    padding: 10px 14px 8px;
    border-bottom: 1px solid rgba(22, 163, 74, .14);
    background: #fff;
    position: relative;
    z-index: 60;
  }

  .lst-amm-mobile-search-slot .lst-amm-search {
    width: 100%;
  }

  .lst-amm-mobile-search-slot .lst-amm-search__form {
    min-height: 48px;
  }

  .lst-amm-mobile-search-slot .lst-amm-search__input {
    font-size: 15px;
  }

  html.lst-amm-hide-mobile-search-toggle .site-header .search-button,
  html.lst-amm-hide-mobile-search-toggle .site-header .search-toggle,
  html.lst-amm-hide-mobile-search-toggle .site-header .header-search,
  html.lst-amm-hide-mobile-search-toggle .site-header .search-icon,
  html.lst-amm-hide-mobile-search-toggle .site-header a[href="#search"],
  html.lst-amm-hide-mobile-search-toggle .site-header button[class*="search"],
  html.lst-amm-hide-mobile-search-toggle .site-header a[class*="search"],
  html.lst-amm-hide-mobile-search-toggle .header-main .search-button,
  html.lst-amm-hide-mobile-search-toggle .header-main .search-toggle,
  html.lst-amm-hide-mobile-search-toggle .header-main .header-search,
  html.lst-amm-hide-mobile-search-toggle .header-main .search-icon,
  html.lst-amm-hide-mobile-search-toggle .header-main a[href="#search"],
  html.lst-amm-hide-mobile-search-toggle .header-main button[class*="search"],
  html.lst-amm-hide-mobile-search-toggle .header-main a[class*="search"],
  html.lst-amm-hide-mobile-search-toggle .mobile-bottom-menu [class*="search"],
  html.lst-amm-hide-mobile-search-toggle .mobile-bottom-menu a[href*="search"],
  html.lst-amm-hide-mobile-search-toggle .mobile-bottom-menu a[href="#search"],
  html.lst-amm-hide-mobile-search-toggle .mobile-bottom-navigation [class*="search"],
  html.lst-amm-hide-mobile-search-toggle .mobile-bottom-navigation a[href*="search"],
  html.lst-amm-hide-mobile-search-toggle .mobile-navigation [class*="search"],
  html.lst-amm-hide-mobile-search-toggle .mobile-nav [class*="search"],
  html.lst-amm-hide-mobile-search-toggle .site-mobile-nav [class*="search"],
  html.lst-amm-hide-mobile-search-toggle .klb-mobile-bottom [class*="search"],
  html.lst-amm-hide-mobile-search-toggle .klb-mobile-menu [class*="search"] {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .lst-amm-mobile-search-slot {
    display: none !important;
  }
}


/* v1.5.3 — search lives inside the real header, not as a random extra row. */
.lst-amm-search-only-placeholder {
  display: none;
}
.lst-amm-search-only-placeholder--header {
  display: flex !important;
  align-items: center;
  flex: 1 1 360px;
  min-width: 260px;
  max-width: 460px;
  margin: 0 16px;
  background: transparent;
  border: 0;
  box-shadow: none;
  z-index: 1001;
}
.lst-amm-search-only-placeholder--mobile-hidden {
  display: none !important;
}
.lst-amm-search-only-placeholder--header .lst-amm-search-only-slot {
  width: 100%;
  margin: 0;
  padding: 0;
}
.lst-amm-search-only-placeholder--header .lst-amm-search__form {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.lst-amm-search-only-placeholder--header .lst-amm-search__field {
  min-height: 44px;
  border-radius: 10px;
  box-shadow: 0 7px 18px rgba(25,18,28,.055);
  background: #fff;
}
.lst-amm-search-only-placeholder--header .lst-amm-search__input {
  height: 42px;
  font-size: 14px;
  font-weight: 800;
}
.lst-amm-search-only-placeholder--header .lst-amm-search__submit {
  display: none;
}
.lst-amm-search-only-placeholder--header .lst-amm-search__results {
  left: 0;
  right: 0;
  min-width: min(520px, 88vw);
}
.lst-amm-search-only-placeholder:not(.lst-amm-search-only-placeholder--header) {
  width: min(920px, calc(100% - 44px));
  margin: 10px auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.lst-amm-search-only-placeholder:not(.lst-amm-search-only-placeholder--header) .lst-amm-search-only-slot {
  padding: 0;
}
body.tax-product_cat .lst-amm,
body.tax-product_tag .lst-amm,
body.post-type-archive-product .lst-amm,
body.woocommerce-shop .lst-amm,
body.single-product .lst-amm {
  display: block !important;
}
body.tax-product_cat .lst-amm__search-template,
body.tax-product_tag .lst-amm__search-template,
body.post-type-archive-product .lst-amm__search-template,
body.woocommerce-shop .lst-amm__search-template,
body.single-product .lst-amm__search-template {
  display: none !important;
}

@media (max-width: 1180px) and (min-width: 821px) {
  .lst-amm-search-only-placeholder--header {
    flex-basis: 300px;
    max-width: 360px;
    margin: 0 10px;
  }
  .lst-amm-search-only-placeholder--header .lst-amm-search__input {
    font-size: 13px;
  }
}
@media (max-width: 820px), (hover:none) and (pointer:coarse) {
  .lst-amm-search-only-placeholder,
  .lst-amm-search-only-placeholder--header {
    display: none !important;
  }
}
