/* ============ DP SHOP — Blog (front) ============ */
.dpb-wrap, .dpb-article{ max-width:1120px; margin:24px auto 60px; padding:0 16px; box-sizing:border-box; }
.dpb-wrap *, .dpb-article *{ box-sizing:border-box; }

/* ---- naglowek listy ---- */
.dpb-head{ text-align:center; margin:10px 0 24px; }
.dpb-h1{ font-size:34px; font-weight:800; color:#1d1d1f; margin:0 0 6px; letter-spacing:-.01em; }
.dpb-cat-desc{ color:#666; max-width:680px; margin:6px auto 0; }

/* ---- chipsy kategorii ---- */
.dpb-cats{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:0 0 30px; }
.dpb-chip{ padding:7px 16px; border-radius:22px; background:#f3eefb; color:#7a4fb0; font-size:13px; font-weight:600;
  text-decoration:none; border:1px solid transparent; transition:all .2s ease; }
.dpb-chip:hover{ background:#e9dcfa; color:#6a3fa0; }
.dpb-chip.is-active{ background:#bf78ee; color:#fff; }

/* ---- siatka kart ---- */
.dpb-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.dpb-card{ background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 5px 18px rgba(20,20,40,.07);
  display:flex; flex-direction:column; transition:transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease; }
.dpb-card:hover{ transform:translateY(-5px); box-shadow:0 18px 40px rgba(90,60,140,.16); }
.dpb-card-media{ display:block; aspect-ratio:16/10; overflow:hidden; background:#f1eef7; }
.dpb-card-media img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.dpb-card:hover .dpb-card-media img{ transform:scale(1.06); }
.dpb-noimg{ display:flex; align-items:center; justify-content:center; height:100%; color:#c9b9e6; font-weight:800; font-size:26px; }
.dpb-card-body{ padding:16px 18px 20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.dpb-card-cat{ align-self:flex-start; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  color:#bf78ee; text-decoration:none; }
.dpb-card-title{ font-size:19px; line-height:1.3; font-weight:700; margin:0; }
.dpb-card-title a{ color:#1d1d1f; text-decoration:none; }
.dpb-card-title a:hover{ color:#bf78ee; }
.dpb-card-exc{ color:#666; font-size:14px; line-height:1.55; margin:0; flex:1; }
.dpb-card-meta{ color:#999; font-size:12.5px; }
.dpb-card-more{ align-self:flex-start; color:#bf78ee; font-weight:700; text-decoration:none; font-size:14px; }
.dpb-card-more:hover{ text-decoration:underline; }

.dpb-empty{ text-align:center; color:#888; padding:50px 0; }

/* ---- pager ---- */
.dpb-pager{ display:flex; align-items:center; justify-content:center; gap:20px; margin:40px 0 0; }
.dpb-pager a{ color:#bf78ee; font-weight:700; text-decoration:none; }
.dpb-pager-info{ color:#999; font-size:14px; }

/* ============ ARTYKUL ============ */
.dpb-breadcrumb{ font-size:13px; color:#999; margin:0 0 18px; }
.dpb-breadcrumb a{ color:#bf78ee; text-decoration:none; }
.dpb-bc-current{ color:#999; }
.dpb-art-head{ text-align:center; margin:0 auto 26px; max-width:760px; }
.dpb-art-cat{ display:inline-block; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.05em;
  color:#bf78ee; text-decoration:none; margin-bottom:10px; }
.dpb-art-title{ font-size:40px; line-height:1.15; font-weight:800; color:#1d1d1f; margin:0 0 14px; letter-spacing:-.015em; }
.dpb-art-meta{ color:#999; font-size:14px; }
.dpb-art-cover{ border-radius:20px; overflow:hidden; margin:0 auto 34px; max-width:900px; box-shadow:0 12px 34px rgba(20,20,40,.12); }
.dpb-art-cover img{ width:100%; display:block; }

/* typografia tresci */
.dpb-art-content{ max-width:760px; margin:0 auto; font-size:17px; line-height:1.75; color:#2c2c30; }
.dpb-art-content h2{ font-size:27px; font-weight:800; color:#1d1d1f; margin:38px 0 14px; letter-spacing:-.01em; }
.dpb-art-content h3{ font-size:21px; font-weight:700; color:#1d1d1f; margin:28px 0 10px; }
.dpb-art-content p{ margin:0 0 18px; }
.dpb-art-content a{ color:#a855d4; text-decoration:underline; }
.dpb-art-content img{ max-width:100%; height:auto; border-radius:14px; margin:14px 0; }
.dpb-art-content ul, .dpb-art-content ol{ margin:0 0 18px; padding-left:24px; }
.dpb-art-content li{ margin:0 0 8px; }
.dpb-art-content blockquote{ border-left:4px solid #bf78ee; margin:22px 0; padding:6px 18px; color:#555;
  background:#faf6ff; border-radius:0 10px 10px 0; }
.dpb-art-content iframe{ max-width:100%; border-radius:14px; margin:16px 0; aspect-ratio:16/9; width:100%; }

/* produkty z artykulu */
.dpb-products{ max-width:900px; margin:44px auto 0; padding:26px; background:#faf6ff; border-radius:18px; }
.dpb-products-h{ font-size:22px; font-weight:800; color:#1d1d1f; margin:0 0 18px; }
.dpb-products-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.dpb-prod{ display:flex; flex-direction:column; gap:6px; text-decoration:none; background:#fff; border-radius:12px;
  padding:12px; box-shadow:0 3px 10px rgba(20,20,40,.06); transition:transform .25s ease, box-shadow .25s ease; }
.dpb-prod:hover{ transform:translateY(-3px); box-shadow:0 12px 26px rgba(90,60,140,.14); }
.dpb-prod-img{ width:100%; aspect-ratio:1; object-fit:cover; border-radius:8px; }
.dpb-prod-name{ font-size:13px; font-weight:600; color:#1d1d1f; line-height:1.3; }
.dpb-prod-price{ font-size:15px; font-weight:800; color:#bf78ee; }

/* W skrócie (key takeaways) */
.dpb-takeaways{ max-width:760px; margin:0 auto 30px; background:#faf6ff; border:1px solid #ecdffb;
  border-left:4px solid #bf78ee; border-radius:12px; padding:18px 22px; }
.dpb-tk-h{ font-size:15px !important; font-weight:800 !important; text-transform:uppercase; letter-spacing:.05em;
  color:#8a52c8 !important; margin:0 0 10px !important; }
.dpb-takeaways ul{ margin:0; padding-left:20px; }
.dpb-takeaways li{ margin:0 0 7px; color:#3a2c4a; line-height:1.55; }

/* FAQ */
.dpb-faq{ max-width:760px; margin:40px auto 0; }
.dpb-faq-h{ font-size:26px !important; font-weight:800 !important; color:#1d1d1f !important; margin:0 0 16px !important; }
.dpb-faq-item{ border:1px solid #eee; border-radius:12px; margin:0 0 10px; overflow:hidden; background:#fff; }
.dpb-faq-item summary{ cursor:pointer; padding:15px 18px; font-weight:700; color:#1d1d1f; font-size:16px;
  list-style:none; position:relative; }
.dpb-faq-item summary::-webkit-details-marker{ display:none; }
.dpb-faq-item summary::after{ content:"+"; position:absolute; right:18px; top:13px; font-size:22px; color:#bf78ee; font-weight:400; }
.dpb-faq-item[open] summary::after{ content:"−"; }
.dpb-faq-item summary:hover{ color:#bf78ee; }
.dpb-faq-a{ padding:0 18px 16px; color:#4a4a52; line-height:1.65; }

/* share + related */
.dpb-share{ max-width:760px; margin:34px auto 0; display:flex; align-items:center; gap:14px; color:#999; font-size:14px; }
.dpb-share a{ color:#bf78ee; font-weight:700; text-decoration:none; }
.dpb-related{ max-width:1120px; margin:50px auto 0; }
.dpb-related-h{ font-size:24px; font-weight:800; color:#1d1d1f; margin:0 0 22px; }

/* 404 */
.dpb-404{ text-align:center; padding:60px 0; }
.dpb-404 p{ color:#777; }

/* ============ widget „Ostatnio na blogu" (strona glowna) ============ */
.dpb-home{ padding:26px 0 12px; background:transparent; }
#index .dpb-home, body#index .dpb-home, .page-home section.dpb-home{ background:transparent !important; }
.dpb-home-inner{ max-width:1120px; margin:0 auto; padding:0 16px; box-sizing:border-box; }
.dpb-home .products-section-title{ text-align:center; }
.dpb-home-grid{ margin-top:16px; }
.dpb-home-cta{ text-align:center; margin-top:28px; }
.dpb-home-all{ display:inline-block; padding:12px 28px; border-radius:10px; background:#bf78ee; color:#fff !important;
  font-weight:700; text-decoration:none; box-shadow:0 8px 20px rgba(190,120,238,.28);
  transition:transform .25s ease, background .25s ease; }
.dpb-home-all:hover{ background:#a855d4; transform:translateY(-2px); color:#fff !important; }

/* ============ „Artykuly o tym produkcie" (strona produktu) ============ */
.dpb-prod-articles{ margin:34px 0 10px; }
.dpb-prod-h{ font-size:21px; font-weight:800; color:#1d1d1f; margin:0 0 16px; }
.dpb-prod-list{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.dpb-prod-art{ display:flex; flex-direction:column; background:#fff; border:1px solid #eee; border-radius:12px;
  overflow:hidden; text-decoration:none; box-shadow:0 4px 14px rgba(20,20,40,.06);
  transition:transform .25s ease, box-shadow .25s ease; }
.dpb-prod-art:hover{ transform:translateY(-4px); box-shadow:0 16px 34px rgba(90,60,140,.15); }
.dpb-prod-art-media{ display:block; aspect-ratio:16/10; overflow:hidden; background:#f1eef7; }
.dpb-prod-art-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.dpb-prod-art-body{ display:flex; flex-direction:column; gap:6px; padding:13px 15px 16px; }
.dpb-prod-art-title{ font-weight:700; color:#1d1d1f; font-size:15px; line-height:1.35; }
.dpb-prod-art:hover .dpb-prod-art-title{ color:#bf78ee; }
.dpb-prod-art-exc{ color:#777; font-size:13px; line-height:1.5;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.dpb-prod-art-meta{ color:#bf78ee; font-weight:700; font-size:12.5px; margin-top:2px; }

@media (max-width:767px){
  .dpb-prod-list{ grid-template-columns:1fr; }
}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .dpb-grid, .dpb-products-grid{ grid-template-columns:repeat(2,1fr); }
  .dpb-art-title{ font-size:30px; }
}
@media (max-width:560px){
  .dpb-grid{ grid-template-columns:1fr; }
  .dpb-products-grid{ grid-template-columns:repeat(2,1fr); }
  .dpb-h1{ font-size:27px; }
  .dpb-art-title{ font-size:25px; }
  .dpb-art-content{ font-size:16px; }
}
