/* ============================================================
   STEEL HOG — WooCommerce
   Stylujemy REALNE klasy WooCommerce (nie klasy z makiety), żeby domyślne
   szablony wtyczki + wszystkie hooki działały bez zmian.

   WAŻNE: WooCommerce ładuje własne arkusze (woocommerce-layout/general/
   smallscreen) scope'owane `.woocommerce div.product …`. Dlatego nasze
   selektory single-product prefiksujemy `.woocommerce div.product …`, by
   DORÓWNAĆ specyficzności — wygrywamy kolejnością (nasz plik ładuje się
   po arkuszach WC). Elementy dokładane przez motyw mają prefiks .sh-.
   ============================================================ */

/* ---------- breadcrumb sklepu ---------- */
.woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin:28px 0 22px}
.woocommerce .woocommerce-breadcrumb a{color:var(--muted);transition:.15s}
.woocommerce .woocommerce-breadcrumb a:hover{color:var(--brand)}

/* odstęp treści od stopki na WSZYSTKICH stronach WooCommerce (sklep/karta/koszyk/konto) */
.woocommerce-page .footer{margin-top:72px}

/* ============================================================
   SINGLE — układ 2 kolumny (galeria | podsumowanie)
   ============================================================ */
.woocommerce div.product{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
  gap:48px;
  align-items:start;
  margin:6px 0 64px;
}
/* reset floatów/szerokości WC na kolumnach (specyficzność = WC, wygrywa kolejność) */
.woocommerce div.product > div.images,
.woocommerce div.product > div.summary{width:auto;float:none;margin:0;min-width:0}
.woocommerce div.product > div.images{grid-column:1;grid-row:1}
.woocommerce div.product > div.summary{grid-column:2;grid-row:1}
.woocommerce div.product > .woocommerce-tabs,
.woocommerce div.product > .related,
.woocommerce div.product > .up-sells{grid-column:1 / -1;width:auto;float:none}

/* plakietka promocji */
.woocommerce span.onsale{
  background:#8c3b32;color:#fff;
  font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:1px;
  font-size:13px;line-height:1;padding:7px 11px;border-radius:3px;
  min-height:0;min-width:0;margin:0;
}
/* stos plakietek (onsale + nowość + bestseller) — lewy górny róg, każda szerokości treści */
.sh-badges{position:absolute;top:12px;left:12px;z-index:3;display:flex;flex-direction:column;align-items:flex-start;gap:6px;pointer-events:none}
.sh-badges .onsale,
.sh-badges .sh-badge{position:static !important;top:auto !important;left:auto !important;right:auto !important;margin:0 !important}
.sh-badge{font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:1px;font-size:13px;line-height:1;padding:7px 11px;border-radius:3px;color:#fff}
.sh-badge--new{background:var(--ink)}
.sh-badge--best{background:var(--brand)}
/* single: stos w prawym-górnym rogu galerii (element gridu w komórce zdjęcia) */
.woocommerce div.product > .sh-badges{position:static;grid-column:1;grid-row:1;justify-self:end;align-self:start;align-items:flex-end;margin:16px;top:auto;left:auto}

/* ---------- GALERIA: miniatury z lewej, scena z prawej, strzałki na zdjęciu ----------
   Grid zamiast flexa, bo strzałki muszą trafić do tej samej komórki co scena.
   Przy flexie wyśrodkowałyby się względem CAŁEJ galerii (razem z miniaturami)
   i zjechałyby poniżej zdjęcia. */
.woocommerce div.product div.images{
  position:relative;display:grid;grid-template-columns:82px minmax(0,1fr);gap:14px;align-items:start;
}
.woocommerce div.product div.images .flex-viewport,
.woocommerce div.product div.images > .woocommerce-product-gallery__wrapper{
  grid-row:1;grid-column:2;min-width:0;
  border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--paper);overflow:hidden;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image,
.woocommerce div.product div.images .woocommerce-product-gallery__image a{display:block}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{display:block;width:100%;height:auto}

/* strzałki — w komórce sceny, dosunięte do jej krawędzi */
.woocommerce div.product div.images .flex-direction-nav{
  grid-row:1;grid-column:2;align-self:center;z-index:5;
  display:flex;justify-content:space-between;align-items:center;
  margin:0;padding:0 12px;list-style:none;pointer-events:none;
}
.woocommerce div.product div.images .flex-direction-nav li{margin:0}
.woocommerce div.product div.images .flex-direction-nav a{
  pointer-events:auto;position:static;display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:50%;
  background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);
  font-size:0;color:var(--ink);text-indent:0;transition:.15s;
}
.woocommerce div.product div.images .flex-direction-nav a:hover{border-color:var(--ink);box-shadow:var(--shadow-lg)}
/* na skrajnym zdjęciu FlexSlider daje .flex-disabled i chowa strzałkę (opacity:0);
   wolimy ją wygasić, żeby przyciski nie znikały i nie skakał układ */
.woocommerce div.product div.images .flex-direction-nav a.flex-disabled{
  opacity:.3 !important;cursor:default;pointer-events:none;box-shadow:none;
}
.woocommerce div.product div.images .flex-direction-nav a::before{
  content:"";width:11px;height:11px;background-color:currentColor;
  -webkit-mask:var(--chevron) center/contain no-repeat;mask:var(--chevron) center/contain no-repeat;
}
.woocommerce div.product div.images .flex-direction-nav .flex-prev{
  --chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1.5 3.5 6 8 10.5'/%3E%3C/svg%3E");
}
.woocommerce div.product div.images .flex-direction-nav .flex-next{
  --chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 1.5 8.5 6 4 10.5'/%3E%3C/svg%3E");
}

/* lista miniatur (flexslider) — pionowa kolumna z lewej; różne proporcje zdjęć
   układają się tu spokojniej niż w poziomym pasie */
.woocommerce div.product div.images .flex-control-thumbs{
  grid-row:1;grid-column:1;display:flex;flex-direction:column;gap:10px;
  margin:0;padding:0;list-style:none;
}

/* ---------- okno miniatur (js/main.js dokłada wrapper przy >5 zdjęciach) ----------
   Kaiken ma 10 zdjęć — kolumna rosła do 910px przy scenie 496px. Pokazujemy pięć
   miniatur, resztę przewijamy. Wysokość okna liczy JS ze zmierzonej miniatury
   (--sh-thumb-h) i luki, bo zależy od szerokości kolumny i proporcji zdjęcia. */
.woocommerce div.product div.images .sh-thumbs{
  grid-row:1;grid-column:1;display:flex;flex-direction:column;gap:8px;min-width:0;
}
.woocommerce div.product div.images .sh-thumbs__viewport{overflow:hidden}
.woocommerce div.product div.images .sh-thumbs .flex-control-thumbs{
  grid-row:auto;grid-column:auto;
  transform:translateY(calc(var(--sh-thumb-offset, 0px) * -1));
  transition:transform .28s cubic-bezier(.4,0,.2,1);
}
.woocommerce div.product div.images .sh-thumbs__nav{
  flex:none;display:flex;align-items:center;justify-content:center;
  height:26px;padding:0;border:1px solid var(--line);border-radius:var(--radius);
  background:#fff;color:var(--ink);cursor:pointer;transition:.15s;
}
.woocommerce div.product div.images .sh-thumbs__nav svg{width:15px;height:15px;display:block}
.woocommerce div.product div.images .sh-thumbs__nav:hover:not(:disabled){border-color:var(--ink);background:var(--paper)}
.woocommerce div.product div.images .sh-thumbs__nav:disabled{opacity:.3;cursor:default}
@media(prefers-reduced-motion:reduce){
  .woocommerce div.product div.images .sh-thumbs .flex-control-thumbs{transition:none}
}
.woocommerce div.product div.images .flex-control-thumbs li{margin:0;width:100%;float:none}
.woocommerce div.product div.images .flex-control-thumbs img{
  width:100%;height:auto;cursor:pointer;opacity:.65;
  border:1.5px solid var(--line);border-radius:var(--radius);background:var(--paper);transition:.15s;
}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover{opacity:1;border-color:var(--ink)}

/* przycisk powiększenia (lupka) */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger{
  position:absolute;top:14px;right:14px;z-index:4;
  width:42px;height:42px;border-radius:50%;
  background:#fff center/20px 20px no-repeat;border:1px solid var(--line);box-shadow:var(--shadow);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.5' y2='16.5'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E");
  font-size:0;text-indent:-9999px;opacity:1;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger:hover{border-color:var(--ink)}
/* WC dokłada emoji 🔍 w <span> — chowamy, zostaje nasza ikona SVG (tło) */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger span{display:none}

/* ============================================================
   SUMMARY — podsumowanie produktu
   ============================================================ */
.woocommerce div.product div.summary{margin:0}

.woocommerce div.product .summary .product_title{
  font-family:var(--display);font-weight:700;line-height:.98;letter-spacing:.5px;
  font-size:clamp(30px,3.6vw,46px);text-transform:uppercase;margin:0 0 12px;color:var(--ink);
}

/* ocena — używamy fontu gwiazdek WC, zmieniamy tylko kolory */
.woocommerce div.product .summary .woocommerce-product-rating{display:flex;align-items:center;gap:12px;margin:0 0 16px;font-size:14px;color:var(--muted)}
.woocommerce .star-rating::before{color:var(--line)}
.woocommerce .star-rating span::before{color:var(--brand)}
.woocommerce div.product .summary .woocommerce-review-link{color:var(--muted)}
.woocommerce div.product .summary .woocommerce-review-link:hover{color:var(--brand)}

/* cena */
.woocommerce div.product .summary .price{margin:0 0 18px;color:var(--ink);font-family:var(--display);display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.woocommerce div.product .summary .price ins{background:none;text-decoration:none}
.woocommerce div.product .summary .price ins .amount,
.woocommerce div.product .summary .price > .amount{font-weight:700;font-size:34px;letter-spacing:.5px;color:var(--ink)}
.woocommerce div.product .summary .price del{color:var(--muted);opacity:.9}
.woocommerce div.product .summary .price del .amount{font-weight:500;font-size:20px}
.woocommerce div.product .summary .price .woocommerce-price-suffix{font-family:var(--body);font-size:13px;color:var(--muted);font-weight:400}

/* krótki opis */
.woocommerce div.product .summary .woocommerce-product-details__short-description{color:var(--ink-2);font-size:15.5px;line-height:1.7;margin:0 0 22px}
.woocommerce div.product .summary .woocommerce-product-details__short-description p{margin:0 0 10px}
.woocommerce div.product .summary .woocommerce-product-details__short-description p:last-child{margin-bottom:0}
.woocommerce div.product .summary .woocommerce-product-details__short-description ul{margin:0 0 12px;padding-left:0;list-style:none}
.woocommerce div.product .summary .woocommerce-product-details__short-description ul li{position:relative;padding-left:26px;margin-bottom:8px;line-height:1.5}
.woocommerce div.product .summary .woocommerce-product-details__short-description ul li::before{content:"";position:absolute;left:2px;top:9px;width:7px;height:7px;background:var(--brand);border-radius:50%}

/* Omnibus (iworks) — mniejszy i bliżej ceny */
.woocommerce .iworks-omnibus{font-size:12px;color:var(--muted);line-height:1.4}
.woocommerce div.product .summary .iworks-omnibus{margin:-8px 0 16px}
.woocommerce .iworks-omnibus .woocommerce-Price-amount{font-size:12px;font-weight:600;color:var(--ink-2)}

/* ---------- WARIANTY (variable) ---------- */
.woocommerce div.product .summary table.variations{width:100%;border-collapse:collapse;margin:0 0 18px;background:none}
.woocommerce div.product .summary table.variations th,
.woocommerce div.product .summary table.variations td{display:block;text-align:left;padding:0;border:0}
.woocommerce div.product .summary table.variations tr{display:block;margin-bottom:14px}
.woocommerce div.product .summary table.variations .label{margin-bottom:7px}
.woocommerce div.product .summary table.variations .label label{
  font-family:var(--display);text-transform:uppercase;letter-spacing:1px;font-weight:600;font-size:14px;color:var(--ink);
}
.woocommerce div.product .summary .variations select{
  width:100%;padding:12px 40px 12px 14px;border:1.5px solid var(--line);border-radius:var(--radius);
  background-color:#fff;font-family:var(--body);font-size:15px;color:var(--ink);appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2376726e' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 12px center;background-size:18px 18px;
}
.woocommerce div.product .summary .variations select:focus{outline:none;border-color:var(--ink)}
.woocommerce div.product .summary .single_variation .price{margin:0 0 14px}
.woocommerce div.product .summary .woocommerce-variation-availability .stock{margin:0 0 10px}

/* ---------- FORMULARZ / DODAJ DO KOSZYKA ---------- */
.woocommerce div.product .summary form.cart{margin:20px 0 4px}
.woocommerce div.product .summary form.cart:not(.variations_form){display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.woocommerce div.product .summary .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
/* clearfix WC na form.cart psuje układ flex — zdejmujemy pseudo-elementy */
.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after{content:none;display:none}

/* stepper ilości (+/- dokładane przez js/main.js) */
.woocommerce div.product .summary form.cart .quantity{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;float:none;margin:0}
.woocommerce div.product .summary form.cart .quantity .qty-btn{
  width:42px;height:48px;font-size:20px;line-height:1;color:var(--ink);background:#fff;border:0;cursor:pointer;transition:.15s;
  display:flex;align-items:center;justify-content:center;
}
.woocommerce div.product .summary form.cart .quantity .qty-btn:hover{background:var(--paper)}
.woocommerce div.product .summary form.cart .quantity input.qty{
  width:52px;height:48px;padding:0;border:0;border-left:1.5px solid var(--line);border-right:1.5px solid var(--line);
  text-align:center;font-family:var(--display);font-weight:600;font-size:17px;color:var(--ink);background:#fff;-moz-appearance:textfield;
}
.woocommerce div.product .summary form.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce div.product .summary form.cart .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* główny przycisk „Dodaj do koszyka" — wygląd .btn--primary */
.woocommerce div.product .summary form.cart .single_add_to_cart_button{
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  font-family:var(--display);font-weight:600;font-size:16px;letter-spacing:1.2px;text-transform:uppercase;
  padding:14px 28px;min-height:48px;border-radius:var(--radius);border:2px solid var(--brand);
  background:var(--brand);color:#fff;transition:.18s ease;cursor:pointer;flex:1 1 auto;float:none;
}
.woocommerce div.product .summary form.cart .single_add_to_cart_button:hover{background:var(--brand-600);border-color:var(--brand-600);transform:translateY(-1px)}
.woocommerce div.product .summary form.cart .single_add_to_cart_button:disabled,
.woocommerce div.product .summary form.cart .single_add_to_cart_button.disabled{opacity:.5;cursor:not-allowed;transform:none}

/* wishlist (tylko gdy wtyczka aktywna) */
.woocommerce div.product .summary .sh-wishlist{display:inline-flex;align-items:center}
.woocommerce div.product .summary .sh-wishlist .yith-wcwl-add-to-wishlist{margin:0}

/* dostępność (dokładane hookiem) */
.woocommerce div.product .summary .sh-avail{display:flex;align-items:center;gap:9px;font-size:14.5px;color:var(--ink-2);margin:0 0 20px;font-weight:500}
.sh-avail__dot{width:9px;height:9px;border-radius:50%;flex:none}
.sh-avail.is-in .sh-avail__dot{background:#3f9142;box-shadow:0 0 0 4px rgba(63,145,66,.14)}
.sh-avail.is-out{color:var(--muted)}
.sh-avail.is-out .sh-avail__dot{background:#b5502f;box-shadow:0 0 0 4px rgba(181,80,47,.14)}

/* trust-boxy (dokładane hookiem z ACF) */
.woocommerce div.product .summary .sh-trust{list-style:none;margin:22px 0 0;padding:20px 0 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:12px}
.sh-trust__item{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--ink-2);line-height:1.4}
.sh-trust__icon{width:24px;height:24px;object-fit:contain;flex:none}

/* metadane (sku / kategorie / tagi) */
.woocommerce div.product .summary .product_meta{margin:22px 0 0;padding:16px 0 0;border-top:1px solid var(--line);font-size:13.5px;color:var(--muted)}
.woocommerce div.product .summary .product_meta > span{display:block;margin-bottom:6px}
.woocommerce div.product .summary .product_meta a{color:var(--ink-2)}
.woocommerce div.product .summary .product_meta a:hover{color:var(--brand)}

/* ============================================================
   ZAKŁADKI (Opis / Specyfikacja / Rozmiary / Pielęgnacja / Recenzje)
   Neutralizujemy „pigułkowy" wygląd WC (pseudo-elementy) na pasek zakładek.
   ============================================================ */
.woocommerce div.product .woocommerce-tabs{margin:64px 0 56px}
.woocommerce div.product .woocommerce-tabs ul.tabs{list-style:none;margin:0 0 28px;padding:0 0 1px;display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:none;border:0;border-radius:0;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none;border:0;content:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  display:inline-block;font-family:var(--display);text-transform:uppercase;letter-spacing:1px;font-weight:600;
  font-size:15px;color:var(--muted);padding:12px 16px;border-bottom:2px solid transparent;margin-bottom:-1px;transition:.15s;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{color:var(--ink)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ink);border-bottom-color:var(--brand)}
.woocommerce div.product .woocommerce-tabs .panel{margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs .panel > h2{font-family:var(--display);text-transform:uppercase;font-size:26px;letter-spacing:.5px;margin:0 0 18px;color:var(--ink)}

/* ---------- TREŚĆ OPISU (zaciągana z pola „Opis" produktu) ----------
   Opisy od klienta to naprzemiennie akapity, śródtytuły i listy. Panel WC nie ma
   dla nich żadnych reguł: <ul> dostaje padding-left:0 z resetu, więc punktory
   znikają za krawędzią, a <h3> zostaje przy domyślnym 1.17em bez odstępów.
   Świadomie BEZ max-width: przy panelu 1192px ograniczenie miary do ~74ch łamało
   jednolinijkowe akapity na dwie linie, a nagłówek sekcji wyglądał wtedy jak zdanie
   urwane w losowym miejscu. Cała szerokość panelu, tak jak resztą treści. */
.woocommerce div.product .woocommerce-tabs .panel p{
  color:var(--ink-2);line-height:1.75;margin:0 0 14px;
}
.woocommerce div.product .woocommerce-tabs .panel h3,
.woocommerce div.product .woocommerce-tabs .panel h4{
  font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:.6px;
  font-size:17px;line-height:1.3;color:var(--ink);margin:26px 0 10px;
}
.woocommerce div.product .woocommerce-tabs .panel > *:first-child{margin-top:0}
.woocommerce div.product .woocommerce-tabs .panel > *:last-child{margin-bottom:0}

/* listy: kropka w kolorze marki, jak w całym serwisie */
.woocommerce div.product .woocommerce-tabs .panel ul,
.woocommerce div.product .woocommerce-tabs .panel ol{
  margin:0 0 14px;padding-left:0;list-style:none;
}
.woocommerce div.product .woocommerce-tabs .panel ul li{
  position:relative;padding-left:22px;margin:0 0 7px;
  color:var(--ink-2);line-height:1.6;list-style:none;
}
.woocommerce div.product .woocommerce-tabs .panel ul li::before{
  content:"";position:absolute;left:2px;top:.62em;
  width:6px;height:6px;border-radius:50%;background:var(--brand);
}
.woocommerce div.product .woocommerce-tabs .panel ul li:last-child{margin-bottom:0}
/* akapit tuż po liście: nieco ciaśniej, żeby sekcja trzymała się razem */
.woocommerce div.product .woocommerce-tabs .panel ul + p{margin-top:14px}
/* numerowane zostawiamy z natywnym licznikiem, tylko z wcięciem */
.woocommerce div.product .woocommerce-tabs .panel ol{padding-left:20px;list-style:decimal}
.woocommerce div.product .woocommerce-tabs .panel ol li{margin:0 0 7px;color:var(--ink-2);line-height:1.6}
.woocommerce div.product .woocommerce-tabs .panel strong{color:var(--ink);font-weight:600}
.woocommerce div.product .woocommerce-tabs .panel a{color:var(--brand);text-decoration:underline}

@media(max-width:640px){
  .woocommerce div.product .woocommerce-tabs{margin:44px 0 40px}
  .woocommerce div.product .woocommerce-tabs .panel > h2{font-size:22px;margin-bottom:14px}
  .woocommerce div.product .woocommerce-tabs .panel h3,
  .woocommerce div.product .woocommerce-tabs .panel h4{font-size:16px;margin:22px 0 8px}
}

/* tabele w zakładkach (atrybuty + własne) */
.woocommerce div.product .woocommerce-tabs .panel table.shop_attributes,
.sh-tabcontent table{width:100%;border-collapse:collapse;margin:0 0 18px;font-size:15px;border:0}
.woocommerce div.product .woocommerce-tabs .panel table.shop_attributes th,
.woocommerce div.product .woocommerce-tabs .panel table.shop_attributes td,
.sh-tabcontent table th,
.sh-tabcontent table td{padding:11px 14px;border:1px solid var(--line);text-align:left;vertical-align:top}
.woocommerce div.product .woocommerce-tabs .panel table.shop_attributes th,
.sh-tabcontent table th{background:var(--paper);font-family:var(--display);text-transform:uppercase;letter-spacing:.5px;font-weight:600;color:var(--ink);width:34%}
.sh-tabcontent p{color:var(--ink-2);line-height:1.78;margin:0 0 14px}
.sh-tabcontent ul{margin:0 0 16px;padding-left:0;list-style:none}
.sh-tabcontent ul li{position:relative;padding-left:26px;margin-bottom:9px;color:var(--ink-2);line-height:1.6}
.sh-tabcontent ul li::before{content:"";position:absolute;left:2px;top:10px;width:7px;height:7px;background:var(--brand);border-radius:50%}

/* wideo jako pozycja lightboxa (PhotoSwipe, element HTML) */
.pswp-video{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:24px}
.pswp-video video{max-width:100%;max-height:100%;width:auto;height:auto;background:#000;border-radius:var(--radius);outline:none}
@media(max-width:640px){
  .pswp-video{padding:12px}
}

/* ============================================================
   OPINIE O PRODUKCIE (zakładka „Opinie")
   ============================================================ */
.woocommerce div.product .woocommerce-Reviews-title{
  font-family:var(--display);text-transform:uppercase;letter-spacing:.5px;line-height:1.1;
  font-size:24px;color:var(--ink);margin:0 0 18px;
}

/* lista opinii */
.woocommerce #reviews ol.commentlist{list-style:none;margin:0;padding:0}
.woocommerce #reviews ol.commentlist li{
  margin:0 0 16px;padding:18px 20px;list-style:none;
  border:1px solid var(--line);border-radius:var(--radius-lg);background:#fff;
}
.woocommerce #reviews ol.commentlist li:last-child{margin-bottom:0}
.woocommerce #reviews .comment_container{display:flex;gap:14px;align-items:flex-start}
.woocommerce #reviews .comment_container img.avatar{width:48px;height:48px;flex:none;border-radius:50%;margin:0;padding:0;border:0}
.woocommerce #reviews .comment-text{flex:1;min-width:0;margin:0;border:0;padding:0}
.woocommerce #reviews .comment-text .star-rating{margin:0 0 8px;font-size:14px}
.woocommerce #reviews .comment-text p.meta{font-size:13px;color:var(--muted);margin:0 0 10px}
.woocommerce #reviews .comment-text p.meta strong{
  display:block;margin-bottom:2px;
  font-family:var(--display);text-transform:uppercase;letter-spacing:.5px;font-size:16px;color:var(--ink);
}
.woocommerce #reviews .comment-text .description p{margin:0 0 10px;color:var(--ink-2);line-height:1.7}
.woocommerce #reviews .comment-text .description p:last-child{margin-bottom:0}

/* formularz opinii — oddzielony od listy */
.woocommerce #review_form_wrapper{margin-top:32px;padding-top:28px;border-top:1px solid var(--line)}
.woocommerce #reviews .comment-reply-title{
  display:block;margin:0 0 8px;line-height:1.2;
  font-family:var(--display);text-transform:uppercase;letter-spacing:.5px;font-size:20px;color:var(--ink);
}
.woocommerce #reviews .comment-form{margin:0}
.woocommerce #reviews .comment-notes{font-size:13.5px;color:var(--muted);margin:0 0 22px}
.woocommerce #reviews .comment-form p{margin:0 0 18px}
.woocommerce #reviews .comment-form label{
  display:block;margin-bottom:7px;
  font-family:var(--display);text-transform:uppercase;letter-spacing:1px;font-weight:600;font-size:13px;color:var(--ink);
}
.woocommerce #reviews .comment-form .required{color:var(--brand);border:0}
.woocommerce #reviews .comment-form input[type="text"],
.woocommerce #reviews .comment-form input[type="email"],
.woocommerce #reviews .comment-form input[type="url"],
.woocommerce #reviews .comment-form textarea{width:100%;max-width:100%;box-sizing:border-box}
.woocommerce #reviews .comment-form textarea{height:140px;resize:vertical}

/* ocena gwiazdkami */
.woocommerce #reviews .comment-form-rating{margin-bottom:20px}
.woocommerce #review_form #respond p.stars{margin:0;line-height:1}
.woocommerce #review_form #respond p.stars a{color:var(--brand)}

/* zgoda na zapamiętanie danych — checkbox obok tekstu, nie jako pole formularza */
.woocommerce #reviews .comment-form-cookies-consent{
  display:flex;align-items:flex-start;gap:10px;margin:0 0 22px;
}
.woocommerce #reviews .comment-form-cookies-consent input[type="checkbox"]{
  flex:none;margin:2px 0 0;width:auto;accent-color:var(--brand);
}
.woocommerce #reviews .comment-form-cookies-consent label{
  margin:0;font-family:var(--body);text-transform:none;letter-spacing:0;
  font-weight:400;font-size:13.5px;color:var(--muted);line-height:1.5;
}

.woocommerce #reviews .form-submit{margin:0}

/* ============================================================
   SIATKA PRODUKTÓW (related, upsells, archiwum sklepu) — karty
   ============================================================ */
.woocommerce ul.products{list-style:none;margin:0;padding:0;display:grid;gap:22px;grid-template-columns:repeat(4,1fr)}
.woocommerce ul.products.columns-1{grid-template-columns:1fr}
.woocommerce ul.products.columns-2{grid-template-columns:repeat(2,1fr)}
.woocommerce ul.products.columns-3{grid-template-columns:repeat(3,1fr)}
.woocommerce ul.products::before,
.woocommerce ul.products::after{display:none}

.woocommerce ul.products li.product{
  position:relative;margin:0;padding:0;width:auto;float:none;text-align:left;background:#fff;
  border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;
  display:flex;flex-direction:column;transition:.2s;
}
/* WC ustawia width/float/margin na .columns-N li.product (0,4,2 — bije regułę bazową);
   reset, bo szerokość kafla wyznacza grid kontenera (to dlatego /sklep/ „się nie zmieniał") */
.woocommerce ul.products.columns-1 li.product,
.woocommerce ul.products.columns-2 li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce ul.products.columns-4 li.product,
.woocommerce ul.products.columns-5 li.product,
.woocommerce ul.products.columns-6 li.product{width:auto;margin:0;float:none}
.woocommerce ul.products li.product:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);border-color:#dcd7cf}
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;color:inherit}
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product a img{
  background:var(--paper);aspect-ratio:1/1;object-fit:contain;width:100%;height:auto;padding:0;margin:0;transition:.35s;
}
.woocommerce ul.products li.product:hover img{transform:scale(1.04)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--display);text-transform:uppercase;letter-spacing:.5px;font-size:22px;line-height:1.05;
  color:var(--ink);padding:16px 18px 0;margin:0;
}
.woocommerce ul.products li.product .price{
  padding:8px 18px 0;margin:auto 0 0;font-family:var(--display);font-weight:700;font-size:20px;color:var(--ink);
}
.woocommerce ul.products li.product .price del{color:var(--muted);font-weight:500;font-size:15px;margin-right:6px}
.woocommerce ul.products li.product .price ins{text-decoration:none;background:none}
.woocommerce ul.products li.product .star-rating{margin:12px 18px 0;font-size:14px}
.woocommerce ul.products li.product .button{
  margin:14px 18px 18px;align-self:flex-start;
  display:inline-flex;align-items:center;gap:.4em;
  font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:1px;font-size:14px;
  padding:10px 16px;border-radius:var(--radius);border:2px solid var(--ink);background:#fff;color:var(--ink);transition:.15s;
}
.woocommerce ul.products li.product .button:hover{background:var(--ink);color:#fff}
/* „Dodaj do koszyka" zawsze primary — jeden design system (główna/produkt/kategoria/koszyk);
   outline zostaje dla „Wybierz opcje"/„Sprawdź" */
.woocommerce ul.products li.product .button.add_to_cart_button{background:var(--brand);border-color:var(--brand);color:#fff}
.woocommerce ul.products li.product .button.add_to_cart_button:hover{background:var(--brand-600);border-color:var(--brand-600);color:#fff}
.woocommerce ul.products li.product .button.loading{opacity:.6}
/* po AJAX-owym dodaniu WC dokleja link „Zobacz koszyk" — zbędny (sam otwiera się drawer) */
.woocommerce a.added_to_cart,
.woocommerce ul.products li.product .added_to_cart,
a.added_to_cart{display:none}
.woocommerce ul.products li.product .sh-badges{top:12px;left:12px}

/* nagłówek sekcji related/upsells */
.woocommerce .related > h2,
.woocommerce .up-sells > h2,
.woocommerce .cross-sells > h2{
  font-family:var(--display);font-weight:700;text-transform:uppercase;letter-spacing:.5px;
  font-size:clamp(28px,3.4vw,40px);color:var(--ink);margin:0 0 28px;
}
.woocommerce .related,
.woocommerce .up-sells{margin-top:0}

/* ============================================================
   ARCHIWUM SKLEPU — pasek nad pętlą + paginacja
   ============================================================ */
.woocommerce .woocommerce-result-count{color:var(--muted);font-size:14px;margin:0 0 18px}
.woocommerce .woocommerce-ordering{margin:0 0 24px}
.woocommerce .woocommerce-ordering select{
  padding:10px 34px 10px 14px;border:1.5px solid var(--line);border-radius:var(--radius);background-color:#fff;
  font-family:var(--body);font-size:14px;color:var(--ink);appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2376726e' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px;
}
.woocommerce nav.woocommerce-pagination{margin-top:44px;text-align:center}
.woocommerce nav.woocommerce-pagination ul{display:inline-flex;gap:8px;border:0;margin:0;padding:0}
.woocommerce nav.woocommerce-pagination ul li{border:0;margin:0;overflow:visible}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  min-width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;
  border:1px solid var(--line);border-radius:var(--radius);font-family:var(--display);font-weight:600;color:var(--ink);transition:.15s;
}
.woocommerce nav.woocommerce-pagination ul li a:hover{border-color:var(--ink)}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--ink);color:#fff;border-color:var(--ink)}

/* ============================================================
   KOMUNIKATY + przyciski + pola (koszyk/konto/checkout)
   ============================================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
.woocommerce-store-notice{
  list-style:none;font-size:14.5px;padding:14px 18px;border-radius:var(--radius);
  background:var(--paper);border-top:0;border-left:4px solid var(--brand);margin:0 0 24px;color:var(--ink-2);
}
/* zdejmij natywne ikony komunikatów WC (::before) */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before{display:none}
.woocommerce-error{border-left-color:#b5502f}
.woocommerce-noreviews{margin:24px 0 24px !important}
/* WooCommerce nadaje komunikatom tabindex="-1" i ustawia na nich fokus skryptem
   (dla czytników ekranu), przez co przeglądarka rysuje niebieski obrys. Element
   z tabindex="-1" jest poza kolejnością tabulacji, więc zdjęcie obrysu niczego
   nie psuje dla nawigacji klawiaturą. */
.woocommerce-message:focus,
.woocommerce-info:focus,
.woocommerce-error:focus,
.woocommerce-noreviews:focus,
.woocommerce-store-notice:focus{outline:0}
.woocommerce-message .button,
.woocommerce-info .button{float:right;margin:-4px 0 0}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit{
  font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:1px;font-size:15px;
  padding:12px 22px;border-radius:var(--radius);background-color:var(--ink);color:#fff;border:2px solid var(--ink);transition:.15s;cursor:pointer;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover{background-color:#000;border-color:#000;color:#fff}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt{background-color:var(--brand);border-color:var(--brand)}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover{background-color:var(--brand-600);border-color:var(--brand-600)}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce #reviews input[type="text"],
.woocommerce #reviews input[type="email"],
.woocommerce #reviews input[type="url"],
.woocommerce #reviews textarea{
  border:1.5px solid var(--line);border-radius:var(--radius);padding:12px 14px;font-family:var(--body);font-size:15px;background:#fff;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus{outline:none;border-color:var(--ink)}

/* B2BKing: pola rejestracji (klasa b2bking_custom_registration_field zamiast input-text) — jak klasyczne inputy Woo */
.woocommerce form .form-row input.b2bking_custom_registration_field:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.woocommerce form .form-row textarea.b2bking_custom_registration_field{
  display:block;width:100%;box-sizing:border-box;margin:0;
  border:1.5px solid var(--line);border-radius:var(--radius);padding:12px 14px;font-family:var(--body);font-size:15px;line-height:normal;color:var(--ink);background:#fff;
}
.woocommerce form .form-row input.b2bking_custom_registration_field::placeholder,
.woocommerce form .form-row textarea.b2bking_custom_registration_field::placeholder{color:var(--muted)}
.woocommerce form .form-row input.b2bking_custom_registration_field:focus,
.woocommerce form .form-row textarea.b2bking_custom_registration_field:focus{outline:none;border-color:var(--ink)}
.woocommerce form .form-row input.b2bking_custom_registration_field[type="file"]{font-family:var(--body);font-size:14px;padding:8px 0}
.woocommerce form .form-row input.b2bking_custom_registration_field[type="checkbox"]{width:auto;display:inline-block;margin-right:8px;vertical-align:middle}
.b2bking_custom_registration_container .form-row{margin-bottom:0}

/* selecty formularzy (checkout/konto): zwykły select + select2/selectWoo (kraj, województwo) */
.woocommerce form .form-row select{
  width:100%;padding:12px 40px 12px 14px;border:1.5px solid var(--line);border-radius:var(--radius);
  background-color:#fff;font-family:var(--body);font-size:15px;color:var(--ink);
  appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2376726e' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px;
}
.woocommerce form .form-row select:focus{outline:none;border-color:var(--ink)}
.woocommerce form .form-row .select2-container .select2-selection--single{
  height:auto;border:1.5px solid var(--line);border-radius:var(--radius);background:#fff;padding:12px 38px 12px 14px;
}
.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered{
  line-height:1.5;padding:0;color:var(--ink);font-size:15px;
}
.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__placeholder{color:var(--muted)}
.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__arrow{height:100%;top:0;right:12px}
.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__arrow b{border-color:var(--muted) transparent transparent;border-width:6px 5px 0;margin-top:-3px}
.woocommerce form .form-row .select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent var(--muted);border-width:0 5px 6px}
.woocommerce form .form-row .select2-container--focus .select2-selection--single,
.woocommerce form .form-row .select2-container--open .select2-selection--single{border-color:var(--ink)}
/* dropdown select2 renderuje się poza formularzem (przy <body>) */
.select2-dropdown{border:1.5px solid var(--line);border-radius:var(--radius);font-family:var(--body);font-size:14.5px}
.select2-search--dropdown{padding:8px}
.select2-search--dropdown .select2-search__field{width:100%;border:1.5px solid var(--line);border-radius:var(--radius);padding:9px 12px;font-family:var(--body);font-size:14.5px;outline:none}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected]{background:var(--brand);color:#fff}
.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option[data-selected=true]{background:var(--paper);color:var(--ink)}

/* ============================================================
   RESPONSYWNIE
   ============================================================ */
@media(max-width:900px){
  .woocommerce div.product{grid-template-columns:1fr;gap:32px}
  .woocommerce div.product > div.images{grid-column:1;grid-row:1}
  .woocommerce div.product > div.summary{grid-column:1;grid-row:2}
  .woocommerce ul.products,
  .woocommerce ul.products.columns-3,
  .woocommerce ul.products.columns-4{grid-template-columns:repeat(2,1fr)}
  .woocommerce div.product .woocommerce-tabs{margin-top:48px}
}
@media(max-width:560px){
  /* mobile: bez miniatur — zdjęcia przewija się strzałkami i swipem */
  .woocommerce div.product div.images{grid-template-columns:minmax(0,1fr)}
  .woocommerce div.product div.images .flex-control-thumbs,
  .woocommerce div.product div.images .sh-thumbs{display:none}
  .woocommerce div.product div.images .flex-viewport,
  .woocommerce div.product div.images > .woocommerce-product-gallery__wrapper{grid-column:1}
  .woocommerce div.product div.images .flex-direction-nav{grid-column:1;padding:0 8px}
  .woocommerce div.product div.images .flex-direction-nav a{width:34px;height:34px}
  .woocommerce div.product .summary form.cart:not(.variations_form),
  .woocommerce div.product .summary .woocommerce-variation-add-to-cart{width:100%}
  /* ilość + przycisk zostają OBOK siebie — mniejszy stepper i przycisk */
  .woocommerce div.product .summary form.cart .quantity .qty-btn{width:34px;height:44px;font-size:18px}
  .woocommerce div.product .summary form.cart .quantity input.qty{width:44px;height:44px;font-size:15px}
  .woocommerce div.product .summary form.cart .single_add_to_cart_button{padding:12px 16px;min-height:44px;font-size:15px}
  .woocommerce ul.products,
  .woocommerce ul.products.columns-3,
  .woocommerce ul.products.columns-4{grid-template-columns:1fr}
  .woocommerce div.product .woocommerce-tabs ul.tabs{gap:2px}
  .woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:10px 12px;font-size:14px}
}
@media(max-width:340px){
  /* za wąsko na jeden rząd: ilość wyżej, przycisk na całą szerokość */
  .woocommerce div.product .summary form.cart .single_add_to_cart_button{width:100%;flex-basis:100%}
}

/* ============================================================
   ARCHIWUM SKLEPU / KATEGORIA — nagłówek + toolbar + filtry z lewej
   ============================================================ */
/* nagłówek archiwum — pełna szerokość, .wrap w środku (patrz steelhog_shop_header) */
.shop-head{margin:0 0 24px}
.shop-head__row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
/* dwie klasy, bo .woocommerce-page img{height:auto} bije pojedynczą klasę */
.shop-head .shop-head__logo{height:56px;width:auto;max-width:130px;object-fit:contain;flex:none}
.shop-head__title{font-family:var(--display);font-weight:700;line-height:.98;letter-spacing:.5px;font-size:clamp(34px,5vw,54px);text-transform:uppercase;margin:0;color:var(--ink)}

/* wariant z grafiką w tle (kategoria/tag/sklep) */
.shop-head--image{
  position:relative;margin-bottom:32px;padding:44px 0 52px;
  background-color:var(--ink);
  background-image:var(--head-bg);
  background-size:cover;background-position:center;
}
.shop-head--image::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(12,10,8,.82) 0%,rgba(12,10,8,.52) 55%,rgba(12,10,8,.25) 100%);
}
.shop-head--image > .wrap{position:relative;z-index:1}
.shop-head--image .shop-head__title{color:#fff}
.shop-head--image .woocommerce-breadcrumb{margin-top:0}
.shop-head--image .woocommerce-breadcrumb,
.shop-head--image .woocommerce-breadcrumb a{color:#cfcbc6}
.shop-head--image .woocommerce-breadcrumb a:hover{color:#fff}

/* opis kategorii (natywny) */
.shop-desc{margin:0 0 26px;color:var(--ink-2);font-size:16px;line-height:1.7;max-width:760px}
.shop-desc p{margin:0 0 12px}
.shop-desc p:last-child{margin-bottom:0}

/* baner promocyjny pod nagłówkiem */
.shop-promo{margin:0 0 28px}
.shop-promo img{display:block;width:100%;height:auto;border-radius:var(--radius-lg)}
.shop-promo__link{display:block;transition:opacity .2s}
.shop-promo__link:hover{opacity:.93}

@media(max-width:640px){
  .shop-head--image{padding:32px 0 36px;margin-bottom:24px;background-image:var(--head-bg-mobile,var(--head-bg))}
  .shop-head .shop-head__logo{height:42px;max-width:100px}
  .shop-head__row{gap:12px}
}

/* toolbar: liczba wyników z lewej, „Filtry" (mobile) + sortowanie z prawej */
.shop-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:0 0 28px;padding:0 0 20px;border-bottom:1px solid var(--line)}
.shop-toolbar .woocommerce-result-count{margin:0 auto 0 0}
.shop-toolbar .woocommerce-ordering{margin:0}
.shop-toolbar .woocommerce-notices-wrapper{flex-basis:100%;width:100%;order:-1}
.shop-toolbar .woocommerce-notices-wrapper:empty{display:none}
.shop-filters-toggle{
  display:none;align-items:center;gap:8px;font-family:var(--display);text-transform:uppercase;letter-spacing:1px;font-weight:600;font-size:14px;
  color:var(--ink);border:1.5px solid var(--line);border-radius:var(--radius);padding:9px 16px;background:#fff;cursor:pointer;transition:.15s;
}
.shop-filters-toggle:hover{border-color:var(--ink)}
.shop-filters-toggle svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round}
/* <415px: toolbar w jednym rzędzie — space-between, licznik zawija się wewnątrz */
@media(max-width:415px){
  .shop-toolbar{gap:8px;justify-content:space-between}
  .shop-toolbar .woocommerce-result-count{min-width:0;font-size:12px;line-height:1.35;margin:0}
  .shop-toolbar .woocommerce-ordering{flex:none}
  .shop-toolbar .woocommerce-ordering select{font-size:14px;padding:8px 26px 8px 10px;background-position:right 8px center;background-size:13px 13px}
  .shop-filters-toggle{font-size:14px;padding:8px 12px;letter-spacing:.5px;gap:0}
  .shop-filters-toggle svg{display:none}
}
@media(max-width:360px){
  .shop-toolbar .woocommerce-result-count{font-size:11px}
  .shop-toolbar .woocommerce-ordering select{font-size:11px}
  .shop-filters-toggle{font-size:11px}
}

/* układ: filtry | wyniki (3 produkty w rzędzie ustawia loop_shop_columns=3) */
.shop-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:36px;align-items:start}
.shop-layout--full{grid-template-columns:minmax(0,1fr)}
.shop-results{min-width:0}

/* sidebar filtrów */
.shop-sidebar__head{display:none}
.shop-widget{margin:0 0 26px;padding:0 0 24px;border-bottom:1px solid var(--line)}
.shop-widget:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}
.shop-widget__title{font-family:var(--display);text-transform:uppercase;letter-spacing:1px;font-weight:700;font-size:16px;color:var(--ink);margin:0 0 14px}
.shop-widget ul{list-style:none;margin:0;padding:0}
.shop-widget ul li{margin:0 0 9px;font-size:14.5px;color:var(--ink-2);line-height:1.4}
.shop-widget ul li a{color:var(--ink-2);transition:.15s;width:100%}
.shop-widget ul li a:hover{color:var(--brand)}
.shop-widget ul li .count{float:right;color:var(--muted);font-size:13px}
.shop-widget ul.product-categories ul.children{margin:8px 0 0 14px}
/* zaznaczone / aktywne (layered nav, kategorie) */
.shop-widget ul li.chosen > a,
.shop-widget ul li.current-cat > a{color:var(--brand);font-weight:600}
.shop-widget ul li.chosen > a::before{content:"\00d7\00a0";font-weight:700}

/* widget: filtr po cenie */
.shop-widget .price_slider_wrapper{margin-top:6px}
.shop-widget .ui-slider{position:relative;background:var(--line);height:4px;border-radius:2px;margin:16px 0 14px;border:0}
.shop-widget .ui-slider .ui-slider-range{position:absolute;background:var(--brand);height:4px;border-radius:2px}
.shop-widget .ui-slider .ui-slider-handle{position:absolute;width:16px;height:16px;background:var(--ink);border:0;border-radius:50%;top:-6px;margin-left:-8px;cursor:grab}
.shop-widget .price_slider_amount{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;font-size:13px;color:var(--muted)}
.shop-widget .price_slider_amount .price_label{order:1;flex:1 1 100%}
.shop-widget .price_slider_amount .button{
  order:2;font-family:var(--display);text-transform:uppercase;letter-spacing:.5px;font-weight:600;font-size:13px;
  padding:8px 14px;border-radius:var(--radius);background:var(--ink);color:#fff;border:0;cursor:pointer;transition:.15s;
}
.shop-widget .price_slider_amount .button:hover{background:#000}

/* widget: filtr po ocenie */
.shop-widget .star-rating{display:inline-block;vertical-align:middle;margin-right:6px}

/* aktywne filtry */
.woocommerce-widget-layered-nav-list__item--chosen,
.widget_layered_nav_filters ul li a{color:var(--brand)}

/* --- własny widget: Kategorie produktów --- */
.shop-widget .shop-cats,
.shop-widget .shop-cats__children{list-style:none;margin:0;padding:0}
.shop-widget .shop-cats__item{margin:0 0 4px}
.shop-widget .shop-cats__row{display:flex;align-items:center;gap:8px}
.shop-cats__item.current-cat > .shop-cats__row > a{color:var(--brand);font-weight:600}
.shop-widget .shop-cats__row .count{float:none;margin-left:auto;color:var(--muted);font-size:13px}
.shop-widget .shop-cats__children{margin:6px 0 8px 6px;padding-left:12px;border-left:1px solid var(--line)}
.shop-cats__row .cat-toggle{margin-left:0;padding:4px;background:none;border:0;cursor:pointer;color:var(--muted);display:inline-flex;flex:none}
.shop-cats__row .cat-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;transition:transform .2s}
.cat-has-children > .shop-cats__children{display:none}
.cat-has-children.is-open > .shop-cats__children{display:block}
.cat-has-children.is-open > .shop-cats__row .cat-toggle svg{transform:rotate(180deg)}

/* --- własny widget: Aktywne filtry (chipy + wyczyść wszystkie) --- */
.activefilters{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.activefilters__item{margin:0}
.activefilters__item > a{
  display:inline-flex;align-items:center;gap:8px;
  border:1.5px solid var(--line);border-radius:999px;padding:6px 10px 6px 12px;
  font-size:13px;color:var(--ink-2);background:#fff;transition:.15s;line-height:1.2;
}
.activefilters__item > a:hover{border-color:var(--ink);color:var(--ink)}
.activefilters__item i{
  font-style:normal;font-size:15px;line-height:1;color:var(--muted);
  width:16px;height:16px;display:flex;justify-content:center;
  border-radius:50%;flex:none;transition:.15s;
}
.activefilters__item > a:hover i{background:var(--brand);color:#fff}
/* cena renderuje wc_price() — zdejmujemy jego własne style */
.activefilters__item .woocommerce-Price-amount{font-size:13px;font-weight:600;color:inherit}
.activefilters__item bdi{white-space:nowrap}
.activefilters__clear{
  display:inline-block;margin-top:12px;
  font-family:var(--display);text-transform:uppercase;letter-spacing:1px;font-weight:600;font-size:12px;
  color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:2px;transition:.15s;
}
.activefilters__clear:hover{color:var(--brand);border-bottom-color:var(--brand)}

/* --- własny widget: Filtr ceny (suwak zakresowy + pola od/do) --- */
.pricefilter{margin:0}
.pricefilter__slider{position:relative;height:26px;margin:2px 0 16px}
.pricefilter__track{position:absolute;top:11px;left:9px;right:9px;height:4px;background:var(--line);border-radius:2px}
.pricefilter__range{position:absolute;top:0;bottom:0;left:0;right:0;background:var(--brand);border-radius:2px}
/* dwa nakładające się suwaki: sam input przezroczysty dla myszy, łapki aktywne */
.pricefilter__handle{
  position:absolute;top:0;left:0;width:100%;height:26px;margin:0;padding:0;
  -webkit-appearance:none;appearance:none;background:none;pointer-events:none;
}
.pricefilter__handle:focus{outline:none}
.pricefilter__handle::-webkit-slider-thumb{
  -webkit-appearance:none;pointer-events:auto;
  width:18px;height:18px;border-radius:50%;background:var(--ink);border:2px solid #fff;
  box-shadow:0 1px 4px rgba(12,10,8,.35);cursor:grab;transition:transform .12s;
}
.pricefilter__handle::-webkit-slider-thumb:active{cursor:grabbing;transform:scale(1.12)}
.pricefilter__handle:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px rgba(184,95,45,.4)}
.pricefilter__handle::-moz-range-thumb{
  pointer-events:auto;width:18px;height:18px;border-radius:50%;background:var(--ink);
  border:2px solid #fff;box-shadow:0 1px 4px rgba(12,10,8,.35);cursor:grab;
}
.pricefilter__handle::-moz-range-track{background:none;border:0}

.pricefilter__inputs{display:flex;align-items:stretch;gap:8px}
.pricefilter__field{
  flex:1 1 0;min-width:0;display:flex;align-items:center;gap:6px;
  border:1.5px solid var(--line);border-radius:var(--radius);padding:7px 10px;background:#fff;transition:.15s;
}
.pricefilter__field:focus-within{border-color:var(--ink)}
.pricefilter__field span{
  font-family:var(--display);text-transform:uppercase;letter-spacing:1px;
  font-size:11px;color:var(--muted);flex:none;
}
.pricefilter__field input{
  width:100%;min-width:0;border:0;outline:none;background:transparent;padding:0;
  font-family:var(--display);font-weight:700;font-size:15px;color:var(--ink);-moz-appearance:textfield;
}
.pricefilter__field input::-webkit-outer-spin-button,
.pricefilter__field input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.pricefilter__field i{font-style:normal;font-size:12px;color:var(--muted);flex:none}

.pricefilter__submit{
  width:100%;margin-top:12px;cursor:pointer;
  font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:1px;font-size:13px;
  color:var(--ink);background:#fff;border:1.5px solid var(--ink);border-radius:var(--radius);padding:10px 14px;transition:.15s;
}
.pricefilter__submit:hover{background:var(--ink);color:#fff}

/* --- własny widget: Filtr po atrybucie --- */
.shop-widget .shop-attr{list-style:none;margin:0;padding:0}
.shop-widget .shop-attr__item{margin:0 0 8px}
.shop-widget .shop-attr__item > a{display:flex;align-items:center;gap:10px}
.shop-attr__box{width:17px;height:17px;border:1.5px solid var(--line);border-radius:3px;flex:none;position:relative;transition:.15s}
.shop-attr__item > a:hover .shop-attr__box{border-color:var(--ink)}
.shop-attr__item.is-chosen .shop-attr__box{background:var(--brand);border-color:var(--brand)}
.shop-attr__item.is-chosen .shop-attr__box::after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.shop-attr__item.is-chosen > a{color:var(--ink);font-weight:600}

/* opis DOLNY (SEO) */
.shop-bottom-desc{margin:56px 0 0;padding:34px 0 0;border-top:1px solid var(--line)}
.shop-bottom-desc__inner{max-width:900px;color:var(--ink-2);font-size:15px;line-height:1.8}
.shop-bottom-desc__inner h2,
.shop-bottom-desc__inner h3{font-family:var(--display);text-transform:uppercase;letter-spacing:.5px;color:var(--ink);margin:22px 0 12px;line-height:1.1}
.shop-bottom-desc__inner h2{font-size:26px}
.shop-bottom-desc__inner h3{font-size:21px}
.shop-bottom-desc__inner p{margin:0 0 14px}
.shop-bottom-desc__inner a{color:var(--brand);text-decoration:underline}

/* backdrop dla off-canvas (współdzielony #backdrop z menu) */

@media(max-width:900px){
  .shop-layout{grid-template-columns:1fr}
  .shop-filters-toggle{display:inline-flex}
  .shop-sidebar{
    position:fixed;top:0;left:0;bottom:0;width:86%;max-width:360px;z-index:80;background:#fff;
    transform:translateX(-100%);transition:transform .3s ease;overflow-y:auto;padding:20px 20px 30px;box-shadow:var(--shadow-lg);
  }
  .shop-sidebar.is-open{transform:translateX(0)}
  .shop-sidebar__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--line)}
  .shop-sidebar__title{font-family:var(--display);text-transform:uppercase;letter-spacing:1px;font-weight:700;font-size:20px;color:var(--ink)}
  .shop-filters-close{width:40px;height:40px;font-size:26px;line-height:1;color:var(--ink);background:none;border:0;cursor:pointer}
}

/* ukryj natywny licznik stanu na karcie — mamy własny badge .sh-avail */
.woocommerce div.product .summary p.stock{display:none}

/* ============================================================
   MOJE KONTO
   ============================================================ */
.woocommerce-account .section__title{margin-bottom:6px}
/* bez własnego gridu — zostaje natywny 2-kolumnowy float WC (grid psuł layout) */
.woocommerce-account .woocommerce{margin-top:30px}
@media(max-width:768px){
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content{margin-bottom:28px}
}

.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.woocommerce-MyAccount-navigation li{margin:0;border-bottom:1px solid var(--line)}
.woocommerce-MyAccount-navigation li:last-child{border-bottom:0}
.woocommerce-MyAccount-navigation li a{display:block;padding:13px 18px;font-family:var(--display);text-transform:uppercase;letter-spacing:1px;font-weight:600;font-size:14px;color:var(--ink-2);transition:.15s}
.woocommerce-MyAccount-navigation li a:hover{background:var(--paper);color:var(--ink);padding-left:22px}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--ink);color:#fff}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--brand)}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout.is-active a{color:#fff}

.woocommerce-MyAccount-content{min-width:0}
.woocommerce-MyAccount-content > p{margin:0 0 14px;color:var(--ink-2);line-height:1.7}
.woocommerce-MyAccount-content a:not(.button):not(.wp-block-button__link){color:var(--brand)}
.woocommerce-MyAccount-content a:not(.button):not(.wp-block-button__link):hover{text-decoration:underline}
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3{font-family:var(--display);text-transform:uppercase;letter-spacing:.5px;color:var(--ink);margin:0 0 12px}

.woocommerce-account table.shop_table{width:100%;border-collapse:collapse;font-size:14.5px;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.woocommerce-account table.shop_table th{background:var(--paper);font-family:var(--display);text-transform:uppercase;letter-spacing:.5px;font-weight:600;text-align:left;padding:12px 14px;border-bottom:1px solid var(--line)}
.woocommerce-account table.shop_table td{padding:12px 14px;border-bottom:1px solid var(--line);color:var(--ink-2)}
.woocommerce-account table.shop_table tr:last-child td{border-bottom:0}

@media(max-width:760px){
  .woocommerce-account .woocommerce{grid-template-columns:1fr;gap:22px}
}

/* ============================================================
   KOSZYK (Cart Block) — pusty stan + siatka produktów w bloku
   ============================================================ */
/* ikona pustego koszyka: plecak zamiast smutnej buźki (WC używa maski) */
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9.5 7V6a2.5 2.5 0 0 1 5 0v1'/%3E%3Cpath d='M7 12h10'/%3E%3Cpath d='M10 15h4v7'/%3E%3C/svg%3E") !important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9.5 7V6a2.5 2.5 0 0 1 5 0v1'/%3E%3Cpath d='M7 12h10'/%3E%3Cpath d='M10 15h4v7'/%3E%3C/svg%3E") !important;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain;
  background-color:var(--ink) !important;
  width:104px !important;height:104px !important;
}
.wc-block-cart__empty-cart__title{font-family:var(--display);text-transform:uppercase;letter-spacing:.5px;color:var(--ink)}

/* siatka produktów w bloku (np. „Nowe w sklepie") — kafle STEEL HOG */
.wc-block-grid__products{list-style:none !important;margin:0;padding:0;display:grid !important;gap:22px;grid-template-columns:repeat(4,1fr)}
.wc-block-grid.has-3-columns .wc-block-grid__products{grid-template-columns:repeat(3,1fr)}
.wc-block-grid.has-2-columns .wc-block-grid__products{grid-template-columns:repeat(2,1fr)}
.wc-block-grid.has-1-columns .wc-block-grid__products{grid-template-columns:1fr}
/* WC block daje kaflom flex:1 0 25% + max-width:25% + text-align:center — u nas grid + do lewej */
.wc-block-grid .wc-block-grid__product{max-width:none !important;flex:none !important;width:auto !important;min-width:0;display:flex !important;flex-direction:column !important;text-align:left !important;position:relative;margin:0;padding:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;transition:.2s}
.wc-block-grid .wc-block-grid__product-title,
.wc-block-grid .wc-block-grid__product-price,
.wc-block-grid .wc-block-grid__product-add-to-cart{text-align:left !important}
/* global styles WP podkreślają linki (:root :where(a)) — w kaflach bez podkreśleń */
.wc-block-grid__product a{text-decoration:none}
.wc-block-grid__product:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);border-color:#dcd7cf}
.wc-block-grid__product-link{display:flex;flex-direction:column;color:inherit}
.wc-block-grid__product-image{background:var(--paper);aspect-ratio:1/1;display:block;overflow:hidden}
.wc-block-grid__product-image img{width:100%;height:100%;object-fit:contain;margin:0;padding:0}
.wc-block-grid__product-title{font-family:var(--display);text-transform:uppercase;letter-spacing:.5px;font-size:20px;line-height:1.05;color:var(--ink);padding:16px 18px 0}
.wc-block-grid__product-price{padding:8px 18px 0;margin:auto 0 0;font-family:var(--display);font-weight:700;font-size:19px;color:var(--ink)}
.wc-block-grid__product-price del{color:var(--muted);font-weight:500;font-size:15px;margin-right:6px}
.wc-block-grid__product-price ins{text-decoration:none;background:none}
/* plakietka promocji w bloku: kolor motywu, lewy górny róg — jak na kategorii.
   WC daje białą po prawej selektorem (0,2,0), więc dokładamy (0,3,0) */
.wc-block-grid .wc-block-grid__product .wc-block-grid__product-onsale,
.wc-block-grid .wc-block-grid__product-onsale,
.wc-block-grid__product-image .wc-block-grid__product-onsale{
  position:absolute;top:12px;left:12px;right:auto;z-index:2;width:auto;display:inline-block;
  background:#8c3b32;border:0;border-radius:3px;color:#fff;text-align:center;
  font-family:var(--display);text-transform:uppercase;letter-spacing:1px;font-weight:600;font-size:13px;line-height:1;padding:7px 11px;
}
.wc-block-grid__product-add-to-cart{margin:14px 18px 18px}
/* WC block bije nasze marginesy selektorem .wc-block-grid__product .wc-block-grid__product-* —
   dociskamy cenę/przycisk do dołu karty */
.wc-block-grid__product .wc-block-grid__product-rating{margin:12px 18px 0 !important}
.wc-block-grid__product .wc-block-grid__product-price{margin:auto 0 0 !important}
.wc-block-grid__product .wc-block-grid__product-add-to-cart{margin:14px 18px 18px !important}
.wc-block-grid__product .wc-block-grid__product-onsale{margin:0 !important}
.wc-block-grid__product-add-to-cart .wp-block-button__link{display:inline-flex;align-items:center;font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:1px;font-size:14px;padding:10px 16px;border-radius:var(--radius);border:2px solid var(--ink);background:#fff;color:var(--ink);transition:.15s;text-decoration:none}
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover{background:var(--ink);color:#fff}
.wc-block-grid__product-add-to-cart .wp-block-button__link.add_to_cart_button{background:var(--brand);border-color:var(--brand);color:#fff}
.wc-block-grid__product-add-to-cart .wp-block-button__link.add_to_cart_button:hover{background:var(--brand-600);border-color:var(--brand-600);color:#fff}

/* ---------- przyciski bloków WC (koszyk „Przejdź do zamówienia", checkout „Kup i zapłać") ---------- */
body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link),
.wc-block-components-button:not(.is-link){
  min-height:3.4rem;font-size:18px;font-weight:600;
  font-family:var(--display);text-transform:uppercase;letter-spacing:1.2px;
  background:var(--brand);color:#fff;border:2px solid var(--brand);border-radius:var(--radius);
  box-shadow:none;transition:.18s ease;text-decoration:none;
}
body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link):hover,
.wc-block-components-button:not(.is-link):hover{
  background:var(--brand-600);border-color:var(--brand-600);color:#fff;box-shadow:none;transform:translateY(-1px);
}
.wc-block-components-button:not(.is-link):focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--brand)}

/* ---------- koszyk (block) na mobile: tabela → FLEX (tabela łamała responsywność) ----------
   WC dokleja klasę .is-mobile na kontenerze koszyka przy wąskim widoku. */
.is-mobile table.wc-block-cart-items{display:flex;width:100%}
.is-mobile table.wc-block-cart-items thead{display:none}
.is-mobile table.wc-block-cart-items tbody{display:block;width:100%;min-width:0}
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row{display:flex;align-items:flex-start;gap:12px;width:100%;min-width:0}
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image{min-width:60px;width:60px;flex:none}
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product{flex:1 1 auto;min-width:0}
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total{flex:none;margin-left:auto}

/* bardzo małe ekrany — kompaktowe rozmiary, nic się nie ucina */
@media(max-width:400px){
  .wc-block-cart-items .wc-block-cart-item__image{width:60px !important;min-width:60px}
  .wc-block-cart-items .wc-block-cart-item__image img{max-width:60px}
  .wc-block-cart-item__total .wc-block-components-product-price,
  .wc-block-cart-item__total .wc-block-components-formatted-money-amount{font-size:14px}
  .wc-block-cart-items .wc-block-cart-item__prices{font-size:12.5px}
  .wc-block-components-sale-badge{font-size:10.5px}
  .wc-block-components-quantity-selector{width:88px !important;min-width:0}
  .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input{min-width:0;font-size:14px}
  .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button{min-width:24px;font-size:14px}
  .wc-block-cart-item__remove-link{font-size:12px}
}

/* odstęp + nagłówek „Nowe w sklepie" (blok pustego koszyka) */
.wp-block-woocommerce-empty-cart-block .wp-block-separator{margin:36px auto}
.wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title){font-family:var(--display);text-transform:uppercase;letter-spacing:.5px;color:var(--ink);font-size:clamp(24px,3vw,32px);margin:10px 0 26px}
@media(max-width:900px){
  .wc-block-grid.has-4-columns .wc-block-grid__products,
  .wc-block-grid.has-3-columns .wc-block-grid__products{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  /* specyficzność ≥ reguły 2-kolumnowej z ≤900px (.has-N-columns), inaczej zostają 2 obok siebie */
  .wc-block-grid.has-2-columns .wc-block-grid__products,
  .wc-block-grid.has-3-columns .wc-block-grid__products,
  .wc-block-grid.has-4-columns .wc-block-grid__products,
  .wc-block-grid .wc-block-grid__products{grid-template-columns:1fr}
}

/* ============================================================
   WERSJE KOLORYSTYCZNE — próbniki na karcie produktu
   Kolor jest osobnym produktem, więc próbnik to link do rodzeństwa. Miniatura
   produktu zamiast kolorowego kółka: Multicam czy Shadow Gray nie dają się
   sprowadzić do jednej próbki koloru.
   ============================================================ */
.woocommerce div.product .summary .sh-colors{margin:0 0 22px}
.sh-colors__label{
  display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;
  font-family:var(--display);text-transform:uppercase;letter-spacing:.6px;
  font-size:13px;color:var(--muted);margin:0 0 10px;
}
.sh-colors__label strong{color:var(--ink);font-weight:600}
.sh-colors__count{font-family:var(--body);text-transform:none;letter-spacing:0;font-size:13px;color:var(--muted)}
.sh-colors__list{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.sh-colors__item{margin:0}
.sh-colors__link{
  display:block;width:58px;height:58px;padding:2px;
  border:1.5px solid var(--line);border-radius:var(--radius);
  background:var(--paper);overflow:hidden;transition:.15s;
}
.sh-colors__link:hover{border-color:var(--ink)}
.sh-colors__item.is-current .sh-colors__link{border-color:var(--brand);border-width:2px;padding:1px;cursor:default}
.sh-colors__img{display:block;width:100%;height:100%;object-fit:contain;margin:0}

/* kafel w katalogu: „6 kolorów" pod tytułem — 24 kafle pięciu modeli inaczej
   czytają się jak przypadkowe powtórzenia. Wygląd 1:1 z .card__colors z sekcji
   produktowych na stronie głównej, żeby te same dane nie miały dwóch stylów. */
.woocommerce ul.products li.product .sh-loop-colors{
  display:inline-flex;align-items:center;gap:7px;
  font-family:var(--display);text-transform:uppercase;letter-spacing:1px;
  font-size:12px;color:var(--muted);
  /* kafel ma padding:0, wcięcie 18px niesie każdy element osobno (tytuł, cena) */
  padding:8px 18px 0;margin:0;
}
.woocommerce ul.products li.product .sh-loop-colors::before{
  content:"";flex:none;width:11px;height:11px;border-radius:50%;
  background:conic-gradient(#b85f2d 0 25%,#8a7050 0 50%,#6b6e6f 0 75%,#4f5642 0 100%);
  box-shadow:0 0 0 1px var(--line);
}

@media(max-width:560px){
  .sh-colors__link{width:50px;height:50px}
}

/* B2B: dopisek „netto” przy cenie (inc/b2bking.php) */
.woocommerce .price .price-suffix--net,.woocommerce .price-suffix--net{font-size:.62em;font-weight:500;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;margin-left:4px}
