/* Orientačná cenová ponuka (v2.5.0) */
.rrc-q-add { margin-left: 8px; }
.rrc-q-badge { position: fixed; right: 18px; bottom: 18px; z-index: 9990; display: flex; align-items: center; gap: 10px;
  background: #c0392b; color: #fff !important; padding: 12px 20px 12px 14px; border-radius: 30px; box-shadow: 0 6px 22px rgba(0,0,0,.3);
  font-weight: 600; text-decoration: none; font-size: 15px; animation: rrcPop .35s ease-out; }
.rrc-q-badge:hover { background: #a93226; }
.rrc-q-badge__ico { font-size: 22px; line-height: 1; }
.rrc-q-badge__txt { display: flex; flex-direction: column; line-height: 1.2; }
.rrc-q-badge__txt small { font-weight: 400; font-size: 12px; opacity: .9; }
@keyframes rrcPop { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) { .rrc-q-badge { right: 10px; bottom: 10px; left: 10px; justify-content: center; } }
.rrc-q-badge[hidden] { display: none; }

.rrc-q-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; transition: .25s; z-index: 9999;
  background: #1e1e1e; color: #fff; padding: 12px 18px; border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.3); max-width: 92vw; }
.rrc-q-toast.in { opacity: 1; transform: translate(-50%, 0); }
.rrc-q-toast.err { background: #b3261e; }
.rrc-q-toast a { color: #ffd7cf; text-decoration: underline; margin-left: 8px; }
.rrc-quote { margin: 20px 0; }
.rrc-q-table { width: 100%; border-collapse: collapse; }
.rrc-q-table th { text-align: left; font-size: .8em; text-transform: uppercase; color: #777; border-bottom: 2px solid #eee; padding: 8px; }
.rrc-q-table td { padding: 10px 8px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.rrc-q-table .r { text-align: right; white-space: nowrap; }
.rrc-q-group td { background: #f7f7f7; font-weight: 700; font-size: .9em; color: #444; }
.rrc-q-name > * { vertical-align: middle; }
.rrc-q-name span { display: inline-block; margin-left: 8px; }
.rrc-q-name small { display: block; color: #777; font-weight: 400; }
.rrc-q-img { width: 48px; height: 48px; object-fit: contain; border: 1px solid #eee; border-radius: 4px; }
.rrc-q-val { width: 90px; padding: 6px; }
.rrc-q-del { background: none; border: 0; color: #999; font-size: 1.1em; cursor: pointer; }
.rrc-q-del:hover { color: #c0392b; }
.rrc-q-rows summary { cursor: pointer; color: #c0392b; font-size: .85em; }
.rrc-q-rows ul { margin: 6px 0 0 16px; font-size: .85em; }
.rrc-q-table tfoot td { font-size: 1.15em; border-top: 2px solid #ddd; padding-top: 14px; }
.rrc-q-disclaimer { margin-top: 14px; padding: 10px 14px; background: #fff8e1; border-left: 3px solid #f0b400; color: #6b5400; font-size: .9em; }
.rrc-q-msg.ok { color: #2e7d32; } .rrc-q-msg.err { color: #b3261e; }
.rrc-q-empty { padding: 30px; text-align: center; background: #fafafa; border-radius: 8px; }
@media (max-width: 640px) {
  .rrc-q-table thead { display: none; }
  .rrc-q-table tr { display: grid; grid-template-columns: 1fr auto; }
  .rrc-q-table td { border: 0; }
  .rrc-q-group { display: block !important; }
}
/* ── Doplnky k streche – sprievodca v 3 krokoch (v2.14.0) ── */
body.am-lock { overflow: hidden; }
.am-overlay { position: fixed; inset: 0; z-index: 99990; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; padding: 3vh 12px; }
.am-overlay[hidden] { display: none; }
.am-modal { --am-acc: #b3261e; --am-acc-d: #8c1d17; --am-acc-bg: #fbeeec; --am-line: #e8e8e8; --am-mut: #555;
  position: relative; background: #fff; color: #111; width: 100%; max-width: 640px; height: min(860px, 94vh); border-radius: 14px; box-shadow: 0 12px 48px rgba(0,0,0,.35);
  display: flex; flex-direction: column; overflow: hidden; font: 15px/1.4 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; text-align: left; }
.am-modal *, .am-modal *::before, .am-modal *::after { box-sizing: border-box; }
.am-modal button { font: inherit; color: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; min-height: 0; line-height: 1.3; }
.am-load { margin: auto; padding: 40px; text-align: center; color: var(--am-mut); }
.am-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px 0 20px; }
.am-step { flex: 1; font-size: 13px; font-weight: 600; color: var(--am-mut); }
.am-ico { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 0 !important; background: transparent !important; color: #555 !important; cursor: pointer; padding: 0 !important; border-radius: 10px; }
.am-ico:hover { background: #f3f3f3 !important; color: #111 !important; }
.am-top .am-ico[data-go] { margin-left: -12px; color: #111 !important; }
.am-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #333; white-space: nowrap; }
.am-pill i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.am-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px 20px 0; }
.am-bar i { height: 4px; border-radius: 2px; background: #e5e5e5; } .am-bar i.on { background: var(--am-acc); }
.am-scroll { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.am-scroll > *, .am-sh-body > *, .am-cat > * { flex-shrink: 0; }
.am-h1 { margin: 0; font-size: 23px; line-height: 1.25; font-weight: 800; color: #111; }
.am-lead { margin: -6px 0 0; color: #444; font-size: 15px; }
.am-fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.am-fs legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: #222; }
.am-fs legend small { font-weight: 400; color: var(--am-mut); }
.am-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.am-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.am-mat, .am-tile { border: 1px solid #d4d4d4 !important; border-radius: 12px; background: #fff !important; padding: 12px !important; text-align: left; cursor: pointer; color: #111 !important; }
.am-mat b { display: block; font-size: 15px; } .am-mat small { display: block; font-size: 12px; color: var(--am-mut); margin-top: 2px; }
.am-tile { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px !important; }
.am-tile span { height: 34px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.am-tile b { font-size: 13px; font-weight: 600; }
.am-mat.on, .am-tile.on { border: 2px solid var(--am-acc) !important; background: var(--am-acc-bg) !important; padding: 11px !important; }
.am-tile.on { padding: 9px !important; } .am-mat.on b, .am-tile.on b { color: var(--am-acc-d); font-weight: 800; }
.am-tile:disabled { opacity: .35; cursor: not-allowed; }
.am-check { display: flex; align-items: center; gap: 12px; border: 1px solid var(--am-line); border-radius: 12px; padding: 12px 14px; font-size: 14px; cursor: pointer; margin: 0; }
.am-modal input[type=checkbox] { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--am-acc); cursor: pointer; }
.am-gh { margin: 4px 0 -6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--am-mut); }
.am-hrow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 14px; margin: 0; }
.am-hrow input { width: 76px; height: 40px; padding: 0 10px; border: 1px solid #d4d4d4; border-radius: 10px; font: inherit; font-weight: 700; }
.am-hrow small { color: var(--am-mut); font-size: 12px; }
.am-card { border: 1px solid var(--am-line); border-radius: 12px; overflow: hidden; background: #fff; }
.am-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px !important; border: 0 !important; border-bottom: 1px solid #f0f0f0 !important; border-radius: 0; background: #fff !important; text-align: left; color: #111 !important; }
.am-card > .am-row:last-child { border-bottom: 0 !important; }
.am-row.is-off .am-name, .am-row.is-off .am-qpill, .am-row.is-off .am-sum { opacity: .45; }
.am-row.is-bad { background: #fdf1f0 !important; } .am-row.is-bad .am-qpill { border-color: var(--am-acc); color: var(--am-acc); }
.am-cb { width: 22px; flex: none; display: flex; margin: 0; }
.am-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; border: 0 !important; background: none !important; padding: 0 !important; text-align: left; cursor: pointer; color: #111 !important; }
.am-name b { font-size: 14px; font-weight: 600; }
.am-sub { font-size: 12px; color: var(--am-mut); font-weight: 400; } .am-sub em { color: #9a6b00; font-style: normal; }
.am-qpill { flex: none; min-width: 64px; padding: 6px 8px !important; border: 1px solid #d4d4d4 !important; border-radius: 8px; background: #fff !important; font-size: 14px; color: #333 !important; cursor: pointer; white-space: nowrap; }
.am-qpill.is-empty { color: var(--am-acc) !important; border-style: dashed !important; }
.am-sum { flex: none; min-width: 78px; text-align: right; font-size: 14px; font-weight: 700; white-space: nowrap; }
.am-na { color: var(--am-acc); font-weight: 600; font-size: 12px; }
.am-more { cursor: pointer; } .am-more .am-sub { font-size: 13px; color: #444; } .am-more:hover .am-sub { color: var(--am-acc); }
.am-row img, .am-noimg { width: 40px; height: 40px; flex: none; object-fit: contain; border: 1px solid #eee; border-radius: 8px; background: #fff; }
.am-pick { cursor: pointer; } .am-pick:hover { background: #fafafa !important; } .am-pick svg { flex: none; color: var(--am-acc); }
.am-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 52px; padding: 0 22px !important; border: 0 !important; border-radius: 10px; background: #111 !important; color: #fff !important; font-size: 15px !important; font-weight: 700 !important; cursor: pointer; white-space: nowrap; }
.am-btn:hover { background: #333 !important; } .am-btn:disabled { opacity: .45; cursor: not-allowed; }
.am-btn--wide { width: 100%; font-size: 16px !important; }
.am-btn--ghost { width: 100%; height: 48px; background: #fafafa !important; color: #111 !important; border: 1px solid #d4d4d4 !important; border-radius: 12px; white-space: normal; text-align: center; }
.am-btn--ghost:hover { background: #f0f0f0 !important; }
.am-link { align-self: flex-start; border: 0 !important; background: none !important; padding: 6px 0 !important; color: var(--am-acc) !important; font-weight: 600; cursor: pointer; text-decoration: none; }
.am-link:hover { color: var(--am-acc-d) !important; text-decoration: underline; }
.am-foot { display: flex; align-items: center; gap: 12px; padding: 12px 20px 16px; border-top: 1px solid #eee; background: #fff; }
.am-tot { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.am-tot small { font-size: 13px; color: var(--am-mut); } .am-tot b { font-size: 19px; font-weight: 800; }
.am-foot3 { flex: 1; display: flex; flex-direction: column; gap: 8px; text-align: center; } .am-foot3 small { font-size: 12px; color: var(--am-mut); }
.am-note { padding: 12px 14px; border-radius: 10px; background: #f6f6f6; color: #444; font-size: 14px; margin: 0; }
.am-note--err { background: #fdf1f0; color: var(--am-acc-d); }
.am-tip { margin: -4px 0 0; font-size: 13px; color: #6b5400; }
/* krok 3 */
.am-roofcard { display: flex; align-items: center; gap: 12px; padding: 14px; cursor: pointer; margin: 0; }
.am-roofcard .am-sw { width: 40px; height: 40px; flex: none; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.am-roofcard .am-name b { font-size: 15px; font-weight: 700; }
.am-srow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.am-srow:last-child { border-bottom: 0; } .am-srow--ok { background: #eef7f0; color: #1e6b37; font-weight: 600; }
.am-sums { display: flex; flex-direction: column; gap: 6px; padding: 0 2px; }
.am-sums > div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: #444; } .am-sums b { color: #111; }
.am-sums .am-ok { color: #1e6b37; }
.am-sums .am-grand { margin-top: 4px; padding-top: 10px; border-top: 1px solid #eee; font-size: 16px; color: #111; } .am-grand b { font-size: 18px; font-weight: 800; }
/* spodný panel – úprava položky / katalóg */
.am-sheet { position: absolute; inset: 0; z-index: 5; background: rgba(0,0,0,0); display: flex; align-items: flex-end; transition: background .2s; }
.am-sheet.in { background: rgba(0,0,0,.42); }
.am-sheet__in { width: 100%; max-height: 92%; display: flex; flex-direction: column; background: #fff; border-radius: 18px 18px 0 0; transform: translateY(30px); opacity: 0; transition: transform .22s ease-out, opacity .22s; }
.am-sheet.in .am-sheet__in { transform: none; opacity: 1; }
.am-sh-head { display: flex; align-items: flex-start; gap: 12px; padding: 16px 12px 8px 20px; }
.am-sh-head img { width: 56px; height: 56px; flex: none; object-fit: contain; border: 1px solid #eee; border-radius: 10px; }
.am-sh-head > div { flex: 1; min-width: 0; } .am-sh-head b { display: block; font-size: 17px; font-weight: 800; } .am-sh-head small { display: block; font-size: 13px; color: var(--am-mut); margin-top: 2px; }
.am-sh-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 20px 16px; display: flex; flex-direction: column; gap: 16px; }
.am-sh-foot { display: flex; align-items: center; gap: 12px; padding: 12px 20px 16px; border-top: 1px solid #eee; }
.am-sh-foot .am-btn { height: 48px; } .am-sh-del { align-self: center; color: #777 !important; font-weight: 500; }
.am-seg { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.am-sbtn { min-height: 46px; padding: 6px 8px !important; border: 1px solid #d4d4d4 !important; border-radius: 10px; background: #fff !important; color: #111 !important; font-size: 14px; font-weight: 600; cursor: pointer; }
.am-sbtn.on { border: 2px solid var(--am-acc) !important; background: var(--am-acc-bg) !important; color: var(--am-acc-d) !important; font-weight: 700; }
.am-dots { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 10px 6px; }
.am-dot { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0 !important; background: none !important; padding: 2px !important; font-size: 11px; color: #333 !important; cursor: pointer; }
.am-dot span { width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.am-dot.on { font-weight: 700; color: #111 !important; } .am-dot.on span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--am-acc); }
.am-stepper { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--am-mut); }
.am-st { width: 44px; height: 44px; border: 1px solid #d4d4d4 !important; border-radius: 10px; background: #fff !important; color: #111 !important; font-size: 20px !important; cursor: pointer; padding: 0 !important; }
.am-q { width: 96px; height: 44px; padding: 0 10px; border: 1px solid #d4d4d4; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 700; text-align: center; color: #111; }
.am-hint { display: block; margin-top: 6px; font-size: 12px; color: var(--am-mut); }
.am-search { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #d4d4d4; border-radius: 10px; font: inherit; font-size: 16px; }
.am-cat { display: flex; flex-direction: column; gap: 12px; }
.am-modal :focus-visible { outline: 2px solid var(--am-acc); outline-offset: 2px; }
@media (max-width: 640px) {
  .am-overlay { padding: 0; align-items: stretch; }
  .am-modal { max-width: none; height: 100%; height: 100dvh; border-radius: 0; }
  .am-h1 { font-size: 21px; }
  .am-pill { display: none; }
  .am-sum { min-width: 66px; }
  .am-qpill { min-width: 54px; }
  .am-btn { padding: 0 16px !important; }
}
@media (prefers-reduced-motion: reduce) { .am-sheet, .am-sheet__in { transition: none; } }

/* ── Akcie ponuky (v2.6.1) ── */
.rrc-q-panel { margin-top: 16px; padding: 14px 16px; background: #fafafa; border: 1px solid #eee; border-radius: 8px; }
.rrc-q-panel[hidden], .rrc-q-form[hidden] { display: none; }
.rrc-q-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.rrc-q-btns .button { font-size: 1rem; padding: 10px 18px; }
.rrc-q-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px; position: relative; }
.rrc-q-form input[type=email], .rrc-q-form input[type=text], .rrc-q-form input[type=tel], .rrc-q-form textarea { padding: 8px 10px; border: 1px solid #ccc; border-radius: 6px; }
.rrc-q-form textarea, .rrc-q-consent, .rrc-q-go { grid-column: 1 / -1; }
.rrc-q-consent { font-size: .85em; color: #555; }
.rrc-q-msg { margin: 8px 0; font-weight: 600; }
@media (max-width: 640px) { .rrc-q-form { grid-template-columns: 1fr; } }

/* ── Dokumenty k stavbe + rozpis plechov (v2.7.0) ── */
.rrc-qd { margin: 0 0 18px; padding: 14px 16px; background: #fff; border: 1px dashed #c9d6e2; border-radius: 8px; }
.rrc-qd-title { margin: 0 0 4px; font-size: 1.05rem; } .rrc-qd-title small { font-weight: 400; color: #888; }
.rrc-qd-hint { margin: 0 0 10px; font-size: .88em; color: #555; }
.rrc-qd-label { display: block; font-weight: 600; font-size: .9em; margin-bottom: 4px; }
.rrc-qd-note { width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 6px; }
.rrc-qd-drop { display: block; margin-top: 10px; padding: 16px; text-align: center; border: 2px dashed #ccd; border-radius: 8px; cursor: pointer; color: #555; }
.rrc-qd-drop:hover { border-color: #c0392b; } .rrc-qd-drop input { display: none; }
.rrc-qd-files { list-style: none; margin: 10px 0 0; padding: 0; } .rrc-qd-files li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.rrc-qd-del { background: none; border: 0; color: #999; cursor: pointer; } .rrc-qd-limit { margin: 6px 0 0; font-size: .8em; color: #888; }
.rrc-q-next { margin: 4px 0 10px; font-size: 1.05rem; }
.rrc-q-rowedit { margin: 8px 0 4px; } .rrc-q-rowedit td { padding: 3px 4px; border: 0; }
.rrc-q-rowedit input { width: 80px; padding: 4px 6px; } .rrc-q-rdel { background: none; border: 0; color: #999; cursor: pointer; }
.rrc-q-rowbtns small { color: #888; margin-left: 6px; }

/* ── Doprava v ponuke (v2.8.1) ── */
.rrc-q-table tfoot .rrc-q-ship td { font-size: .95em; border-top: 0; padding-top: 4px; color: #555; }
.rrc-q-table tfoot .rrc-q-grand td { font-size: 1.2em; }
.rrc-q-free { color: #2e7d32; }
.rrc-fs { margin: 14px 0 0; padding: 14px 16px; border-radius: 10px; border: 1px solid #f0d58a; background: #fffaf0; }
.rrc-fs.is-ok { border-color: #a5d6a7; background: #f1f8f1; }
.rrc-fs__head { margin: 0 0 10px; font-size: 1.02em; }
.rrc-fs-bar { margin: 6px 0; }
.rrc-fs-bar__lbl { display: flex; justify-content: space-between; font-size: .85em; color: #555; margin-bottom: 3px; }
.rrc-fs-bar__track { height: 10px; background: #eee; border-radius: 5px; overflow: hidden; }
.rrc-fs-bar__fill { height: 100%; background: linear-gradient(90deg, #f0b400, #e08e00); border-radius: 5px; transition: width .4s; }
.rrc-fs-bar__fill.is-done { background: linear-gradient(90deg, #66bb6a, #2e7d32); }
.rrc-fs__note { margin: 8px 0 0; font-size: .8em; color: #777; }

.rrc-q-incart { margin: 8px 0 0; font-size: .88em; color: #2e7d32; }

.rrc-q-custom { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 10px; background: #fde8e5; color: #922b1e; font-size: .72em; font-style: normal; font-weight: 600; vertical-align: middle; }

.rrc-q-movehint { margin: 8px 0 0; font-size: .82em; color: #777; }

.rrc-q-fs { display: block; font-weight: 600 !important; opacity: 1 !important; color: #ffe08a; }
.rrc-q-fs:empty { display: none; }
p.rrc-q-consent { font-size: .8em; color: #777; margin: 0; }
