/* poradce-hp-banner.css — banner „Poradce výběru“ na homepage pod bestsellery (blok .dpb z poradce-hp-banner.js)
 * Dreamy, 2026-10-21 · varianta D1 švestková + fotka (schválil Michal)
 */
.dpb { width: 100%; margin: 48px 0 0; font-family: Rubik, system-ui, -apple-system, "Segoe UI", sans-serif; box-sizing: border-box; }
.dpb *, .dpb *::before, .dpb *::after { box-sizing: border-box; }
.dpb a.dpb__link { display: block; text-decoration: none !important; color: inherit; }
.dpb a.dpb__link:focus-visible { outline: 3px solid #ff8cc6; outline-offset: -3px; }

.dpb__band {
  background:
    radial-gradient(circle at 82% 50%, #8a1458 0%, rgba(138, 20, 88, 0) 38%),
    linear-gradient(105deg, #1f0a1a 0%, #3d0d2e 55%, #5a1042 100%);
  overflow: hidden;
}
.dpb__in {
  max-width: 1380px; margin: 0 auto; padding: 44px 20px;
  display: grid; grid-template-columns: minmax(0, 1fr) 470px;
  grid-template-areas: "txt vis" "cta vis";
  column-gap: 56px; row-gap: 22px; align-items: center;
}
.dpb__txt { grid-area: txt; align-self: end; min-width: 0; }
.dpb__cta { grid-area: cta; align-self: start; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.dpb__vis { grid-area: vis; display: flex; justify-content: flex-end; }

.dpb__eyebrow { display: block; font-size: 13px; letter-spacing: .14em; font-weight: 600; text-transform: uppercase; color: #ff8cc6; }
.dpb__h { display: block; font-size: 40px; line-height: 1.15; font-weight: 700; margin: 10px 0 12px; color: #fff; letter-spacing: -.01em; }
.dpb__p { display: block; font-size: 16.5px; line-height: 1.55; color: #ead9e4; margin: 0; max-width: 560px; }

.dpb__steps { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 18px 0 0 !important; padding: 0 !important; list-style: none !important; font-size: 14px; color: #f3e6ee; }
.dpb__steps li { display: flex; align-items: center; gap: 7px; margin: 0 !important; padding: 0 !important; list-style: none !important; background: none !important; }
.dpb__steps li::before { content: none; }
.dpb__steps li + li::before { content: "→"; margin-right: 3px; opacity: .5; }
.dpb__steps i { font-style: normal; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .14); color: #fff; }

.dpb__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #D90074; color: #fff; font-weight: 600; font-size: 17px;
  padding: 17px 30px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15), 0 10px 26px rgba(217, 0, 116, .45);
  transition: transform .15s, box-shadow .15s;
}
.dpb a.dpb__link:hover .dpb__btn { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 14px 30px rgba(217, 0, 116, .55); }
.dpb__note { display: block; font-size: 13px; color: #c7aebd; }

.dpb__ph { position: relative; width: 440px; height: 290px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 50px rgba(0, 0, 0, .45); }
.dpb__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 38%; display: block; border-radius: 22px; }
.dpb__chip {
  position: absolute; left: -30px; bottom: 28px;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  background: #fff; color: #141118; border-radius: 14px; padding: 10px 14px;
  font-size: 13.5px; font-weight: 600; box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
}
.dpb__chip i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: #D90074; color: #fff; display: grid; place-items: center; font-size: 12px; }

/* tablet */
@media (max-width: 991px) {
  .dpb__in { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 32px; padding: 36px 20px; }
  .dpb__h { font-size: 30px; }
  .dpb__ph { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
  .dpb__ph img { object-position: 50% 32%; border-radius: 18px; }
  .dpb__chip { left: 12px; bottom: 12px; padding: 8px 12px; font-size: 13px; border-radius: 12px; }
  .dpb__chip i { width: 20px; height: 20px; font-size: 11px; }
}
/* mobil: text → tlačítko → fotka */
@media (max-width: 767px) {
  .dpb { margin-top: 32px; }
  .dpb__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "txt" "cta" "vis"; row-gap: 20px; padding: 30px 20px; }
  .dpb__txt { align-self: auto; }
  .dpb__h { font-size: 26px; }
  .dpb__p { font-size: 15.5px; }
  .dpb__steps { gap: 8px 14px; margin-top: 14px !important; font-size: 13px; }
  .dpb__steps li + li::before { content: none; }
  .dpb__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .dpb__btn { width: 100%; }
  .dpb__vis { display: block; margin-top: 6px; }
}
