/* JoyPetBook – listy produktów (bloki WooCommerce) i karta produktu */
.wc-block-product-template{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;gap:1rem!important;margin:0!important;padding:0!important;list-style:none}
.wc-block-product-template > li.wc-block-product{width:auto!important;max-width:none!important;margin:0!important;box-sizing:border-box;display:flex;flex-direction:column;background:#fff;border:1px solid #ece7de;border-radius:16px;padding:.9rem!important;text-align:left;transition:box-shadow .15s,transform .15s}
.wc-block-product-template > li.wc-block-product:hover{box-shadow:0 12px 28px rgba(31,95,74,.12);transform:translateY(-2px)}
.wc-block-product .wc-block-components-product-image{margin:0 0 .6rem!important;border-radius:12px;overflow:hidden;background:#fff}
.wc-block-product .wc-block-components-product-image img{aspect-ratio:1/1;object-fit:contain!important;width:100%;height:auto}
.wc-block-product .wp-block-post-title{text-align:left!important;font-size:.95rem!important;font-weight:600;line-height:1.35;margin:0 0 .4rem!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.wc-block-product .wp-block-post-title a{color:#1d2a24;text-decoration:none}
.wc-block-product .wp-block-post-title a:hover{color:#1f5f4a}
.wc-block-product .wp-block-woocommerce-product-price{text-align:left!important;margin:0 0 .75rem!important}
.wc-block-product .wc-block-components-product-price{color:#1f5f4a;font-weight:800;font-size:1.1rem!important}
.wc-block-product .wp-block-woocommerce-product-button{margin-top:auto!important;text-align:left!important}
.wc-block-product .wp-block-woocommerce-product-button .wp-block-button__link,.wc-block-product .wc-block-components-product-button__button{display:block;width:100%;box-sizing:border-box;background:#f28c28!important;color:#fff!important;border:0;border-radius:999px!important;padding:.65rem 1rem!important;font-size:.9rem!important;font-weight:700;text-align:center}
.wc-block-product .wc-block-components-product-button__button:hover{background:#d9761a!important}
@media(max-width:600px){.wc-block-product-template{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.6rem!important}.wc-block-product-template > li.wc-block-product{padding:.6rem!important}.wc-block-product .wc-block-components-product-button__button{font-size:.8rem!important;padding:.55rem .5rem!important}}
/* nagłówek kategorii */
.woocommerce-products-header__title,.wp-block-query-title{font-family:Quicksand,Inter,sans-serif;font-weight:700;color:#173f33}
.jpb-catdesc{max-width:760px;color:#46534d;font-size:1rem;line-height:1.6;margin:.25rem 0 1rem}
.jpb-subcats{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 1.5rem;padding:0;list-style:none}
.jpb-subcats a{display:inline-flex;align-items:center;gap:.4rem;background:#fff;border:1px solid #e3ddd2;border-radius:999px;padding:.5rem .95rem;font-size:.9rem;font-weight:600;color:#1f5f4a;text-decoration:none;transition:background .15s,border-color .15s}
.jpb-subcats a:hover{background:#e7f2ec;border-color:#cfe2d8}
.jpb-subcats a.is-active{background:#1f5f4a;color:#fff;border-color:#1f5f4a}
.jpb-subcats small{opacity:.65;font-weight:500}
.woocommerce-ordering select,.wc-block-catalog-sorting select{border:1px solid #d9d2c5;border-radius:999px;padding:.45rem .9rem;background:#fff;font-size:.9rem}
.woocommerce-result-count,.wc-block-product-results-count{color:#6b746f;font-size:.9rem}
.woocommerce-breadcrumb,.wc-block-breadcrumbs{font-size:.85rem;color:#6b746f}
.woocommerce-breadcrumb a,.wc-block-breadcrumbs a{color:#1f5f4a}
/* karta produktu */
.single-product .wp-block-post-title{font-family:Quicksand,Inter,sans-serif;font-weight:700;color:#173f33;font-size:clamp(1.5rem,3vw,2.2rem)!important;line-height:1.2}
.single-product .wc-block-components-product-price,.single-product .wp-block-woocommerce-product-price{color:#1f5f4a;font-weight:800;font-size:1.6rem!important}
.single-product .single_add_to_cart_button,.single-product .wc-block-components-product-button__button{background:#f28c28!important;color:#fff!important;border-radius:999px!important;padding:.85rem 2rem!important;font-weight:700;border:0}
.single-product form.cart .quantity input{border-radius:999px;border:1px solid #d9d2c5;padding:.6rem;width:4.5rem}
.single-product .woocommerce-product-gallery,.single-product .wc-block-components-product-image{background:#fff;border:1px solid #ece7de;border-radius:18px;padding:1rem}
.jpb-trust{list-style:none;padding:0;margin:1.25rem 0 0;display:grid;gap:.5rem}
.jpb-trust li{display:flex;gap:.55rem;align-items:center;font-size:.92rem;color:#33403a}
.jpb-trust svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:#1f5f4a;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.single-product .stock.in-stock{color:#1f5f4a;font-weight:600}

.jpb-catdesc{text-align:left!important;margin-left:0!important;margin-right:auto!important;width:100%;font-size:1rem!important}
.jpb-subcats{justify-content:flex-start;width:100%}

.single-product .wc-block-product .wp-block-post-title{font-family:inherit;font-size:.95rem!important;font-weight:600;color:#1d2a24;line-height:1.35}
.single-product .wc-block-product .wc-block-components-product-price,.single-product .wc-block-product .wp-block-woocommerce-product-price{font-size:1.1rem!important}
.single-product .wc-block-product .wc-block-components-product-image{border:0;padding:0}
.single-product h2.wp-block-heading{font-family:Quicksand,Inter,sans-serif;font-weight:700;color:#1f5f4a;font-size:1.5rem}
