/* BMK Smart Search v1.10.21 */
:root{--bmk-search-site-bottom:0px}

.bmk-search-entry{width:100%;margin:0 0 14px}
.bmk-search-entry-button{
  display:grid!important;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;
  width:100%!important;min-height:60px!important;padding:8px 13px!important;
  border:1px solid #e0e5dc!important;border-radius:15px!important;background:#fff!important;color:#262626!important;
  text-align:left!important;text-transform:none!important;box-shadow:0 5px 18px rgba(15,23,42,.045)!important
}
.bmk-search-entry-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f0f7e8;color:#6d9b38}
.bmk-search-entry-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.bmk-search-entry-copy{min-width:0}
.bmk-search-entry-copy strong,.bmk-search-entry-copy small{display:block}
.bmk-search-entry-copy strong{overflow:hidden;color:#292929;font-size:13px;font-weight:700;white-space:nowrap;text-overflow:ellipsis}
.bmk-search-entry-copy small{margin-top:2px;color:#92978f;font-size:8.5px}

html.bmk-search-open{overflow:hidden!important}

/* Search itself is a bottom sheet, just like filters */
.bmk-search-overlay{
  position:fixed;
  z-index:100180;
  left:0;right:0;top:0;
  bottom:var(--bmk-search-site-bottom,0px);
  visibility:hidden;
  background:rgba(0,0,0,0);
  pointer-events:none;
  transition:background .22s ease,visibility 0s linear .22s
}
.bmk-search-overlay.is-open{
  visibility:visible;
  background:rgba(0,0,0,.38);
  pointer-events:auto;
  transition:background .22s ease
}
.bmk-search-sheet{
  position:absolute;
  left:50%;
  bottom:0;
  display:flex;
  width:min(700px,100%);
  height:min(74vh,680px);
  flex-direction:column;
  overflow:hidden;
  transform:translate(-50%,100%);
  border-radius:22px 22px 0 0;
  background:#fff;
  box-shadow:0 -18px 55px rgba(0,0,0,.16);
  transition:transform .26s cubic-bezier(.2,.8,.2,1)
}
.bmk-search-overlay.is-open .bmk-search-sheet{transform:translate(-50%,0)}
.bmk-search-handle,.bmk-search-filter-handle{
  flex:0 0 auto;
  width:44px;height:4px;
  margin:8px auto 3px;
  border-radius:99px;
  background:#daddd7
}

.bmk-search-header{
  padding:7px 14px 11px;
  border-bottom:1px solid #ebeee8;
  background:#fff
}
.bmk-search-title-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-bottom:9px
}
.bmk-search-title-row>div span,.bmk-search-title-row>div strong{display:block}
.bmk-search-title-row>div span{
  color:#83b735;font-size:7px;font-weight:900;letter-spacing:.07em;text-transform:uppercase
}
.bmk-search-title-row>div strong{margin-top:2px;color:#292929;font-size:15px}
.bmk-search-close,
.bmk-search-filter-head button{
  display:grid!important;place-items:center!important;
  width:34px!important;height:34px!important;min-height:0!important;padding:0!important;
  border:1px solid #e3e7df!important;border-radius:10px!important;
  background:#fff!important;color:#777!important;font-size:22px!important;line-height:1!important;
  box-shadow:none!important
}
.bmk-search-input-wrap{
  position:relative;display:flex;align-items:center;min-height:46px;
  border:1.5px solid #83b735;border-radius:12px;background:#fff;
  box-shadow:0 0 0 3px rgba(131,183,53,.055)
}
.bmk-search-input-wrap>svg{
  flex:0 0 20px;width:20px;height:20px;margin-left:12px;
  fill:none;stroke:#6d8d49;stroke-width:1.8
}
.bmk-search-input-wrap input{
  width:100%!important;height:44px!important;padding:0 42px 0 9px!important;
  border:0!important;background:transparent!important;color:#252525!important;
  font-size:14px!important;box-shadow:none!important;outline:0!important
}
.bmk-search-clear{
  position:absolute!important;right:5px!important;top:50%!important;
  display:none!important;place-items:center!important;
  width:32px!important;height:32px!important;min-height:0!important;padding:0!important;
  transform:translateY(-50%)!important;
  border:0!important;border-radius:50%!important;background:#f0f2ef!important;
  color:#777!important;font-size:19px!important;box-shadow:none!important
}
.bmk-search-clear.is-visible{display:grid!important}

.bmk-search-toolbar{
  display:flex;gap:7px;overflow-x:auto;
  padding:8px 12px;border-bottom:1px solid #e9ece6;background:#fff;
  scrollbar-width:none
}
.bmk-search-toolbar::-webkit-scrollbar{display:none}
.bmk-search-toolbar>button{
  position:relative;display:flex!important;align-items:center!important;gap:5px;
  flex:0 0 auto;min-height:34px!important;padding:0 11px!important;
  border:1px solid #e2e5df!important;border-radius:9px!important;background:#fff!important;
  color:#626762!important;font:inherit!important;font-size:8.7px!important;font-weight:750!important;
  text-transform:none!important;box-shadow:none!important
}
.bmk-search-toolbar>button.is-active{
  border-color:#83b735!important;background:#83b735!important;color:#fff!important
}
.bmk-search-filter-main svg{
  width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round
}
.bmk-search-filter-main i{
  display:grid;place-items:center;min-width:16px;height:16px;padding:0 3px;
  border-radius:99px;background:#83b735;color:#fff;font-size:7px;font-style:normal
}

.bmk-search-content{
  flex:1;overflow:auto;
  padding:13px 14px 18px;
  background:#f7f8f6
}
.bmk-search-start{
  max-width:520px;margin:5vh auto 0;text-align:center
}
.bmk-search-start-icon{
  display:grid;place-items:center;
  width:62px;height:62px;margin:0 auto 12px;
  border-radius:18px;background:#eef6e5;color:#83b735
}
.bmk-search-start-icon svg{
  width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round
}
.bmk-search-start h3{margin:0!important;color:#282828;font-size:20px!important}
.bmk-search-start p{
  max-width:390px;margin:6px auto 0!important;
  color:#8a8f89;font-size:9.5px;line-height:1.5
}
.bmk-search-popular-wrap{margin-top:20px;text-align:left}
.bmk-search-popular-wrap>span{
  display:block;margin-bottom:8px;color:#969b94;
  font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.06em
}
.bmk-search-popular{display:flex;flex-wrap:wrap;gap:7px}
.bmk-search-popular button{
  min-height:34px!important;padding:0 11px!important;
  border:1px solid #e1e5dd!important;border-radius:99px!important;
  background:#fff!important;color:#555!important;
  font:inherit!important;font-size:8.5px!important;font-weight:700!important;
  text-transform:none!important;box-shadow:none!important
}

.bmk-search-results-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin:2px 0 9px
}
.bmk-search-results-head strong,.bmk-search-results-head span{display:block}
.bmk-search-results-head strong{color:#2f2f2f;font-size:13px}
.bmk-search-results-head>div>span{margin-top:2px;color:#999;font-size:8px}
.bmk-search-loading{
  width:18px;height:18px;border:2px solid #e4e8e1;border-top-color:#83b735;border-radius:50%;
  animation:bmkSearchSpin .65s linear infinite
}
@keyframes bmkSearchSpin{to{transform:rotate(360deg)}}

.bmk-search-results{display:grid;gap:7px}
.bmk-search-product{
  display:grid;grid-template-columns:72px minmax(0,1fr) auto;
  align-items:center;gap:10px;min-width:0;padding:8px;
  border:1px solid #e5e9e2;border-radius:13px;background:#fff;
  box-shadow:0 3px 12px rgba(15,23,42,.025)
}
.bmk-search-product-image{
  position:relative;display:grid;place-items:center;
  width:72px;height:72px;overflow:hidden;border-radius:10px;background:#f7f8f6
}
.bmk-search-product-image img{display:block;width:100%;height:100%;object-fit:contain}
.bmk-search-product-image>span{font-size:25px}
.bmk-search-product-image>b{
  position:absolute;left:5px;top:5px;padding:3px 5px;
  border-radius:6px;background:#e65e5b;color:#fff;font-size:6.5px;text-decoration:none
}
.bmk-search-product-main{min-width:0}
.bmk-search-product-name{
  display:-webkit-box;overflow:hidden;color:#2c2c2c!important;
  font-size:10.5px;font-weight:700;line-height:1.35;text-decoration:none!important;
  -webkit-line-clamp:2;-webkit-box-orient:vertical
}
.bmk-search-product-store{
  display:flex;align-items:center;gap:4px;min-width:0;margin-top:5px;
  color:#888f86;font-size:7.5px
}
.bmk-search-product-store i{
  flex:0 0 6px;width:6px;height:6px;border-radius:50%
}
.bmk-search-product-store i.is-open{background:#83b735}
.bmk-search-product-store i.is-closed{background:#bbb}
.bmk-search-product-store span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.bmk-search-product-store small{flex:0 0 auto;color:#aaa;font-size:7px}
.bmk-search-product-price{display:flex;align-items:baseline;gap:5px;margin-top:7px}
.bmk-search-product-price strong{color:#222;font-size:12.5px}
.bmk-search-product-price del{color:#aaa;font-size:7.5px}
.bmk-search-product-action{align-self:center}
.bmk-search-action{
  display:grid!important;place-items:center!important;
  width:40px!important;height:40px!important;min-height:0!important;padding:0!important;
  border:1px solid #83b735!important;border-radius:11px!important;
  background:#83b735!important;color:#fff!important;
  font-size:21px!important;font-weight:500!important;line-height:1!important;
  text-decoration:none!important;box-shadow:none!important
}
.bmk-search-action.is-added{background:#6f9d39!important}
.bmk-search-action.is-disabled{
  width:40px!important;border-color:#e4e6e2!important;background:#f3f4f2!important;
  color:#aaa!important;font-size:7px!important
}
.bmk-search-action.is-options{
  width:auto!important;min-width:58px!important;padding:0 8px!important;
  background:#fff!important;color:#628f32!important;font-size:7.5px!important;font-weight:800!important
}

.bmk-search-empty{padding:55px 15px;text-align:center}
.bmk-search-empty>div{font-size:32px;color:#9baa8e}
.bmk-search-empty strong,.bmk-search-empty span{display:block}
.bmk-search-empty strong{margin-top:8px;color:#333;font-size:14px}
.bmk-search-empty span{
  max-width:330px;margin:5px auto 0;color:#999;font-size:8.5px;line-height:1.5
}

/* Better filter UI */
.bmk-search-filter-drawer{
  position:absolute;inset:0;z-index:12;
  visibility:hidden;pointer-events:none
}
.bmk-search-filter-drawer.is-open{visibility:visible;pointer-events:auto}
.bmk-search-filter-backdrop{
  position:absolute;inset:0;background:rgba(0,0,0,0);transition:background .2s ease
}
.bmk-search-filter-drawer.is-open .bmk-search-filter-backdrop{background:rgba(0,0,0,.35)}
.bmk-search-filter-panel{
  position:absolute;left:50%;bottom:0;
  display:flex;width:min(640px,100%);max-height:min(72vh,650px);
  flex-direction:column;
  transform:translate(-50%,100%);
  border-radius:22px 22px 0 0;background:#fff;
  box-shadow:0 -14px 40px rgba(0,0,0,.14);
  transition:transform .24s cubic-bezier(.2,.8,.2,1)
}
.bmk-search-filter-drawer.is-open .bmk-search-filter-panel{transform:translate(-50%,0)}
.bmk-search-filter-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:6px 15px 12px;border-bottom:1px solid #ecefe9
}
.bmk-search-filter-head>div span,
.bmk-search-filter-head>div strong{display:block}
.bmk-search-filter-head>div span{
  color:#83b735;font-size:7px;font-weight:900;text-transform:uppercase;letter-spacing:.06em
}
.bmk-search-filter-head>div strong{margin-top:2px;color:#282828;font-size:16px}
.bmk-search-filter-scroll{
  overflow:auto;padding:13px 14px 8px;background:#f7f8f6
}
.bmk-search-filter-card{
  position:relative;
  display:grid;grid-template-columns:40px minmax(0,1fr) auto;
  align-items:center;gap:10px;
  min-height:64px;margin-bottom:8px;padding:10px 11px;
  border:1px solid #e5e9e2;border-radius:13px;background:#fff;
  box-shadow:0 3px 11px rgba(15,23,42,.02)
}
.bmk-search-filter-card-icon{
  display:grid;place-items:center;width:40px;height:40px;
  border-radius:11px;background:#f0f7e8;color:#6d9b38
}
.bmk-search-filter-card-icon svg{
  width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round
}
.bmk-search-filter-card-copy{min-width:0}
.bmk-search-filter-card-copy label,
.bmk-search-filter-card-copy span{display:block}
.bmk-search-filter-card-copy label{
  color:#333;font-size:10px;font-weight:800
}
.bmk-search-filter-card-copy span{
  margin-top:2px;color:#999;font-size:7.5px
}
.bmk-search-filter-card select{
  width:150px!important;height:38px!important;padding:0 29px 0 9px!important;
  border:1px solid #dfe4dc!important;border-radius:9px!important;
  background-color:#fff!important;color:#3b3f39!important;
  font-size:8.7px!important;font-weight:700!important;
  box-shadow:none!important
}
.bmk-search-filter-options{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:3px
}
.bmk-search-switch-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin:0;padding:11px;
  border:1px solid #e5e9e2;border-radius:13px;background:#fff
}
.bmk-search-switch-row>span{min-width:0}
.bmk-search-switch-row strong,.bmk-search-switch-row small{display:block}
.bmk-search-switch-row strong{color:#3d413b;font-size:9.5px}
.bmk-search-switch-row small{margin-top:2px;color:#999;font-size:7.2px;line-height:1.35}
.bmk-search-switch-row input{position:absolute;opacity:0}
.bmk-search-switch-row>i{
  position:relative;flex:0 0 42px;width:42px;height:24px;
  border-radius:99px;background:#dfe2dd;transition:.18s ease
}
.bmk-search-switch-row>i:after{
  content:"";position:absolute;left:3px;top:3px;
  width:18px;height:18px;border-radius:50%;background:#fff;
  box-shadow:0 2px 5px rgba(0,0,0,.15);transition:.18s ease
}
.bmk-search-switch-row input:checked+i{background:#83b735}
.bmk-search-switch-row input:checked+i:after{transform:translateX(18px)}
.bmk-search-filter-actions{
  display:grid;grid-template-columns:1fr 1.35fr;gap:8px;
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top:1px solid #ecefe9;background:#fff
}
.bmk-search-filter-actions button{
  min-height:43px!important;padding:0 10px!important;
  border-radius:10px!important;font:inherit!important;font-size:8.7px!important;font-weight:850!important;
  text-transform:uppercase!important;box-shadow:none!important
}
.bmk-search-filter-actions .is-light{
  border:1px solid #dfe4dc!important;background:#fff!important;color:#6a6f68!important
}
.bmk-search-filter-actions .is-primary{
  border:1px solid #83b735!important;background:#83b735!important;color:#fff!important
}

.bmk-search-toast{
  position:absolute;z-index:20;left:50%;bottom:20px;
  max-width:calc(100% - 28px);padding:9px 13px;
  transform:translate(-50%,10px);border-radius:9px;
  background:#2a2d29;color:#fff;font-size:8.5px;
  opacity:0;pointer-events:none;transition:.16s ease
}
.bmk-search-toast.is-visible{opacity:1;transform:translate(-50%,0)}
.bmk-search-toast.is-error{background:#9e4242}

@media(max-width:640px){
  .bmk-search-sheet{
    width:100%;
    height:min(72vh,650px)
  }
  .bmk-search-content{padding:12px 10px 16px}
  .bmk-search-start{margin-top:4vh}
  .bmk-search-start h3{font-size:19px!important}
  .bmk-search-product{
    grid-template-columns:66px minmax(0,1fr) auto;
    gap:9px;padding:8px
  }
  .bmk-search-product-image{width:66px;height:66px}
  .bmk-search-product-name{font-size:10px}
  .bmk-search-action{width:39px!important;height:39px!important}
  .bmk-search-filter-scroll{padding:11px 10px 7px}
  .bmk-search-filter-card{
    grid-template-columns:38px minmax(0,1fr);
    min-height:0;padding:10px
  }
  .bmk-search-filter-card-icon{width:38px;height:38px}
  .bmk-search-filter-card select{
    grid-column:1/-1;
    width:100%!important;
    height:41px!important;
    margin-top:2px
  }
  .bmk-search-filter-options{grid-template-columns:1fr}
}


/* ==========================================================
   v1.4.0 — input filter button, polished pickers, rubles
   ========================================================== */

/* Filter button now lives inside the search field */
.bmk-search-input-wrap input{
  padding-right:84px!important;
}
.bmk-search-clear{
  right:45px!important;
}
.bmk-search-input-filter{
  position:absolute!important;
  right:5px!important;
  top:50%!important;
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  min-height:0!important;
  padding:0!important;
  transform:translateY(-50%)!important;
  border:1px solid rgba(131,183,53,.25)!important;
  border-radius:9px!important;
  background:#f1f7e9!important;
  color:#6b9638!important;
  box-shadow:none!important;
}
.bmk-search-input-filter svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
}
.bmk-search-input-filter i{
  position:absolute;
  right:-5px;
  top:-5px;
  display:grid;
  place-items:center;
  min-width:16px;
  height:16px;
  padding:0 3px;
  border:2px solid #fff;
  border-radius:99px;
  background:#83b735;
  color:#fff;
  font-size:6.5px;
  font-style:normal;
  font-weight:900;
}

/* The quick toolbar is intentionally simple now */
.bmk-search-toolbar{
  padding-right:14px!important;
}
.bmk-search-toolbar>button{
  min-height:32px!important;
}

/* Filter cards are full-width selectable rows */
button.bmk-search-filter-card{
  width:100%!important;
  grid-template-columns:40px minmax(0,1fr) 26px!important;
  min-height:64px!important;
  padding:10px 11px!important;
  border:1px solid #e4e8e1!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#333!important;
  text-align:left!important;
  text-transform:none!important;
  box-shadow:0 3px 11px rgba(15,23,42,.02)!important;
}
button.bmk-search-filter-card:hover{
  border-color:rgba(131,183,53,.35)!important;
  background:#fcfdfb!important;
}
.bmk-search-filter-card-copy strong,
.bmk-search-filter-card-copy small{
  display:block;
}
.bmk-search-filter-card-copy strong{
  color:#343934;
  font-size:10px;
  font-weight:800;
}
.bmk-search-filter-card-copy small{
  margin-top:3px;
  overflow:hidden;
  color:#92988f;
  font-size:8px;
  font-weight:500;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.bmk-search-filter-chevron{
  color:#a3a9a0;
  font-size:23px;
  font-weight:300;
  line-height:1;
  text-align:center;
}

/* Switches match the cards */
.bmk-search-filter-options{
  margin-top:8px!important;
}
.bmk-search-switch-row{
  min-height:65px;
  border-color:#e4e8e1!important;
  box-shadow:0 3px 11px rgba(15,23,42,.018);
}
.bmk-search-switch-row input:checked+i{
  box-shadow:0 0 0 3px rgba(131,183,53,.08);
}

/* Nested selection sheet: stores, categories, sorting */
.bmk-search-picker{
  position:absolute;
  z-index:5;
  inset:0;
  display:flex;
  flex-direction:column;
  visibility:hidden;
  transform:translateX(100%);
  border-radius:22px 22px 0 0;
  background:#f7f8f6;
  transition:transform .22s ease,visibility 0s linear .22s;
}
.bmk-search-picker.is-open{
  visibility:visible;
  transform:translateX(0);
  transition:transform .22s ease;
}
.bmk-search-picker-head{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  align-items:center;
  gap:9px;
  padding:13px 14px;
  border-bottom:1px solid #e8ebe5;
  background:#fff;
}
.bmk-search-picker-head>button{
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  min-height:0!important;
  padding:0!important;
  border:1px solid #e2e6df!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#575d56!important;
  font-size:17px!important;
  line-height:1!important;
  box-shadow:none!important;
}
.bmk-search-picker-head span,
.bmk-search-picker-head strong{
  display:block;
}
.bmk-search-picker-head span{
  color:#83b735;
  font-size:7px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.bmk-search-picker-head strong{
  margin-top:2px;
  color:#292d29;
  font-size:14px;
}
.bmk-search-picker-list{
  flex:1;
  overflow:auto;
  padding:10px 12px calc(13px + env(safe-area-inset-bottom));
}
.bmk-search-picker-option{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 28px!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  min-height:49px!important;
  margin-bottom:7px!important;
  padding:8px 10px 8px 13px!important;
  border:1px solid #e4e8e1!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#3d423c!important;
  font:inherit!important;
  font-size:9.5px!important;
  font-weight:700!important;
  text-align:left!important;
  text-transform:none!important;
  box-shadow:0 2px 9px rgba(15,23,42,.018)!important;
}
.bmk-search-picker-option i{
  display:none;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:50%;
  background:#83b735;
  color:#fff;
  font-size:9px;
  font-style:normal;
  font-weight:900;
}
.bmk-search-picker-option.is-selected{
  border-color:rgba(131,183,53,.55)!important;
  background:#f8fbf5!important;
  color:#56802a!important;
}
.bmk-search-picker-option.is-selected i{
  display:grid;
}

/* Hidden native selects are state holders only */
.bmk-search-filter-scroll>select[hidden]{
  display:none!important;
}

@media(max-width:640px){
  button.bmk-search-filter-card{
    grid-template-columns:38px minmax(0,1fr) 24px!important;
  }
  .bmk-search-filter-options{
    grid-template-columns:1fr!important;
  }
}


/* ==========================================================
   v1.5.0 — main search filter control + Global Cart bridge
   ========================================================== */

.bmk-search-entry-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) 52px;
  gap:8px;
  width:100%;
}
.bmk-search-entry-shell .bmk-search-entry-button{
  min-width:0!important;
  margin:0!important;
}
.bmk-search-entry-filter{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:52px!important;
  height:60px!important;
  min-height:60px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #dfe5da!important;
  border-radius:15px!important;
  background:#fff!important;
  color:#6a9637!important;
  box-shadow:0 5px 18px rgba(15,23,42,.045)!important;
}
.bmk-search-entry-filter:before{
  content:"";
  position:absolute;
  inset:8px;
  border-radius:11px;
  background:#f0f7e8;
}
.bmk-search-entry-filter svg{
  position:relative;
  z-index:1;
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.bmk-search-entry-filter:active{
  transform:scale(.97);
}

/* Same clear sliders icon inside the opened search field */
.bmk-search-input-filter{
  background:#eff7e7!important;
  border-color:rgba(131,183,53,.28)!important;
}
.bmk-search-input-filter svg{
  width:18px!important;
  height:18px!important;
  stroke-width:1.65!important;
}

@media(max-width:420px){
  .bmk-search-entry-shell{
    grid-template-columns:minmax(0,1fr) 50px;
    gap:7px;
  }
  .bmk-search-entry-filter{
    width:50px!important;
  }
}


/* ==========================================================
   v1.6.0 — homepage search + filters are ONE unified field
   ========================================================== */
.bmk-search-entry-shell{
  position:relative!important;
  display:block!important;
  width:100%!important;
}
.bmk-search-entry-shell .bmk-search-entry-button{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-height:60px!important;
  padding:8px 64px 8px 13px!important;
  border:1px solid #dfe5dc!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(15,23,42,.045)!important;
}
.bmk-search-entry-filter{
  position:absolute!important;
  z-index:3!important;
  right:8px!important;
  top:50%!important;
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0!important;
  transform:translateY(-50%)!important;
  border:0!important;
  border-radius:11px!important;
  background:#f0f7e8!important;
  color:#689537!important;
  box-shadow:none!important;
}
.bmk-search-entry-filter:before{
  display:none!important;
}
.bmk-search-entry-filter svg{
  width:20px!important;
  height:20px!important;
}
.bmk-search-entry-filter:hover,
.bmk-search-entry-filter:focus{
  background:#eaf4df!important;
  color:#5c8a2c!important;
}
.bmk-search-entry-filter:active{
  transform:translateY(-50%) scale(.96)!important;
}

@media(max-width:420px){
  .bmk-search-entry-shell{
    display:block!important;
  }
  .bmk-search-entry-shell .bmk-search-entry-button{
    padding-right:61px!important;
  }
  .bmk-search-entry-filter{
    right:7px!important;
    width:40px!important;
    height:40px!important;
    min-height:40px!important;
  }
}


/* v1.7.0 */
.bmk-search-entry-shell{
  position:relative!important;
  display:block!important;
  width:100%!important;
}
.bmk-search-entry-shell .bmk-search-entry-button{
  width:100%!important;
  padding-right:62px!important;
}
.bmk-search-entry-filter{
  position:absolute!important;
  z-index:3!important;
  right:8px!important;
  top:50%!important;
  width:42px!important;
  height:42px!important;
  min-height:42px!important;
  transform:translateY(-50%)!important;
  border:0!important;
  border-radius:11px!important;
  background:#f0f7e8!important;
  color:#689537!important;
  box-shadow:none!important;
}
.bmk-search-entry-filter:before{display:none!important}

.bmk-search-overlay.is-filter-only .bmk-search-sheet{
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translate(-50%,100%)!important;
}
.bmk-search-filter-drawer{
  position:absolute!important;
  inset:0!important;
  z-index:12!important;
  visibility:hidden;
  pointer-events:none;
}
.bmk-search-filter-drawer.is-open{
  visibility:visible!important;
  pointer-events:auto!important;
}
.bmk-search-filter-drawer:before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.32);
}
.bmk-search-filter-panel{
  z-index:1;
}
.bmk-search-picker-list{
  scrollbar-width:thin;
}


/* ==========================================================
   v1.8.0 — global BMK category hierarchy
   ========================================================== */
.bmk-search-picker-category{
  grid-template-columns:minmax(0,1fr) 24px!important;
  min-height:58px!important;
}
.bmk-search-picker-cat-main{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  gap:9px;
}
.bmk-search-picker-cat-main>b{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:9px;
  background:#f0f7e8;
  color:#689537;
  font-size:17px;
  font-weight:400;
}
.bmk-search-picker-cat-main strong,
.bmk-search-picker-cat-main small{
  display:block;
}
.bmk-search-picker-cat-main strong{
  color:#333a32;
  font-size:9.7px;
}
.bmk-search-picker-cat-main small{
  margin-top:2px;
  color:#979d95;
  font-size:7.4px;
}
.bmk-search-picker-category>em{
  color:#96a08f;
  font-size:20px;
  font-style:normal;
  text-align:center;
}
.bmk-search-picker-all span strong,
.bmk-search-picker-all span small{
  display:block;
}
.bmk-search-picker-all span strong{
  font-size:9.5px;
}
.bmk-search-picker-all span small{
  margin-top:2px;
  color:#939a91;
  font-size:7.4px;
}
.bmk-search-picker-empty{
  padding:35px 14px;
  color:#969d94;
  font-size:9px;
  text-align:center;
}


/* ==========================================================
   v1.9.0 — compact results and store-dependent categories
   ========================================================== */
.bmk-search-content{padding:8px 10px 14px!important;background:#f7f8f6!important}
.bmk-search-results-head{margin:0 2px 7px!important}
.bmk-search-results-section[hidden]{display:none!important}
.bmk-search-start,.bmk-search-popular-wrap,.bmk-search-toolbar{display:none!important}
.bmk-search-picker-cat-main>b{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;overflow:hidden!important;border:1px solid #e4e8e1!important;border-radius:9px!important;background:#f8faf7!important}
.bmk-search-picker-cat-main>b.has-image{background:#fff!important}
.bmk-search-picker-cat-main>b.has-image img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;padding:4px!important;box-sizing:border-box!important}
.bmk-search-picker-cat-main>b.is-empty{display:none!important}
.bmk-search-picker-cat-main:has(>b.is-empty){grid-template-columns:minmax(0,1fr)!important}


/* ==========================================================
   v1.9.1 — clean icons, no icon backgrounds
   ========================================================== */

/* Main search magnifier */
.bmk-search-entry-icon{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
}

/* Filter button inside the main search field */
.bmk-search-entry-filter{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.bmk-search-entry-filter:hover,
.bmk-search-entry-filter:focus{
  background:transparent!important;
}

/* Icons inside the opened search field */
.bmk-search-input-filter{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

/* Icons used by filter rows */
.bmk-search-filter-card-icon{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
}

/* Uploaded category icons in category picker */
.bmk-search-picker-cat-main>b,
.bmk-search-picker-cat-main>b.has-image{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
}
.bmk-search-picker-cat-main>b.has-image img{
  padding:0!important;
}

/* Any legacy search/icon blocks that might still be present from cached markup */
.bmk-search-start-icon{
  background:transparent!important;
  border:0!important;
}


/* ==========================================================
   v1.9.2 — category selection markers
   ========================================================== */
.bmk-search-picker-category>em.is-empty{
  visibility:hidden!important;
}
.bmk-search-picker-category>em.is-chevron{
  color:#969d94!important;
  font-size:20px!important;
  font-weight:300!important;
}
.bmk-search-picker-category>em.is-check{
  display:grid!important;
  place-items:center!important;
  width:24px!important;
  height:24px!important;
  border-radius:50%!important;
  background:#83b735!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:900!important;
}


/* ==========================================================
   BMK Smart Search v1.10.2 — selected store CTA
   ========================================================== */
.bmk-search-store-context{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 12px;
  border-bottom:1px solid #e9ede6;
  background:#fff;
}
.bmk-search-store-context[hidden]{
  display:none!important;
}
.bmk-search-store-context-copy{
  min-width:0;
}
.bmk-search-store-context-copy span,
.bmk-search-store-context-copy strong{
  display:block;
}
.bmk-search-store-context-copy span{
  color:#929991;
  font-size:7px;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.bmk-search-store-context-copy strong{
  margin-top:2px;
  overflow:hidden;
  color:#2f342f;
  font-size:10.5px;
  font-weight:800;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.bmk-search-store-link{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  flex:0 0 auto!important;
  min-height:34px!important;
  padding:0 10px!important;
  border:1px solid #83b735!important;
  border-radius:9px!important;
  background:#83b735!important;
  color:#fff!important;
  font-size:7.7px!important;
  font-weight:850!important;
  text-decoration:none!important;
  text-transform:none!important;
  box-shadow:none!important;
}
.bmk-search-store-link:hover{
  background:#78a932!important;
  color:#fff!important;
}
.bmk-search-store-link svg{
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}


/* ==========================================================
   BMK Smart Search v1.10.3 — infinite product loading
   ========================================================== */
.bmk-search-load-more{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:46px;
  margin:8px 0 2px;
  color:#8d948b;
}
.bmk-search-load-more[hidden]{
  display:none!important;
}
.bmk-search-load-more-spinner{
  width:17px;
  height:17px;
  border:2px solid #dfe5dc;
  border-top-color:#83b735;
  border-radius:50%;
  animation:bmk-search-more-spin .7s linear infinite;
}
.bmk-search-load-more small{
  font-size:7.5px;
  font-weight:700;
}
@keyframes bmk-search-more-spin{
  to{transform:rotate(360deg)}
}


/* ==========================================================
   BMK Smart Search v1.10.4
   Add button morphs into − quantity +
   ========================================================== */

.bmk-search-product-action{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-width:40px!important;
  overflow:visible!important;
}

.bmk-search-qty-control{
  position:relative!important;
  width:40px!important;
  height:40px!important;
  overflow:hidden!important;
  border:1px solid #83b735!important;
  border-radius:11px!important;
  background:#83b735!important;
  box-shadow:none!important;
  transition:
    width .24s cubic-bezier(.2,.8,.2,1),
    border-radius .2s ease,
    background .2s ease!important;
}

.bmk-search-qty-control.is-active{
  width:94px!important;
  border-color:#83b735!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 4px 12px rgba(71,104,45,.08)!important;
}

/* Initial plus button */
.bmk-search-qty-add{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:inherit!important;
  background:#83b735!important;
  color:#fff!important;
  opacity:1!important;
  transform:scale(1)!important;
  transition:
    opacity .14s ease,
    transform .2s cubic-bezier(.2,.8,.2,1)!important;
  box-shadow:none!important;
}

.bmk-search-qty-add svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
}

.bmk-search-qty-control.is-active .bmk-search-qty-add{
  opacity:0!important;
  transform:scale(.55)!important;
  pointer-events:none!important;
}

/* Stepper hidden inside the same control */
.bmk-search-qty-stepper{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  display:grid!important;
  grid-template-columns:31px 32px 31px!important;
  align-items:center!important;
  justify-content:center!important;
  opacity:0!important;
  transform:scaleX(.62)!important;
  transform-origin:center!important;
  pointer-events:none!important;
  transition:
    opacity .14s ease .04s,
    transform .24s cubic-bezier(.2,.8,.2,1)!important;
}

.bmk-search-qty-control.is-active .bmk-search-qty-stepper{
  opacity:1!important;
  transform:scaleX(1)!important;
  pointer-events:auto!important;
}

.bmk-search-qty-minus,
.bmk-search-qty-plus{
  display:grid!important;
  place-items:center!important;
  width:31px!important;
  height:38px!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#6d9839!important;
  box-shadow:none!important;
  transition:background .14s ease,transform .12s ease!important;
}

.bmk-search-qty-minus:hover,
.bmk-search-qty-plus:hover{
  background:#f2f8ec!important;
}

.bmk-search-qty-minus:active,
.bmk-search-qty-plus:active{
  transform:scale(.88)!important;
}

.bmk-search-qty-minus svg,
.bmk-search-qty-plus svg{
  width:15px!important;
  height:15px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
}

.bmk-search-qty-stepper strong{
  display:grid!important;
  place-items:center!important;
  width:32px!important;
  height:38px!important;
  color:#303630!important;
  font-size:10px!important;
  font-weight:850!important;
  line-height:1!important;
  text-align:center!important;
}

/* Busy state while real BMK cart is updating */
.bmk-search-qty-control.is-busy{
  pointer-events:none!important;
  opacity:.7!important;
}

.bmk-search-qty-control.is-busy:after{
  content:""!important;
  position:absolute!important;
  z-index:5!important;
  top:50%!important;
  left:50%!important;
  width:13px!important;
  height:13px!important;
  margin:-7px 0 0 -7px!important;
  border:2px solid rgba(255,255,255,.45)!important;
  border-top-color:#fff!important;
  border-radius:50%!important;
  animation:bmk-search-qty-spin .65s linear infinite!important;
}

.bmk-search-qty-control.is-active.is-busy:after{
  border-color:#dfe8d6!important;
  border-top-color:#83b735!important;
}

.bmk-search-qty-control.is-busy .bmk-search-qty-add,
.bmk-search-qty-control.is-busy .bmk-search-qty-stepper{
  opacity:.18!important;
}

@keyframes bmk-search-qty-spin{
  to{transform:rotate(360deg)}
}

/* Keep options/out-of-stock controls untouched */
.bmk-search-product-action>.bmk-search-action.is-options,
.bmk-search-product-action>.bmk-search-action.is-disabled{
  flex:0 0 auto!important;
}

/* On very narrow screens the expanded control remains compact */
@media(max-width:350px){
  .bmk-search-qty-control.is-active{
    width:88px!important;
  }

  .bmk-search-qty-stepper{
    grid-template-columns:29px 30px 29px!important;
  }

  .bmk-search-qty-minus,
  .bmk-search-qty-plus{
    width:29px!important;
  }

  .bmk-search-qty-stepper strong{
    width:30px!important;
  }
}


/* ==========================================================
   BMK Smart Search v1.10.5
   FINAL FILTER UI — canonical mobile-safe layout
   ========================================================== */

/* --- Drawer / panel ------------------------------------------------ */
.bmk-search-filter-drawer,
.bmk-search-filter-drawer *{
  box-sizing:border-box!important;
}

.bmk-search-filter-drawer{
  position:absolute!important;
  inset:0!important;
  z-index:40!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

.bmk-search-filter-drawer.is-open{
  visibility:visible!important;
  pointer-events:auto!important;
}

.bmk-search-filter-drawer:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:rgba(0,0,0,.34)!important;
}

.bmk-search-filter-panel{
  position:absolute!important;
  z-index:2!important;
  left:50%!important;
  bottom:0!important;

  display:flex!important;
  flex-direction:column!important;

  width:min(620px,100%)!important;
  height:min(72dvh,610px)!important;
  max-height:calc(100% - 18px)!important;
  min-height:390px!important;

  overflow:hidden!important;

  transform:translate(-50%,100%)!important;

  border-radius:22px 22px 0 0!important;
  background:#f7f8f6!important;
  box-shadow:0 -16px 48px rgba(0,0,0,.17)!important;

  transition:transform .25s cubic-bezier(.2,.8,.2,1)!important;
}

.bmk-search-filter-drawer.is-open .bmk-search-filter-panel{
  transform:translate(-50%,0)!important;
}

.bmk-search-filter-handle{
  flex:0 0 auto!important;
  width:42px!important;
  height:4px!important;
  margin:8px auto 2px!important;
  border-radius:99px!important;
  background:#d7dbd5!important;
}

/* --- Header -------------------------------------------------------- */
.bmk-search-filter-head{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;

  min-height:58px!important;
  padding:7px 12px 10px!important;

  border-bottom:1px solid #e9ede6!important;
  background:#fff!important;
}

.bmk-search-filter-head>div{
  min-width:0!important;
}

.bmk-search-filter-head>div span,
.bmk-search-filter-head>div strong{
  display:block!important;
  margin:0!important;
  padding:0!important;
}

.bmk-search-filter-head>div span{
  color:#83b735!important;
  font-size:7px!important;
  font-weight:900!important;
  line-height:1.1!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}

.bmk-search-filter-head>div strong{
  margin-top:3px!important;
  color:#292e29!important;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1.15!important;
}

.bmk-search-filter-head>button{
  flex:0 0 34px!important;
  display:grid!important;
  place-items:center!important;

  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;

  margin:0!important;
  padding:0!important;

  border:1px solid #e2e6df!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#737a70!important;

  font-size:20px!important;
  font-weight:400!important;
  line-height:1!important;

  text-indent:0!important;
  text-transform:none!important;

  box-shadow:none!important;
}

/* --- Scroll body --------------------------------------------------- */
.bmk-search-filter-scroll{
  flex:1 1 auto!important;
  min-height:0!important;

  display:block!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;

  padding:10px 10px 12px!important;

  background:#f7f8f6!important;

  scrollbar-width:thin!important;
  overscroll-behavior:contain!important;
}

/* Native select elements are state only */
.bmk-search-filter-scroll>select[hidden]{
  display:none!important;
}

/* --- Main selectable filter rows ---------------------------------- */
button.bmk-search-filter-card{
  position:relative!important;

  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) 20px!important;
  align-items:center!important;
  gap:9px!important;

  width:100%!important;
  min-width:0!important;
  min-height:56px!important;

  margin:0 0 7px!important;
  padding:8px 9px!important;

  border:1px solid #e3e8e0!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#303630!important;

  font:inherit!important;
  line-height:1!important;
  text-align:left!important;
  text-indent:0!important;
  text-transform:none!important;

  box-shadow:0 2px 9px rgba(15,23,42,.025)!important;

  appearance:none!important;
  -webkit-appearance:none!important;
}

button.bmk-search-filter-card:last-of-type{
  margin-bottom:0!important;
}

button.bmk-search-filter-card:hover,
button.bmk-search-filter-card:focus{
  border-color:rgba(131,183,53,.34)!important;
  background:#fff!important;
  color:#303630!important;
  outline:0!important;
  box-shadow:0 2px 10px rgba(15,23,42,.035)!important;
}

button.bmk-search-filter-card:active{
  transform:scale(.99)!important;
}

.bmk-search-filter-card-icon{
  display:grid!important;
  place-items:center!important;

  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;

  margin:0!important;
  padding:0!important;

  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#69933a!important;

  box-shadow:none!important;
}

.bmk-search-filter-card-icon svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;

  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.bmk-search-filter-card-copy{
  display:block!important;
  min-width:0!important;
  width:100%!important;

  margin:0!important;
  padding:0!important;
}

.bmk-search-filter-card-copy strong,
.bmk-search-filter-card-copy small{
  display:block!important;
  width:100%!important;
  min-width:0!important;

  margin:0!important;
  padding:0!important;

  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

.bmk-search-filter-card-copy strong{
  color:#343934!important;
  font-size:9.5px!important;
  font-weight:820!important;
  line-height:1.2!important;
}

.bmk-search-filter-card-copy small{
  margin-top:3px!important;
  color:#929990!important;
  font-size:7.4px!important;
  font-weight:500!important;
  line-height:1.2!important;
}

.bmk-search-filter-chevron{
  display:grid!important;
  place-items:center!important;

  width:20px!important;
  height:28px!important;

  margin:0!important;
  padding:0!important;

  color:#a0a79e!important;

  font-size:20px!important;
  font-weight:300!important;
  line-height:1!important;
  text-align:center!important;
}

/* --- Toggle rows --------------------------------------------------- */
.bmk-search-filter-options{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:7px!important;

  width:100%!important;
  margin:9px 0 0!important;
  padding:0!important;
}

.bmk-search-switch-row{
  position:relative!important;

  display:grid!important;
  grid-template-columns:minmax(0,1fr) 38px!important;
  align-items:center!important;
  gap:8px!important;

  width:100%!important;
  min-width:0!important;
  min-height:58px!important;

  margin:0!important;
  padding:9px 9px!important;

  border:1px solid #e3e8e0!important;
  border-radius:12px!important;
  background:#fff!important;

  color:#343934!important;
  cursor:pointer!important;

  box-shadow:0 2px 9px rgba(15,23,42,.02)!important;
}

.bmk-search-switch-row>span{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

.bmk-search-switch-row strong,
.bmk-search-switch-row small{
  display:block!important;
  margin:0!important;
  padding:0!important;
}

.bmk-search-switch-row strong{
  color:#3c423b!important;
  font-size:8.8px!important;
  font-weight:800!important;
  line-height:1.2!important;
}

.bmk-search-switch-row small{
  margin-top:3px!important;
  color:#979e95!important;
  font-size:6.7px!important;
  font-weight:500!important;
  line-height:1.25!important;
}

.bmk-search-switch-row input{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}

.bmk-search-switch-row>i{
  position:relative!important;

  display:block!important;
  justify-self:end!important;

  width:38px!important;
  height:22px!important;
  min-width:38px!important;

  margin:0!important;
  padding:0!important;

  border:0!important;
  border-radius:99px!important;
  background:#dfe3dd!important;

  box-shadow:none!important;

  transition:background .18s ease,box-shadow .18s ease!important;
}

.bmk-search-switch-row>i:after{
  content:""!important;
  position:absolute!important;

  left:3px!important;
  top:3px!important;

  width:16px!important;
  height:16px!important;

  border-radius:50%!important;
  background:#fff!important;

  box-shadow:0 1px 4px rgba(0,0,0,.17)!important;

  transition:transform .18s ease!important;
}

.bmk-search-switch-row input:checked+i{
  background:#83b735!important;
  box-shadow:0 0 0 3px rgba(131,183,53,.08)!important;
}

.bmk-search-switch-row input:checked+i:after{
  transform:translateX(16px)!important;
}

/* --- Bottom actions ------------------------------------------------ */
.bmk-search-filter-actions{
  flex:0 0 auto!important;

  display:grid!important;
  grid-template-columns:1fr 1.25fr!important;
  gap:8px!important;

  width:100%!important;

  margin:0!important;
  padding:9px 10px calc(9px + env(safe-area-inset-bottom))!important;

  border-top:1px solid #e6ebe3!important;
  background:#fff!important;
}

.bmk-search-filter-actions button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;

  width:100%!important;
  min-width:0!important;
  min-height:42px!important;

  margin:0!important;
  padding:0 9px!important;

  border-radius:10px!important;

  font:inherit!important;
  font-size:8.3px!important;
  font-weight:850!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-align:center!important;
  text-indent:0!important;
  text-transform:none!important;

  box-shadow:none!important;

  appearance:none!important;
  -webkit-appearance:none!important;
}

.bmk-search-filter-actions .is-light{
  border:1px solid #dfe5dc!important;
  background:#fff!important;
  color:#687067!important;
}

.bmk-search-filter-actions .is-primary{
  border:1px solid #83b735!important;
  background:#83b735!important;
  color:#fff!important;
}

/* --- Nested picker ------------------------------------------------- */
.bmk-search-picker{
  position:absolute!important;
  z-index:10!important;
  inset:0!important;

  display:flex!important;
  flex-direction:column!important;

  overflow:hidden!important;

  visibility:hidden!important;
  transform:translateX(100%)!important;

  border-radius:22px 22px 0 0!important;
  background:#f7f8f6!important;

  transition:
    transform .22s ease,
    visibility 0s linear .22s!important;
}

.bmk-search-picker.is-open{
  visibility:visible!important;
  transform:translateX(0)!important;
  transition:transform .22s ease!important;
}

.bmk-search-picker-head{
  flex:0 0 auto!important;

  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;

  min-height:58px!important;
  padding:8px 10px!important;

  border-bottom:1px solid #e7ebe4!important;
  background:#fff!important;
}

.bmk-search-picker-head>button{
  display:grid!important;
  place-items:center!important;

  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;

  margin:0!important;
  padding:0!important;

  border:1px solid #e1e6de!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#616860!important;

  font-size:16px!important;
  font-weight:500!important;
  line-height:1!important;

  text-indent:0!important;
  text-transform:none!important;

  box-shadow:none!important;
}

.bmk-search-picker-head>div{
  min-width:0!important;
}

.bmk-search-picker-head span,
.bmk-search-picker-head strong{
  display:block!important;
  margin:0!important;
  padding:0!important;
}

.bmk-search-picker-head span{
  color:#83b735!important;
  font-size:7px!important;
  font-weight:900!important;
  line-height:1.1!important;
  text-transform:uppercase!important;
  letter-spacing:.06em!important;
}

.bmk-search-picker-head strong{
  margin-top:3px!important;
  overflow:hidden!important;

  color:#292e29!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.2!important;

  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

.bmk-search-picker-list{
  flex:1 1 auto!important;
  min-height:0!important;

  overflow-x:hidden!important;
  overflow-y:auto!important;

  padding:9px 10px calc(10px + env(safe-area-inset-bottom))!important;

  background:#f7f8f6!important;

  scrollbar-width:thin!important;
  overscroll-behavior:contain!important;
}

/* Store/sort simple rows */
.bmk-search-picker-option{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 24px!important;
  align-items:center!important;
  gap:8px!important;

  width:100%!important;
  min-width:0!important;
  min-height:48px!important;

  margin:0 0 7px!important;
  padding:8px 9px 8px 11px!important;

  border:1px solid #e3e8e0!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#3b413a!important;

  font:inherit!important;
  font-size:9px!important;
  font-weight:720!important;
  line-height:1.25!important;
  text-align:left!important;
  text-indent:0!important;
  text-transform:none!important;

  box-shadow:0 2px 8px rgba(15,23,42,.02)!important;

  appearance:none!important;
  -webkit-appearance:none!important;
}

.bmk-search-picker-option:last-child{
  margin-bottom:0!important;
}

.bmk-search-picker-option>span{
  min-width:0!important;
}

.bmk-search-picker-option i{
  display:none!important;
  place-items:center!important;

  width:22px!important;
  height:22px!important;

  margin:0!important;
  padding:0!important;

  border-radius:50%!important;
  background:#83b735!important;
  color:#fff!important;

  font-size:8px!important;
  font-style:normal!important;
  font-weight:900!important;
  line-height:1!important;
}

.bmk-search-picker-option.is-selected{
  border-color:rgba(131,183,53,.45)!important;
  background:#f8fbf5!important;
  color:#56802a!important;
}

.bmk-search-picker-option.is-selected i{
  display:grid!important;
}

/* "All products in section" category row */
.bmk-search-picker-all span strong,
.bmk-search-picker-all span small{
  display:block!important;
  margin:0!important;
  padding:0!important;
}

.bmk-search-picker-all span strong{
  color:#343a33!important;
  font-size:9px!important;
  font-weight:800!important;
  line-height:1.2!important;
}

.bmk-search-picker-all span small{
  margin-top:3px!important;
  color:#949b92!important;
  font-size:6.9px!important;
  font-weight:500!important;
  line-height:1.2!important;
}

/* Category hierarchy rows */
.bmk-search-picker-category{
  grid-template-columns:minmax(0,1fr) 22px!important;
  min-height:54px!important;
  padding:7px 8px!important;
}

.bmk-search-picker-cat-main{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;

  min-width:0!important;
}

.bmk-search-picker-cat-main>b{
  display:grid!important;
  place-items:center!important;

  width:34px!important;
  height:34px!important;

  margin:0!important;
  padding:0!important;

  overflow:hidden!important;

  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#69933a!important;

  font-size:16px!important;
  font-weight:500!important;
}

.bmk-search-picker-cat-main>b.has-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;

  margin:0!important;
  padding:0!important;

  object-fit:contain!important;
  object-position:center!important;

  background:transparent!important;
}

.bmk-search-picker-cat-main>b.is-empty{
  display:none!important;
}

.bmk-search-picker-cat-main:has(>b.is-empty){
  grid-template-columns:minmax(0,1fr)!important;
}

.bmk-search-picker-cat-main>span{
  min-width:0!important;
}

.bmk-search-picker-cat-main strong,
.bmk-search-picker-cat-main small{
  display:block!important;
  min-width:0!important;

  margin:0!important;
  padding:0!important;

  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

.bmk-search-picker-cat-main strong{
  color:#343a33!important;
  font-size:9.1px!important;
  font-weight:800!important;
  line-height:1.2!important;
}

.bmk-search-picker-cat-main small{
  margin-top:3px!important;
  color:#969d94!important;
  font-size:6.9px!important;
  font-weight:500!important;
  line-height:1.2!important;
}

.bmk-search-picker-category>em{
  display:grid!important;
  place-items:center!important;

  width:22px!important;
  height:22px!important;

  margin:0!important;
  padding:0!important;

  font-style:normal!important;
  line-height:1!important;
  text-align:center!important;
}

.bmk-search-picker-category>em.is-chevron{
  color:#9aa198!important;
  font-size:18px!important;
  font-weight:300!important;
}

.bmk-search-picker-category>em.is-check{
  border-radius:50%!important;
  background:#83b735!important;
  color:#fff!important;

  font-size:8px!important;
  font-weight:900!important;
}

.bmk-search-picker-category>em.is-empty{
  visibility:hidden!important;
}

/* --- Mobile normalization ----------------------------------------- */
@media(max-width:640px){
  .bmk-search-filter-panel{
    width:100%!important;
    height:min(74dvh,600px)!important;
    min-height:380px!important;
  }

  .bmk-search-filter-options{
    grid-template-columns:1fr!important;
  }

  .bmk-search-switch-row{
    min-height:54px!important;
  }
}

@media(max-width:380px){
  .bmk-search-filter-scroll{
    padding-left:8px!important;
    padding-right:8px!important;
  }

  button.bmk-search-filter-card{
    grid-template-columns:31px minmax(0,1fr) 18px!important;
    gap:7px!important;
    padding:7px 8px!important;
  }

  .bmk-search-filter-card-icon{
    width:31px!important;
    height:31px!important;
    min-width:31px!important;
    min-height:31px!important;
  }

  .bmk-search-filter-actions{
    padding-left:8px!important;
    padding-right:8px!important;
  }
}


/* ==========================================================
   BMK Smart Search v1.10.6
   Global category -> store navigation
   ========================================================== */

.bmk-search-product-store{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  min-width:0!important;
}

.bmk-search-product-store-link{
  display:inline-flex!important;
  align-items:center!important;
  gap:3px!important;

  min-width:0!important;
  overflow:hidden!important;

  color:inherit!important;
  font:inherit!important;
  line-height:inherit!important;
  text-decoration:none!important;

  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

.bmk-search-product-store-link:hover{
  color:#669238!important;
}

.bmk-search-product-store-link em{
  flex:0 0 auto!important;

  margin:0!important;
  padding:0!important;

  color:#83b735!important;

  font-size:12px!important;
  font-style:normal!important;
  font-weight:500!important;
  line-height:1!important;
}

.bmk-search-store-context[data-context-action="pick-store"] .bmk-search-store-link{
  border-color:#dce7d3!important;
  background:#f4f9f0!important;
  color:#639231!important;
}

.bmk-search-store-context[data-context-action="pick-store"] .bmk-search-store-link:hover{
  background:#edf5e7!important;
  color:#568329!important;
}


/* ==========================================================
   BMK Smart Search v1.10.7
   FIX: subcategory back arrow stays in picker header
   ========================================================== */

/*
 * While the nested picker is open, the underlying Reset/Apply row must
 * never participate visually. This removes the possibility of a theme
 * button rule making the back action look like part of the bottom bar.
 */
.bmk-search-filter-drawer.has-open-picker .bmk-search-filter-actions{
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Picker must fully cover the filter panel from top to bottom. */
.bmk-search-filter-drawer.has-open-picker .bmk-search-picker.is-open{
  z-index:100!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  width:100%!important;
  height:100%!important;
}

/* Header never scrolls away and always stays above category rows. */
.bmk-search-picker-head{
  position:sticky!important;
  position:-webkit-sticky!important;
  top:0!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;

  z-index:120!important;

  flex:0 0 58px!important;
  width:100%!important;
  min-height:58px!important;
  height:58px!important;

  align-self:stretch!important;
  overflow:visible!important;

  background:#fff!important;
}

/*
 * Hard reset of the back button.
 * Important because Woodmart and older Smart Search CSS contain generic
 * button positioning rules that can otherwise move it into the footer.
 */
.bmk-search-picker-head>.bmk-search-picker-back{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;

  grid-column:1!important;
  grid-row:1!important;
  align-self:center!important;
  justify-self:start!important;

  display:grid!important;
  place-items:center!important;

  float:none!important;
  clear:none!important;

  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  min-height:34px!important;
  max-height:34px!important;

  margin:0!important;
  padding:0 0 2px!important;

  transform:none!important;

  border:1px solid #e1e6de!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#596158!important;

  font-family:Arial,sans-serif!important;
  font-size:19px!important;
  font-weight:400!important;
  line-height:1!important;
  text-align:center!important;
  text-indent:0!important;
  text-transform:none!important;

  box-shadow:none!important;
  overflow:hidden!important;

  appearance:none!important;
  -webkit-appearance:none!important;
}

/* Slightly stronger visual cue when the arrow means "up one category". */
.bmk-search-picker.is-subcategory .bmk-search-picker-back{
  border-color:#dce6d5!important;
  background:#f7faf5!important;
  color:#669337!important;
}

.bmk-search-picker-head>.bmk-search-picker-back:hover,
.bmk-search-picker-head>.bmk-search-picker-back:focus{
  border-color:#cad8c0!important;
  background:#f4f8f1!important;
  color:#5d8a32!important;
  outline:0!important;
  box-shadow:none!important;
}

/* Only the category list scrolls, never the picker header. */
.bmk-search-picker-list{
  position:relative!important;
  z-index:1!important;

  flex:1 1 auto!important;
  height:auto!important;
  min-height:0!important;

  overflow-x:hidden!important;
  overflow-y:auto!important;
}

/* Explicitly keep the footer behind the picker on all mobile widths. */
@media(max-width:640px){
  .bmk-search-filter-drawer.has-open-picker .bmk-search-filter-actions{
    display:grid!important;
    visibility:hidden!important;
  }

  .bmk-search-picker-head{
    flex-basis:56px!important;
    min-height:56px!important;
    height:56px!important;
  }
}


/* ==========================================================
   BMK Smart Search v1.10.8
   STRUCTURAL FIX: category back arrow can never fall to footer
   ========================================================== */

/*
 * The nested picker is now a true independent layer.
 * We intentionally do NOT rely on flex order or sticky positioning.
 */
.bmk-search-filter-panel{
  position:absolute!important;
}

.bmk-search-picker{
  position:absolute!important;
  z-index:300!important;

  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  inset:0!important;

  display:block!important;

  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;

  margin:0!important;
  padding:0!important;

  overflow:hidden!important;

  border-radius:22px 22px 0 0!important;
  background:#f7f8f6!important;

  visibility:hidden!important;
  pointer-events:none!important;

  transform:translateX(100%)!important;
  transition:
    transform .22s ease,
    visibility 0s linear .22s!important;
}

.bmk-search-picker.is-open{
  visibility:visible!important;
  pointer-events:auto!important;

  transform:translateX(0)!important;
  transition:transform .22s ease!important;
}

/*
 * Header is physically pinned to top:0.
 * It cannot participate in any bottom action/button layout.
 */
.bmk-search-picker-head{
  position:absolute!important;
  z-index:320!important;

  top:0!important;
  right:0!important;
  bottom:auto!important;
  left:0!important;

  display:block!important;

  width:100%!important;
  height:58px!important;
  min-height:58px!important;
  max-height:58px!important;

  margin:0!important;
  padding:0!important;

  overflow:hidden!important;

  border-bottom:1px solid #e7ebe4!important;
  border-radius:22px 22px 0 0!important;
  background:#fff!important;

  box-shadow:0 1px 0 rgba(0,0,0,.015)!important;
}

/*
 * Back is no longer a <button>, so Woodmart button rules cannot target it.
 * It is absolutely positioned in the top-left corner.
 */
.bmk-search-picker-head>.bmk-search-picker-back{
  position:absolute!important;

  top:12px!important;
  left:10px!important;
  right:auto!important;
  bottom:auto!important;
  inset:auto!important;

  z-index:330!important;

  display:grid!important;
  place-items:center!important;

  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;

  margin:0!important;
  padding:0!important;

  float:none!important;

  border:1px solid #e1e6de!important;
  border-radius:10px!important;

  background:#fff!important;
  color:#596158!important;

  box-shadow:none!important;

  cursor:pointer!important;
  transform:none!important;

  -webkit-tap-highlight-color:transparent!important;
  user-select:none!important;
}

.bmk-search-picker-head>.bmk-search-picker-back svg{
  display:block!important;

  width:16px!important;
  height:16px!important;

  margin:0!important;
  padding:0!important;

  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;

  pointer-events:none!important;
}

.bmk-search-picker.is-subcategory .bmk-search-picker-back{
  border-color:#d8e4cf!important;
  background:#f6faf3!important;
  color:#639234!important;
}

.bmk-search-picker-head>.bmk-search-picker-back:active{
  transform:scale(.94)!important;
}

.bmk-search-picker-head>.bmk-search-picker-back:focus{
  outline:2px solid rgba(131,183,53,.22)!important;
  outline-offset:1px!important;
}

/* Header text starts after the fixed back control. */
.bmk-search-picker-head>div{
  position:absolute!important;

  top:0!important;
  right:12px!important;
  bottom:0!important;
  left:54px!important;

  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;

  min-width:0!important;

  margin:0!important;
  padding:0!important;
}

.bmk-search-picker-head>div>span,
.bmk-search-picker-head>div>strong{
  display:block!important;

  width:100%!important;
  min-width:0!important;

  margin:0!important;
  padding:0!important;

  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

.bmk-search-picker-head>div>span{
  color:#83b735!important;
  font-size:7px!important;
  font-weight:900!important;
  line-height:1.1!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}

.bmk-search-picker-head>div>strong{
  margin-top:3px!important;

  color:#292e29!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.15!important;
}

/*
 * Only this area scrolls.
 * It starts exactly below the 58px header.
 */
.bmk-search-picker-list{
  position:absolute!important;
  z-index:301!important;

  top:58px!important;
  right:0!important;
  bottom:0!important;
  left:0!important;

  display:block!important;

  width:auto!important;
  height:auto!important;
  min-height:0!important;

  margin:0!important;
  padding:9px 10px calc(10px + env(safe-area-inset-bottom))!important;

  overflow-x:hidden!important;
  overflow-y:auto!important;

  background:#f7f8f6!important;

  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
}

/* Underlying footer has no visual presence while the picker is open. */
.bmk-search-filter-drawer.has-open-picker .bmk-search-filter-actions{
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Also hide the normal filter header/content behind the independent picker. */
.bmk-search-filter-drawer.has-open-picker .bmk-search-filter-handle,
.bmk-search-filter-drawer.has-open-picker .bmk-search-filter-head,
.bmk-search-filter-drawer.has-open-picker .bmk-search-filter-scroll{
  visibility:hidden!important;
  pointer-events:none!important;
}

/* The nested picker itself stays visible despite the rule above. */
.bmk-search-filter-drawer.has-open-picker .bmk-search-picker,
.bmk-search-filter-drawer.has-open-picker .bmk-search-picker *{
  visibility:revert!important;
}

.bmk-search-filter-drawer.has-open-picker .bmk-search-picker{
  visibility:visible!important;
}

/* Do not let global theme rules position role=button controls. */
.bmk-search-picker-back[role="button"]{
  box-sizing:border-box!important;
}

@media(max-width:640px){
  .bmk-search-picker-head{
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
  }

  .bmk-search-picker-head>.bmk-search-picker-back{
    top:11px!important;
  }

  .bmk-search-picker-list{
    top:56px!important;
  }
}


/* ==========================================================
   BMK Smart Search v1.10.9
   FINAL BACK ARROW FIX
   ========================================================== */

/* Header is always physically pinned to the top of the picker. */
.bmk-search-picker-head{
  position:absolute!important;
  z-index:100520!important;

  top:0!important;
  right:0!important;
  bottom:auto!important;
  left:0!important;
  inset:auto 0 auto 0!important;

  display:block!important;

  width:100%!important;
  height:58px!important;
  min-height:58px!important;
  max-height:58px!important;

  margin:0!important;
  padding:0!important;

  overflow:hidden!important;

  border:0!important;
  border-bottom:1px solid #e7ebe4!important;
  border-radius:22px 22px 0 0!important;

  background:#fff!important;
  box-shadow:0 1px 0 rgba(0,0,0,.015)!important;

  cursor:default!important;
  transform:none!important;
}

/* The visible back button is painted by the header itself. */
.bmk-search-picker-head::before{
  content:""!important;

  position:absolute!important;
  z-index:100521!important;

  top:12px!important;
  left:10px!important;

  width:34px!important;
  height:34px!important;

  border:1px solid #e1e6de!important;
  border-radius:10px!important;

  background:#fff!important;

  pointer-events:none!important;
}

.bmk-search-picker-head::after{
  content:""!important;

  position:absolute!important;
  z-index:100522!important;

  top:23px!important;
  left:24px!important;

  width:8px!important;
  height:8px!important;

  border-left:2px solid #596158!important;
  border-bottom:2px solid #596158!important;

  background:transparent!important;

  transform:rotate(45deg)!important;

  pointer-events:none!important;
}

.bmk-search-picker-head.is-subcategory::before{
  border-color:#d8e4cf!important;
  background:#f6faf3!important;
}

.bmk-search-picker-head.is-subcategory::after{
  border-left-color:#639234!important;
  border-bottom-color:#639234!important;
}

/* Header text starts after back area. */
.bmk-search-picker-head>div{
  position:absolute!important;

  top:0!important;
  right:12px!important;
  bottom:0!important;
  left:56px!important;

  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;

  width:auto!important;
  min-width:0!important;

  margin:0!important;
  padding:0!important;

  pointer-events:none!important;
}

/* Old movable back controls are completely disabled, even from cache. */
.bmk-search-picker-back,
[data-bmk-picker-close]{
  display:none!important;
  visibility:hidden!important;
  position:absolute!important;
  width:0!important;
  height:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}

/* List can only start below the fixed top header. */
.bmk-search-picker-list{
  top:58px!important;
}

/* Force picker above filter footer and site's mobile bottom toolbar. */
.bmk-search-filter-drawer.has-open-picker{
  z-index:100500!important;
}

.bmk-search-filter-drawer.has-open-picker .bmk-search-filter-panel,
.bmk-search-filter-drawer.has-open-picker .bmk-search-picker{
  z-index:100510!important;
}

.bmk-search-filter-drawer.has-open-picker .bmk-search-picker-head{
  z-index:100520!important;
}

/* Underlying BMK filter footer is invisible while category picker is open. */
.bmk-search-filter-drawer.has-open-picker .bmk-search-filter-actions{
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Do not let theme transforms reposition the header. */
.bmk-search-filter-drawer.has-open-picker .bmk-search-picker{
  transform:translateX(0)!important;
}

@media(max-width:640px){
  .bmk-search-picker-head{
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
  }

  .bmk-search-picker-head::before{
    top:11px!important;
  }

  .bmk-search-picker-head::after{
    top:22px!important;
  }

  .bmk-search-picker-list{
    top:56px!important;
  }
}


/* ==========================================================
   BMK Smart Search v1.10.10
   PORTAL BACK BUTTON — screenshot-specific final fix
   ========================================================== */

/* v1.10.9 arrow painted inside the transformed picker is disabled. */
.bmk-search-picker-head::before,
.bmk-search-picker-head::after{
  content:none!important;
  display:none!important;
}

/* Keep header text clear of the body-level Back button. */
.bmk-search-picker-head>div{
  left:56px!important;
}

/*
 * This button is appended DIRECTLY to document.body by JS.
 * It does not live inside Smart Search / Woodmart transformed layers.
 */
.bmk-search-picker-back-portal{
  position:fixed!important;
  z-index:2147482000!important;

  display:grid!important;
  place-items:center!important;

  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  max-width:34px!important;
  max-height:34px!important;

  margin:0!important;
  padding:0!important;

  float:none!important;

  border:1px solid #e1e6de!important;
  border-radius:10px!important;

  background:#fff!important;
  color:#596158!important;

  box-shadow:0 3px 12px rgba(0,0,0,.09)!important;

  cursor:pointer!important;
  opacity:1!important;
  visibility:visible!important;

  transform:none!important;

  appearance:none!important;
  -webkit-appearance:none!important;
  -webkit-tap-highlight-color:transparent!important;
}

.bmk-search-picker-back-portal.is-subcategory{
  border-color:#d8e4cf!important;
  background:#f6faf3!important;
  color:#639234!important;
}

.bmk-search-picker-back-portal svg{
  display:block!important;

  width:16px!important;
  height:16px!important;

  margin:0!important;
  padding:0!important;

  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;

  pointer-events:none!important;
}

.bmk-search-picker-back-portal:active{
  transform:scale(.94)!important;
}

.bmk-search-picker-back-portal:focus{
  outline:2px solid rgba(131,183,53,.22)!important;
  outline-offset:1px!important;
}


/* ==========================================================
   BMK Smart Search v1.10.11
   BACK NAVIGATION — normal-flow only, no fixed/floating arrow
   ========================================================== */

/* Permanently disable every legacy floating/back implementation. */
.bmk-search-picker-back-portal,
.bmk-search-picker-back,
[data-bmk-picker-close],
.bmk-search-picker-head::before,
.bmk-search-picker-head::after{
  display:none!important;
  visibility:hidden!important;
  content:none!important;
  pointer-events:none!important;
}

/* Header no longer reserves space for a floating arrow. */
.bmk-search-picker-head>div{
  left:12px!important;
}

/*
 * Back is now just the FIRST ROW INSIDE pickerList.
 * No position:absolute/fixed, no bottom, no portal, no special z-index.
 */
.bmk-search-picker-back-row{
  position:relative!important;
  inset:auto!important;

  display:grid!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;

  width:100%!important;
  min-width:0!important;
  min-height:44px!important;

  margin:0 0 8px!important;
  padding:6px 9px!important;

  float:none!important;

  border:1px solid #dfe6da!important;
  border-radius:11px!important;

  background:#fff!important;
  color:#5f8c35!important;

  box-shadow:0 2px 8px rgba(15,23,42,.025)!important;

  cursor:pointer!important;
  transform:none!important;

  user-select:none!important;
  -webkit-tap-highlight-color:transparent!important;
}

.bmk-search-picker-back-row.is-root{
  color:#697067!important;
  border-color:#e4e8e1!important;
}

.bmk-search-picker-back-row:active{
  transform:scale(.99)!important;
}

.bmk-search-picker-back-row:focus{
  outline:2px solid rgba(131,183,53,.16)!important;
  outline-offset:1px!important;
}

.bmk-search-picker-back-row-icon{
  display:grid!important;
  place-items:center!important;

  width:30px!important;
  height:30px!important;

  margin:0!important;
  padding:0!important;

  border-radius:9px!important;
  background:#f4f8f0!important;
  color:#639234!important;
}

.bmk-search-picker-back-row.is-root .bmk-search-picker-back-row-icon{
  background:#f5f6f4!important;
  color:#737a70!important;
}

.bmk-search-picker-back-row-icon svg{
  display:block!important;

  width:14px!important;
  height:14px!important;

  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.bmk-search-picker-back-row>strong{
  display:block!important;

  min-width:0!important;

  margin:0!important;
  padding:0!important;

  color:inherit!important;
  font-size:8.8px!important;
  font-weight:820!important;
  line-height:1.2!important;

  text-align:left!important;
}

/* The picker stays above site navigation, but contains no floating controls. */
.bmk-search-filter-drawer.has-open-picker{
  z-index:100500!important;
}

.bmk-search-filter-drawer.has-open-picker .bmk-search-picker{
  z-index:100510!important;
}


/* ==========================================================
   BMK Smart Search v1.10.15
   FIX: result-header spinner correctly stops
   ========================================================== */

/*
 * Earlier CSS sets every span in .bmk-search-results-head to display:block.
 * The loading indicator is also a span, so that author rule overrode the
 * browser's default [hidden]{display:none}. Explicitly restore hidden state.
 */
.bmk-search-results-head .bmk-search-loading[hidden],
.bmk-search-results-head [data-bmk-search-loading][hidden],
.bmk-search-results-head .bmk-search-loading:not(.is-active){
  display:none!important;
  visibility:hidden!important;
  animation:none!important;
}

/* Only an active search request may display/animate this spinner. */
.bmk-search-results-head .bmk-search-loading.is-active:not([hidden]){
  display:block!important;
  visibility:visible!important;

  width:18px!important;
  height:18px!important;

  flex:0 0 18px!important;

  border:2px solid #e4e8e1!important;
  border-top-color:#83b735!important;
  border-radius:50%!important;

  animation:bmkSearchSpin .65s linear infinite!important;
}

/* ==========================================================
   v1.10.19 — search field + separate filter button
   ========================================================== */
.bmk-search-input-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 46px;
  align-items:stretch;
  gap:8px;
  width:100%;
}
.bmk-search-input-row .bmk-search-input-wrap{
  min-width:0;
  width:100%;
}
.bmk-search-input-row .bmk-search-input-wrap input{
  padding-right:42px!important;
}
.bmk-search-input-row .bmk-search-clear{
  right:5px!important;
}
.bmk-search-input-row .bmk-search-input-filter{
  position:relative!important;
  right:auto!important;
  top:auto!important;
  display:grid!important;
  place-items:center!important;
  width:46px!important;
  height:46px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  border:1.5px solid #83b735!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#6b9638!important;
  box-shadow:0 0 0 3px rgba(131,183,53,.055)!important;
}
.bmk-search-input-row .bmk-search-input-filter:active{
  transform:scale(.97)!important;
}
.bmk-search-input-row .bmk-search-input-filter i{
  right:-5px;
  top:-5px;
}
@media(max-width:420px){
  .bmk-search-input-row{
    grid-template-columns:minmax(0,1fr) 44px;
    gap:7px;
  }
  .bmk-search-input-row .bmk-search-input-filter{
    width:44px!important;
    height:46px!important;
  }
}



/* ==========================================================
   v1.10.20 — homepage matches opened search: [search] [filter]
   ========================================================== */
.bmk-search-entry-shell{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 46px!important;
  align-items:stretch!important;
  gap:8px!important;
  width:100%!important;
}
.bmk-search-entry-shell .bmk-search-entry-button{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:0!important;
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  height:46px!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid #dfe5dc!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#252525!important;
  box-shadow:0 5px 18px rgba(15,23,42,.045)!important;
}
.bmk-search-entry-shell .bmk-search-entry-icon{
  flex:0 0 20px!important;
  display:grid!important;
  place-items:center!important;
  width:20px!important;
  height:20px!important;
  margin:0 9px 0 0!important;
  background:transparent!important;
  color:#6d8d49!important;
}
.bmk-search-entry-shell .bmk-search-entry-icon svg{
  width:20px!important;
  height:20px!important;
  stroke-width:1.8!important;
}
.bmk-search-entry-shell .bmk-search-entry-copy{
  min-width:0!important;
  display:block!important;
  flex:1 1 auto!important;
}
.bmk-search-entry-shell .bmk-search-entry-copy strong{
  display:block!important;
  overflow:hidden!important;
  color:#252525!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:44px!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.bmk-search-entry-shell .bmk-search-entry-copy small{
  display:none!important;
}
.bmk-search-entry-shell .bmk-search-entry-filter{
  position:relative!important;
  z-index:auto!important;
  right:auto!important;
  top:auto!important;
  display:grid!important;
  place-items:center!important;
  width:46px!important;
  height:46px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  border:1px solid #dfe5dc!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#6b9638!important;
  box-shadow:0 5px 18px rgba(15,23,42,.045)!important;
}
.bmk-search-entry-shell .bmk-search-entry-filter:before{
  display:none!important;
}
.bmk-search-entry-shell .bmk-search-entry-filter svg{
  width:18px!important;
  height:18px!important;
  stroke-width:1.65!important;
}
.bmk-search-entry-shell .bmk-search-entry-filter:hover,
.bmk-search-entry-shell .bmk-search-entry-filter:focus{
  background:#fff!important;
  color:#6b9638!important;
}
.bmk-search-entry-shell .bmk-search-entry-filter:active{
  transform:scale(.97)!important;
}
@media(max-width:420px){
  .bmk-search-entry-shell{
    grid-template-columns:minmax(0,1fr) 44px!important;
    gap:7px!important;
  }
  .bmk-search-entry-shell .bmk-search-entry-filter{
    width:44px!important;
    height:46px!important;
    min-height:46px!important;
  }
}


/* ==========================================================
   v1.10.21 — preserve previous frame colors
   ========================================================== */
/* Homepage keeps its original neutral frame color.
   Opened search keeps the green frame it already had before v1.10.20. */
.bmk-search-entry-shell .bmk-search-entry-button,
.bmk-search-entry-shell .bmk-search-entry-filter{
  border-color:#dfe5dc!important;
}

/* ==========================================================
   v1.10.29 — robust homepage sticky glass + 10px top breathing room
   ========================================================== */
/* Normal state stays exactly as the regular homepage search. */
.bmk-search-entry-home-sticky{
  position:relative!important;
  z-index:2;
  background:transparent!important;
  isolation:isolate;
}

/* JS portals the same node to <body> only while it is stuck. */
.bmk-search-entry-home-sticky.is-stuck{
  position:fixed!important;
  top:var(--bmk-search-home-sticky-top,0px)!important;
  z-index:1000!important;
  overflow:visible!important;
  contain:none!important;
  isolation:isolate;
}

/* Full-viewport background; controls themselves keep original width/layout. */
.bmk-search-entry-home-sticky::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-8px;
  bottom:-8px;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  pointer-events:none;
  opacity:0;
  background:rgba(255,255,255,0);
  border-bottom:1px solid rgba(255,255,255,0);
  border-radius:0;
  box-shadow:0 8px 24px rgba(20,30,16,0);
  -webkit-backdrop-filter:blur(0) saturate(100%);
  backdrop-filter:blur(0) saturate(100%);
  transition:
    opacity .18s ease,
    background-color .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    border-radius .30s cubic-bezier(.2,.8,.2,1),
    -webkit-backdrop-filter .22s ease,
    backdrop-filter .22s ease;
}
.bmk-search-entry-home-sticky.is-stuck::before{
  top:-10px;
  opacity:1;
  background:rgba(255,255,255,.74);
  border-bottom-color:rgba(255,255,255,.62);
  border-radius:0 0 18px 18px;
  box-shadow:0 8px 26px rgba(20,30,16,.10);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
  backdrop-filter:blur(18px) saturate(145%);
}
.bmk-search-entry-home-sticky .bmk-search-entry-shell{
  position:relative!important;
  z-index:1!important;
}

/* Marker remains in the original document flow and controls the threshold. */
.bmk-search-home-sentinel{
  display:block!important;
  width:1px!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  pointer-events:none!important;
}

/* Prevent layout jump while the real search is fixed in <body>. */
.bmk-search-home-placeholder{
  display:none;
  width:100%;
  height:0;
  margin:0;
  padding:0;
  border:0;
  visibility:hidden;
  pointer-events:none;
}

