/* Otly – wersja premium */
:root {
  --green: #17483F; --green-2: #1F5C50; --green-3: #2B7363; --green-d: #0E2F29; --green-l: #E6EFEB; --green-ll: #F1F6F3;
  --yellow: #E7A628; --yellow-2: #F2BE52; --yellow-d: #B9800F; --yellow-l: #FCF1D6;
  --cream: #FBF7EE; --sand: #F4EEE1; --card: #FFFFFF;
  --ink: #14231F; --ink-2: #3C4C47; --muted: #7A8782; --line: #ECE5D6;
  --danger: #C2412D; --danger-l: #FCECE8;
  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --sh-1: 0 1px 2px rgba(20, 35, 31, .05), 0 4px 14px rgba(20, 35, 31, .06);
  --sh-2: 0 2px 4px rgba(20, 35, 31, .05), 0 12px 32px rgba(20, 35, 31, .10);
  --sh-3: 0 10px 40px rgba(14, 47, 41, .28);
  --f-head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --f-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.i.fill { fill: currentColor; stroke: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 620px; margin: 0 auto; padding: 0 18px; }
.view { min-height: 100vh; padding-bottom: calc(130px + var(--safe-b)); animation: in .35s var(--ease); }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
.press { transition: transform .15s var(--ease), box-shadow .2s; }
.press:active { transform: scale(.97); }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(251, 247, 238, .82); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); padding-top: env(safe-area-inset-top); transition: box-shadow .2s; }
.top.scrolled { box-shadow: 0 1px 0 var(--line); }
.top.over:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.top .ttl { flex: 1; min-width: 0; font-family: var(--f-head); font-weight: 800; font-size: 20px; color: var(--green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 1; transition: opacity .2s; }
.top .ttl.hide { opacity: 0; }
.rbtn { width: 44px; height: 44px; border-radius: 50%; background: var(--card); box-shadow: var(--sh-1); display: grid; place-items: center; color: var(--green); flex: none; }
.rbtn svg.i { width: 22px; height: 22px; }
.top-logo { height: 34px; }
.city-pill { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--sh-1); font-weight: 800; color: var(--green); font-size: 15px; }
.city-pill svg.i { width: 17px; height: 17px; color: var(--yellow-d); }

/* ---------- skeleton ---------- */
.sk { background: linear-gradient(100deg, #EFE8D9 30%, #F8F3E8 50%, #EFE8D9 70%); background-size: 300% 100%; animation: sh 1.3s linear infinite; border-radius: var(--r); }
@keyframes sh { to { background-position: -150% 0; } }

/* ---------- 1. wybór miasta ---------- */
.city-screen { min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.city-screen::before, .city-screen::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0; }
.city-screen::before { width: 520px; height: 520px; top: -260px; right: -200px; background: radial-gradient(circle, rgba(231, 166, 40, .28), rgba(231, 166, 40, 0) 70%); }
.city-screen::after { width: 600px; height: 600px; bottom: -320px; left: -260px; background: radial-gradient(circle, rgba(23, 72, 63, .14), rgba(23, 72, 63, 0) 70%); }
.city-in { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; width: min(460px, 100%); margin: 0 auto; padding: calc(40px + env(safe-area-inset-top)) 20px calc(32px + var(--safe-b)); }
.city-in .logo { width: min(210px, 56vw); margin: 0 auto 28px; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.eyebrow { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--yellow-d); }
.city-in h1 { font-size: clamp(32px, 9vw, 42px); color: var(--green); margin: 6px 0 8px; }
.city-in .sub { color: var(--muted); margin: 0 0 26px; font-size: 16px; }
.cities { display: grid; gap: 12px; }
.city-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 20px 20px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--green-2), var(--green) 60%, var(--green-d)); color: #fff; box-shadow: var(--sh-2); text-align: left; width: 100%; }
.city-card::after { content: ""; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(231, 166, 40, .35), transparent 65%); }
.city-card .emb { width: 54px; height: 54px; border-radius: 18px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; font-size: 26px; color: var(--yellow-2); flex: none; }
.city-card .nm { flex: 1; position: relative; z-index: 1; }
.city-card .nm b { display: block; font-family: var(--f-head); font-size: 25px; line-height: 1.1; }
.city-card .nm span { font-size: 14px; opacity: .78; }
.city-card .go { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--green-d); display: grid; place-items: center; position: relative; z-index: 1; flex: none; }
.city-card.sel { box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--yellow), var(--sh-2); }
.geo-btn { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px; border-radius: 999px; background: var(--card); box-shadow: var(--sh-1); font-weight: 800; color: var(--green); }
.geo-btn svg.i { color: var(--yellow-d); }
.hint { font-size: 14px; color: var(--muted); min-height: 22px; text-align: center; margin-top: 10px; }
.last-order { margin-top: 10px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--yellow-l); color: var(--green-d); font-weight: 700; }
.last-order .e { font-size: 26px; } .last-order span { flex: 1; } .last-order small { display: block; font-weight: 600; color: var(--ink-2); }

/* ---------- 2. restauracje ---------- */
.greet { padding: 6px 0 4px; }
.greet h1 { font-size: clamp(28px, 7vw, 38px); color: var(--green); }
.greet p { margin: 4px 0 0; color: var(--muted); }
.search { margin: 16px 0 6px; display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 999px; padding: 0 18px; height: 54px; box-shadow: var(--sh-1); }
.search svg.i { color: var(--yellow-d); }
.search input { flex: 1; border: 0; outline: 0; background: none; font-size: 16px; min-width: 0; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; margin: 24px 0 2px; }
.sec-h h2 { font-size: 22px; color: var(--green); }
.sec-h span { color: var(--muted); font-size: 14px; font-weight: 700; }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; padding-top: 14px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.rcard { display: block; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; transition: transform .2s var(--ease), box-shadow .25s; }
.rcard:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.rcard:active { transform: scale(.985); }
.cover { position: relative; aspect-ratio: 16/9; overflow: hidden; display: grid; place-items: center; }
.cover img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art { position: absolute; inset: 0; display: grid; place-items: center; background: var(--art-bg, linear-gradient(135deg, var(--green-3), var(--green) 55%, var(--green-d))); }
.art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1.5px, transparent 1.6px); background-size: 18px 18px; }
.art .emo { position: relative; font-size: 74px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .25)); transform: rotate(-8deg); }
.art .emo.s2 { position: absolute; font-size: 40px; right: 12%; top: 14%; transform: rotate(14deg); opacity: .9; }
.art .emo.s3 { position: absolute; font-size: 34px; left: 12%; bottom: 14%; transform: rotate(-18deg); opacity: .85; }
.cover .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .28)); }
.badge-tl { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 999px; padding: 5px 10px; font-weight: 800; font-size: 13px; box-shadow: var(--sh-1); }
.badge-tl svg.i { width: 15px; height: 15px; color: var(--yellow); }
.badge-tr { position: absolute; right: 12px; top: 12px; background: var(--yellow); color: var(--green-d); border-radius: 999px; padding: 5px 11px; font-weight: 800; font-size: 12px; }
.rcard .logo-badge { position: absolute; left: 16px; bottom: -24px; width: 58px; height: 58px; border-radius: 18px; background: var(--card); box-shadow: var(--sh-2); overflow: hidden; display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; color: var(--green); font-size: 24px; border: 3px solid var(--card); z-index: 2; }
.rcard .logo-badge img { width: 100%; height: 100%; object-fit: cover; }
.rcard .cover { overflow: visible; }
.rcard .cover > .clip { position: absolute; inset: 0; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.rcard .body { padding: 34px 18px 18px; }
.rcard h3 { font-size: 21px; color: var(--ink); }
.rcard .tag { color: var(--muted); font-size: 14px; margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 5px; background: var(--green-ll); color: var(--ink-2); border-radius: 999px; padding: 6px 11px; font-size: 13px; font-weight: 700; }
.chip svg.i { width: 15px; height: 15px; color: var(--green-3); }
.chip.y { background: var(--yellow-l); color: var(--green-d); }

/* ---------- 3. menu ---------- */
.rhero { position: relative; height: 260px; overflow: hidden; margin-top: -64px; }
@media (min-width: 720px) { .rhero { height: 320px; } }
.rhero .art .emo { font-size: 104px; margin-top: -30px; }
.rhero .art .emo.s2, .rhero .art .emo.s3 { font-size: 46px; margin: 0; }
.rhero .art .emo.s2 { right: 10%; top: 22%; } .rhero .art .emo.s3 { left: 9%; bottom: auto; top: 46%; }
.rhero img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rhero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .25)); }
.rinfo { position: relative; z-index: 2; margin-top: -56px; }
.rinfo .card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 20px; }
.rinfo .row1 { display: flex; gap: 14px; align-items: center; }
.rinfo .lg { width: 64px; height: 64px; border-radius: 20px; background: var(--green-l); display: grid; place-items: center; overflow: hidden; font-family: var(--f-head); font-weight: 800; font-size: 28px; color: var(--green); flex: none; margin-top: -44px; border: 4px solid var(--card); box-shadow: var(--sh-1); }
.rinfo .lg img { width: 100%; height: 100%; object-fit: cover; }
.rinfo h1 { font-size: clamp(26px, 6.5vw, 34px); color: var(--ink); }
.rinfo .desc { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.seg { display: flex; background: var(--sand); border-radius: 999px; padding: 4px; margin-top: 16px; position: relative; }
.seg button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 10px; border-radius: 999px; font-weight: 800; font-size: 15px; color: var(--muted); transition: color .2s, background .25s, box-shadow .25s; }
.seg button small { font-weight: 600; font-size: 12px; opacity: .8; }
.seg button.on { background: var(--card); color: var(--green); box-shadow: var(--sh-1); }
.seg button svg.i { width: 18px; height: 18px; }
.cats { position: sticky; top: calc(64px + env(safe-area-inset-top)); z-index: 25; margin-top: 18px; background: rgba(251, 247, 238, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats .wrap { display: flex; gap: 8px; padding-top: 10px; padding-bottom: 12px; width: max-content; min-width: 100%; }
.cat-chip { padding: 9px 17px; border-radius: 999px; background: var(--card); box-shadow: var(--sh-1); font-weight: 800; font-size: 14px; color: var(--ink-2); flex: none; transition: background .2s, color .2s; }
.cat-chip.on { background: var(--green); color: #fff; }
.cat-title { font-size: 24px; color: var(--green); margin: 26px 0 0; scroll-margin-top: 140px; display: flex; align-items: center; gap: 10px; }
.cat-title small { font-family: var(--f-body); font-size: 13px; font-weight: 800; color: var(--muted); background: var(--sand); border-radius: 999px; padding: 2px 9px; }
.pgrid { display: grid; gap: 14px; grid-template-columns: 1fr; padding-top: 14px; }
@media (min-width: 720px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.pcard { display: flex; gap: 14px; align-items: stretch; width: 100%; text-align: left; background: var(--card); border-radius: var(--r); box-shadow: var(--sh-1); padding: 12px; transition: transform .15s var(--ease), box-shadow .2s; }
.pcard:hover { box-shadow: var(--sh-2); }
.pcard:active { transform: scale(.98); }
.pcard .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 4px 0 2px 4px; }
.pcard h4 { font-size: 18px; color: var(--ink); }
.pcard .desc { color: var(--muted); font-size: 14px; margin: 4px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .foot { margin-top: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { font-family: var(--f-head); font-weight: 800; color: var(--green); font-size: 19px; }
.price small { font-family: var(--f-body); font-size: 12px; color: var(--muted); font-weight: 700; margin-right: 2px; }
.mini { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--muted); }
.mini svg.i { width: 14px; height: 14px; color: var(--yellow-d); }
.al-row { display: flex; gap: 2px; margin-top: 8px; }
.al-row span { width: 22px; height: 22px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-size: 12px; }
.pcard .pic { width: 118px; aspect-ratio: 1; border-radius: 16px; position: relative; overflow: hidden; flex: none; align-self: center; }
@media (min-width: 720px) { .pcard .pic { width: 128px; } }
.pcard .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard .pic .art .emo { font-size: 52px; transform: rotate(-6deg); }
.pcard .plus { position: absolute; right: 6px; bottom: 6px; width: 34px; height: 34px; border-radius: 50%; background: var(--card); color: var(--green); display: grid; place-items: center; box-shadow: var(--sh-2); }
.pcard .plus svg.i { width: 18px; height: 18px; stroke-width: 2.6; }
.pcard .incart { position: absolute; left: 6px; top: 6px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--yellow); color: var(--green-d); font-weight: 800; font-size: 13px; display: grid; place-items: center; box-shadow: var(--sh-1); }
.pcard.off { opacity: .55; }
.soldout { font-size: 12px; font-weight: 800; color: var(--danger); background: var(--danger-l); padding: 2px 8px; border-radius: 999px; }
.note { font-size: 12.5px; color: var(--muted); margin-top: 28px; display: flex; gap: 8px; }
.note svg.i { width: 16px; height: 16px; margin-top: 2px; }

/* warm placeholders */
.art.warm { --art-bg: radial-gradient(circle at 30% 25%, #FFF6DD, #F9E3B0 60%, #F3D08A); }
.art.warm::before { background-image: radial-gradient(rgba(185, 128, 15, .12) 1.5px, transparent 1.6px); }

/* ---------- arkusz produktu ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(14, 47, 41, .5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
.overlay.closing { animation: fade .2s reverse forwards; }
.overlay.closing .sheet { animation: up .2s reverse forwards; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet { background: var(--cream); width: 100%; max-width: 580px; max-height: 94vh; border-radius: var(--r-lg) var(--r-lg) 0 0; display: flex; flex-direction: column; overflow: hidden; animation: up .32s var(--ease); box-shadow: var(--sh-3); }
@media (min-width: 680px) { .overlay { align-items: center; padding: 20px; } .sheet { border-radius: var(--r-lg); max-height: 90vh; } }
.sheet .scroll { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.sheet .hero { position: relative; aspect-ratio: 4/3; max-height: 46vh; width: 100%; }
@media (min-width: 680px) { .sheet .hero { aspect-ratio: 16/10; } }
.sheet .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet .hero .art .emo { font-size: 120px; }
.sheet .grab { position: absolute; top: 8px; left: 50%; width: 42px; height: 5px; margin-left: -21px; border-radius: 3px; background: rgba(255, 255, 255, .75); z-index: 2; }
.sheet .close { position: absolute; top: 14px; right: 14px; z-index: 3; }
.sheet .in { padding: 22px 20px 10px; margin-top: -24px; position: relative; background: var(--cream); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.sheet h2 { font-size: 28px; color: var(--ink); }
.sheet .lead { color: var(--ink-2); margin: 8px 0 0; }
.sheet .pr { font-family: var(--f-head); font-weight: 800; color: var(--green); font-size: 22px; margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; margin-top: 18px; }
.fact { background: var(--card); border-radius: 16px; padding: 12px 8px; box-shadow: var(--sh-1); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.fact b { white-space: nowrap; }
.btn { white-space: nowrap; }
.fact .ic { width: 36px; height: 36px; border-radius: 12px; background: var(--yellow-l); color: var(--yellow-d); display: grid; place-items: center; flex: none; }
.fact b { display: block; font-family: var(--f-head); font-size: 18px; color: var(--ink); line-height: 1; }
.fact span { font-size: 12px; color: var(--muted); font-weight: 700; }
.blk { background: var(--card); border-radius: 18px; padding: 16px; margin-top: 12px; box-shadow: var(--sh-1); }
.blk h5 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.blk p { margin: 0; font-size: 15px; color: var(--ink-2); }
.req { font-size: 11px; letter-spacing: 0; text-transform: none; background: var(--green); color: #fff; border-radius: 999px; padding: 3px 9px; }
.opt-tag { font-size: 11px; letter-spacing: 0; text-transform: none; background: var(--sand); color: var(--muted); border-radius: 999px; padding: 3px 9px; }
.al-list { display: flex; flex-wrap: wrap; gap: 8px; }
.al { display: inline-flex; align-items: center; gap: 6px; background: var(--yellow-l); color: var(--green-d); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 700; }
.opt { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-top: 1px solid var(--line); cursor: pointer; }
.opt:first-of-type { border-top: 0; padding-top: 4px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid #D6CDB9; display: grid; place-items: center; flex: none; transition: .15s; color: #fff; }
.opt .box svg.i { width: 15px; height: 15px; stroke-width: 3; opacity: 0; }
.opt input[type=radio] + .box { border-radius: 50%; }
.opt input:checked + .box { background: var(--green); border-color: var(--green); }
.opt input:checked + .box svg.i { opacity: 1; }
.opt input:focus-visible + .box { outline: 3px solid var(--yellow); outline-offset: 2px; }
.opt .n { flex: 1; font-weight: 700; } .opt .p { color: var(--muted); font-size: 14px; font-weight: 700; }
.opt.dis { opacity: .45; cursor: default; }
.sheet .bar { padding: 12px 16px calc(12px + var(--safe-b)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.qty { display: inline-flex; align-items: center; background: var(--sand); border-radius: 999px; padding: 3px; flex: none; }
.qty button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--green); transition: background .15s; }
.qty button:active { background: rgba(23, 72, 63, .1); }
.qty button svg.i { width: 18px; height: 18px; stroke-width: 2.6; }
.qty span { min-width: 26px; text-align: center; font-weight: 800; font-size: 17px; }
.qty.sm button { width: 32px; height: 32px; } .qty.sm span { min-width: 20px; font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--green); color: #fff; border-radius: 999px; padding: 16px 24px; font-weight: 800; font-size: 16px; transition: transform .15s var(--ease), filter .2s, opacity .2s; box-shadow: 0 6px 18px rgba(23, 72, 63, .25); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; box-shadow: none; }
.btn.yellow { background: linear-gradient(180deg, var(--yellow-2), var(--yellow)); color: var(--green-d); box-shadow: 0 6px 18px rgba(231, 166, 40, .38); }
.btn.full { width: 100%; }
.btn.split { flex: 1; justify-content: space-between; }

/* ---------- pływający koszyk + dolna nawigacja ---------- */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(14px + var(--safe-b)); pointer-events: none; animation: in .3s var(--ease); }
.cartbar a { pointer-events: auto; max-width: 580px; margin: 0 auto; display: flex; align-items: center; gap: 12px; background: var(--green); color: #fff; border-radius: 22px; padding: 12px 14px 12px 12px; box-shadow: var(--sh-3); }
.cartbar .cnt { width: 40px; height: 40px; border-radius: 14px; background: var(--yellow); color: var(--green-d); display: grid; place-items: center; font-weight: 800; font-size: 17px; flex: none; }
.cartbar .cnt.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.25); } }
.cartbar .t { flex: 1; min-width: 0; } .cartbar .t b { display: block; font-size: 16px; } .cartbar .t small { opacity: .75; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.cartbar .sum { font-family: var(--f-head); font-weight: 800; font-size: 19px; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0 16px calc(12px + var(--safe-b)); pointer-events: none; }
.tabbar nav { pointer-events: auto; max-width: 420px; margin: 0 auto; display: flex; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-radius: 26px; box-shadow: var(--sh-2); padding: 6px; }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 20px; font-size: 12px; font-weight: 800; color: var(--muted); position: relative; transition: background .2s, color .2s; }
.tabbar a svg.i { width: 23px; height: 23px; }
.tabbar a.on { color: var(--green); background: var(--green-ll); }
.tabbar a .dot { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--yellow); color: var(--green-d); font-size: 11px; display: grid; place-items: center; }

/* ---------- koszyk / podsumowanie ---------- */
.page-h { font-size: clamp(28px, 7vw, 36px); color: var(--green); margin: 4px 0 2px; }
.page-sub { color: var(--muted); margin: 0 0 6px; }
.panel { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 18px; margin-top: 14px; }
.panel h3 { font-size: 19px; color: var(--ink); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.panel h3 svg.i { color: var(--yellow-d); }
.line { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); align-items: center; }
.line:first-child { border-top: 0; }
.line .th { width: 56px; height: 56px; border-radius: 14px; position: relative; overflow: hidden; flex: none; }
.line .th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.line .th .art .emo { font-size: 28px; }
.line .t { flex: 1; min-width: 0; } .line .t b { display: block; font-weight: 800; } .line .t small { color: var(--muted); font-size: 13px; display: block; }
.line .t .lp { font-family: var(--f-head); font-weight: 800; color: var(--green); margin-top: 2px; }
.sumrow { display: flex; justify-content: space-between; padding: 5px 0; color: var(--ink-2); font-weight: 600; }
.sumrow.total { color: var(--ink); font-weight: 800; font-size: 19px; border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 14px; font-family: var(--f-head); }
.progress-min { margin-top: 14px; background: var(--yellow-l); border-radius: 16px; padding: 12px 14px; font-size: 14px; color: var(--green-d); font-weight: 700; }
.progress-min .bar { height: 8px; background: rgba(185, 128, 15, .18); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.progress-min .bar i { display: block; height: 100%; background: var(--yellow); border-radius: 99px; transition: width .4s var(--ease); }
.field { display: block; margin-top: 14px; position: relative; }
.field span { display: block; font-size: 13px; font-weight: 800; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--cream); outline: none; transition: border-color .2s, background .2s, box-shadow .2s; font-size: 16px; }
.field input:focus, .field textarea:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(23, 72, 63, .08); }
.field textarea { resize: vertical; min-height: 80px; }
.pay { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); margin-top: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.pay input { position: absolute; opacity: 0; pointer-events: none; }
.pay .ic { width: 42px; height: 42px; border-radius: 14px; background: var(--green-ll); color: var(--green); display: grid; place-items: center; flex: none; }
.pay .n { flex: 1; font-weight: 800; } .pay .n small { display: block; font-weight: 600; color: var(--muted); font-size: 13px; }
.pay .rd { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #D6CDB9; flex: none; transition: .15s; }
.pay:has(input:checked) { border-color: var(--green); background: var(--green-ll); }
.pay:has(input:checked) .rd { border: 7px solid var(--green); }
.pay.dis { opacity: .5; cursor: default; }
.soon { font-size: 11px; font-weight: 800; background: var(--sand); color: var(--muted); padding: 3px 9px; border-radius: 999px; }
.err { background: var(--danger-l); color: var(--danger); border-radius: 16px; padding: 12px 16px; margin-top: 14px; font-size: 14px; font-weight: 700; }
.empty { text-align: center; padding: 70px 24px; }
.empty .big { font-size: 72px; margin-bottom: 8px; }
.empty h2 { color: var(--green); font-size: 26px; }
.empty p { color: var(--muted); margin: 6px 0 22px; }
.legal { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 14px; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 14px 16px calc(14px + var(--safe-b)); background: linear-gradient(180deg, rgba(251, 247, 238, 0), var(--cream) 30%); }
.sticky-cta .in { max-width: 584px; margin: 0 auto; }

/* ---------- śledzenie ---------- */
.status-hero { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 24px 22px; color: #fff; background: linear-gradient(140deg, var(--green-3), var(--green) 55%, var(--green-d)); box-shadow: var(--sh-2); margin-top: 6px; }
.status-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(231, 166, 40, .4), transparent 65%); }
.status-hero .emo { font-size: 58px; line-height: 1; position: relative; z-index: 1; animation: float 3s ease-in-out infinite; display: inline-block; }
@keyframes float { 50% { transform: translateY(-6px) rotate(-4deg); } }
.status-hero .no { font-weight: 800; font-size: 13px; opacity: .75; letter-spacing: .08em; text-transform: uppercase; position: relative; z-index: 1; margin-top: 12px; }
.status-hero h1 { font-size: 30px; margin-top: 2px; position: relative; z-index: 1; }
.status-hero p { margin: 6px 0 0; opacity: .85; position: relative; z-index: 1; }
.pbar { display: flex; gap: 5px; margin-top: 18px; position: relative; z-index: 1; }
.pbar i { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .22); overflow: hidden; position: relative; }
.pbar i.d { background: var(--yellow); }
.pbar i.n::after { content: ""; position: absolute; inset: 0; background: var(--yellow); animation: grow 1.6s ease-in-out infinite; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); opacity: .3; } }
.steps { list-style: none; margin: 4px 0 0; padding: 0; }
.steps li { position: relative; padding: 2px 0 20px 46px; color: var(--muted); font-weight: 700; min-height: 30px; }
.steps li::before { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--line); border-radius: 2px; }
.steps li:last-child { padding-bottom: 0; } .steps li:last-child::before { display: none; }
.steps .dot { position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); color: #fff; display: grid; place-items: center; }
.steps .dot svg.i { width: 16px; height: 16px; stroke-width: 3; }
.steps li.done { color: var(--ink); } .steps li.done .dot { background: var(--green); } .steps li.done::before { background: var(--green); }
.steps li.now { color: var(--green); } .steps li.now .dot { background: var(--yellow); box-shadow: 0 0 0 6px var(--yellow-l); }
.steps li small { display: block; font-weight: 600; color: var(--muted); font-size: 12.5px; }
.call { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 15px; border-radius: 999px; background: var(--card); box-shadow: var(--sh-1); font-weight: 800; color: var(--green); }
.stars { display: flex; gap: 8px; justify-content: center; margin: 12px 0 4px; }
.stars button { color: #E5DCC8; transition: transform .15s var(--ease), color .15s; }
.stars button svg.i { width: 42px; height: 42px; }
.stars button.on { color: var(--yellow); }
.stars button:active { transform: scale(1.2); }
.rate-lbl { text-align: center; font-weight: 800; color: var(--green); min-height: 22px; }
.olist { display: grid; gap: 12px; margin-top: 14px; }
.ocard { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: var(--r); box-shadow: var(--sh-1); padding: 14px; }
.ocard .e { width: 52px; height: 52px; border-radius: 16px; background: var(--yellow-l); display: grid; place-items: center; font-size: 26px; flex: none; }
.ocard .t { flex: 1; min-width: 0; } .ocard .t b { display: block; } .ocard .t small { color: var(--muted); }
.st-pill { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--green-ll); color: var(--green); white-space: nowrap; }
.st-pill.live { background: var(--yellow-l); color: var(--green-d); }

#toast { position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top)); transform: translate(-50%, -20px); display: flex; align-items: center; gap: 8px; background: var(--green-d); color: #fff; padding: 12px 18px; border-radius: 999px; opacity: 0; transition: .3s var(--ease); pointer-events: none; z-index: 99; font-weight: 700; font-size: 15px; box-shadow: var(--sh-3); max-width: 90vw; white-space: nowrap; }
#toast svg.i { color: var(--yellow); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- v2: miasto z lokalizacji, godziny, wspólne zamówienia, mapa ---------- */
.detected { margin-top: 18px; border-radius: var(--r-lg); padding: 20px; background: var(--green); color: #fff; box-shadow: var(--sh-2); }
.detected .lbl { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--yellow-2); }
.detected .lbl svg.i { width: 17px; height: 17px; }
.detected b { display: block; font-family: var(--f-head); font-size: 34px; line-height: 1.1; margin-top: 4px; }
.detected span { font-size: 14px; opacity: .82; }
.city-row { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 18px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh-1); }
.city-row b { font-size: 17px; } .city-row span { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 14px; font-weight: 700; }
.row-sb { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.opn { flex: none; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.opn.on { background: #E3F1E7; color: #1E6B3A; } .opn.off { background: var(--danger-l); color: var(--danger); }
.info { display: flex; align-items: flex-start; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 5px; }
.info svg.i { width: 15px; height: 15px; margin-top: 1px; color: var(--green-3); }
.rcard.closed .cover { filter: grayscale(.55); } .rcard.closed .body { opacity: .85; }
.closed-banner { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--danger-l); color: #8A2E1F; font-size: 14px; }
.closed-banner svg.i { margin-top: 1px; }
.panel h3 .more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-body); font-size: 13px; font-weight: 800; color: var(--green); background: var(--green-ll); padding: 5px 10px; border-radius: 999px; }
.panel h3 .more svg.i { width: 14px; height: 14px; color: var(--green); }
.joint { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--green-l); color: var(--green-d); }
.joint svg.i { width: 24px; height: 24px; flex: none; margin-top: 2px; } .joint small { display: block; color: var(--ink-2); margin-top: 2px; }
.linkish { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--green); font-weight: 800; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.linkish svg.i { width: 17px; height: 17px; }
.code-row { display: flex; gap: 8px; margin-top: 12px; }
.code-row input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 16px; background: var(--cream); font-size: 16px; text-transform: uppercase; }
.code-row .btn { padding: 12px 18px; }
.sumrow.sub-h { color: var(--ink); font-weight: 800; margin-top: 6px; }
.sumrow.small { font-size: 14px; padding: 2px 0 2px 10px; color: var(--muted); }
.sumrow.strike span { text-decoration: line-through; opacity: .6; }
.run-info { display: flex; gap: 12px; align-items: center; background: var(--yellow-l); box-shadow: none; }
.run-info svg.i { width: 26px; height: 26px; color: var(--yellow-d); flex: none; } .run-info small { display: block; color: var(--ink-2); }
.map-panel { padding: 0; overflow: hidden; }
.map { height: 260px; background: var(--sand); z-index: 0; }
.drv { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.drv small { display: block; color: var(--muted); font-size: 13px; }
.av { width: 44px; height: 44px; border-radius: 50%; background: var(--green-l); color: var(--green); display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.mk { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); border: 3px solid #fff; }
.mk svg.i { width: 20px; height: 20px; } .mk.car { background: var(--yellow); color: var(--green-d); } .mk.home { background: var(--green); color: #fff; }
.part-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.part-row:first-of-type { border-top: 0; }
.st-pill.ok { background: #E3F1E7; color: #1E6B3A; } .st-pill.no { background: var(--danger-l); color: var(--danger); }
.leaflet-container { font-family: var(--f-body); }

/* ---------- powiadomienia ---------- */
.push-card { display:flex; align-items:center; gap:14px; background:var(--yellow-l); box-shadow:none; }
.push-card .bell { font-size:30px; } .push-card small { display:block; color:var(--ink-2); font-size:13px; margin-top:2px; }
.push-card .btn { padding:11px 18px; }
.push-card svg.i { width:26px; height:26px; color:var(--yellow-d); flex:none; }
.push-ok { display:flex; align-items:center; gap:8px; justify-content:center; margin-top:12px; font-size:13.5px; font-weight:800; color:var(--green); }
.push-ok svg.i { width:16px; height:16px; }
.smsopt { display:flex; gap:10px; align-items:flex-start; margin-top:12px; font-size:14px; font-weight:700; color:var(--ink-2); cursor:pointer; }
.smsopt input { width:20px; height:20px; accent-color:var(--green); flex:none; margin:0; }
.last-order .e { flex: none; }

/* ---------- zamawianie na później, strefy, tydzień pracownika ---------- */
.seg2 { display:flex; background:var(--sand); border-radius:99px; padding:4px; gap:4px; }
.seg2 button { flex:1; padding:10px; border-radius:99px; font-weight:800; color:var(--muted); }
.seg2 button.on { background:#fff; color:var(--green); box-shadow:0 1px 4px rgba(0,0,0,.1); } .seg2 button:disabled { opacity:.4; }
.whenrow { margin-top:12px; } .whenrow .lbl { display:block; font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-bottom:6px; }
.chips2 { display:flex; gap:6px; flex-wrap:wrap; } .chips2 button { border-radius:99px; padding:8px 13px; font-weight:800; font-size:13.5px; background:#fff; box-shadow:0 1px 3px rgba(20,35,31,.1); }
.chips2 button.on { background:var(--green); color:#fff; }
.zonebox { display:flex; gap:10px; align-items:flex-start; border-radius:14px; padding:11px 12px; margin-top:10px; font-size:13.5px; line-height:1.4; }
.zonebox .i { flex:none; width:20px; height:20px; margin-top:1px; } .zonebox.ok { background:#E3F1E7; color:#1E6B3A; } .zonebox.y { background:var(--yellow-l); color:#7A5205; } .zonebox.r { background:var(--danger-l); color:var(--danger); }
.info.dm { margin-top:10px; background:var(--yellow-l); color:#7A5205; text-decoration:none; }
.split { background:var(--green-ll); border-radius:14px; padding:8px 12px; margin-bottom:10px; }
.ocard.plan { display:flex; align-items:center; gap:10px; } .ocard.plan .t { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; text-decoration:none; color:inherit; }
.ocard.plan .t b { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .ocard.plan .t small { color:var(--muted); } .ocard.plan .st-pill { align-self:flex-start; }
.btn.ghost { background:#fff; color:var(--danger); box-shadow:inset 0 0 0 1.5px var(--danger-l); } .btn.sm { padding:8px 12px; font-size:13px; }
.cancel-card { display:flex; align-items:center; gap:12px; } .cancel-card small { display:block; color:var(--muted); }
.row-h { display:flex; align-items:center; gap:10px; justify-content:space-between; }
.pl { display:inline-flex; align-items:center; gap:4px; border-radius:99px; padding:4px 10px; font-size:12px; font-weight:800; white-space:nowrap; } .pl.gr { background:var(--green); color:#fff; }
.days7 { display:flex; gap:6px; margin-top:10px; } .days7 button { flex:1; border-radius:14px; padding:8px 0; background:#fff; font-weight:800; font-size:13px; box-shadow:0 1px 3px rgba(20,35,31,.08); line-height:1.2; }
.days7 button small { display:block; font-size:11px; color:var(--muted); font-weight:700; } .days7 button.ok { box-shadow:inset 0 0 0 2px #5BC48A; } .days7 button.on { background:var(--green); color:#fff; } .days7 button.on small { color:#CFE3DB; } .days7 button.off { opacity:.45; }
.dmset { display:flex; align-items:center; gap:12px; background:#fff; border-radius:18px; padding:10px 12px; margin-top:10px; box-shadow:0 2px 10px rgba(20,35,31,.06); border:2px solid transparent; cursor:pointer; }
.dmset input { display:none; } .dmset.on { border-color:var(--green); } .dmset.dis { opacity:.5; } .dmset.none { justify-content:center; background:transparent; box-shadow:none; border:1.5px dashed #D9D0BD; color:var(--muted); } .dmset.none.on { border:2px solid var(--green); color:var(--green); }
.dmset .e { width:54px; height:54px; border-radius:14px; display:grid; place-items:center; font-size:30px; background:radial-gradient(circle at 30% 25%,#FFF6DD,#F9E3B0 60%,#F3D08A); flex:none; overflow:hidden; } .dmset .e img { width:100%; height:100%; object-fit:cover; }
.dmset .t { flex:1; min-width:0; display:flex; flex-direction:column; } .dmset .t small { color:var(--muted); font-size:12.5px; } .dmset .p { font-size:15px; }
.wlist { display:flex; flex-direction:column; gap:8px; margin:12px 0; }
.wrow { display:flex; align-items:center; gap:10px; background:#fff; border-radius:16px; padding:9px 12px; box-shadow:0 2px 8px rgba(20,35,31,.05); } .wrow.off { opacity:.5; }
.wrow .wd { width:36px; text-align:center; font-weight:800; font-size:12px; color:var(--green); line-height:1.1; flex:none; } .wrow .wd b { display:block; font-family:'Baloo 2'; font-size:18px; }
.wrow .we { font-size:22px; } .wrow .wt { flex:1; min-width:0; font-size:13.5px; } .wrow .wt b { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .wrow .wt small { color:var(--muted); }

/* ---------- prawo i RODO ---------- */
.lg-consent .lg-warn { display:flex; gap:9px; align-items:flex-start; background:var(--yellow-l); color:#7A5205; border-radius:14px; padding:11px 12px; font-size:13.5px; line-height:1.45; }
.lg-consent .lg-warn .i { flex:none; width:18px; height:18px; margin-top:1px; }
.lg-consent .smsopt a { color:var(--green); text-decoration:underline; text-underline-offset:2px; }
.lg-req { color:var(--danger); font-weight:800; }
.btn.split small.when { font-size:12px; font-weight:700; opacity:.75; margin-right:8px; }
.lg-foot a { color:var(--green); font-weight:800; text-decoration:underline; text-underline-offset:2px; }
.lg-list { padding:6px 18px; }
.lg-row { display:flex; align-items:center; gap:12px; padding:13px 0; border-bottom:1px solid var(--line); color:var(--ink); }
.lg-row:last-child { border-bottom:0; } .lg-row > .i:first-child { color:var(--green); width:21px; height:21px; flex:none; }
.lg-row span { flex:1; } .lg-row b { display:block; } .lg-row small { color:var(--muted); font-size:12.5px; } .lg-row > .i:last-child { color:var(--muted); width:18px; }
.lg-seller { line-height:1.55; font-size:14.5px; }
.lg-doc .panel h2 { font-size:17px; color:var(--green); margin:18px 0 4px; } .lg-doc .panel h2:first-child { margin-top:0; }
.lg-doc .panel p, .lg-doc .panel li { font-size:14.5px; line-height:1.55; color:var(--ink-2); margin:5px 0; } .lg-doc .panel ul { padding-left:20px; margin:4px 0; }
.lg-opt { display:flex; align-items:center; gap:12px; width:100%; text-align:left; color:var(--ink); font:inherit; }
.lg-opt > .i { width:22px; height:22px; color:var(--green); flex:none; } .lg-opt .grow { flex:1; min-width:0; } .lg-opt b { display:block; } .lg-opt small { display:block; color:var(--muted); font-size:12.5px; line-height:1.4; margin-top:2px; }
.lg-opt:disabled { opacity:.6; } .lg-opt.danger { background:var(--danger-l); } .lg-opt.danger > .i, .lg-opt.danger b { color:var(--danger); }
.tg { position:relative; width:46px; height:28px; flex:none; } .tg input { position:absolute; opacity:0; inset:0; margin:0; cursor:pointer; z-index:1; }
.tg i { position:absolute; inset:0; border-radius:99px; background:#D6CDB9; transition:background .2s; } .tg i::after { content:""; position:absolute; left:3px; top:3px; width:22px; height:22px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.2); transition:transform .2s; }
.tg input:checked + i { background:#5BC48A; } .tg input:checked + i::after { transform:translateX(18px); }
.lg-ord { display:flex; flex-direction:column; gap:4px; } .lg-ord .st-pill { align-self:flex-start; } .lg-ord small { color:var(--muted); }
.lg-photo { margin-top:10px; } .lg-photo img { display:block; max-width:100%; max-height:200px; border-radius:14px; }
.lg-cmp { border-top:1px solid var(--line); padding:10px 0; } .lg-cmp:first-of-type { border-top:0; }
.lg-cmp .row { display:flex; align-items:center; justify-content:space-between; gap:8px; } .lg-cmp small { color:var(--muted); display:block; } .lg-cmp p { margin:6px 0 0; font-size:14px; }
.lg-ans { background:#E3F1E7; color:#1E6B3A; border-radius:12px; padding:9px 11px; margin-top:8px; } .lg-ans p { color:#1E4A30; }
.st-pill.no { background:var(--danger-l); color:var(--danger); }

/* ---------- promocje (obniżki z ceną Omnibus, kody rabatowe) ---------- */
.pcard .price.promo, .sheet .pr.promo { color: #A33A26; }
.pcard s.was, .sheet .pr s, .line .lp s, .opt .p s, .pline s { color: var(--muted); font-weight: 700; font-size: 13px; font-family: var(--f-body, inherit); }
.omni { font-size: 11.5px; line-height: 1.3; color: var(--muted); margin-top: 3px; }
.opt .n .omni { display: block; font-weight: 600; }
.pcard .pic { position: relative; }
.ptag { position: absolute; top: 6px; left: 6px; background: #A33A26; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800; padding: 2px 8px; z-index: 2; }
.ptag.inl { position: static; display: inline-block; vertical-align: 2px; font-family: var(--f-body, inherit); font-size: 11px; }
.sumrow.disc { color: #1E6B3A; font-weight: 700; }
.saved { text-align: right; color: #1E6B3A; font-weight: 800; font-size: 13px; margin-top: 4px; }
.codeok { display: flex; align-items: center; gap: 10px; background: #E3F1E7; color: #1E6B3A; border-radius: 14px; padding: 10px 12px; }
.codeok small { display: block; font-size: 12px; }
.rbtn.sm { width: 32px; height: 32px; }
.pbanner { border-radius: 20px; padding: 16px; color: #fff; background: linear-gradient(135deg, var(--green), var(--green-3)); margin-bottom: 12px; box-shadow: var(--sh-1); }
.pbanner.y { background: linear-gradient(135deg, var(--yellow), var(--yellow-2)); color: var(--green-d); }
.pbanner b { font-family: var(--f-head); font-size: 19px; display: block; }
.pbanner small { display: block; opacity: .88; font-size: 13.5px; }
.pbanner a { color: inherit; font-size: 13px; text-decoration: underline; }
.pcodechip { display: inline-flex; align-items: center; gap: 6px; background: var(--cream, #FBF7EE); color: var(--green); border: 2px dashed var(--yellow); border-radius: 10px; padding: 5px 12px; font-family: ui-monospace, Consolas, monospace; font-weight: 800; font-size: 15px; }
.pcodechip .i { width: 16px; height: 16px; }
.pline { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.pline small { display: block; color: var(--muted); font-size: 12.5px; }
.pline .pnew { color: #A33A26; font-size: 17px; }
