.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px 0 24px;
  gap: 24px;
  flex-wrap: wrap;
}
.products-count {
  font-size: 14px;
  color: var(--dim);
}
.products-count span {
  color: var(--yellow);
  font-weight: 700;
  font-size: 18px;
}
.products-search-wrap {
  position: relative;
  width: 280px;
}
.products-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--dim);
  stroke-width: 2;
  pointer-events: none;
}
.products-search-wrap input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px 12px 42px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color .3s;
}
.products-search-wrap input:focus {
  border-color: var(--yellow);
}
.products-search-wrap input::placeholder {
  color: #555;
}

.products-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.alpha-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--dim);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  min-width: 36px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
}
.alpha-btn:hover {
  color: var(--white);
  border-color: rgba(249,192,0,0.3);
}
.alpha-btn.active {
  background: var(--yellow);
  color: var(--bg);
  border-color: var(--yellow);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  min-height: 200px;
  transition: opacity .3s;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all .4s;
}
.product-card:hover {
  border-color: rgba(249,192,0,0.15);
  transform: translateY(-4px);
}
.product-card-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: #FFF;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s;
}
.product-card:hover .product-card-img img {
  transform: scale(1.05);
}
.product-card-noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.product-card-noimg svg {
  fill: none;
  stroke: var(--gray);
  stroke-width: 1;
}
.product-card-info {
  padding: 16px 20px 20px;
}
.product-card-ref {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-card-info h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
}
.products-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--dim);
  font-size: 16px;
}

.products-pagination {
  padding: 40px 0;
  display: flex;
  justify-content: center;
}
.pag-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pag-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--dim);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
}
.pag-btn:hover {
  color: var(--white);
  border-color: rgba(249,192,0,0.3);
}
.pag-btn.active {
  background: var(--yellow);
  color: var(--bg);
  border-color: var(--yellow);
}
.pag-dots {
  color: var(--dim);
  padding: 0 4px;
}

/* Loader */
.products-loader {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}
.loader-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.inner-hero--short {
  min-height: 280px;
  height: 30vh;
}
.back-link {
  color: var(--yellow);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity .3s;
}
.back-link svg {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2;
}
.back-link:hover {
  opacity: .7;
}

.product-single {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  padding: 48px 0;
  align-items: start;
}
.product-single-image {
  position: sticky;
  top: 120px;
}
.product-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 40px;
  background: #FFF;
}
.product-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-img-placeholder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-placeholder svg {
  fill: none;
  stroke: var(--gray);
  stroke-width: 1;
}
.product-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 16px 24px;
  background: var(--yellow);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all .3s;
}
.product-download svg {
  fill: none;
  stroke: var(--bg);
  stroke-width: 2;
}
.product-download:hover {
  filter: brightness(1.1);
}

.product-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.product-oznaka {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 20px;
  margin-bottom: 12px;
}
.product-oznaka-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
}
.product-oznaka-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 1px;
}

.product-content {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
}
.product-content p {
  margin-bottom: 16px;
}
.product-content h3 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}
.product-content ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 24px;
}
.product-content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  line-height: 1.6;
}
.product-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1023px) {
  .product-single {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-single-image {
    position: static;
    max-width: 400px;
  }
}
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .products-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .products-search-wrap {
    width: 100%;
  }
  .alpha-btn {
    padding: 5px 8px;
    min-width: 30px;
    font-size: 12px;
  }
  .product-single-image {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.similar-products {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}
.similar-header {
  margin-bottom: 32px;
}
.similar-header .tag {
  font-size: 10px;
  letter-spacing: 6px;
  font-weight: 600;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.similar-header h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
}
.similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1023px) {
  .similar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .similar-grid {
    grid-template-columns: 1fr;
  }
.product-single {
    padding:25px 0;
}
}