.shop-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-bottom: 40px; }
.shop-filter__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
}
.shop-filter .cat-nav { margin-bottom: 0; }
.cat-modal__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 50px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color var(--ease), color var(--ease);
}
.cat-modal__list a:hover { background: var(--green-pale); color: var(--green-dark); }
.cat-modal__list a.is-current { background: var(--green); color: white; }
.cat-modal__list a.is-current .cat-nav__count { background: rgba(255, 255, 255, .22); color: white; }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 13px;
}
.shop-toolbar .woocommerce-result-count { margin: 0; }
.shop-toolbar .woocommerce-ordering { margin: 0; }
.shop-toolbar select {
  min-height: 44px;
  padding: 0 40px 0 14px;
  border: 1px solid #bed8ca;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307141d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  appearance: none;
}

ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
ul.products li { display: flex; }
ul.products .shop-card { width: 100%; }

.shop-main .cta { margin-top: 0; }

.product-main { background: white; }
.product-single { padding: 64px 0 0; }

.product-single__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(400px, .9fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.product-gallery { position: sticky; top: 24px; }
.product-gallery__main {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #dfe6e2;
}
.product-gallery__main .swiper-slide { height: auto; }
.product-gallery__zoom {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: zoom-in;
}
.product-gallery__zoom img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__zoom--placeholder { cursor: default; }
.product-gallery__zoom--placeholder img { filter: saturate(.7); opacity: .85; }
.product-gallery__placeholder {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 50px;
  color: white;
  background: rgba(3, 20, 27, .68);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-gallery__hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  opacity: 0;
  transition: opacity var(--ease);
}
.product-gallery__hint svg { width: 20px; height: 20px; }
.product-gallery__zoom:hover .product-gallery__hint { opacity: 1; }

.product-gallery__prev,
.product-gallery__next {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}
.product-gallery__prev { left: 16px; }
.product-gallery__next { right: 16px; }

.product-gallery__thumbs { margin-top: 12px; }
.product-gallery__thumbs .swiper-slide {
  width: 96px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #dfe6e2;
  cursor: pointer;
  opacity: .6;
  transition: opacity var(--ease), border-color var(--ease);
}
.product-gallery__thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs .swiper-slide:hover { opacity: 1; }
.product-gallery__thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--green); }

.product-summary__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(34px, 2.5vw + 26px, 60px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: .98;
  text-wrap: balance;
}

.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; font-size: 13px; }
.product-ref { color: var(--ink-soft); font-weight: 600; }

.product-summary .section-kicker { margin-bottom: 12px; font-size: 11px; letter-spacing: .06em; }

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-status::before { width: 8px; height: 8px; border-radius: 50%; content: ""; background: currentColor; }
.product-status--dostepny { color: var(--green-dark); background: var(--green-pale); }
.product-status--zamowienie { color: #0b4a7a; background: #e4f0fb; }
.product-status--sprzedany { color: #8c1414; background: #fbe4e4; }

.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid #bed8ca;
  border-radius: 50px;
  color: var(--ink);
  background: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-stock svg { width: 14px; height: 14px; color: var(--green-dark); }
.product-stock strong { color: var(--green-dark); font-weight: 800; }

.product-price {
  margin-top: 26px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}
.product-price__main { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.product-price__main strong {
  font-family: var(--font-head);
  font-size: clamp(46px, 4.2vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}
.product-price__main span { color: #8a978f; font-size: 13px; font-weight: 600; }

.product-price__rows { display: grid; gap: 10px; margin: 0; }
.product-price__rows div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.product-price__rows div:last-child { padding-bottom: 0; border-bottom: 0; }
.product-price__rows dt { margin: 0; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.product-price__rows dd { margin: 0; font-family: var(--font-head); font-size: 28px; font-weight: 700; line-height: 1; color: var(--ink); text-align: right; }

.product-price__note { margin: 16px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }

.product-short { margin-top: 24px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.product-short p { margin: 0; }
.product-short p + p { margin-top: .8em; }

.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.product-actions .button svg { width: 17px; height: 17px; }

.product-assurance { display: grid; gap: 9px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.product-assurance li { display: flex; align-items: center; gap: 10px; }
.product-assurance svg { width: 16px; height: 16px; color: var(--green); }

.product-details {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 80px);
  margin-top: 72px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}
.product-dims { display: grid; gap: 32px; align-content: start; }
.dims-block h2 { margin: 0 0 16px; font-family: var(--font-head); font-size: 36px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.dims-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.dim {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 11px;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: white;
}
.dim__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  color: var(--green);
  line-height: 0;
}
.dim__icon svg,
.dim__icon i { display: block; width: 15px; height: 15px; font-size: 15px; line-height: 1; vertical-align: 0; }
.dim dt {
  display: inline;
  margin: 0 6px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}
.dim dd {
  display: inline;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.product-specs h2 { margin: 0 0 20px; font-family: var(--font-head); font-size: 36px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.product-specs h2 + * { margin-bottom: 44px; }
.spec-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.6; }
.spec-list li { display: flex; align-items: flex-start; gap: 12px; }
.spec-list svg { width: 18px; height: 18px; margin-top: 3px; color: var(--green); }
.spec-list--tags { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-list--tags li { padding: 8px 14px; border: 1px solid #bed8ca; border-radius: 50px; font-size: 13px; font-weight: 600; }
.product-specs .prose { margin-top: 44px; font-size: 15px; }

.products--related { margin-top: 96px; background: var(--paper-alt); }

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: white;
  background: rgba(3, 12, 17, .96);
}
.lightbox::backdrop { background: rgba(3, 12, 17, .8); }
.lightbox__stage { display: grid; width: 100%; height: 100%; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 72px 90px; }
.lightbox__stage img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { border-color: var(--green-bright); background: rgba(24, 200, 109, .18); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { top: 50%; left: 20px; transform: translateY(-50%); }
.lightbox__next { top: 50%; right: 20px; transform: translateY(-50%); }
.lightbox svg { width: 22px; height: 22px; }
.lightbox__counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: rgba(255, 255, 255, .7); }
.lightbox[data-single="1"] .lightbox__prev,
.lightbox[data-single="1"] .lightbox__next,
.lightbox[data-single="1"] .lightbox__counter { display: none; }
