
/* Smash Burger × Kebab Corner - style strony zamówień.
   Kolory i czcionki z wizytówki kebabcornerkrzeszów.pl. */
@font-face { font-family: 'Peace Sans'; src: url(/assets/peace-sans.otf) format('opentype'); font-display: swap; }
@font-face { font-family: 'Lemon Milk'; src: url(/assets/lemon-milk-light.otf) format('opentype'); font-display: swap; }

:root {
  --red: #b50101;
  --red-hi: #e01b1b;
  --ink: #141414;
  --ink-2: #5c5c5c;
  --line: #e4e2de;
  --paper: #f7f6f3;
  --card: #ffffff;
  --sand: #9a8b75;
  --ok: #1d7a3a;
  --radius: 14px;
  --head: 'Peace Sans', 'Arial Black', sans-serif;
  --label: 'Lemon Milk', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #000; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------------- LANDING (dark) ---------------- */
.landing { position: relative; min-height: 100vh; background: #000; color: #cecece; overflow: hidden; }
.bg { position: fixed; pointer-events: none; z-index: 0; will-change: transform; }
.bg-kebab { left: -6vw; top: 2vh; width: min(46vw, 420px); opacity: .16; transform: rotate(-8deg); }
.bg-burger { right: -8vw; top: 38vh; width: min(58vw, 560px); opacity: .14; }
.landing > section { position: relative; z-index: 1; }
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; padding: 28px 16px 40px; text-align: center; }
.brands { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 3vw, 28px); flex-wrap: wrap; width: 100%; max-width: 980px; }
.brand-smash { font-family: var(--head); color: var(--sand); font-size: clamp(30px, 7vw, 64px); letter-spacing: .02em; line-height: .95; }
.brand-x { font-family: var(--head); color: #9b9b9b; font-size: clamp(24px, 5vw, 44px); }
.brand-kc { line-height: 1; }
@media (max-width: 600px) { .brands { flex-direction: column; gap: 6px; } .brand-smash br { display: none; } }
.brand-kc .kc { font-family: var(--head); color: var(--red-hi); font-size: clamp(26px, 6vw, 54px); text-shadow: 0 0 6px #ff1a1a, 0 0 18px rgba(255,0,0,.55); }
.brand-kc .kr { display: block; font-family: var(--head); color: #8d8d8d; font-size: clamp(18px, 4vw, 34px); letter-spacing: .12em; margin-top: 6px; }
.tawerna { margin-top: clamp(18px, 4vh, 36px); font-family: var(--label); color: #bdbdbd; letter-spacing: .25em; font-size: clamp(16px, 3vw, 24px); }
.tawerna small { display: block; margin-top: 6px; font-size: .55em; letter-spacing: .3em; color: #8a8a8a; }
.delivery { margin-top: clamp(28px, 7vh, 70px); }
.delivery h1 { margin: 0; font-family: var(--head); font-weight: 400; color: #bfbfbf; font-size: clamp(40px, 10vw, 88px); letter-spacing: .14em; }
.delivery p { margin: 8px 0 0; font-family: var(--label); color: #9d9d9d; font-size: clamp(13px, 2.4vw, 18px); letter-spacing: .12em; }
.cta { margin-top: clamp(28px, 6vh, 56px); display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.btn-hero { display: block; width: min(92vw, 600px); padding: 18px 18px 14px; border: 2px solid var(--red); border-radius: 6px; background: rgba(0,0,0,.55); color: var(--red-hi); font-family: var(--head); font-size: clamp(26px, 6.6vw, 44px); letter-spacing: .06em; white-space: nowrap; text-decoration: none; transition: background .2s, transform .2s; }
.btn-hero:hover { background: rgba(181,1,1,.16); transform: translateY(-2px); }
.btn-hero.secondary { width: min(78vw, 420px); font-size: clamp(24px, 6vw, 38px); }
.btn-hero .sub { display: block; font-family: var(--label); font-size: 13px; letter-spacing: .14em; color: #a9a9a9; margin-top: 6px; }
.lub { font-family: var(--label); color: #9d9d9d; letter-spacing: .3em; }
.scroll-hint { margin-top: auto; padding-top: 30px; font-family: var(--label); font-size: 11px; letter-spacing: .3em; color: #6d6d6d; }
.info { padding: 70px 16px 90px; max-width: 980px; margin: 0 auto; }
.info h2 { font-family: var(--head); font-weight: 400; color: var(--red); text-align: center; font-size: clamp(28px, 6vw, 44px); margin: 0 0 28px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step { background: rgba(20,20,20,.75); border: 1px solid #2a2a2a; border-radius: var(--radius); padding: 22px; }
.step b { font-family: var(--head); color: var(--red-hi); font-size: 34px; font-weight: 400; }
.step h3 { font-family: var(--label); letter-spacing: .1em; color: #e2e2e2; margin: 8px 0 6px; font-size: 16px; }
.step p { margin: 0; color: #a7a7a7; line-height: 1.5; }
.facts { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; text-align: center; }
.facts div { padding: 18px; }
.facts h3 { font-family: var(--head); font-weight: 400; color: var(--red); margin: 0 0 10px; font-size: 24px; }
.facts p { margin: 0; font-family: var(--label); color: #cfcfcf; line-height: 1.7; letter-spacing: .06em; }
.facts a { color: #e6e6e6; }
.footer { padding: 24px 16px 40px; text-align: center; color: #6b6b6b; font-size: 13px; }

/* ---------------- ORDER (light) ---------------- */
.order { position: relative; min-height: 100vh; background: var(--paper); }
.order .wm { position: fixed; pointer-events: none; z-index: 0; opacity: .05; filter: invert(1); }
.order .wm-k { left: -80px; top: 120px; width: 300px; transform: rotate(-10deg); }
.order .wm-b { right: -90px; bottom: 40px; width: 380px; }
.topbar { position: sticky; top: 0; z-index: 20; background: #0b0b0b; color: #ddd; }
.topbar-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.back { background: none; border: 0; color: #cfcfcf; padding: 8px; margin-left: -8px; border-radius: 8px; font-size: 22px; line-height: 1; }
.logo-s { font-family: var(--head); font-size: 17px; letter-spacing: .03em; white-space: nowrap; }
.logo-s .short { display: none; }
@media (max-width: 560px) { .logo-s .long { display: none; } .logo-s .short { display: inline; } .status .st-long { display: none; } }
.logo-s .s { color: var(--sand); } .logo-s .k { color: var(--red-hi); text-shadow: 0 0 6px rgba(255,0,0,.6); }
.status { margin-left: auto; font-size: 12px; color: #9fd8ae; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3fbf63; }
.tabs { position: sticky; top: 52px; z-index: 19; background: rgba(247,246,243,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.tabs-in { max-width: 1180px; margin: 0 auto; display: flex; gap: 6px; padding: 8px 16px; overflow-x: auto; scrollbar-width: none; }
.tab { flex: 0 0 auto; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font-family: var(--head); font-size: 15px; letter-spacing: .04em; color: var(--ink-2); }
.tab[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.layout { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 8px 16px 120px; display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 960px) { .layout { grid-template-columns: 1fr 360px; padding-bottom: 60px; } }
.notice { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.notice b { color: var(--ink); }
.cat { scroll-margin-top: 120px; padding-top: 22px; }
.cat > h2 { font-family: var(--head); font-weight: 400; font-size: 28px; margin: 0 0 4px; letter-spacing: .03em; }
.cat > p.lead { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; }
.sub-h { font-family: var(--label); font-size: 12px; letter-spacing: .2em; color: var(--ink-2); margin: 20px 0 10px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
.item { position: relative; display: flex; gap: 14px; align-items: stretch; text-align: left; width: 100%; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s, transform .15s; }
.item:hover { border-color: #cfcac2; box-shadow: 0 6px 18px rgba(0,0,0,.06); transform: translateY(-1px); }
.item .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.item h3 { margin: 0; font-family: var(--head); font-weight: 400; font-size: 18px; letter-spacing: .02em; }
.item .desc { margin: 6px 0 10px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.item .price { margin-top: auto; font-weight: 700; font-size: 16px; }
.item .price small { font-weight: 500; color: var(--ink-2); font-size: 12px; margin-left: 4px; }
.item .in-cart { position: absolute; top: -8px; left: -8px; background: var(--red); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; min-width: 24px; height: 24px; display: grid; place-items: center; padding: 0 6px; }
.thumb { position: relative; flex: 0 0 112px; height: 112px; border-radius: 12px; background: #ececea; display: grid; place-items: center; overflow: hidden; }
.thumb svg { width: 70%; height: 70%; }
.thumb .ph { position: absolute; bottom: 6px; left: 0; right: 0; font-size: 9px; letter-spacing: .12em; color: #9a9a9a; text-align: center; font-family: var(--label); }
.add { position: absolute; right: 6px; bottom: 6px; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 22px; line-height: 1; box-shadow: 0 2px 8px rgba(181,1,1,.4); }
.badge { display: inline-block; font-size: 11px; font-weight: 700; color: var(--red); background: #fbe9e9; border-radius: 6px; padding: 2px 6px; margin-left: 6px; vertical-align: middle; font-family: var(--body); letter-spacing: 0; }

/* cart sidebar (desktop) */
.side { display: none; }
@media (min-width: 960px) {
  .side { display: block; position: sticky; top: 130px; align-self: start; padding-top: 22px; }
}
.cartbox { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.cartbox h2 { font-family: var(--head); font-weight: 400; margin: 0 0 12px; font-size: 22px; }
.empty { color: var(--ink-2); font-size: 14px; text-align: center; padding: 22px 6px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line:last-of-type { border-bottom: 0; }
.line .n { font-weight: 700; }
.line .opts { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.line .ctrl { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; border-radius: 50%; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.link { background: none; border: 0; color: var(--ink-2); text-decoration: underline; font-size: 13px; padding: 8px 4px; }
.sum { margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; }
.sum div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--ink-2); }
.sum .tot { color: var(--ink); font-weight: 800; font-size: 18px; padding-top: 8px; }
.min-note { font-size: 13px; color: #8a5a00; background: #fff6e0; border-radius: 10px; padding: 8px 10px; margin-top: 10px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--red); color: #fff; font-family: var(--head); font-size: 18px; letter-spacing: .04em; text-decoration: none; }
.btn:hover { background: #9c0000; }
.btn[disabled] { background: #cfcfcf; color: #fff; cursor: not-allowed; }
.btn.dark { background: var(--ink); }
.btn .pr { margin-left: auto; font-family: var(--body); font-weight: 800; font-size: 17px; }
.btn.center .pr { margin-left: 0; }

/* mobile cart bar */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--paper) 70%, rgba(247,246,243,0)); }
.cartbar .btn { box-shadow: 0 8px 24px rgba(181,1,1,.35); }
.cartbar .cnt { background: rgba(255,255,255,.22); border-radius: 999px; padding: 2px 10px; font-family: var(--body); font-weight: 800; font-size: 15px; }
@media (min-width: 960px) { .cartbar { display: none; } }

/* sheet / dialog */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .2s; }
.scrim.on { opacity: 1; }
.sheet { position: fixed; z-index: 51; left: 0; right: 0; bottom: 0; max-height: 92vh; display: flex; flex-direction: column; background: #fff; border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform .25s ease; }
.sheet.on { transform: none; }
@media (min-width: 720px) {
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: 560px; max-height: 88vh; border-radius: 20px; transform: translate(-50%, -46%); opacity: 0; transition: transform .2s, opacity .2s; }
  .sheet.on { transform: translate(-50%, -50%); opacity: 1; }
}
.sheet-head { position: relative; flex: 0 0 auto; }
.sheet-img { height: 190px; background: #ececea; display: grid; place-items: center; border-radius: 20px 20px 0 0; }
.sheet-img svg { height: 70%; }
.x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); font-size: 22px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.sheet-body { flex: 1; overflow-y: auto; padding: 18px 18px 8px; -webkit-overflow-scrolling: touch; }
.sheet-body h2 { margin: 0; font-family: var(--head); font-weight: 400; font-size: 26px; }
.sheet-body .desc { margin: 6px 0 4px; color: var(--ink-2); line-height: 1.5; }
.grp { margin-top: 18px; border-radius: 12px; transition: box-shadow .2s, background .2s; }
.grp.missing { box-shadow: 0 0 0 2px var(--red); background: #fff6f6; }
.grp-h { display: flex; align-items: baseline; gap: 8px; padding: 8px 4px; }
.grp-h h3 { margin: 0; font-size: 16px; }
.grp-h .rule { margin-left: auto; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 3px 8px; background: #efefef; color: var(--ink-2); white-space: nowrap; }
.grp-h .rule.req { background: #fbe9e9; color: var(--red); }
.grp-h .rule.done { background: #e6f4ea; color: var(--ok); }
.opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 6px; border-bottom: 1px solid #f0efec; cursor: pointer; }
.opt:last-child { border-bottom: 0; }
.opt input { width: 22px; height: 22px; accent-color: var(--red); flex: 0 0 auto; margin: 0; }
.opt .ol { flex: 1; }
.opt .ol small { display: block; color: var(--ink-2); font-size: 12.5px; margin-top: 2px; }
.opt .op { font-weight: 700; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.opt.dis { opacity: .4; cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; font-size: 14px; min-height: 40px; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; text-decoration: line-through; }
textarea, input[type=text], input[type=tel], input[type=email], select { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
textarea { min-height: 70px; resize: vertical; }
textarea:focus, input:focus, select:focus { border-color: var(--ink); outline: none; }
.sheet-foot { flex: 0 0 auto; display: flex; gap: 12px; align-items: center; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; border-radius: 0 0 20px 20px; }
.sheet-foot .qty { flex: 0 0 auto; }
.sheet-foot .qty button { width: 44px; height: 44px; }
.sheet-foot .btn { font-size: 17px; white-space: nowrap; }

/* checkout & payment */
.page { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 18px 16px 120px; }
.page h1 { font-family: var(--head); font-weight: 400; font-size: 30px; margin: 10px 0 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.card h2 { margin: 0 0 12px; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.card h2 .no { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.field.err input { border-color: var(--red); }
.field .em { display: none; font-size: 12.5px; color: var(--red); margin-top: 4px; }
.field.err .em { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 14px; }
.seg label small { color: var(--ink-2); font-size: 12px; }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.consent input { width: 22px; height: 22px; accent-color: var(--red); margin-top: 1px; flex: 0 0 auto; }
.consent a { color: var(--ink); }
.paybox { text-align: center; }
.paymeth { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 18px; }
.paymeth span { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-weight: 800; font-size: 14px; background: #fafafa; }
.proto-note { font-size: 12.5px; color: #8a5a00; background: #fff6e0; border-radius: 10px; padding: 10px 12px; margin: 12px 0; text-align: left; }
.ok-ic { width: 72px; height: 72px; border-radius: 50%; background: #e6f4ea; color: var(--ok); display: grid; place-items: center; font-size: 38px; margin: 10px auto 12px; }
.timeline { text-align: left; margin: 18px auto 0; max-width: 360px; }
.timeline div { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: var(--ink-2); }
.timeline div::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #cfcfcf; flex: 0 0 auto; }
.timeline div.on { color: var(--ink); font-weight: 700; }
.timeline div.on::before { background: var(--ok); border-color: var(--ok); }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 14px; transition: .2s; pointer-events: none; white-space: nowrap; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 960px) { .toast { bottom: 30px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------------- dodatki wersji produkcyjnej ---------------- */
.gap { height: 12px; }
a.btn { color: #fff; }
.back { text-decoration: none; }
.hero-status { margin: 18px 0 0; font-family: var(--label); letter-spacing: .12em; font-size: 13px; color: #e6b84d; }
.hours-list p { margin: 0; }
.hours-list .hl { display: flex; justify-content: space-between; gap: 18px; max-width: 260px; margin: 0 auto; font-family: var(--label); color: #cfcfcf; letter-spacing: .06em; line-height: 1.8; font-size: 14px; }
.hours-list .hl.today { color: #fff; }
.footer a { color: #9a9a9a; }
.loading { color: var(--ink-2); text-align: center; padding: 30px 0; }
.landing .loading { color: #888; }
.notice.warn { background: #fff6e0; border-color: #f0d9a0; color: #6b4a00; }
.notice.stop { background: #fdeaea; border-color: #f2c1c1; color: #7a1010; }
.item.unavail { opacity: .55; cursor: not-allowed; }
.item.unavail:hover { transform: none; box-shadow: none; border-color: var(--line); }
.item .soldout { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--red); }
.item.unavail .add { display: none; }
.form-error { background: #fdeaea; color: #7a1010; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.secure-note { font-size: 12.5px; color: var(--ink-2); text-align: center; margin: 10px 0 0; }
.consent { margin-top: 14px; }
.doc-text { white-space: pre-wrap; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.status-err { color: #7a1010; }
.paybox h1 { margin-top: 0; }
.big-total { font-size: 36px; font-weight: 800; margin: 4px 0; }
.status-lines { text-align: left; margin: 18px 0 0; }
.status-lines .line { grid-template-columns: 1fr auto; }
.muted { color: var(--ink-2); }
.opt-off { opacity: .45; }
.btn.is-disabled { background: #cfcfcf; pointer-events: none; }
.status.off::before { background: #c9a227; }
.thumb img, .sheet-img img { width: 100%; height: 100%; object-fit: cover; }
.sheet-img img { border-radius: 20px 20px 0 0; }
