:root { --cp-dark: #111827; --cp-muted: #6b7280; --cp-line: #e5e7eb; --cp-soft: #f6f7f8; --cp-yellow: #FEFE06; --cp-yellow-dark: #BABA02; --cp-radius: 18px; }


.cp-offer-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  color: var(--cp-dark);
}

.cp-offer-hero { background: #282826; color: #ffffff; border-radius: var(--cp-radius); padding: 38px 32px; margin-bottom: 30px; }

.cp-eyebrow { color: #FEFE06; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }

.cp-offer-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin: 0 0 18px;
}

.cp-offer-hero p {
  max-width: 880px;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.cp-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cp-offer-card {
  display: block;
  background: #fff;
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  padding: 24px 18px;
  text-align: center;
  text-decoration: none;
  color: var(--cp-dark);
  box-shadow: 0 10px 30px rgba(17, 24, 39, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cp-offer-card:hover {
  transform: translateY(-4px);
  border-color: var(--cp-yellow);
  box-shadow: 0 14px 36px rgba(17, 24, 39, .12);
  color: var(--cp-dark);
  text-decoration: none;
}

.cp-offer-card img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 14px;
}

.cp-offer-card h2 {
  font-size: 20px;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.cp-offer-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--cp-muted);
  margin: 0;
}

.cp-offer-card--wide {
  grid-column: span 2;
}

.cp-offer-seo,
.cp-video-section {
  margin-top: 34px;
  background: var(--cp-soft);
  border-radius: var(--cp-radius);
  padding: 28px;
}

.cp-offer-seo h2,
.cp-video-section h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.cp-offer-seo p {
  margin: 0;
  line-height: 1.75;
  color: #374151;
}

.cp-video-intro {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
  line-height: 1.7;
  color: #555;
}

.cp-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: start;
}

.cp-video-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  padding: 18px;
}

.cp-video-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.cp-video-card p {
  margin: 0;
  line-height: 1.7;
  color: #555;
}

.cp-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.cp-video iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
}

.cp-product-video {
  margin: 70px auto 0;
  max-width: 1000px;
}

.cp-product-video h2 {
  margin-bottom: 16px;
}

.cp-product-video p {
  margin-bottom: 24px;
  line-height: 1.7;
  color: #555;
}

.cp-product-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 18px;
}

/* Premium cards - wspólny wygląd kart ofertowych */

.cp-extdoors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.cp-extdoors-card {
  overflow: hidden;
  border-radius: var(--cp-radius);
  background: #fff;
  border: 1px solid var(--cp-line);
  box-shadow: 0 8px 24px rgba(17, 24, 39, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cp-extdoors-card:hover {
  transform: translateY(-5px);
  border-color: var(--cp-yellow);
  box-shadow: 0 14px 32px rgba(17, 24, 39, .14);
}

.cp-extdoors-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.cp-extdoors-card-body {
  padding: 18px;
}

.cp-extdoors-card-body h2 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
  color: var(--cp-dark);
}

.cp-extdoors-card-body p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: #555047;
}

.cp-card-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--cp-yellow-dark) !important;
  text-decoration: none !important;
}

.cp-card-link:hover {
  color: var(--cp-dark) !important;
  text-decoration: underline !important;
}

@media (max-width: 992px) {
  .cp-offer-grid,
  .cp-extdoors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-offer-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .cp-offer-page {
    padding: 16px 10px 36px;
  }

  .cp-offer-hero {
    padding: 28px 20px;
  }

  .cp-offer-grid,
  .cp-extdoors-grid {
    grid-template-columns: 1fr;
  }

  .cp-offer-card--wide {
    grid-column: span 1;
  }

  .cp-extdoors-card img {
    height: 190px;
  }

  .cp-video-grid {
    grid-template-columns: 1fr;
  }

  .cp-offer-seo,
  .cp-video-section {
    padding: 22px 18px;
  }
}
/* Czytelniejszy układ kart na telefonach */

@media (max-width: 576px) {

  .cp-extdoors-grid {
    gap: 18px;
    margin: 22px 0;
  }

  .cp-extdoors-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: stretch;
    min-height: 132px;
    border-radius: 16px;
  }

  .cp-extdoors-card > a:first-child {
    display: block;
    height: 100%;
  }

  .cp-extdoors-card img {
    width: 112px;
    height: 100%;
    min-height: 132px;
    object-fit: cover;
    border-radius: 16px 0 0 16px;
  }

  .cp-extdoors-card-body {
    padding: 14px 14px 14px 16px;
  }

  .cp-extdoors-card-body h2 {
    font-size: 17px;
    margin-bottom: 7px;
  }

  .cp-extdoors-card-body p {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 8px;
  }

  .cp-card-link {
    font-size: 13px;
  }
}
/* Mobile fix dla kart cp-extdoors - układ jak cp-offer-card */

@media (max-width: 576px) {

  .cp-extdoors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 22px 0;
  }

  .cp-extdoors-card {
    display: block !important;
    text-align: center;
    border-radius: var(--cp-radius);
    overflow: hidden;
  }

  .cp-extdoors-card > a:first-child {
    display: block;
    width: 100%;
  }

  .cp-extdoors-card img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    padding: 18px 18px 0;
    background: #fff;
    border-radius: 0 !important;
  }

  .cp-extdoors-card-body {
    padding: 16px 18px 20px;
    text-align: center;
  }

  .cp-extdoors-card-body h2 {
    font-size: 19px;
    line-height: 1.25;
    margin: 0 0 10px;
    text-transform: uppercase;
  }

  .cp-extdoors-card-body p {
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 12px;
  }

  .cp-card-link {
    justify-content: center;
    font-size: 14px;
  }
}
/* WYMUSZENIE UKŁADU MOBILNEGO DLA KART OFERTY */

@media only screen and (max-width: 767px) {

  .cp-offer-page .cp-extdoors-grid {
    display: block !important;
  }

  .cp-offer-page .cp-extdoors-card {
    display: block !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    overflow: hidden !important;
    text-align: center !important;
  }

  .cp-offer-page .cp-extdoors-card > a:first-child {
    display: block !important;
    width: 100% !important;
  }

  .cp-offer-page .cp-extdoors-card img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    padding: 16px !important;
    margin: 0 auto !important;
    background: #fff !important;
  }

  .cp-offer-page .cp-extdoors-card-body {
    display: block !important;
    padding: 0 18px 20px !important;
    text-align: center !important;
  }

  .cp-offer-page .cp-extdoors-card-body h2 {
    font-size: 19px !important;
    margin: 0 0 10px !important;
  }

  .cp-offer-page .cp-extdoors-card-body p {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 0 0 12px !important;
  }

  .cp-offer-page .cp-card-link {
    display: inline-block !important;
    font-size: 14px !important;
  }
}
/* Logotypy producentów */

.cp-extdoors-card img.cp-logo-fit {
  object-fit: contain;
  padding: 24px;
  background: #fff;
}
.cp-dre-hero-img {
  width: 100%;
  height: auto !important;
  max-height: 500px;
  object-fit: contain !important;
  background: #fff;
}
.cp-polskone-img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
  background: #fff;
}