/* Native WooCommerce overrides scoped to this theme. */
body.znp-store-theme ul.products>li.product.product-card{height:270px;min-width:0;width:auto;margin:0;padding:9px 17px 12px;display:flex;flex-direction:column}
body.znp-store-theme ul.products>li.product.product-card .woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;min-height:0}
body.znp-store-theme ul.products>li.product.product-card .woocommerce-LoopProduct-link img{width:auto;height:150px;max-width:100%;flex-shrink:0;object-fit:contain;margin:0 auto 8px!important}
body.znp-store-theme ul.products>li.product.product-card .woocommerce-loop-product__title{font-size:13.5px;font-weight:600;line-height:18px;padding:0;margin:0;min-height:36px;max-height:36px}
body.znp-store-theme ul.products>li.product.product-card .price{margin:auto 40px 0 0!important;padding-top:7px;display:block!important;line-height:25px;font-size:20px;font-weight:800;color:#0c3a0a}
body.znp-store-theme .znp-home-shelf ul.products>li.product.product-card{height:236px}
body.znp-store-theme .znp-home-shelf ul.products>li.product.product-card .woocommerce-LoopProduct-link img{height:140px;margin-bottom:0!important}
/* Layout is owned by home-category.css.  Do not force all WooCommerce
   categories into one row: cards must wrap before their captions become
   unreadable. */
.znp-live-categories .category-caption strong{white-space:normal;line-height:17px}
.znp-store-theme .products>li.product-card .price{display:block!important}
.znp-store-theme.woocommerce div.product .summary p.price,.znp-store-theme.woocommerce div.product .summary span.price{display:block;white-space:normal;line-height:1.4}
.znp-store-theme .products>li.product-card .woocommerce-loop-product__title{display:block;line-height:18px;min-height:36px;max-height:none;overflow:visible;overflow-wrap:anywhere}
/* Dłuższe, edytowane nazwy produktów wydłużają kartę zamiast być ucinane. */
.znp-store-theme ul.products>li.product.product-card{height:auto;min-height:270px;overflow:visible}
.znp-store-theme .znp-home-shelf ul.products>li.product.product-card{height:auto;min-height:236px}
.product-carousel,.product-carousel .carousel-track{height:auto;min-height:236px}
.product-carousel .carousel-track{overflow-y:visible}
.znp-store-theme .products>li.product-card a.button:before{display:block}
.znp-store-theme .woocommerce ul.products:before,.znp-store-theme .woocommerce ul.products:after{display:none}
.znp-store-theme.woocommerce .products>li.product-card .onsale{inset:12px auto auto 16px;min-height:0;min-width:0;margin:0;padding:5px 10px;line-height:15px}
.znp-store-theme.woocommerce div.product form.cart .button{background:var(--green);color:#fff;border-radius:10px;padding:13px 18px}
.znp-store-theme .products>li.product-card a.button{background:linear-gradient(115deg,var(--lime),var(--green))}
.znp-store-theme .hero-cta{background:var(--lime)}
.znp-store-theme .product-tabs [aria-selected=true],.znp-store-theme .search button{background:var(--green)}
.znp-store-theme .znp-mega-category .icon,.znp-store-theme .znp-mega-extra .icon{color:var(--green)}
.znp-store-theme .woocommerce-product-gallery .flex-control-thumbs li img{height:110px;object-fit:contain}
.znp-store-theme .woocommerce-product-gallery .flex-viewport{border:1px solid #edf0e9;border-radius:16px}
.znp-store-theme .woocommerce-product-gallery .woocommerce-product-gallery__image img{object-fit:contain}
.znp-store-theme .woocommerce-product-gallery .flex-control-thumbs{margin-top:14px!important}
.znp-store-theme .znp-native-store .related>h2{margin-top:30px}
.znp-store-theme .woocommerce-ordering select{max-width:100%}
.znp-store-theme .wc-block-components-sidebar{padding:20px}
@media(max-width:540px){
 body.znp-store-theme ul.products>li.product.product-card{height:260px;padding-inline:10px}
 body.znp-store-theme .znp-home-shelf ul.products>li.product.product-card{height:242px}
 body.znp-store-theme ul.products>li.product.product-card .woocommerce-LoopProduct-link img{height:140px}
 body.znp-store-theme ul.products>li.product.product-card .woocommerce-loop-product__title{font-size:12px!important;line-height:17px;min-height:34px;max-height:34px}
 body.znp-store-theme ul.products>li.product.product-card .price{font-size:14px!important;padding-top:0;line-height:20px;margin-right:30px!important}
 .znp-store-theme .products>li.product-card .price{font-size:14px!important;margin-right:30px!important;padding-top:0;line-height:20px}
 .znp-store-theme .products>li.product-card .woocommerce-loop-product__title{line-height:17px;min-height:34px;max-height:34px}
 .znp-store-theme .products>li.product-card .price del{display:block!important;line-height:12px;font-size:10px!important}
 .znp-store-theme .products>li.product-card .price ins{display:block}
 .znp-store-theme .products>li.product-card a.button{right:10px;bottom:12px;width:30px}
 .znp-store-theme .woocommerce-product-gallery .flex-control-thumbs li img{height:75px}
 .znp-store-theme .woocommerce .woocommerce-result-count,.znp-store-theme .woocommerce .woocommerce-ordering{float:none;width:100%}
 .znp-store-theme .site-footer p{font-size:14px}
 .znp-store-theme .wc-block-components-sidebar{padding:14px}
}

/* 3.5.19: explicit, readable cart action with a collision-free price row. */
body.znp-store-theme ul.products>li.product.product-card{height:315px;min-height:315px;overflow:hidden}
body.znp-store-theme .znp-home-shelf ul.products>li.product.product-card{height:280px;min-height:280px}
body.znp-store-theme ul.products>li.product.product-card .woocommerce-LoopProduct-link{padding-bottom:45px}
body.znp-store-theme ul.products>li.product.product-card .price{margin-right:0!important}
body.znp-store-theme ul.products>li.product.product-card a.button{
 left:17px;right:17px;bottom:12px;width:auto;min-width:0;height:34px;
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 padding:0 12px;font-size:11.5px;line-height:1;font-weight:800;white-space:nowrap;
}
body.znp-store-theme ul.products>li.product.product-card a.button:before{width:17px;height:17px;flex:0 0 17px}
@media(max-width:540px){
 body.znp-store-theme ul.products>li.product.product-card{height:320px;min-height:320px}
 body.znp-store-theme .znp-home-shelf ul.products>li.product.product-card{height:310px;min-height:310px}
 body.znp-store-theme ul.products>li.product.product-card .woocommerce-LoopProduct-link{padding-bottom:47px}
 body.znp-store-theme ul.products>li.product.product-card .price{margin-right:0!important}
 body.znp-store-theme ul.products>li.product.product-card a.button{left:10px;right:10px;width:auto;min-width:0;height:35px;padding-inline:9px;gap:6px;font-size:11px}
 body.znp-store-theme ul.products>li.product.product-card a.button:before{width:15px;height:15px;flex-basis:15px}
 .product-carousel,.product-carousel .carousel-track{height:310px;min-height:310px}
 .product-carousel .carousel-track>.product-card{height:310px;min-height:310px}
 .product-carousel .carousel-arrow{top:138px}
}
