/* ProjektPlusplus v0.4.0: bardziej zwarta typografia i selektor serii DSA/DSC. */
body.ppp-product-ui-enabled .ppp-product-center .wp-block-post-title,
body.ppp-product-ui-enabled .ppp-product-center h1{font-size:clamp(1.12rem,1.28vw,1.44rem);line-height:1.22;}
body.ppp-product-ui-enabled .ppp-product-center .wp-block-post-excerpt,
body.ppp-product-ui-enabled .ppp-product-center .woocommerce-product-details__short-description{font-size:.875rem;line-height:1.56;}
body.ppp-product-ui-enabled .ppp-product-section-title{font-size:.98rem;}
body.ppp-product-ui-enabled .ppp-product-breadcrumb{font-size:.76rem;}
body.ppp-product-ui-enabled .ppp-product-categories a{font-size:.8rem;}
body.ppp-product-ui-enabled .ppp-product-center .wp-block-woocommerce-product-meta,
body.ppp-product-ui-enabled .ppp-product-center .product_meta{font-size:.8rem;}
body.ppp-product-ui-enabled .ppp-product-parameters{font-size:.86rem;}

body.ppp-product-ui-enabled .ppp-series-selector{display:grid;gap:.65rem;margin:.2rem 0 .15rem;padding-top:.85rem;border-top:1px solid var(--ppp-border);}
body.ppp-product-ui-enabled .ppp-series-selector__title{margin:0;font-size:.9rem;font-weight:750;line-height:1.25;}
body.ppp-product-ui-enabled .ppp-series-selector__tabs{display:flex;gap:.4rem;}
body.ppp-product-ui-enabled .ppp-series-selector__tab{min-height:34px;padding:.38rem .66rem;border:1px solid #d7dbe0;border-radius:7px;background:#fff;color:#30343a;font:inherit;font-size:.8rem;font-weight:700;cursor:pointer;}
body.ppp-product-ui-enabled .ppp-series-selector__tab.is-active{border-color:var(--ppp-accent);background:#fff4ed;color:#b83c00;}
body.ppp-product-ui-enabled .ppp-series-selector__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.38rem;}
body.ppp-product-ui-enabled .ppp-series-selector__item{position:relative;display:grid;grid-template-rows:42px auto;align-items:center;justify-items:center;min-width:0;padding:.25rem .2rem .3rem;border:1px solid #e2e5e9;border-radius:7px;background:#fff;color:#242424;text-decoration:none;overflow:hidden;}
body.ppp-product-ui-enabled .ppp-series-selector__item:hover,body.ppp-product-ui-enabled .ppp-series-selector__item:focus-visible{border-color:#aeb4bc;background:#fafafa;outline:none;}
body.ppp-product-ui-enabled .ppp-series-selector__item.is-current{border:2px solid var(--ppp-accent);padding:.2rem .15rem .25rem;background:#fff8f3;}
body.ppp-product-ui-enabled .ppp-series-selector__item img{display:block;width:100%;height:42px;object-fit:contain;background:#fff;}
body.ppp-product-ui-enabled .ppp-series-selector__symbol{font-size:.76rem;font-weight:800;line-height:1.05;}

body.ppp-product-ui-enabled .ppp-native-related--hidden{display:none!important;}
body.ppp-product-ui-enabled .ppp-product-recommendations[data-ppp-placement="after-description"]{width:min(1560px,calc(100vw - 2rem));max-width:none!important;position:relative;left:50%;transform:translateX(-50%);margin:1.25rem 0 2.5rem;padding:1.1rem 1.2rem;}
body.ppp-product-ui-enabled .ppp-product-recommendations[data-ppp-placement="after-description"] .ppp-product-recommendations__list{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;}
body.ppp-product-ui-enabled .ppp-product-recommendations[data-ppp-placement="after-description"] .ppp-product-recommendation{grid-template-columns:82px minmax(0,1fr);}
body.ppp-product-ui-enabled .ppp-product-recommendations[data-ppp-placement="after-description"] .ppp-product-recommendation__image{width:82px;}

@media (min-width:1280px){
	body.ppp-product-ui-enabled .ppp-product-shell{grid-template-columns:minmax(300px,360px) minmax(520px,1fr) minmax(350px,390px);}
}

@media (min-width:1600px){
	body.ppp-product-ui-enabled .ppp-product-navigation,
	body.ppp-product-ui-enabled .ppp-product-shell,
	body.ppp-product-ui-enabled .ppp-product-recommendations[data-ppp-placement="after-description"]{width:min(1840px,calc(100vw - 2rem));}
}

@media (max-width:900px){
	body.ppp-product-ui-enabled .ppp-product-recommendations[data-ppp-placement="after-description"]{width:min(100% - 1rem,760px);}
	body.ppp-product-ui-enabled .ppp-product-recommendations[data-ppp-placement="after-description"] .ppp-product-recommendations__list{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:580px){
	body.ppp-product-ui-enabled .ppp-product-recommendations[data-ppp-placement="after-description"] .ppp-product-recommendations__list{grid-template-columns:1fr;}
	body.ppp-product-ui-enabled .ppp-series-selector__grid{grid-template-columns:repeat(5,minmax(0,1fr));}
}


/* Product 17: thematic folder inspiration gallery below the main product video. */
body.single-product.postid-17 .ppp-other-folders{min-width:0;max-width:100%;margin:1rem 0 0;padding:0;background:transparent;box-sizing:border-box;}
body.single-product.postid-17 .ppp-other-folders h2{margin:0 0 .8rem;font-size:1.35rem;font-weight:800;line-height:1.2;color:#2f5d9f;}
body.single-product.postid-17 .ppp-other-folders__track{display:grid;grid-template-columns:1fr;gap:1rem;min-width:0;max-width:100%;overflow:visible;}
body.single-product.postid-17 .ppp-other-folders__item{min-width:0;margin:0;padding:0;border:0;}
body.single-product.postid-17 .ppp-other-folders__item img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;background:#f7f7f7;border-radius:8px;}
body.single-product.postid-17 .ppp-other-folders__item figcaption{margin-top:.4rem;font-size:.82rem;font-weight:700;line-height:1.3;text-align:left;color:#34383d;}

@media (max-width:780px){
	body.single-product.postid-17 .ppp-other-folders__track{grid-template-columns:1fr;gap:.9rem;overflow:visible;}
}
