/* RD KOMFORTIS – konfigurátor poptávky */
body .rdk-kf { --kf-r: 22px; max-width: 1240px; margin: 0 auto; padding: 32px 24px 96px; font-family: var(--rdk-font); color: var(--rdk-ink); }
body .rdk-kf * { box-sizing: border-box; }
body .rdk-kf button { font-family: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; cursor: pointer; }
body .rdk-kf__eyebrow { margin: 0 0 10px; font: 600 13px var(--rdk-font); letter-spacing: .14em; text-transform: uppercase; color: var(--rdk-accent-text); }
body .rdk-kf__title { margin: 0; font: 800 clamp(38px, 6vw, 72px)/1 var(--rdk-font-display); letter-spacing: -.035em; }
body .rdk-kf__title span { color: var(--rdk-accent); }
body .rdk-kf__lead { max-width: 640px; margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--rdk-muted); }
body .rdk-kf__steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 28px 0 28px; padding: 0; }
body .rdk-kf__steps button { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--rdk-line); background: #fff; color: var(--rdk-muted); padding: 8px 18px 8px 8px; border-radius: 99px; font: 600 14px var(--rdk-font); }
body .rdk-kf__steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rdk-bg-2); font-size: 13px; }
body .rdk-kf__steps .is-on button { border-color: var(--rdk-ink); color: var(--rdk-ink); }
body .rdk-kf__steps .is-on span { background: var(--rdk-ink); color: #fff; }
body .rdk-kf__steps .is-done span { background: var(--rdk-accent); color: var(--rdk-ink); }
body .rdk-kf__steps button:disabled { cursor: default; opacity: .6; }

body .rdk-kf__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
body .rdk-kf__editor { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
body .rdk-kf__card { background: #fff; border: 1px solid var(--rdk-line); border-radius: var(--kf-r); padding: 24px; }
body .rdk-kf__card h3 { margin: 0 0 18px; font: 700 20px/1.2 var(--rdk-font-display); letter-spacing: -.01em; }
body .rdk-kf__field + .rdk-kf__field { margin-top: 20px; }
body .rdk-kf__label { margin-bottom: 10px; font: 600 14px var(--rdk-font); }
body .rdk-kf__label span, body .rdk-kf__label a { font-weight: 400; color: var(--rdk-muted); }
body .rdk-kf__label a { color: var(--rdk-accent-text); }

body .rdk-kf input[type=text], body .rdk-kf input[type=email], body .rdk-kf input[type=tel], body .rdk-kf input[type=number], body .rdk-kf textarea, body .rdk-kf select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #d9d8d3; border-radius: 14px; background: #fff; font: 400 16px var(--rdk-font); color: var(--rdk-ink); transition: border-color .15s, box-shadow .15s; }
body .rdk-kf textarea { min-height: 84px; resize: vertical; }
body .rdk-kf input:focus, body .rdk-kf textarea:focus, body .rdk-kf select:focus { outline: none; border-color: var(--rdk-ink); box-shadow: 0 0 0 3px rgba(242, 106, 27, .18); }
body .rdk-kf input:disabled { background: var(--rdk-bg); color: var(--rdk-muted); }
body .rdk-kf .is-bad { border-color: #c4302b !important; box-shadow: 0 0 0 3px rgba(196, 48, 43, .12) !important; }
body .rdk-kf__mt { margin-top: 10px; }

body .rdk-kf__pills { display: flex; flex-wrap: wrap; gap: 8px; }
body .rdk-kf__pills + .rdk-kf__pills { margin-top: 8px; }
body .rdk-kf__pill { min-height: 42px; padding: 9px 16px; border-radius: 99px; border: 1px solid #d9d8d3; background: #fff; color: var(--rdk-ink); font: 500 14px var(--rdk-font); line-height: 1.2; transition: all .15s; }
body .rdk-kf__pill:hover { border-color: var(--rdk-ink); }
body .rdk-kf__pill.is-on { background: var(--rdk-ink); border-color: var(--rdk-ink); color: #fff; }
body .rdk-kf__pill--check.is-on::before { content: '✓ '; color: var(--rdk-accent); }

body .rdk-kf__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
body .rdk-kf__group { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px 14px; border: 1.5px solid var(--rdk-line); border-radius: 18px; background: #fff; text-align: left; color: var(--rdk-ink); transition: all .15s; }
body .rdk-kf__group:hover { border-color: #bdbab3; transform: translateY(-1px); }
body .rdk-kf__group.is-on { border-color: var(--rdk-accent); background: #fff7f1; }
body .rdk-kf__gico { display: block; width: 100%; height: 64px; margin-bottom: 8px; }
body .rdk-kf__gico svg { width: auto; height: 100%; }
body .rdk-kf__group strong { font: 700 15px var(--rdk-font); }
body .rdk-kf__group small { font-size: 12.5px; color: var(--rdk-muted); }

body .rdk-kf__layouts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
body .rdk-kf__layout { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border: 1.5px solid var(--rdk-line); border-radius: 16px; background: #fff; color: var(--rdk-ink); font: 500 12.5px var(--rdk-font); }
body .rdk-kf__layout svg { height: 54px; width: auto; max-width: 100%; }
body .rdk-kf__layout.is-on { border-color: var(--rdk-accent); background: #fff7f1; }
body .rdk-kf__wings { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
body .rdk-kf__wing span { display: block; margin-bottom: 4px; font-size: 13px; color: var(--rdk-muted); }

body .rdk-kf__dims { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
body .rdk-kf__dims label > span:first-child { display: block; margin-bottom: 4px; font-size: 13px; color: var(--rdk-muted); }
body .rdk-kf__dims input[type=number] { width: 130px; }
body .rdk-kf__times { padding-bottom: 12px; color: var(--rdk-muted); font-size: 18px; }
body .rdk-kf__qty { margin-left: auto; }
body .rdk-kf__step { display: inline-flex; align-items: center; border: 1px solid #d9d8d3; border-radius: 14px; overflow: hidden; }
body .rdk-kf__step button { width: 44px; height: 46px; border: 0; background: var(--rdk-bg); font-size: 20px; color: var(--rdk-ink); }
body .rdk-kf__step input[type=number] { width: 56px !important; border: 0 !important; border-radius: 0 !important; text-align: center; box-shadow: none !important; -moz-appearance: textfield; }
body .rdk-kf__step input::-webkit-outer-spin-button, body .rdk-kf__step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body .rdk-kf__check { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 15px; line-height: 1.45; cursor: pointer; }
body .rdk-kf__check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--rdk-accent); flex: none; }
body .rdk-kf__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body .rdk-kf__row2 .rdk-kf__field + .rdk-kf__field { margin-top: 0; }
body .rdk-kf__row2 + .rdk-kf__field { margin-top: 20px; }

body .rdk-kf__sw { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
body .rdk-kf__swb { width: 46px; height: 46px; padding: 4px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--rdk-line) !important; transition: transform .15s; }
body .rdk-kf__swb span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
body .rdk-kf__swb:hover { transform: scale(1.06); }
body .rdk-kf__swb.is-on { box-shadow: 0 0 0 3px #e8b48a !important; }
body .rdk-kf__swname { flex-basis: 100%; font-size: 14px; color: var(--rdk-muted); }
body .rdk-kf__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 4px; }
body .rdk-kf__two small { display: block; margin-top: 12px; font-weight: 600; }

body .rdk-kf__preview { position: relative; background: linear-gradient(180deg, #fbfbf9, #f1f0ec); border: 1px solid var(--rdk-line); border-radius: var(--kf-r); padding: 18px 20px 16px; }
body .rdk-kf__pvlabel { font: 600 13px var(--rdk-font); color: var(--rdk-muted); }
body .rdk-kf__pvsvg { display: flex; justify-content: center; align-items: center; height: 260px; margin: 6px 0; }
body .rdk-kf__pvsvg svg { max-height: 100%; max-width: 100%; height: 100%; width: auto; filter: drop-shadow(0 18px 24px rgba(14, 15, 17, .14)); }
body .rdk-kf__pvmeta { text-align: center; font: 500 14px var(--rdk-font); }
body .rdk-kf__note { display: flex; align-items: center; gap: 10px; margin: -4px 0 18px; padding: 10px 14px; border-radius: 14px; background: #fff7f1; font-size: 15px; }
body .rdk-kf__x { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; border: 0; background: #fff; font-size: 18px; line-height: 1; }

body .rdk-kf__side { position: sticky; top: 100px; background: var(--rdk-ink); color: #fff; border-radius: var(--kf-r); padding: 20px; }
body .rdk-kf__sidehead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
body .rdk-kf__sidehead strong { font: 700 18px var(--rdk-font-display); }
body .rdk-kf__sidehead span { font-size: 13px; color: var(--rdk-muted-dark); }
body .rdk-kf__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 46vh; overflow: auto; }
body .rdk-kf__li { display: flex; align-items: center; gap: 4px; border-radius: 14px; background: var(--rdk-ink-2); border: 1px solid transparent; }
body .rdk-kf__li.is-on { border-color: var(--rdk-accent); }
body .rdk-kf__libtn { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 8px; border: 0; background: none; color: #fff; text-align: left; }
body .rdk-kf__mini { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: #f4f4f2; padding: 4px; }
body .rdk-kf__mini svg { max-width: 100%; max-height: 100%; }
body .rdk-kf__mini--lg { width: 96px; height: 96px; }
body .rdk-kf__lit { min-width: 0; }
body .rdk-kf__lit strong { display: block; font: 600 14px/1.3 var(--rdk-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body .rdk-kf__lit small { display: block; font-size: 12px; color: var(--rdk-muted-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body .rdk-kf__liact { display: flex; padding-right: 6px; }
body .rdk-kf__liact button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: var(--rdk-muted-dark); font-size: 16px; }
body .rdk-kf__liact button:hover { background: #2a2d32; color: #fff; }
body .rdk-kf__add { width: 100%; margin-top: 10px; min-height: 46px; border: 1px dashed #4a4e55; border-radius: 14px; background: none; color: #fff; font: 600 14px var(--rdk-font); }
body .rdk-kf__add:hover { border-color: var(--rdk-accent); color: var(--rdk-accent); }
body .rdk-kf__next { width: 100%; margin-top: 14px; }
body .rdk-kf__small { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--rdk-muted-dark); }

body .rdk-kf__drop { display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 18px; border: 1.5px dashed #c9c6be; border-radius: 18px; background: var(--rdk-bg); text-align: center; font-size: 14px; color: var(--rdk-muted); cursor: pointer; transition: all .15s; }
body .rdk-kf__drop strong { color: var(--rdk-ink); }
body .rdk-kf__drop.is-over, body .rdk-kf__drop:hover { border-color: var(--rdk-accent); background: #fff7f1; }
body .rdk-kf__drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
body .rdk-kf__files { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; }
body .rdk-kf__files li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--rdk-line); }
body .rdk-kf__files small { color: var(--rdk-muted); }
body .rdk-kf__files button { margin-left: auto; border: 0; background: none; font-size: 18px; color: var(--rdk-muted); }
body .rdk-kf__navrow { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 4px; }
body .rdk-kf__card .rdk-kf__navrow { margin-top: 20px; }
body .rdk-btn--ghost { background: #fff; border: 1px solid var(--rdk-ink); color: var(--rdk-ink); }

body .rdk-kf__sumhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
body .rdk-kf__sumhead h3 { margin-bottom: 12px; }
body .rdk-kf__link { border: 0; background: none; color: var(--rdk-accent-text); font: 600 14px var(--rdk-font); }
body .rdk-kf__dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 16px; margin: 0; font-size: 14.5px; }
body .rdk-kf__dl dt { color: var(--rdk-muted); }
body .rdk-kf__dl dd { margin: 0; font-weight: 500; }
body .rdk-kf__sumitem { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
body .rdk-kf__err { margin-top: 12px; color: #c4302b; font-weight: 600; }
body .rdk-kf__err:empty { display: none; }
body .rdk-kf__hp { position: absolute !important; left: -9999px !important; }

body .rdk-kf__done { max-width: 620px; margin: 24px auto 0; padding: 48px 32px; text-align: center; background: #fff; border: 1px solid var(--rdk-line); border-radius: var(--kf-r); }
body .rdk-kf__doneico { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--rdk-accent); font: 800 34px var(--rdk-font); }
body .rdk-kf__done h2 { margin: 0 0 12px; font: 800 30px/1.15 var(--rdk-font-display); }
body .rdk-kf__done p { color: var(--rdk-muted); font-size: 16px; line-height: 1.6; }
body .rdk-kf__done a { color: var(--rdk-accent-text); font-weight: 700; }

@media (max-width: 1024px) {
	body .rdk-kf__grid { grid-template-columns: 1fr; }
	body .rdk-kf__side { position: static; order: -1; }
	body .rdk-kf__list { max-height: none; }
	body .rdk-kf__layouts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	body .rdk-kf { padding: 20px 16px 72px; }
	body .rdk-kf__card { padding: 18px; }
	body .rdk-kf__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .rdk-kf__row2, body .rdk-kf__two { grid-template-columns: 1fr; }
	body .rdk-kf__row2 .rdk-kf__field + .rdk-kf__field { margin-top: 20px; }
	body .rdk-kf__dims input[type=number] { width: 110px; }
	body .rdk-kf__qty { margin-left: 0; }
	body .rdk-kf__pvsvg { height: 200px; }
	body .rdk-kf__dl { grid-template-columns: 1fr; gap: 0; }
	body .rdk-kf__dl dd { margin-bottom: 8px; }
	body .rdk-kf__sumitem { grid-template-columns: 1fr; }
	body .rdk-kf__steps button { padding-right: 12px; font-size: 13px; }
}
body .rdk-kf .rdk-btn--accent { background: var(--rdk-accent) !important; color: var(--rdk-ink) !important; border: 0 !important; }
body .rdk-kf .rdk-btn--accent:hover { background: #ff7a2b !important; }
body .rdk-kf .rdk-btn--ghost { background: #fff !important; color: var(--rdk-ink) !important; border: 1px solid var(--rdk-ink) !important; }
body .rdk-kf__wings { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
body .rdk-kf__select, body .rdk-kf__wing select { max-width: 420px; }

/* Systém / značka + vzorník v konfigurátoru (1.9.7) */
body .rdk-kf__systems { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; max-height: 420px; overflow: auto; padding: 2px; }
body .rdk-kf__sys { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 1.5px solid var(--rdk-line); border-radius: 16px; background: #fff; color: var(--rdk-ink); text-align: left; transition: all .15s; }
body .rdk-kf__sys:hover { border-color: #bdbab3; }
body .rdk-kf__sys.is-on { border-color: var(--rdk-accent); background: #fff7f1; }
body .rdk-kf__sysimg { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: #F4F4F2; overflow: hidden; }
body .rdk-kf__sysimg img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
body .rdk-kf__sysimg--ask { background: var(--rdk-ink); color: var(--rdk-accent); font: 800 24px var(--rdk-font-display); }
body .rdk-kf__sys strong { display: block; font: 600 14px/1.3 var(--rdk-font); }
body .rdk-kf__sys small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--rdk-muted); }
body .rdk-kf__sys em { font-style: normal; font-weight: 700; color: var(--rdk-accent-text); }
body .rdk-kf__book { margin-top: 12px; padding: 14px; border-radius: 18px; background: var(--rdk-bg); }
body .rdk-kf__booktabs, body .rdk-kf__bookgroups { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
body .rdk-kf__booktabs button, body .rdk-kf__bookgroups button { padding: 6px 12px; border-radius: 99px; border: 1px solid #d9d8d3; background: #fff; color: var(--rdk-ink); font: 500 13px var(--rdk-font); }
body .rdk-kf__booktabs button span { color: var(--rdk-muted); font-size: 12px; }
body .rdk-kf__booktabs button.is-on, body .rdk-kf__bookgroups button.is-on { background: var(--rdk-ink); border-color: var(--rdk-ink); color: #fff; }
body .rdk-kf__booktabs button.is-on span { color: #c9ccd1; }
body .rdk-kf__bookgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px; max-height: 236px; overflow: auto; padding: 4px; }
body .rdk-kf__bsw { aspect-ratio: 1; width: 100%; padding: 3px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--rdk-line) !important; transition: transform .15s; }
body .rdk-kf__bsw span { display: block; width: 100%; height: 100%; border-radius: 50%; background-size: 240% !important; background-position: center !important; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
body .rdk-kf__bsw:hover { transform: scale(1.08); }
body .rdk-kf__bsw.is-on { box-shadow: 0 0 0 3px #e8b48a !important; }
body .rdk-kf__book .rdk-kf__swname { margin-top: 10px; font-weight: 600; color: var(--rdk-ink); }
body .rdk-kf__disc { margin: 4px 0 0; font-size: 12px; color: var(--rdk-muted); }
body .rdk-kf__two--books { grid-template-columns: 1fr; }
body .rdk-kf__systems { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
body .rdk-kf__sys > span:last-child { min-width: 0; white-space: normal; }
/* Barvy podle popisu (1.9.9) */
body .rdk-kf__desc { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin-top: 12px; }
body .rdk-kf__descb { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--rdk-line); border-radius: 16px; background: #fff; color: var(--rdk-ink); text-align: left; }
body .rdk-kf__descb:hover { border-color: #bdbab3; }
body .rdk-kf__descb.is-on { border-color: var(--rdk-accent); background: #fff7f1; }
body .rdk-kf__descsw { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); font: 800 16px var(--rdk-font); color: var(--rdk-muted); }
body .rdk-kf__descb strong { display: block; font: 600 14px/1.3 var(--rdk-font); }
body .rdk-kf__descb small { display: block; font-size: 12px; color: var(--rdk-muted); line-height: 1.35; }

/* ===== 1.16 – způsob poptávky, příloha, souhrn, měření ===== */
body .rdk-kf__beta { display: block; max-width: 760px; margin: 18px 0 0; padding: 10px 14px; border-radius: 14px; background: #fff7f1; border: 1px solid #f6d3bb; font-size: 14px; line-height: 1.5; color: var(--rdk-ink); }
body .rdk-kf__beta a { color: var(--rdk-accent-text); font-weight: 600; }
body .rdk-kf__choose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
body .rdk-kf__chopt { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px 24px; border: 1.5px solid var(--rdk-line); border-radius: var(--kf-r); background: #fff; color: var(--rdk-ink); text-align: left; transition: all .18s; }
body .rdk-kf__chopt svg { color: var(--rdk-accent); margin-bottom: 6px; }
body .rdk-kf__chopt strong { font: 700 20px/1.2 var(--rdk-font-display); }
body .rdk-kf__chopt small { font-size: 14.5px; line-height: 1.5; color: var(--rdk-muted); }
body .rdk-kf__chopt > span { margin-top: auto; padding-top: 10px; font: 600 14px var(--rdk-font); color: var(--rdk-accent-text); }
body .rdk-kf__chopt:hover { border-color: var(--rdk-accent); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(14,15,17,.08) !important; }
body .rdk-kf__hint { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--rdk-muted); }
body .rdk-kf__hint strong { color: var(--rdk-ink); }
body .rdk-kf__errline { margin: 10px 0 0; font-weight: 600; color: #c4302b; font-size: 14px; }
body .rdk-kf__link { padding: 0; }
body .rdk-kf__link--dark { color: #fff; opacity: .7; text-decoration: underline; font-size: 12.5px; font-weight: 500; }
body .rdk-kf__layouts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body .rdk-kf__layouts { grid-template-columns: repeat(7, minmax(0, 1fr)); }
body .rdk-kf__layouts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body .rdk-kf__custom { margin-top: 14px; }
body .rdk-kf__custom .rdk-kf__label { margin-bottom: 6px; }
body .rdk-kf__navrow--items { margin-top: 22px !important; padding-top: 18px; border-top: 1px solid var(--rdk-line); }

/* Měření */
body .rdk-kf__measure { margin-top: 14px; border: 1px solid var(--rdk-line); border-radius: 16px; background: var(--rdk-bg); }
body .rdk-kf__measure summary { cursor: pointer; padding: 12px 16px; font: 600 14.5px var(--rdk-font); list-style: none; }
body .rdk-kf__measure summary::-webkit-details-marker { display: none; }
body .rdk-kf__measure summary::after { content: '+'; float: right; color: var(--rdk-accent); font-size: 18px; line-height: 1; }
body .rdk-kf__measure[open] summary::after { content: '–'; }
body .rdk-kf__measurein { display: flex; gap: 18px; align-items: flex-start; padding: 0 16px 16px; }
body .rdk-kf__measurein svg { flex: none; width: 190px; height: auto; background: #fff; border-radius: 12px; }
body .rdk-kf__measurein ol { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.55; }
body .rdk-kf__measurein li + li { margin-top: 6px; }

/* Boční souhrn */
body .rdk-kf__li { flex-direction: column; align-items: stretch; padding: 8px; gap: 6px; }
body .rdk-kf__li.is-warn { border-color: #c4302b; }
body .rdk-kf__litop { display: flex; gap: 10px; align-items: flex-start; }
body .rdk-kf__lit small { white-space: normal; line-height: 1.4; margin-top: 2px; }
body .rdk-kf__lit em { font-style: normal; color: #ff8a80; font-weight: 600; }
body .rdk-kf__liact { padding: 0 0 0 56px; gap: 4px; flex-wrap: wrap; }
body .rdk-kf__liact button { width: auto; height: 28px; padding: 0 10px; font-size: 12.5px; font-weight: 600; color: #d6d8dc; background: #2a2d32; border-radius: 99px; }
body .rdk-kf__liact button:hover { background: var(--rdk-accent); color: var(--rdk-ink); }
body .rdk-kf__list { max-height: 52vh; }
body .rdk-kf__sidefiles { margin-top: 14px; padding-top: 12px; border-top: 1px solid #2a2d32; font-size: 13px; color: #d6d8dc; }
body .rdk-kf__sidefiles ul { list-style: none; margin: 6px 0 0; padding: 0; }
body .rdk-kf__sidefiles li { padding: 3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body .rdk-kf__sidefiles p { margin: 6px 0 0; color: var(--rdk-muted-dark); }
body .rdk-kf__sidesub { display: flex; justify-content: space-between; font-weight: 700; color: #fff; }
body .rdk-kf__sidesub button { border: 0; background: none; color: var(--rdk-accent); font: 600 12.5px var(--rdk-font); padding: 0; }
body .rdk-kf__sidemsg { font-style: italic; }
body .rdk-kf__drop span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
body .rdk-kf__drop svg { color: var(--rdk-accent); }
body .rdk-kf__drop small { font-size: 12.5px; }

@media (max-width: 1024px) {
	body .rdk-kf__layouts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	body .rdk-kf__choose { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	body .rdk-kf__layouts, body .rdk-kf__layouts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .rdk-kf__measurein { flex-direction: column; }
	body .rdk-kf__measurein svg { width: 100%; max-width: 260px; }
	body .rdk-kf__navrow--items .rdk-btn { width: 100%; justify-content: center; }
}
body .rdk-kf__alu { margin-bottom: 16px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--rdk-line); background: #fff; }
body .rdk-kf__alut { margin-bottom: 10px; font: 600 14.5px var(--rdk-font); }
body .rdk-kf__bsw--white span { background: #f6f6f3 !important; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18) !important; }
/* Popisky barev (1.16.5) */
body .rdk-kf__bookgrid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 12px 8px; max-height: 340px; }
body .rdk-kf__bsw { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 2px 6px; border-radius: 14px; background: transparent; box-shadow: none !important; }
body .rdk-kf__bsw span { flex: none; width: 52px; height: 52px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--rdk-line), inset 0 0 0 1px rgba(0,0,0,.08) !important; }
body .rdk-kf__bsw:hover { transform: none; background: #fff; }
body .rdk-kf__bsw:hover span { transform: scale(1.06); }
body .rdk-kf__bsw.is-on { background: #fff; box-shadow: 0 0 0 2px var(--rdk-accent) !important; }
body .rdk-kf__bsw.is-on span { box-shadow: 0 0 0 1px var(--rdk-accent) !important; }
body .rdk-kf__bsw em { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-style: normal; font-size: 11px; line-height: 1.25; color: var(--rdk-ink); text-align: center; word-break: break-word; }
body .rdk-kf__bsw em b { display: block; font-weight: 700; color: var(--rdk-muted); font-size: 10.5px; }
@media (max-width: 640px) { body .rdk-kf__bookgrid { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); } body .rdk-kf__bsw span { width: 44px; height: 44px; } }
body .rdk-kf__bsw { white-space: normal !important; min-width: 0; }
body .rdk-kf__bsw em { width: 100%; white-space: normal !important; overflow-wrap: anywhere; }
/* Kontakty po odeslání (1.17) */
body .rdk-kf__dcontact { margin: 22px 0 22px; padding: 22px; border-radius: 18px; background: var(--rdk-ink); color: #fff; }
body .rdk-kf__dcontact > span { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--rdk-accent); }
body .rdk-kf__done .rdk-kf__dmail { display: block; margin: 6px 0 14px; color: #fff; font: 800 clamp(22px, 4vw, 30px)/1.15 var(--rdk-font-display); text-decoration: none; word-break: break-all; }
body .rdk-kf__dcontact div { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
body .rdk-kf__done .rdk-kf__dtel { display: inline-block; padding: 10px 18px; border-radius: 99px; background: #fff; color: var(--rdk-ink); font-weight: 700; font-size: 16px; text-decoration: none; }
body .rdk-kf__done .rdk-kf__dtel:hover { background: var(--rdk-accent); }
