/* Strona główna perfectbay.eu (09.10.2026). Klasy tb_xxxx to wiersze/moduły Themify Buildera strony głównej. */
body.home{--pb-granat:#12466b;--pb-niebieski:#1f9ad6;--pb-linia:#cfe6f2;--pb-szary:#4a6b82;--pb-jasny:#eef8fd;--pb-pom:#ff5a00}
/* 1. pierwszy ekran: czytelny tekst na zdjęciu */
body.home .tb_htg4678{position:relative}
body.home .tb_htg4678::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,38,64,.62) 0%,rgba(8,38,64,.35) 40%,rgba(8,38,64,0) 65%);pointer-events:none;z-index:0}
body.home .tb_htg4678>.row_inner{position:relative;z-index:1}
body.home .tb_htg4678 .tb_ojy9678 h2,body.home .tb_htg4678 .tb_ojy9678 h2 span{color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.35)}
body.home .tb_htg4678 .tb_ojy9678 h2 span[style*="f7a514"]{color:var(--pb-pom)!important}
body.home .tb_htg4678 .tb_0qhe678 p{color:#fff!important;font-size:21px;text-shadow:0 1px 10px rgba(0,0,0,.4)}
body.home .tb_jw3z678{display:flex;flex-wrap:wrap;gap:12px}
body.home .tb_jw3z678 .builder_button{background:var(--pb-pom)!important;color:#fff!important;border:2px solid var(--pb-pom)!important;border-radius:12px!important;padding:16px 30px!important;font-size:16px!important;box-shadow:0 10px 24px rgba(255,90,0,.35)}
body.home .tb_jw3z678 .builder_button:hover{background:#e65100!important;border-color:#e65100!important}
body.home .tb_jw3z678 .pbh-drugi .builder_button{background:rgba(255,255,255,.12)!important;border-color:#fff!important;box-shadow:none;backdrop-filter:blur(4px)}
body.home .tb_jw3z678 .pbh-drugi .builder_button:hover{background:#fff!important;color:var(--pb-granat)!important;border-color:#fff!important}
/* 4. jeden pomarańcz na wszystkich przyciskach strony */
body.home .module-buttons .builder_button{background:var(--pb-pom)!important;border-color:var(--pb-pom)!important;color:#fff!important;border-radius:12px!important}
body.home .module-buttons .builder_button:hover{background:#e65100!important;border-color:#e65100!important}
/* 5. pasek atutów: zwarty, wyśrodkowany */
/* 3. granatowe nagłówki zamiast jasnego błękitu */
body.home .tb_j7dd573 .main-head,body.home .tb_j7dd573 h1,body.home .tb_j7dd573 h2,body.home .tb_7vmc848 h2,body.home .tb_7vmc848 h1,body.home .tb_7vmc848 *,body.home .tb_zgyq16 *{color:var(--pb-granat)!important}
body.home .tb_7vmc848 h2,body.home .tb_zgyq16 h2{text-align:center}
/* zalety jako karty */
body.home .module-feature{background:#fff;border:1px solid var(--pb-linia);border-radius:18px;padding:28px 22px!important;box-shadow:0 6px 18px rgba(18,70,107,.06);height:100%;box-sizing:border-box}
body.home .module-feature .module-feature-title,body.home .module-feature h3{color:var(--pb-granat)!important}
body.home .tb_cyxx848 .module_column{display:flex}
/* 6. baseny: karty jak w sklepie (sklep.css), tu tylko odstęp */
body.home .module-products ul.products{margin-top:10px!important}
/* 7. zastosowania jako siatka kart (budowana skryptem z oryginalnych wierszy, które zostają w HTML, ale są ukryte) */
body.home .pbh-ukryty{display:none!important}
body.home .pbh-zast{background:linear-gradient(180deg,#f2fafe,#e2f3fb);padding:60px 0 64px;margin:20px 0 0}
body.home .pbh-zast .pbh-wew{max-width:1160px;margin:0 auto;padding:0 20px;box-sizing:border-box}
body.home .pbh-zast h2{color:var(--pb-granat);text-align:center;margin:0 0 8px}
body.home .pbh-zast .pbh-lead{color:var(--pb-szary);text-align:center;margin:0 auto 34px;max-width:640px}
body.home .pbh-karty{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
body.home .pbh-karta{background:#fff;border:1px solid var(--pb-linia);border-radius:18px;overflow:hidden;box-shadow:0 6px 18px rgba(18,70,107,.06);display:flex;flex-direction:column}
body.home .pbh-karta img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
body.home .pbh-karta div{padding:18px 18px 20px}
body.home .pbh-karta h3{color:var(--pb-granat);font-size:19px;line-height:1.3;margin:0 0 8px}
body.home .pbh-karta p{color:var(--pb-szary);font-size:14.5px;line-height:1.55;margin:0;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:1000px){body.home .pbh-karty{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){
body.home .tb_htg4678::after{background:linear-gradient(180deg,rgba(8,38,64,.15) 0%,rgba(8,38,64,.55) 45%,rgba(8,38,64,.65) 100%)}
body.home .tb_htg4678 .tb_5grh678{padding-top:96px!important}
body.home .tb_htg4678 .tb_0qhe678 p{font-size:17px}
body.home .tb_jw3z678 .module-buttons-item{flex:1 1 100%}
body.home .tb_jw3z678 .builder_button{width:100%;justify-content:center;padding:14px 20px!important}
body.home .pbh-zast{padding:40px 0 44px}
body.home .pbh-karty{grid-template-columns:1fr;gap:16px}
body.home .pbh-karta{flex-direction:row}
body.home .pbh-karta img{width:38%;aspect-ratio:auto;min-height:100%}
body.home .pbh-karta div{padding:14px}
body.home .pbh-karta h3{font-size:16px;margin-bottom:4px}
body.home .pbh-karta p{font-size:13px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
}

/* 5. pasek atutów: własny kontener budowany skryptem (siatka Themify przebijała każdą regułę) */
body.home .pbh-atuty{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:980px;margin:0 auto;padding:6px 20px;box-sizing:border-box}
body.home .pbh-atuty>div{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;color:#fff;font-weight:600;font-size:16px;line-height:1.3}
body.home .pbh-atuty img,body.home .pbh-atuty svg{width:60px;height:60px;object-fit:contain}
body.home .tb_knkq156 .row_inner{display:none!important}
@media (max-width:680px){body.home .pbh-atuty{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 10px}body.home .pbh-atuty img,body.home .pbh-atuty svg{width:46px;height:46px}body.home .pbh-atuty>div{font-size:14px}body.home .tb_jw3z678 .module-buttons-item{margin:0!important}}
/* przejście ostatniej sekcji w falę stopki bez białego pasa (wiersz tb_nwgk846 to wspólny fragment stopki Themify, ID 93) */
body.home .pbh-zast{margin-bottom:0!important}
body.home #body>.themify_builder_content,body.home .themify_builder_content-8{margin-bottom:0!important;padding-bottom:0!important}
body.home .tb_layout_part_wrap{margin-top:0!important}
body.home .tb_layout_part_wrap .tb_nwgk846{background:#e2f3fb!important;min-height:0!important;height:70px!important;padding:0!important;margin:0!important}
/* atuty jako karty (propozycja) */
body.home .tb_knkq156{padding-top:0!important;padding-bottom:26px!important;min-height:0!important}
body.home .pbh-atuty{max-width:1160px;gap:18px;padding:0 20px;margin:-34px auto 0;position:relative;z-index:3}
body.home .pbh-atuty>div{flex-direction:row;align-items:center;text-align:left;gap:14px;background:#fff;border-radius:16px;padding:18px 18px;box-shadow:0 12px 30px rgba(18,70,107,.16);color:var(--pb-granat);font-size:16px}
body.home .pbh-atuty .pbh-ik{flex:none;width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#29a8e6,#1576b8);display:flex;align-items:center;justify-content:center;box-shadow:0 6px 14px rgba(21,118,184,.3)}
body.home .pbh-atuty .pbh-ik img,body.home .pbh-atuty .pbh-ik svg{width:32px!important;height:32px!important}
body.home .pbh-atuty b{display:block;font-size:16px;line-height:1.25;color:var(--pb-granat)}
body.home .pbh-atuty small{display:block;font-size:13px;font-weight:500;color:var(--pb-szary);margin-top:3px;line-height:1.35}
@media (max-width:980px){body.home .pbh-atuty{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){body.home .pbh-atuty{gap:10px;padding:0 14px;margin-top:-24px}body.home .pbh-atuty>div{flex-direction:column;text-align:center;gap:8px;padding:14px 10px}body.home .pbh-atuty .pbh-ik{width:46px;height:46px}body.home .pbh-atuty .pbh-ik img,body.home .pbh-atuty .pbh-ik svg{width:26px!important;height:26px!important}body.home .pbh-atuty b{font-size:14px}body.home .pbh-atuty small{font-size:12px}}
/* Kontakt (page-id-95): mapa przechodzi prosto w falę stopki, bez białego pasa */
body.page-id-95 #body>.themify_builder_content,body.page-id-95 .themify_builder_content-95,body.page-id-95 .tb_pnrz695{margin-bottom:0!important;padding-bottom:0!important}
body.page-id-95 .tb_layout_part_wrap{margin-top:0!important}
body.page-id-95 .tb_layout_part_wrap .tb_nwgk846{min-height:0!important;height:56px!important;padding:0!important;margin:-56px 0 0!important;background:transparent!important;position:relative;z-index:2}
