/* PLIK GENEROWANY przez tools/build-css.py — nie edytuj ręcznie. */

/* ---- design-system/tokens.css ---- */
/* NEKO Electric — generated from tokens.json */
:root, [data-theme="light"] {
  --brand-navy: #182c41;
  --brand-green: #207030;
  --brand-lime: #70b018;
  --brand-lime-soft: #eef6e3;
  --surface: #ffffff;
  --surface-soft: #f7f9fb;
  --surface-tile: #f1f4f7;
  --surface-control: #e9eef3;
  --ink: #1a1a1a;
  --ink-secondary: #333333;
  --ink-tertiary: #4d4d4d;
  --ink-muted: #586474;
  --on-dark: #ffffff;
  --on-dark-muted: #c5cbd3;
  --border: #e2e5e9;
  --border-strong: #a8b1bd;
  --sale: #e2071c;
  --sale-soft: #fde8e8;
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-8: 80px;
  --radius-sm: 10px;
  --radius-md: 24px;
  --radius-lg: 30px;
  --radius-full: 9999px;
  --container: 1180px;
  --header-height: 78px;
  --font-sans: Lato, Arial, sans-serif;
}
.display { font-family: var(--font-sans); font-size: 48px; line-height: 52.8px; font-weight: 700; }
.heading { font-family: var(--font-sans); font-size: 38px; line-height: 44px; font-weight: 700; }
.title { font-family: var(--font-sans); font-size: 28px; line-height: 34px; font-weight: 700; }
.subtitle { font-family: var(--font-sans); font-size: 18px; line-height: 27px; font-weight: 700; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 700; }
.small { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.caption { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 400; }


/* ---- design-system/components/bundle.css ---- */
/* NEKO Electric — klasy komponentów. Wszystkie wartości z tokens.css. */
.gx, .gx * { box-sizing: border-box; }
.gx { font-family: var(--font-sans); color: var(--ink); background: var(--surface); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
:where(.gx) a { color: inherit; text-decoration: none; }
.gx-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-3); }
.gx-h-display { font-size: 48px; line-height: 52.8px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.gx-h-heading { font-size: 38px; line-height: 44px; font-weight: 700; margin: 0; }
.gx-h-title { font-size: 28px; line-height: 34px; font-weight: 700; margin: 0; }
.gx-section { margin: var(--space-8) 0; }
.gx-section-title { margin-bottom: var(--space-5); }
.gx-center { text-align: center; }

/* Przyciski */
.gx-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); font: 700 16px/24px var(--font-sans); padding: 10px 28px; border-radius: var(--radius-full); border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.gx-btn-primary { background: var(--brand-green); color: var(--on-dark); }
.gx-btn-primary:hover { background: var(--brand-navy); }
.gx-btn-outline { background: var(--surface); color: var(--ink-tertiary); border-color: var(--border-strong); border-radius: var(--radius-sm); padding: 9px 20px; }
.gx-btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.gx-btn-light { background: var(--surface); color: var(--ink); }
.gx-btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--radius-full); background: var(--surface-control); color: var(--ink-secondary); }
.gx-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.gx-ico { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Top-bar + nagłówek */
.gx-topbar { border-bottom: 1px solid var(--border); font-size: 14px; line-height: 20px; }
.gx-topbar .gx-container { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.gx-topbar-group { display: flex; align-items: center; }
.gx-topbar-item { display: flex; align-items: center; gap: var(--space-2); padding: 0 var(--space-3); border-left: 1px solid var(--border); }
.gx-topbar-item:first-child { border-left: 0; padding-left: 0; }
.gx-topbar-group.end .gx-topbar-item:last-child { padding-right: 0; }
.gx-header .gx-container { display: flex; align-items: center; height: var(--header-height); gap: var(--space-8); }
.gx-logo { display: flex; align-items: baseline; gap: 6px; color: var(--brand-navy); }
.gx-logo b { font-size: 30px; font-weight: 900; letter-spacing: 0.01em; }
.gx-logo span { font-size: 15px; font-weight: 700; color: var(--brand-green); text-transform: uppercase; letter-spacing: 0.12em; }
.gx-logo img { height: 44px; width: auto; display: block; }
.gx-footer .gx-logo, .gx-footer .gx-logo span { color: var(--on-dark); }
.gx-nav { display: flex; gap: var(--space-5); flex: 1; }
.gx-nav a { display: flex; align-items: center; gap: var(--space-1); }
.gx-nav a:hover { text-decoration: underline; text-decoration-color: var(--brand-lime); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.gx-search { display: flex; align-items: center; gap: var(--space-2); width: 170px; height: 44px; padding: 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--ink-muted); font-size: 15px; }
.gx-strip { background: var(--brand-navy); color: var(--on-dark-muted); text-align: center; font-size: 14px; line-height: 20px; padding: 10px var(--space-3); }

/* Placeholder zdjęcia */
.gx-photo { display: flex; align-items: center; justify-content: center; background: var(--surface-tile); color: var(--border-strong); }
.gx-photo svg { width: 36%; max-width: 120px; height: auto; stroke: currentColor; fill: none; stroke-width: 1.2; }
.gx-photo.dark { background: var(--brand-navy); color: var(--ink-tertiary); }

/* Hero */
.gx-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; background: var(--surface-tile); display: flex; flex-direction: column; align-items: center; padding: var(--space-8) var(--space-6) 0; text-align: center; }
.gx-hero p { max-width: 420px; margin: var(--space-4) auto var(--space-5); color: var(--ink-secondary); }
.gx-hero-art { flex: 1; width: 100%; min-height: 140px; border-radius: var(--radius-md) var(--radius-md) 0 0; background: var(--surface); opacity: .7; }

/* Kafelki kategorii */
.gx-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-5) var(--space-5); }
.gx-cat { display: flex; flex-direction: column; gap: var(--space-3); font-size: 14px; line-height: 20px; font-weight: 700; }
.gx-cat .gx-photo { aspect-ratio: 1; border-radius: var(--radius-md); transition: background .15s; }
.gx-cat:hover .gx-photo { background: var(--border); }

/* Banery promocyjne */
.gx-promos { display: grid; gap: var(--space-4); }
.gx-promos.r1 { grid-template-columns: 1fr 2fr; }
.gx-promos.r2 { grid-template-columns: 1fr 1fr; margin-top: var(--space-4); }
.gx-promo { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-6) var(--space-5); background: var(--brand-navy); color: var(--on-dark); }
.gx-promo.light { background: var(--surface-tile); color: var(--ink); }
.gx-promo.green { background: var(--brand-green); color: var(--on-dark); }
.gx-promo.warm { background: var(--brand-lime-soft); color: var(--ink); }
.gx-promo p { margin: var(--space-2) 0 0; font-size: 14px; line-height: 20px; }

/* Opinie */
.gx-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.gx-review { display: flex; flex-direction: column; align-items: center; }
.gx-review-body { position: relative; background: var(--surface-soft); border-radius: var(--radius-sm); padding: var(--space-4) var(--space-5); text-align: center; font-size: 14px; line-height: 22px; color: var(--ink); }
.gx-review-body::after { content: ""; position: absolute; left: 50%; bottom: -9px; margin-left: -9px; border: 9px solid transparent; border-bottom: 0; border-top-color: var(--surface-soft); }
.gx-avatar { width: 56px; height: 56px; border-radius: var(--radius-full); background: var(--border-strong); margin-top: var(--space-4); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--surface); }
.gx-review-name { font-size: 14px; margin-top: var(--space-2); font-weight: 700; }

/* Newsletter */
.gx-news { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); background: var(--brand-lime-soft); overflow: hidden; min-height: 360px; }
.gx-news-copy { padding: var(--space-8) var(--space-6) var(--space-6) 95px; }
.gx-news-copy p { margin: var(--space-3) 0 var(--space-5); }
.gx-news-form { display: flex; align-items: center; gap: var(--space-3); border-bottom: 1px solid var(--ink); padding-bottom: var(--space-2); max-width: 380px; }
.gx-news-form span { flex: 1; color: var(--ink-muted); }
.gx-news-form .gx-btn { width: 40px; height: 40px; padding: 0; }
.gx-news-legal { font-size: 12px; line-height: 16px; color: var(--ink-tertiary); margin-top: var(--space-4); max-width: 380px; }
.gx-news-legal u { color: var(--ink); }
.gx-news-art { background: var(--surface-tile); opacity: .55; }

/* USP */
.gx-usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.gx-usp { display: flex; gap: var(--space-3); align-items: flex-start; }
.gx-usp-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--border); color: var(--brand-green); display: flex; align-items: center; justify-content: center; flex: none; }
.gx-usp b { display: block; font-size: 16px; }
.gx-usp span { font-size: 13px; line-height: 18px; color: var(--ink-tertiary); }

/* Stopka */
.gx-footer { background: var(--brand-navy); color: var(--on-dark); }
.gx-footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr 1.1fr; gap: var(--space-5); padding: var(--space-6) var(--space-3); }
.gx-footer h4 { font-size: 16px; font-weight: 700; margin: 0 0 var(--space-4); }
.gx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); font-size: 15px; color: var(--on-dark-muted); }
.gx-social { display: flex; gap: var(--space-2); }
.gx-social span { width: 36px; height: 36px; border-radius: var(--radius-full); border: 1px solid var(--ink-tertiary); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.gx-footer-bottom { border-top: 1px solid var(--ink-secondary); text-align: center; font-size: 12px; padding: var(--space-3); color: var(--on-dark-muted); }

/* Karta produktu (uzupełnienie — demo pokazuje głównie kategorie) */
.gx-product { display: flex; flex-direction: column; gap: var(--space-2); width: 240px; }
.gx-product .gx-photo { aspect-ratio: 1; border-radius: var(--radius-md); position: relative; }
.gx-badge { position: absolute; top: 12px; left: 12px; background: var(--sale-soft); color: var(--sale); font-size: 12px; font-weight: 700; line-height: 16px; padding: 4px 10px; border-radius: var(--radius-full); }
.gx-product-name { font-size: 15px; line-height: 22px; }
.gx-price { font-size: 18px; font-weight: 700; }
.gx-price.sale { color: var(--sale); }
.gx-price s { color: var(--ink-muted); font-weight: 400; font-size: 14px; margin-left: var(--space-2); }

@media (max-width: 760px) {
  .gx-cats { grid-template-columns: repeat(3, 1fr); }
  .gx-promos.r1, .gx-promos.r2, .gx-reviews, .gx-news { grid-template-columns: 1fr; }
  .gx-usps, .gx-footer-cols { grid-template-columns: 1fr 1fr; }
  .gx-nav, .gx-topbar-group:first-child { display: none; }
  .gx-h-display { font-size: 34px; line-height: 40px; }
  .gx-news-copy { padding: var(--space-6) var(--space-4); }
}

/* NEKO: plakietka Nowość, kod produktu, kafel z ikoną */
.gx-badge.new { background: var(--brand-lime); color: var(--brand-navy); }
.gx-sku { font-size: 12px; line-height: 16px; color: var(--ink-muted); letter-spacing: 0.04em; }
.gx-stock { font-size: 13px; color: var(--brand-green); font-weight: 700; }
.gx-bolt { color: var(--brand-lime); }


/* ---- theme/neko/assets/css/src/wp.css ---- */
/* ===== Dopasowanie do WordPressa / WooCommerce (motyw neko) ===== */
body { margin: 0; }
.gx { background: transparent; }
.gx-header .gx-container { gap: var(--space-5); }
.gx-logo img { height: 44px; }
.gx-topbar a { color: inherit; text-decoration: none; }
.gx-topbar a:hover { color: var(--brand-green); }

/* Menu (core/navigation) w nagłówku */
.gx-header .wp-block-navigation { flex: 1; font-size: 16px; gap: var(--space-5); }
.gx-header .wp-block-navigation .wp-block-navigation-item__content { color: var(--ink); text-decoration: none; }
.gx-header .wp-block-navigation .wp-block-navigation-item__content:hover { text-decoration: underline; text-decoration-color: var(--brand-lime); text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* Wyszukiwarka (core/search) */
.gx-header .wp-block-search { width: 220px; margin: 0; }
.gx-header .wp-block-search__inside-wrapper { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 0 0 var(--space-3); height: 44px; background: var(--surface); }
.gx-header .wp-block-search__input { border: 0; background: transparent; font: 15px var(--font-sans); color: var(--ink); padding: 0; }
.gx-header .wp-block-search__input::placeholder { color: var(--ink-muted); }
.gx-header .wp-block-search__button { background: transparent; color: var(--ink-secondary); padding: 0 12px; margin: 0; border-radius: var(--radius-sm); }
.gx-header .wp-block-search__button svg { fill: currentColor; }

/* Mini-koszyk i konto WooCommerce */
.gx-header .wc-block-mini-cart__button { color: var(--ink); padding: 8px; }
.gx-header .wc-block-mini-cart__badge { background: var(--brand-green); color: var(--on-dark); }
.gx-header-tools { display: flex; align-items: center; gap: var(--space-2); }
.gx-header-tools .wp-block-woocommerce-customer-account a { color: var(--ink); display: flex; }

/* Linki w stopce */
.gx-footer a { color: var(--on-dark-muted); text-decoration: none; }
.gx-footer a:hover { color: var(--on-dark); }
.gx-footer .gx-logo img { height: 40px; filter: brightness(0) invert(1); }
.gx-footer-bottom { margin: 0; }

/* Przyciski z klasami gx- w treści */
.gx a.gx-btn-primary, a.gx-btn-primary { color: var(--on-dark); text-decoration: none; }
.gx-promo a { color: inherit; }
.gx-promo .gx-btn { margin-top: var(--space-4); align-self: flex-start; }

/* Karty produktów WooCommerce — styl gx-product */
.wc-block-product-template .wc-block-components-product-image img,
.wc-block-grid__product-image img,
.woocommerce ul.products li.product a img { border-radius: var(--radius-md); background: var(--surface-tile); }
.wp-block-woocommerce-product-price .wc-block-components-product-price__value.is-discounted,
.woocommerce .price ins { color: var(--sale); text-decoration: none; }
.wc-block-components-product-sale-badge, .woocommerce span.onsale { background: var(--sale-soft); color: var(--sale); border: 0; border-radius: var(--radius-full); font-size: 12px; font-weight: 700; }
.wc-block-components-button:not(.is-link), .wp-element-button { border-radius: var(--radius-full); }

/* Równa siatka: kwadratowe zdjęcie (całe, bez przycinania), tytuł 2 linie, cena i przycisk zawsze na dole karty */
.wc-block-product-template { align-items: stretch; }
.wc-block-product-template > li.wc-block-product { display: flex; flex-direction: column; height: auto; }
.wc-block-product-template .wc-block-components-product-image { margin: 0 0 12px; aspect-ratio: 1 / 1; width: 100%; background: #fff; border-radius: var(--radius-md); overflow: hidden; }
.wc-block-product-template .wc-block-components-product-image a { display: block; width: 100%; height: 100%; }
.wc-block-product-template .wc-block-components-product-image img { width: 100% !important; height: 100% !important; object-fit: contain !important; aspect-ratio: auto !important; background: #fff; border-radius: 0; }
.wc-block-product-template .wp-block-post-title { margin: 0 0 8px !important; display: -webkit-box !important; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; text-align: left !important; }
@media (max-width: 600px) {
  .wc-block-product-template .wp-block-post-title { -webkit-line-clamp: 3; line-clamp: 3; min-height: 66px; font-size: 14px !important; line-height: 22px !important; }
  .wc-block-product-template .wp-block-woocommerce-product-button .wp-block-button__link,
  .wc-block-product-template .wp-block-woocommerce-product-button .wc-block-components-product-button__button { font-size: 14px; padding: 10px 8px; white-space: nowrap; }
}
.wc-block-product-template .wp-block-woocommerce-product-price { margin-top: auto !important; margin-bottom: 12px !important; text-align: left; }
.wc-block-product-template .wp-block-woocommerce-product-button { margin: 0 !important; justify-content: flex-start; align-items: flex-start; text-align: left; }
.wc-block-product-template .wp-block-woocommerce-product-button .wp-block-button__link,
.wc-block-product-template .wp-block-woocommerce-product-button .wc-block-components-product-button__button { width: 100%; margin: 0; justify-content: center; }

@media (max-width: 960px) {
  .gx-header .wp-block-search { display: none; }
}
@media (max-width: 760px) {
  /* telefon: zamiast „Darmowa wysyłka / Aktualności” dane firmy (telefon + e-mail) */
  .gx-topbar .gx-topbar-group:first-child { display: flex; }
  .gx-topbar .gx-topbar-group.end, .gx-topbar .gx-topbar-group:first-child .gx-topbar-item:nth-child(3) { display: none; }
  .gx-topbar .gx-container { justify-content: center; height: 40px; }
  .gx-topbar { font-size: 13px; }
  .gx-header .gx-container { gap: var(--space-3); }
  .gx-header .wp-block-navigation { flex: 0; order: -1; }
  .gx-logo img { height: 34px; }
  .gx-cats { grid-template-columns: repeat(2, 1fr); }
  .gx-hero { padding: var(--space-6) var(--space-3) 0; min-height: 0; }
}

/* Kolory nagłówków w sekcjach (theme.json nadaje h* kolor ink) */
.gx-promo h3, .gx-footer h4 { color: inherit; }
.gx.gx-footer { background: var(--brand-navy); color: var(--on-dark); margin-top: var(--space-8); }
.gx-footer-bottom { border-top-color: rgba(255,255,255,.15); }

/* Kafle kategorii z prawdziwymi zdjęciami */
.neko-cats { grid-template-columns: repeat(5, 1fr); }
.neko-cats .gx-photo { overflow: hidden; }
.neko-cats .gx-photo img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform .2s; }
.neko-cats .gx-cat:hover .gx-photo img { transform: scale(1.05); }
.neko-cats .gx-cat { color: var(--ink); text-decoration: none; }
.neko-cat-all .gx-photo { background: var(--brand-lime-soft); color: var(--brand-green); }
.neko-cat-all .gx-photo svg { stroke-width: 1.4; width: 30%; }
main.gx .gx-h-display { margin: var(--space-3) 0 var(--space-5); }
main.gx .woocommerce-breadcrumb, main.gx .wc-block-breadcrumbs { font-size: 14px; color: var(--ink-muted); }
main.gx .wc-block-breadcrumbs a { color: var(--ink-tertiary); }
.neko-empty { background: var(--surface-soft); border-radius: var(--radius-sm); padding: var(--space-4); margin-top: var(--space-6); }
@media (max-width: 960px) { .neko-cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .neko-cats { grid-template-columns: repeat(2, 1fr); } }
.neko-cats .gx-cat.is-grafika .gx-photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }

/* Regulamin: ustępy i podpunkty */
ol.neko-ustepy { padding-left: 1.6em; margin: 0 0 var(--space-4); }
ol.neko-ustepy > li { margin-bottom: var(--space-2); padding-left: 4px; }
ol.neko-litery { list-style: lower-alpha; padding-left: 1.4em; margin: var(--space-1) 0 0; }
ol.neko-litery > li::marker { content: counter(list-item, lower-alpha) ") "; }
.neko-lead { font-size: 18px; line-height: 28px; color: var(--ink-secondary); }
/* Nagłówki w treści stron (regulamin, O nas) — mniejsze niż sekcje strony głównej */
.wp-block-post-content h2 { font-size: 26px; line-height: 32px; margin: var(--space-6) 0 var(--space-3); }
.wp-block-post-content h3 { font-size: 20px; line-height: 26px; margin: var(--space-5) 0 var(--space-2); }
.wp-block-post-content ul, .wp-block-post-content ol { margin-bottom: var(--space-4); }
.wp-block-post-content li { margin-bottom: 6px; }

/* ===== Nagłówek v2: logo + wyszukiwarka + ikony, pod spodem pasek kategorii (jak w starym sklepie) ===== */
.neko-header-row { gap: var(--space-5) !important; }
.gx-header .neko-search.wp-block-search { flex: 1; width: auto; max-width: 720px; display: block; }
.gx-header .neko-search .wp-block-search__inside-wrapper { height: 48px; background: var(--surface-soft); }
.gx-header-tools { margin-left: auto; gap: var(--space-3) !important; }
.neko-catbar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.neko-catmenu { font-size: 15px; font-weight: 700; padding: 4px 0; }
.neko-catmenu .wp-block-navigation__container { column-gap: var(--space-5); row-gap: 0; }
.neko-catmenu .wp-block-navigation-item__content { color: var(--ink); text-decoration: none; padding: 8px 0; }
.neko-catmenu .wp-block-navigation-item__content:hover { color: var(--brand-green); }
.neko-catmenu .wp-block-navigation__submenu-icon { width: 10px; height: 10px; margin-left: 4px; }
/* rozwijane podkategorie */
.neko-catmenu .wp-block-navigation__submenu-container { border: 1px solid var(--border) !important; border-radius: var(--radius-sm); padding: 8px 0 !important; min-width: 240px !important; background: var(--surface) !important; font-weight: 400; z-index: 50; }
.neko-catmenu .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 8px 18px !important; font-size: 15px; }
.neko-catmenu .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--surface-tile); color: var(--brand-green); }
@media (max-width: 960px) {
  .gx-header { position: relative; }
  .neko-catbar { border: 0; }
  .neko-catbar > .gx-container { position: absolute; top: 0; left: var(--space-3); height: var(--header-height); display: flex; align-items: center; padding: 0; }
  .neko-header-row { padding-left: 56px !important; gap: var(--space-3) !important; }
  .gx-header .neko-search.wp-block-search { display: none; }
  .neko-catmenu .is-menu-open .wp-block-navigation-item__content { font-size: 18px; padding: 10px 0 !important; }
}
/* Menu na telefonie: bez ramek, podkategorie wcięte */
.neko-catmenu .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; padding: 0 0 0 16px !important; min-width: 0 !important; }
.neko-catmenu .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item { border-bottom: 1px solid var(--border); padding-bottom: 8px; width: 100%; }
.neko-catmenu .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 16px !important; padding: 6px 0 !important; font-weight: 400; }

/* Baner główny: slajdy przesuwane w lewo (assets/js/slider.js): pierwsza zmiana po 3 s, potem co 5 s */
.neko-slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1920 / 550; background: #f3f6f5; }
.neko-track { display: flex; height: 100%; will-change: transform; }
.neko-slide { flex: 0 0 100%; height: 100%; display: block; }
.neko-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .neko-slider { aspect-ratio: 780 / 335; border-radius: var(--radius-md); } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
/* Baner szerszy niż treść (do 1400 px), żeby był wyraźnie większy */
@media (min-width: 761px) { .neko-slider { width: min(1400px, calc(100vw - 32px)); margin-left: 50%; transform: translateX(-50%); } }
/* Kafle z grafikami kategorii: białe tło (grafiki bez ramek), cienka linia zamiast szarego tła */
.neko-cats .gx-cat.is-grafika .gx-photo { background: #fff; border: 1px solid var(--border); }
.neko-cats .gx-cat.is-grafika:hover .gx-photo { background: #fff; border-color: var(--border-strong); }
.neko-cat-all .gx-photo { background: #fff; border: 1px solid var(--border); }

/* Karta produktu: opis naprzemienny (zdjęcie | tekst, tekst | zdjęcie) jak w Centrum EkoSącz */
.woocommerce-Tabs-panel--description > h2:first-child { display: none; }
.neko-opis-wiersz.wp-block-media-text { grid-template-columns: 38% 1fr; gap: 0; margin: 0 0 40px; align-items: center; }
.neko-opis-wiersz.wp-block-media-text.has-media-on-the-right { grid-template-columns: 1fr 38%; }
.neko-opis-wiersz .wp-block-media-text__media { display: flex; justify-content: center; }
.neko-opis-wiersz .wp-block-media-text__media img { width: 100%; max-width: 420px; max-height: 380px; height: auto; object-fit: contain; }
.neko-opis-wiersz .wp-block-media-text__content { padding: 0 40px; font-size: 15px; line-height: 1.6; }
.neko-opis-wiersz .wp-block-media-text__content h3 { font-size: 18px; line-height: 1.35; margin: 0 0 10px; }
.neko-opis-wiersz .wp-block-media-text__content p { margin: 0 0 10px; }
.neko-opis-wiersz .wp-block-media-text__content ul { margin: 0 0 12px; padding-left: 20px; }
.neko-opis-wiersz .wp-block-media-text__content li { margin: 2px 0; }
@media (max-width: 760px) {
  .neko-opis-wiersz.wp-block-media-text, .neko-opis-wiersz.wp-block-media-text.has-media-on-the-right { grid-template-columns: 100%; }
  .neko-opis-wiersz.has-media-on-the-right .wp-block-media-text__media { grid-row: 1; }
  .neko-opis-wiersz .wp-block-media-text__media img { max-height: 280px; }
  .neko-opis-wiersz .wp-block-media-text__content { padding: 16px 0 0; grid-row: 2; }
}
/* Krótki opis przy cenie: parametry w liście */
.woocommerce-product-details__short-description ul, .wp-block-post-excerpt ul { padding-left: 18px; margin: 0 0 12px; }
.woocommerce-product-details__short-description li { margin: 2px 0; }

/* Baner: ręczne przesuwanie (palec/myszka), strzałki, kropki */
.neko-slider { touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.neko-slider:active { cursor: grabbing; }
.neko-slide img { -webkit-user-drag: none; pointer-events: none; }
.neko-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.neko-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(15, 31, 46, .25); cursor: pointer; transition: width .3s, background .3s; }
.neko-dots button.is-active { width: 26px; border-radius: 5px; background: var(--brand-green, #2e7d32); }
.neko-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.neko-arrow svg { width: 22px; height: 22px; fill: none; stroke: #1b2a38; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.neko-arrow.prev { left: 16px; } .neko-arrow.next { right: 16px; }
.neko-slider:hover .neko-arrow, .neko-arrow:focus-visible { opacity: 1; }
@media (hover: none), (max-width: 760px) { .neko-arrow { display: none; } .neko-dots { bottom: 8px; } .neko-dots button { width: 8px; height: 8px; } .neko-dots button.is-active { width: 20px; } }

/* Karuzela „Podobne produkty”: 2 obok siebie na telefonie, 3 na tablecie, 4 na komputerze */
.neko-karuzela-on { position: relative; }
.neko-karuzela-on .wc-block-product-template.wc-block-product-template {
  display: flex !important; flex-wrap: nowrap !important; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 0 4px; margin: 0; list-style: none; cursor: grab;
}
.neko-karuzela-on .wc-block-product-template::-webkit-scrollbar { display: none; }
.neko-karuzela-on .wc-block-product-template.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.neko-karuzela-on .wc-block-product-template.is-dragging * { pointer-events: none; }
.neko-karuzela-on .wc-block-product-template > li.wc-block-product {
  flex: 0 0 calc((100% - 48px) / 4) !important; width: auto !important; max-width: none !important; margin: 0 !important; scroll-snap-align: start;
}
.neko-karuzela-on .wc-block-product img { -webkit-user-drag: none; }
.neko-karuzela-arrow { top: 42%; }
.neko-karuzela-arrow.prev { left: -12px; } .neko-karuzela-arrow.next { right: -12px; }
.neko-karuzela-on:hover .neko-karuzela-arrow { opacity: 1; }
@media (max-width: 960px) { .neko-karuzela-on .wc-block-product-template > li.wc-block-product { flex-basis: calc((100% - 32px) / 3) !important; } }
@media (max-width: 600px) {
  .neko-karuzela-on .wc-block-product-template.wc-block-product-template { gap: 12px; }
  .neko-karuzela-on .wc-block-product-template > li.wc-block-product { flex-basis: calc((100% - 12px) / 2) !important; }
  .neko-karuzela-on .wc-block-product h3, .neko-karuzela-on .wc-block-product .wp-block-post-title { font-size: 14px !important; line-height: 1.35 !important; }
  .neko-karuzela-on .wc-block-product .wp-block-button__link, .neko-karuzela-on .wc-block-product .wc-block-components-product-button__button { font-size: 13px !important; padding: 8px 10px !important; }
}

/* Karta produktu: parametry pod ceną — po 3 w kolumnie, kolejne kolumny w prawo */
.neko-spec { display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-auto-columns: max-content; column-gap: 40px; row-gap: 6px; margin: 16px 0 20px; padding: 14px 18px; background: var(--surface-tile, #f5f7f6); border-radius: var(--radius-md); font-size: 15px; line-height: 22px; }
.neko-spec-item { display: flex; gap: 6px; min-width: 0; }
.neko-spec dt { font-weight: 700; color: var(--text-strong, #111); white-space: nowrap; }
.neko-spec dd { margin: 0; }
@media (max-width: 760px) { .neko-spec { grid-auto-flow: row; grid-template-rows: none; grid-auto-columns: auto; } }

/* Górny pasek: pogrubiony */
.gx-topbar, .gx-topbar a, .gx-topbar .gx-topbar-item { font-weight: 700; }

/* ===== Nagłówek: większe logo i ikony (komputer), na telefonie: menu | logo | konto+koszyk ===== */
.neko-header-row { min-height: 108px; }
.gx-header .gx-logo { flex: 0 0 auto; display: block; line-height: 0; }
.gx-header .gx-logo img { height: 78px; width: auto; }
.gx-header-tools { gap: var(--space-4) !important; }
.gx-header-tools .wp-block-woocommerce-customer-account svg,
.gx-header .wc-block-mini-cart__icon { width: 34px !important; height: 34px !important; }
.gx-header .wc-block-mini-cart__badge { font-size: 12px; min-width: 20px; height: 20px; }
@media (max-width: 960px) {
  .neko-header-row { min-height: 72px; padding-left: 0 !important; position: relative; }
  .neko-catbar > .gx-container { height: 72px; left: var(--space-2); }
  .gx-header .gx-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .gx-header .gx-logo img { height: 46px; }
  .gx-header-tools { gap: var(--space-2) !important; margin-left: auto !important; margin-right: 0 !important; }
  .neko-header-row { justify-content: flex-end !important; }
  .gx-header-tools .wp-block-woocommerce-customer-account svg,
  .gx-header .wc-block-mini-cart__icon { width: 30px !important; height: 30px !important; }
  .neko-catmenu .wp-block-navigation__responsive-container-open svg { width: 34px; height: 34px; }
}

/* Strona główna (komputer): większe kafle kategorii — na szerokość banera */
@media (min-width: 961px) {
  .home .neko-cats { width: min(1400px, calc(100vw - 32px)); margin-left: 50%; transform: translateX(-50%); gap: 28px 20px; }
  .home .neko-cats .gx-cat { font-size: 17px; font-weight: 700; }
}

/* Cena: pogrubiona, z jednostką („/ szt.”, „/ m”, „/ rolka”) */
.wp-block-woocommerce-product-price, .wc-block-components-product-price, .woocommerce .price { font-weight: 800 !important; }
.neko-produkt-cena { font-size: 32px !important; line-height: 1.2; margin: 16px 0 4px; }
.neko-jm { font-weight: 400; font-size: .55em; color: var(--ink-secondary, #555); white-space: nowrap; }
.wc-block-product-template .neko-jm { font-size: 14px; }

/* Karta produktu na telefonie: tytuł → zdjęcia → specyfikacja → cena → koszyk */
@media (max-width: 781px) {
  .neko-produkt-kolumny { display: flex !important; flex-direction: column; gap: 12px !important; }
  .neko-produkt-kolumny > .neko-produkt-info { display: contents; }
  .neko-produkt-tytul { order: 1; font-size: 26px !important; line-height: 1.25 !important; margin: 0 !important; }
  .neko-produkt-kolumny > .neko-produkt-galeria { order: 2; flex-basis: auto !important; width: 100%; }
  .neko-produkt-info .wp-block-woocommerce-product-rating { order: 3; }
  .neko-produkt-spec, .neko-produkt-info > .neko-spec, .neko-produkt-info > .neko-krotki { order: 4; margin: 0; }
  .neko-produkt-cena { order: 5; margin: 4px 0 0 !important; }
  .neko-produkt-koszyk { order: 6; }
  .neko-produkt-meta { order: 7; }
}

/* ===== Koszyk w 3 krokach ===== */
.neko-kroki { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 8px 0 28px; padding: 0; }
.neko-krok { border-bottom: 5px solid var(--border); padding-bottom: 10px; font-size: 22px; font-weight: 800; color: var(--ink-muted, #9aa3a0); display: flex; align-items: center; gap: 10px; }
.neko-krok a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.neko-krok-nr { width: 30px; height: 30px; border-radius: 50%; background: var(--border); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex: 0 0 auto; }
.neko-krok.is-active { color: var(--ink); border-color: var(--brand-green); }
.neko-krok.is-active .neko-krok-nr, .neko-krok.is-done .neko-krok-nr { background: var(--brand-green); }
.neko-krok.is-done { color: var(--ink-secondary, #555); border-color: #9ccc9f; }
.neko-krok-info { margin: -12px 0 20px; color: var(--ink-secondary, #555); }

.neko-koszyk { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.neko-koszyk.is-busy { opacity: .6; pointer-events: none; }
.neko-koszyk-produkty { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 4px 20px; margin-bottom: 28px; }
.neko-poz { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 110px 36px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.neko-poz:last-child { border-bottom: 0; }
.neko-poz-foto img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; display: block; }
.neko-poz-nazwa a { color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.35; }
.neko-poz-nazwa a:hover { color: var(--brand-green); }
.neko-poz-cena { display: block; font-size: 14px; color: var(--ink-secondary, #555); margin-top: 4px; }
.neko-poz-suma { font-weight: 800; font-size: 17px; text-align: right; white-space: nowrap; }
.neko-ilosc { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.neko-ilosc input { width: 48px; border: 0; text-align: center; font: 600 16px var(--font-sans); -moz-appearance: textfield; }
.neko-ilosc input::-webkit-inner-spin-button, .neko-ilosc input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.neko-ilosc-btn { width: 34px; height: 38px; border: 0; background: var(--surface-soft, #f3f5f4); font-size: 18px; cursor: pointer; }
.neko-ilosc-btn:hover { background: var(--border); }
.neko-poz-usun { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; color: #c0392b; padding: 6px; }
.neko-poz-usun svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.neko-koszyk-wybory { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.neko-wybor { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 6px 18px 8px; margin: 0; min-width: 0; }
.neko-wybor legend { font-size: 20px; font-weight: 800; padding: 0 6px; margin-left: -6px; }
.neko-opcja { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.neko-opcja:last-child { border-bottom: 0; }
.neko-opcja input { width: 20px; height: 20px; accent-color: var(--brand-green); margin: 0; }
.neko-opcja-tekst small { display: block; font-size: 13px; color: var(--ink-secondary, #555); margin-top: 2px; }
.neko-opcja-cena { font-weight: 800; white-space: nowrap; }
.neko-opcja-ikona img { max-height: 26px; width: auto; }
.neko-gratis { color: var(--brand-green); }

.neko-koszyk-podsumowanie { position: sticky; top: 20px; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; background: var(--surface, #fff); }
.neko-kupon label { font-weight: 700; display: block; margin-bottom: 6px; }
.neko-kupon > div { display: flex; gap: 8px; }
.neko-kupon input { flex: 1; min-width: 0; height: 42px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 12px; font: 15px var(--font-sans); }
.neko-btn-jasny { height: 42px; padding: 0 14px; border: 1px solid var(--brand-green); color: var(--brand-green); background: #fff; border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; }
.neko-kupon-aktywny { font-size: 14px; margin: 8px 0 0; }
.neko-kupon-aktywny button { border: 0; background: none; color: #c0392b; text-decoration: underline; cursor: pointer; }
.neko-sumy { margin: 18px 0; border-top: 1px solid var(--border); padding-top: 12px; }
.neko-sumy > div { display: flex; justify-content: space-between; padding: 5px 0; }
.neko-sumy dt { margin: 0; } .neko-sumy dd { margin: 0; font-weight: 700; }
.neko-suma-razem { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px !important; font-size: 20px; }
.neko-suma-razem dd { font-weight: 800; }
.neko-dalej { width: 100%; padding: 16px !important; font-size: 17px !important; font-weight: 800 !important; }
.neko-wroc { display: block; text-align: center; margin-top: 12px; color: var(--ink-secondary, #555); }
.neko-koszyk-pusty { text-align: center; padding: 40px 0; }

@media (max-width: 1000px) {
  .neko-koszyk { grid-template-columns: 1fr; }
  .neko-koszyk-podsumowanie { position: static; }
}
@media (max-width: 700px) {
  .neko-krok { font-size: 15px; gap: 6px; } .neko-krok a { gap: 6px; }
  .neko-krok-nr { width: 24px; height: 24px; font-size: 13px; }
  .neko-kroki { gap: 10px; }
  .neko-koszyk-wybory { grid-template-columns: 1fr; }
  .neko-koszyk-produkty { padding: 0 12px; }
  .neko-poz { grid-template-columns: 60px minmax(0, 1fr) auto; grid-template-areas: "f n u" "f i s"; gap: 8px 12px; }
  .neko-poz-usun { justify-self: end; }
  .neko-poz-foto { grid-area: f; align-self: start; } .neko-poz-foto img { width: 60px; height: 60px; }
  .neko-poz-nazwa { grid-area: n; font-size: 14px; } .neko-ilosc { grid-area: i; justify-self: start; }
  .neko-poz-suma { grid-area: s; } .neko-poz-usun { grid-area: u; align-self: start; }
}

/* Krok 2 (dane): dostawa i płatność wybrane w koszyku — ukryte */
.wp-block-woocommerce-checkout-shipping-method-block,
.wp-block-woocommerce-checkout-pickup-options-block,
.wp-block-woocommerce-checkout-shipping-methods-block,
.wp-block-woocommerce-checkout-payment-block,
.wp-block-woocommerce-checkout-express-payment-block { display: none !important; }
/* W podsumowaniu zamówienia i mini-koszyku sam tytuł — bez parametrów (krótkiego opisu) */
.wc-block-components-order-summary-item .wc-block-components-product-metadata,
.wc-block-mini-cart__drawer .wc-block-components-product-metadata,
.wc-block-cart-items .wc-block-components-product-metadata { display: none !important; }
/* Strona koszyka: tytuł strony zbędny (jest pasek kroków) */
.woocommerce-cart .wp-block-post-title, .woocommerce-cart h1.wp-block-post-title { display: none; }
/* Potwierdzenie zamówienia: tekst podziękowania normalnej wielkości */
.wp-block-woocommerce-order-confirmation-status p, .wc-block-order-confirmation-status p { font-size: 18px !important; line-height: 1.5 !important; }
@media (max-width: 700px) { .woocommerce-order-received h1 { font-size: 30px !important; } }
.woocommerce-order-received h2 { font-size: 26px !important; line-height: 1.25 !important; }
.woocommerce-order-received h3 { font-size: 20px !important; }

/* Sklep i kategorie: filtry po lewej (Producent, Cena, Dostępność), produkty po prawej; na telefonie przycisk „Filtrowanie produktów” + wysuwany panel */
.neko-katalog { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 40px; }
.neko-filtry { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
.neko-filtry .wc-block-product-filters__overlay-content { display: flex; flex-direction: column; gap: 0; }
.neko-filtry .wp-block-woocommerce-product-filter-price,
.neko-filtry .wp-block-woocommerce-product-filter-taxonomy,
.neko-filtry .wp-block-woocommerce-product-filter-status,
.neko-filtry .wp-block-woocommerce-product-filter-active { padding: 20px 0; border-bottom: 1px solid var(--border); margin: 0 !important; }
.neko-filtry .wp-block-woocommerce-product-filter-active { padding-top: 0; }
.neko-filtry .neko-filtr-tytul { font-size: 16px !important; line-height: 22px; font-weight: 700; margin: 0 0 12px !important; }
/* lista checkboxów */
.neko-filtry fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.neko-filtry .wc-block-product-filter-checkbox-list__items { display: flex; flex-direction: column; gap: 2px; }
.neko-filtry .wc-block-product-filter-checkbox-list__label { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 15px; line-height: 20px; width: 100%; }
.neko-filtry .wc-block-product-filter-checkbox-list__label:hover .wc-block-product-filter-checkbox-list__text { color: var(--brand-green); }
.neko-filtry .wc-block-product-filter-checkbox-list__input-wrapper { font-size: 18px; flex: 0 0 18px; }
.neko-filtry .wc-block-product-filter-checkbox-list__input-wrapper:before { display: none; }
.neko-filtry input[type=checkbox].wc-block-product-filter-checkbox-list__input { width: 18px; height: 18px; border: 1.5px solid #b8c2cc; border-radius: 4px; background: #fff; }
.neko-filtry input[type=checkbox].wc-block-product-filter-checkbox-list__input:checked { background: var(--brand-green); border-color: var(--brand-green); }
.neko-filtry svg.wc-block-product-filter-checkbox-list__mark { width: 18px; height: 18px; padding: 3px; color: #fff; }
.neko-filtry .wc-block-product-filter-checkbox-list__text-wrapper { display: flex; justify-content: space-between; flex: 1; gap: 8px; font-size: 14px; }
.neko-filtry .wc-block-product-filter-checkbox-list__count { color: #6b7785; font-size: 13px; }
.neko-filtry .wc-block-product-filter-checkbox-list button { background: none; border: 0; padding: 6px 0 0; color: var(--brand-green); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: underline; }
/* cena */
.neko-filtry .wp-block-woocommerce-product-filter-price-slider { --wc-product-filter-price-slider: var(--brand-green); }
.neko-filtry .wc-block-product-filter-price-slider__content { grid-template-areas: "price-slider price-slider" "left-input right-input"; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.neko-filtry .wc-block-product-filter-price-slider__left input, .neko-filtry .wc-block-product-filter-price-slider__right input { width: 100%; box-sizing: border-box; padding: 9px 10px; border: 1px solid #b8c2cc; border-radius: 8px; font: inherit; font-size: 14px; background: #fff; }
.neko-filtry .wc-block-product-filter-price-slider__right input { text-align: right; }
/* wybrane filtry (chipsy) */
.neko-filtry .wc-block-product-filter-removable-chips__items { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 10px; padding: 0; }
.neko-filtry .wc-block-product-filter-removable-chips__item { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 999px; background: #e9f3eb; color: var(--brand-green); font-size: 13px; font-weight: 700; }
.neko-filtry .wc-block-product-filter-removable-chips__remove { background: none; border: 0; padding: 0; display: flex; color: inherit; cursor: pointer; }
.neko-filtry .wc-block-product-filter-removable-chips__remove-icon { width: 16px; height: 16px; fill: currentColor; }
.neko-filtry .wc-block-product-filter-clear-button .wp-block-button__link { background: none; border: 0; padding: 0; color: var(--text, #1b2a38); text-decoration: underline; font-size: 14px; font-weight: 400; }
/* wyniki */
.neko-wyniki-pasek { margin: 0 0 16px !important; align-items: center; }
.neko-wyniki-pasek select { padding: 8px 12px; border: 1px solid var(--border-strong, #b8c2cc); border-radius: 8px; font: inherit; font-size: 14px; background: #fff; }
.neko-wyniki .wc-block-product-template { margin-top: 0; }
/* telefon / tablet: jedna kolumna, filtry w panelu */
@media (max-width: 782px) {
  .neko-katalog { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .neko-filtry { position: static; max-height: none; overflow: visible; padding: 0; }
  .neko-filtry .wc-block-product-filters__open-overlay { display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center; padding: 12px 16px; margin-bottom: 16px;
    border: 1.5px solid var(--brand-green); border-radius: 999px; background: #fff; color: var(--brand-green); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
  .neko-filtry .wc-block-product-filters__overlay-content { padding: 0 20px; }
  .neko-filtry .wc-block-product-filters__overlay-header { padding: 16px 20px; border-bottom: 1px solid var(--border); }
  .neko-filtry .wc-block-product-filters__overlay-footer { padding: 16px 20px; border-top: 1px solid var(--border); }
  .neko-filtry .wc-block-product-filters__apply { width: 100%; padding: 14px; border: 0; border-radius: 999px; background: var(--brand-green); color: #fff; font: inherit; font-weight: 700; font-size: 16px; }
}
.neko-filtry .wp-block-woocommerce-product-filter-price-slider { --wc-product-filter-price-slider-handle: #fff; --wc-product-filter-price-slider-handle-border: var(--brand-green); }

/* „Dziękujemy” / podgląd zamówienia: miniaturki pozycji */
.neko-poz { display: inline-flex; align-items: center; gap: 14px; vertical-align: middle; max-width: calc(100% - 40px); }
.neko-poz-foto { flex: 0 0 64px; width: 64px; height: 64px; border: 1px solid var(--border); border-radius: 10px; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.neko-poz-foto img.neko-poz-miniatura { width: 100%; height: 100%; object-fit: contain; display: block; }
.neko-poz-nazwa a { color: inherit; }
.wc-block-order-confirmation-totals__product, .woocommerce-table__product-name { vertical-align: middle; }
@media (max-width: 600px) { .neko-poz-foto { flex-basis: 52px; width: 52px; height: 52px; } .neko-poz { gap: 10px; } }

/* Karta produktu: każde zdjęcie galerii w tej samej kwadratowej ramce (zdjęcia mają różne proporcje — bez skakania wysokości) */
.woocommerce-product-gallery .flex-viewport { height: auto !important; }
.woocommerce-product-gallery__image { aspect-ratio: 1 / 1; display: flex !important; align-items: center; justify-content: center; background: #fff; overflow: hidden; }
.woocommerce-product-gallery__image > a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.woocommerce-product-gallery__image img { width: 100% !important; height: 100% !important; max-height: none; object-fit: contain; }
.woocommerce-product-gallery .flex-control-thumbs li img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }

/* Formularze Kontakt / Reklamacja */
.neko-form-box { margin: 40px 0 0; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: #fff; max-width: 820px; scroll-margin-top: 20px; }
.neko-form-box h2.neko-form-tytul { margin: 0 0 18px; font-size: 24px; }
.neko-form-siatka { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.neko-pole { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.neko-pole.is-wide { grid-column: 1 / -1; }
.neko-pole input, .neko-pole select, .neko-pole textarea { font: inherit; font-weight: 400; font-size: 15px; padding: 11px 12px; border: 1px solid #b8c2cc; border-radius: 8px; background: #fff; width: 100%; box-sizing: border-box; }
.neko-pole input:focus, .neko-pole select:focus, .neko-pole textarea:focus { outline: 2px solid var(--brand-green); outline-offset: 0; border-color: var(--brand-green); }
.neko-pole input[type=file] { padding: 9px; }
.neko-req { color: #c0392b; }
.neko-zgoda { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 13px; line-height: 1.5; }
.neko-zgoda input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand-green); flex: 0 0 18px; }
.neko-form-btn { background: var(--brand-green); color: #fff; border: 0; border-radius: 999px; padding: 14px 32px; font-weight: 700; font-size: 16px; cursor: pointer; }
.neko-form-btn:hover { filter: brightness(1.08); }
.neko-form-ok { padding: 18px; border-radius: 10px; background: #e9f3eb; color: #1b4d27; }
.neko-form-blad { padding: 12px 16px; border-radius: 10px; background: #fdecea; color: #8a1c13; margin-bottom: 16px; }
.neko-form-pulapka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .neko-form-box { padding: 18px; } .neko-form-siatka { grid-template-columns: 1fr; } .neko-form-btn { width: 100%; } }

/* Logotypy kurierów / płatności: koszyk + strony Koszty dostawy, Metody płatności */
.neko-opcja { grid-template-columns: 22px 64px minmax(0, 1fr) auto; }
.neko-logo { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 36px; padding: 4px 6px; box-sizing: border-box; border: 1px solid var(--border); border-radius: 8px; background: #fff; flex: 0 0 64px; }
.neko-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.neko-logo.is-pusty { visibility: hidden; }
.neko-logo.is-ikona svg { width: 24px; height: 24px; fill: none; stroke: var(--brand-green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.neko-opcja-ikona:empty { display: none; }
.neko-metody { list-style: none; margin: 24px 0; padding: 0; border: 1px solid var(--border); border-radius: 14px; background: #fff; max-width: 820px; }
.neko-metoda { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.neko-metoda:last-child { border-bottom: 0; }
.neko-metoda .neko-logo { width: 80px; height: 44px; flex-basis: 80px; }
.neko-metoda-nazwa b { display: block; font-size: 16px; }
.neko-metoda-nazwa small { display: block; font-size: 14px; color: var(--ink-secondary, #555); margin-top: 2px; line-height: 1.5; }
.neko-metoda-cena { text-align: right; font-weight: 800; font-size: 17px; white-space: nowrap; }
.neko-metoda-cena small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-secondary, #555); }
.neko-metoda.is-platnosc { grid-template-columns: 180px minmax(0, 1fr); }
.neko-loga { display: flex; flex-wrap: wrap; gap: 6px; }
.neko-konto { font-size: 16px; letter-spacing: .02em; color: var(--ink); }
@media (max-width: 600px) {
  .neko-opcja { grid-template-columns: 22px 52px minmax(0, 1fr) auto; gap: 10px; }
  .neko-opcja .neko-logo { width: 52px; height: 32px; }
  .neko-metoda { grid-template-columns: auto minmax(0, 1fr); padding: 14px; gap: 12px; }
  .neko-metoda .neko-logo { width: 64px; height: 38px; }
  .neko-metoda-cena { grid-column: 2; text-align: left; }
  .neko-metoda.is-platnosc { grid-template-columns: 1fr; }
}
.neko-logo img[src*="blik"] { border-radius: 4px; }

/* Napisy pod kaflami kategorii — trochę większe */
.neko-cats .gx-cat { font-size: 16px; line-height: 22px; }
@media (min-width: 961px) {
  .neko-cats .gx-cat { font-size: 17px; line-height: 23px; }
  .home .neko-cats .gx-cat { font-size: 19px; line-height: 25px; }
}

/* Kontakt / Reklamacje: opis po lewej, formularz po prawej */
.neko-dwie-kol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; align-items: start; }
.neko-dwie-kol > .neko-kol-opis > :first-child { margin-top: 0; }
.neko-dwie-kol > .neko-kol-form { position: sticky; top: 16px; }
.neko-dwie-kol .neko-form-box { margin: 0; max-width: none; }
.neko-dwie-kol .neko-form-siatka { grid-template-columns: 1fr; gap: 12px; }
.neko-dwie-kol .wp-block-columns { flex-direction: column; gap: 16px; }
@media (max-width: 960px) {
  .neko-dwie-kol { grid-template-columns: 1fr; gap: 32px; }
  .neko-dwie-kol > .neko-kol-form { position: static; }
}

/* Reklamacje: kroki 1–4 */
.neko-etapy { list-style: none; counter-reset: etap; margin: 20px 0 32px; padding: 0; }
.neko-etapy > li { counter-increment: etap; position: relative; padding: 0 0 22px 52px; }
.neko-etapy > li::before { content: counter(etap); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-green); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.neko-etapy > li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 36px; bottom: 4px; width: 2px; background: #d6e6d9; }
.neko-etapy > li > b { display: block; font-size: 17px; margin-bottom: 4px; }
.neko-etapy > li > span { display: block; line-height: 1.6; }
.neko-etapy ul { margin: 6px 0 6px; padding-left: 20px; line-height: 1.7; }

/* ===== Wyszukiwarka na telefonie: lupka w nagłówku, po kliknięciu pole pod nagłówkiem ===== */
.neko-lupa { display: none; width: 40px; height: 40px; padding: 8px; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: var(--radius-sm); }
.neko-lupa svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 960px) {
  .neko-lupa { display: inline-flex; align-items: center; justify-content: center; position: absolute; left: 52px; top: 50%; transform: translateY(-50%); z-index: 2; } /* obok menu, bo logo jest na środku */
  .gx-header.is-szukaj .neko-lupa { background: var(--surface-soft); color: var(--brand-green); }
  .gx-header.is-szukaj .neko-search.wp-block-search { display: block; position: absolute; top: 100%; left: 0; right: 0; max-width: none; margin: 0; padding: 10px var(--space-3); background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 8px 16px rgba(0,0,0,.08); z-index: 60; }
  .gx-header.is-szukaj .neko-search .wp-block-search__input { font-size: 16px; } /* 16 px = iPhone nie powiększa strony */
}

/* Kafel kategorii z 2 produktami (term meta _neko_produkty) */
.neko-cats .gx-photo .neko-dwa { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; width: 92%; height: 78%; align-items: center; }
.neko-cats .gx-photo .neko-dwa img { width: 100%; height: 100%; }

/* Menu na telefonie: podkategorie z kropką, pod-podkategorie z kreską */
.neko-catmenu .is-menu-open .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content::before { content: "•"; color: var(--brand-green); font-weight: 700; display: inline-block; width: 16px; }
.neko-catmenu .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content::before { content: "–"; color: var(--ink-muted); font-weight: 400; }
.neko-catmenu .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 15px !important; color: var(--ink-secondary); }

/* ===== Stronicowanie listy produktów: duże przyciski ===== */
.neko-strony.wp-block-query-pagination { margin: var(--space-6) 0 var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--border); gap: 10px; flex-wrap: wrap; align-items: center; }
.neko-strony .wp-block-query-pagination-numbers { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; align-items: center; }
.neko-strony .page-numbers,
.neko-strony .wp-block-query-pagination-previous,
.neko-strony .wp-block-query-pagination-next { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-size: 16px; font-weight: 700; text-decoration: none; transition: border-color .15s, color .15s; }
.neko-strony a.page-numbers:hover,
.neko-strony .wp-block-query-pagination-previous:hover,
.neko-strony .wp-block-query-pagination-next:hover { border-color: var(--brand-green); color: var(--brand-green); }
.neko-strony .page-numbers.current { background: var(--brand-green); border-color: var(--brand-green); color: #fff; }
.neko-strony .page-numbers.dots { border: 0; min-width: 20px; padding: 0; background: transparent; color: var(--ink-muted); }
.neko-strony .wp-block-query-pagination-previous,
.neko-strony .wp-block-query-pagination-next { padding: 0 18px; }
@media (max-width: 600px) {
  /* telefon: numery w pierwszym rzędzie, pod nimi dwa szerokie przyciski Poprzednia / Następna */
  .neko-strony .wp-block-query-pagination-numbers { order: 1; flex-basis: 100%; }
  .neko-strony .wp-block-query-pagination-previous { order: 2; flex: 1; }
  .neko-strony .wp-block-query-pagination-next { order: 3; flex: 1; }
  .neko-strony .page-numbers { min-width: 44px; height: 44px; }
}

/* ==================== Przeniesione ze sklepu opałowego (24.11.2026), klasy nk-* ==================== */
/* ===== NEKO: atuty na dole strony głównej — większe, pogrubione, z logotypami ===== */
.nk-atuty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nk-atut { display: flex; gap: 16px; align-items: flex-start; padding: 22px 20px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.nk-atut .gx-usp-icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--brand-lime-soft); color: var(--brand-green); display: flex; align-items: center; justify-content: center; }
.nk-atut .gx-usp-icon svg { width: 26px; height: 26px; }
.nk-atut b { display: block; font-size: 19px; line-height: 25px; font-weight: 800; color: var(--ink); }
.nk-atut span { display: block; margin-top: 4px; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--ink-secondary); }
.nk-atut-loga { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nk-atut-loga .neko-logo { margin: 0; }
.nk-atut-loga .neko-logo.is-tekst { width: auto; padding: 0 12px; font-size: 14px; font-weight: 700; color: var(--brand-green); text-decoration: none; white-space: nowrap; }
.nk-atut-loga .neko-logo.is-tekst:hover { border-color: var(--brand-green); }
@media (max-width: 1100px) { .nk-atuty { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nk-atuty { grid-template-columns: 1fr; } .nk-atut b { font-size: 18px; } }
.nk-atut-loga .neko-logo:not(.is-tekst) { width: 72px; height: 40px; flex-basis: 72px; }
@media (min-width: 1101px) { .nk-atut { padding: 20px 16px; gap: 12px; } .nk-atut .gx-usp-icon { flex-basis: 44px; width: 44px; height: 44px; } .nk-atut-loga { gap: 6px; } .nk-atut-loga .neko-logo:not(.is-tekst) { width: 66px; flex-basis: 66px; } }


/* ===== Strona „O nas” ===== */
.nk-onas { max-width: 1040px; margin: 0 auto; }
.nk-onas-glowa { text-align: center; padding: 40px 24px 36px; border-radius: 24px; background: linear-gradient(180deg, var(--brand-lime-soft) 0%, #fff 75%); border: 1px solid var(--border); }
.nk-onas-glowa .nk-onas-logo { display: block; width: 130px; height: auto; margin: 0 auto 20px; }
.nk-onas-nad { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-green); }
.nk-onas-glowa h2 { margin: 8px 0 12px; font-size: 34px; line-height: 42px; }
.nk-onas-lead { max-width: 660px; margin: 0 auto; font-size: 18px; line-height: 28px; color: var(--ink-secondary); }
.nk-onas-karty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.nk-onas-karty div { padding: 24px 22px; border: 1px solid var(--border); border-radius: 18px; background: #fff; border-top: 4px solid var(--brand-green); }
.nk-onas-karty h3 { margin: 0 0 8px; font-size: 20px; line-height: 26px; }
.nk-onas-karty p { margin: 0; font-size: 16px; line-height: 25px; color: var(--ink-secondary); }
.nk-onas-cytat { max-width: 760px; margin: 40px auto; text-align: center; font-size: 21px; line-height: 32px; color: var(--ink); }
.nk-onas-cytat b { color: var(--brand-green); }
.nk-onas-tytul { text-align: center; font-size: 30px; line-height: 38px; margin: 0 0 24px; }
.nk-onas-dlaczego { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nk-onas-dlaczego div { text-align: center; padding: 28px 16px; border: 1px solid var(--border); border-radius: 18px; background: #fff; }
.nk-onas-ico { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--brand-lime-soft); color: var(--brand-green); margin-bottom: 14px; }
.nk-onas-ico svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nk-onas-dlaczego b { display: block; font-size: 17px; line-height: 24px; font-weight: 800; }
.nk-onas-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 40px 0 16px; }
@media (max-width: 860px) {
  .nk-onas-karty { grid-template-columns: 1fr; }
  .nk-onas-dlaczego { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .nk-onas-glowa h2 { font-size: 26px; line-height: 33px; }
  .nk-onas-cytat { font-size: 18px; line-height: 28px; }
  .nk-onas-tytul { font-size: 24px; line-height: 31px; }
}

/* ===== Aktualności: siatka kart ===== */
.nk-blog-lead { font-size: 18px; line-height: 28px; color: var(--ink-secondary); margin-bottom: 32px; }
.nk-blog .wp-block-post-template { gap: 28px; }
.nk-wpis { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.nk-wpis:hover { box-shadow: 0 10px 28px rgba(0,0,0,.10); transform: translateY(-2px); }
.nk-wpis-img { margin: 0 !important; }
.nk-wpis-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nk-wpis-tresc { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.nk-wpis-data { font-size: 13px; font-weight: 700; color: var(--brand-green); text-transform: uppercase; letter-spacing: .05em; }
.nk-wpis-tytul { margin: 6px 0 8px !important; font-size: 20px !important; line-height: 27px !important; }
.nk-wpis-tytul a { color: var(--ink); text-decoration: none; }
.nk-wpis-tytul a:hover { color: var(--brand-green); }
.nk-wpis-zajawka { font-size: 15px; line-height: 23px; color: var(--ink-secondary); margin-top: auto; }
.nk-wpis-zajawka .wp-block-post-excerpt__more-link { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--brand-green); text-decoration: none; }
@media (max-width: 960px) { .nk-blog .wp-block-post-template { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 640px) { .nk-blog .wp-block-post-template { grid-template-columns: 1fr !important; } }


/* Poczta Polska: logo przycięte (pocztapolska.png), czerwony kafelek szerszy niż pozostałe, logo wyśrodkowane */
.neko-logo.is-poczta { width: 116px; flex: 0 0 116px; background: #d52b1e; border-color: #d52b1e; padding: 0 8px; }
.neko-logo.is-poczta img { width: 100%; height: auto; max-height: 100%; }
.nk-atut-loga .neko-logo.is-poczta { width: 116px; flex-basis: 116px; height: 40px; }
@media (min-width: 1101px) { .nk-atut-loga .neko-logo.is-poczta { width: 108px; flex-basis: 108px; } }

/* ramki logotypów w atutach: wyśrodkowanie (nadpisuje .nk-atut span { display:block }) */
.nk-atut .nk-atut-loga .neko-logo { display: inline-flex; align-items: center; justify-content: center; margin-top: 0; }


/* Koszyk: kolumna logotypów dostawy szeroka jak logo Poczty Polskiej (bez nachodzenia na nazwę) */
.neko-opcja { grid-template-columns: 22px 116px minmax(0, 1fr) auto; }
.neko-opcja .neko-logo.is-poczta { width: 116px; flex-basis: 116px; height: 36px; }
@media (max-width: 782px) { .neko-opcja { grid-template-columns: 22px 92px minmax(0, 1fr) auto; } .neko-opcja .neko-logo.is-poczta { width: 92px; flex-basis: 92px; height: 32px; } }

/* Panel koszyka (mini-cart): większe pozycje */
.wc-block-mini-cart__drawer .wc-block-components-drawer { width: min(480px, 100vw) !important; }
.wc-block-mini-cart__drawer .wc-block-cart-items .wc-block-cart-item__image { width: 104px !important; padding-right: 16px; }
.wc-block-mini-cart__drawer .wc-block-cart-items .wc-block-cart-item__image img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); }
.wc-block-mini-cart__drawer .wc-block-cart-items td { padding-top: 16px !important; padding-bottom: 16px !important; }
.wc-block-mini-cart__drawer .wc-block-components-product-name { font-size: 17px !important; line-height: 23px !important; font-weight: 700; }
.wc-block-mini-cart__drawer .wc-block-cart-item__prices, .wc-block-mini-cart__drawer .wc-block-cart-item__total { font-size: 17px !important; font-weight: 800; }
.wc-block-mini-cart__drawer .wc-block-components-product-details { font-size: 15px; }
.wc-block-mini-cart__drawer .wc-block-mini-cart__title { font-size: 26px !important; }
.wc-block-mini-cart__drawer .wc-block-components-totals-item { font-size: 18px; }

/* panel koszyka: zdjęcie w stałej kolumnie, bez nachodzenia na nazwę */
.wc-block-mini-cart__drawer .wc-block-cart-items .wc-block-cart-item__image { width: 96px !important; min-width: 96px; padding-right: 14px !important; box-sizing: content-box; }
.wc-block-mini-cart__drawer .wc-block-cart-items .wc-block-cart-item__image img, .wc-block-mini-cart__drawer .wc-block-cart-items .wc-block-cart-item__image a { width: 96px !important; max-width: 96px !important; display: block; }
.wc-block-mini-cart__drawer [hidden] { display: none !important; }
.wc-block-mini-cart__drawer .wc-block-cart-items__row { grid-template-columns: 110px minmax(0, 1fr) auto !important; column-gap: 0; }
.wc-block-mini-cart__drawer .wc-block-cart-items__row .wc-block-cart-item__image { grid-row: 1 / span 2; }


/* ===== Karta produktu NEKO: zaokrąglenia i karty (jak „Oferta hurtowa”) ===== */
.neko-produkt-kolumny { gap: 48px !important; margin-top: 12px; }
/* galeria */
.neko-produkt-galeria .woocommerce-product-gallery { border-radius: 24px; }
.neko-produkt-galeria .woocommerce-product-gallery .flex-viewport,
.neko-produkt-galeria .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); background: #fff; }
.neko-produkt-galeria .woocommerce-product-gallery__image { border-radius: 24px; }
.neko-produkt-galeria .woocommerce-product-gallery__trigger { top: 16px !important; right: 16px !important; background: #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.neko-produkt-galeria .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px !important; }
.neko-produkt-galeria .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.neko-produkt-galeria .flex-control-thumbs li img { border-radius: 14px; border: 2px solid var(--border); opacity: 1 !important; transition: border-color .15s; }
.neko-produkt-galeria .flex-control-thumbs li img.flex-active, .neko-produkt-galeria .flex-control-thumbs li img:hover { border-color: var(--brand-green); }
.neko-produkt .wc-block-components-product-sale-badge, .neko-produkt .onsale { border-radius: 999px !important; }
/* tytuł i parametry */
.neko-produkt-tytul { margin-top: 0 !important; }
.neko-produkt-info .neko-spec { border-radius: 20px; border: 1px solid var(--border); background: var(--surface-soft); padding: 16px 20px; }
/* cena */
.neko-produkt-cena { margin: 20px 0 12px !important; }
.neko-produkt-cena ins, .neko-produkt-cena .wc-block-components-product-price__value.is-discounted { color: var(--brand-green); text-decoration: none; }
.neko-produkt-cena del { color: var(--ink-muted); font-size: .7em; font-weight: 600; }
/* formularz koszyka w karcie */
.neko-produkt-koszyk form.cart { padding: 22px; border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.05); margin: 0 !important; }
.neko-produkt-koszyk table.variations { margin: 0 0 8px; border: 0; }
.neko-produkt-koszyk table.variations th, .neko-produkt-koszyk table.variations td { padding: 0 0 12px; border: 0; vertical-align: middle; }
.neko-produkt-koszyk table.variations label { font-size: 16px; font-weight: 800; margin-right: 14px; }
.neko-produkt-koszyk table.variations select { height: 50px; min-width: 240px; padding: 0 40px 0 16px; border: 1px solid var(--border-strong); border-radius: 14px; font-size: 16px; font-weight: 700; background-color: #fff; }
.neko-produkt-koszyk .reset_variations { font-size: 13px; margin-left: 10px; }
.neko-produkt-koszyk .woocommerce-variation-price { display: none; }
.neko-produkt-koszyk .stock { margin: 4px 0 14px; font-weight: 700; color: #1f7a3a; }
.neko-produkt-koszyk .stock.out-of-stock { color: var(--sale); }
.neko-produkt-koszyk .woocommerce-variation-add-to-cart, .neko-produkt-koszyk form.cart:not(.variations_form) { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.neko-produkt-koszyk .quantity .qty { height: 52px; width: 84px; border: 1px solid var(--border-strong); border-radius: 14px; font-size: 17px; font-weight: 700; text-align: center; }
.neko-produkt-koszyk .single_add_to_cart_button { height: 52px; padding: 0 34px !important; border-radius: 999px !important; font-size: 17px !important; font-weight: 800 !important; flex: 1; max-width: 340px; }
/* ramka z dostawą i płatnościami */
.nk-produkt-info { margin-top: 16px; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; background: #fff; }
.nk-pi { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.nk-pi:last-child { border-bottom: 0; }
.nk-pi > span:nth-child(2) { flex: 1; min-width: 0; }
.nk-pi b { display: block; font-size: 15px; line-height: 21px; font-weight: 800; }
.nk-pi small { display: block; font-size: 13px; line-height: 19px; color: var(--ink-secondary); }
.nk-pi small a { color: var(--brand-green); font-weight: 700; text-decoration: none; }
.nk-pi-ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-lime-soft); color: var(--brand-green); display: inline-flex; align-items: center; justify-content: center; }
.nk-pi-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nk-pi .neko-logo.is-poczta { flex: 0 0 96px; width: 96px; height: 32px; }
.neko-produkt-meta { margin-top: 14px; font-size: 13px; color: var(--ink-muted); }
/* zakładki opisu */
.neko-produkt .wp-block-woocommerce-product-details { margin-top: 56px; }
.neko-produkt .wc-tabs { display: flex; gap: 8px; border: 0 !important; padding: 0 !important; margin: 0 0 24px !important; }
.neko-produkt .wc-tabs::before, .neko-produkt .wc-tabs::after { display: none !important; }
.neko-produkt .wc-tabs li { border: 0 !important; margin: 0 !important; padding: 0 !important; background: none !important; }
.neko-produkt .wc-tabs li a { display: inline-block; padding: 10px 22px !important; border-radius: 999px; border: 1px solid var(--border); font-weight: 800; color: var(--ink) !important; text-decoration: none; background: #fff; }
.neko-produkt .wc-tabs li.active a { background: var(--brand-green); border-color: var(--brand-green); color: #fff !important; }
.neko-produkt .wc-tabs li::before, .neko-produkt .wc-tabs li::after { display: none !important; }
.neko-produkt .woocommerce-Tabs-panel { padding: 0 !important; }
.neko-produkt .woocommerce-Tabs-panel > h2:first-child { display: none; }
/* wiersze opisu: karty z zaokrąglonym zdjęciem */
.neko-produkt .neko-opis-wiersz.wp-block-media-text { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 24px; margin: 0 0 24px; gap: 12px; }
.neko-produkt .neko-opis-wiersz .wp-block-media-text__media img { border-radius: 18px; }
.neko-produkt .neko-opis-wiersz:nth-of-type(even) { background: var(--surface-soft); }
.neko-produkt .neko-opis-wiersz .wp-block-media-text__content { font-size: 16px; line-height: 1.65; }
/* tabela „Informacje dodatkowe” */
.neko-produkt .woocommerce-product-attributes { border: 1px solid var(--border) !important; border-radius: 18px; overflow: hidden; border-collapse: separate; border-spacing: 0; }
.neko-produkt .woocommerce-product-attributes th, .neko-produkt .woocommerce-product-attributes td { padding: 14px 18px !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; }
.neko-produkt .woocommerce-product-attributes tr:last-child th, .neko-produkt .woocommerce-product-attributes tr:last-child td { border-bottom: 0 !important; }
.neko-produkt .woocommerce-product-attributes th { background: var(--surface-soft); width: 220px; font-weight: 800; }
/* podobne produkty */
.neko-produkt .wp-block-woocommerce-related-products, .neko-produkt .wp-block-woocommerce-product-collection { margin-top: 56px; }
@media (max-width: 782px) {
  .neko-produkt-koszyk form.cart { padding: 16px; border-radius: 18px; }
  .neko-produkt-koszyk table.variations select { min-width: 0; width: 100%; }
  .neko-produkt-koszyk table.variations th, .neko-produkt-koszyk table.variations td { display: block; }
  .neko-produkt-koszyk .single_add_to_cart_button { max-width: none; }
  .neko-produkt .neko-opis-wiersz.wp-block-media-text { padding: 16px; border-radius: 18px; }
  .nk-pi .neko-logo.is-poczta { display: none; }
  .neko-produkt-info .nk-produkt-info { order: 6; }
}

@media (max-width: 782px) {
  .neko-produkt-kolumny { gap: 16px !important; }
  .neko-produkt-kolumny > *, .neko-produkt-info > * { margin-top: 0 !important; margin-bottom: 0 !important; }
  .neko-produkt-cena { font-size: 28px !important; }
  .neko-produkt-koszyk .quantity .qty { width: 68px; }
  .neko-produkt-koszyk .single_add_to_cart_button { white-space: nowrap; padding: 0 20px !important; font-size: 16px !important; }
  .neko-produkt-galeria .flex-control-thumbs { margin-bottom: 0 !important; }
}


/* Polecane produkty: strzałki zawsze widoczne na komputerze, zaokrąglone zdjęcia */
.nk-polecane .neko-karuzela-arrow { opacity: 1; }
.nk-polecane .wc-block-components-product-image img, .neko-karuzela-on .wc-block-components-product-image img { border-radius: 18px; }
@media (max-width: 600px) { .nk-polecane .neko-karuzela-arrow { display: none; } }


/* Telefon: strona nie może być szersza niż ekran (inaczej da się ją „oddalić” palcami i pływa na boki) */
html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; } /* clip nie psuje „przyklejonych” elementów (sticky) */
.wp-site-blocks { overflow-x: clip; }


/* Newsletter - kafel na górze stopki (inc/newsletter.php) */
.nk-nl { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-5); align-items: center; background: var(--brand-lime-soft); color: var(--ink);
  border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); margin: var(--space-6) 0 var(--space-3); border-top: 5px solid var(--brand-lime); }
.nk-nl h2 { font-size: 26px; line-height: 1.2; margin: 0 0 var(--space-2); color: var(--brand-navy); }
.nk-nl p { margin: 0; color: var(--ink-tertiary); font-size: 15px; line-height: 1.5; }
.nk-nl-pole { display: flex; gap: var(--space-2); }
.nk-nl-pole input[type=email] { flex: 1; min-width: 0; height: 50px; padding: 0 var(--space-3); border: 1px solid var(--border-strong); border-radius: var(--radius-full); font-size: 16px; background: #fff; }
.nk-nl-pole input[type=email]:focus { outline: 2px solid var(--brand-lime); border-color: var(--brand-lime); }
.nk-nl-pole .wp-element-button { height: 50px; padding: 0 var(--space-4); border-radius: var(--radius-full); background: var(--brand-green); color: #fff; font-weight: 700; border: 0; cursor: pointer; white-space: nowrap; }
.nk-nl-pole .wp-element-button:hover { filter: brightness(.92); }
.gx-footer .nk-nl a { color: var(--brand-green); text-decoration: underline; }
.nk-nl-zgoda { display: flex; gap: var(--space-2); align-items: flex-start; margin-top: var(--space-3); font-size: 12px; line-height: 1.45; color: var(--ink-tertiary); cursor: pointer; }
.nk-nl-zgoda input { margin-top: 2px; flex: none; width: 16px; height: 16px; accent-color: var(--brand-green); }
.nk-nl-komunikat { margin-top: var(--space-3); padding: 10px var(--space-3); border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; }
.nk-nl-komunikat.is-ok { background: #e6f4ea; color: #1e6b34; }
.nk-nl-komunikat.is-blad { background: var(--sale-soft); color: var(--sale); }
@media (max-width: 760px) {
  .nk-nl { grid-template-columns: 1fr; padding: var(--space-4) var(--space-3); gap: var(--space-3); border-radius: var(--radius-md); }
  .nk-nl h2 { font-size: 21px; }
  .nk-nl-pole { flex-direction: column; }
  .nk-nl-pole input[type=email], .nk-nl-pole .wp-element-button { flex: none; width: 100%; height: 52px; min-height: 52px; }
  .nk-nl-zgoda { font-size: 13px; }
  .nk-nl-zgoda input { width: 20px; height: 20px; }
}

/* parametry przy cenie: bez wychodzenia poza ramkę */
dl.neko-spec { grid-auto-flow: row; grid-template-rows: none; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 28px; }
dl.neko-spec dt { white-space: normal; }
dl.neko-spec dd { overflow-wrap: anywhere; min-width: 0; }
/* tytuł: długie nazwy z Allegro */
@media (min-width: 783px) { .neko-produkt-tytul { font-size: 32px !important; line-height: 1.22 !important; overflow-wrap: anywhere; } }
.neko-produkt-info { min-width: 0; }
/* nagłówek: większe i pogrubione nazwy kategorii */
@media (min-width: 961px) {
  .neko-catmenu { font-size: 17px; font-weight: 800; }
  .neko-catmenu .wp-block-navigation__container { column-gap: 28px; }
}
/* tabela „Specyfikacja” w opisie (import Allegro Neko) */
table.neko-spec { display: table; width: 100%; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; border-collapse: separate; border-spacing: 0; margin: 8px 0 24px; padding: 0; background: #fff; font-size: 15px; }
table.neko-spec th, table.neko-spec td { padding: 12px 18px; border: 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
table.neko-spec tr:last-child th, table.neko-spec tr:last-child td { border-bottom: 0; }
table.neko-spec th { width: 34%; font-weight: 800; background: var(--surface-soft); color: var(--ink); }
@media (max-width: 600px) { table.neko-spec th { width: 45%; } table.neko-spec th, table.neko-spec td { padding: 10px 12px; } }
.nk-wpis:not(:has(img)) .nk-wpis-tresc { padding-top: 26px; border-top: 4px solid var(--brand-green); }
.nk-onas-glowa .nk-onas-logo.is-neko { width: 220px; }
.nk-onas-dlaczego small { display: block; margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--ink-secondary); }
@media (max-width: 782px) {
  .neko-produkt-info .nk-produkt-info { order: 7; }
  .neko-produkt-meta { order: 8; }
  .neko-produkt .wc-tabs { flex-wrap: wrap; }
}
.nk-onas-cta .gx-btn { text-decoration: none; }
/* koszyk: węższa kolumna logotypów (dłuższe nazwy metod niż w sklepie opałowym), telefon bez wychodzenia poza ekran */
.neko-opcja { grid-template-columns: 22px 84px minmax(0, 1fr) auto; }
.neko-opcja .neko-logo.is-poczta { width: 84px; flex-basis: 84px; padding: 0 6px; }
.neko-koszyk-wybory, .neko-wybor, .neko-koszyk-wybory > *, .neko-koszyk > *, .neko-koszyk { min-width: 0; max-width: 100%; box-sizing: border-box; }
@media (max-width: 782px) {
  .neko-opcja { grid-template-columns: 22px 58px minmax(0, 1fr) auto; }
  .neko-opcja .neko-logo.is-poczta { width: 58px; flex-basis: 58px; height: 32px; padding: 0 4px; }
}
/* koszyk: własny układ pozycji (style miniaturek z „Dziękujemy za zamówienie” go nadpisywały) */
.neko-koszyk .neko-poz { display: grid; max-width: none; vertical-align: baseline; }
@media (min-width: 701px) { .neko-koszyk .neko-poz { gap: 16px; } .neko-koszyk .neko-poz-foto { width: 72px; height: 72px; } }
@media (max-width: 700px) { .neko-koszyk .neko-poz { gap: 8px 12px; } .neko-koszyk .neko-poz-foto { width: 60px; height: 60px; } }

/* ===== Paczkomat: wybór w koszyku i okno z mapą InPost (inc/paczkomat.php, assets/js/paczkomat.js) ===== */
.nk-paczkomat { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 10px 0; padding: 12px 14px; border-radius: 14px; background: var(--brand-lime-soft); }
.nk-paczkomat.is-ukryty { display: none; }
.nk-paczkomat-tekst { flex: 1 1 160px; min-width: 0; font-size: 14px; line-height: 20px; }
.nk-paczkomat-tekst b { display: block; font-size: 16px; font-weight: 800; }
.nk-paczkomat .neko-btn-jasny { border-radius: var(--radius-full); }
html.nk-pk-otwarte { overflow: hidden; }
.nk-pk { width: min(1080px, calc(100vw - 32px)); height: min(760px, calc(100dvh - 32px)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: #fff; color: var(--ink); font-family: var(--font-sans); }
.nk-pk[open] { display: flex; flex-direction: column; }
.nk-pk::backdrop { background: rgba(16, 28, 42, .6); }
.nk-pk-gora { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--border); }
.nk-pk-gora h2 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 800; }
.nk-pk-zamknij { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-tile); font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.nk-pk-mapa { flex: 1; min-height: 0; }
.nk-pk-mapa inpost-geowidget { display: block; width: 100%; height: 100%; }
.nk-pk-stan { margin: 24px; text-align: center; color: var(--ink-muted); }
@media (max-width: 760px) {
  .nk-pk { width: 100vw; height: 100dvh; border-radius: 0; }
  .nk-pk-gora { padding: 8px 14px; } .nk-pk-gora h2 { font-size: 19px; }
}
