:root { --mint: #0f9d7a; --mint-d: #0b7a5e; --mint-bg: #e7f6f1; --gold: #b7791f; --gold-bg: #fdf3e0; --ink: #14201c; --ink-2: #33423d; --muted: #5c6a65; --bg: #f6f8f7; --card: #fff; --line: #dfe5e2; --err: #b42318; --err-bg: #fde8e6; --ok: #0b7a5e; --ok-bg: #e7f6f1; --warn-bg: #fff4d6; --r: 14px; }
* { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--mint-d); } img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 10px; } h1 { font-size: 28px; font-weight: 800; } h2 { font-size: 20px; font-weight: 700; } h3 { font-size: 16px; font-weight: 700; }
p { margin: 0 0 10px; } .muted { color: var(--muted); font-size: 14px; } .center { text-align: center; } .small { font-size: 13px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 16px; } .main { padding-block: 18px 40px; min-height: 60vh; } .narrow { max-width: 640px; margin-inline: auto; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .row--between { justify-content: space-between; } .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; padding: 11px 18px; border-radius: 11px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s, background .15s; white-space: nowrap; }
.btn:active { transform: scale(.985); } .btn--primary { background: var(--mint); color: #fff; } .btn--primary:hover { background: var(--mint-d); } .btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); } .btn--ghost:hover { border-color: #b9c4bf; }
.btn--danger { background: var(--err-bg); color: var(--err); } .btn--gold { background: var(--gold); color: #fff; } .btn--sm { padding: 7px 13px; font-size: 13px; } .btn--xs { padding: 4px 10px; font-size: 12px; border-radius: 8px; } .btn--block { width: 100%; } .btn[disabled] { opacity: .5; cursor: default; }
.link { background: none; border: 0; color: var(--mint-d); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
/* forms */
.form { display: grid; gap: 12px; } label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
input, select, textarea { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; } textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--mint); outline-offset: 1px; border-color: var(--mint); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; } .consent input { width: auto; margin-top: 3px; }
.err { color: var(--err); font-size: 13px; margin: 0; } .flash { background: var(--ok-bg); color: var(--ok); padding: 10px 14px; border-radius: 10px; margin: 0 0 14px; font-weight: 600; } .flash--err { background: var(--err-bg); color: var(--err); }
.notice { background: var(--warn-bg); padding: 10px 14px; border-radius: 10px; font-size: 14px; margin: 0 0 14px; } .warn { background: var(--warn-bg); border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 10px 0; } .danger { background: var(--err-bg); color: var(--err); border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 10px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-bottom: 16px; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.pill--ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; } .pill--warn { background: var(--warn-bg); color: #854d0e; border-color: transparent; } .pill--err { background: var(--err-bg); color: var(--err); border-color: transparent; } .pill--mint { background: var(--mint-bg); color: var(--mint-d); border-color: transparent; } .pill--gold { background: var(--gold-bg); color: var(--gold); border-color: transparent; }
.badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--err); color: #fff; font-size: 11px; line-height: 18px; text-align: center; margin-left: 3px; }
/* topbar */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top); }
.topbar__inner { display: flex; align-items: center; gap: 14px; height: 62px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; } .brand span { color: var(--mint); } .brand--center { justify-content: center; margin-bottom: 18px; }
.brand .brand__mark { width: 34px; height: 34px; border-radius: 9px; display: block; } .brand--center .brand__mark { width: 40px; height: 40px; }
.search { flex: 1; display: flex; max-width: 560px; } .search input { border-radius: 10px 0 0 10px; border-right: 0; } .search button { border: 1px solid var(--line); border-radius: 0 10px 10px 0; background: var(--bg); padding: 0 14px; cursor: pointer; font-size: 16px; }
.topnav { display: flex; gap: 6px; align-items: center; margin-left: auto; } .topnav > a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14px; padding: 7px 10px; border-radius: 999px; white-space: nowrap; } .topnav > a.on, .topnav > a:hover:not(.btn) { background: var(--bg); }
.avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mint-bg); color: var(--mint-d); font-weight: 800; font-size: 13px; object-fit: cover; } .avatar--sm { width: 32px; height: 32px; } .avatar--lg { width: 72px; height: 72px; font-size: 24px; } .avatar-link { display: inline-flex; }
.catbar { display: flex; gap: 6px; overflow-x: auto; padding-block: 8px; scrollbar-width: none; } .catbar::-webkit-scrollbar { display: none; } .catbar a { text-decoration: none; color: var(--ink-2); font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); white-space: nowrap; } .catbar a.on { background: var(--mint); color: #fff; border-color: var(--mint); } .catbar__safe { margin-left: auto; color: var(--mint-d) !important; }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 10px; background: #fff; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; flex: none; } .hamburger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.mnav-backdrop { position: fixed; inset: 0; background: rgba(20, 32, 28, .45); z-index: 70; } .mnav { position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 340px); background: #fff; z-index: 71; display: flex; flex-direction: column; overflow-y: auto; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: -12px 0 40px -20px rgba(0,0,0,.5); }
.mnav[hidden], .mnav-backdrop[hidden] { display: none !important; } .mnav__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); } .mnav__close { font: inherit; font-size: 26px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.mnav__nav { display: grid; gap: 2px; padding: 10px 0; } .mnav__nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; } .mnav__nav a:hover { background: var(--bg); } .mnav__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 2px; } .mnav__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
body.mnav-open { overflow: hidden; }
.bottomnav { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bottomnav a { flex: 1; display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; padding: 8px 2px 6px; } .bottomnav a span { font-size: 20px; line-height: 1; position: relative; } .bottomnav a.on { color: var(--mint-d); } .bottomnav__add span { background: var(--mint); color: #fff; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-top: -14px; box-shadow: 0 6px 16px -6px rgba(15,157,122,.8); }
.footer { border-top: 1px solid var(--line); background: #fff; padding: 26px 0; font-size: 14px; } .footer__inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; } .footer__links { display: grid; gap: 6px; }
.installbar { position: fixed; left: 12px; right: 12px; bottom: 70px; z-index: 50; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; box-shadow: 0 16px 40px -20px rgba(0,0,0,.4); font-size: 14px; max-width: 560px; margin: 0 auto; } .installbar p { flex: 1; margin: 0; } .installbar[hidden] { display: none !important; }
.ccb { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px -20px rgba(0,0,0,.5); padding: 14px 16px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 920px; margin: 0 auto; font-size: 14px; } .ccb[hidden] { display: none !important; } .ccb__btns { display: flex; gap: 8px; }
/* home */
.hero { background: linear-gradient(135deg, var(--mint-bg), #fff 60%); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; margin-bottom: 18px; } .hero h1 { font-size: 30px; max-width: 760px; } .hero p { font-size: 16px; color: var(--ink-2); max-width: 680px; }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 20px; } .cat { display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-decoration: none; color: var(--ink); } .cat:hover { border-color: var(--mint); } .cat b { font-size: 16px; } .cat small { color: var(--muted); } .cat .ico { font-size: 28px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 10px; } .section-head h2 { margin: 0; }
/* listing grid */
.lgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; } .lcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; position: relative; } .lcard:hover { border-color: var(--mint); }
.lcard__img { aspect-ratio: 1; background: var(--bg); display: grid; place-items: center; font-size: 40px; overflow: hidden; } .lcard__img img { width: 100%; height: 100%; object-fit: cover; } .lcard__body { padding: 10px 12px 12px; display: grid; gap: 3px; } .lcard__title { font-weight: 600; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .lcard__price { font-weight: 800; font-size: 16px; } .lcard__meta { font-size: 12px; color: var(--muted); }
.lcard__type { position: absolute; top: 8px; left: 8px; } .lcard__fav { position: absolute; top: 6px; right: 6px; background: rgba(255,255,255,.9); border: 0; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; font-size: 16px; }
.lcard--sold .lcard__img::after { content: 'SPRZEDANE'; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20,32,28,.45); color: #fff; font-weight: 800; letter-spacing: .1em; }
/* browse */
.browse { display: grid; grid-template-columns: 260px 1fr; gap: 18px; } .filters { position: sticky; top: 76px; align-self: start; } .filters .card { padding: 14px; } .filters label { font-size: 12px; } .filters input, .filters select { padding: 7px 9px; font-size: 14px; }
.sortbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; } .sortbar select { width: auto; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 18px; flex-wrap: wrap; } .pagination nav > div:first-child { display: none; } .pagination a, .pagination span { padding: 6px 11px; border-radius: 8px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-size: 14px; }
/* listing show */
.lshow { display: grid; grid-template-columns: 1fr 360px; gap: 18px; align-items: start; }
.gallery { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; } .gallery__main { aspect-ratio: 4/3; background: var(--bg); display: grid; place-items: center; } .gallery__main img { width: 100%; height: 100%; object-fit: contain; } .gallery__thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; } .gallery__thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; } .gallery__thumbs img.on { border-color: var(--mint); }
.price-big { font-size: 28px; font-weight: 800; } .attrs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 14px; } .attrs div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding: 4px 0; } .attrs span { color: var(--muted); }
.seller { display: flex; gap: 12px; align-items: center; } .stars { color: var(--gold); letter-spacing: 1px; }
.desc { white-space: normal; font-size: 15px; line-height: 1.65; }
.safety { background: var(--gold-bg); border-radius: 12px; padding: 12px 14px; font-size: 13px; } .safety ul { margin: 6px 0 0 18px; padding: 0; }
/* messages */
.inbox { display: grid; gap: 8px; } .convo { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; text-decoration: none; color: var(--ink); } .convo--unread { border-color: var(--mint); background: var(--mint-bg); } .convo__thumb { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--bg); flex: none; } .convo__body { min-width: 0; flex: 1; } .convo__title { font-weight: 700; font-size: 14px; } .convo__prev { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread { display: grid; gap: 8px; padding: 6px 0; max-height: 60vh; overflow-y: auto; } .msg { max-width: 78%; padding: 9px 13px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 15px; white-space: pre-wrap; word-break: break-word; } .msg--me { margin-left: auto; background: var(--mint-bg); border-color: transparent; } .msg--sys { margin-inline: auto; background: var(--warn-bg); font-size: 13px; max-width: 92%; } .msg__meta { font-size: 11px; color: var(--muted); margin-top: 3px; } .msg__warn { font-size: 12px; color: #854d0e; margin-top: 4px; }
.composer { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; } .composer textarea { min-height: 48px; max-height: 160px; }
/* tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; } .tbl th, .tbl td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; } .tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); } .tbl .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; } .subnav a { text-decoration: none; font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); } .subnav a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } .stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; } .stat b { font-size: 24px; display: block; } .stat span { font-size: 12px; color: var(--muted); }
/* images uploader */
.uploader { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; } .uploader .thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); } .uploader img { width: 100%; height: 100%; object-fit: cover; } .uploader .thumb button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
.dropzone { display: grid; place-items: center; gap: 4px; padding: 18px; border: 2px dashed var(--line); border-radius: 12px; text-align: center; cursor: pointer; background: #fff; } .dropzone:hover { border-color: var(--mint); }
/* legal */
.legal h2 { margin-top: 26px; font-size: 20px; } .legal h3 { margin-top: 18px; } .legal p, .legal li { font-size: 15px; line-height: 1.65; color: var(--ink-2); } .legal table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; } .legal th, .legal td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.toc { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; font-size: 14px; } .toc ol { padding-left: 20px; display: grid; gap: 3px; margin: 6px 0 0; }
/* chart */
.chart { width: 100%; height: auto; } .legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); } .legend i { display: inline-block; width: 12px; height: 3px; vertical-align: middle; margin-right: 4px; }
.pricebox { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .pricebox div { background: var(--bg); border-radius: 10px; padding: 10px; text-align: center; } .pricebox b { display: block; font-size: 18px; } .pricebox span { font-size: 11px; color: var(--muted); }
/* auth */
.authbody { background: linear-gradient(180deg, var(--mint-bg), var(--bg) 40%); } .authwrap { max-width: 440px; margin: 40px auto; padding: 0 16px; } .authwrap .card { padding: 24px; }
.tr--warn td { background: var(--warn-bg) !important; } .doccard { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 8px; }
.collection-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; } .collection-item img, .collection-item .ph { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: var(--bg); display: grid; place-items: center; }
@media (max-width: 1000px) { .lgrid { grid-template-columns: repeat(3, 1fr); } .cats { grid-template-columns: repeat(2, 1fr); } .lshow { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr 1fr; } .uploader { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px) { .topnav, .catbar__safe { display: none; } .hamburger { display: inline-flex; } .search { max-width: none; } .bottomnav { display: flex; } .main { padding-bottom: 90px; } .footer { padding-bottom: 80px; } .browse { grid-template-columns: 1fr; } .filters { position: static; } .grid2, .grid3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .hero { padding: 20px 16px; } .hero h1 { font-size: 24px; } .attrs { grid-template-columns: 1fr; } .uploader { grid-template-columns: repeat(3, 1fr); } .msg { max-width: 90%; } .topbar__inner { gap: 8px; } .brand { font-size: 18px; } .search input { font-size: 14px; } .installbar { bottom: 70px; } .ccb { bottom: 70px; } }

/* strona aplikacji */
.steps { display: grid; gap: 10px; counter-reset: s; padding: 0; margin: 0; } .steps li { list-style: none; position: relative; padding-left: 40px; min-height: 28px; font-size: 15px; } .steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.phone-mock { background: var(--mint-bg); border-radius: 18px; padding: 18px; display: grid; place-items: center; } .phone-mock img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 12px 30px -12px rgba(10,107,85,.6); }
.hero--app { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; text-align: left; max-width: none; }
@media (max-width: 700px) { .hero--app { grid-template-columns: 1fr; } .phone-mock { justify-self: start; } }
