/* ============================================================
   PRODUCTS — homepage grid, category tiles, shop list, product card
   ============================================================ */

/* HOMEPAGE — kafelki kategorii */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-tile {
  position: relative; overflow: hidden; text-decoration: none;
  aspect-ratio: 1/1; background: var(--black); display: block; border-radius: 4px;
}
.pt-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform var(--transition-slow);
}
.product-tile:hover .pt-img { transform: scale(1.07); }
.pt-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,21,28,0.05) 35%, rgba(20,21,28,0.9) 100%);
  transition: background var(--transition-med);
}
.product-tile:hover .pt-img::after {
  background: linear-gradient(180deg, rgba(62,64,143,0.2) 20%, rgba(20,21,28,0.92) 100%);
}
.pt-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 2; }
.pt-content h3 {
  font-family: var(--serif); font-weight: 700; font-size: 23px;
  line-height: 0.98; color: white; text-transform: uppercase; margin-bottom: 4px;
}
.pt-content .more {
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--yellow); display: inline-flex; align-items: center; gap: 6px;
  max-height: 0; opacity: 0; overflow: hidden; transition: all var(--transition-med);
}
.pt-content .more::after { content: '→'; }
.product-tile:hover .pt-content .more { max-height: 30px; opacity: 1; margin-top: 6px; }
.pt-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: var(--red); color: white;
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 2px;
}
.pt-badge.yellow { background: var(--yellow); color: var(--black); }

@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }

/* SOLUTIONS GRID (realizacje) */
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sol-card {
  position: relative; aspect-ratio: 3/4; overflow: hidden;
  text-decoration: none; background: var(--black); border-radius: 4px;
}
.sol-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform var(--transition-slow); }
.sol-card:hover .sol-img { transform: scale(1.06); }
.sol-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,21,28,0.9) 100%); }
.sol-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; z-index: 2; }
.sol-content h3 { font-family: var(--serif); font-size: 27px; font-weight: 800; color: white; text-transform: uppercase; line-height: 1; }
.sol-content .more { color: var(--yellow); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; display: inline-block; }
@media (max-width: 1024px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .solutions-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SHOP LIST (lista produktów — 02)
   ============================================================ */
.shop {
  max-width: 1340px; margin: 0 auto; padding: 40px 28px 80px;
  display: grid; grid-template-columns: 280px 1fr; gap: 36px;
}

/* SIDEBAR */
.sidebar { align-self: start; position: sticky; top: 20px; }
.filter-block { border: 1px solid var(--line); border-radius: 6px; margin-bottom: 16px; }
.filter-block h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em;
  padding: 16px 18px; background: var(--bone); border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  user-select: none; border-radius: 6px 6px 0 0;
}
.filter-block h3 .chev { font-size: 11px; color: var(--steel); transition: transform 0.2s; }
.filter-block.collapsed h3 .chev { transform: rotate(-90deg); }
.filter-block.collapsed h3 { border-radius: 6px; }
.filter-body { padding: 14px 18px; }
.filter-block.collapsed .filter-body { display: none; }

/* Cat nav */
/* Płaskie linki (bez podkategorii) */
.cat-nav > a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; color: var(--ink); font-size: 14px; font-weight: 500;
  border-bottom: 1px solid var(--line); transition: all 0.15s;
}
.cat-nav > a:last-child { border-bottom: none; }
.cat-nav > a:hover { color: var(--navy); padding-left: 5px; }
.cat-nav > a.active { color: var(--navy); font-weight: 800; }
.cat-nav > a.active::before { content: ''; width: 3px; height: 16px; background: var(--yellow); margin-right: 8px; }
.cat-nav a .count { font-size: 12px; color: var(--steel); background: var(--bone); padding: 2px 8px; border-radius: 10px; }

/* Akordeon — kategoria z podkategoriami */
.cat-nav-group { border-bottom: 1px solid var(--line); }
.cat-nav-group:last-child { border-bottom: none; }

.cat-nav-group-head {
  display: flex; align-items: center; gap: 0;
}
.cat-nav-link {
  flex: 1; display: block;
  padding: 9px 6px 9px 0; color: var(--ink); font-size: 14px; font-weight: 500;
  transition: color 0.15s;
}
.cat-nav-link:hover { color: var(--navy); }
.cat-nav-link.active { color: var(--navy); font-weight: 800; }
.cat-nav-link.active::before {
  content: ''; display: inline-block;
  width: 3px; height: 14px; background: var(--yellow);
  margin-right: 8px; vertical-align: middle; border-radius: 2px;
}

.cat-nav-chev {
  flex-shrink: 0; width: 28px; height: 28px;
  display: grid; place-items: center;
  background: none; border: none; cursor: pointer;
  color: var(--steel); border-radius: 3px;
  transition: background 0.13s, color 0.13s;
}
.cat-nav-chev:hover { background: var(--bone); color: var(--navy); }
.cat-nav-chev svg { transition: transform 0.22s ease; }
.cat-nav-group.open .cat-nav-chev svg { transform: rotate(180deg); }
.cat-nav-group.open .cat-nav-chev { color: var(--navy); }

/* Podkategorie — wysuwane */
.cat-nav-subs {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-nav-group.open .cat-nav-subs { max-height: 600px; }

.cat-nav-sub {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 4px 8px 14px;
  font-size: 13px; font-weight: 400; color: var(--steel);
  border-top: 1px solid var(--line); background: var(--bone);
  transition: color 0.13s, padding-left 0.13s, background 0.13s;
}
.cat-nav-sub:hover { color: var(--navy); padding-left: 20px; background: #eeeef5; }
.cat-nav-sub.active { color: var(--navy); font-weight: 700; background: rgba(62,64,143,0.07); }
.cat-nav-sub.active::before {
  content: ''; display: inline-block;
  width: 3px; height: 12px; background: var(--navy);
  margin-right: 7px; vertical-align: middle; border-radius: 2px;
}

/* Checkboxy */
.fcheck { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 14px; }
.fcheck input { display: none; }
.fcheck .box { width: 18px; height: 18px; border: 2px solid var(--line); border-radius: 3px; flex-shrink: 0; position: relative; transition: all 0.15s; }
.fcheck input:checked + .box { background: var(--navy); border-color: var(--navy); }
.fcheck input:checked + .box::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 12px; font-weight: 700; }
.fcheck .lbl { flex: 1; }
.fcheck .cnt { font-size: 12px; color: var(--steel); }

/* Color swatches (filtry) */
.color-filter { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 5px; }
.color-sw-label { display: flex; justify-content: center; cursor: pointer; position: relative; }
.color-sw-label:hover { z-index: 10; }
.color-sw-label input { display: none; }
.color-sw { width: 44px; height: 44px; border-radius: 4px; display: block; border: 2px solid transparent; transition: all 0.15s; position: relative; box-shadow: 0 1px 3px rgba(0,0,0,0.2); flex-shrink: 0; }
.color-sw-label:hover .color-sw { transform: scale(1.12); }
.color-sw.sel,
.color-sw-label input:checked ~ .color-sw { border-color: var(--navy); outline: 2px solid var(--navy); outline-offset: 2px; }
.color-sw.sel::after,
.color-sw-label input:checked ~ .color-sw::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 13px; text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
.color-sw-tip { display: none; }

/* Price inputs */
.price-inputs { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.price-inputs input { width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--sans); font-size: 13px; }

.filter-apply { margin-top: 12px; display: flex; }
.btn-navy { background: var(--navy); color: white; border: none; padding: 13px 24px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 3px; cursor: pointer; transition: background var(--transition-fast); }
.btn-navy:hover { background: #2f317a; }

/* SHOP MAIN */
.shop-main { min-width: 0; position: relative; }

/* ── PODKATEGORIE ──────────────────────────────────────── */
.subcat-section { margin-bottom: 36px; }
.subcat-heading {
  font-family: var(--serif); font-size: 22px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--black);
  margin-bottom: 16px; line-height: 1.1;
}
.subcat-grid {
  display: grid; gap: 16px;
}
.subcat-cols-1 { grid-template-columns: 1fr; }
.subcat-cols-2 { grid-template-columns: repeat(2, 1fr); }
.subcat-cols-3 { grid-template-columns: repeat(3, 1fr); }

.subcat-tile {
  position: relative; overflow: hidden;
  border-radius: 6px; text-decoration: none;
  display: flex; flex-direction: column;
  background: var(--black); color: white;
  min-height: 180px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 2px 12px rgba(20,21,28,0.1);
}
.subcat-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(20,21,28,0.18); }

.sct-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.4s ease;
}
.subcat-tile:hover .sct-img { transform: scale(1.04); }
.sct-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(20,21,28,0.45) 0%, rgba(20,21,28,0.85) 100%);
  transition: background 0.22s;
}
.subcat-tile:hover .sct-img::after {
  background: linear-gradient(160deg, rgba(62,64,143,0.5) 0%, rgba(20,21,28,0.9) 100%);
}

/* Gdy brak zdjęcia: granatowy gradient */
.sct-img:not([style]) { background: linear-gradient(135deg, var(--navy) 0%, #1a1b35 100%); }
.sct-img:not([style])::after { background: none; }

.sct-body {
  position: relative; z-index: 2;
  padding: 20px 22px; margin-top: auto;
  display: flex; flex-direction: column; gap: 4px;
}
.sct-count {
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--yellow); opacity: 0.9;
}
.subcat-tile h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 800;
  text-transform: uppercase; line-height: 1.1; color: white; margin: 0;
}
.sct-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-top: 6px;
  transition: color 0.15s, gap 0.15s;
}
.subcat-tile:hover .sct-more { color: var(--yellow); gap: 10px; }

@media (max-width: 900px) {
  .subcat-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .subcat-cols-2,
  .subcat-cols-3 { grid-template-columns: 1fr; }
  .subcat-tile { min-height: 140px; }
}

/* Rich category story */
.cat-story {
  margin-bottom: 34px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(20,21,28,0.08);
}
.cat-story__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 28px;
  padding: 34px;
  background: linear-gradient(135deg, #17191f 0%, #252733 68%, #fef013 68%, #fef013 100%);
  color: white;
}
.cat-story__eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cat-story__hero h2 {
  max-width: 760px;
  color: white;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  line-height: .9;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cat-story__hero p {
  max-width: 720px;
  color: #fff;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 650;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.cat-story__contact {
  align-self: start;
  padding: 20px;
  border-radius: 6px;
  background: rgba(255,255,255,.96);
  color: var(--black);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
.cat-story__contact span {
  display: block;
  margin-bottom: 10px;
  color: var(--steel);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cat-story__contact a {
  display: block;
  color: var(--black);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}
.cat-story__contact a:hover { color: var(--red); }
.cat-story__media {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}
.cat-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 1px;
  background: var(--line);
}
.cat-story__grid article {
  background: white;
  padding: 32px;
}
.cat-story h3 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--black);
}
.cat-story p {
  color: var(--steel);
  font-size: 15px;
  line-height: 1.75;
}
.cat-story p + p { margin-top: 14px; }
.cat-story__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.cat-story__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: var(--bone);
  border-radius: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.cat-story__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cat-story__step {
  padding: 28px;
  background: #fff;
  border-right: 1px solid var(--line);
}
.cat-story__step:last-child { border-right: 0; }
.cat-story__step > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--red);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}
.cat-story__step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.cat-story__notice {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 32px;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.cat-story__notice strong {
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cat-story__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px;
  background: #fff;
}
.cat-story__photo {
  min-height: 190px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-med), filter var(--transition-med);
}
.cat-story__photo:hover {
  transform: translateY(-2px);
  filter: contrast(1.05) saturate(1.05);
}
.cat-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(10,11,16,.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.cat-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.cat-lightbox__img {
  max-width: min(1180px, 92vw);
  max-height: 84vh;
  border-radius: 6px;
  box-shadow: 0 28px 90px rgba(0,0,0,.55);
  background: #111;
  object-fit: contain;
}
.cat-lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.cat-lightbox__btn:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.cat-lightbox__close {
  top: 24px;
  right: 24px;
}
.cat-lightbox__prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.cat-lightbox__next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.cat-lightbox__count {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 7px 12px;
  border-radius: 4px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* AJAX loading overlay + spinner */
.shop-main.is-loading::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.65); z-index: 5; border-radius: 4px; pointer-events: none;
}
.shop-main.is-loading::before {
  content: ''; position: absolute; top: 80px; left: 50%; z-index: 6; pointer-events: none;
  transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--navy);
  animation: wst-spin 0.65s linear infinite;
}
@keyframes wst-spin { to { transform: translateX(-50%) rotate(360deg); } }
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); gap: 16px; flex-wrap: wrap;
}
.shop-count { font-size: 14px; color: var(--steel); }
.shop-count strong { color: var(--ink); }
.shop-sort { display: flex; align-items: center; gap: 10px; }
.shop-sort select { padding: 10px 14px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--sans); font-size: 14px; background: white; cursor: pointer; }

@media (max-width: 768px) {
  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 12px;
    margin-bottom: 16px;
  }
  /* Kontrolki: Filtry + view-toggle + sort — jeden rząd */
  .shop-controls {
    order: 1;
    width: 100%;
    gap: 8px;
  }
  .mob-filter-btn {
    flex-shrink: 0;
    padding: 9px 14px;
  }
  .shop-sort {
    flex: 1;
    min-width: 0;
  }
  .shop-sort-label { display: none; }
  .shop-sort select {
    width: 100%;
    padding: 9px 10px;
    font-size: 13px;
  }
  /* Licznik: drugi rząd, mniejszy */
  .shop-count {
    order: 2;
    font-size: 12px;
    color: var(--steel);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .shop-count-cat { display: none; }
}

/* View toggle (grid/list) */
.shop-controls { display: flex; align-items: center; gap: 12px; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.vt-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: white; border: none; cursor: pointer; color: var(--steel);
  transition: background 0.15s, color 0.15s;
}
.vt-btn:first-child { border-right: 1px solid var(--line); }
.vt-btn.active { background: var(--black); color: white; }
.vt-btn:hover:not(.active) { background: var(--bone); color: var(--ink); }

/* Mobile filter toggle button */
.mob-filter-btn {
  display: none;
  align-items: center; gap: 8px;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 3px;
  background: white; font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: var(--ink); cursor: pointer; transition: all 0.15s;
}
.mob-filter-btn:hover { background: var(--black); color: white; border-color: var(--black); }

/* Sidebar close button (mobile only) */
.sidebar-mob-head {
  display: none;
  align-items: center; justify-content: space-between;
  padding: 14px 16px; background: var(--black); flex-shrink: 0;
}
.sidebar-mob-title { color: white; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.sidebar-mob-close {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px; color: white; cursor: pointer;
  transition: background 0.15s;
}
.sidebar-mob-close:hover { background: var(--red); border-color: var(--red); }

/* List view mode */
.prod-grid.view-list { grid-template-columns: 1fr; gap: 10px; }
.prod-grid.view-list .prod-card { flex-direction: row; min-height: 140px; }
.prod-grid.view-list .prod-img {
  aspect-ratio: auto; width: 200px; min-width: 200px; height: auto;
  border-radius: 6px 0 0 6px;
}
.prod-grid.view-list .prod-card h3 { font-size: 20px; margin-bottom: 4px; }
.prod-grid.view-list .prod-desc {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 8px;
}
.prod-grid.view-list .prod-specs { margin-bottom: 8px; }
.prod-grid.view-list .prod-body { padding: 14px 18px; justify-content: center; }

/* Active filters chips */
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--bone); border: 1px solid var(--line); padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.chip .x { cursor: pointer; color: var(--steel); font-weight: 700; }
.chip .x:hover { color: var(--red); }
.chip.clear { background: transparent; border: none; color: var(--red); cursor: pointer; text-decoration: underline; }

/* PRODUCT CARDS (lista) */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: all var(--transition-med); background: white;
}
.prod-card:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: 0 16px 36px rgba(62,64,143,0.12); }
.prod-img { aspect-ratio: 4/3; background-size: cover; background-position: center; position: relative; }
.prod-img .badge { position: absolute; top: 12px; left: 12px; background: var(--red); color: white; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px; }
.prod-img .badge.yellow { background: var(--yellow); color: var(--black); }
.prod-colors { position: absolute; bottom: 12px; left: 12px; display: flex; gap: 5px; }
.prod-colors .pc { width: 18px; height: 18px; border-radius: 50%; border: 2px solid white; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.prod-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.prod-cat { font-size: 11px; color: var(--red); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.prod-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 800; text-transform: uppercase; line-height: 0.98; margin-bottom: 10px; color: var(--black); }
.prod-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 58px;
  margin-bottom: 16px;
  color: #51535d;
  font-size: 13.5px;
  line-height: 1.45;
  flex: 1;
}
.prod-specs { display: flex; gap: 14px; margin-bottom: 14px; font-size: 12px; }
.prod-specs .sp {
  min-width: 0;
  padding: 9px 10px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--steel);
}
.prod-specs .sp strong { display: block; color: var(--ink); font-size: 14px; font-family: var(--serif); }
.prod-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.prod-foot .warranty { font-size: 12px; color: var(--steel); }
.prod-foot .warranty strong { color: var(--navy); }
.prod-foot .more { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 5px; }
.prod-foot .more::after { content: '→'; transition: transform 0.2s; }
.prod-card:hover .prod-foot .more::after { transform: translateX(4px); }

/* PAGINATION */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); font-weight: 700; transition: all 0.2s; }
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination a.active { background: var(--black); color: white; border-color: var(--black); }

@media (max-width: 1024px) {
  .shop { grid-template-columns: 1fr; }

  /* Sidebar jako panel z lewej na mobile — flex column, sam nie scrolluje */
  .sidebar {
    position: fixed; top: 0; left: 0; z-index: 301;
    width: 290px; max-width: 88vw;
    height: 100vh; height: 100dvh;
    background: var(--white);
    display: flex; flex-direction: column;
    overflow: hidden;
    transform: translateX(-100%);
    transition: transform 0.34s cubic-bezier(0.4,0,0.2,1);
  }
  /* Nagłówek — naturalnie na górze, nie potrzebuje sticky */
  .sidebar-mob-head {
    flex-shrink: 0;
    position: relative; z-index: 2;
  }
  /* Scrollowalny obszar treści filtrów */
  .sidebar-inner {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    padding: 16px 16px 24px;
  }
  .sidebar.filter-open { transform: translateX(0); box-shadow: 6px 0 40px rgba(0,0,0,0.3); }
  .sidebar-mob-head { display: flex; }

  .mob-filter-btn { display: flex; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid.view-list .prod-img { width: 140px; min-width: 140px; }
  .cat-story__hero,
  .cat-story__grid,
  .cat-story__steps,
  .cat-story__notice { grid-template-columns: 1fr; }
  .cat-story__step { border-right: 0; border-bottom: 1px solid var(--line); }
  .cat-story__step:last-child { border-bottom: 0; }
  .cat-story__gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .prod-grid { grid-template-columns: 1fr; }
  .cat-story__hero,
  .cat-story__grid article { padding: 24px; }
  .cat-story__hero { background: #17191f; }
  .cat-story__media { min-height: 250px; }
  .cat-story__gallery { grid-template-columns: 1fr; }
  .cat-story__photo { min-height: 220px; }
  .cat-lightbox { padding: 16px; }
  .cat-lightbox__btn { width: 42px; height: 42px; }
  .cat-lightbox__prev { left: 12px; }
  .cat-lightbox__next { right: 12px; }
  .cat-lightbox__close { top: 12px; right: 12px; }
}

/* ============================================================
   KARTA PRODUKTU (03)
   ============================================================ */
.prod-top {
  max-width: 1340px; margin: 0 auto; padding: 20px 28px 60px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px;
}

/* Galeria */
.gallery { position: sticky; top: 20px; align-self: start; }
.gallery-main {
  aspect-ratio: 4/3; border-radius: 8px; overflow: hidden;
  position: relative; background: var(--black); margin-bottom: 14px;
}
.gallery-main .gm-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: opacity 0.3s; }
.gallery-main .badge { position: absolute; top: 16px; left: 16px; background: var(--red); color: white; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 3px; z-index: 2; }
.gallery-main .zoom { position: absolute; bottom: 16px; right: 16px; background: rgba(255,255,255,0.9); width: 42px; height: 42px; border-radius: 3px; display: grid; place-items: center; font-size: 18px; z-index: 2; cursor: pointer; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gthumb { aspect-ratio: 1/1; border-radius: 5px; overflow: hidden; cursor: pointer; border: 2px solid transparent; background-size: cover; background-position: center; transition: border 0.2s; }
.gthumb.active { border-color: var(--navy); }

/* Info */
.prod-info h1 { font-family: var(--serif); font-size: clamp(38px, 4.5vw, 56px); font-weight: 800; text-transform: uppercase; line-height: 0.95; color: var(--black); margin-bottom: 8px; }
.prod-tagline { font-size: 11px; color: var(--red); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.prod-lead { font-size: 16px; color: var(--steel); line-height: 1.65; margin-bottom: 26px; }

/* Quick specs — auto-kolumny: 1, 2 lub 3 atrybuty */
.quick-specs { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 28px; }
.qs-cols-1 { grid-template-columns: 1fr; }
.qs-cols-2 { grid-template-columns: repeat(2, 1fr); }
.qs-cols-3 { grid-template-columns: repeat(3, 1fr); }
.qs { background: white; padding: 16px 20px; text-align: center; }
.qs .v { font-family: var(--serif); font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; }
.qs .l { font-size: 11px; color: var(--steel); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 5px; }

/* Warianty kolorów */
.variant-block { margin-bottom: 26px; }
.variant-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.variant-label .t { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.variant-label .sel-name { font-size: 13px; color: var(--steel); }
.variant-label .sel-name strong { color: var(--ink); }
.color-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.cvar { width: 48px; height: 48px; border-radius: 6px; cursor: pointer; border: 3px solid transparent; position: relative; transition: all 0.15s; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1); }
.cvar:hover { transform: scale(1.08); }
.cvar.sel { border-color: var(--navy); }
.cvar.sel::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 16px; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.cvar-hidden { display: none !important; }
.cvar-tip { position: absolute; bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%); background: #1a1a2e; color: #fff; font-size: 11px; line-height: 1.35; white-space: nowrap; padding: 5px 9px; border-radius: 5px; pointer-events: none; opacity: 0; transition: opacity 0.15s; z-index: 20; font-weight: 500; }
.cvar-tip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #1a1a2e; }
.cvar:hover .cvar-tip { opacity: 1; }

/* Finish toggle */
.finish-toggle { display: flex; gap: 8px; }
.finish-toggle button { flex: 1; padding: 12px; border: 2px solid var(--line); background: white; border-radius: 5px; font-family: var(--sans); font-weight: 700; font-size: 13px; transition: all 0.18s; }
.finish-toggle button.active { border-color: var(--navy); background: var(--bone); color: var(--navy); }

.prod-cta-row { display: flex; gap: 12px; margin: 28px 0; }
.prod-cta-row .btn { flex: 1; justify-content: center; }
.prod-meta { display: flex; gap: 24px; font-size: 13px; color: var(--steel); padding-top: 20px; border-top: 1px solid var(--line); }
.prod-meta .pm { display: flex; align-items: center; gap: 8px; }
.prod-meta .pm strong { color: var(--ink); }

/* TABS */
.tabs-wrap { background: var(--bone); border-top: 1px solid var(--line); overflow: hidden; }
.tabs-inner { max-width: 1340px; margin: 0 auto; padding: 0 28px; }
.tabs-nav { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tabs-nav button {
  padding: 20px 28px; background: none; border: none;
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--steel); cursor: pointer; white-space: nowrap;
  position: relative; transition: color 0.2s; flex-shrink: 0;
}
.tabs-nav button.active { color: var(--black); }
.tabs-nav button.active::after { content: ''; position: absolute; bottom: -1px; left: 28px; right: 28px; height: 3px; background: var(--yellow); }
.tab-panel { display: none; padding: 48px 0 70px; overflow: hidden; }
.tab-panel.active { display: block; }

/* Opis tab */
.product-description-head {
  max-width: 840px;
  margin-bottom: 30px;
}
.product-description-head span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.product-description-head h2 {
  margin: 0 0 12px;
  color: var(--black);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: .96;
  text-transform: uppercase;
}
.product-description-head p {
  max-width: 720px;
  color: var(--steel);
  font-size: 16px;
  line-height: 1.7;
}
.desc-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) 360px; gap: 34px; align-items: start; }
.desc-text {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 18px 42px rgba(20,21,28,0.06);
}
.desc-grid h2,
.desc-grid h3,
.desc-grid h4 {
  color: var(--black);
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.desc-grid h2 { font-size: 34px; margin: 0 0 18px; }
.desc-grid h3 { font-size: 28px; margin: 28px 0 14px; }
.desc-grid h4 { font-size: 22px; margin: 24px 0 12px; }
.desc-grid h2:first-child,
.desc-grid h3:first-child,
.desc-grid h4:first-child { margin-top: 0; }
.desc-grid p { font-size: 16px; line-height: 1.82; color: #353741; margin-bottom: 18px; }
.desc-grid p:last-child { margin-bottom: 0; }
.desc-grid strong { color: var(--black); font-weight: 800; }
.desc-grid ul,
.desc-grid ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}
.desc-grid li {
  position: relative;
  padding: 13px 16px 13px 42px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #343641;
  font-size: 15px;
  line-height: 1.6;
}
.desc-grid li::before {
  content: '';
  position: absolute;
  top: 19px;
  left: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(230,57,70,0.1);
}
.desc-grid table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}
.desc-grid table td,
.desc-grid table th {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  text-align: left;
}
.desc-grid table tr:nth-child(even) { background: var(--bone); }
.desc-grid table tr:last-child td,
.desc-grid table tr:last-child th { border-bottom: 0; }
.feat-list { display: flex; flex-direction: column; gap: 14px; }
.feat-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 17px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20,21,28,0.05);
  font-size: 14px;
  line-height: 1.5;
}
.feat-list li::before { display: none; }
.feat-list .fi { width: 34px; height: 34px; flex-shrink: 0; background: var(--navy); color: white; border-radius: 5px; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.feat-list strong { display: block; color: var(--black); font-size: 15px; margin-bottom: 2px; }
.feat-list span { color: var(--steel); }

/* Przekrój techniczny */
.cross-section { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 36px; }
.cross-section h3 { font-family: var(--serif); font-size: 26px; font-weight: 700; text-transform: uppercase; margin-bottom: 24px; }
.cross-svg { width: 100%; max-width: 640px; margin: 0 auto; display: block; }
.layers-legend { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.layer-item { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.layer-dot { width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0; border: 1px solid rgba(0,0,0,0.1); }
.layer-item strong { display: block; }
.layer-item span { color: var(--steel); font-size: 12px; }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table tr:nth-child(even) { background: var(--bone); }
.spec-table td { padding: 14px 22px; font-size: 14px; }
.spec-table td:first-child { font-weight: 600; color: var(--steel); width: 36%; }
.spec-table td:last-child { font-weight: 600; color: var(--ink); }
.spec-single { max-width: 680px; }

/* Downloads */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: inherit; transition: all 0.2s; }
.dl-card:hover { border-color: var(--navy); transform: translateY(-2px); }
.dl-ico { width: 44px; height: 44px; flex-shrink: 0; background: var(--red); color: white; border-radius: 5px; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.dl-card strong { display: block; font-size: 14px; }
.dl-card span { font-size: 12px; color: var(--steel); }

/* Inquiry form */
.inquiry { position: relative; overflow: hidden; background: var(--black); color: white; }
.inquiry::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(20,21,28,0.98), rgba(62,64,143,0.72) 58%, rgba(20,21,28,0.96)), url("../images/roofing-calculation-banner-1920x520.jpg") center/cover no-repeat; opacity: 0.9; }
.inquiry::after { content: ""; position: absolute; right: -80px; bottom: -110px; width: 360px; height: 360px; border: 54px solid rgba(254,240,19,0.08); transform: rotate(12deg); }
.inquiry-inner { position: relative; z-index: 1; max-width: 1340px; margin: 0 auto; padding: 82px 28px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr); gap: 64px; align-items: center; }
.inquiry-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; color: var(--yellow); font-size: 12px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.inquiry-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--yellow); }
.inquiry h2 { font-family: var(--serif); font-size: clamp(38px, 4.6vw, 62px); font-weight: 800; text-transform: uppercase; line-height: 0.9; margin-bottom: 20px; max-width: 680px; }
.inquiry h2 .y { color: var(--yellow); }
.inquiry p { max-width: 640px; font-size: 17px; color: rgba(255,255,255,0.78); line-height: 1.7; margin-bottom: 28px; }
.inquiry-icons { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 620px; }
.inquiry-icon-card { position: relative; display: flex; align-items: center; gap: 16px; min-height: 78px; padding: 15px 18px; color: white; text-decoration: none; border: 1px solid rgba(255,255,255,0.16); border-radius: 8px; background: rgba(255,255,255,0.08); box-shadow: 0 16px 36px rgba(0,0,0,0.16); backdrop-filter: blur(10px); transition: transform 0.25s, border-color 0.25s, background 0.25s; }
.inquiry-icon-card:hover { transform: translateY(-3px); border-color: rgba(254,240,19,0.62); background: rgba(255,255,255,0.12); }
.inquiry-icon-card .icb { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; color: var(--black); background: var(--yellow); border-radius: 7px; box-shadow: 0 12px 28px rgba(254,240,19,0.18); }
.inquiry-icon-card .icb svg { width: 23px; height: 23px; }
.inquiry-icon-card strong { display: block; color: white; font-size: 17px; font-weight: 900; line-height: 1.2; }
.inquiry-icon-card small { display: block; margin-top: 4px; color: rgba(255,255,255,0.62); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.inquiry-note { max-width: 620px; margin-top: 16px; padding: 17px 18px; border-left: 4px solid var(--yellow); background: rgba(20,21,28,0.34); color: rgba(255,255,255,0.82); font-size: 14px; font-weight: 750; line-height: 1.6; }
.form-card { position: relative; background: white; border: 1px solid rgba(255,255,255,0.4); border-radius: 10px; padding: 36px; box-shadow: 0 28px 70px rgba(0,0,0,0.28); }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--yellow), var(--red), var(--navy)); border-radius: 10px 10px 0 0; }
.form-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 700; text-transform: uppercase; color: var(--black); margin-bottom: 6px; }
.form-card .fc-sub { font-size: 13px; color: var(--steel); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em; }
.field input, .field textarea, .field select { padding: 12px 14px; border: 1px solid var(--line); border-radius: 5px; font-family: var(--sans); font-size: 14px; color: var(--ink); outline: none; transition: border 0.2s; background: white; }
.field input:focus, .field textarea:focus { border-color: var(--navy); }
.field textarea { resize: vertical; min-height: 90px; }
.form-selected-product { display: flex; align-items: center; gap: 12px; background: var(--bone); border: 1px solid var(--line); border-radius: 6px; padding: 12px; margin-bottom: 18px; }
.form-selected-product .fsp-img { width: 48px; height: 48px; border-radius: 4px; background-size: cover; background-position: center; flex-shrink: 0; }
.form-selected-product strong { display: block; font-size: 14px; }
.form-selected-product span { font-size: 12px; color: var(--steel); }
.form-consent { font-size: 12px; color: var(--steel); line-height: 1.5; margin: 14px 0 18px; display: flex; gap: 10px; align-items: flex-start; }
.form-consent input { margin-top: 3px; }

/* Related */
.related { max-width: 1340px; margin: 0 auto; padding: 70px 28px; }
.related h2 { font-family: var(--serif); font-size: 40px; font-weight: 800; text-transform: uppercase; margin-bottom: 32px; }
.related h2 .y { background: var(--yellow); padding: 0 10px; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rel-card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; transition: all var(--transition-med); }
.rel-card:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: 0 14px 30px rgba(62,64,143,0.12); }
.rel-img { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.rel-body { padding: 16px; }
.rel-body .rc { font-size: 11px; color: var(--red); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.rel-body h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; text-transform: uppercase; margin-top: 4px; }

@media (max-width: 1024px) {
  .prod-top { grid-template-columns: 1fr; gap: 32px; }
  .gallery { position: static; }
  .desc-grid { grid-template-columns: 1fr; gap: 28px; }
  .inquiry-inner { grid-template-columns: 1fr; gap: 32px; }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .product-description-head h2 { font-size: 30px; }
  .desc-text { padding: 24px 20px; }
  .desc-grid p { font-size: 15px; line-height: 1.74; }
  .desc-grid li { padding: 12px 14px 12px 38px; }
  .quick-specs { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
  .prod-cta-row { flex-direction: column; }
  .inquiry-inner { padding: 58px 22px; }
  .inquiry h2 { font-size: 38px; }
  .inquiry-icon-card { align-items: flex-start; min-height: 0; }
  .form-card { padding: 28px 20px; }
}

/* ── Karta produktu — mobilne poprawki ───────────────────── */
@media (max-width: 768px) {
  /* Blokuje overflow z prawej (flex bez wrap w prod-meta) */
  .prod-top { overflow: hidden; }

  /* Prod-meta: pionowo, jako karta z dwoma wierszami */
  .prod-meta {
    flex-direction: column;
    gap: 0;
    padding-top: 0;
    border-top: none;
    margin-top: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
  }
  .prod-meta .pm {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    background: white;
    min-width: 0;
  }
  .prod-meta .pm:last-child {
    border-bottom: none;
    background: var(--bone);
  }
  .prod-meta .pm svg { flex-shrink: 0; }
  .prod-meta .pm strong { color: var(--ink); }
}
