/* CLS Protection — injected by CF Worker into <head> before body renders.
   Covers all layout-critical CSS for components loaded via async preload.
   ~2.5KB minified. */

/* === Catalog List (services, catalog pages) === */
.catalog-list-wrapper{margin-bottom:40px}
.catalog-list-heading{font-size:1.5rem;font-weight:600;margin:0 0 32px;color:var(--white_text_black,#222);line-height:1.4;text-align:center;padding-top:0;letter-spacing:-.01em}
.catalog-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin:0;padding:0;list-style:none}
.brand-section{min-width:0}
.catalog-list__item{display:block;position:relative;overflow:hidden;border-radius:12px;background:var(--card_bg_black,#fff);border:1px solid var(--stroke_black,#e5e5e5);text-decoration:none;color:inherit}
.catalog-list__img{display:block;width:100%;aspect-ratio:3/2;overflow:hidden}
.catalog-list__img img{width:100%!important;height:100%!important;object-fit:cover;display:block}
.catalog-list__title{padding:12px 14px;font-size:.9rem;font-weight:600;line-height:1.35;margin:0;box-sizing:border-box;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:calc(1.35em * 3 + 24px)}
.catalog-list__title a{color:inherit;text-decoration:none}

/* === Index Tabs + Product Cards (homepage) === */
.index-tabs{padding-top:80px;padding-bottom:30px;background:var(--darkerblack_bg_black,#f8f8f8)}
.index-tabs__header{margin-bottom:35px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center}
.index-tabs__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:24px}
.product-card{height:100%;min-width:0;padding:16px;border-radius:8px;background:var(--card_bg_black,#fff);border:1px solid transparent}
.product-card__inner{display:flex;flex-direction:column;flex:1;height:100%}
.product-card__top{width:100%;position:relative;padding-top:100%;display:block}
.product-card__images{position:absolute;top:0;bottom:0;left:0;width:100%;z-index:2;display:flex;flex:1;padding-bottom:10px}
.product-card__image-pic{position:absolute;left:0;top:0;bottom:0;right:0;border-radius:8px}
.product-card__image-pic img{height:100%;width:100%;object-fit:contain}
.product-card__info{margin-top:12px;display:flex;flex-direction:column;flex:1}
.product-card__prices{display:flex;flex-wrap:wrap;align-items:baseline;margin-bottom:4px}
.product-card__price-new{white-space:nowrap;font-weight:600;font-size:1.125rem;line-height:calc(1em + 7px);padding-right:6px}
.product-card__price-old{white-space:nowrap;font-weight:400;font-size:.75rem;line-height:calc(1em + 7px);text-decoration:line-through}
.product-card__title{font-weight:500;font-size:.9375rem;line-height:calc(1em + 7px);-webkit-line-clamp:4;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.product-card__actions{margin-top:11px;position:relative}
.product-card__btns{width:103px}
.product-card__offers{display:none}

/* === Instrukcja Producers (instrukcja page) === */
.content--instrukcja{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}
.instrukcja-producers{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem}
.instrukcja-producers__link{display:flex;align-items:center;gap:1rem;padding:1.25rem 1.5rem;border-radius:12px;text-decoration:none;color:var(--white_text_black,#222);font-weight:500;font-size:1rem;line-height:1.4;border:1px solid var(--stroke_black,#e5e5e5);box-shadow:0 2px 8px rgba(0,0,0,.06)}
.instrukcja-producers__icon{flex-shrink:0;width:96px;height:96px;display:flex;align-items:center;justify-content:center;border-radius:12px;overflow:hidden}
.instrukcja-producers__icon img{width:100%;height:100%;object-fit:contain}
.instrukcja-producers__text{flex:1;min-width:0}
.instrukcja-producers__arrow{flex-shrink:0;width:20px;height:20px;opacity:.5}
.instrukcja-producers__arrow svg{width:100%;height:100%}

/* === Viewed Section (appears on multiple pages) === */
.viewed-section{padding-bottom:80px}
.viewed-section__header{margin-bottom:35px;display:flex;justify-content:space-between;align-items:center}
.viewed-section__wrapper{position:relative;display:flex;align-items:center}
.viewed-section__inner{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;white-space:nowrap;padding:0 24px;margin:0 -24px;flex:1}
.viewed-item{display:inline-block;border:1px solid var(--stroke_black,#ededed);border-radius:12px;background:var(--card_bg_black,#fff);padding:23px 23px 19px;width:200px;margin-right:24px;vertical-align:top;white-space:normal}
.viewed-item__img-wrap{margin-bottom:15px;width:80px;height:80px;position:relative}
.viewed-item__img{height:100%;width:100%;object-fit:contain}
.viewed-item__price{font-weight:600;line-height:20px;margin:0 0 1px}
.viewed-item__title{-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;font-size:.875rem;line-height:calc(1em + 7px)}

/* === Services Page Sections (prevent CLS from async CSS) === */
.page-top__header{text-align:center;margin:15px 0 0;padding-bottom:10px;border-bottom:1px solid var(--stroke_black,#e5e5e5)}
.page-top__title{font-size:2.25rem;font-weight:700;line-height:1.2;margin:0}
.services-stats{margin:60px 0;padding:40px;border-radius:12px;border:1px solid var(--stroke_black,#e5e5e5)}
.services-stats h2{margin-bottom:30px}
.services-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:30px;text-align:center}
.services-stats-item{display:flex;flex-direction:column;align-items:center}
.services-counter{font-size:48px;font-weight:bold;margin-bottom:10px}
.services-advantages{margin:60px 0}
.services-advantages h2{margin-bottom:30px}
.services-advantages-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:30px}
.services-advantage-card{padding:25px;border-radius:8px;border:1px solid var(--stroke_black,#e5e5e5)}
.services-pricing{margin:60px 0;padding:40px;border-radius:12px;border:1px solid var(--stroke_black,#e5e5e5)}
.services-pricing h2{margin-bottom:10px;text-align:center}
.services-pricing__subtitle{text-align:center;margin-bottom:30px;font-size:1.05rem;line-height:1.6}
.services-pricing__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px}
.services-pricing__item{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;column-gap:16px;padding:16px 20px;border-radius:8px;border:1px solid var(--stroke_black,#e5e5e5)}
.services-pricing__name{font-size:1rem;font-weight:500;line-height:1.4}
.services-pricing__price{font-size:1.1rem;font-weight:700;white-space:nowrap;text-align:right}
.services-pricing__note{grid-column:1/-1;font-size:.85rem;margin-top:2px}
.services-pricing__disclaimer{margin-top:24px;padding:16px 20px;border-radius:8px;border-left:3px solid var(--fill_dark_lite_hover,#e60000);font-size:.95rem;line-height:1.6}
.services-process{margin:60px 0}
.services-process h2{margin-bottom:30px;text-align:center}
.services-process__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.services-process__step{padding:30px 24px;border-radius:12px;border:1px solid var(--stroke_black,#e5e5e5);text-align:center}
.services-process__number{width:48px;height:48px;border-radius:50%;font-size:1.5rem;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto 18px}
.services-cities{margin:60px 0;padding:40px;border-radius:12px;border:1px solid var(--stroke_black,#e5e5e5)}
.services-cities h2{margin-bottom:30px;text-align:center}
.services-cities__content{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.services-cities__main{grid-column:1/-1;padding:24px;border-radius:8px;border:1px solid var(--stroke_black,#e5e5e5)}
.services-cities__local,.services-cities__country{padding:24px;border-radius:8px;border:1px solid var(--stroke_black,#e5e5e5)}
.services-cities__list{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px 16px;list-style:none;padding:0;margin:0}
.services-info-wrapper{margin:30px 0;padding:40px;border-radius:12px;border:1px solid var(--stroke_black,#e5e5e5)}
.services-info-wrapper .services-description{margin:0 0 30px;border-radius:12px;border:1px solid var(--stroke_black,#e5e5e5)}
.services-info-wrapper .services-faq{margin:0;border-radius:12px;border:1px solid var(--stroke_black,#e5e5e5)}
.services-info-wrapper .services-description .container,.services-info-wrapper .services-faq .container{padding:0}
.services-faq h2{margin-bottom:30px;font-size:1.75rem;font-weight:700;text-align:center;line-height:1.3}
.services-brand-faq{margin:50px 0;padding:40px;border-radius:12px;border:1px solid var(--stroke_black,#e5e5e5)}
.services-brand-faq h2{margin-bottom:30px;font-size:1.75rem;font-weight:700;text-align:center;line-height:1.3}
.services-brand-faq__list{display:flex;flex-direction:column;gap:12px}
.services-brand-faq__item{border-radius:8px;border:1px solid var(--stroke_black,#e5e5e5);overflow:hidden}
.services-brand-faq__question{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;gap:16px}
.services-cross-links{margin:50px 0 16px;padding:40px;border-radius:12px;border:1px solid var(--stroke_black,#e5e5e5)}
.services-cross-links h2{margin:0 0 24px;font-size:1.5rem;font-weight:700;text-align:center;line-height:1.3}
.services-cross-links__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.services-cross-links__item{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-radius:8px;border:1px solid var(--stroke_black,#e5e5e5);text-decoration:none}
.section-seo-bottom{margin-top:48px;padding:40px 0 24px;border-top:1px solid var(--stroke_black,#e5e5e5)}
.section-seo-bottom__inner{max-width:100%}

/* === Responsive === */
@media(max-width:1199.75px){.index-tabs__grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:991.75px){.index-tabs__grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:768px){.catalog-list-heading{font-size:1.25rem;padding-top:0;margin-bottom:24px}}
@media(max-width:767.75px){.index-tabs{padding-top:40px}.index-tabs__grid{grid-template-columns:repeat(2,1fr)}.product-card__actions{display:flex;flex-direction:column-reverse}.product-card__btns{width:auto;flex:1}.product-card__offers{display:block;margin-bottom:10px}}
@media(max-width:600px){.catalog-list{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.catalog-list__title{padding:10px;font-size:.85rem;line-height:1.3;-webkit-line-clamp:4;min-height:calc(1.3em * 4 + 20px)}}
@media(max-width:600.75px){.index-tabs__grid{display:flex;overflow:auto;padding:15px 24px!important;margin:-15px -24px!important;grid-gap:0}.product-card-wrap{width:260px;min-width:260px}.product-card-wrap:not(:last-child){margin-right:24px}}
@media(max-width:480px){.catalog-list-heading{font-size:1.1rem;padding-top:0;margin-bottom:20px}}

/* === Services Responsive === */
@media(max-width:768px){.section-seo-bottom{margin-top:36px;padding:28px 0 20px}.page-top__header{margin:30px 0 0;padding-bottom:16px}.page-top__title{font-size:1.75rem}.services-pricing{padding:30px 20px;margin:40px 0}.services-pricing__grid{grid-template-columns:1fr;gap:10px}.services-pricing__item{padding:14px 16px}.services-process{margin:40px 0}.services-process__grid{grid-template-columns:repeat(2,1fr);gap:16px}.services-process__step{padding:24px 18px}.services-cities{padding:30px 20px;margin:40px 0}.services-cities__content{grid-template-columns:1fr;gap:16px}.services-cities__list{grid-template-columns:repeat(2,1fr)}.services-stats{padding:30px 20px;margin:40px 0}.services-stats-grid{grid-template-columns:repeat(2,1fr);gap:20px}.services-counter{font-size:36px}.services-advantages-grid{grid-template-columns:1fr;gap:20px}.services-info-wrapper{margin:20px 0;padding:20px}.services-info-wrapper .services-description{margin-bottom:20px}.services-brand-faq{padding:30px 20px;margin:40px 0}.services-cross-links{padding:30px 20px;margin:40px 0}.services-cross-links__grid{grid-template-columns:repeat(2,1fr);gap:10px}}
@media(max-width:480px){.section-seo-bottom{margin-top:28px;padding:24px 0 16px}.page-top__title{font-size:1.5rem}.services-pricing{padding:20px 15px}.services-pricing__item{padding:12px 14px}.services-process__grid{grid-template-columns:1fr;gap:14px}.services-process__step{padding:20px 16px}.services-process__number{width:40px;height:40px;font-size:1.25rem}.services-cities{padding:20px 15px}.services-cities__main,.services-cities__local,.services-cities__country{padding:18px}.services-cities__list{grid-template-columns:1fr}.services-stats-grid{grid-template-columns:1fr}.services-counter{font-size:32px}.services-info-wrapper{padding:15px}.services-info-wrapper .services-description{margin-bottom:15px}.services-brand-faq{padding:20px 15px}.services-cross-links{padding:20px 15px}.services-cross-links__grid{grid-template-columns:1fr 1fr;gap:8px}.services-cross-links__item{padding:14px 16px}}

/* === Contacts Page (CLS protection) === */
.contacts{display:grid;grid-template-columns:1.5fr .5fr;gap:48px}.contacts__left{padding-bottom:50px}.contacts__items{display:grid;grid-template-columns:1fr}.contacts-map{background:rgba(0,0,0,.2);border-radius:8px;overflow:hidden;height:550px}.contacts--first{grid-template-columns:1fr 1fr}.contacts--first .contacts-map{position:sticky;top:0;height:550px}
@media(max-width:991.75px){.contacts{grid-template-columns:100%}.contacts__left{order:2}.contacts-map{height:325px}}

/* === News List (CLS protection) === */
.news-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px}.news-item{border-radius:12px;overflow:hidden;border:1px solid var(--stroke_black,#e5e5e5)}.news-item__img{display:block;width:100%;aspect-ratio:16/9;overflow:hidden}.news-item__img img{width:100%;height:100%;object-fit:cover}.news-item__content{padding:16px 20px}

/* === Company Hero Image (CLS protection) === */
.company-hero{margin-bottom:30px}.company-hero img{aspect-ratio:1024/585;width:100%;height:auto}

/* === Catalog Grid (CLS protection for product listing) === */
.catalog__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:24px}.catalog-product-list{display:grid;grid-template-columns:repeat(5,1fr);gap:24px}
@media(max-width:1199.75px){.catalog__grid,.catalog-product-list{grid-template-columns:repeat(4,1fr)}}
@media(max-width:991.75px){.catalog__grid,.catalog-product-list{grid-template-columns:repeat(3,1fr)}}
@media(max-width:767.75px){.catalog__grid,.catalog-product-list{grid-template-columns:repeat(2,1fr)}}

/* === Footer touch targets (min 48px tap area) === */
@media(max-width:767.75px){.footer__left-item-title{min-height:48px;padding:12px 0}.footer__left-item-title a{padding:12px 0;min-height:48px;display:flex;align-items:center}.footer__bottom-links a{padding:12px 8px;min-height:48px;display:inline-flex;align-items:center}}

/* === Line Content / Service Form (CLS protection) === */
.line-content{background-color:var(--light2_bg_black,#fafafa);border:1px solid var(--stroke_black,#ededed);border-radius:8px;padding:32px 31px 33px 30px;display:grid;grid-template-columns:1fr;align-items:start;gap:20px;margin-bottom:2.92rem}

/* === Page Image / Detail Pages (CLS protection) === */
.page-image{margin-bottom:24px;overflow:hidden;border-radius:8px}.page-image img,.img-rounded{width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;border-radius:8px;display:block}

/* === content-visibility: skip layout/paint for deep below-the-fold sections === */
#sales,#news,.services-info-wrapper{content-visibility:auto;contain-intrinsic-size:auto 500px}
.viewed-items-section{content-visibility:auto;contain-intrinsic-size:auto 350px}
