/* =====================================================================
   Asystent Zakupowy - styl inspirowany szablonem Jumbo (MUI admin)
   ===================================================================== */
:root {
    --primary: #7352c7;
    --primary-600: #5e3fb2;
    --primary-50: #f1edfb;
    --primary-100: #e3dbf7;
    --bg: #f5f7fa;
    --surface: #ffffff;
    --text: #475259;
    --heading: #2c2f33;
    --muted: #646f7d; /* było #8595a6 (3:1) - WCAG 1.4.3 */
    --line: #e6e9ef;
    --success: #3bd2a2;
    --success-ink: #1f9a74;
    --success-50: #e7f9f3;
    --warning: #f39711;
    --warning-ink: #b86e00;
    --warning-50: #fef3e2;
    --danger: #e44a77;
    --danger-ink: #c62d5a;
    --danger-50: #fce8ee;
    --info: #2eb5c9;
    --blue: #1e88e5;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 .5rem 1.25rem rgba(115, 82, 199, .12);
    --shadow-sm: 0 .2rem .6rem rgba(115, 82, 199, .08);
    --sidebar-w: 248px;
    --font: "Lexend", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 .90625rem/1.6 var(--font); /* 14,5 px; w rem - szanuje ustawienie wielkości czcionki w przeglądarce */ -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--heading); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; margin: .1rem 0 .4rem; line-height: 1.25; }
h2 { font-size: 1.15rem; margin: 1.8rem 0 .9rem; }
h3 { font-size: 1rem; margin: 0 0 .3rem; }
code { font-family: ui-monospace, Consolas, monospace; background: var(--primary-50); color: var(--primary-600); padding: 1px 6px; border-radius: 5px; font-size: .88em; }
pre.code { white-space: pre-wrap; word-break: break-word; background: #2c2f33; color: #e6e9ef; padding: 12px 14px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .85em; }
.ic { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .86em; }
.nowrap { white-space: nowrap; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
.grow { flex: 1; min-width: 0; }
.center { text-align: center; }
.hidden { display: none !important; }
.inline { display: inline; }
.mt { margin-top: 10px; }
.h-flush { margin-top: 0; }
.accent { color: var(--primary); }
.warn-text { color: var(--warning-ink); }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---------- Przyciski ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; cursor: pointer; text-decoration: none !important; white-space: nowrap;
    background: var(--primary); color: #fff; font: 500 .92rem/1 var(--font);
    padding: 11px 18px; border-radius: var(--radius-sm); box-shadow: 0 3px 8px rgba(115, 82, 199, .28);
    transition: background .15s, box-shadow .15s, transform .05s;
}
.btn:hover { background: var(--primary-600); box-shadow: 0 5px 14px rgba(115, 82, 199, .35); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: default; box-shadow: none; }
.btn .ic { width: 18px; height: 18px; }
.btn-small { padding: 7px 12px; font-size: .84rem; }
.btn-lg { padding: 14px 22px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-ghost, .btn-outline { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary-100); }
.btn-ghost:hover, .btn-outline:hover { background: var(--primary-50); box-shadow: inset 0 0 0 1px var(--primary); }
.btn-soft { background: var(--primary-50); color: var(--primary); box-shadow: none; }
.btn-soft:hover { background: var(--primary-100); box-shadow: none; }
.btn-light { background: #fff; color: var(--primary); box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.btn-light:hover { background: #fff; color: var(--primary-600); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn-danger { background: var(--danger); box-shadow: 0 3px 8px rgba(228, 74, 119, .3); }
.btn-danger:hover { background: var(--danger-ink); }
.link { background: none; border: 0; padding: 0; color: var(--primary); font: inherit; cursor: pointer; }
.link:hover { text-decoration: underline; }
.link.danger { color: var(--danger-ink); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--primary-50); color: var(--primary); }

/* ---------- Formularze ---------- */
input, select, textarea {
    font: inherit; color: var(--heading); background: #fff; width: 100%;
    border: 1px solid #d5dae3; border-radius: var(--radius-sm); padding: 10px 12px; min-width: 0;
    transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; line-height: 1.5; }
input:hover, select:hover, textarea:hover { border-color: #b9c1cf; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-100); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--primary); }
.form { display: grid; gap: 14px; margin: 18px 0; }
.form label, .label { display: grid; gap: 6px; font-size: .86rem; font-weight: 500; color: var(--heading); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-section { margin: 6px 0 0; font-weight: 600; color: var(--heading); border-top: 1px solid var(--line); padding-top: 14px; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form input, .inline-form select { width: auto; }
.inline-form input[type=search] { min-width: 240px; }

/* Hasła, walidacja na żywo */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.pw-toggle:hover { color: var(--primary); background: var(--primary-50); }
.pw-toggle svg { width: 19px; height: 19px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pw-gen { border: 0; background: none; color: var(--primary); font: inherit; font-size: .8rem; font-weight: 500; cursor: pointer; padding: 0; }
.pw-gen:hover { text-decoration: underline; }
.pw-strength { display: grid; gap: 6px; font-weight: 400; }
.pw-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.pw-bar span { height: 5px; border-radius: 3px; background: var(--line); transition: background .2s; }
.pw-strength[data-level="1"] .pw-bar span:nth-child(-n+1) { background: var(--danger); }
.pw-strength[data-level="2"] .pw-bar span:nth-child(-n+2) { background: var(--warning); }
.pw-strength[data-level="3"] .pw-bar span:nth-child(-n+3) { background: #8bc34a; }
.pw-strength[data-level="4"] .pw-bar span { background: var(--success); }
.pw-label { font-size: .78rem; color: var(--muted); min-height: 1em; }
.pw-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .76rem; color: var(--muted); }
.pw-checks li::before { content: "○ "; }
.pw-checks li.ok { color: var(--success-ink); }
.pw-checks li.ok::before { content: "✓ "; }
.field-msg { font-size: .78rem; font-weight: 400; min-height: 0; }
.field-msg:empty { display: none; }
.field-msg.is-error { color: var(--danger-ink); }
.field-msg.is-ok { color: var(--success-ink); }
.field-msg.is-info { color: var(--muted); }
input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-50); }
input.is-valid { border-color: var(--success); }
.platforms.is-invalid .platform span { border-color: var(--danger); }
.check-label { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 400 !important; cursor: pointer; }
.form-inline-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.caps-warn { margin: -4px 0 0; color: var(--warning-ink); }
.form-row-top { align-items: start; }

/* ---------- Karty ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 18px; }
.card-link { display: block; color: var(--text); text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 .8rem 1.8rem rgba(115, 82, 199, .18); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.grid2.tight { gap: 14px; grid-template-columns: 1fr 1fr; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 20px; margin-bottom: 4px; }
.grid2 > *, .grid3 > *, .grid4 > * { min-width: 0; }

.stat { display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }
.stat strong { font-size: 1.55rem; font-weight: 600; color: var(--heading); line-height: 1.2; }
.stat .muted.small:first-child { font-weight: 500; }
/* Kolorowe kafle jak w Jumbo */
.stats-colorful > .stat { color: rgba(255, 255, 255, .88); box-shadow: 0 .6rem 1.4rem rgba(44, 47, 51, .14); }
.stats-colorful > .stat strong, .stats-colorful > .stat .muted { color: #fff; position: relative; z-index: 1; }
.stats-colorful > .stat .muted { opacity: .88; }
.stats-colorful > .stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.stats-colorful > .stat::before { content: ""; position: absolute; right: 30px; bottom: -50px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.stats-colorful > .stat:nth-child(4n+1) { background: linear-gradient(135deg, #7352c7, #9b7ee6); }
.stats-colorful > .stat:nth-child(4n+2) { background: linear-gradient(135deg, #e44a77, #f27a9c); }
.stats-colorful > .stat:nth-child(4n+3) { background: linear-gradient(135deg, #2eb5c9, #5fd3e2); }
.stats-colorful > .stat:nth-child(4n+4) { background: linear-gradient(135deg, #f39711, #f7b955); }
.stat-accent { border-left: 4px solid var(--primary); }

/* ---------- Tabele ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 18px; }
.table th, .table td { padding: 12px 16px; text-align: left; vertical-align: middle; }
.table thead th { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: #fafbfd; border-bottom: 1px solid var(--line); }
.table tbody tr + tr td { border-top: 1px solid var(--line); }
.table tbody tr:hover td { background: #fbfaff; }
.table select { padding: 6px 8px; font-size: .85rem; }

/* ---------- Pigułki, tagi, role ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 500; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-big { font-size: .86rem; padding: 7px 14px; }
.pill-ok { background: var(--success-50); color: var(--success-ink); }
.pill-warn { background: var(--warning-50); color: var(--warning-ink); }
.pill-bad { background: var(--danger-50); color: var(--danger-ink); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--primary-50); color: var(--primary); }
.tag-allegro { background: #fff0e6; color: #e65a00; }
.tag-crawl { background: #e8f7fa; color: #1a8a9b; }
.role { display: inline-block; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 6px; vertical-align: middle; }
.role-user { background: #e8f2fd; color: #1565c0; }
.role-shop_owner { background: var(--warning-50); color: var(--warning-ink); }
.role-admin { background: var(--primary-50); color: var(--primary); }
.chip { border: 1px dashed var(--primary-100); background: #fff; color: var(--primary); border-radius: 99px; padding: 5px 12px; font: inherit; font-size: .82rem; cursor: pointer; }
.chip:hover { background: var(--primary-50); }
.chip:disabled { opacity: .45; cursor: default; }

/* ---------- Komunikaty ---------- */
.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; background: var(--success-50); color: var(--success-ink); border-left: 4px solid var(--success); }
.flash-error { background: var(--danger-50); color: var(--danger-ink); border-left-color: var(--danger); }
.flash-info { background: var(--primary-50); color: var(--primary-600); border-left-color: var(--primary); }
.empty { text-align: center; padding: 44px 16px; color: var(--muted); background: var(--surface); border-radius: var(--radius); border: 2px dashed var(--line); }
.small-empty { padding: 24px 16px; }
.notice-card { border-left: 4px solid var(--warning); }

/* =====================================================================
   Układ aplikacji: panel boczny + nagłówek
   ===================================================================== */
.shell { display: flex; min-height: 100vh; }
.sidebar {
    width: var(--sidebar-w); flex: none; background: var(--surface); position: sticky; top: 0; height: 100vh;
    display: flex; flex-direction: column; box-shadow: 0 0 1.5rem rgba(115, 82, 199, .08); z-index: 30; overflow-y: auto;
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 22px 22px 18px; font-weight: 600; font-size: 1.05rem; color: var(--heading); text-decoration: none !important; }
.logo-img { width: 38px; height: 38px; flex: none; border-radius: 11px; box-shadow: 0 4px 10px rgba(115, 82, 199, .3); }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-size: 1.12rem; font-weight: 700; color: var(--heading); letter-spacing: -.01em; }
.brand-text em { font-style: normal; color: #f0601e; } /* kolor z logo (wulpio-logo.svg); logo jest zwolnione z wymogu kontrastu WCAG 1.4.3 */
.brand-text small { font-size: .7rem; font-weight: 400; color: var(--muted); letter-spacing: .02em; }
.logo { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #7352c7, #a68bf0); color: #fff; box-shadow: 0 4px 10px rgba(115, 82, 199, .35); }
.logo .ic { width: 20px; height: 20px; }
.sidebar-nav { padding: 6px 0 20px; }
.nav-section { margin: 18px 22px 6px; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav-link {
    display: flex; align-items: center; gap: 14px; margin-right: 18px; padding: 11px 22px;
    color: var(--text); text-decoration: none !important; border-radius: 0 24px 24px 0; font-weight: 400; transition: background .15s, color .15s;
}
.nav-link .ic { color: var(--muted); }
.nav-link:hover { background: var(--bg); color: var(--primary); }
.nav-link:hover .ic { color: var(--primary); }
.nav-link.active { background: var(--primary-50); color: var(--primary); font-weight: 500; position: relative; }
.nav-link.active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--primary); }
.nav-link.active .ic { color: var(--primary); }
.sidebar-promo { margin: auto 16px 20px; padding: 16px; border-radius: var(--radius); background: linear-gradient(135deg, #7352c7, #9b7ee6); color: rgba(255, 255, 255, .9); display: grid; gap: 4px; font-size: .82rem; }
.sidebar-promo strong { color: #fff; font-weight: 600; }
.sidebar-promo .ic { color: #fff; margin-bottom: 4px; }
.sidebar-backdrop { display: none; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.header {
    position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px;
    height: 72px; padding: 0 28px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 var(--line);
}
.menu-toggle { display: none; }
.header-title { font-weight: 600; color: var(--heading); font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-search { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 24px; padding: 0 16px; width: min(420px, 100%); color: var(--muted); }
.header-search input { border: 0; background: transparent; padding: 10px 0; box-shadow: none; }
.header-search input:focus { box-shadow: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 4px 6px; border-radius: 24px; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary:hover { background: var(--bg); }
.avatar { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--primary-100); color: var(--primary); font-weight: 600; font-size: .85rem; }
.user-meta { display: grid; line-height: 1.25; }
.user-meta strong { color: var(--heading); font-weight: 500; font-size: .88rem; }
.user-meta small { color: var(--muted); font-size: .76rem; }
.user-dropdown { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: var(--radius); box-shadow: 0 .8rem 2rem rgba(44, 47, 51, .16); padding: 14px; min-width: 220px; display: grid; gap: 8px; }
.dropdown-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: none; border-radius: var(--radius-sm); color: var(--text); font: inherit; cursor: pointer; text-align: left; }
.dropdown-item { text-decoration: none !important; }
.dropdown-item:hover { background: var(--primary-50); color: var(--primary); }
.content { padding: 28px; flex: 1; width: 100%; }
.footer { padding: 18px 28px; color: var(--muted); font-size: .8rem; }
.verify-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 28px; background: var(--primary-50); color: var(--primary-600); font-size: .88rem; border-bottom: 1px solid var(--primary-100); }
.verify-bar .ic { width: 18px; height: 18px; }
.verify-bar span { flex: 1; min-width: 220px; }
.impersonation { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 28px; background: linear-gradient(90deg, #f39711, #f7b955); color: #fff; font-size: .9rem; }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { margin-bottom: 2px; }
.page-head p { margin: 0; }
.head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; background: var(--surface); padding: 4px; border-radius: 10px; box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.tabs a { padding: 7px 14px; border-radius: 8px; color: var(--text); font-size: .86rem; text-decoration: none; }
.tabs a.active { background: var(--primary); color: #fff; }
.tabs a:not(.active):hover { background: var(--primary-50); }

/* ---------- Przypomnienia o uzupełnieniu ---------- */
.restock { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: .86rem; }
.restock-ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--primary-50); color: var(--primary); flex: none; }
.restock-ico .ic { width: 16px; height: 16px; }
.restock-text { flex: 1; min-width: 200px; }
.restock-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.restock.is-due { background: var(--warning-50); box-shadow: inset 0 0 0 1px #f8d49a; }
.restock.is-due .restock-ico { background: var(--warning); color: #fff; }
.restock-off { justify-content: flex-start; }
.restock-edit { position: relative; }
.restock-edit summary { list-style: none; cursor: pointer; }
.restock-edit summary::-webkit-details-marker { display: none; }
.restock-form { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; gap: 8px; width: 280px; padding: 14px; background: #fff; border-radius: 12px; box-shadow: 0 .8rem 2rem rgba(44, 47, 51, .18); }
.days-input { width: 64px !important; padding: 4px 6px !important; display: inline-block; }
.soon-list { display: grid; gap: 10px; }
.soon-row { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 16px; }
.soon-row .grow { display: grid; }
.soon-when { font-size: .8rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--primary-50); color: var(--primary); white-space: nowrap; }
.soon-when.is-due { background: var(--warning-50); color: var(--warning-ink); }

/* ---------- Podpowiedzi produktów ---------- */
.suggest-wrap { position: relative; display: block; flex: 1; min-width: 0; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; background: #fff; border-radius: var(--radius); box-shadow: 0 .8rem 2rem rgba(44, 47, 51, .18); padding: 6px; max-height: 360px; overflow-y: auto; font-weight: 400; }
.suggest-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; cursor: pointer; color: var(--heading); font-size: .9rem; }
.suggest-item:hover, .suggest-item.active { background: var(--primary-50); }
.suggest-item mark { background: none; color: var(--primary); font-weight: 600; }
.suggest-hint { font-size: .75rem; color: var(--muted); white-space: nowrap; }
.suggest-item.is-ai .suggest-hint { color: var(--primary); }
.suggest-item.is-ai .suggest-hint::before { content: "✦ "; }
.suggest-ai-loading { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: .8rem; color: var(--muted); }

/* ---------- Porada Wulpio ---------- */
.advice { border-left: 4px solid var(--primary); }
.advice-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.advice-head .grow { display: grid; }
.advice-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #7352c7, #a68bf0); color: #fff; flex: none; }
.doc { padding: 28px 32px; max-width: 1000px; }
.doc h1 { font-size: 1.6rem; } .doc h2 { margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid var(--line); } .doc h1 + p, .doc h2:first-child { border: 0; }
.doc p, .doc li { line-height: 1.7; }
.doc blockquote { margin: 1rem 0; padding: 12px 16px; border-left: 4px solid var(--primary); background: var(--primary-50); border-radius: 0 10px 10px 0; color: var(--primary-600); }
.doc .table { box-shadow: none; border: 1px solid var(--line); margin: 1rem 0; }
.doc .table td, .doc .table th { padding: 10px 12px; vertical-align: top; font-size: .9rem; }
.doc pre.code { margin: .8rem 0; }
.ai-answer { display: grid; gap: 6px; }
.ai-answer pre { white-space: pre-wrap; margin: 0; }
.advice-body ul { margin: 14px 0 6px; padding-left: 20px; display: grid; gap: 6px; }

/* ---------- Dzwonek powiadomień ---------- */
.notif-menu { position: relative; }
.notif-menu summary { list-style: none; position: relative; }
.notif-menu summary::-webkit-details-marker { display: none; }
.notif-menu[open] summary { background: var(--primary-50); color: var(--primary); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: .68rem; font-weight: 600; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.notif-dropdown { position: absolute; right: -60px; top: calc(100% + 10px); width: min(380px, calc(100vw - 32px)); background: #fff; border-radius: var(--radius); box-shadow: 0 .8rem 2rem rgba(44, 47, 51, .18); overflow: hidden; z-index: 40; }
.notif-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--heading); }
.notif-empty { padding: 18px 16px; margin: 0; }
.notif-list { list-style: none; margin: 0; padding: 6px 0; max-height: 420px; overflow-y: auto; }
.notif-list a { display: flex; gap: 12px; padding: 10px 16px; color: var(--text); text-decoration: none; }
.notif-list a:hover { background: var(--bg); }
.notif-list li.unread a { background: #faf8ff; }
.notif-list li.unread strong::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); margin-left: 6px; vertical-align: middle; }
.notif-ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex: none; }
.notif-ico .ic { width: 18px; height: 18px; }
.tone-warn { background: var(--warning-50); color: var(--warning); }
.tone-ok { background: var(--success-50); color: var(--success-ink); }
.tone-bad { background: var(--danger-50); color: var(--danger); }
.tone-info { background: var(--primary-50); color: var(--primary); }
.notif-body { display: grid; gap: 1px; min-width: 0; font-size: .86rem; }
.notif-body strong { color: var(--heading); font-weight: 500; }
.notif-body small { font-size: .78rem; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Listy zakupów ---------- */
.list-card h3 { font-size: 1.05rem; }
.list-total { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.list-total strong { color: var(--primary); font-size: 1.2rem; }
.list-summary { display: flex; gap: 10px; flex-wrap: wrap; }
.list-summary > div { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 10px 16px; display: grid; min-width: 110px; }
.list-summary strong { font-size: 1.15rem; color: var(--heading); font-weight: 600; }
.list-summary > div:last-child { background: var(--primary); }
.list-summary > div:last-child span, .list-summary > div:last-child strong { color: #fff; }
.progress { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 14px 18px; margin-bottom: 18px; }
.progress-text { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--heading); margin-bottom: 10px; }
.progress-text [data-progress-count] { margin-left: auto; color: var(--muted); font-weight: 400; }
.progress-bar { height: 6px; background: var(--primary-50); border-radius: 99px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, #7352c7, #a68bf0); border-radius: 99px; transition: width .4s ease; }

.items { display: grid; gap: 16px; }
.item { margin: 0; padding: 18px 20px; scroll-margin-top: 90px; }
.item.just-updated { animation: pop .6s ease; }
@keyframes pop { from { box-shadow: 0 0 0 3px var(--primary-100), var(--shadow); } to { box-shadow: var(--shadow); } }
.item-head { display: flex; justify-content: space-between; gap: 14px; }
.item-head h3 { font-size: 1.02rem; }
.item-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.item-meta span { background: var(--bg); padding: 2px 8px; border-radius: 6px; }
.item-meta .alert-chip { background: var(--warning-50); color: var(--warning-ink); }
.best { text-align: right; flex: none; }
.best strong { display: block; font-size: 1.35rem; font-weight: 600; color: var(--primary); }
.offers { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.offer { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #fafbfd; border: 1px solid var(--line); }
.offer-best { background: var(--primary-50); border-color: var(--primary-100); }
.offer-title { flex: 1; min-width: 0; display: grid; }
.offer-price { white-space: nowrap; color: var(--heading); display: grid; justify-items: end; line-height: 1.3; }
.offer-price small { color: var(--muted); font-size: .75rem; }
.unit-best { display: block; font-size: .78rem; color: var(--muted); }
.unit-badge { display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--success-50); color: var(--success-ink); font-weight: 500; }
.more-offers { margin-top: 8px; }
.more-offers summary { cursor: pointer; color: var(--primary); font-size: .88rem; }
.no-offers { margin: 12px 0 0; padding: 12px; background: var(--bg); border-radius: 10px; font-size: .9rem; }
.item-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.alert-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.switch { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: .88rem; }
.price-input { display: inline-flex; align-items: center; gap: 6px; }
.price-input input { width: 90px; padding: 6px 8px; }
.item-tools { display: flex; align-items: center; gap: 14px; }
.searching { margin-top: 12px; display: grid; gap: 8px; }
.searching p { margin: 0; }
.skeleton { display: block; height: 42px; border-radius: 10px; background: linear-gradient(90deg, #f0f2f6 25%, #f8f9fb 50%, #f0f2f6 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
.skeleton.short { width: 70%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.spinner { display: inline-block; width: 26px; height: 26px; border: 3px solid var(--primary-100); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
.spinner.small { width: 16px; height: 16px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.add-items { margin-top: 20px; }
.add-items label { display: block; margin-bottom: 10px; }
.add-row { display: flex; gap: 10px; align-items: flex-start; }
.add-row textarea { flex: 1; }
.list-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hint-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.narrow { max-width: 480px; margin: 0 auto; }
.narrow-wide { max-width: 680px; margin: 0 auto; }

.alerts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.alert-row { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 18px; }
.alert-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--warning-50); color: var(--warning); flex: none; }

/* ---------- Rejestracja ---------- */
.segmented { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.segment { cursor: pointer; }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment > span { display: grid; gap: 2px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; height: 100%; }
.segment > span .ic { color: var(--primary); width: 26px; height: 26px; margin-bottom: 6px; }
.segment strong { color: var(--heading); font-weight: 600; }
.segment small { color: var(--muted); font-weight: 400; }
.segment input:checked + span { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px var(--primary-100); }
.segment input:focus-visible + span { outline: 2px solid var(--primary); }
.shop-fields { display: grid; gap: 14px; }
.shop-fields[hidden] { display: none; }
.platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr)); gap: 8px; }
.platform { cursor: pointer; }
.platform input { position: absolute; opacity: 0; pointer-events: none; }
.platform span { display: block; text-align: center; padding: 10px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; font-size: .88rem; background: #fff; }
.platform input:checked + span { border-color: var(--primary); background: var(--primary-50); color: var(--primary); }

/* ---------- Panel sklepu ---------- */
.onboarding { border-top: 4px solid var(--primary); }
.onboarding-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.onboarding-head h2 { margin: 0; }
.steps { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bg); border-radius: 10px; font-size: .88rem; }
.step-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: #fff; color: var(--muted); font-weight: 600; font-size: .8rem; box-shadow: inset 0 0 0 1.5px var(--line); }
.steps li.done { background: var(--success-50); color: var(--success-ink); }
.steps li.done .step-dot { background: var(--success); color: #fff; box-shadow: none; }
.onboarding-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: 8px; }
.howto { padding-left: 20px; color: var(--text); }
.howto li { margin: 4px 0; }
.copy-grid { display: grid; gap: 14px; }
.copy { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.copy code { flex: 1; min-width: 0; padding: 9px 12px; background: var(--bg); color: var(--heading); border-radius: var(--radius-sm); word-break: break-all; font-size: .84rem; }
.copy-key code { background: var(--warning-50); color: var(--warning-ink); font-weight: 600; }
.keybox { border-left: 4px solid var(--warning); }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 10px 0 14px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
details.card > summary { cursor: pointer; }
.plugins { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-bottom: 20px; }
.plugin { display: flex; flex-direction: column; margin: 0; }
.plugin .howto { flex: 1; }
.plugin-mine { box-shadow: 0 0 0 2px var(--primary), var(--shadow); }
.plugin-soon { opacity: 1; }
.plugin-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.plugin-head > div { flex: 1; }
.plugin-head p { margin: 0; }
.plugin-logo { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: #fff; font-weight: 700; font-size: 1.2rem; }
.plugin-logo-woocommerce { background: linear-gradient(135deg, #7f54b3, #a37bd6); }
.plugin-logo-prestashop { background: linear-gradient(135deg, #df0067, #f0559a); }
.plugin-logo-shoper { background: linear-gradient(135deg, #1e88e5, #5eb0f2); }
.plugin-logo-shopify { background: linear-gradient(135deg, #5a8e3a, #95bf47); }
.api-list li { margin: 6px 0; }
.danger-zone { border-left: 4px solid var(--danger); }

/* ---------- Wykres admina ---------- */
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.chart-head h2 { margin: 0; }
.legend { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 8px; }
.lg-users, .bar-users { background: #7352c7; }
.lg-clicks, .bar-clicks { background: #2eb5c9; }
.lg-orders, .bar-orders { background: #f39711; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 8px; height: 220px; margin-top: 18px; align-items: end; }
.bar-group { display: flex; flex-direction: column; height: 100%; gap: 6px; }
.bar-stack { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 3px; border-bottom: 1px solid var(--line); }
.bar { width: 28%; max-width: 12px; min-height: 2px; border-radius: 4px 4px 0 0; }
.bar-label { text-align: center; font-size: .7rem; color: var(--muted); }

/* =====================================================================
   Logowanie / rejestracja (układ dzielony)
   ===================================================================== */
.auth-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.auth-form-side { display: flex; flex-direction: column; padding: 28px 48px; background: var(--bg); }
.auth-form-side .sidebar-brand { padding: 0; }
.auth-form-inner { width: 100%; max-width: 480px; margin: auto; padding: 32px 0; }
.auth-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 4px; }
.auth-art { margin: 16px; border-radius: 16px; background: linear-gradient(150deg, #7352c7 0%, #8b6ddb 55%, #a68bf0 100%); color: #fff; display: flex; align-items: center; position: relative; overflow: hidden; }
.auth-art::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .08); right: -120px; top: -120px; }
.auth-art::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .06); left: -80px; bottom: -100px; }
.auth-art-inner { position: relative; z-index: 1; padding: 48px; max-width: 560px; }
.auth-art h2 { color: #fff; font-size: 2.2rem; font-weight: 400; line-height: 1.2; margin: 0 0 14px; }
.auth-art p { color: rgba(255, 255, 255, .85); font-size: 1rem; }
.auth-mock { margin-top: 28px; background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 1.5rem 3rem rgba(30, 10, 80, .3); color: var(--text); display: grid; gap: 8px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: .9rem; }
.mock-row span:nth-child(2) { flex: 1; }
.mock-row strong { color: var(--primary); }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.mock-alert { background: var(--warning-50); color: var(--warning-ink); }

/* =====================================================================
   Strona główna (landing)
   ===================================================================== */
.public { background: #fff; }
.public-nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.public-nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; flex-wrap: wrap; }
.public-nav .sidebar-brand { padding: 0; }
.public-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.public-links a:not(.btn) { color: var(--text); }
.public-links a:not(.btn):hover { color: var(--primary); text-decoration: none; }
.landing-hero { background: radial-gradient(1200px 500px at 85% 0%, #ece6fb 0%, rgba(236, 230, 251, 0) 60%), var(--bg); padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-grid h1 { font-size: 2.9rem; font-weight: 700; line-height: 1.12; margin: 16px 0; }
.lead { font-size: 1.12rem; color: var(--text); max-width: 600px; }
.lead.light { color: rgba(255, 255, 255, .85); }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: #fff; color: var(--primary); font-weight: 500; font-size: .85rem; box-shadow: var(--shadow-sm); }
.eyebrow-pill .ic, .eyebrow-pill img { width: 18px; height: 18px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
.hero-points .ic { color: var(--success-ink); width: 18px; height: 18px; }
.hero-visual { position: relative; }
.mock-card { background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 2rem 4rem rgba(115, 82, 199, .22); display: grid; gap: 10px; transform: rotate(1.2deg); }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; color: var(--heading); }
.mock-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; background: var(--bg); }
.mock-item small { display: block; color: var(--muted); font-size: .78rem; }
.mock-item strong { color: var(--primary); }
.mock-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--primary-50); color: var(--primary); }
.mock-ico .ic { width: 18px; height: 18px; }
.mock-alert-box { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, #f39711, #f7b955); color: #fff; }
.mock-alert-box small { display: block; opacity: .9; }
.mock-caption { text-align: center; color: var(--muted); font-size: .78rem; margin-top: 14px; }

.landing-section { padding: 72px 0; }
.landing-section.alt { background: var(--bg); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: 2rem; margin: 8px 0 0; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.step-card { padding: 28px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; box-shadow: 0 4px 12px rgba(115, 82, 199, .35); }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 22px; margin-bottom: 36px; }
.benefit { background: #fff; border-radius: 16px; padding: 26px; box-shadow: var(--shadow-sm); }
.benefit p { margin: 0; }
.benefit-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 14px; color: #fff; }
.benefit-ico.c1 { background: linear-gradient(135deg, #7352c7, #9b7ee6); }
.benefit-ico.c2 { background: linear-gradient(135deg, #f39711, #f7b955); }
.benefit-ico.c3 { background: linear-gradient(135deg, #2eb5c9, #5fd3e2); }
.benefit-ico.c4 { background: linear-gradient(135deg, #3bd2a2, #6be3bd); }

.shops-section { background: linear-gradient(150deg, #5e3fb2 0%, #7352c7 50%, #8f73df 100%); color: #fff; position: relative; overflow: hidden; }
.shops-section h2 { color: #fff; font-size: 2rem; margin: 10px 0 14px; }
.eyebrow.light { color: rgba(255, 255, 255, .8); }
.shops-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.shop-benefits { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 16px; }
.shop-benefits li { display: flex; gap: 14px; align-items: flex-start; }
.shop-benefits .ic { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .16); color: #fff; }
.shop-benefits strong { display: block; color: #fff; font-weight: 600; }
.shop-benefits span { color: rgba(255, 255, 255, .82); font-size: .92rem; }
.calc { color: var(--text); padding: 26px; margin: 0; border-radius: 18px; box-shadow: 0 2rem 4rem rgba(30, 10, 80, .3); }
.calc h3 { font-size: 1.2rem; }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.calc-inputs label { display: grid; gap: 6px; font-size: .82rem; font-weight: 500; color: var(--heading); }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-results > div { background: var(--bg); border-radius: 12px; padding: 12px 14px; display: grid; }
.calc-results span { font-size: .8rem; color: var(--muted); }
.calc-results strong { font-size: 1.2rem; color: var(--heading); font-weight: 600; }
.calc-results .calc-main { grid-column: 1 / -1; background: linear-gradient(135deg, #1f9a74, #3bd2a2); }
.calc-main span { color: rgba(255, 255, 255, .92); }
.calc-main strong { color: #fff; font-size: 1.6rem; }

.landing-hero .accent { color: #c24e00; }
/* Hero: karta asystenta */
.asst-card { transform: rotate(1deg); gap: 9px; }
.asst-q { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: var(--bg); color: var(--heading); font-weight: 500; }
.asst-q-ico { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--primary); color: #fff; }
.asst-q-ico .ic { width: 16px; height: 16px; }
.asst-label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); margin-top: 4px; }
.asst-offer { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); }
.asst-offer.is-best { background: var(--primary-50); border-color: var(--primary-100); }
.asst-shop { font-weight: 500; color: var(--heading); display: flex; align-items: center; gap: 8px; }
.asst-shop em { font-style: normal; font-size: .7rem; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--success-50); color: var(--success-ink); }
.asst-price { display: grid; justify-items: end; line-height: 1.25; }
.asst-price strong { color: var(--primary); }
.asst-price small { font-size: .72rem; color: var(--muted); }
.asst-cycle { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: .82rem; }
.asst-cycle .ic { width: 16px; height: 16px; color: var(--primary); flex: none; }
.asst-toast { position: relative; z-index: 2; display: flex; gap: 12px; align-items: flex-start; margin: -18px 18px 0 -26px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #f39711, #f7b955); color: #fff; box-shadow: 0 1rem 2.4rem rgba(243, 151, 17, .35); transform: rotate(-1.5deg); }
.asst-toast img { border-radius: 10px; flex: none; }
.asst-toast strong { display: block; font-size: .95rem; }
.asst-toast span { font-size: .84rem; opacity: .95; }
/* Trzy filary */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { background: #fff; border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.pillar h3 { font-size: 1.15rem; margin-top: 4px; }
.pillar p { margin: 0 0 12px; }
.ticks-sm { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .86rem; }
.ticks-sm li::before { content: "✓ "; color: var(--success-ink); font-weight: 700; }
/* Oś czasu */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--primary-100), var(--primary)); }
.timeline li { display: grid; grid-template-columns: 100px 1fr; gap: 36px; align-items: start; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 112px; top: 14px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--primary); }
.tl-day { text-align: right; font-weight: 600; color: var(--primary); padding-top: 8px; font-size: .9rem; }
.tl-card { background: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow-sm); }
.tl-card h3 { margin-bottom: 4px; }
.tl-card p { margin: 0; font-size: .92rem; }
.tl-card.is-hl { background: var(--warning-50); box-shadow: inset 0 0 0 1px #f8d49a; }
.tl-card.is-hl h3 { color: var(--warning-ink); }
/* Bielik */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ai-grid h2 { font-size: 2rem; margin: 8px 0 10px; }
.ai-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.ai-list li { display: flex; gap: 14px; align-items: flex-start; }
.ai-list .ic { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--primary-50); color: var(--primary); }
.ai-list strong { display: block; color: var(--heading); }
.ai-list span { font-size: .9rem; }
.ai-card { padding: 24px; margin: 0; }
.ai-chat { display: grid; gap: 10px; margin-bottom: 12px; }
.ai-msg { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: .92rem; line-height: 1.5; }
.ai-msg.user { justify-self: end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.ai-msg.bot { justify-self: start; background: var(--bg); color: var(--text); border-bottom-left-radius: 4px; }
.cta-logo { border-radius: 16px; margin-bottom: 10px; }
.faq { max-width: 760px; }
.faq details { background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 500; color: var(--heading); }
.faq details p { margin: 10px 0 0; }
.landing-cta { background: var(--heading); color: #fff; padding: 56px 0; }
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; font-size: 1.8rem; margin: 0; }
.cta-inner .actions { justify-content: center; }
.public-footer { padding: 24px 0; border-top: 1px solid var(--line); font-size: .85rem; }
.public-footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.public main > .wrap .flash { margin-top: 16px; }

/* =====================================================================
   PWA: dolna nawigacja, baner instalacji, instrukcje
   ===================================================================== */
.bottom-nav { display: none; }
.install-banner { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; background: #fff; border-radius: 16px; box-shadow: 0 1rem 2.5rem rgba(44, 47, 51, .25); }
.install-banner[hidden] { display: none; }
.install-banner img { border-radius: 12px; flex: none; }
.install-banner .grow { display: grid; font-size: .82rem; line-height: 1.35; }
.install-banner strong { color: var(--heading); font-size: .92rem; }
.install-banner .icon-btn { width: 32px; height: 32px; font-size: .9rem; color: var(--muted); }
.ios-sheet { position: fixed; inset: 0; z-index: 70; background: rgba(44, 47, 51, .45); display: flex; align-items: flex-end; justify-content: center; }
.ios-sheet[hidden] { display: none; }
.ios-sheet-card { background: #fff; width: min(440px, 100%); border-radius: 20px 20px 0 0; padding: 24px 22px calc(24px + env(safe-area-inset-bottom)); text-align: center; }
.ios-sheet-card img { border-radius: 14px; }
.ios-sheet-card ol { text-align: left; display: grid; gap: 8px; margin: 14px 0 20px; }
.ios-share { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: var(--primary-50); color: #1e88e5; font-size: .8rem; }

/* ---------- Strona /aplikacja ---------- */
.appx { display: grid; gap: 28px; }
.appx-public { max-width: 1180px; margin: 0 auto; padding: 40px 16px 64px; }
.appx-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: radial-gradient(900px 420px at 90% 10%, #ece6fb 0%, rgba(236, 230, 251, 0) 65%), var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 44px 44px 36px; overflow: hidden; }
.appx-hero h1 { font-size: 2.5rem; line-height: 1.12; margin: 16px 0 14px; font-weight: 700; }
.appx-hero .accent { color: #c24e00; }
.appx-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.appx-installed { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 14px; border-radius: 10px; background: var(--success-50); color: var(--success-ink); font-weight: 500; }
.appx-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.appx-glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(115, 82, 199, .28), rgba(115, 82, 199, 0) 70%); }
.appx-phone { position: relative; width: 236px; height: 460px; border-radius: 38px; background: #1f2226; padding: 11px; box-shadow: 0 2rem 4rem rgba(60, 30, 120, .35), inset 0 0 0 2px #3a3f46; transform: rotate(-3deg); }
.appx-notch { position: absolute; top: 18px; left: 50%; width: 76px; height: 20px; margin-left: -38px; background: #1f2226; border-radius: 12px; z-index: 2; }
.appx-screen { position: relative; height: 100%; border-radius: 28px; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; gap: 7px; padding: 34px 11px 0; }
.appx-status { position: absolute; top: 9px; left: 20px; right: 18px; display: flex; justify-content: space-between; font-size: .58rem; font-weight: 600; color: var(--heading); }
.appx-appbar { display: flex; align-items: center; gap: 8px; padding: 8px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); }
.appx-appbar img { width: 28px; height: 28px; border-radius: 8px; }
.appx-appbar strong { display: block; font-size: .72rem; color: var(--heading); }
.appx-appbar small { display: block; font-size: .56rem; color: var(--muted); }
.appx-row { display: flex; align-items: center; gap: 7px; padding: 8px 9px; background: #fff; border-radius: 10px; font-size: .64rem; box-shadow: var(--shadow-sm); }
.appx-row strong { color: var(--primary); font-size: .66rem; }
.appx-row.is-deal { box-shadow: 0 0 0 1.5px #f39711, var(--shadow-sm); }
.appx-name { flex: 1; display: grid; color: var(--heading); line-height: 1.25; }
.appx-name small { color: var(--muted); font-size: .54rem; }
.appx-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); flex: none; }
.appx-tabbar { margin-top: auto; display: flex; justify-content: space-around; align-items: center; padding: 8px 4px 14px; background: #fff; border-top: 1px solid var(--line); color: var(--muted); }
.appx-tabbar .ic { width: 16px; height: 16px; }
.appx-plus { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--primary); color: #fff; margin-top: -8px; }
.appx-toast { position: absolute; top: 46px; right: -6px; width: 230px; display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; background: rgba(255, 255, 255, .97); border-radius: 16px; box-shadow: 0 1rem 2.4rem rgba(44, 47, 51, .2); font-size: .74rem; animation: appx-drop 3.6s ease-in-out infinite; }
.appx-toast img { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.appx-toast strong { display: block; color: var(--heading); font-size: .72rem; }
.appx-toast span { color: var(--text); line-height: 1.35; }
.appx-homeicon { position: absolute; left: 4px; bottom: 54px; display: grid; justify-items: center; gap: 5px; padding: 12px; background: rgba(255, 255, 255, .9); border-radius: 18px; box-shadow: 0 1rem 2rem rgba(44, 47, 51, .16); font-size: .7rem; color: var(--heading); transform: rotate(4deg); }
.appx-homeicon img { width: 54px; height: 54px; border-radius: 15px; box-shadow: 0 6px 14px rgba(115, 82, 199, .35); }
@keyframes appx-drop { 0%, 12% { transform: translateY(-8px); opacity: 0; } 22%, 85% { transform: none; opacity: 1; } 100% { transform: translateY(-8px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .appx-toast { animation: none; } }
.appx-device { display: flex; align-items: center; gap: 14px; margin: 0; border-left: 4px solid var(--primary); }
.appx-device .grow { display: grid; gap: 2px; }
.appx-device strong { color: var(--heading); }
.appx-device-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--primary-50); color: var(--primary); flex: none; }
.appx-device.is-ok { border-left-color: var(--success); }
.appx-device.is-ok .appx-device-ico { background: var(--success-50); color: var(--success-ink); }
.appx-device.is-warn { border-left-color: var(--warning); }
.appx-device.is-warn .appx-device-ico { background: var(--warning-50); color: var(--warning-ink); }
.appx-device.is-installed { border-left-color: var(--success); background: var(--success-50); }
.appx-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius); background: var(--warning-50); color: var(--warning-ink); font-size: .9rem; }
.appx-note .ic { flex: none; margin-top: 2px; }
.appx-section .section-head { margin-bottom: 26px; }
.appx-section .section-head h2 { font-size: 1.7rem; }
.appx-section .section-head p { margin: 6px 0 0; }
.appx-section .benefits { margin-bottom: 0; }
.appx-section .benefit { box-shadow: var(--shadow); }
.appx-tabs { display: flex; gap: 4px; justify-content: center; width: fit-content; margin: 0 auto 22px; padding: 5px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.appx-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font: inherit; font-weight: 500; padding: 10px 18px; border-radius: 10px; cursor: pointer; color: var(--text); }
.appx-tabs button .ic { width: 17px; height: 17px; }
.appx-tabs button.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(115, 82, 199, .35); }
.appx-tabs button:not(.active):hover { background: var(--primary-50); }
.appx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; position: relative; }
.appx-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); }
.appx-steps .step-num { margin: 0; flex: none; }
.appx-steps h3 { margin: 4px 0 6px; }
.appx-steps p { margin: 0; font-size: .92rem; }
.kbd { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); text-align: center; font-weight: 600; color: var(--heading); }
.appx .faq { max-width: 820px; margin: 0 auto; width: 100%; }
.appx-final { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 44px 24px; border-radius: 20px; background: linear-gradient(150deg, #5e3fb2 0%, #7352c7 55%, #8f73df 100%); color: #fff; box-shadow: 0 1.5rem 3rem rgba(115, 82, 199, .3); }
.appx-final img { border-radius: 18px; box-shadow: 0 8px 20px rgba(30, 10, 80, .35); }
.appx-final h2 { color: #fff; font-size: 1.7rem; margin: 6px 0 0; }
.appx-final .actions { justify-content: center; margin-top: 12px; }
@media (max-width: 1000px) {
    .appx-hero { grid-template-columns: 1fr; padding: 32px 26px; }
    .appx-visual { min-height: 420px; }
    .appx-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .appx-public { padding-top: 20px; }
    .appx-hero { padding: 24px 18px; border-radius: 16px; }
    .appx-hero h1 { font-size: 1.85rem; }
    .appx-cta .btn { width: 100%; }
    .appx-visual { min-height: 400px; transform: scale(.9); margin: -14px 0; }
    .appx-toast { right: 0; width: 210px; }
    .appx-homeicon { left: 0; }
    .appx-device { flex-wrap: wrap; }
    .appx-tabs { width: 100%; }
    .appx-tabs button { flex: 1; justify-content: center; padding: 10px 8px; font-size: .85rem; }
    .appx-tabs button .ic { display: none; }
    .appx-final h2 { font-size: 1.4rem; }
}

/* =====================================================================
   Responsywność
   ===================================================================== */
@media (max-width: 1100px) {
    .hero-grid, .shops-grid, .ai-grid { grid-template-columns: 1fr; }
    .pillars { grid-template-columns: 1fr; }
    .hero-visual { max-width: 520px; }
}
@media (max-width: 960px) {
    .header { padding-top: env(safe-area-inset-top); height: calc(64px + env(safe-area-inset-top)); }
    .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .25s ease; }
    body.sidebar-open .sidebar { transform: none; }
    body.sidebar-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(44, 47, 51, .4); z-index: 25; }
    .menu-toggle { display: inline-grid; }
    .header { padding: 0 16px; }
    .content { padding: 20px 16px; }
    .footer { padding: 16px; }
    .auth-split { grid-template-columns: 1fr; }
    .auth-art { display: none; }
    .auth-form-side { padding: 24px 16px; }
}
@media (max-width: 640px) {
    .timeline::before { left: 7px; }
    .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 28px; }
    .timeline li::before { left: 0; top: 4px; }
    .tl-day { text-align: left; padding-top: 0; }
    .asst-toast { margin: -14px 0 0; }
    .restock-form { right: auto; left: -120px; }
    body.app { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    body.app.has-install-banner .install-banner { bottom: calc(80px + env(safe-area-inset-bottom)); }
    .bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line), 0 -6px 18px rgba(44, 47, 51, .06); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
    .bottom-nav a { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 6px 4px; font-size: .7rem; color: var(--muted); text-decoration: none; border-radius: 12px; }
    .bottom-nav a .ic { width: 22px; height: 22px; }
    .bottom-nav a.active { color: var(--primary); }
    .bottom-nav a.active .ic { stroke-width: 2.2; }
    .bottom-nav-main .ic { background: var(--primary); color: #fff; border-radius: 12px; padding: 6px; width: 34px !important; height: 34px !important; margin-top: -10px; box-shadow: 0 4px 12px rgba(115, 82, 199, .4); }
    .footer { display: none; }
    .sidebar-promo { display: none; }
    .hero-grid h1 { font-size: 2.1rem; }
    .section-head h2, .shops-section h2 { font-size: 1.6rem; }
    .landing-section { padding: 52px 0; }
    .public-links a:not(.btn) { display: none; }
    .user-meta, .hide-sm { display: none; }
    .header-search { width: auto; flex: 1; }
    .form-row, .calc-inputs, .grid2.tight, .segmented { grid-template-columns: 1fr; }
    .table { display: block; overflow-x: auto; }
    .item-head { flex-direction: column; }
    .best { text-align: left; }
    .offer { flex-wrap: wrap; }
    .offer-title { flex-basis: calc(100% - 70px); }
    .add-row { flex-direction: column; }
    .add-row .btn { width: 100%; }
    .inline-form input[type=search] { min-width: 0; width: 100%; }
    .page-head { align-items: flex-start; }
    .bars { gap: 3px; }
    .bar-label { font-size: .6rem; writing-mode: vertical-rl; transform: rotate(180deg); justify-self: center; }
    .auth-title { font-size: 1.8rem; }
}

/* Opowieść o Wulpio */
.story-section { background: linear-gradient(180deg, #fff7f0 0%, var(--bg, #f5f7fb) 100%); }
.section-head .lead { margin-top: 10px; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story-card { background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 6px 24px rgba(30, 40, 70, .07); position: relative; }
.story-card h3 { margin: 10px 0 6px; font-size: 1.15rem; }
.story-card p { margin: 0; color: var(--muted, #6b7280); line-height: 1.55; font-size: .95rem; }
.story-num { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #f26b1d; }
.story-ico { width: 44px; height: 44px; border-radius: 12px; background: #fff0e5; color: #f26b1d; display: grid; place-items: center; margin-top: 10px; }
.story-ico svg { width: 22px; height: 22px; }
.story-chat { display: flex; align-items: center; background: #1f2440; }
.story-chat .ai-chat { width: 100%; margin: 0; }
.story-chat .ai-msg.bot { background: #fff; color: #1f2440; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .story-grid { grid-template-columns: 1fr; } }

/* ---------- Koszyk Wulpio (z dostawą) ---------- */
.basket { border-left: 4px solid #f26b1d; }
.basket.just-updated { animation: pop .6s ease; }
.basket-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.basket-head .grow { display: grid; min-width: 220px; }
.basket-ico { background: linear-gradient(135deg, #f26b1d, #ffa565); }
.basket-ico svg { width: 22px; height: 22px; }
.basket-total { display: grid; text-align: right; }
.basket-total strong { font-size: 1.35rem; }
.basket-empty { margin: 12px 0 0; }
.basket-win { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--success-50); color: var(--success-ink); font-size: .9rem; }
.basket-win.neutral { background: var(--primary-50); color: var(--primary-600, var(--primary)); }
.basket-win svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.basket-plan { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; margin-top: 14px; }
.basket-shop { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; align-content: start; }
.basket-shop-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.basket-shop-head > div:first-child { display: grid; }
.basket-ship .pill::before { display: none; }
.basket-ship svg { width: 14px; height: 14px; }
.pill-muted { background: var(--bg); color: var(--muted); }
.basket-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.basket-items li { display: flex; align-items: center; gap: 10px; }
.basket-items .grow { display: grid; min-width: 0; flex: 1; }
.basket-items .grow .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.basket-q { font-weight: 600; font-size: .9rem; }
.basket-shop-foot { display: grid; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
.basket-hint { display: flex; gap: 6px; align-items: center; color: var(--warning-ink); }
.basket-hint svg { width: 14px; height: 14px; flex: none; }
.basket-sum { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; margin-top: 14px; }
.basket-note { margin: 8px 0 0; }
@media (max-width: 600px) { .basket-plan { grid-template-columns: 1fr; } .basket-total { text-align: left; } }

/* ---------- Powiadomienia push (Moje konto, dzwonek) ---------- */
.push-card h2 { display: flex; align-items: center; gap: 8px; }
.push-card h2 .ic { width: 20px; height: 20px; color: var(--primary); }
.toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; color: var(--heading); margin: 4px 0 10px; }
.toggle[hidden] { display: none; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-track { position: relative; width: 46px; height: 26px; border-radius: 99px; background: var(--line); transition: background .2s; flex: none; }
.toggle-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.toggle input:checked + .toggle-track { background: var(--primary); }
.toggle input:checked + .toggle-track::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle-track { box-shadow: 0 0 0 3px var(--primary-100); }
.toggle input:disabled + .toggle-track { opacity: .6; }
.push-state { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--bg); margin: 6px 0 10px; }
.push-state.is-warn { background: var(--warning-50); color: var(--warning-ink); }
.push-state.is-bad { background: var(--danger-50); color: var(--danger-ink); }
.push-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.push-actions:not(:has(:not([hidden]))) { display: none; }
.push-notes { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.notif-push-hint { display: flex; gap: 12px; align-items: center; padding: 10px 16px; background: var(--primary-50); color: var(--primary-600, var(--primary)); text-decoration: none; font-size: .84rem; }
.notif-push-hint[hidden] { display: none; }
.notif-push-hint .ic { width: 18px; height: 18px; flex: none; }
.notif-push-hint span { display: grid; gap: 1px; }
.notif-push-hint strong { font-weight: 500; }
.notif-push-hint:hover { background: var(--primary-100); }

/* ---------- Użycie aplikacji (admin) ---------- */
.lg-pwa, .b-pwa { background: #2eb5c9; fill: #2eb5c9; }
.b-web { fill: #7352c7; opacity: .35; }
.lg-web { background: #7352c7; opacity: .35; }
.usage-chart { width: 100%; height: auto; display: block; margin-top: 12px; }
.usage-chart .grid-line { stroke: var(--line); stroke-width: 1; }
.usage-chart .axis { fill: var(--muted); font-size: 10px; font-family: var(--font); }
.usage-chart .hit { fill: transparent; }
.usage-bar:hover .hit { fill: var(--primary-50); }
.usage-bar:hover .b-web { opacity: .55; }
.hbars { display: grid; gap: 10px; margin: 14px 0; }
.hbar-row { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 10px; font-size: .88rem; }
.hbar-track { height: 10px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.hbar-fill { display: block; height: 100%; border-radius: 99px; background: var(--primary); min-width: 4px; }
.hbar-val { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.usage-strip { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; color: var(--text); text-decoration: none; }
.usage-strip > span { display: grid; gap: 2px; }
.usage-strip strong { font-size: 1.25rem; font-weight: 600; color: var(--heading); }
.usage-strip-title { display: flex !important; align-items: center; gap: 8px; font-weight: 500; color: var(--heading); }
.usage-strip-title .ic { width: 20px; height: 20px; color: var(--primary); }
.usage-strip-more { margin-left: auto; display: flex !important; align-items: center; gap: 4px; color: var(--primary); }
.usage-strip-more .ic { width: 16px; height: 16px; }
code.break { word-break: break-all; }
@media (max-width: 640px) { .usage-strip { gap: 14px 22px; } .usage-strip-more { margin-left: 0; } .hbar-row { grid-template-columns: 90px 1fr; } .hbar-val { grid-column: 2; } }

/* =====================================================================
   LANDING 2.0 (prefiks .lp-) - strona główna dla gości + nagłówek/stopka
   układu publicznego (views/public.php). Nie dotyka stylów aplikacji.
   ===================================================================== */
:root {
    --lp-ink: #1d1534;
    --lp-ink-2: #2a2047;
    --lp-body: #4d4766;
    --lp-soft: #6f6890;
    --lp-purple: #7352c7;
    --lp-purple-deep: #5233a8;
    --lp-mist: #f4f0fe;
    --lp-mist-2: #ebe4fc;
    --lp-fox: #f26b1d;
    --lp-fox-ink: #b84a0c;
    --lp-fox-mist: #fff1e7;
    --lp-mint: #0f7656; /* było #13805f (4,4:1 na tle miętowym) */
    --lp-mint-mist: #e5f7f0;
    --lp-line: #e8e4f2;
    --lp-r-sm: 12px;
    --lp-r: 20px;
    --lp-r-lg: 32px;
    --lp-shadow: 0 1px 2px rgba(29, 21, 52, .06), 0 12px 32px -8px rgba(29, 21, 52, .14);
    --lp-shadow-lg: 0 2px 4px rgba(29, 21, 52, .05), 0 30px 60px -18px rgba(54, 30, 120, .35);
    --lp-ease: cubic-bezier(.2, .7, .2, 1);
}
.lp-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lp-ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.lp-skip:focus { top: 12px; }
.public :where(.lp-nav, .lp, .lp-footer) a:focus-visible,
.public :where(.lp-nav, .lp, .lp-footer) button:focus-visible,
.lp summary:focus-visible, .lp-panel:focus-visible { outline: 3px solid var(--lp-fox); outline-offset: 3px; border-radius: 10px; }
.public .lp-btn, .public .lp-btn:hover { text-decoration: none; }

/* ---- Przyciski ---- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; font: 500 .95rem/1.1 var(--font); letter-spacing: -.005em; white-space: nowrap; border: 0; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s, transform .2s var(--lp-ease); }
.lp-btn .ic { width: 18px; height: 18px; }
.lp-btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.02rem; }
.lp-btn-primary { background: var(--lp-purple); color: #fff; box-shadow: 0 8px 20px -6px rgba(115, 82, 199, .6); }
.lp-btn-primary:hover { background: var(--lp-purple-deep); color: #fff; transform: translateY(-1px); }
.lp-btn-secondary { background: #fff; color: var(--lp-ink); box-shadow: inset 0 0 0 1.5px var(--lp-line); }
.lp-btn-secondary:hover { color: var(--lp-purple-deep); box-shadow: inset 0 0 0 1.5px var(--lp-purple); }
.lp-btn-quiet { color: var(--lp-ink); background: transparent; }
.lp-btn-quiet:hover { background: var(--lp-mist); color: var(--lp-purple-deep); }
.lp-btn-fox { background: #c24e00; color: #fff; box-shadow: 0 10px 24px -8px rgba(242, 107, 29, .7); }
.lp-btn-fox:hover { background: #a84300; color: #fff; transform: translateY(-1px); }
.lp-btn-white { background: #fff; color: var(--lp-purple-deep); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35); }
.lp-btn-white:hover { color: var(--lp-ink); transform: translateY(-1px); }
.lp-btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.lp-btn-ghost-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-actions.is-center { justify-content: center; }
.lp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--lp-purple-deep); margin-top: 6px; }
.lp-link .ic { width: 18px; height: 18px; transition: transform .2s var(--lp-ease); }
.lp-link:hover .ic { transform: translateX(3px); }

/* ---- Nawigacja ---- */
.lp-nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; padding-top: env(safe-area-inset-top); }
.lp-nav.is-scrolled { border-bottom-color: var(--lp-line); box-shadow: 0 6px 24px -14px rgba(29, 21, 52, .25); }
.lp-nav-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--lp-ink); text-decoration: none !important; flex: none; }
.lp-brand .brand-text strong { color: var(--lp-ink); }
.lp-menu { display: flex; align-items: center; flex: 1; gap: 24px; }
.lp-menu-links { list-style: none; display: flex; gap: 4px; margin: 0 auto; padding: 0; }
.lp-menu-links a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--lp-body); font-weight: 500; font-size: .95rem; text-decoration: none; }
.lp-menu-links a:hover { color: var(--lp-ink); background: var(--lp-mist); text-decoration: none; }
.lp-menu-cta { display: flex; gap: 6px; align-items: center; }
.lp-nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--lp-mist); color: var(--lp-ink); cursor: pointer; place-items: center; }
.lp-nav-toggle .ic { width: 22px; height: 22px; }
.lp-nav-toggle .lp-ic-close, .lp-nav-toggle[aria-expanded="true"] .lp-ic-open { display: none; }
.lp-nav-toggle[aria-expanded="true"] .lp-ic-close { display: block; }

/* ---- Wspólne ---- */
.lp { font-size: 16px; line-height: 1.6; color: var(--lp-body); overflow-x: clip; }
.lp h1, .lp h2, .lp h3 { color: var(--lp-ink); }
.lp-display { font-size: clamp(2.5rem, 1.2rem + 4.4vw, 4.6rem); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.lp-h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem); line-height: 1.06; font-weight: 700; letter-spacing: -.04em; margin: 0; text-wrap: balance; }
.lp-h3 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); line-height: 1.15; font-weight: 600; letter-spacing: -.025em; margin: 0 0 12px; }
.lp-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--lp-soft); margin: 18px 0 0; max-width: 60ch; }
.lp-section { padding: clamp(72px, 9vw, 128px) 0; }
.lp-tint { background: linear-gradient(180deg, #faf8ff 0%, #f6f2ff 100%); }
.lp-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.lp-head .lp-lead { margin: 0; }
.lp-ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.lp-ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--lp-ink-2); font-weight: 500; }
.lp-ticks .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--lp-mint-mist); color: var(--lp-mint); stroke-width: 2.6; margin-top: 2px; }
.lp-card { background: #fff; border-radius: var(--lp-r); box-shadow: var(--lp-shadow); padding: 20px; }
.lp-mini-label { margin: 6px 0 2px; font-size: .78rem; font-weight: 600; color: var(--lp-soft); }
.lp-badge-best, .lp-badge-drop { font-style: normal; font-size: .7rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.lp-badge-best { background: var(--lp-mint-mist); color: #0a6248; }
.lp-badge-drop { background: var(--lp-fox-mist); color: #9a3d07; }
.c-purple { background: var(--lp-mist); color: var(--lp-purple); }
.c-fox { background: var(--lp-fox-mist); color: var(--lp-fox); }
.c-mint { background: var(--lp-mint-mist); color: var(--lp-mint); }
.lp-meter { height: 6px; border-radius: 99px; background: var(--lp-mist-2); overflow: hidden; }
.lp-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lp-purple), var(--lp-fox)); }

/* ---- Hero ---- */
.lp-hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); background:
    radial-gradient(60% 70% at 88% 18%, rgba(115, 82, 199, .16), transparent 70%),
    radial-gradient(40% 50% at 70% 95%, rgba(242, 107, 29, .10), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fbf9ff 100%); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.lp-hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 16px 6px 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--lp-line); font-size: .9rem; font-weight: 500; color: var(--lp-ink-2); }
.lp-hero-kicker img { width: 26px; height: 26px; padding: 3px; border-radius: 50%; background: var(--lp-fox-mist); }
.lp-hero-lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); line-height: 1.55; color: var(--lp-body); margin: 26px 0 34px; max-width: 34em; }
.lp-hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0; margin: 28px 0 0; font-size: .92rem; color: var(--lp-soft); }
.lp-hero-facts li { display: inline-flex; align-items: center; gap: 6px; }
.lp-hero-facts .ic { width: 18px; height: 18px; color: var(--lp-mint); stroke-width: 2.4; }
.lp-hero-stage { position: relative; min-height: 580px; }
.lp-glow { position: absolute; inset: 6% 2% 4% 8%; border-radius: 48px; background: linear-gradient(140deg, #8b6ce0 0%, var(--lp-purple) 45%, #4b2d9f 100%); transform: rotate(-3deg); box-shadow: var(--lp-shadow-lg); }
.lp-glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(50% 45% at 85% 90%, rgba(242, 107, 29, .55), transparent 70%), radial-gradient(40% 40% at 10% 0%, rgba(255, 255, 255, .25), transparent 70%); }
.lp-win { position: absolute; left: 0; top: 34px; width: 80%; background: #fff; border-radius: var(--lp-r); box-shadow: var(--lp-shadow-lg); padding: 16px; z-index: 2; }
.lp-win-bar { display: flex; align-items: center; gap: 6px; margin: -2px 0 12px; }
.lp-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--lp-mist-2); }
.lp-win-bar span { margin-left: 10px; font-weight: 600; color: var(--lp-ink); font-size: .95rem; }
.lp-win-search { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 14px; background: var(--lp-mist); color: var(--lp-ink-2); font-size: .92rem; }
.lp-win-search .ic { width: 18px; height: 18px; color: var(--lp-purple); }
.lp-win-search span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-win-search kbd { font: 500 .78rem var(--font); background: var(--lp-purple); color: #fff; padding: 6px 12px; border-radius: 999px; }
.lp-rows { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
.lp-rows li { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid var(--lp-line); }
.lp-rows li:last-child { border-bottom: 0; padding-bottom: 2px; }
.lp-row-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; }
.lp-row-ico .ic { width: 18px; height: 18px; }
.lp-row-main { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.lp-row-main strong { color: var(--lp-ink); font-weight: 500; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-row-main small { color: var(--lp-soft); font-size: .78rem; }
.lp-row-price { display: grid; justify-items: end; gap: 3px; line-height: 1.2; }
.lp-row-price strong { color: var(--lp-ink); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.lp-basket { position: absolute; left: -28px; bottom: 6px; width: 300px; z-index: 3; background: #fff; border-radius: var(--lp-r); box-shadow: var(--lp-shadow-lg); padding: 16px 18px; display: grid; gap: 9px; font-size: .85rem; }
.lp-basket-head { display: flex; gap: 12px; align-items: center; }
.lp-basket-head div { display: grid; line-height: 1.25; }
.lp-basket-head strong { color: var(--lp-ink); font-size: 1rem; }
.lp-basket-head small { color: var(--lp-soft); }
.lp-basket-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--lp-fox), #ff9d5c); }
.lp-basket-ico .ic { width: 20px; height: 20px; }
.lp-basket-line { display: flex; justify-content: space-between; gap: 10px; color: var(--lp-body); }
.lp-basket-line b { color: var(--lp-ink); font-weight: 600; white-space: nowrap; }
.lp-basket-hint { margin: -2px 0 2px; font-size: .78rem; color: var(--lp-fox-ink); font-weight: 500; }
.lp-phone { position: absolute; right: 0; top: 96px; width: 232px; z-index: 4; padding: 9px; border-radius: 40px; background: #17112a; box-shadow: var(--lp-shadow-lg), inset 0 0 0 2px #3a2f5c; }
.lp-phone-screen { position: relative; height: 440px; border-radius: 32px; overflow: hidden; padding: 46px 10px 12px; background: radial-gradient(80% 60% at 20% 10%, #a48cf0, transparent 70%), radial-gradient(70% 60% at 90% 90%, #ff9a5a, transparent 70%), linear-gradient(160deg, #6a4bc2, #3a2382); color: #fff; }
.lp-phone-screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 99px; background: #17112a; }
.lp-phone-time { text-align: center; font-size: 3.2rem; font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.lp-phone-date { text-align: center; font-size: .78rem; opacity: .85; margin: 6px 0 22px; }
.lp-push { display: flex; gap: 9px; align-items: flex-start; padding: 10px 11px; border-radius: 18px; background: rgba(255, 255, 255, .92); color: var(--lp-ink); margin-bottom: 8px; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.lp-push.is-soft { background: rgba(255, 255, 255, .72); }
.lp-push img { flex: none; padding: 3px; border-radius: 8px; background: var(--lp-fox-mist); }
.lp-push div { display: grid; line-height: 1.25; min-width: 0; }
.lp-push b { font-size: .64rem; font-weight: 500; color: var(--lp-soft); }
.lp-push strong { font-size: .8rem; font-weight: 600; }
.lp-push span { font-size: .74rem; color: var(--lp-body); }
@keyframes lp-rise { from { opacity: 0; transform: translateY(26px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.lp-float-a { animation: lp-rise .8s var(--lp-ease) .1s both; }
.lp-float-c { animation: lp-rise .8s var(--lp-ease) .35s both; }
.lp-float-b { animation: lp-rise .8s var(--lp-ease) .6s both; }
.lp-float-c .lp-push:first-of-type { animation: lp-rise .6s var(--lp-ease) 1.2s both; }

/* ---- Pasek zaufania ---- */
.lp-trust { padding: 44px 0 8px; }
.lp-trust-title { text-align: center; margin: 0 0 18px; color: var(--lp-soft); font-size: .95rem; }
.lp-platforms { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 48px; margin: 0; padding: 0 0 40px; border-bottom: 1px solid var(--lp-line); }
.lp-platforms li { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); font-weight: 700; letter-spacing: -.035em; color: #5d5677; display: inline-flex; align-items: center; gap: 8px; }
.lp-platforms li.is-soon { color: #686284; }
.lp-platforms small { font-size: .68rem; font-weight: 500; letter-spacing: 0; padding: 3px 8px; border-radius: 99px; background: var(--lp-fox-mist); color: var(--lp-fox-ink); }
.lp-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 36px 0 0; gap: 28px; }
.lp-facts div { padding-left: 18px; border-left: 3px solid var(--lp-mist-2); }
.lp-facts div:first-child { border-left-color: var(--lp-fox); }
.lp-facts dt { font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; color: var(--lp-ink); line-height: 1.2; }
.lp-facts dd { margin: 6px 0 0; font-size: .92rem; color: var(--lp-soft); line-height: 1.45; }

/* ---- Zakładki: dzień z Wulpio ---- */
.lp-tablist { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--lp-mist); width: max-content; max-width: 100%; margin: 0 auto 28px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.lp-tablist::-webkit-scrollbar { display: none; }
.lp-tablist [role="tab"] { scroll-snap-align: start; flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border: 0; border-radius: 999px; background: transparent; color: var(--lp-body); font: 500 .95rem/1.15 var(--font); cursor: pointer; text-align: left; transition: background .2s, color .2s, box-shadow .2s; }
.lp-tablist [role="tab"]:hover { color: var(--lp-ink); background: rgba(255, 255, 255, .6); }
.lp-tablist [role="tab"][aria-selected="true"] { background: #fff; color: var(--lp-ink); box-shadow: 0 6px 16px -8px rgba(29, 21, 52, .3); }
.lp-tab-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .7); color: var(--lp-purple); transition: background .2s, color .2s; }
.lp-tab-ico .ic { width: 18px; height: 18px; }
[aria-selected="true"] .lp-tab-ico { background: var(--lp-fox); color: #fff; }
.lp-tab-text { display: grid; }
.lp-tab-text small { font-size: .7rem; color: var(--lp-soft); font-weight: 400; }
.lp-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--lp-r-lg); background: radial-gradient(60% 80% at 100% 0%, rgba(242, 107, 29, .10), transparent 70%), linear-gradient(160deg, #f7f3ff 0%, #efe8fd 100%); }
.lp-panel + .lp-panel { margin-top: 20px; }
.lp-js .lp-panel + .lp-panel { margin-top: 0; }
.lp-panel[hidden] { display: none; }
.lp-panel.is-entering .lp-panel-visual { animation: lp-rise .5s var(--lp-ease) both; }
.lp-panel-copy h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -.035em; line-height: 1.1; margin: 0 0 14px; }
.lp-panel-copy p { margin: 0; font-size: 1.06rem; }
.lp-panel-visual { display: grid; }
.lp-panel-visual .lp-card { max-width: 480px; width: 100%; justify-self: center; display: grid; gap: 8px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-chips span { padding: 6px 12px; border-radius: 999px; background: var(--lp-fox-mist); color: var(--lp-fox-ink); font-size: .82rem; font-weight: 500; }
.lp-offer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--lp-line); font-size: .92rem; color: var(--lp-ink); }
.lp-offer > span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.lp-offer > span:last-child { display: grid; justify-items: end; line-height: 1.2; }
.lp-offer small { font-size: .74rem; color: var(--lp-soft); }
.lp-offer.is-best { border-color: transparent; background: var(--lp-mist); }
.lp-offer.is-best strong { color: var(--lp-purple-deep); }
.lp-sieve-row { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; }
.lp-sieve-row > span:last-child { display: grid; line-height: 1.3; min-width: 0; }
.lp-sieve-row strong { font-weight: 500; color: var(--lp-ink); font-size: .93rem; }
.lp-sieve-row small { font-size: .78rem; color: var(--lp-soft); }
.lp-sieve-row.is-out { opacity: .78; }
.lp-sieve-row.is-out strong { text-decoration: line-through; text-decoration-color: rgba(184, 74, 12, .55); color: var(--lp-soft); }
.lp-sieve-row.is-in { background: var(--lp-mint-mist); }
.lp-sieve-mark { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lp-fox-mist); color: var(--lp-fox-ink); }
.lp-sieve-mark .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.is-in .lp-sieve-mark { background: var(--lp-mint); color: #fff; }
.lp-pack { grid-template-columns: 1fr 1fr; gap: 14px !important; }
.lp-pack-col { display: grid; gap: 8px; align-content: start; padding: 14px; border-radius: 16px; }
.lp-pack-col.is-bad { background: #faf9fc; }
.lp-pack-col.is-good { background: var(--lp-mint-mist); }
.lp-parcel { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: #fff; font-size: .82rem; color: var(--lp-ink); box-shadow: 0 1px 2px rgba(29, 21, 52, .06); }
.lp-parcel .ic { width: 16px; height: 16px; color: var(--lp-soft); }
.lp-parcel b { margin-left: auto; font-weight: 600; white-space: nowrap; }
.is-bad .lp-parcel b { color: var(--lp-fox-ink); }
.is-good .lp-parcel b, .is-good .lp-parcel .ic { color: var(--lp-mint); }
.lp-pack-sum { margin: 4px 0 0; font-size: .88rem; color: var(--lp-ink); }
.lp-pack-sum s { color: var(--lp-fox-ink); }
.lp-pack-sum strong { color: var(--lp-mint); font-size: 1.05rem; }
.lp-chart-head { display: flex; justify-content: space-between; align-items: flex-start; }
.lp-chart-head span { display: grid; line-height: 1.3; }
.lp-chart-head strong { color: var(--lp-ink); font-weight: 600; }
.lp-chart-head small { color: var(--lp-soft); font-size: .78rem; }
.lp-spark { width: 100%; height: 130px; overflow: visible; }
.lp-spark-median { stroke: var(--lp-soft); stroke-width: 1.5; stroke-dasharray: 5 6; opacity: .6; vector-effect: non-scaling-stroke; }
.lp-spark-line { fill: none; stroke: var(--lp-purple); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lp-spark-dot { fill: var(--lp-fox); stroke: #fff; stroke-width: 3; }
.lp-chart-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .78rem; color: var(--lp-soft); }
.lp-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lp-chart-legend i { width: 14px; height: 3px; border-radius: 2px; background: var(--lp-purple); }
.lp-chart-legend i.is-median { background: repeating-linear-gradient(90deg, var(--lp-soft) 0 4px, transparent 4px 7px); }
.lp-chart-legend i.is-now { width: 10px; height: 10px; border-radius: 50%; background: var(--lp-fox); }
.lp-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--lp-mist); color: var(--lp-ink-2); font-size: .88rem; line-height: 1.4; margin-top: 6px; }
.lp-alert .ic { width: 18px; height: 18px; color: var(--lp-purple); margin-top: 1px; }
.lp-alert.is-fox { background: var(--lp-fox-mist); }
.lp-alert.is-fox .ic { color: var(--lp-fox-ink); }
.lp-cycle { grid-template-columns: auto 1fr; align-items: center; gap: 22px !important; padding: 24px !important; }
.lp-ring { --p: 50; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--lp-fox) calc(var(--p) * 1%), var(--lp-mist-2) 0); }
.lp-ring > div { width: 104px; height: 104px; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.lp-ring strong { font-size: 2rem; font-weight: 700; color: var(--lp-ink); letter-spacing: -.04em; }
.lp-ring small { font-size: .7rem; color: var(--lp-soft); }
.lp-cycle-copy p { margin: 0 0 4px; font-size: .92rem; }

/* ---- Funkcje naprzemienne ---- */
.lp-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.lp-feature + .lp-feature { margin-top: clamp(64px, 8vw, 112px); }
.lp-feature.is-flip .lp-feature-copy { order: 2; }
.lp-feature-copy p { margin: 0; font-size: 1.06rem; max-width: 34em; }
.lp-feature-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 22px; }
.lp-feature-ico .ic { width: 26px; height: 26px; }
.lp-feature-visual { position: relative; padding: clamp(24px, 4vw, 48px); border-radius: var(--lp-r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--lp-line); min-height: 340px; display: grid; place-items: center; overflow: hidden; }
.lp-feature-visual::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; right: -18%; top: -30%; background: radial-gradient(circle, rgba(115, 82, 199, .16), transparent 65%); pointer-events: none; }
.lp-feature.is-flip .lp-feature-visual::before { left: -18%; right: auto; background: radial-gradient(circle, rgba(242, 107, 29, .16), transparent 65%); }
.lp-units { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 460px; align-items: end; }
.lp-unit { display: grid; gap: 4px; padding: 22px 20px; border-radius: var(--lp-r); background: #faf9fc; box-shadow: inset 0 0 0 1px var(--lp-line); }
.lp-unit-pack { justify-self: start; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: #fff; color: var(--lp-soft); box-shadow: inset 0 0 0 1px var(--lp-line); margin-bottom: 10px; }
.lp-unit strong { font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; color: var(--lp-ink); line-height: 1.1; }
.lp-unit-per { font-size: 1rem; color: var(--lp-soft); font-weight: 500; }
.lp-unit.is-win { background: var(--lp-ink); box-shadow: var(--lp-shadow-lg); padding-top: 34px; }
.lp-unit.is-win strong { color: #fff; }
.lp-unit.is-win .lp-unit-per { color: #ffb27f; font-size: 1.12rem; font-weight: 600; }
.lp-unit.is-win .lp-unit-pack { background: var(--lp-fox); color: #fff; box-shadow: none; }
.lp-unit em { font-style: normal; font-size: .8rem; color: rgba(255, 255, 255, .78); margin-top: 8px; line-height: 1.35; }
.lp-trail { position: relative; list-style: none; margin: 0; padding: 0 0 0 30px; display: grid; gap: 14px; width: 100%; max-width: 480px; }
.lp-trail::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; border-left: 2px dashed rgba(242, 107, 29, .5); }
.lp-trail li { position: relative; display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: var(--lp-shadow); font-size: .88rem; line-height: 1.4; }
.lp-trail li::before { content: ""; position: absolute; left: -29px; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--lp-fox); }
.lp-trail b { font-size: .75rem; font-weight: 600; color: var(--lp-fox-ink); }
.lp-trail strong { color: var(--lp-ink); font-weight: 600; font-size: .95rem; }
.lp-trail span { color: var(--lp-soft); }
.lp-trail li.is-hl { background: var(--lp-ink); }
.lp-trail li.is-hl::before { background: var(--lp-fox); box-shadow: 0 0 0 5px rgba(242, 107, 29, .25); }
.lp-trail li.is-hl b { color: #ffb27f; }
.lp-trail li.is-hl strong { color: #fff; }
.lp-trail li.is-hl span { color: rgba(255, 255, 255, .75); }
.lp-phone-solo { position: relative; top: auto; right: auto; width: 250px; }
.lp-phone-screen.is-app { background: #f7f5fc; color: var(--lp-ink); padding: 44px 12px 12px; display: grid; align-content: start; gap: 10px; }
.lp-phone-screen.is-app::before { background: #17112a; }
.lp-app-top { display: flex; align-items: center; gap: 8px; padding: 0 4px 4px; }
.lp-app-top strong { font-size: 1.05rem; }
.lp-app-top img { padding: 2px; border-radius: 8px; background: var(--lp-fox-mist); }
.lp-app-card { display: grid; gap: 4px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(29, 21, 52, .06); line-height: 1.3; }
.lp-app-card strong { font-size: .86rem; font-weight: 600; }
.lp-app-card small { font-size: .72rem; color: var(--lp-soft); }
.lp-app-card .lp-meter { margin-top: 4px; }
.lp-push.is-in-app { margin-top: 18px; background: #fff; box-shadow: 0 14px 30px -12px rgba(29, 21, 52, .4), inset 0 0 0 1px var(--lp-line); }

/* Wejście przy przewijaniu - tylko gdy działa JS i użytkownik nie ogranicza ruchu */
.lp-js [data-reveal] .lp-feature-visual { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--lp-ease), transform .8s var(--lp-ease); }
.lp-js [data-reveal].is-visible .lp-feature-visual { opacity: 1; transform: none; }

/* ---- Dla sklepów ---- */
.lp-shops { position: relative; padding: clamp(80px, 10vw, 140px) 0; color: rgba(255, 255, 255, .78); background:
    radial-gradient(50% 60% at 100% 0%, rgba(115, 82, 199, .55), transparent 70%),
    radial-gradient(35% 45% at 0% 100%, rgba(242, 107, 29, .28), transparent 70%),
    var(--lp-ink); overflow: hidden; }
.lp-shops h2, .lp-shops h3 { color: #fff; }
.lp-shops .lp-lead { color: rgba(255, 255, 255, .78); }
.lp-shops-intro { max-width: 860px; }
.lp-shops-intro .lp-actions { margin-top: 32px; }
.lp-shops-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 500; font-size: .9rem; }
.lp-shops-kicker .ic { width: 18px; height: 18px; color: #ffb27f; }
.lp-shop-perks { list-style: none; padding: 0; margin: clamp(48px, 6vw, 80px) 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.lp-shop-perks li { display: grid; align-content: start; gap: 8px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .95rem; line-height: 1.5; }
.lp-shop-perks strong { color: #fff; font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.lp-perk-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #ffb27f; margin-bottom: 6px; }
.lp-perk-ico .ic { width: 22px; height: 22px; }
.lp-shops-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.lp-steps-wrap { scroll-margin-top: 96px; }
.lp-steps { list-style: none; counter-reset: lpstep; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.lp-steps li { counter-increment: lpstep; position: relative; display: grid; gap: 6px; padding: 20px 22px 20px 72px; border-radius: var(--lp-r); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: .94rem; line-height: 1.5; }
.lp-steps li::before { content: counter(lpstep); position: absolute; left: 20px; top: 18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lp-fox); color: #fff; font-weight: 700; }
.lp-steps strong { color: #fff; font-size: 1.05rem; font-weight: 600; }
.lp-plat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lp-plat-tags em { font-style: normal; font-size: .78rem; font-weight: 500; padding: 4px 10px; border-radius: 99px; background: #fff; color: var(--lp-ink); }
.lp-plat-tags em.is-soon { background: transparent; color: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.lp-beat { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(19, 128, 95, .22); color: #c6f2e2; font-size: .84rem; }
.lp-beat strong { font-size: .84rem; color: #fff; }
.lp-beat > span:nth-child(2) { flex: 1; }
.lp-beat .ic { width: 22px; height: 22px; color: #5ee0b4; }
.lp-beat-dot { width: 10px; height: 10px; border-radius: 50%; background: #3bd2a2; box-shadow: 0 0 0 0 rgba(59, 210, 162, .6); animation: lp-pulse 2s infinite; flex: none; }
@keyframes lp-pulse { 0% { box-shadow: 0 0 0 0 rgba(59, 210, 162, .6); } 70% { box-shadow: 0 0 0 10px rgba(59, 210, 162, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 210, 162, 0); } }
.lp-calc { scroll-margin-top: 96px; background: #fff; color: var(--lp-body); border-radius: var(--lp-r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.lp-calc h3 { color: var(--lp-ink); margin-bottom: 4px; }
.lp-calc-note { margin: 0; font-size: .85rem; color: var(--lp-soft); }
.lp-calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.lp-calc-inputs label { display: grid; gap: 6px; font-size: .84rem; font-weight: 500; color: var(--lp-ink-2); }
.lp-calc-inputs input { min-height: 46px; border-radius: 12px; border-color: #d9d3e8; font-size: 1rem; }
.lp-calc-inputs input:focus { border-color: var(--lp-purple); box-shadow: 0 0 0 4px var(--lp-mist-2); }
.lp-calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.lp-calc-out > div { display: grid; gap: 2px; padding: 14px; border-radius: 14px; background: #f7f5fc; min-width: 0; }
.lp-calc-out span { font-size: .78rem; color: var(--lp-soft); }
.lp-calc-out strong { font-size: 1.15rem; font-weight: 600; color: var(--lp-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-calc-out .lp-calc-main { grid-column: 1 / -1; padding: 18px 20px; background: linear-gradient(120deg, var(--lp-purple-deep), var(--lp-purple) 60%, #9a6be0); }
.lp-calc-main span { color: rgba(255, 255, 255, .85); font-size: .88rem; }
.lp-calc-main strong { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -.03em; }

/* ---- FAQ ---- */
.lp-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lp-faq-head { position: sticky; top: 110px; }
.lp-faq details { border-bottom: 1px solid var(--lp-line); }
.lp-faq details:first-child { border-top: 1px solid var(--lp-line); }
.lp-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 1.08rem; font-weight: 500; color: var(--lp-ink); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--lp-mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237352c7' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s var(--lp-ease), background-color .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lp-fox-mist); }
.lp-faq summary:hover { color: var(--lp-purple-deep); }
.lp-faq details p { margin: -6px 0 22px; padding-right: 52px; max-width: 62ch; }

/* ---- Końcowe CTA ---- */
.lp-final { padding: 0 0 clamp(72px, 9vw, 120px); }
.lp-final-card { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px); border-radius: var(--lp-r-lg); color: rgba(255, 255, 255, .85); background:
    radial-gradient(45% 70% at 100% 100%, rgba(242, 107, 29, .65), transparent 70%),
    radial-gradient(40% 60% at 0% 0%, rgba(255, 255, 255, .18), transparent 70%),
    linear-gradient(135deg, #5233a8, var(--lp-purple) 55%, #8a63db); }
.lp-final-card h2 { color: #fff; max-width: 16ch; margin: 18px auto 14px; }
.lp-final-card p { margin: 0 auto 30px; max-width: 46ch; font-size: 1.12rem; }
.lp-final-mark { width: 72px; height: 72px; padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .4); }

/* ---- Stopka ---- */
.lp-footer { background: #f7f5fc; border-top: 1px solid var(--lp-line); padding: 64px 0 28px; font-size: .92rem; color: var(--lp-soft); }
.lp-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.lp-footer-about p { margin: 16px 0 20px; max-width: 34ch; line-height: 1.55; }
.lp-footer-app { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--lp-line); color: var(--lp-ink); text-decoration: none !important; }
.lp-footer-app:hover { box-shadow: inset 0 0 0 1.5px var(--lp-purple); }
.lp-footer-app .ic { width: 28px; height: 28px; color: var(--lp-purple); }
.lp-footer-app span { display: grid; line-height: 1.25; }
.lp-footer-app small { color: var(--lp-soft); font-size: .78rem; }
.lp-footer-col h2 { font-size: .95rem; font-weight: 600; color: var(--lp-ink); margin: 6px 0 14px; letter-spacing: 0; }
.lp-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-footer-col a { color: var(--lp-soft); }
.lp-footer-col a:hover { color: var(--lp-purple-deep); }
.lp-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--lp-line); font-size: .84rem; }

/* ---- Responsywność landingu ---- */
@media (max-width: 1080px) {
    .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .lp-hero-copy { max-width: 720px; }
    .lp-hero-stage { max-width: 640px; width: 100%; margin: 0 auto; }
    .lp-shop-perks { grid-template-columns: 1fr 1fr; }
    .lp-shops-grid { grid-template-columns: 1fr; }
    .lp-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .lp-nav-toggle { display: grid; }
    .lp-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 12px 20px 22px; background: #fff; border-bottom: 1px solid var(--lp-line); box-shadow: 0 24px 40px -24px rgba(29, 21, 52, .35); }
    .lp-nav.is-open .lp-menu { display: flex; }
    .lp-menu-links { flex-direction: column; margin: 0; }
    .lp-menu-links a { padding: 13px 12px; border-radius: 12px; font-size: 1.05rem; }
    .lp-menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .lp-menu-cta .lp-btn-quiet { box-shadow: inset 0 0 0 1.5px var(--lp-line); }
    .lp-head { grid-template-columns: 1fr; }
    .lp-panel { grid-template-columns: 1fr; gap: 32px; }
    .lp-feature, .lp-faq-grid { grid-template-columns: 1fr; }
    .lp-feature.is-flip .lp-feature-copy { order: 0; }
    .lp-faq-head { position: static; }
    .lp-footer-grid { grid-template-columns: 1fr 1fr; }
    .lp-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .lp-wrap { padding: 0 16px; }
    .lp-nav-inner { min-height: 64px; }
    .lp-nav .brand-text small { display: none; }
    .lp-hero-kicker { font-size: .82rem; }
    .lp-actions .lp-btn { flex: 1 1 100%; }
    .lp-hero-stage { min-height: 0; display: grid; gap: 0; padding: 18px 0 0; }
    .lp-glow { inset: 0 -8px 40px; border-radius: 28px; transform: none; }
    .lp-win { position: relative; left: auto; top: auto; width: auto; margin: 0 12px; padding: 14px; }
    .lp-rows li:nth-child(n+4) { display: none; }
    .lp-basket { position: relative; left: auto; bottom: auto; width: auto; margin: -14px 28px 0 0; }
    .lp-hero-stage .lp-phone { display: none; }
    .lp-trust { padding-top: 32px; }
    .lp-platforms { gap: 10px 24px; padding-bottom: 28px; }
    .lp-facts { grid-template-columns: 1fr; gap: 18px; padding-top: 28px; }
    .lp-tablist { border-radius: 20px; width: auto; margin: 0 -16px 20px; padding: 6px 16px; background: transparent; gap: 8px; scroll-padding: 0 16px; }
    .lp-tablist [role="tab"] { background: var(--lp-mist); padding-right: 14px; }
    .lp-panel { padding: 22px 16px; border-radius: 24px; }
    .lp-panel-visual .lp-card { padding: 14px; }
    .lp-pack { grid-template-columns: 1fr; }
    .lp-cycle { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .lp-cycle .lp-alert { text-align: left; }
    .lp-feature-visual { padding: 22px 14px; min-height: 0; border-radius: 24px; }
    .lp-units { gap: 10px; }
    .lp-unit { padding: 16px 14px; }
    .lp-unit strong { font-size: 1.35rem; }
    .lp-unit.is-win { padding-top: 22px; }
    .lp-shop-perks { grid-template-columns: 1fr; gap: 24px; }
    .lp-steps li { padding: 18px 16px 18px 62px; }
    .lp-steps li::before { left: 14px; }
    .lp-calc-inputs { grid-template-columns: 1fr; }
    .lp-calc-out { grid-template-columns: 1fr 1fr; }
    .lp-calc-out > div:nth-child(3) { grid-column: 1 / -1; }
    .lp-faq summary { font-size: 1rem; padding: 18px 0; }
    .lp-faq details p { padding-right: 0; }
    .lp-final { padding-left: 0; padding-right: 0; }
    .lp-final .lp-wrap { padding: 0 10px; }
    .lp-final-card { border-radius: 24px; }
    .lp-footer { padding-top: 48px; }
    .lp-footer-grid { gap: 32px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
    .lp-js [data-reveal] .lp-feature-visual { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}
/* Landing - poprawki: hero bez zasłaniania cen, demo dla sklepów */
.lp-win { width: 68%; }
.lp-phone { right: -12px; top: 128px; }
.lp-shops-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lp-shop-demo { display: grid; gap: 14px; }
.lp-shop-demo-card { display: grid; gap: 8px; padding: 20px; border-radius: var(--lp-r); background: #fff; color: var(--lp-body); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); transform: rotate(1.5deg); }
.lp-offer.is-yours { background: var(--lp-fox-mist); border-color: transparent; box-shadow: inset 0 0 0 2px var(--lp-fox); }
.lp-offer.is-yours strong { color: var(--lp-fox-ink); }
.lp-yours-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lp-fox); }
.lp-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lp-flow li { display: grid; justify-items: start; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: .84rem; line-height: 1.3; color: rgba(255, 255, 255, .85); }
.lp-flow .ic { width: 20px; height: 20px; color: #ffb27f; }
.lp-flow li.is-fee { background: rgba(242, 107, 29, .18); box-shadow: inset 0 0 0 1px rgba(242, 107, 29, .5); color: #fff; font-weight: 500; }
@media (max-width: 1080px) { .lp-shops-top { grid-template-columns: 1fr; } .lp-shop-demo { max-width: 520px; } }
@media (max-width: 640px) { .lp-shop-demo-card { transform: none; padding: 14px; } .lp-flow { grid-template-columns: 1fr; } .lp-flow li { grid-template-columns: auto 1fr; align-items: center; padding: 10px 14px; } }
.lp-win { width: 62%; }
.lp-phone { width: 212px; right: -16px; top: 120px; }
.lp-phone-solo { width: 250px; right: auto; }
.lp-flow li > span { display: grid; gap: 2px; }
.lp-flow small { font-size: .74rem; color: rgba(255, 255, 255, .65); }
.lp-flow b { font-size: 1.05rem; font-weight: 600; color: #fff; white-space: nowrap; }
.lp section[id], .lp [role="tabpanel"] { scroll-margin-top: 84px; }

/* ---------- Karty produktów (oferty z linkami) ---------- */
.pcards { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.pcard { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.pcard:hover { border-color: #d9cff5; box-shadow: 0 6px 18px -10px rgba(60, 40, 120, .35); }
.pcard-best { border-color: #cbbcf3; background: linear-gradient(180deg, #fbf9ff, #fff); }
.pcard-img { position: relative; width: 72px; height: 72px; border-radius: 12px; background: #f4f1fb; overflow: hidden; display: grid; place-items: center; }
.pcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pcard-noimg { color: #b6a6e6; } .pcard-noimg svg { width: 28px; height: 28px; }
.pcard-body { min-width: 0; display: grid; gap: 5px; }
.pcard-title { font-weight: 600; color: var(--text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none; }
.pcard-title:hover { color: var(--primary); text-decoration: underline; }
.pcard-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: .8rem; color: var(--muted); }
.pcard-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pbadge { font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 99px; }
.pbadge-best { background: #f26b1d; color: #fff; }
.pbadge-good { background: var(--success-50); color: var(--success-ink); }
.pbadge-info { background: #fff0e6; color: #c24e00; }
.pcard-buy { display: grid; justify-items: end; gap: 4px; text-align: right; }
.pcard-price { font-size: 1.15rem; }
.pcard-unit { color: var(--muted); font-size: .76rem; }
.pcard-go { white-space: nowrap; margin-top: 2px; }
.pcard-go svg { width: 14px; height: 14px; }
.pcard-fine { font-size: .7rem; color: var(--muted); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcards-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 10px; }
.pcards-foot .more-offers { flex-basis: 100%; }
.pcards-more { display: inline-flex; gap: 6px; align-items: center; } .pcards-more svg { width: 16px; height: 16px; }
.item-link { color: inherit; text-decoration: none; } .item-link:hover { color: var(--primary); text-decoration: underline; }
.basket-cart { justify-self: start; display: inline-flex; gap: 6px; align-items: center; background: #f26b1d; border-color: #f26b1d; }
.basket-cart:hover { background: #d95b12; }
.basket-cart svg { width: 16px; height: 16px; }
@media (max-width: 600px) {
    .pcard { grid-template-columns: 56px 1fr; gap: 10px; }
    .pcard-img { width: 56px; height: 56px; }
    .pcard-buy { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: center; justify-items: start; text-align: left; gap: 4px 10px; }
    .pcard-go { grid-column: 3; justify-self: end; grid-row: 1 / span 2; min-height: 40px; }
    .pcard-fine { grid-column: 1 / 3; }
}

/* ---------- Strona produktu ---------- */
.pp-grid { display: grid; grid-template-columns: minmax(280px, 1fr) 1.6fr; gap: 18px; align-items: start; }
.pp-verdict { border-top: 4px solid var(--line); display: grid; gap: 12px; }
.pp-best { border-top-color: #f26b1d; } .pp-good { border-top-color: var(--success, #20a36b); } .pp-high { border-top-color: var(--danger, #e5484d); } .pp-normal { border-top-color: var(--primary); }
.pp-verdict-head { display: flex; gap: 12px; align-items: center; } .pp-verdict-head div { display: grid; } .pp-verdict-head strong { font-size: 1.25rem; }
.pp-verdict p { margin: 0; }
.pp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.pp-stats div { background: var(--bg); border-radius: 10px; padding: 8px 10px; } .pp-stats dt { font-size: .75rem; color: var(--muted); } .pp-stats dd { margin: 2px 0 0; font-weight: 600; }
.pp-alert label { display: grid; gap: 6px; font-size: .88rem; }
.pp-alert-row { display: flex; gap: 8px; align-items: center; } .pp-alert-row input { width: 110px; }
.pp-svg { width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.pp-axis { font-size: 11px; fill: var(--muted, #8a8fa3); }
.pp-table { margin-top: 8px; }
.pp-offers { margin-top: 22px; } .pp-offers h2 { margin-bottom: 4px; }
@media (max-width: 900px) { .pp-grid { grid-template-columns: minmax(0, 1fr); } }
.basket-plan { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.basket-shop { min-width: 0; }
.basket-shop-head { flex-wrap: wrap; }
@media (max-width: 600px) {
    .advice-head { align-items: flex-start; }
    .advice-head .grow { flex: 1 1 calc(100% - 60px); min-width: 0; }
    .advice-head [data-advice-btn] { width: 100%; }
    .basket-head .grow { min-width: 0; flex: 1 1 calc(100% - 60px); }
}
@media (max-width: 600px) {
    .basket-items li { flex-wrap: wrap; }
    .basket-items li .grow { flex: 1 1 100%; }
    .basket-items li strong { margin-left: auto; }
}

/* ---------- Wspólne listy ---------- */
.list-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.list-actions .pill::before { display: none; } .list-actions .pill svg { width: 14px; height: 14px; }
.btn-fox { background: #c24e00; border-color: #c24e00; color: #fff; display: inline-flex; gap: 6px; align-items: center; }
.btn-fox:hover { background: #a84300; border-color: #a84300; color: #fff; }
.btn-fox svg { width: 16px; height: 16px; }
.share { border-left: 4px solid #3bb38a; }
.share-head { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.share-head .grow { display: grid; flex: 1 1 240px; min-width: 0; }
.share-ico { background: linear-gradient(135deg, #2fa37c, #59d1a6); } .share-ico svg { width: 22px; height: 22px; }
.share-people { display: flex; } .share-people .avatar-sm + .avatar-sm { margin-left: -8px; }
.avatar-sm { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .72rem; font-weight: 700; background: var(--primary-50); color: var(--primary); border: 2px solid #fff; flex: none; }
.avatar-sm.is-pending { background: var(--bg); color: var(--muted); }
.share-body { margin-top: 12px; }
.share-body > summary { list-style: none; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.share-body > summary::-webkit-details-marker { display: none; }
.share-body > summary svg { width: 16px; height: 16px; }
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 14px; }
.share-form label { display: grid; gap: 6px; font-size: .88rem; }
.share-row { display: flex; gap: 8px; } .share-row input { flex: 1; min-width: 0; }
.share-link { display: grid; gap: 8px; align-content: start; }
.share-link > .btn { justify-self: start; display: inline-flex; gap: 6px; align-items: center; } .share-link svg { width: 16px; height: 16px; }
.share-link-out { display: flex; gap: 8px; flex-wrap: wrap; } .share-link-out input { flex: 1 1 200px; min-width: 0; font-size: .8rem; }
.share-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.share-list li { display: flex; gap: 10px; align-items: center; }
.store-banner { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; border-left: 4px solid #f26b1d; }
.store-banner .grow { display: grid; flex: 1 1 220px; }
.invite-page { min-height: 60vh; display: grid; place-items: center; padding: 40px 16px; }
.invite-card { max-width: 520px; text-align: center; display: grid; gap: 12px; justify-items: center; padding: 36px 28px; }
.invite-card h1 { font-size: 1.5rem; margin: 0; }
.invite-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (max-width: 700px) { .share-grid { grid-template-columns: 1fr; } }

/* ---------- Tryb "W sklepie" ---------- */
.store { max-width: 640px; margin: 0 auto; padding-bottom: 40px; }
.store-head { display: flex; align-items: center; gap: 12px; }
.store-back { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,.06)); text-decoration: none; font-size: 1.2rem; color: var(--text); flex: none; }
.store-title { flex: 1; min-width: 0; } .store-title h1 { margin: 0; font-size: 1.35rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-count { color: var(--muted); font-size: .9rem; }
.store-people { display: flex; } .store-people .avatar-sm + .avatar-sm { margin-left: -8px; }
.store-progress { height: 8px; border-radius: 99px; background: #ece8f7; margin: 14px 0; overflow: hidden; }
.store-progress span { display: block; height: 100%; background: linear-gradient(90deg, #7352c7, #f26b1d); border-radius: 99px; transition: width .4s ease; }
.store-offline { background: var(--warning-50); color: var(--warning-ink); padding: 10px 12px; border-radius: 12px; font-size: .88rem; }
.store-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.store-item label { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 16px; background: #fff; border-radius: 16px; box-shadow: 0 2px 10px -4px rgba(40, 30, 90, .18); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: opacity .2s, background .2s; }
.store-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.store-box { width: 30px; height: 30px; border-radius: 10px; border: 2px solid #c9bdf0; display: grid; place-items: center; color: transparent; flex: none; transition: all .15s; }
.store-box svg { width: 18px; height: 18px; }
.store-item input:focus-visible + .store-box { outline: 3px solid var(--primary); outline-offset: 2px; }
.store-name { flex: 1; font-size: 1.05rem; font-weight: 500; }
.store-by { font-size: .75rem; color: var(--muted); }
.store-item.is-done label { background: #f6f4fb; opacity: .7; }
.store-item.is-done .store-box { background: #2fa37c; border-color: #2fa37c; color: #fff; }
.store-item.is-done .store-name { text-decoration: line-through; color: var(--muted); }
.store-add { display: flex; gap: 8px; margin-top: 16px; position: sticky; bottom: 76px; background: var(--bg); padding: 8px 0; }
.store-add input { flex: 1; min-height: 48px; font-size: 1rem; border-radius: 14px; }
.store-add .btn { width: 52px; min-height: 48px; padding: 0; display: grid; place-items: center; border-radius: 14px; }
.store-add .btn svg { width: 22px; height: 22px; }
.store-finish { display: grid; gap: 10px; margin-top: 18px; justify-items: center; }
.btn-big { min-height: 52px; padding: 0 26px; font-size: 1.02rem; display: inline-flex; gap: 8px; align-items: center; border-radius: 14px; }
.btn-big svg { width: 20px; height: 20px; }
@media (min-width: 901px) { .store-add { bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .store-progress span, .store-item label { transition: none; } }
.terms-check { align-items: flex-start; line-height: 1.45; } .terms-check input { margin-top: 3px; }
.mode-pick { border: 0; padding: 0; margin: 4px 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode-pick legend { margin-bottom: 6px; font-weight: 600; }
.mode-opt { position: relative; cursor: pointer; }
.mode-opt input { position: absolute; opacity: 0; }
.mode-opt > span { display: grid; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; height: 100%; }
.mode-opt small { color: var(--muted); font-size: .78rem; }
.mode-opt input:checked + span { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px rgba(115, 82, 199, .12); }
.mode-opt input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.list-shared { display: inline-flex; gap: 4px; align-items: center; font-size: .72rem; font-weight: 600; color: #0f7656; background: #e6f6ef; border-radius: 99px; padding: 2px 8px; margin: 0 4px 4px 0; }
.list-shared.is-store { color: #a84300; background: #fff0e6; }
.list-shared svg { width: 13px; height: 13px; }
@media (max-width: 600px) { .mode-pick { grid-template-columns: 1fr; } }

/* ---------- Szybkie wejście w tryb "W sklepie" ---------- */
.dash-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.dash-hero-actions .btn { display: inline-flex; gap: 6px; align-items: center; }
.dash-hero-actions .btn svg { width: 18px; height: 18px; }
.list-card-wrap { display: grid; grid-template-rows: 1fr auto; gap: 6px; min-width: 0; }
.list-card-links { display: flex; gap: 12px; padding: 0 6px; font-size: .82rem; }
.list-card-links a { display: inline-flex; gap: 5px; align-items: center; color: var(--primary); font-weight: 500; min-height: 32px; }
.list-card-links svg { width: 15px; height: 15px; }
.list-open-store { color: #c24e00; }
.pick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 640px; }
.pick-card { display: flex; align-items: center; gap: 14px; padding: 16px; text-decoration: none; color: inherit; min-height: 72px; }
.pick-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); flex: none; }
.pick-ico.is-store { background: #fff0e6; color: #e2600f; } .pick-ico svg { width: 24px; height: 24px; }
.pick-body { flex: 1; display: grid; gap: 4px; min-width: 0; }
.pick-body strong { font-size: 1.05rem; }
.pick-bar { height: 6px; border-radius: 99px; background: #ece8f7; overflow: hidden; } .pick-bar span { display: block; height: 100%; background: linear-gradient(90deg, #7352c7, #f26b1d); }
.pick-go { font-size: 1.3rem; color: var(--muted); }
.pick-empty { display: grid; justify-items: center; gap: 10px; text-align: center; max-width: 420px; padding: 32px; }
.fab-store { display: none; }
@media (max-width: 900px) {
    .fab-store { display: inline-flex; position: fixed; left: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 45; gap: 8px; align-items: center; padding: 12px 18px; border-radius: 99px; background: #c24e00; color: #fff; font-weight: 600; box-shadow: 0 10px 24px -8px rgba(242, 107, 29, .6); text-decoration: none; }
    .fab-store svg { width: 20px; height: 20px; }
}

/* ---------- Zdjęcie profilowe i logo sklepu ---------- */
.avatar.has-img, .avatar-sm.has-img { padding: 0; overflow: hidden; background: #fff; }
.avatar.has-img img, .avatar-sm.has-img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.acc-avatar { display: grid; justify-items: center; gap: 6px; }
.acc-avatar-pick { display: inline-flex; gap: 5px; align-items: center; cursor: pointer; }
.acc-avatar-pick svg { width: 15px; height: 15px; }
.is-uploading { opacity: .6; pointer-events: none; }
.shop-logo-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.shop-logo-lg { width: 96px; height: 96px; border-radius: 20px; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.shop-logo-empty { display: grid; place-items: center; color: var(--muted); } .shop-logo-empty svg { width: 36px; height: 36px; }
.shop-logo-actions { flex: 1 1 220px; display: grid; gap: 8px; justify-items: start; }
.shop-logo-actions label.btn { cursor: pointer; display: inline-flex; gap: 6px; align-items: center; } .shop-logo-actions svg { width: 16px; height: 16px; }
.pcard-seller { display: inline-flex; gap: 6px; align-items: center; }
.seller-logo { width: 20px; height: 20px; border-radius: 6px; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.shop-title { display: flex; gap: 12px; align-items: center; }
.shop-logo-sm { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Zakończ zakupy: podsumowanie ---------- */
.store-finish { display: grid; justify-items: center; gap: 8px; margin-top: 20px; text-align: center; }
.finish-sheet { border: 0; padding: 0; border-radius: 24px; width: min(560px, calc(100vw - 24px)); max-height: 90vh; box-shadow: 0 30px 80px -20px rgba(29, 21, 52, .5); }
.finish-sheet::backdrop { background: rgba(29, 21, 52, .5); }
.finish-form { display: grid; gap: 16px; padding: 22px; }
.finish-head { display: flex; gap: 12px; align-items: center; } .finish-head h2 { margin: 0; font-size: 1.2rem; } .finish-head p { margin: 2px 0 0; }
.finish-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.finish-label { margin: 0 0 6px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.finish-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 170px; overflow: auto; font-size: .9rem; }
.finish-list li { padding: 6px 10px; border-radius: 10px; }
.finish-list.is-bought li { background: #e6f6ef; color: #1f6b4f; } .finish-list.is-bought li::before { content: "✓ "; }
.finish-list.is-left li { background: #fff4ea; color: #8a4a12; }
.finish-opts { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.finish-opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; }
.finish-opt input { margin-top: 4px; accent-color: #7352c7; } .finish-opt span { display: grid; gap: 2px; } .finish-opt small { color: var(--muted); }
.finish-opt:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.finish-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.store-done { background: #e6f6ef; border-radius: 18px; padding: 16px; margin: 12px 0; display: grid; gap: 8px; color: #1f4d3d; }
.store-done-head { display: flex; gap: 12px; align-items: center; } .store-done-head div { display: grid; }
.store-done-ico { width: 38px; height: 38px; border-radius: 50%; background: #2fa37c; color: #fff; display: grid; place-items: center; flex: none; } .store-done-ico svg { width: 20px; height: 20px; }
.store-done p { margin: 0; }
.store-done-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 600px) {
    .finish-sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 22px 22px 0 0; }
    .finish-cols { grid-template-columns: 1fr; }
    .finish-actions .btn { flex: 1; }
}

/* ---------- Produkty sklepu (ręcznie / CSV) ---------- */
.sp-stale, .sp-manual-tip { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; border-left: 4px solid #f26b1d; margin-bottom: 16px; }
.sp-stale .grow, .sp-manual-tip .grow { display: grid; flex: 1 1 260px; }
.sp-stale-ico { width: 42px; height: 42px; border-radius: 12px; background: #fff0e6; color: #e2600f; display: grid; place-items: center; flex: none; } .sp-stale-ico svg { width: 22px; height: 22px; }
.sp-search { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; } .sp-search input { flex: 1 1 220px; }
.sp-empty { display: flex; gap: 14px; align-items: center; padding: 18px 4px; }
.sp-prod { display: flex; gap: 10px; align-items: center; min-width: 220px; }
.sp-prod img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.sp-prod span { display: grid; gap: 2px; } .sp-prod a { color: var(--text); font-weight: 500; }
.sp-actions { display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.sp-pages { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.sp-pages a { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--bg); color: var(--text); }
.sp-pages a.is-current { background: var(--primary); color: #fff; }
.sp-forms { margin-top: 18px; align-items: start; }
.sp-form-actions { display: flex; gap: 8px; }
@media (max-width: 700px) { .sp-table th:nth-child(3), .sp-table td:nth-child(3) { display: none; } }

/* Mailing systemowy (superadmin) */
.ml-grid { align-items: start; }
.ml-aud { border: 0; padding: 0; margin: 0 0 .5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.ml-aud legend { font-weight: 600; margin-bottom: .4rem; }
.ml-aud-opt { display: flex; gap: .5rem; align-items: flex-start; padding: .6rem .7rem; border: 1px solid var(--line, #e5e5e5); border-radius: 12px; cursor: pointer; }
.ml-aud-opt:has(input:checked) { border-color: var(--fox, #f26b1d); background: color-mix(in srgb, var(--fox, #f26b1d) 8%, transparent); }
.ml-aud-opt span { display: flex; flex-direction: column; } .ml-aud-opt small { color: var(--muted, #777); }
.ml-actions, .ml-send { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.ml-send { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line, #e5e5e5); justify-content: space-between; }
.ml-how { padding-left: 1.1rem; display: grid; gap: .4rem; }
.ml-preview { white-space: pre-wrap; font: inherit; font-size: .9rem; background: var(--bg-soft, #f7f5f2); padding: 1rem; border-radius: 12px; margin: 0; overflow-wrap: anywhere; }
.ml-unsub { text-align: center; max-width: 520px; margin: 3rem auto; display: grid; gap: .75rem; justify-items: center; }
@media (max-width: 640px) { .ml-aud { grid-template-columns: 1fr; } }

/* Rodzaje list: online (fiolet) vs do sklepu (pomarańcz) + łatwe usuwanie */
.list-type { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; border-radius: 99px; padding: 3px 9px; width: fit-content; color: var(--primary); background: var(--primary-50); }
.list-type svg { width: 13px; height: 13px; }
.list-type.is-store, .list-card-wrap.is-store .list-type { color: #a84300; background: #fff0e6; }
.list-type-lg { font-size: .75rem; margin-bottom: 4px; }
.list-group { margin-bottom: 22px; }
.list-group-head { display: flex; gap: 12px; align-items: center; margin: 4px 0 10px; }
.list-group-head h3 { margin: 0; font-size: 1.02rem; }
.list-group-head p { margin: 0; }
.list-group-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; color: var(--primary); background: var(--primary-50); }
.list-group.is-store .list-group-ico { color: #c24e00; background: #fff0e6; }
.list-group-ico svg { width: 19px; height: 19px; }
.list-card-wrap { position: relative; }
.list-card-wrap .list-card { border-top: 3px solid var(--primary); }
.list-card-wrap.is-store .list-card { border-top-color: #f26b1d; }
.list-card-wrap.is-store .list-card-ico, .list-group.is-store .list-card-new-ico { color: #c24e00; background: #fff0e6; }
.list-card-links { align-items: center; }
.list-card-links .list-del { margin-left: auto; }
.list-card-links .list-del button { display: inline-flex; gap: 4px; align-items: center; min-height: 32px; font-size: .82rem; }
.list-card-links .list-del button:hover, .list-card-links .list-del button:focus-visible { opacity: 1; }
.list-pick { position: absolute; top: 10px; right: 10px; z-index: 2; width: 30px; height: 30px; display: grid; place-items: center; background: #fff; border-radius: 9px; box-shadow: 0 1px 4px rgba(0,0,0,.15); cursor: pointer; }
.list-pick input { width: 18px; height: 18px; accent-color: var(--danger); }
[data-bulk].is-selecting .list-card { cursor: pointer; }
[data-bulk].is-selecting .list-card-wrap:has(input:checked) .list-card { outline: 2px solid var(--danger); outline-offset: 1px; }
[data-bulk].is-selecting .list-card-links, [data-bulk].is-selecting .list-card-new { opacity: .4; pointer-events: none; }
.bulk-bar { position: sticky; top: 76px; z-index: 20; display: flex; gap: 10px; align-items: center; justify-content: flex-end; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; box-shadow: 0 8px 24px rgba(0,0,0,.12); margin-top: 8px; }
.bulk-bar > span { margin-right: auto; }
@media (max-width: 760px) { .bulk-bar { top: 64px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mode-banner { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; border-left: 4px solid var(--primary); }
.store-banner { border-left: 4px solid #f26b1d; }
.mode-ico { display: inline-flex; color: var(--primary); } .mode-ico svg { width: 18px; height: 18px; }
.mode-opt:has(input[value="store"]) .mode-ico { color: #c24e00; }
.mode-opt input[value="store"]:checked + span { border-color: #f26b1d; background: #fff6f0; box-shadow: 0 0 0 3px rgba(242,107,29,.14); }
.btn-del { color: var(--danger-ink); }
.pick-body .list-type { margin-top: 2px; }
.mode-banner .grow strong, .mode-banner .grow span { display: block; }

/* Weryfikacja sklepów (admin) */
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #f26b1d; color: #fff; font-size: .72rem; font-weight: 700; display: inline-grid; place-items: center; }
.rv { margin-bottom: 24px; }
.rv h2 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin: 0 0 4px; }
.rv h2 svg { width: 20px; height: 20px; color: #c24e00; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 14px; margin-top: 12px; }
.rv-card { display: grid; gap: 10px; border-top: 3px solid #f26b1d; }
.rv-head { display: flex; gap: 12px; align-items: center; }
.rv-head .grow { display: grid; min-width: 0; }
.rv-head a { display: inline-flex; gap: 4px; align-items: center; } .rv-head a svg { width: 13px; height: 13px; }
.rv-logo { width: 44px; height: 44px; border-radius: 12px; background: #fff0e6; color: #c24e00; display: grid; place-items: center; overflow: hidden; flex: none; }
.rv-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; } .rv-logo svg { width: 20px; height: 20px; }
.rv-owner { margin: 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } .rv-owner svg { width: 14px; height: 14px; }
.rv-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: .85rem; }
.rv-checks li { display: flex; gap: 6px; align-items: baseline; }
.rv-checks svg { width: 14px; height: 14px; flex: none; position: relative; top: 2px; }
.rv-checks .is-ok svg { color: #1f8a65; } .rv-checks .is-no svg { color: #c24e00; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.rv-actions .link { margin-left: auto; align-self: center; }
.rv-ok { background: #1f8a65; } .rv-ok:hover { background: #17704f; }
.rv-reject summary { list-style: none; cursor: pointer; } .rv-reject summary::-webkit-details-marker { display: none; }
.rv-reject[open] summary { display: none; }
.rv-reject-form { display: flex; gap: 6px; flex-wrap: wrap; }
.rv-reject-form select { max-width: 240px; }
.rv-banner { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; border-left: 4px solid #f26b1d; margin-bottom: 18px; text-decoration: none; color: inherit; }
.rv-banner .grow { display: grid; }

/* Odstępy między panelami na stronach aplikacji (marginesy się nie sumują - bloki w main są w zwykłym przepływie) */
body.app main.content > :is(.card, section, .ui-empty, form.card, article.card) + :is(.card, section, .ui-empty, form.card, article.card) { margin-top: 20px; }

/* Admin: teraz online */
.online-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); vertical-align: 1px; }
.online-dot.is-live { background: #1f8a65; box-shadow: 0 0 0 3px rgba(31, 138, 101, .18); }

/* Plakietka "Sklep internetowy" (sklepy zarejestrowane w Wulpio vs sieci stacjonarne z gazetek); #5b3fb0 na #f1edfb ~ 6,5:1 */
.online-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 600; line-height: 1.2; padding: 3px 8px; border-radius: 99px; background: var(--primary-50); color: #5b3fb0; white-space: nowrap; vertical-align: middle; }
.online-badge .ic { width: 14px; height: 14px; }
.online-note { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 0; font-size: .86rem; color: var(--muted); }
.online-note .ic { width: 16px; height: 16px; margin-top: 2px; }
.online-note > span { flex: 1; min-width: 0; }
.online-badge.is-sm { font-size: .7rem; padding: 2px 7px; }
.online-badge.is-sm .ic { width: 12px; height: 12px; }

/* Baner rodzaju listy: tekst nie może się zwężać do jednego słowa na telefonie */
.mode-banner .grow, .store-banner .grow { flex: 1 1 220px; min-width: 0; }
@media (max-width: 560px) {
    .mode-banner > form, .mode-banner > form .btn, .store-banner > form, .store-banner > form .btn { width: 100%; justify-content: center; }
}
.online-note a { text-decoration: underline; text-underline-offset: 2px; }
.ios-sheet-title { font-size: 1.15rem; margin: 10px 0 0; }

/* Tryb sklepu: przyklejony pasek dopisywania na dole - przyciski dostępności i czatu nad nim, nie na nim */
@media (max-width: 900px) {
    body.app:has(.store-add) .a11y-fab, body.app:has(.store-add) .wchat-fab { bottom: calc(152px + env(safe-area-inset-bottom)); }
}
@media (min-width: 901px) {
    body.app:has(.store-add) .a11y-fab, body.app:has(.store-add) .wchat-fab { bottom: 92px; }
}

/* Stopka: profile Wulpio w mediach społecznościowych */
.lp-social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; }
.lp-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--lp-line); color: var(--lp-ink); font-size: .9rem; font-weight: 500; text-decoration: none !important; }
.lp-social a:hover { box-shadow: inset 0 0 0 1.5px var(--lp-purple); color: var(--lp-purple-deep); }
.lp-social .ic { width: 20px; height: 20px; color: var(--lp-purple); }
