/* Camptruck: zakupy online u partnera. Kolory i typografia jak na stronie głównej Traker24. */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 4px; }

/* ===== Nagłówek: "Kup online" wypełniony, B2B z obramowaniem ===== */
.ct-buy, .ct-b2b {
  display: inline-flex; align-items: center; gap: 7px; min-height: 42px;
  font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none;
  padding: 0 18px; border-radius: 10px; border: 1.5px solid #1d4ed8;
}
.ct-buy { color: #fff; background: #1d4ed8; box-shadow: 0 8px 20px -8px rgba(29,78,216,.6); }
.ct-buy:hover { background: #1e40af; border-color: #1e40af; }
.ct-b2b { color: #1d4ed8; background: transparent; }
.ct-b2b:hover { background: #e7edfb; }
.ct-buy svg { flex: none; }

/* ===== Sekcja Camptruck pod banerem ===== */
.ct-section {
  max-width: 1240px; margin: 0 auto; padding: 84px 40px 8px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.45fr); gap: 56px; align-items: center;
}
.ct-intro { min-width: 0; }
.ct-eyebrow {
  display: block; margin-bottom: 14px; color: #1d4ed8;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.ct-intro h2 {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 44px; line-height: 1.06; letter-spacing: -.02em;
  color: #0b1220; margin: 0 0 18px; text-wrap: balance;
}
.ct-lead { margin: 0 0 28px; font-size: 17px; line-height: 1.6; color: #5a677f; }
.ct-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; max-width: 100%;
  padding: 0 28px; background: #1d4ed8; color: #fff; border-radius: 12px;
  font-weight: 600; font-size: 16px; text-align: center; text-decoration: none;
  box-shadow: 0 12px 26px -10px rgba(29,78,216,.65);
}
.ct-button:hover { background: #1e40af; }
.ct-partner { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #e2e7f2; }
.ct-logo { flex: none; display: block; line-height: 0; border-radius: 6px; }
.ct-logo img { display: block; width: 150px; max-width: 100%; height: auto; }
.ct-partner p { margin: 0; }
.ct-partner-main { font-size: 14.5px; line-height: 1.45; font-weight: 600; color: #2d3a54; }
.ct-partner-sub { font-size: 13.5px; line-height: 1.45; color: #5a677f; margin-top: 2px !important; }

.ct-tiles, .ct-tiles li { list-style: none; margin: 0; padding: 0; }
.ct-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ct-tile {
  display: flex; flex-direction: column; height: 100%; text-decoration: none;
  background: #fff; border: 1px solid #e4e9f4; border-radius: 16px; overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.ct-tile:hover { border-color: #c7d4f5; transform: translateY(-3px); }
.ct-img { display: block; height: 220px; background: #fff; padding: 16px; }
.ct-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ct-txt { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 18px 18px; border-top: 1px solid #eef2f9; }
.ct-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px; line-height: 1.3; color: #0b1220; }
.ct-more { margin-top: auto; font-weight: 600; font-size: 14px; line-height: 1.4; color: #1d4ed8; }
.ct-tile:hover .ct-more { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Polecane produkty i rozmiary mat ===== */
.ct-products { grid-column: 1 / -1; min-width: 0; padding-top: 8px; }
.ct-sub {
  margin: 0 0 16px; color: #5a677f;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.ct-plist, .ct-plist li { list-style: none; margin: 0; padding: 0; }
.ct-plist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ct-prod {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px;
  align-items: center; height: 100%; box-sizing: border-box; padding: 12px 14px 12px 12px; text-decoration: none;
  background: #fff; border: 1px solid #e4e9f4; border-radius: 14px; transition: border-color .2s;
}
.ct-prod:hover { border-color: #c7d4f5; }
.ct-pimg { grid-row: 1 / 3; display: block; width: 76px; height: 76px; }
.ct-pimg img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ct-pname { align-self: end; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14.5px; line-height: 1.3; color: #0b1220; }
.ct-pmore { align-self: start; font-weight: 600; font-size: 13.5px; color: #1d4ed8; }
.ct-prod:hover .ct-pmore { text-decoration: underline; text-underline-offset: 3px; }
.ct-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 18px 0 0; font-size: 15px; color: #5a677f; }
.ct-size {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 100px;
  border: 1px solid #d5deee; background: #fff; color: #0f1830; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.ct-size:hover { border-color: #1d4ed8; color: #1d4ed8; }

.ct-faq-link { color: #1d4ed8; font-weight: 600; }

/* ===== Stopka ===== */
.ct-footer {
  max-width: 1240px; margin: 28px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; font-size: 14px;
}
.ct-footer a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ct-footer a:hover { color: #c3d4ff; }
.ct-footer span { color: #aeb9d4; }

/* ===== Motyw ciemny ===== */
html.trk-dark .ct-buy { border-color: #2f5be0; background: #2f5be0; }
html.trk-dark .ct-b2b { color: #9bbaff; border-color: #3b5bb5; }
html.trk-dark .ct-b2b:hover { background: rgba(155,186,255,.08); }
html.trk-dark .ct-eyebrow, html.trk-dark .ct-more, html.trk-dark .ct-faq-link { color: #9bbaff; }
html.trk-dark .ct-intro h2, html.trk-dark .ct-name { color: #eef2f9; }
html.trk-dark .ct-lead, html.trk-dark .ct-partner-sub { color: #aab4c8; }
html.trk-dark .ct-partner-main { color: #dfe5f0; }
html.trk-dark .ct-partner { border-color: rgba(255,255,255,.10); }
html.trk-dark .ct-logo { background: #fff; padding: 5px 7px; }      /* ciemny tekst logo potrzebuje jasnego tła */
html.trk-dark .ct-tile { background: #141b28; border-color: rgba(255,255,255,.10); }
html.trk-dark .ct-tile:hover { border-color: rgba(155,186,255,.4); }
html.trk-dark .ct-txt { border-color: rgba(255,255,255,.08); }
html.trk-dark .ct-prod, html.trk-dark .ct-size { background: #141b28; border-color: rgba(255,255,255,.10); }
html.trk-dark .ct-pimg { background: #fff; border-radius: 8px; }   /* zdjęcia produktów mają białe tło */
html.trk-dark .ct-pname, html.trk-dark .ct-size { color: #eef2f9; }
html.trk-dark .ct-pmore { color: #9bbaff; }
html.trk-dark .ct-sub, html.trk-dark .ct-sizes { color: #aab4c8; }
html.trk-dark a:focus-visible, html.trk-dark button:focus-visible, html.trk-dark summary:focus-visible { outline-color: #9bbaff; }

/* ===== Responsywność ===== */
@media (max-width: 1240px) {
  .ct-buy-long { display: none; }   /* wąski nagłówek: samo „Kup online” */
}
@media (max-width: 1080px) {
  .ct-section { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ct-intro { max-width: 640px; }
  .ct-plist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ct-section { padding: 56px 22px 0; }
  .ct-intro h2 { font-size: 30px !important; line-height: 1.15 !important; }
}
@media (max-width: 600px) {
  /* telefon: kafelki jeden pod drugim, zdjęcie nad podpisem z ograniczoną wysokością, bez karuzeli */
  .ct-tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ct-tile { flex-direction: row; align-items: stretch; }
  .ct-tile:hover { transform: none; }
  .ct-img { flex: none; width: 104px; height: 104px; padding: 10px; box-sizing: border-box; }
  .ct-txt { justify-content: center; padding: 12px 16px; border-top: 0; border-left: 1px solid #eef2f9; }
  .ct-more { margin-top: 0; }
  .ct-partner { flex-wrap: wrap; }
  .ct-button { width: 100%; }
  .ct-plist { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ct-prod { grid-template-columns: 64px minmax(0, 1fr); }
  .ct-pimg { width: 64px; height: 64px; }
}
@media (max-width: 520px) {
  header > div > div:last-child { width: 100%; flex-wrap: wrap; justify-content: center; gap: 10px !important; }
}

/* Oferta w ciemnym motywie: czytelne podpisy i wyraźny przycisk B2B */
html.trk-dark .ct-otag { color: #9bbaff !important; }
html.trk-dark a.ct-ob[style] { background: #fff !important; color: #0b1220 !important; }
