.kh-products-catalog{
  --kh-green:#6d9946;
  --kh-gold:#eba937;
  --kh-text:#121212;
  --kh-mobile-filter-top:0px;
  background:#fff;
  color:var(--kh-text);
  padding:72px 0 96px;
  width:100%;
  overflow:clip;
}
.kh-products-catalog *{box-sizing:border-box}
.kh-products-inner{width:calc(100% - 64px);max-width:1500px;margin:0 auto;position:relative}
.kh-products-title{text-align:center;font-family:"Montserrat",Arial,sans-serif;font-size:40px;line-height:1.15;font-style:italic;font-weight:600;margin:0;color:var(--kh-text)}

/* Filter row */
.kh-products-filter-shell{
  --kh-mobile-filter-bg:#fff;
  --kh-mobile-chip-bg:#fff;
  --kh-mobile-chip-border:#e4e4e4;
  --kh-mobile-arrow-color:#111;
  --kh-mobile-arrow-bg:#fff;
  --kh-mobile-bar-py:8px;
  margin:38px auto 0;
  position:relative;
  z-index:5;
}
.kh-products-filter-viewport{min-width:0;overflow:visible}
.kh-products-filters{margin:0 auto;display:flex;justify-content:center;align-items:center;gap:32px;flex-wrap:wrap}
.kh-products-filter{
  appearance:none;
  -webkit-appearance:none;
  display:flex;
  align-items:center;
  gap:9px;
  font-family:"Montserrat",Arial,sans-serif;
  font-size:21px;
  font-weight:800;
  text-transform:uppercase;
  line-height:1;
  color:#111;
  cursor:pointer;
  white-space:nowrap;
  position:relative;
  transition:color .18s ease,transform .18s ease,opacity .18s ease;
}
/* Isolate category buttons from theme/global button hover styles. */
button.kh-products-filter:not(.kh-products-filter--all),
button.kh-products-filter:not(.kh-products-filter--all):hover,
button.kh-products-filter:not(.kh-products-filter--all):focus,
button.kh-products-filter:not(.kh-products-filter--all):active{
  background:transparent!important;
  background-color:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:9px 3px!important;
  outline:0;
}
.kh-products-filter:not(.kh-products-filter--all)::after{
  content:"";
  position:absolute;
  left:3px;
  right:3px;
  bottom:1px;
  height:2px;
  border-radius:2px;
  background:var(--kh-filter-accent,var(--kh-green));
  transform:scaleX(0);
  transform-origin:center;
  opacity:.9;
  transition:transform .18s ease;
}
.kh-products-filter:not(.kh-products-filter--all):hover::after{transform:scaleX(.55)}
.kh-products-filter:not(.kh-products-filter--all).is-active::after{transform:scaleX(1)}
.kh-products-filter:not(.kh-products-filter--all):hover{color:#111;opacity:1;transform:translateY(-1px)}
.kh-products-filter:not(.kh-products-filter--all).is-active{color:#111;transform:none}
.kh-products-filter:focus-visible{outline:2px solid var(--kh-filter-accent,var(--kh-green))!important;outline-offset:4px}
.kh-products-filter-icon{font-size:26px;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;color:var(--kh-filter-accent,#6d9946);flex:none;line-height:1;transition:transform .18s ease}
.kh-products-filter-icon svg{width:1em;height:1em;fill:currentColor}
.kh-products-filter:not(.kh-products-filter--all):hover .kh-products-filter-icon{transform:scale(1.08)}

.kh-products-filter--all{
  width:92px;
  height:92px;
  border:var(--kh-all-border-width,2px) solid var(--kh-all-border-color,var(--kh-green))!important;
  border-radius:50%!important;
  display:grid;
  place-items:center;
  position:relative;
  background:var(--kh-all-bg,#fff)!important;
  background-color:var(--kh-all-bg,#fff)!important;
  overflow:hidden;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
  flex:none;
  padding:0!important;
  box-shadow:0 4px 14px rgba(0,0,0,.035)!important;
}
.kh-products-filter--all .kh-products-filter-icon{position:absolute;font-size:56px;width:56px;height:56px;color:#0e0e0e;transform:rotate(-18deg);left:17px;top:17px;line-height:1}
.kh-products-filter--all .kh-products-filter-label{position:relative;z-index:2;color:#fff;font-size:21px;font-weight:800;line-height:1;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000}
.kh-products-filter--all:hover,.kh-products-filter--all.is-active{background:var(--kh-all-bg,#fff)!important;transform:translateY(-2px);box-shadow:0 9px 22px rgba(0,0,0,.09)!important}
.kh-products-filter-arrow{display:none}

/* Products */
.kh-products-grid{margin:58px auto 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:30px;row-gap:38px}
.kh-product-card{position:relative;min-width:0;height:100%;padding:18px 18px 20px;background:#fff;font-family:"Montserrat",Arial,sans-serif;box-shadow:0 3px 14px rgba(17,26,14,.052);transition:transform .22s ease,box-shadow .22s ease,opacity .18s ease}
.kh-product-card[hidden]{display:none!important}
.kh-product-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(17,26,14,.07)}
.kh-product-image-wrap{width:100%;height:310px;display:flex;align-items:center;justify-content:flex-start;margin-bottom:21px;transition:transform .22s ease;overflow:hidden}
.kh-product-image-link{display:flex;align-items:center;justify-content:inherit;width:100%;height:100%}
.kh-product-image{display:block;width:auto;max-width:100%;max-height:310px;height:auto;object-fit:contain;object-position:center center;transition:transform .22s ease;transform-origin:center center}
.kh-product-card:hover .kh-product-image{transform:scale(1.035)}

.kh-product-title{font-family:"Montserrat",Arial,sans-serif;font-size:22px;margin:0 0 7px;font-weight:700;line-height:1.18;color:var(--kh-text);transition:color .18s ease}
.kh-product-title a{color:inherit;text-decoration:none}
.kh-product-card:hover .kh-product-title{color:var(--kh-green)}
.kh-product-rating{min-height:22px;display:flex;align-items:center;gap:7px;font-size:17px;line-height:1}
.kh-product-stars{position:relative;display:inline-block;letter-spacing:1px;line-height:1;white-space:nowrap}
.kh-product-stars-base{color:#dedede}
.kh-product-stars-fill{position:absolute;left:0;top:0;overflow:hidden;color:#f2a11d;white-space:nowrap}
.kh-product-review-count{font-size:.72em;color:#777;line-height:1}
.kh-product-no-reviews{min-height:22px;display:flex;align-items:center;font-size:12.5px;font-style:italic;color:#777;line-height:1.2}
.kh-product-description{font-family:"Montserrat",Arial,sans-serif;font-size:12.6px;line-height:1.5;font-weight:300;margin:10px 0 16px;max-width:none}
.kh-product-price{font-family:"Montserrat",Arial,sans-serif;font-size:29px;font-weight:700;line-height:1.05;margin-top:7px;color:var(--kh-text)}
.kh-product-price del{opacity:.55;font-size:.72em;margin-right:6px}
.kh-product-price ins{text-decoration:none}
.kh-product-sale-badge{position:absolute;z-index:3;top:10px;left:10px;background:#b43b35;color:#fff;padding:7px 10px;font-size:12px;font-weight:800;line-height:1;letter-spacing:.5px;border-radius:3px}
.kh-product-cart-button{display:inline-flex;align-items:center;justify-content:center;margin-top:16px;padding:12px 20px;background:var(--kh-green);color:#fff;text-decoration:none;font-size:13px;font-weight:800;line-height:1;text-transform:uppercase;transition:background .18s ease,color .18s ease,transform .18s ease}
.kh-product-cart-button:hover{background:#567f37;color:#fff;transform:translateY(-1px)}
.kh-products-empty,.kh-products-notice{margin:54px auto 0;text-align:center;font-family:"Montserrat",Arial,sans-serif;font-size:18px;font-weight:500;color:#777}
.kh-products-empty[hidden]{display:none!important}

@media(max-width:1200px){
  .kh-products-inner{width:calc(100% - 48px)}
  .kh-products-title{font-size:34px}
  .kh-products-filters{gap:22px}
  .kh-products-filter{font-size:18px}
  .kh-products-filter--all{width:78px;height:78px}
  .kh-products-filter--all .kh-products-filter-icon{font-size:46px;width:46px;height:46px;left:15px;top:14px}
  .kh-products-filter--all .kh-products-filter-label{font-size:18px}
  .kh-products-grid{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:26px;row-gap:34px;margin-top:50px}
  .kh-product-image-wrap{height:270px}
  .kh-product-image{max-height:270px}
}

@media(max-width:1024px){
  .kh-products-catalog{padding:56px 0 76px}
  .kh-products-inner{width:calc(100% - 40px)}
  .kh-products-title{font-size:32px}
  .kh-products-filter-shell{margin-top:28px}
  .kh-products-filters{gap:20px}
  .kh-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;row-gap:30px;margin-top:46px}
}

@media(max-width:767px){
  .kh-products-catalog{padding:38px 0 56px;overflow:visible}
  .kh-products-inner{width:calc(100% - 28px)}
  .kh-products-title{font-size:27px;line-height:1.18;padding:0 6px}

  /* Compact sticky rail. The sticky element remains inside .kh-products-inner, so it naturally stops with the section. */
  .kh-products-filter-shell{
    margin-top:18px;
    width:auto;
    margin-left:-14px;
    margin-right:-14px;
    display:grid;
    grid-template-columns:32px minmax(0,1fr) 32px;
    align-items:center;
    gap:4px;
    padding:var(--kh-mobile-bar-py,8px) 8px;
    background:var(--kh-mobile-filter-bg,#fff);
    border-top:1px solid rgba(0,0,0,.055);
    border-bottom:1px solid rgba(0,0,0,.07);
    box-shadow:0 5px 15px rgba(0,0,0,.055);
    z-index:50;
  }
  .kh-products-filter-shell--sticky-mobile{position:-webkit-sticky;position:sticky;top:var(--kh-mobile-filter-top,0px)}
  .kh-products-filter-shell--no-arrows{grid-template-columns:minmax(0,1fr);padding-left:10px;padding-right:10px}
  .kh-products-filter-viewport{min-width:0;overflow:hidden}
  .kh-products-filters{
    justify-content:flex-start;
    flex-wrap:nowrap;
    gap:6px!important;
    margin:0!important;
    width:100%;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scroll-behavior:smooth;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    padding:1px;
  }
  .kh-products-filters::-webkit-scrollbar{display:none}
  button.kh-products-filter,
  button.kh-products-filter:hover,
  button.kh-products-filter:focus,
  button.kh-products-filter:active,
  .kh-products-filter--all{
    flex:0 0 auto!important;
    width:auto!important;
    height:38px!important;
    min-width:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    padding:0 10px!important;
    border:1px solid var(--kh-mobile-chip-border,#e4e4e4)!important;
    border-radius:999px!important;
    background:var(--kh-mobile-chip-bg,#fff)!important;
    background-color:var(--kh-mobile-chip-bg,#fff)!important;
    color:#111;
    overflow:visible!important;
    position:relative;
    scroll-snap-align:center;
    box-shadow:none!important;
    opacity:1;
    transform:none!important;
    font-size:12.5px!important;
    font-weight:800!important;
    line-height:1!important;
    text-shadow:none!important;
  }
  .kh-products-filter:not(.kh-products-filter--all)::after{display:none}
  .kh-products-filter.is-active{
    border-color:var(--kh-filter-accent,#6d9946)!important;
    box-shadow:0 0 0 1px var(--kh-filter-accent,#6d9946)!important;
  }
  .kh-products-filter-icon,
  .kh-products-filter:not(.kh-products-filter--all) .kh-products-filter-icon,
  .kh-products-filter--all .kh-products-filter-icon{
    position:static!important;
    inset:auto!important;
    width:17px!important;
    height:17px!important;
    font-size:17px!important;
    line-height:1!important;
    transform:none!important;
    color:var(--kh-filter-accent,#6d9946)!important;
  }
  .kh-products-filter--all .kh-products-filter-icon{color:#111!important}
  .kh-products-filter-label,
  .kh-products-filter--all .kh-products-filter-label{
    position:static!important;
    z-index:auto!important;
    color:inherit!important;
    font-size:12.5px!important;
    font-weight:800!important;
    line-height:1!important;
    text-shadow:none!important;
  }
  .kh-products-filter-arrow{
    appearance:none;
    -webkit-appearance:none;
    display:flex;
    width:30px;
    height:30px;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(0,0,0,.09);
    border-radius:50%;
    background:var(--kh-mobile-arrow-bg,#fff);
    color:var(--kh-mobile-arrow-color,#111);
    cursor:pointer;
    padding:0;
    font:700 24px/1 Arial,sans-serif;
    box-shadow:none;
    transition:opacity .18s ease,transform .18s ease;
  }
  .kh-products-filter-arrow span{display:block;transform:translateY(-1px)}
  .kh-products-filter-arrow:active{transform:scale(.94)}
  .kh-products-filter-arrow.is-disabled{opacity:.25;pointer-events:none}
  .kh-products-filter-shell--no-arrows .kh-products-filter-arrow{display:none}

  .kh-products-grid{grid-template-columns:1fr;row-gap:24px;margin-top:28px}
  .kh-product-image-wrap{height:250px;justify-content:center;margin-bottom:18px}
  .kh-product-image{max-height:250px}
  .kh-product-card{padding:15px 15px 18px;text-align:center;box-shadow:0 3px 13px rgba(17,26,14,.05)}
  .kh-product-card:hover{transform:none;box-shadow:0 4px 16px rgba(17,26,14,.06)}
  .kh-product-title{font-size:20px;margin-bottom:6px}
  .kh-product-description{margin:8px auto 12px;font-size:12.5px;line-height:1.4}
  .kh-product-rating,.kh-product-no-reviews{justify-content:center}
  .kh-product-price{font-size:26px}
  .kh-product-cart-button{margin-top:14px}
}

@media(max-width:430px){
  .kh-products-catalog{padding:32px 0 48px}
  .kh-products-inner{width:calc(100% - 24px)}
  .kh-products-title{font-size:24px}
  .kh-products-filter-shell{margin-left:-12px;margin-right:-12px;grid-template-columns:30px minmax(0,1fr) 30px;padding-top:7px;padding-bottom:7px}
  .kh-products-filter-arrow{width:28px;height:28px;font-size:22px}
  button.kh-products-filter,.kh-products-filter--all{height:36px!important;padding-left:9px!important;padding-right:9px!important;font-size:12px!important}
  .kh-products-filter-label,.kh-products-filter--all .kh-products-filter-label{font-size:12px!important}
  .kh-product-image-wrap{height:225px}
  .kh-product-image{max-height:225px}
  .kh-products-grid{row-gap:22px;margin-top:24px}
}
