/* Softer film shading, readable captions and white glass catalogue cards. */
/* Brand preview stays inside the existing pill; no layout shift or click overlay. */
html body .distribution-intro .dist-pill{position:relative;overflow:hidden;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.dist-pill-logo{position:absolute;inset:10px 14px;display:flex;align-items:center;justify-content:center;opacity:0;transform:translateY(4px);pointer-events:none;mix-blend-mode:multiply;transition:opacity .18s ease,transform .2s ease}
html body .dist-pill-logo img{display:block;width:100%;height:100%;max-height:44px;object-fit:contain;pointer-events:none}
.dist-pill-title,.dist-pill-sub{transition:opacity .18s ease}
html body .distribution-intro .dist-pill:focus-visible{background:rgba(255,255,255,.92)!important;outline:2px solid #fff;outline-offset:3px}
.dist-pill:focus-visible .dist-pill-logo{opacity:1;transform:none}
.dist-pill:focus-visible :is(.dist-pill-title,.dist-pill-sub){opacity:0}
@media(hover:hover) and (pointer:fine){
 html body .distribution-intro .dist-pill:hover{background:rgba(255,255,255,.92)!important;border-color:#fff!important;box-shadow:inset 0 1px #fff,0 8px 24px #10182724!important;transform:translateY(-2px)!important}
 .dist-pill:hover .dist-pill-logo{opacity:1;transform:none}
 .dist-pill:hover :is(.dist-pill-title,.dist-pill-sub){opacity:0}
}
@media(prefers-reduced-motion:reduce){html body .distribution-intro .dist-pill,.dist-pill-logo,.dist-pill-title,.dist-pill-sub{transition:none!important}}
html body #content .elementor-element.elementor-element-216d8696::before{background:linear-gradient(180deg,#0f172a24 0%,#0f172a38 50%,#0f172a70 100%)!important;opacity:1!important}
html body #content .elementor-element-216d8696 .pm-entrance-caption .elementor-divider__text{font-family:var(--prescot-font-heading,"Outfit",Arial,sans-serif)!important;font-size:var(--pc-hero-font-size,40px)!important;font-weight:500!important;line-height:1.3!important;letter-spacing:-.02em!important;text-shadow:none!important}
html body #content .pm-entrance-caption .pm-closer{color:#e14e26!important}
html body #content :is(.dm-card-slider,.as-side-slider) .swiper-slide::before{background:linear-gradient(0deg,#14233420,transparent 60%)!important}
html body #content :is(.dm-card-slider,.as-side-slider) .elementor-testimonial__cite{background:#ffffffd9!important;border:1px solid #ffffffe6!important;backdrop-filter:blur(20px) saturate(1.1);-webkit-backdrop-filter:blur(20px) saturate(1.1);color:#172b45!important;padding:16px!important;box-shadow:inset 0 1px #fff,0 6px 20px #172b4510!important}
html body #content :is(.dm-card-slider,.as-side-slider) .elementor-testimonial__name{color:#172b45!important;font-size:clamp(16px,1vw,22px)!important;line-height:1.2!important;margin-bottom:7px!important;font-weight:700!important}
html body #content :is(.dm-card-slider,.as-side-slider) .elementor-testimonial__title{color:#42566e!important;font-size:13px!important;line-height:1.45!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body #content :is(.dm-card-slider,.as-side-slider,.pm-feature) img:is([src*="assets/controllers/"],[src*="assets/prmad/"]){object-fit:contain!important;background:#fff!important}
html body .as-changing-widget h2{font-size:clamp(36px,3.1vw,64px)!important;line-height:1.12!important}
html body .as-changing-widget p{font-size:clamp(16px,1.1vw,20px)!important;line-height:1.55!important;max-width:540px}
html body .pm-white-set,html body #content .pm-product-artwork .pm-white-set{background:#fff!important;border:1px solid #e5e9ee!important;box-shadow:none!important}
html body .pm-white-set::before{display:none!important}
html body #content .pm-white-set .pm-set-photo{position:absolute!important;inset:5% 4% 11%!important;width:92%!important;height:84%!important;max-width:none!important;object-fit:contain!important;filter:none!important;border-radius:0!important}
html body .pm-white-set .pm-photo-caption{color:#42566e!important;z-index:2}
html body[data-pm-product-photo] .mdw-card-portfolio-image-right .elementor-widget-container{background:#fff!important;border-radius:22px!important;overflow:hidden}
html body[data-pm-product-photo] .mdw-card-portfolio-image-right img{object-fit:contain!important;background:#fff!important;padding:16px!important}
html body[data-pm-product-photo] #content .elementor-element-19d3d39b{background-color:#fff!important;background-size:58% auto!important;background-repeat:no-repeat!important;background-position:98% center!important}
html body[data-pm-product-photo] #content .elementor-element-19d3d39b::before{display:none!important}
html body[data-pm-product-photo] #content .elementor-element-19d3d39b :is(h2,.mdw-gradient,.mdw-gradient span,p){color:#172b45!important;-webkit-text-fill-color:#172b45!important;background-image:none!important;text-shadow:none!important;opacity:1!important}
html body[data-pm-product-photo] #content .elementor-element-19d3d39b .elementor-widget-text-editor{opacity:1!important}
html body[data-pm-product-photo] :is(.prescot-smart-logo,#top-sticky-logo) img[src$="biale-z-kolorem.svg"],html body .apple-calc-card img[src$="biale-z-kolorem.svg"]{content:url('wp-content/uploads/2025/12/PRESCOT_logo-podstawowe.svg');filter:none!important}
html body[data-pm-product-photo] #prescotScrollDown,html body[data-pm-product-photo] #prescotScrollDown :is(svg,path){color:#172b45!important;fill:#172b45!important}
@media(min-width:768px){
 html body[data-pm-product-photo] #content .elementor-element-19d3d39b>.e-con-inner{max-width:none!important;padding-inline:7%!important}
 html body[data-pm-product-photo] #content .elementor-element-19d3d39b>.e-con-inner>:is(.elementor-widget-heading,.elementor-widget-text-editor){max-width:36%!important}
 html body[data-pm-product-photo] #content .elementor-element-19d3d39b .elementor-widget-text-editor .elementor-widget-text-editor{max-width:none!important;width:100%!important}
}
/* Calculator uses the same quiet white glass and navy controls as the dock. */
html body .apple-calc-card{border-radius:24px!important;background:#ffffffdf!important;border:1px solid #e2e8f0!important;box-shadow:0 12px 40px #172b4509!important}
html body .apple-calc-header{background:#f8fafcd9!important}
html body .apple-calc-badge{background:#eaf0f7!important;color:#172b45!important;border-color:#dce4ef!important}
html body .metric-card.hero-metric{border:1px solid #b8c8dc!important;box-shadow:0 4px 16px #172b4508!important;background:#f3f6fa!important}
html body .metric-card.hero-metric .metric-label{color:#42566e!important}
html body .apple-calc-card input[type=range]::-webkit-slider-thumb{background:#172b45!important}
html body .apple-calc-card input[type=range]::-moz-range-thumb{background:#172b45!important}
html body .calc-rec-card{background:#ffffffc9!important;border:1px solid #dce4ef!important;box-shadow:0 8px 28px #172b450c!important;backdrop-filter:blur(18px);color:#172b45!important}
html body .calc-rec-title,html body .calc-rec-tag{color:#172b45!important}
html body .calc-rec-desc,html body .calc-rec-brand{color:#536780!important}
html body .calc-rec-card{padding:24px!important;border-radius:18px!important;box-shadow:none!important}
html body .calc-rec-card :is(.calc-rec-tag,.calc-rec-brand,.calc-rec-title,.calc-rec-desc){letter-spacing:0!important}
html body .calc-rec-title{font-size:20px!important;line-height:1.35!important;margin:10px 0!important}
html body .calc-rec-desc{font-size:14px!important;line-height:1.7!important;margin:0!important}
html body .calc-rec-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:20px}
html body .calc-rec-btn{display:inline-flex!important;justify-content:center;align-items:center;min-height:48px;max-width:100%;background:#e14e26!important;color:#fff!important;border:1px solid #e14e26!important;border-radius:12px!important;padding:13px 20px!important;font:600 14px/1.5 var(--prescot-font-body,sans-serif)!important;letter-spacing:0!important;text-transform:none!important;text-decoration:none!important;white-space:normal!important;margin:0!important;box-shadow:none!important;transition:background .18s,color .18s,transform .18s!important}
html body .calc-rec-btn:hover{background:#212a35!important;border-color:#212a35!important;color:#fff!important;transform:translateY(-2px)!important}
html body .calc-b2b-link{display:inline-flex;align-items:center;min-height:44px;font:500 13px/1.5 var(--prescot-font-body,sans-serif);letter-spacing:0;color:#212a35;text-decoration:underline;text-underline-offset:4px}
html body .calc-b2b-link:hover{color:#e14e26}
html body :is(.calc-rec-btn,.calc-b2b-link):focus-visible{outline:2px solid #212a35;outline-offset:4px}
@media(max-width:600px){html body .calc-rec-card{padding:20px!important}html body .calc-rec-actions{align-items:stretch;flex-direction:column;gap:8px}html body .calc-rec-btn{width:100%}html body .calc-b2b-link{justify-content:center}}
html body .calc-field-val-display,html body .apple-chip-btn.active{color:#172b45!important}
html body .apple-chip-btn.active{background:#eaf0f7!important;border-color:#526a88!important}
html body .apple-range-slider{accent-color:#172b45!important}
@media(max-width:767px){
 html body #content .elementor-element-216d8696 .pm-entrance-caption .elementor-divider__text{font-size:var(--pc-hero-font-size,30px)!important}
 html body .pm-feature h2{font-size:30px!important}
 html body .pm-feature-summary{font-size:14px!important;line-height:1.5!important}
 html body[data-pm-product-photo] #content .elementor-element-19d3d39b{background-position:center 35%!important;background-size:100% auto!important}
 html body[data-pm-product-photo] #content .elementor-element-19d3d39b>.e-con-inner{justify-content:flex-end!important;padding-bottom:135px!important}
}
