.cp-door-page{--cp-yellow:#f2c230;--cp-yellow-dark:#d6a91d;--cp-dark:#24211c;--cp-text:#2d2d2d;--cp-muted:#666;--cp-soft:#f7f4ee;--cp-border:#e6dfd2;font-family:Arial,Helvetica,sans-serif;color:var(--cp-text);line-height:1.65}.cp-door-page *{box-sizing:border-box}.cp-door-page img{max-width:100%;height:auto;display:block}.cp-door-page a{text-decoration:none}.cp-door-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:26px;align-items:stretch;margin:18px 0 28px;padding:28px;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f8f4ea 100%);border:1px solid var(--cp-border);box-shadow:0 14px 34px rgba(0,0,0,.08)}.cp-door-hero__content{display:flex;flex-direction:column;justify-content:center}.cp-eyebrow{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#9a7412}.cp-door-page h1,.cp-door-page h2,.cp-door-page h3{line-height:1.18;color:var(--cp-dark);margin-top:0}.cp-door-page h1{font-size:clamp(30px,4vw,48px);margin-bottom:14px}.cp-door-page h2{font-size:clamp(24px,3vw,34px);margin-bottom:12px}.cp-door-page h3{font-size:20px;margin-bottom:10px}.cp-door-page p{margin:0 0 14px}.cp-lead{font-size:18px;color:#3d3a34}.cp-door-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}.cp-door-actions--vertical{flex-direction:column;min-width:260px}.cp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 18px;border-radius:999px;font-weight:700;text-align:center;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.cp-btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,0,0,.14)}.cp-btn--primary{background:var(--cp-yellow);color:#231f18}.cp-btn--primary:hover{background:var(--cp-yellow-dark);color:#231f18}.cp-btn--secondary{background:#fff;color:#231f18;border:1px solid var(--cp-border)}.cp-door-hero__image{border-radius:18px;overflow:hidden;background:#ddd;min-height:260px}.cp-door-hero__image img{width:100%;height:100%;object-fit:cover}.cp-door-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 26px}.cp-trust-card,.cp-info-card,.cp-choice-card,.cp-model-card,.cp-feature-card,.cp-faq-item,.cp-note-box{border:1px solid var(--cp-border);background:#fff;border-radius:18px;padding:20px;box-shadow:0 8px 24px rgba(0,0,0,.05);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.cp-trust-card:hover,.cp-info-card:hover,.cp-choice-card:hover,.cp-model-card:hover,.cp-feature-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(0,0,0,.09);border-color:#e2c15a}.cp-trust-card strong{display:block;font-size:17px;color:var(--cp-dark);margin-bottom:6px}.cp-trust-card span{display:block;color:var(--cp-muted)}.cp-section{margin:28px 0;padding:26px 0}.cp-section-head{max-width:900px;margin:0 auto 22px;text-align:center}.cp-section-head p{font-size:16px;color:#555}.cp-info-grid,.cp-choice-grid,.cp-model-grid,.cp-feature-grid{display:grid;gap:16px}.cp-info-grid{grid-template-columns:repeat(3,1fr)}.cp-choice-grid{grid-template-columns:repeat(4,1fr)}.cp-model-grid{grid-template-columns:repeat(3,1fr)}.cp-feature-grid{grid-template-columns:repeat(3,1fr)}.cp-info-card,.cp-choice-card,.cp-model-card{position:relative;overflow:hidden}.cp-info-card:before,.cp-choice-card:before,.cp-model-card:before{content:"";display:block;width:52px;height:5px;border-radius:10px;background:var(--cp-yellow);margin-bottom:16px}.cp-section--dark{margin-left:-15px;margin-right:-15px;padding:34px 24px;border-radius:22px;background:linear-gradient(135deg,#2b2822 0%,#171512 100%);color:#f5f1e8}.cp-section--dark h2,.cp-section--dark h3,.cp-section--dark .cp-eyebrow{color:#fff}.cp-section--dark p{color:#e8dfcd}.cp-feature-card{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18);color:#f5f1e8}.cp-feature-card strong{display:block;color:#fff;margin-bottom:6px;font-size:17px}.cp-feature-card span{color:#eadfcb}.cp-section--soft{background:var(--cp-soft);border:1px solid var(--cp-border);border-radius:22px;padding:28px}.cp-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;align-items:center}.cp-note-box{background:#fff8e2;border-color:#ead17a}.cp-note-box strong{display:block;font-size:20px;color:var(--cp-dark);margin-bottom:8px}.cp-section--cta{padding:0}.cp-cta-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:30px;border-radius:22px;background:linear-gradient(135deg,#fff7d7 0%,#f3c742 100%);box-shadow:0 16px 34px rgba(0,0,0,.10)}.cp-cta-box p{color:#332d1d}.cp-faq-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.cp-faq-item h3{font-size:18px}.cp-faq-item p{color:#555}.cp-door-page .cp-model-card p:last-child,.cp-door-page .cp-choice-card p:last-child,.cp-door-page .cp-info-card p:last-child,.cp-door-page .cp-faq-item p:last-child{margin-bottom:0}@media (max-width:991px){.cp-door-hero{grid-template-columns:1fr}.cp-door-trust,.cp-info-grid,.cp-feature-grid,.cp-model-grid,.cp-faq-list{grid-template-columns:repeat(2,1fr)}.cp-choice-grid{grid-template-columns:repeat(2,1fr)}.cp-two-col,.cp-cta-box{grid-template-columns:1fr}.cp-door-actions--vertical{min-width:0;flex-direction:row}}@media (max-width:640px){.cp-door-hero{padding:20px;border-radius:18px}.cp-door-trust,.cp-info-grid,.cp-feature-grid,.cp-model-grid,.cp-choice-grid,.cp-faq-list{grid-template-columns:1fr}.cp-section{margin:20px 0;padding:20px 0}.cp-section--dark{margin-left:0;margin-right:0;padding:24px 16px}.cp-section--soft,.cp-cta-box{padding:22px 16px}.cp-btn{width:100%;border-radius:14px}.cp-door-actions--vertical{flex-direction:column}.cp-door-page h1{font-size:29px}.cp-lead{font-size:16px}}
.cp-hero-brand{
margin:12px 0 18px;
}

.cp-hero-brand-logo{
max-width:140px;
width:auto;
height:auto;
display:block;
object-fit:contain;
}

.cp-hero-brand{margin:12px 0 18px}
.cp-hero-brand-logo{max-width:140px;width:auto;height:auto;display:block;object-fit:contain}
.cp-catalog-cover{
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:20px;
    text-decoration:none;
}

.cp-catalog-cover img{
    width:160px;
    border-radius:10px;
    box-shadow:0 10px 28px rgba(0,0,0,.18);
    transition:.25s;
}

.cp-catalog-cover:hover img{
    transform:translateY(-6px) scale(1.02);
    box-shadow:0 18px 40px rgba(0,0,0,.25);
}

  .cp-catalogs-clean {
    scroll-behavior: smooth;
  }

  .cp-catalog-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }

  .cp-catalog-sidebar {
    position: sticky;
    top: 20px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 26px rgba(0,0,0,0.06);
  }

  .cp-catalog-sidebar strong {
    display: block;
    margin-bottom: 14px;
    font-size: 18px;
  }

  .cp-catalog-sidebar a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #222;
    text-decoration: none;
    font-weight: 600;
  }

  .cp-catalog-sidebar a:last-child {
    border-bottom: 0;
  }

  .cp-catalog-sidebar a:hover {
    color: #b48a2c;
  }

  .cp-catalog-search {
    margin-bottom: 26px;
    background: #f6f6f6;
    border-radius: 16px;
    padding: 20px;
  }

  .cp-catalog-search label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .cp-catalog-search input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
  }

  .cp-catalog-section {
    scroll-margin-top: 30px;
    margin-bottom: 42px;
  }

  .cp-catalog-section h2 {
    margin-bottom: 8px;
  }

  .cp-catalog-section > p {
    margin-bottom: 18px;
    color: #666;
  }

  .cp-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .cp-catalog-card {
    display: flex;
    flex-direction: column;
    min-height: 190px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  }

  .cp-catalog-card h3 {
    margin: 0 0 8px;
    font-size: 21px;
  }

  .cp-catalog-card p {
    margin: 0 0 18px;
    color: #666;
  }

  .cp-catalog-card .cp-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .cp-catalog-empty {
    display: none;
    padding: 18px;
    border-radius: 12px;
    background: #fff7df;
    border: 1px solid #ead7a4;
  }

  @media (max-width: 991px) {
    .cp-catalog-layout {
      grid-template-columns: 1fr;
    }

    .cp-catalog-sidebar {
      position: static;
    }

    .cp-catalog-sidebar a {
      display: inline-block;
      margin-right: 12px;
      border-bottom: 0;
    }

    .cp-catalog-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 640px) {
    .cp-catalog-grid {
      grid-template-columns: 1fr;
    }
  }
.cp-catalog-cover img{
    max-height:190px;
    width:auto;
}
/* ==========================================
   KATALOGI PDF - WIDOK MOBILNY
========================================== */

@media (max-width: 768px) {

  .cp-catalogs-clean .cp-section {
    padding-top: 28px;
  }

  .cp-catalog-layout {
    display: block;
  }

  /* Menu kategorii jako poziomy pasek */
  .cp-catalog-sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    margin: 0 -16px 20px;
    padding: 12px 16px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
    -webkit-overflow-scrolling: touch;
  }

  .cp-catalog-sidebar strong {
    flex: 0 0 auto;
    margin: 0 8px 0 0;
    font-size: 14px;
    font-weight: 800;
  }

  .cp-catalog-sidebar a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    background: #f8f8f8;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
  }

  .cp-catalog-sidebar a:hover,
  .cp-catalog-sidebar a:focus {
    background: #f6c42d;
    border-color: #f6c42d;
    color: #111;
  }

  /* Ukrycie paska przewijania menu */
  .cp-catalog-sidebar::-webkit-scrollbar {
    display: none;
  }

  .cp-catalog-sidebar {
    scrollbar-width: none;
  }

  /* Wyszukiwarka */
  .cp-catalog-search {
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 14px;
    background: #f7f7f7;
  }

  .cp-catalog-search label {
    display: block;
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 800;
  }

  .cp-catalog-search input {
    display: block;
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    font-size: 15px;
  }

  .cp-catalog-empty {
    margin-bottom: 22px;
    padding: 14px;
    font-size: 15px;
  }

  /* Sekcje */
  .cp-catalog-section {
    margin-bottom: 38px;
    scroll-margin-top: 76px;
  }

  .cp-catalog-section .cp-eyebrow {
    margin-bottom: 8px;
    font-size: 13px;
    letter-spacing: .14em;
  }

  .cp-catalog-section h2 {
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.15;
  }

  .cp-catalog-section > p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.55;
  }

  /* Siatka kafli */
  .cp-catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cp-catalog-card {
    min-height: auto;
    padding: 20px;
    border-radius: 18px;
  }

  .cp-catalog-cover {
    margin-bottom: 18px;
  }

  .cp-catalog-cover img {
    display: block;
    width: auto;
    max-width: min(100%, 230px);
    max-height: 260px;
    margin: 0 auto;
    border-radius: 10px;
  }

  .cp-catalog-card h3 {
    margin-bottom: 10px;
    font-size: 23px;
    line-height: 1.2;
  }

  .cp-catalog-card p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.55;
  }

  .cp-catalog-card .cp-btn {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    font-size: 16px;
    line-height: 1.2;
  }

  /* Hero na telefonie */
  .cp-door-hero {
    padding-bottom: 20px;
  }

  .cp-door-hero__image {
    display: none;
  }

  .cp-door-actions {
    gap: 10px;
  }

  .cp-door-actions .cp-btn {
    width: 100%;
  }
}
/* =====================================================
   CARPENTER - UZUPELNIENIA WSPOLNE DLA STRON OFERTOWYCH
   Galerie, wzory produktow, ogrodzenia, drzwi, bramy
===================================================== */

/* ---------- Linkowane zdjecia w kartach ---------- */

.cp-choice-card a[rel^="lightbox"],
.cp-info-card a[rel^="lightbox"],
.cp-model-card a[rel^="lightbox"],
.cp-door-hero__image a[rel^="lightbox"] {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.cp-choice-card a[rel^="lightbox"] img,
.cp-info-card a[rel^="lightbox"] img,
.cp-model-card a[rel^="lightbox"] img,
.cp-door-hero__image a[rel^="lightbox"] img {
  transition: transform .25s ease, box-shadow .25s ease;
}

.cp-choice-card a[rel^="lightbox"]:hover img,
.cp-info-card a[rel^="lightbox"]:hover img,
.cp-model-card a[rel^="lightbox"]:hover img,
.cp-door-hero__image a[rel^="lightbox"]:hover img {
  transform: scale(1.025);
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}


/* ---------- Pary zdjec: fragment ogrodzenia + przeslo ---------- */

.cp-fence-pair img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #f7f7f7;
  margin-bottom: 14px;
}

.cp-fence-pair .cp-fence-main {
  margin-bottom: 18px;
}

.cp-fence-pair a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.cp-fence-pair small {
  display: block;
  margin: 0 0 8px;
  color: #666;
  font-size: 13px;
  line-height: 1.35;
}


/* ---------- Kolory, dekory, probki materialow ---------- */

.cp-fence-color img,
.cp-swatch-card img,
.cp-color-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #f7f7f7;
}


/* ---------- Zdjecia produktowe w kartach ---------- */

.cp-choice-card img,
.cp-info-card img,
.cp-model-card img {
  border-radius: 12px;
  background: #f7f7f7;
  margin-bottom: 14px;
}

.cp-choice-card > img,
.cp-info-card > img,
.cp-model-card > img {
  width: 100%;
  height: auto;
}


/* ---------- Galerie modeli: drzwi, bramy, okna ---------- */

.cp-product-gallery,
.cp-door-model-gallery,
.cp-pattern-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cp-product-card,
.cp-door-model-card,
.cp-pattern-card {
  border: 1px solid var(--cp-border);
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cp-product-card:hover,
.cp-door-model-card:hover,
.cp-pattern-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,.09);
  border-color: #e2c15a;
}

.cp-product-card:before,
.cp-door-model-card:before,
.cp-pattern-card:before {
  content: "";
  display: block;
  width: 52px;
  height: 5px;
  border-radius: 10px;
  background: var(--cp-yellow);
  margin-bottom: 16px;
}

.cp-product-card img,
.cp-door-model-card img,
.cp-pattern-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #f7f7f7;
  margin-bottom: 14px;
}

.cp-product-card h3,
.cp-door-model-card h3,
.cp-pattern-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}


/* ---------- Pomocnicze podpisy pod zdjeciami ---------- */

.cp-image-label {
  display: block;
  margin: 0 0 8px;
  color: #666;
  font-size: 13px;
  line-height: 1.35;
}

.cp-image-note {
  margin-top: 8px;
  color: #666;
  font-size: 14px;
  line-height: 1.45;
}


/* ---------- Poprawki mobile dla galerii ---------- */

@media (max-width: 991px) {
  .cp-product-gallery,
  .cp-door-model-gallery,
  .cp-pattern-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cp-product-gallery,
  .cp-door-model-gallery,
  .cp-pattern-gallery {
    grid-template-columns: 1fr;
  }

  .cp-fence-pair img {
    margin-bottom: 10px;
  }

  .cp-choice-card a[rel^="lightbox"],
  .cp-info-card a[rel^="lightbox"],
  .cp-model-card a[rel^="lightbox"],
  .cp-door-hero__image a[rel^="lightbox"] {
    cursor: default;
  }

  .cp-choice-card a[rel^="lightbox"]:hover img,
  .cp-info-card a[rel^="lightbox"]:hover img,
  .cp-model-card a[rel^="lightbox"]:hover img,
  .cp-door-hero__image a[rel^="lightbox"]:hover img {
    transform: none;
    box-shadow: none;
  }
}
.cp-banner-spacing {
    margin: 30px 0;
}