/* BMK Catalog Drawer v1.0.0 */

.bmk-catalog-content,
.bmk-catalog-content *{
  box-sizing:border-box;
}

.bmk-catalog-content{
  width:100%;
  max-width:100%;
}

.bmk-catalog-heading{
  margin:0 2px 12px;
}

.bmk-catalog-heading h1{
  margin:0!important;
  padding:0!important;

  color:#252a25!important;

  font-size:19px!important;
  font-weight:850!important;
  line-height:1.15!important;
}

.bmk-catalog-heading p{
  margin:4px 0 0!important;
  padding:0!important;

  color:#929990!important;

  font-size:8px!important;
  font-weight:550!important;
  line-height:1.3!important;
}

/* Cards are a horizontal flowing catalog like product collections. */
.bmk-catalog-grid{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:var(--bmk-cat-basis-mobile,calc(45.45% - 5.5px));
  gap:var(--bmk-cat-gap,10px);

  width:100%;

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

  padding:1px 2px 7px;

  scroll-snap-type:x proximity;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}

.bmk-catalog-grid::-webkit-scrollbar{
  display:none;
}

.bmk-catalog-card{
  position:relative;

  width:100%;
  height:var(--bmk-cat-height,128px);

  overflow:hidden;

  border-radius:var(--bmk-cat-radius,16px);

  background:#fff;

  box-shadow:0 3px 12px rgba(0,0,0,.07);

  scroll-snap-align:start;
}

.bmk-catalog-card-hit{
  position:absolute!important;
  inset:0!important;

  display:block!important;

  color:#fff!important;
  text-decoration:none!important;
}

.bmk-catalog-card-bg{
  position:absolute;
  inset:0;

  display:block;

  background-image:var(--bmk-cat-bg);
  background-size:cover;
  background-position:center;

  transform:scale(1.01);

  transition:transform .28s ease;
}

.bmk-catalog-card-shade{
  position:absolute;
  inset:0;

  display:block;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.02) 0%,
      rgba(0,0,0,calc(var(--bmk-cat-overlay,.38) * .35)) 45%,
      rgba(0,0,0,var(--bmk-cat-overlay,.38)) 100%
    );
}

.bmk-catalog-card-copy{
  position:absolute;

  right:9px;
  bottom:9px;
  left:9px;

  display:block;
}

.bmk-catalog-card-copy strong{
  display:-webkit-box;

  overflow:hidden;

  color:#fff;

  font-size:11px;
  font-weight:850;
  line-height:1.2;

  text-shadow:0 1px 6px rgba(0,0,0,.2);

  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

.bmk-catalog-card-copy small{
  display:-webkit-box;

  overflow:hidden;

  margin-top:4px;

  color:rgba(255,255,255,.88);

  font-size:6.5px;
  font-weight:550;
  line-height:1.3;

  text-shadow:0 1px 5px rgba(0,0,0,.2);

  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

.bmk-catalog-card-copy em{
  display:inline-flex;
  align-items:center;
  gap:4px;

  min-height:25px;

  margin-top:7px;
  padding:0 8px;

  border-radius:8px;

  background:rgba(255,255,255,.94);
  color:#4f6244;

  font-size:6.3px;
  font-style:normal;
  font-weight:850;
  line-height:1;

  box-shadow:0 2px 7px rgba(0,0,0,.1);
}

.bmk-catalog-card-copy em svg{
  width:10px;
  height:10px;

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

.bmk-catalog-card:active .bmk-catalog-card-bg{
  transform:scale(1.04);
}

.bmk-catalog-empty{
  padding:25px 14px;

  border:1px dashed #dfe5db;
  border-radius:14px;

  background:#fafbf9;
  color:#91988f;

  font-size:8px;
  font-weight:650;
  text-align:center;
}

/* ---------------- Drawer ---------------- */

html.bmk-catalog-lock,
body.bmk-catalog-lock{
  overflow:hidden!important;
  touch-action:none;
}

.bmk-catalog-drawer{
  position:fixed;
  z-index:100600;

  inset:0;

  visibility:hidden;
  pointer-events:none;
}

.bmk-catalog-drawer.is-open{
  visibility:visible;
  pointer-events:auto;
}

.bmk-catalog-drawer-backdrop{
  position:absolute;
  inset:0;

  background:rgba(0,0,0,.34);

  opacity:0;

  transition:opacity .24s ease;
}

.bmk-catalog-drawer.is-open .bmk-catalog-drawer-backdrop{
  opacity:1;
}

.bmk-catalog-drawer-panel{
  position:absolute;

  right:0;
  bottom:0;
  left:0;

  display:flex;
  flex-direction:column;

  height:calc(100dvh - var(--bmk-catalog-top,58px));
  max-height:calc(100dvh - var(--bmk-catalog-top,58px));

  overflow:hidden;

  border-radius:20px 20px 0 0;

  background:#f8f9f7;

  box-shadow:0 -18px 45px rgba(0,0,0,.17);

  transform:translateY(102%);

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

.bmk-catalog-drawer.is-open .bmk-catalog-drawer-panel{
  transform:translateY(0);
}

.bmk-catalog-drawer-head{
  flex:0 0 53px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;

  min-height:53px;

  padding:7px 10px 7px 13px;

  border-bottom:1px solid #e7ebe4;

  background:#fff;
}

.bmk-catalog-drawer-head strong{
  color:#292e29;

  font-size:13px;
  font-weight:850;
  line-height:1.15;
}

.bmk-catalog-drawer-close{
  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:#70776e!important;

  box-shadow:none!important;
}

.bmk-catalog-drawer-close svg{
  width:16px;
  height:16px;

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

.bmk-catalog-drawer-scroll{
  flex:1 1 auto;
  min-height:0;

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

  padding:12px 10px calc(18px + env(safe-area-inset-bottom));

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

.bmk-catalog-drawer .bmk-catalog-heading h1{
  font-size:17px!important;
}

/* Loading */
.bmk-catalog-loading{
  display:grid;
  place-items:center;

  min-height:180px;
}

.bmk-catalog-loading i{
  width:25px;
  height:25px;

  border:2px solid #e2e7df;
  border-top-color:#83b735;
  border-radius:50%;

  animation:bmkCatalogSpin .65s linear infinite;
}

@keyframes bmkCatalogSpin{
  to{transform:rotate(360deg)}
}

/* ---------------- Bottom toolbar button ---------------- */

.bmk-catalog-toolbar-item{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;

  flex:1 1 0!important;
  min-width:0!important;

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

.bmk-catalog-toolbar-button,
.bmk-catalog-open-button{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;

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

  margin:0!important;
  padding:3px 4px!important;

  border:0!important;
  border-radius:0!important;

  background:transparent!important;
  color:inherit!important;

  font:inherit!important;
  font-size:9px!important;
  font-weight:600!important;
  line-height:1!important;

  text-transform:none!important;

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

.bmk-catalog-toolbar-button svg,
.bmk-catalog-open-icon svg{
  display:block;

  width:20px;
  height:20px;

  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
}

.bmk-catalog-toolbar-item.is-active .bmk-catalog-toolbar-button{
  color:#83b735!important;
}

@media(min-width:768px){
  .bmk-catalog-grid{
    grid-auto-columns:var(--bmk-cat-basis-desktop,calc(25% - 7.5px));
  }

  .bmk-catalog-drawer-panel{
    right:max(0px,calc((100vw - 900px)/2));
    left:max(0px,calc((100vw - 900px)/2));

    border-radius:20px 20px 0 0;
  }
}


/* ==========================================================
   BMK Catalog Drawer v1.0.1
   Manual button placement only
   ========================================================== */

/* Old auto-injected toolbar item is no longer created. Hide stale markup if cached. */
.bmk-catalog-toolbar-item{
  display:none!important;
}


/* ==========================================================
   BMK Catalog Drawer v1.0.2
   Full visual editor for catalog block
   ========================================================== */

.bmk-catalog-content{
  padding:
    var(--bmk-cat-section-py,0px)
    var(--bmk-cat-section-px,0px)!important;

  border-radius:var(--bmk-cat-section-radius,0px)!important;
  background:var(--bmk-cat-section-bg,#fff)!important;
}

.bmk-catalog-heading{
  text-align:var(--bmk-cat-heading-align,left)!important;
}

.bmk-catalog-heading h1{
  font-size:var(--bmk-cat-heading-size,19px)!important;
  text-align:inherit!important;
}

.bmk-catalog-heading p{
  font-size:var(--bmk-cat-subtitle-size,8px)!important;
  text-align:inherit!important;
}

.bmk-catalog-card{
  border:
    var(--bmk-cat-border-width,0px)
    solid
    var(--bmk-cat-border,#e8ece6)!important;

  box-shadow:
    0 3px 12px
    rgba(0,0,0,var(--bmk-cat-shadow,.07))!important;
}

.bmk-catalog-card-bg{
  background-size:var(--bmk-cat-bg-size,var(--bmk-cat-image-fit,cover))!important;
  background-position:var(--bmk-cat-image-position,center)!important;
  background-repeat:no-repeat!important;
}

.bmk-catalog-card-copy{
  text-align:var(--bmk-cat-text-align,left)!important;
}

.bmk-catalog-card-copy strong{
  color:var(--bmk-cat-text-color,#fff)!important;
  font-size:var(--bmk-cat-title-size,11px)!important;
  text-align:inherit!important;
}

.bmk-catalog-card-copy small{
  color:var(--bmk-cat-text-color,#fff)!important;
  font-size:var(--bmk-cat-description-size,6.5px)!important;
  text-align:inherit!important;
}

.bmk-catalog-card-copy em{
  border-radius:var(--bmk-cat-button-radius,8px)!important;
  background:var(--bmk-cat-button-bg,#fff)!important;
  color:var(--bmk-cat-button-text,#4f6244)!important;
  font-size:var(--bmk-cat-button-size,6.3px)!important;
}


/* ==========================================================
   BMK Catalog Drawer v1.0.3
   Category title + description in the top-left corner
   ========================================================== */

.bmk-catalog-card-copy{
  top:var(--bmk-cat-text-offset-y,10px)!important;
  left:var(--bmk-cat-text-offset-x,10px)!important;
  right:var(--bmk-cat-text-offset-x,10px)!important;
  bottom:auto!important;

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

  text-align:var(--bmk-cat-text-align,left)!important;
}

/* Title and description stay together in the upper-left area. */
.bmk-catalog-card-copy strong,
.bmk-catalog-card-copy small{
  text-align:inherit!important;
}

/* If the card button is enabled, it sits below the description. */
.bmk-catalog-card-copy em{
  margin-top:7px!important;
}


/* ==========================================================
   BMK Catalog Drawer v1.0.4
   Two-line category title + clean text without shadows
   ========================================================== */

.bmk-catalog-card-title{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;

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

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

  color:var(--bmk-cat-text-color,#fff)!important;
  font-size:var(--bmk-cat-title-size,11px)!important;
  font-weight:850!important;
  line-height:1.14!important;

  text-align:var(--bmk-cat-text-align,left)!important;

  text-shadow:none!important;
}

.bmk-catalog-card-title-line{
  display:block!important;
  width:100%!important;
  min-width:0!important;

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

  color:inherit!important;
  font:inherit!important;
  line-height:1.14!important;

  text-align:inherit!important;
  text-shadow:none!important;
}

.bmk-catalog-card-title-first{
  white-space:nowrap!important;
}

.bmk-catalog-card-title-rest{
  margin-top:2px!important;

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

/* Remove old theme/plugin text shadows from title and description. */
.bmk-catalog-card-copy strong,
.bmk-catalog-card-copy strong *,
.bmk-catalog-card-copy small,
.bmk-catalog-card-copy small *{
  text-shadow:none!important;
}


/* ==========================================================
   BMK Catalog Drawer v1.1.0
   Catalog sections / groups
   ========================================================== */

.bmk-catalog-section-tabs{
  display:flex;
  align-items:center;
  gap:7px;

  width:100%;

  margin:0 0 13px;
  padding:0 2px 4px;

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

  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.bmk-catalog-section-tabs::-webkit-scrollbar{
  display:none;
}

.bmk-catalog-section-tab{
  flex:0 0 auto!important;

  min-height:31px!important;

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

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

  background:#fff!important;
  color:#50574e!important;

  font-size:7.5px!important;
  font-weight:800!important;
  line-height:1!important;

  text-transform:none!important;

  box-shadow:none!important;
}

.bmk-catalog-section-tab:active,
.bmk-catalog-section-tab:hover{
  border-color:#83b735!important;
  color:#6d9a39!important;
}

.bmk-catalog-sections{
  display:flex;
  flex-direction:column;
  gap:var(--bmk-cat-section-gap,18px);
}

.bmk-catalog-section{
  width:100%;
  scroll-margin-top:12px;
}

.bmk-catalog-section-head{
  margin:0 2px 8px;
}

.bmk-catalog-section-head strong{
  display:block;

  margin:0;

  color:#252a25;

  font-size:var(--bmk-cat-section-title-size,15px);
  font-weight:850;
  line-height:1.2;
}

.bmk-catalog-section-head small{
  display:block;

  margin-top:3px;

  color:#949b92;

  font-size:7px;
  font-weight:550;
  line-height:1.3;
}

/* Every section owns a horizontally scrollable row of category cards. */
.bmk-catalog-section .bmk-catalog-grid{
  margin:0;
}

/* ==========================================================
   BMK Catalog Drawer v1.3.0
   Global Catalog icon-safe cards
   ========================================================== */

.bmk-catalog-card.is-global-icon{
  background:#fff!important;
  border-color:#e6ebe2!important;
}

.bmk-catalog-card.is-global-icon .bmk-catalog-card-bg{
  background-size:62px 62px!important;
  background-position:right 10px bottom 10px!important;
  background-repeat:no-repeat!important;
  transform:none!important;
}

.bmk-catalog-card.is-global-icon .bmk-catalog-card-shade{
  background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.94) 55%,rgba(255,255,255,.3) 100%)!important;
}

.bmk-catalog-card.is-global-icon .bmk-catalog-card-copy{
  right:42%!important;
}

.bmk-catalog-card.is-global-icon .bmk-catalog-card-title,
.bmk-catalog-card.is-global-icon .bmk-catalog-card-title-line,
.bmk-catalog-card.is-global-icon .bmk-catalog-card-copy strong{
  color:#2f372d!important;
}

.bmk-catalog-card.is-global-icon .bmk-catalog-card-copy small{
  color:#798276!important;
}

.bmk-catalog-card.is-global-icon .bmk-catalog-card-copy em{
  background:#fff!important;
  color:#5f8f32!important;
  box-shadow:0 2px 7px rgba(42,57,36,.08)!important;
}


/* ==========================================================
   BMK Catalog Drawer v1.3.1
   Sticky catalog tabs + active category state
   ========================================================== */

/* On the full catalog page the top category row remains visible while scrolling. */
.bmk-catalog-content.is-page .bmk-catalog-section-tabs{
  position:sticky;
  top:var(--bmk-catalog-sticky-top,0px);
  z-index:45;

  margin:0 0 13px;
  padding:8px 2px;

  background:var(--bmk-cat-section-bg,#fff)!important;

  box-shadow:0 7px 14px rgba(24,36,18,.05);
}

/* The section currently visible on screen is highlighted in BMK green. */
.bmk-catalog-section-tab.is-active,
.bmk-catalog-section-tab[aria-current="true"],
.bmk-catalog-section-tab.is-active:hover,
.bmk-catalog-section-tab.is-active:active{
  border-color:#83b735!important;
  background:#83b735!important;
  color:#fff!important;
  box-shadow:0 4px 10px rgba(131,183,53,.20)!important;
}

.bmk-catalog-content.is-page .bmk-catalog-section{
  scroll-margin-top:calc(var(--bmk-catalog-sticky-top,0px) + 54px);
}


/* ==========================================================
   BMK Catalog Drawer v1.3.3
   Full-width sticky navigation + true category grid
   ========================================================== */

/* Category cards are a real responsive grid, never a horizontal carousel. */
.bmk-catalog-grid,
.bmk-catalog-section .bmk-catalog-grid{
  display:grid!important;
  grid-auto-flow:row!important;
  grid-auto-columns:auto!important;
  grid-template-columns:repeat(var(--bmk-cat-grid-cols-mobile,2),minmax(0,1fr))!important;
  gap:var(--bmk-cat-gap,10px)!important;
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
  padding:1px 2px 7px!important;
  scroll-snap-type:none!important;
  overscroll-behavior:auto!important;
}

.bmk-catalog-card{
  min-width:0!important;
  scroll-snap-align:none!important;
}

@media(min-width:768px){
  .bmk-catalog-grid,
  .bmk-catalog-section .bmk-catalog-grid{
    grid-template-columns:repeat(var(--bmk-cat-grid-cols-desktop,4),minmax(0,1fr))!important;
  }
}

/* The sticky category navigation breaks out of the theme container and spans the viewport. */
.bmk-catalog-content.is-page .bmk-catalog-section-tabs{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:8px max(12px,env(safe-area-inset-left)) 8px max(12px,env(safe-area-inset-right))!important;
  border-radius:0!important;
}

/* Main category title is itself a category link. */
.bmk-catalog-section-link{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  max-width:100%!important;
  color:#252a25!important;
  text-decoration:none!important;
}

.bmk-catalog-section-link strong{
  color:inherit!important;
}

.bmk-catalog-section-link span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#83b735!important;
  font-size:1em!important;
  line-height:1!important;
  transition:transform .18s ease!important;
}

.bmk-catalog-section-link:hover,
.bmk-catalog-section-link:focus-visible{
  color:#83b735!important;
  text-decoration:none!important;
}

.bmk-catalog-section-link:hover span{
  transform:translateX(2px);
}

/* ===== BMK Catalog Drawer 1.4.0: direct global category pages ===== */
.bmk-category-page{width:100%;max-width:1280px;margin:0 auto;padding:0 14px 32px;box-sizing:border-box}
.bmk-category-page-head{padding:10px 0 16px}
.bmk-category-page-head h1{margin:8px 0 0;font-size:clamp(24px,4vw,36px);line-height:1.12;color:#222}
.bmk-category-back{display:inline-flex;align-items:center;gap:6px;color:#5f6d56;text-decoration:none;font-size:13px;font-weight:700}
.bmk-category-back:hover{color:#83b735}
.bmk-category-children{margin:0 0 28px}
.bmk-category-children-grid{display:grid;grid-template-columns:repeat(var(--bmk-cat-grid-cols-mobile),minmax(0,1fr));gap:var(--bmk-cat-gap)}
.bmk-category-child-card{min-width:0;width:100%}
.bmk-category-products{margin-top:18px}
.bmk-category-products-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px}
.bmk-category-products-head h2{margin:0;color:#222;font-size:20px;line-height:1.2}
.bmk-category-products-head span{color:#8a8a8a;font-size:12px}
.bmk-category-products-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bmk-category-products-loading,.bmk-category-products-empty{grid-column:1/-1;padding:28px 14px;text-align:center;border:1px solid #edf0eb;border-radius:16px;background:#fafbf9;color:#7b8377}
.bmk-category-product{min-width:0;overflow:hidden;border:1px solid #edf0eb;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(26,41,20,.05)}
.bmk-category-product-image{position:relative;display:block;aspect-ratio:1/1;background:#fafafa;overflow:hidden}
.bmk-category-product-image img{display:block;width:100%;height:100%;object-fit:contain}
.bmk-category-product-image>b{position:absolute;left:8px;top:8px;padding:4px 7px;border-radius:8px;background:#83b735;color:#fff;font-size:10px;line-height:1}
.bmk-category-product-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:34px}
.bmk-category-product-body{padding:10px}
.bmk-category-product-name{display:-webkit-box;min-height:36px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#222;text-decoration:none;font-size:13px;font-weight:700;line-height:1.35}
.bmk-category-product-store{display:flex;align-items:center;gap:5px;min-width:0;margin-top:6px;color:#7d8479;font-size:10px}
.bmk-category-product-store i{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#bbb}
.bmk-category-product-store i.is-open{background:#83b735}
.bmk-category-product-store i.is-closed{background:#bbb}
.bmk-category-product-store a,.bmk-category-product-store span{min-width:0;overflow:hidden;color:inherit;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}
.bmk-category-product-store em{font-style:normal}
.bmk-category-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.bmk-category-product-price{display:flex;align-items:baseline;gap:5px;min-width:0}
.bmk-category-product-price strong{color:#222;font-size:14px;line-height:1.1}
.bmk-category-product-price del{color:#aaa;font-size:10px}
.bmk-category-product-open{display:inline-flex;width:34px;height:34px;flex:0 0 34px;align-items:center;justify-content:center;border-radius:11px;background:#83b735;color:#fff!important;text-decoration:none;font-size:18px;font-weight:800}
.bmk-category-load-more{display:block;min-width:160px;margin:18px auto 0;padding:11px 18px;border:0;border-radius:12px;background:#83b735;color:#fff;font-weight:700;cursor:pointer}
.bmk-category-load-more[hidden]{display:none!important}
.bmk-category-load-more:disabled{opacity:.65;cursor:wait}
@media (min-width:768px){
  .bmk-category-page{padding-left:20px;padding-right:20px}
  .bmk-category-children-grid{grid-template-columns:repeat(var(--bmk-cat-grid-cols-desktop),minmax(0,1fr))}
  .bmk-category-products-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .bmk-category-product-name{font-size:14px}
}

/* BMK Catalog Drawer 1.4.3: рекламная зона между sticky-навигацией и каталогом */
.bmk-catalog-content.is-page .bmk-catalog-ad-slot{
    width:100%;
    max-width:100%;
    margin:12px 0 18px;
    position:relative;
    z-index:1;
}
.bmk-catalog-content.is-page .bmk-catalog-ad-slot img,
.bmk-catalog-content.is-page .bmk-catalog-ad-slot iframe,
.bmk-catalog-content.is-page .bmk-catalog-ad-slot video{
    max-width:100%;
}


/* ==========================================================
   BMK Catalog Drawer v1.4.5
   White base category cards
   ========================================================== */
.bmk-catalog-card.is-no-image{
  background:#fff!important;
  border-color:#e6ebe2!important;
}

.bmk-catalog-card.is-no-image .bmk-catalog-card-bg{
  background-image:none!important;
}

.bmk-catalog-card.is-no-image .bmk-catalog-card-shade{
  background:transparent!important;
}

.bmk-catalog-card.is-no-image .bmk-catalog-card-title,
.bmk-catalog-card.is-no-image .bmk-catalog-card-title-line,
.bmk-catalog-card.is-no-image .bmk-catalog-card-copy strong{
  color:#2f372d!important;
}

.bmk-catalog-card.is-no-image .bmk-catalog-card-copy small{
  color:#798276!important;
}

.bmk-catalog-card.is-no-image .bmk-catalog-card-copy em{
  background:#f4f8f1!important;
  color:#5f8f32!important;
  box-shadow:none!important;
}

/* ==========================================================
   BMK Catalog Drawer v1.4.7
   User backgrounds are anchored to the bottom-right corner
   ========================================================== */
.bmk-catalog-card:not(.is-global-icon):not(.is-no-image) .bmk-catalog-card-bg{
  background-position:right bottom!important;
  background-repeat:no-repeat!important;
  transform:none!important;
}

/* ==========================================================
   BMK Catalog Drawer v1.5.0
   Bento grid: per-category card spans
   ========================================================== */
.bmk-catalog-content.layout-bento .bmk-catalog-grid,
.bmk-catalog-content.layout-bento .bmk-catalog-section .bmk-catalog-grid{
  grid-auto-flow:dense!important;
  grid-auto-rows:var(--bmk-cat-height,128px)!important;
  align-items:stretch!important;
}

.bmk-catalog-content.layout-bento .bmk-catalog-card{
  height:auto!important;
  min-height:var(--bmk-cat-height,128px)!important;
  grid-column:span var(--bmk-cat-col-span-m,1)!important;
  grid-row:span var(--bmk-cat-row-span-m,1)!important;
}

.bmk-catalog-content.layout-uniform .bmk-catalog-card{
  grid-column:span 1!important;
  grid-row:span 1!important;
}

@media(min-width:768px){
  .bmk-catalog-content.layout-bento .bmk-catalog-card{
    grid-column:span var(--bmk-cat-col-span-d,1)!important;
    grid-row:span var(--bmk-cat-row-span-d,1)!important;
  }
}

/* Keep text readable on taller/wider Bento tiles. */
.bmk-catalog-content.layout-bento .bmk-catalog-card[data-bmk-card-size="1x2"] .bmk-catalog-card-copy,
.bmk-catalog-content.layout-bento .bmk-catalog-card[data-bmk-card-size="2x2"] .bmk-catalog-card-copy{
  bottom:12px;
}

.bmk-catalog-content.layout-bento .bmk-catalog-card[data-bmk-card-size="2x1"] .bmk-catalog-card-copy,
.bmk-catalog-content.layout-bento .bmk-catalog-card[data-bmk-card-size="3x1"] .bmk-catalog-card-copy{
  right:44%;
}

@media(max-width:767px){
  .bmk-catalog-content.layout-bento .bmk-catalog-card[data-bmk-card-size-mobile="2x1"] .bmk-catalog-card-copy{
    right:42%;
  }
}

/* ==========================================================
   BMK Catalog Drawer v1.5.1
   Category groups as separate rounded cards
   ========================================================== */
.bmk-catalog-content.is-page.has-group-blocks .bmk-catalog-sections{
  gap:var(--bmk-cat-section-gap,18px)!important;
}

.bmk-catalog-content.is-page.has-group-blocks .bmk-catalog-section{
  box-sizing:border-box;
  padding:var(--bmk-cat-group-padding,14px)!important;
  border:var(--bmk-cat-group-border-width,0px) solid var(--bmk-cat-group-border,#eef1ec)!important;
  border-radius:var(--bmk-cat-group-radius,20px)!important;
  background:var(--bmk-cat-group-bg,#fff)!important;
  box-shadow:0 7px 24px rgba(31,45,25,var(--bmk-cat-group-shadow,.08))!important;
  overflow:hidden;
}

.bmk-catalog-content.is-page.has-group-blocks .bmk-catalog-section-head{
  margin:0 2px 12px!important;
}

.bmk-catalog-content.is-page.has-group-blocks .bmk-catalog-section .bmk-catalog-grid{
  padding:0!important;
}

/* Keep the blocks airy on desktop, compact on mobile. */
@media(min-width:768px){
  .bmk-catalog-content.is-page.has-group-blocks .bmk-catalog-section{
    padding:calc(var(--bmk-cat-group-padding,14px) + 2px)!important;
  }
}

@media(max-width:767px){
  .bmk-catalog-content.is-page.has-group-blocks .bmk-catalog-section{
    box-shadow:0 5px 18px rgba(31,45,25,var(--bmk-cat-group-shadow,.08))!important;
  }
}

/* ==========================================================
   BMK Catalog Drawer v1.6.0
   Manual curated category collections, full viewport width
   ========================================================== */
.bmk-catalog-content.is-page.has-manual-groups .bmk-catalog-sections{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  gap:var(--bmk-cat-section-gap,18px)!important;
}

.bmk-catalog-content.is-page.has-manual-groups .bmk-catalog-section{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  box-sizing:border-box!important;
  padding:var(--bmk-cat-group-padding,14px)!important;
  border:var(--bmk-cat-group-border-width,0px) solid var(--bmk-cat-group-border,#eef1ec)!important;
  border-radius:var(--bmk-cat-group-radius,20px)!important;
  background:var(--bmk-cat-group-bg,#fff)!important;
  box-shadow:0 7px 24px rgba(31,45,25,var(--bmk-cat-group-shadow,.08))!important;
  overflow:hidden!important;
}

.bmk-catalog-content.is-page.has-manual-groups .bmk-catalog-section-head{
  margin:0 2px 12px!important;
}

.bmk-catalog-content.is-page.has-manual-groups .bmk-catalog-section .bmk-catalog-grid{
  width:100%!important;
  max-width:none!important;
  padding:0!important;
}

@media(max-width:767px){
  .bmk-catalog-content.is-page.has-manual-groups .bmk-catalog-section{
    border-radius:min(var(--bmk-cat-group-radius,20px),24px)!important;
    box-shadow:0 5px 18px rgba(31,45,25,var(--bmk-cat-group-shadow,.08))!important;
  }
}

/* ==========================================================
   BMK Catalog Drawer v1.6.1
   Per-category background fit: cover / contain / manual
   ========================================================== */
.bmk-catalog-card:not(.is-global-icon):not(.is-no-image) .bmk-catalog-card-bg{
  inset:0!important;
  background-repeat:no-repeat!important;
  background-position:right bottom!important;
}

/* ==========================================================
   BMK Catalog Drawer v1.6.2
   Sticky Smart Search + category navigation stack
   ========================================================== */

/* Search and category tabs are one sticky surface on the full catalog page. */
.bmk-catalog-content.is-page .bmk-catalog-sticky-stack{
  position:sticky;
  top:var(--bmk-catalog-sticky-top,0px);
  z-index:45;

  width:100vw;
  max-width:none;
  margin:0 calc(50% - 50vw) 20px;

  background:#fff;
  border-bottom:1px solid rgba(225,231,221,.9);
  box-shadow:0 8px 20px rgba(28,40,23,.075);
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-inner{
  width:100%;
  max-width:100%;
  padding:9px max(12px,env(safe-area-inset-left)) 8px max(12px,env(safe-area-inset-right));
}

/* Reuse the production Smart Search entry, only tighten spacing inside the catalog stack. */
.bmk-catalog-content.is-page .bmk-catalog-sticky-search{
  width:100%;
  max-width:760px;
  margin:0 auto 8px;
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-search .bmk-search-entry{
  width:100%!important;
  margin:0!important;
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-search .bmk-search-entry-shell{
  width:100%!important;
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-search .bmk-search-entry-button,
.bmk-catalog-content.is-page .bmk-catalog-sticky-search .bmk-search-entry-filter{
  border-color:#dfe5dc!important;
  box-shadow:0 3px 12px rgba(25,36,20,.055)!important;
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-search .bmk-search-entry-button:focus-visible,
.bmk-catalog-content.is-page .bmk-catalog-sticky-search .bmk-search-entry-filter:focus-visible{
  outline:2px solid rgba(131,183,53,.28)!important;
  outline-offset:2px!important;
}

/* Fallback launcher is only used if Smart Search markup already exists elsewhere on the page. */
.bmk-catalog-search-fallback{
  width:100%;
}

.bmk-catalog-search-fallback-button{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  width:100%!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 13px!important;
  border:1px solid #dfe5dc!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#252525!important;
  text-align:left!important;
  text-transform:none!important;
  box-shadow:0 3px 12px rgba(25,36,20,.055)!important;
}

.bmk-catalog-search-fallback-button svg{
  width:20px;
  height:20px;
  flex:0 0 20px;
  fill:none;
  stroke:#6d8d49;
  stroke-width:1.8;
  stroke-linecap:round;
}

.bmk-catalog-search-fallback-button span{
  overflow:hidden;
  font-size:14px;
  font-weight:400;
  white-space:nowrap;
  text-overflow:ellipsis;
}

/* The tabs are no longer individually sticky: the parent stack owns sticky positioning. */
.bmk-catalog-content.is-page .bmk-catalog-sticky-stack .bmk-catalog-section-tabs{
  position:static!important;
  top:auto!important;
  z-index:auto!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding:0 0 2px!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Keep anchors and scroll spy below the complete search + tabs stack. */
.bmk-catalog-content.is-page .bmk-catalog-section{
  scroll-margin-top:calc(var(--bmk-catalog-sticky-top,0px) + var(--bmk-catalog-sticky-height,108px) + 10px)!important;
}

@media(min-width:768px){
  .bmk-catalog-content.is-page .bmk-catalog-sticky-inner{
    padding-top:10px;
    padding-bottom:9px;
  }
}

/* ==========================================================
   BMK Catalog Drawer v1.6.3
   Compact back + search, and frosted glass only while stuck
   ========================================================== */
.bmk-catalog-content.is-page .bmk-catalog-sticky-stack{
  border-radius:0;
  transition:background-color .22s ease,border-color .22s ease,box-shadow .22s ease,border-radius .28s ease;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-stack.is-stuck{
  background:rgba(255,255,255,.72);
  border-bottom-color:rgba(255,255,255,.58);
  box-shadow:0 8px 26px rgba(20,30,16,.10);
  border-radius:0 0 18px 18px;
  -webkit-backdrop-filter:blur(18px) saturate(145%);
  backdrop-filter:blur(18px) saturate(145%);
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-search-row{
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  align-items:center;
  gap:8px;
  width:100%;
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-search-main{
  min-width:0;
  width:100%;
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-back{
  display:grid!important;
  place-items:center!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0!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;
  cursor:pointer!important;
  -webkit-tap-highlight-color:transparent;
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-back svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-back:hover,
.bmk-catalog-content.is-page .bmk-catalog-sticky-back:focus{
  color:#6b9638!important;
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-back:active{
  transform:scale(.97);
}

/* The catalog's compact launcher is intentionally [back] [search].
   Filters remain available after opening Smart Search. */
.bmk-catalog-content.is-page .bmk-catalog-sticky-search .bmk-search-entry-filter{
  display:none!important;
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-search .bmk-search-entry-shell{
  display:block!important;
  grid-template-columns:none!important;
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-search .bmk-search-entry-button{
  width:100%!important;
  padding-right:12px!important;
}

.bmk-catalog-content.is-page .bmk-catalog-sticky-stack.is-stuck .bmk-catalog-sticky-back,
.bmk-catalog-content.is-page .bmk-catalog-sticky-stack.is-stuck .bmk-search-entry-button{
  background:rgba(255,255,255,.78)!important;
  border-color:rgba(220,228,216,.82)!important;
  box-shadow:0 3px 14px rgba(20,30,16,.055)!important;
  -webkit-backdrop-filter:blur(12px) saturate(130%);
  backdrop-filter:blur(12px) saturate(130%);
}

.bmk-catalog-sticky-sentinel{
  display:block;
  width:1px;
  height:0;
  margin:0;
  padding:0;
  pointer-events:none;
}

@media(max-width:420px){
  .bmk-catalog-content.is-page .bmk-catalog-sticky-search-row{
    grid-template-columns:44px minmax(0,1fr);
    gap:7px;
  }
  .bmk-catalog-content.is-page .bmk-catalog-sticky-back{
    width:44px!important;
    min-width:44px!important;
  }
}


/* ==========================================================
   BMK Catalog Drawer v1.6.4
   20px gap below sticky stack + smooth lower corner rounding
   ========================================================== */

/* ===== Global category marketplace page — v1.6.6 ===== */
.bmk-category-page{max-width:1320px;margin:0 auto;padding:0 12px 34px}
.bmk-category-page-head{display:flex;align-items:center;gap:12px;margin:4px 0 12px}
.bmk-category-page-head h1{margin:0;font-size:clamp(22px,4vw,32px);line-height:1.15;color:#222}
.bmk-category-back{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border:1px solid #e7ebe4;border-radius:13px;background:#fff;color:#4e5c49;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;box-shadow:0 5px 18px rgba(33,54,27,.05)}
.bmk-category-back:hover{color:#83b735;border-color:#cfdac8}
.bmk-category-search{margin:0 0 16px}
.bmk-category-search .bmk-search-entry{margin:0}
.bmk-category-children{margin:0 0 20px}
.bmk-category-children-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bmk-category-products{margin-top:20px}
.bmk-category-products-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 12px}
.bmk-category-products-head h2{margin:0;color:#222;font-size:20px;line-height:1.2;font-weight:800}
.bmk-category-products-head span{color:#8a8f86;font-size:12px;font-weight:600}
.bmk-category-products-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bmk-category-products-loading,.bmk-category-products-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:34px 16px;text-align:center;border:1px solid #edf0eb;border-radius:18px;background:#fafbf9;color:#7b8377}
.bmk-category-products-empty strong{color:#424941;font-size:15px}
.bmk-category-products-empty span{font-size:12px;line-height:1.45}
.bmk-category-product-card{min-width:0;overflow:hidden;border:1px solid #edf0eb;border-radius:17px;background:#fff;box-shadow:0 7px 24px rgba(38,55,31,.05);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.bmk-category-product-card:hover{transform:translateY(-2px);border-color:#dce5d6;box-shadow:0 12px 30px rgba(38,55,31,.09)}
.bmk-category-product-image{position:relative;display:block;aspect-ratio:1/1;background:#f7f8f5;overflow:hidden}
.bmk-category-product-image img{width:100%;height:100%;display:block;object-fit:contain;padding:8px;transition:transform .2s ease}
.bmk-category-product-card:hover .bmk-category-product-image img{transform:scale(1.025)}
.bmk-category-product-sale{position:absolute;left:8px;top:8px;padding:5px 8px;border-radius:999px;background:#83b735;color:#fff;font-size:10px;font-weight:800;line-height:1}
.bmk-category-product-body{display:flex;flex-direction:column;min-height:132px;padding:10px}
.bmk-category-product-name{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:35px;margin:0 0 7px;color:#252925;font-size:13px;font-weight:700;line-height:1.35;text-decoration:none}
.bmk-category-product-store{display:flex;align-items:center;min-width:0;gap:5px;margin-bottom:9px;color:#7c8478;font-size:10px;line-height:1.2}
.bmk-category-product-store i{width:7px;height:7px;border-radius:50%;background:#c8ccc5;flex:0 0 auto}
.bmk-category-product-store i.is-open{background:#83b735}.bmk-category-product-store i.is-closed{background:#d66b61}
.bmk-category-product-store a,.bmk-category-product-store span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#65705f;text-decoration:none;font-weight:700}
.bmk-category-product-store small{white-space:nowrap;color:#a0a59d;font-size:9px}
.bmk-category-product-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:auto}
.bmk-category-product-price{min-width:0;display:flex;flex-direction:column;line-height:1.05}
.bmk-category-product-price strong{color:#222;font-size:16px;font-weight:850;white-space:nowrap}
.bmk-category-product-price del{margin-top:4px;color:#a1a69e;font-size:10px;white-space:nowrap}
.bmk-category-product-qty{flex:0 0 auto;min-width:76px}
.bmk-category-product-add,.bmk-category-product-options{display:flex;align-items:center;justify-content:center;height:34px;padding:0 12px;border:0;border-radius:11px;background:#83b735;color:#fff;font-size:11px;font-weight:800;text-decoration:none;cursor:pointer;transition:filter .16s ease,transform .16s ease}
.bmk-category-product-add:hover,.bmk-category-product-options:hover{filter:brightness(.96);color:#fff}
.bmk-category-product-add:active{transform:scale(.97)}
.bmk-category-product-add.is-disabled{background:#eef0ec;color:#9a9f97;cursor:default}
.bmk-category-product-stepper{display:none;height:34px;align-items:center;justify-content:space-between;border-radius:11px;background:#83b735;color:#fff;overflow:hidden}
.bmk-category-product-stepper button{width:30px;height:34px;padding:0;border:0;background:transparent;color:#fff;font-size:18px;font-weight:700;cursor:pointer}
.bmk-category-product-stepper strong{min-width:18px;text-align:center;font-size:12px}
.bmk-category-product-qty.is-active .bmk-category-product-add{display:none}.bmk-category-product-qty.is-active .bmk-category-product-stepper{display:flex}
.bmk-category-product-qty.is-busy{opacity:.6;pointer-events:none}
.bmk-category-load-more{display:flex;align-items:center;justify-content:center;min-width:180px;height:42px;margin:18px auto 0;padding:0 20px;border:1px solid #dce4d7;border-radius:13px;background:#fff;color:#53614d;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 6px 20px rgba(38,55,31,.05)}
.bmk-category-load-more:hover{border-color:#83b735;color:#6b952a}.bmk-category-load-more[hidden]{display:none}
@media (min-width:768px){
  .bmk-category-page{padding-left:18px;padding-right:18px}
  .bmk-category-children-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .bmk-category-products-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .bmk-category-product-body{padding:12px;min-height:145px}
  .bmk-category-product-name{font-size:14px;min-height:38px}
  .bmk-category-product-price strong{font-size:17px}
}
@media (min-width:1180px){.bmk-category-products-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (max-width:520px){
  .bmk-category-page{padding-left:8px;padding-right:8px}
  .bmk-category-page-head{gap:8px}
  .bmk-category-back{min-height:38px;padding:0 10px;border-radius:11px;font-size:11px}
  .bmk-category-product-body{padding:9px}
  .bmk-category-product-name{font-size:12px}
  .bmk-category-product-price strong{font-size:14px}
  .bmk-category-product-add,.bmk-category-product-options{height:32px;padding:0 10px;font-size:10px}
  .bmk-category-product-stepper,.bmk-category-product-stepper button{height:32px}
}

/* ==========================================================
   BMK Catalog Drawer v1.6.9
   Global category: [back] [search], no entry filter button + 20px top spacing
   ========================================================== */
.bmk-category-page .bmk-category-search-row{
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  align-items:center;
  gap:8px;
  width:100%;
  margin:0 0 14px;
  padding-top:20px;
}

.bmk-category-page .bmk-category-search{
  min-width:0;
  width:100%;
  margin:0!important;
}

.bmk-category-page .bmk-category-search .bmk-search-entry{
  width:100%!important;
  margin:0!important;
}

.bmk-category-page .bmk-category-search .bmk-search-entry-filter{
  display:none!important;
}

.bmk-category-page .bmk-category-search .bmk-search-entry-shell{
  display:block!important;
  width:100%!important;
  grid-template-columns:none!important;
}

.bmk-category-page .bmk-category-search .bmk-search-entry-button{
  width:100%!important;
  min-height:46px!important;
  padding-right:12px!important;
}

.bmk-category-page .bmk-category-back{
  display:grid!important;
  place-items:center!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0!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;
  cursor:pointer!important;
  -webkit-tap-highlight-color:transparent;
}

.bmk-category-page .bmk-category-back svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.bmk-category-page .bmk-category-back:hover,
.bmk-category-page .bmk-category-back:focus{
  color:#6b9638!important;
  border-color:#d5dfcf!important;
}

.bmk-category-page .bmk-category-back:active{
  transform:scale(.97);
}

@media(max-width:420px){
  .bmk-category-page .bmk-category-search-row{
    grid-template-columns:44px minmax(0,1fr);
    gap:7px;
  }
  .bmk-category-page .bmk-category-back{
    width:44px!important;
    min-width:44px!important;
  }
}

/* ==========================================================
   BMK Catalog Drawer v1.6.10
   Global category full-width + unified BMK/Woodmart product cards
   ========================================================== */

/* Break the category page out of the theme container and keep 10px side gaps. */
.bmk-category-page{
  width:calc(100vw - 20px)!important;
  width:calc(100dvw - 20px)!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw + 10px)!important;
  margin-left:calc(50% - 50dvw + 10px)!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}

/* Product grid uses the available width with the same compact rhythm as BMK cards. */
.bmk-category-products-grid{
  gap:10px!important;
}

/* Match BMK Woodmart Product Cards visual language. */
.bmk-category-product-card{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  height:100%!important;
  overflow:hidden!important;
  border:1px solid rgba(0,0,0,.06)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 2px 12px rgba(0,0,0,.06)!important;
  transform:none!important;
}
.bmk-category-product-card:hover{
  border-color:rgba(0,0,0,.06)!important;
  box-shadow:0 2px 12px rgba(0,0,0,.06)!important;
  transform:none!important;
}

.bmk-category-product-image{
  position:relative!important;
  display:block!important;
  width:calc(100% + 2px)!important;
  max-width:none!important;
  aspect-ratio:1/1!important;
  margin:-1px -1px 0!important;
  overflow:hidden!important;
  border-radius:17px 17px 0 0!important;
  background:#f7f8f6!important;
}
.bmk-category-product-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:none!important;
}
.bmk-category-product-card:hover .bmk-category-product-image img{transform:none!important}
.bmk-category-product-sale{
  left:7px!important;
  top:7px!important;
  padding:4px 6px!important;
  border-radius:7px!important;
  background:#e65e5b!important;
  color:#fff!important;
  font-size:7px!important;
  font-weight:800!important;
}

.bmk-category-product-body{
  position:relative!important;
  display:block!important;
  flex:1 1 auto!important;
  min-height:112px!important;
  padding:7px 9px 43px!important;
  background:#fff!important;
}
.bmk-category-product-name{
  display:-webkit-box!important;
  overflow:hidden!important;
  min-height:29px!important;
  max-height:29px!important;
  margin:0!important;
  padding:0!important;
  color:#1a1a1a!important;
  font-size:10.7px!important;
  font-weight:600!important;
  line-height:1.35!important;
  text-decoration:none!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
}
.bmk-category-product-store{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  min-width:0!important;
  margin:5px 0 0!important;
  color:#888f86!important;
  font-size:7.8px!important;
  line-height:1.2!important;
}
.bmk-category-product-store i{
  flex:0 0 6px!important;
  width:6px!important;
  height:6px!important;
}
.bmk-category-product-store a,
.bmk-category-product-store span{
  color:#777f74!important;
  font-size:inherit!important;
  font-weight:600!important;
}
.bmk-category-product-store small{
  color:#aaa!important;
  font-size:7px!important;
}

.bmk-category-product-bottom{
  position:static!important;
  display:block!important;
  margin:0!important;
}
.bmk-category-product-price{
  position:absolute!important;
  left:9px!important;
  bottom:12px!important;
  z-index:2!important;
  display:flex!important;
  flex-direction:column-reverse!important;
  align-items:flex-start!important;
  max-width:calc(100% - 58px)!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  line-height:1!important;
}
.bmk-category-product-price strong{
  color:#159447!important;
  font-size:12.8px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.bmk-category-product-price del{
  margin:0 0 3px!important;
  color:#bbb!important;
  font-size:6.6px!important;
  font-weight:400!important;
  line-height:1!important;
  white-space:nowrap!important;
}

.bmk-category-product-qty{
  position:absolute!important;
  right:9px!important;
  bottom:9px!important;
  z-index:5!important;
  min-width:36px!important;
  margin:0!important;
}
.bmk-category-product-add:not(.is-disabled){
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:36px!important;
  min-width:36px!important;
  max-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:12px!important;
  background:#35a915!important;
  color:#fff!important;
  box-shadow:0 3px 10px rgba(53,169,21,.32)!important;
  font-size:0!important;
  line-height:1!important;
}
.bmk-category-product-add:not(.is-disabled)::before{
  content:"\f120"!important;
  display:block!important;
  color:#fff!important;
  font-family:"woodmart-font"!important;
  font-size:19px!important;
  font-weight:400!important;
  line-height:1!important;
}
.bmk-category-product-add:not(.is-disabled):hover{background:#35a915!important;filter:none!important}
.bmk-category-product-add.is-disabled{
  width:auto!important;
  max-width:74px!important;
  height:32px!important;
  padding:0 8px!important;
  border-radius:10px!important;
  font-size:7px!important;
  line-height:1.1!important;
}
.bmk-category-product-options{
  position:absolute!important;
  right:9px!important;
  bottom:9px!important;
  height:36px!important;
  min-width:54px!important;
  padding:0 8px!important;
  border-radius:12px!important;
  background:#35a915!important;
  box-shadow:0 3px 10px rgba(53,169,21,.24)!important;
  font-size:7px!important;
}
.bmk-category-product-stepper{
  height:36px!important;
  min-width:86px!important;
  border-radius:12px!important;
  background:#35a915!important;
  box-shadow:0 3px 10px rgba(53,169,21,.25)!important;
}
.bmk-category-product-stepper button{
  width:30px!important;
  height:36px!important;
  font-size:17px!important;
}
.bmk-category-product-stepper strong{
  min-width:22px!important;
  font-size:11px!important;
}

@media(min-width:768px){
  .bmk-category-products-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
  .bmk-category-product-body{min-height:112px!important;padding:7px 9px 43px!important}
  .bmk-category-product-name{min-height:29px!important;max-height:29px!important;font-size:10.7px!important}
  .bmk-category-product-price strong{font-size:12.8px!important}
}
@media(min-width:1180px){
  .bmk-category-products-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(max-width:360px){
  .bmk-category-product-name{font-size:10.2px!important}
  .bmk-category-product-price strong{font-size:12px!important}
}


/* ==========================================================
   BMK Catalog Drawer v1.6.12
   Product cart control: same visual/interaction as BMK cards
   ========================================================== */

/* Keep the control anchored to one place. */
.bmk-category-product-qty{
  position:absolute!important;
  right:9px!important;
  bottom:9px!important;
  z-index:5!important;
  width:auto!important;
  min-width:36px!important;
  height:36px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  transform:none!important;
}

/* Exact compact cart button used by the regular BMK/Woodmart cards. */
.bmk-category-product-add:not(.is-disabled){
  position:absolute!important;
  right:0!important;
  bottom:0!important;
  display:grid!important;
  place-items:center!important;
  width:36px!important;
  min-width:36px!important;
  max-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:12px!important;
  background:#35a915!important;
  color:#fff!important;
  box-shadow:0 3px 10px rgba(53,169,21,.32)!important;
  font-size:0!important;
  line-height:1!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}
.bmk-category-product-add:not(.is-disabled)::before{
  content:"\f120"!important;
  position:static!important;
  display:block!important;
  margin:0!important;
  color:#fff!important;
  font-family:"woodmart-font"!important;
  font-size:19px!important;
  font-weight:400!important;
  line-height:1!important;
  opacity:1!important;
  transform:none!important;
}

/* The stepper occupies the same anchor instead of appearing under the button. */
.bmk-category-product-stepper{
  position:absolute!important;
  right:0!important;
  bottom:0!important;
  display:none!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:86px!important;
  min-width:86px!important;
  height:36px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:12px!important;
  background:#35a915!important;
  color:#fff!important;
  box-shadow:0 3px 10px rgba(53,169,21,.32)!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}
.bmk-category-product-stepper button{
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  min-width:30px!important;
  height:36px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:18px!important;
  font-weight:700!important;
  line-height:1!important;
  transform:none!important;
}
.bmk-category-product-stepper strong{
  display:block!important;
  min-width:22px!important;
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  text-align:center!important;
}

/* Critical fix: !important is required because the compact button itself uses display:grid!important. */
.bmk-category-product-qty.is-active .bmk-category-product-add:not(.is-disabled){
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.bmk-category-product-qty.is-active .bmk-category-product-stepper{
  display:flex!important;
}

.bmk-category-product-qty.is-busy{
  opacity:.65!important;
  pointer-events:none!important;
  transform:none!important;
}


/* ==========================================================
   BMK Catalog Drawer v1.6.13
   Cart icon: fixed inline SVG matching regular BMK cards
   ========================================================== */
.bmk-category-product-add:not(.is-disabled)::before,
.bmk-category-product-add:not(.is-disabled)::after{
  content:none!important;
  display:none!important;
}
.bmk-category-product-add:not(.is-disabled) .bmk-category-cart-icon{
  display:block!important;
  width:21px!important;
  height:21px!important;
  margin:0!important;
  overflow:visible!important;
  fill:none!important;
  stroke:#fff!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  pointer-events:none!important;
}
.bmk-category-product-add:not(.is-disabled) .screen-reader-text{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}


/* ==========================================================
   BMK Catalog Drawer v1.6.14
   Cart control copied from BMK Recommendations v1.0.7
   ========================================================== */
.bmk-category-product-qty{
  position:absolute!important;
  right:9px!important;
  bottom:7px!important;
  z-index:5!important;
  width:34px!important;
  height:34px!important;
  min-width:0!important;
  margin:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:11px!important;
  background:#35a915!important;
  box-shadow:0 3px 10px rgba(53,169,21,.32)!important;
  transition:width .24s cubic-bezier(.2,.8,.2,1),background .18s ease,box-shadow .18s ease!important;
}
.bmk-category-product-qty.is-active{
  width:86px!important;
  background:#fff!important;
  border:1px solid #35a915!important;
  box-shadow:0 3px 10px rgba(53,169,21,.14)!important;
}
.bmk-category-product-add:not(.is-disabled){
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:11px!important;
  background:#35a915!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:0!important;
  line-height:1!important;
  transition:opacity .13s ease,transform .2s ease,background .18s ease!important;
}
.bmk-category-product-add:not(.is-disabled)::before{
  content:none!important;
  display:none!important;
}
.bmk-category-product-add:not(.is-disabled):hover{
  background:#2d9212!important;
  filter:none!important;
}
.bmk-category-product-add:not(.is-disabled) svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  fill:none!important;
  stroke:#fff!important;
  stroke-width:2.2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.bmk-category-product-qty.is-active .bmk-category-product-add{
  opacity:0!important;
  transform:scale(.55)!important;
  pointer-events:none!important;
}
.bmk-category-product-stepper{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  grid-template-columns:28px 30px 28px!important;
  align-items:center!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  opacity:0!important;
  transform:scaleX(.65)!important;
  pointer-events:none!important;
  transition:opacity .13s ease .04s,transform .23s cubic-bezier(.2,.8,.2,1)!important;
}
.bmk-category-product-qty.is-active .bmk-category-product-stepper{
  opacity:1!important;
  transform:scaleX(1)!important;
  pointer-events:auto!important;
}
.bmk-category-product-stepper button{
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:34px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#2d9212!important;
  box-shadow:none!important;
  font-size:0!important;
}
.bmk-category-product-stepper button svg{
  display:block!important;
  width:13px!important;
  height:13px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.bmk-category-product-stepper strong{
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  min-width:30px!important;
  color:#1a1a1a!important;
  font-size:9px!important;
  font-weight:900!important;
  line-height:1!important;
}
.bmk-category-product-qty.is-busy{
  opacity:.65!important;
  pointer-events:none!important;
}
.bmk-category-product-qty.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-category-cart-spin .65s linear infinite!important;
}
.bmk-category-product-qty.is-active.is-busy:after{
  border-color:#dcead7!important;
  border-top-color:#35a915!important;
}
@keyframes bmk-category-cart-spin{to{transform:rotate(360deg)}}

/* After 2.5 s it returns to the compact cart button, like Recommendations. */
.bmk-category-product-qty.is-active.is-collapsed{
  width:34px!important;
  overflow:visible!important;
  border:0!important;
  background:#35a915!important;
  box-shadow:0 3px 10px rgba(53,169,21,.32)!important;
}
.bmk-category-product-qty.is-active.is-collapsed .bmk-category-product-add{
  overflow:visible!important;
  opacity:1!important;
  transform:scale(1)!important;
  pointer-events:auto!important;
}
.bmk-category-product-qty.is-active.is-collapsed .bmk-category-product-stepper{
  opacity:0!important;
  transform:scaleX(.65)!important;
  pointer-events:none!important;
}
.bmk-category-product-qty-badge{
  position:absolute!important;
  top:-7px!important;
  right:-7px!important;
  z-index:20!important;
  display:grid!important;
  place-items:center!important;
  min-width:17px!important;
  height:17px!important;
  padding:0 4px!important;
  border:2px solid #fff!important;
  border-radius:99px!important;
  background:#159447!important;
  color:#fff!important;
  font-size:7px!important;
  font-weight:900!important;
  line-height:1!important;
  box-sizing:border-box!important;
  box-shadow:0 2px 7px rgba(0,0,0,.18)!important;
}
.bmk-category-product-qty-badge[hidden]{display:none!important}
.bmk-category-product-qty.is-active:not(.is-collapsed) .bmk-category-product-qty-badge{
  opacity:0!important;
  transform:scale(.65)!important;
}
.bmk-category-product-qty.is-active.is-collapsed .bmk-category-product-qty-badge{
  opacity:1!important;
  transform:scale(1)!important;
  transition:opacity .15s ease,transform .18s ease!important;
}
@media(max-width:360px){
  .bmk-category-product-qty.is-active{width:84px!important}
  .bmk-category-product-stepper{grid-template-columns:27px 30px 27px!important}
  .bmk-category-product-stepper button{width:27px!important}
}


/* ==========================================================
   BMK Catalog Drawer v1.6.15
   Final cart-control normalization.
   Keeps the BMK Recommendations v1.0.7 behavior while
   preventing older Catalog Drawer rules from shifting/hiding it.
   ========================================================== */
.bmk-category-product-qty{
  box-sizing:border-box!important;
}

/* Expanded − qty +: three perfectly centered cells. */
.bmk-category-product-qty.is-active:not(.is-collapsed){
  width:86px!important;
  height:34px!important;
  overflow:hidden!important;
  border:1px solid #35a915!important;
  border-radius:11px!important;
  background:#fff!important;
}
.bmk-category-product-qty.is-active:not(.is-collapsed) .bmk-category-product-stepper{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  grid-template-columns:27px 30px 27px!important;
  align-items:center!important;
  justify-content:center!important;
  width:84px!important;
  height:32px!important;
  margin:0!important;
  padding:0!important;
  opacity:1!important;
  transform:none!important;
  pointer-events:auto!important;
  box-sizing:border-box!important;
}
.bmk-category-product-qty.is-active:not(.is-collapsed) .bmk-category-product-stepper button{
  display:grid!important;
  place-items:center!important;
  width:27px!important;
  min-width:27px!important;
  max-width:27px!important;
  height:32px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
  border:0!important;
  background:transparent!important;
  color:#2d9212!important;
  box-shadow:none!important;
  transform:none!important;
}
.bmk-category-product-qty.is-active:not(.is-collapsed) .bmk-category-product-stepper strong{
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  height:32px!important;
  margin:0!important;
  padding:0!important;
  color:#1a1a1a!important;
  font-size:9px!important;
  font-weight:900!important;
  line-height:1!important;
  text-align:center!important;
  transform:none!important;
}
.bmk-category-product-qty.is-active:not(.is-collapsed) .bmk-category-product-stepper button svg{
  display:block!important;
  width:13px!important;
  height:13px!important;
  margin:auto!important;
  opacity:1!important;
  visibility:visible!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Compact state: always restore the shopping-bag button and its SVG. */
.bmk-category-product-qty.is-active.is-collapsed{
  width:34px!important;
  height:34px!important;
  overflow:visible!important;
  border:0!important;
  border-radius:11px!important;
  background:#35a915!important;
}
.bmk-category-product-qty.is-active.is-collapsed .bmk-category-product-add:not(.is-disabled){
  display:grid!important;
  place-items:center!important;
  visibility:visible!important;
  opacity:1!important;
  transform:none!important;
  pointer-events:auto!important;
  width:34px!important;
  height:34px!important;
  overflow:visible!important;
  border-radius:11px!important;
  background:#35a915!important;
}
.bmk-category-product-qty.is-active.is-collapsed .bmk-category-product-add:not(.is-disabled) svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  fill:none!important;
  stroke:#fff!important;
  stroke-width:2.2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.bmk-category-product-qty.is-active.is-collapsed .bmk-category-product-stepper{
  display:grid!important;
  visibility:hidden!important;
  opacity:0!important;
  transform:scaleX(.65)!important;
  pointer-events:none!important;
}

@media(max-width:360px){
  .bmk-category-product-qty.is-active:not(.is-collapsed){width:84px!important}
  .bmk-category-product-qty.is-active:not(.is-collapsed) .bmk-category-product-stepper{
    grid-template-columns:26px 30px 26px!important;
    width:82px!important;
  }
  .bmk-category-product-qty.is-active:not(.is-collapsed) .bmk-category-product-stepper button{
    width:26px!important;min-width:26px!important;max-width:26px!important;
  }
}

/* ==========================================================
   BMK Catalog Drawer v1.6.19
   Full-width sticky background without shifting search content
   ========================================================== */

/* Product store line: shop on the left, working mode on the right. */
.bmk-category-product-store{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  margin-top:6px!important;
  margin-bottom:8px!important;
  padding-right:3px!important;
  box-sizing:border-box!important;
  font-size:9px!important;
  line-height:1.25!important;
}
.bmk-category-product-store i{flex:0 0 6px!important}
.bmk-category-product-store a,
.bmk-category-product-store span{
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:62%!important;
  overflow:hidden!important;
  color:#697066!important;
  font-size:9px!important;
  font-weight:700!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.bmk-category-product-store small{
  flex:0 0 auto!important;
  margin-left:auto!important;
  padding-right:2px!important;
  color:#8d948a!important;
  font-size:8.7px!important;
  font-weight:600!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}

/* Keep the sticky content aligned to the category page (10px viewport gutters). */
.bmk-category-page .bmk-category-sticky-stack{
  position:sticky;
  top:var(--bmk-category-sticky-top,0px);
  z-index:45;
  width:100%!important;
  max-width:none!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  margin:0 0 20px!important;
  padding:0!important;
  box-sizing:border-box!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
  isolation:isolate;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}

/* Only the visual background bleeds 10px beyond the content on both sides. */
.bmk-category-page .bmk-category-sticky-stack::before{
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  bottom:0;
  left:-10px;
  right:-10px;
  box-sizing:border-box;
  pointer-events:none;
  background:#fff;
  border-bottom:1px solid rgba(225,231,221,.9);
  border-radius:0;
  box-shadow:0 8px 20px rgba(28,40,23,.075);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  transition:background-color .22s ease,border-color .22s ease,box-shadow .22s ease,border-radius .28s ease;
}
.bmk-category-page .bmk-category-sticky-stack.is-stuck::before{
  background:rgba(255,255,255,.72);
  border-bottom-color:rgba(255,255,255,.58);
  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-category-page .bmk-category-sticky-inner{
  position:relative;
  z-index:1;
  width:100%;
  box-sizing:border-box;
  padding:20px 0 8px;
}
.bmk-category-page .bmk-category-search-row{
  margin:0!important;
  padding-top:0!important;
}
.bmk-category-page .bmk-category-sticky-stack.is-stuck .bmk-category-back,
.bmk-category-page .bmk-category-sticky-stack.is-stuck .bmk-search-entry-button{
  background:rgba(255,255,255,.78)!important;
  border-color:rgba(220,228,216,.82)!important;
  box-shadow:0 3px 14px rgba(20,30,16,.055)!important;
  -webkit-backdrop-filter:blur(12px) saturate(130%);
  backdrop-filter:blur(12px) saturate(130%);
}

/* Subcategories replace the catalog's category tabs under the search. */
.bmk-category-subtabs{
  display:flex;
  align-items:center;
  gap:7px;
  width:100%;
  margin:8px 0 0;
  padding:0 0 2px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.bmk-category-subtabs::-webkit-scrollbar{display:none}
.bmk-category-subtab{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-height:34px!important;
  margin:0!important;
  padding:7px 12px!important;
  border:1px solid #e1e7dd!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#31372f!important;
  box-shadow:0 2px 8px rgba(25,36,20,.035)!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.15!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  transition:border-color .18s ease,background-color .18s ease,color .18s ease,transform .18s ease!important;
}
.bmk-category-subtab:hover,
.bmk-category-subtab:focus{
  border-color:#83b735!important;
  color:#6b9638!important;
}
.bmk-category-subtab:active{transform:scale(.98)}

.bmk-category-sticky-sentinel{
  display:block;
  width:1px;
  height:0;
  margin:0;
  padding:0;
  pointer-events:none;
}

@media(max-width:420px){
  .bmk-category-product-store a,
  .bmk-category-product-store span{max-width:58%!important}
  .bmk-category-product-store,
  .bmk-category-product-store a,
  .bmk-category-product-store span{font-size:8.8px!important}
  .bmk-category-product-store small{font-size:8.4px!important}
  .bmk-category-subtab{font-size:10.5px!important;padding:7px 10px!important}
}

/* ==========================================================
   BMK Catalog Drawer v1.6.22
   Main-site marketplace product page
   ========================================================== */
.bmk-product-detail-page{
  padding-bottom:42px!important;
}
.bmk-product-detail-shell{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  box-sizing:border-box;
}
.bmk-product-detail-breadcrumbs{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  margin:0 0 12px;
  color:#8a9187;
  font-size:11px;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
}
.bmk-product-detail-breadcrumbs a{
  color:#667064!important;
  text-decoration:none!important;
  font-weight:600;
}
.bmk-product-detail-breadcrumbs span:last-child{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bmk-product-detail-loading,
.bmk-product-detail-error{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:220px;
  padding:28px 16px;
  border:1px solid #edf0eb;
  border-radius:18px;
  background:#fafbf9;
  color:#7d857a;
  text-align:center;
  box-sizing:border-box;
}
.bmk-product-detail-error strong{color:#343a33;font-size:16px}
.bmk-product-detail-content{width:100%}
.bmk-product-detail-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:18px;
}
.bmk-product-detail-media,
.bmk-product-detail-summary{min-width:0}
.bmk-product-detail-gallery{width:100%}
.bmk-product-detail-main-image{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  aspect-ratio:1/1;
  overflow:hidden;
  border:1px solid #edf0eb;
  border-radius:22px;
  background:#f7f8f6;
  box-shadow:0 5px 20px rgba(32,48,26,.05);
}
.bmk-product-detail-main-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.bmk-product-detail-image-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  aspect-ratio:1/1;
  border-radius:22px;
  background:#f6f7f5;
  color:#999;
}
.bmk-product-detail-thumbs{
  display:flex;
  gap:8px;
  margin-top:9px;
  padding-bottom:2px;
  overflow-x:auto;
  scrollbar-width:none;
}
.bmk-product-detail-thumbs::-webkit-scrollbar{display:none}
.bmk-product-detail-thumb{
  flex:0 0 58px;
  width:58px;
  height:58px;
  margin:0!important;
  padding:3px!important;
  overflow:hidden;
  border:1px solid #e4e9e1!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.bmk-product-detail-thumb.is-active{border-color:#35a915!important;box-shadow:0 0 0 1px #35a915 inset!important}
.bmk-product-detail-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:8px}
.bmk-product-detail-categoryline{
  margin-bottom:7px;
  color:#6c746a;
  font-size:11px;
  font-weight:700;
  line-height:1.35;
}
.bmk-product-detail-summary h1{
  margin:0 0 10px!important;
  color:#20251f!important;
  font-size:clamp(23px,5.7vw,34px)!important;
  font-weight:800!important;
  line-height:1.12!important;
  letter-spacing:-.02em;
}
.bmk-product-detail-store{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
  padding:10px 12px;
  border:1px solid #edf0eb;
  border-radius:13px;
  background:#fff;
}
.bmk-product-detail-store span{
  min-width:0;
  overflow:hidden;
  color:#424a40;
  font-size:12px;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bmk-product-detail-store small{
  flex:0 0 auto;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}
.bmk-product-detail-store small.is-open{color:#35a915}
.bmk-product-detail-store small.is-closed{color:#dc5b55}
.bmk-product-detail-price{
  display:flex;
  align-items:baseline;
  gap:9px;
  margin:0 0 14px;
}
.bmk-product-detail-price strong{
  color:#171b16;
  font-size:30px;
  font-weight:900;
  line-height:1;
}
.bmk-product-detail-price del{
  color:#9aa096;
  font-size:15px;
  font-weight:700;
}
.bmk-product-detail-cart{width:100%;margin-bottom:12px}
.bmk-product-detail-buy,
.bmk-product-detail-stepper{
  width:100%!important;
  min-height:54px!important;
  border:0!important;
  border-radius:14px!important;
  background:#35a915!important;
  color:#fff!important;
  box-shadow:0 7px 18px rgba(53,169,21,.20)!important;
  box-sizing:border-box!important;
}
.bmk-product-detail-buy{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  margin:0!important;
  padding:0 16px!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1!important;
  text-transform:none!important;
}
.bmk-product-detail-buy span{font-weight:900}
.bmk-product-detail-buy.is-disabled{background:#bec5bb!important;box-shadow:none!important}
.bmk-product-detail-stepper{
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr) 56px!important;
  align-items:center!important;
  padding:0!important;
  overflow:hidden;
}
.bmk-product-detail-stepper[hidden],
.bmk-product-detail-buy[hidden]{display:none!important}
.bmk-product-detail-stepper button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:56px!important;
  min-width:56px!important;
  height:54px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:28px!important;
  font-weight:500!important;
  line-height:1!important;
}
.bmk-product-detail-stepper strong{
  display:flex;
  align-items:center;
  justify-content:center;
  height:54px;
  color:#fff;
  font-size:17px;
  font-weight:900;
}
.bmk-product-detail-buy-note{
  margin-bottom:12px;
  padding:13px 14px;
  border:1px solid #e1e7dd;
  border-radius:14px;
  background:#f8faf7;
  color:#697066;
  font-size:12px;
  line-height:1.45;
}
.bmk-product-detail-storebox{
  display:grid;
  grid-template-columns:1fr auto;
  gap:3px 12px;
  padding:13px 14px;
  border:1px solid #e4e9e1;
  border-radius:15px;
  background:#f9fbf8;
}
.bmk-product-detail-storebox strong{color:#2b312a;font-size:12px}
.bmk-product-detail-storebox span{grid-column:1/-1;color:#777f74;font-size:11px;line-height:1.4}
.bmk-product-detail-storebox small{grid-column:2;grid-row:1;color:#35a915;font-size:10px;font-weight:700}
.bmk-product-detail-section,
.bmk-product-detail-related{
  margin-top:26px;
  padding-top:0;
}
.bmk-product-detail-section h2,
.bmk-product-detail-section-head h2{
  margin:0 0 11px!important;
  color:#20251f!important;
  font-size:19px!important;
  font-weight:850!important;
  line-height:1.2!important;
}
.bmk-product-detail-copy{
  color:#3d433b;
  font-size:13px;
  line-height:1.55;
}
.bmk-product-detail-copy p{margin:0 0 10px}
.bmk-product-detail-copy p:last-child{margin-bottom:0}
.bmk-product-detail-facts{
  overflow:hidden;
  border-top:1px solid #eef0ec;
}
.bmk-product-detail-facts>div{
  display:grid;
  grid-template-columns:minmax(120px,42%) minmax(0,1fr);
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid #eef0ec;
}
.bmk-product-detail-facts span{
  color:#92978f;
  font-size:12px;
  line-height:1.35;
}
.bmk-product-detail-facts strong{
  color:#313630;
  font-size:12px;
  font-weight:700;
  line-height:1.35;
}
.bmk-product-detail-related-track{
  display:flex;
  gap:10px;
  width:100%;
  padding:1px 0 7px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.bmk-product-detail-related-track::-webkit-scrollbar{display:none}
.bmk-product-detail-related-track .bmk-category-product-card{
  flex:0 0 min(44vw,190px)!important;
  width:min(44vw,190px)!important;
}

@media(min-width:768px){
  .bmk-product-detail-hero{
    grid-template-columns:minmax(0,1.02fr) minmax(320px,.98fr);
    gap:34px;
    align-items:start;
  }
  .bmk-product-detail-main-image{max-height:650px}
  .bmk-product-detail-summary{position:sticky;top:calc(var(--bmk-category-sticky-top,0px) + 92px)}
  .bmk-product-detail-related-track .bmk-category-product-card{flex-basis:190px!important;width:190px!important}
}

@media(max-width:420px){
  .bmk-product-detail-breadcrumbs{font-size:10.5px}
  .bmk-product-detail-main-image{border-radius:18px}
  .bmk-product-detail-summary h1{font-size:22px!important}
  .bmk-product-detail-price strong{font-size:28px}
  .bmk-product-detail-buy,.bmk-product-detail-stepper{min-height:52px!important}
  .bmk-product-detail-stepper button,.bmk-product-detail-stepper strong{height:52px!important}
  .bmk-product-detail-related-track .bmk-category-product-card{flex-basis:45vw!important;width:45vw!important}
}


/* ==========================================================
   BMK Catalog Drawer v1.6.22
   Product-page stability + smoother mobile scrolling
   ========================================================== */
.bmk-product-detail-page.is-bmk-product-duplicate{display:none!important}
.bmk-product-detail-loading[hidden],
.bmk-product-detail-content[hidden],
.bmk-product-detail-error[hidden]{display:none!important}
.bmk-product-detail-loading{
  min-height:min(72vh,620px)!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.bmk-product-detail-loading i{
  display:block;
  width:100%;
  max-width:520px;
  aspect-ratio:1/1;
  border-radius:20px;
  background:linear-gradient(100deg,#f5f7f4 20%,#fbfcfa 38%,#f5f7f4 56%);
  background-size:200% 100%;
  animation:bmk-product-detail-skeleton 1.15s ease-in-out infinite;
}
@keyframes bmk-product-detail-skeleton{
  0%{background-position:100% 0}
  100%{background-position:-100% 0}
}
.bmk-category-page .bmk-category-sticky-stack::before{
  transform:translateZ(0);
  backface-visibility:hidden;
}
/* Keep one glass layer only; nested blur layers are expensive during mobile scroll. */
.bmk-category-page .bmk-category-sticky-stack.is-stuck .bmk-category-back,
.bmk-category-page .bmk-category-sticky-stack.is-stuck .bmk-search-entry-button{
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.bmk-product-detail-content{contain:layout style}
.bmk-product-detail-main-image img{backface-visibility:hidden}
@media (prefers-reduced-motion:reduce){
  .bmk-product-detail-loading i{animation:none}
}
