/* Lista produktów (sklep i kategorie) perfectbay.eu - propozycja 09.10.2026. Zakres: :is(body.woocommerce.archive,body.home) */
:is(body.woocommerce.archive,body.home){--pb-granat:#12466b;--pb-niebieski:#1f9ad6;--pb-linia:#cfe6f2;--pb-szary:#4a6b82;--pb-jasny:#eef8fd;--pb-pom:#ff5a00}
/* nagłówek */
:is(body.woocommerce.archive,body.home) .woocommerce-products-header{background:linear-gradient(180deg,#f2fafe,#e2f3fb);border-radius:20px;padding:34px 34px 30px;margin:0 0 26px}
:is(body.woocommerce.archive,body.home) .woocommerce-products-header__title{color:var(--pb-granat);margin:0 0 6px!important}
:is(body.woocommerce.archive,body.home) .pbs-podtytul{color:var(--pb-szary);font-size:16px;margin:0 0 22px;max-width:640px}
:is(body.woocommerce.archive,body.home) .woocommerce-products-header .module-image img{border-radius:14px;display:block}
:is(body.woocommerce.archive,body.home) .woocommerce-products-header .themify_builder_content{margin:0}
:is(body.woocommerce.archive,body.home) .woocommerce-products-header .module_row,:is(body.woocommerce.archive,body.home) .woocommerce-products-header .module_column,:is(body.woocommerce.archive,body.home) .woocommerce-products-header .module{padding:0!important;margin:0!important}
/* pasek nad listą */
:is(body.woocommerce.archive,body.home) .woocommerce-result-count{display:none}
:is(body.woocommerce.archive,body.home) form.woocommerce-ordering{float:none;display:flex;justify-content:flex-end;margin:0 0 18px}
:is(body.woocommerce.archive,body.home) form.woocommerce-ordering select{border:1.5px solid var(--pb-linia)!important;border-radius:12px!important;padding:10px 40px 10px 16px!important;background-color:#fff!important;color:var(--pb-granat)!important;font-size:14px;font-weight:600;min-width:240px}
/* siatka zamiast masonry motywu */
:is(body.woocommerce.archive,body.home) ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;height:auto!important;margin:0 0 40px!important;padding:0!important}
:is(body.woocommerce.archive,body.home) ul.products::before,:is(body.woocommerce.archive,body.home) ul.products::after{display:none!important}
:is(body.woocommerce.archive,body.home) ul.products>li.product{position:static!important;left:auto!important;top:auto!important;transform:none!important;width:auto!important;margin:0!important;float:none!important;display:flex!important;flex-direction:column;background:#fff;border:1px solid var(--pb-linia);border-radius:18px;padding:16px!important;box-shadow:0 6px 18px rgba(18,70,107,.06);transition:box-shadow .2s,transform .2s,border-color .2s;box-sizing:border-box}
:is(body.woocommerce.archive,body.home) ul.products>li.product:hover{box-shadow:0 16px 36px rgba(18,70,107,.13);transform:translateY(-3px);border-color:#a9d6ee}
:is(body.woocommerce.archive,body.home) ul.products>li.pbs-sekcja{grid-column:1/-1;list-style:none;margin:14px 0 -6px!important;padding:0!important;display:flex;align-items:baseline;gap:12px;border:0;background:none;box-shadow:none}
:is(body.woocommerce.archive,body.home) ul.products>li.pbs-sekcja h2{margin:0;color:var(--pb-granat);font-size:28px}
:is(body.woocommerce.archive,body.home) ul.products>li.pbs-sekcja span{color:var(--pb-szary);font-size:14px}
:is(body.woocommerce.archive,body.home) ul.products>li.pbs-sekcja:first-child{margin-top:0!important}
/* zdjęcie */
:is(body.woocommerce.archive,body.home) ul.products li.product figure.product-image{position:relative;margin:0 0 14px!important;background:linear-gradient(180deg,#f2fafe,#e6f4fb);border-radius:14px;overflow:hidden;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center}
:is(body.woocommerce.archive,body.home) ul.products li.product figure.product-image a{display:block;width:100%;height:100%}
:is(body.woocommerce.archive,body.home) ul.products li.product figure.product-image img{width:100%!important;height:100%!important;object-fit:contain;padding:6%;box-sizing:border-box;mix-blend-mode:multiply;transition:transform .35s}
:is(body.woocommerce.archive,body.home) ul.products li.product:hover figure.product-image img.wp-post-image:not(.themify_product_second_image){transform:scale(1.04)}
:is(body.woocommerce.archive,body.home) ul.products li.product figure.product-image img.themify_product_second_image{object-fit:cover;padding:0;mix-blend-mode:normal;top:0;left:0}
:is(body.woocommerce.archive,body.home) ul.products li.product .onsale{position:absolute!important;top:12px!important;left:12px!important;right:auto!important;z-index:3;min-width:0!important;min-height:0!important;width:auto!important;height:auto!important;line-height:1!important;padding:7px 12px!important;border-radius:20px!important;background:var(--pb-pom)!important;color:#fff!important;font-size:12px!important;font-weight:700!important;letter-spacing:.03em;text-transform:uppercase;box-shadow:0 4px 12px rgba(255,90,0,.3)}
/* treść kafelka */
:is(body.woocommerce.archive,body.home) ul.products li.product .product-content{display:flex;flex-direction:column;flex:1;padding:0 4px!important;text-align:left}
:is(body.woocommerce.archive,body.home) ul.products li.product .woocommerce-loop-product__title{font-size:18px!important;line-height:1.3!important;margin:0 0 10px!important;color:var(--pb-granat);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
:is(body.woocommerce.archive,body.home) ul.products li.product .woocommerce-loop-product__title a{color:inherit!important}
:is(body.woocommerce.archive,body.home) ul.products li.product .pbs-cechy{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
:is(body.woocommerce.archive,body.home) ul.products li.product .pbs-cechy span{background:var(--pb-jasny);color:var(--pb-granat);border-radius:8px;padding:5px 10px;font-size:13px;font-weight:600}
:is(body.woocommerce.archive,body.home) ul.products li.product .price{display:block;margin:auto 0 4px!important;color:var(--pb-granat)!important;font-size:22px!important;font-weight:700!important;line-height:1.25}
:is(body.woocommerce.archive,body.home) ul.products li.product .price .amount{color:inherit}
:is(body.woocommerce.archive,body.home) ul.products li.product .price:has(.amount ~ .amount)::before{content:"od ";font-size:14px;font-weight:500;color:var(--pb-szary)}
:is(body.woocommerce.archive,body.home) ul.products li.product .price .amount ~ .amount,:is(body.woocommerce.archive,body.home) ul.products li.product .price>span[aria-hidden]:not(.amount),:is(body.woocommerce.archive,body.home) ul.products li.product .price .screen-reader-text{display:none!important}
:is(body.woocommerce.archive,body.home) ul.products li.product .price del{font-size:15px;color:#8aa3b5;font-weight:500;margin-right:6px}
:is(body.woocommerce.archive,body.home) ul.products li.product .price ins{text-decoration:none}
:is(body.woocommerce.archive,body.home) ul.products li.product .price .woocommerce-price-suffix{font-size:12px;font-weight:500;color:var(--pb-szary)}
:is(body.woocommerce.archive,body.home) ul.products li.product [class*=price-history]{font-size:12px!important;color:var(--pb-szary)!important;margin:0 0 4px!important;line-height:1.4}
:is(body.woocommerce.archive,body.home) ul.products li.product .add_to_cart_button,:is(body.woocommerce.archive,body.home) ul.products li.product .product-content>a.button{display:flex!important;align-items:center;justify-content:center;gap:10px;width:100%;height:48px;margin:12px 0 0!important;padding:0 18px!important;border:0!important;border-radius:12px!important;background:var(--pb-pom)!important;color:#fff!important;font-size:16px!important;font-weight:700!important;text-transform:none!important;box-shadow:0 6px 16px rgba(255,90,0,.25)!important;box-sizing:border-box;transition:background .15s}
:is(body.woocommerce.archive,body.home) ul.products li.product .add_to_cart_button:hover,:is(body.woocommerce.archive,body.home) ul.products li.product .product-content>a.button:hover{background:#e65100!important}
:is(body.woocommerce.archive,body.home) ul.products li.product .add_to_cart_button::before{content:"";width:20px;height:20px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2.5 3h2.6l2.4 11.2a1.5 1.5 0 0 0 1.5 1.2h8.6a1.5 1.5 0 0 0 1.5-1.1L21 7H6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2.5 3h2.6l2.4 11.2a1.5 1.5 0 0 0 1.5 1.2h8.6a1.5 1.5 0 0 0 1.5-1.1L21 7H6'/%3E%3C/svg%3E") center/contain no-repeat}
:is(body.woocommerce.archive,body.home) ul.products li.product .product_type_variable::before{display:none}
:is(body.woocommerce.archive,body.home) ul.products li.product .added_to_cart{display:block;text-align:center;margin-top:8px;font-size:13px;color:var(--pb-niebieski)}
@media (max-width:900px){:is(body.woocommerce.archive,body.home) ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media (max-width:600px){:is(body.woocommerce.archive,body.home) .woocommerce-products-header{padding:22px 16px 18px;border-radius:16px}:is(body.woocommerce.archive,body.home) form.woocommerce-ordering select{min-width:0;width:100%}:is(body.woocommerce.archive,body.home) ul.products{gap:12px}:is(body.woocommerce.archive,body.home) ul.products>li.pbs-basen{grid-column:1/-1}:is(body.woocommerce.archive,body.home) ul.products>li.product{padding:10px!important;border-radius:14px}:is(body.woocommerce.archive,body.home) ul.products li.product .woocommerce-loop-product__title{font-size:15px!important}:is(body.woocommerce.archive,body.home) ul.products li.product .price{font-size:18px!important}:is(body.woocommerce.archive,body.home) ul.products li.product .add_to_cart_button,:is(body.woocommerce.archive,body.home) ul.products li.product .product-content>a.button{height:44px;font-size:14px!important;padding:0 10px!important}:is(body.woocommerce.archive,body.home) ul.products>li.pbs-sekcja h2{font-size:22px}}
/* układ 12 kolumn: baseny po 4 w rzędzie, akcesoria po 3 */
:is(body.woocommerce.archive,body.home) ul.products{grid-template-columns:repeat(12,minmax(0,1fr))!important}
:is(body.woocommerce.archive,body.home) ul.products>li.product{grid-column:span 4}
:is(body.woocommerce.archive,body.home) ul.products>li.pbs-basen{grid-column:span 3}
:is(body.woocommerce.archive,body.home) ul.products>li.pbs-basen .woocommerce-loop-product__title{font-size:17px!important}
@media (max-width:900px){:is(body.woocommerce.archive,body.home) ul.products>li.product,:is(body.woocommerce.archive,body.home) ul.products>li.pbs-basen{grid-column:span 6}}
@media (max-width:600px){:is(body.woocommerce.archive,body.home) ul.products>li.pbs-basen{grid-column:1/-1}:is(body.woocommerce.archive,body.home) ul.products>li.pbs-basen figure.product-image{aspect-ratio:4/3}:is(body.woocommerce.archive,body.home) ul.products li.product .price .woocommerce-price-suffix{display:block;font-size:11px;margin-top:2px}:is(body.woocommerce.archive,body.home) ul.products li.product .add_to_cart_button,:is(body.woocommerce.archive,body.home) ul.products li.product .product-content>a.button{font-size:13px!important;white-space:nowrap;gap:6px}:is(body.woocommerce.archive,body.home) ul.products li.product .add_to_cart_button::before{width:17px;height:17px}}
:is(body.woocommerce.archive,body.home) ul.products>.gutter-sizer,:is(body.woocommerce.archive,body.home) ul.products>.grid-sizer{display:none!important}
