:root {
  --brand: #0B7A75;
  --brand-dark: #08615D;
  --brand-soft: #E7F3F2;
  --ink: #171717;
  --muted: #6B6B6B;
  --line: #E4E4E4;
  --alt: #F5F6F6;
  --danger: #C0392B;
  --warn: #8A5A00;
  --ok: #1E7B4A;
  --radius: 6px;
  --font: "Figtree", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 15px/1.5 var(--font); padding-bottom: env(safe-area-inset-bottom, 0px); }
a { color: inherit; }
img { max-width: 100%; display: block; }
svg[aria-hidden] { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: 26px; font-weight: 700; }
h2 { font-size: 20px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0 0 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }

/* ---------- header ---------- */
.hdr { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px); }
.hdr__bar { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { font-size: 26px; font-weight: 800; color: var(--brand); text-decoration: none; letter-spacing: -0.03em; flex: none; }
.search { flex: 1; display: flex; align-items: center; background: var(--alt); border-radius: var(--radius); height: 40px; min-width: 0; }
.search select, .search select:focus { border: 0; border-radius: 0; box-shadow: none; width: auto; background: transparent; font: inherit; padding: 0 8px 0 12px; height: 100%; color: var(--ink); border-right: 1px solid var(--line); max-width: 150px; }
.search input, .search input:focus { flex: 1; border: 0; box-shadow: none; border-radius: 0; background: transparent; font: inherit; padding: 0 12px; height: 100%; min-width: 0; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 2px var(--brand) inset; }
.search button { border: 0; background: transparent; padding: 0 12px; height: 100%; cursor: pointer; color: var(--muted); display: flex; align-items: center; }
.hdr__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--muted); text-decoration: none; background: none; border: 0; cursor: pointer; }
.icon-btn:hover { background: var(--alt); color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }
.dot { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; line-height: 16px; text-align: center; }
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; right: 0; top: 46px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.08); min-width: 200px; padding: 6px 0; z-index: 30; }
.menu__panel a, .menu__panel button { display: block; width: 100%; text-align: left; padding: 9px 16px; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; color: var(--ink); }
.menu__panel a:hover, .menu__panel button:hover { background: var(--alt); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; text-transform: uppercase; font-size: 14px; flex: none; object-fit: cover; }
.avatar--lg { width: 88px; height: 88px; font-size: 34px; }
.cats { display: flex; gap: 22px; overflow-x: auto; overflow-y: hidden; height: 42px; align-items: center; scrollbar-width: none; touch-action: pan-x; overscroll-behavior-y: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { white-space: nowrap; text-decoration: none; color: var(--muted); font-size: 14px; padding: 10px 0; border-bottom: 2px solid transparent; }
.cats a:hover, .cats a.is-on { color: var(--ink); border-bottom-color: var(--brand); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--brand); background: #fff; color: var(--brand); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--brand-soft); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--block { width: 100%; }
.btn--lg { height: 46px; font-size: 16px; }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--danger { border-color: var(--danger); color: var(--danger); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- flash ---------- */
.flash { margin: 16px auto 0; padding: 12px 16px; border-radius: var(--radius); background: var(--brand-soft); color: var(--brand-dark); }
.flash--error { background: #FDECEA; color: var(--danger); }
.flash--info { background: var(--alt); color: var(--ink); }
.notice { padding: 12px 16px; border-radius: var(--radius); background: #FFF6E5; color: var(--warn); margin-bottom: 16px; }
.notice a { font-weight: 600; }

/* ---------- home ---------- */
.hero { background: linear-gradient(120deg, #0B7A75 0%, #13958F 60%, #7CC7C1 100%); }
.hero__inner { min-height: 340px; display: flex; align-items: center; }
.hero__card { background: #fff; border-radius: 8px; padding: 32px; max-width: 400px; box-shadow: 0 10px 30px rgba(0,0,0,.12); margin: 32px 0; }
.hero__card h1 { font-size: 30px; font-weight: 700; margin-bottom: 20px; }
.hero__card .link { display: block; margin-top: 14px; text-align: center; }
.section { padding: 32px 0 8px; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 12px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tile { display: block; padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.tile:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- item grid ---------- */
.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 16px; }
.card { position: relative; min-width: 0; }
.card__link { text-decoration: none; display: block; }
.card__media { position: relative; }
.card__img { position: relative; aspect-ratio: 3 / 4; background: var(--alt); border-radius: 4px; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__badge { position: absolute; left: 8px; bottom: 8px; background: rgba(23,23,23,.78); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.card__badge--bump { background: var(--brand); left: 8px; top: 8px; bottom: auto; }
.card__meta { padding-top: 8px; }
.card__price { font-weight: 700; font-size: 15px; }
.card__incl { color: var(--brand); font-size: 12px; }
.card__sub { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__seller { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 6px; text-decoration: none; }
.card__seller .avatar { width: 20px; height: 20px; font-size: 10px; }
.fav { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 0; border-radius: 14px; padding: 4px 8px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.fav svg { width: 14px; height: 14px; }
.fav.is-on { color: var(--danger); }
.fav.is-on svg { fill: currentColor; }
.card__check { position: absolute; top: 8px; right: 8px; z-index: 2; width: 22px; height: 22px; accent-color: var(--brand); }
.card__bundle { margin-top: 8px; border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; display: flex; flex-direction: column; gap: 4px; }
.card__bundle-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.card__bundle-qty { width: 44px; height: 26px; text-align: center; border: 1px solid var(--line); border-radius: 4px; font: inherit; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty h2 { color: var(--ink); }

/* ---------- catalog ---------- */
.catalog { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding-top: 24px; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.filters legend { font-weight: 700; margin-bottom: 8px; }
.filters label.opt { display: flex; gap: 8px; align-items: center; padding: 4px 0; cursor: pointer; }
.filters input[type=checkbox] { accent-color: var(--brand); width: 17px; height: 17px; }
.range { display: flex; gap: 8px; }
.range input { width: 100%; }
.side-cats a { display: block; padding: 5px 0; text-decoration: none; color: var(--muted); }
.side-cats a.is-on, .side-cats a:hover { color: var(--ink); font-weight: 600; }
.side-cats a.side-cats__child { padding-left: 16px; font-size: 13px; }
.side-cats a.side-cats__grandchild { padding-left: 28px; font-size: 12px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.pager { display: flex; justify-content: center; gap: 6px; padding: 32px 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; padding: 0 10px; }
.pager .is-on { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field > span, .label { font-weight: 600; font-size: 14px; }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input:not([type]), select, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 12px; width: 100%; min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
textarea { resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.money { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.money:focus-within { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.money > span { padding: 0 0 0 12px; color: var(--muted); }
.money input { border: 0 !important; box-shadow: none !important; padding-left: 6px; }

/* ---------- auth + narrow pages ---------- */
.narrow { max-width: 440px; margin: 40px auto; padding: 0 20px; }
.box { border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.page { padding: 28px 0 60px; }
.panel { border: 1px solid var(--line); border-radius: 8px; padding: 22px; margin-bottom: 20px; }
.panel h2 { font-size: 18px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.stat { font-size: 30px; font-weight: 800; }

/* ---------- item page ---------- */
.item { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; padding-top: 24px; align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery a { display: block; background: var(--alt); border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 4; }
.gallery a:first-child { grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery--one { grid-template-columns: 1fr; max-width: 560px; }
.gallery--one a:first-child { aspect-ratio: 3 / 4; }
.buybox { position: sticky; top: 124px; }
.buybox .panel { margin-bottom: 14px; }
.price { font-size: 26px; font-weight: 800; }
.incl { color: var(--brand); font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.details { width: 100%; border-collapse: collapse; margin: 8px 0 16px; }
.details th { text-align: left; color: var(--muted); font-weight: 400; padding: 5px 0; width: 42%; vertical-align: top; }
.details td { padding: 5px 0; }
.item-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.desc { white-space: pre-line; margin-bottom: 16px; }
.actions { display: grid; gap: 8px; }
.shipline { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.seller-card { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.rating { color: #E0A800; letter-spacing: 1px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 12px; background: var(--alt); font-size: 12px; font-weight: 600; }
.pill--ok { background: #E4F4EA; color: var(--ok); }
.pill--warn { background: #FFF1DB; color: var(--warn); }
.pill--bad { background: #FDECEA; color: var(--danger); }
.pill--brand { background: var(--brand-soft); color: var(--brand-dark); }

/* ---------- profile ---------- */
.profile { display: flex; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.profile__main { flex: 1; min-width: 220px; }
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs a { padding: 10px 0; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; font-weight: 600; }
.tabs a.is-on { color: var(--ink); border-bottom-color: var(--brand); }
.bundlebar { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 0; margin-top: 20px; z-index: 5; }
.bundlebar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bundlebar__inner { flex-wrap: wrap; row-gap: 8px; }
.bundlebar__summary { display: flex; flex-direction: column; gap: 2px; }
.bundlebar__totals { display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.bundlebar__totals strong { margin-left: 4px; }
.js-bundle-discount { color: var(--brand); }
.review { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* ---------- lists (orders, inbox, admin) ---------- */
.list-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.thumb { width: 64px; height: 80px; border-radius: 4px; object-fit: cover; background: var(--alt); flex: none; }
.list-row__main { flex: 1; min-width: 0; }
.list-row__main strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: 13px; }
.table-wrap { overflow-x: auto; }
.sum { width: 100%; border-collapse: collapse; }
.sum td { padding: 6px 0; }
.sum td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.sum tr.total td { font-weight: 800; font-size: 17px; border-top: 1px solid var(--line); padding-top: 12px; }
.sum tr.discount td:last-child { color: var(--ok); }
.steps { display: flex; gap: 0; margin: 8px 0 20px; }
.steps li { flex: 1; list-style: none; text-align: center; font-size: 12px; color: var(--muted); position: relative; padding-top: 22px; }
.steps li::before { content: ""; position: absolute; top: 4px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--line); z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.steps li:first-child::after { display: none; }
.steps li.is-done { color: var(--ink); }
.steps li.is-done::before, .steps li.is-done::after { background: var(--brand); }
.steps { padding: 0; }

/* ---------- inbox ---------- */
.inbox { display: grid; grid-template-columns: 320px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 8px; min-height: 560px; overflow: hidden; }
.inbox__list { border-right: 1px solid var(--line); overflow-y: auto; max-height: 72vh; }
.inbox__list a { display: flex; gap: 10px; padding: 12px 14px; text-decoration: none; border-bottom: 1px solid var(--line); }
.inbox__list a.is-on { background: var(--alt); }
.inbox__list a.is-unread strong { color: var(--brand-dark); }
.inbox__thread { display: flex; flex-direction: column; min-width: 0; }
.thread__head { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.thread__msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; max-height: 58vh; }
.bubble { max-width: 75%; padding: 9px 13px; border-radius: 16px; background: var(--alt); white-space: pre-line; word-wrap: break-word; }
.bubble--me { align-self: flex-end; background: var(--brand); color: #fff; }
.bubble--sys { align-self: center; background: none; color: var(--muted); font-size: 13px; text-align: center; max-width: 90%; }
.thread__form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.thread__form textarea { min-height: 44px; height: 44px; }

/* ---------- sell form ---------- */
.sell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; padding: 24px 0 80px; align-items: start; }
.sell .panel h2 { margin-bottom: 14px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.photo { position: relative; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; background: var(--alt); cursor: grab; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; line-height: 1; }
.photo .cover { position: absolute; left: 4px; bottom: 4px; background: var(--brand); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 3px; }
.photo-add { aspect-ratio: 3 / 4; border: 2px dashed var(--line); border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--brand); font-weight: 600; cursor: pointer; font-size: 13px; text-align: center; }
.photo-add:hover { border-color: var(--brand); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; margin: 0 0 14px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 20px; cursor: pointer; }
.chips input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }
.chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; margin: 0 0 14px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size__b { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; cursor: pointer; }
.size input:checked + .size__b { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: var(--brand-soft); }
.size input:focus-visible + .size__b { outline: 2px solid var(--brand); outline-offset: 2px; }
.size__b strong { display: block; }
.size__b small { color: var(--muted); display: block; }
.variants table { width: 100%; border-collapse: collapse; }
.variants th { text-align: left; font-size: 13px; padding: 0 6px 6px 0; }
.variants td { padding: 0 6px 8px 0; }
.variants td:nth-child(2) { width: 90px; }
.variants .x { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); width: 38px; height: 42px; cursor: pointer; color: var(--muted); }

/* earnings (sell sidebar) */
.earn { position: sticky; top: 124px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.earn__top { padding: 18px; background: var(--brand-soft); }
.earn__amt { font-size: 40px; font-weight: 800; color: var(--brand-dark); line-height: 1.05; font-variant-numeric: tabular-nums; }
.earn__amt.is-neg { color: var(--danger); }
.earn table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.earn th, .earn td { padding: 8px 12px; text-align: right; border-bottom: 1px solid var(--line); }
.earn th[scope=row] { text-align: left; font-weight: 400; color: var(--muted); }
.earn thead th { font-size: 12px; font-weight: 700; }
.earn .is-sel { background: #F3FAF9; }
.earn thead .is-sel { box-shadow: inset 0 -2px 0 var(--brand); }
.earn tr.tot th, .earn tr.tot td { font-weight: 800; color: var(--ink); }
.earn__foot { padding: 12px 14px; font-size: 13px; color: var(--muted); }
.earn__notes { margin: 0; padding: 0 14px 14px 30px; font-size: 13px; color: var(--warn); }
.earn__notes .err { color: var(--danger); }
.earnbar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--ink); color: #fff; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); display: none; justify-content: space-between; align-items: center; z-index: 30; }
.earnbar a { color: #fff; font-weight: 700; }

/* coupons */
.coupon { display: flex; justify-content: space-between; align-items: center; border: 1px dashed var(--brand); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 8px; background: var(--brand-soft); }
.coupon strong { color: var(--brand-dark); font-size: 18px; }
.progress li { list-style: none; padding: 6px 0 6px 28px; position: relative; }
.progress li::before { content: "○"; position: absolute; left: 4px; color: var(--muted); }
.progress li.is-done::before { content: "✓"; color: var(--ok); font-weight: 800; }
.progress { padding: 0; margin: 0 0 14px; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); margin-top: 60px; padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ftr a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; }
.ftr a:hover { color: var(--ink); }
.ftr h3 { color: var(--ink); font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog, .item, .sell, .cols { grid-template-columns: minmax(0, 1fr); }
  .filters { display: none; }
  .filters.is-open { display: block; }
  .buybox, .earn { position: static; }
  .earnbar:not([hidden]) { display: flex; }
  .inbox { grid-template-columns: minmax(0, 1fr); }
  .inbox.has-active .inbox__list { display: none; }
  .inbox:not(.has-active) .inbox__thread { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .hdr__bar { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .search { order: 3; flex-basis: 100%; }
  .search select { display: none; }
  .hdr__actions { margin-left: auto; }
  .hdr__actions .btn { padding: 0 12px; height: 36px; }
  .hero__card { padding: 22px; }
  .hero__card h1 { font-size: 24px; }
  .row2, .row3, .sizes, .ftr__cols { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery a:first-child { grid-row: auto; aspect-ratio: 3 / 4; }
  .gallery a:not(:first-child) { display: none; }
  .gallery.is-all a { display: block; }
  h1 { font-size: 22px; }
}
@media (min-width: 641px) { .js-all-photos { display: none; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
