/* Labootik Toolkit — docelowe kafelki podkategorii */
.lbtk-subcategory-nav{margin:16px 0 24px}
.lbtk-subcategory-nav a{text-decoration:none}
.lbtk-subcategory-nav__list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.lbtk-subcategory-nav__item{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:62px;padding:12px 13px;overflow:hidden;border:1px solid #e3d9d1;border-radius:12px;background:radial-gradient(circle at 88% 18%,rgba(217,174,132,.18) 0,rgba(217,174,132,0) 31%),linear-gradient(145deg,#fbf8f5 0%,#f4eee9 100%);color:#2d241e;box-shadow:0 3px 12px rgba(58,39,25,.045);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.lbtk-subcategory-nav__item:before{content:"";position:absolute;width:72px;height:72px;right:-28px;top:-31px;border:1px solid rgba(163,119,83,.16);border-radius:50%;z-index:-1}
.lbtk-subcategory-nav__item:hover{transform:translateY(-1px);border-color:#b88964;box-shadow:0 6px 18px rgba(58,39,25,.075)}
.lbtk-subcategory-nav__content{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.lbtk-subcategory-nav__title{display:block;font-size:14px;font-weight:800;line-height:1.15;letter-spacing:-.01em;color:#2d241e}
.lbtk-subcategory-nav__count{display:inline-flex;align-items:center;width:max-content;margin-top:5px;padding:3px 7px;border:1px solid rgba(150,109,77,.10);border-radius:999px;background:rgba(255,255,255,.62);color:#76665a;font-size:9px;font-weight:700;line-height:1;white-space:nowrap}
.lbtk-subcategory-nav__arrow{flex:0 0 28px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid rgba(125,90,65,.24);border-radius:50%;background:rgba(255,255,255,.68);color:#765a46;font-size:16px;line-height:1;box-shadow:0 2px 8px rgba(72,48,31,.04)}
.lbtk-subcategory-nav__all{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:12px;min-height:44px;padding:9px 16px;border:1px solid #d9cec6;border-radius:10px;color:#2d241e;background:#fff;font-weight:700;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}
.lbtk-subcategory-nav__all:hover{border-color:#b88964;background:#fbf8f5;box-shadow:0 4px 14px rgba(58,39,25,.045)}
.lbtk-products-anchor{display:block;position:relative;top:-12px;visibility:hidden}

@media(max-width:767px){
	.lbtk-subcategory-nav{margin:18px 0 18px}
	.lbtk-subcategory-nav__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
	.lbtk-subcategory-nav__item{min-height:68px;padding:11px 12px;border-radius:11px}
	.lbtk-subcategory-nav__title{font-size:14px}
	.lbtk-subcategory-nav__arrow{flex-basis:27px;width:27px;height:27px;font-size:15px}
	.lbtk-subcategory-nav__count{margin-top:5px;padding:3px 6px;font-size:9px}

	body.lbtk-compact-category-header.tax-product_cat .page-header{min-height:0!important;padding:18px 0 15px!important;margin:0!important;background-position:center!important}
	body.lbtk-compact-category-header.tax-product_cat .page-header .woostify-container{min-height:0!important;padding-top:0!important;padding-bottom:0!important}
	body.lbtk-compact-category-header.tax-product_cat .page-header .entry-title{margin:0 0 7px!important;line-height:1.12!important;font-size:26px!important}
	body.lbtk-hide-category-prefix.tax-product_cat .page-header .entry-title{font-size:0!important}
	body.lbtk-hide-category-prefix.tax-product_cat .page-header .entry-title span{font-size:26px!important;line-height:1.12!important}
	body.lbtk-compact-category-header.tax-product_cat .page-header .woostify-breadcrumb{font-size:12px!important;line-height:1.35!important;margin:0!important}
}

@media(min-width:768px) and (max-width:1100px){
	.lbtk-subcategory-nav__list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
