/* === DREAMY — Poradce výběru (matrace + polštáře) · v5 · 2026-10-20 (+ hlavička stránky, výraznější poradce, položka menu; mobil) ===
 * Vše pod .dpr → neovlivní šablonu Shoptetu ani jiné bloky. Tokeny shodné s akce-matrace.css / popisky.css.
 * Rozvržení řídí šířka bloku (container queries), ne šířka okna → sedí v plné šířce i v užším sloupci.
 */
.dpr { --pink: #d90074; --pink-2: #b8005f; --blush: #fcf1f6; --blush-2: #f8e3ee; --ink: #141118; --body: #3f3339; --muted: #7c7079; --line: #efe4ea; --teal: #2e8a86;
  container-type: inline-size; container-name: dpr;
  font-family: Rubik, -apple-system, 'Segoe UI', sans-serif; color: var(--body); font-size: 16px; line-height: 1.55; max-width: 1180px; margin: 0 auto; text-align: left; }
.dpr *, .dpr *::before, .dpr *::after { box-sizing: border-box; }
.dpr :where(h2, h3, p, ul, ol, figure) { margin: 0; padding: 0; }
.dpr ul, .dpr ol { list-style: none; }
.dpr li::before { content: none !important; }
.dpr img { display: block; max-width: 100%; height: auto; border: 0; }
.dpr a { color: var(--pink); text-decoration: none; }
.dpr h2, .dpr h3 { font-family: Rubik, sans-serif !important; color: var(--ink) !important; letter-spacing: -.015em; text-align: left; }
.dpr button { font: inherit; }

/* perex nad poradcem (obsah stránky v Shoptetu; nadpis H1 dává šablona) */
.dpr-perex { font-family: Rubik, -apple-system, 'Segoe UI', sans-serif; color: #3f3339; font-size: 18px; line-height: 1.55; max-width: 1180px; margin: 0 auto 22px !important; }
.dpr-perex span { display: block; max-width: 62ch; }
@media (max-width: 560px) { .dpr-perex { font-size: 16px; margin-bottom: 16px !important; } }

/* hlavička stránky /poradce/ (body.in-poradce = jen tahle stránka): nadpis + perex na střed nad poradcem */
body.in-poradce .pageArticleDetail h1 { text-align: center; max-width: 860px; margin: 0 auto 14px !important; padding: 8px 0 0 !important; font-family: Rubik, sans-serif !important; font-weight: 600 !important; font-size: 44px !important; line-height: 1.1 !important; letter-spacing: -.02em; color: #141118 !important; }
body.in-poradce .dpr-perex { text-align: center; margin: 0 auto 16px !important; }
body.in-poradce .dpr-perex span { margin: 0 auto; max-width: 60ch; }
.dpr-perex a { color: #d90074 !important; text-decoration: underline; text-underline-offset: 3px; }
.dpr-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; max-width: 1180px; margin: 0 auto 28px !important; padding: 0 !important; list-style: none !important; font-family: Rubik, -apple-system, 'Segoe UI', sans-serif; }
.dpr-trust li { margin: 0 !important; padding: 7px 14px 7px 12px !important; background: #fff; border: 1px solid #efe4ea; border-radius: 999px; font-size: 14.5px; line-height: 1.3; color: #3f3339; list-style: none !important; }
.dpr-trust li::before { content: '✓' !important; display: inline !important; position: static !important; margin-right: 6px; color: #2e8a86; font-weight: 700; background: none !important; width: auto !important; height: auto !important; }
@media (max-width: 560px) {
  body.in-poradce .pageArticleDetail h1 { font-size: 30px !important; margin-bottom: 10px !important; }
  .dpr-trust { margin-bottom: 20px !important; }
  .dpr-trust li { font-size: 13.5px; border-radius: 14px; }
}

/* položka „Poradce výběru" v hlavním menu (stránka id 2886) — oddělená od kategorií: čárka + ikonka, růžový text */
#navigation .menu-level-1 > li.menu-item-2886 > a { color: #d90074 !important; font-weight: 600 !important; }
#navigation .menu-level-1 > li.menu-item-2886 > a::before { content: ''; display: inline-block; width: 15px; height: 15px; margin-right: 7px; vertical-align: -2px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.6 7.9 7.9 2.6-7.9 2.6L12 22.5l-2.6-7.9L1.5 12l7.9-2.6z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.6 7.9 7.9 2.6-7.9 2.6L12 22.5l-2.6-7.9L1.5 12l7.9-2.6z'/%3E%3C/svg%3E") center/contain no-repeat; }
@media (min-width: 1200px) {
  #navigation .menu-level-1 > li.menu-item-2886 { order: 7; position: relative; }
  #navigation .menu-level-1 > li.menu-item-2886::before { content: ''; position: absolute; left: -17px; top: 50%; width: 1px; height: 22px; margin-top: -15px; background: #e2d5dc; }
  #navigation .menu-level-1 > li.menu-item-2886 > a:hover { color: #b8005f !important; }
}

/* malý banner Garance pod poradcem (obsah stránky v Shoptetu) */
.dpr-garance { max-width: 1180px; margin: 18px auto 0 !important; font-family: Rubik, -apple-system, 'Segoe UI', sans-serif; }
.dpr-garance a { display: flex !important; align-items: center; gap: 16px; padding: 16px 22px; background: #fff; border: 1px solid #efe4ea; border-radius: 20px; color: #3f3339 !important; text-decoration: none !important; transition: border-color .2s, box-shadow .2s; }
.dpr-garance a:hover { border-color: #d90074; box-shadow: 0 6px 18px rgba(217,0,116,.08); }
.dpr-garance a::before { content: '✓'; flex: 0 0 40px; height: 40px; border-radius: 50%; background: #e6f3f2; color: #2e8a86; font-weight: 700; font-size: 20px; line-height: 40px; text-align: center; }
.dpr-garance span { flex: 1; font-size: 15px; line-height: 1.45; }
.dpr-garance strong { display: block; color: #141118; font-size: 16px; font-weight: 600; }
.dpr-garance em { flex: 0 0 auto; font-style: normal; font-weight: 600; font-size: 15px; color: #d90074; white-space: nowrap; }
@media (max-width: 560px) {
  .dpr-garance a { flex-wrap: wrap; gap: 10px 14px; padding: 14px 16px; border-radius: 16px; }
  .dpr-garance a::before { flex-basis: 34px; height: 34px; line-height: 34px; font-size: 17px; }
  .dpr-garance span { flex-basis: calc(100% - 48px); font-size: 14px; }
  .dpr-garance em { margin-left: 48px; font-size: 14px; }
}

.dpr-box { background: var(--blush); border-radius: 28px; padding: 30px 30px 24px; border: 1px solid #f3d2e2; box-shadow: 0 30px 60px -30px rgba(217,0,116,.38), 0 2px 8px rgba(20,17,24,.04); }
/* úvodní krok (výběr větve) výrazněji: větší nadpis, větší karty se šipkou */
.dpr-step:has(.dpr-opt[data-k="vetev"]) h2 { font-size: 30px !important; margin-bottom: 14px !important; }
.dpr-opt[data-k="vetev"] { position: relative; padding: 20px 52px 20px 20px; font-size: 18px; border-color: #f3d2e2; box-shadow: 0 4px 14px -8px rgba(217,0,116,.25); }
.dpr-opt[data-k="vetev"] small { font-size: 14px; }
.dpr-opt[data-k="vetev"]::after { content: '→'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--pink); font-size: 22px; font-weight: 500; transition: transform .15s; }
.dpr-opt[data-k="vetev"]:hover { border-color: var(--pink); }
.dpr-opt[data-k="vetev"]:hover::after { transform: translate(4px, -50%); }
.dpr-progress { display: flex; gap: 6px; margin-bottom: 20px; }
.dpr-progress span { flex: 1; height: 5px; border-radius: 3px; background: var(--blush-2); }
.dpr-progress span.on { background: var(--pink); }

.dpr-step { animation: dprIn .25s ease; }
@keyframes dprIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dpr-q { display: block; font-size: 13px; font-weight: 600; color: var(--pink-2); letter-spacing: .12em; text-transform: uppercase; }
.dpr-step h2:focus, .dpr-step h2:focus-visible { outline: none !important; box-shadow: none !important; }
.dpr-step h2 { font-size: 26px !important; line-height: 1.2 !important; font-weight: 600 !important; margin: 6px 0 6px !important; }
.dpr-help { font-size: 14.5px; color: var(--muted); margin: 0 0 16px !important; max-width: 62ch; }

.dpr-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dpr-opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dpr-opt { text-align: left; background: #fff; border: 2px solid transparent; border-radius: 16px; padding: 15px 16px; cursor: pointer; color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.3; transition: border-color .15s, transform .15s; min-width: 0; overflow-wrap: anywhere; }
.dpr-opt small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.dpr-opt:hover { border-color: var(--pink); transform: translateY(-1px); }
.dpr-opt[aria-pressed="true"] { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(217,0,116,.12); }
.dpr-opt:focus-visible, .dpr-chip:focus-visible, .dpr-btn:focus-visible, .dpr-link:focus-visible { outline: 3px solid rgba(217,0,116,.45); outline-offset: 2px; }

.dpr-group { margin-bottom: 16px; }
.dpr-group > b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.dpr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dpr-chip { font-size: 15px; font-weight: 500; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; min-width: 52px; }
.dpr-chip:hover { border-color: var(--pink); }
.dpr-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.dpr-chip:disabled { opacity: .35; cursor: not-allowed; }
.dpr-check { display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 12px 14px; cursor: pointer; color: var(--ink); font-size: 15px; line-height: 1.35; margin-top: 8px; }
.dpr-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--pink); flex: 0 0 auto; }
.dpr-check small { display: block; color: var(--muted); font-size: 13px; }
.dpr-check[hidden] { display: none; }

.dpr-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.dpr-link { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px 0; font-size: 15px; }
.dpr-link--pink { color: var(--pink); font-weight: 600; }
.dpr-note { font-size: 13px; color: var(--muted); }

.dpr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1.1; cursor: pointer; border: 2px solid var(--pink); background: var(--pink); color: #fff !important; transition: background .15s, transform .15s; text-align: center; }
.dpr-btn:hover { background: var(--pink-2); border-color: var(--pink-2); transform: translateY(-1px); }
.dpr-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.dpr-btn--ghost { background: transparent; color: var(--pink) !important; }
.dpr-btn--ghost:hover { background: #fff; color: var(--pink-2) !important; }

/* výsledek */
.dpr-res-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.dpr-top { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 22px; background: #fff; border-radius: 20px; padding: 16px; align-items: center; }
.dpr-top img { border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; width: 100%; background: var(--blush); }
.dpr-top h3 { margin: 6px 0 4px !important; font-size: 23px !important; line-height: 1.2 !important; font-weight: 600 !important; overflow-wrap: anywhere; }
.dpr-tag { display: inline-block; background: var(--blush); color: var(--pink-2); font-weight: 600; font-size: 12.5px; padding: 5px 10px; border-radius: 999px; }
.dpr-var { font-size: 14.5px; color: var(--ink); font-weight: 500; }
.dpr-why { display: grid; gap: 5px; margin: 10px 0 12px !important; font-size: 14.5px; line-height: 1.4; }
.dpr-why li { padding-left: 22px; position: relative; }
.dpr-why li::after { content: '✓'; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; }
.dpr-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.dpr-price-new { color: var(--ink); font-weight: 700; font-size: 26px; line-height: 1.1; }
.dpr-price-old { color: var(--muted); text-decoration: line-through; font-size: 15px; }
.dpr-save { color: var(--teal); font-weight: 600; font-size: 14px; }
.dpr-badge { display: inline-block; background: var(--pink); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 9px; border-radius: 7px; line-height: 1.2; margin-left: 6px; vertical-align: 2px; }
.dpr-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 4px; }
.dpr-pair div { background: var(--blush); border-radius: 10px; padding: 8px 10px; font-size: 14px; line-height: 1.35; }
.dpr-pair b { display: block; color: var(--ink); }

.dpr-alts-lbl { font-size: 13.5px; color: var(--muted); margin: 16px 0 8px !important; }
.dpr-alts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dpr-alt { background: #fff; border-radius: 16px; padding: 12px; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; color: inherit !important; transition: box-shadow .15s; }
.dpr-alt:hover { box-shadow: 0 6px 20px rgba(20,17,24,.08); }
.dpr-alt img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 76px; background: var(--blush); }
.dpr-alt b { display: block; color: var(--ink); font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.dpr-alt span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.dpr-alt strong { color: var(--ink); font-size: 15px; }

.dpr-cross { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; background: #fff; border: 1px dashed #f2a6cb; border-radius: 16px; padding: 10px 12px; margin-top: 12px; color: inherit !important; }
.dpr-cross img { width: 64px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.dpr-cross b { display: block; color: var(--ink); font-size: 15px; }
.dpr-cross span { font-size: 13.5px; color: var(--muted); }

.dpr-help-box { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--blush-2); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14.5px; }
.dpr-help-box b { color: var(--ink); }
.dpr-help-box div { display: flex; gap: 8px; flex-wrap: wrap; }
.dpr-help-box .dpr-btn { padding: 10px 16px; font-size: 14.5px; }

/* užší blok (mobil, úzký sloupec) */
@container dpr (max-width: 640px) {
  .dpr-box { padding: 22px 16px 18px; border-radius: 22px; }
  .dpr-step h2 { font-size: 22px !important; }
  .dpr-step:has(.dpr-opt[data-k="vetev"]) h2 { font-size: 25px !important; }
  .dpr-opt[data-k="vetev"] { padding: 16px 46px 16px 16px; font-size: 17px; }
  .dpr-opts, .dpr-opts--3 { grid-template-columns: minmax(0, 1fr); }
  .dpr-opt { padding: 13px 14px; }
  .dpr-top { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
  .dpr-top h3 { font-size: 21px !important; }
  .dpr-alts { grid-template-columns: minmax(0, 1fr); }
  .dpr-pair { grid-template-columns: minmax(0, 1fr); }
  .dpr-top .dpr-btn { width: 100%; }
}
@container dpr (min-width: 641px) and (max-width: 860px) {
  .dpr-opts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dpr-top { grid-template-columns: minmax(0, 180px) minmax(0, 1fr); }
}
