/* nákup: Suma týždňa. One number, fresh produce, one green.
   Fonts come from vendor/fonts/fonts.css (Newsreader, DM Sans); the latin-ext files below add ľ š č ť ž ý ô ň ď ŕ ĺ. */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300; font-display: swap; src: url('../vendor/fonts/newsreader-300-normal-ext.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap; src: url('../vendor/fonts/newsreader-400-normal-ext.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../vendor/fonts/dm-sans-400-normal-ext.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../vendor/fonts/dm-sans-500-normal-ext.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../vendor/fonts/dm-sans-600-normal-ext.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #FFFFFF; --surface: #F5F6F4; --surface-2: #EEF0ED;
  --ink: #14211A; --soft: #6B746E; --soft-deep: #57615A;
  --green: #1A8644; --green-d: #15723A;
  --mint: #DDF0E3; --butter: #F8EDC4; --sky: #DCE8F3; --sage: #CFE2CC;
  --yellow: #F0D469; --yellow-d: #E9C84E; --red: #C93F33;
  --line: #E9ECE8; --ring: #D5DAD5;
  --lift: 0 1px 2px rgba(20, 33, 26, .04), 0 12px 40px rgba(20, 33, 26, .05);
  --pad: clamp(1.5rem, 3.2vw, 3.5rem);
  --side: 12.5rem;
  --wkbar-h: 5rem;
  --bar-h: 4rem;
  --tint: var(--mint); --deep: #4E9B6B;
}
/* each category colour has a pale tint (behind photos) and a deeper tone (dots, the colour behind the basket) */
[data-tint="mint"] { --tint: var(--mint); --deep: #4E9B6B; }
[data-tint="butter"] { --tint: var(--butter); --deep: #F0D469; }
[data-tint="sky"] { --tint: var(--sky); --deep: #8DB7E0; }
[data-tint="sage"] { --tint: var(--sage); --deep: #9CC396; }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (min-width: 1700px) { html { font-size: clamp(16px, .94vw, 22px); } }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.5; color: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; hyphens: manual; overflow-wrap: break-word; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
input, select, textarea { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .625rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }
.serif { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; }
.micro { font-size: .75rem; font-weight: 500; line-height: 1.4; color: var(--soft); }
.soft { color: var(--soft); }
.ic { width: 1.25rem; height: 1.25rem; flex: none; }
.ic--lock { width: .75rem; height: .75rem; }
.dot { display: inline-block; width: .625rem; height: .625rem; border-radius: 50%; background: var(--deep); flex: none; }

/* ---------- wordmark ---------- */
.mark { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; letter-spacing: -.01em; }
.mark i { width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.mark i svg { width: .875rem; height: .875rem; }
.mark span { padding-bottom: .1em; }
.mark--s { font-size: 1.25rem; }

/* ---------- buttons, chips, switches ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; background: var(--green); color: #fff; font-weight: 600; font-size: .9375rem; white-space: nowrap; transition: background .2s, transform .15s; }
.pill:hover { background: var(--green-d); }
.pill:active { transform: scale(.98); }
.pill .ic { width: 1.125rem; height: 1.125rem; transition: transform .2s; }
.pill:hover .ic { transform: translateX(3px); }
.pill--big { height: 3.5rem; padding: 0 1.75rem; font-size: 1rem; }
.pill--wide { width: 100%; justify-content: space-between; }
.pill--s { height: 2.5rem; padding: 0 1rem; font-size: .875rem; }
.pill--quiet { background: var(--surface); color: var(--ink); }
.pill--quiet:hover { background: var(--mint); }
.pill--quiet:hover .ic, .pill--line:hover .ic { transform: none; }
.pill--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ring); }
.pill--line:hover { background: var(--surface); }
.pill--white { background: #fff; color: var(--ink); }
.pill--white:hover { background: var(--mint); }
.pill--warm { background: var(--yellow); color: var(--ink); }
.pill--warm:hover { background: var(--yellow-d); }
.pill[aria-disabled="true"] { background: var(--surface-2); color: var(--soft-deep); pointer-events: none; }
.pill__sum { font-weight: 500; font-variant-numeric: tabular-nums; opacity: .92; }

.chip { display: inline-flex; align-items: center; height: 2.25rem; padding: 0 .875rem; border-radius: 999px; background: var(--surface); font-size: .875rem; white-space: nowrap; transition: background .2s, color .2s; }
.chip:hover { background: var(--mint); }
.chip[aria-pressed="true"] { background: var(--green); color: #fff; font-weight: 500; }
.chip--warm:hover { background: var(--butter); }
.chip--warm[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }

.textbtn { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.75rem; font-size: .9375rem; color: var(--ink); }
.textbtn .ic { width: 1rem; height: 1rem; }
.textbtn:hover span, a.textbtn:hover { text-decoration: underline; text-underline-offset: .2em; }
.textbtn--del { color: var(--soft); }
.textbtn--del:hover { color: var(--ink); }
.iconbtn { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; color: var(--soft); transition: background .2s, color .2s; }
.iconbtn:hover { background: var(--surface); color: var(--ink); }
.xbtn { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; color: var(--soft); transition: color .2s, background .2s; }
.xbtn .ic { width: 1rem; height: 1rem; }
.xbtn:hover { color: var(--ink); background: var(--surface); }
.xbtn:disabled { opacity: .35; cursor: default; }

.seg, .lang { display: inline-flex; padding: .1875rem; border-radius: 999px; background: var(--surface); }
.seg button, .lang button { display: inline-flex; align-items: center; gap: .375rem; height: 2.25rem; padding: 0 .875rem; border-radius: 999px; font-size: .875rem; color: var(--soft-deep); transition: background .2s, color .2s; }
.lang button { height: 2rem; padding: 0 .75rem; font-size: .875rem; font-weight: 500; }
.seg button[aria-pressed="true"], .lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 33, 26, .08); }
.seg .ic { width: 1.125rem; height: 1.125rem; }
.seg--ic button { width: 2.25rem; padding: 0; justify-content: center; }
.seg--ic span { display: grid; }

.switch { width: 3rem; height: 1.75rem; border-radius: 999px; background: var(--ring); position: relative; transition: background .2s; flex: none; }
.switch i { position: absolute; left: .1875rem; top: .1875rem; width: 1.375rem; height: 1.375rem; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch[aria-checked="true"] { background: var(--green); }
.switch[aria-checked="true"] i { transform: translateX(1.25rem); }

.inp { width: 100%; height: 2.75rem; padding: 0 .75rem; border: 1px solid var(--line); border-radius: .75rem; background: #fff; font-size: 1rem; transition: border-color .2s; min-width: 0; }
.inp:hover { border-color: var(--ring); }
.inp:focus-visible { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
textarea.inp { height: auto; padding: .625rem .75rem; resize: vertical; line-height: 1.4; }
select.inp { appearance: none; -webkit-appearance: none; padding-right: 2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314211A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.500 9.500 12 15l5.500-5.500'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .5rem center; background-size: 1.125rem; }
.inp--n { text-align: right; font-variant-numeric: tabular-nums; }
.inp--bare { border-color: transparent; padding-left: .5rem; font-weight: 500; }
.inp::placeholder { color: var(--soft); opacity: 1; }
.duo { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .5rem; }
.duo--eur { grid-template-columns: 7rem auto; align-items: center; justify-content: start; }
.rule { border-top: 1px solid var(--line); }
.frow { display: grid; grid-template-columns: minmax(7.5rem, 38%) minmax(0, 1fr); gap: .75rem; align-items: center; padding: .5rem 0; min-height: 3.75rem; border-bottom: 1px solid var(--line); }
.frow__l { font-size: .9375rem; }
.frow__l .ic { vertical-align: -.05em; margin-right: .375rem; }
.frow__l small { display: block; font-size: .75rem; color: var(--soft); line-height: 1.35; margin-top: .125rem; }
.frow__c--end { display: flex; justify-content: flex-end; }
.none { padding: 3rem 0; color: var(--soft); display: grid; gap: 1rem; justify-items: start; }

/* ---------- the odometer ---------- */
.odo { display: block; font-family: var(--font-display); font-weight: 300; line-height: 1; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; font-feature-settings: 'lnum' 1, 'tnum' 1; color: var(--ink); }
.odo__in { display: inline-flex; align-items: flex-start; padding-bottom: .12em; }
/* Newsreader's figures are tabular at .567em; the cell is a touch narrower and shows the top .8em of each
   1em slot (the figures end at .75em), so the number sits tight without clipping a digit */
.dg { display: block; width: .54em; height: .8em; overflow: hidden; }
.dg__c { display: block; will-change: transform; }
.dg__c i { display: block; width: .567em; height: 1em; line-height: 1em; margin-left: -.0135em; text-align: center; font-style: normal; }
.dg__s { display: block; width: .2em; height: .8em; line-height: 1em; text-align: center; }
.odo__eur { font-size: .4em; line-height: 1; margin: .07em 0 0 .3em; }

/* ---------- tick circle ---------- */
.tick { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; flex: none; }
.tick__c { width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1.5px solid var(--ring); background: #fff; display: grid; place-items: center; color: #fff; transition: border-color .2s, background .2s; }
.tick:hover .tick__c { border-color: var(--green); }
.tick:active .tick__c { transform: scale(.92); }
.tick .ic { width: 1rem; height: 1rem; stroke-width: 2.2; stroke-dasharray: 18; stroke-dashoffset: 18; transition: stroke-dashoffset .2s ease-out; }
.tick[aria-checked="true"] .tick__c { background: var(--green); border-color: var(--green); }
.tick[aria-checked="true"] .ic { stroke-dashoffset: 0; }

/* ---------- quantity step ---------- */
.step { display: none; align-items: center; gap: .25rem; }
.is-on .step { display: inline-flex; }
.step__b { height: 2rem; min-width: 2rem; padding: 0 .6875rem; border-radius: 999px; background: #fff; font-size: .875rem; font-weight: 500; display: inline-grid; place-items: center; white-space: nowrap; font-variant-numeric: tabular-nums; transition: background .2s; }
.step__b--less { padding: 0; }
.step__b .ic { width: .875rem; height: .875rem; }
.step__b:hover { background: var(--surface-2); }
@media (pointer: coarse) { .step__b { height: 2.5rem; min-width: 2.5rem; padding: 0 .875rem; } .step__b--less { padding: 0; } }

/* ---------- photos ---------- */
.ph { display: block; min-width: 0; }
.ph img { width: 100%; height: 100%; object-fit: contain; }
.ph--ic { display: grid; place-items: center; color: var(--ink); }
.ph--ic .ic { width: 1.5rem; height: 1.5rem; }
/* an item without a photo: its category's line icon on the category tint */
.item .ph--ic .ic, .detail__ph .ph--ic .ic { box-sizing: content-box; padding: 1.5rem; border-radius: 1.25rem; background: #fff; transition: background .3s; }
.item.is-on .ph--ic .ic, .detail.is-on .ph--ic .ic { background: #fff; }
.stile .ph--ic, .lrow .ph--ic, .hitems .ph--ic, .top__o .ph--ic { display: grid; }
.stile .ph--ic .ic, .hitems .ph--ic .ic, .top__o .ph--ic .ic { width: 1.25rem; height: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .25rem; }
.lockwrap { display: inline-grid; }

/* =====================================================================
   SHELL
   ===================================================================== */
.phead { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem .25rem; }
.ptabs { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs__in { display: flex; gap: 1.375rem; padding: 0 1rem; width: max-content; }
.ptabs a { display: inline-flex; align-items: center; gap: .25rem; height: 2.75rem; font-size: .9375rem; color: var(--soft); white-space: nowrap; }
.ptabs a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.ptabs a[aria-current="page"]::before { content: ''; width: .375rem; height: .375rem; border-radius: 50%; background: var(--green); margin-right: .25rem; }
.ptabs__n.is-empty, .side__n.is-empty { display: none; }
.ptabs__cue, .side__cue { font-size: .75rem; font-weight: 500; color: var(--green-d); background: var(--mint); border-radius: 999px; padding: .0625rem .5rem; margin-left: .25rem; }

.app { min-width: 0; }
.side { display: none; }
.main { padding: 1rem 1rem calc(var(--bar-h) + 2rem + env(safe-area-inset-bottom)); min-width: 0; }
.page__h { font-size: 1.5rem; line-height: 1.2; }

.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding: 0 1rem env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); }
.bar__txt { display: flex; align-items: center; gap: .625rem; min-width: 0; }
.bar__nt { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.bar .kos { --kw: 3.5rem; }
.bar__n { font-size: .75rem; font-weight: 500; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.bar__total { font-size: 1.75rem; }
.bar__total .odo__eur, .side__wkt .odo__eur { font-size: .5em; margin-top: .05em; }
.bar .pill { flex: none; }
@media (max-width: 359px) { .bar { gap: .5rem; } .bar .kos { --kw: 2.5rem; } .bar .pill { padding: 0 .875rem; } }
.bar--send { padding: .5rem 1rem calc(.5rem + env(safe-area-inset-bottom)); }
body[data-page="nakup"] { --bar-h: 4.5rem; }
body[data-state="empty"], body[data-state="sent"] { --bar-h: 0rem; }

.toast { position: fixed; left: 1rem; right: 1rem; bottom: calc(var(--bar-h) + 1rem + env(safe-area-inset-bottom)); z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .875rem 1.25rem; border-radius: 1.25rem; background: var(--ink); color: #fff; font-size: .9375rem; opacity: 0; transform: translateY(.75rem); pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.toast a { text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; font-weight: 500; }

.foot { margin-top: 5rem; padding: 1.75rem 0 .5rem; border-top: 1px solid var(--line); display: grid; gap: 1.5rem; font-size: .875rem; color: var(--soft-deep); }
.foot__a { display: grid; gap: .75rem; max-width: 24rem; }
.foot .mark { color: var(--ink); }
.foot__nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.foot__nav a { color: var(--ink); min-height: 2.25rem; display: inline-flex; align-items: center; }
.foot__nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.foot .lang { justify-self: start; }
.foot__legal { display: grid; gap: .125rem; justify-items: start; align-content: start; }
.foot__lh { font-size: .875rem; font-weight: 600; color: var(--ink); min-height: 2.25rem; display: flex; align-items: center; }
.foot__legal a { color: var(--ink); min-height: 2.25rem; display: inline-flex; align-items: center; }
.foot__legal a:hover { text-decoration: underline; text-underline-offset: .2em; }
.foot__legal p { max-width: 17rem; padding-top: .5rem; line-height: 1.45; }

@media (min-width: 1100px) {
  .phead, .ptabs { display: none; }
  .app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); align-items: start; min-height: 100vh; }
  .main { padding: 2rem var(--pad) 2rem; }
  .side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 2rem 0 1.5rem 2rem; overflow-y: auto; scrollbar-width: none; }
  .side__navwrap { margin-top: 2.25rem; }
  body[data-page="katalog"] .side__navwrap { margin-top: 1.75rem; }
  body[data-page="katalog"] .side__nav > li > a { min-height: 2.375rem; font-size: 1.1875rem; }
  .side__nav > li > a { position: relative; display: inline-flex; align-items: center; gap: .25rem; min-height: 2.625rem; font-size: 1.125rem; font-weight: 500; }
  .side__nav > li > a:hover { text-decoration: underline; text-underline-offset: .25em; }
  .side__nav > li > a[aria-current="page"] { font-weight: 600; }
  .side__nav > li > a[aria-current="page"]::before { content: ''; position: absolute; left: -.875rem; top: 50%; width: .375rem; height: .375rem; margin-top: -.1875rem; border-radius: 50%; background: var(--green); }
  .side__n { color: var(--ink); font-weight: 400; }
  .side__nav > li > a { flex-wrap: wrap; }
  .side__cue { margin: 0 0 .375rem; }
  .side__cats { display: none; padding: .125rem 0 .625rem; }
  body[data-page="katalog"] .side__cats { display: block; }
  .side__cats a { position: relative; display: block; padding: .3125rem 0; font-size: .9375rem; color: var(--ink); transition: color .2s; }
  .side__cats a:hover { color: var(--green-d); }
  .side__cats a[aria-current="true"] { color: var(--green-d); font-weight: 600; }
  .side__wk { margin-top: 2.5rem; padding: 1.25rem 1rem 0 0; border-top: 1px solid var(--line); margin-right: 1.5rem; display: grid; gap: .5rem; justify-items: start; }
  .side__wkh { font-size: 1.125rem; }
  .side__wkt { font-size: 1.75rem; display: block; margin-bottom: .375rem; }
  .side__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .75rem; justify-items: start; font-size: 1rem; color: var(--ink); }
  .side__foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }

  .bar { display: none; }
  .bar--send { display: flex; left: calc(var(--side) + var(--pad)); right: auto; bottom: 1.25rem; width: min(40rem, calc(100vw - var(--side) - 2 * var(--pad))); height: auto; padding: .375rem; border: 0; border-radius: 999px; box-shadow: var(--lift), 0 0 0 1px var(--line); transform: translateY(160%); transition: transform .3s ease-out; }
  .bar--send.is-away { transform: none; }
  .toast { left: calc(var(--side) + var(--pad)); right: auto; bottom: 1.5rem; max-width: 34rem; }
  body[data-page="nakup"] .toast { bottom: 6rem; }
  body[data-state="prepared"] .main { padding-bottom: 6.5rem; }
  .foot { grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 1.5rem clamp(1.5rem, 3vw, 3rem); align-items: start; margin-top: 5.5rem; padding-bottom: 1rem; }
  .foot__nav { max-width: 19rem; }
  .foot .lang { display: none; }
}

/* =====================================================================
   TENTO TÝŽDEŇ: the slim sticky bar, the drawer it opens, and the basket
   ===================================================================== */
.wkbar { display: none; }
@media (min-width: 1100px) {
  /* a white strip pinned to the top of the catalogue column; the tiles pass under it */
  body[data-page="katalog"] .main { padding-top: 0; }
  .wkbar { display: block; position: sticky; top: 0; z-index: 40; margin: 0 calc(var(--pad) * -1); padding: .75rem var(--pad) .625rem; background: #fff; }
  .has-sheet .wkbar { background: none; }
  .wkbar__in { display: flex; align-items: center; gap: 1.5rem; height: var(--wkbar-h); padding: 0 .75rem 0 .375rem; border-radius: 1.75rem; background: #fff; box-shadow: var(--lift), 0 0 0 1px rgba(20, 33, 26, .06); container-type: inline-size; container-name: wkbar; }
  .wkbar__open { display: flex; align-items: center; gap: 1rem; height: calc(100% - .75rem); padding: 0 1.25rem 0 .75rem; border-radius: 1.375rem; flex: none; min-width: 0; transition: background .2s; }
  .wkbar__open:hover { background: var(--surface); }
  .wkbar .kos { --kw: 5.5rem; }
  .wkbar__t { display: grid; gap: .125rem; }
  .wkbar__h [data-count] { display: inline-block; }
  .wkbar__h { display: inline-flex; align-items: center; gap: .375rem; font-size: 1.375rem; line-height: 1.15; white-space: nowrap; }
  .wkbar__h > span[data-ic] { display: grid; }
  .wkbar__h .ic { width: 1rem; height: 1rem; transform: rotate(-90deg); transition: transform .2s; }
  .wkbar__open:hover .wkbar__h .ic { transform: rotate(-90deg) translateY(3px); }
  .wkbar__est { font-size: .875rem; font-weight: 500; line-height: 1.3; color: var(--ink); white-space: nowrap; }
  .wkbar__num { display: block; margin-left: .75rem; font-size: 3.25rem; transition: opacity .3s ease-out, transform .3s ease-out, visibility 0s; }
  .num-top .wkbar__num { opacity: 0; visibility: hidden; transform: translateY(.5rem); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .wkbar__num .odo__in { padding-bottom: 0; }
  .wkbar__cur { margin-left: auto; display: flex; align-items: center; gap: .5rem; font-size: .9375rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .wkbar__cn { font-weight: 600; }
  .wkbar__cur b { font-weight: 600; min-width: 4.25rem; text-align: right; }
  .wkbar__cur + .pill { margin-left: 0; }
  .wkbar__in > .pill { flex: none; }
  @container wkbar (max-width: 61rem) { .wkbar__cur { display: none; } .wkbar__in > .pill { margin-left: auto; } }
  @container wkbar (max-width: 47rem) { .wkbar__est { display: none; } }

  .wk { display: flex; flex-direction: column; height: 100%; padding: 1.25rem 1.75rem 1.5rem; }
  .wk__top { display: flex; align-items: center; justify-content: space-between; margin-right: -.625rem; }
  .wk__h { font-size: 1.5rem; line-height: 1.2; }
  .wk__h a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
  .wk__num { container-type: inline-size; margin-top: .75rem; }
  .wk__num .odo { font-size: min(8rem, calc(100cqw / (var(--n, 5) * .54 + .08))); }
  .wk__est { margin: .5rem 0 1.25rem; font-size: .8125rem; font-weight: 500; line-height: 1.4; }
  .wk__kos { position: relative; flex: 1 1 0; min-height: 7rem; container-type: size; display: grid; place-items: center; align-content: center; margin: 1.25rem 0 .75rem; }
  .kos--xl { --kw: min(19rem, 84cqw, calc(78cqh * 1.646)); }
  .wk__empty { display: none; margin-top: 1.25rem; text-align: center; font-size: .9375rem; }
  .is-empty .wk__empty { display: block; }
  .strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; max-height: 14.5rem; overflow-y: auto; margin: 0 -.375rem -.375rem; padding: .375rem; scrollbar-width: thin; scrollbar-color: var(--ring) transparent; flex: none; }
  .is-empty .strip { display: none; }
}
@media (min-width: 1100px) and (max-height: 760px) { .strip { max-height: 7rem; } }

/* the basket: a real photo standing on soft colour. One blurred blob per category that has something
   ticked, sized by its share of the week's number; the blob of the category on screen grows. */
.kos { position: relative; display: block; width: var(--kw, 4.5rem); aspect-ratio: 1100 / 668; flex: none; }
.kos__blobs { position: absolute; inset: -8% 0 0; filter: blur(calc(var(--kw, 4.5rem) * .085)); transition: opacity .4s; }
.is-empty .kos__blobs { opacity: 0; }
.kos__blobs i { position: absolute; left: var(--x); top: var(--y); width: var(--d, 30%); aspect-ratio: 1; border-radius: 50%; background: var(--deep); opacity: .7; transform: translate(-50%, -50%); transition: width .5s cubic-bezier(.2, .7, .2, 1), transform .5s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.kos__blobs i.is-cur { transform: translate(-50%, -50%) scale(1.6); opacity: 1; }
.kos img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.kos--bar .kos__blobs { inset: 0; }

.stile { position: relative; border-radius: .875rem; background: var(--mint); min-width: 0; }
.stile__o { display: flex; flex-direction: column; align-items: stretch; width: 100%; height: 100%; padding: .5rem .5rem .4375rem; text-align: left; border-radius: inherit; }
.stile .ph { height: 2.5rem; margin: 0 .75rem .25rem 0; }
.stile__n { font-size: .8125rem; font-weight: 500; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.stile__q { font-size: .8125rem; color: var(--soft-deep); margin-top: .125rem; font-variant-numeric: tabular-nums; }
.stile__x { position: absolute; top: 0; right: 0; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; color: var(--soft-deep); z-index: 1; border-radius: 50%; transition: color .2s; }
.stile__x .ic { width: .75rem; height: .75rem; stroke-width: 2; }
.stile__x:hover { color: var(--ink); }

/* the week's receipt: one line per ticked item under its category, then the sum. On the desktop it
   stands in the sidebar under the menu; a tick opens a line, the number above rolls. */
.rcpt { display: none; }
@media (min-width: 1100px) {
  body[data-page="katalog"] { --side: 18.5rem; }
  .rcpt { display: flex; flex-direction: column; flex: 0 1 auto; min-height: 11rem; margin: 1.5rem 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
  .rcpt__h { font-size: 1.375rem; line-height: 1.2; }
  .rcpt__body { position: relative; flex: 0 1 auto; min-height: 2.5rem; overflow-y: auto; overscroll-behavior: contain; margin: .625rem -.75rem 0 0; padding-right: .75rem; scrollbar-width: none; }
  .rcpt__body::-webkit-scrollbar { display: none; }
  .rcpt__body.is-more { -webkit-mask-image: linear-gradient(#000 calc(100% - 2.25rem), transparent); mask-image: linear-gradient(#000 calc(100% - 2.25rem), transparent); }
  .rcpt__body.is-past { -webkit-mask-image: linear-gradient(transparent, #000 2.25rem); mask-image: linear-gradient(transparent, #000 2.25rem); }
  .rcpt__body.is-more.is-past { -webkit-mask-image: linear-gradient(transparent, #000 2.25rem, #000 calc(100% - 2.25rem), transparent); mask-image: linear-gradient(transparent, #000 2.25rem, #000 calc(100% - 2.25rem), transparent); }
  .rcpt__g { overflow: hidden; }
  .rcpt__g + .rcpt__g { margin-top: .5rem; }
  .rcpt__gh { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .25rem 1.75rem .125rem 0; font-size: .9375rem; font-weight: 600; line-height: 1.35; transition: color .2s; }
  .rcpt__gh:hover span { text-decoration: underline; text-underline-offset: .2em; }
  .rcpt__gh[aria-current="true"] { color: var(--green-d); }
  .rcpt__gh b, .rcpt__l b, .rcpt__sum b { font-variant-numeric: tabular-nums; white-space: nowrap; }
  .rcpt__gh b { font-weight: 600; }
  .rcpt__l { display: grid; grid-template-columns: minmax(0, 1fr) auto 1.25rem; align-items: baseline; column-gap: .5rem; font-size: .875rem; line-height: 1.35; overflow: hidden; border-radius: .375rem; }
  .rcpt__o { padding: .25rem 0; min-width: 0; }
  .rcpt__o:hover .rcpt__n { text-decoration: underline; text-underline-offset: .2em; }
  .rcpt__q { color: var(--soft-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
  .rcpt__l b { font-weight: 400; }
  .rcpt__x { align-self: center; width: 1.25rem; height: 1.625rem; display: grid; place-items: center; border-radius: 50%; color: var(--soft); transition: color .2s; }
  .rcpt__x .ic { width: .75rem; height: .75rem; stroke-width: 2; }
  .rcpt__x:hover { color: var(--ink); }
  .rcpt__l.is-new { animation: rcnew 1.8s ease-out; }
  .rcpt__none { display: none; font-size: .9375rem; }
  .is-empty .rcpt__none { display: block; }
  .is-empty .rcpt__sum, .is-empty .rcpt__est { display: none; }
  .rcpt__sum { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-top: .75rem; padding: .75rem 1.75rem 0 0; border-top: 1px solid var(--ink); font-size: 1.0625rem; font-weight: 600; }
  .rcpt__est { margin-top: .125rem; font-size: .8125rem; color: var(--soft-deep); }
  body[data-page="katalog"] .side__foot { padding-top: 1.5rem; grid-auto-flow: column; justify-content: start; align-items: center; gap: 1.25rem; }
}
@keyframes rcnew { 0%, 55% { background: var(--mint); } 100% { background: rgba(221, 240, 227, 0); } }
.slip { position: fixed; left: 0; right: 0; bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .625rem 1rem; background: var(--mint); font-size: .9375rem; line-height: 1.3; transform: translateY(105%); visibility: hidden; transition: transform .3s ease-out, visibility 0s .3s; }
.slip.is-on { transform: none; visibility: visible; transition: transform .3s ease-out, visibility 0s; }
.slip.is-less { background: var(--surface-2); }
.slip__n { font-weight: 500; min-width: 0; }
.slip__n i { font-style: normal; font-weight: 400; color: var(--soft-deep); white-space: nowrap; margin-left: .25rem; }
.slip b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 1100px) { .slip { display: none; } }

/* =====================================================================
   KATALÓG
   ===================================================================== */
/* the hero band: the idea as one serif line, and the number itself beside the basket, with what it
   would come to on each portal the agent compares */
.hero { position: relative; display: grid; margin-top: .25rem; border-radius: 1.75rem; background: var(--mint); container-type: inline-size; container-name: hero; }
.hero__txt { display: grid; gap: .75rem; align-content: start; padding: 1.5rem 1.5rem 0; }
.hero__h { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.125rem, 9.6vw, 2.75rem); line-height: 1.02; letter-spacing: -.025em; color: var(--ink); max-width: 11.5em; padding-bottom: .06em; text-wrap: balance; }
.hero__p { font-size: 1rem; line-height: 1.5; max-width: 31rem; }
.hero__f { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; }
.hero__f > span[data-ic] { display: grid; }
.hero__fig { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'num kos' 'lab lab' 'por por' 'note note'; align-items: end; padding: 1.5rem 1.5rem 1.5rem; min-width: 0; }
.hero__num { grid-area: num; min-width: 0; }
.hero__num .odo { margin-left: -.03em; font-size: min(5.5rem, calc((70cqw - 3.75rem) / (var(--n, 5) * .54 + .08))); }
.hero__num .odo__in { padding-bottom: 0; }
.kos--hero { grid-area: kos; justify-self: end; --kw: 29cqw; margin: 0 -.25rem .25rem 0; }
.hero__lab { grid-area: lab; margin-top: .625rem; font-size: .875rem; font-weight: 500; line-height: 1.4; }
.hero__note { grid-area: note; margin-top: .75rem; font-size: .8125rem; line-height: 1.45; }
.hero__note:empty { display: none; }

/* the portals side by side: what this week's sum would come to on each, a green dot on the lowest */
.hero .por { grid-area: por; }
.por { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-top: 1.125rem; border-top: 1px solid rgba(20, 33, 26, .16); }
.por li { display: grid; gap: .125rem; align-content: start; padding: .75rem .375rem 0 0; min-width: 0; }
.por li + li { padding-left: clamp(.5rem, 3cqw, .75rem); border-left: 1px solid rgba(20, 33, 26, .16); }
.por__n { display: block; font-size: .875rem; font-weight: 500; line-height: 1.3; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.por .gdot { display: none; background: var(--green); margin-right: .375rem; vertical-align: .08em; }
.por .is-low .gdot { display: inline-block; }
.por__v { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 6cqw, 1.5rem); line-height: 1.15; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.por__w { font-size: .875rem; line-height: 1.35; }

/* round category tiles: a product photo on a neutral circle that turns mint once something in the
   category is ticked, and a green count of what is ticked */
.rail { display: flex; gap: .375rem; overflow-x: auto; margin: 0 -1rem; padding: 1.25rem 1rem .5rem; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rtile { width: 4.75rem; display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 500; line-height: 1.2; text-align: center; color: var(--ink); }
.rtile__i { position: relative; width: 4rem; height: 4rem; border-radius: 50%; background: var(--surface); color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s, box-shadow .2s; }
.rtile__i img { width: 72%; height: 72%; object-fit: contain; transition: transform .3s ease-out; }
.rtile.has-k:not(.rtile--all) .rtile__i { background: var(--mint); }
.rtile__i .ic { width: 1.5rem; height: 1.5rem; }
.rtile__k { position: absolute; top: -.125rem; right: -.25rem; min-width: 1.375rem; height: 1.375rem; padding: 0 .375rem; border-radius: 999px; background: var(--green); color: #fff; font-size: .75rem; font-weight: 600; line-height: 1.375rem; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px #fff; }
.rtile[aria-pressed="true"] { color: var(--green-d); font-weight: 600; }
.rtile[aria-pressed="true"] .rtile__i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--green); }
.rtile--all[aria-pressed="true"] .rtile__i { background: var(--green); color: #fff; box-shadow: none; }
@media (hover: hover) { .rtile:hover .rtile__i img { transform: scale(1.08); } .rtile--all:not([aria-pressed="true"]):hover .rtile__i { background: var(--mint); } }

.tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 .75rem; margin: .5rem 0 0; }
.tools .seg--ic { margin-bottom: -4.125rem; position: relative; z-index: 1; }
.chips { display: flex; gap: .375rem; overflow-x: auto; flex: 1 0 100%; min-width: 0; margin: 0 -1rem; padding: .25rem 1rem; scrollbar-width: none; }
.chips .chip { padding: 0 .75rem; font-size: .8125rem; }
.chips::-webkit-scrollbar { display: none; }
.tools__new { display: none; white-space: nowrap; }

.groups { container-type: inline-size; container-name: cat; }
.group { padding-top: 2.5rem; }
/* each category opens on one wide line: the name set large, this week's count and subtotal beside it */
.ghead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1rem; margin-bottom: .875rem; border-top: 1px solid var(--line); }
.ghead__t { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.125rem, 9.6vw, 2.75rem); line-height: 1; letter-spacing: -.025em; padding-bottom: .08em; }
.ghead__wk { display: flex; align-items: baseline; gap: .5rem; font-size: .875rem; font-weight: 500; white-space: nowrap; }
.ghead__wk .dot { align-self: center; transition: opacity .2s; }
.ghead__sum { margin-left: .5rem; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.ghead.is-none .dot { opacity: 0; }
.ghead.is-none .ghead__sum { color: var(--soft); }

/* the solid green band between two categories: the last purchase the agent answered, as proof */
.ban { position: relative; display: grid; margin-top: 3.5rem; border-radius: 1.75rem; background: var(--green); color: #fff; }
.ban__txt { display: grid; gap: .75rem; justify-items: start; align-content: center; padding: 2rem 1.5rem 0; }
.ban__h { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.75rem, 7.6vw, 2.125rem); line-height: 1.12; letter-spacing: -.02em; max-width: 15em; text-wrap: balance; font-variant-numeric: lining-nums; }
.ban__meta { font-size: .9375rem; font-weight: 500; }
.ban__link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: .9375rem; font-weight: 600; }
.ban__link span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.ban__link .ic { width: 1.125rem; height: 1.125rem; transition: transform .2s; }
.ban__link:hover .ic { transform: translateX(3px); }
.ban :focus-visible { outline-color: #fff; }
.ban__por { margin: 1.25rem 1.5rem 1.75rem; border-top: 1px solid rgba(255, 255, 255, .4); font-variant-numeric: lining-nums tabular-nums; }
.ban__por li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: center; min-height: 3.5rem; padding: .5rem 0; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.ban__pn { display: inline-flex; align-items: center; gap: .4375rem; font-size: .9375rem; font-weight: 500; line-height: 1.3; }
.ban__pn .ic { width: 1.125rem; height: 1.125rem; padding: .1875rem; border-radius: 50%; background: #fff; color: var(--green-d); stroke-width: 2.6; box-sizing: border-box; }
.ban__est .ban__pn { display: block; }
.ban__est .ban__pn::first-letter { text-transform: uppercase; }
.ban__pd { grid-column: 1; font-size: .875rem; line-height: 1.3; }
.ban__por b { grid-column: 2; grid-row: 1 / span 2; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.ban__est b { text-decoration: line-through; text-decoration-thickness: 1px; }
.ban__por .is-chosen .ban__pn { font-weight: 600; }
.ban__por .is-chosen b { font-size: 2.25rem; font-weight: 300; letter-spacing: -.02em; }

/* two photo banners side by side between two categories; the warm one tells what got cheaper */
.promo { display: grid; gap: 3.25rem 1rem; margin-top: 5.5rem; }
.pb { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; min-height: 12rem; border-radius: 1.75rem; background: var(--mint); min-width: 0; }
.pb--warm { background: var(--butter); }
.pb__txt { display: grid; gap: .75rem; justify-items: start; align-content: center; padding: 1.5rem 0 1.5rem 1.5rem; min-width: 0; }
.pb__h { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.625rem, 6.6vw, 2rem); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; font-variant-numeric: lining-nums; }
.pb__p { font-size: .9375rem; line-height: 1.45; }
.pb .pill { margin-top: .25rem; height: 2.5rem; padding: 0 1rem; gap: .5rem; font-size: .875rem; }
@media (max-width: 359px) { .pb .pill { white-space: normal; height: auto; min-height: 2.5rem; padding: .375rem 1rem; text-align: left; line-height: 1.25; } }
@media (min-width: 1100px) { .pb .pill { height: 2.75rem; padding: 0 1.25rem; gap: .625rem; font-size: .9375rem; } }
.pb__ph { position: relative; align-self: end; margin: -2.5rem .5rem .75rem -.5rem; }
.pb__ph img { width: 100%; height: auto; }
.pb__off { position: absolute; left: -.5rem; top: -.25rem; width: 4.25rem; height: 4.25rem; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-content: center; justify-items: center; font-size: 1.0625rem; font-weight: 600; line-height: 1.05; white-space: nowrap; font-variant-numeric: lining-nums; rotate: -8deg; }
.pb__off span { font-size: .8125rem; font-weight: 500; }
@media (max-width: 699px) { .pb__off { left: auto; right: -.25rem; top: -3rem; } }

/* each category closes like a ledger page: the week's sum carried so far */
.carry { display: flex; align-items: baseline; gap: .75rem; margin-top: 1rem; font-size: .9375rem; font-weight: 500; }
.carry i { flex: 1 1 1rem; min-width: 1rem; border-bottom: 1px dotted #A9B1AB; translate: 0 -.25em; }
.carry b { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@container cat (min-width: 52rem) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container cat (min-width: 76rem) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* a tile is neutral grey until it is ticked; then it turns mint: colour means "in this week's basket".
   The photo box is the larger part of the tile and the product fills it: the cut-out is sized by how
   much of its square frame the product takes (--fw, --fh), not by the frame. */
.item { position: relative; display: flex; flex-direction: column; align-items: stretch; min-width: 0; border-radius: 1.25rem; background: var(--surface); transition: background .3s; container-type: inline-size; }
.item.is-on { background: var(--mint); }
.item__open { flex: 1; display: flex; flex-direction: column; align-items: stretch; padding: 1rem 1rem 1rem; border-radius: inherit; min-width: 0; }
.item .ph { position: relative; flex: 1 0 auto; height: 11.75rem; margin: .875rem 1.25rem .875rem; container-type: size; }
.item .ph img { position: absolute; left: 50%; top: 50%; width: min(calc(100cqh / var(--fh, .86)), calc(100cqw / var(--fw, .86))); height: auto; max-width: none; aspect-ratio: 1; translate: -50% -50%; transition: transform .3s ease-out; }
.item__txt { display: grid; gap: .125rem; min-width: 0; }
.item__name { font-size: 1.0625rem; font-weight: 600; line-height: 1.25; letter-spacing: -.005em; }
.item__meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: .375rem; font-size: .9375rem; color: var(--ink); line-height: 1.45; }
.item__meta > * + *::before { content: '·'; margin-right: .375rem; }
.item__q { font-variant-numeric: tabular-nums; font-weight: 500; }
.item__price { align-self: flex-start; display: inline-flex; align-items: center; height: 2rem; padding: 0 .75rem; margin-top: .625rem; border-radius: 999px; background: var(--green); color: #fff; font-size: .9375rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* the last price fell since the purchase before: the price turns yellow and a red tag says by how much */
.item__price.is-off { background: var(--yellow); color: var(--ink); }
.off { position: absolute; left: .75rem; top: .75rem; z-index: 1; display: inline-flex; align-items: center; height: 1.75rem; padding: 0 .625rem; border-radius: 999px; background: var(--red); color: #fff; font-size: .875rem; font-weight: 600; font-style: normal; white-space: nowrap; font-variant-numeric: tabular-nums; }
.item .tick { position: absolute; top: .375rem; right: .375rem; z-index: 2; }
.item .step { position: absolute; right: .75rem; bottom: .75rem; z-index: 2; }
.item--wide { grid-column: span 2; }
.item--full { grid-column: 1 / -1; }
.item--wide .ph, .item--full .ph { height: 14rem; }
.item--s .ph { height: 8rem; }
@container (max-width: 15.5rem) {
  .item .ph { height: 7.5rem; margin: 1.25rem .25rem .625rem; }
  .is-on > .item__open { padding-bottom: 3.5rem; }
  .off { left: .5rem; top: .5rem; }
}
@media (hover: hover) {
  .item:not(.is-on):hover { background: var(--surface-2); }
  .item:hover .ph img { transform: scale(1.03); }
}

/* the closing block: the week in one place, then the way to add what is missing */
.fin { margin-top: 5.5rem; }
.fin__wk { position: relative; display: grid; gap: 1.75rem; padding: 2.25rem 1.5rem 1.75rem; border-radius: 1.75rem; background: var(--surface); }
.fin__l { display: grid; justify-items: start; min-width: 0; }
.fin__h { font-size: 1.5rem; line-height: 1.2; }
.fin__num { container-type: inline-size; width: 100%; margin-top: .75rem; }
.fin__num .odo { font-size: min(8rem, calc(100cqw / (var(--n, 5) * .54 + .08))); margin-left: -.03em; }
.fin__est { margin: .5rem 0 1.5rem; font-size: .875rem; font-weight: 500; line-height: 1.4; }
.fin__r { display: grid; gap: 1.25rem; min-width: 0; }
.kos--fin { --kw: 9.5rem; position: absolute; right: 1rem; top: -3rem; }
.fin__cats { border-top: 1px solid var(--ring); }
.fin__cats li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 4.75rem; gap: .625rem; align-items: center; min-height: 2.75rem; border-bottom: 1px solid var(--ring); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.fin__cn { font-weight: 500; }
.fin__cats b { font-weight: 600; text-align: right; }
.is-empty .fin__cats { display: none; }
.fin__none { display: none; font-size: .9375rem; }
.is-empty .fin__none { display: block; }
.fin__por { padding-top: 1.5rem; border-top: 1px solid var(--ring); min-width: 0; container-type: inline-size; }
.fin__porh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1.5rem; }
.fin__porh h3 { font-size: 1.5rem; line-height: 1.2; }
.fin__porh .textbtn .ic { transition: transform .2s; }
.fin__porh .textbtn:hover .ic { transform: translateX(3px); }
.por--fin { margin-top: .5rem; border-top-color: var(--ring); }
.por--fin li + li { border-left-color: var(--ring); }
.fin__porn { margin-top: .875rem; font-size: .875rem; line-height: 1.45; }
.fin__new { display: grid; gap: 1.25rem; justify-items: start; margin-top: 2.5rem; }
.fin__newt { display: grid; gap: .5rem; }
.fin__new h2 { font-size: 1.5rem; line-height: 1.2; }
.fin__new p { max-width: 34rem; }
.fin + .foot { margin-top: 3rem; }

/* rows: the phone's default list */
@media (max-width: 699px) {
  body[data-view="rows"] .grid { display: block; border-top: 1px solid var(--line); }
  body[data-view="rows"] .item { display: grid; grid-template-columns: minmax(0, 1fr) 2.75rem; align-items: center; background: none; border-radius: 0; border-bottom: 1px solid var(--line); container-type: normal; }
  body[data-view="rows"] .item__open { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .5rem 0; min-height: 4rem; border-radius: 0; }
  body[data-view="rows"] .item .ph { width: 3rem; height: 3rem; margin: 0; padding: .25rem; border-radius: .75rem; background: var(--surface); transition: background .3s; container-type: normal; flex: none; }
  body[data-view="rows"] .item .ph img { position: static; width: 100%; height: 100%; translate: none; }
  body[data-view="rows"] .item.is-on .ph { background: var(--mint); }
  body[data-view="rows"] .item .ph--ic .ic { width: 1.5rem; height: 1.5rem; }
  body[data-view="rows"] .item .ph--ic .ic { padding: 0; background: none; border-radius: 0; }
  body[data-view="rows"] .item__price { align-self: center; height: auto; padding: 0; margin: 0; border-radius: 0; background: none; color: var(--green-d); font-size: .9375rem; text-align: right; flex-direction: column; align-items: flex-end; gap: .1875rem; }
  body[data-view="rows"] .off { position: static; height: 1.375rem; padding: 0 .4375rem; font-size: .8125rem; }
  .item--wide .ph, .item--full .ph { height: 11rem; }
  body[data-view="rows"] .item__name { font-size: 1rem; }
  .group:first-child .ghead { border-top: 0; padding-top: .25rem; }
  .group:first-child .ghead__wk { flex-basis: 100%; }
  .group:first-child { padding-top: 1.5rem; }
  body[data-view="rows"] .item__open { grid-column: 1; grid-row: 1; }
  body[data-view="rows"] .item .tick { position: static; grid-column: 2; grid-row: 1; }
  body[data-view="rows"] .item .step { position: static; grid-column: 1 / -1; grid-row: 2; padding: 0 0 .75rem 3.75rem; }
  body[data-view="rows"] .step__b { background: var(--surface); }
  body[data-view="rows"] .is-on > .item__open { padding-bottom: .5rem; }
}
@media (min-width: 700px) {
  .seg--ic { display: none; }
  .tools { flex-wrap: nowrap; }
  .chips { flex: 1; }
  .tools__new { display: inline-flex; }
  .rail { gap: .5rem; }
}
@media (min-width: 700px) {
  .hero { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: center; column-gap: 4cqw; margin-top: 2.25rem; }
  .hero__txt { padding: 2.5rem 0 2.5rem 4.4cqw; }
  .hero__h { font-size: clamp(1.875rem, 4.1cqw, 4rem); }
  .hero__fig { padding: 2.25rem 4.4cqw 2rem 0; }
  .hero__num .odo { font-size: min(9rem, calc(28.4cqw / (var(--n, 5) * .54 + .08))); }
  .kos--hero { --kw: min(21cqw, 19rem); margin: calc(var(--kw) * -.36) -1cqw .5cqw 0; }
  .ban { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; margin-top: 4.5rem; }
  .ban__txt { padding: 2.5rem 0 2.5rem 2rem; }
  .ban__por { margin: 2rem 2rem 2rem 1.5rem; }
  .promo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 7rem; }
  .promo--one { grid-template-columns: minmax(0, 1fr); }
  .pb { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 15rem; }
  .promo--one .pb { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .pb__ph { margin: -3.5rem .75rem .75rem -1rem; }
  .fin__wk { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; padding: 2rem; }
  .fin__por { grid-column: 1 / -1; }
  .kos--fin { --kw: 15rem; position: relative; right: auto; top: auto; justify-self: end; margin: -6.5rem 1rem 0 0; }
  .fin__new { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; }
}
@media (min-width: 1100px) {
  .hero { margin-top: 4.75rem; }
  .hero__txt { gap: 1.125rem; padding-top: 3rem; padding-bottom: 3rem; }
  .hero__p { font-size: 1.0625rem; }
  .hero__f { font-size: .9375rem; }
  .hero__fig { padding-top: 2.75rem; padding-bottom: 2.25rem; }
  .hero__lab { font-size: .9375rem; }
  .hero__note { font-size: .875rem; }
  .rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 6.5rem); justify-content: space-between; margin: 0; padding: 2.75rem 0 0; gap: .5rem; overflow: visible; }
  .rtile { width: 100%; gap: .75rem; font-size: .9375rem; }
  .rtile__i { width: min(5.75rem, 100%); height: auto; aspect-ratio: 1; }
  .rtile__i .ic { width: 1.75rem; height: 1.75rem; }
  .rtile__k { top: .125rem; right: -.125rem; min-width: 1.5rem; height: 1.5rem; line-height: 1.5rem; font-size: .8125rem; }
  .tools { margin: 2.25rem 0 0; min-height: 2.75rem; flex-wrap: nowrap; }
  .chips { margin: 0; padding: 0; overflow: visible; flex: 1; gap: .5rem; }
  .chips .chip { padding: 0 .875rem; font-size: .875rem; }
  .group { padding-top: 5rem; }
  .group:first-child { padding-top: 3.5rem; }
  .ghead { padding-top: 1.5rem; margin-bottom: 1.75rem; }
  .ghead__t { font-size: clamp(3.5rem, 5.4vw, 5.75rem); }
  .ghead__wk { font-size: .9375rem; }
  .ghead__sum { font-size: 2rem; }
  .ban { margin-top: 5.5rem; min-height: 17rem; column-gap: clamp(1.5rem, 3vw, 4rem); }
  .ban__txt { gap: 1rem; padding: 3rem 0 3rem clamp(2rem, 3.6vw, 4rem); }
  .ban__h { font-size: clamp(2rem, 2.7vw, 3rem); }
  .ban__por { margin: 2.5rem clamp(2rem, 3.6vw, 4rem) 2.5rem 0; }
  .promo { margin-top: 9rem; gap: 1.25rem; }
  .pb { min-height: 17rem; }
  .pb__txt { gap: 1rem; padding: 2.25rem 0 2.25rem clamp(1.75rem, 2.6vw, 3rem); }
  .pb__h { font-size: clamp(1.75rem, 2.3vw, 2.625rem); }
  .pb { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .promo--one .pb { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .pb__ph { margin: -4.5rem clamp(.75rem, 1.2vw, 1.5rem) 1rem -1.25rem; }
  .pb__off { width: 5rem; height: 5rem; font-size: 1.25rem; left: -.25rem; top: -.75rem; }
  .pb__off span { font-size: .875rem; }
  .carry { margin-top: 1.25rem; }
  .fin { margin-top: 10rem; }
  .fin__wk { gap: clamp(2.5rem, 5vw, 6rem); padding: 2.75rem clamp(2rem, 3.6vw, 4rem) 3rem; }
  .kos--fin { --kw: 19rem; margin: -8.5rem 0 .5rem 0; }
  .fin__new { margin-top: 3.5rem; }
  body[data-page="katalog"] .foot .lang { display: inline-flex; }
}

/* =====================================================================
   SHEETS and DETAIL POLOŽKY
   ===================================================================== */
#sheets { position: fixed; inset: 0; z-index: 50; display: none; }
#sheets.is-on { display: block; }
.scrim { position: absolute; inset: 0 0 calc(var(--bar-h) + env(safe-area-inset-bottom)) 0; background: rgba(20, 33, 26, .2); }
.sheet { position: absolute; left: 0; right: 0; bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); max-height: calc(100dvh - var(--bar-h) - 3.5rem); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 1.75rem 1.75rem 0 0; box-shadow: var(--lift); }
.detail { padding: 1rem 1.25rem 1.5rem; }
.detail__top { display: flex; align-items: center; justify-content: space-between; margin-right: -.5rem; }
.detail__ph { position: relative; height: 13rem; border-radius: 1.25rem; background: var(--surface); margin: .25rem 0 1.25rem; transition: background .3s; }
.detail.is-on .detail__ph { background: var(--mint); }
.detail__ph .ph { height: 100%; padding: 1.25rem; }
.detail__ph .tick { position: absolute; top: .5rem; right: .5rem; }
.detail__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.detail__head h2 { font-size: 1.5rem; line-height: 1.2; padding-top: .25rem; }
.starbtn { display: inline-flex; align-items: center; gap: .375rem; height: 2.25rem; padding: 0 .875rem 0 .625rem; border-radius: 999px; background: var(--surface); font-size: .875rem; flex: none; transition: background .2s; }
.starbtn .ic { width: 1.125rem; height: 1.125rem; }
.starbtn:hover { background: var(--mint); }
.starbtn[aria-pressed="true"] .ic { fill: var(--green); stroke: var(--green); }
.detail__buy { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; margin-top: .5rem; }
.detail__buyl { font-size: .9375rem; color: var(--soft); }
.detail__buyl b { font-weight: 500; color: var(--ink); margin-left: .5rem; font-variant-numeric: tabular-nums; }
.detail .step { position: static; }
.detail .step__b { background: var(--surface); }
.detail__h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.detail__none { font-size: .9375rem; }
.plist li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: .75rem; align-items: center; min-height: 2.75rem; padding: .375rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.plist b { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.plist--2 li { grid-template-columns: minmax(0, 1fr) auto; }
.detail__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
@media (max-width: 1099px) { html.has-sheet { overflow: hidden; } }
@media (min-width: 1100px) {
  .scrim { inset: 0; }
  .sheet { left: auto; top: 1rem; bottom: 1rem; right: 1rem; width: 30rem; max-height: none; border-radius: 1.75rem; }
  /* on Katalóg a sheet opens under the week bar, so the count, the number and the pill stay in sight */
  body[data-page="katalog"] .wkbar { z-index: 55; }
  body[data-page="katalog"] .sheet { top: calc(var(--wkbar-h) + 1.75rem); }
  .detail { padding: 1.25rem 1.75rem 1.75rem; }
  .detail__ph { height: 20rem; }
  .detail__ph .ph { padding: 2rem; }
}

/* =====================================================================
   AKTUÁLNY NÁKUP
   ===================================================================== */
.nk__h { font-size: 1.5rem; line-height: 1.2; }
.giant { container-type: inline-size; margin-top: .75rem; }
.giant .odo { font-size: min(clamp(7.5rem, 17vw, 15rem), calc(100cqw / (var(--n, 5) * .54 + .08))); margin-left: -.03em; }
.nk__est { margin-top: .75rem; font-size: .8125rem; color: var(--ink); }
.nk__act { margin-top: 1.5rem; display: none; }
.assure { display: grid; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.assure li { display: flex; align-items: center; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .875rem; line-height: 1.35; }
.assure .ic { width: 1.5rem; height: 1.5rem; }
.nk__cols { display: grid; gap: 2rem; margin-top: 2rem; }
.nk__list { border-top: 0; }
.lrow { display: grid; grid-template-columns: minmax(0, 1fr) auto 2.5rem; align-items: center; column-gap: .5rem; padding: .625rem 0; min-height: 4.5rem; border-bottom: 1px solid var(--line); overflow: hidden; }
.lrow__open { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .75rem; align-items: center; min-width: 0; }
.lrow .ph { width: 3rem; height: 3rem; padding: .25rem; border-radius: .75rem; background: var(--mint); }
.lrow__txt { display: grid; gap: .0625rem; min-width: 0; }
.lrow .item__meta { color: var(--soft); }
.lrow .step { grid-row: 2; grid-column: 1 / -1; padding: .5rem 0 .125rem 3.75rem; justify-self: start; }
.lrow .step__b { background: var(--surface); }
.lrow__sum { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pref { display: grid; gap: .75rem; justify-items: start; }
.pref__c { display: flex; flex-wrap: wrap; gap: .5rem; }
.nk__more { margin-top: .5rem; }
.nk--empty .nk__eh { font-size: 1.5rem; line-height: 1.25; margin-top: 2rem; max-width: 22rem; }
.nk--empty .nk__ep { color: var(--soft); max-width: 30rem; margin: .5rem 0 1.5rem; }
.nk--empty .giant .odo { color: var(--ring); }
@media (min-width: 700px) {
  .assure { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); margin-top: 2.5rem; }
  .assure li { border-bottom: 0; padding: 1.125rem 1.25rem 1.125rem 0; }
  .assure li + li { border-left: 1px solid var(--line); padding-left: 1.25rem; }
  .lrow { grid-template-columns: minmax(0, 1fr) auto 5.5rem 2.5rem; column-gap: .75rem; }
  .lrow .step { grid-row: auto; grid-column: auto; padding: 0; }
}
@media (min-width: 1100px) {
  .nk__act { display: block; }
  .nk__cols { grid-template-columns: minmax(0, 40rem) minmax(13rem, 19rem); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; margin-top: 1.5rem; }
  .nk__aside { position: sticky; top: 2rem; padding-top: 1.5rem; }
}

/* with the agent */
.sent { min-height: calc(100dvh - 9rem); display: flex; flex-direction: column; justify-content: center; padding: 2rem 0 14vh; }
.sent__s { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.375rem, 4.4vw, 3.5rem); line-height: 1.1; letter-spacing: -.02em; max-width: 14em; }
.sent__s span { display: block; }
.sent__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin-top: 2rem; }
.sent__dots { display: inline-flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.pdot { display: inline-flex; align-items: center; gap: .5rem; transition: color .3s; }
.pdot i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ring); transition: background .3s, transform .3s; }
.pdot.is-on { color: var(--ink); }
.pdot.is-on i { background: var(--green); }
body[data-state="sent"] .foot { display: none; }
@media (min-width: 1100px) { .sent { min-height: calc(100vh - 4rem); } }

/* the agent's result */
.res__grid { display: grid; gap: 2rem; margin-top: 1.25rem; }
.res__win { background: var(--surface); border-radius: 1.25rem; padding: 1.5rem 1.25rem 1.5rem; min-width: 0; }
.res__name { font-size: 1.5rem; line-height: 1.2; margin-top: .125rem; }
.res__num { container-type: inline-size; margin-top: 1rem; }
.res__num .odo { font-size: min(clamp(6rem, 11vw, 11rem), calc(100cqw / (var(--n, 5) * .54 + .08))); margin-left: -.03em; }
.res__diff { font-size: .8125rem; font-weight: 500; color: var(--soft-deep); margin-top: .75rem; font-variant-numeric: tabular-nums; }
.res__diff.is-less { color: var(--green-d); }
.res__act { display: flex; flex-wrap: wrap; align-items: center; gap: .875rem 1.25rem; margin-top: 1.5rem; }
.res__act .pill { display: none; }
.res__ready { color: var(--soft-deep); }
.res__nolink { margin-top: 1rem; font-size: .9375rem; }
.res__nolink a { text-decoration: underline; text-underline-offset: .2em; }
.res__side h2 { margin-bottom: .5rem; }
.res__others li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .125rem .75rem; align-items: baseline; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.res__others b { font-weight: 400; color: var(--soft); font-variant-numeric: tabular-nums; text-align: right; grid-row: 1; grid-column: 2; }
.res__note { grid-column: 1 / -1; font-size: .8125rem; color: var(--soft); }
.res__ch { margin-top: 2rem; }
.res__none { font-size: .9375rem; }
.res__next { margin-top: 1.5rem; display: grid; gap: .125rem; justify-items: start; }
@media (min-width: 1100px) {
  .res__grid { grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
  .res__win { padding: 2rem 2.25rem 2.25rem; }
  .res__act .pill { display: inline-flex; }
  .res__side { padding-top: 2rem; }
  body[data-state="results"] .bar { display: none; }
}

/* =====================================================================
   HISTÓRIA NÁKUPOV
   ===================================================================== */
.hist__top { position: sticky; top: 2.75rem; z-index: 5; background: #fff; margin: -1rem -1rem 0; padding: 1rem 1rem .875rem; border-bottom: 1px solid var(--line); }
.hist__num { container-type: inline-size; margin-top: .5rem; }
.hist__num .odo { font-size: min(clamp(4rem, 9vw, 8rem), calc(100cqw / (var(--n, 5) * .54 + .08))); margin-left: -.03em; }
.hist__top .micro { margin-top: .375rem; }
.hrow { border-bottom: 1px solid var(--line); }
.hrow__head { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 1.25rem; grid-template-areas: 'date total chev' 'meta meta chev'; column-gap: .75rem; align-items: center; padding: .875rem 0 .5rem; }
.hrow__date { grid-area: date; font-size: 1.25rem; line-height: 1.25; position: relative; }
.hrow__portal, .hrow__n { font-size: .8125rem; color: var(--soft); }
.hrow__portal { grid-area: meta; }
.hrow__n { grid-area: meta; justify-self: start; margin-left: 5.5rem; }
.hrow__total { grid-area: total; font-variant-numeric: tabular-nums; color: var(--soft); text-align: right; transition: color .2s; }
.hrow.is-active .hrow__total { color: var(--ink); font-weight: 500; }
.hrow__chev { grid-area: chev; width: 1.25rem; height: 1.25rem; color: var(--soft); transition: transform .25s; }
.hrow.is-open .hrow__chev { transform: rotate(180deg); }
.hrow__date::before { content: ''; position: absolute; left: -.75rem; top: 50%; width: .375rem; height: .375rem; margin-top: -.1875rem; border-radius: 50%; background: var(--green); opacity: 0; transition: opacity .2s; }
.hrow.is-active .hrow__date::before { opacity: 1; }
.hrow__acts { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 0 .875rem; }
.hrow__body { overflow: hidden; }
.hrow__in { display: grid; gap: 1.5rem; padding: .5rem 0 1.5rem; }
.hrow__in h3 { margin-bottom: .5rem; }
.hitems li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto 4.25rem; gap: .625rem; align-items: center; min-height: 2.75rem; font-size: .9375rem; }
.hitems .ph { width: 2.25rem; height: 2.25rem; padding: .125rem; border-radius: .5rem; background: var(--surface); }
.hi__q { font-size: .8125rem; white-space: nowrap; }
.hi__p { text-align: right; font-variant-numeric: tabular-nums; }
.plist--3 li span:first-child { display: inline-flex; align-items: center; gap: .5rem; }
.gdot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ring); flex: none; }
.is-chosen .gdot { background: var(--green); }
.plist--3 .soft { font-size: .8125rem; }
.hrow__ch { margin-top: .75rem; font-size: .875rem; display: grid; gap: .25rem; }
@media (min-width: 700px) {
  .hrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .hrow__head { grid-template-columns: minmax(9rem, 1.3fr) minmax(5rem, 1fr) minmax(5rem, 1fr) auto 1.25rem; grid-template-areas: none; padding: 0; min-height: 4.75rem; }
  .hrow__date, .hrow__portal, .hrow__n, .hrow__total, .hrow__chev { grid-area: auto; }
  .hrow__n { margin-left: 0; }
  .hrow__portal, .hrow__n { font-size: .9375rem; }
  .hrow__acts { padding: 0 0 0 1.5rem; flex-wrap: nowrap; }
  .hrow__body { grid-column: 1 / -1; }
  .hrow__in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; }
}
@media (min-width: 1100px) {
  .hist__top { top: 0; margin: -2rem 0 0; padding: 2rem 0 1.25rem; }
  .hist__list { max-width: 64rem; }
  .hrow__date { font-size: 1.375rem; }
}

/* =====================================================================
   PREHĽAD
   ===================================================================== */
.ovw__weeks { margin-top: 2rem; }
.ovw__sh { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; }
.ovw h2.serif { font-size: 1.5rem; line-height: 1.2; }
.bars { display: flex; align-items: stretch; gap: clamp(.125rem, 1vw, 1rem); height: 13rem; margin-top: 1rem; }
.wbar { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.wbar__v { height: 1.25rem; font-size: .75rem; font-weight: 500; white-space: nowrap; opacity: 0; transition: opacity .2s; font-variant-numeric: tabular-nums; }
.wbar.is-on .wbar__v { opacity: 1; }
.wbar__t { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--line); }
.wbar__t i { display: block; width: clamp(.5rem, 42%, 1.75rem); border-radius: .5rem .5rem 0 0; background: var(--tint); transition: background .2s; }
.wbar.is-now .wbar__t i { background: var(--green); }
.wbar.is-on:not(.is-now) .wbar__t i { box-shadow: inset 0 0 0 1.5px var(--green); }
.wbar__d { height: 1.5rem; padding-top: .5rem; font-size: .75rem; color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ovw__split { display: grid; gap: 3rem; margin-top: 4rem; }
.ovw__avg { order: -1; }
.ovw__num { container-type: inline-size; margin: .5rem 0 .5rem; }
.ovw__num .odo { font-size: min(clamp(5rem, 8vw, 8rem), calc(100cqw / (var(--n, 6) * .54 + .08))); margin-left: -.03em; }
.toplist { margin-top: 1rem; }
.toplist li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) auto; gap: .5rem; align-items: center; min-height: 3.5rem; border-bottom: 1px solid var(--line); }
.top__r { font-size: .8125rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.top__o { display: flex; align-items: center; gap: .75rem; min-width: 0; min-height: 2.75rem; }
.top__o .ph { width: 2.5rem; height: 2.5rem; padding: .125rem; border-radius: .625rem; background: var(--surface); flex: none; }
.top__o:hover .item__name { text-decoration: underline; text-underline-offset: .2em; }
.top__c { font-size: .8125rem; white-space: nowrap; }
.ovw__forgot { margin-top: 4rem; container-type: inline-size; container-name: cat; }
.ovw__forgot .micro { margin: .25rem 0 1rem; }
.frg--none { grid-column: 1 / -1; }
@media (max-width: 699px) { .wbar:nth-last-child(even) .wbar__d { visibility: hidden; } .wbar__v { position: relative; } }
@media (min-width: 1100px) {
  .bars { height: 16rem; }
  .ovw__split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); margin-top: 5rem; align-items: start; }
  .ovw__avg { order: 0; position: sticky; top: 2rem; }
  .ovw__avgin { padding-top: 3.25rem; }
  .ovw__forgot { margin-top: 5rem; }
}

/* =====================================================================
   NASTAVENIA and SÚKROMIE
   ===================================================================== */
.set .page__h, .prv .page__h { margin-bottom: 1.5rem; }
.set__s { display: grid; gap: 1.25rem; padding: 2rem 0 2.25rem; border-top: 1px solid var(--line); }
.set__sh h2 { font-size: 1.375rem; line-height: 1.2; }
.set__p { font-size: .875rem; color: var(--soft); margin-top: .5rem; max-width: 34rem; line-height: 1.5; }
.set__c { min-width: 0; max-width: 35rem; }
.srow { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto 2.5rem; gap: .5rem; align-items: center; min-height: 3.75rem; border-bottom: 1px solid var(--line); }
.srow__n { font-size: .8125rem; white-space: nowrap; }
.swatch { width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: var(--tint); display: grid; place-items: center; transition: background .2s; }
.srow--portal { grid-template-columns: 1.5rem minmax(0, 1fr) 2.5rem; padding: .5rem 0; row-gap: .375rem; }
.srow--portal [data-purl] { grid-column: 2; grid-row: 2; }
.srow__k { font-size: .8125rem; color: var(--soft); text-align: center; }
.set__add { margin-top: .5rem; }
.set__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.set__msg { margin-top: 1rem; font-size: .9375rem; color: var(--green-d); font-weight: 500; }
.set__msg.is-bad { color: var(--ink); }
.set__c > .rule { border-top: 0; }
.prv { max-width: 38rem; }
.prv section { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.prv h2 { font-size: 1.375rem; line-height: 1.2; margin-bottom: .5rem; }
.prv p { line-height: 1.55; }
.prv__back { margin-top: 1.5rem; }
.prv__back .ic { transform: rotate(180deg); }
@media (min-width: 700px) {
  .srow--portal { grid-template-columns: 1.5rem minmax(0, 11rem) minmax(0, 1fr) 2.5rem; }
  .srow--portal [data-purl] { grid-column: auto; grid-row: auto; }
}
@media (min-width: 1100px) {
  .set__s { grid-template-columns: minmax(12rem, 17rem) minmax(0, 35rem); gap: 1.5rem clamp(2rem, 5vw, 5rem); padding: 2.5rem 0 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Návrh od agenta (proposal step) and portals with shops ---------- */
.prop__lead { max-width: 40rem; color: var(--soft-deep); margin-top: .5rem; }
.prop__list { list-style: none; margin: .5rem 0 0; padding: 0; }
.prop__p, .prop__s { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .25rem .75rem; align-items: center; width: 100%; padding: .75rem .25rem; border-bottom: 1px solid var(--line); text-align: left; background: none; border-radius: 0; cursor: pointer; }
.prop__p { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "r n v" "r d v"; }
.prop__p .prop__radio { grid-area: r; } .prop__p .prop__pn { grid-area: n; font-weight: 500; } .prop__p .prop__pd { grid-area: d; font-size: .8125rem; } .prop__p b { grid-area: v; font-weight: 500; font-variant-numeric: tabular-nums; }
.prop__p:hover, .prop__s:hover { background: var(--surface); }
.prop__p.is-on { background: var(--mint); }
.prop__radio { width: 1.125rem; height: 1.125rem; border-radius: 50%; border: 2px solid var(--ring); }
.prop__p.is-on .prop__radio { border: 5px solid var(--green); }
.prop__box { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: .375rem; border: 2px solid var(--ring); color: transparent; }
.prop__box svg { width: .875rem; height: .875rem; }
.prop__s.is-on .prop__box { background: var(--green); border-color: var(--green); color: #fff; }
.prop__sn small { display: block; font-size: .75rem; }
.prop__s b { font-weight: 400; font-variant-numeric: tabular-nums; }
.prop__hint { font-size: .875rem; margin-top: .25rem; }
.prop__mh { margin-top: 1.5rem; }
.prop__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.5rem; padding-top: .75rem; border-top: 2px solid var(--ink); }
.prop__sum b { font-size: 1.5rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.prop__cancel { margin-top: 1rem; }
.pref__note { margin-top: .5rem; }
.frow__hint { display: block; margin-top: .375rem; font-size: .75rem; color: var(--soft); line-height: 1.35; }
.srow__pp { display: flex; flex-direction: column; min-width: 0; }
.srow__store { font-size: .8125rem; color: var(--soft); }
@media (min-width: 900px) { .prop .res__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.ic--back { transform: scaleX(-1); }
.res__back { margin-top: 1rem; }
