/* higgy – nákupný proces: obľúbené, košík, pokladňa, ďakujeme (HiggyNakup.dc.html) */

/* ---------- Spoločné ---------- */
.co-sec { padding: clamp(20px, 2.8cqw, 40px) var(--pad) clamp(56px, 6.6cqw, 104px); }
.co-sec.is-fav { padding-top: clamp(24px, 3.4cqw, 48px); }
.co-sec.is-thanks { padding-top: clamp(32px, 4.4cqw, 64px); }
.co-wrap { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(20px, 2.4cqw, 32px); }
.co-wrap.is-fav { gap: clamp(24px, 2.8cqw, 40px); }
.co-wrap.is-thanks { max-width: 760px; gap: clamp(24px, 2.8cqw, 36px); }

.co-h1 { margin: 0; font-family: var(--display); font-optical-sizing: auto; font-stretch: 85%; font-weight: 800; font-size: clamp(34px, 3.6cqw, 52px); line-height: 1.02; letter-spacing: -0.01em; }
.co-h1.is-thanks { font-size: clamp(38px, 4.4cqw, 60px); text-wrap: balance; }
.co-titlerow { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.co-count { font-size: 16px; color: var(--muted); }
.co-h3 { margin: 0; font-family: var(--display); font-stretch: 85%; font-weight: 800; font-size: 24px; line-height: 1.1; }
.co-h3.lg { font-size: 26px; }
.co-h3.empty { font-size: clamp(26px, 2.4cqw, 34px); }

/* Kroky objednávky */
.co-steps { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 560px; margin: 0 auto; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.co-step { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; }
.co-step:last-child { flex: none; }
.co-step-n { flex: none; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(29, 27, 38, .3); font-size: 14px; font-weight: 700; }
.co-step-l { white-space: nowrap; color: var(--muted); }
.co-step-line { flex: 1; min-width: 10px; height: 2px; border-radius: 2px; background: rgba(29, 27, 38, .14); }
.co-step.is-done .co-step-n { background: var(--ink); color: var(--cream); box-shadow: none; }
.co-step.is-cur .co-step-n { background: var(--orange); box-shadow: none; }
.co-step.is-done .co-step-l, .co-step.is-cur .co-step-l { color: var(--ink); }
.co-step.is-done .co-step-line { background: var(--ink); }

/* Tlačidlá */
.co-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 20px; box-sizing: border-box; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); font: 700 17px 'Figtree', sans-serif; text-decoration: none; cursor: pointer; transition: background .2s, transform .25s var(--ease); }
.co-btn:hover { background: #3A3645; color: var(--cream); transform: translateY(-2px); }
.co-btn.sm { display: inline-flex; min-height: 52px; padding: 0 26px; }
.co-btn.wide { display: inline-flex; padding: 0 28px; }
.co-btn.flat:hover { transform: none; }
.co-btn.on-dark { background: var(--cream); color: var(--ink); align-self: flex-start; }
.co-btn.on-dark:hover { background: #fff; color: var(--ink); }
.co-ghost { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(29, 27, 38, .16); color: var(--ink); font: 700 17px 'Figtree', sans-serif; text-decoration: none; cursor: pointer; transition: box-shadow .2s; }
.co-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.co-addall { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(29, 27, 38, .16); color: var(--ink); font: 700 16px 'Figtree', sans-serif; cursor: pointer; transition: box-shadow .2s, transform .25s var(--ease); }
.co-addall:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-1px); }
.co-pill { flex: none; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); font: 700 15px 'Figtree', sans-serif; cursor: pointer; transition: background .2s; }
.co-pill:hover { background: #3A3645; }
.co-pill.lg { height: 48px; padding: 0 20px; }
.co-linkbtn { min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font: 600 15px 'Figtree', sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color .2s; }
.co-linkbtn:hover { color: var(--red); }
.co-link { color: var(--ink); text-underline-offset: 3px; transition: color .2s; }
.co-link:hover { color: var(--red); }
.co-link.muted { color: var(--muted); }
.co-back { display: flex; align-items: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; background: none; color: var(--ink); font: 600 15px 'Figtree', sans-serif; text-decoration: none; cursor: pointer; transition: background .2s; justify-self: start; }
.co-back:hover { background: rgba(29, 27, 38, .07); }
.co-shoplink { align-self: flex-start; display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none; transition: color .2s; }
.co-shoplink:hover { color: var(--red); }

/* Prázdny stav */
.co-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: clamp(40px, 6cqw, 88px) 20px; border-radius: 24px; background: #EFEAE2; text-align: center; }
.co-empty-ico { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #FFFFFF; color: var(--ink); }
.co-empty p { margin: 0; max-width: 28em; color: var(--soft); text-wrap: pretty; }
.co-empty-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* Súhrn (boxy vpravo) */
.co-split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(24px, 3.4cqw, 48px); }
.co-aside { flex: 1 1 340px; min-width: 0; position: sticky; top: 132px; display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2cqw, 28px); box-sizing: border-box; border-radius: 24px; background: #FFFFFF; box-shadow: 0 8px 30px rgba(29, 27, 38, .06); }
.co-aside.is-checkout { top: 96px; flex-basis: 380px; }
.sum-rows { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; }
.sum-row > :first-child { color: var(--soft); }
.sum-row > :last-child { font-weight: 600; white-space: nowrap; }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(29, 27, 38, .12); }
.sum-total b { font-size: 18px; font-weight: 700; }
.sum-total strong { font-size: 28px; font-weight: 700; line-height: 1; }
.sum-items { display: flex; flex-direction: column; gap: 12px; }
.sum-item { display: flex; align-items: center; gap: 12px; }
.sum-thumb { position: relative; flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--cream); }
.sum-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sum-name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.sum-name > span:first-child { font-size: 15px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sum-name > span:last-child { font-size: 14px; color: var(--muted); }
.sum-line { flex: none; font-size: 15px; font-weight: 700; }
.sum-line-sub { font-size: 13px; font-weight: 400; color: var(--muted); }

.ship-box { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 16px; background: #EFEAE2; font-size: 15px; }
.ship-box > span { display: flex; align-items: center; gap: 10px; }
.ship-bar { height: 8px; border-radius: 999px; background: rgba(29, 27, 38, .10); overflow: hidden; }
.ship-bar > div { height: 100%; border-radius: 999px; background: var(--ink); transition: width .5s var(--ease); }

/* ---------- Košík ---------- */
.cart-list { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(29, 27, 38, .12); }
.ci { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(12px, 1.6cqw, 20px); padding: 20px 0; border-bottom: 1px solid rgba(29, 27, 38, .12); }
.ci-img { position: relative; display: block; width: clamp(84px, 9cqw, 120px); aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(29, 27, 38, .06); }
.ci-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ci-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ci-title { color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 600; line-height: 1.35; text-wrap: pretty; text-underline-offset: 3px; }
.ci-title:hover { text-decoration: underline; }
.ci-meta { font-size: 14px; color: var(--muted); }
.qty { display: flex; align-items: center; align-self: flex-start; height: 44px; margin-top: 10px; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(29, 27, 38, .16); }
.qty button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--ink); font: 600 20px 'Figtree', sans-serif; cursor: pointer; transition: background .2s; }
.qty button:hover:not(:disabled) { background: rgba(29, 27, 38, .06); }
.qty button:disabled { opacity: .35; cursor: default; }
.qty-n { min-width: 20px; text-align: center; font-size: 16px; font-weight: 700; }
.ci-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.ci-x { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -10px -10px 0 0; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.ci-x:hover { background: rgba(29, 27, 38, .07); color: var(--red); }
.ci-line { font-size: 18px; font-weight: 700; white-space: nowrap; }

.code-form { display: flex; flex-direction: column; gap: 6px; }
.co-code { flex: 1; min-width: 0; height: 48px; padding: 0 18px; box-sizing: border-box; border: 0; border-radius: 999px; background: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(29, 27, 38, .16); color: var(--ink); font: 500 16px 'Figtree', sans-serif; text-transform: uppercase; outline: none; }
.co-code[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--red); }
.co-code:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.co-code::placeholder { text-transform: none; }
.co-err-lg { font-size: 14px; font-weight: 600; color: var(--red); }
.co-err-lg:empty { display: none; }

/* Mobilná lišta košíka */
.mobbar { position: sticky; bottom: 64px; z-index: 19; height: 0; }
.mobbar-in { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px 20px; background: var(--cream); border-top: 1px solid rgba(29, 27, 38, .12); }
.mobbar-sum { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.mobbar-sum span:first-child { font-size: 14px; color: var(--muted); }
.mobbar-sum span:last-child { font-size: 19px; font-weight: 700; }
.mobbar .co-btn { flex: none; display: flex; gap: 8px; min-height: 48px; height: 48px; padding: 0 22px; font-size: 16px; }
.mobbar .co-btn:hover { transform: none; }
@media (max-width: 899.98px) { body.has-mobbar .hg-toast { bottom: 148px; } }

/* Obľúbené */
.fav-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(150px, calc((100% - 72px) / 4)), 1fr)); gap: 32px clamp(12px, 1.7cqw, 24px); }

/* ---------- Pokladňa ---------- */
.co-head { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: clamp(60px, 5.3cqw, 76px); padding: 0 clamp(8px, 5.6cqw, 80px); background: var(--cream); border-bottom: 1px solid var(--line); }
.co-logo { display: inline-block; color: var(--ink); text-decoration: none; font-size: clamp(34px, 2.8cqw, 40px); }
.co-foot { padding: 24px var(--pad); border-top: 1px solid rgba(29, 27, 38, .10); font-size: 14px; }
.co-foot > div { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; }
.co-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.co-foot span { color: var(--muted); }

.co-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.co-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: clamp(20px, 2.2cqw, 32px); border-radius: 24px; background: #FFFFFF; }
.co-card.is-ty { padding: clamp(20px, 2.2cqw, 28px); }
.co-num { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: var(--ink); font-family: 'Figtree', sans-serif; font-size: 15px; font-weight: 700; }
.co-intro { display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 2.4cqw, 28px); margin-bottom: 8px; text-align: center; }
.co-intro .co-steps { margin: 0 auto; }
.co-num { flex: none; transition: background .25s, color .25s; }
.co-num.is-done { background: var(--ink); color: var(--cream); }
.co-h3.numbered { display: flex; align-items: center; gap: 12px; }
.co-cardhead { display: flex; flex-direction: column; gap: 6px; }
.co-lead { margin: 0 0 0 42px; font-size: 15px; color: var(--muted); text-wrap: pretty; }
.co-extras { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px solid rgba(29, 27, 38, .10); }
.co-extras .cb, .co-extras .co-note-btn { margin: -6px 0; }
.co-sub { padding: 16px; border-radius: 16px; background: #F5F1EA; }
.co-sub .co-in { background: #FFFFFF; }
.co-hint { font-size: 13px; line-height: 1.4; color: var(--muted); }
p.co-hint { margin: -4px 0 0; }
.co-opt { font-weight: 400; color: var(--muted); }
.co-grid-addr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; }
.co-fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.co-grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.co-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.span-all { grid-column: 1 / -1; }
.co-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.co-field > label { font-size: 14px; font-weight: 600; color: var(--soft); }
.co-in { width: 100%; min-width: 0; height: 52px; padding: 0 16px; box-sizing: border-box; border: 0; border-radius: 14px; background: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(29, 27, 38, .16); color: var(--ink); font: 400 17px 'Figtree', sans-serif; outline: none; transition: box-shadow .2s; }
select.co-in { padding: 0 14px; }
textarea.co-in { height: auto; padding: 14px 16px; font-size: 17px; line-height: 1.5; resize: none; }
.co-in[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--red); }
.co-in:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.co-err { font-size: 13px; font-weight: 600; color: var(--red); }
.co-field:has(.co-err:not(:empty)) .co-hint { display: none; }
.co-err:empty { display: none; }

/* Checkbox */
.cb { display: flex; align-items: center; gap: 12px; align-self: flex-start; min-height: 44px; margin: -6px 0; color: var(--ink); font: 500 16px 'Figtree', sans-serif; text-align: left; cursor: pointer; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.cb-box { flex: none; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(29, 27, 38, .3); color: #FFFFFF; transition: background .2s, box-shadow .2s; }
.cb-box svg { opacity: 0; }
.cb input:checked + .cb-box { background: var(--ink); box-shadow: none; }
.cb input:checked + .cb-box svg { opacity: 1; }
.cb input[data-bad] + .cb-box { box-shadow: inset 0 0 0 2px var(--red); }
.cb input:focus-visible + .cb-box { outline: 3px solid var(--orange); outline-offset: 2px; }
.cb.hit { flex: none; justify-content: center; width: 44px; height: 44px; margin: -11px -6px -11px -11px; align-self: auto; }

/* Voľby (doprava / platba) */
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt-item { border-radius: 16px; background: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(29, 27, 38, .12); transition: box-shadow .2s, background .2s; }
.opt-item:hover { box-shadow: inset 0 0 0 1.5px rgba(29, 27, 38, .45); }
.opt-item.is-on { background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--ink), 0 6px 18px rgba(29, 27, 38, .06); }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; box-sizing: border-box; padding: 14px 18px; color: var(--ink); cursor: pointer; }
.opt-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(29, 27, 38, .35); transition: box-shadow .2s; }
.opt input:checked ~ .opt-dot { box-shadow: inset 0 0 0 7px var(--ink); }
.opt input:focus-visible ~ .opt-dot { outline: 3px solid var(--orange); outline-offset: 2px; }
.opt-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #EFEAE2; color: var(--ink); transition: background .2s; }
.opt-item.is-on .opt-ico { background: rgba(247, 137, 47, .18); }
.opt-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.opt-txt b { font-size: 16px; font-weight: 700; line-height: 1.3; text-wrap: pretty; }
.opt-txt span { font-size: 14px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.opt-price { flex: none; display: flex; flex-direction: column; align-items: flex-end; font-size: 16px; font-weight: 700; line-height: 1.3; }
.opt-price s { font-size: 13px; font-weight: 400; color: var(--muted); }
@media (max-width: 479.98px) {
  .opt { gap: 12px; padding: 14px; }
  .opt-ico { display: none; }
}

/* Výdajné miesto – pod vybranou možnosťou dopravy */
.opt-extra { padding: 0 18px 18px 54px; }
.pt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 12px 12px 16px; border-radius: 14px; background: #EFEAE2; }
.pt.is-bad { box-shadow: inset 0 0 0 2px var(--red); }
.pt-msg { font-size: 15px; color: var(--soft); }
.pt.is-bad .pt-msg { color: #9E1F2D; font-weight: 600; }
.pt-has { flex: 1 1 200px; display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 15px; line-height: 1.35; }
.pt-has > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.pt-has strong { font-weight: 700; }
.pt-has #pt-addr { color: var(--soft); }
.pt-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #FFFFFF; }
.pt .co-linkbtn { padding: 0 6px; }
@media (max-width: 479.98px) { .opt-extra { padding: 0 14px 14px; } }

.co-note-btn { align-self: flex-start; display: flex; align-items: center; gap: 12px; min-height: 44px; margin: -6px 0; padding: 0; border: 0; background: none; color: var(--ink); font: 600 15px 'Figtree', sans-serif; cursor: pointer; transition: color .2s; }
.co-note-btn:hover { color: var(--red); }

.co-formerr { padding: 10px 14px; border-radius: 12px; background: #FBE6E8; color: #9E1F2D; font-size: 14px; font-weight: 600; }
.co-formerr:empty { display: none; }
.co-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; }
.co-consent > label:not(.cb) { cursor: pointer; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.cb.sm { font-size: 15px; line-height: 1.45; }

/* Súhrn v pokladni */
.sum-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sum-head .co-linkbtn { flex: none; display: inline-flex; align-items: center; }
.sum-tgl { align-self: flex-start; display: flex; align-items: center; gap: 6px; min-height: 32px; margin: -12px 0 -6px; padding: 0; border: 0; background: none; color: var(--muted); font: 600 15px 'Figtree', sans-serif; cursor: pointer; transition: color .2s; }
.sum-tgl:hover { color: var(--ink); }
.sum-tgl svg { transition: transform .25s var(--ease); }
.sum-tgl[aria-expanded="true"] svg { transform: rotate(180deg); }
.is-checkout .sum-items { margin-right: -8px; padding-right: 8px; scrollbar-width: thin; }
.is-checkout.is-folded .sum-items { display: none; }
.co-aside.is-pop > .sum-items { display: flex; position: absolute; left: 12px; right: 12px; z-index: 3; margin: 0; padding: 14px 16px; border-radius: 18px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(29, 27, 38, .08), 0 16px 40px rgba(29, 27, 38, .18); overflow-y: auto; overscroll-behavior: contain; animation: sum-pop .2s var(--ease); }
@keyframes sum-pop { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .co-aside.is-pop > .sum-items { animation: none; } }
.sum-items.fade-t { -webkit-mask-image: linear-gradient(transparent, #000 28px); mask-image: linear-gradient(transparent, #000 28px); }
.sum-items.fade-b { -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }
.sum-items.fade-t.fade-b { -webkit-mask-image: linear-gradient(transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(transparent, #000 28px, #000 calc(100% - 28px), transparent); }

/* Súhrn vedľa formulára: nikdy nie vyšší ako okno – zoznam produktov sa zmrští a posúva,
   tlačidlo Objednať ostane viditeľné. Krajná poistka: posúva sa celý súhrn. */
.co-aside.is-side { max-height: calc(100vh - 116px); max-height: calc(100dvh - 116px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.co-aside.is-side > * { flex-shrink: 0; }
.co-aside.is-side > .sum-items { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
@media (max-height: 760px) {
  .co-aside.is-side { gap: 14px; padding-block: 20px; }
  .co-aside.is-side .co-h3.lg { font-size: 22px; }
  .co-aside.is-side .sum-total strong { font-size: 24px; }
  .co-aside.is-side .sum-rows { gap: 6px; padding-top: 12px; }
  .co-aside.is-side .sum-total, .co-aside.is-side .sum-checks { padding-top: 12px; }
  .co-aside.is-side .co-btn { min-height: 52px; }
}
.is-checkout .sum-rows { padding-top: 16px; border-top: 1px solid rgba(29, 27, 38, .12); }
.sum-free { padding: 10px 14px; border-radius: 12px; background: #EFEAE2; font-size: 14px; color: var(--soft); }
.sum-free strong { color: var(--ink); }
.sum-checks { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(29, 27, 38, .12); }
.sum-checks .cb.sm { gap: 15px; margin: 0; align-items: flex-start; min-height: 0; }

/* Mobil: kroky – popis len pri aktuálnom kroku */
@media (max-width: 479.98px) {
  .co-step:not(.is-cur) .co-step-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .co-step-line { min-width: 16px; }
}
.co-small { font-size: 13px; line-height: 1.45; color: var(--muted); text-align: center; text-wrap: pretty; }

/* ---------- Ďakujeme ---------- */
.ty-top { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ty-ico { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%; background: var(--orange); color: var(--ink); }
.ty-lead { margin: 0; max-width: 32em; color: var(--soft); font-size: 18px; text-wrap: pretty; }
.ty-lead strong { color: var(--ink); }
.ty-bank { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.2cqw, 28px); border-radius: 24px; background: var(--ink); color: var(--cream); }
.ty-bank-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px 24px; font-size: 15px; }
.ty-bank-grid > span { display: flex; flex-direction: column; }
.ty-bank-grid > span > span:first-child { color: #C9C5D0; }
.ty-bank-grid strong { font-size: 20px; }
.ty-cod { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; background: #EFEAE2; font-size: 16px; }
.ty-cod svg { flex: none; }
.ty-steps { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.ty-step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
.ty-step-rail { display: flex; flex-direction: column; align-items: center; }
.ty-step-n { flex: none; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(29, 27, 38, .3); font-size: 14px; font-weight: 700; }
.ty-step.is-done .ty-step-n { background: var(--ink); color: var(--cream); box-shadow: none; }
.ty-step-line { flex: 1; width: 2px; min-height: 16px; margin: 4px 0; border-radius: 2px; background: rgba(29, 27, 38, .14); }
.ty-step-txt { display: flex; flex-direction: column; gap: 2px; padding: 2px 0 18px; }
.ty-step-txt span { font-size: 15px; color: var(--muted); text-wrap: pretty; }
.ty-sum-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px 24px; font-size: 15px; }
.ty-sum-meta > span { display: flex; flex-direction: column; gap: 2px; }
.ty-sum-meta > span > span:first-child { font-size: 14px; font-weight: 600; color: var(--muted); }
.ty-sum-meta > span > span:last-child { color: var(--soft); }
.ty-lines { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(29, 27, 38, .12); }
.ty-sum { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(29, 27, 38, .12); font-size: 16px; }
.ty-sum .sum-total { padding-top: 10px; border-top: 0; }
.ty-sum .sum-total strong { font-size: 24px; }
.ty-foot { margin: 0; text-align: center; color: var(--muted); font-size: 15px; }
.todo { padding: 1px 6px; border-radius: 4px; background: rgba(247, 137, 47, .18); color: #9A5A00; font-weight: 600; }
.ty-bank .todo { color: #FFB574; }
.sum-name.full > span:first-child { display: block; -webkit-line-clamp: unset; overflow: visible; }
.co-foot a { color: var(--muted); }
.co-foot a:hover { color: var(--ink); }

/* Mobil: polia pod sebou, nie natlačené vedľa seba (musí byť za .co-grid-2) */
@media (max-width: 559.98px) {
  .co-grid-2 { grid-template-columns: minmax(0, 1fr); }
}
