/* ═══════════════════════════════════════════════════════════
   CÓNDOR · PLAZA — Sistema de diseño
   Paleta papel + tinta · amarillo solo para acciones
═══════════════════════════════════════════════════════════ */
:root {
  --paper:  #f6f2e9;  --paper2: #fbf8f1;  --card: #ffffff;
  --ink:    #1a1712;  --ink2:   #5a5347;  --mut:  #928b7c;
  --line:   #e8e1d2;  --line2:  #dcd3c0;
  --yellow: #f5c800;  --yellowDk: #d9af00;  --black: #1a1712;
  --green:  #1f9d57;  --blue:   #2f6fe0;  --red:   #e0533b;  --violet: #7c5cd6;
  --disp: 'Bricolage Grotesque', sans-serif;
  --ui:   'Public Sans', sans-serif;
  --sh:  0 1px 2px rgba(26,23,18,.04), 0 2px 8px rgba(26,23,18,.04);
  --shh: 0 10px 30px rgba(26,23,18,.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--ui); font-size: 15px; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 22px; }
.disp { font-family: var(--disp); }

/* ─── TOP STRIP ─────────────────────────────────────────── */
.tstrip { background: var(--black); color: #fff; }
.tstrip .wrap { height: 34px; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; }
.tstrip .loc { display: flex; align-items: center; gap: 8px; color: #d8d2c4; }
.tstrip .loc b { color: var(--yellow); }
.tstrip select { background: rgba(255,255,255,.1); border: none; color: #fff; border-radius: 6px; padding: 3px 8px; font-weight: 600; font-family: var(--ui); font-size: 12px; cursor: pointer; }
.tstrip .slg { color: #8d8678; font-size: 12px; }

/* ─── HEADER ─────────────────────────────────────────────── */
.hdr { background: var(--paper2); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.hdr .wrap { height: 78px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.mark { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; box-shadow: 0 4px 12px rgba(26,23,18,.25); }
.mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand .nm { font-family: var(--disp); font-weight: 800; font-size: 23px; letter-spacing: -.5px; line-height: 1; color: var(--ink); }
.brand .sb { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mut); font-weight: 600; margin-top: 2px; }
.search { flex: 1; max-width: 540px; position: relative; }
.search input { width: 100%; height: 50px; background: var(--card); border: 1.5px solid var(--line2); border-radius: 25px; padding: 0 120px 0 48px; font-family: var(--ui); font-size: 15px; color: var(--ink); outline: none; box-shadow: var(--sh); transition: .15s; }
.search input:focus { border-color: var(--yellowDk); box-shadow: 0 0 0 4px rgba(245,200,0,.15); }
.search input::placeholder { color: var(--mut); }
.search .si { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--mut); }
.search button { position: absolute; right: 5px; top: 5px; height: 40px; padding: 0 22px; background: var(--black); color: #fff; border: none; border-radius: 20px; font-weight: 700; font-size: 14px; cursor: pointer; transition: .15s; }
.search button:hover { background: #2c271d; }
.acts { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.pub { height: 50px; padding: 0 22px; background: var(--yellow); color: var(--black); border-radius: 25px; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; box-shadow: 0 4px 14px rgba(245,200,0,.35); transition: .15s; }
.pub:hover { transform: translateY(-1px); background: var(--yellowDk); }
.ib { width: 50px; height: 50px; background: var(--card); border: 1.5px solid var(--line2); border-radius: 25px; display: flex; align-items: center; justify-content: center; color: var(--ink2); position: relative; box-shadow: var(--sh); transition: .15s; }
.ib:hover { border-color: var(--yellowDk); color: var(--ink); }
.ib .dot { position: absolute; top: 11px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); border: 2px solid var(--card); }
/* Badge numérico de no leídos */
.ib .count { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--card); line-height: 1; }

/* ── Dropdown de mensajes ── */
.notif-wrap { position: relative; }
.ndrop { display: none; position: absolute; top: calc(100% + 10px); right: 0; width: 340px; background: var(--card); border: 1.5px solid var(--line2); border-radius: 16px; box-shadow: var(--shh); z-index: 600; overflow: hidden; }
.notif-wrap.open .ndrop { display: block; animation: ndropIn .16s ease; }
@keyframes ndropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.ndrop-h { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.ndrop-h .t { font-family: var(--disp); font-weight: 800; font-size: 15px; color: var(--ink); }
.ndrop-h .read { font-size: 12px; font-weight: 700; color: var(--yellowDk); cursor: pointer; }
.ndrop-h .read:hover { color: var(--ink); }
.ndrop-list { max-height: 360px; overflow-y: auto; }
.nitem { display: flex; gap: 11px; padding: 11px 16px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .12s; position: relative; }
.nitem:last-child { border-bottom: none; }
.nitem:hover { background: var(--paper2); }
.nitem.unread { background: rgba(245,200,0,.05); }
.nitem.unread::before { content: ''; position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--yellowDk); }
.nav-th { width: 42px; height: 42px; border-radius: 11px; background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; overflow: hidden; }
.nav-th img { width: 100%; height: 100%; object-fit: cover; }
.nitem-mid { flex: 1; min-width: 0; }
.nitem-top { display: flex; align-items: center; gap: 6px; }
.nitem-nm { font-weight: 700; font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nitem-time { margin-left: auto; font-size: 11px; color: var(--mut); flex-shrink: 0; }
.nitem-re { font-size: 11.5px; color: var(--yellowDk); font-weight: 700; margin: 1px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nitem-prev { font-size: 12.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ndrop-foot { padding: 11px 16px; text-align: center; border-top: 1px solid var(--line); }
.ndrop-foot a { font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; }
.ndrop-foot a:hover { color: var(--yellowDk); }
.uchip { height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 7px; background: var(--card); border: 1.5px solid var(--line2); border-radius: 25px; box-shadow: var(--sh); cursor: pointer; }
.uchip:hover { border-color: var(--yellowDk); }
.uav { width: 36px; height: 36px; border-radius: 50%; background: var(--paper2); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; font-size: 14px; overflow: hidden; flex-shrink: 0; }
.uav img { width: 100%; height: 100%; object-fit: cover; }
.uchip .un { font-weight: 700; font-size: 14px; line-height: 1.15; display: flex; align-items: center; gap: 5px; color: var(--ink); }
.uchip .ur { font-size: 11px; color: var(--mut); font-weight: 500; }
.vchk { color: var(--green); font-size: 12px; }

/* ─── RAMA PILLS ─────────────────────────────────────────── */
.ramas { background: var(--paper); border-bottom: 1px solid var(--line); }
.ramas .wrap { display: flex; gap: 9px; padding: 14px 22px; overflow-x: auto; scrollbar-width: none; }
.ramas .wrap::-webkit-scrollbar { display: none; }
.rama { display: flex; align-items: center; gap: 8px; padding: 9px 17px; border-radius: 22px; background: var(--card); border: 1.5px solid var(--line2); font-weight: 600; font-size: 14px; color: var(--ink2); white-space: nowrap; flex-shrink: 0; transition: .15s; box-shadow: var(--sh); }
.rama:hover { border-color: var(--ink2); }
.rama.on { background: var(--black); border-color: var(--black); color: #fff; }
.rama .ct { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: var(--paper); color: var(--mut); }
.rama.on .ct { background: var(--yellow); color: var(--black); }

/* ─── BOTONES ─────────────────────────────────────────────── */
.btn { height: 48px; padding: 0 22px; border-radius: 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--ui); font-weight: 700; font-size: 15px; cursor: pointer; border: none; transition: .15s; white-space: nowrap; text-decoration: none; }
.btn-y { background: var(--yellow); color: var(--black); box-shadow: 0 4px 14px rgba(245,200,0,.35); }
.btn-y:hover { background: var(--yellowDk); transform: translateY(-1px); color: var(--black); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #2c271d; color: #fff; }
.btn-ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--line2); box-shadow: var(--sh); }
.btn-ghost:hover { border-color: var(--ink2); color: var(--ink); }
.btn-block { width: 100%; justify-content: center; }

/* ─── MODULE / CARD ──────────────────────────────────────── */
.module { background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--sh); }
.mod-title { font-family: var(--disp); font-weight: 700; font-size: 16px; letter-spacing: -.3px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.mod-title a { font-size: 12.5px; font-weight: 600; color: var(--yellowDk); font-family: var(--ui); }

/* ─── TARJETA PUBLICACIÓN ───────────────────────────────── */
.pcard { background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; box-shadow: var(--sh); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shh); border-color: var(--line2); }
.pcard.featured { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow), var(--sh); }
.pcard .pthumb { height: 190px; background: var(--paper); position: relative; overflow: hidden; }
.pcard .pthumb img { width: 100%; height: 100%; object-fit: contain; background: var(--paper); transition: transform .3s; }
.pcard:hover .pthumb img { transform: scale(1.04); }
.pcard .pthumb .ph-ico { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; background: linear-gradient(135deg, #f0ead9 0%, #e8dfc9 100%); }
.pcard .ribbon { position: absolute; top: 10px; left: 10px; background: var(--yellow); color: var(--black); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 20px; letter-spacing: .3px; }
.pcard .fav-btn { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; background: rgba(255,255,255,.9); backdrop-filter: blur(4px); border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .15s; font-size: 15px; color: var(--mut); box-shadow: var(--sh); }
.pcard .fav-btn:hover { color: var(--red); background: #fff; }
.pcard .fav-btn.active { color: var(--red); }
.pcard .pbody { padding: 14px 16px 16px; }
.pcard .pcat { font-size: 11px; font-weight: 700; color: var(--mut); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.pcard .pscope { font-size: 12px; color: var(--ink2); margin-bottom: 6px; }
.pcard .ptitle { font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.pcard .pprice { font-family: var(--disp); font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -.5px; margin-bottom: 10px; }
.pcard .pprice.free { color: var(--green); }
.pcard .pprice.barter { color: var(--yellowDk); }
.pcard .pfoot { display: flex; align-items: center; justify-content: space-between; }
.pcard .pusr { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink2); font-weight: 500; }
.pcard .uavs { width: 24px; height: 24px; border-radius: 50%; background: var(--black); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; font-family: var(--disp); overflow: hidden; flex-shrink: 0; }
.pcard .uavs img { width: 100%; height: 100%; object-fit: cover; }
.pcard .pvistas { font-size: 12px; color: var(--mut); display: flex; align-items: center; gap: 4px; }

/* ─── CHIPS tipo/alcance ─────────────────────────────────── */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 20px; }
.chip.t-venta   { background: rgba(31,157,87,.12);  color: var(--green); }
.chip.t-permuta { background: rgba(245,200,0,.18);  color: var(--yellowDk); }
.chip.t-regalo  { background: rgba(47,111,224,.12); color: var(--blue); }
.chip.scope     { background: var(--paper); color: var(--ink2); border: 1px solid var(--line); }
.chip.feat      { background: var(--yellow); color: var(--black); }
.chip.views     { background: var(--paper); color: var(--mut); border: 1px solid var(--line); }

/* ─── TRUST rows ────────────────────────────────────────── */
.trust-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.trust-row:last-child { margin-bottom: 0; }
.trust-ic { width: 38px; height: 38px; border-radius: 11px; background: rgba(31,157,87,.1); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.trust-ic.y { background: rgba(245,200,0,.16); color: var(--yellowDk); }
.trust-ic.b { background: rgba(47,111,224,.1); color: var(--blue); }
.trust-tx b { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; color: var(--ink); }
.trust-tx span { font-size: 12.5px; color: var(--mut); line-height: 1.4; }

/* ─── RECENT items ──────────────────────────────────────── */
.rec-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: .12s; }
.rec-item:last-child { border-bottom: none; padding-bottom: 0; }
.rec-item:hover { opacity: .8; }
.rec-thumb { width: 52px; height: 52px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.rec-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rec-name { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rec-cat  { font-size: 11.5px; color: var(--mut); margin-top: 2px; }
.rec-price { font-family: var(--disp); font-size: 14px; font-weight: 800; color: var(--ink); margin-top: 3px; }

/* ─── VERIFIED badge ────────────────────────────────────── */
.vbadge { display: inline-flex; align-items: center; gap: 6px; background: rgba(31,157,87,.12); color: var(--green); border-radius: 8px; font-size: 12px; font-weight: 700; padding: 4px 11px; }
.stars { color: var(--yellowDk); font-size: 13px; letter-spacing: 1px; }

/* ─── Estrellas de reputación (medias estrellas precisas vía clip) ─── */
.stars-rate { position: relative; display: inline-block; line-height: 1; white-space: nowrap; letter-spacing: 1px; vertical-align: middle; }
.stars-rate .sr-empty { color: rgba(26,23,18,.16); }
.stars-rate .sr-fill { position: absolute; left: 0; top: 0; width: var(--pct, 0%); overflow: hidden; color: #f5c800; }
.stars-rate.on-dark .sr-empty { color: rgba(255,255,255,.22); }

/* ─── Bloque de reputación en el perfil ─── */
.rep-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rep-score { font-family: var(--disp); font-weight: 800; font-size: 30px; color: var(--ink); line-height: 1; }
.rep-count { font-size: 13px; color: var(--mut); }

/* Lista de reseñas */
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: none; }
.review-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); flex-shrink: 0; }
.review-av.ph { display: flex; align-items: center; justify-content: center; background: var(--yellow); color: #000; font-weight: 800; font-size: 13px; }
.review-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.review-date { font-size: 12px; color: var(--mut); }
.review-pub { font-size: 12px; color: var(--mut); margin-top: 2px; }
.review-text { font-size: 14px; color: var(--ink2); line-height: 1.5; margin-top: 6px; }

/* Widget para calificar (estrellas clicables) */
.rate-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rate-stars label { font-size: 32px; line-height: 1; color: rgba(26,23,18,.18); cursor: pointer; transition: color .1s; }
.rate-stars label:hover, .rate-stars label:hover ~ label,
.rate-stars input:checked ~ label { color: #f5c800; }

/* ─── HERO ──────────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, #1a1712 0%, #2c271d 100%); padding: 56px 0; }
.hero-tag { display: inline-flex; align-items: center; gap: 7px; background: rgba(245,200,0,.15); color: var(--yellow); border: 1px solid rgba(245,200,0,.3); border-radius: 20px; font-size: 12.5px; font-weight: 700; padding: 5px 14px; margin-bottom: 20px; }
.hero h1 { font-family: var(--disp); font-weight: 800; font-size: 42px; letter-spacing: -1px; line-height: 1.1; color: #fff; margin-bottom: 12px; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero p { color: #b8b0a0; font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hstat { color: #d8d0c0; }
.hstat .hn { font-family: var(--disp); font-size: 28px; font-weight: 800; color: #fff; line-height: 1; }
.hstat .hl { font-size: 12px; color: #8d8678; margin-top: 2px; }

/* ─── TOOLBAR / FILTROS ─────────────────────────────────── */
.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.toolbar .res-label { font-size: 14px; color: var(--mut); }
.toolbar .res-label strong { color: var(--ink); font-weight: 700; }
.alc-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.alc-btn { padding: 6px 14px; border-radius: 20px; background: var(--card); border: 1.5px solid var(--line2); font-size: 13px; font-weight: 600; color: var(--ink2); cursor: pointer; transition: .12s; box-shadow: var(--sh); }
.alc-btn:hover, .alc-btn.on { background: var(--black); border-color: var(--black); color: #fff; }
.filter-sel { height: 38px; padding: 0 14px; background: var(--card); border: 1.5px solid var(--line2); border-radius: 20px; font-family: var(--ui); font-size: 13px; font-weight: 600; color: var(--ink); outline: none; box-shadow: var(--sh); cursor: pointer; }
.filter-sel:focus { border-color: var(--yellowDk); }

/* ─── FORMULARIOS ───────────────────────────────────────── */
.form-section { background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--sh); margin-bottom: 16px; }
.form-section .fs-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--black); color: var(--yellow); border-radius: 50%; font-family: var(--disp); font-weight: 800; font-size: 13px; flex-shrink: 0; }
.form-section .fs-title { font-family: var(--disp); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -.3px; }
.form-label { font-size: 13px; font-weight: 700; color: var(--ink2); margin-bottom: 6px; display: block; }
.form-control, .form-select { background: var(--card); border: 1.5px solid var(--line2); border-radius: 14px; padding: 12px 16px; font-family: var(--ui); font-size: 15px; color: var(--ink); outline: none; transition: .15s; width: 100%; }
.form-control::placeholder { color: var(--mut); }
.form-control:focus, .form-select:focus { border-color: var(--yellowDk); box-shadow: 0 0 0 4px rgba(245,200,0,.15); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--red); }
.invalid-feedback { color: var(--red); font-size: 12.5px; margin-top: 5px; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* Segmented control tipo publicación */
.seg-wrap { display: flex; background: var(--paper); border: 1.5px solid var(--line2); border-radius: 14px; padding: 4px; gap: 3px; }
.seg-btn { flex: 1; padding: 9px 10px; border-radius: 10px; background: none; border: none; font-family: var(--ui); font-size: 14px; font-weight: 600; color: var(--mut); cursor: pointer; text-align: center; transition: .15s; }
.seg-btn.on { background: var(--card); color: var(--ink); box-shadow: var(--sh); }

/* Radio alcance estilizado */
.alcance-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.alcance-opt { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--paper); border: 1.5px solid var(--line2); border-radius: 14px; cursor: pointer; transition: .15s; }
.alcance-opt:hover { border-color: var(--ink2); }
.alcance-opt.on { background: rgba(245,200,0,.15); border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
.alcance-opt.on .alcance-info b { color: var(--ink); }
.alcance-opt input { display: none; }
.alcance-ico { font-size: 1.3rem; width: 36px; text-align: center; flex-shrink: 0; }
.alcance-info b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.alcance-info span { font-size: 12px; color: var(--mut); }

/* Zona de fotos */
.foto-zona { border: 2px dashed var(--line2); border-radius: 16px; padding: 24px; text-align: center; background: var(--paper); cursor: pointer; transition: .15s; }
.foto-zona:hover { border-color: var(--yellowDk); background: rgba(245,200,0,.04); }
.foto-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.foto-slot { aspect-ratio: 1; border-radius: 12px; background: var(--paper); border: 1.5px dashed var(--line2); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; color: var(--mut); overflow: hidden; position: relative; }
.foto-slot.portada::after { content: 'Portada'; position: absolute; bottom: 0; left: 0; right: 0; background: var(--black); color: var(--yellow); font-size: 10px; font-weight: 700; text-align: center; padding: 4px; letter-spacing: .5px; }
.foto-slot img { width: 100%; height: 100%; object-fit: cover; }
.foto-del-btn { position: absolute; top: 5px; right: 5px; background: rgba(26,23,18,.6); border: none; color: #fff; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* Preview card en sidebar de publicar */
.preview-card { background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--sh); }
.preview-card .pthumb-pre { height: 180px; background: linear-gradient(135deg, #f0ead9, #e8dfc9); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.preview-card .pbody-pre { padding: 14px; }

/* ─── ALERTAS ────────────────────────────────────────────── */
.alert-cond { display: flex; align-items: center; gap: 12px; padding: 13px 22px; font-size: 14px; font-weight: 600; border-bottom: 1px solid; animation: slideDown .25s ease; }
@keyframes slideDown { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.alert-ok  { background: rgba(31,157,87,.1);  border-color: rgba(31,157,87,.25);  color: #1a7a47; }
.alert-err { background: rgba(224,83,59,.1);  border-color: rgba(224,83,59,.25);  color: #c03020; }
.alert-cond button { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 18px; color: inherit; opacity: .5; line-height: 1; }

/* ─── DETALLE PUBLICACIÓN ───────────────────────────────── */
.det-gallery { display: grid; grid-template-columns: 84px 1fr; gap: 12px; }
.det-gallery--single { grid-template-columns: 1fr; }
.det-thumbs { display: flex; flex-direction: column; gap: 8px; }
.det-thumb { width: 84px; height: 84px; border-radius: 12px; border: 2px solid transparent; overflow: hidden; cursor: pointer; background: var(--paper); transition: .15s; flex-shrink: 0; }
.det-thumb img { width: 100%; height: 100%; object-fit: contain; background: var(--paper); }
.det-thumb.on { border-color: var(--yellow); }
.det-main { border-radius: 16px; overflow: hidden; background: var(--paper); }
.det-main img { width: 100%; height: 460px; object-fit: contain; background: var(--paper); display: block; }
.det-main .det-ph { height: 460px; display: flex; align-items: center; justify-content: center; font-size: 6rem; background: linear-gradient(135deg, #f0ead9, #e8dfc9); }
.det-precio { font-family: var(--disp); font-size: 46px; font-weight: 800; letter-spacing: -1.5px; color: var(--ink); line-height: 1; }
.det-arrow { position:absolute; top:50%; transform:translateY(-50%); background:rgba(26,23,18,.55); border:none; color:#fff; width:40px; height:40px; border-radius:50%; font-size:15px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.15s; z-index:3; backdrop-filter:blur(4px); }
.det-arrow:hover { background:rgba(26,23,18,.85); }
.det-arrow--prev { left:12px; }
.det-arrow--next { right:12px; }
.det-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.det-spec { background: var(--paper); border-radius: 10px; padding: 10px 14px; }
.det-spec .sk { font-size: 11px; font-weight: 700; color: var(--mut); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.det-spec .sv { font-size: 14px; font-weight: 600; color: var(--ink); }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mut); font-weight: 500; margin-bottom: 20px; }
.crumbs a:hover { color: var(--ink); }

/* ─── PERFIL ─────────────────────────────────────────────── */
.perfil-hero { background: linear-gradient(150deg, #1a1712, #26211a 60%, #332b1d); padding: 40px 0 60px; position: relative; overflow: hidden; }
.perfil-hero::after { content: ''; position: absolute; right: -80px; bottom: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(245,200,0,.14), transparent 62%); pointer-events: none; }
.perfil-hero .wrap { position: relative; z-index: 2; }
.perfil-av { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--yellow); overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 800; font-size: 28px; background: var(--black); color: var(--yellow); }
.perfil-av img { width: 100%; height: 100%; object-fit: cover; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); overflow: hidden; }
.stat-strip-item { background: var(--card); padding: 16px 8px; text-align: center; min-width: 0; }
.stat-strip-item .sn { font-family: var(--disp); font-size: 22px; font-weight: 800; color: var(--ink); }
.stat-strip-item .sl { font-size: 10px; color: var(--mut); text-transform: uppercase; letter-spacing: .3px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs-perfil { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab-btn { padding: 12px 20px; font-size: 14px; font-weight: 700; color: var(--mut); cursor: pointer; border-bottom: 2.5px solid transparent; background: none; border-top: none; border-left: none; border-right: none; font-family: var(--ui); transition: .15s; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.on { color: var(--ink); border-bottom-color: var(--black); }

/* ─── MENSAJES ───────────────────────────────────────────── */
.msg-layout { display: flex; min-height: 600px; background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--sh); }
.msg-list { width: 360px; flex-shrink: 0; border-right: 1px solid var(--line); overflow-y: auto; }
.msg-list-head { padding: 16px; border-bottom: 1px solid var(--line); font-family: var(--disp); font-weight: 700; font-size: 16px; }
.msg-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); cursor: pointer; transition: .12s; text-decoration: none; }
.msg-item:hover { background: var(--paper); }
.msg-thumb { width: 48px; height: 48px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.msg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.msg-body { flex: 1; min-width: 0; }
.msg-sender { font-size: 14px; font-weight: 700; color: var(--ink); }
.msg-pub { font-size: 12px; color: var(--yellowDk); font-weight: 600; margin-top: 1px; }
.msg-preview { font-size: 12.5px; color: var(--mut); margin-top: 2px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.msg-meta { font-size: 11px; color: var(--mut); margin-top: 4px; }
.msg-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; margin-top: 6px; }
.msg-empty { padding: 3rem; text-align: center; color: var(--mut); }
.msg-right { flex: 1; display: flex; flex-direction: column; }

/* ─── AUTH split screen ──────────────────────────────────── */
.auth-wrap { display: flex; min-height: 100vh; }
.auth-brand { width: 45%; background: linear-gradient(160deg, #1a1712 0%, #2c271d 100%); padding: 60px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-brand .bg-bird { position: absolute; bottom: -40px; right: -60px; width: 340px; opacity: .07; pointer-events: none; }
.auth-form { flex: 1; background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth-form-inner { width: 100%; max-width: 460px; }
.auth-toggle { display: flex; background: var(--card); border: 1.5px solid var(--line2); border-radius: 14px; padding: 4px; gap: 4px; margin-bottom: 28px; }
.auth-toggle-btn { flex: 1; padding: 10px; border-radius: 10px; border: none; background: none; font-family: var(--ui); font-size: 14px; font-weight: 700; color: var(--mut); cursor: pointer; transition: .15s; }
.auth-toggle-btn.on { background: var(--black); color: #fff; }
.auth-feature { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.auth-feature-ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(245,200,0,.15); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.auth-feature-tx b { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.auth-feature-tx span { font-size: 12.5px; color: #8d8678; }
.uni-fields { display: none; }

/* ─── PAGINACIÓN ─────────────────────────────────────────── */
.pagination .page-link { background: var(--card); border-color: var(--line2); color: var(--ink2); border-radius: 8px; font-weight: 600; font-size: 14px; transition: .12s; }
.pagination .page-item.active .page-link { background: var(--black); border-color: var(--black); color: #fff; }
.pagination .page-link:hover { background: var(--paper); color: var(--ink); border-color: var(--ink2); }
.pagination .page-item.disabled .page-link { background: var(--paper); border-color: var(--line); color: var(--mut); }
.pagination { gap: 4px; }

/* ─── MOBILE NAV ─────────────────────────────────────────── */
.mnav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--paper2); border-top: 1px solid var(--line); justify-content: space-around; align-items: flex-end; padding: 9px 0 14px; z-index: 60; box-shadow: 0 -4px 20px rgba(0,0,0,.05); }
.mnav a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; font-weight: 600; color: var(--mut); text-decoration: none; position: relative; }
.mnav a.on, .mnav a:hover { color: var(--ink); }
.mnav a i { font-size: 18px; }
.mnav .mpub { width: 52px; height: 52px; background: var(--yellow); color: var(--black); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-top: -22px; box-shadow: 0 6px 20px rgba(245,200,0,.4); transition: .15s; }
.mnav .mpub:hover { background: var(--yellowDk); }
.mnav a .mbadge { position: absolute; top: -2px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--red); color: #fff; font-size: 9.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--paper2); line-height: 1; }
.mnav button .mbell { position: absolute; top: -2px; right: 8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--red); color: #fff; font-size: 9.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--paper2); line-height: 1; }
/* Ícono de campana dentro del dropdown de notificaciones */
.nav-th.nav-th-bell { background: rgba(245,200,0,.16); border-color: rgba(245,200,0,.4); color: var(--yellowDk); }

/* ─── TABLA ADMIN ────────────────────────────────────────── */
.tabla-condor { width: 100%; border-collapse: collapse; }
.tabla-condor thead th { background: rgba(26,23,18,.06); color: var(--mut); font-size: .68rem; text-transform: uppercase; letter-spacing: 1px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 700; }
.tabla-condor tbody tr { border-bottom: 1px solid var(--line); transition: background .12s; }
.tabla-condor tbody tr:hover { background: var(--paper); }
.tabla-condor td { padding: 12px 14px; vertical-align: middle; font-size: .88rem; color: var(--ink2); }

/* ─── ESTADO BADGES ──────────────────────────────────────── */
.estado-badge { border-radius: 5px; font-size: .62rem; font-weight: 800; padding: 3px 8px; text-transform: uppercase; border: 1px solid; white-space: nowrap; }
.estado-activo    { background: rgba(31,157,87,.12);  border-color: rgba(31,157,87,.3);  color: #1a7a47; }
.estado-vendido   { background: rgba(47,111,224,.12); border-color: rgba(47,111,224,.3); color: #2060c0; }
.estado-pausado   { background: rgba(245,200,0,.12);  border-color: rgba(245,200,0,.3);  color: var(--yellowDk); }
.estado-eliminado { background: rgba(224,83,59,.12);  border-color: rgba(224,83,59,.3);  color: var(--red); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 920px) {
  .search, .uchip .un, .uchip .ur { display: none; }
  .acts .pub span { display: none; }
  .mnav { display: flex; }
  body { padding-bottom: 78px; }
  .hero h1 { font-size: 28px; }
  .det-gallery { grid-template-columns: 1fr; }
  .det-thumbs { flex-direction: row; }
  .det-thumb { width: 64px; height: 64px; }
  .det-main img, .det-main .det-ph { height: 300px; }
  .auth-brand { display: none; }
  .alcance-opts { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .pcard .pthumb { height: 170px; }
}

/* ═══════════════════════════════════════════════════════════
   HOME PLAZA — Estilos exactos del handoff
═══════════════════════════════════════════════════════════ */

/* Hero 2 columnas */
.hero-plaza { padding: 30px 0 8px; width: 100%; }
.hero-plaza .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: stretch; width: 100%; }
.hpanel { background: linear-gradient(150deg, #1a1712, #26211a 60%, #332b1d); border-radius: 24px; padding: 38px 40px; color: #fff; position: relative; overflow: hidden; min-width: 0; }
.hpanel::after { content: ''; position: absolute; right: -120px; bottom: -140px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(245,200,0,.18), transparent 62%); pointer-events: none; }
.hpanel > * { position: relative; z-index: 2; }
.hpanel-wings { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -58%); width: 100%; max-width: 100%; opacity: .06; z-index: 1; pointer-events: none; display: block; }
.htag { display: inline-flex; align-items: center; gap: 7px; background: rgba(245,200,0,.14); color: var(--yellow); font-size: 12px; font-weight: 700; letter-spacing: .5px; padding: 6px 13px; border-radius: 20px; margin-bottom: 18px; }
.hpanel h1 { font-family: var(--disp); font-weight: 800; font-size: 35px; line-height: 1.1; letter-spacing: -1px; display: flex; flex-direction: column; }
.hpanel h1 em { color: var(--yellow); font-style: normal; }
.hpanel > p { color: #cfc8b8; font-size: 15.5px; line-height: 1.55; max-width: 400px; margin-top: 14px; }
.hcta { display: flex; gap: 12px; margin-top: 24px; }
.hcta a { height: 48px; padding: 0 24px; border-radius: 24px; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }
.hcta .a1 { background: var(--yellow); color: var(--black); box-shadow: 0 4px 14px rgba(245,200,0,.35); }
.hcta .a1:hover { background: var(--yellowDk); }
.hcta .a2 { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.2); }
.hcta .a2:hover { background: rgba(255,255,255,.18); }
.hside { display: flex; flex-direction: column; gap: 14px; }
.hstats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 1; }
.hstat { background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--sh); display: flex; flex-direction: column; justify-content: center; }
.hstat .n { font-family: var(--disp); font-weight: 800; font-size: 30px; letter-spacing: -1px; line-height: 1; color: var(--ink); }
.hstat .n b { color: var(--yellowDk); }
.hstat .l { font-size: 12px; color: var(--mut); font-weight: 600; margin-top: 6px; }
.hverif { background: var(--green); color: #fff; border-radius: 18px; padding: 16px 20px; display: flex; align-items: center; gap: 13px; box-shadow: var(--sh); }
.hverif i { font-size: 24px; flex-shrink: 0; }
.hverif b { font-family: var(--disp); font-weight: 700; font-size: 15px; display: block; }
.hverif span { font-size: 12.5px; opacity: .9; }
/* Variante "comunidad recién abierta" (fundador) — fondo oscuro con acento amarillo */
.hverif.is-new { background: linear-gradient(150deg, #1a1712, #2c271d); }
.hverif.is-new i { color: var(--yellow); }

/* ── Franja de registro para visitantes (gancho @guest en la home) ── */
.join-strip { padding: 18px 0 0; }
.join-strip .js-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: var(--card); border: 1.5px solid var(--line2); border-radius: 18px; padding: 18px 24px; box-shadow: var(--sh); }
.join-strip .js-tx b { display: block; font-family: var(--disp); font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -.3px; }
.join-strip .js-tx span { font-size: 13.5px; color: var(--mut); }
.join-strip .js-btn { background: var(--yellow); color: #000; font-weight: 800; font-size: 14.5px; height: 46px; padding: 0 22px;
  border-radius: 23px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; transition: .15s; flex-shrink: 0; }
.join-strip .js-btn:hover { background: var(--yellowDk); }
@media (max-width: 600px) { .join-strip .js-btn { width: 100%; justify-content: center; } }

/* Categorías (pills horizontales diferentes a .ramas) */
.cats { padding: 18px 0 4px; }
.cats .wrap { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; }
.cats .wrap::-webkit-scrollbar { display: none; }
.cat { display: flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 14px; background: var(--card); border: 1.5px solid var(--line2); font-weight: 600; font-size: 13.5px; color: var(--ink2); white-space: nowrap; flex-shrink: 0; box-shadow: var(--sh); transition: .15s; text-decoration: none; }
.cat:hover { border-color: var(--ink2); color: var(--ink); }
.cat.on { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

/* Layout principal home: feed + sidebar */
.main-plaza { display: grid; grid-template-columns: 1fr 300px; gap: 26px; padding: 22px 0 80px; }

/* Toolbar del feed */
.toolbar-plaza { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.tb-label { font-size: 18px; font-family: var(--disp); font-weight: 700; letter-spacing: -.4px; }
.tb-label span { color: var(--mut); font-family: var(--ui); font-weight: 500; font-size: 14px; }
.tb-right { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.seg-plaza { display: flex; background: var(--card); border: 1.5px solid var(--line2); border-radius: 14px; padding: 4px; gap: 2px; box-shadow: var(--sh); }
.seg-plaza a { padding: 7px 13px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--ink2); text-decoration: none; transition: .15s; }
.seg-plaza a.on { background: var(--black); color: #fff; }
.seg-plaza a:hover:not(.on) { color: var(--ink); }
.sel-plaza { height: 42px; background: var(--card); border: 1.5px solid var(--line2); border-radius: 14px; padding: 0 14px; font-family: var(--ui); font-weight: 600; font-size: 13.5px; color: var(--ink); box-shadow: var(--sh); outline: none; cursor: pointer; }

/* Grid de tarjetas */
.grid-plaza { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Tarjeta del handoff */
.card-plaza { background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--sh); transition: .2s; cursor: pointer; }
.card-plaza:hover { transform: translateY(-4px); box-shadow: var(--shh); border-color: var(--line2); }
.card-plaza.feat { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(245,200,0,.18), var(--sh); }
.card-plaza.premium { border-color: #d9af00; box-shadow: 0 0 0 3px rgba(217,175,0,.28), 0 10px 24px rgba(217,175,0,.18); }
/* Cinta dorada Premium (Portada) — más rica que la amarilla plana del Destacado */
.prem-rib { position: absolute; top: 12px; left: 12px; background: linear-gradient(135deg, #f7d24a, #d9af00); color: #3a2e00; font-size: 11px; font-weight: 800; padding: 5px 11px; border-radius: 20px; z-index: 3; display: flex; align-items: center; gap: 4px; box-shadow: 0 3px 12px rgba(217,175,0,.55); }
.cthumb { height: 190px; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 38%, #fff, #efe9dc); }
.cthumb img { width: 100%; height: 100%; object-fit: contain; background: var(--paper); transition: transform .3s; display: block; }
.card-plaza:hover .cthumb img { transform: scale(1.04); }
.cthumb .cph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: radial-gradient(circle at 50% 38%, #fff, #efe9dc); }
.cthumb .cph .cph-ico { font-size: 42px; opacity: .7; }
.feat-rib { position: absolute; top: 12px; left: 12px; background: var(--yellow); color: var(--black); font-size: 11px; font-weight: 800; padding: 5px 11px; border-radius: 20px; z-index: 3; display: flex; align-items: center; gap: 4px; box-shadow: 0 3px 10px rgba(245,200,0,.4); }
.cfav { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; color: var(--ink2); z-index: 3; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: .15s; border: none; cursor: pointer; }
.cfav:hover { color: var(--red); }
.cfav.active { color: var(--red); }
.ctipo { position: absolute; bottom: 12px; left: 12px; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 20px; z-index: 3; }
.ctipo.t-venta   { background: rgba(31,157,87,.92);  color: #fff; }
.ctipo.t-permuta { background: rgba(245,200,0,.95);  color: var(--black); }
.ctipo.t-regalo  { background: rgba(47,111,224,.92); color: #fff; }
.cbody { padding: 15px 16px 16px; }
.ckick { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.ckick .cc { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--mut); }
.ckick .cscope { font-size: 11.5px; color: var(--ink2); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.ckick .cscope i { color: var(--yellowDk); font-size: 10px; }
.ctitle { font-weight: 600; font-size: 15.5px; line-height: 1.3; height: 40px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 10px; color: var(--ink); }
.cprice { font-family: var(--disp); font-weight: 800; font-size: 25px; letter-spacing: -1px; line-height: 1; color: var(--ink); margin-bottom: 13px; }
.cprice.free { color: var(--green); font-size: 20px; }
.cprice.barter { color: var(--ink); }
.cfoot { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid var(--line); }
.cseller { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink2); font-weight: 500; }
.cs-av { width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line2); display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; font-size: 11px; color: var(--ink); overflow: hidden; flex-shrink: 0; }
.cs-av img { width: 100%; height: 100%; object-fit: cover; }
.cviews { font-size: 11.5px; color: var(--mut); display: flex; align-items: center; gap: 4px; font-weight: 500; }
/* Rating del vendedor en la tarjeta (junto al nombre) */
.cs-rate { display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 700; color: var(--ink2); white-space: nowrap; }
.cs-rate i { color: #f5c800; font-size: 10px; }

/* Sidebar plaza */
.side-plaza { display: flex; flex-direction: column; gap: 16px; }
.promo-card { background: var(--yellow); border-radius: 20px; padding: 22px; position: relative; overflow: hidden; box-shadow: 0 8px 24px rgba(245,200,0,.28); }
.promo-card::after { content: '🦅'; position: absolute; right: -10px; bottom: -18px; font-size: 6rem; opacity: .12; }
.promo-card .pt { font-family: var(--disp); font-weight: 800; font-size: 22px; letter-spacing: -.5px; color: var(--black); }
.promo-card .pd { font-size: 13.5px; color: rgba(26,23,18,.6); line-height: 1.5; margin: 9px 0 16px; font-weight: 500; }
.promo-card .pp { font-family: var(--disp); font-weight: 800; font-size: 30px; color: var(--black); letter-spacing: -1px; line-height: 1; }
.promo-card .pp span { font-size: 13px; font-weight: 600; opacity: .55; font-family: var(--ui); }
.promo-card .pbtn { width: 100%; height: 46px; background: var(--black); color: var(--yellow); border: none; border-radius: 23px; font-family: var(--ui); font-weight: 700; font-size: 15px; margin-top: 16px; cursor: pointer; transition: .15s; }
.promo-card .pbtn:hover { background: #2c271d; }

/* ═══ CARRUSEL "PORTADA" (Destacados Premium) ═══ */
.feat-sec { padding: 18px 0 4px; }
.feat-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.feat-ttl { display: flex; align-items: center; gap: 12px; }
.feat-ttl .star { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #f7d24a, #d9af00); color: #3a2e00; display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: 0 4px 14px rgba(217,175,0,.4); flex-shrink: 0; }
.feat-ttl h2 { font-family: var(--disp); font-weight: 800; font-size: 20px; letter-spacing: -.5px; color: var(--ink); line-height: 1; }
.feat-ttl p { font-size: 12.5px; color: var(--mut); font-weight: 500; margin-top: 3px; }
.feat-navs { display: flex; gap: 8px; }
.feat-arrow { width: 42px; height: 42px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--line2); color: var(--ink2); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .15s; box-shadow: var(--sh); }
.feat-arrow:hover:not(:disabled) { border-color: var(--ink2); color: var(--ink); }
.feat-arrow:disabled { opacity: .35; cursor: default; }
.feat-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 8px; scrollbar-width: none; touch-action: pan-x; -webkit-overflow-scrolling: touch; }
.feat-track::-webkit-scrollbar { display: none; }
.fcard { flex: 0 0 300px; scroll-snap-align: start; background: var(--card); border: 1.5px solid #d9af00; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 3px rgba(217,175,0,.22), 0 10px 24px rgba(217,175,0,.16); transition: .2s; cursor: pointer; }
.fcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 3px rgba(217,175,0,.3), 0 14px 30px rgba(217,175,0,.22); }
@media (max-width: 560px) { .fcard { flex: 0 0 82%; } }

/* ═══ MÓDULO "DESTACA TU AVISO" — 2 planes ═══ */
.boost { background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--sh); }
.boost-h { display: flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 800; font-size: 17px; letter-spacing: -.3px; color: var(--ink); }
.boost-h .ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(245,200,0,.18); color: var(--yellowDk); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.boost-sub { font-size: 12.5px; color: var(--mut); line-height: 1.5; margin: 8px 0 16px; }
.plan { border: 1.5px solid var(--line2); border-radius: 14px; padding: 14px; margin-bottom: 12px; cursor: pointer; position: relative; transition: .15s; background: var(--paper2); }
.plan:hover { border-color: var(--ink2); }
.plan.on { border-color: var(--yellowDk); background: rgba(245,200,0,.06); box-shadow: 0 0 0 3px rgba(245,200,0,.12); }
.plan.premium.on { border-color: #d9af00; background: rgba(217,175,0,.07); box-shadow: 0 0 0 3px rgba(217,175,0,.18); }
.plan-radio { position: absolute; top: 16px; right: 14px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line2); transition: .15s; }
.plan.on .plan-radio { border-color: var(--yellowDk); background: radial-gradient(circle, var(--yellowDk) 0 5px, transparent 6px); }
.plan.premium.on .plan-radio { border-color: #d9af00; background: radial-gradient(circle, #d9af00 0 5px, transparent 6px); }
.plan-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 10px; padding-right: 24px; }
.plan-name { font-family: var(--disp); font-weight: 800; font-size: 16px; color: var(--ink); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.plan-name .badge { font-family: var(--ui); font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: linear-gradient(135deg, #f7d24a, #d9af00); color: #3a2e00; letter-spacing: .3px; }
.plan-price { font-family: var(--disp); font-weight: 800; font-size: 17px; color: var(--ink); white-space: nowrap; flex-shrink: 0; }
.plan-price span { font-family: var(--ui); font-size: 11px; font-weight: 600; color: var(--mut); }
.plan-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.plan-feats li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--ink2); line-height: 1.4; }
.plan-feats li i { color: var(--green); font-size: 11px; margin-top: 2px; flex-shrink: 0; }
.plan-feats li.off { color: var(--mut); }
.plan-feats li.off i { color: var(--mut); }
.boost-btn { width: 100%; height: 48px; background: var(--yellow); color: var(--black); border: none; border-radius: 24px; font-family: var(--ui); font-weight: 800; font-size: 15px; margin-top: 6px; cursor: pointer; transition: .15s; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 14px rgba(245,200,0,.35); text-decoration: none; }
.boost-btn:hover { background: var(--yellowDk); transform: translateY(-1px); color: var(--black); }

/* Recientes en sidebar */
.srec { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.srec:first-child { padding-top: 0; }
.srec:last-child { border-bottom: none; padding-bottom: 0; }
.srec:hover { opacity: .8; }
.srec-th { width: 52px; height: 52px; border-radius: 13px; background: var(--paper); border: 1.5px solid var(--line2); display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; overflow: hidden; }
.srec-th img { width: 100%; height: 100%; object-fit: cover; }
.srec-nm { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.srec-mt { font-size: 11.5px; color: var(--mut); margin-top: 3px; font-weight: 500; }
.srec-pr { font-family: var(--disp); font-weight: 800; font-size: 16px; color: var(--ink); margin-top: 3px; letter-spacing: -.5px; }

/* ═══ MENSAJES — estructura del handoff ═══ */
.msgwrap { padding: 16px 0; display: flex; flex-direction: column; height: calc(100vh - 112px); min-height: 480px; }
.msgtitle { font-family: var(--disp); font-weight: 800; font-size: 26px; letter-spacing: -.6px; margin-bottom: 4px; }
.msgsub { color: var(--mut); font-size: 14.5px; margin-bottom: 18px; }
.inbox { display: grid; grid-template-columns: 380px 1fr; gap: 0; background: var(--card); border: 1.5px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--sh); flex: 1; min-height: 0; }
.ilist { border-right: 1.5px solid var(--line); display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.ilist-head { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.ilist-seg { display: flex; background: var(--paper2); border: 1.5px solid var(--line2); border-radius: 12px; padding: 3px; gap: 2px; }
.ilist-seg a { flex: 1; text-align: center; padding: 7px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--ink2); text-decoration: none; transition: .15s; }
.ilist-seg a.on { background: var(--black); color: #fff; }
.ilist-body { overflow-y: auto; flex: 1; }
.conv { display: flex; gap: 13px; padding: 15px 18px; border-bottom: 1px solid var(--line); cursor: pointer; transition: .12s; position: relative; text-decoration: none; }
.conv:hover { background: var(--paper2); }
.conv.on { background: rgba(245,200,0,.08); }
.conv.on::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--yellowDk); }
.conv-th { width: 50px; height: 50px; border-radius: 13px; background: radial-gradient(circle at 50% 38%, #fff, #efe9dc); border: 1.5px solid var(--line2); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; overflow: hidden; }
.conv-th img { width: 100%; height: 100%; object-fit: cover; }
.conv-mid { flex: 1; min-width: 0; }
.conv-top { display: flex; align-items: center; gap: 7px; }
.conv-nm { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.conv-time { font-size: 11.5px; color: var(--mut); margin-left: auto; flex-shrink: 0; font-weight: 500; }
.conv-re { font-size: 12px; color: var(--yellowDk); font-weight: 700; margin: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-prev { font-size: 13px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv.unread .conv-nm { font-weight: 800; }
.conv.unread .conv-time { font-weight: 700; color: var(--ink2); }
.conv.unread .conv-prev { color: var(--ink); font-weight: 600; }
.conv-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--ink); flex-shrink: 0; align-self: center; }
.thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.thread-head { padding: 14px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 13px; background: var(--paper2); }
.th-back { display: none; }
.th-av { width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; font-size: 16px; flex-shrink: 0; overflow: hidden; }
.th-av img { width: 100%; height: 100%; object-fit: cover; }
.th-nm { font-family: var(--disp); font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 6px; color: var(--ink); }
.th-rama { font-size: 12.5px; color: var(--mut); font-weight: 500; }
.th-pub { margin-left: auto; display: flex; align-items: center; gap: 11px; background: var(--card); border: 1.5px solid var(--line2); border-radius: 13px; padding: 8px 13px 8px 9px; box-shadow: var(--sh); flex-shrink: 0; text-decoration: none; }
.th-pub-th { width: 40px; height: 40px; border-radius: 10px; background: radial-gradient(circle at 50% 38%, #fff, #efe9dc); border: 1.5px solid var(--line2); display: flex; align-items: center; justify-content: center; font-size: 18px; overflow: hidden; }
.th-pub-th img { width: 100%; height: 100%; object-fit: cover; }
.th-pub-nm { font-size: 12.5px; font-weight: 700; line-height: 1.2; max-width: 140px; color: var(--ink); }
.th-pub-pr { font-family: var(--disp); font-weight: 800; font-size: 14px; color: var(--ink); }
.thread-body { flex: 1; overflow-y: auto; padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; background: var(--paper); }
.bub { max-width: 74%; padding: 11px 15px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; }
.bub.them { background: var(--card); border: 1.5px solid var(--line); align-self: flex-start; border-bottom-left-radius: 5px; color: var(--ink); }
.bub.me { background: var(--black); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.bub .bt { display: block; font-size: 10.5px; margin-top: 5px; opacity: .55; font-weight: 500; }
.thread-foot { padding: 14px 16px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; background: var(--paper2); }
.thread-foot input { flex: 1; height: 46px; background: var(--card); border: 1.5px solid var(--line2); border-radius: 23px; padding: 0 18px; font-family: var(--ui); font-size: 14.5px; color: var(--ink); outline: none; transition: .15s; }
.thread-foot input:focus { border-color: var(--yellowDk); box-shadow: 0 0 0 3px rgba(245,200,0,.15); }
.send-btn { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--black); border: none; display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; flex-shrink: 0; box-shadow: 0 4px 12px rgba(245,200,0,.35); transition: .15s; }
.send-btn:hover { background: var(--yellowDk); }
.msg-empty-thread { flex: 1; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: var(--mut); background: var(--paper); padding: 2rem; text-align: center; }

/* Banner de confianza al inicio del hilo */
.thread-intro { display: flex; align-items: flex-start; gap: 10px; background: rgba(31,157,87,.08); border: 1px solid rgba(31,157,87,.22); color: #157040; border-radius: 12px; padding: 11px 14px; font-size: 12.5px; line-height: 1.5; margin: 4px auto 10px; max-width: 92%; }
.thread-intro i { color: var(--green); margin-top: 2px; flex-shrink: 0; }
.thread-intro b { color: #0f5c34; }

/* Recibos de lectura en mis mensajes */
.bub.me .bt .seen { margin-left: 4px; font-size: 11px; opacity: .9; }
.bub.me .bt .seen { color: rgba(255,255,255,.6); }       /* enviado / entregado */
.bub.me .bt .seen.read { color: #7fd9ff; }               /* visto (doble azul) */

/* Indicador "escribiendo…" (listo para realtime futuro) */
.typing { display: inline-flex; gap: 4px; align-items: center; padding: 11px 15px; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; border-bottom-left-radius: 5px; align-self: flex-start; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--mut); animation: typedot 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typedot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ── Canales de contacto del vendedor ── */
.chan-sep { display: flex; align-items: center; gap: 12px; margin: 16px 0 14px; color: var(--mut); font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.chan-sep::before, .chan-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.chans { display: flex; flex-direction: column; gap: 9px; }
.chan { display: flex; align-items: center; gap: 13px; height: 48px; padding: 0 15px; border-radius: 14px; border: 1.5px solid var(--line2); background: var(--card); font-weight: 700; font-size: 14.5px; color: var(--ink); box-shadow: var(--sh); transition: .15s; text-decoration: none; }
.chan:hover { transform: translateY(-1px); border-color: var(--ink2); color: var(--ink); }
.chan .ci { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #fff; flex-shrink: 0; }
.chan .cmeta { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.chan .cmeta small { font-size: 11.5px; font-weight: 500; color: var(--mut); }
.chan .cgo { margin-left: auto; color: var(--mut); font-size: 13px; }
.ci.wa  { background: #25d366; }
.ci.tel { background: var(--ink); }
.ci.ig  { background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); }
.ci.fb  { background: #1877f2; }
.ci.loc { background: var(--red); }

/* Campo con prefijo (@) para Instagram */
.field-prefix { display: flex; align-items: stretch; border: 1.5px solid var(--line2); border-radius: 14px; overflow: hidden; background: var(--card); }
.field-prefix:focus-within { border-color: var(--yellowDk); box-shadow: 0 0 0 4px rgba(245,200,0,.15); }
.field-prefix .pfx { display: flex; align-items: center; padding: 0 12px; background: var(--paper2); color: var(--mut); font-weight: 700; border-right: 1.5px solid var(--line2); }
.field-prefix input { border: none !important; box-shadow: none !important; background: transparent !important; border-radius: 0 !important; flex: 1; }

@media (max-width: 1080px) {
  .main-plaza { grid-template-columns: 1fr 270px; }
  .grid-plaza { grid-template-columns: repeat(2, 1fr); }
}
/* En escritorio el trust signal móvil se oculta (ya lo muestra .hside) */
#mobileVerif { display: none; }
@media (max-width: 920px) {
  .hero-plaza .wrap { grid-template-columns: 1fr; width: 100%; }
  .hside { display: none; }
  #mobileVerif { display: flex; }
  .hpanel h1 { font-size: 30px; }
  .main-plaza { grid-template-columns: 1fr; }
  .side-plaza { display: block; }
  .side-plaza .module { display: none; }
  /* Precio + categoría: una columna en mobile */
  .precio-cat-grid { grid-template-columns: 1fr !important; }
  .msgwrap { height: auto; min-height: 0; display: block; }
  .inbox { grid-template-columns: 1fr; height: auto; min-height: 0; flex: none; }
  .ilist-body { max-height: none; }
  .thread { display: none; }
  .th-pub { display: none; }
  /* Chat full-screen en móvil cuando hay conversación activa */
  .inbox.has-thread .ilist { display: none; }
  .inbox.has-thread .thread {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 500;
    background: var(--paper);
    top: 0;
    bottom: 72px;
  }
  .inbox.has-thread .thread-body { flex: 1; overflow-y: auto; }
  .th-back { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper2); color: var(--ink); flex-shrink: 0; }
  /* Chat full-screen: ocultar header cuando hay conversación abierta */
  .chat-open .tstrip { display: none; }
  .chat-open .hdr { display: none; }
  /* Precio + A convenir: segunda línea en pantalla pequeña */
  .precio-wrap { flex-wrap: wrap; }
  .aconv-btn { width: 100%; text-align: center; padding: 11px 14px; }
}
@media (max-width: 560px) {
  .grid-plaza { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hstats { grid-template-columns: 1fr 1fr; }
}

/* El input de fotos es un overlay transparent sobre toda la zona (max = 4 fotos → JS deshabilita) */
.foto-zona { cursor: pointer; }

/* ─── PUBLICAR — MEJORAS ────────────────────────────────── */
/* Barra de progreso */
.pub-progress{display:flex;align-items:center;margin-bottom:22px;padding:16px 22px;background:var(--card);border:1.5px solid var(--line);border-radius:18px;box-shadow:var(--sh);}
.pp-step{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.pp-dot{width:28px;height:28px;border-radius:50%;background:var(--paper);border:1.5px solid var(--line2);display:flex;align-items:center;justify-content:center;font-family:var(--disp);font-weight:700;font-size:13px;color:var(--mut);transition:.2s;flex-shrink:0;}
.pp-step.active .pp-dot{background:var(--black);border-color:var(--black);color:var(--yellow);}
.pp-step.done .pp-dot{background:var(--green);border-color:var(--green);color:#fff;}
.pp-label{font-size:13px;font-weight:600;color:var(--mut);white-space:nowrap;transition:.2s;}
.pp-step.active .pp-label{color:var(--ink);font-weight:700;}
.pp-step.done .pp-label{color:var(--green);}
.pp-line{flex:1;height:2px;background:var(--line2);margin:0 10px;border-radius:2px;transition:.3s;}
.pp-line.done{background:var(--green);}
@media(max-width:680px){.pp-label{display:none;}.pub-progress{padding:12px 16px;}}

/* Contador de caracteres */
.label-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px;}
.label-row .form-label{margin-bottom:0;}
.char-count{font-size:12px;font-weight:600;color:var(--mut);transition:.15s;}
.char-count.warn{color:var(--red);}

/* Tip de campo */
.field-tip{font-size:12.5px;color:var(--mut);margin-top:7px;display:flex;align-items:flex-start;gap:6px;line-height:1.45;}
.field-tip i{color:var(--yellowDk);flex-shrink:0;margin-top:2px;}

/* Pills estado del producto */
.estado-pills{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:4px;}
.estado-pill{border:1.5px solid var(--line2);border-radius:14px;padding:12px 10px;text-align:center;cursor:pointer;background:var(--paper2);transition:.15s;display:flex;flex-direction:column;align-items:center;gap:3px;}
.estado-pill:hover{border-color:var(--ink2);}
.estado-pill.on{border-color:var(--yellowDk);background:rgba(245,200,0,.1);box-shadow:0 0 0 2px rgba(245,200,0,.18);}
.estado-pill b{font-size:14px;font-weight:700;color:var(--ink);}
.estado-pill span{font-size:11.5px;color:var(--mut);}

/* Precio con prefijo + "A convenir" */
.precio-wrap{display:flex;gap:10px;align-items:stretch;}
.precio-input{flex:1;display:flex;align-items:center;background:var(--card);border:1.5px solid var(--line2);border-radius:14px;overflow:hidden;transition:.15s;}
.precio-input:focus-within{border-color:var(--yellowDk);box-shadow:0 0 0 3px rgba(245,200,0,.15);}
.precio-input .pfx{padding:0 10px 0 14px;font-weight:700;color:var(--mut);font-size:16px;flex-shrink:0;}
.precio-input input{flex:1;border:none;background:none;padding:12px 14px 12px 0;font-family:var(--ui);font-size:15px;color:var(--ink);outline:none;min-width:0;}
.aconv-btn{padding:0 14px;background:var(--paper);border:1.5px solid var(--line2);border-radius:14px;font-family:var(--ui);font-weight:700;font-size:13px;color:var(--ink2);cursor:pointer;white-space:nowrap;transition:.15s;flex-shrink:0;}
.aconv-btn:hover{background:var(--ink);color:#fff;border-color:var(--ink);}

/* Planes en formulario publicar */
.plan-opt { display: flex; align-items: flex-start; gap: 10px; padding: 14px; background: var(--card); border: 1.5px solid var(--line2); border-radius: 14px; cursor: pointer; transition: .15s; user-select: none; }
.plan-opt:hover { border-color: var(--ink2); }
.plan-opt.on { border-color: var(--yellow); background: rgba(245,200,0,.12); box-shadow: 0 0 0 1px var(--yellow); }
.plan-opt.premium { border-color: var(--yellowDk); }
.plan-opt.premium.on { border-color: #c8a000; }
.plan-opt-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line2); flex-shrink: 0; margin-top: 2px; transition: .15s; }
.plan-opt.on .plan-opt-radio { border-color: var(--yellow); background: var(--yellow); }
@media (max-width: 540px) { .planes-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 540px) { .canales-grid { grid-template-columns: 1fr !important; } }

/* Campo permuta (condicional) */
.grupo-permuta{display:none;margin-top:16px;}
.grupo-permuta.show{display:block;}

/* Gestor de fotos dinámico */
.foto-zona{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:110px;}
.foto-zona.drag-active{border-color:var(--yellowDk);background:rgba(245,200,0,.06);}
.foto-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px;}
.fcell{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;background:var(--paper);border:1.5px solid var(--line2);cursor:grab;transition:.15s;}
.fcell:active{cursor:grabbing;}
.fcell img{width:100%;height:100%;object-fit:contain;background:#f0ead9;display:block;pointer-events:none;user-select:none;}
.fcell .fc-del{position:absolute;top:5px;right:5px;width:22px;height:22px;border-radius:50%;background:rgba(26,23,18,.72);border:none;color:#fff;font-size:13px;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2;line-height:1;}
.fcell .fc-cover{position:absolute;bottom:0;left:0;right:0;background:var(--black);color:var(--yellow);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;padding:3px;text-align:center;}
.fcell .fc-warn{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;padding:6px;background:#f0ead9;color:var(--mut);}
.fcell .fc-warn i{font-size:20px;color:var(--yellowDk);}
.fcell .fc-warn span{font-size:9.5px;font-weight:700;line-height:1.2;}
.fcell.dragging{opacity:.35;border-style:dashed;border-color:var(--yellowDk);}
.fcell.drag-over{border-color:var(--yellowDk);background:rgba(245,200,0,.08);}
.fotos-meta{font-size:12px;color:var(--mut);margin-top:8px;display:flex;align-items:center;gap:6px;}

/* Badge estado_producto en tarjeta de detalle */
.chip-estado{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:700;padding:4px 9px;border-radius:8px;background:var(--paper);border:1px solid var(--line2);color:var(--ink2);}
.chip-estado.nuevo{background:rgba(31,157,87,.1);color:var(--green);border-color:rgba(31,157,87,.2);}
.chip-estado.como_nuevo{background:rgba(47,111,224,.08);color:var(--blue);border-color:rgba(47,111,224,.15);}
.chip-estado.usado{background:var(--paper);color:var(--mut);border-color:var(--line2);}
