/* ============================================================
   Mercado — estilos. Inspirado en el layout de Facebook Marketplace:
   barra superior, sidebar de categorías, grilla de tarjetas.
   ============================================================ */

:root {
  --bg:        #f0f2f5;
  --surface:   #ffffff;
  --surface-2: #f5f6f7;
  --line:      #ced0d4;
  --line-soft: #e4e6eb;
  --text:      #050505;
  --text-2:    #65676b;
  --text-3:    #8a8d91;
  --brand:     #1877f2;
  --brand-d:   #166fe5;
  --brand-soft: #e7f0fe;
  --brand-glow: rgba(24,119,242,.16);
  --on-brand:  #ffffff;
  --green:     #2e7d32;
  --danger:    #e41e3f;
  --radius:    8px;
  --radius-lg: 14px;
  --shadow:    0 1px 2px rgba(0,0,0,.1);
  --shadow-lg: 0 2px 12px rgba(0,0,0,.15);
  --header-h:  56px;
  --font:      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.34;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.topbar__inner {
  height: 100%;
  display: flex; align-items: center;
  padding: 0 16px; gap: 12px;
  max-width: 1600px; margin: 0 auto;
}
.topbar__logo {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand);
  display: grid; place-items: center;
  font-weight: 800; font-size: 22px; flex: none;
  overflow: hidden;
}
/* Logo de imagen ancho: sin círculo, a su proporción natural */
.topbar__logo--wide {
  width: auto; height: 40px; min-width: 0; max-width: 190px;
  border-radius: 0; background: none; overflow: visible;
  padding: 0 4px;
}
@media (max-width: 760px) {
  .topbar__logo--wide { max-width: 130px; }
}
.topbar__search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2);
  border-radius: 50px; padding: 8px 14px;
  flex: 1; max-width: 360px;
}
.topbar__search input {
  border: none; background: none; outline: none;
  font-size: 15px; width: 100%; color: var(--text);
}
.topbar__search svg { color: var(--text-3); flex: none; }
.topbar__nav { display: flex; gap: 6px; margin: 0 auto; }
.topbar__nav a {
  width: 100px; height: 44px; border-radius: var(--radius);
  display: grid; place-items: center; color: var(--text-2);
  transition: background .15s;
}
.topbar__nav a:hover { background: var(--surface-2); }
.topbar__nav a.active { color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); border-radius: 0; }
.topbar__right { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface-2); border: none; color: var(--text);
  display: grid; place-items: center; position: relative;
}
.icon-btn:hover { background: var(--line-soft); }
.icon-btn .badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--danger); color: #fff;
  font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center; padding: 0 4px;
}
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; background: var(--line-soft);
}
.avatar--sm { width: 32px; height: 32px; }
.avatar--lg { width: 80px; height: 80px; }

/* ---------- Layout ---------- */
.layout { display: flex; max-width: 1600px; margin: 0 auto; }
.sidebar {
  width: 320px; flex: none;
  max-height: calc(100vh - var(--header-h));
  position: sticky; top: var(--header-h);
  overflow-y: auto; overflow-x: hidden; padding: 16px;
  background: var(--surface);
  border-right: 1px solid var(--line-soft);
  scrollbar-width: none;          /* Firefox: barra oculta */
  -ms-overflow-style: none;        /* IE/Edge antiguo */
}
.sidebar::-webkit-scrollbar { width: 0; height: 0; display: none; } /* Chrome/Safari */
.main { flex: 1; padding: 16px 20px 60px; min-width: 0; }

.sidebar__title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 24px; font-weight: 800; margin-bottom: 12px;
}
.sidebar__title .icon-btn { width: 36px; height: 36px; }

.side-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2); border-radius: 50px;
  padding: 9px 14px; margin-bottom: 14px;
}
.side-search input { border: none; background: none; outline: none; width: 100%; font-size: 15px; }
.side-search svg { color: var(--text-3); }

.side-nav { list-style: none; margin-bottom: 8px; }
.side-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 8px; border-radius: var(--radius);
  font-weight: 600; color: var(--text);
}
.side-nav a:hover { background: var(--surface-2); }
.side-nav a.active { background: var(--surface-2); }
.side-nav .ic {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--line-soft); display: grid; place-items: center; flex: none;
}
.side-nav a.active .ic { background: var(--brand-soft); color: var(--brand); }
.side-nav .chev { margin-left: auto; color: var(--text-3); }

.btn-create {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 9px; border-radius: var(--radius);
  background: var(--brand-soft); color: var(--brand); font-weight: 700;
  border: none; margin: 6px 0 16px;
}
.btn-create:hover { background: #dbe7fd; }

.side-section { border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: 6px; }
.side-section h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.side-section .loc { color: var(--brand); font-weight: 600; margin-bottom: 12px; font-size: 14px; }
.side-section select { width: 100%; padding: 9px 10px; border: 1px solid var(--line-soft); border-radius: 9px; font-size: 14px; background: var(--surface); color: var(--text); cursor: pointer; }
.side-section select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.side-section select:disabled { opacity: .55; cursor: not-allowed; }

.cat-list { list-style: none; }
.cat-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 8px; border-radius: var(--radius); color: var(--text);
}
.cat-list a:hover { background: var(--surface-2); }
.cat-list a.active { background: var(--surface-2); font-weight: 600; }
.cat-list .ic {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--line-soft); display: grid; place-items: center; flex: none;
}

/* ---------- Main header ---------- */
.main__head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 8px;
}
.main__head h1 { font-size: 24px; font-weight: 800; }
.main__loc { color: var(--text-2); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.main__loc svg { color: var(--brand); }

/* ---------- Grilla de productos ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: box-shadow .15s, transform .15s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 1/1; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media .placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; color: var(--text-3);
}
.card__tag {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0,0,0,.72); color: #fff;
  font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px;
}
.card__tag--digital { background: #6d28d9; }
.card__fav {
  position: absolute; top: 8px; right: 8px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none;
  display: grid; place-items: center; color: var(--text);
}
.card__fav:hover { background: #fff; }
.card__fav.on { color: var(--danger); }
.card__body { padding: 8px 10px 12px; }
.card__price { font-size: 17px; font-weight: 800; }
.card__title {
  font-size: 14px; color: var(--text); margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__meta { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.card__sold {
  position: absolute; inset: 0; background: rgba(0,0,0,.5);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px;
  letter-spacing: 1px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--radius); border: none;
  font-weight: 700; font-size: 15px; background: var(--surface-2); color: var(--text);
  transition: background .15s;
}
.btn:hover { background: var(--line-soft); }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-d); }
.btn--success { background: var(--green); color: #fff; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 12px 20px; font-size: 16px; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--bg); }
.auth-card {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px; width: 100%; max-width: 420px;
}
.auth-card .logo {
  width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: var(--on-brand);
  display: grid; place-items: center; font-weight: 800; font-size: 30px; margin: 0 auto 12px;
  overflow: hidden;
}
/* Logo de imagen ancho en login/registro: sin círculo, centrado */
.auth-card .logo--wide {
  width: auto; height: auto; max-width: 240px; border-radius: 0;
  background: none; overflow: visible; margin: 0 auto 16px;
}
.auth-card h1 { text-align: center; font-size: 24px; margin-bottom: 4px; }
.auth-card .sub { text-align: center; color: var(--text-2); margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); font-size: 15px; font-family: inherit; background: var(--surface);
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.field textarea { resize: vertical; min-height: 90px; }
.auth-foot { text-align: center; margin-top: 16px; color: var(--text-2); }
.auth-foot a { color: var(--brand); font-weight: 600; }

.alert { padding: 11px 14px; border-radius: var(--radius); margin-bottom: 14px; font-size: 14px; font-weight: 500; }
.alert--error { background: #ffebe9; color: #b3261e; }
.alert--ok { background: #e6f4ea; color: #1e7a34; }
.alert--info { background: var(--brand-soft); color: var(--brand-d); }

/* ---------- Detalle de producto ---------- */
.detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.detail__gallery { background: #18191a; display: flex; flex-direction: column; }
.detail__main-img { aspect-ratio: 1/1; display: grid; place-items: center; }
.detail__main-img img { width: 100%; height: 100%; object-fit: contain; }
.detail__thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
.detail__thumbs img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: .6; }
.detail__thumbs img.active { opacity: 1; outline: 2px solid var(--brand); }
.detail__info { padding: 22px; overflow-y: auto; }
.detail__price { font-size: 26px; font-weight: 800; }
.detail__title { font-size: 20px; font-weight: 700; margin: 2px 0 6px; }
.detail__meta { color: var(--text-2); font-size: 14px; margin-bottom: 16px; }
.detail__section { border-top: 1px solid var(--line-soft); padding: 16px 0; }
.detail__section h3 { font-size: 16px; margin-bottom: 8px; }
.detail__desc { color: var(--text); white-space: pre-wrap; }
.seller { display: flex; align-items: center; gap: 12px; }
.seller .meta { flex: 1; }
.seller .name { font-weight: 700; }
.seller .loc { color: var(--text-2); font-size: 13px; }

/* ---------- Mensajería ---------- */
.msg-layout { display: grid; grid-template-columns: 320px 1fr; height: calc(100vh - var(--header-h)); background: var(--surface); }
.conv-list { border-right: 1px solid var(--line-soft); overflow-y: auto; }
.conv-list h2 { padding: 16px; font-size: 22px; font-weight: 800; }
.conv-item { display: flex; gap: 10px; padding: 10px 16px; cursor: pointer; align-items: center; }
.conv-item:hover, .conv-item.active { background: var(--surface-2); }
.conv-item .meta { flex: 1; min-width: 0; }
.conv-item .name { font-weight: 600; }
.conv-item .preview { color: var(--text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-item .unread { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); flex: none; }
.chat { display: flex; flex-direction: column; }
.chat__head { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); display: flex; gap: 10px; align-items: center; }
.chat__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 6px; background: var(--surface-2); }
.bubble { max-width: 70%; padding: 8px 13px; border-radius: 18px; font-size: 15px; }
.bubble.me { align-self: flex-end; background: var(--brand); color: var(--on-brand); border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: var(--surface); color: var(--text); border-bottom-left-radius: 4px; box-shadow: var(--shadow); }
.chat__compose { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line-soft); }
.chat__compose input { flex: 1; padding: 10px 16px; border: none; background: var(--surface-2); border-radius: 50px; outline: none; font-size: 15px; }

/* ---------- Modales / formularios ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: grid; place-items: center; z-index: 100; padding: 20px; }
.modal { background: var(--surface); border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; }
.modal__head { padding: 16px 20px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; }
.modal__head h2 { font-size: 20px; font-weight: 800; }
.modal__body { padding: 20px; }

.row { display: flex; gap: 12px; }
.row .field { flex: 1; }

.uploader {
  border: 2px dashed var(--line); border-radius: var(--radius);
  padding: 24px; text-align: center; color: var(--text-2); cursor: pointer;
}
.uploader:hover { border-color: var(--brand); background: var(--surface-2); }
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.preview-grid .thumb { position: relative; aspect-ratio: 1/1; border-radius: 6px; overflow: hidden; }
.preview-grid .thumb img { width: 100%; height: 100%; object-fit: cover; }
.preview-grid .thumb button { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; border: none; font-size: 14px; }

/* ---------- Empty states ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--text-2); }
.empty svg { color: var(--line); margin-bottom: 12px; }
.empty h3 { font-size: 18px; color: var(--text); margin-bottom: 4px; }

/* ---------- Tabs segmento ---------- */
.seg { display: inline-flex; background: var(--surface-2); border-radius: 50px; padding: 4px; gap: 4px; margin-bottom: 16px; }
.seg a { padding: 7px 16px; border-radius: 50px; font-weight: 600; color: var(--text-2); }
.seg a.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sidebar { width: 280px; }
  .detail { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .topbar__nav { display: none; }
  .topbar__search { max-width: none; }
  .sidebar { display: none; }
  .sidebar.open {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
    width: 100%; height: auto;
  }
  .msg-layout { grid-template-columns: 1fr; }
  .conv-list.hide-mobile { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .main { padding: 12px; }
}

/* ===== Planes de suscripción ===== */
.sub-hero { text-align:center; max-width:640px; margin:0 auto 28px; }
.sub-hero h1 { font-size:30px; font-weight:800; margin-bottom:8px; }
.sub-lead { color:var(--text-2); font-size:16px; }
.plan-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px; max-width:760px; margin:0 auto; }
.plan-card { position:relative; background:var(--surface); border:1px solid var(--line-soft); border-radius:16px; padding:28px 24px; box-shadow:var(--shadow); display:flex; flex-direction:column; }
.plan-card--featured { border-color:var(--brand); box-shadow:0 6px 24px var(--brand-glow); }
.plan-card--current { outline:2px solid var(--green); }
.plan-badge { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:var(--brand); color:var(--on-brand); font-size:12px; font-weight:700; padding:4px 12px; border-radius:50px; }
.plan-name { font-size:14px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--text-2); margin-bottom:8px; }
.plan-price { display:flex; align-items:baseline; gap:6px; margin-bottom:18px; }
.plan-price .amt { font-size:34px; font-weight:800; }
.plan-price .per { color:var(--text-2); font-size:15px; }
.plan-feats { list-style:none; padding:0; margin:0 0 22px; flex:1; }
.plan-feats li { display:flex; align-items:center; gap:8px; padding:7px 0; font-size:15px; color:var(--text); }
.plan-feats li svg { color:var(--green); flex:none; }
.sub-foot { text-align:center; color:var(--text-3); font-size:13px; margin-top:24px; }

/* ===== Perfil público estilo Instagram ===== */
.profile-cover { height:220px; border-radius:0 0 0 0; background-size:cover; background-position:center; background-color:var(--surface-2); position:relative; }
.profile-cover__ph { width:100%; height:100%; background:linear-gradient(120deg,var(--brand),var(--brand-d)); opacity:.9; }
.profile-head { display:flex; gap:20px; padding:0 24px 20px; margin-top:-60px; position:relative; align-items:flex-end; }
.profile-ava .ava { border:4px solid var(--surface); box-shadow:var(--shadow); background:var(--surface); }
.profile-info { flex:1; padding-bottom:4px; min-width:0; }
.profile-top { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; flex-wrap:wrap; }
.profile-name { font-size:24px; font-weight:800; margin:0 0 2px; }
.profile-sub { color:var(--text-2); font-size:14px; display:flex; align-items:center; gap:4px; flex-wrap:wrap; }
.profile-bio { margin:12px 0 0; color:var(--text); font-size:15px; line-height:1.5; }
.profile-stats { display:flex; gap:20px; margin-top:14px; font-size:14px; color:var(--text-2); }
.profile-stats b { color:var(--text); font-weight:700; }
.profile-actions { flex:none; }
.profile-tabs { display:flex; gap:4px; border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft); margin:8px 0 0; padding:0 16px; background:var(--surface); }
.profile-tabs a { flex:1; text-align:center; padding:14px 8px; font-weight:600; color:var(--text-2); display:flex; align-items:center; justify-content:center; gap:7px; border-bottom:2px solid transparent; margin-bottom:-1px; }
.profile-tabs a:hover { color:var(--text); }
.profile-tabs a.active { color:var(--brand); border-bottom-color:var(--brand); }
.ig-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:3px; padding:3px 0; }
.ig-cell { position:relative; aspect-ratio:1/1; overflow:hidden; background:var(--surface-2); display:block; }
.ig-cell img { width:100%; height:100%; object-fit:cover; transition:transform .25s; }
.ig-cell:hover img { transform:scale(1.05); }
.ig-cell__ph { width:100%; height:100%; display:grid; place-items:center; color:var(--text-3); }
.ig-cell__overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.72),transparent 55%); opacity:0; transition:opacity .2s; display:flex; flex-direction:column; justify-content:flex-end; padding:10px; color:#fff; }
.ig-cell:hover .ig-cell__overlay { opacity:1; }
.ig-cell__price { font-weight:800; font-size:16px; }
.ig-cell__title { font-size:12px; opacity:.92; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ig-cell__tag { position:absolute; top:8px; left:8px; background:rgba(24,119,242,.92); color:#fff; font-size:11px; font-weight:700; padding:2px 8px; border-radius:50px; }
.ig-cell__sold { position:absolute; top:8px; right:8px; background:rgba(0,0,0,.7); color:#fff; font-size:11px; font-weight:700; padding:2px 8px; border-radius:4px; }
@media(max-width:600px){
  .profile-cover{height:150px;}
  .profile-head{margin-top:-46px;padding:0 14px 16px;gap:14px;}
  .profile-name{font-size:20px;}
  .ig-cell__overlay{opacity:1;background:linear-gradient(to top,rgba(0,0,0,.6),transparent 60%);}
}

/* ===== Footer del sitio ===== */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--surface); margin-top: 40px; }
.site-footer__inner { max-width: 1100px; margin: 0 auto; padding: 24px 20px; text-align: center; }
.site-footer__brand { font-weight: 800; font-size: 18px; color: var(--brand); margin-bottom: 10px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; margin-bottom: 12px; }
.site-footer__links a { color: var(--text-2); font-size: 14px; }
.site-footer__links a:hover { color: var(--brand); }
.site-footer__copy { color: var(--text-3); font-size: 13px; }

/* ===== Página de documento (términos, reglas, ayuda…) ===== */
.page-doc { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 32px; }
.page-doc h1 { font-size: 28px; font-weight: 800; margin: 0 0 20px; }
.page-doc__body { color: var(--text); line-height: 1.7; }
.page-doc__body h2 { font-size: 20px; font-weight: 700; margin: 26px 0 10px; }
.page-doc__body h3 { font-size: 16px; font-weight: 700; margin: 20px 0 6px; }
.page-doc__body p { margin: 0 0 12px; }
.page-doc__body ul { margin: 0 0 14px; padding-left: 22px; }
.page-doc__body li { margin-bottom: 6px; }
.page-doc__body strong { font-weight: 700; }
.page-doc__upd { color: var(--text-3); font-size: 13px; margin-top: 24px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
@media(max-width:600px){ .page-doc{padding:20px;} .page-doc h1{font-size:23px;} }
