.catalog-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:38px;align-items:start}
.catalog-sidebar{border:1px solid #d8e4dc;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 14px 34px rgba(24,68,46,.1)}
body .catalog-sidebar>h2{display:flex;margin:0;padding:21px 20px;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#145f40,#287c58);color:#fff;font:700 20px Georgia,'Times New Roman',serif}
.catalog-sidebar>h2 svg{width:48px;height:40px;margin:-9px -4px -8px 12px;fill:rgba(166,211,181,.6);stroke:rgba(213,237,220,.42);stroke-width:1.2;stroke-linecap:round}
.catalog-sidebar details{position:relative;border-bottom:1px solid #e2eae5;background:#fff}
.catalog-sidebar details:last-child{border-bottom:0}
.catalog-sidebar-root{display:grid;min-height:57px;padding:0 18px;grid-template-columns:28px minmax(0,1fr) 18px;gap:10px;align-items:center;border-bottom:1px solid #e2eae5;background:#fff;color:#173e30;text-decoration:none;transition:background-color .2s ease,color .2s ease}
.catalog-sidebar-root:last-child{border-bottom:0}.catalog-sidebar-root:hover,.catalog-sidebar-root:focus-visible{background:linear-gradient(90deg,#eef6f1,#f8fbf9);color:#0d5737;outline:0}.catalog-sidebar-root strong{font:700 16px Georgia,'Times New Roman',serif}.catalog-sidebar-link-arrow{color:#397d61;font-size:22px;text-align:right}
.catalog-sidebar details.is-current:before{content:"";position:absolute;z-index:2;top:8px;bottom:8px;left:0;width:3px;border-radius:0 3px 3px 0;background:#168255}
.catalog-sidebar summary{display:grid;min-height:57px;padding:0 18px;cursor:pointer;list-style:none;grid-template-columns:28px minmax(0,1fr) 18px;gap:10px;align-items:center;background:#fff;color:#173e30;transition:background-color .2s ease,color .2s ease}
.catalog-sidebar summary::-webkit-details-marker{display:none}
.catalog-sidebar details[open] summary,.catalog-sidebar summary:hover{background:linear-gradient(90deg,#eef6f1,#f8fbf9)}
.catalog-sidebar summary:focus-visible{outline:2px solid #238059;outline-offset:-3px}
.catalog-sidebar summary strong{font:700 16px Georgia,'Times New Roman',serif}
.catalog-sidebar-icon{display:flex;color:#397d61;align-items:center}
.catalog-sidebar-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.catalog-sidebar-chevron{width:9px;height:9px;border-right:1.8px solid #386957;border-bottom:1.8px solid #386957;transform:rotate(45deg) translate(-2px,-2px);transition:transform .22s ease}
.catalog-sidebar details[open] .catalog-sidebar-chevron{transform:rotate(225deg) translate(-1px,-1px)}
.catalog-sidebar-children{padding:5px 18px 16px 56px;background:#fff}
.catalog-sidebar details a{display:block;padding:6px 4px;color:#566b61;font-size:13px;line-height:1.35;text-decoration:none;border-radius:4px;transition:color .18s ease,background-color .18s ease,padding-left .18s ease}
.catalog-sidebar details a:hover,.catalog-sidebar details a:focus-visible{padding-left:8px;background:#eef6f1;color:#167046;outline:0}
.catalog-sidebar details.is-current>summary{background:linear-gradient(90deg,#e2f1e7,#f2f8f4);color:#0d5737}
.catalog-sidebar details.is-current>summary strong{font-weight:800}
.catalog-sidebar details a.is-active{position:relative;margin:2px -8px;padding:9px 30px 9px 12px;border-radius:6px;background:#dceee3;color:#0b5b38;font-weight:800;box-shadow:inset 3px 0 #168255}
.catalog-sidebar details a.is-active:before{content:"";position:absolute;top:50%;right:11px;width:7px;height:7px;border-top:2px solid #168255;border-right:2px solid #168255;transform:translateY(-50%) rotate(45deg)}
.catalog-sidebar details a.is-active:hover,.catalog-sidebar details a.is-active:focus-visible{padding-left:15px;background:#d4e9dc;color:#084b2e}
.catalog-sidebar .catalog-view-group{margin:0 0 3px;color:#218054;font-size:12px;font-weight:700}
.catalog-sidebar .catalog-view-group span{margin-left:4px}
.catalog-help{padding:24px;background:#eaf3ed}.catalog-help h3{font-size:20px}.catalog-help p{font-size:14px}.catalog-help>a{color:#215f42;font-weight:bold;font-size:13px}
.catalog-content{min-width:0}.catalog-content>header{margin-bottom:34px}.catalog-content>header h2{font-size:36px}.catalog-content>header p{font-size:16px}
.catalog-family{margin-bottom:40px}.catalog-family>header{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid #dbe7df;padding-bottom:15px;margin-bottom:18px}
.catalog-family>header h2{font-size:27px;margin:0}.catalog-family>header a{color:#276746;white-space:nowrap;font-weight:700;font-size:14px}
.catalog-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.products-catalog-home .catalog-products{grid-template-columns:repeat(4,minmax(0,1fr))}
.catalog-product{min-width:0;overflow:hidden;border:1px solid #dce7de;border-radius:8px;background:#fff;transition:box-shadow .2s,transform .2s}
.catalog-product:hover{transform:translateY(-4px);box-shadow:0 12px 26px #143a2114}
.catalog-product img{display:block;width:100%;aspect-ratio:1;object-fit:contain;object-position:center;padding:0;background:#fff}
.catalog-product a>div{padding:19px}.catalog-product h3{font-size:19px;margin:0 0 12px;line-height:1.3}
.catalog-product span{color:#337951;font-size:13px;font-weight:700}
.product-dropdown .catalog-menu-group{padding:9px 0;border-bottom:1px solid #e2ebe5}
.nav .product-dropdown .catalog-menu-title{font-weight:800;color:#195e3b;background:#edf5ef}
.nav .product-dropdown .catalog-menu-group>a{display:block;padding:8px 18px;font-size:13px;color:#466452;line-height:1.4}
.nav .product-dropdown{max-height:75vh;overflow-y:auto}
@media(max-width:1100px){.catalog-layout{grid-template-columns:230px minmax(0,1fr);gap:24px}.catalog-products,.products-catalog-home .catalog-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.catalog-layout{grid-template-columns:1fr}.catalog-content>header h2{font-size:29px}.catalog-sidebar{box-shadow:0 9px 24px rgba(24,68,46,.08)}.catalog-sidebar summary,.catalog-sidebar-root{min-height:52px}.catalog-sidebar-children{padding-left:56px}.catalog-help{display:none}}
@media(max-width:480px){.catalog-products,.products-catalog-home .catalog-products{grid-template-columns:1fr}.catalog-family>header h2{font-size:24px}}

/* Products mega menu */
@media(min-width:861px){
  .nav .catalog-mega-menu{left:50%;width:min(1100px,calc(100vw - 32px));max-height:calc(100vh - 125px);padding:20px 22px 0;border:1px solid #dce7de;border-top:0;border-radius:12px;background:#fbfdfb url('../images/product_24.jpg') center/cover no-repeat;overflow:auto;box-shadow:0 22px 58px rgba(16,52,33,.2);transform:translate(-48%,14px)}
  .nav-dropdown:hover>.catalog-mega-menu,.nav-dropdown:focus-within>.catalog-mega-menu,.nav-dropdown.is-open>.catalog-mega-menu{transform:translate(-48%,0)}
  .catalog-mega-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
  .product-dropdown .catalog-menu-group{min-width:0;padding:0 22px 20px;border:0;border-right:1px solid #dce6df}
  .product-dropdown .catalog-menu-group:first-child{padding-left:0}.product-dropdown .catalog-menu-group:last-child{padding-right:0;border-right:0}
  .nav .product-dropdown .catalog-menu-image{display:block;width:100%;height:auto;padding:0!important;background:transparent!important}
  .nav .product-dropdown .catalog-menu-image:after{content:none!important}
  .catalog-menu-image img{width:100%;aspect-ratio:1.48/1;object-fit:cover;border-radius:4px}
  .nav .product-dropdown .catalog-menu-title{display:block;height:auto;min-height:0;margin:15px 0 2px;padding:0!important;background:transparent;color:#143c31;font-family:Georgia,'Times New Roman',serif;font-size:21px;font-weight:700;line-height:1.2}
  .nav .product-dropdown .catalog-menu-title:after{content:none!important}
  .catalog-menu-group>p{min-height:41px;margin:0;color:#67766e;font-size:13px;line-height:1.45}
  .catalog-menu-rule{display:block;width:30px;height:2px;margin:11px 0 8px;background:#2d7953}
  .nav .product-dropdown .catalog-menu-link{display:flex;height:auto!important;min-height:31px;padding:5px 0!important;align-items:center;justify-content:space-between;background:transparent!important;color:#294c3d;font-size:13px;font-weight:500;line-height:1.25}
  .nav .product-dropdown .catalog-menu-link:before,.nav .product-dropdown .catalog-menu-link:after{content:none!important}
  .catalog-menu-link b{margin-left:8px;color:#276b49;font-size:16px;font-weight:500}
  .nav .product-dropdown .catalog-menu-link:hover{color:#16804a;transform:translateX(2px)}
  .catalog-mega-footer{display:flex;min-height:74px;margin:0 -22px;padding:14px 32px 14px 190px;align-items:center;justify-content:space-between;border-radius:0 0 12px 12px;background:linear-gradient(90deg,rgba(234,245,237,.72),rgba(244,249,245,.9));position:relative;overflow:hidden}
  .catalog-mega-footer:before{content:"";position:absolute;inset:0;background:url('../images/product_24.jpg') left center/cover no-repeat;opacity:.38;z-index:0}
  .catalog-mega-footer>*{position:relative;z-index:1}.catalog-mega-footer strong{color:#174735;font-family:Georgia,'Times New Roman',serif;font-size:20px;line-height:1.05}
  .nav .product-dropdown .catalog-mega-footer>a{display:flex;height:40px!important;min-width:170px;padding:0 20px!important;border-radius:5px;background:#176242!important;color:#fff!important;align-items:center;justify-content:center;font-size:13px;font-weight:700}
  .nav .product-dropdown .catalog-mega-footer>a:before,.nav .product-dropdown .catalog-mega-footer>a:after{content:none!important}
}
@media(max-width:860px){
  .nav .catalog-mega-menu{max-height:75vh;padding:4px 0 12px;background:#f7faf7;overflow-y:auto}
  .catalog-menu-image,.catalog-menu-group>p,.catalog-menu-rule,.catalog-mega-footer{display:none!important}
  .product-dropdown .catalog-menu-group{padding:7px 10px;border-bottom:1px solid #dfe9e2}
  .nav .product-dropdown .catalog-menu-title{min-height:36px;padding:6px 12px!important;background:#eaf3ed;color:#1a5d3d;font-size:14px;font-weight:800}
  .nav .product-dropdown .catalog-menu-link{display:flex;min-height:34px;padding:7px 16px!important;justify-content:space-between;color:#4a6154;font-size:13px}
}

@media(min-width:861px){
  .catalog-menu-image,.catalog-menu-image img{height:150px!important}
  .catalog-menu-image img{aspect-ratio:auto!important;object-fit:cover!important;object-position:center}
  .catalog-menu-group>p{min-height:36px;color:#87948d;font-size:11.5px;font-weight:400;line-height:1.4}
  .catalog-menu-rule{margin:10px 0 9px}
  .catalog-subcategories{overflow:hidden;border:1px solid rgba(191,211,198,.8);border-radius:7px;background:rgba(255,255,255,.54)}
  .nav .product-dropdown .catalog-subcategories .catalog-menu-link{min-height:34px;padding:7px 10px!important;border-bottom:1px solid rgba(207,222,212,.78)}
  .nav .product-dropdown .catalog-subcategories .catalog-menu-link:last-child{border-bottom:0}
  .nav .product-dropdown .catalog-subcategories .catalog-menu-link:hover{padding-left:13px!important;background:rgba(229,242,233,.78)!important;transform:none}
  .catalog-mega-footer{display:grid;grid-template-columns:240px 1fr 190px;gap:24px;min-height:92px;padding:13px 30px 13px 42px}
  .catalog-mega-footer strong{text-align:left}
  .catalog-mega-benefits{display:flex;align-items:center;justify-content:flex-start;gap:46px}
  .catalog-mega-benefits>span{display:flex;align-items:center;gap:9px;color:#175d3e}
  .catalog-mega-benefits svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 28px}
  .catalog-mega-benefits small{color:#24483a;font-size:10.5px;line-height:1.25;white-space:nowrap}
  .nav .product-dropdown .catalog-mega-footer>a{justify-self:end}
}
@media(max-width:860px){.catalog-mega-benefits{display:none}}

@media(min-width:861px){
  .catalog-mega-footer{min-height:108px}
  .catalog-mega-benefits{gap:34px}
  .catalog-mega-benefits>span{gap:11px}
  .catalog-mega-benefits svg{width:50px;height:50px;padding:10px;border:1px solid #b7d4c1;border-radius:50%;background:linear-gradient(145deg,#f4faf6,#dceee2);color:#126442;stroke-width:1.65;box-shadow:0 6px 15px rgba(27,93,58,.12);flex-basis:50px}
  .catalog-mega-benefits small{color:#1d4837;font-size:11.5px;font-weight:600;line-height:1.3}
}

/* Mobile navigation stops at the second category level */
.catalog-mobile-groups{display:none}
@media(max-width:860px){
  .nav-dropdown>.product-nav-link .nav-arrow{display:none!important}
.nav-dropdown.is-open>.product-dropdown.catalog-mega-menu{display:block!important;max-height:184px!important;padding:0 8px!important;visibility:visible!important;opacity:1!important;overflow:hidden!important}
  .catalog-mega-groups,.catalog-mega-footer{display:none!important}
  .catalog-mobile-groups{display:block!important}
  .nav .product-dropdown .catalog-mobile-groups a{display:flex;height:46px;min-height:46px;padding:0 14px;border-bottom:1px solid #dfe9e2;align-items:center;justify-content:space-between;gap:12px;color:#264d3b;font-size:14px;font-weight:700;line-height:1.35;text-decoration:none}
  .nav .product-dropdown .catalog-mobile-groups a:after{content:none}
  .catalog-mobile-groups a:last-child{border-bottom:0}
  .catalog-mobile-groups b{color:#47715d;font-size:20px;font-weight:400}
}

/* Product and news pagination */
.pagination{
  display:flex;
  width:100%;
  margin:34px 0 8px;
  padding:22px 0 0;
  border-top:1px solid #dfe8e2;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
  color:#52665b;
  font-size:13px;
  line-height:1;
}
.pagination>a,.pagination>b{
  display:inline-flex;
  min-width:42px;
  height:42px;
  padding:0 14px;
  border:1px solid #d8e4dc;
  border-radius:8px;
  background:#fff;
  color:#244638;
  align-items:center;
  justify-content:center;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 3px 12px rgba(18,69,44,.04);
  transition:color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.pagination>a:hover,.pagination>a:focus-visible{
  border-color:#287451;
  background:#edf6f0;
  color:#17633f;
  box-shadow:0 5px 16px rgba(18,87,53,.1);
  outline:0;
}
.pagination>b{
  border-color:#176b44;
  background:#176b44;
  color:#fff;
  box-shadow:0 6px 16px rgba(23,107,68,.2);
}
.pagination>a[title="Total record"]{
  width:auto;
  height:42px;
  margin-right:auto;
  padding:0 14px;
  border-color:#e0e9e3;
  background:#f5f8f6;
  color:#66786e;
  box-shadow:none;
  cursor:default;
  font-weight:500;
}
.pagination>a[title="Total record"]::before{content:"Total ";margin-right:4px}
.pagination>a[title="Total record"]::after{content:" products";margin-left:4px}
.pagination>a[title="Total record"] b{color:#174c35;font-size:15px}

@media(max-width:640px){
  .pagination{justify-content:center;margin-top:26px;padding-top:18px;gap:6px}
  .pagination>a,.pagination>b{min-width:38px;height:38px;padding:0 11px;border-radius:7px;font-size:12px}
  .pagination>a[title="Total record"]{width:100%;margin:0 0 6px;justify-content:center}
  .pagination>a[title="Total record"]~a:first-of-type{margin-left:0}
}

@media(prefers-reduced-motion:reduce){
  .pagination>a{transition:none}
}
