.products-subhero .subhero-bg {
  background: url("../img/slajd1.webp") center 46% / cover no-repeat;
}

.products-subhero .subhero-content {
  bottom: 10%;
}

.products-intro {
  padding-top: 86px;
  padding-bottom: 86px;
}

.intro-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.intro-head .eyebrow {
  margin-bottom: 10px;
}

.products-page .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  color: #7a9d1e;
}

.products-page .eyebrow::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  border-radius: 999px;
  background: rgba(172, 207, 62, 0.9);
}

.intro-head .section-title {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
}

.intro-copy p {
  color: #4f555b;
  font-size: 1.02rem;
  line-height: 1.82;
  margin-bottom: 14px;
}

.product-band {
  position: relative;
  min-height: clamp(250px, 38vw, 380px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.product-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 14, 14, 0.34) 0%, rgba(14, 14, 14, 0.22) 92%, rgba(14, 14, 14, 0.08) 100%);
}

.product-band-media {
  position: absolute;
  inset: 0;
  transform: scale(1.14);
  transform-origin: center;
  will-change: transform;
}

.band-poltusze {
  background: url("../img/produkty/kategoria_poltosze.webp") center / cover no-repeat;
}

.band-elementy {
  background: url("../img/produkty/kategoria_elementy.webp") center / cover no-repeat;
}

.band-podroby {
  background: url("../img/produkty/kategoria_podroby.webp") center / cover no-repeat;
}

.band-kosci {
  background: url("../img/produkty/kategoria_kosci.webp") center / cover no-repeat;
}

.product-band-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 34px;
  padding-bottom: 34px;
  max-width: 1320px;
  margin: 0 auto;
}

.product-band-panel {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 350px) 1fr;
  gap: 18px 30px;
  align-items: stretch;
  padding: 0;
}

.band-eyebrow {
  margin-bottom: 12px;
  color: #bddf57;
}

.band-head {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding: 6px 0;
}

.band-head h2 {
  font-size: clamp(1.9rem, 3.1vw, 2.8rem);
  line-height: 1.06;
  margin-bottom: 0;
  letter-spacing: 0.01em;
}

.band-description {
  display: flex;
  align-items: center;
  min-height: 104px;
}

.band-description p {
  font-size: clamp(0.98rem, 1.34vw, 1.08rem);
  line-height: 1.78;
  margin: 0;
  max-width: 900px;
  padding: 14px 0 14px 20px;
  border-left: 2px solid rgba(172, 207, 62, 0.9);
  background: linear-gradient(90deg, rgba(12, 15, 12, 0.28) 0%, rgba(12, 15, 12, 0.06) 78%, rgba(12, 15, 12, 0) 100%);
  color: rgba(255, 255, 255, 0.94);
}

.category-section {
  padding-top: 36px;
  padding-bottom: 40px;
}

.category-sticky-label {
  position: sticky;
  top: calc(var(--header-height) + 8px);
  z-index: 12;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(172, 207, 62, 0.42);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(3px);
  color: #6e8f18;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 800;
}

.category-section-soft {
  background: #fafafa;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  gap: clamp(20px, 3vw, 42px);
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.feature-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e8ecef;
  min-height: 320px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.feature-content h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
  margin-bottom: 14px;
  color: #17220e;
  line-height: 1.1;
}

.feature-content p {
  color: #4b5157;
  line-height: 1.82;
  font-size: 1.04rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 30px;
}

.product-tile {
  position: relative;
  background: #dfe3e7;
  border: 1px solid #cfd5da;
  border-radius: 10px;
  overflow: hidden;
}

.product-tile-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #e7eaee;
  overflow: hidden;
}

.product-tile-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-tile-image {
  transition: opacity 0.34s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.product-tile:hover .product-tile-image,
.product-tile:focus-visible .product-tile-image,
.product-tile.is-open .product-tile-image {
  transform: scale(1.06);
}

.product-tile-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  min-height: 68px;
  padding: 16px 16px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: clamp(1.1rem, 1.4vw, 1.32rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  background: linear-gradient(90deg, rgba(122, 157, 30, 0.78) 0%, rgba(122, 157, 30, 0.78) 100%);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  transition: opacity 0.26s ease, transform 0.32s ease;
}

.product-tile-copy {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 16px 14px;
  display: flex;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(180deg, rgba(122, 157, 30, 0.82) 0%, rgba(122, 157, 30, 0.82) 100%);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
  pointer-events: none;
  overflow-y: auto;
}

.product-tile-copy p {
  font-size: 0.92rem;
  line-height: 1.58;
}

.product-tile:hover .product-tile-copy,
.product-tile:focus-visible .product-tile-copy,
.product-tile.is-open .product-tile-copy {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.product-tile:hover .product-tile-label,
.product-tile:focus-visible .product-tile-label,
.product-tile.is-open .product-tile-label {
  opacity: 0;
  transform: translateY(12px);
}

.category-section-last {
  padding-bottom: 96px;
}

@media (max-width: 1080px) {
  .intro-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-media {
    min-height: 280px;
  }
}

@media (max-width: 820px) {
  .products-subhero .subhero-content {
    bottom: 8%;
  }
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .product-grid {
    gap: 20px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .products-intro {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .product-band {
    min-height: 225px;
  }

  .product-band-content {
    padding-top: 30px;
    padding-bottom: 28px;
  }

  .band-head h2 {
    font-size: 1.62rem;
  }

  .feature-card {
    gap: 12px;
  }

  .feature-media {
    min-height: 220px;
  }

  .feature-content p {
    font-size: 0.96rem;
  }

  .category-sticky-label {
    top: calc(var(--header-height) + 6px);
    padding: 9px 11px;
    font-size: 0.74rem;
  }

  .product-tile-label {
    min-height: 58px;
    padding: 13px 12px;
    font-size: 0.92rem;
  }

  .product-tile-copy {
    padding: 13px 12px;
  }

  .product-tile-copy p {
    font-size: 0.86rem;
    line-height: 1.5;
  }
}

@media (max-width: 820px) {
  .product-band-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .band-description p {
    padding: 12px 0 0;
    border-left: none;
    border-top: 2px solid rgba(172, 207, 62, 0.9);
    background: linear-gradient(180deg, rgba(12, 15, 12, 0.24) 0%, rgba(12, 15, 12, 0.02) 100%);
  }
}
