﻿:root {
  --red: #e8112d;
  --red-hover: #ff2a45;

  --ink: #0d0d0f;
  --ink-2: #1a1a1d;
  --line: #e6e6e8;
  --line-2: #f0f0f2;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --muted: #6a6a72;
  --white: #fff;
  --stock-green: #2ea043;
  --stock-green-bg: #eaf7ed;
  --stock-red: #e8112d;
  --stock-red-bg: #fde9ec;
  --stock-yellow: #c9940e;
  --stock-yellow-bg: #fbf3df;

  --container: 1480px;
  --header-h: 60px;

  /* ========== TYPOGRAFIA — design tokens ========== */
  /* Skala body / inline */
  --fs-xs: 10px;
  --fs-s: 13px;
  --fs-sm: 14px;
  --fs-base: 15px;
  --fs-md: 16px;
  --fs-lg: 18px;

  /* Skala nagłówków — clamp() = responsywne (min, preferred, max) */
  --h1-size: clamp(1.6rem, 1.5vw + 1rem, 2.5rem);  /* ~26-36px */
  --h2-size: clamp(1.25rem, 1vw + .9rem, 1.75rem);  /* ~20-28px */
  --h3-size: 1.125rem;                              /* 18px */
  --h4-size: 1rem;                                  /* 16px */
  --h5-size: .875rem;                               /* 14px */
  --h6-size: .8125rem;                              /* 13px */

  --heading-color: var(--ink);
  --heading-weight: 700;
  --heading-line-height: 1.2;
  --heading-tracking: -.01em;

  /* Strzałka SVG do użycia z mask-image (dziedziczy currentColor z background-color) */
  --arrow-right: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/><polyline points='12 5 19 12 12 19'/></svg>");
}

* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
html body { padding-top: 64px; }
html body.has-hero { padding-top: 0; }
body.has-hero { padding-top: 0; } /* home — header overlapuje hero, brak odstępu */
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: var(--heading-weight);
  color: var(--heading-color);
  line-height: var(--heading-line-height);
  letter-spacing: var(--heading-tracking);
}
h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4 { font-size: var(--h4-size); }
h5 { font-size: var(--h5-size); }
h6 { font-size: var(--h6-size); }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 60px 0; }

/* ============================================================
   HEADER (transparent na top, czarny po scroll)
   ============================================================ */
.ch-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  width: 100%;
  background: #000;
  color: #fff;
  transition: background .3s ease, box-shadow .3s ease;
}
.has-hero .ch-header {
  background: transparent;
}
.ch-header.is-stuck {
  position: fixed;
  background: #000;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

/* Linia pod headerem — 90% szerokości, wycentrowana, zawsze widoczna */
.ch-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 1px;
  background: rgba(255,255,255,.22);
  pointer-events: none;
  z-index: 2;
}

.ch-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto 2fr auto;
  gap: 14px;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}
.ch-logo-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.ch-logo { height: 34px !important; width: 170px !important; display: block; object-fit: contain; }

.ch-menu { min-width: 550px; }
.ch-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
}
.account {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
}
.account:hover { color: var(--red); }
.cart {
  position: relative;
  color: #fff;
  display: inline-flex;
}
.cart:hover { color: var(--red); }
.cart__badge {
  position: absolute;
  top: -8px; 
  right: -10px;
  min-width: 20px; 
  height: 20px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
  padding: 0 5px;
  border: 2px solid #000;
}
.cart__badge[data-cart-count="0"] { display: none; }

/* ============================================================
   SEARCH (AJAX search — jeden prefix .search-*)
   ============================================================ */
.ch-header .search {
  position: relative;
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: stretch;
  background: #f8f9fa;
  border-radius: 8px;
}

.search-input {
  flex: 1;
  padding: 10px 10px 10px 20px;
  border: none;
  font-size: 14px;
  outline: none;
  background: transparent;
  box-sizing: border-box;
  color: #333;
  border-radius: 7px;
  font-family: inherit;
}
.search-input::placeholder { color: #999; }
.search-input:focus { background: white; }

.search-button {
  background: var(--red);
  border: none;
  padding: 10px 15px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
  transition: background 0.3s ease;
}
.search-button:hover { background: var(--red-hover); }
.search-icon { width: 18px; height: 18px; fill: currentColor; }

.search .search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: none;
  overflow-y: auto;
  z-index: 9999;
  display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 7px;
  margin-top: 4px;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
  justify-content: space-between;
}
.search-result-item:hover {
  background-color: #f8f9fa;
  text-decoration: none;
  color: #333;
}
.search-result-item:last-child { border-bottom: none; }

.search-result-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 12px;
  border-radius: 6px;
  flex-shrink: 0;
}

.search-result-left {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  line-height: normal;
}

.search-result-details { flex: 1; min-width: 0; }

.search-result-title {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
          line-clamp: 2;
  -webkit-box-orient: vertical;
}

.search-result-sku {
  font-size: 10px;
  color: #999;
  margin-top: 2px;
}

.search-result-price {
  font-weight: 600;
  color: #000;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
  margin-left: 12px;
  flex-shrink: 0;
}

.search-footer {
  padding: 12px;
  text-align: center;
  border-top: 1px solid #eee;
  background-color: #fafafa;
  font-size: 13px;
  border-radius: 0 0 7px 7px;
}
.search-footer a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
}
.search-footer a:hover {
  color: #000;
  text-decoration: underline;
}

.search-loading,
.no-results,
.search-error {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

@media (max-width: 1025px) {
  .search { width: 100%; max-width: 100%; }
  .search .search-results { max-height: 70vh; }
  .search-result-image { width: 40px; height: 40px; }
  .search-result-title { font-size: 13px; }
  .search-result-price { font-size: 13px; }
}

/* Drugi rząd (search w mobile) */
.ch-row {
  display: none;
  padding: 0 24px 10px;
}
.ch-row .search { max-width: 100%; }

/* ============================================================
   DESKTOP MENU
   ============================================================ */
.woo-mobile-toggle {
  display: none;
  cursor: pointer;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  height: 36px;
  align-items: center;
  font-family: inherit;
}

.woo-menu-nav { position: relative; z-index: 1000; }
.woo-menu-nav ul, .woo-menu-nav li {
  list-style: none; margin: 0; padding: 0;
}
.woo-menu-nav > ul.woo-main-menu {
  display: flex;
  align-items: center;
  gap: 0;
}
.woo-menu-nav li { position: relative; }
.woo-menu-nav > ul.woo-main-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 10px 10px;
  border-radius: 7px;
  transition: background .15s ease;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.woo-menu-nav > ul.woo-main-menu > li:hover > a,
.woo-menu-nav > ul.woo-main-menu > li:focus-within > a {
  background: rgba(255,255,255,.08);
  color: #fff;
}

/* Strzałka pod itemem z dziećmi */
.woo-menu-nav .menu-item-has-children > a::after {
  content: "";
  margin-left: 6px;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .8;
  display: inline-block;
}

/* Dropdown (1 poziom) */
.woo-menu-nav > ul > li > ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(5px);
  opacity: 0;
  pointer-events: none;
  background: #fff;
  min-width: 240px;
  padding: 8px 0;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  z-index: 9999;
  transition: opacity .2s ease, transform .2s ease;
}
.woo-menu-nav > ul > li:hover > ul.sub-menu,
.woo-menu-nav > ul > li:focus-within > ul.sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.woo-menu-nav ul ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1d;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.woo-menu-nav ul ul a:hover { background: #f4f4f6; color: #000; }

/* Dropdown (2 poziom) — flyout */
.woo-menu-nav ul ul .menu-item-has-children > a {
  position: relative;
  padding-right: 48px;
}
.woo-menu-nav ul ul .menu-item-has-children > a::after {
  content: "";
  border: none;
  margin: 0;
  position: absolute;
  right: 15px;
  top: 50%;
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/><polyline points='12 5 19 12 12 19'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .85;
  transform: translateY(-50%);
  transition: transform .2s ease, opacity .2s ease;
}
.woo-menu-nav ul ul .menu-item-has-children:hover > a::after {
  transform: translate(4px, -50%);
  opacity: 1;
}
.woo-menu-nav ul ul .menu-item-has-children > ul.sub-menu {
  position: absolute;
  top: -8px;
  left: 100%;
  margin-left: 4px;
  background: #fff;
  border-radius: 8px;
  padding: 8px 0;
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 10000;
}
.woo-menu-nav ul ul .menu-item-has-children:hover > ul.sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* Ukryj mobile elementy na desktop */
.menu-mobile-header,
.menu-help-section,
.menu-back-btn,
.menu-close-btn { display: none; }
.woo-mobile-overlay { display: none; }

/* ============================================================
   TABLET — przeniesienie logo na środek + search w 2 rzędzie
   ============================================================ */
@media (max-width: 1100px) {
  .ch-inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    position: relative;
  }
  .ch-logo-link {
    order: 2;
    justify-self: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .ch-menu { order: 1; min-width: auto; }
  .search--top { display: none !important; }
  .ch-actions { order: 4; }

  .ch-row { display: block; }

  .woo-mobile-toggle { display: inline-flex; }
  .woo-menu-nav { display: none; }
  .woo-menu-nav.is-open { display: block; }
}

/* ============================================================
   MOBILE / TABLET — Side drawer menu
   ============================================================ */
@media (max-width: 1100px) {
  .woo-menu-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 86%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: 5px 0 20px rgba(0,0,0,.1);
    transition: left .3s ease;
    z-index: 10000;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
  }
  .woo-menu-nav.is-open { left: 0; }

  .menu-mobile-header {
    display: flex !important;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 20px;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    position: relative;
  }
  .menu-back-btn {
    display: none;
    background: none; border: none;
    font-size: 28px; color: #333;
    cursor: pointer; padding: 0;
    line-height: 1;
    font-family: inherit;
  }
  .menu-back-btn.is-visible { display: block; }
  .menu-mobile-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
  }
  .menu-close-btn {
    display: block;
    background: none; border: none;
    font-size: 24px; color: #333;
    cursor: pointer; padding: 0;
    line-height: 1;
    font-family: inherit;
  }

  /* Menu levels — navigation stack */
  .woo-menu-nav .menu-level {
    position: absolute;
    top: 56px;
    left: 0;
    width: 100%;
    height: calc(100% - 56px - 130px);
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
    padding: 0;
    list-style: none;
    margin: 0;
  }
  .woo-menu-nav .menu-level.is-active { transform: translateX(0); }
  .woo-menu-nav .menu-level.is-previous { transform: translateX(-30%); }
  .woo-menu-nav .woo-main-menu.is-active { transform: translateX(0); }

  .woo-menu-nav li { border-bottom: 1px solid #f0f0f0; }
  .woo-menu-nav li:last-child { border-bottom: none; }
  .woo-menu-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: #000;
    font-size: 15px;
    font-weight: 400;
    background: #fff;
    text-transform: none;
    text-decoration: none;
  }
  .woo-menu-nav a:active,
  .woo-menu-nav a:hover { background: #f5f5f5; color: #000; }
  .woo-menu-nav .menu-item-has-children > a::after {
    content: "›";
    border: none;
    font-size: 22px;
    line-height: 1;
    margin: 0;
    color: #999;
  }
  .woo-menu-nav ul ul { display: none; }

  /* Overlay */
  .woo-mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  .woo-mobile-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  body.woo-menu-open { overflow: hidden; }

  /* Sekcja Pomoc na dole */
  .menu-help-section {
    display: block !important;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 12px 0;
    z-index: 5;
  }
  .menu-help-title {
    font-size: 12px;
    color: #999;
    padding: 0 20px;
    margin-bottom: 8px;
    font-weight: 500;
  }
  .menu-help-link {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 20px !important;
    color: #333;
    font-size: 15px;
    background: #fff;
    text-decoration: none;
    cursor: pointer;
  }
  .menu-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
  }
  .menu-help-arrow {
    margin-left: auto;
    font-size: 22px;
    color: #999;
  }
  .help-submenu { list-style: none; margin: 0; padding: 0; }
  .help-submenu a { padding: 12px 20px; gap: 12px; }
}

/* Smaller screens — pełna szerokość drawera */
@media (max-width: 480px) {
  .ch-logo { width: 140px !important; height: 30px !important; }
  .account { display: none; }
  .ch-actions { gap: 8px; }
}

/* ============================================================
   HERO — cinematic, animowane wejście
   ============================================================ */
.hero {
  min-height: 100vh;
  color: #fff;
  overflow: hidden;
  background: #0a0a0a;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.85) contrast(1.05);
}
.hero__overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 80% at 25% 50%, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 60%, transparent 90%),
    linear-gradient(135deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 40%, rgba(0,0,0,.25) 70%, rgba(0,0,0,.5) 100%),
    linear-gradient(0deg, rgba(0,0,0,.65) 0%, transparent 50%);
}
.hero__noise {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero__inner {
  position: relative; z-index: 3;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 80px;
}
.hero__copy {
  max-width: 620px;
  animation: heroIn .8s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Eyebrow */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 24px;
  padding: 7px 14px 7px 10px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
}
.hero__eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--red) 25%, transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--red) 35%, transparent); }
  50%      { box-shadow: 0 0 0 8px color-mix(in oklab, var(--red) 0%, transparent); }
}

/* Tytuł */
.hero__title {
  margin: 0 0 28px;
  font-size: clamp(3rem, 6vw + 1rem, 4rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.hero__title-line {
  opacity: 0;
  animation: heroLine .9s cubic-bezier(.2, .8, .2, 1) forwards;
  color: var(--white);
}
.hero__title-line:first-child { animation-delay: .1s; }
.hero__title-line--accent {
  animation-delay: .25s;
  background: linear-gradient(120deg, #fff 0%, #fff 60%, color-mix(in oklab, var(--ink) 70%, #fff) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title-dot { color: var(--red); -webkit-text-fill-color: var(--red); }
@keyframes heroLine {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Lead */
.hero__lead {
  font-size: clamp(1rem, .4vw + .9rem, 1.125rem);
  color: rgba(255,255,255,.9);
  max-width: 540px;
  margin: 0 0 32px;
  line-height: 1.65;
  animation: heroIn .9s cubic-bezier(.2, .8, .2, 1) .4s both;
}
.hero__lead strong { color: #fff; }

/* CTAs */
.hero__ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 44px;
  animation: heroIn .9s cubic-bezier(.2, .8, .2, 1) .55s both;
}
.hero__ctas .btn {
  padding: 14px 22px;
  font-size: 14px;
  border-radius: 8px;
}
.hero__ctas .btn--red {
  box-shadow: 0 8px 24px color-mix(in oklab, var(--red) 35%, transparent);
}
.hero__ctas .btn--red:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px color-mix(in oklab, var(--red) 45%, transparent);
}
.hero__ctas .btn--outline {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,.35);
}
.hero__ctas .btn--outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  transform: translateY(-2px);
}
.hero__ctas .btn svg { transition: transform .2s ease; }
.hero__ctas .btn:hover svg { transform: translateX(3px); }

/* Stats */
.hero__stats {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: heroIn 1s cubic-bezier(.2, .8, .2, 1) .7s both;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__stats li.sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.2);
}
.hero__stats strong {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1;
}
.hero__stats span {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Scroll hint */
.hero__scrollhint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  pointer-events: none;
}
.hero__scrollhint span {
  width: 3px; height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(0);    opacity: 1; }
  60%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

@media (max-width: 600px) {
  .hero__stats { gap: 14px; }
  .hero__stats li.sep { display: none; }
  .hero__stats strong { font-size: 16px; }
  .hero__scrollhint { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #000; color: #fff; }
.btn--outline {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* ============================================================
   MENU KAFELKOWE 6 KATEGORII
   ============================================================ */
.tilemenu { width: 100%; }
.tilemenu__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  width: 100%;
}
.tile {
  position: relative;
  display: block;
  height: 130px;
  overflow: hidden;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1d;
}
.tile__shade {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.9);
  transition: background-color .3s ease;
}
.tile:hover .tile__shade { background: rgba(0,0,0,.75); }
.tile:active .tile__shade { background: rgba(0,0,0,.5); }
.tile.is-active .tile__shade { background: rgba(0,0,0,.6); }

.tile__title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  text-shadow: 2px 2px 8px rgba(0,0,0,.75);
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tablet: 3 kolumny */
@media (max-width: 1400px) {
  .tilemenu__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mid-tablet: poziomy scroll */
@media (max-width: 1024px) {
  .tilemenu__grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tilemenu__grid::-webkit-scrollbar { display: none; }
  .tile {
    flex: 0 0 280px;
    height: 100px;
    scroll-snap-align: start;
  }
  .tile__title { font-size: 14px; }
}

/* Mobile */
@media (max-width: 768px) {
  .tile {
    flex: 0 0 calc(100vw - 80px);
    height: 120px;
  }
  .tile__title { font-size: 16px; }
}

/* Small mobile: 1.5 kafelka widoczne */
@media (max-width: 480px) {
  .tile {
    flex: 0 0 66.666vw;
    height: 100px;
  }
  .tile__title { font-size: 14px; padding: 10px; }
}

/* ============================================================
   PRODUKTY — sekcja
   ============================================================ */
.prod { padding: 64px 0 48px; }
.prod__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
/* .prod__head h2 — używa domyślnych --h2-size, --heading-weight, --heading-tracking */
/* .more — usunięty stary bordered button, używamy nowej .more (ghost-link niżej) */

.prod__intro {
  margin: 0 0 32px;
  color: var(--ink);
  font-size: 14px;
  max-width: 100%;
  line-height: 1.6;
}
.prod__intro strong { font-weight: 700; }

/* ============================================================
   PUSTY KOSZYK
   ============================================================ */
.cart-empty-wrap {
  text-align: center;
  padding: 40px 20px;
}
.cart-empty-icon {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: var(--muted);
}
.cart-empty-icon svg {
  width: 100%;
  height: 100%;
}
.cart-empty-title {
  font-size: var(--h2-size);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.cart-empty-text {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 28px;
}
.cart-empty-cta {
  display: inline-flex;
}

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel {
  position: relative;
  margin: 0 -8px;
}
.carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  gap: 0;
  padding: 4px 8px 8px;
}
.carousel__track::-webkit-scrollbar { display: none; }

.carousel__slide {
  flex: 0 0 calc(100% / 6);
  scroll-snap-align: start;
  padding: 0 8px;
}
@media (max-width: 1366px) { .carousel__slide { flex-basis: calc(100% / 4); } }
@media (max-width: 1024px) { .carousel__slide { flex-basis: calc(100% / 3); } }
@media (max-width: 768px)  { .carousel__slide { flex-basis: calc(100% / 2); } }

.carousel__arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 5px;
  background: var(--ink);
  border: 1px solid #ddd;
  display: grid;
  place-items: center;
  color: var(--white);
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  transition: background .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.carousel__arrow:hover {
  background: var(--ink);
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}
.carousel__arrow--prev { left: -20px; }
.carousel__arrow--next { right: -20px; }
.carousel__arrow svg { width: 18px; height: 18px; }
@media (max-width: 768px) {
  .carousel__arrow { display: none; }
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.carousel__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .3s ease, background .3s ease, border-radius .3s ease;
}
.carousel__dot.is-active {
  background: #333;
  width: 30px;
  border-radius: 5px;
}

/* Karta produktu */
.pcard {
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 10px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.pcard:hover {
  border-color: #000;
  box-shadow: 0 0px 12px rgba(0,0,0,.06);
}
.pcard__media {
  position: relative;
  aspect-ratio: 1;
  margin-bottom: 12px;
  overflow: hidden;
}
.pcard__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 10px;
}
.pcard__title {
  font-family: 'Poppins', Arial, 'Helvetica Neue', sans-serif !important;
  font-size: 13px;
  color: var(--ink);
  margin: 0 0 14px;
  font-weight: normal;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__title a { color: inherit; }
.pcard__title a:hover { color: var(--red); }

.pcard__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.pcard__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.pcard__stock {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid;
  background: #fff;
  white-space: nowrap;
}
.pcard__stock.s-green  { color: var(--stock-green);  border-color: var(--stock-green); }
.pcard__stock.s-red    { color: var(--stock-red);    border-color: var(--stock-red); }
.pcard__stock.s-yellow { color: var(--stock-yellow); border-color: var(--stock-yellow); }

/* ============================================================
   DUAL — Promo produktu + Żarówki
   ============================================================ */
.dual { padding: 48px 0 64px; }
.dual__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
@media (max-width: 980px) {
  .dual__inner { grid-template-columns: 1fr; }
}

/* ----- BOX 1: Promo ----- */
.promo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  min-height: 260px;
  border: 1px solid var(--line);
}
.promo:hover { color: var(--ink); }
.promo__bg {
  position: absolute;
  inset: 0;
  background: #fff;
  pointer-events: none;
}
.promo__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 38% 60% at 0% 100%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 38% 60% at 0% 100%, #000 10%, transparent 70%);
}
.promo__body {
  position: relative;
  z-index: 2;
  padding: 28px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 60%;
  height: 100%;
}
.promo__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--red);
  text-transform: uppercase;
}
.promo__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--red) 25%, transparent);
  animation: promoPulse 2s ease-in-out infinite;
}
@keyframes promoPulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--red) 35%, transparent); }
  50%      { box-shadow: 0 0 0 6px color-mix(in oklab, var(--red) 0%, transparent); }
}
.promo h3 {
  font-size: var(--h2-size); /* większy, jak h2 — eyecatch w sekcji promo */
  line-height: 1.15;
  margin: 0;
}
.promo p {
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.promo__pricebar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 4px;
}
.promo__pricebox {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.promo__price-old {
  font-size: 14px;
  color: var(--muted-2);
  text-decoration: line-through;
  font-weight: 500;
}
.promo__price {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.05em;
  line-height: 1;
}
.promo__badge {
  background: var(--stock-green);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 0px 10px color-mix(in oklab, var(--stock-green) 35%, transparent);
}

.promo__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.promo__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--stock-green);
  font-weight: 600;
}
.promo__pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--stock-green);
  animation: stockPulse 1.6s ease-in-out infinite;
}
@keyframes stockPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .5; }
}
.promo__until { color: var(--muted-2); }

.promo__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
  background: var(--red);
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background .15s ease, transform .15s ease;
  box-shadow: 0 8px 24px color-mix(in oklab, var(--red) 30%, transparent);
}
.promo__cta:hover { background: var(--red-hover); transform: translateX(2px); }
.promo__cta svg { transition: transform .2s ease; }
.promo__cta:hover svg { transform: translateX(3px); }

.promo__product {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  height: 300px;
  z-index: 2;
}
.promo__product img {
  width: 100%; height: 100%;
  object-fit: contain;
}

@media (max-width: 760px) {
  .promo__body { max-width: 100%; padding: 24px; }
  .promo__product {
    position: relative;
    right: auto; top: auto;
    transform: none;
    width: 180px;
    height: 180px;
    margin: 0 auto -20px;
  }
}

/* ----- BOX 2: Bulbs ----- */
.bulbs {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a1c25 0%, #0d0f15 100%);
  color: #fff;
  min-height: 340px;
  border: 1px solid rgba(255,255,255,.06);
}
.bulbs__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bulbs__glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 213, 79, .25) 0%, transparent 60%);
  filter: blur(20px);
  animation: bulbGlow 4s ease-in-out infinite;
}
.bulbs__beam {
  position: absolute;
  top: 40%; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255, 247, 220, .3) 0%, transparent 70%);
  filter: blur(30px);
}
@keyframes bulbGlow {
  0%, 100% { opacity: .8; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.08); }
}

.bulbs__body {
  position: relative;
  z-index: 2;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.bulbs__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
}
.bulbs__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ffd54f;
  box-shadow: 0 0 0 3px rgba(255, 213, 79, .25);
}
.bulbs h3 {
  font-size: var(--h2-size); /* eyecatch — większy h3 w sekcji */
  color: #fff;               /* biały na ciemnym tle */
  line-height: 1.15;
}
.bulbs p {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  margin: 0 0 16px;
  max-width: 360px;
  line-height: 1.5;
}

.bulbs__chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.bulbs__chip {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 12px 10px;
  text-decoration: none;
  color: #fff;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.bulbs__chip:hover {
  background: rgba(255, 213, 79, .12);
  border-color: rgba(255, 213, 79, .5);
  color: #fff;
  transform: translateY(-1px);
}
.bulbs__chip-type {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.bulbs__chip:hover .bulbs__chip-type { color: #ffd54f; }
.bulbs__chip-count {
  font-size: 10px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .04em;
}

@media (max-width: 480px) {
  .bulbs__chips { grid-template-columns: repeat(2, 1fr); }
}

.bulbs__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 4px;
  transition: color .15s ease, border-color .15s ease;
}
.bulbs__cta:hover {
  color: #ffd54f;
  border-bottom-color: #ffd54f;
}
.bulbs__cta svg { transition: transform .2s ease; }
.bulbs__cta:hover svg { transform: translateX(3px); }

/* ============================================================
   BLOG — karuzela z tabkami kategorii
   ============================================================ */
.blog {
  background: #fff;
}
.blog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.blog__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.blog__tab {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  font-family: inherit;
}
.blog__tab:hover {
  border-color: var(--ink);
}
.blog__tab.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.blog__carousel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.blog__carousel .carousel__arrow {
  flex: 0 0 auto;
  order: 1;
  width: 44px;
  height: 44px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.22);
  transition: background .15s, transform .15s, box-shadow .15s;
  padding: 0;
  z-index: 1;
}
.blog__carousel .carousel__arrow:hover {
  background: var(--red);
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
}
.blog__carousel .carousel__arrow svg { width: 20px; height: 20px; flex-shrink: 0; }
.blog__carousel .carousel__arrow--prev { order: 1; }
.blog__carousel .carousel__arrow--next { order: 3; }

.blog__carousel .carousel__track {
  flex: 1 1 0;
  min-width: 0;
  order: 2;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 8px 8px;
}
.blog__carousel .carousel__track::-webkit-scrollbar { display: none; }

.blog__carousel .carousel__dots {
  order: 4;
  width: 100%;
}

.blog__carousel .carousel__slide {
  flex: 0 0 calc(100% / 4);
  scroll-snap-align: start;
  padding: 0 8px;
}

@media (max-width: 1100px) { .blog__carousel .carousel__slide { flex-basis: calc(100% / 3); } }
@media (max-width: 768px)  { .blog__carousel .carousel__slide { flex-basis: calc(100% / 2); } }
@media (max-width: 540px)  {
  .blog__carousel .carousel__slide { flex-basis: 85%; }
  .blog__carousel .carousel__arrow { width: 36px; height: 36px; border-radius: 8px; }
  .blog__carousel .carousel__arrow svg { width: 16px; height: 16px; }
}

/* Karta wpisu */
.bcard,
a.bcard,
.bcard:visited,
.bcard:hover,
.bcard:focus {
  display: flex;
  flex-direction: column;
  background: transparent;
  text-decoration: none;
  color: var(--ink);
}
.bcard__media {
  aspect-ratio: 4 / 2;
  background: var(--bg-soft);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}
.bcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.bcard:hover .bcard__media img { transform: scale(1.04); }
.bcard__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bcard:hover .bcard__title { color: var(--red); }
.bcard__meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.bcard__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); flex: 0 0 auto; }

.carousel__slide.is-blog-hidden {
  display: none;          /* ukrywa slajd */
}

.carousel__track {
  transition: opacity 0.18s ease;  /* płynny fade */
}

/* ============================================================
   INSTAGRAM
   ============================================================ */
.insta {
  padding: 32px 0 64px;
  background: #fff;
}
.insta__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.insta__title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.insta__logo {
  flex: 0 0 auto;
  padding: 8px;
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px;
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(214, 41, 118, .25);
}
.insta__title h2 {
  line-height: 1;
  margin-bottom: 4px;
}
.insta__handle {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.insta__handle:hover { color: var(--red); }

.insta__follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fa7e1e 0%, #d62976 50%, #962fbf 100%);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 16px rgba(214, 41, 118, .25);
}
.insta__follow:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(214, 41, 118, .35);
  color: #fff;
}
.insta__follow svg { transition: transform .2s ease; }
.insta__follow:hover svg { transform: translateX(3px); }

.insta__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 1100px) { .insta__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px)  { .insta__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .insta__grid { grid-template-columns: repeat(2, 1fr); } }

.insta__item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
}
.insta__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.insta__item:hover img { transform: scale(1.05); }

/* Type badge (top-right) */
.insta__type {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 6px;
  padding: 4px 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.insta__type svg { width: 12px; height: 12px; }

/* Hover overlay z likes/comments */
.insta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity .25s ease;
}
.insta__item:hover .insta__overlay { opacity: 1; }
.insta__caption {
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insta__stats {
  display: flex;
  gap: 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.insta__stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.insta__stat svg { width: 13px; height: 13px; }

.insta__footer {
  text-align: center;
  margin-top: 28px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0 0 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .15s ease;
  font-family: inherit;
  position: relative;
}
.more::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.more:hover {
  color: var(--red);
}
.more:hover::before {
  transform: scaleX(1);
}
.more::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: var(--arrow-right) center/contain no-repeat;
          mask: var(--arrow-right) center/contain no-repeat;
  transition: transform .2s ease;
}
.more:hover::after { transform: translateX(3px); }
.more.is-open::after { transform: rotate(90deg); }
.more.is-open:hover::after { transform: rotate(90deg) translateX(3px); }

@media (max-width: 480px) {
  .insta__head { flex-direction: column; align-items: flex-start; }
  .insta__follow { align-self: stretch; justify-content: center; }
}

/* ============================================================
   OPINIE
   ============================================================ */
.reviews { padding: 48px 0; background: #fff; }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.rcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rcard__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rcard__author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rcard__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.rcard__name { font-size: 13px; font-weight: 700; color: var(--ink); }
.rcard__google {
  width: 20px; height: 20px;
  flex: 0 0 auto;
}
.rcard__stars {
  color: #fbbc04;
  font-size: 13px;
  letter-spacing: 1px;
}
.rcard__text {
  font-size: 12px;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1100px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .reviews__grid { grid-template-columns: 1fr; } }

/* ============================================================
   SEO TEXT
   ============================================================ */
.seo { padding: 48px 0; border-top: 1px solid var(--line); margin-top: 50px; }
.seo h2 { margin: 40px 0 10px; font-size: var(--h3-size); }
.seo__body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  position: relative;
  max-height: 160px;
  overflow: hidden;
  transition: max-height .4s ease;
}
.seo__body p { margin: 0 0 12px; color: var(--ink); font-size: var(--fs-base); }
.seo__body li { color: var(--ink); font-size: var(--fs-base) }
.seo__body strong { color: var(--ink); }
.seo__body::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 80%);
  pointer-events: none;
  transition: opacity .3s ease;
}
.seo__body.is-open {
  max-height: 4000px;
}
.seo__body.is-open::after { opacity: 0; }

/* ============================================================
   FOOTER (czarny)
   ============================================================ */
.site-footer {
  background: #000;
  color: #fff;
  padding: 64px 0 0;
  font-size: 15px;
  line-height: 1.55;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.3fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-col h3 { font-size: var(--h4-size); margin: 0 0 24px; color: var(--white);}
.footer-col h3.sub { margin-top: 32px; }
.footer-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 5px;
}
.footer-links li {
  position: relative;
  padding-left: 18px;
}
.footer-links li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 7px; height: 7px;
  background: var(--red);
}
.footer-links li.spacer { padding-left: 0; height: 8px; }
.footer-links li.spacer::before { display: none; }
.footer-links a { color: #fff; transition: color .15s ease; }
.footer-links a:hover { color: var(--red); }

.btn-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: background .15s ease, transform .15s ease;
}
.btn-account:hover { background: var(--red-hover); color: #fff; transform: translateY(-1px); }
.btn-account .arrow { transition: transform .15s ease; }
.btn-account:hover .arrow { transform: translate(2px, -2px); }

.payments-card { background: #f6f6f6; border-radius: 8px; padding: 14px 16px; color: #1a1a1a; }

.shipping-card {
  background: #f6f6f6; border-radius: 8px; padding: 12px 14px;
  display: inline-flex; align-items: center; gap: 10px; color: #1a1a1a;
}
.ship-box {
  width: 28px; height: 28px; border-radius: 4px;
  background: #ffd400; display: grid; place-items: center;
  font-weight: 800; font-size: 10px; color: #1a1a1a;
}
.shipping-card .ship-name { font-size: 12px; font-weight: 700; }
.shipping-card .ship-sub { font-size: 10px; color: #6b6b6b; display: block; font-weight: 500; }

.contact-block { display: flex; gap: 14px; align-items: flex-start; }
.contact-block + .contact-block { margin-top: 24px; }
.contact-icon {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--red);
  display: grid; place-items: center;
  color: #fff;
}
.contact-icon svg { width: 16px; height: 16px; }
.contact-body { font-size: 14px; }
.contact-body .lead { display: block; font-weight: 700; margin-bottom: 4px; color: #fff; }
.contact-body a { color: inherit; }
.contact-body a:hover { color: var(--red); }
.contact-body div { color: #d4d4d4; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0 26px;
  text-align: center;
  font-size: 13px;
  color: #b8b8b8;
}
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: var(--red); }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
@media (max-width: 600px) {
  .site-footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .pay-grid { grid-template-columns: repeat(4, 1fr); }
}

@media print { .ch-header, .woo-menu-nav, .woo-mobile-overlay, .hero__video, .carousel__arrow { display: none; } }

/* ============================================================
   STRONA KATEGORII
   ============================================================ */
.crumbs {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.crumbs ol {
  list-style: none;
  margin: 0; padding: 14px 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.crumbs li {
  display: inline-flex; align-items: center;
}
.crumbs li:not(:last-child)::after {
  content: "›";
  margin: 0 8px;
  color: var(--muted-2);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs li[aria-current="page"] { color: var(--ink); font-weight: 600; }

.cat-page { padding: 32px 0 64px; }
.cat-page__head {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.cat-page__head h1 { margin-bottom: 12px; }
.cat-page__lead {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
  font-size: 14px;
}
.cat-page__lead strong { color: var(--ink); }

.cat-page__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

/* ---------- Filters sidebar ---------- */
.cat-filters {
  position: sticky;
  top: 80px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 0;
  font-size: 13px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.cat-filters__group { padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.cat-filters__group:last-child { border-bottom: none; }
.cat-filters__group h3 {
  font-size: var(--fs-sm);   /* 13px — uppercase label, nie h3 visual */
  text-transform: uppercase;
  margin: 0 0 12px;
  letter-spacing: .05em;
  color: var(--ink);
}
.cat-filters__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cat-filters__list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-radius: 4px;
  color: var(--ink);
  font-size: 13px;
  transition: background .15s ease, color .15s ease;
}
.cat-filters__list a:hover { background: var(--bg-soft); color: var(--red); }
.cat-filters__list a span {
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 600;
}
.cat-filters__list a.is-active {
  background: var(--ink);
  color: #fff;
}
.cat-filters__list a.is-active span { color: rgba(255,255,255,.7); }

.cat-filters__price {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cat-filters__price input {
  flex: 1; min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 13px;
  font-family: inherit;
}
.cat-filters__price input:focus { outline: none; border-color: var(--ink); }
.cat-filters__price button {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 12px;
  font-family: inherit;
}
.cat-filters__price button:hover { background: var(--red); }

.cat-filters-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 99;
  opacity: 0;
  transition: opacity .25s ease;
}
.cat-filters-backdrop.is-open { display: block; opacity: 1; }

/* ---------- Toolbar ---------- */
.cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 13px;
}
.cat-toolbar__filter-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  font-family: inherit;
}
.cat-toolbar__filter-btn:hover { border-color: var(--red); color: var(--red); }
.cat-toolbar__count { color: var(--muted); }
.cat-toolbar__count strong { color: var(--ink); }
.cat-toolbar__sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.cat-toolbar__sort select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}
.cat-toolbar__sort select:focus { outline: none; border-color: var(--ink); }

/* ---------- Product grid (generic — archive, related, shortcodes) ---------- */
.woocommerce ul.products {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
@media (max-width: 1280px) { .woocommerce ul.products { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1024px) { .woocommerce ul.products { grid-template-columns: repeat(4, 1fr); gap: 15px; } }
@media (max-width: 768px)  { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* Karta produktu — używamy .pcard (przez content-product.php override) */

/* ---------- SEO box ---------- */
.cat-seo {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.cat-seo h2 { margin-bottom: 16px; }
.cat-seo strong { color: var(--ink); }
.cat-seo a { color: var(--red); text-decoration: underline; }

/* ---------- Mobile filters: drawer ---------- */
@media (max-width: 980px) {
  .cat-page__layout { grid-template-columns: 1fr; }
  .cat-toolbar__filter-btn { display: inline-flex; }

  .cat-filters {
    position: fixed;
    top: 0; left: -100%;
    width: 86%;
    max-width: 360px;
    height: 100vh;
    max-height: none;
    background: #fff;
    border: none;
    border-radius: 0;
    z-index: 100;
    transition: left .3s ease;
    box-shadow: 5px 0 20px rgba(0,0,0,.1);
    padding-top: 56px;
  }
  .cat-filters.is-open { left: 0; }
  .cat-filters::before {
    content: "Filtry";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 56px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-weight: 700;
    font-size: 18px;
  }
  .cat-filters .cat-filters__close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
  }
}

@media (max-width: 480px) {
  .cat-toolbar { flex-wrap: wrap; padding: 10px 12px; }
  .cat-toolbar__count { width: 100%; order: 3; }
}

/* ============================================================
   WORDPRESS / WOOCOMMERCE — ARCH BANNER (kategoria, atrybut)
   ============================================================ */

/* Separator — wyraźna granica między nawigacją a searchbarem */
.search--top {
  border-left: 1px solid rgba(255,255,255,.2);
  padding-left: 5px;
  margin-left: 6px;
  margin: 0 auto;
}

/* Banner archiwum */
.arch-banner {
  position: relative;
  background: #0d0d0f;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.arch-banner.has-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.7) 0%, rgba(0,0,0,.85) 100%);
  z-index: 1;
}
.arch-banner--search { min-height: 160px; }

.arch-banner__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 60%, transparent 100%),
    linear-gradient(to bottom, rgba(0,0,0,.3) 0%, rgba(0,0,0,.7) 100%);
  z-index: 1;
  pointer-events: none;
}
.arch-banner__inner {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 30px;
}
.arch-banner__title {
  font-size: clamp(2rem, 4vw + 1rem, 2.5rem);
  color: #fff;
  letter-spacing: -.02em;
  line-height: normal;
  margin: 0;
}
.arch-banner__title em {
  font-style: normal;
  color: var(--red);
}

/* ============================================================
   ARCH — główna sekcja
   ============================================================ */
.arch-main {
  padding: 0 0 64px;
}
.arch-main > .wrap {
  padding-top: 0;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 14px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.breadcrumbs a {
  color: var(--muted);
  transition: color .15s ease;
}
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs__sep {
  color: var(--muted-2);
  font-size: 16px;
  line-height: 1;
  margin: 0 2px;
}
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* Paginacja */
.arch-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 32px 0 0;
  flex-wrap: wrap;
}
.arch-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
  padding: 0 10px;
}
.arch-pagination .page-numbers:hover { border-color: var(--red); color: var(--red); }
.arch-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Load more button */
/* .plm-btn-container + .plm-btn:disabled — definicje w sekcji PLM niżej */

.plm-loader {
    display: none;
    align-items: center;
    gap: 8px;
}

.plm ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Brak produktów */
.arch-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
}
.arch-empty svg {
  margin: 0 auto 16px;
  color: var(--muted-2);
}
.arch-empty h2 { margin-bottom: 8px; }
.arch-empty p { max-width: 400px; margin: 0 auto 24px; font-size: 14px; }
.arch-empty__form {
  display: flex;
  gap: 8px;
  max-width: 360px;
  margin: 0 auto;
}
.arch-empty__form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease;
}
.arch-empty__form input:focus { border-color: var(--red); }

/* ============================================================
   WOOCOMMERCE — <li class="product"> jest tylko grid cell.
   Karta renderowana jako .pcard przez content-product.php (template override)
   ============================================================ */
.woocommerce ul.products li.product {
  list-style: none;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

/* ============================================================
   WOOCOMMERCE — usuń domyślny margines list i czyść floaty
   ============================================================ */
.woocommerce .products::before,
.woocommerce .products::after { display: none; }

/* Footer linki — spacer */
.footer-links .spacer { height: 6px; list-style: none; }

/* SEO section bez dodatkowego .wrap (używamy rodzica) */
#catSeoSection.seo .wrap { padding-left: 0; padding-right: 0; }

/* ============================================================
   SINGLE PRODUCT — strona produktu
   ============================================================ */
.sp-main { padding: 0px 0 64px; }

.sp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 24px;
  align-items: flex-start;
}

/* Lewa kolumna (galeria + upsell) */
.sp-left { display: flex; flex-direction: column; gap: 24px; }

/* Galeria */
.sp-gallery {
  padding: 24px;
}

/* Upsell pod galerią — używamy istniejących .pcard z karuzeli */
.sp-upsell { margin-top: 8px; }
.sp-upsell__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .sp-upsell__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sp-upsell__grid { grid-template-columns: 1fr; }
}
/* Wrapper galerii — obetnij wszystko co mogłoby wystawać (slajdy WC FlexSlider) */
.sp-gallery .woocommerce-product-gallery,
.sp-gallery .flex-viewport {
  overflow: hidden;
  max-width: 450px;
  margin: 0 auto;
}

.sp-gallery .woocommerce-product-gallery__image img,
.sp-gallery img {
  width: 100%;
  height: auto;
  max-width: 450px;
  margin: 0 auto;
  object-fit: contain;
  display: block;
}

/* Ukryj wszystkie slajdy poza pierwszym (gdyby slider WC odpalił się) */
.sp-gallery .woocommerce-product-gallery__image:not(.flex-active-slide) ~ .woocommerce-product-gallery__image {
  display: none;
}
.sp-gallery .woocommerce-product-gallery__trigger { display: none; }

/* Zdjęcie produktu — nieklikalne, bez zoom/lightbox */
.sp-gallery .woocommerce-product-gallery__image a {
  pointer-events: none;
  cursor: default;
}

/* Ukryj thumbnaile pod galerią — zostaje tylko główne zdjęcie */
.sp-gallery .flex-control-nav,
.sp-gallery .flex-control-thumbs { display: none !important; }

/* Info (prawa) */
.sp-info { padding-top: 8px; }

.sp-title {
  font-size: var(--h1-size);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -2px;
}

/* Mobile — układ kolumnowy */
@media (max-width: 900px) {
  .sp-grid { grid-template-columns: 1fr; gap: 24px; }
  .sp-gallery { position: static; padding: 16px; }
}

/* Box informacyjny (cena, dodaj do koszyka) */
.sp-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
}

.sp-ids {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--ink);
}
.sp-ids strong { font-weight: 700; }

.sp-sep {
  border: none;
  border-top: 1px solid var(--line);
  margin: 16px 0;
}

.sp-price-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.sp-price {
  font-size: var(--h1-size);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -2px;
}
.sp-price del { color: var(--muted-2); font-size: 18px; font-weight: 500; margin-right: 8px; }
.sp-price ins { text-decoration: none; color: var(--ink); }

.sp-stock {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--stock-green-bg);
  color: var(--stock-green);
}
.sp-stock--outofstock { background: var(--stock-red-bg); color: var(--stock-red); }
.sp-stock--onbackorder { background: var(--stock-yellow-bg); color: var(--stock-yellow); }

/* Formularz dodawania do koszyka */
.sp-cart-form { margin: 0; }
.sp-cart-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 10px;
  align-items: stretch;
}
.sp-cart-row--split {
  grid-template-columns: 80px 1fr 1fr;
}

.sp-order-bar {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}
.sp-order-bar span {
  font-size: 12px;
  align-self: end;
}
.sp-qty {
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.sp-qty:focus { outline: none; border-color: var(--ink); }

.sp-add-to-cart {
  height: 48px;
  padding: 0 24px;
  font-size: 13px;
  border-radius: 4px;
  justify-content: center;
}

/* Anty-blokada add-to-cart — wymuś klikalność (gdy plugin/snippet narzuca pointer-events:none lub cursor:not-allowed CSSem) */
.sp-add-to-cart,
.sp-add-to-cart:hover,
.sp-add-to-cart:focus,
.sp-add-to-cart:active {
  pointer-events: auto !important;
  cursor: pointer !important;
  opacity: 1 !important;
}

/* Loading state — spinner zamiast tekstu podczas AJAX */
.sp-add-to-cart.is-loading {
  position: relative;
  color: transparent !important;
}
.sp-add-to-cart.is-loading::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: atcSpin .7s linear infinite;
}
@keyframes atcSpin { to { transform: rotate(360deg); } }

/* ============================================================
   WooCommerce notices — dymki błędów / komunikatów
   ============================================================ */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  list-style: none;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}
.woocommerce-error {
  background: #fff;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.woocommerce-message {
  background: #fff;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.woocommerce-info {
  background: #fff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background-color: currentColor;
  -webkit-mask: center/contain no-repeat;
          mask: center/contain no-repeat;
}
.woocommerce-error::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}
.woocommerce-message::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.woocommerce-info::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='16'/%3E%3Cline x1='12' y1='12' x2='12' y2='12'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='16'/%3E%3Cline x1='12' y1='12' x2='12' y2='12'/%3E%3C/svg%3E");
}
.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li {
  margin: 0;
}
.woocommerce-error .button,
.woocommerce-message .button,
.woocommerce-info .button {
  margin-left: auto;
  white-space: nowrap;
}

/* Dymek w prawym dolnym rogu */
.woocommerce-error:not(.inplace) {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 380px;
  width: calc(100% - 48px);
  z-index: 100000;
  margin: 0;
  animation: woocommerceNoticeIn .35s cubic-bezier(.2, .9, .3, 1.2) both;
}
@keyframes woocommerceNoticeIn {
  from { opacity: 0; transform: translateY(24px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   ATC — Add To Cart: badge bump + toast + flyer
   ============================================================ */

/* Badge bump po dodaniu */
@keyframes atcBadgeBump {
  0%   { transform: scale(1); }
  25%  { transform: scale(1.5); background: #098500; }
  60%  { transform: scale(.85); }
  100% { transform: scale(1); }
}
.cart__badge.is-bumped {
  animation: atcBadgeBump .55s cubic-bezier(.4, 0, .2, 1);
}

/* Toast w prawym dolnym rogu */
.atc-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 380px;
  width: calc(100% - 48px);
  z-index: 100000;
  opacity: 0;
  transform: translateY(24px) scale(.95);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .9, .3, 1.2);
}
.atc-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.atc-toast__inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 0px 10px rgba(0,0,0,0.2);
  overflow: hidden;
  cursor: pointer;
}
.atc-toast__main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px 10px 16px;
}
.atc-toast__thumb {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--bg-soft);
}
.atc-toast__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf7ed;
  color: #098500;
  border-radius: 50%;
}
.atc-toast.is-error .atc-toast__icon {
  background: var(--stock-red-bg);
  color: var(--red);
}
.atc-toast__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.atc-toast__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
}
.atc-toast__text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.atc-toast__close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s ease, color .15s ease;
  padding: 0;
}
.atc-toast__close:hover {
  background: var(--bg-soft);
  color: var(--ink);
}
.atc-toast__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 12px;
}
.atc-toast__link {
  text-decoration: none;
  color: var(--red);
}
.atc-toast__link.more {
  padding: 0 0 4px;
  gap: 4px;
}
.atc-toast__link.more::after {
  content: "→";
  -webkit-mask: none;
  mask: none;
  background: none;
  width: auto;
  height: auto;
  font-size: 14px;
  color: var(--red);
  transform: none;
  transition: transform .2s ease;
}
.atc-toast__link.more:hover::after {
  transform: translateX(3px);
}
.atc-toast__timer {
  font-size: 11px;
  color: var(--muted);
  opacity: .7;
}
.atc-toast__bar {
  height: 3px;
  background: var(--red);
  width: 100%;
  border-radius: 0 0 12px 12px;
}

@media (max-width: 600px) {
  .atc-toast {
    left: 12px;
    bottom: 12px;
    max-width: none;
    width: calc(100% - 24px);
  }
}

/* "Zapytaj o dostępność" — pełna szerokość boksa */
.sp-ask-availability {
  width: 100%;
  height: 48px;
  padding: 0 24px;
  font-size: 13px;
  border-radius: 4px;
  justify-content: center;
}

/* Override .btn--outline na jasnym tle (sp-info ma białe tło) */
.sp-info .btn--outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.sp-info .btn--outline:hover {
  background: var(--bg-soft);
  color: var(--ink);
  border-color: var(--ink);
}

.sp-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  background: #0d0d0f;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease;
}
.sp-order-btn:hover {
  background: var(--red);
}

.sp-unavailable {
  margin: 16px 0 0;
  padding: 12px;
  background: var(--stock-red-bg);
  color: var(--stock-red);
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
}

/* Mobile — kompaktowy box */
@media (max-width: 600px) {
  .sp-cart-row {
    grid-template-columns: 80px 1fr;
  }
  .sp-order-btn { grid-column: 1 / -1; }
  .sp-price { font-size: 26px; }
}

/* Box "Interesuje Cię hurtowa ilość?" */
.sp-wholesale {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: 13px;
  flex-wrap: wrap;
}
.sp-wholesale__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-soft);
  border-radius: 50%;
  color: var(--ink);
  flex: 0 0 auto;
}
.sp-wholesale__text {
  flex: 1;
  min-width: 140px;
  font-size: var(--fs-sm);
}
.sp-wholesale__btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--bg-soft);
  color: var(--ink);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background .15s ease, color .15s ease;
}
.sp-wholesale__btn:hover {
  background: var(--ink);
  color: #fff;
}
.sp-wholesale__or {
  color: var(--muted);
  font-size: 12px;
}

/* Info box (następna wysyłka / darmowa wysyłka / loga) — własne klasy */
.sp-info-box {
  display: flex;
  gap: 45px;
  font-size: 13px;
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}
.sp-info-col { width: 50%; }

.sp-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}
.sp-info-item:last-child { margin-bottom: 0; }

.sp-info-item__icon {
  margin-right: 8px;
  display: flex;
  align-items: flex-start;
  padding-top: 1px;
  flex: 0 0 auto;
  color: var(--ink);
}
.sp-info-item__body { flex: 1; min-width: 0; }
.sp-info-item__title {
  color: var(--ink);
  font-size: var(--fs-sm);
  line-height: 1.5em;
}
.sp-info-item__title--ok {
  color: #098500;
  font-weight: 700;
}

.sp-info-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.sp-info-logo {
  height: 25px!important;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .sp-info-box {
    flex-direction: column;
    gap: 0;
  }
  .sp-info-col { width: 100%; }
  .sp-info-item { margin-bottom: 8px; }
  .sp-info-logo { height: 20px; }

  .sp-wholesale { padding: 12px; }
  .sp-wholesale__text { width: 100%; flex: 1 1 100%; font-size: var(--fs-sm); }
}

/* ============================================================
   SP-SECTION — opis / parametry / opinie (ikona 100px + content)
   ============================================================ */
.sp-section {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.sp-section__icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex: 0 0 auto;
}
.sp-section__icon svg { width: 70px; height: 70px }
.sp-section__body { min-width: 0; }

.sp-section__title {padding: 0 0 20px;}

/* Treść (the_content filter) */
.sp-section__content {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}
.sp-section__content p { margin: 0 0 14px; }
.sp-section__content p:last-child { margin-bottom: 0; }
.sp-section__content strong { font-weight: 700; color: var(--ink); }
.sp-section__content ul,
.sp-section__content ol { margin: 0 0 14px; padding-left: 22px; }
.sp-section__content li { margin-bottom: 4px; }
.sp-section__content h2,
.sp-section__content h3,
.sp-section__content h4 {
  font-size: var(--h4-size);
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--ink);
}
.sp-section__content a { color: var(--red); text-decoration: underline; }

/* Tabela parametrów technicznych */
.sp-attrs {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.sp-attrs th,
.sp-attrs td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px dashed var(--line);
  vertical-align: top;
}
.sp-attrs th {
  width: 20%;
  font-weight: 700;
  color: var(--ink);
}
.sp-attrs td { color: var(--ink); }
.sp-attrs tr:last-child th,
.sp-attrs tr:last-child td { border-bottom: none; }

/* ============================================================
   Sekcja opinii — form i lista (WooCommerce / WP comments)
   ============================================================ */
.sp-section .woocommerce-noreviews,
.sp-section .reviews-title,
.sp-section #review_form_wrapper p:not(.stars):not(.comment-form-comment):not(.form-submit) {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
}

/* Lista istniejących opinii */
.sp-section .commentlist {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.sp-section .commentlist .comment_container {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.sp-section .commentlist .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.sp-section .commentlist .comment-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}
.sp-section .commentlist .meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.sp-section .commentlist .meta strong {
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}

/* Form opinii — wrapper */
.sp-section #review_form_wrapper { margin-top: 8px; }
.sp-section #review_form .comment-reply-title {
  display: block;
  font-size: var(--h2-size);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
}

/* Label */
.sp-section .comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

/* Grid 2-kolumnowy całej sekcji: opinie po lewej, formularz po prawej */
.sp-section #reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  align-items: start;
}

.sp-section #reviews #comments { grid-column: 1; }
.sp-section #reviews #review_form_wrapper { grid-column: 2; margin-top: 0; }

/* Przywróć form do 1 kolumny */
.sp-section #review_form .comment-form {
  display: block;
}
.sp-section .comment-form-comment textarea { height: 120px; }

/* Gwiazdki oceny — Unicode ★ (WC font wyłączony przez woocommerce_enqueue_styles → empty) */
.sp-section .stars {
  display: inline-flex;
  gap: 4px;
  margin: 0;
  line-height: 1;
}
.sp-section .stars a {
  font-size: 0;                    /* zabija cały tekst linka ("1 z 5 gwiazdek") */
  text-decoration: none;
  color: var(--muted);
  transition: color .15s ease;
  cursor: pointer;
  display: inline-block;
}
.sp-section .stars a::before {
  content: "★";
  font-size: 22px;
  line-height: 1;
  color: inherit;                  /* dziedziczy z <a> — pozwala na hover/selected */
  display: inline-block;
}
/* Hover: wszystkie do najechanej zapełnione, dalsze szare */
.sp-section .stars:hover a { color: #fbbc04; }
.sp-section .stars a:hover ~ a { color: var(--muted); }
/* Selected (po kliknięciu): aktywna + wszystkie przed nią yellow, dalsze szare */
.sp-section .stars.selected a { color: #fbbc04; }
.sp-section .stars.selected a.active ~ a { color: var(--muted); }

/* Star rating w istniejących opiniach — styl jak .stars */
.sp-section .star-rating {
  position: relative;
  display: inline-block;
  width: 5.73em;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  font-family: inherit;
  font-size: 22px;
}
.sp-section .star-rating::before {
  content: "★★★★★";
  color: var(--muted);
  letter-spacing: 4px;
  position: absolute;
  top: 0;
  left: 0;
}
.sp-section .star-rating span {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0;
}
.sp-section .star-rating span::before {
  content: "★★★★★";
  font-size: 22px;
  letter-spacing: 4px;
  color: #fbbc04;
}

/* Textarea */
.sp-section .comment-form-comment textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  background: #fff;
  color: var(--ink);
  resize: vertical;
  transition: border-color .15s ease;
  box-sizing: border-box;
}
.sp-section .comment-form-comment textarea:focus {
  outline: none;
  border-color: var(--ink);
}

/* Inputy (author, email) */
.sp-section .comment-form input[type="text"],
.sp-section .comment-form input[type="email"],
.sp-section .comment-form input[type="url"] {
  width: 100%;
  max-width: 360px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease;
  box-sizing: border-box;
}
.sp-section .comment-form input[type="text"]:focus,
.sp-section .comment-form input[type="email"]:focus,
.sp-section .comment-form input[type="url"]:focus {
  outline: none;
  border-color: var(--ink);
}

/* Wymagana gwiazdka */
.sp-section .comment-form .required { color: var(--red); }

/* Submit — przepuszczony przez .more (klasa dodana przez filter w functions.php) */
.sp-section .form-submit { margin: 8px 0 0; }
.sp-section .form-submit .more {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

@media (max-width: 768px) {
  .sp-section {
    grid-template-columns: 60px 1fr;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
  }
  .sp-section__icon { width: 60px; height: 60px; }
  .sp-attrs th, .sp-attrs td { padding: 10px 8px; font-size: 13px; }
  .sp-attrs th { width: 40%; }

  .sp-section #reviews {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sp-section #reviews #comments,
  .sp-section #reviews #review_form_wrapper { grid-column: 1; }
}

/* ============================================================
   POPUP "Zapytaj o dostępność"
   ============================================================ */
.ask-popup__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 99998;
  opacity: 0;
  transition: opacity .2s ease;
}
.ask-popup__overlay.is-open { opacity: 1; }

.ask-popup {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  background: #fff;
  padding: 28px;
  border-radius: 10px;
  width: 90%;
  max-width: 450px;
  z-index: 99999;
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.ask-popup.is-open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.ask-popup__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  padding: 4px 8px;
  font-family: inherit;
}
.ask-popup__close:hover { color: var(--red); }
.ask-popup__title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.ask-popup__product {
  font-size: 13px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.5;
}
.ask-popup__product strong { color: var(--ink); }

.ask-popup__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 12px 0 6px;
  color: var(--ink);
}
.ask-popup__input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  box-sizing: border-box;
  outline: none;
  transition: border-color .15s ease;
}
.ask-popup__input:focus { border-color: var(--ink); }

.ask-popup__radios {
  display: flex;
  gap: 18px;
  margin-top: 4px;
}
.ask-popup__radios label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin: 0;
}

.ask-popup__submit {
  width: 100%;
  margin-top: 18px;
  justify-content: center;
  padding: 12px;
  font-size: 13px;
}
.ask-popup__msg {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
  min-height: 18px;
}

@media (max-width: 480px) {
  .ask-popup { padding: 20px; }
}

/* ============================================================
   PLM — shortcode [products_load_more] (grid produktów + load-more)
   Karty: .pcard
   ============================================================ */
.plm {
  margin-top: 0px;
  padding-top: 40px;
}
.plm__title {
  font-size: var(--h2-size);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 24px;
}
.plm-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.plm-btn:disabled { opacity: .5; cursor: wait; }

@media (max-width: 600px) {
  .plm { margin-top: 32px; padding-top: 24px; }
}

/* Filtry — style wstrzykiwane przez klasę Zuzu_Ajax_Filters w functions.php
   (selektory z prefixem #zuzu-filters, .zuzu-filter-*) */

/* ============================================================
   PLM 
   ============================================================ */

/* ── Wrapper ─────────────────────────────────────────────── */
.plm {
    /* Styl archiwum: oddzielony od reszty strony */
    margin-top: 0px;
    padding-top: 40px;
    --plm-cols:        6;
    --plm-cols-tablet: 4;
    --plm-cols-mobile: 2;
}

/* Ukryj domyślną paginację WooCommerce wewnątrz .plm */
.plm .woocommerce-pagination,
.plm .load-more-bar {
    display: none !important;
}

/* ── Siatka produktów ────────────────────────────────────── */
/* Nadpisuje .woocommerce ul.products tylko wewnątrz .plm,
   używając CSS custom properties ustawionych przez shortcode
   (lub wartości domyślnych powyżej). */

.plm ul.products,
.plm ol.products {
    display: grid !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;

    /* Mobile — domyślnie 2 kolumny */
    grid-template-columns: repeat(var(--plm-cols-mobile), 1fr) !important;
    gap: 12px !important;
}

/* Usuń pseudoelementy czyszczące floaty (stary WooCommerce) */
.plm ul.products::before,
.plm ul.products::after,
.plm ol.products::before,
.plm ol.products::after {
    display: none !important;
}

/* Element listy — pełna szerokość komórki siatki */
.plm ul.products li.product,
.plm ol.products li.product {
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}

/* Tablet ≥ 769px */
@media (min-width: 769px) {
    .plm ul.products,
    .plm ol.products {
        grid-template-columns: repeat(var(--plm-cols-tablet), 1fr) !important;
        gap: 15px !important;
    }
}

/* Desktop ≥ 1025px */
@media (min-width: 1025px) {
    .plm ul.products,
    .plm ol.products {
        grid-template-columns: repeat(var(--plm-cols), 1fr) !important;
        gap: 20px !important;
    }
}

/* ── Przycisk „Pokaż więcej" ─────────────────────────────── */
.plm-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 32px;
    margin-bottom: 20px;
    clear: both;
}

/* .plm-btn dziedziczy style z .more (zdefiniowanego globalnie).
   Tu tylko PLM-specyficzne overrides: */
.plm-btn {
    /* Overridy tylko gdy globalne .more jest za słabe */
    min-width: 160px;
}

.plm-btn:disabled {
    opacity: .5;
    cursor: wait;
}

/* Mobile — przycisk na całą szerokość */
@media (max-width: 600px) {
    .plm { margin-top: 32px; padding-top: 24px; }

    .plm-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ── Loader ──────────────────────────────────────────────── */
.plm-loader {
    display: none; /* pokazywany przez JS */
    font-size: 13px;
    font-style: italic;
    color: var(--muted);
    animation: plm-blink 1.2s ease-in-out infinite;
}

@keyframes plm-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: .4; }
}

/* ============================================================
   FILTRY AJAX (plugin Zuzu Ajax Filters)
   Style w naszym style.css — możesz edytować bezpośrednio tutaj.
   Selektory takie same jak plugin, ale nasz CSS ładuje się PÓŹNIEJ
   więc nadpisuje jego domyślne inline style.
   ============================================================ */
#zuzu-filters {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  padding: 15px 0 20px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
#zuzu-filters.loading::after {
  content: 'Filtrowanie...';
  position: absolute;
  top: -5px;
  right: 10px;
  font-size: 12px;
  opacity: .7;
  color: var(--muted);
}

.zuzu-filter-group {
  position: relative;
  min-width: 0;
}

/* Pill button — kafelek na otwarcie dropdownu */
.zuzu-filter-header {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.zuzu-filter-header:hover {
  border-color: var(--ink);
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.zuzu-filter-group.open .zuzu-filter-header {
  border-color: var(--ink);
}
.zuzu-filter-header .arrow {
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
  transition: transform .2s ease;
}
.zuzu-filter-group.open .zuzu-filter-header .arrow {
  transform: rotate(180deg);
}

/* Dropdown z opcjami */
.zuzu-filter-box {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: none;
  min-width: 240px;
  max-height: 320px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  z-index: 100;
  overflow: hidden;
}
.zuzu-filter-group.open .zuzu-filter-box { display: block; }

/* Search input wewnątrz dropdown */
.zuzu-filter-search-wrap {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.zuzu-filter-search {
  width: 100%;
  padding: 7px 10px !important;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  background: #fff;
  transition: border-color .15s ease;
}
.zuzu-filter-search:focus { border-color: var(--ink); }

/* Lista opcji */
.zuzu-filter-options {
  max-height: 220px;
  overflow-y: auto;
  padding: 8px;
}
.zuzu-filter-options::-webkit-scrollbar { width: 6px; }
.zuzu-filter-options::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}

/* Label opcji = checkbox + nazwa + licznik */
.zuzu-filter-box label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  margin: 0 0 2px;
  transition: background .15s ease;
  color: var(--ink);
}
.zuzu-filter-box label:hover { background: var(--bg-soft); }

.zuzu-filter-box .filter-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.zuzu-filter-box input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--red);
  flex: 0 0 auto;
  margin: 0;
}
.zuzu-filter-box .count {
  color: var(--muted-2);
  font-size: 11px;
  flex-shrink: 0;
}

.zuzu-no-results {
  padding: 20px;
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
}

/* Button "Wyczyść filtry" */
.zuzu-reset-filters {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  grid-column: 8;
  transition: background .15s ease;
  font-family: inherit;
}
.zuzu-reset-filters:hover { background: var(--red); }

@media (max-width: 1200px) {
  #zuzu-filters { grid-template-columns: repeat(4, 1fr); }
  .zuzu-reset-filters { grid-column: 4; }
}
@media (max-width: 768px) {
  #zuzu-filters { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .zuzu-filter-header { font-size: 12px; padding: 8px 10px; }
  .zuzu-reset-filters { grid-column: 1 / -1; }
  .zuzu-filter-box {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    z-index: 9999 !important;
  }
  .zuzu-filter-group:nth-child(even) .zuzu-filter-box {
    left: auto !important;
    right: 0 !important;
  }
}

/* ============================================================
   Ukryj domyślne elementy WooCommerce w pętli produktów —
   zostawiamy tylko nasz .pcard markup
   ============================================================ */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product > a.woocommerce-loop-product__link {
  display: contents;
}
.woocommerce ul.products li.product > a > .woocommerce-loop-product__title,
.woocommerce ul.products li.product > a > .price,
.woocommerce ul.products li.product > a > h2,
.woocommerce ul.products li.product > .woocommerce-loop-product__title,
.woocommerce ul.products li.product > h2,
.woocommerce ul.products li.product > .price,
.woocommerce ul.products li.product > .button,
.woocommerce ul.products li.product > a.added_to_cart,
.woocommerce ul.products li.product > a.add_to_cart_button,
.woocommerce ul.products li.product > .custom-product-card { display: none !important; }

/* Override snippeta z Code Snippets — wymuszamy display na obrazku w .pcard__media.
   Specyficzność (0,7,5) > snippet (0,4,5) — wygrywa nawet przy równym !important */
html body .woocommerce ul.products li.product article.pcard a.pcard__media > img[src] {
  display: block !important;
}

/* ============================================================
   BLOG — archive (home.php / archive.php) + single (single.php)
   ============================================================ */

/* Archiwum / lista bloga — wspólne dla .blog-home (home.php) i .blog-archive (archive.php) */
.blog-home,
.blog-archive {
  padding: 32px 0 64px;
}
.blog-home__head,
.blog-archive__head {
  max-width: 760px;
  margin: 12px 0 28px;
}
.blog-home__title,
.blog-archive__title {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  margin: 0 0 12px;
  letter-spacing: -.02em;
}
.blog-home__lead,
.blog-archive__lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.blog-home__tabs,
.blog-archive__tabs {
  margin: 0 0 32px;
}
.blog-home__tabs.blog__tabs a,
.blog-archive__tabs.blog__tabs a {
  display: inline-block;
  text-decoration: none;
}

/* Grid wpisów */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .blog-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Rozszerzenie .bcard o badge kategorii + excerpt */
.bcard__media { position: relative; }
.bcard__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 10px;
  border-radius: 6px;
  line-height: 1;
}
.bcard__excerpt {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.3;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Paginacja */
.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 48px 0 0;
}
.blog-pagination__item .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.blog-pagination__item .page-numbers:hover { border-color: var(--ink); }
.blog-pagination__item .page-numbers.current {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.blog-pagination__item .page-numbers.dots { border: none; background: transparent; }

.blog-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
  font-size: 16px;
}

/* ============================================================
   BLOG CONTENT — czysty HTML (konwersja z Divi)
   ============================================================ */
.blog-content { padding: 32px 0; }
.blog-content__grid { display: grid; grid-template-columns: 3fr 2fr; gap: 32px; align-items: start; margin-bottom: 32px; }
.blog-content__text h2 { font-size: 22px; line-height: 1.3; margin: 0 0 16px; }
.blog-content__text p { margin: 0 0 12px; }
.blog-content__image img { width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 640px) { .blog-content__grid { grid-template-columns: 1fr; } }

/* ============================================================
   SINGLE POST — .blog-single (single.php)
   ============================================================ */
.blog-single .breadcrumbs { padding: 24px 0 0; border-bottom: none; }

.blog-single__hero {
  position: relative;
  margin: 20px 0 0;
  padding: 64px 0 56px;
  background: var(--bg-soft);
  color: var(--ink);
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
}
.blog-single__hero.has-image {
  color: #fff;
  padding: 96px 20px 72px;
  min-height: 320px;
  max-width: 1430px;
  margin-left: auto;
  margin-right: auto;
}
.blog-single__hero.has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.65) 100%);
  pointer-events: none;
}
.blog-single__hero-inner { position: relative; }
.blog-single__hero-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.blog-single__hero-cat {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s;
}
.blog-single__hero-cat:hover { background: var(--red-hover); color: #fff; }
.blog-single__hero-title {
  font-size: clamp(1.75rem, 2.4vw + 1rem, 3rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 20px;
  max-width: 720px;
}
.blog-single__hero.has-image .blog-single__hero-title { color: #fff; }
.blog-single__hero-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.blog-single__hero.has-image .blog-single__hero-meta { color: rgba(255,255,255,.85); }
.blog-single__hero-meta .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
}

/* Body */
.blog-single__body {
  margin-top: 40px;
  max-width: 1000px;
}
.blog-single__content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}
.blog-single__content > * + * { margin-top: 1.2em; }
.blog-single__content h2 {
  font-size: 1.625rem;
  margin: 2em 0 .6em;
  letter-spacing: -.01em;
}
.blog-single__content h3 {
  font-size: 1.25rem;
  margin: 1.6em 0 .5em;
}
.blog-single__content .pcard__title { font-size: 13px; margin: 0 0 14px; }
.blog-single__content h4 { font-size: 1.0625rem; margin: 1.4em 0 .4em; }
.blog-single__content p { margin: 0; }
.blog-single__content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.blog-single__content a:hover { color: var(--red-hover); }
.blog-single__content .plm a,
.blog-single__content .plm a:hover { color: inherit; text-decoration: none; }
.blog-single__content strong { font-weight: 700; }
.blog-single__content ul,
.blog-single__content ol { padding-left: 1.4em; }
.blog-single__content li + li { margin-top: .35em; }
.blog-single__content img,
.blog-single__content figure { border-radius: 10px; overflow: hidden; }
.blog-single__content figure { margin: 1.8em 0; }
.blog-single__content figcaption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}
.blog-single__content blockquote {
  margin: 1.6em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--red);
  background: var(--bg-soft);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--ink-2);
}
.blog-single__content code {
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .9em;
}
.blog-single__content pre {
  background: var(--ink);
  color: #fff;
  padding: 16px 20px;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
}
.blog-single__content pre code { background: transparent; padding: 0; color: inherit; }
.blog-single__content hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.4em 0;
}
.blog-single__content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.blog-single__content th,
.blog-single__content td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.blog-single__content th { font-weight: 600; background: var(--bg-soft); }

.blog-single__pages {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.blog-single__pages span,
.blog-single__pages a {
  display: inline-flex;
  min-width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.blog-single__pages a:hover { border-color: var(--ink); }
.blog-single__pages > span:not(:first-child) {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Tagi */
.blog-single__tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.blog-single__tags-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-right: 4px;
}
.blog-single__tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 13px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.blog-single__tag:hover { background: var(--ink); color: #fff; }

/* Prev/Next */
.blog-single__nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.blog-single__nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s, transform .15s;
}
.blog-single__nav-item:hover {
  border-color: var(--ink);
}
.blog-single__nav-item--next { text-align: right; }
.blog-single__nav-dir {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.blog-single__nav-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 600px) {
  .blog-single__nav { grid-template-columns: 1fr; }
  .blog-single__nav-item--next { text-align: left; }
}

/* Powiązane wpisy */
.blog-single__related {
  margin-top: 80px;
  padding: 48px 0;
  background: var(--bg-soft);
}
.blog-single__related .blog__head { margin-bottom: 28px; }

/* Komentarze */
.blog-single__comments {
  margin-top: 64px;
  max-width: 800px;
}
.blog-single__comments .comments-title,
.blog-single__comments h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.blog-single__comments .comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.blog-single__comments .comment-list li { margin-bottom: 24px; }
.blog-single__comments .comment-body {
  padding: 20px;
  background: var(--bg-soft);
  border-radius: 10px;
}
.blog-single__comments .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-weight: 600;
}
.blog-single__comments .comment-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.blog-single__comments .comment-metadata {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.blog-single__comments .comment-reply-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--red);
  text-decoration: none;
}
.blog-single__comments .comment-reply-link:hover { text-decoration: underline; }
.blog-single__comments .children { list-style: none; padding-left: 32px; margin-top: 16px; }
.blog-single__comments .comment-form-comment textarea,
.blog-single__comments .comment-form input[type="text"],
.blog-single__comments .comment-form input[type="email"],
.blog-single__comments .comment-form input[type="url"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  transition: border-color .15s;
}
.blog-single__comments .comment-form textarea:focus,
.blog-single__comments .comment-form input:focus {
  outline: none;
  border-color: var(--ink);
}
.blog-single__comments .comment-form-comment textarea { min-height: 120px; resize: vertical; }
.blog-single__comments .comment-form p { margin: 0 0 14px; }
.blog-single__comments .comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 10px;
}

/* ============================================================
   CART PAGE — strona koszyka WooCommerce
   ============================================================ */

.cart-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: flex-start;
}
@media (max-width: 980px) {
  .cart-page__grid { grid-template-columns: 1fr; }
}

/* ---------------- LEWA: lista produktów ---------------- */
.cart-list__title {
  font-size: 1.5rem;
  margin: 0 0 16px;
}

.cart-list__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.cart-list__table thead th {
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  text-transform: none;
  padding: 14px 12px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.cart-list__table thead th.product-remove,
.cart-list__table thead th.product-thumbnail { width: 50px; }
.cart-list__table thead th.product-price,
.cart-list__table thead th.product-quantity,
.cart-list__table thead th.product-subtotal { width: 110px; }

.cart-list__table tbody td {
  padding: 5px 5px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.cart-list__table tbody tr:last-of-type td { border-bottom: none; }

.cart-list__table .product-remove .remove {
  display: inline-flex;
  width: 22px; height: 22px;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  transition: color .15s ease;
}
.cart-list__table .product-remove .remove:hover { color: var(--red); }

.cart-list__table .product-thumbnail img {
  width: 48px; height: 48px;
  object-fit: contain;
  border-radius: 4px;
}

.cart-list__table .product-name a {
  font-weight: 500;
  color: var(--ink);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .02em;
  text-decoration: none;
}
.cart-list__table .product-name a:hover { color: var(--red); }

.cart-list__table .product-price,
.cart-list__table .product-subtotal {
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.cart-list__table .product-quantity .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.cart-list__table .product-quantity input[type="number"],
.cart-list__table .product-quantity input.qty {
  width: 64px;
  height: 36px;
  border: none;
  padding: 0 8px;
  font: inherit;
  font-size: 14px;
  text-align: center;
  background: var(--bg-soft);
  color: var(--ink);
}
.cart-list__table .product-quantity input.qty:focus { outline: none; }

/* Actions row (kupon + ukryty button update) */
.cart-list__actions-row td.actions {
  background: #fff;
  padding: 16px 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cart-list__coupon {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.cart-list__coupon-input {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  height: 36px;
  width: 180px;
}
.cart-list__coupon-input:focus { outline: none; border-color: var(--ink); }
.cart-list__coupon-btn {
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  height: 36px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cart-list__coupon-btn:hover { background: var(--ink); color: #fff; }

.cart-list__update {
  background: #c8c8cc;
  color: var(--ink);
  border: none;
  border-radius: 4px;
  padding: 0 14px;
  height: 32px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s ease;
}
.cart-list__update:hover { background: #b8b8bc; }
.cart-list__update.is-hidden-js { display: none; }

.cart-summary--loading .cart-summary__value {
  opacity: .4;
  transition: opacity .2s;
  pointer-events: none;
}

/* AJAX loading state */
.woocommerce-cart-form__cart-item.is-loading {
  opacity: .5;
  pointer-events: none;
}
.woocommerce-cart-form.is-busy {
  position: relative;
}
.woocommerce-cart-form.is-busy::after {
  content: "";
  position: absolute;
  top: 8px; right: 8px;
  width: 18px; height: 18px;
  border: 2px solid var(--line);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: cartSpin .8s linear infinite;
}
@keyframes cartSpin {
  to { transform: rotate(360deg); }
}

/* ---------------- Info box pod tabelą ---------------- */
.cart-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 600px) { .cart-info { grid-template-columns: 1fr; } }

.cart-info__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-info__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}
.cart-info__icon {
  flex: 0 0 auto;
  padding-top: 2px;
  color: var(--ink);
}
.cart-info__body { flex: 1; min-width: 0; }
.cart-info__title {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}
.cart-info__title .ok,
.cart-info__title strong { color: #098500; font-weight: 700; }

/* sp_free_shipping_text generuje .sp-info-item__title — działa też tu */
.cart-info .sp-info-item__title {
  font-size: 14px;
  color: var(--ink);
}
.cart-info .sp-info-item__title--ok {
  color: #098500;
  font-weight: 700;
}

.cart-info__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.cart-info__logos img {
  height: 22px;
  border-radius: 4px;
}

/* ---------------- PRAWA: cart summary ---------------- */
.cart-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  position: sticky;
  top: 80px;
}
.cart-summary__title {
  font-size: 1.25rem;
  padding: 18px 20px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.cart-summary__rows {
  display: flex;
  flex-direction: column;
}
.cart-summary__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  font-size: 14px;
}
.cart-summary__row:last-child { border-bottom: none; }
.cart-summary__label {
  font-weight: 600;
  color: var(--ink);
}
.cart-summary__value {
  text-align: right;
  color: var(--ink);
}
.cart-summary__row--shipping .cart-summary__value { text-align: left; }
.cart-summary__row--total {
  background: var(--bg-soft);
  font-size: 15px;
}
.cart-summary__row--total .cart-summary__value strong {
  font-size: 25px;
  font-weight: 700;
}
.cart-summary__row--total .cart-summary__value .includes_tax,
.cart-summary__row--total .cart-summary__value small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

/* Shipping methods (radio list + Paczkomat plugin output) */
.cart-summary__shipping .woocommerce-shipping-methods {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cart-summary__shipping .woocommerce-shipping-methods li {
  padding: 6px 0;
}
.cart-summary__shipping .shipping-method-row,
.checkout-summary .shipping-method-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ship-icon {
  flex: 0 0 auto;
  opacity: .7;
}
.ship-icon--inpost {
  opacity: 1;
  height: 22px;
  width: auto;
  border-radius: 3px;
}
.ship-icon--courier {
  width: 22px; height: 22px;
  opacity: .6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0f' stroke-width='1.6'%3E%3Crect x='1' y='3' width='15' height='13'/%3E%3Cpolygon points='16 8 20 8 23 11 23 16 16 16'/%3E%3Ccircle cx='5.5' cy='18.5' r='2'/%3E%3Ccircle cx='18.5' cy='18.5' r='2'/%3E%3C/svg%3E") center/contain no-repeat;
}
.shipping-carrier-logo {
  width: 60px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 8px;
}
.cart-summary__shipping label,
.checkout-summary .woocommerce-shipping-methods label {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink);
}
.cart-summary__shipping label .woocommerce-Price-amount,
.checkout-summary .woocommerce-shipping-methods label .shipping-price { margin-left: auto; white-space: nowrap; }
.checkout-summary .woocommerce-shipping-methods {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.checkout-summary .woocommerce-shipping-methods li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.checkout-summary .woocommerce-shipping-methods li:last-child {
  border-bottom: none;
}
.cart-summary__shipping label:hover,
.cart-summary__shipping input[type="radio"]:checked + label { font-weight: 600; }
.cart-summary__shipping input[type="radio"] {
  accent-color: var(--red);
  width: 16px; height: 16px;
  margin: 0;
  flex: 0 0 auto;
}
/* Paczkomat button — żółty InPost */
.cart-summary__shipping button.select-paczkomat-button,
.cart-summary__shipping a.select-paczkomat-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #ffd000 !important;
  color: var(--ink) !important;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  font: inherit !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  text-decoration: none;
  margin-top: 5px;
}
.cart-summary__shipping button.select-paczkomat-button:hover,
.cart-summary__shipping a.select-paczkomat-button:hover {
  background: #f1c500 !important;
}

.cart-summary__shipping .shipping-calculator-button {
  display: inline-block;
  color: var(--red);
  text-decoration: underline;
  font-size: 13px;
  margin-top: 6px;
}

/* Coupons row */
.cart-summary__coupon-remove {
  color: var(--muted);
  text-decoration: none;
  margin-left: 4px;
  font-weight: 700;
}
.cart-summary__coupon-remove:hover { color: var(--red); }

/* Proceed to checkout — duży czarny button */
.cart-summary .wc-proceed-to-checkout {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  margin: 0;
}
.cart-summary .checkout-button,
.cart-summary .wc-proceed-to-checkout .button {
  justify-content: center;
  width: 100%;
}

/* Mobile: tabela responsywna */
@media (max-width: 720px) {
  .cart-list__table thead { display: none; }
  .cart-list__table,
  .cart-list__table tbody,
  .cart-list__table tr,
  .cart-list__table td { display: block; }
  .cart-list__table tr.woocommerce-cart-form__cart-item {
    position: relative;
    padding: 12px 12px 12px 60px;
    border-bottom: 1px solid var(--line);
  }
  .cart-list__table tr.woocommerce-cart-form__cart-item td {
    border: none;
    padding: 2px 0;
  }
  .cart-list__table .product-remove {
    position: absolute;
    top: 12px; right: 8px;
  }
  .cart-list__table .product-thumbnail {
    position: absolute;
    top: 12px; left: 8px;
    width: 44px;
  }
  .cart-list__table .product-price::before { content: "Cena: "; color: var(--muted); margin-right: 4px; }
  .cart-list__table .product-subtotal::before { content: "Kwota: "; color: var(--muted); margin-right: 4px; }

  .cart-list__actions-row td.actions { flex-direction: column; align-items: stretch; }
}

html body .woocommerce ul.products li.product .pcard .pcard__media img,
html body .plm ul.products li.product .pcard .pcard__media img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ==============================
   CHECKOUT
   ============================== */
.checkout-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: flex-start;
}
@media (max-width: 980px) {
  .checkout-page__grid { grid-template-columns: 1fr; }
}

/* ---------- UKŁAD STRONY KASY ---------- */
.checkout-billing {
  min-width: 0;
}
.checkout-summary {
  position: sticky;
  top: 80px;
}

/* WooCommerce form rows — stylowane jak .form-field */
.woocommerce form .form-row {
  display: block;
  padding: 0;
  margin: 0 0 10px;
}
.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
  width: calc(50% - 8px);
  overflow: visible;
}
.woocommerce form .form-row-first { float: left; }
.woocommerce form .form-row-last { float: right; }
.woocommerce form .form-row-wide { clear: both; }
.woocommerce form .form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
}
.woocommerce form .form-row label .required {
  color: var(--red);
  border: none;
}
.woocommerce form .form-row .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.woocommerce form .form-row .input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .input-text {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  line-height: 1.4;
}
.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--ink);
  outline: none;
}
.woocommerce form .form-row textarea { min-height: 80px; }
.woocommerce form .form-row .select2-container .select2-selection--single {
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
}
.woocommerce form .form-row .select2-container .select2-selection__rendered {
  padding: 0;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}
.woocommerce form .form-row .select2-container .select2-selection__arrow {
  top: 10px;
  right: 10px;
}
.woocommerce form .form-row .select2-container--focus .select2-selection--single {
  border-color: var(--red);
}
.woocommerce form .form-row .select2-dropdown {
  border-color: var(--line);
  border-radius: 0 0 8px 8px;
}
.woocommerce form .form-row .select2-results__option {
  font-size: 14px;
  padding: 8px 14px;
}
.woocommerce form .form-row .select2-results__option--highlighted {
  background: var(--red);
}
/* Ukrycie domyślnego "Województwo" (PL nie ma) */
.woocommerce form .form-row.validate-state.hidden { display: none !important; }
/* checkbox "ship to different address" */
.woocommerce-form__label-for-checkbox {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.woocommerce-form__label-for-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  margin: 0;
}
/* Billing/shipping sekcje */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 16px;
}
.woocommerce-billing-fields h3:first-child { margin-top: 0; }
/* Uwagi do zamówienia */
.woocommerce-additional-fields textarea {
  min-height: 80px;
}
.checkout-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

/* Forma płatności — lista metod */
.checkout-summary .wc_payment_methods {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.checkout-summary .payment_methods li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.checkout-summary .payment_methods li:last-child {
  border-bottom: none;
}
.checkout-summary .payment_methods label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.checkout-summary .payment_methods input[type="radio"]:checked + label {
  font-weight: 600;
}
.checkout-summary .payment_methods label img {
  max-height: 24px;
  width: auto;
  margin-left: auto;
}
.checkout-summary .payment_methods input[type="radio"] {
  accent-color: var(--red);
  width: 16px;
  height: 16px;
  margin: 0;
}
.checkout-summary .payment_methods .payment_box {
  margin: 8px 0 0 24px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.checkout-summary .payment_methods .payment_box p {
  margin: 0;
}
.woocommerce-privacy-policy-text {
  font-size: 10px;
  margin-bottom: 20px;
}
.checkout-section__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.checkout-subsection__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 16px;
  letter-spacing: -0.01em;
}

/* Formularz */
.form-field {
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-field .required {
  color: var(--red);
}
.form-field .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 4px rgba(232, 17, 45, 0.08);
}
.checkout-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .checkout-form__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Custom Checkbox */
.custom-checkbox {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.custom-checkbox .checkmark {
  position: relative;
  height: 18px;
  width: 18px;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}
.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--ink);
}
.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--red);
  border-color: var(--red);
}
.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Dynamiczne pola faktury */
.checkout-form__invoice-fields {
  margin-top: 10px;
  padding: 16px;
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
}

/* ---------- KAFELKI DOSTAWY (SHIPPING CARDS) ---------- */
.checkout-shipping-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shipping-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}
.shipping-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.shipping-card:hover {
  border-color: var(--ink);
}
.shipping-card.is-active {
  border-color: var(--red);
  background: rgba(232, 17, 45, 0.02);
}
.shipping-card__bullet {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  margin-top: 2px;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.shipping-card.is-active .shipping-card__bullet {
  border-color: var(--red);
}
.shipping-card__bullet:after {
  content: "";
  position: absolute;
  display: none;
  left: 3px;
  top: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.shipping-card.is-active .shipping-card__bullet:after {
  display: block;
}
.shipping-card__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.shipping-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.shipping-card__desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.shipping-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.shipping-card__btn-paczkomat {
  align-self: flex-start;
  margin-top: 10px;
  padding: 6px 14px;
  border: 1px solid var(--red);
  border-radius: 6px;
  background: transparent;
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}
.shipping-card__btn-paczkomat:hover {
  background: var(--red);
  color: #fff;
}
.shipping-card__selected-paczkomat {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink);
}

/* ---------- KAFELKI PŁATNOŚCI ---------- */
.checkout-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.payment-method-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}
.payment-method-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.payment-method-card:hover {
  border-color: var(--ink);
}
.payment-method-card.is-active {
  border-color: var(--red);
  background: rgba(232, 17, 45, 0.01);
}
.payment-method-card__bullet {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.payment-method-card.is-active .payment-method-card__bullet {
  border-color: var(--red);
}
.payment-method-card__bullet:after {
  content: "";
  position: absolute;
  display: none;
  left: 3px;
  top: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.payment-method-card.is-active .payment-method-card__bullet:after {
  display: block;
}
.payment-method-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
}
.payment-method-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.payment-method-card__body img {
  height: 18px;
  object-fit: contain;
  margin-left: 6px;
}

/* ---------- PODSUMOWANIE CHECKOUT (PRAWA STRONA) ---------- */
.checkout-summary__payment-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 12px;
}

/* Lista produktów w podsumowaniu */
.checkout-summary__products {
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.checkout-product-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.checkout-product-item:last-child {
  border-bottom: none;
}
.checkout-product-item__media {
  position: relative;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  flex-shrink: 0;
}
.checkout-product-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.checkout-product-item__qty {
  position: absolute;
  top: -8px;
  right: -8px;
  display: flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}
.checkout-product-item__info {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.checkout-product-item__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.checkout-product-item__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

/* Zgody */
.checkout-terms {
  margin: 16px 0;
}
.checkout-terms .custom-checkbox {
  align-items: flex-start;
}
.checkout-terms .custom-checkbox .checkmark {
  margin-top: 2px;
}
.checkout-terms .terms-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* ============================================================
   PAGE DEFAULT — polityka, regulamin, kontakt itp.
   ============================================================ */
.page-default__head { margin: 32px 0 24px; }
.page-default__title { font-size: 28px; font-weight: 700; }
.page-default__content { font-size: 14px; line-height: 1.8; color: var(--ink); }
.page-default__content h2 { font-size: 20px; margin: 28px 0 12px; }
.page-default__content h3 { font-size: 16px; margin: 24px 0 10px; }
.page-default__content p { margin: 0 0 14px; }
.page-default__content ul,
.page-default__content ol { padding-left: 1.4em; margin: 0 0 14px; }
.page-default__content li { margin-bottom: 4px; }
.checkout-terms .terms-text a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
}

/* Place order — checkout */
.place-order .btn.btn--red {
  width: 100%;
  justify-content: center;
}

/* Ukryj kalkulator wysyłki — AJAX działa automatycznie */
.woocommerce-shipping-calculator { display: none; }

/* Ukryj domyślne WC notices na stronie koszyka */
.woocommerce-cart .woocommerce-notices-wrapper { display: none; }

/* Ikona przelewu dla BACS */
.payment_method_bacs label img { height: 22px; width: auto; margin-left: auto; }

/* ============================================================
   MOJE KONTO — panel klienta
   ============================================================ */
.page-account .account__grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.page-account .account__nav {
  position: sticky;
  top: 80px;
}
.page-account .account__user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 16px;
  background: var(--bg-soft);
  border-radius: 10px;
}
.page-account .account__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.page-account .account__user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.page-account .account__user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.page-account .account__user-email {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-account .account__nav .woocommerce-MyAccount-navigation {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.page-account .account__nav .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-account .account__nav .woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--line);
}
.page-account .account__nav .woocommerce-MyAccount-navigation li:last-child {
  border-bottom: none;
}
.page-account .account__nav .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: background .15s ease;
}
.page-account .account__nav .woocommerce-MyAccount-navigation a:hover {
  background: var(--bg-soft);
}
.page-account .account__nav .woocommerce-MyAccount-navigation .is-active a {
  background: var(--red);
  color: #fff;
  font-weight: 600;
}
.page-account .account__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
}
.page-account .account__content .woocommerce-MyAccount-content {
  width: 100%;
}
.page-account .account__content table {
  width: 100%;
  border-collapse: collapse;
}
.page-account .account__content table th,
.page-account .account__content table td {
  padding: 12px 16px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.page-account .account__content table th {
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.page-account .account__content .woocommerce-orders-table__cell-order-actions .button {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: all .15s ease;
}
.page-account .account__content .woocommerce-orders-table__cell-order-actions .button:hover {
  border-color: var(--red);
  color: var(--red);
}

.page-account .account__content .woocommerce-Address-title h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}
.page-account .account__content address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.page-account .account__content .woocommerce-Address-title .edit,
.page-account .account__content .woocommerce-EditAccountForm .woocommerce-Button {
  display: inline-block;
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease;
}
.page-account .account__content .woocommerce-Address-title .edit:hover,
.page-account .account__content .woocommerce-EditAccountForm .woocommerce-Button:hover {
  background: var(--red);
}

.page-account .account__content .woocommerce-EditAccountForm label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}
.page-account .account__content .woocommerce-EditAccountForm .input-text {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
.page-account .account__content .woocommerce-EditAccountForm .input-text:focus {
  outline: none;
  border-color: var(--red);
}

/* Adresy — wyświetlanie i edycja */
.page-account .account__content .u-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.page-account .account__content .woocommerce-Address {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  color: var(--ink);
}
.page-account .account__content .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.page-account .account__content .woocommerce-Address-title h2,
.page-account .account__content .woocommerce-Address-title h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  padding-left: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e8112d'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") 0 0/16px no-repeat;
}
.page-account .account__content .woocommerce-Address address {
  padding-left: 22px;
  font-size: 14px;
  line-height: 2;
  color: var(--ink);
}
.page-account .account__content .woocommerce-Address-title .edit {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--ink);
  color: #fff !important;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.page-account .account__content .woocommerce-Address-title .edit:hover {
  background: var(--red);
}

.page-account .account__content .woocommerce-address-fields label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--ink);
}
.page-account .account__content .woocommerce-address-fields .input-text,
.page-account .account__content .woocommerce-address-fields select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .15s ease;
}
.page-account .account__content .woocommerce-address-fields .input-text:focus,
.page-account .account__content .woocommerce-address-fields select:focus {
  outline: none;
  border-color: var(--red);
}
.page-account .account__content .woocommerce-address-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4%;
}
.page-account .account__content .woocommerce-address-fields__field-wrapper .form-row {
  float: none !important;
  width: auto !important;
}
.page-account .account__content .woocommerce-address-fields__field-wrapper #billing_country_field,
.page-account .account__content .woocommerce-address-fields__field-wrapper #shipping_country_field {
  grid-column: 1 / -1;
}
.page-account .account__content .woocommerce-address-fields .woocommerce-Button,
.page-account .account__content button[name="save_address"] {
  padding: 10px 24px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s ease;
}
.page-account .account__content .woocommerce-address-fields .woocommerce-Button:hover,
.page-account .account__content button[name="save_address"]:hover {
  background: #000;
}

@media (max-width: 768px) {
  .page-account .account__grid { grid-template-columns: 1fr; }
  .page-account .account__nav { position: static; }
  .page-account .account__content .u-columns { grid-template-columns: 1fr; }
}



/* GUS - dane firmy z NIP */
.gus-data {
  width: 100%;
  margin-top: 8px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}
.gus-data strong { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* Edit Account - 2 kolumny */




.page-account .account__content .woocommerce-EditAccountForm fieldset {
  width: 100%;
}
.page-account .account__content .woocommerce-EditAccountForm .woocommerce-Button {
  padding: 10px 24px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
}
.page-account .account__content .woocommerce-EditAccountForm .woocommerce-Button:hover {
  background: #000;
}

/* ===== My Account Login / Register ===== */
.page-account #customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.page-account #customer_login h2 { margin: 0 0 16px; }
.page-account #customer_login .u-column1,
.page-account #customer_login .u-column2 { background: var(--bg, #f8f8f8); border: 1px solid var(--line, #e2e2e2); border-radius: 10px; padding: 28px; }
.page-account .woocommerce-form-login .form-row,
.page-account .woocommerce-form-register .form-row { margin-bottom: 16px; display: flex; flex-direction: column; }
.page-account .woocommerce-form-login label,
.page-account .woocommerce-form-register label { font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--ink, #0d0d0f); }
.page-account .woocommerce-form-login .input-text,
.page-account .woocommerce-form-register .input-text { height: 44px; padding: 0 14px; border: 1px solid var(--line, #e2e2e2); border-radius: 6px; font-size: 14px; width: 100%; box-sizing: border-box; background: #fff; }
.page-account .woocommerce-form-login .input-text:focus,
.page-account .woocommerce-form-register .input-text:focus { border-color: var(--red, #d32f2f); outline: none; box-shadow: 0 0 0 2px rgba(211,47,47,.1); }
.page-account .woocommerce-form-login .woocommerce-button,
.page-account .woocommerce-form-register .woocommerce-button { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 28px; background: var(--red, #d32f2f); color: #fff; border: none; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s; }
.page-account .woocommerce-form-login .woocommerce-button:hover,
.page-account .woocommerce-form-register .woocommerce-button:hover { background: #000; }
.page-account .woocommerce-form-login .woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 20px; }
.page-account .lost_password a { font-size: 13px; color: var(--muted, #6a6a72); }
.page-account .lost_password a:hover { color: var(--red, #d32f2f); }
.page-account .woocommerce-privacy-policy-text { font-size: 12px; color: var(--muted, #6a6a72); margin: 12px 0; }
.page-account .woocommerce-privacy-policy-text a { color: var(--red, #d32f2f); }
.page-account .show-password-input { top: 8px; right: 10px; border: none; background: none; color: var(--muted); }
@media (max-width: 768px) { .page-account #customer_login { grid-template-columns: 1fr; } }

/* ===== Order Detail (view-order.php) ===== */
.order-detail { display: flex; flex-direction: column; gap: 28px; }
.order-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--bg, #f8f8f8); border-radius: 10px; border: 1px solid var(--line, #e2e2e2); }
.order-header__number { font-size: 16px; font-weight: 700; color: var(--ink, #0d0d0f); }
.order-header__date { display: block; font-size: 12px; color: var(--muted, #6a6a72); margin-top: 2px; }
.order-header__status { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .03em; display: inline-block; }
.order-status--processing,
.order-status--on-order    { background: #fff3e0; color: #e65100; }
.order-status--completed   { background: #e8f5e9; color: #2e7d32; }
.order-status--on-hold     { background: #fff8e1; color: #f57f17; }
.order-status--pending     { background: #e3f2fd; color: #1565c0; }
.order-status--cancelled,
.order-status--refunded,
.order-status--failed      { background: #fce4ec; color: #b71c1c; }
.order-section-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #6a6a72); margin: 0 0 16px; }
.order-items__list { display: flex; flex-direction: column; gap: 12px; }
.order-item { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line, #e2e2e2); background: transparent; }
.order-item:last-child { border-bottom: none; }
.order-item__image { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.order-item__image img { width: 100%; height: 100%; object-fit: contain; }
.order-item__info { flex: 1; min-width: 0; }
.order-item__name { font-size: 14px; font-weight: 500; color: var(--ink, #0d0d0f); }
.order-item__qty { font-size: 13px; color: var(--muted, #6a6a72); margin-left: 6px; }
.order-item__total { font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--ink, #0d0d0f); }
.order-summary { border: 1px solid var(--line, #e2e2e2); border-radius: 10px; padding: 20px; background: var(--bg, #f8f8f8); }
.order-summary__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--line, #e2e2e2); }
.order-summary__row:last-of-type { border-bottom: none; padding-bottom: 0; }
.order-summary__row:first-of-type { padding-top: 0; }
.order-summary__label { color: var(--muted, #6a6a72); }
.order-summary__value { font-weight: 600; color: var(--ink, #0d0d0f); }
.order-summary__value .includes_tax { font-weight: 400; font-size: 12px; color: var(--muted, #6a6a72); }
/* form-row float fix */
.woocommerce form .form-row-first,
.woocommerce-EditAccountForm .form-row-first { float: left !important; width: 48% !important; clear: none !important; }
.woocommerce form .form-row-last,
.woocommerce-EditAccountForm .form-row-last { float: right !important; width: 48% !important; clear: none !important; }
.woocommerce form .form-row-wide { clear: both; width: 100%; }

