:root{--page-gutter:1rem;--page-max:1440px}
.page-shell--after-banner{padding:1.5rem 0 3rem;border-top:1px solid rgba(255,255,255,.05);background:rgba(248,248,250,.05)}
.mh-category-banner{position:relative;display:flex;align-items:center;width:100%;min-height:130px;margin-top:var(--header-height,88px);overflow:hidden}
.mh-category-banner__bg{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover}
.mh-category-banner__gradient{position:absolute;inset:0;background:linear-gradient(to right,#101112 0%,rgba(16,17,18,.72) 42%,transparent 78%);pointer-events:none}
.mh-category-banner__inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:.45rem;padding-block:1.35rem}
.mh-category-banner__title{margin:0;color:#fff;font-size:clamp(1.25rem,4vw,3.125rem);font-weight:800;line-height:1.1;letter-spacing:-.03em}
.mh-category-banner__help{max-width:40rem;margin:0;color:rgba(255,255,255,.72);font-size:clamp(.8125rem,1.4vw,1rem);line-height:1.5}
.catalog-layout{display:flex;gap:1.5rem;margin-top:2rem;min-width:0}
.catalog-products{min-width:0;flex:1}
.catalog-filters{width:15rem;flex:0 0 15rem;align-self:flex-start;padding:1rem;border:1px solid #72727a;border-radius:.75rem;background:#18191b}
.catalog-filters__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.catalog-filters__header h2{margin:0;color:#fff;font-size:.875rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.catalog-filters__content{margin-top:1rem;color:#e4e4e7;font-size:.875rem}
.catalog-filters__content fieldset{display:grid;gap:.5rem;margin:0;padding:0;border:0}
.catalog-filters__content legend{margin-bottom:.5rem;color:#a1a1aa}
.catalog-filters__content label{display:flex;align-items:center;gap:.5rem;cursor:pointer}
.catalog-filters__content input{accent-color:#dc2626}
.catalog-filters__apply{width:100%;margin-top:1.25rem;padding:.65rem 1rem;border:0;border-radius:9999px;background:#dc2626;color:#fff;font-size:.8125rem;font-weight:600}
.catalog-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1rem}
.catalog-toolbar .woocommerce-result-count,.catalog-toolbar .woocommerce-ordering{float:none;margin:0}
.catalog-toolbar .woocommerce-result-count{color:#71717a;font-size:.875rem}
.catalog-toolbar .woocommerce-ordering{display:flex;align-items:center;gap:.5rem;min-width:0}
.catalog-toolbar .woocommerce-ordering:before{content:"Сортиране";color:#a1a1aa;font-size:.875rem}
.catalog-toolbar .orderby{min-width:0;max-width:100%;padding:.55rem .85rem;border:1px solid rgba(255,255,255,.12);border-radius:.75rem;background:#18191b;color:#fff;font-size:.8125rem}
.woocommerce ul.products,
.catalog-products ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:0!important;padding:0!important;width:100%!important;max-width:100%!important}
.woocommerce ul.products:before,.woocommerce ul.products:after,
.catalog-products ul.products:before,.catalog-products ul.products:after{display:none!important}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product,
.catalog-products ul.products li.product{float:none!important;clear:none!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;text-align:left!important}
.mh-product-card{--mh-card-radius:20px;--mh-card-image-h:180px;position:relative;display:flex;width:100%;height:100%;flex-direction:column;overflow:hidden;border:1px solid #27272a!important;border-radius:var(--mh-card-radius);background:#18191b;box-shadow:0 4px 14px rgba(0,0,0,.28)}
.mh-product-card__image-wrap{position:relative;display:block;width:100%;height:var(--mh-card-image-h);aspect-ratio:auto;flex-shrink:0;overflow:hidden;background:#09090b}
.mh-product-card__image-wrap img,.woocommerce ul.products li.product .mh-product-card__image-wrap img{width:100%;height:100%;margin:0;object-fit:cover;transition:transform .35s ease}
.mh-product-card__image-wrap .woocommerce-image-swap-wrapper{position:relative;display:block;width:100%;height:100%;overflow:hidden}
.mh-product-card__image-wrap .woocommerce-image-swap-wrapper img{position:absolute;inset:0;max-width:none;max-height:none;opacity:1;transition:opacity .3s ease,transform .35s ease}
.mh-product-card__image-wrap .woocommerce-image-swap-wrapper .woocommerce-hover-image{opacity:0}
.mh-product-card:hover .woocommerce-image-swap-wrapper .wp-post-image{opacity:0}
.mh-product-card:hover .woocommerce-image-swap-wrapper .woocommerce-hover-image{z-index:2;opacity:1}
.mh-product-card:hover .mh-product-card__image-wrap img{transform:scale(1.05)}
.mh-product-card__content,.woocommerce ul.products li.product .mh-product-card__content{display:flex;min-width:0;flex:1;flex-direction:column;gap:0;padding:10px;text-align:left!important}
.mh-product-card__title,.woocommerce ul.products li.product .mh-product-card__title,.woocommerce ul.products li.product .mh-product-card__title a{display:-webkit-box;min-height:0;margin:0 0 .25rem;padding:0;color:#fff;font-size:.9375rem;font-weight:600;line-height:1.3;text-align:left!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.mh-product-card__title a{color:inherit;text-decoration:none}
.mh-product-card__price,.woocommerce ul.products li.product .mh-product-card__price{margin:0 0 .5rem;color:#fff;font-size:.9375rem;font-weight:700;text-align:left!important}
.mh-product-card__btn{display:flex;align-items:center;justify-content:center;width:100%;margin-top:auto;padding:.5rem 1rem;border:0;border-radius:15px;background:#dc2626;color:#fff!important;font-size:.875rem;font-weight:500;text-decoration:none;white-space:nowrap;transition:background .25s}
.mh-product-card:hover .mh-product-card__btn{background:#ef4444}
.woocommerce nav.woocommerce-pagination,
.catalog-products nav.woocommerce-pagination{margin-top:2.5rem;text-align:center}
.woocommerce nav.woocommerce-pagination ul,
.catalog-products nav.woocommerce-pagination ul{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:.35rem;margin:0!important;padding:0!important;border:0!important;white-space:normal!important;float:none!important;clear:both}
.woocommerce nav.woocommerce-pagination ul li,
.catalog-products nav.woocommerce-pagination ul li{display:block!important;float:none!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span,
.catalog-products nav.woocommerce-pagination ul li a,.catalog-products nav.woocommerce-pagination ul li span{box-sizing:border-box;display:grid!important;min-width:2.5rem;width:2.5rem;height:2.5rem;place-items:center;padding:0!important;border:1px solid rgba(255,255,255,.12);border-radius:9999px;background:transparent;color:#e4e4e7;font-size:.875rem;line-height:1;text-decoration:none}
.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover,
.catalog-products nav.woocommerce-pagination ul li span.current,.catalog-products nav.woocommerce-pagination ul li a:hover{border-color:#dc2626;background:#dc2626;color:#fff}
@media (max-width:1023px){
  .woocommerce nav.woocommerce-pagination ul,
  .catalog-products nav.woocommerce-pagination ul{gap:.25rem}
  .woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span,
  .catalog-products nav.woocommerce-pagination ul li a,.catalog-products nav.woocommerce-pagination ul li span{min-width:1.85rem;width:1.85rem;height:1.85rem;font-size:.75rem}
  .mh-product-card__btn{border-radius:9999px}
}
/* Short description under header; long/extra (.term-description-extra) after products */
.mh-cat-desc,.term-description{width:100%;margin-top:1.25rem;color:#a1a1aa;font-size:.95rem;line-height:1.65}
.mh-cat-desc__content{transition:max-height .45s ease}.mh-cat-desc__content p,.term-description p{margin:0 0 1rem}
.mh-cat-desc__content p:last-child,.term-description p:last-child{margin-bottom:0}
.mh-cat-desc__toggle{display:none;margin-top:.75rem;padding:0;border:0;background:none;color:#ef4444;font-size:.875rem;font-weight:600}
.term-description-extra{width:100%;margin-top:2.5rem;padding:1.25rem 1.1rem;border:1px solid rgba(255,255,255,.08);border-radius:.9rem;background:#18191b;color:#a1a1aa;font-size:.95rem;line-height:1.65}
.term-description-extra p{margin:0 0 1rem}.term-description-extra p:last-child{margin-bottom:0}
.term-description-extra h2{margin:0 0 .75rem;color:#fff;font-size:1.15rem;font-weight:700;line-height:1.3}
@media (max-width:1023px){
  .mh-cat-desc[data-expanded=false] .mh-cat-desc__content{max-height:8.25rem;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,#000 45%,transparent);mask-image:linear-gradient(to bottom,#000 45%,transparent)}
  .mh-cat-desc[data-expanded=true] .mh-cat-desc__content{max-height:80rem;-webkit-mask-image:none;mask-image:none}
  .mh-cat-desc__toggle{display:inline-block}
}
.mh-catalog-offers{margin-top:0;padding:3rem 0 4rem;background:transparent}
.mh-catalog-offers__inner{width:100%;max-width:var(--page-max);margin-inline:auto;padding-inline:var(--page-gutter);box-sizing:border-box}
.mh-catalog-offers__head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}
.mh-catalog-offers .mh-section-title{margin:0;color:#fff;font-size:clamp(1.5rem,3vw,1.875rem);font-weight:700}
.mh-catalog-offers .mh-section-help{margin:.5rem 0 0;color:#a1a1aa;font-size:.875rem}
.mh-catalog-offers__arrows{display:flex;gap:.5rem}.mh-carousel-arrow{display:grid;width:2.5rem;height:2.5rem;place-items:center;border:0;border-radius:9999px;background:#dc2626;color:#fff}.mh-carousel-arrow:disabled{background:#52525b;opacity:.4}.mh-carousel-arrow svg{width:1.25rem;height:1.25rem;fill:none;stroke:currentColor;stroke-width:2}
.mh-catalog-offers__track{display:flex;gap:1.25rem;margin:1.5rem 0 0;padding:0 0 .5rem;overflow-x:auto}
.mh-offer-card{display:flex;width:9.8rem;flex:0 0 auto;flex-direction:column;gap:10px;color:inherit;text-decoration:none}.mh-offer-card__media{position:relative;aspect-ratio:6/7;overflow:hidden;border-radius:3px 20px 3px 20px;background:#09090b}.mh-offer-card__media:after{content:"";position:absolute;top:18%;bottom:18%;left:0;width:2px;background:#dc2626;transform:scaleY(.55);transition:transform .35s}.mh-offer-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .45s}.mh-offer-card:hover .mh-offer-card__media img{transform:scale(1.06)}.mh-offer-card:hover .mh-offer-card__media:after{transform:scaleY(1)}.mh-offer-card__meta{display:grid;grid-template-columns:auto 1fr;align-items:end;gap:7px;min-height:2.3rem}.mh-offer-card__index{color:rgba(255,255,255,.14);font-size:1.25rem;font-weight:800;line-height:.9}.mh-offer-card__text{display:flex;min-width:0;flex-direction:column;gap:3px}.mh-offer-card__text h3{margin:0;color:#fff;font-size:.9rem;font-weight:700;line-height:1.15}.mh-offer-card__cta{display:inline-flex;align-items:center;gap:4px;color:#a1a1aa;font-size:.7rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.mh-offer-card__cta svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2}
.catalog-filters-trigger,.catalog-filters-close,.catalog-filters-backdrop{display:none}
@media (min-width:640px){.woocommerce ul.products,.catalog-products ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.mh-offer-card{width:14rem}}
@media (min-width:768px){.mh-product-card{--mh-card-image-h:280px}}
@media (min-width:1280px){.woocommerce ul.products,.catalog-products ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1024px){.mh-category-banner{min-height:200px}}
@media (max-width:1023px){.catalog-layout{display:block;margin-top:1rem}.catalog-filters-trigger{display:inline-flex;width:100%;align-items:center;justify-content:center;margin-top:1.5rem;padding:.85rem 1.25rem;border:1px solid #e4e4e7;border-radius:.75rem;background:#f4f4f5;color:#18181b;font-size:.875rem;font-weight:600;text-transform:uppercase}.catalog-filters-close{display:grid;width:2.25rem;height:2.25rem;place-items:center;border:1px solid rgba(255,255,255,.18);border-radius:9999px;background:rgba(255,255,255,.06);color:#fff;font-size:1.35rem}.catalog-filters-backdrop:not([hidden]){position:fixed;inset:0;z-index:9998;display:block;background:rgba(0,0,0,.62);backdrop-filter:blur(12px)}.catalog-filters{position:fixed;top:50%;left:50%;z-index:9999;width:min(22rem,calc(100% - 2.5rem));max-width:calc(100% - 2.5rem);max-height:85vh;overflow:auto;opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,-46%) scale(.96);transition:.22s}.catalog-filters-open .catalog-filters{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}body.catalog-filters-open{overflow:hidden}}

/* Kill legacy Rockbunker float % widths from category-products.css — MH uses CSS grid */
@media (max-width:649px),(min-width:650px) and (max-width:769px),(min-width:770px) and (max-width:1800px),(min-width:1801px){
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .woocommerce ul.products[class*=columns-] li.product,
  .woocommerce-page ul.products[class*=columns-] li.product,
  .catalog-products ul.products li.product,
  .catalog-products ul.products[class*=columns-] li.product{
    width:auto!important;
    margin-right:0!important;
    margin-bottom:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
}
